nolo-cli 0.33.0-alpha.13 → 0.33.0-alpha.14

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 (93) hide show
  1. package/{_executeModel-S346WSM5.js → _executeModel-7JTMK4RG.js} +28 -28
  2. package/{action-OQWPNKAH.js → action-Q4KO7DDW.js} +4 -4
  3. package/{addContentAction-YVINZQTF.js → addContentAction-FRXDZKSI.js} +3 -3
  4. package/{addDialogAgentAction-6IOCIEPI.js → addDialogAgentAction-XL5G3LPR.js} +2 -2
  5. package/{agentDeleteCommand-6TTPXGS3.js → agentDeleteCommand-2TZHJ3RQ.js} +13 -13
  6. package/{agentEmailCommands-JIXFG6AM.js → agentEmailCommands-DPSDC3HD.js} +32 -32
  7. package/{agentListCommands-ZTT3KU35.js → agentListCommands-DTAXH3J6.js} +15 -15
  8. package/{agentMachineCommands-25DROOMX.js → agentMachineCommands-AZQTRWSO.js} +14 -14
  9. package/{agentRecordCommands-N4L55KRX.js → agentRecordCommands-MJM6ZF2G.js} +31 -31
  10. package/{agentRunCommand-4CKVVQ4P.js → agentRunCommand-PTOU5ADW.js} +31 -31
  11. package/{agentRuntimeLocal-O4IDDLPA.js → agentRuntimeLocal-Q7UJUPCH.js} +13 -13
  12. package/{agentSlice-47VUR2ZD.js → agentSlice-UU62MB3X.js} +3 -3
  13. package/{appDeleteCommands-SWXRVOE4.js → appDeleteCommands-GK2VPNKO.js} +15 -15
  14. package/{appDeployCommands-WQ3ZXXQH.js → appDeployCommands-VQLBLXQ4.js} +15 -15
  15. package/{appDeployStatusCommands-BM5CVBFC.js → appDeployStatusCommands-QBCR22M6.js} +15 -15
  16. package/{appGetCommands-SHI5HG4U.js → appGetCommands-XKKIUK2X.js} +15 -15
  17. package/{appListCommands-5IKTBNWH.js → appListCommands-H4H6BAIG.js} +15 -15
  18. package/{authCommand-VIHTCZDN.js → authCommand-EX5G5PF4.js} +7 -7
  19. package/{chatQueueReduxAdapter-GBGNFB7U.js → chatQueueReduxAdapter-HU54G64R.js} +13 -13
  20. package/{chunk-GJXRIOLS.js → chunk-2CNX3CJE.js} +4 -84
  21. package/{chunk-DF22DYA4.js → chunk-33TKEKZL.js} +3 -3
  22. package/{chunk-SHOLLFRN.js → chunk-3F66RTMA.js} +12 -12
  23. package/{chunk-SNFD447J.js → chunk-4GRUSXSX.js} +24 -24
  24. package/{chunk-PIDDBIHR.js → chunk-6BNXAFZD.js} +14 -215
  25. package/{chunk-3WXRAHCG.js → chunk-6MSSX7FI.js} +1 -1
  26. package/{chunk-UM4H3URE.js → chunk-6YH4UR3E.js} +3 -3
  27. package/{chunk-OR2HNLVO.js → chunk-7EPNNOL4.js} +6 -6
  28. package/{chunk-RPRRIFXV.js → chunk-7OGIWPNK.js} +1 -1
  29. package/{chunk-DFUPZE6V.js → chunk-7SLMYTSF.js} +1 -1
  30. package/{chunk-3GZXL6FM.js → chunk-AOWETAXX.js} +1 -1
  31. package/{chunk-2IVEXF7P.js → chunk-BHILFABL.js} +1 -1
  32. package/{chunk-3RUW3ONU.js → chunk-DDET6246.js} +1 -1
  33. package/{chunk-RJKIB55Y.js → chunk-EQ6HOWEJ.js} +2 -2
  34. package/{chunk-6YXDOOSH.js → chunk-FH7VUJN5.js} +2 -2
  35. package/{chunk-IXTC74NZ.js → chunk-FLUK32AS.js} +4 -4
  36. package/{chunk-AVO73UMB.js → chunk-FS5HQTXA.js} +102 -23
  37. package/{chunk-6KOS7ZBZ.js → chunk-FV63ICZC.js} +1 -1
  38. package/{chunk-4EKYN24Q.js → chunk-G3IZYZYL.js} +1 -1
  39. package/{chunk-MIRUCHZP.js → chunk-GHDWBVDC.js} +11 -17
  40. package/{chunk-3UG2IIZ3.js → chunk-GTEHJWXU.js} +1 -1
  41. package/{chunk-DKMOY3QI.js → chunk-HCOIKLSH.js} +2 -2
  42. package/{chunk-TIX6O4IC.js → chunk-HLDRWLQT.js} +11 -11
  43. package/{chunk-VBUQYOX7.js → chunk-IEHZHWN7.js} +1 -1
  44. package/{chunk-CSNOI72O.js → chunk-IPVRJ7YP.js} +4 -4
  45. package/{chunk-2QTEYCR7.js → chunk-JFUW3UTO.js} +1 -1
  46. package/{chunk-75U775RZ.js → chunk-KIL7V27H.js} +1 -1
  47. package/{chunk-7XSIRXOO.js → chunk-KJRULCTO.js} +8 -8
  48. package/{chunk-4F5M2MW5.js → chunk-KMMQFY5O.js} +1 -1
  49. package/{chunk-ZZV52MOO.js → chunk-KT4XMX76.js} +1 -1
  50. package/{chunk-IR6W62Q6.js → chunk-KZB5SNYH.js} +1 -14
  51. package/{chunk-ASDXPOJH.js → chunk-L5XKDBSH.js} +1 -1
  52. package/{chunk-SCUETSRP.js → chunk-LAZTMWIU.js} +1 -1
  53. package/{chunk-PQQXQV6V.js → chunk-MNG4T5EG.js} +3 -3
  54. package/{chunk-7YYHKBJP.js → chunk-OQVRTSZ5.js} +1 -1
  55. package/{chunk-PWI34D3P.js → chunk-PXNTCR3F.js} +3 -3
  56. package/{chunk-UNOTBWZZ.js → chunk-QKCMP3LU.js} +2 -2
  57. package/{chunk-IKWTTKWG.js → chunk-V4MT7AEN.js} +1 -1
  58. package/{chunk-CPYYM4RJ.js → chunk-VIRTYWWE.js} +4 -5
  59. package/{chunk-5WEQKEFO.js → chunk-WO42AOGQ.js} +2 -2
  60. package/{chunk-GUC65EFO.js → chunk-XSFNKLAP.js} +16 -18
  61. package/{createAgentAutomationAction-7DWATWIT.js → createAgentAutomationAction-UUB7I2IZ.js} +14 -14
  62. package/{createDialogAction-3CPIR267.js → createDialogAction-6L4UPVOM.js} +15 -15
  63. package/{createPageAction-5GUFQTAW.js → createPageAction-YHKPY27S.js} +14 -14
  64. package/{dbSlice-UI2VCBLG.js → dbSlice-2YD2PZER.js} +2 -2
  65. package/{dialogCommands-XKC5TIAA.js → dialogCommands-4CM7WLJU.js} +13 -13
  66. package/{dialogSlice-YFWNV3JJ.js → dialogSlice-IGMZSFYT.js} +13 -13
  67. package/{docCreateCommands-MRH4H6DW.js → docCreateCommands-J73A5E4E.js} +14 -14
  68. package/{docDeleteCommands-KJJU6NLM.js → docDeleteCommands-OQARRE6H.js} +14 -14
  69. package/{docReadCommands-JXOSUS5I.js → docReadCommands-EOF3SUF3.js} +14 -14
  70. package/{docStore-SGQ6EE5P.js → docStore-XAICS4VA.js} +15 -15
  71. package/{docUpdateCommands-AGUFF52W.js → docUpdateCommands-3NBWWIX3.js} +14 -14
  72. package/{getPricing-L2ENXWHV.js → getPricing-J4VXWR5B.js} +3 -3
  73. package/{handleSendMessageAction-RGCSLENY.js → handleSendMessageAction-ET2RT4YC.js} +13 -13
  74. package/index.js +47 -47
  75. package/{machineCommands-P5DVPETV.js → machineCommands-SJTKJRAK.js} +31 -31
  76. package/{machineWsRunDispatch-66ZCBLIC.js → machineWsRunDispatch-RDRIH27N.js} +31 -31
  77. package/{models-OX2S5C6Q.js → models-SQFOI4FI.js} +2 -2
  78. package/package.json +1 -1
  79. package/{read-2VHEHCAN.js → read-526GJR3R.js} +1 -1
  80. package/{readDocTool-CSWD6NPC.js → readDocTool-JNEZUOSM.js} +1 -1
  81. package/{readlineWorkspace-U2LVP43X.js → readlineWorkspace-T2MLNAVK.js} +32 -32
  82. package/{removeDialogAgentAction-2T7BPM3T.js → removeDialogAgentAction-NPMEFEJW.js} +4 -4
  83. package/{runAgentClientLoop-WVL2KOS5.js → runAgentClientLoop-H7HEYRIW.js} +25 -25
  84. package/{setDialogExtraReferencesAction-GPT37HTW.js → setDialogExtraReferencesAction-ZZ6QWAG2.js} +3 -3
  85. package/{setPrimaryDialogAgentAction-3746P7IW.js → setPrimaryDialogAgentAction-BG72QA6S.js} +4 -4
  86. package/{settingSlice-FIFOQ6OR.js → settingSlice-JCCLCXZB.js} +3 -3
  87. package/{spaceCommands-O33WUJEV.js → spaceCommands-EWIIKS7T.js} +13 -13
  88. package/{spaceSlice-R5X62SG3.js → spaceSlice-IEUHVARG.js} +14 -14
  89. package/{streamAgentChatTurn-CLC5VQYO.js → streamAgentChatTurn-DXKMGZTX.js} +36 -46
  90. package/{switchDialogAgentAction-MQTUTQHL.js → switchDialogAgentAction-YPGPM2LL.js} +2 -2
  91. package/{tools-4QHXZBRQ.js → tools-36F2CQ4F.js} +21 -21
  92. package/{tuiSummaryLlmCaller-EAWQ3IZX.js → tuiSummaryLlmCaller-WUVAOIYU.js} +9 -9
  93. package/{updateDialogTitleAction-IOSJSJ5S.js → updateDialogTitleAction-N7UF3L3R.js} +14 -14
