nolo-cli 0.190.0-alpha.1 → 0.190.0

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 (97) hide show
  1. package/{_executeModel-7GFCTOFY.js → _executeModel-YKU7B22N.js} +25 -25
  2. package/{action-HQXK4ZT4.js → action-BHWB4MOK.js} +2 -2
  3. package/{addContentAction-3WAN3OWY.js → addContentAction-BY375D35.js} +3 -3
  4. package/{addDialogAgentAction-WNQBFR5G.js → addDialogAgentAction-HOZYOCWC.js} +2 -2
  5. package/{agentDeleteCommand-USWGJZSW.js → agentDeleteCommand-LTM6MGUZ.js} +26 -26
  6. package/{agentEmailCommands-GAY44EQY.js → agentEmailCommands-U2SU2UKX.js} +27 -27
  7. package/{agentListCommands-CVLCMMJH.js → agentListCommands-UFRIQ4MP.js} +10 -10
  8. package/{agentMachineCommands-L36OJZVK.js → agentMachineCommands-E4IRBC3P.js} +8 -8
  9. package/{agentProviderCommands-XSZUCNIR.js → agentProviderCommands-T6E3JCR6.js} +1 -1
  10. package/{agentRecordCommands-YYWWC4NK.js → agentRecordCommands-HW6YDY5E.js} +26 -26
  11. package/{agentRunCommand-R42JIQMC.js → agentRunCommand-KIWEFELP.js} +27 -27
  12. package/{agentRuntimeLocal-G4KEXO5D.js → agentRuntimeLocal-WRWUTHCL.js} +5 -5
  13. package/{agentSlice-STUDWJJZ.js → agentSlice-UEXQ3TMJ.js} +3 -3
  14. package/{appDeleteCommands-C4VXCFO6.js → appDeleteCommands-AAUOZFMM.js} +9 -9
  15. package/{appDeployCommands-RFSFJY75.js → appDeployCommands-FZYC74TL.js} +9 -9
  16. package/{appDeployStatusCommands-DBT5WQ3X.js → appDeployStatusCommands-6QHBUEE4.js} +9 -9
  17. package/{appGetCommands-UPIBNR2W.js → appGetCommands-6FZADSW2.js} +9 -9
  18. package/{appListCommands-PQA5MSVU.js → appListCommands-G3N4LQRZ.js} +9 -9
  19. package/{authCommand-PIMMUEN5.js → authCommand-RV5MQDWN.js} +2 -2
  20. package/{authCommands-RFLKIPBT.js → authCommands-MZUXPRYJ.js} +2 -2
  21. package/{builtinSkillRegistry-2VN6JG4U.js → builtinSkillRegistry-7MBUY5EY.js} +3 -3
  22. package/{chromeOpsCommands-C46BXHEE.js → chromeOpsCommands-BA6CS4DI.js} +4 -0
  23. package/{chunk-3QFOYFJW.js → chunk-26MN245S.js} +4 -4
  24. package/{chunk-GSX7Z46F.js → chunk-5HAPEKNH.js} +1 -1
  25. package/{chunk-53RSTB7T.js → chunk-5N5FMA7J.js} +1 -1
  26. package/{chunk-ZCGA3Q7V.js → chunk-5XLLUQKC.js} +38 -13
  27. package/{chunk-WBCYL63M.js → chunk-6WZQGT5X.js} +6 -4
  28. package/{chunk-JOOWHDGM.js → chunk-A5BLRE3G.js} +1 -1
  29. package/{chunk-Y2ZDNW2H.js → chunk-B2N5GZBU.js} +2 -2
  30. package/{chunk-7SJG5ZNX.js → chunk-B6EZB6DW.js} +1 -1
  31. package/{chunk-BHVB3ICG.js → chunk-BV4QRWKY.js} +4 -4
  32. package/{chunk-MMOISK6N.js → chunk-BX5ZJVA5.js} +4 -4
  33. package/{chunk-CLGAGPEM.js → chunk-CNMQATUF.js} +1 -1
  34. package/{chunk-5LVGXDSL.js → chunk-CQPXGRMT.js} +2 -2
  35. package/{chunk-RBVR7P3M.js → chunk-CZAX2VJQ.js} +18 -18
  36. package/{chunk-ER4UTWWS.js → chunk-DFF6B7P7.js} +1 -1
  37. package/{chunk-HVV4B6OL.js → chunk-DUNY6XR5.js} +214 -47
  38. package/{chunk-WMHWFFTE.js → chunk-ECX3NKRD.js} +46 -0
  39. package/{chunk-H6FUDBS3.js → chunk-ENBAS3ZV.js} +11 -5
  40. package/{chunk-KOIGM3KU.js → chunk-FMOZ57LN.js} +1 -1
  41. package/{chunk-O2MBTX37.js → chunk-I7QLIRQE.js} +4 -4
  42. package/{chunk-LOQYQUM2.js → chunk-JGJVDP2W.js} +17 -17
  43. package/{chunk-7N6C3IHF.js → chunk-JY2LGGXS.js} +2 -2
  44. package/{chunk-RGTPR57U.js → chunk-K45ORH2X.js} +4 -4
  45. package/{chunk-S4W4GV3B.js → chunk-K6TZSON4.js} +1 -1
  46. package/{chunk-PUMVJXBA.js → chunk-LIVFUMIL.js} +4 -3
  47. package/{chunk-R6AJKHEU.js → chunk-M2WRKZDD.js} +3 -3
  48. package/{chunk-4OTMONZL.js → chunk-N4QQEDCV.js} +9 -9
  49. package/{chunk-UBLITLAZ.js → chunk-NABJEYPJ.js} +1 -0
  50. package/{chunk-I3HWJODB.js → chunk-O6OGJTHX.js} +4 -1
  51. package/{chunk-ZIOYHDYW.js → chunk-RP7UTAUN.js} +2 -2
  52. package/{chunk-PVZ3GB25.js → chunk-RQJZQ377.js} +5 -5
  53. package/{chunk-OXOXPREC.js → chunk-SM56M7N7.js} +1 -1
  54. package/{chunk-PUUH5I4K.js → chunk-TEC5UHQK.js} +1 -1
  55. package/{chunk-IFN7MHWL.js → chunk-UGCQKKXW.js} +1 -1
  56. package/{chunk-RANCLEEC.js → chunk-UYZ4AALN.js} +10 -10
  57. package/{chunk-JAJJUMDC.js → chunk-V3MGT3RF.js} +4 -4
  58. package/{chunk-YUZIPPER.js → chunk-W5CPGAGO.js} +9 -3
  59. package/{chunk-RJ3EYB5G.js → chunk-X3RWBJDQ.js} +1 -1
  60. package/{chunk-6G5V4Y3V.js → chunk-Z6JTIUOG.js} +67 -43
  61. package/{chunk-XRADC4SK.js → chunk-ZBY4LPKJ.js} +11 -11
  62. package/{chunk-PCPQWTXJ.js → chunk-ZQ3EAOY3.js} +1 -1
  63. package/{commandRegistry-3EZUYHCR.js → commandRegistry-CYSQPTJR.js} +54 -54
  64. package/{contentThunks-E4DHXF3M.js → contentThunks-NNN5RO4H.js} +8 -8
  65. package/{createAgentAutomationAction-2P2II7B3.js → createAgentAutomationAction-45NA6I55.js} +8 -8
  66. package/{createDialogAction-MFZGE5EO.js → createDialogAction-PIPWZBHB.js} +10 -10
  67. package/{createPageAction-SBU2YCNR.js → createPageAction-JHKIBRIW.js} +8 -8
  68. package/{dbSlice-2O3YBVPP.js → dbSlice-QAUXABCC.js} +2 -2
  69. package/{dialogCommands-Z35VVKWJ.js → dialogCommands-KCEY4RI3.js} +9 -9
  70. package/{dialogSlice-GKPCUQWM.js → dialogSlice-BFXMIMDD.js} +7 -7
  71. package/{dialogUsageCommand-44XMU6DD.js → dialogUsageCommand-QTG6ILEJ.js} +58 -5
  72. package/{docCreateCommands-I654DRPF.js → docCreateCommands-35H6J2I3.js} +8 -8
  73. package/{docDeleteCommands-CKHY75KZ.js → docDeleteCommands-IIJMKC4W.js} +9 -9
  74. package/{docReadCommands-YOWFZ3XC.js → docReadCommands-N6UI6K3Q.js} +8 -8
  75. package/{docStore-DOZVBVKZ.js → docStore-XPVMFUNP.js} +3 -3
  76. package/{docUpdateCommands-FMUKYCYX.js → docUpdateCommands-75NLQ4BK.js} +8 -8
  77. package/{fetchMessages-QLW7INJJ.js → fetchMessages-HWBVATSE.js} +1 -1
  78. package/{handleSendMessageAction-FY4RBJEA.js → handleSendMessageAction-ZBRKFRQI.js} +15 -15
  79. package/index.js +3 -3
  80. package/{keys-N6HQICY5.js → keys-P4ZDOVJW.js} +11 -1
  81. package/{localDialogRead-55YDVPNU.js → localDialogRead-CT5HGDMC.js} +1 -1
  82. package/{localRuntimeAdapter-X22B3GW3.js → localRuntimeAdapter-7RGZUO2P.js} +24 -24
  83. package/{machineCommands-XEJR6HF3.js → machineCommands-6AGBZDIR.js} +25 -25
  84. package/{machineWsRunDispatch-BYX227T2.js → machineWsRunDispatch-MP5AVWMN.js} +25 -25
  85. package/{memberThunks-VXT36MZP.js → memberThunks-QWAAGQBS.js} +155 -52
  86. package/package.json +1 -1
  87. package/{readlineWorkspace-GXU2KWOK.js → readlineWorkspace-Z7QDLLL3.js} +31 -31
  88. package/{removeDialogAgentAction-PK24DJ2J.js → removeDialogAgentAction-YEPO5AYI.js} +3 -3
  89. package/{runAgentClientLoop-CFIM6MXT.js → runAgentClientLoop-3GJFXSSC.js} +23 -23
  90. package/{setDialogExtraReferencesAction-BN4IBUO6.js → setDialogExtraReferencesAction-EH5GWDAJ.js} +3 -3
  91. package/{setPrimaryDialogAgentAction-JR5SMLZY.js → setPrimaryDialogAgentAction-PNWRK6IY.js} +3 -3
  92. package/{settingThunks-RJZQHL7H.js → settingThunks-7VCWB6P7.js} +2 -2
  93. package/{spaceCommands-BI3TRIAK.js → spaceCommands-YDOM6YMW.js} +8 -8
  94. package/{streamAgentChatTurn-3BS7IAFR.js → streamAgentChatTurn-REDU63PC.js} +25 -25
  95. package/{switchDialogAgentAction-TSIXBNRH.js → switchDialogAgentAction-23BFWJMV.js} +2 -2
  96. package/{tools-PCTUYG54.js → tools-W4PYCFAJ.js} +19 -19
  97. package/{updateDialogTitleAction-ZHFIMEQL.js → updateDialogTitleAction-4FPPW5NQ.js} +8 -8
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  assembleAgentDiscoveryResult,
6
6
  resolveDiscoveryScope
