nolo-cli 0.105.0 → 0.106.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 (115) hide show
  1. package/{_executeModel-JXG5TLPE.js → _executeModel-EP6HAX3W.js} +38 -37
  2. package/{addContentAction-J3DLDV64.js → addContentAction-NZZNAVCB.js} +4 -4
  3. package/{addDialogAgentAction-PHIXJCF2.js → addDialogAgentAction-5HVGEIXI.js} +4 -4
  4. package/{agentDeleteCommand-2AWJGHXG.js → agentDeleteCommand-M25A6UGB.js} +45 -45
  5. package/{agentEmailCommands-VV5OSILE.js → agentEmailCommands-RUL4NL64.js} +46 -46
  6. package/{agentListCommands-OQMRBDWP.js → agentListCommands-KSPFKHFO.js} +23 -24
  7. package/{agentMachineCommands-3VLLR6RL.js → agentMachineCommands-IHBB6PHD.js} +20 -21
  8. package/{agentProviderCommands-XPJYZSCE.js → agentProviderCommands-ND4S2Q6Q.js} +1 -1
  9. package/{agentRecordCommands-GPIARVOW.js → agentRecordCommands-7OKIBN6H.js} +45 -45
  10. package/{agentRunCommand-LRJTZ7IM.js → agentRunCommand-GBKJTQQU.js} +45 -45
  11. package/{agentRuntimeLocal-PV6AZOEU.js → agentRuntimeLocal-E5HXZNXZ.js} +18 -19
  12. package/{agentSlice-6R3JKS6I.js → agentSlice-7T3ZLYET.js} +4 -4
  13. package/{appDeleteCommands-WEX73P5R.js → appDeleteCommands-TTJUYTQN.js} +21 -22
  14. package/{appDeployCommands-7BAXWA4M.js → appDeployCommands-65WYK2TQ.js} +21 -22
  15. package/{appDeployStatusCommands-EJ6A2U4X.js → appDeployStatusCommands-U4XESYYG.js} +21 -22
  16. package/{appGetCommands-SB355OEX.js → appGetCommands-VNHZZC4D.js} +21 -22
  17. package/{appListCommands-TSZDPIKJ.js → appListCommands-O667ZEU6.js} +21 -22
  18. package/{authCommand-5PB3YRVV.js → authCommand-SUHHTVHA.js} +8 -8
  19. package/{builtinSkillRegistry-SBBWTANC.js → builtinSkillRegistry-PUGT65WS.js} +5 -5
  20. package/{chunk-Z5NGE5DH.js → chunk-2NGKYC3L.js} +3 -3
  21. package/{chunk-S2NSK7AZ.js → chunk-3SXZ6SUC.js} +4 -4
  22. package/{chunk-NSBID7PR.js → chunk-3VKDWQMJ.js} +2 -2
  23. package/{chunk-QKTESDWK.js → chunk-4VDS344D.js} +3 -3
  24. package/{chunk-7KVZ5LDQ.js → chunk-5F7UKMLN.js} +8 -4
  25. package/{chunk-BB7LVBTS.js → chunk-6AIURTE7.js} +3 -3
  26. package/{chunk-HP57OUJO.js → chunk-7I25CBT5.js} +31 -5
  27. package/{chunk-NSAFG343.js → chunk-AM4G3LDJ.js} +59 -47
  28. package/{chunk-NTR4SD3P.js → chunk-AZB6HR4I.js} +13 -48
  29. package/{chunk-AFH5QC6R.js → chunk-BIH7KCDJ.js} +3 -3
  30. package/{chunk-UA324D4O.js → chunk-BPLIXNC6.js} +1 -1
  31. package/{chunk-YK5MHOWM.js → chunk-CEQ75WPL.js} +1 -1
  32. package/{chunk-K6U4NKFJ.js → chunk-DBKRC5O2.js} +1 -1
  33. package/{chunk-UWXDA7L5.js → chunk-DJ3JABG5.js} +22 -37
  34. package/{chunk-HYXABXCZ.js → chunk-DSXRVBTA.js} +98 -21
  35. package/{chunk-3Q7NEHAR.js → chunk-EBS4FKW4.js} +1 -1
  36. package/{chunk-ZBHR642M.js → chunk-EHGIEGLI.js} +161 -43
  37. package/{chunk-YVU4XVJD.js → chunk-FJKZSR5P.js} +1 -1
  38. package/{chunk-54VPQTOA.js → chunk-GMP3NBAA.js} +5 -7
  39. package/{chunk-3BXNTXYI.js → chunk-GU7DC2TD.js} +2 -1
  40. package/{chunk-FGSJ3YMD.js → chunk-HNA5KV37.js} +5 -5
  41. package/{chunk-CYSYR67N.js → chunk-I5YMDACN.js} +1 -1
  42. package/{chunk-WJ3B6FX6.js → chunk-IXH3HKY2.js} +0 -8
  43. package/{chunk-Y3PMXGLH.js → chunk-IYIXAIEB.js} +197 -92
  44. package/{chunk-RWX7AY7J.js → chunk-JWNBEIME.js} +1 -1
  45. package/{chunk-VVJ2ENLY.js → chunk-LGWABBTZ.js} +4 -4
  46. package/{chunk-QYUBY3OZ.js → chunk-LOPP5VT6.js} +1 -1
  47. package/{chunk-GSKPJIHY.js → chunk-LUBFABMJ.js} +2 -6
  48. package/{chunk-BNGW5ASC.js → chunk-LYLO5U3H.js} +15 -2
  49. package/{chunk-L5WOICCV.js → chunk-MJ3CRU77.js} +22 -6
  50. package/{chunk-AWVP7PPG.js → chunk-NTNKA5VL.js} +1 -1
  51. package/{chunk-EP7BWZ4B.js → chunk-OAXBDMT7.js} +1 -1
  52. package/{chunk-4DPP773Q.js → chunk-ODTBO4W6.js} +9 -6
  53. package/{chunk-B7APRSPS.js → chunk-OQ5IVGCV.js} +3 -3
  54. package/{chunk-EKPKW6RM.js → chunk-OYTWDOQV.js} +3 -3
  55. package/{chunk-P5GCTVGV.js → chunk-OZ2IIIRP.js} +2 -2
  56. package/{chunk-D2GQE6AF.js → chunk-PFLF4R4E.js} +1 -1
  57. package/{chunk-RILRSUGC.js → chunk-QDH32WF5.js} +1 -1
  58. package/{chunk-VCAQFMVN.js → chunk-QVAWUJAJ.js} +1 -1
  59. package/{chunk-27ONFIEY.js → chunk-SJ7CUF65.js} +2 -2
  60. package/{chunk-CNA27EMD.js → chunk-SYEBIZOF.js} +1 -1
  61. package/{chunk-ZSUDOTPL.js → chunk-TLKXNTQJ.js} +3 -3
  62. package/{chunk-A4SQRTZ6.js → chunk-TLYSGGPG.js} +1 -1
  63. package/chunk-UM7TA3K4.js +1008 -0
  64. package/{chunk-BZ7NPA6G.js → chunk-VBG7GWWR.js} +218 -6
  65. package/{chunk-DZ7R5V3Y.js → chunk-VBQGO5NX.js} +1 -1
  66. package/{chunk-44CU7CKA.js → chunk-VYKXIHRP.js} +181 -34
  67. package/chunk-VZLO4XJD.js +17 -0
  68. package/{chunk-IEJ5YDA4.js → chunk-WMWYWYK2.js} +2 -2
  69. package/{chunk-LWXE6IFU.js → chunk-XDQ7PHU3.js} +31 -196
  70. package/{chunk-AFSY3ZMB.js → chunk-XGOHDYM2.js} +1 -1
  71. package/{chunk-2WJ57RJA.js → chunk-XLWMNFBZ.js} +1 -1
  72. package/{chunk-3F424ASC.js → chunk-YFU5EELM.js} +1 -1
  73. package/{chunk-QMXJ5KDJ.js → chunk-YQFLBS6A.js} +13 -13
  74. package/{chunk-CFHWVEUJ.js → chunk-ZVGXD7UJ.js} +2 -2
  75. package/{chunk-4WMMIL66.js → chunk-ZYM73IHG.js} +3 -2
  76. package/{commandRegistry-QU62WJQX.js → commandRegistry-6QIAUQDS.js} +49 -49
  77. package/{contentThunks-VGV3JJVB.js → contentThunks-5DDMUQ7B.js} +17 -16
  78. package/{createAgentAutomationAction-ZNVLI4WV.js → createAgentAutomationAction-NQ6AZM42.js} +17 -16
  79. package/{createDialogAction-TTUA46DT.js → createDialogAction-QZ6X4A7O.js} +20 -19
  80. package/{createPageAction-KUFSC5XW.js → createPageAction-NCGEJBVK.js} +17 -16
  81. package/{dbSlice-MYEETO73.js → dbSlice-RCZ7NRAF.js} +3 -3
  82. package/{dialogCommands-DRDPEOTL.js → dialogCommands-OGQLEF63.js} +21 -22
  83. package/{dialogSlice-V2SVSTIV.js → dialogSlice-GIKNUHNW.js} +30 -17
  84. package/{docCreateCommands-M26CFDDQ.js → docCreateCommands-RW6LNYT6.js} +20 -21
  85. package/{docDeleteCommands-LRZHCKVX.js → docDeleteCommands-Z742TRNY.js} +21 -22
  86. package/{docReadCommands-6QJSISHK.js → docReadCommands-5DIGA42Y.js} +20 -21
  87. package/{docStore-4RWAFNDM.js → docStore-6GUOZH52.js} +4 -4
  88. package/{docUpdateCommands-W4KU4U5T.js → docUpdateCommands-ZFZ2QEVK.js} +20 -21
  89. package/{getPricing-NMMFT3YI.js → getPricing-QVSNUFZ6.js} +3 -3
  90. package/{handleSendMessageAction-VEWLGB5Z.js → handleSendMessageAction-B2VXOLMM.js} +16 -15
  91. package/index.js +3 -3
  92. package/{machineCommands-AEHHCJEW.js → machineCommands-AI3N7JHQ.js} +44 -44
  93. package/{machineWsRunDispatch-MY2KHS36.js → machineWsRunDispatch-RPF2D6VV.js} +44 -44
  94. package/{memberThunks-EE6TI3TV.js → memberThunks-YICJI4IS.js} +4 -4
  95. package/{models-ZPU5EDF4.js → models-FTNFVO3D.js} +2 -2
  96. package/package.json +1 -1
  97. package/{providerPresetApply-TEBH7FDX.js → providerPresetApply-OJJXQ7NM.js} +6 -6
  98. package/{providerRegistry-CBJLNCET.js → providerRegistry-DXFBDCGQ.js} +6 -6
  99. package/{read-PJIT2YEJ.js → read-XMBM52Y4.js} +2 -2
  100. package/{readDocTool-DRSXHGNL.js → readDocTool-LAQHKCVT.js} +1 -1
  101. package/{readlineWorkspace-7Q6MITLV.js → readlineWorkspace-EPUCVZ73.js} +48 -48
  102. package/{removeDialogAgentAction-IN4WUKJJ.js → removeDialogAgentAction-HDUI2MU3.js} +5 -5
  103. package/{runAgentClientLoop-H2JALUVD.js → runAgentClientLoop-OXQMDGAN.js} +36 -35
  104. package/{setDialogExtraReferencesAction-VDRF7LPK.js → setDialogExtraReferencesAction-ADBVOP4O.js} +5 -5
  105. package/{setPrimaryDialogAgentAction-RO6LIWJ4.js → setPrimaryDialogAgentAction-PXVXQJ62.js} +5 -5
  106. package/{settingThunks-3OPOLOIA.js → settingThunks-G2MJRKUE.js} +6 -6
  107. package/{spaceCommands-UBLL5EF2.js → spaceCommands-Z662QYY6.js} +20 -21
  108. package/{streamAgentChatTurn-FFJWW3FD.js → streamAgentChatTurn-YJYEJHP7.js} +40 -46
  109. package/{switchDialogAgentAction-MVF2JNE7.js → switchDialogAgentAction-Z3RZACGF.js} +4 -4
  110. package/{toolApiClient-EJT6TMFG.js → toolApiClient-AD7CXTA4.js} +3 -2
  111. package/{tools-AZRYLYNK.js → tools-GHI3WBEI.js} +32 -31
  112. package/{tuiSummaryLlmCaller-7S5HJ3MT.js → tuiSummaryLlmCaller-WTC6GCQC.js} +11 -12
  113. package/{updateDialogTitleAction-5WXTRUJM.js → updateDialogTitleAction-GJCNWTPY.js} +17 -16
  114. package/chunk-M7VLQGQP.js +0 -405
  115. package/chunk-NKWIS6G2.js +0 -442
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  assembleAgentDiscoveryResult,
6
6
  resolveDiscoveryScope
