nolo-cli 0.54.0-alpha.1 → 0.54.0-alpha.2

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 (111) hide show
  1. package/{_executeModel-IVEOJ7L6.js → _executeModel-ANY4SIAS.js} +35 -36
  2. package/{action-IU6ON7ZB.js → action-Q4W5JPI5.js} +7 -7
  3. package/{addContentAction-5V5CCI3I.js → addContentAction-O25HFR37.js} +6 -6
  4. package/{addDialogAgentAction-KF3KZZNZ.js → addDialogAgentAction-GH7AUPPB.js} +5 -5
  5. package/{agentDeleteCommand-D7AFLKQN.js → agentDeleteCommand-JWIKNWWI.js} +17 -17
  6. package/{agentEmailCommands-MXFZGF54.js → agentEmailCommands-PL22BEU5.js} +40 -41
  7. package/{agentListCommands-MP732Q23.js → agentListCommands-6NR7AQEK.js} +19 -19
  8. package/{agentMachineCommands-352JFJX4.js → agentMachineCommands-TASPU6OA.js} +18 -18
  9. package/{agentRecordCommands-G6EFHU3G.js → agentRecordCommands-Z64TA63M.js} +39 -40
  10. package/{agentRunCommand-UUWJMH7J.js → agentRunCommand-4QJQLPRW.js} +40 -41
  11. package/{agentRuntimeLocal-KWBPJ53H.js → agentRuntimeLocal-PCJJ56J2.js} +17 -17
  12. package/{agentSlice-V742SNKC.js → agentSlice-KYLDUSNN.js} +6 -6
  13. package/{appDeleteCommands-GV4TF52A.js → appDeleteCommands-WLHMJAVT.js} +19 -19
  14. package/{appDeployCommands-EZMUPNSW.js → appDeployCommands-CKON7N2E.js} +19 -19
  15. package/{appDeployStatusCommands-AAGELKAN.js → appDeployStatusCommands-PXRLDASH.js} +19 -19
  16. package/{appGetCommands-W37KDAON.js → appGetCommands-RAB5RM4M.js} +19 -19
  17. package/{appListCommands-IFDWBBNV.js → appListCommands-GU57FB62.js} +19 -19
  18. package/{authCommand-5HM57KPL.js → authCommand-QOPOEYEK.js} +7 -7
  19. package/{chatQueueReduxAdapter-ZXXP6E4O.js → chatQueueReduxAdapter-5O2WLITN.js} +17 -17
  20. package/chunk-2BWU4ORW.js +2574 -0
  21. package/{chunk-SG65C33A.js → chunk-32I5RVMY.js} +4 -4
  22. package/{chunk-X7S7OFUX.js → chunk-3QJTD6DO.js} +4 -4
  23. package/{chunk-ALMVQQPG.js → chunk-3Z3DXZBD.js} +12 -12
  24. package/{chunk-RO2IUWZE.js → chunk-4NN3EK7H.js} +1 -1
  25. package/{chunk-WJV3G7BM.js → chunk-56W233KG.js} +1 -1
  26. package/{chunk-GBXR3CSM.js → chunk-5WADL4O7.js} +1 -1
  27. package/{chunk-J4Z6UI4C.js → chunk-6BGAQ3KR.js} +20 -15
  28. package/{chunk-R63FNYSI.js → chunk-6FQ2552G.js} +66 -28
  29. package/{chunk-6XIE5ZGI.js → chunk-6HIGYUBQ.js} +1 -1
  30. package/{chunk-MC66ASS6.js → chunk-6SZ52ORL.js} +8 -8
  31. package/{chunk-CULR4XB4.js → chunk-757BGY6Y.js} +1 -1
  32. package/{chunk-SQTVMYMU.js → chunk-7APQB6R6.js} +3 -3
  33. package/{chunk-RBJD33HM.js → chunk-7K5VMB4Q.js} +3 -3
  34. package/{chunk-V2IPBG5U.js → chunk-AA564GBL.js} +2 -2
  35. package/{chunk-76UA7376.js → chunk-AV6KQCM5.js} +6 -6
  36. package/{chunk-BKPUPZ6W.js → chunk-BJLYCOZK.js} +25 -25
  37. package/{chunk-2T6XO4PK.js → chunk-CVT7L2WZ.js} +1 -1
  38. package/{chunk-XXZULHJ7.js → chunk-D3JQPONH.js} +1 -1
  39. package/{chunk-M2CGG6VJ.js → chunk-EVBFYPDC.js} +1 -1
  40. package/{chunk-KHCLMKZZ.js → chunk-EY7V7REW.js} +280 -6
  41. package/{chunk-4RXXP6WD.js → chunk-FGEYVPPR.js} +2 -2
  42. package/{chunk-ZMV5PCRS.js → chunk-GBADO3SM.js} +1 -1
  43. package/chunk-GLGD2JGY.js +1766 -0
  44. package/{chunk-W6N3GLUU.js → chunk-GV35EHNA.js} +81 -69
  45. package/{chunk-HR5XDXYM.js → chunk-H4RYESI6.js} +3 -3
  46. package/{chunk-FZMM2KZC.js → chunk-IKTHA3JH.js} +2 -2
  47. package/{chunk-WUMYQ2FE.js → chunk-INXBNYCG.js} +3 -3
  48. package/{chunk-PTHLNXGY.js → chunk-KUUTWU4I.js} +3 -3
  49. package/{chunk-RVHPY5PC.js → chunk-LA4IDAK7.js} +12 -12
  50. package/{chunk-OU7NGN5Y.js → chunk-LN3OQJGG.js} +1 -1
  51. package/{chunk-YZ2WE6CW.js → chunk-MFI4FGHX.js} +2 -2
  52. package/{chunk-LGUQHYAL.js → chunk-O5FLGN2L.js} +3 -2
  53. package/{chunk-HCBQVVFZ.js → chunk-PAHILFNT.js} +1 -1
  54. package/{chunk-HHBXCRJS.js → chunk-PYKV6FSC.js} +1 -1
  55. package/{chunk-7UFH6THF.js → chunk-QDHZCAH3.js} +1 -1
  56. package/{chunk-L3JWI7WX.js → chunk-QOKAKDPE.js} +15 -11
  57. package/{chunk-B54WOZ77.js → chunk-RTLJUGQH.js} +1 -1
  58. package/{chunk-YFHUQLJF.js → chunk-RU5D3B22.js} +1 -1
  59. package/{chunk-5Y5G76BJ.js → chunk-SP3DPVBH.js} +2 -2
  60. package/{chunk-5SXS7T5Q.js → chunk-TI5BCZCH.js} +18 -18
  61. package/{chunk-K7CNV7GI.js → chunk-U2A47SVI.js} +5 -5
  62. package/{chunk-45E65JER.js → chunk-U5Z7LFZF.js} +1 -1
  63. package/{chunk-DIQCV4FR.js → chunk-UITMHBVK.js} +1 -1
  64. package/{chunk-VM7K5EJL.js → chunk-UW4INMD2.js} +2 -2
  65. package/{chunk-SUFDWBLV.js → chunk-V4KZGLOI.js} +30 -30
  66. package/{chunk-ET7BXWAW.js → chunk-VRJUIUIY.js} +2 -2
  67. package/{chunk-5XCW6RQG.js → chunk-VRZIH5JO.js} +1 -1
  68. package/{chunk-2JYSSXLY.js → chunk-VULELK4T.js} +2 -2
  69. package/{chunk-J7KVJAUQ.js → chunk-WL3UOGYO.js} +0 -1
  70. package/{chunk-PEMGYJNS.js → chunk-Y7LNKP32.js} +3 -3
  71. package/{chunk-DMCFF4KE.js → chunk-YBV6QJKM.js} +14 -8
  72. package/{codingSkills-BYQI6EPT.js → codingSkills-BCQXRZOI.js} +3 -4
  73. package/{createAgentAutomationAction-LE3ZYDT6.js → createAgentAutomationAction-UJLNFFFC.js} +18 -18
  74. package/{createDialogAction-2C6SR62D.js → createDialogAction-TJCX6GUE.js} +21 -22
  75. package/{createPageAction-X4C7K3OD.js → createPageAction-N3IYABHV.js} +19 -20
  76. package/{dbSlice-FWF5F4L7.js → dbSlice-D5CNGWPD.js} +5 -5
  77. package/{deleteFile-NPZ64DFN.js → deleteFile-44TUM34Y.js} +3 -3
  78. package/{dialogCommands-CP2U44A7.js → dialogCommands-35M6RBAC.js} +18 -18
  79. package/{dialogSlice-2SH5636X.js → dialogSlice-KO7ADD7H.js} +17 -17
  80. package/{docCreateCommands-A2KIJSF7.js → docCreateCommands-VXHZWQ3P.js} +20 -21
  81. package/{docDeleteCommands-NZ7XO4Z4.js → docDeleteCommands-4WFAJR6A.js} +20 -21
  82. package/{docReadCommands-VWVK4ZAR.js → docReadCommands-OYREEFAR.js} +20 -21
  83. package/{docStore-J6GQYKHS.js → docStore-5BU76DFK.js} +19 -19
  84. package/{docUpdateCommands-YTUEC6PN.js → docUpdateCommands-A7QERSME.js} +20 -21
  85. package/{getPricing-I53UFOPH.js → getPricing-HAU62AFM.js} +3 -3
  86. package/{handleSendMessageAction-MD325XZS.js → handleSendMessageAction-OSGQJQ45.js} +17 -17
  87. package/index.js +58 -58
  88. package/{machineCommands-TCNZV2DC.js → machineCommands-J43U3TX5.js} +39 -40
  89. package/{machineWsRunDispatch-QSX5IWPH.js → machineWsRunDispatch-Z2Z6STXZ.js} +39 -40
  90. package/{models-E2CYP4IB.js → models-4QF4BJVY.js} +2 -2
  91. package/package.json +2 -3
  92. package/{read-J7RVVCHH.js → read-RGNPI5H2.js} +3 -3
  93. package/{readDocTool-G2WBM4IH.js → readDocTool-6ESWKTXD.js} +1 -1
  94. package/{readlineWorkspace-N3RGX7EK.js → readlineWorkspace-YRPV6JPN.js} +462 -235
  95. package/{removeDialogAgentAction-RMPISD42.js → removeDialogAgentAction-JYT73FU2.js} +7 -7
  96. package/{runAgentClientLoop-R3NTOERA.js → runAgentClientLoop-5YM5WMAY.js} +33 -34
  97. package/{setDialogExtraReferencesAction-7BUTHDAL.js → setDialogExtraReferencesAction-D564LMYQ.js} +6 -6
  98. package/{setPrimaryDialogAgentAction-WCYIBGZ4.js → setPrimaryDialogAgentAction-ACY3BLYA.js} +7 -7
  99. package/{settingSlice-7NN2MI6Y.js → settingSlice-MKI3MNZJ.js} +6 -6
  100. package/{skillDiscovery-COX56OBO.js → skillDiscovery-GPUDHDTZ.js} +1 -2
  101. package/{spaceCommands-RC7XMYQ7.js → spaceCommands-MY26V52L.js} +17 -17
  102. package/{spaceSlice-KBVKKO3M.js → spaceSlice-JUIXC365.js} +18 -18
  103. package/{streamAgentChatTurn-WLWEBWSF.js → streamAgentChatTurn-XV5X5TNQ.js} +37 -38
  104. package/{switchDialogAgentAction-WGMMQHDI.js → switchDialogAgentAction-CJ5H6SAR.js} +5 -5
  105. package/{tableCommands-P2TXJ3CF.js → tableCommands-R6WFRDYF.js} +1 -1
  106. package/{tools-LSLDSUWU.js → tools-MIMELA2Y.js} +28 -29
  107. package/{tuiSummaryLlmCaller-TPBL4BV2.js → tuiSummaryLlmCaller-XJ5BKNNS.js} +13 -13
  108. package/{updateDialogTitleAction-4HJEARM7.js → updateDialogTitleAction-EIZUSWHR.js} +18 -18
  109. package/chunk-AETZ7AD6.js +0 -274
  110. package/chunk-EUG45QJR.js +0 -6104
  111. package/chunk-OFZPJ3NT.js +0 -114
