You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Document the daemon.yaml binding config and the channel thread path #870
PR #1421 (feature(telegram): run Telegram sessions through daemon workers) added a new public-facing config surface and changed how channels process messages, but the docs do not cover either yet.
Summary
The daemon gained its own daemon.yaml sidecar (loaded in cmd/runtime/config.go) that turns the AG-UI WebSocket binding on independently of browser_use, with its own port and token falling back to browser_use.extension's values. The Telegram (and channel) path now drives one thread per sender through the daemon's session registry over in-process frames instead of spawning an infer headless process per message, and renders replies from the worker's AG-UI events (docs/ag-ui-output.md already documents that stream).
Acceptance Criteria
docs/configuration-reference.md documents the daemon.yaml sidecar: daemon.binding.enabled, daemon.binding.port, daemon.binding.token, the browser_use.extension port/token fallback, and the INFER_DAEMON_* env override pattern (e.g. INFER_DAEMON_BINDING_ENABLED)
docs/channels.md describes the new thread path: one session worker per sender thread, resume_conversation/user_message frames, approvals and questions answered as interrupts, and channels.require_approval off meaning gated tools get auto-rejected; remove any wording that promises a process per message
docs/browser-extension-protocol.md notes that the binding now listens whenever daemon.binding.enabled is set (or fallback applies) and that the browser extension relay only attaches with browser_use backend: extension
examples/telegram-channel/ README and docker-compose config no longer assume a spawned process per message and call out the daemon requirement
The acceptance criteria name files in the CLI repo (docs/configuration-reference.md, docs/channels.md, docs/browser-extension-protocol.md). This site splits the same material differently, so the content landed on the matching pages here.
cli.md - "Starting the daemon" documents the daemon.yaml sidecar (binding.enabled/port/token), the browser_use.extension port and token fallback, the empty-token boot failure, and the INFER_DAEMON_BINDING_* env overrides. It also separates the binding from the extension relay: the relay attaches only with browser_use.enabled and backend: extension, so a binding enabled through daemon.yaml alone serves threads but drives no browser. daemon.yaml added to the configuration files table.
cli-channels.md - "How Channels Work" rewritten around the thread path: one session worker per sender thread, resume_conversation plus user_message frames with images as attachments, the remote-control system prompt, idle detach and reattach. Approvals are interrupts answered with approval_response on the shared contract; AskUserQuestion is dismissed; channels.require_approval: false auto-rejects gated tools rather than granting them (called out in a warning, since the old wording read like it turned gating off). Removed the per-message-process wording from the key features, the troubleshooting table, and the max_workers description.
opentask.md - The connection steps and the transport section note that the binding listens on daemon.binding.enabled (or the browser_use fallback), that daemon.binding.port/token override browser_use.yaml, and that the extension still needs backend: extension for the relay.
Not done: acceptance criterion 4 (the examples/telegram-channel/ README and compose file) lives in inference-gateway/cli, outside this repo - it needs a PR there.
bun run lint:md, bun run format:check and bun run build all pass.
| Branch
Activity
feat(telegram): run Telegram sessions through daemon workers (#1421)
edenreich commentedon Sep 30, 2026
@claude Can you document this?
inference-gateway-maintainer commentedon Sep 30, 2026
Claude finished @edenreich's task in 5m 9s —— View job •
docs/issue-870-20260930-1009• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-870-20260930-1009?quick_pull=1&title=Issue%20%23870%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23870%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented the daemon.yaml binding config and the channel thread path
docs/*paths onto this repo's actual pagesdaemon.yamlbinding config incli.mdcli-channels.mdwith the session-worker thread pathopentask.mdlint:md,format:check,build) and open a PRPR: #871
The acceptance criteria name files in the CLI repo (
docs/configuration-reference.md,docs/channels.md,docs/browser-extension-protocol.md). This site splits the same material differently, so the content landed on the matching pages here.cli.md- "Starting the daemon" documents thedaemon.yamlsidecar (binding.enabled/port/token), thebrowser_use.extensionport and token fallback, the empty-token boot failure, and theINFER_DAEMON_BINDING_*env overrides. It also separates the binding from the extension relay: the relay attaches only withbrowser_use.enabledandbackend: extension, so a binding enabled throughdaemon.yamlalone serves threads but drives no browser.daemon.yamladded to the configuration files table.cli-channels.md- "How Channels Work" rewritten around the thread path: one session worker per sender thread,resume_conversationplususer_messageframes with images as attachments, the remote-control system prompt, idle detach and reattach. Approvals are interrupts answered withapproval_responseon the shared contract;AskUserQuestionis dismissed;channels.require_approval: falseauto-rejects gated tools rather than granting them (called out in a warning, since the old wording read like it turned gating off). Removed the per-message-process wording from the key features, the troubleshooting table, and themax_workersdescription.opentask.md- The connection steps and the transport section note that the binding listens ondaemon.binding.enabled(or thebrowser_usefallback), thatdaemon.binding.port/tokenoverridebrowser_use.yaml, and that the extension still needsbackend: extensionfor the relay.Not done: acceptance criterion 4 (the
examples/telegram-channel/README and compose file) lives ininference-gateway/cli, outside this repo - it needs a PR there.bun run lint:md,bun run format:checkandbun run buildall pass.| Branch
inference-gateway-releaser commentedon Sep 30, 2026
🎉 This issue has been resolved in version 0.9.19 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