nolo-cli 0.16.0-alpha.10 → 0.16.0-alpha.11

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 (35) hide show
  1. package/{_executeModel-6BR65FSI.js → _executeModel-LGHYA5XS.js} +9 -9
  2. package/{agentEmailCommands-KNZY4HXV.js → agentEmailCommands-KC2QCPQV.js} +8 -8
  3. package/{agentMachineCommands-2AIPJKFM.js → agentMachineCommands-P7S5WAVA.js} +1 -1
  4. package/{agentRecordCommands-TB4N7YSB.js → agentRecordCommands-JKZR2TZJ.js} +8 -8
  5. package/{agentRunCommand-UVW2ZLKT.js → agentRunCommand-2ELKCBWR.js} +8 -8
  6. package/{agentSlice-533PEM4O.js → agentSlice-NXLMDKR7.js} +1 -1
  7. package/{chunk-KPD4CEQD.js → chunk-22NGXGN3.js} +1 -1
  8. package/{chunk-LO6JNGCT.js → chunk-2WXMU64E.js} +2 -2
  9. package/{chunk-T26DWCH5.js → chunk-47QUPRHO.js} +1 -1
  10. package/{chunk-CXM4IIUF.js → chunk-4LXOVZ4W.js} +8 -8
  11. package/{chunk-LCMAJFAD.js → chunk-6CRACQXW.js} +2 -2
  12. package/{chunk-R4L524UB.js → chunk-BXXECNBU.js} +1 -1
  13. package/{chunk-G2IQGDQZ.js → chunk-D4NCEGGR.js} +12 -8
  14. package/{chunk-DBLHEQH7.js → chunk-EQTZPEID.js} +4 -4
  15. package/{chunk-SI73WO7P.js → chunk-HSASSW4L.js} +22 -6
  16. package/{chunk-KPJWHHG4.js → chunk-WBA6SIBB.js} +1 -1
  17. package/{chunk-ZOQNJXMS.js → chunk-XEWUC53Z.js} +18 -5
  18. package/{chunk-XJYXSTBK.js → chunk-ZH62XNZE.js} +8 -4
  19. package/{chunk-2OUI4TLC.js → chunk-ZXQ52OY2.js} +3 -3
  20. package/{createAgentAutomationAction-OARFMDWU.js → createAgentAutomationAction-RKWIMKHW.js} +2 -2
  21. package/{createDialogAction-4E6ALCDK.js → createDialogAction-VN7MEBS3.js} +3 -3
  22. package/{createPageAction-RS65DDRX.js → createPageAction-JBUWBHHC.js} +2 -2
  23. package/{dialogSlice-MS7OYWHW.js → dialogSlice-NNYBU35K.js} +2 -2
  24. package/{docStore-KYTKNGMU.js → docStore-DR22GGF3.js} +3 -3
  25. package/{handleSendMessageAction-LHTGYRMN.js → handleSendMessageAction-FHITDM7H.js} +2 -2
  26. package/index.js +15 -15
  27. package/{machineCommands-RDQQBA72.js → machineCommands-3B4IHHVK.js} +8 -8
  28. package/{machineWsRunDispatch-27RCTQQF.js → machineWsRunDispatch-AXZ6OL3V.js} +8 -8
  29. package/package.json +1 -1
  30. package/{readlineWorkspace-BTONC7NW.js → readlineWorkspace-DBZCXS7Y.js} +64 -26
  31. package/{runAgentClientLoop-Q4CL22BP.js → runAgentClientLoop-AB7PQ3TB.js} +7 -7
  32. package/{spaceSlice-XLJ4DRG6.js → spaceSlice-TEJDCU6A.js} +2 -2
  33. package/{streamAgentChatTurn-YYAAGLZL.js → streamAgentChatTurn-NZ3HLAXS.js} +8 -8
  34. package/{tools-5UKY65R3.js → tools-M4USUF3R.js} +5 -5
  35. package/{updateDialogTitleAction-VNSUVPUZ.js → updateDialogTitleAction-SMPQVKWT.js} +2 -2
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  fetchAgentContexts
3
- } from "./chunk-KPJWHHG4.js";
3
+ } from "./chunk-WBA6SIBB.js";
4
4
  import {
5
5
  filterAndCleanMessages,
6
6
  sendOpenAICompletionsRequest
7
- } from "./chunk-SI73WO7P.js";
7
+ } from "./chunk-HSASSW4L.js";
8
8
  import "./chunk-JEXVIMYZ.js";
