nolo-cli 0.16.0-alpha.17 → 0.16.0-alpha.18

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 (87) hide show
  1. package/{_executeModel-GP2DXECM.js → _executeModel-UREJOVS3.js} +24 -24
  2. package/{action-TK62YXTY.js → action-LT7BRFLK.js} +7 -7
  3. package/{addContentAction-IEEBATAA.js → addContentAction-PL3KKBDH.js} +6 -6
  4. package/{addDialogAgentAction-XUZNC36X.js → addDialogAgentAction-FCMSKYAF.js} +5 -5
  5. package/{agentDeleteCommand-6C77LXAA.js → agentDeleteCommand-TJ2EAYDA.js} +13 -13
  6. package/{agentEmailCommands-7KZPAGIW.js → agentEmailCommands-TOPVS5Q3.js} +27 -27
  7. package/{agentListCommands-EFFASIR2.js → agentListCommands-WD5XYVGK.js} +14 -14
  8. package/{agentMachineCommands-XHLRGCLP.js → agentMachineCommands-24BLT7M4.js} +13 -13
  9. package/{agentRecordCommands-ITBT7MPU.js → agentRecordCommands-FYRQB7SX.js} +27 -27
  10. package/{agentRunCommand-HEBSX6ER.js → agentRunCommand-TLW6PYPA.js} +27 -27
  11. package/{agentRuntimeLocal-KV6MQJQS.js → agentRuntimeLocal-K2J7IS6O.js} +10 -10
  12. package/{agentSlice-HOLDB2UY.js → agentSlice-B6FQEOAF.js} +6 -6
  13. package/{appDeleteCommands-ROPKN6PL.js → appDeleteCommands-X7YGULGZ.js} +14 -14
  14. package/{appDeployCommands-65E4ARQN.js → appDeployCommands-IMNPBUN7.js} +14 -14
  15. package/{appDeployStatusCommands-RFWMQDSJ.js → appDeployStatusCommands-2KFZUEET.js} +14 -14
  16. package/{appGetCommands-LDO2HNAL.js → appGetCommands-AYG44S7G.js} +14 -14
  17. package/{appListCommands-S4MBG4KD.js → appListCommands-Z7CLYPLH.js} +14 -14
  18. package/{chunk-HETVWFFQ.js → chunk-37XKBS4O.js} +24 -24
  19. package/{chunk-XPC5C7BK.js → chunk-3ND52WIL.js} +2 -2
  20. package/{chunk-LFTQYP3K.js → chunk-4CQFPP2G.js} +8 -4
  21. package/{chunk-6N4KODMN.js → chunk-4T5F7YZQ.js} +1 -1
  22. package/{chunk-NJYEXLKX.js → chunk-5ICZUVFN.js} +2 -2
  23. package/{chunk-YZ2PZFC6.js → chunk-7BUYEZ6U.js} +1 -1
  24. package/{chunk-WWWIRXLT.js → chunk-7TENCSE7.js} +11 -13
  25. package/{chunk-N77EBDJJ.js → chunk-A7QNCVO5.js} +9 -2
  26. package/{chunk-Y3GNPBAB.js → chunk-B26VDWID.js} +2 -8
  27. package/{chunk-V3A3PXQQ.js → chunk-BLQ3U7UK.js} +1 -1
  28. package/{chunk-JQOWVDDX.js → chunk-BUTE3AHD.js} +3 -3
  29. package/{chunk-3J6QER3H.js → chunk-C5SQSDB7.js} +5 -5
  30. package/{chunk-MT2DOPXQ.js → chunk-C75ONZYN.js} +1 -1
  31. package/{chunk-DS2YYH6W.js → chunk-CZAAQLAW.js} +3 -3
  32. package/{chunk-XV5I4HHL.js → chunk-DKZFOK24.js} +1 -1
  33. package/{chunk-EWLAMUG5.js → chunk-EGPCU42M.js} +4 -4
  34. package/{chunk-27MGYWLZ.js → chunk-ELT65PZW.js} +2 -2
  35. package/{chunk-ETXKHE7J.js → chunk-GO7R5K32.js} +2 -2
  36. package/{chunk-N3IKVYLL.js → chunk-I2NSE23G.js} +1 -1
  37. package/{chunk-WVQXRCCZ.js → chunk-JLA4FXYC.js} +1 -1
  38. package/{chunk-KF27FHVT.js → chunk-KO4PXGVN.js} +1 -1
  39. package/{chunk-CIF5XTPN.js → chunk-LP5UAY5I.js} +10 -28
  40. package/{chunk-HRLDQJW7.js → chunk-LRYORNMJ.js} +34 -16
  41. package/{chunk-XGJRT3IK.js → chunk-MVQ4TBSD.js} +1 -1
  42. package/{chunk-IG3SA64O.js → chunk-OOKISU7J.js} +2 -2
  43. package/{chunk-DXOUTEQC.js → chunk-QCJITMYO.js} +4 -2
  44. package/{chunk-OOSFSFMA.js → chunk-R5V5G73M.js} +2 -0
  45. package/{chunk-L2DKNKL4.js → chunk-RVOUXDFU.js} +4 -4
  46. package/{chunk-JTINRTBT.js → chunk-SKDNBYZK.js} +2 -2
  47. package/{chunk-PH7SXF5R.js → chunk-TKV34RQ6.js} +24 -24
  48. package/{chunk-LD6DKWMF.js → chunk-TP6TE4L7.js} +11 -11
  49. package/{chunk-JKUL77KQ.js → chunk-UGUW3FHG.js} +3 -3
  50. package/{chunk-YPAO6HUT.js → chunk-XHG22OEX.js} +4 -4
  51. package/{chunk-DVRHHFEA.js → chunk-XMLRJUU5.js} +1 -1
  52. package/{chunk-NLQBLZUO.js → chunk-XRZJGPFI.js} +6 -6
  53. package/{chunk-VE7PIZFT.js → chunk-XU6XCPWB.js} +1 -1
  54. package/{chunk-JJPANCH2.js → chunk-YEFSRF54.js} +2 -2
  55. package/{codingSkills-3RK4CIL2.js → codingSkills-36KN5NQT.js} +1 -1
  56. package/{createAgentAutomationAction-63XOK7PE.js → createAgentAutomationAction-F62DAY54.js} +11 -11
  57. package/{createDialogAction-NBFEO4SU.js → createDialogAction-RPB6W3QN.js} +12 -12
  58. package/{createPageAction-JYVUSH57.js → createPageAction-APL7B2KC.js} +11 -11
  59. package/{dbSlice-CJJKYYXK.js → dbSlice-CGSRFJN3.js} +5 -5
  60. package/{deleteFile-WPWVZE4B.js → deleteFile-WDZ3VM7B.js} +3 -3
  61. package/{dialogCommands-JO7YCVND.js → dialogCommands-J7C6MB3Q.js} +14 -14
  62. package/{dialogSlice-6SOMUMGM.js → dialogSlice-DMJVC2XX.js} +11 -11
  63. package/{docCreateCommands-H7KQ345X.js → docCreateCommands-Y7OSXNB6.js} +13 -13
  64. package/{docDeleteCommands-OSEFFFJ5.js → docDeleteCommands-ALZGQRCE.js} +14 -14
  65. package/{docReadCommands-7A5PGQ7J.js → docReadCommands-4BDDESGT.js} +13 -13
  66. package/{docStore-K2SEQBBX.js → docStore-YAPW55HZ.js} +12 -12
  67. package/{docUpdateCommands-3COEELBB.js → docUpdateCommands-LU2ZM2VE.js} +13 -13
  68. package/{handleSendMessageAction-L6NJXNIP.js → handleSendMessageAction-YDCWKDVY.js} +11 -11
  69. package/index.js +51 -51
  70. package/{machineCommands-DGDX3GHH.js → machineCommands-QKGBDYER.js} +26 -26
  71. package/{machineWsRunDispatch-ZV6BHKXA.js → machineWsRunDispatch-25LT4UG6.js} +26 -26
  72. package/package.json +1 -1
  73. package/{queryRunOverlay-KQDJBH32.js → queryRunOverlay-O5IAGNXY.js} +6 -6
  74. package/{read-CN3TNXIP.js → read-3FMPZPER.js} +3 -3
  75. package/{readDocTool-WF3675ED.js → readDocTool-VSYHKK3V.js} +1 -1
  76. package/{readlineWorkspace-BUSQQXPY.js → readlineWorkspace-U6UCWL4I.js} +30 -30
  77. package/{removeDialogAgentAction-XRTUVGAN.js → removeDialogAgentAction-OAGA2G3U.js} +7 -7
  78. package/{runAgentClientLoop-2YPEUG3Q.js → runAgentClientLoop-PDE63NNW.js} +21 -21
  79. package/{setDialogExtraReferencesAction-WNZINFOX.js → setDialogExtraReferencesAction-JZEXA5SL.js} +6 -6
  80. package/{setPrimaryDialogAgentAction-ECVV6DJ3.js → setPrimaryDialogAgentAction-4ZUQQKDG.js} +7 -7
  81. package/{settingSlice-UVDEFVMQ.js → settingSlice-7MNKHZ6R.js} +6 -6
  82. package/{spaceCommands-XPHOVJTB.js → spaceCommands-UG4QHSHD.js} +13 -13
  83. package/{spaceSlice-EGOJICFM.js → spaceSlice-DPX4F5V3.js} +11 -11
  84. package/{streamAgentChatTurn-LAFUD4KS.js → streamAgentChatTurn-LYN66RLC.js} +25 -25
  85. package/{tableCommands-3P7MJ3PF.js → tableCommands-BEQAGE4I.js} +1 -1
  86. package/{tools-O6DVCZ3R.js → tools-VAJZFXRP.js} +19 -19
  87. package/{updateDialogTitleAction-DVQFOG64.js → updateDialogTitleAction-LE7SCNSB.js} +11 -11
