nolo-cli 0.80.0-alpha.2 → 0.82.0-alpha.1

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 (62) hide show
  1. package/{_executeModel-T3FPYFVF.js → _executeModel-L4LCNFID.js} +14 -14
  2. package/{agentDeleteCommand-JCDEGE35.js → agentDeleteCommand-JO62QZ7E.js} +7 -7
  3. package/{agentEmailCommands-IP5NOVLR.js → agentEmailCommands-L6URKRSF.js} +16 -16
  4. package/{agentListCommands-IWIHYQT3.js → agentListCommands-42BRETZW.js} +10 -10
  5. package/{agentMachineCommands-A2WJJOAL.js → agentMachineCommands-VXUHHR55.js} +7 -7
  6. package/{agentRecordCommands-2URSSQJS.js → agentRecordCommands-6RZXGAXV.js} +16 -16
  7. package/{agentRunCommand-HICCPFML.js → agentRunCommand-ZJTWUXLZ.js} +17 -17
  8. package/{agentRuntimeLocal-C3VUNWAT.js → agentRuntimeLocal-4D3XWDVB.js} +7 -7
  9. package/{agentSlice-EACXUOWW.js → agentSlice-43ORUHTC.js} +1 -1
  10. package/{appDeleteCommands-KYL3Z76U.js → appDeleteCommands-C2DIXP54.js} +8 -8
  11. package/{appDeployCommands-3RSNVJ7Q.js → appDeployCommands-GCIRWWTW.js} +8 -8
  12. package/{appDeployStatusCommands-2Z4N3G2G.js → appDeployStatusCommands-XNUA52PJ.js} +8 -8
  13. package/{appGetCommands-J2WLYQRO.js → appGetCommands-CZMYMPOE.js} +8 -8
  14. package/{appListCommands-XT2ZCBMO.js → appListCommands-FHONUBTZ.js} +8 -8
  15. package/{chatQueueReduxAdapter-XEIJO5WR.js → chatQueueReduxAdapter-F3IRDXDQ.js} +2 -2
  16. package/{chunk-KSQLYFKT.js → chunk-36SHLXQT.js} +2 -2
  17. package/{chunk-ALGK6TIE.js → chunk-7QHSEMMD.js} +2 -2
  18. package/{chunk-Q6FF2MCK.js → chunk-BOYUESO7.js} +1 -1
  19. package/{chunk-ZLPA7K55.js → chunk-CPSZJBLK.js} +1 -1
  20. package/{chunk-AFIKMMGC.js → chunk-D6XYLSOS.js} +1 -1
  21. package/{chunk-P7FA2HMM.js → chunk-DAIOZ3ZO.js} +1 -1
  22. package/{chunk-DWPNOYMB.js → chunk-DUJWWUGV.js} +1 -1
  23. package/{chunk-FSFQ3A7S.js → chunk-FNGAF7C4.js} +2 -2
  24. package/{chunk-H7UKKEIS.js → chunk-GEH7MMBB.js} +1 -1
  25. package/{chunk-HI374WVI.js → chunk-IHJ7SPCB.js} +112 -19
  26. package/{chunk-QRBAZ5PW.js → chunk-IHTVDCWH.js} +2 -2
  27. package/{chunk-IPTKVTHL.js → chunk-J2ZTW4GL.js} +4 -4
  28. package/{chunk-D74EWXL4.js → chunk-J4R5XRX5.js} +8 -8
  29. package/{chunk-CDVGNZDA.js → chunk-JQBONKAV.js} +2 -2
  30. package/{chunk-L2Y24GRM.js → chunk-KVDUCO4Q.js} +3 -3
  31. package/{chunk-THWDM2R6.js → chunk-NEESH45U.js} +13 -13
  32. package/{chunk-QA6YKM3H.js → chunk-NRALD3CC.js} +1 -1
  33. package/{chunk-U6LKJRJB.js → chunk-QNWHWBB7.js} +4 -4
  34. package/{chunk-X7Z7U4Z6.js → chunk-QQ7SX52C.js} +5 -5
  35. package/{chunk-MEVSATIF.js → chunk-QQBO3LQW.js} +11 -11
  36. package/{chunk-L5E7NSWK.js → chunk-TJKMYL7C.js} +13 -13
  37. package/{chunk-AFIWC5NH.js → chunk-WL2RKIBF.js} +1 -1
  38. package/{chunk-QUH3XHL5.js → chunk-XKNBWXDH.js} +3 -3
  39. package/{chunk-FPTQQSS6.js → chunk-YWG6EMH3.js} +23 -2
  40. package/{chunk-V3ZKNK5D.js → chunk-ZVN6I33J.js} +5 -5
  41. package/{contentThunks-3SPROFG5.js → contentThunks-FSQPOFYG.js} +3 -3
  42. package/{createAgentAutomationAction-EIP2EG3O.js → createAgentAutomationAction-VCHDRJ6X.js} +3 -3
  43. package/{createDialogAction-RLUSTN4D.js → createDialogAction-KZM5IE4P.js} +4 -4
  44. package/{createPageAction-4Y52G7WG.js → createPageAction-IGMXJOY3.js} +3 -3
  45. package/{dialogCommands-IPCKBWGL.js → dialogCommands-B5BF434N.js} +8 -8
  46. package/{dialogSlice-THY45JWM.js → dialogSlice-YBTC3GAW.js} +2 -2
  47. package/{docCreateCommands-QGJ2IM64.js → docCreateCommands-LYUF6IJ4.js} +7 -7
  48. package/{docDeleteCommands-ZZXWBKNG.js → docDeleteCommands-3GIVHHIW.js} +8 -8
  49. package/{docReadCommands-FE37G3KU.js → docReadCommands-NP3GYLPJ.js} +7 -7
  50. package/{docStore-ZQ3ECOPY.js → docStore-SDPT23I6.js} +1 -1
  51. package/{docUpdateCommands-EOHC5LRT.js → docUpdateCommands-LBL3X555.js} +7 -7
  52. package/{handleSendMessageAction-CE4M5XIE.js → handleSendMessageAction-356IDG72.js} +2 -2
  53. package/index.js +40 -40
  54. package/{machineCommands-KSONYK2P.js → machineCommands-LZTFFRKQ.js} +15 -15
  55. package/{machineWsRunDispatch-RBSOKO6F.js → machineWsRunDispatch-2GOVXUW2.js} +15 -15
  56. package/package.json +1 -1
  57. package/{readlineWorkspace-WVK6LIF5.js → readlineWorkspace-OUPHJV5W.js} +56 -24
  58. package/{runAgentClientLoop-NE5EHXSS.js → runAgentClientLoop-DKUUFUKT.js} +12 -12
  59. package/{spaceCommands-FRU7SOMI.js → spaceCommands-NZJEGHCO.js} +7 -7
  60. package/{streamAgentChatTurn-A6L6O22P.js → streamAgentChatTurn-FHZZCANP.js} +14 -14
  61. package/{tools-JS475NYO.js → tools-QZJX3BIC.js} +10 -8
  62. package/{updateDialogTitleAction-GMZUT6RP.js → updateDialogTitleAction-JJPNGTAP.js} +3 -3