@@ -13,10 +13,10 @@ import {
13
13
  } from "./chunk-CWMSB67P.js";
14
14
  import {
15
15
  runLlm
16
- } from "./chunk-IXTC74NZ.js";
16
+ } from "./chunk-FLUK32AS.js";
17
17
  import {
18
18
  cleanupCliSessionForDialog
19
- } from "./chunk-6YXDOOSH.js";
19
+ } from "./chunk-FH7VUJN5.js";
20
20
  import {
21
21
  getActiveDialogAgentId,
22
22
  getDialogAgentIds,
@@ -33,9 +33,8 @@ import {
33
33
  DEFAULT_CONTEXT_WINDOW,
34
34
  getModelContextWindow,
35
35
  getModelInfo,
36
- resolveAutoExecutionProfile,
37
- resolveBuiltinPlatformAgentRecord
38
- } from "./chunk-GJXRIOLS.js";
36
+ resolveAutoExecutionProfile
37
+ } from "./chunk-2CNX3CJE.js";
39
38
  import {
40
39
  COMPACTION_SUMMARY_SYSTEM_PROMPT,
41
40
  buildCompactionMetricsFromPlan,
@@ -47,11 +46,11 @@ import {
47
46
  normalizeAssistantContentBuffer,
48
47
  planCompression,
49
48
  serializeMessageContent
50
- } from "./chunk-DKMOY3QI.js";
49
+ } from "./chunk-HCOIKLSH.js";
51
50
  import {
52
51
  findModelConfig,
53
52
  getModelConfig
54
- } from "./chunk-DFUPZE6V.js";
53
+ } from "./chunk-7SLMYTSF.js";
55
54
  import {
56
55
  abortActiveControllers,
57
56
  addPageReferenceToRuntime,
@@ -73,10 +72,10 @@ import {
73
72
  import {
74
73
  getPlatformHostedDeepSeekV4Price,
75
74
  isPlatformHostedDeepSeekV4Model
76
- } from "./chunk-OR2HNLVO.js";
75
+ } from "./chunk-7EPNNOL4.js";
77
76
  import {
78
77
  nolotusId
79
- } from "./chunk-UNOTBWZZ.js";
78
+ } from "./chunk-QKCMP3LU.js";
80
79
  import {
81
80
  asRecordOrEmpty
82
81
  } from "./chunk-KX6YBIHG.js";