9
- import "./chunk-T26DWCH5.js";
9
+ import "./chunk-47QUPRHO.js";
10
10
  import {
11
11
  generateRequestBody,
12
12
  mergeReferences,
13
13
  performFetchRequest
14
- } from "./chunk-ZOQNJXMS.js";
14
+ } from "./chunk-XEWUC53Z.js";
15
15
  import "./chunk-L6NVTGI7.js";
16
- import "./chunk-G2IQGDQZ.js";
16
+ import "./chunk-D4NCEGGR.js";
17
17
  import "./chunk-RQSOAMPJ.js";
18
18
  import "./chunk-XJITGCTM.js";
19
19
  import "./chunk-KQHGZWSV.js";
20
- import "./chunk-LCMAJFAD.js";
20
+ import "./chunk-6CRACQXW.js";
21
21
  import "./chunk-VIDPVFP3.js";
22
22
  import "./chunk-6N4KODMN.js";
23
23
  import "./chunk-3LY4F7SV.js";
24
24
  import "./chunk-VP4WJWKW.js";
25
25
  import "./chunk-63W5N6P3.js";
26
26
  import "./chunk-VF4K2QE6.js";
27
- import "./chunk-R4L524UB.js";
27
+ import "./chunk-BXXECNBU.js";
28
28
  import "./chunk-VC6OZXO5.js";
29
29
  import {
30
30
  selectAllMsgs,
31
31
  selectCurrentDialogConfig,
32
32
  updateTokensAction
33
- } from "./chunk-CXM4IIUF.js";
33
+ } from "./chunk-4LXOVZ4W.js";
34
34
  import "./chunk-XOIF2TNF.js";
35
35
  import "./chunk-MRC4Q34M.js";
36
36
  import "./chunk-MTU75CZ2.js";
37
37
  import "./chunk-CWMSB67P.js";
38
- import "./chunk-2OUI4TLC.js";
38
+ import "./chunk-ZXQ52OY2.js";
39
39
  import "./chunk-RPDGJO4D.js";
40
40
  import "./chunk-SOTZ6RDN.js";
41
41
  import "./chunk-Z4NR32XR.js";
@@ -8,8 +8,8 @@ import {
8
8
  } from "./chunk-DZ3XJVET.js";
9
9
  import {
10
10
  runAgentCreateCommand
11
- } from "./chunk-KPD4CEQD.js";
12
- import "./chunk-XJYXSTBK.js";
11
+ } from "./chunk-22NGXGN3.js";
12
+ import "./chunk-ZH62XNZE.js";
13
13
  import "./chunk-UB4RYYNQ.js";
14
14
  import {
15
15
  getReadableCliDb
@@ -23,27 +23,27 @@ import {
23
23
  resolveCliAgentKeyInput
24
24
  } from "./chunk-VHBWHNVT.js";
25
25
  import "./chunk-KFHN5NGJ.js";
26
- import "./chunk-T26DWCH5.js";
26
+ import "./chunk-47QUPRHO.js";
27
27
  import "./chunk-L6NVTGI7.js";
28
- import "./chunk-G2IQGDQZ.js";
28
+ import "./chunk-D4NCEGGR.js";
29
29
  import "./chunk-RQSOAMPJ.js";
30
30
  import "./chunk-XJITGCTM.js";
31
31
  import "./chunk-KQHGZWSV.js";
32
- import "./chunk-LCMAJFAD.js";
32
+ import "./chunk-6CRACQXW.js";
33
33
  import "./chunk-6N4KODMN.js";
34
34
  import "./chunk-3LY4F7SV.js";
35
35
  import "./chunk-VP4WJWKW.js";
36
36
  import "./chunk-63W5N6P3.js";
37
37
  import "./chunk-VF4K2QE6.js";
38
- import "./chunk-R4L524UB.js";
38
+ import "./chunk-BXXECNBU.js";
39
39
  import "./chunk-VC6OZXO5.js";
40
40
  import "./chunk-OWOHNGCN.js";
41
- import "./chunk-CXM4IIUF.js";
41
+ import "./chunk-4LXOVZ4W.js";
42
42
  import "./chunk-XOIF2TNF.js";
43
43
  import "./chunk-MRC4Q34M.js";
44
44
  import "./chunk-MTU75CZ2.js";
45
45
  import "./chunk-CWMSB67P.js";
46
- import "./chunk-2OUI4TLC.js";
46
+ import "./chunk-ZXQ52OY2.js";
47
47
  import "./chunk-RPDGJO4D.js";
48
48
  import "./chunk-SOTZ6RDN.js";
49
49
  import "./chunk-Z4NR32XR.js";
@@ -77,7 +77,7 @@ async function defaultExecuteCli(provider, prompt, options) {
77
77
  return executeCli(provider, prompt, options);
78
78
  }
79
79
  async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
80
- const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-27RCTQQF.js");
80
+ const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-AXZ6OL3V.js");
81
81
  return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
82
82
  }