@@ -5,27 +5,27 @@ import {
5
5
  pickDefined,
6
6
  printCliError,
7
7
  resolveCliContext
8
- } from "./chunk-DWPNOYMB.js";
8
+ } from "./chunk-DUJWWUGV.js";
9
9
  import {
10
10
  hasFlag,
11
11
  hasHelpArg
12
- } from "./chunk-AFIKMMGC.js";
13
- import "./chunk-QA6YKM3H.js";
14
- import "./chunk-Q6FF2MCK.js";
12
+ } from "./chunk-D6XYLSOS.js";
13
+ import "./chunk-NRALD3CC.js";
14
+ import "./chunk-BOYUESO7.js";
15
15
  import "./chunk-SPAQ4PVV.js";
16
16
  import "./chunk-VF4K2QE6.js";
17
- import "./chunk-HI374WVI.js";
17
+ import "./chunk-IHJ7SPCB.js";
18
18
  import "./chunk-ZNFJWEN4.js";
19
19
  import "./chunk-QC5LGHYP.js";
20
20
  import "./chunk-KIS76A2P.js";
21
21
  import "./chunk-CQ3WA2NE.js";
22
22
  import "./chunk-N7J63Q6C.js";
23
- import "./chunk-ZLPA7K55.js";
23
+ import "./chunk-CPSZJBLK.js";
24
24
  import "./chunk-PUOC4YRO.js";
25
+ import "./chunk-ZVN6I33J.js";
26
+ import "./chunk-CJCJF5XB.js";
25
27
  import "./chunk-PGSKWZCB.js";
26
28
  import "./chunk-CMH2SYHX.js";
27
- import "./chunk-V3ZKNK5D.js";
28
- import "./chunk-CJCJF5XB.js";
29
29
  import "./chunk-2MBTWINN.js";
30
30
  import "./chunk-DSRXPQWA.js";
31
31
  import "./chunk-E36HZARC.js";
@@ -4,12 +4,12 @@ import {
4
4
  } from "./chunk-YPREESF4.js";