7
- } from "./chunk-53RSTB7T.js";
7
+ } from "./chunk-5N5FMA7J.js";
8
8
  import {
9
9
  getUserDataItemTimestamp,
10
10
  mergeAndDedupUserData
@@ -17,6 +17,7 @@ import {
17
17
  } from "./chunk-VF4K2QE6.js";
18
18
  import {
19
19
  addMemberSpace,
20
+ applyFetchSpaceFulfilled,
20
21
  fetchAuthoritativeRemoteSpace,
21
22
  getAllMemberSpaces,
22
23
  removeMemberSpace,
@@ -24,9 +25,8 @@ import {
24
25
  setMembershipLoaded,
25
26
  setMembershipLoading,
26
27
  setMembershipRejected,
27
- setSpaceInitialized,
28
28
  updateMemberSpaceName
29
- } from "./chunk-LOQYQUM2.js";
29
+ } from "./chunk-JGJVDP2W.js";
30
30
  import {
31
31
  ToolResultError,
32
32
  clipMultilineText,
@@ -38,7 +38,7 @@ import {
38
38
  toolRunUpdated,
39
39
  uiCardFallback,
40
40
  waitForAbortableDelay
41
- } from "./chunk-O2MBTX37.js";
41
+ } from "./chunk-I7QLIRQE.js";
42
42
  import {
43
43
  isGatewayHttpStatus
44
44
  } from "./chunk-NF64D32W.js";
@@ -55,7 +55,7 @@ import {
55
55
  } from "./chunk-VYNMQ6HW.js";
56
56
  import {
57
57
  createDocState
58
- } from "./chunk-R6AJKHEU.js";
58
+ } from "./chunk-M2WRKZDD.js";
59
59
  import {
60
60
  ToolApiError,
61
61
  buildToolRequestHeaders,
@@ -66,7 +66,7 @@ import {
66
66
  } from "./chunk-MYOH447Z.js";
67
67
  import {
68
68
  setDialogExtraReferencesAction
69
- } from "./chunk-ER4UTWWS.js";
69
+ } from "./chunk-DFF6B7P7.js";
70
70
  import {
71
71
  readDocFunc,
72
72
  readDocFunctionSchema,
@@ -82,7 +82,7 @@ import {
82
82
  } from "./chunk-63W5N6P3.js";
83
83
  import {
84
84
  createDialogAction
85
- } from "./chunk-H6FUDBS3.js";
85
+ } from "./chunk-ENBAS3ZV.js";
86
86
  import {
87
87
  DEFAULT_COLLAPSED_CATEGORIES,
88
88
  addContentToSpace,
@@ -99,7 +99,7 @@ import {
99
99
  updateContentCategory,
100
100
  updateContentTitle,
101
101
  writeStoredCollapsedCategories
102
- } from "./chunk-RGTPR57U.js";
102
+ } from "./chunk-K45ORH2X.js";
103
103
  import {
104
104
  getCurrentSpaceId,
105
105
  getCurrentSpaceIdRaw,
@@ -122,14 +122,14 @@ import {
122
122
  selectMsgById,
123
123
  uiAskChoiceFunc,
124
124
  uiAskChoiceFunctionSchema
125
- } from "./chunk-RBVR7P3M.js";
125
+ } from "./chunk-CZAX2VJQ.js";
126
126
  import {
127
127
  createAgent,
128
128
  deleteServerSyncedCredential,
129
129
  runLlm,
130
130
  streamAgentChatTurn,
131
131
  updateAgent
132
- } from "./chunk-PVZ3GB25.js";
132
+ } from "./chunk-RQJZQ377.js";
133
133
  import {
134
134
  buildMediaToolConfirmation,
135
135
  normalizeMediaConfirmExecutionRevision
@@ -138,7 +138,7 @@ import {
138
138
  UNCATEGORIZED_ID,
139
139
  addContentAction,
140
140
  checkSpaceMembership
141
- } from "./chunk-7SJG5ZNX.js";
141
+ } from "./chunk-B6EZB6DW.js";
142
142
  import {
143
143
  createSpaceKey,
144
144
  normalizeSpaceId
@@ -153,7 +153,7 @@ import {
153
153
  } from "./chunk-YDH3FDFQ.js";
154
154
  import {
155
155
  shareResourceAction
156
- } from "./chunk-CLGAGPEM.js";
156
+ } from "./chunk-CNMQATUF.js";
157
157
  import {
158
158
  selectCurrentServer,
159
159
  selectSyncServers
@@ -169,7 +169,7 @@ import {
169
169
  selectEntities,
170
170
  toTimestampMs,
171
171
  write
172
- } from "./chunk-Y2ZDNW2H.js";
172
+ } from "./chunk-B2N5GZBU.js";
173
173
  import {
174
174
  readAction
175
175
  } from "./chunk-LBXUNNDS.js";
