IT-DEV/saas/k1/keeper
  • TypeScript 62.2%
  • JavaScript 37.8%
Find a file
Joseph 8bddc79641 fix(mcp): auto-retry once on SESSION_EXPIRED 503
When the Keeper Commander shell exits unexpectedly the API returns
503 SESSION_EXPIRED. The shell already auto-respawns via ensureShell()
on the next command — this retry makes that recovery transparent to the
caller so no SESSION_EXPIRED errors surface from transient shell exits.

Only SESSION_EXPIRED 503s are retried; QUEUE_TIMEOUT and all other
errors propagate immediately. Retry is capped at one attempt.

Tests U-33 to U-33d cover the retry path and all guard cases.
Closes int-saas-k1-keeper#5.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 12:14:37 -05:00
api fix(api): switch write commands to execFile args array; add secrets_refresh tool 2026-04-10 12:00:15 -05:00
src fix(mcp): auto-retry once on SESSION_EXPIRED 503 2026-04-10 12:14:37 -05:00
.gitignore chore: add .worktrees to .gitignore 2026-04-08 10:42:17 -05:00
package-lock.json feat: k1-keeper MCP server for Keeper Secrets API 2026-03-24 14:15:51 -05:00
package.json test(mcp): keeper-folder-awareness failing tests 2026-04-08 11:01:08 -05:00
tsconfig.json feat: k1-keeper MCP server for Keeper Secrets API 2026-03-24 14:15:51 -05:00