5
5
  import {
6
6
  handleSendMessage
7
- } from "./chunk-D74EWXL4.js";
7
+ } from "./chunk-J4R5XRX5.js";
8
8
  import "./chunk-EVBFYPDC.js";
9
9
  import "./chunk-HQUORJTM.js";
10
10
  import "./chunk-YYLHWIW6.js";
11
11
  import "./chunk-AGGIDPCZ.js";
12
- import "./chunk-QUH3XHL5.js";
12
+ import "./chunk-XKNBWXDH.js";
13
13
  import "./chunk-BJCWNHVU.js";
14
14
  import "./chunk-5RGU3J7P.js";
15
15
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clearCliLocalRuntimePreparedAgentCache
3
- } from "./chunk-THWDM2R6.js";
3
+ } from "./chunk-NEESH45U.js";
4
4
  import {
5
5
  getReadableCliDb
6
6
  } from "./chunk-RXX4GDIH.js";
@@ -12,7 +12,7 @@ import {
12
12
  resolveAgentRecordFromHybridStore,
13
13
  sanitizeAgentRecordForCliOutput,
14
14
  writeAgentRecord
15
- } from "./chunk-QA6YKM3H.js";
15
+ } from "./chunk-NRALD3CC.js";
16
16
  import {
17
17
  resolveCliAgentKeyInput
18
18
  } from "./chunk-SPAQ4PVV.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-MEVSATIF.js";
3
+ } from "./chunk-QQBO3LQW.js";
4
4
  import {
5
5
  i18n_default
6
- } from "./chunk-D74EWXL4.js";
6
+ } from "./chunk-J4R5XRX5.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
9
  } from "./chunk-O6OSWFZQ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildAgentRuntimeAgentLookupKeys,
3
3
  shouldFetchAgentRuntimeRecordRemotely
4
- } from "./chunk-V3ZKNK5D.js";
4
+ } from "./chunk-ZVN6I33J.js";
5
5
 
6
6
  // packages/cli/client/localAgentRecords.ts
7
7
  var buildLocalAgentLookupKeys = buildAgentRuntimeAgentLookupKeys;
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-PUOC4YRO.js";
5
5
  import {
6
6
  AGENT_SELECTION_PRIORITY_INSTRUCTIONS
7
- } from "./chunk-V3ZKNK5D.js";
7
+ } from "./chunk-ZVN6I33J.js";
8
8
  import {
9
9
  getModelContextWindow
10
10
  } from "./chunk-DSRXPQWA.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readDbRecord,
3
3
  writeAgentRecord
4
- } from "./chunk-QA6YKM3H.js";
4
+ } from "./chunk-NRALD3CC.js";
5
5
  import {
6
6
  buildSkillSummaryMarker
7
7
  } from "./chunk-VF4K2QE6.js";
@@ -9,7 +9,7 @@ import {
9
9
  initReactI18next,
10
10
  instance,
11
11
  toast
12
- } from "./chunk-D74EWXL4.js";
12
+ } from "./chunk-J4R5XRX5.js";
13
13
  import {
14
14
  require_date_fns
15
15
  } from "./chunk-M76ECQRD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-AFIKMMGC.js";
3
+ } from "./chunk-D6XYLSOS.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-AFIWC5NH.js";
10
+ } from "./chunk-WL2RKIBF.js";
11
11
  import {
12
12
  fetchWithTransientRetry
13
13
  } from "./chunk-5XTOKQLW.js";
@@ -30,7 +30,7 @@ import {
30
30
  boundSummaryText,
31
31
  buildDialogReadEnvelope,
32
32
  projectDialogReadForAgent
33
- } from "./chunk-V3ZKNK5D.js";
33
+ } from "./chunk-ZVN6I33J.js";
34
34
  import {
35
35
  toErrorMessage
36
36
  } from "./chunk-HNMXYYJR.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-U6LKJRJB.js";
4
+ } from "./chunk-QNWHWBB7.js";
5
5
 
6
6
  // packages/ai/agent/fetchAgentContexts.ts
