nolo-cli 0.140.0-alpha.1 → 0.141.0-alpha.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.
- package/{_executeModel-GJGGE6JX.js → _executeModel-PHFKA2OL.js} +20 -20
- package/{agentDeleteCommand-DAM4LEEO.js → agentDeleteCommand-PDOMFCIL.js} +14 -14
- package/{agentEmailCommands-BTUG55AL.js → agentEmailCommands-XCFMV73Q.js} +29 -28
- package/{agentListCommands-T3V5EL27.js → agentListCommands-MWAR7A4K.js} +35 -16
- package/{agentMachineCommands-5NBFFTBT.js → agentMachineCommands-VDT575S6.js} +14 -14
- package/{agentProviderCommands-5W5SYALV.js → agentProviderCommands-AOG3OZJA.js} +1 -1
- package/{agentRecordCommands-GFA7RVTG.js → agentRecordCommands-PBAKB3YI.js} +28 -27
- package/{agentRunCommand-NXT7TWBS.js → agentRunCommand-3JJVJWKN.js} +27 -27
- package/{agentRunControl-AVJR4JW4.js → agentRunControl-MD72KLQA.js} +2 -2
- package/{agentRuntimeLocal-DKFAWMRZ.js → agentRuntimeLocal-F7VBM3ZK.js} +12 -12
- package/{agentSlice-WQVGFRLD.js → agentSlice-EYRJX2J6.js} +1 -1
- package/{appDeleteCommands-PBCGWJZQ.js → appDeleteCommands-C6SHMXRO.js} +15 -15
- package/{appDeployCommands-E7KRDPZ5.js → appDeployCommands-TN7KPWQK.js} +15 -15
- package/{appDeployStatusCommands-TZ64EREZ.js → appDeployStatusCommands-CZLHVPY3.js} +15 -15
- package/{appGetCommands-3M2OIBJ3.js → appGetCommands-SE2MWTE2.js} +15 -15
- package/{appListCommands-D7H6I62Y.js → appListCommands-J47WTLZ3.js} +15 -15
- package/{authCommand-IZBILYGF.js → authCommand-VLT5WAYD.js} +8 -8
- package/{chatQueueReduxAdapter-FUXS7NRR.js → chatQueueReduxAdapter-YNI7ALFW.js} +7 -7
- package/{chunk-HLQBSALG.js → chunk-3BXNTXYI.js} +1 -1
- package/{chunk-FHBPYIXJ.js → chunk-4DPP773Q.js} +2 -2
- package/{chunk-44YE37DR.js → chunk-5VI55RD6.js} +26 -23
- package/{chunk-LJVUX3LF.js → chunk-63ZFMDDF.js} +1 -1
- package/{chunk-YBUA6LCU.js → chunk-65U5FCBE.js} +6 -6
- package/{chunk-TJUQIJQR.js → chunk-6YT7I7KF.js} +7 -7
- package/{chunk-H2PUUNAY.js → chunk-7KVZ5LDQ.js} +2 -2
- package/{chunk-Q6SLVXWU.js → chunk-7LLWEG6F.js} +3 -3
- package/{chunk-DQKIZYNM.js → chunk-7MUSNQ6E.js} +2 -2
- package/{chunk-NRXXVGOQ.js → chunk-A3JENOEB.js} +3 -3
- package/{chunk-5EALZPW5.js → chunk-A5MB5RIT.js} +3 -3
- package/{chunk-CZNXUKLA.js → chunk-AYLMRAUA.js} +15 -15
- package/{chunk-AR7XM7CQ.js → chunk-CRGSU5DB.js} +1 -1
- package/{chunk-NV47YLPH.js → chunk-CTGZO35O.js} +2 -2
- package/{chunk-ACTMNVHM.js → chunk-CYSYR67N.js} +1 -1
- package/{chunk-XOHDUTBS.js → chunk-DLT3R4CA.js} +1 -1
- package/{chunk-ZOOAFELH.js → chunk-DT7WS4NV.js} +9 -9
- package/{chunk-C6EZXUCB.js → chunk-GYB5AS4J.js} +3 -3
- package/{chunk-JDG5YE5U.js → chunk-I4A26N52.js} +2 -2
- package/{chunk-ENU52AJZ.js → chunk-K7ASQNHP.js} +18 -3
- package/{chunk-4QUCHTYC.js → chunk-KUWT3C2P.js} +1 -1
- package/{chunk-3VNWWVKB.js → chunk-L4KXQ6QP.js} +11 -0
- package/{chunk-QVG3PWRZ.js → chunk-M6NK74VP.js} +1 -1
- package/{chunk-RY3FI23Y.js → chunk-MPRDXX4T.js} +21 -13
- package/{chunk-6JPUN447.js → chunk-NOGH7HCP.js} +2 -2
- package/{chunk-XSOKISAS.js → chunk-OFYHCA6W.js} +1 -1
- package/{chunk-YSC3EI23.js → chunk-OZ6V53WV.js} +2 -2
- package/{chunk-EABW35A7.js → chunk-PQVOC2CZ.js} +1 -1
- package/{chunk-I3TQJXQ7.js → chunk-QFPJEU36.js} +5 -2
- package/{chunk-XSW2IKJM.js → chunk-RDIYKQKZ.js} +64 -10
- package/{chunk-PZVXRJOS.js → chunk-RRMAZ2BI.js} +1 -1
- package/{chunk-Z4JRRXTW.js → chunk-RVX32KGQ.js} +2 -2
- package/{chunk-UOCZAVYF.js → chunk-SUFNELDG.js} +3 -3
- package/{chunk-KFMLZ3B5.js → chunk-TS5BDIPV.js} +11 -11
- package/{chunk-AA2TX625.js → chunk-TUETDBTI.js} +2 -2
- package/{chunk-QFDNAM7T.js → chunk-TV5ODOAF.js} +3 -3
- package/chunk-U4STABYN.js +81 -0
- package/{chunk-VG72WLGI.js → chunk-U5QTKTZE.js} +1 -1
- package/{chunk-PVQQA3CQ.js → chunk-W247GBSQ.js} +1 -1
- package/{chunk-Q67DOFOO.js → chunk-Y3PMXGLH.js} +2 -0
- package/{commandRegistry-XMFDAEN3.js → commandRegistry-RF5DRRAH.js} +54 -54
- package/{contentThunks-CDGRYZSO.js → contentThunks-2PJ4QDAV.js} +8 -8
- package/{createAgentAutomationAction-HJZH45UP.js → createAgentAutomationAction-SWO62RE2.js} +8 -8
- package/{createDialogAction-W2U3KOFN.js → createDialogAction-2BMDM4X3.js} +9 -9
- package/{createPageAction-4VGPW4AZ.js → createPageAction-HLSLX4R4.js} +8 -8
- package/{dialogCommands-FBSQ4KJR.js → dialogCommands-LUR5GD4V.js} +15 -15
- package/{dialogSlice-MGEPXTGX.js → dialogSlice-7IGCUDZE.js} +7 -7
- package/{docCreateCommands-N2TPCEZ7.js → docCreateCommands-F4JYZZXQ.js} +14 -14
- package/{docDeleteCommands-FJA7Q6CI.js → docDeleteCommands-Z3QD6SGU.js} +15 -15
- package/{docReadCommands-2UZB5OR7.js → docReadCommands-UKTYKVGA.js} +14 -14
- package/{docStore-P6JMWIVK.js → docStore-OD3NRNBN.js} +1 -1
- package/{docUpdateCommands-BID4C3QP.js → docUpdateCommands-JSQCDHTL.js} +14 -14
- package/{getPricing-J4FPKSJC.js → getPricing-NMMFT3YI.js} +3 -3
- package/{handleSendMessageAction-HAVG5ANU.js → handleSendMessageAction-PRF7JNOH.js} +20 -9
- package/index.js +3 -3
- package/{machineCommands-WDAQIYYL.js → machineCommands-DXVYZM4A.js} +26 -26
- package/{machineWsRunDispatch-Y3MHLPCI.js → machineWsRunDispatch-VI2S5AUR.js} +26 -26
- package/{models-T3SG6MJ5.js → models-ZPU5EDF4.js} +2 -2
- package/package.json +1 -1
- package/{providerPresetApply-E5VR5GW5.js → providerPresetApply-7XEHTODR.js} +6 -6
- package/{providerRegistry-XNBDJTKJ.js → providerRegistry-GNV4FFSA.js} +6 -6
- package/{readlineWorkspace-AGIDALGO.js → readlineWorkspace-YSDOBOSD.js} +69 -125
- package/{runAgentClientLoop-7RNZVACU.js → runAgentClientLoop-66UNGCTW.js} +18 -18
- package/{spaceCommands-TKFZFVCA.js → spaceCommands-BPQ6XFKS.js} +14 -14
- package/{streamAgentChatTurn-T3WC62NT.js → streamAgentChatTurn-6F3M4KUY.js} +21 -21
- package/{tools-UHCAPZ22.js → tools-VSECJ5T7.js} +15 -15
- package/{tuiSummaryLlmCaller-W36LJRZU.js → tuiSummaryLlmCaller-7KLLDP22.js} +5 -5
- package/{updateDialogTitleAction-WBIR5A4A.js → updateDialogTitleAction-WE5KY3SM.js} +8 -8
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-AGGIDPCZ.js";
|
|
7
7
|
import {
|
|
8
8
|
getModelConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3BXNTXYI.js";
|
|
10
10
|
import {
|
|
11
11
|
isPlatformHostedImageModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
13
13
|
import {
|
|
14
14
|
asOptionalFiniteNumber
|
|
15
15
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
refreshAntigravityOAuthToken,
|
|
5
5
|
refreshOpenAiCodexToken,
|
|
6
6
|
xaiRefresh
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RDIYKQKZ.js";
|
|
8
8
|
import {
|
|
9
9
|
createChromeConnectorClient,
|
|
10
10
|
createVerifiedChromeConnectorClient,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
terminateRunProcess,
|
|
47
47
|
transitionRunToTerminal,
|
|
48
48
|
withQueueLock
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QFPJEU36.js";
|
|
50
50
|
import {
|
|
51
51
|
getDefaultCliLocalRuntimeDb
|
|
52
52
|
} from "./chunk-ZOVKKMF6.js";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
import {
|
|
64
64
|
inlineImageUrlsForCustomProvider,
|
|
65
65
|
prepareTools
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-SUFNELDG.js";
|
|
67
67
|
import {
|
|
68
68
|
getServerProviderSecret
|
|
69
69
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -82,11 +82,11 @@ import {
|
|
|
82
82
|
rememberMemoryFunctionSchema,
|
|
83
83
|
resolveAgentRequiredPackIds,
|
|
84
84
|
setTodoListFunc
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-MPRDXX4T.js";
|
|
86
86
|
import {
|
|
87
87
|
deriveCredentialGroup,
|
|
88
88
|
deriveCustomProviderCredentialGroup
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-OZ6V53WV.js";
|
|
90
90
|
import {
|
|
91
91
|
fetchWithTransientRetry,
|
|
92
92
|
isTransientFetchError
|
|
@@ -100,29 +100,30 @@ import {
|
|
|
100
100
|
formatStopRunCard,
|
|
101
101
|
isAgentNameFallback,
|
|
102
102
|
isAgentRunTerminalStatus,
|
|
103
|
+
normalizeRunTitle,
|
|
103
104
|
resolveRunLabel,
|
|
104
105
|
shortRunId
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-L4KXQ6QP.js";
|
|
106
107
|
import {
|
|
107
108
|
applyBuiltinAgentRuntimeOverride,
|
|
108
109
|
applyTokenUsageToDayStats,
|
|
109
110
|
prepareTokenUsageData,
|
|
110
111
|
resolveBuiltinPlatformAgentConfig,
|
|
111
112
|
runKeyed
|
|
112
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-TS5BDIPV.js";
|
|
113
114
|
import {
|
|
114
115
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
115
116
|
BUILTIN_TITLE_LLM_CONFIG
|
|
116
117
|
} from "./chunk-MC4XLIJ7.js";
|
|
117
118
|
import {
|
|
118
119
|
fetchServerSyncedCredential
|
|
119
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-TV5ODOAF.js";
|
|
120
121
|
import {
|
|
121
122
|
require_date_fns
|
|
122
123
|
} from "./chunk-M76ECQRD.js";
|
|
123
124
|
import {
|
|
124
125
|
getModelPricing
|
|
125
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-4DPP773Q.js";
|
|
126
127
|
import {
|
|
127
128
|
FORCED_TOOLS,
|
|
128
129
|
addDefaultLightWebToolsForConfiguredAgents,
|
|
@@ -162,7 +163,7 @@ import {
|
|
|
162
163
|
readDevinUpstreamFailure,
|
|
163
164
|
resolveOpenAiCompatibleProviderConfig,
|
|
164
165
|
summarizeToolArguments
|
|
165
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-65U5FCBE.js";
|
|
166
167
|
import {
|
|
167
168
|
accumulateGeminiChunks,
|
|
168
169
|
buildGeminiGenerateContentRequest,
|
|
@@ -173,7 +174,7 @@ import {
|
|
|
173
174
|
parseUpstreamErrorBody,
|
|
174
175
|
resolveAntigravityFinishReason,
|
|
175
176
|
shouldUseGeminiNativeToolRoute
|
|
176
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-U5QTKTZE.js";
|
|
177
178
|
import {
|
|
178
179
|
PlatformStreamInterruptedError,
|
|
179
180
|
buildPlatformChatCompletionRequest,
|
|
@@ -184,14 +185,14 @@ import {
|
|
|
184
185
|
readPlatformChatSseCompletion,
|
|
185
186
|
resolvePlatformChatProviderConfig,
|
|
186
187
|
shouldUsePlatformChatProvider
|
|
187
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-NOGH7HCP.js";
|
|
188
189
|
import {
|
|
189
190
|
readSseDataValues
|
|
190
191
|
} from "./chunk-GMZLP5DV.js";
|
|
191
192
|
import {
|
|
192
193
|
resolveAgentRuntimeConfigFromRecord,
|
|
193
194
|
resolveHistoricalToolContentCap
|
|
194
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-I4A26N52.js";
|
|
195
196
|
import {
|
|
196
197
|
isDevinOAuthAgent
|
|
197
198
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -218,13 +219,13 @@ import {
|
|
|
218
219
|
} from "./chunk-H6A6X4EK.js";
|
|
219
220
|
import {
|
|
220
221
|
isAntigravityOAuthAgent
|
|
221
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-M6NK74VP.js";
|
|
222
223
|
import {
|
|
223
224
|
resolvePlatformAuthToken
|
|
224
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-7MUSNQ6E.js";
|
|
225
226
|
import {
|
|
226
227
|
normalizeUsage
|
|
227
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-RVX32KGQ.js";
|
|
228
229
|
import {
|
|
229
230
|
clipCompactText,
|
|
230
231
|
createProviderCallTimingTracker,
|
|
@@ -251,7 +252,7 @@ import {
|
|
|
251
252
|
anthropicOAuthModelMaxOutputTokens,
|
|
252
253
|
getModelConfig,
|
|
253
254
|
isAdaptiveThinkingModelId
|
|
254
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-3BXNTXYI.js";
|
|
255
256
|
import {
|
|
256
257
|
createOAuthTokenStore,
|
|
257
258
|
isTokenExpired,
|
|
@@ -274,7 +275,7 @@ import {
|
|
|
274
275
|
import {
|
|
275
276
|
isNoloHostedProvider,
|
|
276
277
|
isPlatformHostedImageModel
|
|
277
|
-
} from "./chunk-
|
|
278
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
278
279
|
import {
|
|
279
280
|
createTokenKey,
|
|
280
281
|
createTokenStatsKey,
|
|
@@ -468,10 +469,6 @@ var STRINGS = {
|
|
|
468
469
|
en: "Esc to stop",
|
|
469
470
|
zh: "Esc \u505C\u6B62\u56DE\u590D"
|
|
470
471
|
},
|
|
471
|
-
queuedHint: {
|
|
472
|
-
en: "queued",
|
|
473
|
-
zh: "\u6392\u961F"
|
|
474
|
-
},
|
|
475
472
|
flushQueuedIdleHint: {
|
|
476
473
|
en: "Flushed {0} queued messages as one.",
|
|
477
474
|
zh: "\u5DF2\u628A {0} \u6761\u6392\u961F\u6D88\u606F\u5408\u5E76\u53D1\u9001\u3002"
|
|
@@ -11269,6 +11266,7 @@ function buildSnapshot(parsed, event) {
|
|
|
11269
11266
|
});
|
|
11270
11267
|
const logLines = readLogLines(parsed);
|
|
11271
11268
|
const taskPreview = readString(parsed.taskPreview);
|
|
11269
|
+
const title = normalizeRunTitle(parsed.title);
|
|
11272
11270
|
const lastToolNames = readToolNames(parsed.lastToolNames);
|
|
11273
11271
|
const lastAssistantText = readString(parsed.lastAssistantText);
|
|
11274
11272
|
const errorMessage = readString(parsed.errorMessage);
|
|
@@ -11281,6 +11279,7 @@ function buildSnapshot(parsed, event) {
|
|
|
11281
11279
|
// site: an unnamed run should render no name row, not the word "agent".
|
|
11282
11280
|
...isAgentNameFallback(label) ? {} : { agentName: label },
|
|
11283
11281
|
...taskPreview ? { taskPreview } : {},
|
|
11282
|
+
...title ? { title } : {},
|
|
11284
11283
|
...typeof parsed.toolCallCount === "number" && Number.isFinite(parsed.toolCallCount) ? { toolCallCount: parsed.toolCallCount } : {},
|
|
11285
11284
|
...lastToolNames ? { lastToolNames } : {},
|
|
11286
11285
|
...lastAssistantText ? { lastAssistantText } : {},
|
|
@@ -11749,9 +11748,11 @@ function createCliStartAgentRunExecutor(deps = {}) {
|
|
|
11749
11748
|
...batchId ? { batchId } : {},
|
|
11750
11749
|
...parentDialogId ? { parentDialogId } : {},
|
|
11751
11750
|
...typeof args.credentialGroup === "string" && args.credentialGroup.trim() ? { credentialGroup: args.credentialGroup.trim() } : {},
|
|
11752
|
-
allowUnknownCredential: args.allowUnknownCredential === true
|
|
11751
|
+
allowUnknownCredential: args.allowUnknownCredential === true,
|
|
11752
|
+
allowCredentialConcurrency: args.allowCredentialConcurrency === true
|
|
11753
11753
|
});
|
|
11754
11754
|
const dodCommands = Array.isArray(args.dodCommands) ? args.dodCommands.filter((c) => typeof c === "string" && c.trim().length > 0).map((c) => c.trim()) : typeof args.dod === "string" && args.dod.trim().length > 0 ? [args.dod.trim()] : Array.isArray(args.dod) ? args.dod.filter((c) => typeof c === "string" && c.trim().length > 0).map((c) => c.trim()) : void 0;
|
|
11755
|
+
const runTitle = normalizeRunTitle(args.title);
|
|
11755
11756
|
const { runId, batchId: resolvedBatchId } = await spawnLocalBackgroundRun(
|
|
11756
11757
|
{
|
|
11757
11758
|
rawArgs,
|
|
@@ -11759,6 +11760,7 @@ function createCliStartAgentRunExecutor(deps = {}) {
|
|
|
11759
11760
|
cliEntrypointPath: deps.cliEntrypoint,
|
|
11760
11761
|
agentKey,
|
|
11761
11762
|
...agentName ? { agentName } : {},
|
|
11763
|
+
...runTitle ? { title: runTitle } : {},
|
|
11762
11764
|
...batchId ? { batchId } : {},
|
|
11763
11765
|
...credentialGroup ? { credentialGroup } : {},
|
|
11764
11766
|
...parentDialogId ? { parentDialogId } : {},
|
|
@@ -11807,6 +11809,7 @@ function createCliStartAgentRunExecutor(deps = {}) {
|
|
|
11807
11809
|
batchId: resolvedBatchId,
|
|
11808
11810
|
...agentName ? { agentName } : {},
|
|
11809
11811
|
...taskPreview ? { taskPreview } : {},
|
|
11812
|
+
...runTitle ? { title: runTitle } : {},
|
|
11810
11813
|
payloadMetrics
|
|
11811
11814
|
}),
|
|
11812
11815
|
metadata: {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DEVIN_CONNECT_URL,
|
|
3
3
|
parseSseDataLineJson,
|
|
4
4
|
parseSseDataLineObject
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-U5QTKTZE.js";
|
|
6
6
|
import {
|
|
7
7
|
applyChatCompletionDelta,
|
|
8
8
|
applyResponsesToolEvent,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
flushChatCompletionStream,
|
|
12
12
|
providerHttpFailure,
|
|
13
13
|
throwIfChatCompletionStreamFailed
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NOGH7HCP.js";
|
|
15
15
|
import {
|
|
16
16
|
readSseFrames
|
|
17
17
|
} from "./chunk-GMZLP5DV.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveHistoricalToolContentCap,
|
|
24
24
|
resolveToolOutputProfile,
|
|
25
25
|
stripImagePartsFromMessages
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-I4A26N52.js";
|
|
27
27
|
import {
|
|
28
28
|
downgradeUnparsableToolCalls,
|
|
29
29
|
hasParsableObjectArguments,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
requiresBareImageUrl,
|
|
54
54
|
resolveToolGuidedSections,
|
|
55
55
|
toBareImageUrlMessages
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-CTGZO35O.js";
|
|
57
57
|
import {
|
|
58
58
|
convertMessagesToResponsesInput,
|
|
59
59
|
extractReasoningFromResponseOutput,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
import {
|
|
83
83
|
buildProviderAuthHeaders,
|
|
84
84
|
buildProviderExecutionPlan
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-7MUSNQ6E.js";
|
|
86
86
|
import {
|
|
87
87
|
EMPTY_ASSISTANT_REPAIR_PROMPT,
|
|
88
88
|
getModelContextWindow,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
resolveEmptyAssistantFallbackMessage,
|
|
94
94
|
resolveEmptyAssistantOutcome,
|
|
95
95
|
resolveTruncatedReasoningTailLog
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-RVX32KGQ.js";
|
|
97
97
|
import {
|
|
98
98
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
99
99
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SUFNELDG.js";
|
|
9
9
|
import {
|
|
10
10
|
parseApiError
|
|
11
11
|
} from "./chunk-OCZKATRC.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseToolCallArguments,
|
|
16
16
|
performFetchRequest,
|
|
17
17
|
sanitizeOutboundMessages
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DT7WS4NV.js";
|
|
19
19
|
import {
|
|
20
20
|
createToolRunId,
|
|
21
21
|
findToolExecutor,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
toolRunSetPending,
|
|
26
26
|
toolRunStarted,
|
|
27
27
|
toolRunSucceeded
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MPRDXX4T.js";
|
|
29
29
|
import {
|
|
30
30
|
createSSEParser
|
|
31
31
|
} from "./chunk-GOMR6S5Z.js";
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
messageStreamEnd,
|
|
38
38
|
messageStreaming,
|
|
39
39
|
updateToolMessage
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TS5BDIPV.js";
|
|
41
41
|
import {
|
|
42
42
|
streamAgentChatTurn
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TV5ODOAF.js";
|
|
44
44
|
import {
|
|
45
45
|
addActiveController,
|
|
46
46
|
removeActiveController,
|
|
@@ -61,13 +61,13 @@ import {
|
|
|
61
61
|
import {
|
|
62
62
|
EMPTY_ASSISTANT_REPAIR_PROMPT,
|
|
63
63
|
getModelInfo
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-RVX32KGQ.js";
|
|
65
65
|
import {
|
|
66
66
|
toErrorMessage
|
|
67
67
|
} from "./chunk-HNMXYYJR.js";
|
|
68
68
|
import {
|
|
69
69
|
getApiEndpoint
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-3BXNTXYI.js";
|
|
71
71
|
import {
|
|
72
72
|
selectCurrentServer
|
|
73
73
|
} from "./chunk-3IYMTWYZ.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3BXNTXYI.js";
|
|
4
4
|
import {
|
|
5
5
|
isPlatformHostedDeepseekModel,
|
|
6
6
|
isPlatformHostedOpenAIImageModel,
|
|
7
7
|
resolvePlatformHostedRouting
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
9
9
|
import {
|
|
10
10
|
asTrimmedLowercaseString
|
|
11
11
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W247GBSQ.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RRMAZ2BI.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OZ6V53WV.js";
|
|
11
11
|
import {
|
|
12
12
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
13
13
|
isOwnedAgentKey,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
resolvePlatformChatCompletionsEndpoint,
|
|
4
4
|
resolvePlatformHostedCredentialProvider,
|
|
5
5
|
resolvePlatformResponsesEndpoint
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7KVZ5LDQ.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-Y3PMXGLH.js";
|
|
15
15
|
import {
|
|
16
16
|
asTrimmedLowercaseString
|
|
17
17
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CRGSU5DB.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage,
|
|
6
6
|
uiAskChoiceFunc,
|
|
7
7
|
uiAskChoiceFunctionSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TS5BDIPV.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
|
|
17
17
|
PLATFORM_HOSTED_KIMI_PROVIDER
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
19
19
|
import {
|
|
20
20
|
read,
|
|
21
21
|
readAndWait,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M6NK74VP.js";
|
|
4
4
|
import {
|
|
5
5
|
kimiCodeModels,
|
|
6
6
|
moonshotModels,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
qwenTokenPlanModels,
|
|
10
10
|
stepfunModels,
|
|
11
11
|
stepfunStepPlanModels
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3BXNTXYI.js";
|
|
13
13
|
import {
|
|
14
14
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_OFF_PEAK_PRICE,
|
|
15
15
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE,
|
|
16
16
|
PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE,
|
|
17
17
|
PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
19
19
|
|
|
20
20
|
// packages/integrations/commandcode/models.ts
|
|
21
21
|
var commandCodeModels = [
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
t,
|
|
29
29
|
toolLabel,
|
|
30
30
|
toolLabelVariants
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5VI55RD6.js";
|
|
32
32
|
import {
|
|
33
33
|
clearCredentialAvailability,
|
|
34
34
|
readCredentialEntry,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
readDbRecord,
|
|
45
45
|
resolveAgentRecordFromHybridStore
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RRMAZ2BI.js";
|
|
47
47
|
import {
|
|
48
48
|
isLocalCliAgentKey
|
|
49
49
|
} from "./chunk-SV5IJK6K.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
resolveRunQueuePath,
|
|
58
58
|
settleRunTerminalAuthoritatively,
|
|
59
59
|
spawnLocalBackgroundRun
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-QFPJEU36.js";
|
|
61
61
|
import {
|
|
62
62
|
isCliAuthorityBrokerProtocolError,
|
|
63
63
|
isCliAuthorityBrokerTimeoutError,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
} from "./chunk-LTRXGFMS.js";
|
|
76
76
|
import {
|
|
77
77
|
formatAgentListCard
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-MPRDXX4T.js";
|
|
79
79
|
import {
|
|
80
80
|
isTransientFetchError
|
|
81
81
|
} from "./chunk-5UTFL4QJ.js";
|
|
@@ -90,17 +90,17 @@ import {
|
|
|
90
90
|
formatStatusRunCard,
|
|
91
91
|
formatStopRunCard,
|
|
92
92
|
isAgentRunTerminalStatus
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-L4KXQ6QP.js";
|
|
94
94
|
import {
|
|
95
95
|
buildMemorySubjectsForAgent,
|
|
96
96
|
chooseMemoryOwners,
|
|
97
97
|
loadMemoryCandidatesFromDb,
|
|
98
98
|
resolveAgentMemoryPolicy
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-A3JENOEB.js";
|
|
100
100
|
import {
|
|
101
101
|
API_REPORTED_COST_MULTIPLIER,
|
|
102
102
|
parseUiAskChoiceContent
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-TS5BDIPV.js";
|
|
104
104
|
import {
|
|
105
105
|
isOAuthApiKeyRef
|
|
106
106
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -115,10 +115,10 @@ import {
|
|
|
115
115
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
116
116
|
LOCAL_TURN_ABORTED_CODE,
|
|
117
117
|
readActionGate
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-65U5FCBE.js";
|
|
119
119
|
import {
|
|
120
120
|
resolveAgentRuntimeConfigFromRecord
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-I4A26N52.js";
|
|
122
122
|
import {
|
|
123
123
|
createThinkParserState,
|
|
124
124
|
flushThinkParser,
|
|
@@ -134,15 +134,15 @@ import {
|
|
|
134
134
|
} from "./chunk-H6A6X4EK.js";
|
|
135
135
|
import {
|
|
136
136
|
isAntigravityOAuthAgent
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-M6NK74VP.js";
|
|
138
138
|
import {
|
|
139
139
|
resolveClientVersion
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-7MUSNQ6E.js";
|
|
141
141
|
import {
|
|
142
142
|
DEFAULT_CONTEXT_WINDOW,
|
|
143
143
|
getModelContextWindow,
|
|
144
144
|
normalizeUsage
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-RVX32KGQ.js";
|
|
146
146
|
import {
|
|
147
147
|
clipCompactText
|
|
148
148
|
} from "./chunk-F64B2W3R.js";
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
} from "./chunk-HNMXYYJR.js";
|
|
155
155
|
import {
|
|
156
156
|
findModelConfig
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-3BXNTXYI.js";
|
|
158
158
|
import {
|
|
159
159
|
buildAgentsMdLayer,
|
|
160
160
|
buildMemoryOverlayLayer,
|
|
@@ -177,7 +177,7 @@ import {
|
|
|
177
177
|
CLIENT_VERSION_TOO_OLD_CODE,
|
|
178
178
|
NOLO_CLIENT_VERSION_HEADER,
|
|
179
179
|
buildClientVersionUpgradeMessage
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
181
181
|
import {
|
|
182
182
|
parsePositiveFiniteNumberOrFallback
|
|
183
183
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -10739,7 +10739,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10739
10739
|
// packages/cli/client/agentRun.ts
|
|
10740
10740
|
import { ulid as ulid2 } from "ulid";
|
|
10741
10741
|
async function loadRunLocalAgentTurn() {
|
|
10742
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10742
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-F7VBM3ZK.js");
|
|
10743
10743
|
return runLocalAgentTurn;
|
|
10744
10744
|
}
|
|
10745
10745
|
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-RGNEEJ3Y.js";
|
|
8
8
|
import {
|
|
9
9
|
getModelContextWindow
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RVX32KGQ.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-Y3PMXGLH.js";
|
|
22
22
|
import {
|
|
23
23
|
asTrimmedLowercaseString
|
|
24
24
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
clipMultilineText,
|
|
12
12
|
fetchAndSerializeTable
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MPRDXX4T.js";
|
|
14
14
|
import {
|
|
15
15
|
resolvePageReadMarkdown,
|
|
16
16
|
slateToSimplifiedMarkdown
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
} from "./chunk-MEYIRKDN.js";
|
|
21
21
|
import {
|
|
22
22
|
fetchAndCacheMessages
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TS5BDIPV.js";
|
|
24
24
|
import {
|
|
25
25
|
shouldUseServerProxy
|
|
26
26
|
} from "./chunk-YYLHWIW6.js";
|
|
27
27
|
import {
|
|
28
28
|
fetchServerSyncedCredential
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TV5ODOAF.js";
|
|
30
30
|
import {
|
|
31
31
|
buildSkillGuidancePromptBlock,
|
|
32
32
|
extractRuntimePageCapabilities,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
detectDispatchIntentFromMessages,
|
|
42
42
|
normalizeChatCompletionsBodyForProvider,
|
|
43
43
|
resolveToolGuidedSections
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CTGZO35O.js";
|
|
45
45
|
import {
|
|
46
46
|
convertMessagesToResponsesInput,
|
|
47
47
|
getUsageRequestOptions,
|
|
@@ -51,10 +51,10 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL,
|
|
53
53
|
isAntigravityOAuthAgent
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-M6NK74VP.js";
|
|
55
55
|
import {
|
|
56
56
|
buildProviderAuthHeaders
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7MUSNQ6E.js";
|
|
58
58
|
import {
|
|
59
59
|
estimateTokenCount
|
|
60
60
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
isOpenAiResponsesModel,
|
|
66
66
|
resolvePlatformChatCompletionsEndpoint,
|
|
67
67
|
resolvePlatformResponsesEndpoint
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-7KVZ5LDQ.js";
|
|
69
69
|
import {
|
|
70
70
|
toErrorMessage
|
|
71
71
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
clampReasoningEffort,
|
|
74
74
|
getModelConfig,
|
|
75
75
|
isModelSupportReasoningEffort
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-3BXNTXYI.js";
|
|
77
77
|
import {
|
|
78
78
|
createSpaceKey
|
|
79
79
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
isFireworksKimiModel,
|
|
91
91
|
isPlatformMimoProviderModel,
|
|
92
92
|
resolveFireworksKimiModel
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
94
94
|
import {
|
|
95
95
|
read
|
|
96
96
|
} from "./chunk-QALRKMHF.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5VI55RD6.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MPRDXX4T.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-65U5FCBE.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-RGNEEJ3Y.js";
|