@@ -86,7 +85,7 @@ import {
86
85
  remove,
87
86
  selectById,
88
87
  write
89
- } from "./chunk-UM4H3URE.js";
88
+ } from "./chunk-6YH4UR3E.js";
90
89
  import {
91
90
  buildDialogAgentListIndexDeleteOps,
92
91
  createDialogMessageKeyAndId,
@@ -107,6 +106,11 @@ import {
107
106
  import {
108
107
  asTrimmedLowercaseString
109
108
  } from "./chunk-QSJ3HFEF.js";
109
+ import {
110
+ builtinAgentCatalogEntryById,
111
+ builtinRuntimeFallbackEntries,
112
+ isBuiltinPlatformAgentKey
113
+ } from "./chunk-KZB5SNYH.js";
110
114
  import {
111
115
  asyncThunkCreator,
112
116
  buildCreateSlice,
@@ -131,7 +135,9 @@ import {
131
135
  } from "./chunk-3EUW3WEO.js";
132
136
  import {
133
137
  extractCustomId,
134
- extractUserId
138
+ extractUserId,
139
+ parsePublicAgentId,
140
+ publicAgentKey
135
141
  } from "./chunk-BJIRLHJR.js";
136
142
  import {
137
143
  isRecord
@@ -1643,6 +1649,76 @@ var buildPersonalizationDialogPolicyContext = () => [
1643
1649
  "\u9664\u975E\u7528\u6237\u660E\u786E\u8981\u6C42\uFF0C\u5426\u5219\u4E0D\u8981\u521B\u5EFA\u6587\u6863\uFF0C\u4E0D\u8981\u521B\u5EFA\u6216\u4FEE\u6539\u4EFB\u4F55 agent\u3002"
1644
1650
  ].join("\n");
1645
1651
 
1652
+ // packages/agent-runtime/builtinPlatformAgentRoute.ts
1653
+ function resolveBuiltinAgentRuntimeFields(agentKey) {
1654
+ if (!isBuiltinPlatformAgentKey(agentKey)) return null;
1655
+ const entry = builtinAgentCatalogEntryById(parsePublicAgentId(agentKey));
1656
+ if (!entry) return null;
1657
+ return { provider: entry.provider, model: entry.model };
1658
+ }
1659
+
1660
+ // packages/agent-runtime/builtinPlatformAgentConfigs.ts
1661
+ function buildConfig(e) {
1662
+ const key = publicAgentKey(e.id);
1663
+ const rawRecord = {
1664
+ dbKey: key,
1665
+ isPublic: true,
1666
+ provider: e.provider,
1667
+ model: e.model,
1668
+ apiSource: e.apiSource ?? "platform",
1669
+ useServerProxy: e.useServerProxy ?? true
1670
+ };
1671
+ if (e.hasImageOutput) rawRecord.hasImageOutput = true;
1672
+ if (e.imageModel) rawRecord.imageModel = e.imageModel;
1673
+ if (e.imageWorkflow) rawRecord.imageWorkflow = e.imageWorkflow;
1674
+ if (e.imageConfig) rawRecord.imageConfig = e.imageConfig;
1675
+ return {
1676
+ key,
1677
+ name: e.name,
1678
+ provider: e.provider,
1679
+ model: e.model,
1680
+ apiSource: e.apiSource ?? "platform",
1681
+ useServerProxy: e.useServerProxy ?? true,
1682
+ rawRecord
1683
+ };
1684
+ }
1685
+ var BUILTIN_PLATFORM_AGENT_CONFIGS = Object.fromEntries(
1686
+ builtinRuntimeFallbackEntries().map((e) => [publicAgentKey(e.id), buildConfig(e)])
1687
+ );
1688
+ function resolveBuiltinPlatformAgentConfig(agentRef) {
1689
+ return BUILTIN_PLATFORM_AGENT_CONFIGS[agentRef] ?? null;
1690
+ }
1691
+ function resolveBuiltinPlatformAgentRecord(agentRef) {
1692
+ const config = resolveBuiltinPlatformAgentConfig(agentRef);
1693
+ if (!config) return null;
1694
+ return {
1695
+ ...config.rawRecord,
1696
+ dbKey: agentRef,
1697
+ ...config.name ? { name: config.name } : {}
1698
+ };
1699
+ }
1700
+ function applyBuiltinAgentRuntimeOverride(agentKey, record) {
1701
+ const fields = resolveBuiltinAgentRuntimeFields(agentKey);
1702
+ if (!fields) return record;
1703
+ const current = record;
1704
+ const rawNeedsOverride = current.rawRecord != null && (current.rawRecord.provider !== fields.provider || current.rawRecord.model !== fields.model);
1705
+ if (current.provider === fields.provider && current.model === fields.model && !rawNeedsOverride) {
1706
+ return record;
1707
+ }
1708
+ return {
1709
+ ...record,
1710
+ provider: fields.provider,
1711
+ model: fields.model,
1712
+ ...current.rawRecord ? {
1713
+ rawRecord: {
1714
+ ...current.rawRecord,
1715
+ provider: fields.provider,
1716
+ model: fields.model
1717
+ }
1718
+ } : {}
1719
+ };
1720
+ }
1721
+
1646
1722
  // packages/chat/dialog/dialogAgentPolicy.ts
1647
1723
  var resolveDialogAgentMode = (dialog) => {
1648
1724
  if (dialog?.agentMode === "auto") return "auto";
@@ -3444,7 +3520,7 @@ var messageSlice = createSliceWithThunks({
3444
3520
  runtimeOptions: args.runtimeOptions
3445
3521
  });
3446
3522
  if (agentKeyToUse) {
3447
- const { streamAgentChatTurn } = await import("./agentSlice-47VUR2ZD.js");
3523
+ const { streamAgentChatTurn } = await import("./agentSlice-UU62MB3X.js");
3448
3524
  await dispatch(
3449
3525
  streamAgentChatTurn({
3450
3526
  agentKey: agentKeyToUse,
@@ -4703,7 +4779,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
4703
4779
  }
4704
4780
  if (isCurrentDialog) {
4705
4781
  await thunkApi.dispatch(resetMsgs());
4706
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-YFWNV3JJ.js");
4782
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-IGMZSFYT.js");
4707
4783
  dispatch(clearPendingAttachments2());
4708
4784
  clearWorkflow();
4709
4785
  }
@@ -4712,39 +4788,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
4712
4788
 
4713
4789
  // packages/chat/dialog/dialogSlice.ts
4714
4790
  var runCreateDialogAction = async (args, thunkApi) => {
4715
- const { createDialogAction } = await import("./createDialogAction-3CPIR267.js");
4791
+ const { createDialogAction } = await import("./createDialogAction-6L4UPVOM.js");
4716
4792
  return createDialogAction(args, thunkApi);
4717
4793
  };
4718
4794
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
4719
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-7DWATWIT.js");
4795
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-UUB7I2IZ.js");
4720
4796
  return createAgentAutomationAction(args, thunkApi);
4721
4797
  };
4722
4798
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
4723
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-IOSJSJ5S.js");
4799
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-N7UF3L3R.js");
4724
4800
  return updateDialogTitleAction(args, thunkApi);
4725
4801
  };
4726
4802
  var runAddDialogAgentAction = async (args, thunkApi) => {
4727
- const { addDialogAgentAction } = await import("./addDialogAgentAction-6IOCIEPI.js");
4803
+ const { addDialogAgentAction } = await import("./addDialogAgentAction-XL5G3LPR.js");
4728
4804
  return addDialogAgentAction(args, thunkApi);
4729
4805
  };
4730
4806
  var runRemoveDialogAgentAction = async (args, thunkApi) => {
4731
- const { removeDialogAgentAction } = await import("./removeDialogAgentAction-2T7BPM3T.js");
4807
+ const { removeDialogAgentAction } = await import("./removeDialogAgentAction-NPMEFEJW.js");
4732
4808
  return removeDialogAgentAction(args, thunkApi);
4733
4809
  };
4734
4810
  var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
4735
- const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-3746P7IW.js");
4811
+ const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-BG72QA6S.js");
4736
4812
  return setPrimaryDialogAgentAction(args, thunkApi);
4737
4813
  };
4738
4814
  var runSwitchDialogAgentAction = async (args, thunkApi) => {
4739
- const { switchDialogAgentAction } = await import("./switchDialogAgentAction-MQTUTQHL.js");
4815
+ const { switchDialogAgentAction } = await import("./switchDialogAgentAction-YPGPM2LL.js");
4740
4816
  return switchDialogAgentAction(args, thunkApi);
4741
4817
  };
4742
4818
  var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
4743
- const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-GPT37HTW.js");
4819
+ const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-ZZ6QWAG2.js");
4744
4820
  return setDialogExtraReferencesAction(args, thunkApi);
4745
4821
  };
4746
4822
  var runHandleSendMessageAction = async (args, thunkApi) => {
4747
- const { handleSendMessageAction } = await import("./handleSendMessageAction-RGCSLENY.js");
4823
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-ET2RT4YC.js");
4748
4824
  return handleSendMessageAction(args, thunkApi);
4749
4825
  };
4750
4826
  function clearDialogState() {
@@ -4757,7 +4833,7 @@ var createPageAndAddReference = createAsyncThunk(
4757
4833
  async (payload, { dispatch, getState, rejectWithValue }) => {
4758
4834
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
4759
4835
  try {
4760
- const { createDocState } = await import("./docStore-SGQ6EE5P.js");
4836
+ const { createDocState } = await import("./docStore-XAICS4VA.js");
4761
4837
  const pageKey = await createDocState(
4762
4838
  { slateData, title },
4763
4839
  { dispatch, getState }
@@ -4918,6 +4994,9 @@ var selectCurrentDialogTokens = createSelector(
4918
4994
  var selectTotalDialogTokens = selectCurrentDialogTokens;
4919
4995
 
4920
4996
  export {
4997
+ resolveBuiltinPlatformAgentConfig,
4998
+ resolveBuiltinPlatformAgentRecord,
4999
+ applyBuiltinAgentRuntimeOverride,
4921
5000
  isAssistantToolStub,
4922
5001
  fetchAndCacheMessages,
4923
5002
  extractReferenceKeysFromMessage,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-VBUQYOX7.js";
4
+ } from "./chunk-IEHZHWN7.js";
5
5
  import {
6
6
  toErrorMessage
7
7
  } from "./chunk-HNMXYYJR.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-YDTYDA5W.js";
13
13
  import {
14
14
  clearCliLocalRuntimePreparedAgentCache
15
- } from "./chunk-GUC65EFO.js";
15
+ } from "./chunk-XSFNKLAP.js";
16
16
  import {
17
17
  resolveCliAgentKeyInput
18
18
  } from "./chunk-EKLRRZIN.js";
@@ -24,7 +24,7 @@ import {
24
24
  parseAgentRunEvent,
25
25
  t,
26
26
  toolLabel
27
- } from "./chunk-GUC65EFO.js";
27
+ } from "./chunk-XSFNKLAP.js";
28
28
  import {
29
29
  NOLO_PROJECT_MANAGER_AGENT_KEY,
30
30
  isLocalCliAgentKey
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-ESHYE7WU.js";
39
39
  import {
40
40
  formatAgentListCard
41
- } from "./chunk-SNFD447J.js";
41
+ } from "./chunk-4GRUSXSX.js";
42
42
  import {
43
43
  isGatewayHttpStatus
44
44
  } from "./chunk-RQSOAMPJ.js";
@@ -50,12 +50,12 @@ import {
50
50
  chooseMemoryOwners,
51
51
  loadMemoryCandidatesFromDb,
52
52
  resolveAgentMemoryPolicy
53
- } from "./chunk-CSNOI72O.js";
53
+ } from "./chunk-IPVRJ7YP.js";
54
54
  import {
55
55
  API_REPORTED_COST_MULTIPLIER,
56
56
  normalizeUsage,
57
57
  parseUiAskChoiceContent
58
- } from "./chunk-AVO73UMB.js";
58
+ } from "./chunk-FS5HQTXA.js";
59
59
  import {
60
60
  resolveAgentRuntimeConfigFromRecord
61
61
  } from "./chunk-OIQPORYI.js";
@@ -64,7 +64,7 @@ import {
64
64
  LOCAL_TURN_ABORTED_CODE,
65
65
  readActionGate,
66
66
  readCommandActionGatePayload
67
- } from "./chunk-PIDDBIHR.js";
67
+ } from "./chunk-6BNXAFZD.js";
68
68
  import {
69
69
  createThinkParserState,
70
70
  flushThinkParser,
@@ -72,17 +72,17 @@ import {
72
72
  } from "./chunk-N7J63Q6C.js";
73
73
  import {
74
74
  resolvePlatformAuthToken
75
- } from "./chunk-7YYHKBJP.js";
75
+ } from "./chunk-OQVRTSZ5.js";
76
76
  import {
77
77
  DEFAULT_CONTEXT_WINDOW,
78
78
  getModelContextWindow
79
- } from "./chunk-GJXRIOLS.js";
79
+ } from "./chunk-2CNX3CJE.js";
80
80
  import {
81
81
  clipCompactText
82
- } from "./chunk-DKMOY3QI.js";
82
+ } from "./chunk-HCOIKLSH.js";
83
83
  import {
84
84
  findModelConfig
85
- } from "./chunk-DFUPZE6V.js";
85
+ } from "./chunk-7SLMYTSF.js";
86
86
  import {
87
87
  buildSkillDiscoveryContextLayer
88
88
  } from "./chunk-DMT4NJXR.js";
@@ -141,7 +141,7 @@ import {
141
141
  BUILTIN_NOLO_AGENT_KEY,
142
142
  BUILTIN_NOLO_AGENT_NAME,
143
143
  builtinAgentCatalogEntryById
144
- } from "./chunk-IR6W62Q6.js";
144
+ } from "./chunk-KZB5SNYH.js";
145
145
  import {
146
146
  asTrimmedString
147
147
  } from "./chunk-3EUW3WEO.js";
@@ -3521,7 +3521,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
3521
3521
  // packages/cli/client/agentRun.ts
3522
3522
  import { ulid } from "ulid";
3523
3523
  async function loadRunLocalAgentTurn() {
3524
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-O4IDDLPA.js");
3524
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-Q7UJUPCH.js");
3525
3525
  return runLocalAgentTurn;
3526
3526
  }
3527
3527
  async function resolveCurrentMachineId(options) {
@@ -4054,12 +4054,6 @@ async function runLocalAgentTurnForCli(options, settings) {
4054
4054
  "[nolo] \u5F53\u524D agent \u4E0D\u652F\u6301\u56FE\u7247\u8F93\u5165\uFF0C\u5DF2\u7528\u5360\u4F4D\u6587\u672C\u66FF\u4EE3\u3002\u8981\u5B8C\u6574\u56FE\u7247\u7406\u89E3\u53EF /switch \u5230 Kimi K2.6\u3002\n"
4055
4055
  );
4056
4056
  }
4057
- if (event.kind === "image-preprocessed") {
4058
- options.output.write(
4059
- `[nolo] \u5DF2\u7528\u89C6\u89C9\u6A21\u578B\u89E3\u6790 ${event.imageCount} \u5F20\u56FE\u7247\u4E3A\u6587\u5B57\u63CF\u8FF0\uFF0C\u4F9B\u5F53\u524D agent \u4F7F\u7528\u3002
4060
- `
4061
- );
4062
- }
4063
4057
  options.onLoopEvent?.(event);
4064
4058
  },