7
- } from "./chunk-QKTESDWK.js";
7
+ } from "./chunk-4VDS344D.js";
8
8
  import {
9
9
  fetchWithTransientRetry
10
10
  } from "./chunk-AOTBKDRK.js";
@@ -27,14 +27,14 @@ import {
27
27
  normalizePolicyLevelSetting,
28
28
  normalizeSystemBuiltinSkills,
29
29
  normalizeTonePresetSetting
30
- } from "./chunk-DZ7R5V3Y.js";
30
+ } from "./chunk-VBQGO5NX.js";
31
31
  import {
32
32
  readDocFunc,
33
33
  readDocFunctionSchema,
34
34
  readPageFunc,
35
35
  readPageFunctionSchema,
36
36
  resolvePageReadMarkdown
37
- } from "./chunk-RILRSUGC.js";
37
+ } from "./chunk-QDH32WF5.js";
38
38
  import {
39
39
  addMemberSpace,
40
40
  fetchAuthoritativeRemoteSpace,
@@ -46,7 +46,7 @@ import {
46
46
  setMembershipRejected,
47
47
  setSpaceInitialized,
48
48
  updateMemberSpaceName
49
- } from "./chunk-3Q7NEHAR.js";
49
+ } from "./chunk-EBS4FKW4.js";
50
50
  import {
51
51
  ToolApiError,
52
52
  buildToolRequestHeaders,
@@ -54,10 +54,10 @@ import {
54
54
  getRequestConfig,
55
55
  getToolBaseUrl,
56
56
  getToolRequestContext
57
- } from "./chunk-HP57OUJO.js";
57
+ } from "./chunk-7I25CBT5.js";
58
58
  import {
59
59
  setDialogExtraReferencesAction
60
- } from "./chunk-NSBID7PR.js";
60
+ } from "./chunk-3VKDWQMJ.js";
61
61
  import {
62
62
  waitForAbortableDelay
63
63
  } from "./chunk-N4G4PKQ6.js";
