nolo-cli 0.154.0-alpha.1 → 0.154.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 (163) hide show
  1. package/{_executeModel-SDGDBNX5.js → _executeModel-3HHZYHHB.js} +54 -54
  2. package/{accountResolver-7RYB4D2P.js → accountResolver-55EDKEIK.js} +1 -1
  3. package/{action-SXJD5N5R.js → action-GPPJC5TI.js} +5 -5
  4. package/{addContentAction-65ONHX2T.js → addContentAction-XJQEJ4XW.js} +8 -8
  5. package/{addDialogAgentAction-WOLK7RB4.js → addDialogAgentAction-5WZX5CAY.js} +7 -7
  6. package/{agentDeleteCommand-W2XXF27A.js → agentDeleteCommand-ON2KVSJ5.js} +74 -75
  7. package/{agentEmailCommands-MSFGRDUZ.js → agentEmailCommands-2QPD5VP3.js} +77 -78
  8. package/{agentListCommands-G36AMSBR.js → agentListCommands-L33M3I6V.js} +35 -35
  9. package/{agentMachineCommands-YVVPDIHJ.js → agentMachineCommands-V44DPSED.js} +34 -31
  10. package/{agentProviderCommands-X2HQE6HY.js → agentProviderCommands-CXBHNONN.js} +5 -5
  11. package/{agentPullCommand-FA43RBRU.js → agentPullCommand-GXXEDOSA.js} +4 -4
  12. package/{agentRecordCommands-7G3DDI4L.js → agentRecordCommands-CKILCNQZ.js} +71 -72
  13. package/{agentRunCommand-ET7LIY7J.js → agentRunCommand-6IN7NK7H.js} +74 -74
  14. package/{agentRunControl-2C5GM3BW.js → agentRunControl-XBSNHHZE.js} +7 -7
  15. package/{agentRuntimeLocal-Q7ZOMZC7.js → agentRuntimeLocal-XCKO5FVP.js} +20 -18
  16. package/{agentSlice-MK5JTSZR.js → agentSlice-YT3VCCEW.js} +8 -8
  17. package/{appDeleteCommands-MMWT54BR.js → appDeleteCommands-2PJFNLAJ.js} +30 -28
  18. package/{appDeployCommands-OIFXVDOF.js → appDeployCommands-AZCMCMK6.js} +30 -28
  19. package/{appDeployStatusCommands-OTXMSDFB.js → appDeployStatusCommands-HSIKPVJN.js} +30 -28
  20. package/{appGetCommands-JPY36ANL.js → appGetCommands-IUZCPAP7.js} +30 -28
  21. package/{appListCommands-IHJGN36O.js → appListCommands-JLFVS44M.js} +30 -28
  22. package/{authCommand-J3XILHWW.js → authCommand-3Z52KJID.js} +22 -302
  23. package/{authCommands-77CHYBGF.js → authCommands-QOCKVPX3.js} +5 -5
  24. package/{builtinSkillRegistry-A6VSPJEJ.js → builtinSkillRegistry-LJV7FHNI.js} +4 -4
  25. package/{chromeCommands-OBBNJCLS.js → chromeCommands-IY4NVSXZ.js} +17 -10
  26. package/{chunk-SW4S4XYB.js → chunk-2AB2HA4M.js} +84 -34
  27. package/{chunk-FDT27L7S.js → chunk-2XDQAWBM.js} +18 -16
  28. package/{chunk-UGN77YJU.js → chunk-2ZYCNT2O.js} +232 -76
  29. package/{chunk-QFEW2ULV.js → chunk-32ZKZET7.js} +1 -1
  30. package/{chunk-QRRFQFFU.js → chunk-3GTVM7NJ.js} +22 -22
  31. package/{chunk-XPWGOTBQ.js → chunk-3L2WKC3W.js} +1 -8
  32. package/{chunk-LGCICX53.js → chunk-3L5MSPWX.js} +1 -1
  33. package/{chunk-4YRTZIVN.js → chunk-43OFVLWJ.js} +6 -6
  34. package/{chunk-6TF64IF2.js → chunk-4L4K6YR7.js} +16 -2
  35. package/{chunk-P5QACQDK.js → chunk-62TBKWTV.js} +1 -1
  36. package/{chunk-TRW43TSC.js → chunk-6EQD4AQL.js} +41 -1
  37. package/{chunk-YLMMECCH.js → chunk-6XIE5ZGI.js} +1 -1
  38. package/{chunk-UUPR3TD7.js → chunk-7RF4O6AT.js} +1 -3
  39. package/{chunk-OGI4JKBD.js → chunk-BAWAKW7X.js} +2 -2
  40. package/{chunk-2GGXHQIW.js → chunk-BLVSFYQ3.js} +4 -2
  41. package/{chunk-A7HQF6YH.js → chunk-CDLP56BS.js} +9 -9
  42. package/{chunk-5MM7NNO6.js → chunk-CNWKLQRL.js} +8 -3
  43. package/{chunk-TJ2VPCBE.js → chunk-DD2EOI6S.js} +2 -2
  44. package/{chunk-36OMEXXR.js → chunk-DLV3H464.js} +8 -8
  45. package/{chunk-4WLENVCW.js → chunk-DT7EWFTY.js} +6 -6
  46. package/{chunk-C5DLHL3R.js → chunk-ESMZW5PE.js} +3 -3
  47. package/{chunk-FJRGRIVL.js → chunk-EVPKKBSI.js} +17 -16
  48. package/{chunk-PSJWPSKS.js → chunk-EWO77ZGF.js} +9 -43
  49. package/{chunk-ZWG3C7VI.js → chunk-F3SOW2EU.js} +81 -1
  50. package/{chunk-RGBBF2RB.js → chunk-F5WASHQA.js} +279 -138
  51. package/{chunk-GJRCYN5X.js → chunk-FB5WLEOD.js} +21 -17
  52. package/{chunk-HHC5FJHS.js → chunk-FCUKCVKN.js} +12 -8
  53. package/{chunk-FY4SDK2E.js → chunk-FDLDMJTM.js} +1 -1
  54. package/{chunk-EM3YOZJ4.js → chunk-FFHV45HO.js} +3 -3
  55. package/{chunk-SWZEIKWQ.js → chunk-FZYKQFBQ.js} +3 -3
  56. package/{chunk-7KYVUFDG.js → chunk-G3VYRPTV.js} +5 -267
  57. package/{chunk-6MJNEXUU.js → chunk-HGDKT2D6.js} +4 -0
  58. package/{chunk-LXTNZVD4.js → chunk-HW7EBEC5.js} +35 -207
  59. package/{chunk-B2EGWZJG.js → chunk-I7S63QUU.js} +1 -1
  60. package/{chunk-PDJ6ZODI.js → chunk-IF7V3CBU.js} +1 -1
  61. package/{chunk-T6CBQ6BN.js → chunk-INFHX73M.js} +1 -1
  62. package/{chunk-YBNHPX4S.js → chunk-IW64YHXL.js} +155 -31
  63. package/{chunk-N37ERV4O.js → chunk-JDKSYQQN.js} +5 -5
  64. package/{chunk-K43ZF2C3.js → chunk-JPPQ3GUO.js} +1 -1
  65. package/{chunk-PSYTZ4LK.js → chunk-JSB2OPQT.js} +134 -126
  66. package/{chunk-VEJFPTX7.js → chunk-JWEXJ573.js} +3 -3
  67. package/{chunk-ZG73GDYU.js → chunk-K25WQPP3.js} +253 -57
  68. package/{chunk-HKT6QXP3.js → chunk-KABQ74UQ.js} +5 -5
  69. package/{chunk-I2ZMGXXF.js → chunk-KFHREHUQ.js} +1 -1
  70. package/{chunk-3C2QLERX.js → chunk-KMDDG73K.js} +1 -1
  71. package/{chunk-AIZE5TDM.js → chunk-MAYW6V3E.js} +2 -2
  72. package/{chunk-IPAW7XLD.js → chunk-MFVOJ6KF.js} +2 -2
  73. package/{chunk-CBHGZRCE.js → chunk-MYOH447Z.js} +1 -1
  74. package/{chunk-TPG4CZHI.js → chunk-NHEWV5FD.js} +17 -3
  75. package/{chunk-G47IPDOK.js → chunk-O2IWR23M.js} +1 -1
  76. package/{chunk-OU7WCUB5.js → chunk-OLVOR45M.js} +2 -2
  77. package/{chunk-SUKSWFLP.js → chunk-PIG2IUVZ.js} +1 -1
  78. package/{chunk-SEJ5OS6F.js → chunk-PXYBUFDB.js} +4 -0
  79. package/{chunk-2MTE2PEH.js → chunk-QA2C5NKI.js} +5 -739
  80. package/{chunk-TYND6RDQ.js → chunk-QI2WVWXV.js} +73 -2
  81. package/{chunk-L6EQV5OC.js → chunk-QXZH5UDF.js} +3 -3
  82. package/{chunk-24UXUXPR.js → chunk-QZIOZDM6.js} +10 -10
  83. package/{chunk-C7M4N5RA.js → chunk-R2KWTENX.js} +3 -3
  84. package/{chunk-TNIX77YM.js → chunk-R5GO3YZP.js} +34 -1
  85. package/{chunk-UTIMX333.js → chunk-RIHQGFFA.js} +1 -1
  86. package/{chunk-4Z245KOA.js → chunk-SH3XD4E2.js} +8 -4
  87. package/{chunk-MM3662RS.js → chunk-SNAWGDXT.js} +263 -4
  88. package/{chunk-JGRPBIZZ.js → chunk-SQX235S2.js} +1 -1
  89. package/chunk-TT644UJD.js +188 -0
  90. package/{chunk-IYBIRCQV.js → chunk-U34KT53V.js} +29 -11
  91. package/{chunk-ANJTRG52.js → chunk-ULQAD7ZY.js} +18 -43
  92. package/{chunk-LOLOIIIP.js → chunk-UY73HNIN.js} +704 -663
  93. package/{chunk-I2RMFLLH.js → chunk-V7PCFWX3.js} +1 -1
  94. package/{chunk-KX6LPG7W.js → chunk-VXS4YYJ2.js} +8 -8
  95. package/{chunk-HXHSTRGH.js → chunk-VYNMQ6HW.js} +0 -27
  96. package/{chunk-IJERIUXS.js → chunk-WRCZXJ4N.js} +6 -3
  97. package/chunk-Y5GCAMGP.js +9 -0
  98. package/{chunk-JZX2XLKC.js → chunk-YCRROBDY.js} +1 -1
  99. package/{chunk-EYWJT7A2.js → chunk-YPG7TUQD.js} +3 -3
  100. package/chunk-YR47Y7CN.js +2685 -0
  101. package/{chunk-NEJZ5GLD.js → chunk-ZAV4YVEA.js} +18 -2
  102. package/{chunk-YANF2RR4.js → chunk-ZPKUJROL.js} +1 -1
  103. package/{chunk-WUR6LY7R.js → chunk-ZSLIYVIQ.js} +7 -7
  104. package/{commandRegistry-VSJPFX6B.js → commandRegistry-76FLRKYQ.js} +88 -96
  105. package/{contentThunks-65BTQQQE.js → contentThunks-QBL5NK2W.js} +21 -21
  106. package/{createAgentAutomationAction-SRMBZTAO.js → createAgentAutomationAction-5UWBLR2N.js} +21 -21
  107. package/{createDialogAction-OWAU72JP.js → createDialogAction-NJ2LE7KC.js} +25 -25
  108. package/{createPageAction-D4XGNX3P.js → createPageAction-7T3RINS2.js} +24 -25
  109. package/{dbSlice-S2HYXURM.js → dbSlice-6PVPY44C.js} +7 -7
  110. package/{deleteFile-6JWDDRVP.js → deleteFile-YM6NDPAR.js} +5 -5
  111. package/{dialogCommands-H3K7PTF6.js → dialogCommands-KMECTGCW.js} +34 -31
  112. package/{dialogSlice-GEBK3X5L.js → dialogSlice-GQMTD4HR.js} +20 -20
  113. package/{dist-NJC2W7I4.js → dist-Q2JSMAKA.js} +7 -361
  114. package/{docCreateCommands-KP64KMVL.js → docCreateCommands-4IT5PUAL.js} +31 -29
  115. package/{docDeleteCommands-C3F4SZSR.js → docDeleteCommands-QS66YNZV.js} +32 -30
  116. package/{docReadCommands-7H6BDOUR.js → docReadCommands-3SAI46YC.js} +31 -29
  117. package/{docStore-ARTZTJRA.js → docStore-PM5PYKPZ.js} +8 -8
  118. package/{docUpdateCommands-JDW4BRBH.js → docUpdateCommands-OGYG5BRC.js} +31 -29
  119. package/{getPricing-TX35D7PI.js → getPricing-XQ3N3RBP.js} +2 -2
  120. package/{handleSendMessageAction-SPGAO47U.js → handleSendMessageAction-EQ3U6K5N.js} +43 -39
  121. package/index.js +8 -8
  122. package/{localRuntimeAdapter-CHLHJSA3.js → localRuntimeAdapter-MO64KEOS.js} +69 -68
  123. package/{localRuntimeAuthority-JDAD7CB6.js → localRuntimeAuthority-BPN5OAQG.js} +2 -2
  124. package/{localRuntimeDb-CVC62PM5.js → localRuntimeDb-QIVAXMUL.js} +1 -1
  125. package/{machineCommands-GVFN64CM.js → machineCommands-7MBJJY4K.js} +79 -78
  126. package/{machineWsRunDispatch-3WXQ57DN.js → machineWsRunDispatch-T4LFRJL3.js} +69 -70
  127. package/{memberThunks-VPTET5M2.js → memberThunks-AZINUM4S.js} +10 -10
  128. package/package.json +6 -2
  129. package/{profileConfig-ZGOFORWV.js → profileConfig-KN3N2BLF.js} +7 -1
  130. package/{providerPresetApply-CRZFMQD5.js → providerPresetApply-PKUOHQJT.js} +5 -5
  131. package/{providerRegistry-7IS43D3X.js → providerRegistry-HNQLIFN2.js} +5 -5
  132. package/{read-VMMIHEAK.js → read-7JPIWRBQ.js} +5 -5
  133. package/{readDocTool-4XSLKYSQ.js → readDocTool-AAQTB2Y3.js} +1 -1
  134. package/{readlineWorkspace-2WGUU7KH.js → readlineWorkspace-WRV322AB.js} +374 -199
  135. package/{removeDialogAgentAction-YIV37ENV.js → removeDialogAgentAction-RMVRILLK.js} +9 -9
  136. package/{runAgentClientLoop-WS2HFGIR.js → runAgentClientLoop-EXIQDX7G.js} +58 -53
  137. package/{runtimeDoctorCommands-56NWKNON.js → runtimeDoctorCommands-MMCP4B4U.js} +12 -12
  138. package/{secretCommands-ZXZRLR3R.js → secretCommands-DNY56NSU.js} +11 -1
  139. package/{setDialogExtraReferencesAction-FWVD656I.js → setDialogExtraReferencesAction-L3V7JTMG.js} +8 -8
  140. package/{setPrimaryDialogAgentAction-HIPQTT6N.js → setPrimaryDialogAgentAction-X52JQGTJ.js} +9 -9
  141. package/settingThunks-N6XFWPOU.js +923 -0
  142. package/{spaceCommands-JQN7D4FE.js → spaceCommands-WQMUCGV7.js} +28 -26
  143. package/{streamAgentChatTurn-OSGLMHT6.js → streamAgentChatTurn-DI2334G3.js} +153 -94
  144. package/{switchDialogAgentAction-SLTPB635.js → switchDialogAgentAction-ZJ5CGU7J.js} +7 -7
  145. package/{tableCommands-U3QDY4L6.js → tableCommands-IVC5S7Y3.js} +11 -11
  146. package/{toolApiClient-7WSJJJBV.js → toolApiClient-HGNO53TC.js} +2 -2
  147. package/{tools-XF5A6N2B.js → tools-23VQGJOX.js} +42 -43
  148. package/{tuiSummaryLlmCaller-KLK6K3Q3.js → tuiSummaryLlmCaller-FESHBDTT.js} +7 -7
  149. package/{updateCommands-NQXAGFM7.js → updateCommands-FJHGWD3Q.js} +5 -3
  150. package/{updateDialogTitleAction-IN5TBR23.js → updateDialogTitleAction-AGAYHWS7.js} +21 -21
  151. package/{workloadLifecycle-36DXRZKU.js → workloadLifecycle-6O6PMISX.js} +2 -2
  152. package/chunk-IA7TRNNR.js +0 -11
  153. package/chunk-ON3WLDG2.js +0 -7012
  154. package/chunk-UKZX3NHN.js +0 -48
  155. package/chunk-W4S6OTSC.js +0 -35
  156. package/clipboardy-GCO3GT3I.js +0 -11793
  157. package/settingThunks-SB37UY4C.js +0 -1371
  158. package/{agentGrantCommands-HOJ3JBBQ.js → agentGrantCommands-5DPHYEKP.js} +3 -3
  159. package/{chromeOpsCommands-3Z34RKSE.js → chromeOpsCommands-GZVVK7HU.js} +4 -4
  160. package/{chunk-XETG4RIX.js → chunk-AETZ7AD6.js} +4 -4
  161. package/{chunk-2IXDJNZI.js → chunk-GAGGEA7D.js} +3 -3
  162. package/{memoryCommands-CUNBFRVS.js → memoryCommands-ZS3VQJAL.js} +3 -3
  163. package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-3GLX4QQY.js} +3 -3
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildStaticUserPolicyContext,
3
3
  resolveSpaceContextPreloadPlan
