episoda 0.2.82 → 0.2.84
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.
|
@@ -2748,7 +2748,7 @@ var require_package = __commonJS({
|
|
|
2748
2748
|
"package.json"(exports2, module2) {
|
|
2749
2749
|
module2.exports = {
|
|
2750
2750
|
name: "episoda",
|
|
2751
|
-
version: "0.2.
|
|
2751
|
+
version: "0.2.84",
|
|
2752
2752
|
description: "CLI tool for Episoda local development workflow orchestration",
|
|
2753
2753
|
main: "dist/index.js",
|
|
2754
2754
|
types: "dist/index.d.ts",
|
|
@@ -5388,13 +5388,26 @@ var AgentManager = class {
|
|
|
5388
5388
|
fs8.mkdirSync(statsigDir, { recursive: true });
|
|
5389
5389
|
}
|
|
5390
5390
|
if (useOAuth) {
|
|
5391
|
+
const oauthCredentials = {
|
|
5392
|
+
accessToken: session.credentials.oauthToken
|
|
5393
|
+
};
|
|
5394
|
+
if (session.credentials.refreshToken) {
|
|
5395
|
+
oauthCredentials.refreshToken = session.credentials.refreshToken;
|
|
5396
|
+
}
|
|
5397
|
+
if (session.credentials.expiresAt) {
|
|
5398
|
+
oauthCredentials.expiresAt = session.credentials.expiresAt;
|
|
5399
|
+
}
|
|
5400
|
+
if (session.credentials.scopes) {
|
|
5401
|
+
oauthCredentials.scopes = session.credentials.scopes;
|
|
5402
|
+
}
|
|
5391
5403
|
const credentialsContent = JSON.stringify({
|
|
5392
|
-
claudeAiOauth:
|
|
5393
|
-
accessToken: session.credentials.oauthToken
|
|
5394
|
-
}
|
|
5404
|
+
claudeAiOauth: oauthCredentials
|
|
5395
5405
|
}, null, 2);
|
|
5396
5406
|
fs8.writeFileSync(credentialsPath, credentialsContent, { mode: 384 });
|
|
5397
|
-
console.log(
|
|
5407
|
+
console.log(
|
|
5408
|
+
"[AgentManager] EP1126: Wrote OAuth credentials to ~/.claude/.credentials.json (with %s fields)",
|
|
5409
|
+
Object.keys(oauthCredentials).join(", ")
|
|
5410
|
+
);
|
|
5398
5411
|
try {
|
|
5399
5412
|
const claudeConfig = generateClaudeConfig();
|
|
5400
5413
|
const statsigFiles = Object.keys(claudeConfig.statsig);
|