happy-imou-cloud 2.1.41 → 2.1.43

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.
Files changed (25) hide show
  1. package/dist/{BaseReasoningProcessor-Dica2zdX.mjs → BaseReasoningProcessor-CWCPAVJ3.mjs} +4 -2
  2. package/dist/{BaseReasoningProcessor-DAPsauUX.cjs → BaseReasoningProcessor-D6itItnT.cjs} +4 -2
  3. package/dist/{ProviderSelectionHandler-4nuTd8AP.cjs → ProviderSelectionHandler-CXwqOJpC.cjs} +2 -2
  4. package/dist/{ProviderSelectionHandler-CmeZ92yO.mjs → ProviderSelectionHandler-CYUH1U8F.mjs} +2 -2
  5. package/dist/{api-CwNEbJBM.mjs → api-B89O-SC-.mjs} +398 -43
  6. package/dist/{api-C_Tnx4UG.cjs → api-zMic8QXq.cjs} +399 -42
  7. package/dist/{command-D0FxDynx.mjs → command-W01qXC9C.mjs} +2 -2
  8. package/dist/{command-C3RwwPVD.cjs → command-_qNFoJ-l.cjs} +2 -2
  9. package/dist/{index-D5m2Duxd.mjs → index-CiHiCC31.mjs} +31 -16
  10. package/dist/{index-Dh0qGrEd.cjs → index-DVVbyQGZ.cjs} +34 -19
  11. package/dist/index.cjs +2 -2
  12. package/dist/index.mjs +2 -2
  13. package/dist/lib.cjs +1 -1
  14. package/dist/lib.d.cts +1041 -214
  15. package/dist/lib.d.mts +1041 -214
  16. package/dist/lib.mjs +1 -1
  17. package/dist/{registerKillSessionHandler-6JloVYkb.mjs → registerKillSessionHandler-BnS3ozFX.mjs} +274 -101
  18. package/dist/{registerKillSessionHandler-Bkh8uLhC.cjs → registerKillSessionHandler-CDYAY5Ev.cjs} +274 -101
  19. package/dist/{runClaude-Bng_IsE7.mjs → runClaude-0U7kV07_.mjs} +13 -4
  20. package/dist/{runClaude-mIFO7YxF.cjs → runClaude-C1xfptKt.cjs} +14 -5
  21. package/dist/{runCodex-cNuxGshy.cjs → runCodex-BBgKpYLO.cjs} +20 -6
  22. package/dist/{runCodex-DAc6flez.mjs → runCodex-DnDmHm7E.mjs} +19 -5
  23. package/dist/{runGemini-DsRFV8WN.cjs → runGemini-CUwQHJ9y.cjs} +21 -5
  24. package/dist/{runGemini-DdXj8ltI.mjs → runGemini-DcsIBQSc.mjs} +20 -4
  25. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { c as createDefaultRuntimeShell } from './index-D5m2Duxd.mjs';
1
+ import { c as createDefaultRuntimeShell } from './index-CiHiCC31.mjs';
2
2
  import 'chalk';
3
- import './api-CwNEbJBM.mjs';
3
+ import './api-B89O-SC-.mjs';
4
4
  import 'axios';
5
5
  import 'fs';
6
6
  import 'node:fs';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Dh0qGrEd.cjs');
3
+ var index = require('./index-DVVbyQGZ.cjs');
4
4
  require('chalk');
5
- require('./api-C_Tnx4UG.cjs');
5
+ require('./api-zMic8QXq.cjs');
6
6
  require('axios');
7
7
  require('fs');
8
8
  require('node:fs');