83
83
  async function detectLaunchableMachineInfo() {
@@ -2,35 +2,35 @@ import {
2
2
  runAgentCreateCommand,
3
3
  runAgentReadCommand,
4
4
  runAgentUpdateCommand
5
- } from "./chunk-KPD4CEQD.js";
6
- import "./chunk-XJYXSTBK.js";
5
+ } from "./chunk-22NGXGN3.js";
6
+ import "./chunk-ZH62XNZE.js";
7
7
  import "./chunk-UB4RYYNQ.js";
8
8
  import "./chunk-W4NVOSFF.js";
9
9
  import "./chunk-C4MMO7W4.js";
10
10
  import "./chunk-PU4LXVAC.js";
11
11
  import "./chunk-VHBWHNVT.js";
12
12
  import "./chunk-KFHN5NGJ.js";
13
- import "./chunk-T26DWCH5.js";
13
+ import "./chunk-47QUPRHO.js";
14
14
  import "./chunk-L6NVTGI7.js";
15
- import "./chunk-G2IQGDQZ.js";
15
+ import "./chunk-D4NCEGGR.js";
16
16
  import "./chunk-RQSOAMPJ.js";
17
17
  import "./chunk-XJITGCTM.js";
18
18
  import "./chunk-KQHGZWSV.js";
19
- import "./chunk-LCMAJFAD.js";
19
+ import "./chunk-6CRACQXW.js";
20
20
  import "./chunk-6N4KODMN.js";
21
21
  import "./chunk-3LY4F7SV.js";
22
22
  import "./chunk-VP4WJWKW.js";
23
23
  import "./chunk-63W5N6P3.js";
24
24
  import "./chunk-VF4K2QE6.js";
25
- import "./chunk-R4L524UB.js";
25
+ import "./chunk-BXXECNBU.js";
26
26
  import "./chunk-VC6OZXO5.js";
27
27
  import "./chunk-OWOHNGCN.js";
28
- import "./chunk-CXM4IIUF.js";
28
+ import "./chunk-4LXOVZ4W.js";
29
29
  import "./chunk-XOIF2TNF.js";
30
30
  import "./chunk-MRC4Q34M.js";
31
31
  import "./chunk-MTU75CZ2.js";
32
32
  import "./chunk-CWMSB67P.js";
33
- import "./chunk-2OUI4TLC.js";
33
+ import "./chunk-ZXQ52OY2.js";
34
34
  import "./chunk-RPDGJO4D.js";
35
35
  import "./chunk-SOTZ6RDN.js";
36
36
  import "./chunk-Z4NR32XR.js";
@@ -6,12 +6,12 @@ import {
6
6
  prependSubjectDialogMarker,
7
7
  resolveWorkflowReference,
8
8
  runAgentRunCommand
9
- } from "./chunk-DBLHEQH7.js";
9
+ } from "./chunk-EQTZPEID.js";
10
10
  import {
11
11
  parseAgentRunArgs
12
12
  } from "./chunk-DZ3XJVET.js";
13
13
  import "./chunk-6HYVJV7B.js";
14
- import "./chunk-XJYXSTBK.js";
14
+ import "./chunk-ZH62XNZE.js";
15
15
  import "./chunk-UB4RYYNQ.js";
16
16
  import "./chunk-W4NVOSFF.js";
17
17
  import "./chunk-C4MMO7W4.js";
@@ -20,27 +20,27 @@ import "./chunk-VHBWHNVT.js";
20
20
  import "./chunk-LTRXGFMS.js";
21
21
  import "./chunk-KFHN5NGJ.js";
22
22
  import "./chunk-JEXVIMYZ.js";
23
- import "./chunk-T26DWCH5.js";
23
+ import "./chunk-47QUPRHO.js";
24
24
  import "./chunk-L6NVTGI7.js";
25
- import "./chunk-G2IQGDQZ.js";
25
+ import "./chunk-D4NCEGGR.js";
26
26
  import "./chunk-RQSOAMPJ.js";
27
27
  import "./chunk-XJITGCTM.js";
28
28
  import "./chunk-KQHGZWSV.js";
29
- import "./chunk-LCMAJFAD.js";
29
+ import "./chunk-6CRACQXW.js";
30
30
  import "./chunk-6N4KODMN.js";
31
31
  import "./chunk-3LY4F7SV.js";
32
32
  import "./chunk-VP4WJWKW.js";
33
33
  import "./chunk-63W5N6P3.js";
34
34
  import "./chunk-VF4K2QE6.js";
35
- import "./chunk-R4L524UB.js";
35
+ import "./chunk-BXXECNBU.js";
36
36
  import "./chunk-VC6OZXO5.js";
