nolo-cli 0.250.0-alpha.1 → 0.251.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/{_executeModel-F4MT6OPO.js → _executeModel-55PHWQWB.js} +27 -27
  2. package/{addContentAction-MLI6GOBV.js → addContentAction-LBVAQUF7.js} +2 -2
  3. package/{addDialogAgentAction-ARGQM22H.js → addDialogAgentAction-6WAUSUSZ.js} +1 -1
  4. package/{agentDeleteCommand-DBCRHB4S.js → agentDeleteCommand-KEO3KDK3.js} +53 -49
  5. package/{agentEmailCommands-T4PAJ4KG.js → agentEmailCommands-RWJQQRNT.js} +54 -50
  6. package/{agentListCommands-5ULWKQ3E.js → agentListCommands-L3TLPLNH.js} +17 -17
  7. package/{agentMachineCommands-65QUOCEY.js → agentMachineCommands-EZWWXWDH.js} +16 -16
  8. package/{agentPullCommand-4EQZYHU4.js → agentPullCommand-6OCNLVGC.js} +1 -1
  9. package/{agentRecordCommands-EKANS3A5.js → agentRecordCommands-7W2CGHJJ.js} +53 -49
  10. package/{agentRunCommand-336PXBRJ.js → agentRunCommand-POL6B6BO.js} +54 -50
  11. package/{agentRunControl-QMWTWV7C.js → agentRunControl-FKSXBUAF.js} +1 -1
  12. package/{agentRuntimeLocal-KKXJOBD3.js → agentRuntimeLocal-WSHWNIMF.js} +14 -14
  13. package/{agentSlice-FWYXP332.js → agentSlice-3G2YLTA4.js} +3 -3
  14. package/{appDeleteCommands-ERJK367V.js → appDeleteCommands-DZZQCVYH.js} +16 -16
  15. package/{appDeployCommands-LUV6QKQJ.js → appDeployCommands-NJJBVNH5.js} +16 -16
  16. package/{appDeployStatusCommands-WW7IYQD4.js → appDeployStatusCommands-GBOAFEYG.js} +16 -16
  17. package/{appGetCommands-G7XYYSFO.js → appGetCommands-GOOKYMKO.js} +16 -16
  18. package/{appListCommands-4RXCIDNI.js → appListCommands-OBCGUG3S.js} +16 -16
  19. package/{authCommand-3C3RN4OU.js → authCommand-77CRN332.js} +9 -9
  20. package/{authCommands-ZMVEDCQD.js → authCommands-BLXNAUF4.js} +2 -2
  21. package/{chromeOpsCommands-NZITLHWO.js → chromeOpsCommands-6RLEBBJJ.js} +1 -1
  22. package/chunk-3A5NNQCN.js +64 -0
  23. package/{chunk-HEIIOJGN.js → chunk-3KWJPTVP.js} +2 -2
  24. package/{chunk-7IQA2VJF.js → chunk-3ZWJVKFB.js} +148 -38
  25. package/{chunk-OLGFIQN2.js → chunk-43VT5PLM.js} +1 -1
  26. package/{chunk-RHBD22LV.js → chunk-5IKKSJYX.js} +4 -2
  27. package/{chunk-U7OMQLRE.js → chunk-6UNJ6JGR.js} +9 -9
  28. package/{chunk-BFKJ2RS3.js → chunk-7RYODZDD.js} +1 -1
  29. package/{chunk-YQO5UKHP.js → chunk-A55E2OCP.js} +16 -16
  30. package/{chunk-XHG7QROB.js → chunk-CUYFRVJF.js} +3 -3
  31. package/{chunk-I3J7HO3U.js → chunk-D35TOEMM.js} +2 -2
  32. package/{chunk-OHUYN3YU.js → chunk-D3E5MYXO.js} +1 -1
  33. package/{chunk-SPU3L3OR.js → chunk-EFM2IPZR.js} +3 -3
  34. package/{chunk-6XRPBZRS.js → chunk-EYLGAEB4.js} +0 -134
  35. package/{chunk-ZKMS73DK.js → chunk-FAFDIQJG.js} +3 -3
  36. package/{chunk-UF6J7NXV.js → chunk-GMWZRXRM.js} +1 -1
  37. package/{chunk-ARFCL53U.js → chunk-HD5EKSLF.js} +3 -3
  38. package/{chunk-4IQN6FWY.js → chunk-HQLCYPL4.js} +1 -1
  39. package/chunk-HZD5HXUO.js +405 -0
  40. package/{chunk-FFFKAOJN.js → chunk-IXAGRTAR.js} +1 -1
  41. package/{chunk-UPOW5HTG.js → chunk-IZWGO2ZS.js} +1 -1
  42. package/{chunk-NEG5LYK5.js → chunk-JCQ3WCQ3.js} +3 -1
  43. package/{chunk-ZTWDSOXD.js → chunk-JUYI2D7J.js} +1 -1
  44. package/{chunk-OKKA4BCM.js → chunk-K5CIMK3R.js} +2 -2
  45. package/{chunk-AXZ5DDLB.js → chunk-KGOBJAWC.js} +51 -49
  46. package/{chunk-JFRJEPFI.js → chunk-KRAPKTAS.js} +1 -1
  47. package/{chunk-RDBDHGU7.js → chunk-KZVRPCOR.js} +2 -2
  48. package/{chunk-TMRJGSK2.js → chunk-L5HV76QT.js} +1 -1
  49. package/{chunk-3IVFGQIM.js → chunk-LOXR4TQN.js} +1 -1
  50. package/{chunk-W6T4FNZP.js → chunk-LUPZLKXL.js} +192 -352
  51. package/{chunk-73PZD7JZ.js → chunk-MTS5DCL2.js} +2 -2
  52. package/{chunk-SMEX763N.js → chunk-N3SEV3CG.js} +34 -26
  53. package/{chunk-WEZ27JA7.js → chunk-NMXGIRSG.js} +1 -1
  54. package/{chunk-I3OW5RAX.js → chunk-NTNX77FI.js} +6 -6
  55. package/{chunk-32WTED6G.js → chunk-OARYOLF3.js} +90 -79
  56. package/{chunk-BAH3BAUZ.js → chunk-OQCAHPDQ.js} +5 -5
  57. package/{chunk-VIYVRPMJ.js → chunk-PHREU2KZ.js} +5 -3
  58. package/{chunk-W4G25PVP.js → chunk-PKMDYRAM.js} +31 -22
  59. package/{chunk-VV5IS3ES.js → chunk-PLS2MJVW.js} +5 -5
  60. package/{chunk-ATRU65OK.js → chunk-Q5KZ6F55.js} +11 -11
  61. package/{chunk-AKWA6PCE.js → chunk-QJ5YDTEF.js} +7 -7
  62. package/{chunk-V4IYI3SB.js → chunk-QLGL43SI.js} +1 -1
  63. package/{chunk-K7VIXYTZ.js → chunk-R3MV2GII.js} +1 -45
  64. package/{chunk-E5RYFR7E.js → chunk-R7D5SRAZ.js} +2 -0
  65. package/{chunk-KK3FCYZM.js → chunk-SQL7YNED.js} +7 -4
  66. package/{chunk-D25ONVOH.js → chunk-SSZHE2RK.js} +1 -1
  67. package/{chunk-ADOOL3PG.js → chunk-T4V6C3J3.js} +1 -1
  68. package/{chunk-X6LYQDN5.js → chunk-TGKAUEV3.js} +4 -4
  69. package/chunk-TRRXYFTR.js +46 -0
  70. package/{chunk-BVEDT6DM.js → chunk-U2OWDHDE.js} +3 -3
  71. package/{chunk-YWNCRUBZ.js → chunk-UCMUXZJV.js} +5 -5
  72. package/{chunk-6QL3SUEK.js → chunk-W2N4OAKM.js} +2 -2
  73. package/{chunk-VHMPJGT4.js → chunk-X337N4D6.js} +3 -3
  74. package/{chunk-6TVYUQRM.js → chunk-XC5RPSXK.js} +1 -1
  75. package/chunk-XRGBJHZX.js +136 -0
  76. package/{chunk-PGDM7AM2.js → chunk-ZKKJZBNO.js} +6 -6
  77. package/{chunk-SHDJLJWV.js → chunk-ZSRR6HCH.js} +1 -1
  78. package/{cliAgentConfigHelpers-37ZNEY5Y.js → cliAgentConfigHelpers-N6LTB7UY.js} +2 -2
  79. package/{cliAuthorityBrokerClient-SFPC3WVK.js → cliAuthorityBrokerClient-TFNXJLXL.js} +1 -1
  80. package/cliAuthorityBrokerProcess-IUCB4XA6.js +22 -0
  81. package/{cliLocalAgentRecordReader-R4CLUHYO.js → cliLocalAgentRecordReader-NFNGYOOW.js} +15 -15
  82. package/{commandRegistry-UIZRI4JV.js → commandRegistry-OM5DU4DS.js} +72 -72
  83. package/{contentThunks-ZQSZA4GH.js → contentThunks-7URM43ET.js} +10 -10
  84. package/{cooldownCommands-TIFCHCUN.js → cooldownCommands-JEEV75B7.js} +1 -1
  85. package/{createAgentAutomationAction-RQE4F6PR.js → createAgentAutomationAction-GGEXIKMC.js} +10 -10
  86. package/{createDialogAction-JDSMQ34U.js → createDialogAction-IXXEMFRQ.js} +11 -11
  87. package/{createPageAction-VLF6XCYO.js → createPageAction-IXIVLIOO.js} +13 -13
  88. package/{db-CMUTP3W5.js → db-J5KE7XRI.js} +3 -2
  89. package/{dbSlice-656PMWR2.js → dbSlice-IE4ADINL.js} +1 -1
  90. package/{dialogCommands-PLM7ZFWH.js → dialogCommands-RPBHOZB6.js} +25 -21
  91. package/{dialogNotifyCommand-PST75COP.js → dialogNotifyCommand-ECKI5MMA.js} +3 -3
  92. package/{dialogSlice-63DD2ER2.js → dialogSlice-5FQB2TNN.js} +8 -8
  93. package/{dialogUsageCommand-6RW2FY6K.js → dialogUsageCommand-TBIA2QAF.js} +2 -2
  94. package/{docCreateCommands-BST5DO7L.js → docCreateCommands-XJ2X57DW.js} +15 -15
  95. package/{docDeleteCommands-YE6G2SO4.js → docDeleteCommands-45WGFFEB.js} +15 -15
  96. package/{docReadCommands-M6T35U3G.js → docReadCommands-LRRVDS46.js} +15 -15
  97. package/{docStore-7QNJWRJ2.js → docStore-SUAVM24F.js} +2 -2
  98. package/{docUpdateCommands-6DFWGPVG.js → docUpdateCommands-QUYX6BVR.js} +15 -15
  99. package/{handleSendMessageAction-FCEFFAV4.js → handleSendMessageAction-FDIWBQUB.js} +65 -23
  100. package/{hostCredentialCreate-YEWCAMZN.js → hostCredentialCreate-CEXQHYT4.js} +53 -49
  101. package/index.js +23 -11
  102. package/{localDialogRead-CIOTQM5T.js → localDialogRead-USDZXKIL.js} +1 -1
  103. package/{localRuntimeAdapter-Z22ZOZRY.js → localRuntimeAdapter-O3JBRK6S.js} +51 -47
  104. package/{localRuntimeAuthority-TYHQCTZN.js → localRuntimeAuthority-QKWTPBQQ.js} +13 -3
  105. package/{localRuntimeDb-BO7IVWAZ.js → localRuntimeDb-3CIC4SKC.js} +1 -1
  106. package/{machineCommands-PT5OJ36V.js → machineCommands-I3YA7TNC.js} +52 -48
  107. package/{machineWsRunDispatch-DQVNBSVE.js → machineWsRunDispatch-E5CIE2OJ.js} +52 -48
  108. package/{markdownToSlate-KIYM7B3P.js → markdownToSlate-PXYAIBVL.js} +1 -1
  109. package/{mcpLocalAuthorizeCommand-GO6AYT63.js → mcpLocalAuthorizeCommand-K5J2VMG6.js} +10 -6
  110. package/{memberThunks-JFYC4Z5L.js → memberThunks-T7EAZE6A.js} +3 -3
  111. package/package.json +2 -1
  112. package/{projectArchive-4XUC5SLF.js → projectArchive-A7E65AZO.js} +13 -13
  113. package/{readlineWorkspace-7U5QM3OM.js → readlineWorkspace-2O65NBFG.js} +89 -86
  114. package/{removeDialogAgentAction-J7XU7OUX.js → removeDialogAgentAction-GRT72HLK.js} +3 -3
  115. package/{runAgentClientLoop-7D7UCAS2.js → runAgentClientLoop-NWCZIXCG.js} +25 -25
  116. package/{runtimeDoctorCommands-RDRJXMXC.js → runtimeDoctorCommands-26HYHFTK.js} +9 -6
  117. package/{secretCommands-2FEMRUFM.js → secretCommands-XR72SHLK.js} +2 -2
  118. package/{setDialogExtraReferencesAction-Q4V2ZZW2.js → setDialogExtraReferencesAction-CBG3X46B.js} +2 -2
  119. package/{setPrimaryDialogAgentAction-742H5S6T.js → setPrimaryDialogAgentAction-EWTDZOAX.js} +3 -3
  120. package/{settingThunks-IHXUF276.js → settingThunks-X4PT66J2.js} +1 -1
  121. package/{spaceCommands-WCLD36WH.js → spaceCommands-EVSNTGRS.js} +14 -14
  122. package/{streamAgentChatTurn-DVTOINT3.js → streamAgentChatTurn-SYP3OEM5.js} +50 -50
  123. package/{switchDialogAgentAction-HLDLHRRA.js → switchDialogAgentAction-YHPZ7K6E.js} +1 -1
  124. package/{tools-BOPINT5S.js → tools-2AO2SK4L.js} +20 -20
  125. package/{tuiRestart-5F2APN66.js → tuiRestart-HBQDF4AE.js} +2 -2
  126. package/{tuiSummaryLlmCaller-TM5BU73J.js → tuiSummaryLlmCaller-Q2PNR63K.js} +4 -4
  127. package/{updateCommands-FBYA5WVG.js → updateCommands-6SI7NWVC.js} +3 -3
  128. package/{updateDialogTitleAction-S76PUCLQ.js → updateDialogTitleAction-MWVMBIPZ.js} +10 -10
  129. package/{usageCommand-L4OFWXEU.js → usageCommand-D44AOTMH.js} +2 -2
  130. package/{usageRebuildCommand-7JR33UHS.js → usageRebuildCommand-IRIMKDI5.js} +3 -3
  131. package/{windowsSelfUpdate-M4V77OUB.js → windowsSelfUpdate-BJIJKKIS.js} +2 -2
  132. package/{chunk-MYYNZG2M.js → chunk-CJ2BP6V7.js} +3 -3
  133. package/{chunk-HZDK56EK.js → chunk-IFJ6OTI6.js} +0 -0
  134. package/{chunk-WMKA2DPK.js → chunk-LMMRWGGJ.js} +3 -3
  135. package/{chunk-EDT65EUE.js → chunk-WZPG63Q4.js} +3 -3
