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.
- package/{_executeModel-GOV2OHC7.js → _executeModel-YXI7ADJF.js} +32 -32
- package/{action-D22U6CTH.js → action-AOORTHTU.js} +4 -4
- package/{addContentAction-XAPUTGL4.js → addContentAction-E3S6F3IS.js} +3 -3
- package/{addDialogAgentAction-M7VLLBZM.js → addDialogAgentAction-EUBNJ5SS.js} +2 -2
- package/{agentDeleteCommand-FSIMTL4K.js → agentDeleteCommand-B5SKAPTR.js} +16 -16
- package/{agentEmailCommands-YZQ2VVHY.js → agentEmailCommands-LVUZQHBF.js} +37 -37
- package/{agentListCommands-2YWZYH52.js → agentListCommands-D2E7SFRQ.js} +18 -18
- package/{agentMachineCommands-UCYM5RRQ.js → agentMachineCommands-XNIBG4L2.js} +17 -17
- package/{agentRecordCommands-TPBYOPMA.js → agentRecordCommands-ID3URU2J.js} +36 -36
- package/{agentRunCommand-HBC2EQVU.js → agentRunCommand-KZMPUI53.js} +36 -36
- package/{agentRuntimeLocal-O6DZDTK4.js → agentRuntimeLocal-T47DU3IA.js} +16 -16
- package/{agentSlice-ZPODGT3P.js → agentSlice-K5IE7FV3.js} +3 -3
- package/{appDeleteCommands-HIJNWSK7.js → appDeleteCommands-URD2F5YN.js} +16 -16
- package/{appDeployCommands-XULV2ZN6.js → appDeployCommands-OACWEEWP.js} +16 -16
- package/{appDeployStatusCommands-ETY4Z7K6.js → appDeployStatusCommands-TVYLIUEU.js} +16 -16
- package/{appGetCommands-M253LKDA.js → appGetCommands-ZWG2YEAE.js} +16 -16
- package/{appListCommands-XYFXJMNP.js → appListCommands-E3BMSQEY.js} +16 -16
- package/{authCommand-EVGFLAHO.js → authCommand-QHMBXOOH.js} +7 -7
- package/{chatQueueReduxAdapter-Z67OC4WO.js → chatQueueReduxAdapter-HL5A3L2W.js} +13 -13
- package/{chunk-BLCUMZNV.js → chunk-2L7EUBRN.js} +4 -4
- package/{chunk-DSRXPQWA.js → chunk-2XENHR3P.js} +4 -4
- package/{chunk-PWGW5JTK.js → chunk-36G25COQ.js} +1 -1
- package/{chunk-E36HZARC.js → chunk-3E67YXGD.js} +2 -2
- package/{chunk-F657NADX.js → chunk-4ENGEYUY.js} +4 -4
- package/{chunk-YFADVSZE.js → chunk-4K6DB3GJ.js} +3 -3
- package/{chunk-5J7W2VWW.js → chunk-4MKPBCTN.js} +3 -2
- package/{chunk-UDQWGU7F.js → chunk-5TJQUZQ7.js} +1 -1
- package/{chunk-AJHEFRGJ.js → chunk-5YIL5WDC.js} +71 -220
- package/{chunk-NG4UT4K4.js → chunk-6IT5ECCC.js} +1 -1
- package/{chunk-FCCT2LU2.js → chunk-6RNOFHEM.js} +28 -116
- package/{chunk-BJCWNHVU.js → chunk-76JAMDUT.js} +2 -2
- package/{chunk-4EJ5QYB5.js → chunk-7JS3F5ZR.js} +1 -1
- package/{chunk-MYU3MJCF.js → chunk-AJF6YRN7.js} +1 -5
- package/{chunk-GBPZKFYK.js → chunk-BNATE77Z.js} +1 -1
- package/{chunk-ZIUMSKK4.js → chunk-C2SHPJSS.js} +38 -28
- package/{chunk-ZZCJUXUI.js → chunk-IM5EETJX.js} +1 -1
- package/{chunk-3U3EA3BO.js → chunk-IOZR6BLM.js} +1 -1
- package/{chunk-RFMPSCHX.js → chunk-JKAWV72Y.js} +14 -14
- package/{chunk-PZM3EENV.js → chunk-K647EQV3.js} +1 -1
- package/{chunk-ZLPA7K55.js → chunk-KRR3AG7T.js} +3 -3
- package/{chunk-NUTDASGX.js → chunk-LMEH4C4G.js} +3 -3
- package/{chunk-YYLLD6H6.js → chunk-O2X6R45W.js} +3 -3
- package/{chunk-3NVAU4WZ.js → chunk-OMHOVU2L.js} +1 -1
- package/{chunk-XWNRAIUL.js → chunk-OPNHMILE.js} +2 -2
- package/{chunk-DQAEUZSQ.js → chunk-PADUIVUU.js} +3 -3
- package/{chunk-3QPYFHAH.js → chunk-RJ5HQDHL.js} +1 -1
- package/{chunk-PYXL2CJL.js → chunk-RSDPPLSM.js} +1 -1
- package/{chunk-3IT2PFHL.js → chunk-RW76G3YN.js} +1 -1
- package/{chunk-CJ23A7U4.js → chunk-RXYIUZU5.js} +9 -9
- package/{chunk-EXMHJN7C.js → chunk-SHPRRU2W.js} +2 -2
- package/{chunk-VLX45P4L.js → chunk-SKWZFK56.js} +5 -5
- package/{chunk-K7AG465Q.js → chunk-SQDGTW2T.js} +4 -2
- package/{chunk-UJ63UXGE.js → chunk-TQC77XVE.js} +1 -1
- package/{chunk-FPTQQSS6.js → chunk-UFTOGLCE.js} +1 -1
- package/{chunk-TVDZABBT.js → chunk-V3B6FQKC.js} +13 -13
- package/{chunk-CMH2SYHX.js → chunk-VLQRD7ZJ.js} +2 -2
- package/{chunk-AAWBX67U.js → chunk-VOEOMLKR.js} +9 -9
- package/{chunk-SZLVDREM.js → chunk-WMRPXIZY.js} +1 -1
- package/{chunk-PUOC4YRO.js → chunk-XTJTN3RW.js} +4 -0
- package/{chunk-KIS76A2P.js → chunk-Y7PULBIA.js} +1 -1
- package/{chunk-SPQ7GSUX.js → chunk-Z3XXUE2E.js} +17 -17
- package/{chunk-HXAINXPQ.js → chunk-ZCVO2HLZ.js} +4 -4
- package/{chunk-PGSKWZCB.js → chunk-ZW22L5ES.js} +1 -1
- package/{codingSkills-E6KSDNSJ.js → codingSkills-DB4QPUND.js} +2 -2
- package/{contentThunks-VGXYTSKU.js → contentThunks-XV3U3V2O.js} +14 -14
- package/{createAgentAutomationAction-6YBZFLET.js → createAgentAutomationAction-UKKP6SAJ.js} +14 -14
- package/{createDialogAction-N7CTNKB5.js → createDialogAction-WK6Y7DD7.js} +16 -16
- package/{createPageAction-RXOOVKVO.js → createPageAction-SLRDORVZ.js} +14 -14
- package/{dbSlice-GKGGFNOB.js → dbSlice-WL5T2LVF.js} +2 -2
- package/{dialogCommands-PE5FEFJ5.js → dialogCommands-E5AAV7PB.js} +16 -16
- package/{dialogSlice-NLSKRXBN.js → dialogSlice-2TSABNK5.js} +13 -13
- package/{docCreateCommands-IPDFZVPG.js → docCreateCommands-N7P5VBTU.js} +16 -16
- package/{docDeleteCommands-VQ4Y66CM.js → docDeleteCommands-LZPPUYY6.js} +16 -16
- package/{docReadCommands-PD33VV27.js → docReadCommands-UCQGMMBR.js} +16 -16
- package/{docStore-CIAYE5WP.js → docStore-GX4LBBIB.js} +3 -3
- package/{docUpdateCommands-CGUQ2JY3.js → docUpdateCommands-H57EVVVE.js} +16 -16
- package/{getPricing-HRMSOF3E.js → getPricing-JRNHI5CV.js} +3 -3
- package/{handleSendMessageAction-ENUNMW3Z.js → handleSendMessageAction-DYAB4HTU.js} +13 -13
- package/index.js +47 -47
- package/{machineCommands-APIJY7UA.js → machineCommands-3Y3EHK2H.js} +36 -36
- package/{machineWsRunDispatch-42WKRDE7.js → machineWsRunDispatch-RSVSJ4D7.js} +36 -36
- package/{memberThunks-KATHH3F4.js → memberThunks-OBDDU3NR.js} +3 -3
- package/{models-GS72DVJS.js → models-NBVTQACP.js} +2 -2
- package/package.json +1 -1
- package/{read-LC6HVYBN.js → read-OOTHDABU.js} +1 -1
- package/{readDocTool-N3ERJHHF.js → readDocTool-OU4QXJT6.js} +1 -1
- package/{readlineWorkspace-MUV7VRD4.js → readlineWorkspace-7FZA4JYG.js} +37 -37
- package/{removeDialogAgentAction-F5GPTALR.js → removeDialogAgentAction-BVU6E27N.js} +4 -4
- package/{runAgentClientLoop-A4OXYOCL.js → runAgentClientLoop-VZCX37ZP.js} +30 -30
- package/{setDialogExtraReferencesAction-AY4ZCF3A.js → setDialogExtraReferencesAction-AUKADSTQ.js} +3 -3
- package/{setPrimaryDialogAgentAction-HPMG7V3R.js → setPrimaryDialogAgentAction-HMHZWURC.js} +4 -4
- package/{settingSlice-OEJA4NQO.js → settingSlice-HIQRILF5.js} +3 -3
- package/{spaceCommands-Y47DDAQD.js → spaceCommands-ANELRNRF.js} +16 -16
- package/{streamAgentChatTurn-YHKNJEFR.js → streamAgentChatTurn-QM364J6U.js} +34 -34
- package/{switchDialogAgentAction-HMDZTZ4I.js → switchDialogAgentAction-Y66ZTIGP.js} +2 -2
- package/{tools-S5RSWF3R.js → tools-YNRN4HC7.js} +24 -24
- package/{tuiSummaryLlmCaller-J5BEPLW5.js → tuiSummaryLlmCaller-ZGATEM35.js} +10 -10
- 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-
|
|
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-
|
|
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-
|
|
87
|
+
} from "./chunk-SKWZFK56.js";
|
|
88
88
|
import {
|
|
89
89
|
API_REPORTED_COST_MULTIPLIER,
|
|
90
90
|
parseUiAskChoiceContent
|
|
91
|
-
} from "./chunk-
|
|
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-
|
|
114
|
+
} from "./chunk-RXYIUZU5.js";
|
|
115
115
|
import {
|
|
116
116
|
resolveAgentRuntimeConfigFromRecord
|
|
117
|
-
} from "./chunk-
|
|
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-
|
|
125
|
+
} from "./chunk-ZW22L5ES.js";
|
|
126
126
|
import {
|
|
127
127
|
resolveClientVersion
|
|
128
|
-
} from "./chunk-
|
|
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-
|
|
139
|
+
} from "./chunk-2XENHR3P.js";
|
|
140
140
|
import {
|
|
141
141
|
clipCompactText
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-3E67YXGD.js";
|
|
143
143
|
import {
|
|
144
144
|
findModelConfig
|
|
145
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isImageUrlPart,
|
|
3
3
|
isOllamaEndpoint
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
3
|
+
} from "./chunk-6RNOFHEM.js";
|
|
4
4
|
import {
|
|
5
5
|
i18n_default
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
4
|
+
} from "./chunk-Z3XXUE2E.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6RNOFHEM.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RXYIUZU5.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-V3ZKNK5D.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
toTimestampMs,
|
|
14
14
|
upsert,
|
|
15
15
|
write
|
|
16
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
368
|
+
const { createPageAction } = await import("./createPageAction-SLRDORVZ.js");
|
|
369
369
|
return createPageAction(args, thunkApi);
|
|
370
370
|
}
|
|
371
371
|
function subscribe(listener) {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
readSseFrames,
|
|
9
9
|
streamSseDataValues,
|
|
10
10
|
throwIfChatCompletionStreamFailed
|
|
11
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
52
|
+
} from "./chunk-XTJTN3RW.js";
|
|
53
53
|
import {
|
|
54
54
|
getAntigravityUserAgent,
|
|
55
55
|
readAntigravityProjectId,
|
|
56
56
|
resolveAntigravityCloudCodeBaseUrl
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ZW22L5ES.js";
|
|
58
58
|
import {
|
|
59
59
|
buildProviderAuthHeaders,
|
|
60
60
|
buildProviderExecutionPlan
|
|
61
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
9
|
+
} from "./chunk-TQC77XVE.js";
|
|
10
10
|
import {
|
|
11
11
|
isPlatformHostedImageModel
|
|
12
|
-
} from "./chunk-
|
|
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-
|
|
3
|
+
} from "./chunk-2L7EUBRN.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage,
|
|
6
6
|
uiAskChoiceFunc,
|
|
7
7
|
uiAskChoiceFunctionSchema
|
|
8
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
3
|
+
} from "./chunk-TQC77XVE.js";
|
|
4
4
|
import {
|
|
5
5
|
isPlatformHostedDeepseekModel,
|
|
6
6
|
isPlatformHostedOpenAIImageModel,
|
|
7
7
|
resolvePlatformHostedRouting
|
|
8
|
-
} from "./chunk-
|
|
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
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable,
|
|
10
10
|
resolveBuiltinSkillPage
|
|
11
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
38
|
+
} from "./chunk-4ENGEYUY.js";
|
|
39
39
|
import {
|
|
40
40
|
buildSkillGuidancePromptBlock,
|
|
41
41
|
extractRuntimePageCapabilities,
|
|
42
42
|
resolveSkillGraphFromRoots
|
|
43
|
-
} from "./chunk-
|
|
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-
|
|
50
|
+
} from "./chunk-KRR3AG7T.js";
|
|
51
51
|
import {
|
|
52
52
|
convertMessagesToResponsesInput,
|
|
53
53
|
getUsageRequestOptions,
|
|
54
54
|
preserveAgentStateFields,
|
|
55
55
|
stablePromptCacheKey
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-XTJTN3RW.js";
|
|
57
57
|
import {
|
|
58
58
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL,
|
|
59
59
|
isAntigravityOAuthAgent
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-ZW22L5ES.js";
|
|
61
61
|
import {
|
|
62
62
|
buildProviderAuthHeaders
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-VLQRD7ZJ.js";
|
|
64
64
|
import {
|
|
65
65
|
isOpenAiResponsesModel,
|
|
66
66
|
resolvePlatformChatCompletionsEndpoint,
|
|
67
67
|
resolvePlatformResponsesEndpoint
|
|
68
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
38
|
+
} from "./chunk-C2SHPJSS.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
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-
|
|
59
|
+
} from "./chunk-2XENHR3P.js";
|
|
60
60
|
import {
|
|
61
61
|
getApiEndpoint
|
|
62
|
-
} from "./chunk-
|
|
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-
|
|
68
|
+
} from "./chunk-OPNHMILE.js";
|
|
69
69
|
import {
|
|
70
70
|
write
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-4K6DB3GJ.js";
|
|
72
72
|
import {
|
|
73
73
|
createDialogMessageKeyAndId,
|
|
74
74
|
dialogMessageKey,
|
|
@@ -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).
|