@@ -20,12 +20,6 @@ var isDevelopment = !isProduction;
20
20
  var getIsDesktopApp = () => (typeof process !== "undefined" ? process.env?.NOLO_DESKTOP : processEnv?.NOLO_DESKTOP) === "1" || typeof window !== "undefined" && window.__NOLO_DESKTOP__ === true;
21
21
  var isDesktopApp = getIsDesktopApp();
22
22
 
23
- // packages/core/abortError.ts
24
- function isAbortError(error) {
25
- if (!error || typeof error !== "object") return false;
26
- return error.name === "AbortError";
27
- }
28
-
29
23
  // packages/core/clientLogger.ts
30
24
  var LOG_LEVELS = {
31
25
  debug: 10,
@@ -51,12 +45,16 @@ var serializeValue = (value, seen = /* @__PURE__ */ new WeakSet()) => {
51
45
  return "[Circular]";
52
46
  }
53
47
  seen.add(value);
54
- if (Array.isArray(value)) {
55
- return value.map((item) => serializeValue(item, seen));
48
+ try {
49
+ if (Array.isArray(value)) {
50
+ return value.map((item) => serializeValue(item, seen));
51
+ }
52
+ return Object.fromEntries(
53
+ Object.entries(value).map(([key, item]) => [key, serializeValue(item, seen)])
54
+ );
55
+ } finally {
56
+ seen.delete(value);
56
57
  }
57
- return Object.fromEntries(
58
- Object.entries(value).map(([key, item]) => [key, serializeValue(item, seen)])
59
- );
60
58
  };
61
59
  var getLogLevel = () => {
62
60
  const configured = typeof process !== "undefined" && typeof process.env?.NOLO_LOG_LEVEL === "string" ? process.env.NOLO_LOG_LEVEL : "info";
@@ -107,6 +105,12 @@ var createClientLogger = (name, parentFields = {}) => {
107
105
  };
108
106
  };
109
107
 
108
+ // packages/core/abortError.ts
109
+ function isAbortError(error) {
110
+ if (!error || typeof error !== "object") return false;
111
+ return error.name === "AbortError";
112
+ }
113
+
110
114
  // packages/app/utils/retryFetch.ts
111
115
  var TRANSIENT_READ_RETRY_STATUSES = /* @__PURE__ */ new Set([502, 503, 504]);
112
116
  var DEFAULT_RETRY_DELAYS_MS = [300, 1e3];
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-A7GB5UGH.js";
14
14
  import {
15
15
  createSpaceKey
16
- } from "./chunk-4RXXP6WD.js";
16
+ } from "./chunk-FGEYVPPR.js";
17
17
  import {
18
18
  asTrimmedLowercaseString
19
19
  } from "./chunk-QSJ3HFEF.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-TNPCQNGQ.js";