@@ -12,13 +12,13 @@ import {
12
12
  import {
13
13
  deleteServerSyncedCredential,
14
14
  runLlm
15
- } from "./chunk-3J6QER3H.js";
15
+ } from "./chunk-C5SQSDB7.js";
16
16
  import {
17
17
  getApproxPricePerImage
18
18
  } from "./chunk-CWMSB67P.js";
19
19
  import {
20
20
  cleanupCliSessionForDialog
21
- } from "./chunk-YPAO6HUT.js";
21
+ } from "./chunk-XHG22OEX.js";
22
22
  import {
23
23
  getDialogAgentIds,
24
24
  getPrimaryDialogAgentId
@@ -38,7 +38,7 @@ import {
38
38
  planCompression,
39
39
  resolveAutoExecutionProfile,
40
40
  serializeMessageContent
41
- } from "./chunk-EWLAMUG5.js";
41
+ } from "./chunk-EGPCU42M.js";
42
42
  import {
43
43
  createFileCredentialBroker
44
44
  } from "./chunk-5CS33IBL.js";
@@ -56,7 +56,7 @@ import {
56
56
  createSpaceKey,
57
57
  localSpaceAuthorityPatchStamp,
58
58
  normalizeSpaceId
59
- } from "./chunk-27MGYWLZ.js";
59
+ } from "./chunk-ELT65PZW.js";
60
60
  import {
61
61
  extractCustomId,
62
62
  extractUserId
@@ -84,7 +84,7 @@ import {
84
84
  selectRemoteServer,
85
85
  selectRemoteServers,
86
86
  selectRemoteSyncServers
87
- } from "./chunk-L2DKNKL4.js";
87
+ } from "./chunk-RVOUXDFU.js";
88
88
  import {
89
89
  asRecordOrEmpty
90
90
  } from "./chunk-KX6YBIHG.js";