37
37
  import "./chunk-OWOHNGCN.js";
38
- import "./chunk-CXM4IIUF.js";
38
+ import "./chunk-4LXOVZ4W.js";
39
39
  import "./chunk-XOIF2TNF.js";
40
40
  import "./chunk-MRC4Q34M.js";
41
41
  import "./chunk-MTU75CZ2.js";
42
42
  import "./chunk-CWMSB67P.js";
43
- import "./chunk-2OUI4TLC.js";
43
+ import "./chunk-ZXQ52OY2.js";
44
44
  import "./chunk-RPDGJO4D.js";
45
45
  import "./chunk-SOTZ6RDN.js";
46
46
  import "./chunk-Z4NR32XR.js";
@@ -7,7 +7,7 @@ import {
7
7
  slice,
8
8
  streamAgentChatTurn,
9
9
  updateAgent
10
- } from "./chunk-2OUI4TLC.js";
10
+ } from "./chunk-ZXQ52OY2.js";
11
11
  import "./chunk-5CS33IBL.js";
12
12
  import "./chunk-JZPBVBIY.js";
13
13
  import "./chunk-KX6YBIHG.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clearCliLocalRuntimePreparedAgentCache
3
- } from "./chunk-XJYXSTBK.js";
3
+ } from "./chunk-ZH62XNZE.js";
4
4
  import {
5
5
  getReadableCliDb
6
6
  } from "./chunk-W4NVOSFF.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-XJYXSTBK.js";
4
+ } from "./chunk-ZH62XNZE.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-G2IQGDQZ.js";
7
+ } from "./chunk-D4NCEGGR.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
10
  } from "./chunk-RIF3XLXK.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  i18n_default,
3
3
  toolRegistry
4
- } from "./chunk-G2IQGDQZ.js";
4
+ } from "./chunk-D4NCEGGR.js";
5
5
  import {
6
6
  canonicalizeToolNames
7
7
  } from "./chunk-JTMNCCWF.js";
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  deleteServerSyncedCredential,
17
17
  runLlm
18
- } from "./chunk-2OUI4TLC.js";
18
+ } from "./chunk-ZXQ52OY2.js";
19
19
  import {
20
20
  cleanupCliSessionForDialog
21
21
  } from "./chunk-RPDGJO4D.js";
@@ -5529,7 +5529,7 @@ var messageSlice = createSliceWithThunks({
5529
5529
  runtimeOptions: args.runtimeOptions
5530
5530
  });
5531
5531
  if (agentKeyToUse) {
5532
- const { streamAgentChatTurn } = await import("./agentSlice-533PEM4O.js");
5532
+ const { streamAgentChatTurn } = await import("./agentSlice-NXLMDKR7.js");
5533
5533
  await dispatch(
5534
5534
  streamAgentChatTurn({
5535
5535
  agentKey: agentKeyToUse,
@@ -8249,7 +8249,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
8249
8249
  }
8250
8250
  if (isCurrentDialog) {
8251
8251
  await thunkApi.dispatch(resetMsgs());
8252
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-MS7OYWHW.js");
8252
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-NNYBU35K.js");
8253
8253
  dispatch(clearPendingAttachments2());
8254
8254
  clearWorkflow();
8255
8255
  }
@@ -8258,15 +8258,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
8258
8258
 
8259
8259
  // packages/chat/dialog/dialogSlice.ts
8260
8260
  var runCreateDialogAction = async (args, thunkApi) => {
8261
- const { createDialogAction } = await import("./createDialogAction-4E6ALCDK.js");
8261
+ const { createDialogAction } = await import("./createDialogAction-VN7MEBS3.js");
8262
8262
  return createDialogAction(args, thunkApi);
8263
8263
  };
8264
8264
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
8265
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-OARFMDWU.js");
8265
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-RKWIMKHW.js");
8266
8266
  return createAgentAutomationAction(args, thunkApi);
8267
8267
  };
8268
8268
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
8269
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-VNSUVPUZ.js");
8269
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-SMPQVKWT.js");
8270
8270
  return updateDialogTitleAction(args, thunkApi);
8271
8271
  };
8272
8272
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -8286,7 +8286,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
8286
8286
  return setDialogExtraReferencesAction(args, thunkApi);
8287
8287
  };
8288
8288
  var runHandleSendMessageAction = async (args, thunkApi) => {
8289
- const { handleSendMessageAction } = await import("./handleSendMessageAction-LHTGYRMN.js");
8289
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-FHITDM7H.js");
8290
8290
  return handleSendMessageAction(args, thunkApi);
8291
8291
  };