@@ -75,10 +75,10 @@ import {
75
75
  } from "./chunk-VF4K2QE6.js";
76
76
  import {
77
77
  createDocState
78
- } from "./chunk-BB7LVBTS.js";
78
+ } from "./chunk-6AIURTE7.js";
79
79
  import {
80
80
  createDialogAction
81
- } from "./chunk-FGSJ3YMD.js";
81
+ } from "./chunk-HNA5KV37.js";
82
82
  import {
83
83
  TASK_PREVIEW_MAX,
84
84
  buildDelegatedTaskContent,
@@ -108,7 +108,7 @@ import {
108
108
  updateContentCategory,
109
109
  updateContentTitle,
110
110
  writeStoredCollapsedCategories
111
- } from "./chunk-VVJ2ENLY.js";
111
+ } from "./chunk-LGWABBTZ.js";
112
112
  import {
113
113
  getCurrentSpaceId,
114
114
  getCurrentSpaceIdRaw,
@@ -130,19 +130,19 @@ import {
130
130
  selectMsgById,
131
131
  uiAskChoiceFunc,
132
132
  uiAskChoiceFunctionSchema
133
- } from "./chunk-44CU7CKA.js";
133
+ } from "./chunk-VYKXIHRP.js";
134
134
  import {
135
135
  createAgent,
136
136
  deleteServerSyncedCredential,
137
137
  runLlm,
138
138
  streamAgentChatTurn,
139
139
  updateAgent
140
- } from "./chunk-S2NSK7AZ.js";
140
+ } from "./chunk-3SXZ6SUC.js";
141
141
  import {
142
142
  getActiveDialogKey,
143
143
  selectCurrentDialogKey,
144
144
  selectPendingRawDataByPageKey
145
- } from "./chunk-BZ7NPA6G.js";
145
+ } from "./chunk-VBG7GWWR.js";
146
146
  import {
147
147
  require_react
148
148
  } from "./chunk-YDH3FDFQ.js";