@@ -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, n as encodeBase64, c as configuration, o as readCredentials, q as ensureSigningCredentials, r as readSettings, u as updateSettings, t as encodeBase64Url, k as delay, v as buildClientHeaders, w as decodeBase64, x as writeCredentialsLegacy, y as writeCredentialsDataKey, z as readDaemonState, B as HAPPY_CLOUD_DAEMON_PORT, C as clearDaemonState, D as packageJson, i as isAuthenticationRequiredError, E as acquireDaemonLock, F as writeDaemonState, A as ApiClient, G as releaseDaemonLock, I as validateProfileForAgent, J as getProfileEnvironmentVariables, K as clearCredentials, L as clearMachineId, M as readHappyOrgDispatchTruthSnapshot, N as processHappyOrgRepoRequests, O as readHappyOrgRepoTaskBoard, P as HappyOrgTurnReportSchema, Q as recordHappyOrgTurnReport, R as MessageContentSchema, S as buildSocketAuth, T as encrypt, H as HeadTailPreviewBuffer, U as getLatestDaemonLog } from './api-CwNEbJBM.mjs';
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 acquireDaemonLock, I as writeDaemonState, A as ApiClient, J as releaseDaemonLock, K as validateProfileForAgent, L as getProfileEnvironmentVariables, M as clearCredentials, N as clearMachineId, O as readHappyOrgDispatchTruthSnapshot, P as processHappyOrgRepoRequests, Q as readHappyOrgRepoTaskBoard, R as HappyOrgTurnReportSchema, S as recordHappyOrgTurnReport, T as MessageContentSchema, U as buildSocketAuth, V as encrypt, H as HeadTailPreviewBuffer, W as getLatestDaemonLog } from './api-B89O-SC-.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 } from 'os';
@@ -2334,14 +2334,19 @@ function resolveDaemonSpawnAgent(agent) {
2334
2334
  throw new Error(`Unsupported agent type: '${agent}'. Please update your CLI to the latest version.`);
2335
2335
  }
2336
2336
  }