@@ -10,9 +10,6 @@ import {
10
10
  import {
11
11
  normalizeTopicKey
12
12
  } from "./chunk-MVOZ22RZ.js";
13
- import {
14
- formatWorkContextWriteNotice
15
- } from "./chunk-WDWZPASX.js";
16
13
  import {
17
14
  AGENT_UPDATE_FIELD_NAMES,
18
15
  DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS,
@@ -20,11 +17,6 @@ import {
20
17
  normalizeSystemBuiltinSkills,
21
18
  normalizeUiPlugins
22
19
  } from "./chunk-VZCBYCHV.js";
23
- import {
24
- applyFetchSpaceFulfilled,
25
- fetchAuthoritativeRemoteSpace,
26
- selectSpaceRemoteAuth
27
- } from "./chunk-JFRJEPFI.js";
28
20
  import {
29
21
  ToolResultError,
30
22
  clipMultilineText,
@@ -38,16 +30,24 @@ import {
38
30
  toolRunUpdated,
39
31
  uiCardFallback,
40
32
  waitForAbortableDelay
41
- } from "./chunk-PGDM7AM2.js";
33
+ } from "./chunk-ZKKJZBNO.js";
42
34
  import {
43
35
  isGatewayHttpStatus
44
36
  } from "./chunk-NF64D32W.js";
45
37
  import {
46
38
  resolveUserEnabledSkills
47
39
  } from "./chunk-WMMKHEGQ.js";
40
+ import {
41
+ formatWorkContextWriteNotice
42
+ } from "./chunk-WDWZPASX.js";
48
43
  import {
49
44
  createDocState
50
- } from "./chunk-ZKMS73DK.js";
45
+ } from "./chunk-FAFDIQJG.js";
46
+ import {
47
+ applyFetchSpaceFulfilled,
48
+ fetchAuthoritativeRemoteSpace,
49
+ selectSpaceRemoteAuth
50
+ } from "./chunk-KRAPKTAS.js";
51
51
  import {
52
52
  readDocFunc,
53
53
  readDocFunctionSchema,
@@ -55,11 +55,14 @@ import {
55
55
  readPageFunctionSchema,
56
56
  resolvePageReadMarkdown
57
57
  } from "./chunk-CD64YXRB.js";
58
+ import {
59
+ shareResourceAction
60
+ } from "./chunk-XJSEST7D.js";
58
61
  import {
59
62
  createDialogAction,
60
63
  uiAskChoiceFunc,
61
64
  uiAskChoiceFunctionSchema
62
- } from "./chunk-VHMPJGT4.js";
65
+ } from "./chunk-X337N4D6.js";
63
66
  import {
64
67
  DEFAULT_COLLAPSED_CATEGORIES,
65
68
  addContentToSpace,
@@ -76,7 +79,7 @@ import {
76
79
  updateContentCategory,
77
80
  updateContentTitle,
78
81
  writeStoredCollapsedCategories
79
- } from "./chunk-X6LYQDN5.js";
82
+ } from "./chunk-TGKAUEV3.js";
80
83
  import {
81
84
  buildDatabaseFileContentUrl,
82
85
  deleteDialog,
@@ -85,14 +88,14 @@ import {
85
88
  selectCurrentDialogConfig,
86
89
  selectCurrentDialogId,
87
90
  selectMsgById
88
- } from "./chunk-YQO5UKHP.js";
91
+ } from "./chunk-A55E2OCP.js";
89
92
  import {
90
93
  createAgent,
91
94
  deleteServerSyncedCredential,
92
95
  runLlm,
93
96
  streamAgentChatTurn,
94
97
  updateAgent
95
- } from "./chunk-AKWA6PCE.js";
98
+ } from "./chunk-QJ5YDTEF.js";
96
99
  import {
97
100
  addMemberSpace,
98
101
  getAllMemberSpaces,
@@ -109,12 +112,16 @@ import {
109
112
  setViewMode,
110
113
  updateCurrentSpaceIfMatch,
111
114
  updateMemberSpaceName
112
- } from "./chunk-FFFKAOJN.js";
115
+ } from "./chunk-IXAGRTAR.js";
116
+ import {
117
+ selectCurrentServer,
118
+ selectSyncServers
119
+ } from "./chunk-MTM4LRVG.js";
113
120
  import {
114
121
  UNCATEGORIZED_ID,
115
122
  addContentAction,
116
123
  checkSpaceMembership
117
- } from "./chunk-V4IYI3SB.js";
124
+ } from "./chunk-QLGL43SI.js";
118
125
  import {
119
126
  createSpaceKey,
120
127
  normalizeSpaceId
@@ -130,7 +137,7 @@ import {
130
137
  selectEntities,
131
138
  toTimestampMs,
132
139
  write
133
- } from "./chunk-HZDK56EK.js";
140
+ } from "./chunk-IFJ6OTI6.js";
134
141
  import {
135
142
  resolveDefaultReasoningEffort
136
143
  } from "./chunk-FGHEF6WI.js";