7
7
  import {
8
8
  getModelAbility
9
- } from "./chunk-WJV3G7BM.js";
9
+ } from "./chunk-56W233KG.js";
10
10
  import {
11
11
  isOwnedAgentKey,
12
12
  ownedAgentKey,
@@ -3,12 +3,12 @@ import {
3
3
  resolvePlatformChatCompletionsEndpoint,
4
4
  resolvePlatformHostedCredentialProvider,
5
5
  resolvePlatformResponsesEndpoint
6
- } from "./chunk-ET7BXWAW.js";
6
+ } from "./chunk-VRJUIUIY.js";
7
7
  import {
8
8
  CLIENT_VERSION_TOO_OLD_CODE,
9
9
  buildClientVersionGateErrorDetail,
10
10
  evaluatePlatformHostedClientVersionGate
11
- } from "./chunk-J7KVJAUQ.js";
11
+ } from "./chunk-WL3UOGYO.js";
12
12
  import {
13
13
  asTrimmedLowercaseString
14
14
  } from "./chunk-QSJ3HFEF.js";
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
6
6
  isAntigravityOAuthAgent
7
- } from "./chunk-CULR4XB4.js";
7
+ } from "./chunk-757BGY6Y.js";
8
8
  import {
9
9
  clipMultilineText,
10
10
  fetchAndSerializeTable,
11
11
  resolveBuiltinSkillPage,
12
12
  waitForAbortableDelay
13
- } from "./chunk-SUFDWBLV.js";
13
+ } from "./chunk-V4KZGLOI.js";
14
14
  import {
15
15
  isGatewayHttpStatus
16
16
  } from "./chunk-NF64D32W.js";
