osborn 0.8.13 → 0.8.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/claude-auth.js +6 -0
- package/package.json +1 -1
package/dist/claude-auth.js
CHANGED
|
@@ -496,8 +496,14 @@ export async function ensureClaudeAuth(sendToFrontend) {
|
|
|
496
496
|
});
|
|
497
497
|
},
|
|
498
498
|
onComplete: () => {
|
|
499
|
+
// Include the captured token so the frontend can persist it to the
|
|
500
|
+
// host-persistent layer via the Sprites API. Without this, credentials
|
|
501
|
+
// written inside the service container's ephemeral overlay are lost on
|
|
502
|
+
// every warm→running transition (service re-registration creates a
|
|
503
|
+
// fresh container).
|
|
499
504
|
fanout('claude_auth_complete', {
|
|
500
505
|
message: 'Claude authenticated successfully. Starting voice session...',
|
|
506
|
+
token: process.env.CLAUDE_CODE_OAUTH_TOKEN || undefined,
|
|
501
507
|
});
|
|
502
508
|
},
|
|
503
509
|
onError: (message) => {
|