@episoda/cli 0.2.217 → 0.2.218
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.
|
@@ -3051,7 +3051,7 @@ var require_package = __commonJS({
|
|
|
3051
3051
|
"package.json"(exports2, module2) {
|
|
3052
3052
|
module2.exports = {
|
|
3053
3053
|
name: "@episoda/cli",
|
|
3054
|
-
version: "0.2.
|
|
3054
|
+
version: "0.2.218",
|
|
3055
3055
|
description: "CLI tool for Episoda local development workflow orchestration",
|
|
3056
3056
|
main: "dist/index.js",
|
|
3057
3057
|
types: "dist/index.d.ts",
|
|
@@ -4896,7 +4896,7 @@ function generateCodexAuthJson(credentials) {
|
|
|
4896
4896
|
id_token: credentials.idToken || credentials.accessToken,
|
|
4897
4897
|
// Fallback to access_token if no id_token
|
|
4898
4898
|
access_token: credentials.accessToken,
|
|
4899
|
-
refresh_token: ""
|
|
4899
|
+
refresh_token: credentials.refreshToken || ""
|
|
4900
4900
|
};
|
|
4901
4901
|
if (credentials.accountId) {
|
|
4902
4902
|
tokens.account_id = credentials.accountId;
|
|
@@ -13338,6 +13338,7 @@ function createCredentialBootstrap(payload, agentRunId) {
|
|
|
13338
13338
|
const trustedProjectRoot = resolveCodexTrustedProjectRoot(payload);
|
|
13339
13339
|
const configFiles = generateCodexConfig({
|
|
13340
13340
|
accessToken: bootstrap.oauth.access_token,
|
|
13341
|
+
refreshToken: bootstrap.oauth.refresh_token,
|
|
13341
13342
|
idToken: bootstrap.oauth.id_token,
|
|
13342
13343
|
accountId: bootstrap.oauth.account_id
|
|
13343
13344
|
}, trustedProjectRoot);
|