Skip to content

feat(tools): support updating ToolHandler definitions in place - #3050

Merged
Lightning00Blade merged 1 commit into
mainfrom
cd4a-config/4c-tool-handler-update
Oct 19, 2026
Merged

Lightning00Blade merged 1 commit into
mainfrom
cd4a-config/4c-tool-handler-update

Conversation

@Lightning00Blade

@Lightning00Blade Lightning00Blade commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Supports updating registered ToolHandler instances in place when reloadable options change tool schemas or availability.

  • Passes ReadonlyServerConfig to ToolHandler so disabled and pageIdRouting reflect the live config.
  • Adds ToolHandler.update(tool) to swap the underlying tool definition, rebuild its input schema, and return whether the client-visible tool listing changed.
  • Versions the input schema so calls queued behind the tool mutex or in-flight async parses fail cleanly if the schema changed while they waited.

Stack created with GitHub Stacks CLI • Give Feedback 💬

@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from ec910a0 to d164804 Compare October 9, 2026 15:00
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from d164804 to 0f88e34 Compare October 12, 2026 14:02
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from 0f88e34 to 4550f59 Compare October 12, 2026 15:24
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from 4550f59 to 81e3c2d Compare October 12, 2026 22:32
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch 2 times, most recently from 2e9e3e1 to 1828591 Compare October 13, 2026 17:40
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch 2 times, most recently from 2a8b92a to 79e83ad Compare October 14, 2026 14:23
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from 79e83ad to 5305a77 Compare October 15, 2026 13:28
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from 5305a77 to 5425746 Compare October 16, 2026 09:28
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from 5425746 to c3ca643 Compare October 16, 2026 11:49
@Lightning00Blade
Lightning00Blade removed this pull request from stack #3052 October 16, 2026 12:12
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from c3ca643 to 7dac229 Compare October 16, 2026 13:11
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from 7dac229 to d7cb5e2 Compare October 16, 2026 13:15
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from d7cb5e2 to f62731f Compare October 16, 2026 13:24
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from b621717 to e13dd60 Compare October 19, 2026 10:28
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from e13dd60 to 9e6fa5d Compare October 19, 2026 11:32
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch 2 times, most recently from fca4400 to 52f63b2 Compare October 19, 2026 12:27
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from 52f63b2 to 9ac31cb Compare October 19, 2026 12:53
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from 9ac31cb to 66f4e62 Compare October 19, 2026 13:06
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch 3 times, most recently from 642cebf to dea1b1e Compare October 19, 2026 14:14
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch 2 times, most recently from 734e49d to c4acef6 Compare October 19, 2026 14:56
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from c4acef6 to 174217f Compare October 19, 2026 16:05
@Lightning00Blade
Lightning00Blade marked this pull request as ready for review October 19, 2026 16:07
Base automatically changed from cd4a-config/4b-context-reload-state to main October 19, 2026 16:16
@Lightning00Blade
Lightning00Blade force-pushed the cd4a-config/4c-tool-handler-update branch from 174217f to f91d746 Compare October 19, 2026 16:16
@Lightning00Blade
Lightning00Blade added this pull request to the merge queue Oct 19, 2026
Merged via the queue into main with commit 8064138 Oct 19, 2026
17 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