nolo-cli 0.249.0-alpha.4 → 0.249.0-alpha.6

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 (68) hide show
  1. package/{_executeModel-SYM27HUD.js → _executeModel-HWAMKGWB.js} +12 -12
  2. package/{agentDeleteCommand-YYUUT3VD.js → agentDeleteCommand-B7XG4QD5.js} +14 -14
  3. package/{agentEmailCommands-XP7YQ7BU.js → agentEmailCommands-IWRTGO7J.js} +15 -15
  4. package/{agentListCommands-HH66IHCY.js → agentListCommands-ZJAHAV33.js} +3 -3
  5. package/{agentMachineCommands-IRVQTGNI.js → agentMachineCommands-ACOBJR4U.js} +3 -3
  6. package/{agentRecordCommands-R76M6MTR.js → agentRecordCommands-NWKL4YUG.js} +15 -15
  7. package/{agentRunCommand-XPTHYPFG.js → agentRunCommand-MRDX6DL6.js} +15 -15
  8. package/{agentRunControl-RN2P6AOD.js → agentRunControl-QMWTWV7C.js} +2 -2
  9. package/{agentRuntimeLocal-Y54MQRGC.js → agentRuntimeLocal-65F3RVQM.js} +2 -2
  10. package/{agentSlice-DJ2UBLBY.js → agentSlice-CF3SO4QW.js} +1 -1
  11. package/{appDeleteCommands-TALGLXP7.js → appDeleteCommands-6ML7IZWP.js} +2 -2
  12. package/{appDeployCommands-FB325NH3.js → appDeployCommands-CZOP3X47.js} +2 -2
  13. package/{appDeployStatusCommands-J22VJDEL.js → appDeployStatusCommands-T4QEGCMV.js} +2 -2
  14. package/{appGetCommands-FX3YL4PM.js → appGetCommands-4MWH3GB7.js} +2 -2
  15. package/{appListCommands-IHEBCU4B.js → appListCommands-EYM6PLZM.js} +2 -2
  16. package/{chunk-CTIEJRTP.js → chunk-5BRVDQTX.js} +5 -1
  17. package/{chunk-YM6JCUPB.js → chunk-5D5C7IFJ.js} +12 -9
  18. package/{chunk-CHF7CSRH.js → chunk-5FU7HEII.js} +2 -2
  19. package/{chunk-OGPXS2MU.js → chunk-BGWCWHWL.js} +5 -5
  20. package/{chunk-D3OMIZHK.js → chunk-CUMWQC3F.js} +2 -2
  21. package/{chunk-3RKUVWJR.js → chunk-DGHHJV3T.js} +3 -3
  22. package/{chunk-ARBYAWUU.js → chunk-DKOUQOJ7.js} +12 -12
  23. package/{chunk-27XDMKLC.js → chunk-DQFQOKCR.js} +2 -2
  24. package/{chunk-POXYLG52.js → chunk-E2U4I3NK.js} +1 -1
  25. package/{chunk-S7WGN4OQ.js → chunk-FNB2XPBD.js} +2 -2
  26. package/{chunk-G3PPDR4Z.js → chunk-IQAO6IUP.js} +2 -2
  27. package/{chunk-FYOO6K4Q.js → chunk-JRKQT7ST.js} +2 -2
  28. package/{chunk-MDRSZMEN.js → chunk-LAIWAVKI.js} +9 -9
  29. package/{chunk-ODSY5ZN5.js → chunk-MBJSAYYK.js} +3 -3
  30. package/{chunk-QQULDAF2.js → chunk-OP7UDCGP.js} +1 -1
  31. package/{chunk-7WYOODTC.js → chunk-P4HBFHQB.js} +8 -8
  32. package/{chunk-YZ335FWM.js → chunk-RJSITWNF.js} +3 -3
  33. package/{chunk-PSX4M5MN.js → chunk-RNKWM6DL.js} +2 -2
  34. package/{chunk-VKEWN2N3.js → chunk-SAXVCWLZ.js} +2 -2
  35. package/{chunk-CIGCTSBF.js → chunk-SHDJLJWV.js} +1 -1
  36. package/{chunk-BQODRNJZ.js → chunk-V4D5ZKWF.js} +6 -6
  37. package/{chunk-YGDFZZ63.js → chunk-WNIV5BV7.js} +1 -1
  38. package/{chunk-TQNKPXBU.js → chunk-Y45F45YH.js} +1 -1
  39. package/{chunk-AEZBAFC6.js → chunk-YWNCRUBZ.js} +1 -1
  40. package/{chunk-PBPXXMWZ.js → chunk-ZTWDSOXD.js} +1 -1
  41. package/{cliLocalAgentRecordReader-QPSR26KD.js → cliLocalAgentRecordReader-WUSV4VMI.js} +3 -3
  42. package/{commandRegistry-5IF4PD5L.js → commandRegistry-MR6GOEUC.js} +46 -46
  43. package/{contentThunks-H24TZUZ6.js → contentThunks-WF73YCYA.js} +3 -3
  44. package/{createAgentAutomationAction-KIJOUKLE.js → createAgentAutomationAction-NUIQOIOW.js} +3 -3
  45. package/{createDialogAction-E732EJ6P.js → createDialogAction-IASHJN3H.js} +4 -4
  46. package/{createPageAction-HG3EEYO3.js → createPageAction-7YDRLGGF.js} +4 -4
  47. package/{dialogCommands-BH7HIYG2.js → dialogCommands-E4KH23LG.js} +5 -5
  48. package/{dialogSlice-PLGRJCY6.js → dialogSlice-CTSI7MTT.js} +2 -2
  49. package/{docCreateCommands-4I6MIRKZ.js → docCreateCommands-3OVVJQ5T.js} +2 -2
  50. package/{docDeleteCommands-4NTEIMGB.js → docDeleteCommands-ZY3YVAKQ.js} +2 -2
  51. package/{docReadCommands-CTEYUSYM.js → docReadCommands-DRKAOI4S.js} +2 -2
  52. package/{docStore-PCVM6FBB.js → docStore-6WBQOAXG.js} +1 -1
  53. package/{docUpdateCommands-PTEZXGWA.js → docUpdateCommands-YUOV2EY6.js} +2 -2
  54. package/{handleSendMessageAction-4SWUKGT7.js → handleSendMessageAction-N2OMO5G4.js} +8 -8
  55. package/{hostCredentialCreate-EQYEEYK5.js → hostCredentialCreate-7URAYDDW.js} +15 -15
  56. package/index.js +4 -4
  57. package/{localRuntimeAdapter-2DJAFTLV.js → localRuntimeAdapter-N7UAZM2A.js} +14 -14
  58. package/{machineCommands-SIJJKXV4.js → machineCommands-37DP3W6M.js} +15 -15
  59. package/{machineWsRunDispatch-7ZLO6TPK.js → machineWsRunDispatch-MWJ3YPHO.js} +15 -15
  60. package/package.json +1 -1
  61. package/{projectArchive-CKX6FZDS.js → projectArchive-LP7LCMCR.js} +4 -4
  62. package/{readlineWorkspace-YTISMWZB.js → readlineWorkspace-VFI2DNJS.js} +20 -20
  63. package/{runAgentClientLoop-ECLRPEOK.js → runAgentClientLoop-S5Y42KAZ.js} +10 -10
  64. package/{spaceCommands-PJWMFCIP.js → spaceCommands-EKDIDAQD.js} +2 -2
  65. package/{streamAgentChatTurn-3MQZRUAN.js → streamAgentChatTurn-IYNNLYI5.js} +12 -12
  66. package/{tools-2WH7CKQP.js → tools-GIATFQW5.js} +7 -7
  67. package/{tuiRestart-EOGC2BYY.js → tuiRestart-5F2APN66.js} +3 -3
  68. package/{updateDialogTitleAction-WQOKXXUW.js → updateDialogTitleAction-PQDJD35N.js} +3 -3
