nolo-cli 0.170.1 → 0.172.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-PVY4AXG4.js} +29 -29
- package/{agentDeleteCommand-F66NIWCF.js → agentDeleteCommand-QYNICESQ.js} +38 -37
- package/{agentEmailCommands-M4SHODDA.js → agentEmailCommands-QEJHRESH.js} +42 -41
- package/{agentListCommands-4BBFWXHX.js → agentListCommands-MGMBNFAS.js} +24 -23
- package/{agentMachineCommands-R55P5SZY.js → agentMachineCommands-SKOAHGVC.js} +22 -21
- package/{agentProviderCommands-4USYTCL3.js → agentProviderCommands-TWVILNAN.js} +2 -2
- package/{agentRecordCommands-PDWACZFR.js → agentRecordCommands-2NVWBDQN.js} +38 -37
- package/{agentRunCommand-U2F74LTS.js → agentRunCommand-2LHV37FZ.js} +39 -38
- package/{agentRunControl-EI3BGJFM.js → agentRunControl-SBHIICUQ.js} +5 -5
- package/{agentRuntimeLocal-7EZYBR6X.js → agentRuntimeLocal-K3777H5R.js} +20 -19
- package/{agentSlice-UN7ZHCAM.js → agentSlice-QMOFHPJR.js} +3 -3
- package/{appDeleteCommands-WS3UFMCB.js → appDeleteCommands-3HZNWZ2V.js} +23 -22
- package/{appDeployCommands-W5B7I73P.js → appDeployCommands-Q5BIBQE2.js} +23 -22
- package/{appDeployStatusCommands-UEHNV2GU.js → appDeployStatusCommands-ZZFFVM3W.js} +23 -22
- package/{appGetCommands-XJOBVREN.js → appGetCommands-7AAOXZQK.js} +23 -22
- package/{appListCommands-BISQV6BQ.js → appListCommands-H76IX2X5.js} +23 -22
- package/{authCommand-H35CPF25.js → authCommand-BSOLJFPV.js} +12 -12
- package/{builtinSkillRegistry-LJV7FHNI.js → builtinSkillRegistry-V76JTNCJ.js} +2 -2
- package/{chunk-DHNQA4VI.js → chunk-2FAQDT6E.js} +1 -1
- package/chunk-2WZXXAQD.js +57 -0
- package/{chunk-SH3XD4E2.js → chunk-3LNVSFTH.js} +2 -1
- package/{chunk-WC7UXON2.js → chunk-3XUE7WJA.js} +95 -38
- package/{chunk-XLBQQ5SB.js → chunk-54YLFF7P.js} +4 -4
- package/{chunk-O2AY3CVI.js → chunk-7OQ7IDU3.js} +19 -17
- package/{chunk-HEC32F3G.js → chunk-7TBARDLF.js} +1 -46
- package/{chunk-G3VYRPTV.js → chunk-AJ52EA72.js} +4 -4
- package/{chunk-JPPQ3GUO.js → chunk-APB44JID.js} +3 -3
- package/{chunk-XITIONPS.js → chunk-BE42X662.js} +4 -4
- package/{chunk-ASSNAASW.js → chunk-BKCR2JHG.js} +48 -3
- package/{chunk-IMMA7QFE.js → chunk-CAAH5LNN.js} +2 -2
- package/{chunk-45IOFLGH.js → chunk-CFLYUFMA.js} +11 -11
- package/{chunk-URW5UM6Y.js → chunk-CI5DVWU7.js} +1 -1
- package/{chunk-CMRP4XHV.js → chunk-DNQ55DHN.js} +13 -13
- package/{chunk-CEQFVBI2.js → chunk-EK3LIELB.js} +3 -3
- package/{chunk-IOFLVIKF.js → chunk-EWLPIR2S.js} +1 -1
- package/{chunk-6EQD4AQL.js → chunk-GC64WGMD.js} +1 -1
- package/{chunk-CEXJ6Y3C.js → chunk-HBUKJB3W.js} +9 -1
- package/{chunk-FYYSDHVQ.js → chunk-HLAL63BZ.js} +1 -1
- package/{chunk-PIG2IUVZ.js → chunk-I2QHI2XM.js} +2 -2
- package/{chunk-BSKTDOGA.js → chunk-I33CJERI.js} +3 -58
- package/{chunk-7VWWGKEQ.js → chunk-ISMHFI2Y.js} +3 -3
- package/{chunk-3ELX6JK5.js → chunk-JCILHZJZ.js} +10 -10
- package/{chunk-FQU23S3P.js → chunk-JIGBVOHH.js} +11 -11
- package/{chunk-I7S63QUU.js → chunk-KNDA4K34.js} +1 -1
- package/{chunk-Z6HR75HX.js → chunk-KUA3PPFK.js} +3 -3
- package/{chunk-2DXGW4UO.js → chunk-ME7N4YHG.js} +142 -30
- package/{chunk-WLPUUBFR.js → chunk-MOOQN57G.js} +3 -3
- package/{chunk-URO44BCD.js → chunk-MTAWQNSU.js} +1 -1
- package/{chunk-KJETBEEN.js → chunk-OPNHKULV.js} +1 -1
- package/{chunk-EWO77ZGF.js → chunk-OQ3DOBYB.js} +3 -3
- package/{chunk-2AZSL4GL.js → chunk-PPR6G2U2.js} +3 -3
- package/{chunk-TOUKACDK.js → chunk-RATR6VCP.js} +1 -1
- package/{chunk-DI7ZFGDQ.js → chunk-SHPY7A3P.js} +102 -3
- package/{chunk-LEZLJTQ4.js → chunk-SUBKVXFM.js} +1 -1
- package/{chunk-ZPKUJROL.js → chunk-TDNAAXUQ.js} +2 -2
- package/{chunk-3USFOET4.js → chunk-TI7ZIWYR.js} +3 -3
- package/{chunk-SQX235S2.js → chunk-TSCI6X6C.js} +1 -1
- package/{chunk-V7PCFWX3.js → chunk-TVGX5QIN.js} +2 -2
- package/{chunk-XLQFVHNX.js → chunk-TYQZRSL6.js} +1 -1
- package/{chunk-QW6SSF7V.js → chunk-UMVEB5QT.js} +15 -15
- package/{chunk-WVREKHHJ.js → chunk-UU4TLYRZ.js} +3 -3
- package/{chunk-HZMWJUSD.js → chunk-VAQ3EGPC.js} +2 -2
- package/{chunk-MFVOJ6KF.js → chunk-W6E5IXIP.js} +3 -3
- package/{chunk-YCRROBDY.js → chunk-WXOKJP3W.js} +2 -1
- package/{chunk-SAZSXMTR.js → chunk-XBJIESNS.js} +4 -4
- package/{chunk-46OQD3AP.js → chunk-XUZQCRSA.js} +4 -4
- package/{chunk-KMDDG73K.js → chunk-XWX5ZGWR.js} +1 -1
- package/{chunk-7NKZA46B.js → chunk-YEOFTC2H.js} +10 -4
- package/{commandRegistry-3XBG7JHS.js → commandRegistry-D3V6AB3G.js} +56 -56
- package/{contentThunks-OO3MJAED.js → contentThunks-P2GNXUKN.js} +11 -11
- package/{createAgentAutomationAction-F3O6FJ5W.js → createAgentAutomationAction-PQA43W2W.js} +11 -11
- package/{createDialogAction-UBQKDUK5.js → createDialogAction-ITOZ5TAM.js} +13 -13
- package/{createPageAction-RDEDO4GF.js → createPageAction-IKB3LOMU.js} +11 -11
- package/{dialogCommands-P5HSDZ7T.js → dialogCommands-IZAQB6GY.js} +24 -23
- package/{dialogSlice-WZCWWYR3.js → dialogSlice-Y6WIZWTC.js} +10 -10
- package/{docCreateCommands-B2M3MGX7.js → docCreateCommands-U25MRSOL.js} +22 -21
- package/{docDeleteCommands-NHCUX4XL.js → docDeleteCommands-F46A6FJZ.js} +23 -22
- package/{docReadCommands-FOLST4JD.js → docReadCommands-DITPVWA3.js} +22 -21
- package/{docStore-PTSCGC6T.js → docStore-HRNZKKVS.js} +1 -1
- package/{docUpdateCommands-YZT2PQP2.js → docUpdateCommands-O447KO7Z.js} +22 -21
- package/{getPricing-XQ3N3RBP.js → getPricing-2UPNNW3Y.js} +3 -3
- package/{handleSendMessageAction-3YMQS6XO.js → handleSendMessageAction-4OVVUVJ4.js} +24 -23
- package/index.js +4 -4
- package/{localRuntimeAdapter-ZIAOTUBE.js → localRuntimeAdapter-CL3QW3OJ.js} +36 -35
- package/{machineCommands-3LSEP24P.js → machineCommands-T3VQCFHT.js} +37 -36
- package/{machineWsRunDispatch-7A3TSH4Q.js → machineWsRunDispatch-IGX4UK4C.js} +37 -36
- 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-3IZBF57U.js} +45 -44
- package/{runAgentClientLoop-F6EQK26A.js → runAgentClientLoop-RUBF4JIP.js} +27 -27
- package/{runtimeDoctorCommands-LYMJEM4F.js → runtimeDoctorCommands-DXJH5HIB.js} +6 -6
- package/{secretCommands-DNY56NSU.js → secretCommands-7S6REMJV.js} +2 -2
- package/{spaceCommands-XESXH5CW.js → spaceCommands-FSATGIKW.js} +22 -21
- package/{streamAgentChatTurn-KXELVHFR.js → streamAgentChatTurn-N7UJ6FFK.js} +36 -35
- package/{tools-FMNDEVTZ.js → tools-Z7EJ6KIM.js} +21 -21
- package/{tuiSummaryLlmCaller-FQOEF4IE.js → tuiSummaryLlmCaller-ZETARZOH.js} +14 -8
- package/{updateDialogTitleAction-65R3Y22L.js → updateDialogTitleAction-CEFNJE4T.js} +11 -11
- package/{chunk-CGFNDIKK.js → chunk-5KTQVMCX.js} +0 -0
- package/{chunk-UHTDNB5Y.js → chunk-76YUTLOT.js} +3 -3
|
@@ -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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EK3LIELB.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DNQ55DHN.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-SHPY7A3P.js";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
18
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assembleAgentDiscoveryResult,
|
|
3
3
|
resolveDiscoveryScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BE42X662.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWithTransientRetry
|
|
7
7
|
} from "./chunk-KFHREHUQ.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
toolRunUpdated,
|
|
21
21
|
uiCardFallback,
|
|
22
22
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MOOQN57G.js";
|
|
24
24
|
import {
|
|
25
25
|
isGatewayHttpStatus
|
|
26
26
|
} from "./chunk-NF64D32W.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-VF4K2QE6.js";
|
|
65
65
|
import {
|
|
66
66
|
createDocState
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-VAQ3EGPC.js";
|
|
68
68
|
import {
|
|
69
69
|
addMemberSpace,
|
|
70
70
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-BAWAKW7X.js";
|
|
80
80
|
import {
|
|
81
81
|
createDialogAction
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-XUZQCRSA.js";
|
|
83
83
|
import {
|
|
84
84
|
setDialogExtraReferencesAction
|
|
85
85
|
} from "./chunk-IF7V3CBU.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-MTAWQNSU.js";
|
|
106
106
|
import {
|
|
107
107
|
buildDatabaseFileContentUrl,
|
|
108
108
|
deleteDialog,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
selectMsgById,
|
|
116
116
|
uiAskChoiceFunc,
|
|
117
117
|
uiAskChoiceFunctionSchema
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-DNQ55DHN.js";
|
|
119
119
|
import {
|
|
120
120
|
buildMediaToolConfirmation,
|
|
121
121
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
runLlm,
|
|
127
127
|
streamAgentChatTurn,
|
|
128
128
|
updateAgent
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-54YLFF7P.js";
|
|
130
130
|
import {
|
|
131
131
|
getCurrentSpaceId,
|
|
132
132
|
getCurrentSpaceIdRaw,
|
|
@@ -199,10 +199,10 @@ import {
|
|
|
199
199
|
import {
|
|
200
200
|
listBuiltinSkills,
|
|
201
201
|
resolveBuiltinSkillByName
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-3LNVSFTH.js";
|
|
203
203
|
import {
|
|
204
204
|
CAPABILITY_PACKS
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-WXOKJP3W.js";
|
|
206
206
|
import {
|
|
207
207
|
buildSkillDocMarkdown,
|
|
208
208
|
normalizeSkillModalities,
|
|
@@ -238,7 +238,7 @@ import {
|
|
|
238
238
|
} from "./chunk-DWLEOOGR.js";
|
|
239
239
|
import {
|
|
240
240
|
createFileCredentialBroker
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-76YUTLOT.js";
|
|
242
242
|
import {
|
|
243
243
|
asRecordOrEmpty
|
|
244
244
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -306,7 +306,7 @@ import {
|
|
|
306
306
|
DEFAULT_MODEL,
|
|
307
307
|
clampReasoningEffort,
|
|
308
308
|
resolveModelReasoningCapabilityWithCache
|
|
309
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-GC64WGMD.js";
|
|
310
310
|
import {
|
|
311
311
|
isRecord
|
|
312
312
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1020,7 +1020,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
1020
1020
|
workspace: { mode: "lease" }
|
|
1021
1021
|
};
|
|
1022
1022
|
var findModelConfig = async (modelName, provider) => {
|
|
1023
|
-
const { ALL_MODELS } = await import("./models-
|
|
1023
|
+
const { ALL_MODELS } = await import("./models-UUNO6DOL.js");
|
|
1024
1024
|
const name = toTrimmedString(modelName);
|
|
1025
1025
|
const prov = toTrimmedString(provider ?? "");
|
|
1026
1026
|
if (!name) return null;
|
|
@@ -1265,7 +1265,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1265
1265
|
const trimmedModel = toTrimmedString(model);
|
|
1266
1266
|
const trimmedProvider = toTrimmedString(provider);
|
|
1267
1267
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1268
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1268
|
+
const { getModelPricing } = await import("./getPricing-2UPNNW3Y.js");
|
|
1269
1269
|
const normalizedTools = tools ?? [];
|
|
1270
1270
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1271
1271
|
const formData = {
|
|
@@ -3882,7 +3882,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3882
3882
|
const deletedDialogIds = [];
|
|
3883
3883
|
const deletedDialogKeys = [];
|
|
3884
3884
|
const failures = [];
|
|
3885
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3885
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-Y6WIZWTC.js");
|
|
3886
3886
|
for (const target of targets) {
|
|
3887
3887
|
try {
|
|
3888
3888
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -18563,7 +18563,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18563
18563
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18564
18564
|
};
|
|
18565
18565
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18566
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18566
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-HRNZKKVS.js");
|
|
18567
18567
|
if (getDocState().pageKey === id) {
|
|
18568
18568
|
applyExternalDocUpdate({
|
|
18569
18569
|
slateData: finalSlateData,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-62TBKWTV.js";
|
|
7
7
|
import {
|
|
8
8
|
clearCliLocalRuntimePreparedAgentCache
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3XUE7WJA.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,
|
|
@@ -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-P2GNXUKN.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-IKB3LOMU.js");
|
|
376
376
|
return createPageAction(args, thunkApi);
|
|
377
377
|
}
|
|
378
378
|
function subscribe(listener) {
|
|
@@ -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 = {
|
|
@@ -71,11 +71,12 @@ var TOOL_PACKS = {
|
|
|
71
71
|
// L2 - 联网搜索:与 CAPABILITY_PACKS「web-search」对齐。
|
|
72
72
|
// 社交读工具属于「social-reader」包,不得因 exa_search 被旁路注入。
|
|
73
73
|
LIGHT_WEB: ["exa_search", "fetchWebpage"],
|
|
74
|
-
//
|
|
74
|
+
// 本地工作区代码读写、本地图片读取与执行。唯一真相源——「代码执行」能力包与 coding skill
|
|
75
75
|
// 都从这里取。以前两边各抄一份(coding 还多抄了 agent-orchestration 那 3 个),
|
|
76
76
|
// 改一个忘另一个就会静默不同步。
|
|
77
77
|
CODE: [
|
|
78
78
|
"readFile",
|
|
79
|
+
"read_image",
|
|
79
80
|
"writeFile",
|
|
80
81
|
"editFile",
|
|
81
82
|
"applyEdit",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shouldUseServerProxy
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BKCR2JHG.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";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MTAWQNSU.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DNQ55DHN.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-PXYBUFDB.js";
|
|
26
26
|
import {
|
|
27
27
|
buildBuiltinObjectSkillReference
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WXOKJP3W.js";
|
|
29
29
|
import {
|
|
30
30
|
extractCustomId
|
|
31
31
|
} from "./chunk-M2EJHDJP.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,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readSseFrames
|
|
3
3
|
} from "./chunk-HNUWUO75.js";
|
|
4
|
+
import {
|
|
5
|
+
resolveAgentImageInputSupport
|
|
6
|
+
} from "./chunk-I33CJERI.js";
|
|
4
7
|
import {
|
|
5
8
|
accumulateToolCallDelta,
|
|
6
9
|
createThinkParserState,
|
|
@@ -27,11 +30,11 @@ import {
|
|
|
27
30
|
stablePromptCacheKey,
|
|
28
31
|
toOpenAiCompatibleMessages,
|
|
29
32
|
toResponsesTools
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-SHPY7A3P.js";
|
|
31
34
|
import {
|
|
32
35
|
isMeaningfulChatCompletionOutput,
|
|
33
36
|
isMeaningfulResponsesOutput
|
|
34
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BKCR2JHG.js";
|
|
35
38
|
import {
|
|
36
39
|
clipCompactText
|
|
37
40
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -44,14 +47,14 @@ import {
|
|
|
44
47
|
resolvePlatformAuthToken,
|
|
45
48
|
resolvePlatformServerUrl,
|
|
46
49
|
resolveProviderTransportDecision
|
|
47
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-I2QHI2XM.js";
|
|
48
51
|
import {
|
|
49
52
|
isRecord
|
|
50
53
|
} from "./chunk-KUG52IAP.js";
|
|
51
54
|
import {
|
|
52
55
|
NOLO_CLIENT_VERSION_HEADER,
|
|
53
56
|
isPlatformMimoProviderModel
|
|
54
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-5KTQVMCX.js";
|
|
55
58
|
|
|
56
59
|
// packages/ai/token/sseUsageExtract.ts
|
|
57
60
|
var TOKEN_FIELDS = [
|
|
@@ -478,6 +481,7 @@ async function resolvePlatformChatProviderConfig(args) {
|
|
|
478
481
|
serverUrl: resolvePlatformServerUrl(args.env),
|
|
479
482
|
authToken: resolvePlatformAuthToken(args.env),
|
|
480
483
|
agentKey: args.agentConfig.key,
|
|
484
|
+
hasVision: args.agentConfig.hasVision,
|
|
481
485
|
model: plan.model,
|
|
482
486
|
provider: plan.provider,
|
|
483
487
|
endpoint: plan.endpoint,
|
|
@@ -493,6 +497,7 @@ async function resolvePlatformChatProviderConfig(args) {
|
|
|
493
497
|
serverUrl: plan.serverUrl,
|
|
494
498
|
authToken: plan.authToken,
|
|
495
499
|
agentKey: plan.agentKey,
|
|
500
|
+
hasVision: args.agentConfig.hasVision,
|
|
496
501
|
model: plan.model,
|
|
497
502
|
provider: plan.provider,
|
|
498
503
|
endpoint: plan.endpoint,
|
|
@@ -524,6 +529,7 @@ function buildPlatformChatCompletionRequest(args) {
|
|
|
524
529
|
input: convertMessagesToResponsesInput(sanitizedMessages)
|
|
525
530
|
} : {
|
|
526
531
|
messages: toOpenAiCompatibleMessages(sanitizedMessages, {
|
|
532
|
+
supportsToolImages: resolveAgentImageInputSupport({ provider: args.providerConfig.usageProvider ?? args.providerConfig.provider, model: args.providerConfig.model, customProviderUrl: args.providerConfig.endpoint, hasVision: args.providerConfig.hasVision ?? false }),
|
|
527
533
|
stripReasoningContent: shouldStripReasoning
|
|
528
534
|
})
|
|
529
535
|
},
|