@@ -190,13 +197,6 @@ import {
190
197
  resolveRecordOwnerUserId,
191
198
  selectRuntimeSnapshot
192
199
  } from "./chunk-WQDTSK5U.js";
193
- import {
194
- shareResourceAction
195
- } from "./chunk-XJSEST7D.js";
196
- import {
197
- selectCurrentServer,
198
- selectSyncServers
199
- } from "./chunk-MTM4LRVG.js";
200
200
  import {
201
201
  createAsyncThunk,
202
202
  createSelector,
@@ -235,24 +235,24 @@ import {
235
235
  resolveNoloDialogInput,
236
236
  verifyNoloDialogSubjectRefQuery
237
237
  } from "./chunk-CFDOIIOZ.js";
238
+ import {
239
+ mergeAvailabilityDeadline,
240
+ resolveCredentialKeyWithFallback
241
+ } from "./chunk-QJTZ76CP.js";
238
242
  import {
239
243
  MCP_CALL_TOOL_INPUT_SCHEMA,
240
244
  MCP_LIST_CONNECTIONS_INPUT_SCHEMA,
241
245
  MCP_LIST_TOOLS_INPUT_SCHEMA
242
246
  } from "./chunk-KXOPLLFP.js";
243
- import {
244
- mergeAvailabilityDeadline,
245
- resolveCredentialKeyWithFallback
246
- } from "./chunk-QJTZ76CP.js";
247
247
  import {
248
248
  clipCompactText
249
249
  } from "./chunk-5MMAK75Q.js";
250
- import {
251
- createFileCredentialBroker
252
- } from "./chunk-E6A5NHDH.js";
253
250
  import {
254
251
  asRecordOrEmpty
255
252
  } from "./chunk-KX6YBIHG.js";
253
+ import {
254
+ createFileCredentialBroker
255
+ } from "./chunk-E6A5NHDH.js";
256
256
  import {
257
257
  compactWhitespace
258
258
  } from "./chunk-DWLEOOGR.js";
@@ -309,7 +309,7 @@ import {
309
309
  import {
310
310
  redactAgentRecordForWorkspaceTool,
311
311
  resolveReadOnlyToolConstraints
312
- } from "./chunk-NEG5LYK5.js";
312
+ } from "./chunk-JCQ3WCQ3.js";
313
313
  import {
314
314
  CHROME_CONNECTOR_ACCEPTED_TOOL_NAMES,
315
315
  canonicalizeToolName,
@@ -4014,7 +4014,7 @@ async function deleteDialogsFunc(args, thunkApi) {
4014
4014
  const deletedDialogIds = [];
4015
4015
  const deletedDialogKeys = [];
4016
4016
  const failures = [];
4017
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-63DD2ER2.js");
4017
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-5FQB2TNN.js");
4018
4018
  for (const target of targets) {
4019
4019
  try {
4020
4020
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -5391,7 +5391,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
5391
5391
  const spaceKey = createSpaceKey.space(spaceId);
5392
5392
  const readSpace = async (dbKey) => {
5393
5393
  try {
5394
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-656PMWR2.js");
5394
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-IE4ADINL.js");
5395
5395
  const readPromise = fresh ? dispatch(readAndWait2(dbKey)).unwrap() : dispatch(read2({ dbKey })).unwrap();
5396
5396
  return await withTimeout(readPromise);
5397
5397
  } catch {
@@ -12087,7 +12087,7 @@ var selectUserIdFromState = (state2) => {
12087
12087
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
12088
12088
  async function addImageContentToSpace(input) {
12089
12089
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
12090
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-MLI6GOBV.js")).addContentAction;
12090
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-LBVAQUF7.js")).addContentAction;
12091
12091
  await addContentAction2(
12092
12092
  {
12093
12093
  spaceId: input.spaceId,
@@ -13379,6 +13379,92 @@ async function execShellFunc(args, thunkApi, context2) {
13379
13379
  }
13380
13380
  }
13381
13381
 
13382
+ // packages/ai/tools/sandboxWorkspaceTools.ts
13383
+ var materializeWorkspaceFileFunctionSchema = {
13384
+ name: "materializeWorkspaceFile",
13385
+ description: "\u5C06\u5F53\u524D\u7528\u6237\u6709\u6743\u8BBF\u95EE\u7684 Space \u6388\u6743\u6587\u4EF6\u6216\u79C1\u6709\u6587\u4EF6\uFF08\u6216\u5DF2\u6301\u4E45\u5316\u7684 Workspace Artifact\uFF09\u7269\u5316\u5230\u5F53\u524D\u9694\u79BB Sandbox \u7684\u53EA\u8BFB input/ \u76EE\u5F55\u4E2D\u3002",
13386
+ parameters: {
13387
+ type: "object",
13388
+ properties: {
13389
+ fileId: {
13390
+ type: "string",
13391
+ description: "\u76EE\u6807\u6587\u4EF6\u7684 fileId \u6216\u5B8C\u6574 file-* dbKey\uFF08\u4E0E logicalName \u4E8C\u9009\u4E00\uFF09\u3002"
13392
+ },
13393
+ logicalName: {
13394
+ type: "string",
13395
+ description: "\u5DF2\u6301\u4E45\u5316 Artifact \u7684\u903B\u8F91\u6587\u4EF6\u540D\uFF08\u5982 report.json\uFF0C\u4E0E fileId \u4E8C\u9009\u4E00\uFF09\u3002"
13396
+ },
13397
+ spaceId: {
13398
+ type: "string",
13399
+ description: "\u53EF\u9009\uFF0C\u76EE\u6807 Space ID\uFF1B\u7701\u7565\u65F6\u4F7F\u7528\u5F53\u524D\u5BF9\u8BDD\u6240\u5C5E Space\u3002"
13400
+ },
13401
+ targetName: {
13402
+ type: "string",
13403
+ description: "\u53EF\u9009\uFF0C\u7269\u5316\u5230 input/ \u4E0B\u7684\u5B89\u5168\u6587\u4EF6\u540D\u3002"
13404
+ }
13405
+ }
13406
+ }
13407
+ };
13408
+ var commitSandboxArtifactFunctionSchema = {
13409
+ name: "commitSandboxArtifact",
13410
+ description: "\u6821\u9A8C\u5F53\u524D\u9694\u79BB Sandbox \u4E2D output/ \u76EE\u5F55\u5185\u7684\u4EA7\u7269\u6587\u4EF6\uFF0C\u5E76\u5C06\u5176\u6301\u4E45\u5316\u63D0\u4EA4\u5230 Space \u6216\u7528\u6237\u79C1\u6709 Artifact \u5B58\u50A8\uFF08\u652F\u6301\u7248\u672C\u51B2\u7A81\u68C0\u6D4B\u4E0E\u5E42\u7B49\u91CD\u8BD5\uFF09\u3002",
13411
+ parameters: {
13412
+ type: "object",
13413
+ properties: {
13414
+ outputPath: {
13415
+ type: "string",
13416
+ description: "Sandbox \u4E2D output/ \u4E0B\u7684\u76F8\u5BF9\u6587\u4EF6\u8DEF\u5F84\uFF0C\u4F8B\u5982 output/report.json \u6216 report.json\u3002"
13417
+ },
13418
+ logicalName: {
13419
+ type: "string",
13420
+ description: "\u53EF\u9009\uFF0C\u6301\u4E45\u5316\u540E\u7684\u903B\u8F91\u6587\u4EF6\u540D\uFF0C\u9ED8\u8BA4\u53D6 outputPath \u7684\u6587\u4EF6\u540D\u3002"
13421
+ },
13422
+ mimeType: {
13423
+ type: "string",
13424
+ description: "\u53EF\u9009\uFF0C\u6587\u4EF6 MIME \u7C7B\u578B\uFF08\u9ED8\u8BA4\u6309\u6269\u5C55\u540D\u63A8\u65AD\uFF09\u3002"
13425
+ },
13426
+ spaceId: {
13427
+ type: "string",
13428
+ description: "\u53EF\u9009\uFF0C\u76EE\u6807 Space ID\uFF1B\u7701\u7565\u65F6\u82E5\u5BF9\u8BDD\u5728 Space \u4E2D\u5219\u5F52\u5C5E\u8BE5 Space\uFF0C\u5426\u5219\u5F52\u5C5E\u5F53\u524D\u7528\u6237\u79C1\u6709\u7A7A\u95F4\u3002"
13429
+ },
13430
+ principalKind: {
13431
+ type: "string",
13432
+ enum: ["space", "user"],
13433
+ description: "\u53EF\u9009\uFF0C\u663E\u5F0F\u6307\u5B9A\u5F52\u5C5E\u4E3B\u4F53\u7C7B\u578B\uFF08space \u6216 user\uFF09\u3002"
13434
+ },
13435
+ expectedVersion: {
13436
+ type: "integer",
13437
+ description: "\u53EF\u9009\uFF0C\u4E50\u89C2\u5E76\u53D1\u63A7\u5236\u671F\u671B\u7248\u672C\u53F7\uFF1B\u4E0E\u5F53\u524D\u7248\u672C\u4E0D\u4E00\u81F4\u65F6\u62D2\u7EDD\u8986\u76D6\u3002"
13438
+ },
13439
+ idempotencyKey: {
13440
+ type: "string",
13441
+ description: "\u53EF\u9009\uFF0C\u91CD\u8BD5\u5E42\u7B49\u952E\uFF1B\u91CD\u590D\u63D0\u4EA4\u540C\u5185\u5BB9\u8FD4\u56DE\u540C\u4E00\u6761\u5DF2\u63D0\u4EA4\u8BB0\u5F55\u3002"
13442
+ }
13443
+ },
13444
+ required: ["outputPath"]
13445
+ }
13446
+ };
13447
+ async function materializeWorkspaceFileClientStub() {
13448
+ return {
13449
+ rawData: {
13450
+ ok: false,
13451
+ error: "server_only_tool",
13452
+ message: "materializeWorkspaceFile must run inside a server web-hosted sandbox run."
13453
+ },
13454
+ displayData: "materializeWorkspaceFile \u4EC5\u5728\u670D\u52A1\u7AEF\u9694\u79BB Sandbox \u8FD0\u884C\u4E2D\u53EF\u7528\u3002"
13455
+ };
13456
+ }
13457
+ async function commitSandboxArtifactClientStub() {
13458
+ return {
13459
+ rawData: {
13460
+ ok: false,
13461
+ error: "server_only_tool",
13462
+ message: "commitSandboxArtifact must run inside a server web-hosted sandbox run."
13463
+ },
13464
+ displayData: "commitSandboxArtifact \u4EC5\u5728\u670D\u52A1\u7AEF\u9694\u79BB Sandbox \u8FD0\u884C\u4E2D\u53EF\u7528\u3002"
13465
+ };
13466
+ }
13467
+
13382
13468
  // packages/ai/tools/checkEnvTool.ts
13383
13469
  var checkEnvFunctionSchema = {
13384
13470
  name: "checkEnv",
@@ -19377,7 +19463,7 @@ async function updateDocFunc(args, thunkApi) {
19377
19463
  { slateToRenderMarkdown },
19378
19464
  { extractMentionsFromSlate }
19379
19465
  ] = await Promise.all([
19380
- import("./markdownToSlate-KIYM7B3P.js"),
19466
+ import("./markdownToSlate-PXYAIBVL.js"),
19381
19467
  import("./slateToRenderMarkdown-R3X74MCX.js"),
19382
19468
  import("./slateUtils-ESQAJ6RN.js")
19383
19469
  ]);
@@ -19401,7 +19487,7 @@ async function updateDocFunc(args, thunkApi) {
19401
19487
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
19402
19488
  };
19403
19489
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
19404
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-7QNJWRJ2.js");
19490
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-SUAVM24F.js");
19405
19491
  if (getDocState().pageKey === id) {
19406
19492
  applyExternalDocUpdate({
19407
19493
  slateData: finalSlateData,
@@ -19426,7 +19512,7 @@ async function updateDocFunc(args, thunkApi) {
19426
19512
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
19427
19513
  async function dispatchSetSettings(thunkApi, changes) {
19428
19514
  const injectedSetSettings = thunkApi?.extra?.setSettings;
19429
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-IHXUF276.js")).setSettings;
19515
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-X4PT66J2.js")).setSettings;
19430
19516
  await thunkApi.dispatch(setSettings(changes)).unwrap();
19431
19517
  }
19432
19518
  var updateUserPreferenceProfileFunctionSchema = {
@@ -21606,6 +21692,30 @@ var baseToolDefinitions = [
21606
21692
  },
21607
21693
  behavior: "action"
21608
21694
  },
21695
+ {
21696
+ id: "materializeWorkspaceFile",
21697
+ schema: materializeWorkspaceFileFunctionSchema,
21698
+ executor: materializeWorkspaceFileClientStub,
21699
+ description: {
21700
+ name: "materializeWorkspaceFile",
21701
+ description: "\u5C06\u5DF2\u6388\u6743\u7684 Space/\u7528\u6237\u6587\u4EF6\u7269\u5316\u5230\u9694\u79BB Sandbox \u7684\u53EA\u8BFB input/ \u76EE\u5F55\u3002",
21702
+ category: "\u4EE3\u7801 / \u6587\u4EF6\u64CD\u4F5C"
21703
+ },
21704
+ behavior: "data",
21705
+ uiGroup: "data"
21706
+ },
21707
+ {
21708
+ id: "commitSandboxArtifact",
21709
+ schema: commitSandboxArtifactFunctionSchema,
21710
+ executor: commitSandboxArtifactClientStub,
21711
+ description: {
21712
+ name: "commitSandboxArtifact",
21713
+ description: "\u6821\u9A8C Sandbox output/ \u4EA7\u7269\u5E76\u63D0\u4EA4\u5230\u6301\u4E45\u5316 Space/\u7528\u6237 Artifact \u5B58\u50A8\u3002",
21714
+ category: "\u4EE3\u7801 / \u6587\u4EF6\u64CD\u4F5C"
21715
+ },
21716
+ behavior: "action",
21717
+ uiGroup: "data"
21718
+ },
21609
21719
  {
21610
21720
  id: "checkEnv",
21611
21721
  schema: checkEnvFunctionSchema,
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  patch,
6
6
  selectById
7
- } from "./chunk-HZDK56EK.js";
7
+ } from "./chunk-IFJ6OTI6.js";
8
8
  import {
9
9
  getActiveDialogKey
10
10
  } from "./chunk-U35UUM5K.js";
@@ -1,11 +1,13 @@
1
1
  import {
2
2
  Database
3
3
  } from "./chunk-IT3ZZRJE.js";
4
+ import {
5
+ createLegacyServerDb
6
+ } from "./chunk-TRRXYFTR.js";
4
7
  import {
5
8
  Level,
6
- createLegacyServerDb,
7
9
  createLevelAuthorityStore
8
- } from "./chunk-K7VIXYTZ.js";
10
+ } from "./chunk-R3MV2GII.js";
9
11
  import {
10
12
  asTrimmedLowercaseString
11
13
  } from "./chunk-QSJ3HFEF.js";
@@ -1,29 +1,29 @@
1
1
  import {
2
- markdownToSlate
3
- } from "./chunk-VIYVRPMJ.js";
2
+ slateToRenderMarkdown
3
+ } from "./chunk-63W5N6P3.js";
4
4
  import {
5
5
  buildSkillSummaryMarker
6
6
  } from "./chunk-VF4K2QE6.js";
7
+ import {
8
+ markdownToSlate
9
+ } from "./chunk-PHREU2KZ.js";
7
10
  import {
8
11
  createEmptyParagraph,
9
12
  splitSlateTitleAndBody
10
13
  } from "./chunk-AGIM7IMJ.js";
11
- import {
12
- slateToRenderMarkdown
13
- } from "./chunk-63W5N6P3.js";
14
14
  import {
15
15
  addContentToSpace,
16
16
  resolveCreationSpaceId
17
- } from "./chunk-X6LYQDN5.js";
17
+ } from "./chunk-TGKAUEV3.js";
18
18
  import {
19
19
  runtime_default
20
- } from "./chunk-YQO5UKHP.js";
20
+ } from "./chunk-A55E2OCP.js";
21
21
  import {
22
22
  getCurrentSpaceId
23
- } from "./chunk-FFFKAOJN.js";
23
+ } from "./chunk-IXAGRTAR.js";
24
24
  import {
25
25
  write
26
- } from "./chunk-HZDK56EK.js";
26
+ } from "./chunk-IFJ6OTI6.js";
27
27
  import {
28
28
  selectIdentityUserId
29
29
  } from "./chunk-PXYBUFDB.js";
@@ -14,7 +14,7 @@ function buildCliLocalRuntimeDbEnv(env = process.env) {
14
14
  };
15
15
  }
16
16
  async function getDefaultCliLocalRuntimeDb(options = {}) {
17
- const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-TYHQCTZN.js");
17
+ const { getDefaultCliLocalRuntimeDb: getAuthorityBackedDb } = await import("./localRuntimeAuthority-QKWTPBQQ.js");
18
18
  return getAuthorityBackedDb(options);
19
19
  }
20
20
 
@@ -10,10 +10,10 @@ import {
10
10
  } from "./chunk-523DITKR.js";
11
11
  import {
12
12
  runLlm
13
- } from "./chunk-AKWA6PCE.js";
13
+ } from "./chunk-QJ5YDTEF.js";
14
14
  import {
15
15
  cleanupCliSessionForDialog
16
- } from "./chunk-ARFCL53U.js";
16
+ } from "./chunk-HD5EKSLF.js";
17
17
  import {
18
18
  getActiveDialogAgentId,
19
19
  getDialogAgentIds,
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-5RGU3J7P.js";
22
22
  import {
23
23
  addContentAction
24
- } from "./chunk-V4IYI3SB.js";
24
+ } from "./chunk-QLGL43SI.js";
25
25
  import {
26
26
  patch,
27
27
  read,
@@ -29,7 +29,7 @@ import {
29
29
  selectById,
30
30
  upload,
31
31
  write
32
- } from "./chunk-HZDK56EK.js";
32
+ } from "./chunk-IFJ6OTI6.js";
33
33
  import {
34
34
  fetchMessages
35
35
  } from "./chunk-HXER7YJF.js";
@@ -14680,7 +14680,7 @@ var messageSlice = createSliceWithThunks({
14680
14680
  runtimeOptions: args.runtimeOptions
14681
14681
  });
14682
14682
  if (agentKeyToUse) {
14683
- const { streamAgentChatTurn } = await import("./agentSlice-FWYXP332.js");
14683
+ const { streamAgentChatTurn } = await import("./agentSlice-3G2YLTA4.js");
14684
14684
  await dispatch(
14685
14685
  streamAgentChatTurn({
14686
14686
  agentKey: agentKeyToUse,
@@ -15826,7 +15826,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15826
15826
  }
15827
15827
  if (isCurrentDialog) {
15828
15828
  await thunkApi.dispatch(resetMsgs());
15829
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-63DD2ER2.js");
15829
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-5FQB2TNN.js");
15830
15830
  dispatch(clearPendingAttachments2());
15831
15831
  }
15832
15832
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -15834,39 +15834,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15834
15834
 
15835
15835
  // packages/chat/dialog/dialogSlice.ts
15836
15836
  var runCreateDialogAction = async (args, thunkApi) => {
15837
- const { createDialogAction } = await import("./createDialogAction-JDSMQ34U.js");
15837
+ const { createDialogAction } = await import("./createDialogAction-IXXEMFRQ.js");
15838
15838
  return createDialogAction(args, thunkApi);
15839
15839
  };
15840
15840
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
15841
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-RQE4F6PR.js");
15841
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-GGEXIKMC.js");
15842
15842
  return createAgentAutomationAction(args, thunkApi);
15843
15843
  };
15844
15844
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
15845
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-S76PUCLQ.js");
15845
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-MWVMBIPZ.js");
15846
15846
  return updateDialogTitleAction(args, thunkApi);
15847
15847
  };
15848
15848
  var runAddDialogAgentAction = async (args, thunkApi) => {
15849
- const { addDialogAgentAction } = await import("./addDialogAgentAction-ARGQM22H.js");
15849
+ const { addDialogAgentAction } = await import("./addDialogAgentAction-6WAUSUSZ.js");
15850
15850
  return addDialogAgentAction(args, thunkApi);
15851
15851
  };
15852
15852
  var runRemoveDialogAgentAction = async (args, thunkApi) => {
15853
- const { removeDialogAgentAction } = await import("./removeDialogAgentAction-J7XU7OUX.js");
15853
+ const { removeDialogAgentAction } = await import("./removeDialogAgentAction-GRT72HLK.js");
15854
15854
  return removeDialogAgentAction(args, thunkApi);
15855
15855
  };
15856
15856
  var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
15857
- const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-742H5S6T.js");
15857
+ const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-EWTDZOAX.js");
15858
15858
  return setPrimaryDialogAgentAction(args, thunkApi);
15859
15859
  };
15860
15860
  var runSwitchDialogAgentAction = async (args, thunkApi) => {
15861
- const { switchDialogAgentAction } = await import("./switchDialogAgentAction-HLDLHRRA.js");
15861
+ const { switchDialogAgentAction } = await import("./switchDialogAgentAction-YHPZ7K6E.js");
15862
15862
  return switchDialogAgentAction(args, thunkApi);
15863
15863
  };
15864
15864
  var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
15865
- const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-Q4V2ZZW2.js");
15865
+ const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-CBG3X46B.js");
15866
15866
  return setDialogExtraReferencesAction(args, thunkApi);
15867
15867
  };
15868
15868
  var runHandleSendMessageAction = async (args, thunkApi) => {
15869
- const { handleSendMessageAction } = await import("./handleSendMessageAction-FCEFFAV4.js");
15869
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-FDIWBQUB.js");
15870
15870
  return handleSendMessageAction(args, thunkApi);
15871
15871
  };
15872
15872
  function clearDialogState() {
@@ -15879,7 +15879,7 @@ var createPageAndAddReference = createAsyncThunk(
15879
15879
  async (payload, { dispatch, getState, rejectWithValue }) => {
15880
15880
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
15881
15881
  try {
15882
- const { createDocState } = await import("./docStore-7QNJWRJ2.js");
15882
+ const { createDocState } = await import("./docStore-SUAVM24F.js");
15883
15883
  const pageKey = await createDocState(
15884
15884
  { slateData, title },
15885
15885
  { dispatch, getState }
@@ -2,7 +2,7 @@ import {
2
2
  clipMultilineText,
3
3
  fetchAndSerializeTable,
4
4
  waitForAbortableDelay
5
- } from "./chunk-PGDM7AM2.js";
5
+ } from "./chunk-ZKKJZBNO.js";
6
6
  import {
7
7
  isGatewayHttpStatus
8
8
  } from "./chunk-NF64D32W.js";
@@ -15,13 +15,13 @@ import {
15
15
  } from "./chunk-AGIM7IMJ.js";
16
16
  import {
17
17
  fetchAndCacheMessages
18
- } from "./chunk-YQO5UKHP.js";
18
+ } from "./chunk-A55E2OCP.js";
19
19
  import {
20
20
  createSpaceKey
21
21
  } from "./chunk-UAD2WT54.js";
22
22
  import {
23
23
  read
24
- } from "./chunk-HZDK56EK.js";
24
+ } from "./chunk-IFJ6OTI6.js";
25
25
  import {
26
26
  createDrainExhaustedResponse,
27
27
  isCoreDrainingBody,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-7IQA2VJF.js";
3
+ } from "./chunk-3ZWJVKFB.js";
4
4
  import {
5
5
  runtime_default
6
- } from "./chunk-YQO5UKHP.js";
6
+ } from "./chunk-A55E2OCP.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
9
  } from "./chunk-YLAHYLDQ.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-YZMNK53S.js";
8
8
  import {
9
9
  resolveLocalUserId
10
- } from "./chunk-UPOW5HTG.js";
10
+ } from "./chunk-IZWGO2ZS.js";
11
11
  import {
12
12
  toErrorMessage
13
13
  } from "./chunk-HNMXYYJR.js";
@@ -8,13 +8,13 @@ import {
8
8
  import {
9
9
  resolveMachineId
10
10
  } from "./chunk-S73EPYNC.js";
11
+ import {
12
+ getDefaultCliLocalRuntimeDb
13
+ } from "./chunk-7RYODZDD.js";
11
14
  import {
12
15
  gBase64,
13
16
  isExternalSessionKind
14
17
  } from "./chunk-YJPK35HB.js";
15
- import {
16
- getDefaultCliLocalRuntimeDb
17
- } from "./chunk-BFKJ2RS3.js";
18
18
  import {
19
19
  createMemoryKey,
20
20
  createMemoryOwnerIndexKey,