@@ -38,7 +38,7 @@ import {
38
38
  toolRunUpdated,
39
39
  uiCardFallback,
40
40
  waitForAbortableDelay
41
- } from "./chunk-3RKUVWJR.js";
41
+ } from "./chunk-DGHHJV3T.js";
42
42
  import {
43
43
  isGatewayHttpStatus
44
44
  } from "./chunk-NF64D32W.js";
@@ -47,7 +47,7 @@ import {
47
47
  } from "./chunk-WMMKHEGQ.js";
48
48
  import {
49
49
  createDocState
50
- } from "./chunk-27XDMKLC.js";
50
+ } from "./chunk-DQFQOKCR.js";
51
51
  import {
52
52
  readDocFunc,
53
53
  readDocFunctionSchema,
@@ -59,7 +59,7 @@ import {
59
59
  createDialogAction,
60
60
  uiAskChoiceFunc,
61
61
  uiAskChoiceFunctionSchema
62
- } from "./chunk-S7WGN4OQ.js";
62
+ } from "./chunk-FNB2XPBD.js";
63
63
  import {
64
64
  DEFAULT_COLLAPSED_CATEGORIES,
65
65
  addContentToSpace,
@@ -76,7 +76,7 @@ import {
76
76
  updateContentCategory,
77
77
  updateContentTitle,
78
78
  writeStoredCollapsedCategories
79
- } from "./chunk-POXYLG52.js";
79
+ } from "./chunk-E2U4I3NK.js";
80
80
  import {
81
81
  buildDatabaseFileContentUrl,
82
82
  deleteDialog,
@@ -85,14 +85,14 @@ import {
85
85
  selectCurrentDialogConfig,
86
86
  selectCurrentDialogId,
87
87
  selectMsgById
88
- } from "./chunk-7WYOODTC.js";
88
+ } from "./chunk-P4HBFHQB.js";
89
89
  import {
90
90
  createAgent,
91
91
  deleteServerSyncedCredential,
92
92
  runLlm,
93
93
  streamAgentChatTurn,
94
94
  updateAgent
95
- } from "./chunk-YZ335FWM.js";
95
+ } from "./chunk-RJSITWNF.js";
96
96
  import {
97
97
  addMemberSpace,
98
98
  getAllMemberSpaces,
@@ -4014,7 +4014,7 @@ async function deleteDialogsFunc(args, thunkApi) {
4014
4014
  const deletedDialogIds = [];
4015
4015
  const deletedDialogKeys = [];
4016
4016
  const failures = [];
4017
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-PLGRJCY6.js");
4017
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-CTSI7MTT.js");
4018
4018
  for (const target of targets) {
4019
4019
  try {
4020
4020
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -15058,7 +15058,10 @@ async function startAgentRunFunc(args, thunkApi, context2) {
15058
15058
  ...taskPreview ? { taskPreview } : {},
15059
15059
  ...title ? { title } : {},
15060
15060
  payloadMetrics,
15061
- selectionCheck
15061
+ selectionCheck,
15062
+ // 近场行动约束(与 workspaceShell 的 detach 回执同源):
15063
+ // 同类规则在静态提示词里已重复 5 处仍会被稀释,这里放到决策点旁边。
15064
+ turnAction: "This run is tracked. Do NOT end this turn to wait if any other independent authorized work remains \u2014 invoke tools for it now. End the turn only when no independent work is left."
15062
15065
  },
15063
15066
  displayData: formatStartRunCard(resolveRunLabel(identity), status, {
15064
15067
  task: taskPreview,
@@ -19398,7 +19401,7 @@ async function updateDocFunc(args, thunkApi) {
19398
19401
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
19399
19402
  };
19400
19403
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
19401
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-PCVM6FBB.js");
19404
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-6WBQOAXG.js");
19402
19405
  if (getDocState().pageKey === id) {
19403
19406
  applyExternalDocUpdate({
19404
19407
  slateData: finalSlateData,
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-HS7MLR74.js";
4
4
  import {
5
5
  performServerProxyFetchWithRetry
6
- } from "./chunk-PSX4M5MN.js";
6
+ } from "./chunk-RNKWM6DL.js";
7
7
  import {
8
8
  fetchServerSyncedCredential
9
- } from "./chunk-YZ335FWM.js";
9
+ } from "./chunk-RJSITWNF.js";
10
10
  import {
11
11
  buildIdentityBlock,
12
12
  buildPlatformStaticContextLayers,
@@ -3,22 +3,22 @@ import {
3
3
  mergeReferences,
4
4
  resolveReferenceAssets,
5
5
  resolveToolsFromKeys
6
- } from "./chunk-PSX4M5MN.js";
6
+ } from "./chunk-RNKWM6DL.js";
7
7
  import {
8
8
  UI_CARD_ENVELOPE_MAX_BYTES,
9
9
  getAllToolRuns,
10
10
  parseUiCard,
11
11
  uiCardFallback
12
- } from "./chunk-3RKUVWJR.js";
12
+ } from "./chunk-DGHHJV3T.js";
13
13
  import {
14
14
  getDocState
15
- } from "./chunk-27XDMKLC.js";
15
+ } from "./chunk-DQFQOKCR.js";
16
16
  import {
17
17
  getTableState
18
- } from "./chunk-POXYLG52.js";
18
+ } from "./chunk-E2U4I3NK.js";
19
19
  import {
20
20
  selectAllMsgs
21
- } from "./chunk-7WYOODTC.js";
21
+ } from "./chunk-P4HBFHQB.js";
22
22
  import {
23
23
  getCurrentSpaceIdRaw,
24
24
  getViewMode
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-YM6JCUPB.js";
3
+ } from "./chunk-5D5C7IFJ.js";
4
4
  import {
5
5
  runtime_default
6
- } from "./chunk-7WYOODTC.js";
6
+ } from "./chunk-P4HBFHQB.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
9
  } from "./chunk-YLAHYLDQ.js";
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-OLGFIQN2.js";
7
7
  import {
8
8
  fetchAndCacheTableRows
9
- } from "./chunk-POXYLG52.js";
9
+ } from "./chunk-E2U4I3NK.js";
10
10
  import {
11
11
  resolveDialogRuntimeAgentKey
12
- } from "./chunk-7WYOODTC.js";
12
+ } from "./chunk-P4HBFHQB.js";
13
13
  import {
14
14
  createSpaceKey
15
15
  } from "./chunk-UAD2WT54.js";
