nolo-cli 0.70.0-alpha.1 → 0.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/{_executeModel-GOV2OHC7.js → _executeModel-YXI7ADJF.js} +32 -32
  2. package/{action-D22U6CTH.js → action-AOORTHTU.js} +4 -4
  3. package/{addContentAction-XAPUTGL4.js → addContentAction-E3S6F3IS.js} +3 -3
  4. package/{addDialogAgentAction-M7VLLBZM.js → addDialogAgentAction-EUBNJ5SS.js} +2 -2
  5. package/{agentDeleteCommand-FSIMTL4K.js → agentDeleteCommand-B5SKAPTR.js} +16 -16
  6. package/{agentEmailCommands-YZQ2VVHY.js → agentEmailCommands-LVUZQHBF.js} +37 -37
  7. package/{agentListCommands-2YWZYH52.js → agentListCommands-D2E7SFRQ.js} +18 -18
  8. package/{agentMachineCommands-UCYM5RRQ.js → agentMachineCommands-XNIBG4L2.js} +17 -17
  9. package/{agentRecordCommands-TPBYOPMA.js → agentRecordCommands-ID3URU2J.js} +36 -36
  10. package/{agentRunCommand-HBC2EQVU.js → agentRunCommand-KZMPUI53.js} +36 -36
  11. package/{agentRuntimeLocal-O6DZDTK4.js → agentRuntimeLocal-T47DU3IA.js} +16 -16
  12. package/{agentSlice-ZPODGT3P.js → agentSlice-K5IE7FV3.js} +3 -3
  13. package/{appDeleteCommands-HIJNWSK7.js → appDeleteCommands-URD2F5YN.js} +16 -16
  14. package/{appDeployCommands-XULV2ZN6.js → appDeployCommands-OACWEEWP.js} +16 -16
  15. package/{appDeployStatusCommands-ETY4Z7K6.js → appDeployStatusCommands-TVYLIUEU.js} +16 -16
  16. package/{appGetCommands-M253LKDA.js → appGetCommands-ZWG2YEAE.js} +16 -16
  17. package/{appListCommands-XYFXJMNP.js → appListCommands-E3BMSQEY.js} +16 -16
  18. package/{authCommand-EVGFLAHO.js → authCommand-QHMBXOOH.js} +7 -7
  19. package/{chatQueueReduxAdapter-Z67OC4WO.js → chatQueueReduxAdapter-HL5A3L2W.js} +13 -13
  20. package/{chunk-BLCUMZNV.js → chunk-2L7EUBRN.js} +4 -4
  21. package/{chunk-DSRXPQWA.js → chunk-2XENHR3P.js} +4 -4
  22. package/{chunk-PWGW5JTK.js → chunk-36G25COQ.js} +1 -1
  23. package/{chunk-E36HZARC.js → chunk-3E67YXGD.js} +2 -2
  24. package/{chunk-F657NADX.js → chunk-4ENGEYUY.js} +4 -4
  25. package/{chunk-YFADVSZE.js → chunk-4K6DB3GJ.js} +3 -3
  26. package/{chunk-5J7W2VWW.js → chunk-4MKPBCTN.js} +3 -2
  27. package/{chunk-UDQWGU7F.js → chunk-5TJQUZQ7.js} +1 -1
  28. package/{chunk-AJHEFRGJ.js → chunk-5YIL5WDC.js} +71 -220
  29. package/{chunk-NG4UT4K4.js → chunk-6IT5ECCC.js} +1 -1
  30. package/{chunk-FCCT2LU2.js → chunk-6RNOFHEM.js} +28 -116
  31. package/{chunk-BJCWNHVU.js → chunk-76JAMDUT.js} +2 -2
  32. package/{chunk-4EJ5QYB5.js → chunk-7JS3F5ZR.js} +1 -1
  33. package/{chunk-MYU3MJCF.js → chunk-AJF6YRN7.js} +1 -5
  34. package/{chunk-GBPZKFYK.js → chunk-BNATE77Z.js} +1 -1
  35. package/{chunk-ZIUMSKK4.js → chunk-C2SHPJSS.js} +38 -28
  36. package/{chunk-ZZCJUXUI.js → chunk-IM5EETJX.js} +1 -1
  37. package/{chunk-3U3EA3BO.js → chunk-IOZR6BLM.js} +1 -1
  38. package/{chunk-RFMPSCHX.js → chunk-JKAWV72Y.js} +14 -14
  39. package/{chunk-PZM3EENV.js → chunk-K647EQV3.js} +1 -1
  40. package/{chunk-ZLPA7K55.js → chunk-KRR3AG7T.js} +3 -3
  41. package/{chunk-NUTDASGX.js → chunk-LMEH4C4G.js} +3 -3
  42. package/{chunk-YYLLD6H6.js → chunk-O2X6R45W.js} +3 -3
  43. package/{chunk-3NVAU4WZ.js → chunk-OMHOVU2L.js} +1 -1
  44. package/{chunk-XWNRAIUL.js → chunk-OPNHMILE.js} +2 -2
  45. package/{chunk-DQAEUZSQ.js → chunk-PADUIVUU.js} +3 -3
  46. package/{chunk-3QPYFHAH.js → chunk-RJ5HQDHL.js} +1 -1
  47. package/{chunk-PYXL2CJL.js → chunk-RSDPPLSM.js} +1 -1
  48. package/{chunk-3IT2PFHL.js → chunk-RW76G3YN.js} +1 -1
  49. package/{chunk-CJ23A7U4.js → chunk-RXYIUZU5.js} +9 -9
  50. package/{chunk-EXMHJN7C.js → chunk-SHPRRU2W.js} +2 -2
  51. package/{chunk-VLX45P4L.js → chunk-SKWZFK56.js} +5 -5
  52. package/{chunk-K7AG465Q.js → chunk-SQDGTW2T.js} +4 -2
  53. package/{chunk-UJ63UXGE.js → chunk-TQC77XVE.js} +1 -1
  54. package/{chunk-FPTQQSS6.js → chunk-UFTOGLCE.js} +1 -1
  55. package/{chunk-TVDZABBT.js → chunk-V3B6FQKC.js} +13 -13
  56. package/{chunk-CMH2SYHX.js → chunk-VLQRD7ZJ.js} +2 -2
  57. package/{chunk-AAWBX67U.js → chunk-VOEOMLKR.js} +9 -9
  58. package/{chunk-SZLVDREM.js → chunk-WMRPXIZY.js} +1 -1
  59. package/{chunk-PUOC4YRO.js → chunk-XTJTN3RW.js} +4 -0
  60. package/{chunk-KIS76A2P.js → chunk-Y7PULBIA.js} +1 -1
  61. package/{chunk-SPQ7GSUX.js → chunk-Z3XXUE2E.js} +17 -17
  62. package/{chunk-HXAINXPQ.js → chunk-ZCVO2HLZ.js} +4 -4
  63. package/{chunk-PGSKWZCB.js → chunk-ZW22L5ES.js} +1 -1
  64. package/{codingSkills-E6KSDNSJ.js → codingSkills-DB4QPUND.js} +2 -2
  65. package/{contentThunks-VGXYTSKU.js → contentThunks-XV3U3V2O.js} +14 -14
  66. package/{createAgentAutomationAction-6YBZFLET.js → createAgentAutomationAction-UKKP6SAJ.js} +14 -14
  67. package/{createDialogAction-N7CTNKB5.js → createDialogAction-WK6Y7DD7.js} +16 -16
  68. package/{createPageAction-RXOOVKVO.js → createPageAction-SLRDORVZ.js} +14 -14
  69. package/{dbSlice-GKGGFNOB.js → dbSlice-WL5T2LVF.js} +2 -2
  70. package/{dialogCommands-PE5FEFJ5.js → dialogCommands-E5AAV7PB.js} +16 -16
  71. package/{dialogSlice-NLSKRXBN.js → dialogSlice-2TSABNK5.js} +13 -13
  72. package/{docCreateCommands-IPDFZVPG.js → docCreateCommands-N7P5VBTU.js} +16 -16
  73. package/{docDeleteCommands-VQ4Y66CM.js → docDeleteCommands-LZPPUYY6.js} +16 -16
  74. package/{docReadCommands-PD33VV27.js → docReadCommands-UCQGMMBR.js} +16 -16
  75. package/{docStore-CIAYE5WP.js → docStore-GX4LBBIB.js} +3 -3
  76. package/{docUpdateCommands-CGUQ2JY3.js → docUpdateCommands-H57EVVVE.js} +16 -16
  77. package/{getPricing-HRMSOF3E.js → getPricing-JRNHI5CV.js} +3 -3
  78. package/{handleSendMessageAction-ENUNMW3Z.js → handleSendMessageAction-DYAB4HTU.js} +13 -13
  79. package/index.js +47 -47
  80. package/{machineCommands-APIJY7UA.js → machineCommands-3Y3EHK2H.js} +36 -36
  81. package/{machineWsRunDispatch-42WKRDE7.js → machineWsRunDispatch-RSVSJ4D7.js} +36 -36
  82. package/{memberThunks-KATHH3F4.js → memberThunks-OBDDU3NR.js} +3 -3
  83. package/{models-GS72DVJS.js → models-NBVTQACP.js} +2 -2
  84. package/package.json +1 -1
  85. package/{read-LC6HVYBN.js → read-OOTHDABU.js} +1 -1
  86. package/{readDocTool-N3ERJHHF.js → readDocTool-OU4QXJT6.js} +1 -1
  87. package/{readlineWorkspace-MUV7VRD4.js → readlineWorkspace-7FZA4JYG.js} +37 -37
  88. package/{removeDialogAgentAction-F5GPTALR.js → removeDialogAgentAction-BVU6E27N.js} +4 -4
  89. package/{runAgentClientLoop-A4OXYOCL.js → runAgentClientLoop-VZCX37ZP.js} +30 -30
  90. package/{setDialogExtraReferencesAction-AY4ZCF3A.js → setDialogExtraReferencesAction-AUKADSTQ.js} +3 -3
  91. package/{setPrimaryDialogAgentAction-HPMG7V3R.js → setPrimaryDialogAgentAction-HMHZWURC.js} +4 -4
  92. package/{settingSlice-OEJA4NQO.js → settingSlice-HIQRILF5.js} +3 -3
  93. package/{spaceCommands-Y47DDAQD.js → spaceCommands-ANELRNRF.js} +16 -16
  94. package/{streamAgentChatTurn-YHKNJEFR.js → streamAgentChatTurn-QM364J6U.js} +34 -34
  95. package/{switchDialogAgentAction-HMDZTZ4I.js → switchDialogAgentAction-Y66ZTIGP.js} +2 -2
  96. package/{tools-S5RSWF3R.js → tools-YNRN4HC7.js} +24 -24
  97. package/{tuiSummaryLlmCaller-J5BEPLW5.js → tuiSummaryLlmCaller-ZGATEM35.js} +10 -10
  98. package/{updateDialogTitleAction-BU2VPE5B.js → updateDialogTitleAction-OOYKI7LI.js} +14 -14