4065
4059
  ...options.abortSignal ? { abortSignal: options.abortSignal } : {},
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-IKWTTKWG.js";
3
+ } from "./chunk-V4MT7AEN.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-DWLEOOGR.js";
4
4
  import {
5
5
  addContentAction
6
- } from "./chunk-4F5M2MW5.js";
6
+ } from "./chunk-KMMQFY5O.js";
7
7
  import {
8
8
  upload
9
- } from "./chunk-UM4H3URE.js";
9
+ } from "./chunk-6YH4UR3E.js";
10
10
  import {
11
11
  getRuntimeServerContext
12
12
  } from "./chunk-X664KVEV.js";
@@ -8,10 +8,10 @@ import {
8
8
  inlineImageUrlsForCustomProvider,
9
9
  prepareTools,
10
10
  shouldInlineImageUrlsForAgent
11
- } from "./chunk-5WEQKEFO.js";
11
+ } from "./chunk-WO42AOGQ.js";
12
12
  import {
13
13
  performFetchRequest
14
- } from "./chunk-SHOLLFRN.js";
14
+ } from "./chunk-3F66RTMA.js";
15
15
  import {
16
16
  createSSEParser,
17
17
  createToolRunId,
@@ -22,22 +22,22 @@ import {
22
22
  toolRunSetPending,
23
23
  toolRunStarted,
24
24
  toolRunSucceeded
25
- } from "./chunk-SNFD447J.js";
25
+ } from "./chunk-4GRUSXSX.js";
26
26
  import {
27
27
  getCurrentSpaceId
28
- } from "./chunk-7XSIRXOO.js";
28
+ } from "./chunk-KJRULCTO.js";
29
29
  import {
30
30
  addToolMessage,
31
31
  messageStreamEnd,
32
32
  messageStreaming,
33
33
  updateToolMessage
34
- } from "./chunk-AVO73UMB.js";
34
+ } from "./chunk-FS5HQTXA.js";
35
35
  import {
36
36
  streamAgentChatTurn
37
- } from "./chunk-IXTC74NZ.js";
37
+ } from "./chunk-FLUK32AS.js";
38
38
  import {
39
39
  EMPTY_ASSISTANT_REPAIR_PROMPT
40
- } from "./chunk-PIDDBIHR.js";
40
+ } from "./chunk-6BNXAFZD.js";
41
41
  import {
42
42
  accumulateToolCallDelta,
43
43
  createThinkParserState,
@@ -49,10 +49,10 @@ import {
49
49
  } from "./chunk-N7J63Q6C.js";
50
50
  import {
51
51
  getModelInfo
52
- } from "./chunk-GJXRIOLS.js";
52
+ } from "./chunk-2CNX3CJE.js";
53
53
  import {
54
54
  getApiEndpoint
55
- } from "./chunk-DFUPZE6V.js";
55
+ } from "./chunk-7SLMYTSF.js";
56
56
  import {
57
57
  addActiveController,
58
58
  removeActiveController,
@@ -63,10 +63,10 @@ import {
63
63
  } from "./chunk-HNMXYYJR.js";
64
64
  import {
65
65
  selectCurrentServer
66
- } from "./chunk-UNOTBWZZ.js";
66
+ } from "./chunk-QKCMP3LU.js";
67
67
  import {
68
68
  write
69
- } from "./chunk-UM4H3URE.js";
69
+ } from "./chunk-6YH4UR3E.js";
70
70
  import {
71
71
  createDialogMessageKeyAndId,
72
72
  dialogMessageKey,
@@ -11,7 +11,7 @@ import {
11
11
  getAntigravityUserAgent,
12
12
  normalizeAntigravityTokenPayload,
13
13
  refreshAntigravityToken
14
- } from "./chunk-SCUETSRP.js";
14
+ } from "./chunk-LAZTMWIU.js";
15
15
  import {
16
16
  writeOAuthCredential
17
17
  } from "./chunk-QTZD6HBK.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-7XSIRXOO.js";