@@ -791,7 +791,7 @@ var executeToolRun = createAsyncThunk(
791
791
  if (!executionInput) {
792
792
  throw new Error(`ToolRun ${id} has no input to execute with.`);
793
793
  }
794
- const { findToolExecutor } = await import("./tools-2WH7CKQP.js");
794
+ const { findToolExecutor } = await import("./tools-GIATFQW5.js");
795
795
  const { executor } = findToolExecutor(run.toolName);
796
796
  toolRunStarted({
797
797
  id: run.id,
@@ -72,7 +72,7 @@ import {
72
72
  import {
73
73
  inlineImageUrlsForCustomProvider,
74
74
  prepareTools
75
- } from "./chunk-D3OMIZHK.js";
75
+ } from "./chunk-CUMWQC3F.js";
76
76
  import {
77
77
  getServerProviderSecret
78
78
  } from "./chunk-HS7MLR74.js";
@@ -95,7 +95,7 @@ import {
95
95
  resolveCliLocalSpawnDispatch,
96
96
  resolveRunContextFacts,
97
97
  resolveStartAgentRunCwd
98
- } from "./chunk-YM6JCUPB.js";
98
+ } from "./chunk-5D5C7IFJ.js";
99
99
  import {
100
100
  deriveCredentialGroup,
101
101
  deriveCustomProviderCredentialGroup
@@ -109,11 +109,11 @@ import {
109
109
  } from "./chunk-WMMKHEGQ.js";
110
110
  import {
111
111
  validateAskChoiceInput
112
- } from "./chunk-S7WGN4OQ.js";
112
+ } from "./chunk-FNB2XPBD.js";
113
113
  import {
114
114
  prepareTokenUsageData,
115
115
  runKeyed
116
- } from "./chunk-7WYOODTC.js";
116
+ } from "./chunk-P4HBFHQB.js";
117
117
  import {
118
118
  applyTokenUsageToDayStats,
119
119
  require_format
@@ -124,11 +124,11 @@ import {
124
124
  } from "./chunk-523DITKR.js";
125
125
  import {
126
126
  fetchServerSyncedCredential
127
- } from "./chunk-YZ335FWM.js";
127
+ } from "./chunk-RJSITWNF.js";
128
128
  import {
129
129
  defaultLoopbackRequest,
130
130
  loadLocalRunChildDialogIds
131
- } from "./chunk-CIGCTSBF.js";
131
+ } from "./chunk-SHDJLJWV.js";
132
132
  import {
133
133
  CREDENTIAL_STORE_SESSION_FALLBACK_WARNING,
134
134
  OAUTH_PROVIDER_REFS,
@@ -163,7 +163,7 @@ import {
163
163
  terminateRunProcess,
164
164
  transitionRunToTerminal,
165
165
  withQueueLock
166
- } from "./chunk-AEZBAFC6.js";
166
+ } from "./chunk-YWNCRUBZ.js";
167
167
  import {
168
168
  TASK_PREVIEW_MAX,
169
169
  formatControlRunMessageCard,
@@ -189,7 +189,7 @@ import {
189
189
  readDialogMessageRecords,
190
190
  readDialogMessages,
191
191
  resolveBuiltinLocalCliAgentConfig
192
- } from "./chunk-QQULDAF2.js";
192
+ } from "./chunk-OP7UDCGP.js";
193
193
  import {
194
194
  applyPublicAgentCatalogOverride
195
195
  } from "./chunk-MZVCFV3T.js";
