happy-imou-cloud 2.1.36 → 2.1.37

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-fYtbWsiE.mjs → BaseReasoningProcessor-CotgApeZ.mjs} +2 -2
  2. package/dist/{BaseReasoningProcessor-CwT7JhxJ.cjs → BaseReasoningProcessor-Do2r_eVW.cjs} +2 -2
  3. package/dist/{ProviderSelectionHandler-B9vjBTyM.mjs → ProviderSelectionHandler-CCsorkyV.mjs} +2 -2
  4. package/dist/{ProviderSelectionHandler-CBX_NP1Q.cjs → ProviderSelectionHandler-CywTx_Df.cjs} +2 -2
  5. package/dist/{api-CwMg_lJj.mjs → api-CMJhY7of.mjs} +1 -1
  6. package/dist/{api-CcZmsHiN.cjs → api-CexMNqai.cjs} +1 -1
  7. package/dist/{command-DcqLvk6w.mjs → command-C2YB2hE-.mjs} +2 -2
  8. package/dist/{command-Ck_6hawr.cjs → command-Ct7Eeo2F.cjs} +2 -2
  9. package/dist/{index-DGHeJuUL.mjs → index-4t8rMnvz.mjs} +52 -9
  10. package/dist/{index-C2Iik0Ll.cjs → index-CQ2Yq72y.cjs} +55 -11
  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 +36 -36
  15. package/dist/lib.d.mts +36 -36
  16. package/dist/lib.mjs +1 -1
  17. package/dist/{registerKillSessionHandler-DMxV6Ke6.cjs → registerKillSessionHandler-C1PIogKI.cjs} +38 -5
  18. package/dist/{registerKillSessionHandler-CjK9IoDq.mjs → registerKillSessionHandler-CLFQ8bQP.mjs} +38 -5
  19. package/dist/{runClaude-C0QTsf0B.mjs → runClaude-BiFuU4AP.mjs} +8 -5
  20. package/dist/{runClaude-B8f7Ubkz.cjs → runClaude-L4G4BbIJ.cjs} +8 -5
  21. package/dist/{runCodex-BOfihUE0.mjs → runCodex-C0wjgp2b.mjs} +9 -6
  22. package/dist/{runCodex-BJ4dyXhc.cjs → runCodex-CaUoS6E4.cjs} +9 -6
  23. package/dist/{runGemini-CUL3MiIx.cjs → runGemini-DhYi_crP.cjs} +8 -5
  24. package/dist/{runGemini-CBMJT1Fe.mjs → runGemini-DxQX5VhV.mjs} +8 -5
  25. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { a as createSessionMetadata, p as publishSessionRegistration } from './index-DGHeJuUL.mjs';
2
- import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-CwMg_lJj.mjs';
1
+ import { a as createSessionMetadata, p as publishSessionRegistration } from './index-4t8rMnvz.mjs';
2
+ import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-CMJhY7of.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-C2Iik0Ll.cjs');
4
- var persistence = require('./api-CcZmsHiN.cjs');
3
+ var index = require('./index-CQ2Yq72y.cjs');
4
+ var persistence = require('./api-CexMNqai.cjs');
5
5
  var node_events = require('node:events');
6
6
  var node_crypto = require('node:crypto');
7
7
 
@@ -1,5 +1,5 @@
1
- import { l as logger } from './api-CwMg_lJj.mjs';
2
- import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-CjK9IoDq.mjs';
1
+ import { l as logger } from './api-CMJhY7of.mjs';
2
+ import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-CLFQ8bQP.mjs';
3
3
 