3
+ } from "./chunk-KJRULCTO.js";
4
4
  import {
5
5
  prepareAndPersistMessage,
6
6
  uiAskChoiceFunc,
7
7
  uiAskChoiceFunctionSchema
8
- } from "./chunk-AVO73UMB.js";
8
+ } from "./chunk-FS5HQTXA.js";
9
9
  import {
10
10
  require_date_fns
11
11
  } from "./chunk-M76ECQRD.js";
@@ -19,14 +19,14 @@ import {
19
19
  PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
20
20
  PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE,
21
21
  PLATFORM_HOSTED_KIMI_PROVIDER
22
- } from "./chunk-OR2HNLVO.js";
22
+ } from "./chunk-7EPNNOL4.js";
23
23
  import {
24
24
  read,
25
25
  readAndWait,
26
26
  removeCachedEntity,
27
27
  upsertSSREntity,
28
28
  write
29
- } from "./chunk-UM4H3URE.js";
29
+ } from "./chunk-6YH4UR3E.js";
30
30
  import {
31
31
  createAgentKey,
32
32
  createDialogKey,
@@ -9,7 +9,7 @@ import {
9
9
  platformHostedModels,
10
10
  xaiModels,
11
11
  zaiModels
12
- } from "./chunk-OR2HNLVO.js";
12
+ } from "./chunk-7EPNNOL4.js";
13
13
 