@@ -151,13 +151,13 @@ import {
151
151
  resolveBuiltinCapability,
152
152
  resolveBuiltinSkillByName,
153
153
  resolveBuiltinSkillEntry
154
- } from "./chunk-P5GCTVGV.js";
154
+ } from "./chunk-OZ2IIIRP.js";
155
155
  import {
156
156
  CAPABILITY_PACKS
157
- } from "./chunk-GSKPJIHY.js";
157
+ } from "./chunk-LUBFABMJ.js";
158
158
  import {
159
159
  DEFAULT_SYSTEM_AGENT_CAPABILITIES
160
- } from "./chunk-WJ3B6FX6.js";
160
+ } from "./chunk-IXH3HKY2.js";
161
161
  import {
162
162
  buildSkillDocMarkdown,
163
163
  normalizeSkillModalities,
@@ -185,7 +185,7 @@ import {
185
185
  } from "./chunk-SJKULPGX.js";
186
186
  import {
187
187
  buildDatabaseFileContentUrl
188
- } from "./chunk-IEJ5YDA4.js";
188
+ } from "./chunk-WMWYWYK2.js";
189
189
  import {
190
190
  clipCompactText
191
191
  } from "./chunk-5MMAK75Q.js";
@@ -202,7 +202,7 @@ import {
202
202
  UNCATEGORIZED_ID,
203
203
  addContentAction,
204
204
  checkSpaceMembership
205
- } from "./chunk-3F424ASC.js";
205
+ } from "./chunk-YFU5EELM.js";
206
206
  import {
207
207
  createSpaceKey,
208
208
  normalizeSpaceId
@@ -218,7 +218,7 @@ import {
218
218
  selectEntities,
219
219
  toTimestampMs,
220
220
  write
221
- } from "./chunk-4WMMIL66.js";
221
+ } from "./chunk-ZYM73IHG.js";
222
222
  import {
223
223
  canonicalizeToolName,
224
224
  canonicalizeToolNames
@@ -234,7 +234,7 @@ import {
234
234
  DEFAULT_MODEL,
235
235
  clampReasoningEffort,
236
236
  resolveModelReasoningCapabilityWithCache
237
- } from "./chunk-3BXNTXYI.js";
237
+ } from "./chunk-GU7DC2TD.js";
238
238
  import {
239
239
  toErrorMessage
240
240
  } from "./chunk-HNMXYYJR.js";
@@ -243,7 +243,7 @@ import {
243
243
  } from "./chunk-QSJ3HFEF.js";
244
244
  import {
245
245
  readAction
246
- } from "./chunk-D2GQE6AF.js";
246
+ } from "./chunk-PFLF4R4E.js";
247
247
  import {
248
248
  DEVICE_LOCAL_OWNER_ID,
249
249
  getRuntimeServerContext,
@@ -1042,7 +1042,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
1042
1042
  workspace: { mode: "lease" }
1043
1043
  };
