Skip to content

fix(extension): move ask_user registration to runtime to avoid conflicts#4

Open
hdkiller wants to merge 2 commits into
BlackBeltTechnology:developfrom
hdkiller:fix/ask-user-conflict
Open

fix(extension): move ask_user registration to runtime to avoid conflicts#4
hdkiller wants to merge 2 commits into
BlackBeltTechnology:developfrom
hdkiller:fix/ask-user-conflict

Conversation

@hdkiller

Copy link
Copy Markdown

Moves the registration of the ask_user tool from extension activation time to session_start.

This resolves a static naming conflict with the global pi-ask-user extension and other extensions (like the dashboard bridge) that might also want to provide an ask_user tool.

By registering at runtime, we allow the CLI to load multiple extensions that offer the same tool name, with the last one registered during session start becoming the active one for that session. This matches the pattern already used in the pi-agent-dashboard bridge.

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