Skip to content

feat: add per-session tool visibility - #94

Open
Prateep07 wants to merge 1 commit into
nitrocloudofficial:developfrom
Prateep07:feature/visibility-only-develop
Open

Prateep07 wants to merge 1 commit into
nitrocloudofficial:developfrom
Prateep07:feature/visibility-only-develop

Conversation

@Prateep07

Copy link
Copy Markdown
Collaborator

Summary
Adds per-session dynamic tool visibility, including hidden defaults, ExecutionContext.enable_tools() / disable_tools(), and a TTL/LRU session store. Visibility is isolated by transport session ID and verified subject; hidden tools are omitted from tools/list and rejected by tools/call. Visibility changes notify the current session when the transport supports it.

Dynamic changes require a sessionful transport. In sessionless auto, changes warn and do nothing.

Tests:
892 passed; 3 failed
due to environment limitations: bdist_wheel is unavailable for the wheel packaging test, and two regex transform tests cannot start their worker process (PermissionError).

closes #65

@Prateep07
Prateep07 requested a review from AadarshM07 October 27, 2026 14:31

This branch has not been deployed

No deployments
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.

1 participant