You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(config): migrate jr-rpc to a first-class tool call #669
jr-rpc config set/get/unset/list is currently implemented as a custom bash command parsed inside maybeExecuteJrRpcCustomCommand. The agent reaches for it through the bash tool, which means:
No argument schema — the agent must recall the correct key name from memory or skill text, with no structured guidance
No autocompletion or key enumeration at call time — the agent discovers valid keys only if it separately runs jr-rpc plugins list first
Harder to steer via system prompt — tool calls can carry descriptions, argument schemas, and enums that models use at inference time
Proposed direction
Expose jr-rpc config operations as dedicated tool calls (e.g. config_set, config_get, config_list) with typed argument schemas. The key argument could be an enum or use oneOf drawn from installed plugin configKeys, giving the model structured steering at the point of use rather than relying on prose instructions.
The bash fallback can be kept for humans running the CLI directly, but the agent path should go through the tool.
i think tools are the right direction but we dont yet have a real search/execute pattern in junior and i might wanna solve that first since this is at minimum 4 tools
Activity
dcramer commentedon Jun 29, 2026
need to think this through a bit more yet
i think tools are the right direction but we dont yet have a real search/execute pattern in junior and i might wanna solve that first since this is at minimum 4 tools