7
7
  async function fetchAgentContexts(references, dispatch) {
@@ -40,7 +40,7 @@ import {
40
40
  requiresBareImageUrl,
41
41
  resolveToolGuidedSections,
42
42
  toBareImageUrlMessages
43
- } from "./chunk-ZLPA7K55.js";
43
+ } from "./chunk-CPSZJBLK.js";
44
44
  import {
45
45
  convertMessagesToResponsesInput,
46
46
  extractReasoningFromResponseOutput,
@@ -51,15 +51,6 @@ import {
51
51
  toOpenAiCompatibleMessages,
52
52
  toResponsesTools
53
53
  } from "./chunk-PUOC4YRO.js";
54
- import {
55
- getAntigravityUserAgent,
56
- readAntigravityProjectId,
57
- resolveAntigravityCloudCodeBaseUrl
58
- } from "./chunk-PGSKWZCB.js";
59
- import {
60
- buildProviderAuthHeaders,
61
- buildProviderExecutionPlan
62
- } from "./chunk-CMH2SYHX.js";
63
54
  import {
64
55
  BRIDGE_STREAM_MAX_CHARS,
65
56
  DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
@@ -73,7 +64,16 @@ import {
73
64
  parseNoloWorkspaceToolArguments,
74
65
  readTextStreamUpToChars,
75
66
  resolveNoloDialogInput
76
- } from "./chunk-V3ZKNK5D.js";
67
+ } from "./chunk-ZVN6I33J.js";
68
+ import {
69
+ getAntigravityUserAgent,
70
+ readAntigravityProjectId,
71
+ resolveAntigravityCloudCodeBaseUrl
72
+ } from "./chunk-PGSKWZCB.js";
73
+ import {
74
+ buildProviderAuthHeaders,
75
+ buildProviderExecutionPlan
76
+ } from "./chunk-CMH2SYHX.js";
77
77
  import {
78
78
  buildDialogFallbackTitleFromUserInput
79
79
  } from "./chunk-2MBTWINN.js";
@@ -16398,10 +16398,11 @@ var ProcessRegistry = class {
16398
16398
  }
16399
16399
  }
16400
16400
  }