@@ -199,10 +199,10 @@ import {
199
199
  import {
200
200
  listBuiltinSkills,
201
201
  resolveBuiltinSkillByName
202
- } from "./chunk-GSX7Z46F.js";
202
+ } from "./chunk-5HAPEKNH.js";
203
203
  import {
204
204
  CAPABILITY_PACKS
205
- } from "./chunk-OXOXPREC.js";
205
+ } from "./chunk-SM56M7N7.js";
206
206
  import {
207
207
  buildSkillDocMarkdown,
208
208
  normalizeSkillModalities,
@@ -229,7 +229,7 @@ import {
229
229
  resolveNoloDialogInput,
230
230
  resolveReadOnlyToolConstraints,
231
231
  verifyNoloDialogSubjectRefQuery
232
- } from "./chunk-UBLITLAZ.js";
232
+ } from "./chunk-NABJEYPJ.js";
233
233
  import {
234
234
  clipCompactText
235
235
  } from "./chunk-5MMAK75Q.js";
@@ -308,7 +308,7 @@ import {
308
308
  rowKey,
309
309
  splitKey,
310
310
  toTrimmedString
311
- } from "./chunk-WMHWFFTE.js";
311
+ } from "./chunk-ECX3NKRD.js";
312
312
  import {
313
313
  dialogMessageRange,
314
314
  isDialogKey,
@@ -3884,7 +3884,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3884
3884
  const deletedDialogIds = [];
3885
3885
  const deletedDialogKeys = [];
3886
3886
  const failures = [];
3887
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-GKPCUQWM.js");
3887
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-BFXMIMDD.js");
3888
3888
  for (const target of targets) {
3889
3889
  try {
3890
3890
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -4468,6 +4468,7 @@ var createInitialState = () => ({
4468
4468
  agentIds: [],
4469
4469
  contentIds: [],
4470
4470
  favoritedAtById: {},
4471
+ displaySummaryById: {},
4471
4472
  initialized: false,
4472
4473
  loading: false,
4473
4474
  snapshotComplete: false,
@@ -4491,9 +4492,11 @@ function removeFavoriteLocally(payload) {
4491
4492
  state = {
4492
4493
  ...state,
4493
4494
  agentIds: state.agentIds.filter((item) => item !== id),
4494
- favoritedAtById: { ...state.favoritedAtById }
4495
+ favoritedAtById: { ...state.favoritedAtById },
4496
+ displaySummaryById: { ...state.displaySummaryById }
4495
4497
  };
4496
4498
  delete state.favoritedAtById[id];
4499
+ delete state.displaySummaryById[id];
4497
4500
  notify();
4498
4501
  return;
4499
4502
  }
@@ -4501,9 +4504,11 @@ function removeFavoriteLocally(payload) {
4501
4504
  state = {
4502
4505
  ...state,
4503
4506
  contentIds: state.contentIds.filter((item) => item !== id),
4504
- favoritedAtById: { ...state.favoritedAtById }
4507
+ favoritedAtById: { ...state.favoritedAtById },
4508
+ displaySummaryById: { ...state.displaySummaryById }
4505
4509
  };
4506
4510
  delete state.favoritedAtById[id];
4511
+ delete state.displaySummaryById[id];
4507
4512
  notify();
4508
4513
  }
4509
4514
  }
@@ -4978,6 +4983,24 @@ var deleteSpaceAction = async (input, thunkAPI) => {
4978
4983
  return { spaceId, strategy };
4979
4984
  };
4980
4985
 
4986
+ // packages/create/space/withTimeout.ts
4987
+ var SPACE_LOCAL_READ_TIMEOUT_MS = 1500;
4988
+ var withTimeout = async (promise, ms = SPACE_LOCAL_READ_TIMEOUT_MS) => {
4989
+ let timer;
4990
+ try {
4991
+ return await Promise.race([
4992
+ promise,
4993
+ new Promise((resolve) => {
4994
+ timer = setTimeout(() => resolve(null), ms);
4995
+ })
4996
+ ]);
4997
+ } catch {
4998
+ return null;
4999
+ } finally {
5000
+ if (timer) clearTimeout(timer);
5001
+ }
5002
+ };
5003
+
4981
5004
  // packages/create/space/fetchSpaceAction.ts
4982
5005
  var fetchSpaceAction = async (input, thunkAPI) => {
4983
5006
  const rawSpaceId = typeof input === "string" ? input : input?.spaceId;
@@ -4990,15 +5013,9 @@ var fetchSpaceAction = async (input, thunkAPI) => {
4990
5013
  const spaceKey = createSpaceKey.space(spaceId);
4991
5014
  const readSpace = async (dbKey) => {
4992
5015
  try {
4993
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-2O3YBVPP.js");
4994
- if (fresh) {
4995
- return await dispatch(readAndWait2(dbKey)).unwrap();
4996
- }
4997
- return await dispatch(
4998
- read2({
4999
- dbKey
5000
- })
5001
- ).unwrap();
5016
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-QAUXABCC.js");
5017
+ const readPromise = fresh ? dispatch(readAndWait2(dbKey)).unwrap() : dispatch(read2({ dbKey })).unwrap();
5018
+ return await withTimeout(readPromise);
5002
5019
  } catch {
5003
5020
  return null;
5004
5021
  }
@@ -5155,16 +5172,6 @@ var fetchSpaceSidebarStateAction = async (spaceId, thunkAPI) => {
5155
5172
  };
5156
5173
  };
5157
5174
 
5158
- // packages/create/space/applyFetchSpaceFulfilled.ts
5159
- function applyFetchSpaceFulfilled(payload) {
5160
- const { spaceId, spaceData } = payload;
5161
- const currentSpaceId = getCurrentSpaceIdRaw();
5162
- if (!currentSpaceId || currentSpaceId === spaceId) {
5163
- setCurrentSpaceBoth(spaceId, spaceData);
5164
- setSpaceInitialized();
5165
- }
5166
- }
5167
-
5168
5175
  // packages/create/space/changeSpaceAction.ts
5169
5176
  var getSpaceUpdatedAt2 = (space) => {
5170
5177
  if (!space) return 0;
@@ -5241,6 +5248,7 @@ var fetchSpaceSidebarState = createAsyncThunk(
5241
5248
  }
5242
5249
  }
5243
5250
  );
5251
+ var SPACE_SWITCH_TIMEOUT_MS = 1e4;
5244
5252
  var changeSpace = createAsyncThunk(
5245
5253
  "space/changeSpace",
5246
5254
  async (arg, thunkAPI) => {
@@ -5249,8 +5257,22 @@ var changeSpace = createAsyncThunk(
5249
5257
  setMembershipLoading();
5250
5258
  setCurrentSpace(null);
5251
5259
  }
5260
+ const actionPromise = changeSpaceAction(arg, thunkAPI);
5261
+ actionPromise.catch(() => {
5262
+ });
5263
+ let timeoutTimer;
5252
5264
  try {
5253
- const payload = await changeSpaceAction(arg, thunkAPI);
5265
+ const payload = await Promise.race([
5266
+ actionPromise,
5267
+ new Promise((_, reject) => {
5268
+ timeoutTimer = setTimeout(
5269
+ () => reject(
5270
+ new Error("\u5207\u6362\u7A7A\u95F4\u8D85\u65F6\uFF1A\u672C\u5730\u5B58\u50A8\u6216\u670D\u52A1\u7AEF\u672A\u5728\u65F6\u9650\u5185\u8FD4\u56DE")
5271
+ ),
5272
+ SPACE_SWITCH_TIMEOUT_MS
5273
+ );
5274
+ })
5275
+ ]);
5254
5276
  setCurrentSpaceBoth(payload.spaceId, payload.spaceData);
5255
5277
  setMembershipLoaded();
5256
5278
  setCollapsedCategories(
@@ -5263,6 +5285,8 @@ var changeSpace = createAsyncThunk(
5263
5285
  setCurrentSpaceBoth(null, null);
5264
5286
  setCollapsedCategories({}, null);
5265
5287
  throw error;
5288
+ } finally {
5289
+ if (timeoutTimer) clearTimeout(timeoutTimer);
5266
5290
  }
5267
5291
  }
5268
5292
  );
@@ -11637,7 +11661,7 @@ var selectUserIdFromState = (state2) => {
11637
11661
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
11638
11662
  async function addImageContentToSpace(input) {
11639
11663
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
11640
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-3WAN3OWY.js")).addContentAction;
11664
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-BY375D35.js")).addContentAction;
11641
11665
  await addContentAction2(
11642
11666
  {
11643
11667
  spaceId: input.spaceId,
@@ -18566,7 +18590,7 @@ async function updateDocFunc(args, thunkApi) {
18566
18590
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
18567
18591
  };
18568
18592
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
18569
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-DOZVBVKZ.js");
18593
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-XPVMFUNP.js");
18570
18594
  if (getDocState().pageKey === id) {
18571
18595
  applyExternalDocUpdate({
18572
18596
  slateData: finalSlateData,
@@ -18591,7 +18615,7 @@ async function updateDocFunc(args, thunkApi) {
18591
18615
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
18592
18616
  async function dispatchSetSettings(thunkApi, changes) {
18593
18617
  const injectedSetSettings = thunkApi?.extra?.setSettings;
18594
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-RJZQHL7H.js")).setSettings;
18618
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-7VCWB6P7.js")).setSettings;
18595
18619
  await thunkApi.dispatch(setSettings(changes)).unwrap();
18596
18620
  }
18597
18621
  var updateUserPreferenceProfileFunctionSchema = {
@@ -9,7 +9,7 @@ import {
9
9
  resolveRawAgentInput,
10
10
  resolveServerUrl,
11
11
  writeUsage
12
- } from "./chunk-5LVGXDSL.js";
12
+ } from "./chunk-CQPXGRMT.js";
13
13
  import {
14
14
  parsePositiveFiniteNumberOrFallback
15
15
  } from "./chunk-Y5GCAMGP.js";
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  readDbRecord,
21
21
  resolveAgentRecordFromHybridStore
22
- } from "./chunk-WBCYL63M.js";
22
+ } from "./chunk-6WZQGT5X.js";
23
23
  import {
24
24
  INSTABOX_RUN_CONFIG_ENV,
25
25
  createCliLocalRuntimeAdapter,
@@ -38,7 +38,7 @@ import {
38
38
  resolveFileWriteGateEnabled,
39
39
  resolveLocalUserId,
40
40
  validateInstaboxWorkspaceSelection
41
- } from "./chunk-ZCGA3Q7V.js";
41
+ } from "./chunk-5XLLUQKC.js";
42
42
  import {
43
43
  clearCredentialAvailability,
44
44
  readEffectiveCredentialEntry,
@@ -72,14 +72,14 @@ import {
72
72
  } from "./chunk-BMQ2MJUK.js";
73
73
  import {
74
74
  resolveCliLocalRuntimeKeyCapability
75
- } from "./chunk-6G5V4Y3V.js";
75
+ } from "./chunk-Z6JTIUOG.js";
76
76
  import {
77
77
  isTransientFetchError
78
78
  } from "./chunk-KFHREHUQ.js";
79
79
  import {
80
80
  parseUiCard,
81
81
  uiCardFallback
82
- } from "./chunk-O2MBTX37.js";
82
+ } from "./chunk-I7QLIRQE.js";
83
83
  import {
84
84
  isGatewayHttpStatus
85
85
  } from "./chunk-NF64D32W.js";
@@ -88,7 +88,7 @@ import {
88
88
  chooseMemoryOwners,
89
89
  loadMemoryCandidatesFromDb,
90
90
  resolveAgentMemoryPolicy
91
- } from "./chunk-H6FUDBS3.js";
91
+ } from "./chunk-ENBAS3ZV.js";
92
92
  import {
93
93
  API_REPORTED_COST_MULTIPLIER,
94
94
  estimateMessagesTokens,
@@ -96,7 +96,7 @@ import {
96
96
  resolveAgentContextWindow,
97
97
  resolveOccupancy,
98
98
  resolveOccupancyWindow
99
- } from "./chunk-RBVR7P3M.js";
99
+ } from "./chunk-CZAX2VJQ.js";
100
100
  import {
101
101
  isCliAuthorityBrokerProtocolError,
102
102
  isCliAuthorityBrokerTimeoutError,
@@ -116,7 +116,7 @@ import {
116
116
  LOCAL_AGENT_CONFIG_MISSING_CODE,
117
117
  LOCAL_TURN_ABORTED_CODE,
118
118
  readActionGate
119
- } from "./chunk-HVV4B6OL.js";
119
+ } from "./chunk-DUNY6XR5.js";
120
120
  import {
121
121
  resolveAgentRuntimeConfigFromRecord
122
122
  } from "./chunk-N7E3LQ4A.js";
@@ -144,7 +144,7 @@ import {
144
144
  } from "./chunk-WJZOQR2J.js";
145
145
  import {
146
146
  normalizeUsage
147
- } from "./chunk-S4W4GV3B.js";
147
+ } from "./chunk-K6TZSON4.js";
148
148
  import {
149
149
  isOAuthApiKeyRef
150
150
  } from "./chunk-UKZX3NHN.js";
@@ -231,7 +231,7 @@ import {
231
231
  } from "./chunk-UNOILAZP.js";
232
232
  import {
233
233
  createMemoryKey
234
- } from "./chunk-WMHWFFTE.js";
234
+ } from "./chunk-ECX3NKRD.js";
235
235
  import {
236
236
  ulid
237
237
  } from "./chunk-XJWWBO34.js";
@@ -11378,7 +11378,7 @@ function isBalanceExhaustedError(error) {
11378
11378
 
11379
11379
  // packages/cli/client/agentRun.ts
11380
11380
  async function loadRunLocalAgentTurn() {
11381
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-G4KEXO5D.js");
11381
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-WRWUTHCL.js");
11382
11382
  return runLocalAgentTurn;
11383
11383
  }
11384
11384
  var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readDbRecord,
3
3
  writeAgentRecord
4
- } from "./chunk-WBCYL63M.js";
4
+ } from "./chunk-6WZQGT5X.js";
5
5
  import {
6
6
  buildSkillSummaryMarker
7
7
  } from "./chunk-VF4K2QE6.js";