@@ -27,7 +27,7 @@ import {
27
27
  resolveLocalUserId,
28
28
  t,
29
29
  toolLabel
30
- } from "./chunk-SPQ7GSUX.js";
30
+ } from "./chunk-Z3XXUE2E.js";
31
31
  import {
32
32
  createRunActivityTracker,
33
33
  popSingleQueueMessage,
@@ -63,7 +63,7 @@ import {
63
63
  } from "./chunk-LTRXGFMS.js";
64
64
  import {
65
65
  formatAgentListCard
66
- } from "./chunk-FCCT2LU2.js";
66
+ } from "./chunk-6RNOFHEM.js";
67
67
  import {
68
68
  isTransientFetchError
69
69
  } from "./chunk-5XTOKQLW.js";
@@ -84,11 +84,11 @@ import {
84
84
  chooseMemoryOwners,
85
85
  loadMemoryCandidatesFromDb,
86
86
  resolveAgentMemoryPolicy
87
- } from "./chunk-VLX45P4L.js";
87
+ } from "./chunk-SKWZFK56.js";
88
88
  import {
89
89
  API_REPORTED_COST_MULTIPLIER,
90
90
  parseUiAskChoiceContent
91
- } from "./chunk-ZIUMSKK4.js";
91
+ } from "./chunk-C2SHPJSS.js";
92
92
  import {
93
93
  isOAuthApiKeyRef
94
94
  } from "./chunk-YYLHWIW6.js";