16401
- markExited(pid, exitCode) {
16401
+ markExited(pid, exitCode, resultCapsule) {
16402
16402
  const item = this.processes.get(pid);
16403
16403
  if (item && item.status === "running") {
16404
16404
  item.exitCode = exitCode;
16405
+ if (resultCapsule) item.resultCapsule = resultCapsule;
16405
16406
  item.status = exitCode === 0 ? "exited" : "failed";
16406
16407
  this.eventLog.append({
16407
16408
  taskId: item.taskId,
@@ -16416,7 +16417,8 @@ var ProcessRegistry = class {
16416
16417
  command: item.command,
16417
16418
  status: item.status,
16418
16419
  exitCode,
16419
- promoted: item.promoted
16420
+ promoted: item.promoted,
16421
+ ...item.resultCapsule ? { resultCapsule: item.resultCapsule } : {}
16420
16422
  });
16421
16423
  }
16422
16424
  }
@@ -16479,6 +16481,62 @@ function readProcessOwner(runtimeContext) {
16479
16481
  // packages/agent-runtime/workspaceShell.ts
16480
16482
  import { resolve as resolve3 } from "node:path";
16481
16483
  import { spawn as spawnChildProcess2 } from "node:child_process";
16484
+
16485
+ // packages/agent-runtime/processTaskResult.ts
16486
+ var PROCESS_RESULT_CAPSULE_TAIL_CHARS = 4e3;
16487
+ var PROCESS_RESULT_CAPSULE_SPILL_THRESHOLD_CHARS = 2e4;
16488
+ function tailText(value, maxChars) {
16489
+ if (value.length <= maxChars) return { text: value, truncated: false };
16490
+ return { text: value.slice(-maxChars), truncated: true };
16491
+ }
16492
+ function formatCapsuleStream(name, value) {
16493
+ return value.trim() ? `${name}:
16494
+ ${value.replace(/\n+$/, "")}` : "";
16495
+ }
16496
+ function buildProcessTaskResultCapsule(args2) {
16497
+ const tailChars = args2.tailChars ?? PROCESS_RESULT_CAPSULE_TAIL_CHARS;
16498
+ const spillThresholdChars = args2.spillThresholdChars ?? PROCESS_RESULT_CAPSULE_SPILL_THRESHOLD_CHARS;
16499
+ const stdout = typeof args2.stdout === "string" ? args2.stdout : "";
16500
+ const stderr = typeof args2.stderr === "string" ? args2.stderr : "";
16501
+ const exitCode = args2.exitCode;
16502
+ const captureError = args2.captureError?.trim() || void 0;
16503
+ const durationMs = typeof args2.startedAt === "number" && Number.isFinite(args2.startedAt) ? Math.max(0, (args2.endedAt ?? Date.now()) - args2.startedAt) : void 0;
16504
+ const stdoutTail = tailText(stdout, tailChars);
16505
+ const stderrTail = tailText(stderr, tailChars);
16506
+ const inlineSize = stdout.length + stderr.length;
16507
+ const inlineTruncated = stdoutTail.truncated || stderrTail.truncated;
16508
+ const shouldSpill = inlineTruncated || inlineSize > spillThresholdChars;
16509
+ let spill;
16510
+ if (shouldSpill) {
16511
+ try {
16512
+ const result4 = spillToolOutput({
16513
+ content: [
16514
+ formatCapsuleStream("stdout", stdout),
16515
+ formatCapsuleStream("stderr", stderr)
16516
+ ].filter(Boolean).join("\n\n"),
16517
+ toolName: "execShell",
16518
+ ...args2.workspaceRoot !== void 0 ? { workspaceRoot: args2.workspaceRoot } : {}
16519
+ });
16520
+ spill = {
16521
+ displayPath: result4.displayPath,
16522
+ totalChars: result4.totalChars,
16523
+ totalLines: result4.totalLines
16524
+ };
16525
+ } catch {
16526
+ }
16527
+ }
16528
+ return {
16529
+ stdout: stdoutTail.text,
16530
+ stderr: stderrTail.text,
16531
+ exitCode,
16532
+ ...durationMs !== void 0 ? { durationMs } : {},
16533
+ ...captureError ? { captureError } : {},
16534
+ truncated: inlineTruncated || Boolean(captureError),
16535
+ ...spill ? { spill } : {}
16536
+ };
16537
+ }
16538
+
16539
+ // packages/agent-runtime/workspaceShell.ts
16482
16540
  var EXEC_SHELL_TIMEOUT_ENV = "NOLO_EXEC_SHELL_TIMEOUT_MS";
16483
16541
  var EXEC_SHELL_DETACH_ENV = "NOLO_EXEC_SHELL_DETACH_MS";
16484
16542
  var DEFAULT_EXEC_SHELL_DETACH_MS = 12e4;
@@ -16858,6 +16916,15 @@ ${stderr.trim()}`, "exitCode: 127"].filter(Boolean).join("\n\n"),
16858
16916
  )
16859
16917
  };
16860
16918
  }
16919
+ function stdoutPromiseResult(promise3) {
16920
+ return promise3.then(
16921
+ (value) => ({ value }),
16922
+ (error) => ({
16923
+ value: "",
16924
+ error: error instanceof Error ? error.message : String(error)
16925
+ })
16926
+ );
16927
+ }
16861
16928
  async function runWorkspaceCommand(args2) {
16862
16929
  const timeoutMs = asOptionalPositiveFiniteNumber(args2.timeoutMs);
16863
16930
  const detached = process.platform !== "win32";
@@ -16916,8 +16983,8 @@ async function runWorkspaceCommand(args2) {
16916
16983
  process.removeListener("SIGINT", cleanupChildOnHostSignal);
16917
16984
  };
16918
16985
  exitPromise.then(detachSignalCleanup, detachSignalCleanup);
16919
- const stdoutPromise = readNodeStream(proc.stdout);
16920
- const stderrPromise = readNodeStream(proc.stderr);
16986
+ const stdoutCapture = stdoutPromiseResult(readNodeStream(proc.stdout));
16987
+ const stderrCapture = stdoutPromiseResult(readNodeStream(proc.stderr));
16921
16988
  const killChild = (signal) => {
16922
16989
  if (detached && typeof proc.pid === "number") {
16923
16990
  try {
@@ -17016,7 +17083,30 @@ async function runWorkspaceCommand(args2) {
17016
17083
  const taskId = envelope.taskId;
17017
17084
  proc.on("close", (code) => {
17018
17085
  detachSignalCleanup();
17019
- registry2.markExited(pid, code ?? 1);
17086
+ const exitCode2 = code ?? 1;
17087
+ void (async () => {
17088
+ const [stdoutResult, stderrResult] = await Promise.all([
17089
+ stdoutCapture,
17090
+ stderrCapture
17091
+ ]);
17092
+ const stdout2 = stdoutResult.value;
17093
+ const stderr2 = stderrResult.value;
17094
+ let capsule;
17095
+ try {
17096
+ capsule = buildProcessTaskResultCapsule({
17097
+ stdout: stdout2,
17098
+ stderr: stderr2,
17099
+ exitCode: exitCode2,
17100
+ // Duration is measured from the registry envelope's startedAt
17101
+ // (spawn moment), not from the detach moment.
17102
+ startedAt: registry2.get(pid)?.startedAt,
17103
+ workspaceRoot: args2.workspaceRoot,
17104
+ captureError: [stdoutResult.error, stderrResult.error].filter(Boolean).join("; ")
17105
+ });
17106
+ } catch {
17107
+ }
17108
+ registry2.markExited(pid, exitCode2, capsule);
17109
+ })();
17020
17110
  });
17021
17111
  const immediate = effectiveDetachMs === 0;
17022
17112
  const reason = immediate ? `command looks long-running; moved to background immediately (pid=${pid}, label=${label})` : `command detached to background after ${effectiveDetachMs}ms (pid=${pid}, label=${label})`;
@@ -17040,10 +17130,13 @@ Use listProcesses to inspect or stop it.`,
17040
17130
  })
17041
17131
  };