@@ -22,31 +22,31 @@ import {
22
22
  } from "./chunk-3L2WKC3W.js";
23
23
  import {
24
24
  slateToSimplifiedMarkdown
25
- } from "./chunk-5XCW6RQG.js";
25
+ } from "./chunk-VRZIH5JO.js";
26
26
  import {
27
27
  extractCategorizedMentions
28
28
  } from "./chunk-MEYIRKDN.js";
29
29
  import {
30
30
  fetchAndCacheMessages
31
- } from "./chunk-BKPUPZ6W.js";
31
+ } from "./chunk-BJLYCOZK.js";
32
32
  import {
33
33
  shouldUseServerProxy
34
34
  } from "./chunk-YYLHWIW6.js";
35
35
  import {
36
36
  fetchServerSyncedCredential
37
- } from "./chunk-K7CNV7GI.js";
37
+ } from "./chunk-U2A47SVI.js";
38
38
  import {
39
39
  buildSkillGuidancePromptBlock,
40
40
  extractRuntimePageCapabilities,
41
41
  resolveSkillGraphFromRoots
42
- } from "./chunk-V2IPBG5U.js";
42
+ } from "./chunk-AA564GBL.js";
43
43
  import {
44
44
  buildCurrentTimeBlock,
45
45
  buildIdentityBlock,
46
46
  buildRuntimeGuidanceBlocks,
47
47
  normalizeChatCompletionsBodyForProvider,
48
48
  resolveToolGuidedSections
49
- } from "./chunk-DMCFF4KE.js";
49
+ } from "./chunk-YBV6QJKM.js";
50
50
  import {
51
51
  convertMessagesToResponsesInput,
52
52
  getUsageRequestOptions,
@@ -54,15 +54,15 @@ import {
54
54
  } from "./chunk-6BYAXNH5.js";
55
55
  import {
56
56
  buildProviderAuthHeaders
57
- } from "./chunk-5Y5G76BJ.js";
57
+ } from "./chunk-SP3DPVBH.js";
58
58
  import {
59
59
  estimateTokenCount
60
- } from "./chunk-HR5XDXYM.js";
60
+ } from "./chunk-H4RYESI6.js";
61
61
  import {
62
62
  isOpenAiResponsesModel,
63
63
  resolvePlatformChatCompletionsEndpoint,
64
64
  resolvePlatformResponsesEndpoint
65
- } from "./chunk-ET7BXWAW.js";
65
+ } from "./chunk-VRJUIUIY.js";
66
66
  import {
67
67
  createFileCredentialBroker
68
68
  } from "./chunk-NQ4N4IGO.js";
@@ -70,7 +70,7 @@ import {
70
70
  clampReasoningEffort,
71
71
  getModelConfig,
72
72
  isModelSupportReasoningEffort
73
- } from "./chunk-7UFH6THF.js";
73
+ } from "./chunk-QDHZCAH3.js";
74
74
  import {
75
75
  toErrorMessage
76
76
  } from "./chunk-HNMXYYJR.js";
@@ -86,13 +86,13 @@ import {
86
86
  isDeepInfraKimiModel,
87
87
  isFireworksKimiModel,
88
88
  resolveFireworksKimiModel
89
- } from "./chunk-J7KVJAUQ.js";
89
+ } from "./chunk-WL3UOGYO.js";
90
90
  import {
91
91
  createSpaceKey
92
- } from "./chunk-4RXXP6WD.js";
92
+ } from "./chunk-FGEYVPPR.js";
93
93
  import {
94
94
  read
95
- } from "./chunk-76UA7376.js";
95
+ } from "./chunk-AV6KQCM5.js";
96
96
  import {
97
97
  asTrimmedLowercaseString
98
98
  } from "./chunk-QSJ3HFEF.js";
@@ -101,10 +101,10 @@ import {
101
101
  } from "./chunk-BJIRLHJR.js";
