byebye
Securely end work sessions by locking access, removing stored secrets from disk, and providing session closure for SecureCode's encrypted vault.
Instructions
End your work session. Locks the session, cleans up all injected secrets from disk, and says goodbye. Use this when you finish working for the day.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:702-720 (handler)The "byebye" tool handler locks the session and cleans up session files.
// Tool: byebye server.tool( 'byebye', 'End your work session. Locks the session, cleans up all injected secrets from disk, and says goodbye. Use this when you finish working for the day.', {}, async () => { try { const client = getClient(); await client.sleepSession(); } catch { // Session might already be sleeping } cleanupSessionFiles(); return wrapResponse([{ type: 'text' as const, text: 'Session locked & secrets cleaned from disk. See you next time!', }]); }, );