17042
17132
  }
17043
- const [stdout, rawStderr] = await Promise.all([
17044
- stdoutPromise,
17045
- stderrPromise
17133
+ const [stdoutCaptureResult, stderrCaptureResult] = await Promise.all([
17134
+ stdoutCapture,
17135
+ stderrCapture
17046
17136
  ]);
17137
+ const stdout = stdoutCaptureResult.value;
17138
+ const rawStderr = stderrCaptureResult.value;
17139
+ const streamCaptureError = [stdoutCaptureResult.error, stderrCaptureResult.error].filter(Boolean).join("; ");
17047
17140
  const exitCode = aborted ? 130 : timedOut ? 124 : Number(raceWinner);
17048
17141
  if (typeof proc.pid === "number") {
17049
17142
  registry2.completeTransient(proc.pid, exitCode);
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
326
326
  ).unwrap();
327
327
  if (dbSpaceId) {
328
328
  try {
329
- const { updateContentTitle } = await import("./contentThunks-3SPROFG5.js");
329
+ const { updateContentTitle } = await import("./contentThunks-FSQPOFYG.js");
330
330
  await dispatch(
331
331
  updateContentTitle({
332
332
  spaceId: dbSpaceId,
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
365
365
  }
366
366
  }
367
367
  async function createDocState(args, thunkApi) {
368
- const { createPageAction } = await import("./createPageAction-4Y52G7WG.js");
368
+ const { createPageAction } = await import("./createPageAction-IGMXJOY3.js");
369
369
  return createPageAction(args, thunkApi);
370
370
  }
371
371
  function subscribe(listener) {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-THWDM2R6.js";
4
+ } from "./chunk-NEESH45U.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-MEVSATIF.js";
7
+ } from "./chunk-QQBO3LQW.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-HI374WVI.js";
10
+ } from "./chunk-IHJ7SPCB.js";
11
11
  import {
12
12
  applyToolSurfaceConstraints
13
- } from "./chunk-V3ZKNK5D.js";
13
+ } from "./chunk-ZVN6I33J.js";
14
14
  import {
15
15
  resolveLocalRuntimeEnvFromPolicy
16
16
  } from "./chunk-3JQ2NRYU.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-AGGIDPCZ.js";
14
14
  import {
15
15
  runLlm
16
- } from "./chunk-QUH3XHL5.js";
16
+ } from "./chunk-XKNBWXDH.js";
17
17
  import {
18
18
  cleanupCliSessionForDialog
19
19
  } from "./chunk-BJCWNHVU.js";
@@ -17126,7 +17126,7 @@ var messageSlice = createSliceWithThunks({
17126
17126
  runtimeOptions: args.runtimeOptions
17127
17127
  });
17128
17128
  if (agentKeyToUse) {
17129
- const { streamAgentChatTurn } = await import("./agentSlice-EACXUOWW.js");
17129
+ const { streamAgentChatTurn } = await import("./agentSlice-43ORUHTC.js");
17130
17130
  await dispatch(
17131
17131
  streamAgentChatTurn({
17132
17132
  agentKey: agentKeyToUse,
@@ -18259,7 +18259,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
18259
18259
  }
18260
18260
  if (isCurrentDialog) {
18261
18261
  await thunkApi.dispatch(resetMsgs());
18262
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-THY45JWM.js");
18262
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-YBTC3GAW.js");
18263
18263
  dispatch(clearPendingAttachments2());
18264
18264
  }
18265
18265
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -18267,15 +18267,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
18267
18267
 
18268
18268
  // packages/chat/dialog/dialogSlice.ts
18269
18269
  var runCreateDialogAction = async (args, thunkApi) => {
18270
- const { createDialogAction } = await import("./createDialogAction-RLUSTN4D.js");
18270
+ const { createDialogAction } = await import("./createDialogAction-KZM5IE4P.js");
18271
18271
  return createDialogAction(args, thunkApi);
18272
18272
  };
18273
18273
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
18274
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-EIP2EG3O.js");
18274
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-VCHDRJ6X.js");
18275
18275
  return createAgentAutomationAction(args, thunkApi);
18276
18276
  };
18277
18277
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
18278
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-GMZUT6RP.js");
18278
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-JJPNGTAP.js");
18279
18279
  return updateDialogTitleAction(args, thunkApi);
18280
18280
  };
18281
18281
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -18299,7 +18299,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
18299
18299
  return setDialogExtraReferencesAction(args, thunkApi);
18300
18300
  };
18301
18301
  var runHandleSendMessageAction = async (args, thunkApi) => {
18302
- const { handleSendMessageAction } = await import("./handleSendMessageAction-CE4M5XIE.js");
18302
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-356IDG72.js");
18303
18303
  return handleSendMessageAction(args, thunkApi);
18304
18304
  };
18305
18305
  function clearDialogState() {
@@ -18312,7 +18312,7 @@ var createPageAndAddReference = createAsyncThunk(
18312
18312
  async (payload, { dispatch, getState, rejectWithValue }) => {
18313
18313
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
18314
18314
  try {
18315
- const { createDocState } = await import("./docStore-ZQ3ECOPY.js");
18315
+ const { createDocState } = await import("./docStore-SDPT23I6.js");
18316
18316
  const pageKey = await createDocState(
18317
18317
  { slateData, title },
18318
18318
  { dispatch, getState }
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-P7FA2HMM.js";
3
+ } from "./chunk-DAIOZ3ZO.js";
4
4
  import {
5
5
  prepareAndPersistMessage,
6
6
  uiAskChoiceFunc,
7
7
  uiAskChoiceFunctionSchema
8
- } from "./chunk-D74EWXL4.js";
8
+ } from "./chunk-J4R5XRX5.js";
9
9
  import {
10
10
  require_date_fns
11
11
  } from "./chunk-M76ECQRD.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-AFIWC5NH.js";
4
+ } from "./chunk-WL2RKIBF.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-QA6YKM3H.js";
7
+ } from "./chunk-NRALD3CC.js";
8
8
  import {
9
9
  deriveCredentialGroup,
10
10
  toSafeAgentSummary
11
- } from "./chunk-FPTQQSS6.js";
11
+ } from "./chunk-YWG6EMH3.js";
12
12
  import {
13
13
  PUBLIC_AGENT_KEY_PREFIX,
14
14
  isOwnedAgentKey,
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-DWUCB2A3.js";
41
41
  import {
42
42
  buildLocalAgentLookupKeys
43
- } from "./chunk-Q6FF2MCK.js";
43
+ } from "./chunk-BOYUESO7.js";
44
44
  import {
45
45
  LOCAL_CODEX_AGENT_ID,
46
46
  LOCAL_CODEX_AGENT_KEY,
@@ -60,7 +60,7 @@ import {
60
60
  import {
61
61
  inlineImageUrlsForCustomProvider,
62
62
  prepareTools
63
- } from "./chunk-ALGK6TIE.js";
63
+ } from "./chunk-7QHSEMMD.js";
64
64
  import {
65
65
  getServerProviderSecret
66
66
  } from "./chunk-HS7MLR74.js";
@@ -78,7 +78,7 @@ import {
78
78
  rememberMemoryFunctionSchema,
79
79
  resolveAgentRequiredPackIds,
80
80
  setTodoListFunc
81
- } from "./chunk-MEVSATIF.js";
81
+ } from "./chunk-QQBO3LQW.js";
82
82
  import {
83
83
  fetchWithTransientRetry,
84
84
  isTransientFetchError
@@ -101,13 +101,13 @@ import {
101
101
  prepareTokenUsageData,
102
102
  resolveBuiltinPlatformAgentConfig,
103
103
  runKeyed
104
- } from "./chunk-D74EWXL4.js";
104
+ } from "./chunk-J4R5XRX5.js";
105
105
  import {
106
106
  BUILTIN_TITLE_LLM_CONFIG
107
107
  } from "./chunk-EVBFYPDC.js";
108
108
  import {
109
109
  fetchServerSyncedCredential
110
- } from "./chunk-QUH3XHL5.js";
110
+ } from "./chunk-XKNBWXDH.js";
111
111
  import {
112
112
  require_date_fns
113
113
  } from "./chunk-M76ECQRD.js";