@@ -111,10 +111,10 @@ import {
111
111
  LOCAL_AGENT_CONFIG_MISSING_CODE,
112
112
  LOCAL_TURN_ABORTED_CODE,
113
113
  readActionGate
114
- } from "./chunk-CJ23A7U4.js";
114
+ } from "./chunk-RXYIUZU5.js";
115
115
  import {
116
116
  resolveAgentRuntimeConfigFromRecord
117
- } from "./chunk-KIS76A2P.js";
117
+ } from "./chunk-Y7PULBIA.js";
118
118
  import {
119
119
  createThinkParserState,
120
120
  flushThinkParser,
@@ -122,10 +122,10 @@ import {
122
122
  } from "./chunk-N7J63Q6C.js";
123
123
  import {
124
124
  isAntigravityOAuthAgent
125
- } from "./chunk-PGSKWZCB.js";
125
+ } from "./chunk-ZW22L5ES.js";
126
126
  import {
127
127
  resolveClientVersion
128
- } from "./chunk-CMH2SYHX.js";
128
+ } from "./chunk-VLQRD7ZJ.js";
129
129
  import {
130
130
  isQuotaExhaustedError,
131
131
  isQuotaLimited403Body,
@@ -136,13 +136,13 @@ import {
136
136
  DEFAULT_CONTEXT_WINDOW,
137
137
  getModelContextWindow,
138
138
  normalizeUsage
139
- } from "./chunk-DSRXPQWA.js";
139
+ } from "./chunk-2XENHR3P.js";
140
140
  import {
141
141
  clipCompactText
142
- } from "./chunk-E36HZARC.js";
142
+ } from "./chunk-3E67YXGD.js";
143
143
  import {
144
144
  findModelConfig
145
- } from "./chunk-UJ63UXGE.js";
145
+ } from "./chunk-TQC77XVE.js";
146
146
  import {
147
147
  compactWhitespace
148
148
  } from "./chunk-DWLEOOGR.js";
