nolo-cli 0.169.0-alpha.2 → 0.170.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-7J6IIHWQ.js → _executeModel-6PME6D4C.js} +25 -25
- package/{agentDeleteCommand-F66NIWCF.js → agentDeleteCommand-EKJD2CUS.js} +33 -33
- package/{agentEmailCommands-M4SHODDA.js → agentEmailCommands-RJTAA4BU.js} +35 -35
- package/{agentListCommands-4BBFWXHX.js → agentListCommands-NRNBGHJT.js} +21 -21
- package/{agentMachineCommands-R55P5SZY.js → agentMachineCommands-E3SC3UEK.js} +19 -19
- package/{agentProviderCommands-4USYTCL3.js → agentProviderCommands-TWVILNAN.js} +2 -2
- package/{agentRecordCommands-PDWACZFR.js → agentRecordCommands-N6SAR2LT.js} +33 -33
- package/{agentRunCommand-U2F74LTS.js → agentRunCommand-L5SRXCUP.js} +34 -34
- package/{agentRunControl-EI3BGJFM.js → agentRunControl-SBHIICUQ.js} +5 -5
- package/{agentRuntimeLocal-7EZYBR6X.js → agentRuntimeLocal-JHIG3HF7.js} +17 -17
- package/{agentSlice-UN7ZHCAM.js → agentSlice-2ZMQ4KVG.js} +1 -1
- package/{appDeleteCommands-WS3UFMCB.js → appDeleteCommands-E2UE3R24.js} +20 -20
- package/{appDeployCommands-W5B7I73P.js → appDeployCommands-BOF6NBNC.js} +20 -20
- package/{appDeployStatusCommands-UEHNV2GU.js → appDeployStatusCommands-YYN4TQOV.js} +20 -20
- package/{appGetCommands-XJOBVREN.js → appGetCommands-7IPMVGR3.js} +20 -20
- package/{appListCommands-BISQV6BQ.js → appListCommands-2T4KQCAO.js} +20 -20
- package/{authCommand-H35CPF25.js → authCommand-V426ZGG2.js} +8 -8
- package/{chunk-BSKTDOGA.js → chunk-24WNRCCO.js} +3 -3
- package/{chunk-FQU23S3P.js → chunk-3DV3V7RI.js} +11 -11
- package/{chunk-Z6HR75HX.js → chunk-47NIK3N5.js} +3 -3
- package/{chunk-WLPUUBFR.js → chunk-4OZD67JO.js} +2 -2
- package/{chunk-QW6SSF7V.js → chunk-4S4FWSMN.js} +12 -12
- package/{chunk-2DXGW4UO.js → chunk-5ESQFL6P.js} +9 -9
- package/{chunk-JPPQ3GUO.js → chunk-5Y3KXG5K.js} +1 -1
- package/{chunk-ASSNAASW.js → chunk-7ZGMQZ5D.js} +3 -3
- package/{chunk-URO44BCD.js → chunk-BLCK4HGZ.js} +1 -1
- package/{chunk-IMMA7QFE.js → chunk-CAAH5LNN.js} +2 -2
- package/{chunk-URW5UM6Y.js → chunk-CI5DVWU7.js} +1 -1
- package/{chunk-I7S63QUU.js → chunk-DPCJTC5B.js} +1 -1
- package/{chunk-IOFLVIKF.js → chunk-EWLPIR2S.js} +1 -1
- package/{chunk-6EQD4AQL.js → chunk-GC64WGMD.js} +1 -1
- package/{chunk-FYYSDHVQ.js → chunk-HLAL63BZ.js} +1 -1
- package/{chunk-3USFOET4.js → chunk-HQDLNI57.js} +3 -3
- package/{chunk-PIG2IUVZ.js → chunk-I2QHI2XM.js} +2 -2
- package/{chunk-46OQD3AP.js → chunk-IRXW3ZGE.js} +3 -3
- package/{chunk-CEXJ6Y3C.js → chunk-JNPJ67TZ.js} +1 -1
- package/{chunk-DI7ZFGDQ.js → chunk-K7BBHQH7.js} +2 -2
- package/{chunk-WC7UXON2.js → chunk-KZGUC5N4.js} +22 -22
- package/{chunk-2AZSL4GL.js → chunk-L3L2HDHT.js} +3 -3
- package/{chunk-7VWWGKEQ.js → chunk-O53IEDAL.js} +3 -3
- package/{chunk-KJETBEEN.js → chunk-OPNHKULV.js} +1 -1
- package/{chunk-EWO77ZGF.js → chunk-OQ3DOBYB.js} +3 -3
- package/{chunk-TOUKACDK.js → chunk-RATR6VCP.js} +1 -1
- package/{chunk-HZMWJUSD.js → chunk-RP6YUMFM.js} +2 -2
- package/{chunk-LEZLJTQ4.js → chunk-SUBKVXFM.js} +1 -1
- package/{chunk-SAZSXMTR.js → chunk-SZGJEMTC.js} +4 -4
- package/{chunk-ZPKUJROL.js → chunk-TDNAAXUQ.js} +2 -2
- package/{chunk-SQX235S2.js → chunk-TSCI6X6C.js} +1 -1
- package/{chunk-V7PCFWX3.js → chunk-TVGX5QIN.js} +2 -2
- package/{chunk-XLBQQ5SB.js → chunk-TWOTBHEN.js} +3 -3
- package/{chunk-XLQFVHNX.js → chunk-TYQZRSL6.js} +1 -1
- package/{chunk-WVREKHHJ.js → chunk-VAS64JGT.js} +3 -3
- package/{chunk-DHNQA4VI.js → chunk-VEOTS5RX.js} +1 -1
- package/{chunk-HEC32F3G.js → chunk-VN44QPWB.js} +1 -1
- package/{chunk-MFVOJ6KF.js → chunk-W6E5IXIP.js} +3 -3
- package/{chunk-XITIONPS.js → chunk-WEMVPAYW.js} +4 -4
- package/{chunk-3ELX6JK5.js → chunk-WU4JTQRE.js} +8 -8
- package/{chunk-G3VYRPTV.js → chunk-XHH46PLP.js} +1 -1
- package/{chunk-7NKZA46B.js → chunk-XVO6M6W2.js} +4 -4
- package/{chunk-KMDDG73K.js → chunk-XWX5ZGWR.js} +1 -1
- package/{chunk-45IOFLGH.js → chunk-XZJLEVFG.js} +10 -10
- package/{chunk-CMRP4XHV.js → chunk-YIPWD7ZO.js} +12 -12
- package/{chunk-O2AY3CVI.js → chunk-Z4XD4IR7.js} +16 -16
- package/{chunk-CEQFVBI2.js → chunk-ZMMGRJAJ.js} +2 -2
- package/{commandRegistry-3XBG7JHS.js → commandRegistry-STXOC6TH.js} +55 -55
- package/{contentThunks-OO3MJAED.js → contentThunks-VUSRUMEN.js} +9 -9
- package/{createAgentAutomationAction-F3O6FJ5W.js → createAgentAutomationAction-I4N55IOA.js} +9 -9
- package/{createDialogAction-UBQKDUK5.js → createDialogAction-4SH55WZK.js} +10 -10
- package/{createPageAction-RDEDO4GF.js → createPageAction-EXFA5U3J.js} +9 -9
- package/{dialogCommands-P5HSDZ7T.js → dialogCommands-TFQ2565H.js} +21 -21
- package/{dialogSlice-WZCWWYR3.js → dialogSlice-ADJ3IIBU.js} +8 -8
- package/{docCreateCommands-B2M3MGX7.js → docCreateCommands-YGPCBD7R.js} +19 -19
- package/{docDeleteCommands-NHCUX4XL.js → docDeleteCommands-GPZQZBRG.js} +20 -20
- package/{docReadCommands-FOLST4JD.js → docReadCommands-KL4TEA2P.js} +19 -19
- package/{docStore-PTSCGC6T.js → docStore-6SKEPSKB.js} +1 -1
- package/{docUpdateCommands-YZT2PQP2.js → docUpdateCommands-NVPR2H5R.js} +19 -19
- package/{getPricing-XQ3N3RBP.js → getPricing-2UPNNW3Y.js} +3 -3
- package/{handleSendMessageAction-3YMQS6XO.js → handleSendMessageAction-T4PCH565.js} +19 -19
- package/index.js +4 -4
- package/{localRuntimeAdapter-ZIAOTUBE.js → localRuntimeAdapter-IOYT4WQZ.js} +31 -31
- package/{machineCommands-3LSEP24P.js → machineCommands-T3VQ5ZSC.js} +32 -32
- package/{machineWsRunDispatch-7A3TSH4Q.js → machineWsRunDispatch-MC2ATAN6.js} +32 -32
- package/{models-PZQC7VV4.js → models-UUNO6DOL.js} +2 -2
- package/package.json +1 -1
- package/{providerPresetApply-PKUOHQJT.js → providerPresetApply-5K4PBX4J.js} +6 -6
- package/{providerRegistry-HNQLIFN2.js → providerRegistry-K5MSZ3Y5.js} +6 -6
- package/{readlineWorkspace-OFBP6OA7.js → readlineWorkspace-VWGKBL65.js} +40 -40
- package/{runAgentClientLoop-F6EQK26A.js → runAgentClientLoop-V6N5TFJ5.js} +23 -23
- package/{runtimeDoctorCommands-LYMJEM4F.js → runtimeDoctorCommands-MRIVZU4W.js} +5 -5
- package/{spaceCommands-XESXH5CW.js → spaceCommands-PDXZVD6O.js} +19 -19
- package/{streamAgentChatTurn-KXELVHFR.js → streamAgentChatTurn-RGSV5DZS.js} +29 -29
- package/{tools-FMNDEVTZ.js → tools-UOB4UXHK.js} +17 -17
- package/{tuiSummaryLlmCaller-FQOEF4IE.js → tuiSummaryLlmCaller-M2AORGW6.js} +8 -8
- package/{updateDialogTitleAction-65R3Y22L.js → updateDialogTitleAction-KTZFCYF2.js} +9 -9
- /package/{chunk-CGFNDIKK.js → chunk-5KTQVMCX.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZMMGRJAJ.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YIPWD7ZO.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
extractReasoningFromResponseOutput,
|
|
13
13
|
extractTextFromResponseOutput,
|
|
14
14
|
extractToolCallsFromResponseOutput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K7BBHQH7.js";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
18
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
resolvePlatformHostedCredentialProvider,
|
|
5
5
|
resolvePlatformProxyChatGatewayEndpoint,
|
|
6
6
|
resolvePlatformResponsesEndpoint
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TVGX5QIN.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_PROVIDER_VALUES
|
|
10
10
|
} from "./chunk-5BHQICF2.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
CLIENT_VERSION_TOO_OLD_CODE,
|
|
22
22
|
buildClientVersionGateErrorDetail,
|
|
23
23
|
evaluatePlatformHostedClientVersionGate
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5KTQVMCX.js";
|
|
25
25
|
import {
|
|
26
26
|
asTrimmedLowercaseString
|
|
27
27
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BLCK4HGZ.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YIPWD7ZO.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
import {
|
|
53
53
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
|
|
54
54
|
PLATFORM_HOSTED_KIMI_PROVIDER
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-5KTQVMCX.js";
|
|
56
56
|
|
|
57
57
|
// packages/chat/dialog/objectAssistantRegistry.ts
|
|
58
58
|
var OBJECT_ASSISTANT_TO_SKILL = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelContextWindow
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7ZGMQZ5D.js";
|
|
4
4
|
import {
|
|
5
5
|
isRecord
|
|
6
6
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
PLATFORM_HOSTED_KIMI_K3_MODEL,
|
|
12
12
|
isFireworksKimiModel,
|
|
13
13
|
isNoloHostedProvider
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5KTQVMCX.js";
|
|
15
15
|
import {
|
|
16
16
|
asTrimmedLowercaseString
|
|
17
17
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
refreshOpenAiCodexToken,
|
|
6
6
|
resolveServerSyncConfig,
|
|
7
7
|
xaiRefresh
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XHH46PLP.js";
|
|
9
9
|
import {
|
|
10
10
|
clearCredentialAvailability,
|
|
11
11
|
markCredentialUnavailable,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-BU2YQBV4.js";
|
|
55
55
|
import {
|
|
56
56
|
applyPublicAgentCatalogOverride
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-W6E5IXIP.js";
|
|
58
58
|
import {
|
|
59
59
|
buildCliPrompt
|
|
60
60
|
} from "./chunk-ATNTHIZI.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
inlineImageUrlsForCustomProvider,
|
|
66
66
|
prepareTools
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-L3L2HDHT.js";
|
|
68
68
|
import {
|
|
69
69
|
getServerProviderSecret
|
|
70
70
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -86,18 +86,18 @@ import {
|
|
|
86
86
|
resolveCliLocalRuntimeKeyCapability,
|
|
87
87
|
resolveCliLocalSpawnDispatch,
|
|
88
88
|
resolveStartAgentRunCwd
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-4S4FWSMN.js";
|
|
90
90
|
import {
|
|
91
91
|
deriveCredentialGroup,
|
|
92
92
|
deriveCustomProviderCredentialGroup
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-WEMVPAYW.js";
|
|
94
94
|
import {
|
|
95
95
|
fetchWithTransientRetry,
|
|
96
96
|
isTransientFetchError
|
|
97
97
|
} from "./chunk-KFHREHUQ.js";
|
|
98
98
|
import {
|
|
99
99
|
resolveAgentRequiredPackIds
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-4OZD67JO.js";
|
|
101
101
|
import {
|
|
102
102
|
applyBuiltinAgentRuntimeOverride,
|
|
103
103
|
applyTokenUsageToDayStats,
|
|
@@ -106,14 +106,14 @@ import {
|
|
|
106
106
|
resolveBuiltinPlatformAgentConfig,
|
|
107
107
|
runKeyed,
|
|
108
108
|
validateAskChoiceInput
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-YIPWD7ZO.js";
|
|
110
110
|
import {
|
|
111
111
|
BUILTIN_DIALOG_LLM_CHAT_FALLBACK_MODEL,
|
|
112
112
|
BUILTIN_TITLE_LLM_CONFIG
|
|
113
113
|
} from "./chunk-523DITKR.js";
|
|
114
114
|
import {
|
|
115
115
|
fetchServerSyncedCredential
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-TWOTBHEN.js";
|
|
117
117
|
import {
|
|
118
118
|
isTombstoneRecord
|
|
119
119
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
runExecShellGates,
|
|
171
171
|
validateConfiguredRootExecutionLease,
|
|
172
172
|
verifyOwnerRouteAck
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-5ESQFL6P.js";
|
|
174
174
|
import {
|
|
175
175
|
accumulateGeminiChunks,
|
|
176
176
|
buildGeminiGenerateContentRequest,
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
resolveAntigravityFinishReason,
|
|
183
183
|
resolveGeminiModelQuirks,
|
|
184
184
|
shouldUseGeminiNativeToolRoute
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-XWX5ZGWR.js";
|
|
186
186
|
import {
|
|
187
187
|
PlatformStreamInterruptedError,
|
|
188
188
|
buildPlatformChatCompletionRequest,
|
|
@@ -193,24 +193,24 @@ import {
|
|
|
193
193
|
readPlatformChatSseCompletion,
|
|
194
194
|
resolvePlatformChatProviderConfig,
|
|
195
195
|
shouldUsePlatformChatProvider
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-XVO6M6W2.js";
|
|
197
197
|
import {
|
|
198
198
|
readSseDataValues,
|
|
199
199
|
readSseFrames
|
|
200
200
|
} from "./chunk-HNUWUO75.js";
|
|
201
201
|
import {
|
|
202
202
|
resolveAgentRuntimeConfigFromRecord
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-JNPJ67TZ.js";
|
|
204
204
|
import {
|
|
205
205
|
resolveHistoricalToolContentCap
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-24WNRCCO.js";
|
|
207
207
|
import {
|
|
208
208
|
collectStablePromptPrefix,
|
|
209
209
|
convertMessagesToResponsesInput,
|
|
210
210
|
findAgentStatePairingIssues,
|
|
211
211
|
stablePromptCacheKey,
|
|
212
212
|
toResponsesTools
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-K7BBHQH7.js";
|
|
214
214
|
import {
|
|
215
215
|
buildNoloWorkspaceOpenAiTools,
|
|
216
216
|
filterClientNoloWorkspaceToolNames,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
import {
|
|
232
232
|
isOAuthApiKeyRef,
|
|
233
233
|
normalizeUsage
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-VN44QPWB.js";
|
|
235
235
|
import {
|
|
236
236
|
isDevinOAuthAgent
|
|
237
237
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -241,7 +241,7 @@ import {
|
|
|
241
241
|
observeMeaningfulProviderResponse,
|
|
242
242
|
observeMeaningfulProviderResponseAt,
|
|
243
243
|
withProviderCallTimingFields
|
|
244
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-7ZGMQZ5D.js";
|
|
245
245
|
import {
|
|
246
246
|
clipCompactText
|
|
247
247
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -303,7 +303,7 @@ import {
|
|
|
303
303
|
terminateRunProcess,
|
|
304
304
|
transitionRunToTerminal,
|
|
305
305
|
withQueueLock
|
|
306
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-CI5DVWU7.js";
|
|
307
307
|
import {
|
|
308
308
|
TASK_PREVIEW_MAX,
|
|
309
309
|
formatListRunsCard,
|
|
@@ -340,16 +340,16 @@ import {
|
|
|
340
340
|
} from "./chunk-LCBAMY2M.js";
|
|
341
341
|
import {
|
|
342
342
|
isAntigravityOAuthAgent
|
|
343
|
-
} from "./chunk-
|
|
343
|
+
} from "./chunk-TSCI6X6C.js";
|
|
344
344
|
import {
|
|
345
345
|
buildProviderSessionHeaders,
|
|
346
346
|
resolvePlatformAuthToken
|
|
347
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-I2QHI2XM.js";
|
|
348
348
|
import {
|
|
349
349
|
anthropicOAuthModelMaxOutputTokens,
|
|
350
350
|
findModelConfig,
|
|
351
351
|
isAdaptiveThinkingModelId
|
|
352
|
-
} from "./chunk-
|
|
352
|
+
} from "./chunk-GC64WGMD.js";
|
|
353
353
|
import {
|
|
354
354
|
CLI_PROVIDER_VALUES,
|
|
355
355
|
isCliProvider
|
|
@@ -12169,7 +12169,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
12169
12169
|
const recordRunExecutionIsolation = async () => {
|
|
12170
12170
|
try {
|
|
12171
12171
|
const { writeFileSync: writeFileSync4, mkdirSync: mkdirSync4 } = await import("node:fs");
|
|
12172
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
12172
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-SBHIICUQ.js");
|
|
12173
12173
|
const fact = resolveLocalRunExecutionIsolationFact({
|
|
12174
12174
|
// F1:显式点名宿主执行的 run 在审计里必须与 docker 沙盒区分开
|
|
12175
12175
|
// (reason: host-explicit-writes vs docker-workload)。
|
|
@@ -12201,7 +12201,7 @@ function createCliLocalRuntimeAdapter(deps) {
|
|
|
12201
12201
|
dockerWorkloadReleased = true;
|
|
12202
12202
|
dockerWorkloadLoad = null;
|
|
12203
12203
|
if (loaded) {
|
|
12204
|
-
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-
|
|
12204
|
+
const { resolveRunsDir: resolveRunsDir2 } = await import("./agentRunControl-SBHIICUQ.js");
|
|
12205
12205
|
const exportRunDiff = deps.exportDockerRunDiffArtifact ?? exportDockerRunDiffArtifact;
|
|
12206
12206
|
const warn = (message) => process.stderr.write(`[nolo] ${message}
|
|
12207
12207
|
`);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4S4FWSMN.js";
|
|
4
4
|
import {
|
|
5
5
|
runtime_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YIPWD7ZO.js";
|
|
7
7
|
import {
|
|
8
8
|
canonicalizeToolNames
|
|
9
9
|
} from "./chunk-5EBLANFT.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-KUG52IAP.js";
|
|
13
13
|
import {
|
|
14
14
|
isNoloHostedProvider
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5KTQVMCX.js";
|
|
16
16
|
import {
|
|
17
17
|
asTrimmedLowercaseString
|
|
18
18
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SUBKVXFM.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OPNHKULV.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WEMVPAYW.js";
|
|
11
11
|
import {
|
|
12
12
|
isTombstoneRecord
|
|
13
13
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -556,7 +556,7 @@ async function buildCreatedAgentRecord(args) {
|
|
|
556
556
|
const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
|
|
557
557
|
const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
|
|
558
558
|
if (args.parsed.presetId) {
|
|
559
|
-
const { resolveProviderPresetFields } = await import("./providerPresetApply-
|
|
559
|
+
const { resolveProviderPresetFields } = await import("./providerPresetApply-5K4PBX4J.js");
|
|
560
560
|
const fields = resolveProviderPresetFields(args.parsed.presetId);
|
|
561
561
|
if (fields.kind === "manual") {
|
|
562
562
|
throw new Error(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TSCI6X6C.js";
|
|
4
4
|
import {
|
|
5
5
|
commandCodeModels,
|
|
6
6
|
kimiCodeModels,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
qwenTokenPlanModels,
|
|
12
12
|
stepfunModels,
|
|
13
13
|
stepfunStepPlanModels
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GC64WGMD.js";
|
|
15
15
|
import {
|
|
16
16
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_OFF_PEAK_PRICE,
|
|
17
17
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE,
|
|
18
18
|
PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE,
|
|
19
19
|
PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5KTQVMCX.js";
|
|
21
21
|
import {
|
|
22
22
|
asTrimmedLowercaseString
|
|
23
23
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -333,7 +333,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
333
333
|
).unwrap();
|
|
334
334
|
if (dbSpaceId) {
|
|
335
335
|
try {
|
|
336
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
336
|
+
const { updateContentTitle } = await import("./contentThunks-VUSRUMEN.js");
|
|
337
337
|
await dispatch(
|
|
338
338
|
updateContentTitle({
|
|
339
339
|
spaceId: dbSpaceId,
|
|
@@ -372,7 +372,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
async function createDocState(args, thunkApi) {
|
|
375
|
-
const { createPageAction } = await import("./createPageAction-
|
|
375
|
+
const { createPageAction } = await import("./createPageAction-EXFA5U3J.js");
|
|
376
376
|
return createPageAction(args, thunkApi);
|
|
377
377
|
}
|
|
378
378
|
function subscribe(listener) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shouldUseServerProxy
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VN44QPWB.js";
|
|
4
4
|
import {
|
|
5
5
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL,
|
|
6
6
|
isAntigravityCloudCodeBaseUrl,
|
|
7
7
|
isAntigravityOAuthAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TSCI6X6C.js";
|
|
9
9
|
import {
|
|
10
10
|
isOpenAiResponsesModel,
|
|
11
11
|
resolvePlatformChatCompletionsEndpoint,
|
|
12
12
|
resolvePlatformResponsesEndpoint
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TVGX5QIN.js";
|
|
14
14
|
import {
|
|
15
15
|
findModelConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GC64WGMD.js";
|
|
17
17
|
import {
|
|
18
18
|
asOptionalTrimmedString
|
|
19
19
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
} from "./chunk-WWC7I6TA.js";
|
|
13
13
|
import {
|
|
14
14
|
getModelConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GC64WGMD.js";
|
|
16
16
|
import {
|
|
17
17
|
isPlatformHostedImageModel,
|
|
18
18
|
isPlatformManagedProvider,
|
|
19
19
|
resolvePlatformEffectiveModel
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5KTQVMCX.js";
|
|
21
21
|
|
|
22
22
|
// packages/ai/llm/getPricing.ts
|
|
23
23
|
var MAX_OUTPUT_TOKENS = 8192;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GC64WGMD.js";
|
|
4
4
|
import {
|
|
5
5
|
isPlatformHostedDeepseekModel,
|
|
6
6
|
isPlatformHostedOpenAIImageModel,
|
|
7
7
|
resolvePlatformHostedRouting
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5KTQVMCX.js";
|
|
9
9
|
import {
|
|
10
10
|
asTrimmedLowercaseString
|
|
11
11
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -347,7 +347,7 @@ var slice = createSliceWithThunks({
|
|
|
347
347
|
const overrides = {};
|
|
348
348
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
349
349
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
350
|
-
const { _executeModel } = await import("./_executeModel-
|
|
350
|
+
const { _executeModel } = await import("./_executeModel-6PME6D4C.js");
|
|
351
351
|
return _executeModel(
|
|
352
352
|
{
|
|
353
353
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -368,7 +368,7 @@ var slice = createSliceWithThunks({
|
|
|
368
368
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
369
369
|
*/
|
|
370
370
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
371
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
371
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-V6N5TFJ5.js");
|
|
372
372
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
373
373
|
{
|
|
374
374
|
agentKey: args.agentKey,
|
|
@@ -384,7 +384,7 @@ var slice = createSliceWithThunks({
|
|
|
384
384
|
* 聊天轮次流式 Agent 调用
|
|
385
385
|
*/
|
|
386
386
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
387
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
387
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-RGSV5DZS.js");
|
|
388
388
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
389
389
|
}),
|
|
390
390
|
/**
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-62TBKWTV.js";
|
|
7
7
|
import {
|
|
8
8
|
clearCliLocalRuntimePreparedAgentCache
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KZGUC5N4.js";
|
|
10
10
|
import {
|
|
11
11
|
readCredentialAvailability
|
|
12
12
|
} from "./chunk-R4BMKAR5.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resolveAgentRecordFromHybridStore,
|
|
20
20
|
sanitizeAgentRecordForCliOutput,
|
|
21
21
|
writeAgentRecord
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OPNHKULV.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveCliAgentKeyInput
|
|
25
25
|
} from "./chunk-NBTY7YJF.js";
|
|
@@ -244,7 +244,7 @@ async function runAgentCreateCommand(args, deps = {}) {
|
|
|
244
244
|
let verifyResult;
|
|
245
245
|
if (parsed.verify) {
|
|
246
246
|
try {
|
|
247
|
-
const { verifyCustomProvider } = await import("./agentProviderCommands-
|
|
247
|
+
const { verifyCustomProvider } = await import("./agentProviderCommands-TWVILNAN.js");
|
|
248
248
|
const rec = built.nextRecord;
|
|
249
249
|
verifyResult = await verifyCustomProvider({
|
|
250
250
|
providerUrl: rec.customProviderUrl,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelPricing
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TDNAAXUQ.js";
|
|
4
4
|
import {
|
|
5
5
|
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_ID,
|
|
6
6
|
PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID,
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
} from "./chunk-M2EJHDJP.js";
|
|
24
24
|
import {
|
|
25
25
|
getModelConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GC64WGMD.js";
|
|
27
27
|
import {
|
|
28
28
|
isRecord
|
|
29
29
|
} from "./chunk-KUG52IAP.js";
|
|
30
30
|
import {
|
|
31
31
|
isNoloHostedProvider,
|
|
32
32
|
isPlatformHostedImageModel
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5KTQVMCX.js";
|
|
34
34
|
|
|
35
35
|
// packages/core/publicAgentSeeds.ts
|
|
36
36
|
var AGENT_SEED_DEFAULTS = {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-JLR5NWP2.js";
|
|
12
12
|
import {
|
|
13
13
|
isOAuthApiKeyRef
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VN44QPWB.js";
|
|
15
15
|
import {
|
|
16
16
|
isOwnedAgentKey,
|
|
17
17
|
ownedAgentKey,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
} from "./chunk-M2EJHDJP.js";
|
|
20
20
|
import {
|
|
21
21
|
getModelAbility
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HLAL63BZ.js";
|
|
23
23
|
import {
|
|
24
24
|
isSubscriptionEndpoint,
|
|
25
25
|
isSubscriptionOAuthCredential
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OQ3DOBYB.js";
|
|
27
27
|
import {
|
|
28
28
|
isAntigravityOAuthAgent
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TSCI6X6C.js";
|
|
30
30
|
|
|
31
31
|
// packages/ai/agent/agentBilling.ts
|
|
32
32
|
function resolveBillingSource(candidate) {
|