@@ -159,7 +159,7 @@ import {
159
159
  resolveOpenAiCompatibleProviderConfig,
160
160
  shouldUseGeminiNativeToolRoute,
161
161
  summarizeToolArguments
162
- } from "./chunk-HI374WVI.js";
162
+ } from "./chunk-IHJ7SPCB.js";
163
163
  import {
164
164
  PlatformStreamInterruptedError,
165
165
  buildPlatformChatCompletionRequest,
@@ -182,22 +182,22 @@ import {
182
182
  stablePromptCacheKey,
183
183
  toResponsesTools
184
184
  } from "./chunk-PUOC4YRO.js";
185
- import {
186
- isAntigravityOAuthAgent
187
- } from "./chunk-PGSKWZCB.js";
188
- import {
189
- resolvePlatformAuthToken
190
- } from "./chunk-CMH2SYHX.js";
191
185
  import {
192
186
  buildNoloWorkspaceOpenAiTools,
193
187
  parseNoloWorkspaceToolArguments,
194
188
  resolveRuntimeToolSurfaceForAgent
195
- } from "./chunk-V3ZKNK5D.js";
189
+ } from "./chunk-ZVN6I33J.js";
196
190
  import {
197
191
  mergeAvailabilityDeadline,
198
192
  resolveAvailabilityAction,
199
193
  resolveCooldownGate
200
194
  } from "./chunk-CJCJF5XB.js";
