Skip to content

Add runtime bridge settings to /acp-config - #75

Merged
formulahendry merged 1 commit into
formulahendry:mainfrom
Eskibear:eskibear-runtime-bridge-settings
Aug 14, 2026
Merged

formulahendry merged 1 commit into
formulahendry:mainfrom
Eskibear:eskibear-runtime-bridge-settings

Conversation

@Eskibear

Copy link
Copy Markdown
Contributor

Summary

  • add bridge.thoughts, bridge.diffs, bridge.images, and bridge.audio to /acp-config
  • keep overrides per WeChat user session and in memory only
  • snapshot settings at the start of each turn so active turns keep consistent output behavior
  • keep agent-provided ACP session options unchanged

Usage

/acp-config set bridge.thoughts off
/acp-config set bridge.diffs on
/acp-config set bridge.images off
/acp-config set bridge.audio off

Closes #74

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 14, 2026 14:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds per-session runtime bridge output controls to /acp-config, preserving startup defaults and agent session options.

Changes:

  • Adds runtime controls for thoughts, diffs, images, and audio.
  • Snapshots output settings at each turn boundary.
  • Adds documentation and session/command tests.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/acp/session.ts Stores session-scoped settings and snapshots them per turn.
src/acp/client.ts Applies per-turn output settings.
src/bridge.ts Lists and updates bridge settings through /acp-config.
tests/session.test.ts Tests defaults, scope, reset, and turn application.
tests/bridge-new-session.test.ts Tests command routing and responses.
README.md Documents usage, behavior, and telemetry.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@formulahendry formulahendry left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The runtime bridge settings are correctly scoped to each user session and snapshotted at turn boundaries. The implementation preserves agent-provided ACP configuration behavior and includes appropriate regression coverage.

@formulahendry
formulahendry merged commit b7ff333 into formulahendry:main Aug 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support runtime bridge settings through /acp-config

3 participants