102
102
  import {
103
103
  getRuntimeServerContext
104
- } from "./chunk-HHBXCRJS.js";
104
+ } from "./chunk-PYKV6FSC.js";
105
105
  import {
106
106
  isAbortError
107
- } from "./chunk-L3JWI7WX.js";
107
+ } from "./chunk-QOKAKDPE.js";
108
108
  import {
109
109
  isRecord
110
110
  } from "./chunk-KUG52IAP.js";
@@ -473,8 +473,8 @@ function resolveAgentCallPlan(agentConfig, _env) {
473
473
  model: agentConfig.model,
474
474
  endpointKey: agentConfig.endpointKey
475
475
  });
476
- const upstreamWire = useResponses ? "responses" : "chat.completions";
477
- const endpoint = useResponses ? resolvePlatformResponsesEndpoint(provider) ?? "" : resolvePlatformChatCompletionsEndpoint(provider, agentConfig.model) ?? "";
476
+ const upstreamWire = provider === "nolo" && agentConfig.model === "deepseek-v4-pro" ? "chat.completions" : useResponses ? "responses" : "chat.completions";
477
+ const endpoint = upstreamWire === "responses" ? resolvePlatformResponsesEndpoint(provider) ?? "" : resolvePlatformChatCompletionsEndpoint(provider, agentConfig.model) ?? "";
478
478
  return {
479
479
  authMethod: { kind: "platform-key" },
480
480
  transport,
@@ -11,7 +11,7 @@ import {
11
11
  patch,
12
12
  remove,
13
13
  write
14
- } from "./chunk-76UA7376.js";
14
+ } from "./chunk-AV6KQCM5.js";
15
15
  import {
16
16
  createAgentKey,
17
17
  toTrimmedString
@@ -20,7 +20,7 @@ import {
20
20
  asyncThunkCreator,
21
21
  buildCreateSlice,
22
22
  getRuntimeServerContext
23
- } from "./chunk-HHBXCRJS.js";
23
+ } from "./chunk-PYKV6FSC.js";
24
24
  import {
25
25
  asTrimmedString
26
26
  } from "./chunk-3EUW3WEO.js";
