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
Remove explicit issue-credential from plugin auth #209
The current plugin OAuth flow resumes the pending message after callback, but it does not restore the blocked credential state. In the current code, jr-rpc issue-credential both starts OAuth and enables the turn-scoped capability lease (packages/junior/src/chat/capabilities/jr-rpc-command.ts, packages/junior/src/chat/capabilities/runtime.ts), while the OAuth callback only resumes the original message (packages/junior/src/handlers/oauth-callback.ts). That leaves the resumed model turn responsible for remembering to re-run jr-rpc issue-credential, which is avoidable fragility and differs from MCP auth, where provider auth state is stored and resumed directly (packages/junior/src/chat/mcp/auth-store.ts).
Remove explicit jr-rpc issue-credential behavior for plugin-backed operational requests.
When a plugin-owned skill is loaded and the turn author is known, issue the narrowest supported plugin credential implicitly on demand for the turn instead of requiring a bash command in the prompt.
Preserve explicit jr-rpc oauth-start and jr-rpc delete-token for direct connect/disconnect account-management requests.
On OAuth callback resume, restore the previously blocked plugin capability state instead of only replaying the pending message.
Keep capability scoping narrow and requester-bound; do not broaden access beyond the plugin capabilities supported for that skill.
Update prompt/skill guidance and add integration/eval coverage for resumed plugin requests so the agent no longer has to reconstruct the auth step after OAuth.
Activity
ref(auth): Make plugin credentials implicit per turn
fix(auth): Treat plugin auth pauses as expected flow
fix(auth): Preserve tokens when oauth restart fails
fix(auth): Provision plugin creds on skill activation
fix(auth): Narrow command auth recovery
ref(auth): Remove dead Sentry command matcher
test(auth): Cover auth pause checkpoint fallback
fix(reply): Keep text replies when reactions succeed
test(auth): Judge OAuth resume evals on visible outcomes
ref(auth): Make plugin auth implicit and turn-scoped (#210)