@@ -246,7 +246,7 @@ import {
246
246
  runExecShellGates,
247
247
  validateConfiguredRootExecutionLease,
248
248
  verifyOwnerRouteAck
249
- } from "./chunk-G3PPDR4Z.js";
249
+ } from "./chunk-IQAO6IUP.js";
250
250
  import {
251
251
  createHostCredentialBrokerChain,
252
252
  createStrictHostCredentialBroker
@@ -381,7 +381,7 @@ import {
381
381
  } from "./chunk-KX6YBIHG.js";
382
382
  import {
383
383
  withShellChildEnvironment
384
- } from "./chunk-CTIEJRTP.js";
384
+ } from "./chunk-5BRVDQTX.js";
385
385
  import {
386
386
  estimateTokenCount
387
387
  } from "./chunk-PSCNXBYA.js";
@@ -15383,7 +15383,7 @@ function createCliLocalRuntimeAdapter(deps) {
15383
15383
  emitRunIsolationNotice(fact, { runId });
15384
15384
  try {
15385
15385
  const { writeFileSync: writeFileSync4, mkdirSync: mkdirSync5 } = await import("node:fs");
15386
- const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-RN2P6AOD.js");
15386
+ const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-QMWTWV7C.js");
15387
15387
  recordLocalRunExecutionIsolation({
15388
15388
  runId,
15389
15389
  runsDir: resolveRunsDir2(deps.env),
@@ -15408,7 +15408,7 @@ function createCliLocalRuntimeAdapter(deps) {
15408
15408
  dockerWorkloadReleased = true;
15409
15409
  dockerWorkloadLoad = null;
15410
15410
  if (loaded) {
15411
- const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-RN2P6AOD.js");
15411
+ const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-QMWTWV7C.js");
15412
15412
  const exportRunDiff = deps.exportDockerRunDiffArtifact ?? exportDockerRunDiffArtifact;
15413
15413
  const warn = (message) => process.stderr.write(`[nolo] ${message}
15414
15414
  `);
@@ -335,7 +335,7 @@ async function saveDocState(arg, { dispatch, getState }) {
335
335
  ).unwrap();
336
336
  if (dbSpaceId) {
337
337
  try {
338
- const { updateContentTitle } = await import("./contentThunks-H24TZUZ6.js");
338
+ const { updateContentTitle } = await import("./contentThunks-WF73YCYA.js");
339
339
  await dispatch(
340
340
  updateContentTitle({
341
341
  spaceId: dbSpaceId,
@@ -378,7 +378,7 @@ async function saveDocState(arg, { dispatch, getState }) {
378
378
  }
379
379
  }
380
380
  async function createDocState(args, thunkApi) {
381
- const { createPageAction } = await import("./createPageAction-HG3EEYO3.js");
381
+ const { createPageAction } = await import("./createPageAction-7YDRLGGF.js");
382
382
  return createPageAction(args, thunkApi);
383
383
  }
384
384
  function subscribe(listener) {
@@ -2,7 +2,7 @@ import {
2
2
  deleteDialog,
3
3
  runtime_default,
4
4
  toast
5
- } from "./chunk-7WYOODTC.js";
5
+ } from "./chunk-P4HBFHQB.js";
6
6
  import {
7
7
  getAllMemberSpaces,
8
8
  getCurrentSpaceId,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-POXYLG52.js";
3
+ } from "./chunk-E2U4I3NK.js";
4
4
  import {
5
5
  prepareAndPersistMessage
6
- } from "./chunk-7WYOODTC.js";
6
+ } from "./chunk-P4HBFHQB.js";
7
7
  import {
8
8
  require_format
9
9
  } from "./chunk-BUDVRYES.js";
@@ -222,7 +222,7 @@ import {
222
222
  toProcessTaskView,
223
223
  truncateToolOutput,
224
224
  workspaceChildEnv
225
- } from "./chunk-CTIEJRTP.js";
225
+ } from "./chunk-5BRVDQTX.js";
226
226
  import {
227
227
  estimateTokenCount
228
228
  } from "./chunk-PSCNXBYA.js";
@@ -23858,7 +23858,7 @@ async function saveCliPendingUserMessages(args2) {
23858
23858
  if (ops.length) await args2.store.batch(ops);
23859
23859
  }
23860
23860
  async function readCliPendingUserMessages(store, dialogId) {
23861
- const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-QPSR26KD.js");
23861
+ const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-WUSV4VMI.js");
23862
23862
  const rows = await readDialogMessageRecords({ store, dialogId });
23863
23863
  const uncertain = rows.filter(({ record: record2 }) => record2.metadata?.cliBatchPhase === "requested" && !record2.metadata?.cliBatchResolution);
23864
23864
  const recovery = uncertain.length ? {
@@ -14,10 +14,10 @@ import {
14
14
  import {
15
15
  addContentToSpace,
16
16
  resolveCreationSpaceId
17
- } from "./chunk-POXYLG52.js";
17
+ } from "./chunk-E2U4I3NK.js";
18
18
  import {
19
19
  runtime_default
20
- } from "./chunk-7WYOODTC.js";
20
+ } from "./chunk-P4HBFHQB.js";
21
21
  import {
22
22
  getCurrentSpaceId
23
23
  } from "./chunk-FFFKAOJN.js";
@@ -33,7 +33,7 @@ import {
33
33
  resolveServerUrl,
34
34
  validateInstaboxWorkspaceSelection,
35
35
  writeUsage
36
- } from "./chunk-ARBYAWUU.js";
36
+ } from "./chunk-DKOUQOJ7.js";
37
37
  import {
38
38
  boxGlyphs,
39
39
  displayWidth,
@@ -86,14 +86,14 @@ import {
86
86
  } from "./chunk-S73EPYNC.js";
87
87
  import {
88
88
  resolveCliLocalRuntimeKeyCapability
89
- } from "./chunk-YM6JCUPB.js";
89
+ } from "./chunk-5D5C7IFJ.js";
90
90
  import {
91
91
  extractGoogleValidationLink
92
92
  } from "./chunk-BMQ2MJUK.js";
93
93
  import {
94
94
  parseUiCard,
95
95
  uiCardFallback
96
- } from "./chunk-3RKUVWJR.js";
96
+ } from "./chunk-DGHHJV3T.js";
97
97
  import {
98
98
  isGatewayHttpStatus
99
99
  } from "./chunk-NF64D32W.js";
@@ -104,7 +104,7 @@ import {
104
104
  loadOwnerItemsFromDb,
105
105
  parseUiAskChoiceContent,
106
106
  resolveAgentMemoryPolicy
107
- } from "./chunk-S7WGN4OQ.js";
107
+ } from "./chunk-FNB2XPBD.js";
108
108
  import {
109
109
  API_REPORTED_COST_MULTIPLIER,
110
110
  estimateMessagesTokens,
@@ -113,7 +113,7 @@ import {
113
113
  resolveAgentContextWindow,
114
114
  resolveOccupancy,
115
115
  resolveOccupancyWindow
116
- } from "./chunk-7WYOODTC.js";
116
+ } from "./chunk-P4HBFHQB.js";
117
117
  import {
118
118
  parsePositiveFiniteNumberOrFallback
119
119
  } from "./chunk-Y5GCAMGP.js";
@@ -144,7 +144,7 @@ import {
144
144
  settleRunTerminalAuthoritatively,
145
145
  spawnLocalBackgroundRun,
146
146
  transitionRunToTerminal
147
- } from "./chunk-AEZBAFC6.js";
147
+ } from "./chunk-YWNCRUBZ.js";
148
148
  import {
149
149
  formatAgentListCard,
150
150
  formatFinishedRunCard,
@@ -178,7 +178,7 @@ import {
178
178
  readActionGate,
179
179
  readAgentsMdLayerFromDisk,
180
180
  registerDialogOwner
181
- } from "./chunk-G3PPDR4Z.js";
181
+ } from "./chunk-IQAO6IUP.js";
182
182
  import {
183
183
  resolveAgentRuntimeConfigFromRecord
184
184
  } from "./chunk-WMKA2DPK.js";
@@ -223,7 +223,7 @@ import {
223
223
  } from "./chunk-USGHJSGO.js";
224
224
  import {
225
225
  workspaceChildEnv
226
- } from "./chunk-CTIEJRTP.js";
226
+ } from "./chunk-5BRVDQTX.js";
227
227
  import {
228
228
  QUOTA_ERROR_PATTERNS,
229
229
  isQuotaExhaustedError
@@ -13064,7 +13064,7 @@ function isBalanceExhaustedError(error) {
13064
13064
 
13065
13065
  // packages/cli/client/agentRun.ts
13066
13066
  async function loadRunLocalAgentTurn() {
13067
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-Y54MQRGC.js");
13067
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-65F3RVQM.js");
13068
13068
  return runLocalAgentTurn;
13069
13069
  }
13070
13070
  var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-ARBYAWUU.js";
4
+ } from "./chunk-DKOUQOJ7.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-3RKUVWJR.js";
7
+ } from "./chunk-DGHHJV3T.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-G3PPDR4Z.js";
10
+ } from "./chunk-IQAO6IUP.js";
11
11
  import {
12
12
  resolveLocalRuntimeEnvFromPolicy
13
13
  } from "./chunk-USGHJSGO.js";
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  localDialogMessageRecordToRuntimeMessage,
13
13
  orderDialogHistory
14
- } from "./chunk-G3PPDR4Z.js";
14
+ } from "./chunk-IQAO6IUP.js";
15
15
  import {
16
16
  resolveAgentRuntimeConfigFromRecord
17
17
  } from "./chunk-WMKA2DPK.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-523DITKR.js";
11
11
  import {
12
12
  runLlm
13
- } from "./chunk-YZ335FWM.js";
13
+ } from "./chunk-RJSITWNF.js";
14
14
  import {
15
15
  cleanupCliSessionForDialog
16
16
  } from "./chunk-ARFCL53U.js";