8292
8292
  function clearDialogState() {
@@ -8299,7 +8299,7 @@ var createPageAndAddReference = createAsyncThunk(
8299
8299
  async (payload, { dispatch, getState, rejectWithValue }) => {
8300
8300
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
8301
8301
  try {
8302
- const { createDocState } = await import("./docStore-KYTKNGMU.js");
8302
+ const { createDocState } = await import("./docStore-DR22GGF3.js");
8303
8303
  const pageKey = await createDocState(
8304
8304
  { slateData, title },
8305
8305
  { dispatch, getState }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  updateContentTitle
3
- } from "./chunk-CXM4IIUF.js";
3
+ } from "./chunk-4LXOVZ4W.js";
4
4
  import {
5
5
  require_date_fns
6
6
  } from "./chunk-M76ECQRD.js";
@@ -367,7 +367,7 @@ async function saveDocState(arg, { dispatch, getState }) {
367
367
  }
368
368
  }
369
369
  async function createDocState(args, thunkApi) {
370
- const { createPageAction } = await import("./createPageAction-RS65DDRX.js");
370
+ const { createPageAction } = await import("./createPageAction-JBUWBHHC.js");
371
371
  return createPageAction(args, thunkApi);
372
372
  }
373
373
  function subscribe(listener) {
@@ -3,7 +3,7 @@ import {
3
3
  prepareAndPersistMessage,
4
4
  uiAskChoiceFunc,
5
5
  uiAskChoiceFunctionSchema
6
- } from "./chunk-CXM4IIUF.js";
6
+ } from "./chunk-4LXOVZ4W.js";
7
7
  import {
8
8
  require_date_fns
9
9
  } from "./chunk-M76ECQRD.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-KQHGZWSV.js";
16
16
  import {
17
17
  createDocState
18
- } from "./chunk-LCMAJFAD.js";
18
+ } from "./chunk-6CRACQXW.js";
19
19
  import {
20
20
  readDocFunc,
21
21
  readDocFunctionSchema,
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-VF4K2QE6.js";
38
38
  import {
39
39
  createDialogAction
40
- } from "./chunk-R4L524UB.js";
40
+ } from "./chunk-BXXECNBU.js";
41
41
  import {
42
42
  buildSkillDocMarkdown,
43
43
  normalizeSkillBudgetTier,
@@ -76,13 +76,13 @@ import {
76
76
  updateContentCategory,
77
77
  updateContentTitle,
78
78
  updateStep
79
- } from "./chunk-CXM4IIUF.js";
79
+ } from "./chunk-4LXOVZ4W.js";
80
80
  import {
81
81
  createAgent,
82
82
  runLlm,
83
83
  streamAgentChatTurn,
84
84
  updateAgent
85
- } from "./chunk-2OUI4TLC.js";
85
+ } from "./chunk-ZXQ52OY2.js";
86
86
  import {
87
87
  NOLO_WORKSPACE_TOOL_NAMES,
88
88
  buildNoloSubjectRefQueryTarget,
@@ -2101,6 +2101,7 @@ var chat_locale_default = {
2101
2101
  copyContent: "Copy Content",
2102
2102
  copyDiagnostics: "Copy diagnostics",
2103
2103
  finishReasonLengthNotice: "Response was cut off at the model's output limit",
2104
+ retryProgress: "Auto-retrying {{attempt}}/{{maxAttempts}} \xB7 {{seconds}}s",
2104
2105
  copyFailed: "Copy failed",
2105
2106
  copySuccess: "Copied successfully",
2106
2107
  createDialog: "Create Dialog",
@@ -2462,6 +2463,7 @@ var chat_locale_default = {
2462
2463
  copyContent: "\u590D\u5236\u5185\u5BB9",
2463
2464
  copyDiagnostics: "\u590D\u5236\u8BCA\u65AD\u4FE1\u606F",
2464
2465
  finishReasonLengthNotice: "\u56DE\u7B54\u56E0\u8FBE\u5230\u6A21\u578B\u8F93\u51FA\u4E0A\u9650\u88AB\u622A\u65AD",
2466
+ retryProgress: "\u81EA\u52A8\u91CD\u8BD5 {{attempt}}/{{maxAttempts}} \xB7 {{seconds}}s",
2465
2467
  copyFailed: "\u590D\u5236\u5931\u8D25",
2466
2468
  copySuccess: "\u590D\u5236\u6210\u529F",
2467
2469
  createDialog: "\u521B\u5EFA\u5BF9\u8BDD",
@@ -2818,6 +2820,7 @@ var chat_locale_default = {
2818
2820
  copyContent: "\u8907\u88FD\u5167\u5BB9",
2819
2821
  copyDiagnostics: "\u8907\u88FD\u8A3A\u65B7\u8CC7\u8A0A",
2820
2822
  finishReasonLengthNotice: "\u56DE\u7B54\u56E0\u9054\u5230\u6A21\u578B\u8F38\u51FA\u4E0A\u9650\u88AB\u622A\u65B7",
2823
+ retryProgress: "\u81EA\u52D5\u91CD\u8A66 {{attempt}}/{{maxAttempts}} \xB7 {{seconds}}s",
2821
2824
  copyFailed: "\u8907\u88FD\u5931\u6557",
2822
2825
  copySuccess: "\u8907\u88FD\u6210\u529F",
2823
2826
  createDialog: "\u5275\u5EFA\u5C0D\u8A71",
@@ -3102,6 +3105,7 @@ var chat_locale_default = {
3102
3105
  copyContent: "\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u30B3\u30D4\u30FC",
3103
3106
  copyDiagnostics: "\u8A3A\u65AD\u60C5\u5831\u3092\u30B3\u30D4\u30FC",
3104
3107
  finishReasonLengthNotice: "\u30E2\u30C7\u30EB\u306E\u51FA\u529B\u4E0A\u9650\u306B\u9054\u3057\u305F\u305F\u3081\u3001\u56DE\u7B54\u304C\u9014\u4E2D\u3067\u7D42\u4E86\u3057\u307E\u3057\u305F",
3108
+ retryProgress: "\u81EA\u52D5\u30EA\u30C8\u30E9\u30A4 {{attempt}}/{{maxAttempts}} \xB7 {{seconds}}s",
3105
3109
  copyFailed: "\u30B3\u30D4\u30FC\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
3106
3110
  copySuccess: "\u30B3\u30D4\u30FC\u306B\u6210\u529F\u3057\u307E\u3057\u305F",
3107
3111
  createDialog: "\u5BFE\u8A71\u3092\u4F5C\u6210",
@@ -14154,7 +14158,7 @@ async function deleteDialogsFunc(args, thunkApi) {
14154
14158
  const deletedDialogIds = [];
14155
14159
  const deletedDialogKeys = [];
14156
14160
  const failures = [];
14157
- const { deleteDialog } = await import("./dialogSlice-MS7OYWHW.js");
14161
+ const { deleteDialog } = await import("./dialogSlice-NNYBU35K.js");
14158
14162
  for (const target of targets) {
14159
14163
  try {
14160
14164
  await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
@@ -23506,7 +23510,7 @@ var executeToolRun = createAsyncThunk(
23506
23510
  if (!executionInput) {
23507
23511
  throw new Error(`ToolRun ${id} has no input to execute with.`);
23508
23512
  }
23509
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-5UKY65R3.js");
23513
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-M4USUF3R.js");
23510
23514
  const { executor } = findToolExecutor2(run.toolName);
23511
23515
  toolRunStarted({
23512
23516
  id: run.id,
@@ -23530,7 +23534,7 @@ var executeToolRun = createAsyncThunk(
23530
23534
  const latestState = thunkApi.getState();
23531
23535
  const userId = latestState.auth?.currentUser?.userId;
23532
23536
  if (userId) {
23533
- const { fetchUserSpaceMemberships } = await import("./spaceSlice-XLJ4DRG6.js");
23537
+ const { fetchUserSpaceMemberships } = await import("./spaceSlice-TEJDCU6A.js");
23534
23538
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
23535
23539
  }
23536
23540
  }
@@ -26013,7 +26017,7 @@ async function updateDocFunc(args, thunkApi) {
26013
26017
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
26014
26018
  };
26015
26019
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
26016
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-KYTKNGMU.js");
26020
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-DR22GGF3.js");
26017
26021
  if (getDocState().pageKey === id) {
26018
26022
  applyExternalDocUpdate({
26019
26023
  slateData: finalSlateData,
@@ -19,7 +19,7 @@ import {
19
19
  parseAgentRunEvent,
20
20
  t,
21
21
  toolLabel
22
- } from "./chunk-XJYXSTBK.js";
22
+ } from "./chunk-ZH62XNZE.js";
23
23
  import {
24
24
  getReadableCliDb
25
25
  } from "./chunk-W4NVOSFF.js";
@@ -48,7 +48,7 @@ import {
48
48
  formatStopRunCard,
49
49
  isAgentRunTerminalStatus,
50
50
  runShowsLogTail
51
- } from "./chunk-G2IQGDQZ.js";
51
+ } from "./chunk-D4NCEGGR.js";
52
52
  import {
53
53
  isGatewayHttpStatus
54
54
  } from "./chunk-RQSOAMPJ.js";
@@ -57,7 +57,7 @@ import {
57
57
  chooseMemoryOwners,
58
58
  loadMemoryCandidatesFromDb,
59
59
  resolveAgentMemoryPolicy
60
- } from "./chunk-R4L524UB.js";
60
+ } from "./chunk-BXXECNBU.js";
61
61
  import {
62
62
  parseExternalSkillMarkdown,
63
63
  parseSkillDocProtocol
@@ -66,7 +66,7 @@ import {
66
66
  API_REPORTED_COST_MULTIPLIER,
67
67
  normalizeUsage,
68
68
  parseUiAskChoiceContent
69
- } from "./chunk-CXM4IIUF.js";
69
+ } from "./chunk-4LXOVZ4W.js";
70
70
  import {
71
71
  buildSkillDiscoveryContextBlock
72
72
  } from "./chunk-AS3ZQ3O2.js";
@@ -5,10 +5,10 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-T26DWCH5.js";
8
+ } from "./chunk-47QUPRHO.js";
9
9
  import {
10
10
  performFetchRequest
11
- } from "./chunk-ZOQNJXMS.js";
11
+ } from "./chunk-XEWUC53Z.js";
12
12
  import {
13
13
  createSSEParser,
14
14
  createToolRunId,
@@ -19,7 +19,7 @@ import {
19
19
  toolRunSetPending,
20
20
  toolRunStarted,
21
21
  toolRunSucceeded
22
- } from "./chunk-G2IQGDQZ.js";
22
+ } from "./chunk-D4NCEGGR.js";
23
23
  import {
24
24
  getPublicImageAgentMode
25
25
  } from "./chunk-VIDPVFP3.js";
@@ -29,10 +29,10 @@ import {
29
29
  messageStreaming,
30
30
  selectCurrentSpaceId,
31
31
  updateToolMessage
32
- } from "./chunk-CXM4IIUF.js";
32
+ } from "./chunk-4LXOVZ4W.js";
33
33
  import {
34
34
  streamAgentChatTurn
35
- } from "./chunk-2OUI4TLC.js";
35
+ } from "./chunk-ZXQ52OY2.js";
36
36
  import {
37
37
  EMPTY_ASSISTANT_REPAIR_PROMPT
38
38
  } from "./chunk-RIF3XLXK.js";
@@ -1595,7 +1595,23 @@ var sendOpenAICompletionsRequest = async ({
1595
1595
  currentServer: selectCurrentServer(getState()),
1596
1596
  signal,
1597
1597
  token,
1598
- dialogId
1598
+ dialogId,
1599
+ onRetry: (info) => {
1600
+ dispatch(
1601
+ messageStreaming({
1602
+ id: messageId,
1603
+ dialogId,
1604
+ dbKey: msgKey,
1605
+ content: "",
1606
+ role: "assistant",
1607
+ agentKey: agentConfig.dbKey,
1608
+ cybotKey: agentConfig.dbKey,
1609
+ ...activeMessageMetadata ?? {},
1610
+ isStreaming: true,
1611
+ retryProgress: info
1612
+ })
1613
+ );
1614
+ }
1599
1615
  });
1600
1616
  logQuickChatPerfStage(quickChatPerfStartedAt, "openai-completions-fetch-response", {
1601
1617
  ok: response.ok,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-ZOQNJXMS.js";
4
+ } from "./chunk-XEWUC53Z.js";
5
5
 
6
6
  // packages/ai/agent/fetchAgentContexts.ts
7
7
  async function fetchAgentContexts(references, dispatch) {
@@ -6,7 +6,7 @@ import {
6
6
  clipMultilineText,
7
7
  fetchAndSerializeTable,
8
8
  waitForAbortableDelay
9
- } from "./chunk-G2IQGDQZ.js";
9
+ } from "./chunk-D4NCEGGR.js";
10
10
  import {
11
11
  createDrainExhaustedResponse,
12
12
  isCoreDrainingBody,
@@ -26,10 +26,10 @@ import {
26
26
  import {
27
27
  fetchAndCacheMessages,
28
28
  shouldUseServerProxy
29
- } from "./chunk-CXM4IIUF.js";
29
+ } from "./chunk-4LXOVZ4W.js";
30
30
  import {
31
31
  fetchServerSyncedCredential
32
- } from "./chunk-2OUI4TLC.js";
32
+ } from "./chunk-ZXQ52OY2.js";
33
33
  import {
34
34
  buildCurrentTimeBlock,
35
35
  buildIdentityBlock,
@@ -1530,7 +1530,8 @@ var waitForServerProxyRetry = async (retryAfterMs, signal) => {
1530
1530
  var performServerProxyFetchWithRetry = async ({
1531
1531
  execute,
1532
1532
  signal,
1533
- logPrefix = "[fetchWithServerProxy]"
1533
+ logPrefix = "[fetchWithServerProxy]",
1534
+ onRetry
1534
1535
  }) => {
1535
1536
  let networkRetries = 0;
1536
1537
  let statusRetries = 0;
@@ -1549,6 +1550,11 @@ var performServerProxyFetchWithRetry = async ({
1549
1550
  console.warn(
1550
1551
  `${logPrefix} \u68C0\u6D4B\u5230${response.status}\u72B6\u6001\uFF0C${retryAfterMs}ms\u540E\u91CD\u8BD5...`
1551
1552
  );
1553
+ onRetry?.({
1554
+ attempt: statusRetries,
1555
+ maxAttempts: maxStatusRetries,
1556
+ delayMs: retryAfterMs
1557
+ });
1552
1558
  await waitForServerProxyRetry(retryAfterMs, signal);
1553
1559
  continue;
1554
1560
  }
@@ -1565,6 +1571,11 @@ var performServerProxyFetchWithRetry = async ({
1565
1571
  `${logPrefix} \u68C0\u6D4B\u5230\u7F51\u7EDC\u77AC\u65AD\uFF0C${retryDelay}ms\u540E\u91CD\u8BD5(\u7B2C${networkRetries}\u6B21)...`,
1566
1572
  error
1567
1573
  );
1574
+ onRetry?.({
1575
+ attempt: networkRetries,
1576
+ maxAttempts: MAX_SERVER_PROXY_RETRIES,
1577
+ delayMs: retryDelay
1578
+ });
1568
1579
  await waitForServerProxyRetry(retryDelay, signal);
1569
1580
  continue;
1570
1581
  }
@@ -1668,12 +1679,14 @@ var fetchWithServerProxy = async ({
1668
1679
  agentConfig,
1669
1680
  token,
1670
1681
  signal,
1671
- dialogId
1682
+ dialogId,
1683
+ onRetry
1672
1684
  }) => {
1673
1685
  try {
1674
1686
  const payload = buildProxyPayload(bodyData, api, agentConfig, dialogId);
1675
1687
  return await performServerProxyFetchWithRetry({
1676
1688
  signal,
1689
+ onRetry,
1677
1690
  execute: () => fetch(`${currentServer}${API_ENDPOINTS.CHAT}`, {
1678
1691
  method: "POST",
1679
1692
  headers: {
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  inlineImageUrlsForCustomProvider,
23
23
  prepareTools
24
- } from "./chunk-T26DWCH5.js";
24
+ } from "./chunk-47QUPRHO.js";
25
25
  import {
26
26
  getAntigravityUserAgent,
27
27
  isAntigravityOAuthAgent,
@@ -50,7 +50,7 @@ import {
50
50
  rememberMemoryFunctionSchema,
51
51
  resolveEffectiveEnabledPacks,
52
52
  resolveRunLabel
53
- } from "./chunk-G2IQGDQZ.js";
53
+ } from "./chunk-D4NCEGGR.js";
54
54
  import {
55
55
  createDrainExhaustedResponse,
56
56
  isCoreDrainingBody,
@@ -62,13 +62,13 @@ import {
62
62
  } from "./chunk-OWOHNGCN.js";
63
63
  import {
64
64
  prepareTokenUsageData
65
- } from "./chunk-CXM4IIUF.js";
65
+ } from "./chunk-4LXOVZ4W.js";
66
66
  import {
67
67
  BUILTIN_TITLE_LLM_CONFIG
68
68
  } from "./chunk-XOIF2TNF.js";
69
69
  import {
70
70
  fetchServerSyncedCredential
71
- } from "./chunk-2OUI4TLC.js";
71
+ } from "./chunk-ZXQ52OY2.js";
72
72
  import {
73
73
  buildAgentRuntimeDialogWritePlan,
74
74
  buildLocalWorkspaceOpenAiTools,
@@ -509,6 +509,10 @@ var STRINGS = {
509
509
  en: "selected",
510
510
  zh: "\u5DF2\u9009"
511
511
  },
512
+ dialogMultiSelectRequired: {
513
+ en: "Pick at least one option to submit",
514
+ zh: "\u81F3\u5C11\u9009\u62E9\u4E00\u9879\u624D\u80FD\u63D0\u4EA4"
515
+ },
512
516
  dialogConfirmHint: {
513
517
  en: "(\u2191\u2193 move \xB7 Enter choose \xB7 Esc cancel)",
514
518
  zh: "\uFF08\u2191\u2193 \u79FB\u52A8 \xB7 Enter \u9009\u62E9 \xB7 Esc \u53D6\u6D88\uFF09"