happy-imou-cloud 2.1.49 → 2.1.50
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/{BaseReasoningProcessor-CAVeOdyo.mjs → BaseReasoningProcessor-2qoX8OA1.mjs} +2 -2
- package/dist/{BaseReasoningProcessor-Dn9NcoHz.cjs → BaseReasoningProcessor-D3q5lh9h.cjs} +2 -2
- package/dist/{ProviderSelectionHandler-BJJc7qOR.cjs → ProviderSelectionHandler-CO5BYEgC.cjs} +2 -2
- package/dist/{ProviderSelectionHandler-DIYidT13.mjs → ProviderSelectionHandler-CO6foZET.mjs} +2 -2
- package/dist/{api-DnqaNvyV.mjs → api-6B4EMs47.mjs} +1 -1
- package/dist/{api-D7nAeZi7.cjs → api-D4JOaMll.cjs} +1 -1
- package/dist/{command-CzfRRhVe.mjs → command-BbJCdR2t.mjs} +2 -2
- package/dist/{command-VcH4hbhi.cjs → command-DuKDmbdM.cjs} +2 -2
- package/dist/{index-xa1kwZoj.cjs → index-CZJH0CUT.cjs} +21 -12
- package/dist/{index-7Z93BoVn.mjs → index-CyGHrYHl.mjs} +18 -9
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.cts +88 -86
- package/dist/lib.d.mts +88 -86
- package/dist/lib.mjs +1 -1
- package/dist/{registerKillSessionHandler-CfCya6si.cjs → registerKillSessionHandler-Bo_MMbdY.cjs} +2 -2
- package/dist/{registerKillSessionHandler-DLDg2EES.mjs → registerKillSessionHandler-ggfGac_S.mjs} +2 -2
- package/dist/{runClaude-BBGNmGj6.cjs → runClaude-B4eoG3Pu.cjs} +4 -4
- package/dist/{runClaude-zCwRhpOw.mjs → runClaude-jDr3i0bO.mjs} +4 -4
- package/dist/{runCodex-BbgLVjb9.mjs → runCodex-e_D1Jd_w.mjs} +217 -63
- package/dist/{runCodex-jUU6U2tZ.cjs → runCodex-hDGeZAh5.cjs} +216 -62
- package/dist/{runGemini-C0NT8MHK.cjs → runGemini-CeA9aiD1.cjs} +4 -4
- package/dist/{runGemini-DcwNsudA.mjs → runGemini-Cur84FvO.mjs} +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as createSessionMetadata, p as publishSessionRegistration } from './index-
|
|
2
|
-
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-
|
|
1
|
+
import { a as createSessionMetadata, p as publishSessionRegistration } from './index-CyGHrYHl.mjs';
|
|
2
|
+
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-6B4EMs47.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var persistence = require('./api-
|
|
3
|
+
var index = require('./index-CZJH0CUT.cjs');
|
|
4
|
+
var persistence = require('./api-D4JOaMll.cjs');
|
|
5
5
|
var node_events = require('node:events');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
|
package/dist/{ProviderSelectionHandler-BJJc7qOR.cjs → ProviderSelectionHandler-CO5BYEgC.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./api-
|
|
4
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
3
|
+
var persistence = require('./api-D4JOaMll.cjs');
|
|
4
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-Bo_MMbdY.cjs');
|
|
5
5
|
|
|
6
6
|
async function runModeLoop(opts) {
|
|
7
7
|
let currentMode = opts.startingMode;
|
package/dist/{ProviderSelectionHandler-DIYidT13.mjs → ProviderSelectionHandler-CO6foZET.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as logger } from './api-
|
|
2
|
-
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-
|
|
1
|
+
import { l as logger } from './api-6B4EMs47.mjs';
|
|
2
|
+
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-ggfGac_S.mjs';
|
|
3
3
|
|
|
4
4
|
async function runModeLoop(opts) {
|
|
5
5
|
let currentMode = opts.startingMode;
|
|
@@ -18,7 +18,7 @@ import { spawn } from 'node:child_process';
|
|
|
18
18
|
import { Expo } from 'expo-server-sdk';
|
|
19
19
|
|
|
20
20
|
var name = "happy-imou-cloud";
|
|
21
|
-
var version = "2.1.
|
|
21
|
+
var version = "2.1.50";
|
|
22
22
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
23
23
|
var author = "long.zhu";
|
|
24
24
|
var license = "MIT";
|
|
@@ -38,7 +38,7 @@ function _interopNamespaceDefault(e) {
|
|
|
38
38
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
39
39
|
|
|
40
40
|
var name = "happy-imou-cloud";
|
|
41
|
-
var version = "2.1.
|
|
41
|
+
var version = "2.1.50";
|
|
42
42
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
43
43
|
var author = "long.zhu";
|
|
44
44
|
var license = "MIT";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createDefaultRuntimeShell } from './index-
|
|
1
|
+
import { c as createDefaultRuntimeShell } from './index-CyGHrYHl.mjs';
|
|
2
2
|
import 'chalk';
|
|
3
|
-
import './api-
|
|
3
|
+
import './api-6B4EMs47.mjs';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'node:fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var persistence = require('./api-
|
|
4
|
+
var persistence = require('./api-D4JOaMll.cjs');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var fs$2 = require('fs/promises');
|
|
7
7
|
var os$1 = require('os');
|
|
@@ -52,7 +52,7 @@ async function openBrowser(url) {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
55
|
+
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-CZJH0CUT.cjs', document.baseURI).href)));
|
|
56
56
|
const QRCode = require$1("qrcode-terminal/vendor/QRCode");
|
|
57
57
|
const QRErrorCorrectLevel = require$1("qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel");
|
|
58
58
|
const pendingTempFiles = /* @__PURE__ */ new Set();
|
|
@@ -617,7 +617,7 @@ function setupCleanupHandlers() {
|
|
|
617
617
|
});
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
-
const __dirname$2 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
620
|
+
const __dirname$2 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-CZJH0CUT.cjs', document.baseURI).href))));
|
|
621
621
|
function projectPath() {
|
|
622
622
|
const path = path$1.resolve(__dirname$2, "..");
|
|
623
623
|
return path;
|
|
@@ -2352,6 +2352,10 @@ function buildDaemonSpawnArgs(agent, optionsOrResume) {
|
|
|
2352
2352
|
const providerSessionId = typeof options.resume?.providerSessionId === "string" ? options.resume.providerSessionId.trim() : "";
|
|
2353
2353
|
if (providerSessionId.length > 0 && supportsProviderResumeArg(resolvedAgent)) {
|
|
2354
2354
|
args.push("--resume", providerSessionId);
|
|
2355
|
+
const providerSessionCwd = typeof options.resume?.providerSessionCwd === "string" ? options.resume.providerSessionCwd.trim() : "";
|
|
2356
|
+
if (providerSessionCwd.length > 0 && resolvedAgent === "codex") {
|
|
2357
|
+
args.push("--resume-cwd", providerSessionCwd);
|
|
2358
|
+
}
|
|
2355
2359
|
}
|
|
2356
2360
|
return args;
|
|
2357
2361
|
}
|
|
@@ -11244,7 +11248,7 @@ class AbortError extends Error {
|
|
|
11244
11248
|
}
|
|
11245
11249
|
}
|
|
11246
11250
|
|
|
11247
|
-
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
11251
|
+
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-CZJH0CUT.cjs', document.baseURI).href)));
|
|
11248
11252
|
const __dirname$1 = path.join(__filename$1, "..");
|
|
11249
11253
|
function getGlobalClaudeVersion() {
|
|
11250
11254
|
try {
|
|
@@ -12569,23 +12573,24 @@ var launch = /*#__PURE__*/Object.freeze({
|
|
|
12569
12573
|
const unifiedProviderExecutors = {
|
|
12570
12574
|
claude: async (opts) => {
|
|
12571
12575
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
12572
|
-
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-
|
|
12576
|
+
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-B4eoG3Pu.cjs'); });
|
|
12573
12577
|
await runClaude(opts.credentials, {
|
|
12574
12578
|
...claudeOptions,
|
|
12575
12579
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
12576
12580
|
});
|
|
12577
12581
|
},
|
|
12578
12582
|
codex: async (opts) => {
|
|
12579
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
12583
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-hDGeZAh5.cjs'); });
|
|
12580
12584
|
await runCodex({
|
|
12581
12585
|
credentials: opts.credentials,
|
|
12582
12586
|
startedBy: opts.startedBy,
|
|
12583
12587
|
startingMode: opts.startingMode ?? (opts.startedBy === "daemon" ? "remote" : "local"),
|
|
12584
|
-
codexArgs: opts.codexArgs ?? []
|
|
12588
|
+
codexArgs: opts.codexArgs ?? [],
|
|
12589
|
+
resumeSessionCwd: opts.resumeSessionCwd
|
|
12585
12590
|
});
|
|
12586
12591
|
},
|
|
12587
12592
|
gemini: async (opts) => {
|
|
12588
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
12593
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-CeA9aiD1.cjs'); });
|
|
12589
12594
|
await runGemini({
|
|
12590
12595
|
credentials: opts.credentials,
|
|
12591
12596
|
startedBy: opts.startedBy
|
|
@@ -12668,7 +12673,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12668
12673
|
return;
|
|
12669
12674
|
} else if (subcommand === "runtime") {
|
|
12670
12675
|
if (args[1] === "providers") {
|
|
12671
|
-
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-
|
|
12676
|
+
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-DuKDmbdM.cjs'); });
|
|
12672
12677
|
console.log(renderRuntimeProviders());
|
|
12673
12678
|
return;
|
|
12674
12679
|
}
|
|
@@ -12751,12 +12756,15 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12751
12756
|
try {
|
|
12752
12757
|
let startedBy = void 0;
|
|
12753
12758
|
let startingMode = void 0;
|
|
12759
|
+
let resumeSessionCwd = null;
|
|
12754
12760
|
const codexArgs = [];
|
|
12755
12761
|
for (let i = 1; i < args.length; i++) {
|
|
12756
12762
|
if (args[i] === "--started-by") {
|
|
12757
12763
|
startedBy = args[++i];
|
|
12758
12764
|
} else if (args[i] === "--happy-starting-mode") {
|
|
12759
12765
|
startingMode = z.z.enum(["local", "remote"]).parse(args[++i]);
|
|
12766
|
+
} else if (args[i] === "--resume-cwd") {
|
|
12767
|
+
resumeSessionCwd = args[++i] ?? null;
|
|
12760
12768
|
} else {
|
|
12761
12769
|
codexArgs.push(args[i]);
|
|
12762
12770
|
}
|
|
@@ -12765,7 +12773,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12765
12773
|
provider: "codex",
|
|
12766
12774
|
startedBy,
|
|
12767
12775
|
startingMode,
|
|
12768
|
-
codexArgs
|
|
12776
|
+
codexArgs,
|
|
12777
|
+
resumeSessionCwd
|
|
12769
12778
|
});
|
|
12770
12779
|
} catch (error) {
|
|
12771
12780
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -12874,8 +12883,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12874
12883
|
const projectId = args[3];
|
|
12875
12884
|
try {
|
|
12876
12885
|
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
|
|
12877
|
-
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-
|
|
12878
|
-
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-
|
|
12886
|
+
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-D4JOaMll.cjs'); }).then(function (n) { return n.persistence; });
|
|
12887
|
+
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-D4JOaMll.cjs'); }).then(function (n) { return n.api; });
|
|
12879
12888
|
let userEmail = void 0;
|
|
12880
12889
|
try {
|
|
12881
12890
|
const credentials = await readCredentials2();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import chalk from 'chalk';
|
|
2
|
-
import { l as logger, q as encodeBase64, c as configuration, t as readCredentials, u as ensureSigningCredentials, r as readSettings, v as updateSettings, w as encodeBase64Url, m as delay, x as buildClientHeaders, y as decodeBase64, z as writeCredentialsLegacy, B as writeCredentialsDataKey, C as readDaemonState, D as HAPPY_CLOUD_DAEMON_PORT, E as clearDaemonState, F as packageJson, i as isAuthenticationRequiredError, G as buildSessionRuntimeIndex, I as acquireDaemonLock, J as writeDaemonState, A as ApiClient, K as releaseDaemonLock, L as validateProfileForAgent, M as getProfileEnvironmentVariables, N as clearCredentials, O as clearMachineId, P as readHappyOrgDispatchTruthSnapshot, Q as processHappyOrgRepoRequests, R as readHappyOrgRepoTaskBoard, S as HappyOrgTurnReportSchema, T as recordHappyOrgTurnReport, U as MessageContentSchema, V as buildSocketAuth, W as encrypt, H as HeadTailPreviewBuffer, X as getLatestDaemonLog } from './api-
|
|
2
|
+
import { l as logger, q as encodeBase64, c as configuration, t as readCredentials, u as ensureSigningCredentials, r as readSettings, v as updateSettings, w as encodeBase64Url, m as delay, x as buildClientHeaders, y as decodeBase64, z as writeCredentialsLegacy, B as writeCredentialsDataKey, C as readDaemonState, D as HAPPY_CLOUD_DAEMON_PORT, E as clearDaemonState, F as packageJson, i as isAuthenticationRequiredError, G as buildSessionRuntimeIndex, I as acquireDaemonLock, J as writeDaemonState, A as ApiClient, K as releaseDaemonLock, L as validateProfileForAgent, M as getProfileEnvironmentVariables, N as clearCredentials, O as clearMachineId, P as readHappyOrgDispatchTruthSnapshot, Q as processHappyOrgRepoRequests, R as readHappyOrgRepoTaskBoard, S as HappyOrgTurnReportSchema, T as recordHappyOrgTurnReport, U as MessageContentSchema, V as buildSocketAuth, W as encrypt, H as HeadTailPreviewBuffer, X as getLatestDaemonLog } from './api-6B4EMs47.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import fs, { writeFile as writeFile$1, rename, unlink as unlink$1 } from 'fs/promises';
|
|
5
5
|
import os$1, { homedir as homedir$1 } from 'os';
|
|
@@ -2349,6 +2349,10 @@ function buildDaemonSpawnArgs(agent, optionsOrResume) {
|
|
|
2349
2349
|
const providerSessionId = typeof options.resume?.providerSessionId === "string" ? options.resume.providerSessionId.trim() : "";
|
|
2350
2350
|
if (providerSessionId.length > 0 && supportsProviderResumeArg(resolvedAgent)) {
|
|
2351
2351
|
args.push("--resume", providerSessionId);
|
|
2352
|
+
const providerSessionCwd = typeof options.resume?.providerSessionCwd === "string" ? options.resume.providerSessionCwd.trim() : "";
|
|
2353
|
+
if (providerSessionCwd.length > 0 && resolvedAgent === "codex") {
|
|
2354
|
+
args.push("--resume-cwd", providerSessionCwd);
|
|
2355
|
+
}
|
|
2352
2356
|
}
|
|
2353
2357
|
return args;
|
|
2354
2358
|
}
|
|
@@ -12566,23 +12570,24 @@ var launch = /*#__PURE__*/Object.freeze({
|
|
|
12566
12570
|
const unifiedProviderExecutors = {
|
|
12567
12571
|
claude: async (opts) => {
|
|
12568
12572
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
12569
|
-
const { runClaude } = await import('./runClaude-
|
|
12573
|
+
const { runClaude } = await import('./runClaude-jDr3i0bO.mjs');
|
|
12570
12574
|
await runClaude(opts.credentials, {
|
|
12571
12575
|
...claudeOptions,
|
|
12572
12576
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
12573
12577
|
});
|
|
12574
12578
|
},
|
|
12575
12579
|
codex: async (opts) => {
|
|
12576
|
-
const { runCodex } = await import('./runCodex-
|
|
12580
|
+
const { runCodex } = await import('./runCodex-e_D1Jd_w.mjs');
|
|
12577
12581
|
await runCodex({
|
|
12578
12582
|
credentials: opts.credentials,
|
|
12579
12583
|
startedBy: opts.startedBy,
|
|
12580
12584
|
startingMode: opts.startingMode ?? (opts.startedBy === "daemon" ? "remote" : "local"),
|
|
12581
|
-
codexArgs: opts.codexArgs ?? []
|
|
12585
|
+
codexArgs: opts.codexArgs ?? [],
|
|
12586
|
+
resumeSessionCwd: opts.resumeSessionCwd
|
|
12582
12587
|
});
|
|
12583
12588
|
},
|
|
12584
12589
|
gemini: async (opts) => {
|
|
12585
|
-
const { runGemini } = await import('./runGemini-
|
|
12590
|
+
const { runGemini } = await import('./runGemini-Cur84FvO.mjs');
|
|
12586
12591
|
await runGemini({
|
|
12587
12592
|
credentials: opts.credentials,
|
|
12588
12593
|
startedBy: opts.startedBy
|
|
@@ -12665,7 +12670,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12665
12670
|
return;
|
|
12666
12671
|
} else if (subcommand === "runtime") {
|
|
12667
12672
|
if (args[1] === "providers") {
|
|
12668
|
-
const { renderRuntimeProviders } = await import('./command-
|
|
12673
|
+
const { renderRuntimeProviders } = await import('./command-BbJCdR2t.mjs');
|
|
12669
12674
|
console.log(renderRuntimeProviders());
|
|
12670
12675
|
return;
|
|
12671
12676
|
}
|
|
@@ -12748,12 +12753,15 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12748
12753
|
try {
|
|
12749
12754
|
let startedBy = void 0;
|
|
12750
12755
|
let startingMode = void 0;
|
|
12756
|
+
let resumeSessionCwd = null;
|
|
12751
12757
|
const codexArgs = [];
|
|
12752
12758
|
for (let i = 1; i < args.length; i++) {
|
|
12753
12759
|
if (args[i] === "--started-by") {
|
|
12754
12760
|
startedBy = args[++i];
|
|
12755
12761
|
} else if (args[i] === "--happy-starting-mode") {
|
|
12756
12762
|
startingMode = z.enum(["local", "remote"]).parse(args[++i]);
|
|
12763
|
+
} else if (args[i] === "--resume-cwd") {
|
|
12764
|
+
resumeSessionCwd = args[++i] ?? null;
|
|
12757
12765
|
} else {
|
|
12758
12766
|
codexArgs.push(args[i]);
|
|
12759
12767
|
}
|
|
@@ -12762,7 +12770,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12762
12770
|
provider: "codex",
|
|
12763
12771
|
startedBy,
|
|
12764
12772
|
startingMode,
|
|
12765
|
-
codexArgs
|
|
12773
|
+
codexArgs,
|
|
12774
|
+
resumeSessionCwd
|
|
12766
12775
|
});
|
|
12767
12776
|
} catch (error) {
|
|
12768
12777
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -12871,8 +12880,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12871
12880
|
const projectId = args[3];
|
|
12872
12881
|
try {
|
|
12873
12882
|
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
|
|
12874
|
-
const { readCredentials: readCredentials2 } = await import('./api-
|
|
12875
|
-
const { ApiClient: ApiClient2 } = await import('./api-
|
|
12883
|
+
const { readCredentials: readCredentials2 } = await import('./api-6B4EMs47.mjs').then(function (n) { return n.Y; });
|
|
12884
|
+
const { ApiClient: ApiClient2 } = await import('./api-6B4EMs47.mjs').then(function (n) { return n.Z; });
|
|
12876
12885
|
let userEmail = void 0;
|
|
12877
12886
|
try {
|
|
12878
12887
|
const credentials = await readCredentials2();
|
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('chalk');
|
|
4
|
-
require('./api-
|
|
4
|
+
require('./api-D4JOaMll.cjs');
|
|
5
5
|
require('zod');
|
|
6
|
-
require('./index-
|
|
6
|
+
require('./index-CZJH0CUT.cjs');
|
|
7
7
|
require('node:child_process');
|
|
8
8
|
require('node:fs');
|
|
9
9
|
require('cross-spawn');
|
package/dist/index.mjs
CHANGED