Skip to content

Tool Disclosure#64

Merged
eliasposen merged 25 commits intomainfrom
ts-sidecar
Mar 13, 2026
Merged

Tool Disclosure#64
eliasposen merged 25 commits intomainfrom
ts-sidecar

Conversation

@eliasposen
Copy link
Copy Markdown
Contributor

@eliasposen eliasposen commented Mar 11, 2026

Description

Introduces ToolDisclosure concept to rust backend, unified mcp pctx mcp start, and the python client.

Related Issues

Fixes #
Related to #

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Test coverage improvement

Changes Made

  • ToolDisclosure concept on core CodeMode struct
  • Code generation depending on disclosure
  • Centralized tool & workflow descriptions
  • Unified Registry for both callbacks and MCP

Testing

All the tests

Test Coverage

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed

Test Commands Run

cargo test
cargo clippy
cargo fmt --check

Breaking Changes

This PR introduces breaking changes to the underlying crates but not to the public pctx surfaces.

Documentation

  • Code comments added/updated
  • README.md updated (if needed)
  • CHANGELOG.md updated under "Unreleased"
  • API documentation updated

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Screenshots/Videos

Additional Context

@eliasposen eliasposen marked this pull request as ready for review March 12, 2026 20:46
@eliasposen eliasposen requested a review from pk8189 March 12, 2026 20:46
@eliasposen eliasposen merged commit aa7d8c8 into main Mar 13, 2026
9 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.

2 participants