helmd v2: Go-server som styr agent i tmux — REST+SSE, frågedetektor, fildelning, ntfy, CI-release
- tmux som sanningskälla (agentoberoende, överlever omstart via adoption) - API: sessions, prompt, question/answer, keys, mode, config, shares, notify, events - frågedetektor testad mot riktiga agy 1.1.9-dumpar + mock - integrationstest: 26 tester i isolerad debian-container (scripts/run-integration.sh) - e2e-verifierad mot riktig agy (trust-fråga -> svar -> prompt) - .gitea/workflows/helmd-release.yaml -> rullande helmd-latest (x64+arm64) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
14
helmd/scripts/run-integration.sh
Executable file
14
helmd/scripts/run-integration.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Kör integrationstestet i en isolerad Docker-container.
|
||||
# Binären byggs statiskt på värden; containern får bara tmux+curl.
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
CGO_ENABLED=0 go build -o build/helmd .
|
||||
docker run --rm \
|
||||
-v "$PWD":/work:ro \
|
||||
-e HELMD_BIN=/work/build/helmd \
|
||||
-e TEST_HOME=/tmp/home \
|
||||
-w /work \
|
||||
debian:stable-slim \
|
||||
bash -c 'apt-get update -qq >/dev/null && apt-get install -yqq tmux curl procps >/dev/null 2>&1 && mkdir -p /tmp/home && bash scripts/integration-test.sh'
|
||||
Reference in New Issue
Block a user