1044
1044
  var findModelConfig = async (modelName, provider) => {
1045
- const { ALL_MODELS } = await import("./models-ZPU5EDF4.js");
1045
+ const { ALL_MODELS } = await import("./models-FTNFVO3D.js");
1046
1046
  const name = toTrimmedString(modelName);
1047
1047
  const prov = toTrimmedString(provider ?? "");
1048
1048
  if (!name) return null;
@@ -1287,7 +1287,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
1287
1287
  const trimmedModel = toTrimmedString(model);
1288
1288
  const trimmedProvider = toTrimmedString(provider);
1289
1289
  const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
1290
- const { getModelPricing } = await import("./getPricing-NMMFT3YI.js");
1290
+ const { getModelPricing } = await import("./getPricing-QVSNUFZ6.js");
1291
1291
  const normalizedTools = tools ?? [];
1292
1292
  const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
1293
1293
  const formData = {
@@ -3998,7 +3998,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3998
3998
  const deletedDialogIds = [];
3999
3999
  const deletedDialogKeys = [];
4000
4000
  const failures = [];
4001
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-V2SVSTIV.js");
4001
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-GIKNUHNW.js");
4002
4002
  for (const target of targets) {
4003
4003
  try {
4004
4004
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -4314,7 +4314,7 @@ var readSkillDocFunctionSchema = {
4314
4314
  }
4315
4315
  };
4316
4316
  async function readSkillDocFunc(args, thunkApi) {
4317
- const { buildReadDocResult } = await import("./readDocTool-DRSXHGNL.js");
4317
+ const { buildReadDocResult } = await import("./readDocTool-LAQHKCVT.js");
4318
4318
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
4319
4319
  if (typeof id !== "string" || !id.trim()) {
4320
4320
  throw new Error("readSkillDoc requires id or doc.");
@@ -5106,7 +5106,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
5106
5106
  const spaceKey = createSpaceKey.space(spaceId);
5107
5107
  const readSpace = async (dbKey) => {
5108
5108
  try {
5109
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-MYEETO73.js");
5109
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-RCZ7NRAF.js");
5110
5110
  if (fresh) {
5111
5111
  return await dispatch(readAndWait2(dbKey)).unwrap();
5112
5112
  }
@@ -9662,64 +9662,6 @@ var olmOcrFunc = async (input, thunkApi) => {
9662
9662
  };
9663
9663
  };
9664
9664
 
9665
- // packages/ai/tools/whisperTool.ts
9666
- var SHARED_PARAMS = {
9667
- type: "object",
9668
- properties: {
9669
- audioUrl: {
9670
- type: "string",
9671
- description: "\u97F3\u9891\u6765\u6E90\uFF1A\u5185\u90E8\u6587\u4EF6 ID (file-... \u6216 ULID)\u3001\u516C\u5F00 http/https URL\uFF0C\u6216 base64 data URI\uFF08data:audio/...;base64,...\uFF09\u3002\u652F\u6301 mp3\u3001wav\u3001m4a\u3001ogg\u3001flac \u7B49\u5E38\u89C1\u683C\u5F0F\u3002"
9672
- },
9673
- language: {
9674
- type: "string",
9675
- description: "\u53EF\u9009\uFF0C\u6307\u5B9A\u97F3\u9891\u8BED\u8A00\u4EE5\u63D0\u5347\u7CBE\u5EA6\uFF08\u5982 'zh'\u3001'en'\u3001'ja'\uFF09\u3002\u4E0D\u6307\u5B9A\u5219\u81EA\u52A8\u68C0\u6D4B\u3002"
9676
- }
9677
- },
9678
- required: ["audioUrl"]
9679
- };
9680
- var whisperTurboSchema = {
9681
- name: "whisper_turbo",
9682
- description: "\u4F7F\u7528 openai/whisper-large-v3-turbo \u5BF9\u97F3\u9891\u8FDB\u884C\u8BED\u97F3\u8F6C\u6587\u5B57\uFF08ASR\uFF09\u3002\u901F\u5EA6\u5FEB\u3001\u4EF7\u683C\u4F4E\uFF08$0.0002/min\uFF09\uFF0C\u9002\u5408\u5927\u591A\u6570\u573A\u666F\u7684\u5B9E\u65F6\u6216\u6279\u91CF\u8F6C\u5F55\u3002",
9683
- parameters: SHARED_PARAMS
9684
- };
9685
- var whisperTurboFunc = async (input, thunkApi) => {
9686
- const { audioUrl, language } = input;
9687
- const data = await callToolApi(
9688
- thunkApi,
9689
- "/api/whisper-turbo",
9690
- { audioUrl, language },
9691
- { withAuth: true }
9692
- );
9693
- return {
9694
- summary: "Transcription completed",
9695
- text: data.text || "",
9696
- language: data.language,
9697
- duration: data.duration,
9698
- rawData: data
9699
- };
9700
- };
9701
- var whisperV3Schema = {
9702
- name: "whisper_v3",
9703
- description: "\u4F7F\u7528 openai/whisper-large-v3 \u5BF9\u97F3\u9891\u8FDB\u884C\u9AD8\u7CBE\u5EA6\u8BED\u97F3\u8F6C\u6587\u5B57\uFF08ASR\uFF09\u3002\u7CBE\u5EA6\u66F4\u9AD8\uFF08\u5C24\u5176\u591A\u8BED\u8A00/\u4E2D\u6587\uFF09\uFF0C\u4EF7\u683C\u7A0D\u9AD8\uFF08$0.00045/min\uFF09\uFF0C\u9002\u5408\u5BF9\u51C6\u786E\u7387\u8981\u6C42\u4E25\u683C\u7684\u573A\u666F\u3002",
9704
- parameters: SHARED_PARAMS
9705
- };
9706
- var whisperV3Func = async (input, thunkApi) => {
9707
- const { audioUrl, language } = input;
9708
- const data = await callToolApi(
9709
- thunkApi,
9710
- "/api/whisper-v3",
9711
- { audioUrl, language },
9712
- { withAuth: true }
9713
- );
9714
- return {
9715
- summary: "Transcription completed",
9716
- text: data.text || "",
9717
- language: data.language,
9718
- duration: data.duration,
9719
- rawData: data
9720
- };
9721
- };
9722
-
9723
9665
  // packages/ai/tools/transcribeVideoTool.ts
9724
9666
  var transcribeVideoSchema = {
9725
9667
  name: "transcribeVideo",
@@ -10076,7 +10018,7 @@ var cloudflareCrawlStatusFunctionSchema = {
10076
10018
  async function cloudflareCrawlStatusFunc(args, thunkApi) {
10077
10019
  const { jobId, limit, status, cursor } = args;
10078
10020
  if (!jobId) throw new Error("\u5FC5\u987B\u63D0\u4F9B jobId");
10079
- const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-EJT6TMFG.js");
10021
+ const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-AD7CXTA4.js");
10080
10022
  const { baseUrl, token } = getToolRequestContext2(thunkApi);
10081
10023
  const params = new URLSearchParams();
10082
10024
  if (limit !== void 0) params.set("limit", String(limit));
@@ -10854,7 +10796,7 @@ var selectUserIdFromState = (state2) => {
10854
10796
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
10855
10797
  async function addImageContentToSpace(input) {
10856
10798
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
10857
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-J3DLDV64.js")).addContentAction;
10799
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-NZZNAVCB.js")).addContentAction;
10858
10800
  await addContentAction2(
10859
10801
  {
10860
10802
  spaceId: input.spaceId,
@@ -13643,75 +13585,6 @@ async function handleWait(thunkApi, opts, contextOpts) {
13643
13585
  }
13644
13586
  }
13645
13587
 
13646
- // packages/ai/tools/agent/setTodoListTool.ts
13647
- var setTodoListFunctionSchema = {
13648
- name: "setTodoList",
13649
- description: "\u8BBE\u7F6E/\u6574\u4F53\u66F4\u65B0\u5F53\u524D\u5BF9\u8BDD\u7684\u4EFB\u52A1\u5217\u8868\uFF08Kimi \u5F0F Todo \u5217\u8868\uFF09\u3002\u7528\u4E8E\u591A\u6B65\u9AA4\u4EFB\u52A1\u8FDB\u5EA6\u8FFD\u8E2A\u4E0E\u5C55\u793A\u3002",
13650
- parameters: {
13651
- type: "object",
13652
- properties: {
13653
- todos: {
13654
- type: "array",
13655
- description: "\u5B8C\u6574\u7684 Todo \u4EFB\u52A1\u5217\u8868\uFF08\u6574\u4F53\u66FF\u6362\uFF09",
13656
- items: {
13657
- type: "object",
13658
- properties: {
13659
- title: {
13660
- type: "string",
13661
- description: "\u4EFB\u52A1\u63CF\u8FF0/\u6807\u9898"
13662
- },
13663
- status: {
13664
- type: "string",
13665
- enum: ["pending", "in_progress", "done"],
13666
- description: "\u4EFB\u52A1\u72B6\u6001\uFF1Apending(\u5F85\u5904\u7406), in_progress(\u8FDB\u884C\u4E2D), done(\u5DF2\u5B8C\u6210)"
13667
- }
13668
- },
13669
- required: ["title", "status"]
13670
- }
13671
- }
13672
- },
13673
- required: ["todos"]
13674
- }
13675
- };
13676
- function formatTodoListDisplayData(todos) {
13677
- if (!todos || todos.length === 0) {
13678
- return "\u{1F4CB} Todo \u5217\u8868\u5DF2\u6E05\u7A7A";
13679
- }
13680
- const statusIcons = {
13681
- pending: "\u23F3",
13682
- in_progress: "\u{1F504}",
13683
- done: "\u2705"
13684
- };
13685
- const statusLabels = {
13686
- pending: "\u5F85\u5904\u7406",
13687
- in_progress: "\u8FDB\u884C\u4E2D",
13688
- done: "\u5DF2\u5B8C\u6210"
13689
- };
13690
- const doneCount = todos.filter((t) => t.status === "done").length;
13691
- const lines = [
13692
- `\u{1F4CB} Todo \u5217\u8868 (${doneCount}/${todos.length})`,
13693
- ...todos.map(
13694
- (t) => `\u2022 ${statusIcons[t.status] ?? "\u2022"} [${statusLabels[t.status] ?? t.status}] ${t.title}`
13695
- )
13696
- ];
13697
- return lines.join("\n");
13698
- }
13699
- async function setTodoListFunc(args) {
13700
- const todos = Array.isArray(args?.todos) ? args.todos : [];
13701
- const sanitizedTodos = todos.map((item) => {
13702
- const title = typeof item?.title === "string" ? item.title.trim() : "Untitled Task";
13703
- let status = "pending";
13704
- if (item?.status === "in_progress") status = "in_progress";
13705
- else if (item?.status === "done") status = "done";
13706
- return { title, status };
13707
- });
13708
- const displayData = formatTodoListDisplayData(sanitizedTodos);
13709
- return {
13710
- rawData: { todos: sanitizedTodos },
13711
- displayData
13712
- };
13713
- }
13714
-
13715
13588
  // packages/ai/tools/agent/agentTools.ts
13716
13589
  var agentToolDefinitions = [
13717
13590
  {
@@ -13859,21 +13732,6 @@ var agentToolDefinitions = [
13859
13732
  riskLevel: "medium",
13860
13733
  costLevel: "low",
13861
13734
  defaultConsent: "auto"
13862
- },
13863
- {
13864
- id: "setTodoList",
13865
- schema: setTodoListFunctionSchema,
13866
- executor: setTodoListFunc,
13867
- description: {
13868
- name: "setTodoList",
13869
- description: "\u8BBE\u7F6E/\u6574\u4F53\u66F4\u65B0\u5F53\u524D\u5BF9\u8BDD\u7684\u4EFB\u52A1\u5217\u8868\uFF08Kimi \u5F0F Todo \u5217\u8868\uFF09\u3002\u7528\u4E8E\u591A\u6B65\u9AA4\u4EFB\u52A1\u8FDB\u5EA6\u8FFD\u8E2A\u4E0E\u5C55\u793A\u3002",
13870
- category: "\u8BA1\u5212\u4E0E\u7F16\u6392"
13871
- },
13872
- behavior: "data",
13873
- uiGroup: "agent",
13874
- riskLevel: "low",
13875
- costLevel: "low",
13876
- defaultConsent: "auto"
13877
13735
  }
13878
13736
  ];
13879
13737
 
@@ -14907,7 +14765,7 @@ var executeToolRun = createAsyncThunk(
14907
14765
  if (!executionInput) {
14908
14766
  throw new Error(`ToolRun ${id} has no input to execute with.`);
14909
14767
  }
14910
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-AZRYLYNK.js");
14768
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-GHI3WBEI.js");
14911
14769
  const { executor } = findToolExecutor2(run.toolName);
14912
14770
  toolRunStarted({
14913
14771
  id: run.id,
@@ -14931,7 +14789,7 @@ var executeToolRun = createAsyncThunk(
14931
14789
  const latestState = thunkApi.getState();
14932
14790
  const userId = selectIdentityUserId(latestState);
14933
14791
  if (userId) {
14934
- const { fetchUserSpaceMemberships } = await import("./memberThunks-EE6TI3TV.js");
14792
+ const { fetchUserSpaceMemberships } = await import("./memberThunks-YICJI4IS.js");
14935
14793
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
14936
14794
  }
14937
14795
  }
@@ -17425,7 +17283,7 @@ async function updateDocFunc(args, thunkApi) {
17425
17283
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
17426
17284
  };
17427
17285
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
17428
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-4RWAFNDM.js");
17286
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-6GUOZH52.js");
17429
17287
  if (getDocState().pageKey === id) {
17430
17288
  applyExternalDocUpdate({
17431
17289
  slateData: finalSlateData,
@@ -17450,7 +17308,7 @@ async function updateDocFunc(args, thunkApi) {
17450
17308
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
17451
17309
  async function dispatchSetSettings(thunkApi, changes) {
17452
17310
  const injectedSetSettings = thunkApi?.extra?.setSettings;
17453
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-3OPOLOIA.js")).setSettings;
17311
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-G2MJRKUE.js")).setSettings;
17454
17312
  await thunkApi.dispatch(setSettings(changes)).unwrap();
17455
17313
  }
17456
17314
  var updateUserPreferenceProfileFunctionSchema = {
@@ -19298,28 +19156,6 @@ var baseToolDefinitions = [
19298
19156
  },
19299
19157
  behavior: "data"
19300
19158
  },
19301
- {
19302
- id: "whisperTurbo",
19303
- schema: whisperTurboSchema,
19304
- executor: whisperTurboFunc,
19305
- description: {
19306
- name: "whisper_turbo",
19307
- description: "\u4F7F\u7528 whisper-large-v3-turbo \u5FEB\u901F\u8F6C\u5F55\u97F3\u9891\u4E3A\u6587\u5B57\uFF0C\u652F\u6301\u591A\u8BED\u8A00\uFF0C\u901F\u5EA6\u5FEB\u4EF7\u683C\u4F4E\u3002",
19308
- category: "\u97F3\u9891\u4E0E\u5A92\u4F53"
19309
- },
19310
- behavior: "data"
19311
- },
19312
- {
19313
- id: "whisperV3",
19314
- schema: whisperV3Schema,
19315
- executor: whisperV3Func,
19316
- description: {
19317
- name: "whisper_v3",
19318
- description: "\u4F7F\u7528 whisper-large-v3 \u9AD8\u7CBE\u5EA6\u8F6C\u5F55\u97F3\u9891\uFF0C\u4E2D\u6587/\u591A\u8BED\u8A00\u51C6\u786E\u7387\u66F4\u9AD8\uFF0C\u9002\u5408\u5BF9\u8D28\u91CF\u8981\u6C42\u4E25\u683C\u7684\u573A\u666F\u3002",
19319
- category: "\u97F3\u9891\u4E0E\u5A92\u4F53"
19320
- },
19321
- behavior: "data"
19322
- },
19323
19159
  {
19324
19160
  id: "transcribeVideo",
19325
19161
  schema: transcribeVideoSchema,
@@ -19771,7 +19607,6 @@ export {
19771
19607
  buildStartAgentRunFunctionSchema,
19772
19608
  CONTROL_AGENT_RUN_ACTIONS,
19773
19609
  buildControlAgentRunFunctionSchema,
19774
- setTodoListFunc,
19775
19610
  TOOL_GROUP_META,
19776
19611
  toolQueryFunctionSchema,
19777
19612
  toolQueryFunc,
@@ -547,7 +547,7 @@ async function buildCreatedAgentRecord(args) {
547
547
  const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
548
548
  const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
549
549
  if (args.parsed.presetId) {
550
- const { resolveProviderPresetFields } = await import("./providerPresetApply-TEBH7FDX.js");
550
+ const { resolveProviderPresetFields } = await import("./providerPresetApply-OJJXQ7NM.js");
551
551
  const fields = resolveProviderPresetFields(args.parsed.presetId);
552
552
  if (fields.kind === "manual") {
553
553
  throw new Error(
@@ -14,7 +14,7 @@ import {
14
14
  getAntigravityUserAgent,
15
15
  normalizeAntigravityTokenPayload,
16
16
  refreshAntigravityToken
17
- } from "./chunk-UA324D4O.js";
17
+ } from "./chunk-BPLIXNC6.js";
18
18
  import {
19
19
  toErrorMessage
20
20
  } from "./chunk-HNMXYYJR.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  patch,
6
6
  read
7
- } from "./chunk-4WMMIL66.js";
7
+ } from "./chunk-ZYM73IHG.js";
8
8
  import {
9
9
  DEVICE_LOCAL_OWNER_ID,
10
10
  isDeviceLocalSpaceBody
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  clipMultilineText,
9
9
  fetchAndSerializeTable
10
- } from "./chunk-LWXE6IFU.js";
10
+ } from "./chunk-XDQ7PHU3.js";
11
11
  import {
12
12
  isGatewayHttpStatus
13
13
  } from "./chunk-NF64D32W.js";
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  resolvePageReadMarkdown,
22
22
  slateToSimplifiedMarkdown
23
- } from "./chunk-RILRSUGC.js";
23
+ } from "./chunk-QDH32WF5.js";
24
24
  import {
25
25
  waitForAbortableDelay
26
26
  } from "./chunk-N4G4PKQ6.js";
@@ -29,19 +29,19 @@ import {
29
29
  } from "./chunk-AGIM7IMJ.js";
30
30
  import {
31
31
  fetchAndCacheMessages
32
- } from "./chunk-44CU7CKA.js";
32
+ } from "./chunk-VYKXIHRP.js";
33
33
  import {
34
34
  shouldUseServerProxy
35
35
  } from "./chunk-UKZX3NHN.js";
36
36
  import {
37
37
  fetchServerSyncedCredential
38
- } from "./chunk-S2NSK7AZ.js";
38
+ } from "./chunk-3SXZ6SUC.js";
39
39
  import {
40
40
  buildSkillGuidancePromptBlock,
41
41
  extractRuntimePageCapabilities,
42
42
  resolveBuiltinSkillPage,
43
43
  resolveSkillGraphFromRoots
44
- } from "./chunk-P5GCTVGV.js";
44
+ } from "./chunk-OZ2IIIRP.js";
45
45
  import {
46
46
  DELETE_SAFETY_RED_LINE,
47
47
  buildIdentityBlock,
@@ -50,13 +50,13 @@ import {
50
50
  detectDispatchIntentFromMessages,
51
51
  normalizeChatCompletionsBodyForProvider,
52
52
  resolveToolGuidedSections
53
- } from "./chunk-AFH5QC6R.js";
53
+ } from "./chunk-BIH7KCDJ.js";
54
54
  import {
55
55
  convertMessagesToResponsesInput,
56
56
  getUsageRequestOptions,
57
57
  preserveAgentStateFields,
58
58
  stablePromptCacheKey
59
- } from "./chunk-M7VLQGQP.js";
59
+ } from "./chunk-UM7TA3K4.js";
60
60
  import {
61
61
  createFileCredentialBroker
62
62
  } from "./chunk-2U3NHADM.js";
@@ -68,7 +68,7 @@ import {
68
68
  } from "./chunk-UAD2WT54.js";
69
69
  import {
70
70
  read
71
- } from "./chunk-4WMMIL66.js";
71
+ } from "./chunk-ZYM73IHG.js";
72
72
  import {
73
73
  MEMORY_USE_GUIDANCE,
74
74
  buildUserResponseLanguageContext,
@@ -80,20 +80,20 @@ import {
80
80
  import {
81
81
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
82
82
  isAntigravityOAuthAgent
83
- } from "./chunk-UA324D4O.js";
83
+ } from "./chunk-BPLIXNC6.js";
84
84
  import {
85
85
  buildProviderAuthHeaders
86
- } from "./chunk-27ONFIEY.js";
86
+ } from "./chunk-SJ7CUF65.js";
87
87
  import {
88
88
  isOpenAiResponsesModel,
89
89
  resolvePlatformChatCompletionsEndpoint,
90
90
  resolvePlatformResponsesEndpoint
91
- } from "./chunk-7KVZ5LDQ.js";
91
+ } from "./chunk-5F7UKMLN.js";
92
92
  import {
93
93
  clampReasoningEffort,
94
94
  getModelConfig,
95
95
  isModelSupportReasoningEffort
96
- } from "./chunk-3BXNTXYI.js";
96
+ } from "./chunk-GU7DC2TD.js";
97
97
  import {
98
98
  toErrorMessage
99
99
  } from "./chunk-HNMXYYJR.js";
@@ -102,7 +102,7 @@ import {
102
102
  isFireworksKimiModel,
103
103
  isPlatformMimoProviderModel,
104
104
  resolveFireworksKimiModel
105
- } from "./chunk-Y3PMXGLH.js";
105
+ } from "./chunk-IYIXAIEB.js";
106
106
  import {
107
107
  asTrimmedLowercaseString
108
108
  } from "./chunk-QSJ3HFEF.js";
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-5ZUL4CUO.js";
4
4
  import {
5
5
  getModelContextWindow
6
- } from "./chunk-L5WOICCV.js";
6
+ } from "./chunk-MJ3CRU77.js";
7
7
  import {
8
8
  findModelConfig,
9
9
  getProviderByModelName
10
- } from "./chunk-3BXNTXYI.js";
10
+ } from "./chunk-GU7DC2TD.js";
11
11
  import {
12
12
  asTrimmedLowercaseString
13
13
  } from "./chunk-QSJ3HFEF.js";
@@ -7,7 +7,7 @@ import {
7
7
  readAction,
8
8
  readRequestManager,
9
9
  resolveAgentReadServers
10
- } from "./chunk-D2GQE6AF.js";
10
+ } from "./chunk-PFLF4R4E.js";
11
11
  import {
12
12
  beginWriteAck,
13
13
  compareRemoteRecordsByComparableTime,
@@ -505,6 +505,7 @@ var resolveFileCategory = ({
505
505
  }
506
506
  return "other";
507
507
  };
508
+ var MAX_MEDIA_FILE_SIZE = 120 * 1024 * 1024;
508
509
 
509
510
  // packages/database/actions/upload.ts
510
511
  var saveToClientDb2 = async (clientDb, dbKey, metadata) => {
@@ -724,7 +725,7 @@ var dbSlice = createSliceWithThunks({
724
725
  // 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
725
726
  read: create.asyncThunk(
726
727
  async (payload, thunkApi) => {
727
- const { readAction: readAction2 } = await import("./read-PJIT2YEJ.js");
728
+ const { readAction: readAction2 } = await import("./read-XMBM52Y4.js");
728
729
  return readAction2(payload, thunkApi);
729
730
  },
730
731
  {