@@ -14680,7 +14680,7 @@ var messageSlice = createSliceWithThunks({
14680
14680
  runtimeOptions: args.runtimeOptions
14681
14681
  });
14682
14682
  if (agentKeyToUse) {
14683
- const { streamAgentChatTurn } = await import("./agentSlice-DJ2UBLBY.js");
14683
+ const { streamAgentChatTurn } = await import("./agentSlice-CF3SO4QW.js");
14684
14684
  await dispatch(
14685
14685
  streamAgentChatTurn({
14686
14686
  agentKey: agentKeyToUse,
@@ -15826,7 +15826,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15826
15826
  }
15827
15827
  if (isCurrentDialog) {
15828
15828
  await thunkApi.dispatch(resetMsgs());
15829
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-PLGRJCY6.js");
15829
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-CTSI7MTT.js");
15830
15830
  dispatch(clearPendingAttachments2());
15831
15831
  }
15832
15832
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -15834,15 +15834,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15834
15834
 
15835
15835
  // packages/chat/dialog/dialogSlice.ts
15836
15836
  var runCreateDialogAction = async (args, thunkApi) => {
15837
- const { createDialogAction } = await import("./createDialogAction-E732EJ6P.js");
15837
+ const { createDialogAction } = await import("./createDialogAction-IASHJN3H.js");
15838
15838
  return createDialogAction(args, thunkApi);
15839
15839
  };
15840
15840
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
15841
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-KIJOUKLE.js");
15841
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-NUIQOIOW.js");
15842
15842
  return createAgentAutomationAction(args, thunkApi);
15843
15843
  };
15844
15844
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
15845
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-WQOKXXUW.js");
15845
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-PQDJD35N.js");
15846
15846
  return updateDialogTitleAction(args, thunkApi);
15847
15847
  };
15848
15848
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -15866,7 +15866,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
15866
15866
  return setDialogExtraReferencesAction(args, thunkApi);
15867
15867
  };