4
- } from "./chunk-T6CBQ6BN.js";
4
+ } from "./chunk-INFHX73M.js";
5
5
  import {
6
6
  fetchReferenceContents,
7
7
  mergeReferences,
8
8
  resolveReferenceAssets,
9
9
  resolveToolsFromKeys
10
- } from "./chunk-24UXUXPR.js";
10
+ } from "./chunk-QZIOZDM6.js";
11
11
  import {
12
12
  UI_CARD_ENVELOPE_MAX_BYTES,
13
13
  getAllToolRuns,
@@ -20,27 +20,27 @@ import {
20
20
  selectSpaceContextLevel,
21
21
  selectUserTonePreset,
22
22
  uiCardFallback
23
- } from "./chunk-HHC5FJHS.js";
23
+ } from "./chunk-FCUKCVKN.js";
24
24
  import {
25
25
  resolveToolBaseUrl
26
- } from "./chunk-CBHGZRCE.js";
26
+ } from "./chunk-MYOH447Z.js";
27
27
  import {
28
28
  getFinalPrice,
29
29
  getModelPricing,
30
30
  getPrices,
31
31
  hasExplicitAgentPricing
32
- } from "./chunk-YANF2RR4.js";
32
+ } from "./chunk-ZPKUJROL.js";
33
33
  import {
34
34
  getDocState
35
- } from "./chunk-C7M4N5RA.js";
35
+ } from "./chunk-R2KWTENX.js";
36
36
  import {
37
37
  getTableState
38
- } from "./chunk-ON3WLDG2.js";
38
+ } from "./chunk-YR47Y7CN.js";
39
39
  import {
40
40
  PERSONALIZATION_DIALOG_CATEGORY,
41
41
  buildPersonalizationDialogPolicyContext,
42
42
  selectAllMsgs
43
- } from "./chunk-RGBBF2RB.js";
43
+ } from "./chunk-F5WASHQA.js";
44
44
  import {
45
45
  getCurrentSpaceIdRaw,
46
46
  getViewMode
@@ -51,12 +51,12 @@ import {
51
51
  import {
52
52
  read,
53
53
  selectById
54
- } from "./chunk-A7HQF6YH.js";
54
+ } from "./chunk-CDLP56BS.js";
55
55
  import {
56
56
  getSessionSnapshotForState,
57
57
  selectIdentityUserBalance,
58
58
  selectIdentityUserId
59
- } from "./chunk-SEJ5OS6F.js";
59
+ } from "./chunk-PXYBUFDB.js";
60
60
  import {
61
61
  TOOL_PACKS,
62
62
  addDefaultSystemCapabilityTools,
@@ -66,27 +66,31 @@ import {
66
66
  expandEnabledPackPromptPatches,
67
67
  expandEnabledPacks,
68
68
  resolveEffectiveEnabledPacks
69
- } from "./chunk-JZX2XLKC.js";
69
+ } from "./chunk-YCRROBDY.js";
70
70
  import {
71
71
  projectToolMessageContent
72
- } from "./chunk-IYBIRCQV.js";
72
+ } from "./chunk-U34KT53V.js";
73
73
  import {
74
74
  attachmentKind,
75
75
  normalizeAttachmentPart
76
76
  } from "./chunk-WJZOQR2J.js";