@@ -304,7 +304,7 @@ var slice = createSliceWithThunks({
304
304
  const overrides = {};
305
305
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
306
306
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
307
- const { _executeModel } = await import("./_executeModel-IVEOJ7L6.js");
307
+ const { _executeModel } = await import("./_executeModel-ANY4SIAS.js");
308
308
  return _executeModel(
309
309
  {
310
310
  isStreaming: args.isStreaming ?? false,
@@ -325,7 +325,7 @@ var slice = createSliceWithThunks({
325
325
  * - 循环直到无工具调用或触发其他运行时停止条件
326
326
  */
327
327
  runAgent: create.asyncThunk(async (args, thunkApi) => {
328
- const { runAgentClientLoop } = await import("./runAgentClientLoop-R3NTOERA.js");
328
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-5YM5WMAY.js");
329
329
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
330
330
  {
331
331
  agentKey: args.agentKey,
@@ -341,7 +341,7 @@ var slice = createSliceWithThunks({
341
341
  * 聊天轮次流式 Agent 调用
342
342
  */
343
343
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
344
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-WLWEBWSF.js");
344
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-XV5X5TNQ.js");
345
345
  return streamAgentChatTurnHandler(args, thunkApi);
346
346
  }),
347
347
  /**
@@ -11,7 +11,7 @@ import {
11
11
  getAntigravityUserAgent,
12
12
  normalizeAntigravityTokenPayload,
13
13
  refreshAntigravityToken
14
- } from "./chunk-CULR4XB4.js";
14
+ } from "./chunk-757BGY6Y.js";
15
15
  import {
16
16
  writeOAuthCredential
17
17
  } from "./chunk-FD36SCCD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-B54WOZ77.js";
3
+ } from "./chunk-RTLJUGQH.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  i18n_default,
3
3
  toolRegistry
4
- } from "./chunk-SUFDWBLV.js";
4
+ } from "./chunk-V4KZGLOI.js";
5
5
  import {
6
6
  canonicalizeToolNames
7
7
  } from "./chunk-O6OSWFZQ.js";
8
8
  import {
9
9
  isNoloHostedProvider
10
- } from "./chunk-J7KVJAUQ.js";
10
+ } from "./chunk-WL3UOGYO.js";
11
11
  import {
12
12
  asTrimmedLowercaseString
13
13
  } from "./chunk-QSJ3HFEF.js";
@@ -17,7 +17,7 @@ import {
17
17
  toCompactAgentSummary,
18
18
  toSafeAgentSummary,
19
19
  toUnavailableAgentSummary
20
- } from "./chunk-YFHUQLJF.js";
20
+ } from "./chunk-RU5D3B22.js";
21
21
  import {
22
22
  getUserDataItemTimestamp,
23
23
  mergeAndDedupUserData
@@ -28,7 +28,7 @@ import {
28
28
  readPageFunc,
29
29
  readPageFunctionSchema,
30
30
  slateToSimplifiedMarkdown
31
- } from "./chunk-5XCW6RQG.js";
31
+ } from "./chunk-VRZIH5JO.js";
32
32
  import {
33
33
  TASK_PREVIEW_MAX,
34
34
  buildDelegatedTaskContent,
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-INZZJSQF.js";
44
44
  import {
45
45
  createDocState
46
- } from "./chunk-PEMGYJNS.js";
46
+ } from "./chunk-Y7LNKP32.js";
47
47
  import {
48
48
  ToolApiError,
49
49
  buildToolRequestHeaders,
@@ -54,7 +54,7 @@ import {
54
54
  } from "./chunk-BANYWEYY.js";
55
55
  import {
56
56
  setDialogExtraReferencesAction
57
- } from "./chunk-HCBQVVFZ.js";
57
+ } from "./chunk-PAHILFNT.js";
58
58
  import {
59
59
  extractMentionsFromSlate
60
60
  } from "./chunk-MEYIRKDN.js";
@@ -70,7 +70,7 @@ import {
70
70
  buildBuiltinObjectSkillDbKey,
71
71
  buildBuiltinObjectSkillPageContent,
72
72
  createDialogAction
73
- } from "./chunk-MC66ASS6.js";
73
+ } from "./chunk-6SZ52ORL.js";
74
74
  import {
75
75
  addCategory,
76
76
  addContentToSpace,
@@ -90,7 +90,7 @@ import {
90
90
  loadTableRows,
91
91
  updateContentCategory,
92
92
  updateContentTitle
93
- } from "./chunk-RVHPY5PC.js";
93
+ } from "./chunk-LA4IDAK7.js";
94
94
  import {
95
95
  normalizeAppRouteId,
96
96
  resolveDialogRuntimeAgentKey,
@@ -100,13 +100,13 @@ import {
100
100
  selectMsgById,
101
101
  uiAskChoiceFunc,
102
102
  uiAskChoiceFunctionSchema
103
- } from "./chunk-BKPUPZ6W.js";
103
+ } from "./chunk-BJLYCOZK.js";
104
104
  import {
105
105
  createAgent,
106
106
  runLlm,
107
107
  streamAgentChatTurn,
108
108
  updateAgent
109
- } from "./chunk-K7CNV7GI.js";
109
+ } from "./chunk-U2A47SVI.js";
110
110
  import {
111
111
  getActiveDialogKey,
112
112
  require_react,
@@ -119,10 +119,10 @@ import {
119
119
  buildCodingSkillContentBySlug,
120
120
  buildCodingSkillId,
121
121
  buildCodingSkillPageKey
122
- } from "./chunk-V2IPBG5U.js";
122
+ } from "./chunk-AA564GBL.js";
123
123
  import {
124
124
  CAPABILITY_PACKS
125
- } from "./chunk-LGUQHYAL.js";
125
+ } from "./chunk-O5FLGN2L.js";
126
126
  import {
127
127
  buildSkillDocMarkdown,
128
128
  normalizeSkillModalities,
@@ -130,7 +130,7 @@ import {
130
130
  parseExternalSkillMarkdown,
131
131
  parseSkillDocProtocol,
132
132
  resolvePageSkillMetadata
133
- } from "./chunk-AETZ7AD6.js";
133
+ } from "./chunk-EY7V7REW.js";
134
134
  import {
135
135
  NOLO_WORKSPACE_TOOL_NAMES,
136
136
  buildAgentRuntimeAgentLookupKeys,
@@ -151,10 +151,10 @@ import {
151
151
  } from "./chunk-IWUMSAQF.js";
152
152
  import {
153
153
  buildDatabaseFileContentUrl
154
- } from "./chunk-HR5XDXYM.js";
154
+ } from "./chunk-H4RYESI6.js";
155
155
  import {
156
156
  DEFAULT_MODEL
157
- } from "./chunk-7UFH6THF.js";
157
+ } from "./chunk-QDHZCAH3.js";
158
158
  import {
159
159
  compactWhitespace
160
160
  } from "./chunk-DWLEOOGR.js";
@@ -167,7 +167,7 @@ import {
167
167
  } from "./chunk-O6OSWFZQ.js";
168
168
  import {
169
169
  shareResourceAction
170
- } from "./chunk-SQTVMYMU.js";
170
+ } from "./chunk-7APQB6R6.js";
171
171
  import {
172
172
  AGENT_UPDATE_FIELD_NAMES,
173
173
  nolotusId,
@@ -175,7 +175,7 @@ import {
175
175
  selectAutoApproveSelfUpdateFields,
176
176
  selectCurrentServer,
177
177
  selectSyncServers
178
- } from "./chunk-X7S7OFUX.js";
178
+ } from "./chunk-3QJTD6DO.js";
179
179
  import {
180
180
  asRecordOrEmpty
181
181
  } from "./chunk-KX6YBIHG.js";
@@ -183,7 +183,7 @@ import {
183
183
  addContentAction,
184
184
  createSpaceKey,
185
185
  normalizeSpaceId
186
- } from "./chunk-4RXXP6WD.js";
186
+ } from "./chunk-FGEYVPPR.js";
187
187
  import {
188
188
  patch,
189
189
  read,
@@ -192,7 +192,7 @@ import {
192
192
  selectById,
193
193
  toTimestampMs,
194
194
  write
195
- } from "./chunk-76UA7376.js";
195
+ } from "./chunk-AV6KQCM5.js";
196
196
  import {
197
197
  SEPARATOR,
198
198
  createAgentKey,
@@ -218,7 +218,7 @@ import {
218
218
  import {
219
219
  DEFAULT_CODE_PLANNER_EXECUTOR_CANDIDATE_KEYS,
220
220
  readAction
221
- } from "./chunk-2JYSSXLY.js";
221
+ } from "./chunk-VULELK4T.js";
222
222
  import {
223
223
  extractCustomId
224
224
  } from "./chunk-BJIRLHJR.js";
@@ -230,10 +230,10 @@ import {
230
230
  selectIdentityUserBalance,
231
231
  selectIdentityUserId,
232
232
  selectRuntimeSnapshot
233
- } from "./chunk-HHBXCRJS.js";
233
+ } from "./chunk-PYKV6FSC.js";
234
234
  import {
235
235
  isAbortError
236
- } from "./chunk-L3JWI7WX.js";
236
+ } from "./chunk-QOKAKDPE.js";
237
237
  import {
238
238
  isRecord
239
239
  } from "./chunk-KUG52IAP.js";
@@ -11830,7 +11830,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
11830
11830
  workspace: { mode: "lease" }
11831
11831
  };
11832
11832
  var findModelConfig = async (modelName, provider) => {
11833
- const { ALL_MODELS } = await import("./models-E2CYP4IB.js");
11833
+ const { ALL_MODELS } = await import("./models-4QF4BJVY.js");
11834
11834
  const name = toTrimmedString(modelName);
11835
11835
  const prov = toTrimmedString(provider ?? "");
11836
11836
  if (!name) return null;
@@ -12071,7 +12071,7 @@ var buildFormDataFromArgs = async (args) => {
12071
12071
  const trimmedModel = toTrimmedString(model);
12072
12072
  const trimmedProvider = toTrimmedString(provider);
12073
12073
  const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
12074
- const { getModelPricing } = await import("./getPricing-I53UFOPH.js");
12074
+ const { getModelPricing } = await import("./getPricing-HAU62AFM.js");
12075
12075
  const normalizedTools = tools ?? [];
12076
12076
  const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
12077
12077
  const formData = {
@@ -15385,7 +15385,7 @@ async function deleteDialogsFunc(args, thunkApi) {
15385
15385
  const deletedDialogIds = [];
15386
15386
  const deletedDialogKeys = [];
15387
15387
  const failures = [];
15388
- const { deleteDialog } = await import("./dialogSlice-2SH5636X.js");
15388
+ const { deleteDialog } = await import("./dialogSlice-KO7ADD7H.js");
15389
15389
  for (const target of targets) {
15390
15390
  try {
15391
15391
  await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
@@ -15680,7 +15680,7 @@ var readSkillDocFunctionSchema = {
15680
15680
  }
15681
15681
  };
15682
15682
  async function readSkillDocFunc(args, thunkApi) {
15683
- const { buildReadDocResult } = await import("./readDocTool-G2WBM4IH.js");
15683
+ const { buildReadDocResult } = await import("./readDocTool-6ESWKTXD.js");
15684
15684
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
15685
15685
  if (typeof id !== "string" || !id.trim()) {
15686
15686
  throw new Error("readSkillDoc requires id or doc.");
@@ -21135,7 +21135,7 @@ var selectUserIdFromState = (state) => typeof state?.auth?.currentUser?.userId =
21135
21135
  var selectCurrentServerFromState = (state) => typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : null;
21136
21136
  async function addImageContentToSpace(input) {
21137
21137
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
21138
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-5V5CCI3I.js")).addContentAction;
21138
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-O25HFR37.js")).addContentAction;
21139
21139
  await addContentAction2(
21140
21140
  {
21141
21141
  spaceId: input.spaceId,
@@ -24957,7 +24957,7 @@ var executeToolRun = createAsyncThunk(
24957
24957
  if (!executionInput) {
24958
24958
  throw new Error(`ToolRun ${id} has no input to execute with.`);
24959
24959
  }
24960
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-LSLDSUWU.js");
24960
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-MIMELA2Y.js");
24961
24961
  const { executor } = findToolExecutor2(run.toolName);
24962
24962
  toolRunStarted({
24963
24963
  id: run.id,
@@ -24981,7 +24981,7 @@ var executeToolRun = createAsyncThunk(
24981
24981
  const latestState = thunkApi.getState();
24982
24982
  const userId = latestState.auth?.currentUser?.userId;
24983
24983
  if (userId) {
24984
- const { fetchUserSpaceMemberships } = await import("./spaceSlice-KBVKKO3M.js");
24984
+ const { fetchUserSpaceMemberships } = await import("./spaceSlice-JUIXC365.js");
24985
24985
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
24986
24986
  }
24987
24987
  }
@@ -27464,7 +27464,7 @@ async function updateDocFunc(args, thunkApi) {
27464
27464
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
27465
27465
  };
27466
27466
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
27467
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-J6GQYKHS.js");
27467
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-5BU76DFK.js");
27468
27468
  if (getDocState().pageKey === id) {
27469
27469
  applyExternalDocUpdate({
27470
27470
  slateData: finalSlateData,
@@ -27489,7 +27489,7 @@ async function updateDocFunc(args, thunkApi) {
27489
27489
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
27490
27490
  async function dispatchSetSettings(thunkApi, changes) {
27491
27491
  const injectedSetSettings = thunkApi?.extra?.setSettings;
27492
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-7NN2MI6Y.js")).setSettings;
27492
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-MKI3MNZJ.js")).setSettings;
27493
27493
  await thunkApi.dispatch(setSettings(changes)).unwrap();
27494
27494
  }
27495
27495
  var updateUserPreferenceProfileFunctionSchema = {
@@ -28087,7 +28087,7 @@ var baseToolDefinitions = [
28087
28087
  executor: uiAskChoiceFunc,
28088
28088
  description: {
28089
28089
  name: "ask_user",
28090
- description: "\u5411\u7528\u6237\u63D0\u51FA\u4E00\u4E2A\u5E26\u591A\u4E2A\u9009\u9879\u7684\u95EE\u9898\uFF0C\u8BA9\u754C\u9762\u5C55\u793A\u6309\u94AE\u4F9B\u7528\u6237\u9009\u62E9\u3002",
28090
+ description: "\u5411\u7528\u6237\u63D0\u51FA\u5E26\u9009\u9879\u7684\u95EE\u9898\uFF0C\u8BA9\u754C\u9762\u5C55\u793A\u6309\u94AE\u4F9B\u9009\u62E9\u3002\u4EC5\u5728\u9009\u9879\u771F\u6B63\u4E92\u65A5\u4E14\u65E0\u6CD5\u4ECE\u4E0A\u4E0B\u6587\u63A8\u65AD\u7528\u6237\u504F\u597D\u65F6\u4F7F\u7528\uFF1B\u5DF2\u6709\u660E\u786E\u65B9\u5411\u6216\u7528\u6237\u5DF2\u6388\u6743\u4F60\u51B3\u5B9A\u65F6\uFF0C\u76F4\u63A5\u6267\u884C\u5E76\u5728\u6587\u672C\u4E2D\u8BF4\u660E\uFF0C\u4E0D\u8981\u4E3A\u6B64\u8C03\u7528\u672C\u5DE5\u5177\u3002",
28091
28091
  category: "\u4EA4\u4E92 / UI"
28092
28092
  },
28093
28093
  behavior: "answer"
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getModelConfig
3
- } from "./chunk-7UFH6THF.js";
3
+ } from "./chunk-QDHZCAH3.js";
4
4
  import {
5
5
  isPlatformHostedDeepseekModel,
6
6
  isPlatformHostedOpenAIImageModel,
7
7
  resolvePlatformHostedRouting
8
- } from "./chunk-J7KVJAUQ.js";
8
+ } from "./chunk-WL3UOGYO.js";
9
9
  import {
10
10
  asTrimmedLowercaseString
11
11
  } from "./chunk-QSJ3HFEF.js";
@@ -199,7 +199,7 @@ async function readDocFunc(args, thunkApi) {
199
199
  throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
200
200
  }
201
201
  try {
202
- const { readAction } = await import("./read-J7RVVCHH.js");
202
+ const { readAction } = await import("./read-RGNPI5H2.js");
203
203
  const pageData = await readAction({ dbKey: id }, thunkApi);
204
204
  if (!pageData) {
205
205
  throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
@@ -10,14 +10,14 @@ import {
10
10
  scheduleExistingRecordReplication,
11
11
  shouldReplaceLocalWithRemoteRecord,
12
12
  shouldReplicateLocalRecord
13
- } from "./chunk-HHBXCRJS.js";
13
+ } from "./chunk-PYKV6FSC.js";
14
14
  import {
15
15
  fetchFromClientDb,
16
16
  fetchFromServer,
17
17
  isAbortError,
18
18
  isReadTimeoutError,
19
19
  logger
20
- } from "./chunk-L3JWI7WX.js";
20
+ } from "./chunk-QOKAKDPE.js";
21
21
  import {
22
22
  shouldReplaceWithNextRecord
23
23
  } from "./chunk-GBRG75BQ.js";
@@ -825,7 +825,6 @@ export {
825
825
  resolveFireworksKimiModel,
826
826
  PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
827
827
  PLATFORM_HOSTED_DEEPSEEK_FLASH_VISION_EXP_MODEL,
828
- PLATFORM_HOSTED_NEMOTRON_35_LIGHTNING_MODEL,
829
828
  resolvePlatformHostedRouting,
830
829
  NOLO_CLIENT_VERSION_HEADER,
831
830
  CLIENT_VERSION_TOO_OLD_CODE,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  updateContentTitle
3
- } from "./chunk-RVHPY5PC.js";
3
+ } from "./chunk-LA4IDAK7.js";
4
4
  import {
5
5
  require_date_fns
6
6
  } from "./chunk-M76ECQRD.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  patch,
15
15
  readAndWait
16
- } from "./chunk-76UA7376.js";
16
+ } from "./chunk-AV6KQCM5.js";
17
17
  import {
18
18
  asOptionalTrimmedString
19
19
  } from "./chunk-G3SUCT4W.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-X4C7K3OD.js");
370
+ const { createPageAction } = await import("./createPageAction-N3IYABHV.js");
371
371
  return createPageAction(args, thunkApi);
372
372
  }
373
373
  function subscribe(listener) {