2337
- function buildDaemonSpawnArgs(agent) {
2338
- return [
2337
+ function buildDaemonSpawnArgs(agent, resume) {
2338
+ const args = [
2339
2339
  resolveDaemonSpawnAgent(agent),
2340
2340
  "--happy-starting-mode",
2341
2341
  "remote",
2342
2342
  "--started-by",
2343
2343
  "daemon"
2344
2344
  ];
2345
+ const providerSessionId = typeof resume?.providerSessionId === "string" ? resume.providerSessionId.trim() : "";
2346
+ if (providerSessionId.length > 0) {
2347
+ args.push("--resume", providerSessionId);
2348
+ }
2349
+ return args;
2345
2350
  }
2346
2351
 
2347
2352
  const SPAWN_SESSION_ERROR_CODES = {
@@ -2456,8 +2461,10 @@ async function runDaemonHealthCheck({
2456
2461
  });
2457
2462
  const projectVersion = readProjectCliVersion();
2458
2463
  if (projectVersion && projectVersion !== currentCliVersion) {
2459
- await onDaemonOutdated();
2460
- return;
2464
+ const restartStarted = await onDaemonOutdated();
2465
+ if (restartStarted !== false) {
2466
+ return;
2467
+ }
2461
2468
  }
2462
2469
  const daemonState = await readDaemonState();
2463
2470
  if (daemonState && daemonState.pid !== daemonPid) {
@@ -3655,7 +3662,7 @@ async function startDaemon() {
3655
3662
  const tmux = getTmuxUtilities(tmuxSessionName);
3656
3663
  const cliPath = join$1(projectPath(), "dist", "index.mjs");
3657
3664
  const agent = resolveDaemonSpawnAgent(options.agent);
3658
- const fullCommand = `node --no-warnings --no-deprecation ${cliPath} ${buildDaemonSpawnArgs(agent).join(" ")}`;
3665
+ const fullCommand = `node --no-warnings --no-deprecation ${cliPath} ${buildDaemonSpawnArgs(agent, options.resume).join(" ")}`;
3659
3666
  const windowName = `happy-${Date.now()}-${agent}`;
3660
3667
  const tmuxEnv = buildDaemonChildEnv(process.env, extraEnv);
3661
3668
  if (managedSessionTag && api) {
@@ -3740,7 +3747,7 @@ async function startDaemon() {
3740
3747
  logger.debug(`[DAEMON RUN] Using regular process spawning`);
3741
3748
  let args;
3742
3749
  try {
3743
- args = buildDaemonSpawnArgs(options.agent);
3750
+ args = buildDaemonSpawnArgs(options.agent, options.resume);
3744
3751
  } catch (error) {
3745
3752
  const spawnError = createSpawnSessionError(
3746
3753
  SPAWN_SESSION_ERROR_CODES.INVALID_REQUEST,
@@ -4139,16 +4146,18 @@ ${stderrSnapshot}`);
4139
4146
  },
4140
4147
  currentCliVersion: configuration.currentCliVersion,
4141
4148
  onDaemonOutdated: async () => {
4142
- logger.debug("[DAEMON RUN] Daemon is outdated, triggering self-restart with latest version, clearing heartbeat interval");
4143
- clearInterval(restartOnStaleVersionAndHeartbeat);
4149
+ logger.debug("[DAEMON RUN] Daemon is outdated, attempting self-restart with latest version");
4144
4150
  try {
4145
4151
  spawnHappyCLI(["daemon", "start"], {
4146
4152
  detached: true,
4147
4153
  stdio: "ignore"
4148
4154
  });
4149
4155
  } catch (error) {
4150
- logger.debug("[DAEMON RUN] Failed to spawn new daemon, this is quite likely to happen during integration tests as we are cleaning out dist/ directory", error);
4156
+ logger.debug("[DAEMON RUN] Failed to spawn new daemon; keeping current daemon alive and retrying on the next health check", error);
4157
+ return false;
4151
4158
  }
4159
+ logger.debug("[DAEMON RUN] Replacement daemon spawned, clearing heartbeat interval");
4160
+ clearInterval(restartOnStaleVersionAndHeartbeat);
4152
4161
  logger.debug("[DAEMON RUN] Hanging for a bit - waiting for CLI to kill us because we are running outdated version of the code");
4153
4162
  await new Promise((resolve) => setTimeout(resolve, 1e4));
4154
4163
  process.exit(0);
@@ -5379,6 +5388,7 @@ function formatDispatchReceipt(receipt) {
5379
5388
  }
5380
5389
  function formatRepoTaskBoard(view) {
5381
5390
  const lines = [
5391
+ `organization_manifest_id=${view.organizationManifestId ?? ""}`,
5382
5392
  `total_count=${view.totalCount}`,
5383
5393
  `in_progress_count=${view.inProgressCount}`,
5384
5394
  `needs_handoff_count=${view.handoffCount}`,
@@ -5391,10 +5401,15 @@ function formatRepoTaskBoard(view) {
5391
5401
  for (const item of section.items) {
5392
5402
  lines.push([
5393
5403
  `task_id=${item.taskId}`,
5404
+ `position_id=${item.positionId ?? ""}`,
5394
5405
  `status=${item.status}`,
5406
+ `merge_state=${item.mergeState ?? ""}`,
5407
+ `machine_id=${item.machineId ?? ""}`,
5408
+ `runtime_session_id=${item.runtimeSessionId ?? ""}`,
5395
5409
  `title=${item.title}`,
5396
5410
  `owner=${item.ownerName}`,
5397
5411
  `responsibility=${item.responsibilityLabel ?? ""}`,
5412
+ `merge_detail=${item.mergeStateSummary ?? ""}`,
5398
5413
  `detail=${item.blockerOrDecision ?? item.latestResult ?? item.currentProgress ?? item.path ?? ""}`
5399
5414
  ].join(" | "));
5400
5415
  }
@@ -11877,14 +11892,14 @@ var launch = /*#__PURE__*/Object.freeze({
11877
11892
  const unifiedProviderExecutors = {
11878
11893
  claude: async (opts) => {
11879
11894
  const claudeOptions = opts.claudeOptions ?? {};
11880
- const { runClaude } = await import('./runClaude-Bng_IsE7.mjs');
11895
+ const { runClaude } = await import('./runClaude-0U7kV07_.mjs');
11881
11896
  await runClaude(opts.credentials, {
11882
11897
  ...claudeOptions,
11883
11898
  startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
11884
11899
  });
11885
11900
  },
11886
11901
  codex: async (opts) => {
11887
- const { runCodex } = await import('./runCodex-DAc6flez.mjs');
11902
+ const { runCodex } = await import('./runCodex-DnDmHm7E.mjs');
11888
11903
  await runCodex({
11889
11904
  credentials: opts.credentials,
11890
11905
  startedBy: opts.startedBy,
@@ -11893,7 +11908,7 @@ const unifiedProviderExecutors = {
11893
11908
  });
11894
11909
  },
11895
11910
  gemini: async (opts) => {
11896
- const { runGemini } = await import('./runGemini-DdXj8ltI.mjs');
11911
+ const { runGemini } = await import('./runGemini-DcsIBQSc.mjs');
11897
11912
  await runGemini({
11898
11913
  credentials: opts.credentials,
11899
11914
  startedBy: opts.startedBy
@@ -11976,7 +11991,7 @@ function shouldRunMainClaudeFlow(opts) {
11976
11991
  return;
11977
11992
  } else if (subcommand === "runtime") {
11978
11993
  if (args[1] === "providers") {
11979
- const { renderRuntimeProviders } = await import('./command-D0FxDynx.mjs');
11994
+ const { renderRuntimeProviders } = await import('./command-W01qXC9C.mjs');
11980
11995
  console.log(renderRuntimeProviders());
11981
11996
  return;
11982
11997
  }
@@ -12182,8 +12197,8 @@ function shouldRunMainClaudeFlow(opts) {
12182
12197
  const projectId = args[3];
12183
12198
  try {
12184
12199
  const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
12185
- const { readCredentials: readCredentials2 } = await import('./api-CwNEbJBM.mjs').then(function (n) { return n.V; });
12186
- const { ApiClient: ApiClient2 } = await import('./api-CwNEbJBM.mjs').then(function (n) { return n.W; });
12200
+ const { readCredentials: readCredentials2 } = await import('./api-B89O-SC-.mjs').then(function (n) { return n.X; });
12201
+ const { ApiClient: ApiClient2 } = await import('./api-B89O-SC-.mjs').then(function (n) { return n.Y; });
12187
12202
  let userEmail = void 0;
12188
12203
  try {
12189
12204
  const credentials = await readCredentials2();
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chalk = require('chalk');
4
- var persistence = require('./api-C_Tnx4UG.cjs');
4
+ var persistence = require('./api-zMic8QXq.cjs');
5
5
  var z = require('zod');
6
6
  var fs$2 = require('fs/promises');
7
7
  var os$1 = require('os');
@@ -72,7 +72,7 @@ async function openBrowser(url) {
72
72
  }
73
73
  }
74
74
 
75
- 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-Dh0qGrEd.cjs', document.baseURI).href)));
75
+ 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-DVVbyQGZ.cjs', document.baseURI).href)));
76
76
  const QRCode = require$1("qrcode-terminal/vendor/QRCode");
77
77
  const QRErrorCorrectLevel = require$1("qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel");
78
78
  const pendingTempFiles = /* @__PURE__ */ new Set();
@@ -637,7 +637,7 @@ function setupCleanupHandlers() {
637
637
  });
638
638
  }
639
639
 
640
- 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-Dh0qGrEd.cjs', document.baseURI).href))));
640
+ 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-DVVbyQGZ.cjs', document.baseURI).href))));
641
641
  function projectPath() {
642
642
  const path = path$1.resolve(__dirname$2, "..");
643
643
  return path;
@@ -2356,14 +2356,19 @@ function resolveDaemonSpawnAgent(agent) {
2356
2356
  throw new Error(`Unsupported agent type: '${agent}'. Please update your CLI to the latest version.`);
2357
2357
  }
2358
2358
  }
2359
- function buildDaemonSpawnArgs(agent) {
2360
- return [
2359
+ function buildDaemonSpawnArgs(agent, resume) {
2360
+ const args = [
2361
2361
  resolveDaemonSpawnAgent(agent),
2362
2362
  "--happy-starting-mode",
2363
2363
  "remote",
2364
2364
  "--started-by",
2365
2365
  "daemon"
2366
2366
  ];
2367
+ const providerSessionId = typeof resume?.providerSessionId === "string" ? resume.providerSessionId.trim() : "";
2368
+ if (providerSessionId.length > 0) {
2369
+ args.push("--resume", providerSessionId);
2370
+ }
2371
+ return args;
2367
2372
  }
2368
2373
 
2369
2374
  const SPAWN_SESSION_ERROR_CODES = {
@@ -2478,8 +2483,10 @@ async function runDaemonHealthCheck({
2478
2483
  });
2479
2484
  const projectVersion = readProjectCliVersion();
2480
2485
  if (projectVersion && projectVersion !== currentCliVersion) {
2481
- await onDaemonOutdated();
2482
- return;
2486
+ const restartStarted = await onDaemonOutdated();
2487
+ if (restartStarted !== false) {
2488
+ return;
2489
+ }
2483
2490
  }
2484
2491
  const daemonState = await readDaemonState();
2485
2492
  if (daemonState && daemonState.pid !== daemonPid) {
@@ -3677,7 +3684,7 @@ async function startDaemon() {
3677
3684
  const tmux = getTmuxUtilities(tmuxSessionName);
3678
3685
  const cliPath = path$1.join(projectPath(), "dist", "index.mjs");
3679
3686
  const agent = resolveDaemonSpawnAgent(options.agent);
3680
- const fullCommand = `node --no-warnings --no-deprecation ${cliPath} ${buildDaemonSpawnArgs(agent).join(" ")}`;
3687
+ const fullCommand = `node --no-warnings --no-deprecation ${cliPath} ${buildDaemonSpawnArgs(agent, options.resume).join(" ")}`;
3681
3688
  const windowName = `happy-${Date.now()}-${agent}`;
3682
3689
  const tmuxEnv = buildDaemonChildEnv(process.env, extraEnv);
3683
3690
  if (managedSessionTag && api) {
@@ -3762,7 +3769,7 @@ async function startDaemon() {
3762
3769
  persistence.logger.debug(`[DAEMON RUN] Using regular process spawning`);
3763
3770
  let args;
3764
3771
  try {
3765
- args = buildDaemonSpawnArgs(options.agent);
3772
+ args = buildDaemonSpawnArgs(options.agent, options.resume);
3766
3773
  } catch (error) {
3767
3774
  const spawnError = createSpawnSessionError(
3768
3775
  SPAWN_SESSION_ERROR_CODES.INVALID_REQUEST,
@@ -4161,16 +4168,18 @@ ${stderrSnapshot}`);
4161
4168
  },
4162
4169
  currentCliVersion: persistence.configuration.currentCliVersion,
4163
4170
  onDaemonOutdated: async () => {
4164
- persistence.logger.debug("[DAEMON RUN] Daemon is outdated, triggering self-restart with latest version, clearing heartbeat interval");
4165
- clearInterval(restartOnStaleVersionAndHeartbeat);
4171
+ persistence.logger.debug("[DAEMON RUN] Daemon is outdated, attempting self-restart with latest version");
4166
4172
  try {
4167
4173
  spawnHappyCLI(["daemon", "start"], {
4168
4174
  detached: true,
4169
4175
  stdio: "ignore"
4170
4176
  });
4171
4177
  } catch (error) {
4172
- persistence.logger.debug("[DAEMON RUN] Failed to spawn new daemon, this is quite likely to happen during integration tests as we are cleaning out dist/ directory", error);
4178
+ persistence.logger.debug("[DAEMON RUN] Failed to spawn new daemon; keeping current daemon alive and retrying on the next health check", error);
4179
+ return false;
4173
4180
  }
4181
+ persistence.logger.debug("[DAEMON RUN] Replacement daemon spawned, clearing heartbeat interval");
4182
+ clearInterval(restartOnStaleVersionAndHeartbeat);
4174
4183
  persistence.logger.debug("[DAEMON RUN] Hanging for a bit - waiting for CLI to kill us because we are running outdated version of the code");
4175
4184
  await new Promise((resolve) => setTimeout(resolve, 1e4));
4176
4185
  process.exit(0);
@@ -5401,6 +5410,7 @@ function formatDispatchReceipt(receipt) {
5401
5410
  }
5402
5411
  function formatRepoTaskBoard(view) {
5403
5412
  const lines = [
5413
+ `organization_manifest_id=${view.organizationManifestId ?? ""}`,
5404
5414
  `total_count=${view.totalCount}`,
5405
5415
  `in_progress_count=${view.inProgressCount}`,
5406
5416
  `needs_handoff_count=${view.handoffCount}`,
@@ -5413,10 +5423,15 @@ function formatRepoTaskBoard(view) {
5413
5423
  for (const item of section.items) {
5414
5424
  lines.push([
5415
5425
  `task_id=${item.taskId}`,
5426
+ `position_id=${item.positionId ?? ""}`,
5416
5427
  `status=${item.status}`,
5428
+ `merge_state=${item.mergeState ?? ""}`,
5429
+ `machine_id=${item.machineId ?? ""}`,
5430
+ `runtime_session_id=${item.runtimeSessionId ?? ""}`,
5417
5431
  `title=${item.title}`,
5418
5432
  `owner=${item.ownerName}`,
5419
5433
  `responsibility=${item.responsibilityLabel ?? ""}`,
5434
+ `merge_detail=${item.mergeStateSummary ?? ""}`,
5420
5435
  `detail=${item.blockerOrDecision ?? item.latestResult ?? item.currentProgress ?? item.path ?? ""}`
5421
5436
  ].join(" | "));
5422
5437
  }
@@ -10574,7 +10589,7 @@ class AbortError extends Error {
10574
10589
  }
10575
10590
  }
10576
10591
 
10577
- 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-Dh0qGrEd.cjs', document.baseURI).href)));
10592
+ 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-DVVbyQGZ.cjs', document.baseURI).href)));
10578
10593
  const __dirname$1 = path.join(__filename$1, "..");
10579
10594
  function getGlobalClaudeVersion() {
10580
10595
  try {
@@ -11899,14 +11914,14 @@ var launch = /*#__PURE__*/Object.freeze({
11899
11914
  const unifiedProviderExecutors = {
11900
11915
  claude: async (opts) => {
11901
11916
  const claudeOptions = opts.claudeOptions ?? {};
11902
- const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-mIFO7YxF.cjs'); });
11917
+ const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-C1xfptKt.cjs'); });
11903
11918
  await runClaude(opts.credentials, {
11904
11919
  ...claudeOptions,
11905
11920
  startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
11906
11921
  });
11907
11922
  },
11908
11923
  codex: async (opts) => {
11909
- const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-cNuxGshy.cjs'); });
11924
+ const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-BBgKpYLO.cjs'); });
11910
11925
  await runCodex({
11911
11926
  credentials: opts.credentials,
11912
11927
  startedBy: opts.startedBy,
@@ -11915,7 +11930,7 @@ const unifiedProviderExecutors = {
11915
11930
  });
11916
11931
  },
11917
11932
  gemini: async (opts) => {
11918
- const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-DsRFV8WN.cjs'); });
11933
+ const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-CUwQHJ9y.cjs'); });
11919
11934
  await runGemini({
11920
11935
  credentials: opts.credentials,
11921
11936
  startedBy: opts.startedBy
@@ -11998,7 +12013,7 @@ function shouldRunMainClaudeFlow(opts) {
11998
12013
  return;
11999
12014
  } else if (subcommand === "runtime") {
12000
12015
  if (args[1] === "providers") {
12001
- const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-C3RwwPVD.cjs'); });
12016
+ const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-_qNFoJ-l.cjs'); });
12002
12017
  console.log(renderRuntimeProviders());
12003
12018
  return;
12004
12019
  }
@@ -12204,8 +12219,8 @@ function shouldRunMainClaudeFlow(opts) {
12204
12219
  const projectId = args[3];
12205
12220
  try {
12206
12221
  const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
12207
- const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-C_Tnx4UG.cjs'); }).then(function (n) { return n.persistence; });
12208
- const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-C_Tnx4UG.cjs'); }).then(function (n) { return n.api; });
12222
+ const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-zMic8QXq.cjs'); }).then(function (n) { return n.persistence; });
12223
+ const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-zMic8QXq.cjs'); }).then(function (n) { return n.api; });
12209
12224
  let userEmail = void 0;
12210
12225
  try {
12211
12226
  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-C_Tnx4UG.cjs');
4
+ require('./api-zMic8QXq.cjs');
5
5
  require('zod');
6
- require('./index-Dh0qGrEd.cjs');
6
+ require('./index-DVVbyQGZ.cjs');
7
7
  require('node:child_process');
8
8
  require('node:fs');
9
9
  require('cross-spawn');
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import 'chalk';
2
- import './api-CwNEbJBM.mjs';
2
+ import './api-B89O-SC-.mjs';
3
3
  import 'zod';
4
- import './index-D5m2Duxd.mjs';
4
+ import './index-CiHiCC31.mjs';
5
5
  import 'node:child_process';
6
6
  import 'node:fs';
7
7
  import 'cross-spawn';
package/dist/lib.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var persistence = require('./api-C_Tnx4UG.cjs');
3
+ var persistence = require('./api-zMic8QXq.cjs');
4
4
  var types = require('./types-DVk3crez.cjs');
5
5
  require('axios');
6
6
  require('chalk');