Migrated from monorepo during Forgejo registry consolidation 2026-05-07
Find a file
Viktor Barzin 33ff0868c3 conversational: add no-tools multi-turn Brain endpoint for portal-assistant
The portal-assistant voice gateway needs a Claude that is conversational, free
(on the cluster subscription, no metered API), and safe to sit behind a public
edge. Add POST /v1/conversational: it drives a new no-tools `conversational`
agent with per-conversation --resume so a voice turn keeps context, and is lean
on purpose — no workspace clone, no tools, and crucially NO
--dangerously-skip-permissions (so even a leaked agent can't execute anything).
This is deliberately NOT /v1/chat/completions, which clones the git-crypt infra
repo and runs a Bash-enabled agent per turn (portal-assistant ADR-0002).

The conversational agent replies in the speaker's language (Bulgarian/English),
short and TTS-friendly. Tests cover the argv builder (new vs resume), the happy
path, multi-turn resume across calls, auth, and failure → 503. Full suite green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 18:38:44 +00:00
.github/workflows ci: move image build off-infra to GHA -> ghcr (ADR-0002) 2026-06-13 01:45:36 +00:00
.woodpecker ci: move image build off-infra to GHA -> ghcr (ADR-0002) 2026-06-13 01:45:36 +00:00
agents conversational: add no-tools multi-turn Brain endpoint for portal-assistant 2026-06-17 18:38:44 +00:00
app conversational: add no-tools multi-turn Brain endpoint for portal-assistant 2026-06-17 18:38:44 +00:00
beads Initial extraction from monorepo 2026-05-07 17:07:12 +00:00
docs docs: capture AFK implementation pipeline design + ADRs 0002-0004 2026-06-14 19:09:12 +00:00
frontend breakglass UI v2: attachable sessions (tmux model) + mobile-first redesign 2026-06-14 19:19:03 +00:00
tests conversational: add no-tools multi-turn Brain endpoint for portal-assistant 2026-06-17 18:38:44 +00:00
.dockerignore Initial extraction from monorepo 2026-05-07 17:07:12 +00:00
.gitignore breakglass: in-cluster emergency-recovery UI for the devvm 2026-06-12 21:36:05 +00:00
CONTEXT.md docs: capture breakglass design (CONTEXT glossary + ADR 0001) 2026-06-12 20:59:13 +00:00
docker-entrypoint-breakglass.sh breakglass: in-cluster emergency-recovery UI for the devvm 2026-06-12 21:36:05 +00:00
Dockerfile breakglass: in-cluster emergency-recovery UI for the devvm 2026-06-12 21:36:05 +00:00
LICENSE.txt Initial extraction from monorepo 2026-05-07 17:07:12 +00:00
requirements-dev.txt Initial extraction from monorepo 2026-05-07 17:07:12 +00:00
requirements.txt Initial extraction from monorepo 2026-05-07 17:07:12 +00:00