15868
15868
  var runHandleSendMessageAction = async (args, thunkApi) => {
15869
- const { handleSendMessageAction } = await import("./handleSendMessageAction-4SWUKGT7.js");
15869
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-N2OMO5G4.js");
15870
15870
  return handleSendMessageAction(args, thunkApi);
15871
15871
  };
15872
15872
  function clearDialogState() {
@@ -15879,7 +15879,7 @@ var createPageAndAddReference = createAsyncThunk(
15879
15879
  async (payload, { dispatch, getState, rejectWithValue }) => {
15880
15880
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
15881
15881
  try {
15882
- const { createDocState } = await import("./docStore-PCVM6FBB.js");
15882
+ const { createDocState } = await import("./docStore-6WBQOAXG.js");
15883
15883
  const pageKey = await createDocState(
15884
15884
  { slateData, title },
15885
15885
  { dispatch, getState }
@@ -458,7 +458,7 @@ var slice = createSliceWithThunks({
458
458
  const overrides = {};
459
459
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
460
460
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
461
- const { _executeModel } = await import("./_executeModel-SYM27HUD.js");
461
+ const { _executeModel } = await import("./_executeModel-HWAMKGWB.js");
462
462
  return _executeModel(
463
463
  {
464
464
  isStreaming: args.isStreaming ?? false,
@@ -479,7 +479,7 @@ var slice = createSliceWithThunks({
479
479
  * - 循环直到无工具调用或触发其他运行时停止条件
480
480
  */
481
481
  runAgent: create.asyncThunk(async (args, thunkApi) => {
482
- const { runAgentClientLoop } = await import("./runAgentClientLoop-ECLRPEOK.js");
482
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-S5Y42KAZ.js");
483
483
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
484
484
  {
485
485
  agentKey: args.agentKey,
@@ -495,7 +495,7 @@ var slice = createSliceWithThunks({
495
495
  * 聊天轮次流式 Agent 调用
496
496
  */
497
497
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
498
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-3MQZRUAN.js");
498
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-IYNNLYI5.js");
499
499
  return streamAgentChatTurnHandler(args, thunkApi);
500
500
  }),
501
501
  /**
@@ -2,7 +2,7 @@ import {
2
2
  clipMultilineText,
3
3
  fetchAndSerializeTable,
4
4
  waitForAbortableDelay
5
- } from "./chunk-3RKUVWJR.js";
5
+ } from "./chunk-DGHHJV3T.js";
6
6
  import {
7
7
  isGatewayHttpStatus
8
8
  } from "./chunk-NF64D32W.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-AGIM7IMJ.js";
16
16
  import {
17
17
  fetchAndCacheMessages
18
- } from "./chunk-7WYOODTC.js";
18
+ } from "./chunk-P4HBFHQB.js";
19
19
  import {
20
20
  createSpaceKey
21
21
  } from "./chunk-UAD2WT54.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-PSX4M5MN.js";
4
+ } from "./chunk-RNKWM6DL.js";
5
5
  import {
6
6
  updateTokensAction
7
- } from "./chunk-7WYOODTC.js";
7
+ } from "./chunk-P4HBFHQB.js";
8
8
  import {
9
9
  applyUpdateTokensFulfilled
10
10
  } from "./chunk-U35UUM5K.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveRunsDir
3
- } from "./chunk-AEZBAFC6.js";
3
+ } from "./chunk-YWNCRUBZ.js";
4
4
  import {
5
5
  isLoopbackHostname
6
6
  } from "./chunk-4SN6J65J.js";
@@ -5,7 +5,7 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-D3OMIZHK.js";
8
+ } from "./chunk-CUMWQC3F.js";
9
9
  import {
10
10
  CONFIRMATION_INPUT_KEYS,
11
11
  INVALID_TOOL_ARGS_REPLACEMENT,
@@ -14,11 +14,11 @@ import {
14
14
  performFetchRequest,
15
15
  sanitizeOutboundMessages,
16
16
  stripModelToolArgs
17
- } from "./chunk-CHF7CSRH.js";
17
+ } from "./chunk-5FU7HEII.js";
18
18
  import {
19
19
  findToolExecutor,
20
20
  toolDefinitionsByName
21
- } from "./chunk-YM6JCUPB.js";
21
+ } from "./chunk-5D5C7IFJ.js";
22
22
  import {
23
23
  createSSEParser,
24
24
  createToolRunId,
@@ -27,7 +27,7 @@ import {
27
27
  toolRunSetPending,
28
28
  toolRunStarted,
29
29
  toolRunSucceeded
30
- } from "./chunk-3RKUVWJR.js";
30
+ } from "./chunk-DGHHJV3T.js";
31
31
  import {
32
32
  addToolMessage,
33
33
  messageStreamEnd,
@@ -35,10 +35,10 @@ import {
35
35
  toast,
36
36
  toolResultNeedsUserConfirmation,
37
37
  updateToolMessage
38
- } from "./chunk-7WYOODTC.js";
38
+ } from "./chunk-P4HBFHQB.js";
39
39
  import {
40
40
  streamAgentChatTurn
41
- } from "./chunk-YZ335FWM.js";
41
+ } from "./chunk-RJSITWNF.js";
42
42
  import {
43
43
  getCurrentSpaceId
44
44
  } from "./chunk-FFFKAOJN.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-Y5GCAMGP.js";
14
14
  import {
15
15
  loadLocalRunChildDialogIds
16
- } from "./chunk-CIGCTSBF.js";
16
+ } from "./chunk-SHDJLJWV.js";
17
17
  import {
18
18
  buildDialogAttachmentPlan,
19
19
  extractFileContentIds,
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-D25ONVOH.js";
7
7
  import {
8
8
  clearCliLocalRuntimePreparedAgentCache
9
- } from "./chunk-ARBYAWUU.js";
9
+ } from "./chunk-DKOUQOJ7.js";
10
10
  import {
11
11
  readCredentialAvailability
12
12
  } from "./chunk-WWTSEBDF.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-S25VJYXV.js";
6
6
  import {
7
7
  findPowerShellExecutable
8
- } from "./chunk-CTIEJRTP.js";
8
+ } from "./chunk-5BRVDQTX.js";
9
9
  import {
10
10
  AUTH_ERROR_PATTERNS
11
11
  } from "./chunk-EWQ3HGNZ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isPidGone
3
- } from "./chunk-AEZBAFC6.js";
3
+ } from "./chunk-YWNCRUBZ.js";
4
4
 
5
5
  // packages/cli/tui/tuiRestart.ts
6
6
  import { realpathSync } from "node:fs";