Repository navigation
switchboard v0.9.1
go install github.com/go-steer/switchboard/cmd/switchboard@v0.9.1docker pull ghcr.io/go-steer/switchboard:0.9.1The module version keeps its v and the image tag does not.
The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:
cosign verify ghcr.io/go-steer/switchboard:0.9.1 \
--certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comA fix for ax agents running mast. v0.9.0 asserted the chat user to every
agent in X-Asserted-Caller, and mast in an ax task, which authenticates one
bearer token, refuses that header rather than ignoring it, so no thread could
open a session. switchboard now asserts no caller to kind: "ax" agents by
default.
Whether the chat user is sent is now a per-agent setting, assert_caller, on
the agent entry next to token_env. Set it true on an ax agent whose task
runs core-agent with the gateway in proxy_identities, and the user goes out
on every request again, approvals included. Everything else carries over from
v0.9.0: daemon and core-agent agents assert as before, and who may answer a
prompt is still decided by --approvers and the personal-agent owner check.
Upgrading changes nothing configured. A kind: "mast" daemon agent still
asserts by default; startup now warns about it, and it needs
"assert_caller": false unless mast is set up to let the gateway proxy.
Fixed
- ax agents could not open a session with mast (#186). switchboard
asserted the chat user inX-Asserted-Caller, and mast in a task, which
authenticates oneMAST_ATTACH_TOKENwith no table allowing a proxy,
refuses the header: every thread failed with "caller is not permitted to
proxy". switchboard now asserts no caller tokind: "ax"agents, on the
session, turn, event and approval requests alike.- New per-agent
assert_caller(a bool on the agent entry, next to
token_env; the admin API takes it too): false by default for
kind: "ax", true for every other kind, so daemon and core-agent agents
assert as before. Set it true on an ax agent whose task runs core-agent
with the gateway inproxy_identities, and the chat user goes out on
every request again, approvals included. - Who may answer an ax agent's prompt is still switchboard's decision
(--approvers, standing approvers, the personal-agent owner check), made
before anything is sent. The thread names the presser, and the audit log
still records the chat user.
- New per-agent
Full diff: v0.9.0...v0.9.1