@@ -167,7 +167,7 @@ import {
167
167
  CLIENT_VERSION_TOO_OLD_CODE,
168
168
  NOLO_CLIENT_VERSION_HEADER,
169
169
  buildClientVersionUpgradeMessage
170
- } from "./chunk-AJHEFRGJ.js";
170
+ } from "./chunk-5YIL5WDC.js";
171
171
  import {
172
172
  parsePositiveFiniteNumberOrFallback
173
173
  } from "./chunk-Y5GCAMGP.js";
@@ -181,7 +181,7 @@ import {
181
181
  BUILTIN_NOLO_AGENT_KEY,
182
182
  BUILTIN_NOLO_AGENT_NAME,
183
183
  builtinAgentCatalogEntryById
184
- } from "./chunk-5J7W2VWW.js";
184
+ } from "./chunk-4MKPBCTN.js";
185
185
  import {
186
186
  parsePublicAgentId
187
187
  } from "./chunk-BJIRLHJR.js";
@@ -5176,7 +5176,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
5176
5176
  // packages/cli/client/agentRun.ts
5177
5177
  import { ulid } from "ulid";
5178
5178
  async function loadRunLocalAgentTurn() {
5179
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-O6DZDTK4.js");
5179
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-T47DU3IA.js");
5180
5180
  return runLocalAgentTurn;
5181
5181
  }
5182
5182
  var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-UAD2WT54.js";
8
8
  import {
9
9
  toTimestampMs
10
- } from "./chunk-YFADVSZE.js";
10
+ } from "./chunk-4K6DB3GJ.js";
11
11
  import {
12
12
  fetchFromServer,
13
13
  getAllServers
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  isImageUrlPart,
3
3
  isOllamaEndpoint
4
- } from "./chunk-PUOC4YRO.js";
4
+ } from "./chunk-XTJTN3RW.js";
5
5
  import {
6
6
  AGENT_SELECTION_PRIORITY_INSTRUCTIONS
7
7
  } from "./chunk-V3ZKNK5D.js";
8
8
  import {
9
9
  getModelContextWindow
10
- } from "./chunk-DSRXPQWA.js";
10
+ } from "./chunk-2XENHR3P.js";
11
11
  import {
12
12
  estimateTokenCount
13
13
  } from "./chunk-PSCNXBYA.js";
@@ -18,7 +18,7 @@ import {
18
18
  PLATFORM_HOSTED_KIMI_K3_MODEL,
19
19
  isFireworksKimiModel,
20
20
  isNoloHostedProvider
21
- } from "./chunk-AJHEFRGJ.js";
21
+ } from "./chunk-5YIL5WDC.js";
22
22
  import {
23
23
  asTrimmedLowercaseString
24
24
  } from "./chunk-QSJ3HFEF.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-FCCT2LU2.js";
3
+ } from "./chunk-6RNOFHEM.js";
4
4
  import {
5
5
  i18n_default
6
- } from "./chunk-ZIUMSKK4.js";
6
+ } from "./chunk-C2SHPJSS.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
9
  } from "./chunk-O6OSWFZQ.js";
10
10
  import {
11
11
  isNoloHostedProvider
12
- } from "./chunk-AJHEFRGJ.js";
12
+ } from "./chunk-5YIL5WDC.js";
13
13
  import {
14
14
  asTrimmedLowercaseString
15
15
  } from "./chunk-QSJ3HFEF.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-SPQ7GSUX.js";
4
+ } from "./chunk-Z3XXUE2E.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-FCCT2LU2.js";
7
+ } from "./chunk-6RNOFHEM.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-CJ23A7U4.js";
10
+ } from "./chunk-RXYIUZU5.js";
11
11
  import {
12
12
  applyToolSurfaceConstraints
13
13
  } from "./chunk-V3ZKNK5D.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-TVDZABBT.js";
4
+ } from "./chunk-V3B6FQKC.js";
5
5
 
6
6
  // packages/ai/agent/fetchAgentContexts.ts