@@ -100,7 +100,7 @@ import {
100
100
  uploadFileAction,
101
101
  upsertSSREntity,
102
102
  write
103
- } from "./chunk-NLQBLZUO.js";
103
+ } from "./chunk-XRZJGPFI.js";
104
104
  import {
105
105
  DB_PREFIX,
106
106
  SEPARATOR,
@@ -138,7 +138,7 @@ import {
138
138
  } from "./chunk-QSJ3HFEF.js";
139
139
  import {
140
140
  readAction
141
- } from "./chunk-XPC5C7BK.js";
141
+ } from "./chunk-3ND52WIL.js";
142
142
  import {
143
143
  DEVICE_LOCAL_OWNER_ID,
144
144
  asyncThunkCreator,
@@ -159,7 +159,7 @@ import {
159
159
  selectIdentityToken,
160
160
  selectIdentityUserId,
161
161
  selectRuntimeSnapshot
162
- } from "./chunk-DVRHHFEA.js";
162
+ } from "./chunk-XMLRJUU5.js";
163
163
  import {
164
164
  createClientLogger,
165
165
  fetchFromServer,
@@ -167,7 +167,7 @@ import {
167
167
  getAllServers,
168
168
  isAbortError,
169
169
  logger
170
- } from "./chunk-OOSFSFMA.js";
170
+ } from "./chunk-R5V5G73M.js";
171
171
  import {
172
172
  buildTombstoneRecord,
173
173
  isTombstoneRecord,
@@ -5596,7 +5596,7 @@ var messageSlice = createSliceWithThunks({
5596
5596
  runtimeOptions: args.runtimeOptions
5597
5597
  });
5598
5598
  if (agentKeyToUse) {
5599
- const { streamAgentChatTurn } = await import("./agentSlice-HOLDB2UY.js");
5599
+ const { streamAgentChatTurn } = await import("./agentSlice-B6FQEOAF.js");
5600
5600
  await dispatch(
5601
5601
  streamAgentChatTurn({
5602
5602
  agentKey: agentKeyToUse,
@@ -8255,7 +8255,7 @@ var deleteOwnedDialogAttachments = async (args) => {
8255
8255
  metadataReadFailures
8256
8256
  });
8257
8257
  if (!plan.deleteCandidates.length) return plan;
8258
- const { deleteFileAction } = await import("./deleteFile-WPWVZE4B.js");
8258
+ const { deleteFileAction } = await import("./deleteFile-WDZ3VM7B.js");
8259
8259
  for (const candidate of plan.deleteCandidates) {
8260
8260
  if (candidate.fileDbKey) {
8261
8261
  await deleteFileAction(candidate.fileDbKey, args.thunkApi);
@@ -8317,7 +8317,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
8317
8317
  }
8318
8318
  if (isCurrentDialog) {
8319
8319
  await thunkApi.dispatch(resetMsgs());
8320
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-6SOMUMGM.js");
8320
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-DMJVC2XX.js");
8321
8321
  dispatch(clearPendingAttachments2());
8322
8322
  clearWorkflow();
8323
8323
  }
@@ -8326,35 +8326,35 @@ var deleteDialogThunk = async (payload, thunkApi) => {
8326
8326
 
8327
8327
  // packages/chat/dialog/dialogSlice.ts
8328
8328
  var runCreateDialogAction = async (args, thunkApi) => {
8329
- const { createDialogAction } = await import("./createDialogAction-NBFEO4SU.js");
8329
+ const { createDialogAction } = await import("./createDialogAction-RPB6W3QN.js");
8330
8330
  return createDialogAction(args, thunkApi);
8331
8331
  };
8332
8332
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
8333
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-63XOK7PE.js");
8333
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-F62DAY54.js");
8334
8334
  return createAgentAutomationAction(args, thunkApi);
8335
8335
  };
8336
8336
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
8337
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-DVQFOG64.js");
8337
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-LE7SCNSB.js");
8338
8338
  return updateDialogTitleAction(args, thunkApi);
8339
8339
  };
8340
8340
  var runAddDialogAgentAction = async (args, thunkApi) => {
8341
- const { addDialogAgentAction } = await import("./addDialogAgentAction-XUZNC36X.js");
8341
+ const { addDialogAgentAction } = await import("./addDialogAgentAction-FCMSKYAF.js");
8342
8342
  return addDialogAgentAction(args, thunkApi);
8343
8343
  };
8344
8344
  var runRemoveDialogAgentAction = async (args, thunkApi) => {
8345
- const { removeDialogAgentAction } = await import("./removeDialogAgentAction-XRTUVGAN.js");
8345
+ const { removeDialogAgentAction } = await import("./removeDialogAgentAction-OAGA2G3U.js");
8346
8346
  return removeDialogAgentAction(args, thunkApi);
8347
8347
  };
8348
8348
  var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
8349
- const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-ECVV6DJ3.js");
8349
+ const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-4ZUQQKDG.js");
8350
8350
  return setPrimaryDialogAgentAction(args, thunkApi);
8351
8351
  };
8352
8352
  var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
8353
- const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-WNZINFOX.js");
8353
+ const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-JZEXA5SL.js");
8354
8354
  return setDialogExtraReferencesAction(args, thunkApi);
8355
8355
  };
8356
8356
  var runHandleSendMessageAction = async (args, thunkApi) => {
8357
- const { handleSendMessageAction } = await import("./handleSendMessageAction-L6NJXNIP.js");
8357
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-YDCWKDVY.js");
8358
8358
  return handleSendMessageAction(args, thunkApi);
8359
8359
  };
8360
8360
  function clearDialogState() {
@@ -8367,7 +8367,7 @@ var createPageAndAddReference = createAsyncThunk(
8367
8367
  async (payload, { dispatch, getState, rejectWithValue }) => {
8368
8368
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
8369
8369
  try {
8370
- const { createDocState } = await import("./docStore-K2SEQBBX.js");
8370
+ const { createDocState } = await import("./docStore-YAPW55HZ.js");
8371
8371
  const pageKey = await createDocState(
8372
8372
  { slateData, title },
8373
8373
  { dispatch, getState }
@@ -12327,11 +12327,11 @@ var ENTITY_DELETE_STRATEGIES = {
12327
12327
  await dispatch(deleteTable({ dbKey: key })).unwrap();
12328
12328
  },
12329
12329
  file: async (key, { thunkAPI }) => {
12330
- const { deleteFileAction } = await import("./deleteFile-WPWVZE4B.js");
12330
+ const { deleteFileAction } = await import("./deleteFile-WDZ3VM7B.js");
12331
12331
  await deleteFileAction(key, thunkAPI);
12332
12332
  },
12333
12333
  image: async (key, { thunkAPI }) => {
12334
- const { deleteFileAction } = await import("./deleteFile-WPWVZE4B.js");
12334
+ const { deleteFileAction } = await import("./deleteFile-WDZ3VM7B.js");
12335
12335
  await deleteFileAction(key, thunkAPI);
12336
12336
  },
12337
12337
  agent: async (key, { dispatch, userId, sourceServerOrigin }) => {
@@ -14526,7 +14526,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
14526
14526
  const spaceKey = createSpaceKey.space(spaceId);
14527
14527
  const readSpace = async (dbKey) => {
14528
14528
  try {
14529
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-CJJKYYXK.js");
14529
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-CGSRFJN3.js");
14530
14530
  if (fresh) {
14531
14531
  return await dispatch(readAndWait2(dbKey)).unwrap();
14532
14532
  }
@@ -7,14 +7,14 @@ import {
7
7
  scheduleExistingRecordReplication,
8
8
  shouldReplaceLocalWithRemoteRecord,
9
9
  shouldReplicateLocalRecord
10
- } from "./chunk-DVRHHFEA.js";
10
+ } from "./chunk-XMLRJUU5.js";
11
11
  import {
12
12
  fetchFromClientDb,
13
13
  fetchFromServer,
14
14
  isAbortError,
15
15
  isReadTimeoutError,
16
16
  logger
17
- } from "./chunk-OOSFSFMA.js";
17
+ } from "./chunk-R5V5G73M.js";
18
18
  import {
19
19
  shouldReplaceWithNextRecord
20
20
  } from "./chunk-GBRG75BQ.js";
@@ -3,7 +3,7 @@ import {
3
3
  prepareAndPersistMessage,
4
4
  uiAskChoiceFunc,
5
5
  uiAskChoiceFunctionSchema
6
- } from "./chunk-HETVWFFQ.js";
6
+ } from "./chunk-37XKBS4O.js";
7
7
  import {
8
8
  require_date_fns
9
9
  } from "./chunk-M76ECQRD.js";
@@ -21,7 +21,7 @@ import {
21
21
  removeCachedEntity,
22
22
  upsertSSREntity,
23
23
  write
24
- } from "./chunk-NLQBLZUO.js";
24
+ } from "./chunk-XRZJGPFI.js";
25
25
  import {
26
26
  createAgentKey,
27
27
  createDialogKey,
@@ -33,7 +33,10 @@ import {
33
33
  } from "./chunk-6Y7A3OQQ.js";
34
34
  import {
35
35
  selectIdentityUserId
36
- } from "./chunk-DVRHHFEA.js";
36
+ } from "./chunk-XMLRJUU5.js";
37
+ import {
38
+ isDevelopment
39
+ } from "./chunk-R5V5G73M.js";
37
40
  import {
38
41
  asTrimmedString
39
42
  } from "./chunk-3EUW3WEO.js";
@@ -921,7 +924,8 @@ var createDialogAction = async (args, thunkApi) => {
921
924
  agentKey,
922
925
  currentSpaceId: explicitSpaceId
923
926
  }).catch(() => ({ recap: null, reason: "no-db", sourceDialogKey: void 0 })) : null;
924
- if (typeof window !== "undefined" && recentRelationshipRecapResolution && process.env.NODE_ENV !== "production") {
927
+ if (typeof window !== "undefined" && recentRelationshipRecapResolution && // 浏览器端没有 process:走 app/utils/env 的安全读法。
928
+ isDevelopment) {
925
929
  console.debug("[dialog] recent relationship recap", {
926
930
  agentKey,
927
931
  userId,
@@ -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-CN3TNXIP.js");
202
+ const { readAction } = await import("./read-3FMPZPER.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`);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-VE7PIZFT.js";
4
+ } from "./chunk-XU6XCPWB.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-N77EBDJJ.js";
7
+ } from "./chunk-A7QNCVO5.js";
8
8
  import {
9
9
  toSafeAgentSummary
10
10
  } from "./chunk-XJITGCTM.js";
@@ -614,7 +614,7 @@ async function resolveCodingEffectiveTools(userId) {
614
614
  }
615
615
  function ensureCodingSkills(userId) {
616
616
  return async (dispatch) => {
617
- const { readAndWait, write } = await import("./dbSlice-CJJKYYXK.js");
617
+ const { readAndWait, write } = await import("./dbSlice-CGSRFJN3.js");
618
618
  const { DataType } = await import("./types-ZSTJ7MPR.js");
619
619
  const now = Date.now();
620
620
  const pages = buildCodingSkillPageRecords(userId);
@@ -11,9 +11,10 @@ import {
11
11
  getReadableCliDb
12
12
  } from "./chunk-WFHXMLHZ.js";
13
13
  import {
14
+ normalizeAgentHandle,
14
15
  readDbRecord,
15
16
  resolveAgentRecordFromHybridStore
16
- } from "./chunk-N77EBDJJ.js";
17
+ } from "./chunk-A7QNCVO5.js";
17
18
  import {
18
19
  agentRunCardLabels,
19
20
  createCliCallAgentToolExecutor,
@@ -24,10 +25,7 @@ import {
24
25
  parseAgentRunEvent,
25
26
  t,
26
27
  toolLabel
27
- } from "./chunk-CIF5XTPN.js";
28
- import {
29
- normalizeAgentHandle
30
- } from "./chunk-Y3GNPBAB.js";
28
+ } from "./chunk-LP5UAY5I.js";
31
29
  import {
32
30
  NOLO_PROJECT_MANAGER_AGENT_KEY,
33
31
  isLocalCliAgentKey
@@ -41,7 +39,7 @@ import {
41
39
  } from "./chunk-6HYVJV7B.js";
42
40
  import {
43
41
  formatAgentListCard
44
- } from "./chunk-PH7SXF5R.js";
42
+ } from "./chunk-TKV34RQ6.js";
45
43
  import {
46
44
  isGatewayHttpStatus
47
45
  } from "./chunk-RQSOAMPJ.js";
@@ -53,12 +51,12 @@ import {
53
51
  chooseMemoryOwners,
54
52
  loadMemoryCandidatesFromDb,
55
53
  resolveAgentMemoryPolicy
56
- } from "./chunk-LFTQYP3K.js";
54
+ } from "./chunk-4CQFPP2G.js";
57
55
  import {
58
56
  API_REPORTED_COST_MULTIPLIER,
59
57
  normalizeUsage,
60
58
  parseUiAskChoiceContent
61
- } from "./chunk-HETVWFFQ.js";
59
+ } from "./chunk-37XKBS4O.js";
62
60
  import {
63
61
  buildSkillDiscoveryContextBlock
64
62
  } from "./chunk-7OBMZCRD.js";
@@ -78,7 +76,7 @@ import {
78
76
  LOCAL_TURN_ABORTED_CODE,
79
77
  readActionGate,
80
78
  readCommandActionGatePayload
81
- } from "./chunk-DXOUTEQC.js";
79
+ } from "./chunk-QCJITMYO.js";
82
80
  import {
83
81
  createThinkParserState,
84
82
  flushThinkParser,
@@ -91,7 +89,7 @@ import {
91
89
  import {
92
90
  DEFAULT_CONTEXT_WINDOW,
93
91
  getModelContextWindow
94
- } from "./chunk-EWLAMUG5.js";
92
+ } from "./chunk-EGPCU42M.js";
95
93
  import {
96
94
  clipCompactText
97
95
  } from "./chunk-5MMAK75Q.js";
@@ -146,7 +144,7 @@ import {
146
144
  BUILTIN_NOLO_AGENT_KEY,
147
145
  PUBLIC_DEEPSEEK_V4_FLASH_AGENT_KEY,
148
146
  PUBLIC_KIMI_K26_IMAGE_AGENT_KEY
149
- } from "./chunk-XPC5C7BK.js";
147
+ } from "./chunk-3ND52WIL.js";
150
148
  import {
151
149
  asTrimmedString
152
150
  } from "./chunk-3EUW3WEO.js";
@@ -3520,7 +3518,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
3520
3518
  // packages/cli/client/agentRun.ts
3521
3519
  import { ulid } from "ulid";
3522
3520
  async function loadRunLocalAgentTurn() {
3523
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-KV6MQJQS.js");
3521
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-K2J7IS6O.js");
3524
3522
  return runLocalAgentTurn;
3525
3523
  }
3526
3524
  async function resolveCurrentMachineId(options) {
@@ -3960,7 +3958,7 @@ async function runLocalAgentTurnForCli(options, settings) {
3960
3958
  } : void 0;
3961
3959
  const currentDialogId = options.continueDialogId ?? ulid();
3962
3960
  const runChildTurn = async (input) => {
3963
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-KV6MQJQS.js");
3961
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-K2J7IS6O.js");
3964
3962
  return runLocalAgentTurn(input);
3965
3963
  };
3966
3964
  const createFreshChildBaseAdapter = () => {
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  buildLocalAgentLookupKeys,
3
- normalizeAgentHandle,
4
3
  shouldReadAgentKeyRemotely
5
- } from "./chunk-Y3GNPBAB.js";
4
+ } from "./chunk-B26VDWID.js";
6
5
  import {
7
6
  resolveCliAgentKeyInput
8
7
  } from "./chunk-VHBWHNVT.js";
@@ -26,6 +25,13 @@ import {
26
25
 
27
26
  // packages/cli/agentRecordHelpers.ts
28
27
  import { readFileSync } from "node:fs";
28
+
29
+ // packages/core/agentHandle.ts
30
+ function normalizeAgentHandle(value) {
31
+ return typeof value === "string" && value.trim() ? value.trim().toLowerCase().replace(/\s+/g, " ") : void 0;
32
+ }
33
+
34
+ // packages/cli/agentRecordHelpers.ts
29
35
  var PROVIDER_COPY_FIELDS = [
30
36
  "apiSource",
31
37
  "provider",
@@ -612,6 +618,7 @@ async function buildUpdatedAgentRecord(args) {
612
618
  }
613
619
 
614
620
  export {
621
+ normalizeAgentHandle,
615
622
  fetchWithTransportFallback,
616
623
  readAgentRecord,
617
624
  readDbRecord,
@@ -1,19 +1,13 @@
1
1
  import {
2
2
  buildAgentRuntimeAgentLookupKeys,
3
3
  shouldFetchAgentRuntimeRecordRemotely
4
- } from "./chunk-JJPANCH2.js";
4
+ } from "./chunk-YEFSRF54.js";
5
5
 
6
6
  // packages/cli/client/localAgentRecords.ts
7
7
  var buildLocalAgentLookupKeys = buildAgentRuntimeAgentLookupKeys;
8
8
  var shouldReadAgentKeyRemotely = shouldFetchAgentRuntimeRecordRemotely;
9
9
 
10
- // packages/core/agentHandle.ts
11
- function normalizeAgentHandle(value) {
12
- return typeof value === "string" && value.trim() ? value.trim().toLowerCase().replace(/\s+/g, " ") : void 0;
13
- }
14
-
15
10
  export {
16
11
  buildLocalAgentLookupKeys,
17
- shouldReadAgentKeyRemotely,
18
- normalizeAgentHandle
12
+ shouldReadAgentKeyRemotely
19
13
  };
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-VE7PIZFT.js";
10
+ } from "./chunk-XU6XCPWB.js";
11
11
  import {
12
12
  buildDialogAttachmentPlan,
13
13
  extractFileContentIds
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  updateContentTitle
3
- } from "./chunk-HETVWFFQ.js";
3
+ } from "./chunk-37XKBS4O.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-NLQBLZUO.js";
16
+ } from "./chunk-XRZJGPFI.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-JYVUSH57.js");
370
+ const { createPageAction } = await import("./createPageAction-APL7B2KC.js");
371
371
  return createPageAction(args, thunkApi);
372
372
  }
373
373
  function subscribe(listener) {
@@ -11,7 +11,7 @@ import {
11
11
  patch,
12
12
  remove,
13
13
  write
14
- } from "./chunk-NLQBLZUO.js";
14
+ } from "./chunk-XRZJGPFI.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-DVRHHFEA.js";
23
+ } from "./chunk-XMLRJUU5.js";
24
24
  import {
25
25
  asTrimmedString
26
26
  } from "./chunk-3EUW3WEO.js";
@@ -300,7 +300,7 @@ var slice = createSliceWithThunks({
300
300
  const overrides = {};
301
301
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
302
302
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
303
- const { _executeModel } = await import("./_executeModel-GP2DXECM.js");
303
+ const { _executeModel } = await import("./_executeModel-UREJOVS3.js");
304
304
  return _executeModel(
305
305
  {
306
306
  isStreaming: args.isStreaming ?? false,
@@ -321,7 +321,7 @@ var slice = createSliceWithThunks({
321
321
  * - 循环直到无工具调用或触发其他运行时停止条件
322
322
  */
323
323
  runAgent: create.asyncThunk(async (args, thunkApi) => {
324
- const { runAgentClientLoop } = await import("./runAgentClientLoop-2YPEUG3Q.js");
324
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-PDE63NNW.js");
325
325
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
326
326
  {
327
327
  agentKey: args.agentKey,
@@ -337,7 +337,7 @@ var slice = createSliceWithThunks({
337
337
  * 聊天轮次流式 Agent 调用
338
338
  */
339
339
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
340
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-LAFUD4KS.js");
340
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-LYN66RLC.js");
341
341
  return streamAgentChatTurnHandler(args, thunkApi);
342
342
  }),
343
343
  /**
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  i18n_default,
3
3
  toolRegistry
4
- } from "./chunk-PH7SXF5R.js";
4
+ } from "./chunk-TKV34RQ6.js";
5
5
  import {
6
6
  canonicalizeToolNames
7
7
  } from "./chunk-ZZ2MH7LE.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-CIF5XTPN.js";
4
+ } from "./chunk-LP5UAY5I.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-PH7SXF5R.js";
7
+ } from "./chunk-TKV34RQ6.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-DXOUTEQC.js";
10
+ } from "./chunk-QCJITMYO.js";
11
11
  import {
12
12
  resolveLocalRuntimeEnvFromPolicy
13
13
  } from "./chunk-5CS33IBL.js";
@@ -816,7 +816,7 @@ function buildLoadSkillExecutor(args) {
816
816
  const { resolveSkillByName } = await import("./skillDiscovery-KJWT7JBU.js");
817
817
  const resolved = resolveSkillByName(args.cwd, name);
818
818
  if (!resolved) {
819
- const { resolveCodingBuiltinSlug, buildCodingSkillContentBySlug } = await import("./codingSkills-3RK4CIL2.js");
819
+ const { resolveCodingBuiltinSlug, buildCodingSkillContentBySlug } = await import("./codingSkills-36KN5NQT.js");
820
820
  const builtinSlug = resolveCodingBuiltinSlug(name);
821
821
  if (builtinSlug) {
822
822
  const body = buildCodingSkillContentBySlug(builtinSlug);
@@ -3,20 +3,20 @@ import {
3
3
  } from "./chunk-HQPG2PIV.js";
4
4
  import {
5
5
  addContentAction
6
- } from "./chunk-27MGYWLZ.js";
6
+ } from "./chunk-ELT65PZW.js";
7
7
  import {
8
8
  ALL_MODELS
9
9
  } from "./chunk-RK5NYQEL.js";
10
10
  import {
11
11
  upload
12
- } from "./chunk-NLQBLZUO.js";
12
+ } from "./chunk-XRZJGPFI.js";
13
13
  import {
14
14
  PUBLIC_DEEPSEEK_V4_FLASH_AGENT_KEY,
15
15
  PUBLIC_KIMI_K26_IMAGE_AGENT_KEY
16
- } from "./chunk-XPC5C7BK.js";
16
+ } from "./chunk-3ND52WIL.js";
17
17
  import {
18
18
  getRuntimeServerContext
19
- } from "./chunk-DVRHHFEA.js";
19
+ } from "./chunk-XMLRJUU5.js";
20
20
  import {
21
21
  API_ENDPOINTS
22
22
  } from "./chunk-LCBAMY2M.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  patch,
3
3
  read
4
- } from "./chunk-NLQBLZUO.js";
4
+ } from "./chunk-XRZJGPFI.js";
5
5
  import {
6
6
  DEVICE_LOCAL_OWNER_ID,
7
7
  isDeviceLocalSpaceBody,
8
8
  selectIdentityUserId
9
- } from "./chunk-DVRHHFEA.js";
9
+ } from "./chunk-XMLRJUU5.js";
10
10
 
11
11
  // packages/create/space/spaceKeys.ts
12
12
  var SEPARATOR = "-";
@@ -9,10 +9,10 @@ import {
9
9
  resolveAgentRecordFromHybridStore,
10
10
  sanitizeAgentRecordForCliOutput,
11
11
  writeAgentRecord
12
- } from "./chunk-N77EBDJJ.js";
12
+ } from "./chunk-A7QNCVO5.js";
13
13
  import {
14
14
  clearCliLocalRuntimePreparedAgentCache
15
- } from "./chunk-CIF5XTPN.js";
15
+ } from "./chunk-LP5UAY5I.js";
16
16
  import {
17
17
  resolveCliAgentKeyInput
18
18
  } from "./chunk-VHBWHNVT.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-HRLDQJW7.js";
4
+ } from "./chunk-LRYORNMJ.js";
5
5
 
6
6
  // packages/ai/agent/fetchAgentContexts.ts
7
7
  async function fetchAgentContexts(references, dispatch) {
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  patch,
9
9
  selectById
10
- } from "./chunk-NLQBLZUO.js";
10
+ } from "./chunk-XRZJGPFI.js";
11
11
  import {
12
12
  __toESM
13
13
  } from "./chunk-4VNS5WPM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-IG3SA64O.js";
3
+ } from "./chunk-OOKISU7J.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";