14
14
  // packages/ai/llm/modelAbility.ts
15
15
  var MODEL_ABILITY_TABLE = {
@@ -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-2VHEHCAN.js");
202
+ const { readAction } = await import("./read-526GJR3R.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`);
@@ -11,10 +11,10 @@ import {
11
11
  deleteDialog,
12
12
  resetMsgs,
13
13
  toast
14
- } from "./chunk-AVO73UMB.js";
14
+ } from "./chunk-FS5HQTXA.js";
15
15
  import {
16
16
  deleteServerSyncedCredential
17
- } from "./chunk-IXTC74NZ.js";
17
+ } from "./chunk-FLUK32AS.js";
18
18
  import {
19
19
  require_date_fns
20
20
  } from "./chunk-M76ECQRD.js";
@@ -33,7 +33,7 @@ import {
33
33
  isSystemAdmin,
34
34
  selectRemoteServer,
35
35
  selectRemoteSyncServers
36
- } from "./chunk-UNOTBWZZ.js";
36
+ } from "./chunk-QKCMP3LU.js";
37
37
  import {
38
38
  asRecordOrEmpty
39
39
  } from "./chunk-KX6YBIHG.js";
@@ -44,7 +44,7 @@ import {
44
44
  createSpaceKey,
45
45
  localSpaceAuthorityPatchStamp,
46
46
  normalizeSpaceId
47
- } from "./chunk-4F5M2MW5.js";
47
+ } from "./chunk-KMMQFY5O.js";
48
48
  import {
49
49
  patch,
50
50
  read,
@@ -57,7 +57,7 @@ import {
57
57
  uploadFileAction,
58
58
  upsertSSREntity,
59
59
  write
60
- } from "./chunk-UM4H3URE.js";
60
+ } from "./chunk-6YH4UR3E.js";
61
61
  import {
62
62
  DB_PREFIX,
63
63
  SEPARATOR,
@@ -86,7 +86,7 @@ import {
86
86
  } from "./chunk-I42VC5KR.js";
87
87
  import {
88
88
  readAction
89
- } from "./chunk-IR6W62Q6.js";
89
+ } from "./chunk-KZB5SNYH.js";
90
90
  import {
91
91
  DEVICE_LOCAL_OWNER_ID,
92
92
  asyncThunkCreator,
@@ -9686,7 +9686,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
9686
9686
  const spaceKey = createSpaceKey.space(spaceId);
9687
9687
  const readSpace = async (dbKey) => {
9688
9688
  try {
9689
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-UI2VCBLG.js");
9689
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-2YD2PZER.js");
9690
9690
  if (fresh) {
9691
9691
  return await dispatch(readAndWait2(dbKey)).unwrap();
9692
9692
  }
@@ -10100,7 +10100,7 @@ var spaceSlice = createSliceWithThunks3({
10100
10100
  markDialogRead: create.asyncThunk(
10101
10101
  async (payload, thunkAPI) => {
10102
10102
  if (payload.dialogKey) {
10103
- const { patch: patch2 } = await import("./dbSlice-UI2VCBLG.js");
10103
+ const { patch: patch2 } = await import("./dbSlice-2YD2PZER.js");
10104
10104
  try {
10105
10105
  await thunkAPI.dispatch(
10106
10106
  patch2({ dbKey: payload.dialogKey, changes: { unreadAt: null } })
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  patch,
3
3
  read
4
- } from "./chunk-UM4H3URE.js";
4
+ } from "./chunk-6YH4UR3E.js";
5
5
  import {
6
6
  DEVICE_LOCAL_OWNER_ID,
7
7
  isDeviceLocalSpaceBody,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-SHOLLFRN.js";
4
+ } from "./chunk-3F66RTMA.js";
5
5
 
6
6
  // packages/ai/agent/fetchAgentContexts.ts
7
7
  async function fetchAgentContexts(references, dispatch) {
@@ -180,16 +180,6 @@ var BUILTIN_AGENT_CATALOG = [
180
180
  model: "gemini-3.7-flash",
181
181
  runtimeFallback: true
182
182
  },
183
- {
184
- id: "01QWEN37FLASH000000000001",
185
- // 内部图片预处理器(imagePreprocessing.ts),不是广场商品:只需运行时兜底
186
- // 拿到 provider/model,不应被 seed 写库、上架或计费。
187
- group: "internal",
188
- name: "Qwen 3.7 Flash",
189
- provider: "nolo",
190
- model: "qwen3.7-flash",
191
- runtimeFallback: true
192
- },
193
183
  {
194
184
  id: "01GPTIMG2GEN00000000SSEBOS",
195
185
  group: "public",
@@ -278,8 +268,6 @@ var PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID = entry("01DSV4PRONPB00000001VIR3EK").id;
278
268
  var PUBLIC_DEEPSEEK_V4_PRO_AGENT_KEY = publicAgentKey(PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID);
279
269
  var PUBLIC_KIMI_K26_IMAGE_AGENT_ID = entry("01KIMIK26OLLAMA0000000001").id;
280
270
  var PUBLIC_KIMI_K26_IMAGE_AGENT_KEY = publicAgentKey(PUBLIC_KIMI_K26_IMAGE_AGENT_ID);
281
- var PUBLIC_QWEN_37_FLASH_AGENT_ID = entry("01QWEN37FLASH000000000001").id;
282
- var PUBLIC_QWEN_37_FLASH_AGENT_KEY = publicAgentKey(PUBLIC_QWEN_37_FLASH_AGENT_ID);
283
271
  var PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_ID = entry("01GPTIMG2GEN00000000SSEBOS").id;
284
272
  var PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_KEY = publicAgentKey(PUBLIC_GPT_IMAGE_2_GENERATOR_AGENT_ID);
285
273
  var PUBLIC_GPT_IMAGE_2_EDITOR_AGENT_ID = entry("01GPTIMG2EDT00000001R4R4H4").id;
@@ -714,17 +702,16 @@ var readAction = async (payload, thunkApi) => {
714
702
  };
715
703
 
716
704
  export {
705
+ readRequestManager,
717
706
  builtinAgentCatalogEntryById,
718
707
  builtinRuntimeFallbackEntries,
719
708
  BUILTIN_NOLO_AGENT_KEY,
720
709
  BUILTIN_NOLO_AGENT_NAME,
721
710
  BUILTIN_NOLO_AGENT_MODEL,
722
711
  PUBLIC_DEEPSEEK_V4_FLASH_AGENT_KEY,
723
- PUBLIC_QWEN_37_FLASH_AGENT_KEY,
724
712
  DEFAULT_CODE_PLANNER_EXECUTOR_CANDIDATE_KEYS,
725
713
  isSystemBuiltinTrustedAgentKey,
726
714
  isBuiltinPlatformAgentKey,
727
- readRequestManager,
728
715
  resolveAgentReadServers,
729
716
  readAction
730
717
  };
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  patch,
9
9
  selectById
10
- } from "./chunk-UM4H3URE.js";
10
+ } from "./chunk-6YH4UR3E.js";
11
11
  import {
12
12
  __toESM
13
13
  } from "./chunk-4VNS5WPM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  trimTrailingSlash
3
- } from "./chunk-7YYHKBJP.js";
3
+ } from "./chunk-OQVRTSZ5.js";
4
4
  import {
5
5
  toErrorMessage
6
6
  } from "./chunk-HNMXYYJR.js";