7
7
  async function fetchAgentContexts(references, dispatch) {
@@ -13,7 +13,7 @@ import {
13
13
  toTimestampMs,
14
14
  upsert,
15
15
  write
16
- } from "./chunk-YFADVSZE.js";
16
+ } from "./chunk-4K6DB3GJ.js";
17
17
  import {
18
18
  createUserKey,
19
19
  createUserPreferenceKey,
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-QSJ3HFEF.js";
25
25
  import {
26
26
  BUILTIN_NOLO_AGENT_KEY
27
- } from "./chunk-5J7W2VWW.js";
27
+ } from "./chunk-4MKPBCTN.js";
28
28
  import {
29
29
  asyncThunkCreator,
30
30
  buildCreateSlice,
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  patch,
12
12
  readAndWait
13
- } from "./chunk-YFADVSZE.js";
13
+ } from "./chunk-4K6DB3GJ.js";
14
14
  import {
15
15
  asOptionalTrimmedString
16
16
  } from "./chunk-G3SUCT4W.js";
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
326
326
  ).unwrap();
327
327
  if (dbSpaceId) {
328
328
  try {
329
- const { updateContentTitle } = await import("./contentThunks-VGXYTSKU.js");
329
+ const { updateContentTitle } = await import("./contentThunks-XV3U3V2O.js");
330
330
  await dispatch(
331
331
  updateContentTitle({
332
332
  spaceId: dbSpaceId,
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
365
365
  }
366
366
  }
367
367
  async function createDocState(args, thunkApi) {
368
- const { createPageAction } = await import("./createPageAction-RXOOVKVO.js");
368
+ const { createPageAction } = await import("./createPageAction-SLRDORVZ.js");
369
369
  return createPageAction(args, thunkApi);
370
370
  }
371
371
  function subscribe(listener) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_AGENT_BASE_POLICY,
3
3
  DEFAULT_USER_PREFERENCE_PROFILE
4
- } from "./chunk-XWNRAIUL.js";
4
+ } from "./chunk-OPNHMILE.js";
5
5
 
6
6
  // packages/ai/policy/runtimePolicy.ts
7
7
  var clampLevel = (value, fallback) => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-GBPZKFYK.js";
4
+ } from "./chunk-BNATE77Z.js";
5
5
  import {
6
6
  toErrorMessage
7
7
  } from "./chunk-HNMXYYJR.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TOOL_PACKS,
3
3
  buildCodeWorkDiscipline
4
- } from "./chunk-MYU3MJCF.js";
4
+ } from "./chunk-AJF6YRN7.js";
5
5
  import {
6
6
  buildSkillDocMarkdown,
7
7
  resolvePageSkillMetadata
@@ -8,7 +8,7 @@ import {
8
8
  readSseFrames,
9
9
  streamSseDataValues,
10
10
  throwIfChatCompletionStreamFailed
11
- } from "./chunk-HXAINXPQ.js";
11
+ } from "./chunk-ZCVO2HLZ.js";
12
12
  import {
13
13
  clipToolText,
14
14
  hasImageInRuntimeMessages,
@@ -16,7 +16,7 @@ import {
16
16
  resolveHistoricalToolContentCap,
17
17
  resolveToolOutputProfile,
18
18
  stripImagePartsFromMessages
19
- } from "./chunk-KIS76A2P.js";
19
+ } from "./chunk-Y7PULBIA.js";
20
20
  import {
21
21
  downgradeUnparsableToolCalls,
22
22
  hasParsableObjectArguments,
@@ -39,7 +39,7 @@ import {
39
39
  requiresBareImageUrl,
40
40
  resolveToolGuidedSections,
41
41
  toBareImageUrlMessages
42
- } from "./chunk-ZLPA7K55.js";
42
+ } from "./chunk-KRR3AG7T.js";
43
43
  import {
44
44
  convertMessagesToResponsesInput,
45
45
  extractReasoningFromResponseOutput,
@@ -49,16 +49,16 @@ import {
49
49
  shouldStripReasoningContentForOutbound,
50
50
  toOpenAiCompatibleMessages,
51
51
  toResponsesTools
52
- } from "./chunk-PUOC4YRO.js";
52
+ } from "./chunk-XTJTN3RW.js";
53
53
  import {
54
54
  getAntigravityUserAgent,
55
55
  readAntigravityProjectId,
56
56
  resolveAntigravityCloudCodeBaseUrl
57
- } from "./chunk-PGSKWZCB.js";
57
+ } from "./chunk-ZW22L5ES.js";
58
58
  import {
59
59
  buildProviderAuthHeaders,
60
60
  buildProviderExecutionPlan
61
- } from "./chunk-CMH2SYHX.js";
61
+ } from "./chunk-VLQRD7ZJ.js";
62
62
  import {
63
63
  BRIDGE_STREAM_MAX_CHARS,
64
64
  DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
@@ -86,7 +86,7 @@ import {
86
86
  resolveEmptyAssistantFallbackMessage,
87
87
  resolveEmptyAssistantOutcome,
88
88
  resolveTruncatedReasoningTailLog
89
- } from "./chunk-DSRXPQWA.js";
89
+ } from "./chunk-2XENHR3P.js";
90
90
  import {
91
91
  COMPACTION_SUMMARY_SCHEMA_VERSION,
92
92
  COMPACTION_SUMMARY_SYSTEM_PROMPT,
@@ -105,7 +105,7 @@ import {
105
105
  resolveCompressionTriggerRatio,
106
106
  truncateToolOutputForContext,
107
107
  withProviderCallTimingFields
108
- } from "./chunk-E36HZARC.js";
108
+ } from "./chunk-3E67YXGD.js";
109
109
  import {
110
110
  estimateTokenCount
111
111
  } from "./chunk-PSCNXBYA.js";