77
77
  import {
78
78
  extractReferenceKeysFromMessage
79
- } from "./chunk-ZWG3C7VI.js";
79
+ } from "./chunk-F3SOW2EU.js";
80
80
  import {
81
81
  getModelContextWindow,
82
82
  planContextUsage
83
- } from "./chunk-2MTE2PEH.js";
83
+ } from "./chunk-QA2C5NKI.js";
84
84
  import {
85
85
  asRecordOrEmpty
86
86
  } from "./chunk-KX6YBIHG.js";
87
87
  import {
88
88
  isAbortError
89
89
  } from "./chunk-7DPNBQSV.js";
90
+ import {
91
+ buildLinkedSpacesSection,
92
+ buildSpaceContextLayer
93
+ } from "./chunk-VEA7H5FG.js";
90
94
  import {
91
95
  canonicalizeToolNames,
92
96
  prioritizeToolNames
@@ -100,16 +104,16 @@ import {
100
104
  import {
101
105
  asNonEmptyStringArray
102
106
  } from "./chunk-I42VC5KR.js";
103
- import {
104
- asOptionalFiniteNumber
105
- } from "./chunk-WWC7I6TA.js";
106
107
  import {
107
108
  estimateTokenCount
108
109
  } from "./chunk-PSCNXBYA.js";
110
+ import {
111
+ asOptionalFiniteNumber
112
+ } from "./chunk-WWC7I6TA.js";
109
113
  import {
110
114
  getModelConfig,
111
115
  getProviderByModelName
112
- } from "./chunk-TRW43TSC.js";
116
+ } from "./chunk-6EQD4AQL.js";
113
117
  import {
114
118
  isRecord
115
119
  } from "./chunk-KUG52IAP.js";
@@ -119,10 +123,6 @@ import {
119
123
  import {
120
124
  asOptionalTrimmedString
121
125
  } from "./chunk-G3SUCT4W.js";
122
- import {
123
- buildLinkedSpacesSection,
124
- buildSpaceContextLayer
125
- } from "./chunk-VEA7H5FG.js";
126
126
 
127
127
  // packages/ai/agent/foregroundTurnAdmissionFetch.ts
128
128
  var FOREGROUND_TURN_KEEPALIVE_MAX_BODY_BYTES = 60 * 1024;
@@ -24,12 +24,6 @@ async function isDrainExhaustedResponse(response) {
24
24
  }
25
25
  }
26
26
 
27
- // packages/core/positiveFiniteNumberOrFallback.ts
28
- function parsePositiveFiniteNumberOrFallback(value, fallback) {
29
- const parsed = Number(value);
30
- return Number.isFinite(parsed) && parsed > 0 ? parsed : fallback;
31
- }
32
-
33
27
  // packages/core/retryAfterMs.ts
34
28
  function normalizeNonNegativeMs(value, fallbackMs) {
35
29
  const parsed = Number(value);
@@ -57,6 +51,5 @@ export {
57
51
  createDrainExhaustedResponse,
58
52
  isDrainExhaustedResponse,
59
53
  normalizeNonNegativeMs,
60
- parseRetryAfterHeaderMs,
61
- parsePositiveFiniteNumberOrFallback
54
+ parseRetryAfterHeaderMs
62
55
  };
@@ -206,7 +206,7 @@ async function readDocFunc(args, thunkApi) {
206
206
  throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
207
207
  }
208
208
  try {
209
- const { readAction } = await import("./read-VMMIHEAK.js");
209
+ const { readAction } = await import("./read-7JPIWRBQ.js");
210
210
  const pageData = await readAction({ dbKey: id }, thunkApi);
211
211
  if (!pageData) {
212
212
  throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
@@ -8,7 +8,7 @@ import {
8
8
  noloUploadRequest,
9
9
  noloWriteRequest,
10
10
  syncWithServers
11
- } from "./chunk-IJERIUXS.js";
11
+ } from "./chunk-WRCZXJ4N.js";
12
12
  import {
13
13
  getAllServers,
14
14
  getIsDesktopApp
@@ -17,20 +17,20 @@ import {
17
17
  selectIdentityToken,
18
18
  selectIdentityUser,
19
19
  selectIdentityUserId
20
- } from "./chunk-SEJ5OS6F.js";
20
+ } from "./chunk-PXYBUFDB.js";
21
21
  import {
22
22
  asOptionalPositiveFiniteNumber
23
23
  } from "./chunk-U6VC4MU4.js";
24
+ import {
25
+ SERVERS,
26
+ normalizeKnownServerOrigin
27
+ } from "./chunk-LCBAMY2M.js";
24
28
  import {
25
29
  isRecord
26
30
  } from "./chunk-KUG52IAP.js";
27
31
  import {
28
32
  asTrimmedString
29
33
  } from "./chunk-3EUW3WEO.js";
30
- import {
31
- SERVERS,
32
- normalizeKnownServerOrigin
33
- } from "./chunk-LCBAMY2M.js";
34
34
  import {
35
35
  isLocalServerUrl
36
36
  } from "./chunk-4SN6J65J.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getModelContextWindow
3
- } from "./chunk-2MTE2PEH.js";
3
+ } from "./chunk-QA2C5NKI.js";
4
4
  import {
5
5
  isRecord
6
6
  } from "./chunk-KUG52IAP.js";
@@ -854,6 +854,8 @@ var STREAM_USAGE_PROVIDERS = /* @__PURE__ */ new Set([
854
854
  // kimi-code CLI also sends include_usage). Custom agents pointing at the
855
855
  // same endpoint are covered by the endpoint check below, not here.
856
856
  "kimi-code",
857
+ // MiniMax 官方 API(api.minimaxi.com):OpenAI 兼容流式端点,支持 stream_options.include_usage。
858
+ "minimax",
857
859
  // OpenDesign (open-design.ai) and OpenCode Go (opencode.ai): OpenAI-compatible
858
860
  // aggregation / subscription endpoints. Verified to emit terminal usage with
859
861
  // prompt_tokens_details.cached_tokens.
@@ -862,10 +864,22 @@ var STREAM_USAGE_PROVIDERS = /* @__PURE__ */ new Set([
862
864
  "opencode-go"
863
865
  ]);
864
866
  var KIMI_CODE_ENDPOINT_MARKER = "api.kimi.com";
867
+ function extractHostname(endpoint) {
868
+ try {
869
+ const raw = endpoint.includes("://") ? endpoint : `https://${endpoint}`;
870
+ return new URL(raw).hostname.toLowerCase();
871
+ } catch {
872
+ return null;
873
+ }
874
+ }
875
+ var isMiniMaxEndpoint = (endpoint) => {
876
+ const host = extractHostname(endpoint);
877
+ return host === "api.minimaxi.com" || host === "api.minimax.chat";
878
+ };
865
879
  var isSupportedCustomEndpoint = (endpoint) => {
866
880
  if (typeof endpoint !== "string") return false;
867
881
  const ep = endpoint.toLowerCase();
868
- return ep.includes(KIMI_CODE_ENDPOINT_MARKER) || ep.includes("open-design.ai") || ep.includes("opencode.ai") || isOllamaEndpoint(endpoint);
882
+ return isMiniMaxEndpoint(endpoint) || ep.includes(KIMI_CODE_ENDPOINT_MARKER) || ep.includes("open-design.ai") || ep.includes("opencode.ai") || isOllamaEndpoint(endpoint);
869
883
  };
870
884
  var EXTRA_USAGE_FIELD_PROVIDERS = /* @__PURE__ */ new Set(["openrouter"]);
871
885
  var normalizeProviderName = (providerName) => asTrimmedLowercaseString(providerName);
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // packages/cli/agentCommandSupport.ts
6
6
  async function getDefaultCliDb() {
7
- const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-CVC62PM5.js");
7
+ const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-QIVAXMUL.js");
8
8
  return getDefaultCliLocalRuntimeDb();
9
9
  }
10
10
  function createNullCliDb() {
@@ -575,6 +575,44 @@ var stepfunStepPlanModels = [
575
575
  }
576
576
  ];
577
577
 
578
+ // packages/integrations/minimax/models.ts
579
+ var minimaxModels = [
580
+ {
581
+ name: "MiniMax-M3.1-Flash",
582
+ displayName: "MiniMax M3.1 Flash",
583
+ hasVision: true,
584
+ contextWindow: 1e6,
585
+ maxOutputTokens: 8192,
586
+ jsonOutput: true,
587
+ fnCall: true,
588
+ supportsTool: true,
589
+ price: {
590
+ input: toCnyCredits(1),
591
+ output: toCnyCredits(4),
592
+ inputCacheHit: toCnyCredits(0.1)
593
+ },
594
+ provider: "minimax",
595
+ description: "MiniMax \u65B0\u4E00\u4EE3 Flash \u65D7\u8230\u6A21\u578B\uFF0C1M \u4E0A\u4E0B\u6587\uFF0C\u539F\u751F\u591A\u6A21\u6001\u89C6\u89C9\u7406\u89E3\uFF0C\u9488\u5BF9 Agent\u3001\u4EE3\u7801\u4E0E\u5DE5\u5177\u8C03\u7528\u6DF1\u5EA6\u4F18\u5316\u3002"
596
+ },
597
+ {
598
+ name: "MiniMax-M3",
599
+ displayName: "MiniMax M3",
600
+ hasVision: true,
601
+ contextWindow: 1e6,
602
+ maxOutputTokens: 8192,
603
+ jsonOutput: true,
604
+ fnCall: true,
605
+ supportsTool: true,
606
+ price: {
607
+ input: toCnyCredits(2.1),
608
+ output: toCnyCredits(8.4),
609
+ inputCacheHit: toCnyCredits(0.42)
610
+ },
611
+ provider: "minimax",
612
+ description: "MiniMax M3 \u65D7\u8230\u591A\u6A21\u6001\u63A8\u7406\u6A21\u578B\uFF0C1M \u4E0A\u4E0B\u6587\uFF0C\u652F\u6301\u6587\u672C\u4E0E\u89C6\u89C9\u7406\u89E3\u3001\u5DE5\u5177\u8C03\u7528\u3002"
613
+ }
614
+ ];
615
+
578
616
  // packages/integrations/commandcode/models.ts
579
617
  var commandCodeModels = [
580
618
  // ── DeepSeek ──
@@ -3297,7 +3335,8 @@ var MODEL_MAP = {
3297
3335
  zai: zaiModels,
3298
3336
  qwen: qwenAllModels,
3299
3337
  moonshot: moonshotAllModels,
3300
- stepfun: stepfunAllModels
3338
+ stepfun: stepfunAllModels,
3339
+ minimax: minimaxModels
3301
3340
  };
3302
3341
  var MODEL_LOOKUP_MAP = {
3303
3342
  anthropic: [...anthropicModels, ...anthropicOAuthModels],
@@ -3539,6 +3578,7 @@ export {
3539
3578
  kimiCodeModels,
3540
3579
  stepfunModels,
3541
3580
  stepfunStepPlanModels,
3581
+ minimaxModels,
3542
3582
  commandCodeModels,
3543
3583
  opencodeGoModels,
3544
3584
  DEFAULT_REASONING_EFFORT,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildSkillDocMarkdown
3
- } from "./chunk-XETG4RIX.js";
3
+ } from "./chunk-AETZ7AD6.js";
4
4
 
5
5
  // packages/cli/docPageHelpers.ts
6
6
  import { readFileSync } from "node:fs";
@@ -10,9 +10,7 @@ var OAUTH_PROVIDER_REFS = [
10
10
  "antigravity",
11
11
  "claude",
12
12
  "cursor",
13
- "devin",
14
- "workbuddy",
15
- "workbuddy-ai"
13
+ "devin"
16
14
  ];
17
15
  var METERED_API_KEY_REF_PREFIX = "api-key:";
18
16
  var normalizeRef = (ref) => typeof ref === "string" ? ref.trim().toLowerCase() : "";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-UAD2WT54.js";
8
8
  import {
9
9
  toTimestampMs
10
- } from "./chunk-A7HQF6YH.js";
10
+ } from "./chunk-CDLP56BS.js";
11
11
  import {
12
12
  fetchFromServer,
13
13
  getAllServers
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  selectIdentityToken,
17
17
  selectIdentityUserId
18
- } from "./chunk-SEJ5OS6F.js";
18
+ } from "./chunk-PXYBUFDB.js";
19
19
  import {
20
20
  isTombstoneRecord
21
21
  } from "./chunk-D2MDMY2M.js";
@@ -1,11 +1,13 @@
1
+ import {
2
+ parsePositiveFiniteNumberOrFallback
3
+ } from "./chunk-Y5GCAMGP.js";
1
4
  import {
2
5
  isGatewayHttpStatus
3
6
  } from "./chunk-NF64D32W.js";
4
7
  import {
5
8
  CORE_DRAIN_REASON,
6
- parsePositiveFiniteNumberOrFallback,
7
9
  parseRetryAfterHeaderMs
8
- } from "./chunk-XPWGOTBQ.js";
10
+ } from "./chunk-3L2WKC3W.js";
9
11
  import {
10
12
  asTrimmedLowercaseString
11
13
  } from "./chunk-QSJ3HFEF.js";
@@ -6,12 +6,12 @@ import {
6
6
  readAction,
7
7
  readRequestManager,
8
8
  resolveAgentReadServers
9
- } from "./chunk-TPG4CZHI.js";
9
+ } from "./chunk-NHEWV5FD.js";
10
10
  import {
11
11
  loadFileFromIndexedDb,
12
12
  removeAction,
13
13
  saveFileToIndexedDb
14
- } from "./chunk-AIZE5TDM.js";
14
+ } from "./chunk-MAYW6V3E.js";
15
15
  import {
16
16
  beginWriteAck,
17
17
  compareRemoteRecordsByComparableTime,
@@ -28,13 +28,13 @@ import {
28
28
  shouldReplaceLocalWithRemoteRecord,
29
29
  shouldReplicateLocalRecord,
30
30
  uploadToCurrentServer
31
- } from "./chunk-4YRTZIVN.js";
31
+ } from "./chunk-43OFVLWJ.js";
32
32
  import {
33
33
  asyncThunkCreator,
34
34
  buildCreateSlice,
35
35
  createEntityAdapter,
36
36
  noloDeleteRequest
37
- } from "./chunk-IJERIUXS.js";
37
+ } from "./chunk-WRCZXJ4N.js";
38
38
  import {
39
39
  fetchFromClientDb,
40
40
  fetchFromServer,
@@ -49,12 +49,12 @@ import {
49
49
  getFileIdFromKey,
50
50
  ulid
51
51
  } from "./chunk-5EMSBTQ6.js";
52
- import {
53
- isRecord
54
- } from "./chunk-KUG52IAP.js";
55
52
  import {
56
53
  API_ENDPOINTS
57
54
  } from "./chunk-LCBAMY2M.js";
55
+ import {
56
+ isRecord
57
+ } from "./chunk-KUG52IAP.js";
58
58
 
59
59
  // packages/database/actions/readAndWait.ts
60
60
  var hashTokenScope = (currentToken) => {
@@ -706,7 +706,7 @@ var dbSlice = createSliceWithThunks({
706
706
  // 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
707
707
  read: create.asyncThunk(
708
708
  async (payload, thunkApi) => {
709
- const { readAction: readAction2 } = await import("./read-VMMIHEAK.js");
709
+ const { readAction: readAction2 } = await import("./read-7JPIWRBQ.js");
710
710
  return readAction2(payload, thunkApi);
711
711
  },
712
712
  {
@@ -780,7 +780,7 @@ var dbSlice = createSliceWithThunks({
780
780
  // 这里改成动态 import,运行期才解析,彻底断开这条边。
781
781
  share: create.asyncThunk(
782
782
  async (config, thunkApi) => {
783
- const { shareResourceAction } = await import("./action-SXJD5N5R.js");
783
+ const { shareResourceAction } = await import("./action-GPPJC5TI.js");
784
784
  return shareResourceAction(config, thunkApi);
785
785
  }
786
786
  ),
@@ -1,6 +1,3 @@
1
- import {
2
- escapeStringRegexp
3
- } from "./chunk-IA7TRNNR.js";
4
1
  import {
5
2
  asTrimmedString
6
3
  } from "./chunk-3EUW3WEO.js";
@@ -7141,6 +7138,14 @@ function ccount(value, character) {
7141
7138
  function ok() {
7142
7139
  }
7143
7140
 
7141
+ // node_modules/escape-string-regexp/index.js
7142
+ function escapeStringRegexp(string3) {
7143
+ if (typeof string3 !== "string") {
7144
+ throw new TypeError("Expected a string");
7145
+ }
7146
+ return string3.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
7147
+ }
7148
+
7144
7149
  // node_modules/unist-util-is/lib/index.js
7145
7150
  var convert = (
7146
7151
  // Note: overloads in JSDoc can’t yet use different `@template`s.
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-UTIMX333.js";
3
+ } from "./chunk-RIHQGFFA.js";
4
4
  import {
5
5
  t
6
- } from "./chunk-SW4S4XYB.js";
6
+ } from "./chunk-2AB2HA4M.js";
7
7
  import {
8
8
  resolveServerUrl
9
9
  } from "./chunk-A7GB5UGH.js";
@@ -14,21 +14,15 @@ import {
14
14
  import {
15
15
  asTrimmedNonEmptyStringArray
16
16
  } from "./chunk-I42VC5KR.js";
17
- import {
18
- asTrimmedString
19
- } from "./chunk-3EUW3WEO.js";
20
17
  import {
21
18
  getDefaultCliLocalRuntimeDb
22
- } from "./chunk-FY4SDK2E.js";
19
+ } from "./chunk-FDLDMJTM.js";
23
20
  import {
24
21
  resolveAuthTokenFromEnv
25
22
  } from "./chunk-A7GB5UGH.js";
26
23
  import {
27
24
  DEFAULT_NOLO_SERVER_URL
28
25
  } from "./chunk-OLZBQWZU.js";
29
- import {
30
- normalizeServerOrigin
31
- } from "./chunk-CF7PE763.js";
32
26
  import {
33
27
  buildCliRuntimeEnv,
34
28
  clearProfileAuthToken,
@@ -37,7 +31,13 @@ import {
37
31
  getProfileTokens,
38
32
  loadProfileConfig,
39
33
  saveDefaultProfile
40
- } from "./chunk-TNIX77YM.js";
34
+ } from "./chunk-R5GO3YZP.js";
35
+ import {
36
+ asTrimmedString
37
+ } from "./chunk-3EUW3WEO.js";
38
+ import {
39
+ normalizeServerOrigin
40
+ } from "./chunk-CF7PE763.js";
41
41
 
42
42
  // packages/cli/authCommands.ts
43
43
  import { createInterface } from "node:readline/promises";
@@ -2,14 +2,14 @@ import {
2
2
  patch,
3
3
  remove,
4
4
  write
5
- } from "./chunk-A7HQF6YH.js";
5
+ } from "./chunk-CDLP56BS.js";
6
6
  import {
7
7
  getRuntimeServerContext
8
- } from "./chunk-4YRTZIVN.js";
8
+ } from "./chunk-43OFVLWJ.js";
9
9
  import {
10
10
  asyncThunkCreator,
11
11
  buildCreateSlice
12
- } from "./chunk-IJERIUXS.js";
12
+ } from "./chunk-WRCZXJ4N.js";
13
13
  import {
14
14
  applyAgentSecretMigrationUpdates,
15
15
  migrateAgentSecrets,
@@ -308,7 +308,7 @@ var slice = createSliceWithThunks({
308
308
  const overrides = {};
309
309
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
310
310
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
311
- const { _executeModel } = await import("./_executeModel-SDGDBNX5.js");
311
+ const { _executeModel } = await import("./_executeModel-3HHZYHHB.js");
312
312
  return _executeModel(
313
313
  {
314
314
  isStreaming: args.isStreaming ?? false,
@@ -329,7 +329,7 @@ var slice = createSliceWithThunks({
329
329
  * - 循环直到无工具调用或触发其他运行时停止条件
330
330
  */
331
331
  runAgent: create.asyncThunk(async (args, thunkApi) => {
332
- const { runAgentClientLoop } = await import("./runAgentClientLoop-WS2HFGIR.js");
332
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-EXIQDX7G.js");
333
333
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
334
334
  {
335
335
  agentKey: args.agentKey,
@@ -345,7 +345,7 @@ var slice = createSliceWithThunks({
345
345
  * 聊天轮次流式 Agent 调用
346
346
  */
347
347
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
348
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-OSGLMHT6.js");
348
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-DI2334G3.js");
349
349
  return streamAgentChatTurnHandler(args, thunkApi);
350
350
  }),
351
351
  /**
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  selectCurrentServer
3
- } from "./chunk-QFEW2ULV.js";
3
+ } from "./chunk-32ZKZET7.js";
4
4
  import {
5
5
  patch
6
- } from "./chunk-A7HQF6YH.js";
6
+ } from "./chunk-CDLP56BS.js";
7
7
  import {
8
8
  getIsDesktopApp
9
9
  } from "./chunk-6Q7UTJKR.js";
10
10
  import {
11
11
  selectIdentityToken
12
- } from "./chunk-SEJ5OS6F.js";
12
+ } from "./chunk-PXYBUFDB.js";
13
13
 
14
14
  // packages/ai/agent/cliChatClient.ts
15
15
  function getCliChatRequestConfig(thunkApi) {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-LOLOIIIP.js";
4
+ } from "./chunk-UY73HNIN.js";
5
5
  import {
6
6
  t
7
- } from "./chunk-SW4S4XYB.js";
7
+ } from "./chunk-2AB2HA4M.js";
8
8
  import {
9
9
  clipMultilineText
10
- } from "./chunk-HHC5FJHS.js";
10
+ } from "./chunk-FCUKCVKN.js";
11
11
  import {
12
12
  runLocalAgentTurn
13
- } from "./chunk-ZG73GDYU.js";
13
+ } from "./chunk-K25WQPP3.js";
14
14
  import {
15
15
  applyToolSurfaceConstraints
16
16
  } from "./chunk-QLQ573SU.js";
@@ -29,6 +29,16 @@ import {
29
29
  import {
30
30
  asOptionalPositiveFiniteNumber
31
31
  } from "./chunk-U6VC4MU4.js";
32
+ import {
33
+ parseUserIdFromAuthToken
34
+ } from "./chunk-A7GB5UGH.js";
35
+ import {
36
+ DEFAULT_NOLO_SERVER_URL
37
+ } from "./chunk-OLZBQWZU.js";
38
+ import {
39
+ readPipeText,
40
+ spawnProcess
41
+ } from "./chunk-Y6ROFCZO.js";
32
42
  import {
33
43
  isRecord
34
44
  } from "./chunk-KUG52IAP.js";
@@ -38,19 +48,9 @@ import {
38
48
  import {
39
49
  toErrorMessage
40
50
  } from "./chunk-HNMXYYJR.js";
41
- import {
42
- parseUserIdFromAuthToken
43
- } from "./chunk-A7GB5UGH.js";
44
- import {
45
- DEFAULT_NOLO_SERVER_URL
46
- } from "./chunk-OLZBQWZU.js";
47
51
  import {
48
52
  asOptionalTrimmedString
49
53
  } from "./chunk-G3SUCT4W.js";
50
- import {
51
- readPipeText,
52
- spawnProcess
53
- } from "./chunk-Y6ROFCZO.js";
54
54
 
55
55
  // packages/ai/agent/machineRunPermissions.ts
56
56
  var DEFAULT_POLICY = {
@@ -672,8 +672,9 @@ ${Date.now()}
672
672
  async function runOracleGenerateImage(args) {
673
673
  const proc = args.spawn({
674
674
  cmd: [
675
- "npx",
676
- "-y",
675
+ "bun",
676
+ "x",
677
+ "--bun",
677
678
  "@steipete/oracle",
678
679
  "--engine",
679
680
  "browser",