4
4
  async function runModeLoop(opts) {
5
5
  let currentMode = opts.startingMode;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var persistence = require('./api-CcZmsHiN.cjs');
4
- var registerKillSessionHandler = require('./registerKillSessionHandler-DMxV6Ke6.cjs');
3
+ var persistence = require('./api-CexMNqai.cjs');
4
+ var registerKillSessionHandler = require('./registerKillSessionHandler-C1PIogKI.cjs');
5
5
 
6
6
  async function runModeLoop(opts) {
7
7
  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.36";
21
+ var version = "2.1.37";
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.36";
41
+ var version = "2.1.37";
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-DGHeJuUL.mjs';
1
+ import { c as createDefaultRuntimeShell } from './index-4t8rMnvz.mjs';
2
2
  import 'chalk';
3
- import './api-CwMg_lJj.mjs';
3
+ import './api-CMJhY7of.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-C2Iik0Ll.cjs');
3
+ var index = require('./index-CQ2Yq72y.cjs');
4
4
  require('chalk');
5
- require('./api-CcZmsHiN.cjs');
5
+ require('./api-CexMNqai.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, m as encodeBase64, c as configuration, n as readCredentials, o as ensureSigningCredentials, r as readSettings, u as updateSettings, q as encodeBase64Url, j as delay, t as buildClientHeaders, v as decodeBase64, w as writeCredentialsLegacy, x as writeCredentialsDataKey, y as readDaemonState, z as HAPPY_CLOUD_DAEMON_PORT, B as clearDaemonState, C as packageJson, i as isAuthenticationRequiredError, D as acquireDaemonLock, E as writeDaemonState, A as ApiClient, F as releaseDaemonLock, G as validateProfileForAgent, I as getProfileEnvironmentVariables, J as clearCredentials, K as clearMachineId, L as readHappyOrgDispatchTruthSnapshot, M as processHappyOrgRepoRequests, N as HappyOrgTurnReportSchema, O as recordHappyOrgTurnReport, P as MessageContentSchema, Q as buildSocketAuth, R as encrypt, H as HeadTailPreviewBuffer, S as getLatestDaemonLog } from './api-CwMg_lJj.mjs';
2
+ import { l as logger, m as encodeBase64, c as configuration, n as readCredentials, o as ensureSigningCredentials, r as readSettings, u as updateSettings, q as encodeBase64Url, j as delay, t as buildClientHeaders, v as decodeBase64, w as writeCredentialsLegacy, x as writeCredentialsDataKey, y as readDaemonState, z as HAPPY_CLOUD_DAEMON_PORT, B as clearDaemonState, C as packageJson, i as isAuthenticationRequiredError, D as acquireDaemonLock, E as writeDaemonState, A as ApiClient, F as releaseDaemonLock, G as validateProfileForAgent, I as getProfileEnvironmentVariables, J as clearCredentials, K as clearMachineId, L as readHappyOrgDispatchTruthSnapshot, M as processHappyOrgRepoRequests, N as HappyOrgTurnReportSchema, O as recordHappyOrgTurnReport, P as MessageContentSchema, Q as buildSocketAuth, R as encrypt, H as HeadTailPreviewBuffer, S as getLatestDaemonLog } from './api-CMJhY7of.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';
@@ -6988,6 +6988,40 @@ class CursorTransport extends DefaultTransport {
6988
6988
  }
6989
6989
  const cursorTransport = new CursorTransport();
6990
6990
 
6991
+ function isRecord$2(value) {
6992
+ return !!value && typeof value === "object" && !Array.isArray(value);
6993
+ }
6994
+ function hasOnlyAllowedKeys(record, allowedKeys) {
6995
+ return Object.keys(record).every((key) => allowedKeys.includes(key));
6996
+ }
6997
+ function isTerminalReferenceItem(value) {
6998
+ if (!isRecord$2(value)) {
6999
+ return false;
7000
+ }
7001
+ const hasTerminalId = typeof value.terminalId === "string" && value.terminalId.length > 0 || typeof value.terminal_id === "string" && value.terminal_id.length > 0;
7002
+ return hasTerminalId && value.type === "terminal" && hasOnlyAllowedKeys(value, ["terminalId", "terminal_id", "type", "id"]);
7003
+ }
7004
+ function isTerminalReferenceOnlyPayload(value) {
7005
+ if (Array.isArray(value)) {
7006
+ return value.length > 0 && value.every((entry) => isTerminalReferenceOnlyPayload(entry));
7007
+ }
7008
+ if (!isRecord$2(value)) {
7009
+ return false;
7010
+ }
7011
+ if (isTerminalReferenceItem(value)) {
7012
+ return true;
7013
+ }
7014
+ const items = Array.isArray(value.items) ? value.items : null;
7015
+ if (items && items.length > 0 && items.every((entry) => isTerminalReferenceOnlyPayload(entry)) && hasOnlyAllowedKeys(value, ["items", "type"])) {
7016
+ return true;
7017
+ }
7018
+ const content = "content" in value ? value.content : void 0;
7019
+ if (content !== void 0 && isTerminalReferenceOnlyPayload(content) && hasOnlyAllowedKeys(value, ["content", "type"])) {
7020
+ return true;
7021
+ }
7022
+ return false;
7023
+ }
7024
+
6991
7025
  const DEFAULT_IDLE_TIMEOUT_MS = 500;
6992
7026
  const DEFAULT_TOOL_CALL_TIMEOUT_MS = 10 * 6e4;
6993
7027
  const DEFAULT_TOOL_CALL_OUTPUT_PREVIEW_HEAD_BYTES = 4096;
@@ -7206,6 +7240,9 @@ function isRecord$1(value) {
7206
7240
  return typeof value === "object" && value !== null && !Array.isArray(value);
7207
7241
  }
7208
7242
  function extractNestedToolContentText(value) {
7243
+ if (isTerminalReferenceOnlyPayload(value)) {
7244
+ return null;
7245
+ }
7209
7246
  if (typeof value === "string") {
7210
7247
  return value.length > 0 ? value : null;
7211
7248
  }
@@ -7274,6 +7311,9 @@ function extractToolOutputChunk(content) {
7274
7311
  if (!isRecord$1(content)) {
7275
7312
  return null;
7276
7313
  }
7314
+ if (isTerminalReferenceOnlyPayload(content)) {
7315
+ return null;
7316
+ }
7277
7317
  const outputKeys = ["stdout", "stderr", "output", "text", "message", "data", "error", "reason"];
7278
7318
  const hasOutputKey = outputKeys.some((key) => key in content);
7279
7319
  if (!hasOutputKey && looksLikeToolMetadata(content)) {
@@ -7321,7 +7361,10 @@ function mergeStreamedOutputWithResult(content, streamedOutput) {
7321
7361
  }
7322
7362
  return content;
7323
7363
  }
7324
- function buildCompletedToolResult(_toolKind, content, streamedOutput) {
7364
+ function buildCompletedToolResult(toolKind, content, streamedOutput) {
7365
+ if (isTerminalLikeToolKind(toolKind) && isTerminalReferenceOnlyPayload(content)) {
7366
+ return void 0;
7367
+ }
7325
7368
  return mergeStreamedOutputWithResult(content, streamedOutput);
7326
7369
  }
7327
7370
  function extractErrorDetail(content) {
@@ -11672,14 +11715,14 @@ var launch = /*#__PURE__*/Object.freeze({
11672
11715
  const unifiedProviderExecutors = {
11673
11716
  claude: async (opts) => {
11674
11717
  const claudeOptions = opts.claudeOptions ?? {};
11675
- const { runClaude } = await import('./runClaude-C0QTsf0B.mjs');
11718
+ const { runClaude } = await import('./runClaude-BiFuU4AP.mjs');
11676
11719
  await runClaude(opts.credentials, {
11677
11720
  ...claudeOptions,
11678
11721
  startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
11679
11722
  });
11680
11723
  },
11681
11724
  codex: async (opts) => {
11682
- const { runCodex } = await import('./runCodex-BOfihUE0.mjs');
11725
+ const { runCodex } = await import('./runCodex-C0wjgp2b.mjs');
11683
11726
  await runCodex({
11684
11727
  credentials: opts.credentials,
11685
11728
  startedBy: opts.startedBy,
@@ -11688,7 +11731,7 @@ const unifiedProviderExecutors = {
11688
11731
  });
11689
11732
  },
11690
11733
  gemini: async (opts) => {
11691
- const { runGemini } = await import('./runGemini-CBMJT1Fe.mjs');
11734
+ const { runGemini } = await import('./runGemini-DxQX5VhV.mjs');
11692
11735
  await runGemini({
11693
11736
  credentials: opts.credentials,
11694
11737
  startedBy: opts.startedBy
@@ -11771,7 +11814,7 @@ function shouldRunMainClaudeFlow(opts) {
11771
11814
  return;
11772
11815
  } else if (subcommand === "runtime") {
11773
11816
  if (args[1] === "providers") {
11774
- const { renderRuntimeProviders } = await import('./command-DcqLvk6w.mjs');
11817
+ const { renderRuntimeProviders } = await import('./command-C2YB2hE-.mjs');
11775
11818
  console.log(renderRuntimeProviders());
11776
11819
  return;
11777
11820
  }
@@ -11977,8 +12020,8 @@ function shouldRunMainClaudeFlow(opts) {
11977
12020
  const projectId = args[3];
11978
12021
  try {
11979
12022
  const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
11980
- const { readCredentials: readCredentials2 } = await import('./api-CwMg_lJj.mjs').then(function (n) { return n.T; });
11981
- const { ApiClient: ApiClient2 } = await import('./api-CwMg_lJj.mjs').then(function (n) { return n.U; });
12023
+ const { readCredentials: readCredentials2 } = await import('./api-CMJhY7of.mjs').then(function (n) { return n.T; });
12024
+ const { ApiClient: ApiClient2 } = await import('./api-CMJhY7of.mjs').then(function (n) { return n.U; });
11982
12025
  let userEmail = void 0;
11983
12026
  try {
11984
12027
  const credentials = await readCredentials2();
@@ -12396,4 +12439,4 @@ ${chalk.bold("Examples:")}
12396
12439
  }
12397
12440
  }
12398
12441
 
12399
- export { AbortError as A, startCaffeinate as B, ExitCodeError as E, Future as F, GEMINI_MODEL_ENV as G, PushableAsyncIterable as P, RuntimeShell as R, createSessionMetadata as a, closeProviderSession as b, createDefaultRuntimeShell as c, createGeminiBackend as d, stopCaffeinate as e, formatDisplayMessage as f, getInitialGeminiModel as g, createCodexBackend as h, readManagedSessionTag as i, resolveManagedSessionTag as j, initialMachineMetadata as k, resolveCanonicalToolNameV2 as l, getProjectPath as m, claudeLocal as n, trimIdent as o, publishSessionRegistration as p, createClaudeBackend as q, readGeminiLocalConfig as r, saveGeminiModelToConfig as s, truncateDisplayMessage as t, claudeCheckSession as u, validateCodexAcpSpawn as v, projectPath as w, mapToClaudeMode as x, query as y, getEnvironmentInfo as z };
12442
+ export { AbortError as A, getEnvironmentInfo as B, startCaffeinate as C, ExitCodeError as E, Future as F, GEMINI_MODEL_ENV as G, PushableAsyncIterable as P, RuntimeShell as R, createSessionMetadata as a, closeProviderSession as b, createDefaultRuntimeShell as c, createGeminiBackend as d, stopCaffeinate as e, formatDisplayMessage as f, getInitialGeminiModel as g, createCodexBackend as h, readManagedSessionTag as i, resolveManagedSessionTag as j, initialMachineMetadata as k, resolveCanonicalToolNameV2 as l, isTerminalReferenceOnlyPayload as m, getProjectPath as n, claudeLocal as o, publishSessionRegistration as p, trimIdent as q, readGeminiLocalConfig as r, saveGeminiModelToConfig as s, truncateDisplayMessage as t, createClaudeBackend as u, validateCodexAcpSpawn as v, claudeCheckSession as w, projectPath as x, mapToClaudeMode as y, query as z };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chalk = require('chalk');
4
- var persistence = require('./api-CcZmsHiN.cjs');
4
+ var persistence = require('./api-CexMNqai.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-C2Iik0Ll.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-CQ2Yq72y.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-C2Iik0Ll.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-CQ2Yq72y.cjs', document.baseURI).href))));
641
641
  function projectPath() {
642
642
  const path = path$1.resolve(__dirname$2, "..");
643
643
  return path;
@@ -7010,6 +7010,40 @@ class CursorTransport extends DefaultTransport {
7010
7010
  }
7011
7011
  const cursorTransport = new CursorTransport();
7012
7012
 
7013
+ function isRecord$2(value) {
7014
+ return !!value && typeof value === "object" && !Array.isArray(value);
7015
+ }
7016
+ function hasOnlyAllowedKeys(record, allowedKeys) {
7017
+ return Object.keys(record).every((key) => allowedKeys.includes(key));
7018
+ }
7019
+ function isTerminalReferenceItem(value) {
7020
+ if (!isRecord$2(value)) {
7021
+ return false;
7022
+ }
7023
+ const hasTerminalId = typeof value.terminalId === "string" && value.terminalId.length > 0 || typeof value.terminal_id === "string" && value.terminal_id.length > 0;
7024
+ return hasTerminalId && value.type === "terminal" && hasOnlyAllowedKeys(value, ["terminalId", "terminal_id", "type", "id"]);
7025
+ }
7026
+ function isTerminalReferenceOnlyPayload(value) {
7027
+ if (Array.isArray(value)) {
7028
+ return value.length > 0 && value.every((entry) => isTerminalReferenceOnlyPayload(entry));
7029
+ }
7030
+ if (!isRecord$2(value)) {
7031
+ return false;
7032
+ }
7033
+ if (isTerminalReferenceItem(value)) {
7034
+ return true;
7035
+ }
7036
+ const items = Array.isArray(value.items) ? value.items : null;
7037
+ if (items && items.length > 0 && items.every((entry) => isTerminalReferenceOnlyPayload(entry)) && hasOnlyAllowedKeys(value, ["items", "type"])) {
7038
+ return true;
7039
+ }
7040
+ const content = "content" in value ? value.content : void 0;
7041
+ if (content !== void 0 && isTerminalReferenceOnlyPayload(content) && hasOnlyAllowedKeys(value, ["content", "type"])) {
7042
+ return true;
7043
+ }
7044
+ return false;
7045
+ }
7046
+
7013
7047
  const DEFAULT_IDLE_TIMEOUT_MS = 500;
7014
7048
  const DEFAULT_TOOL_CALL_TIMEOUT_MS = 10 * 6e4;
7015
7049
  const DEFAULT_TOOL_CALL_OUTPUT_PREVIEW_HEAD_BYTES = 4096;
@@ -7228,6 +7262,9 @@ function isRecord$1(value) {
7228
7262
  return typeof value === "object" && value !== null && !Array.isArray(value);
7229
7263
  }
7230
7264
  function extractNestedToolContentText(value) {
7265
+ if (isTerminalReferenceOnlyPayload(value)) {
7266
+ return null;
7267
+ }
7231
7268
  if (typeof value === "string") {
7232
7269
  return value.length > 0 ? value : null;
7233
7270
  }
@@ -7296,6 +7333,9 @@ function extractToolOutputChunk(content) {
7296
7333
  if (!isRecord$1(content)) {
7297
7334
  return null;
7298
7335
  }
7336
+ if (isTerminalReferenceOnlyPayload(content)) {
7337
+ return null;
7338
+ }
7299
7339
  const outputKeys = ["stdout", "stderr", "output", "text", "message", "data", "error", "reason"];
7300
7340
  const hasOutputKey = outputKeys.some((key) => key in content);
7301
7341
  if (!hasOutputKey && looksLikeToolMetadata(content)) {
@@ -7343,7 +7383,10 @@ function mergeStreamedOutputWithResult(content, streamedOutput) {
7343
7383
  }
7344
7384
  return content;
7345
7385
  }
7346
- function buildCompletedToolResult(_toolKind, content, streamedOutput) {
7386
+ function buildCompletedToolResult(toolKind, content, streamedOutput) {
7387
+ if (isTerminalLikeToolKind(toolKind) && isTerminalReferenceOnlyPayload(content)) {
7388
+ return void 0;
7389
+ }
7347
7390
  return mergeStreamedOutputWithResult(content, streamedOutput);
7348
7391
  }
7349
7392
  function extractErrorDetail(content) {
@@ -10369,7 +10412,7 @@ class AbortError extends Error {
10369
10412
  }
10370
10413
  }
10371
10414
 
10372
- 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-C2Iik0Ll.cjs', document.baseURI).href)));
10415
+ 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-CQ2Yq72y.cjs', document.baseURI).href)));
10373
10416
  const __dirname$1 = path.join(__filename$1, "..");
10374
10417
  function getGlobalClaudeVersion() {
10375
10418
  try {
@@ -11694,14 +11737,14 @@ var launch = /*#__PURE__*/Object.freeze({
11694
11737
  const unifiedProviderExecutors = {
11695
11738
  claude: async (opts) => {
11696
11739
  const claudeOptions = opts.claudeOptions ?? {};
11697
- const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-B8f7Ubkz.cjs'); });
11740
+ const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-L4G4BbIJ.cjs'); });
11698
11741
  await runClaude(opts.credentials, {
11699
11742
  ...claudeOptions,
11700
11743
  startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
11701
11744
  });
11702
11745
  },
11703
11746
  codex: async (opts) => {
11704
- const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-BJ4dyXhc.cjs'); });
11747
+ const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-CaUoS6E4.cjs'); });
11705
11748
  await runCodex({
11706
11749
  credentials: opts.credentials,
11707
11750
  startedBy: opts.startedBy,
@@ -11710,7 +11753,7 @@ const unifiedProviderExecutors = {
11710
11753
  });
11711
11754
  },
11712
11755
  gemini: async (opts) => {
11713
- const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-CUL3MiIx.cjs'); });
11756
+ const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-DhYi_crP.cjs'); });
11714
11757
  await runGemini({
11715
11758
  credentials: opts.credentials,
11716
11759
  startedBy: opts.startedBy
@@ -11793,7 +11836,7 @@ function shouldRunMainClaudeFlow(opts) {
11793
11836
  return;
11794
11837
  } else if (subcommand === "runtime") {
11795
11838
  if (args[1] === "providers") {
11796
- const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-Ck_6hawr.cjs'); });
11839
+ const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-Ct7Eeo2F.cjs'); });
11797
11840
  console.log(renderRuntimeProviders());
11798
11841
  return;
11799
11842
  }
@@ -11999,8 +12042,8 @@ function shouldRunMainClaudeFlow(opts) {
11999
12042
  const projectId = args[3];
12000
12043
  try {
12001
12044
  const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
12002
- const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-CcZmsHiN.cjs'); }).then(function (n) { return n.persistence; });
12003
- const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-CcZmsHiN.cjs'); }).then(function (n) { return n.api; });
12045
+ const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-CexMNqai.cjs'); }).then(function (n) { return n.persistence; });
12046
+ const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-CexMNqai.cjs'); }).then(function (n) { return n.api; });
12004
12047
  let userEmail = void 0;
12005
12048
  try {
12006
12049
  const credentials = await readCredentials2();
@@ -12437,6 +12480,7 @@ exports.getEnvironmentInfo = getEnvironmentInfo;
12437
12480
  exports.getInitialGeminiModel = getInitialGeminiModel;
12438
12481
  exports.getProjectPath = getProjectPath;
12439
12482
  exports.initialMachineMetadata = initialMachineMetadata;
12483
+ exports.isTerminalReferenceOnlyPayload = isTerminalReferenceOnlyPayload;
12440
12484
  exports.mapToClaudeMode = mapToClaudeMode;
12441
12485
  exports.projectPath = projectPath;
12442
12486
  exports.publishSessionRegistration = publishSessionRegistration;
package/dist/index.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  require('chalk');
4
- require('./api-CcZmsHiN.cjs');
4
+ require('./api-CexMNqai.cjs');
5
5
  require('zod');
6
- require('./index-C2Iik0Ll.cjs');
6
+ require('./index-CQ2Yq72y.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-CwMg_lJj.mjs';
2
+ import './api-CMJhY7of.mjs';
3
3
  import 'zod';
4
- import './index-DGHeJuUL.mjs';
4
+ import './index-4t8rMnvz.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-CcZmsHiN.cjs');
3
+ var persistence = require('./api-CexMNqai.cjs');
4
4
  var types = require('./types-DVk3crez.cjs');
5
5
  require('axios');
6
6
  require('chalk');