@@ -19227,7 +19227,7 @@ function buildLoadSkillExecutor(args2) {
19227
19227
  const { resolveSkillByName } = await import("./skillDiscovery-CYUCJMAG.js");
19228
19228
  const resolved = resolveSkillByName(args2.cwd, name);
19229
19229
  if (!resolved) {
19230
- const { resolveCodingBuiltinSlug, buildCodingSkillContentBySlug } = await import("./codingSkills-E6KSDNSJ.js");
19230
+ const { resolveCodingBuiltinSlug, buildCodingSkillContentBySlug } = await import("./codingSkills-DB4QPUND.js");
19231
19231
  const builtinSlug = resolveCodingBuiltinSlug(name);
19232
19232
  if (builtinSlug) {
19233
19233
  const body = buildCodingSkillContentBySlug(builtinSlug);
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-AGGIDPCZ.js";
7
7
  import {
8
8
  getModelConfig
9
- } from "./chunk-UJ63UXGE.js";
9
+ } from "./chunk-TQC77XVE.js";
10
10
  import {
11
11
  isPlatformHostedImageModel
12
- } from "./chunk-AJHEFRGJ.js";
12
+ } from "./chunk-5YIL5WDC.js";
13
13
  import {
14
14
  asOptionalFiniteNumber
15
15
  } from "./chunk-WWC7I6TA.js";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-BLCUMZNV.js";
3
+ } from "./chunk-2L7EUBRN.js";
4
4
  import {
5
5
  prepareAndPersistMessage,
6
6
  uiAskChoiceFunc,
7
7
  uiAskChoiceFunctionSchema
8
- } from "./chunk-ZIUMSKK4.js";
8
+ } from "./chunk-C2SHPJSS.js";
9
9
  import {
10
10
  require_date_fns
11
11
  } from "./chunk-M76ECQRD.js";
12
12
  import {
13
13
  TOOL_PACKS
14
- } from "./chunk-MYU3MJCF.js";
14
+ } from "./chunk-AJF6YRN7.js";
15
15
  import {
16
16
  buildSkillDocMarkdown
17
17
  } from "./chunk-AETZ7AD6.js";
18
18
  import {
19
19
  PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
20
20
  PLATFORM_HOSTED_KIMI_PROVIDER
21
- } from "./chunk-AJHEFRGJ.js";
21
+ } from "./chunk-5YIL5WDC.js";
22
22
  import {
23
23
  read,
24
24
  readAndWait,
25
25
  removeCachedEntity,
26
26
  upsertSSREntity,
27
27
  write
28
- } from "./chunk-YFADVSZE.js";
28
+ } from "./chunk-4K6DB3GJ.js";
29
29
  import {
30
30
  createAgentKey,
31
31
  createDialogKey,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getModelConfig
3
- } from "./chunk-UJ63UXGE.js";
3
+ } from "./chunk-TQC77XVE.js";
4
4
  import {
5
5
  isPlatformHostedDeepseekModel,
6
6
  isPlatformHostedOpenAIImageModel,
7
7
  resolvePlatformHostedRouting
8
- } from "./chunk-AJHEFRGJ.js";
8
+ } from "./chunk-5YIL5WDC.js";
9
9
  import {
10
10
  asTrimmedLowercaseString
11
11
  } from "./chunk-QSJ3HFEF.js";
@@ -25,6 +25,8 @@ var PLATFORM_CHAT_COMPLETIONS_ENDPOINTS = {
25
25
  qwen: "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",
26
26
  // Moonshot AI(月之暗面)开放平台 OpenAI 兼容模式(按量计费)
27
27
  moonshot: "https://api.moonshot.cn/v1/chat/completions",
28
+ // 平台托管 Kimi K3 的实际上游
29
+ crof: "https://crof.ai/v1/chat/completions",
28
30
  // 平台托管 GLM 5.3 Flash 的实际上游(RunInfra 独家廉价快档)
29
31
  runinfra: "https://api.runinfra.ai/v1/chat/completions"
30
32
  // 无 nolo 默认上游:平台托管模型全部显式分流,未识别模型返回 undefined
@@ -9,7 +9,7 @@ import {
9
9
  platformHostedModels,
10
10
  toCnyCredits,
11
11
  zaiModels
12
- } from "./chunk-AJHEFRGJ.js";
12
+ } from "./chunk-5YIL5WDC.js";
13
13
 