195
+ import {
196
+ isAntigravityOAuthAgent
197
+ } from "./chunk-PGSKWZCB.js";
198
+ import {
199
+ resolvePlatformAuthToken
200
+ } from "./chunk-CMH2SYHX.js";
201
201
  import {
202
202
  buildDialogFallbackTitleFromUserInput,
203
203
  normalizeDialogTitle
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildLocalAgentLookupKeys,
3
3
  shouldReadAgentKeyRemotely
4
- } from "./chunk-Q6FF2MCK.js";
4
+ } from "./chunk-BOYUESO7.js";
5
5
  import {
6
6
  resolveCliAgentKeyInput
7
7
  } from "./chunk-SPAQ4PVV.js";
@@ -8,7 +8,7 @@ import {
8
8
  clipMultilineText,
9
9
  fetchAndSerializeTable,
10
10
  resolveBuiltinSkillPage
11
- } from "./chunk-MEVSATIF.js";
11
+ } from "./chunk-QQBO3LQW.js";
12
12
  import {
13
13
  isGatewayHttpStatus
14
14
  } from "./chunk-NF64D32W.js";
@@ -29,13 +29,13 @@ import {
29
29
  } from "./chunk-MEYIRKDN.js";
30
30
  import {
31
31
  fetchAndCacheMessages
32
- } from "./chunk-D74EWXL4.js";
32
+ } from "./chunk-J4R5XRX5.js";
33
33
  import {
34
34
  shouldUseServerProxy
35
35
  } from "./chunk-YYLHWIW6.js";
36
36
  import {
37
37
  fetchServerSyncedCredential
38
- } from "./chunk-QUH3XHL5.js";
38
+ } from "./chunk-XKNBWXDH.js";
39
39
  import {
40
40
  buildSkillGuidancePromptBlock,
41
41
  extractRuntimePageCapabilities,
@@ -47,7 +47,7 @@ import {
47
47
  compileContextLayers,
48
48
  normalizeChatCompletionsBodyForProvider,
49
49
  resolveToolGuidedSections
50
- } from "./chunk-ZLPA7K55.js";
50
+ } from "./chunk-CPSZJBLK.js";
51
51
  import {
52
52
  convertMessagesToResponsesInput,
53
53
  getUsageRequestOptions,
@@ -5,14 +5,14 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-ALGK6TIE.js";
8
+ } from "./chunk-7QHSEMMD.js";
9
9
  import {
10
10
  INVALID_TOOL_ARGS_REPLACEMENT,
11
11
  buildInvalidToolCallSelfHealResult,
12
12
  parseToolCallArguments,
13
13
  performFetchRequest,
14
14
  sanitizeOutboundMessages
15
- } from "./chunk-U6LKJRJB.js";
15
+ } from "./chunk-QNWHWBB7.js";
16
16
  import {
17
17
  createSSEParser,
18
18
  createToolRunId,
@@ -23,7 +23,7 @@ import {
23
23
  toolRunSetPending,
24
24
  toolRunStarted,
25
25
  toolRunSucceeded
26
- } from "./chunk-MEVSATIF.js";
26
+ } from "./chunk-QQBO3LQW.js";
27
27
  import {
28
28
  getPublicImageAgentMode
29
29
  } from "./chunk-VIDPVFP3.js";
@@ -35,10 +35,10 @@ import {
35
35
  messageStreamEnd,
36
36
  messageStreaming,
37
37
  updateToolMessage
38
- } from "./chunk-D74EWXL4.js";
38
+ } from "./chunk-J4R5XRX5.js";
39
39
  import {
40
40
  streamAgentChatTurn
41
- } from "./chunk-QUH3XHL5.js";
41
+ } from "./chunk-XKNBWXDH.js";
42
42
  import {
43
43
  addActiveController,
44
44
  removeActiveController,