Skip to content

feat: add custom tool formatter API - #557

Merged
sudo-tee merged 2 commits into
mainfrom
feat/552-tool-formatter-api
Oct 28, 2026
Merged

sudo-tee merged 2 commits into
mainfrom
feat/552-tool-formatter-api

Conversation

@sudo-tee

Copy link
Copy Markdown
Owner

Summary

  • Add public tool formatter registration and removal APIs with explicit built-in override opt-in.
  • Preserve core rendering policy and fall back to built-in formatter when custom formatter fails.
  • Document formatter contract and add opencode-pty recipe.

Closes #552

Validation

  • make test
  • make format-check
  • make topology-check
  • make typecheck (completed with existing warnings)

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

🏗️ Architecture check

Checks that require() calls between modules follow the layer rules in scripts/dependency-topology/topology.jsonc (entry → dispatch → services/UI → server/protocols; shared helpers usable everywhere).

Compared origin/main → HEAD.

Before After Δ
Imports breaking layer rules 0 0 +0
Import loops 0 0 +0
Modules in largest loop 0 0 +0
Modules without a layer 0 0 +0

Imports between modules: +5 / -1

✅ No new problems

Run locally: make topology-check

@sudo-tee
sudo-tee merged commit 93b0536 into main Oct 28, 2026
23 of 24 checks 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.

[Extensibility] Add custom tool formatter API

1 participant