14
14
  // packages/integrations/anthropic/anthropicModels.ts
15
15
  var anthropicModels = [
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-V3ZKNK5D.js";
7
7
  import {
8
8
  getModelAbility
9
- } from "./chunk-NG4UT4K4.js";
9
+ } from "./chunk-6IT5ECCC.js";
10
10
  import {
11
11
  isOwnedAgentKey,
12
12
  ownedAgentKey,
@@ -8,7 +8,7 @@ import {
8
8
  clipMultilineText,
9
9
  fetchAndSerializeTable,
10
10
  resolveBuiltinSkillPage
11
- } from "./chunk-FCCT2LU2.js";
11
+ } from "./chunk-6RNOFHEM.js";
12
12
  import {
13
13
  isGatewayHttpStatus
14
14
  } from "./chunk-NF64D32W.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-3L2WKC3W.js";
21
21
  import {
22
22
  slateToSimplifiedMarkdown
23
- } from "./chunk-UDQWGU7F.js";
23
+ } from "./chunk-5TJQUZQ7.js";
24
24
  import {
25
25
  waitForAbortableDelay
26
26
  } from "./chunk-N4G4PKQ6.js";
@@ -29,43 +29,43 @@ import {
29
29
  } from "./chunk-MEYIRKDN.js";
30
30
  import {
31
31
  fetchAndCacheMessages
32
- } from "./chunk-ZIUMSKK4.js";
32
+ } from "./chunk-C2SHPJSS.js";
33
33
  import {
34
34
  shouldUseServerProxy
35
35
  } from "./chunk-YYLHWIW6.js";
36
36
  import {
37
37
  fetchServerSyncedCredential
38
- } from "./chunk-F657NADX.js";
38
+ } from "./chunk-4ENGEYUY.js";
39
39
  import {
40
40
  buildSkillGuidancePromptBlock,
41
41
  extractRuntimePageCapabilities,
42
42
  resolveSkillGraphFromRoots
43
- } from "./chunk-3IT2PFHL.js";
43
+ } from "./chunk-RW76G3YN.js";
44
44
  import {
45
45
  buildIdentityBlock,
46
46
  buildRuntimeGuidanceBlocks,
47
47
  compileContextLayers,
48
48
  normalizeChatCompletionsBodyForProvider,
49
49
  resolveToolGuidedSections
50
- } from "./chunk-ZLPA7K55.js";
50
+ } from "./chunk-KRR3AG7T.js";
51
51
  import {
52
52
  convertMessagesToResponsesInput,
53
53
  getUsageRequestOptions,
54
54
  preserveAgentStateFields,
55
55
  stablePromptCacheKey
56
- } from "./chunk-PUOC4YRO.js";
56
+ } from "./chunk-XTJTN3RW.js";
57
57
  import {
58
58
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
59
59
  isAntigravityOAuthAgent
60
- } from "./chunk-PGSKWZCB.js";
60
+ } from "./chunk-ZW22L5ES.js";
61
61
  import {
62
62
  buildProviderAuthHeaders
63
- } from "./chunk-CMH2SYHX.js";
63
+ } from "./chunk-VLQRD7ZJ.js";
64
64
  import {
65
65
  isOpenAiResponsesModel,
66
66
  resolvePlatformChatCompletionsEndpoint,
67
67
  resolvePlatformResponsesEndpoint
68
- } from "./chunk-K7AG465Q.js";
68
+ } from "./chunk-SQDGTW2T.js";
69
69
  import {
70
70
  estimateTokenCount
71
71
  } from "./chunk-PSCNXBYA.js";
@@ -73,7 +73,7 @@ import {
73
73
  clampReasoningEffort,
74
74
  getModelConfig,
75
75
  isModelSupportReasoningEffort
76
- } from "./chunk-UJ63UXGE.js";
76
+ } from "./chunk-TQC77XVE.js";
77
77
  import {
78
78
  createFileCredentialBroker
79
79
  } from "./chunk-3JQ2NRYU.js";
@@ -92,13 +92,13 @@ import {
92
92
  isDeepInfraKimiModel,
93
93
  isFireworksKimiModel,
94
94
  resolveFireworksKimiModel
95
- } from "./chunk-AJHEFRGJ.js";
95
+ } from "./chunk-5YIL5WDC.js";
96
96
  import {
97
97
  createSpaceKey
98
98
  } from "./chunk-UAD2WT54.js";
99
99
  import {
100
100
  read
101
- } from "./chunk-YFADVSZE.js";
101
+ } from "./chunk-4K6DB3GJ.js";
102
102
  import {
103
103
  asTrimmedLowercaseString
104
104
  } from "./chunk-QSJ3HFEF.js";
