Commit Graph
9 Commits
Author SHA1 Message Date
Claude 887ed75d2d Test: the officer's browser test silences the voice before the order
The CI browser run gave the order no time while the second answer played
under virtual time; the test now checks the first spoken answer, switches
the voice off and makes sure nothing more is played.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018daq29kru65UEEQQM3E6AK
2026-10-06 18:20:55 +00:00
Claude bfc6def355 Merge main (1.3.259 push-to-talk) into the browser voice
# Conflicts:
#	CHANGELOG.de.md
#	CHANGELOG.md
#	README.de.md
#	README.md
#	data/commander/index.html
#	data/commander/js/views/advisor.js
#	data/manual/18-llm.de.md
#	data/manual/18-llm.en.md
#	docs/manual/handbuch.de.pdf
#	docs/manual/manual.de.md
#	docs/manual/manual.en.md
#	docs/manual/manual.en.pdf
#	src/commander/advisor_web.py
#	src/commander/v2/routes.py
#	src/core/version.py
#	tests/test_advisor_web.py
#	tests/test_packaging.py
#	tests/test_startup.py
2026-10-06 18:17:35 +00:00
Claude 6d8c284524 Web: the executive officer's answers spoken in the browser
The host asks its speech service for a browser asker's answer (also as
browser-only server without a speaker), keeps the clip for that browser
alone and serves it at GET /api/v2/advisor/voice?seq=n as 16-bit PCM;
the browser plays it with Web Audio, one answer after the other, and a
switch in the officer's window turns it off. Key and service stay on the
host.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018daq29kru65UEEQQM3E6AK
2026-10-06 17:07:41 +00:00
Claude ed2cb0ac51 Add the talk key: ask the executive officer by voice from every station
Shift+Space at any station of both sides (and in the browser) records a
question, an OpenAI-compatible /audio/transcriptions service turns it into
text and the executive officer answers it as an ordinary question; the
answer shows in a bubble over the station and is spoken by the XO voice.
A KI button in the top bar opens the chat directly. Speech input is set up
on a new page 5 of the Sprachmodell options (off by default, key only in
~/.u-jagd/stt_key or U_JAGD_STT_KEY). The talk key only asks, never orders,
and the noise discipline never hears it. Version 1.3.259.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xRzy1rfrYr4fpd43PyBa8
2026-10-06 16:11:15 +00:00
Claude d0ae5de5cb Executive officer counts an order as given only once the host applied it
The browser reported "1 order(s) given" even when the station command was
never sent (station not ready) or the host dropped it after a world step.
It now waits until the station can send, waits for the host's result and
resends a dropped command (at most three tries); anything else counts as
not carried out.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 18:58:26 +00:00
Claude f66ef2dcad Advisor browser test waits until the host applied the given order
The probe marked the order as given once the browser had sent it; under a
busy runner Chromium could exit before the host applied the command. It
now polls the state until the ship's ordered course reads 120.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 18:32:04 +00:00
Claude c718420473 Advisor browser test: apply the last queued order after Chromium exits
On a busy runner the browser can finish right after the order is accepted,
before the host's next pump applies it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 18:12:15 +00:00
Claude 2c4dc95a29 Web header: executive officer button in the toolbar (1.3.158)
The advisor button sat inside the clipped mission column of the status
bar and was squeezed into a column of single letters. It now sits in the
toolbar next to the language and sound switches and never wraps; the
browser test checks its size.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS3so1jLSc2A8usgnDEEeY
2026-10-02 15:36:42 +00:00
Claude 1987a70ae0 Advisor button only with the host's language model on; browser test for the executive officer
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS3so1jLSc2A8usgnDEEeY
2026-10-02 10:22:02 +00:00