@@ -3,7 +3,7 @@ import {
3
3
  resolvePlatformChatCompletionsEndpoint,
4
4
  resolvePlatformHostedCredentialProvider,
5
5
  resolvePlatformResponsesEndpoint
6
- } from "./chunk-K7AG465Q.js";
6
+ } from "./chunk-SQDGTW2T.js";
7
7
  import {
8
8
  CLI_PROVIDER_VALUES
9
9
  } from "./chunk-W7XHHYWM.js";
@@ -11,7 +11,7 @@ import {
11
11
  CLIENT_VERSION_TOO_OLD_CODE,
12
12
  buildClientVersionGateErrorDetail,
13
13
  evaluatePlatformHostedClientVersionGate
14
- } from "./chunk-AJHEFRGJ.js";
14
+ } from "./chunk-5YIL5WDC.js";
15
15
  import {
16
16
  asTrimmedLowercaseString
17
17
  } from "./chunk-QSJ3HFEF.js";
@@ -5,14 +5,14 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-NUTDASGX.js";
8
+ } from "./chunk-LMEH4C4G.js";
9
9
  import {
10
10
  INVALID_TOOL_ARGS_REPLACEMENT,
11
11
  buildInvalidToolCallSelfHealResult,
12
12
  parseToolCallArguments,
13
13
  performFetchRequest,
14
14
  sanitizeOutboundMessages
15
- } from "./chunk-TVDZABBT.js";
15
+ } from "./chunk-V3B6FQKC.js";
16
16
  import {
17
17
  createSSEParser,
18
18
  createToolRunId,
@@ -23,7 +23,7 @@ import {
23
23
  toolRunSetPending,
24
24
  toolRunStarted,
25
25
  toolRunSucceeded
26
- } from "./chunk-FCCT2LU2.js";
26
+ } from "./chunk-6RNOFHEM.js";
27
27
  import {
28
28
  getPublicImageAgentMode
29
29
  } from "./chunk-VIDPVFP3.js";
@@ -35,10 +35,10 @@ import {
35
35
  messageStreamEnd,
36
36
  messageStreaming,
37
37
  updateToolMessage
38
- } from "./chunk-ZIUMSKK4.js";
38
+ } from "./chunk-C2SHPJSS.js";
39
39
  import {
40
40
  streamAgentChatTurn
41
- } from "./chunk-F657NADX.js";
41
+ } from "./chunk-4ENGEYUY.js";
42
42
  import {
43
43
  addActiveController,
44
44
  removeActiveController,
@@ -56,19 +56,19 @@ import {
56
56
  import {
57
57
  EMPTY_ASSISTANT_REPAIR_PROMPT,
58
58
  getModelInfo
59
- } from "./chunk-DSRXPQWA.js";
59
+ } from "./chunk-2XENHR3P.js";
60
60
  import {
61
61
  getApiEndpoint
62
- } from "./chunk-UJ63UXGE.js";
62
+ } from "./chunk-TQC77XVE.js";
63
63
  import {
64
64
  toErrorMessage
65
65
  } from "./chunk-HNMXYYJR.js";
66
66
  import {
67
67
  selectCurrentServer
68
- } from "./chunk-XWNRAIUL.js";
68
+ } from "./chunk-OPNHMILE.js";
69
69
  import {
70
70
  write
71
- } from "./chunk-YFADVSZE.js";
71
+ } from "./chunk-4K6DB3GJ.js";
72
72
  import {
73
73
  createDialogMessageKeyAndId,
74
74
  dialogMessageKey,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  selectCurrentServer,
3
3
  selectRemoteServers
4
- } from "./chunk-XWNRAIUL.js";
4
+ } from "./chunk-OPNHMILE.js";
5
5
  import {
6
6
  createUserKey,
7
7
  extractAgentInfo,
@@ -46,6 +46,10 @@ var STREAM_USAGE_PROVIDERS = /* @__PURE__ */ new Set([
46
46
  "deepseek",
47
47
  "ollama",
48
48
  "ollama-cloud",
49
+ // endpoint; the hosted branch passes "upstream-k3" as the usage provider so these
50
+ // streams request the terminal usage chunk (same capability decision as
51
+ // deepinfra/vultr).
52
+ "upstream-k3",
49
53
  // RunInfra hosted fallback channel: OpenAI-compatible chat.completions
50
54
  // endpoint, supports stream_options.include_usage (measured to return
51
55
  // prompt_tokens_details.cached_tokens).
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  findModelConfig,
3
3
  getProviderByModelName
4
- } from "./chunk-UJ63UXGE.js";
4
+ } from "./chunk-TQC77XVE.js";
5
5
  import {
6
6
  asOptionalFiniteNumber
7
7
  } from "./chunk-WWC7I6TA.js";