nolo-cli 0.152.0-alpha.1 → 0.154.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-4KHFMQT4.js → _executeModel-SDGDBNX5.js} +35 -35
- package/{addContentAction-ZV774PHH.js → addContentAction-65ONHX2T.js} +4 -4
- package/{addDialogAgentAction-A6SMKAGH.js → addDialogAgentAction-WOLK7RB4.js} +3 -3
- package/{agentDeleteCommand-EKFV5FC7.js → agentDeleteCommand-W2XXF27A.js} +44 -44
- package/{agentEmailCommands-MNV3MUH5.js → agentEmailCommands-MSFGRDUZ.js} +46 -46
- package/{agentListCommands-E6FYKXC3.js → agentListCommands-G36AMSBR.js} +21 -21
- package/{agentMachineCommands-2GFUU7GF.js → agentMachineCommands-YVVPDIHJ.js} +18 -18
- package/{agentProviderCommands-HL6MBLCL.js → agentProviderCommands-X2HQE6HY.js} +2 -2
- package/{agentRecordCommands-LPHHTEPM.js → agentRecordCommands-7G3DDI4L.js} +44 -44
- package/{agentRunCommand-JSPW7W32.js → agentRunCommand-ET7LIY7J.js} +45 -45
- package/{agentRunControl-IFM7IGMG.js → agentRunControl-2C5GM3BW.js} +5 -5
- package/{agentRuntimeLocal-ARS4TV77.js → agentRuntimeLocal-Q7ZOMZC7.js} +16 -16
- package/{agentSlice-IP4DZNNV.js → agentSlice-MK5JTSZR.js} +4 -4
- package/{appDeleteCommands-JHTLKQSX.js → appDeleteCommands-MMWT54BR.js} +19 -19
- package/{appDeployCommands-5V26M2KA.js → appDeployCommands-OIFXVDOF.js} +19 -19
- package/{appDeployStatusCommands-SBSPS627.js → appDeployStatusCommands-OTXMSDFB.js} +19 -19
- package/{appGetCommands-NKPD2L45.js → appGetCommands-JPY36ANL.js} +19 -19
- package/{appListCommands-ZOGRZFYY.js → appListCommands-IHJGN36O.js} +19 -19
- package/{authCommand-QYN47CQD.js → authCommand-J3XILHWW.js} +8 -8
- package/{builtinSkillRegistry-TDQ6JB2E.js → builtinSkillRegistry-A6VSPJEJ.js} +3 -3
- package/{chunk-T5BHHWA5.js → chunk-24UXUXPR.js} +5 -5
- package/{chunk-4PXHOOFA.js → chunk-2MTE2PEH.js} +3 -3
- package/{chunk-GQV5KHJU.js → chunk-3C2QLERX.js} +1 -1
- package/{chunk-LC23WBCU.js → chunk-4WLENVCW.js} +4 -4
- package/{chunk-HIQ4GF53.js → chunk-4Z245KOA.js} +1 -1
- package/{chunk-HL3O3PCQ.js → chunk-6TF64IF2.js} +2 -2
- package/{chunk-XS47QOFV.js → chunk-7KYVUFDG.js} +1 -1
- package/{chunk-74RAWNQN.js → chunk-A7HQF6YH.js} +2 -2
- package/{chunk-HSJPKBLC.js → chunk-ANJTRG52.js} +2 -2
- package/{chunk-TYJ5XFEA.js → chunk-B2EGWZJG.js} +1 -1
- package/{chunk-PLSVXHSA.js → chunk-C5DLHL3R.js} +1 -1
- package/{chunk-KMM2X7LP.js → chunk-C7M4N5RA.js} +3 -3
- package/{chunk-CHCS6XPJ.js → chunk-CGFNDIKK.js} +65 -0
- package/{chunk-VJXHL6MH.js → chunk-EM3YOZJ4.js} +3 -3
- package/{chunk-D2QN6CTI.js → chunk-FDT27L7S.js} +2 -2
- package/{chunk-JWTSWUPS.js → chunk-FJRGRIVL.js} +3 -3
- package/{chunk-RVWMAFIT.js → chunk-FYYSDHVQ.js} +1 -1
- package/{chunk-USHQX6VT.js → chunk-G47IPDOK.js} +1 -1
- package/{chunk-XTWDF6RU.js → chunk-GJRCYN5X.js} +12 -12
- package/{chunk-EHFS4XZO.js → chunk-HHC5FJHS.js} +5 -5
- package/{chunk-ZF6526IQ.js → chunk-HKT6QXP3.js} +1 -1
- package/{chunk-ZIWPQEFU.js → chunk-HXHSTRGH.js} +1 -1
- package/{chunk-UBUH2TCC.js → chunk-I2RMFLLH.js} +2 -2
- package/{chunk-XRUSXPCQ.js → chunk-IPAW7XLD.js} +57 -4
- package/{chunk-GCKHQECX.js → chunk-IYBIRCQV.js} +1 -1
- package/{chunk-XZNCX52W.js → chunk-JGRPBIZZ.js} +1 -1
- package/{chunk-44WXLHFI.js → chunk-K43ZF2C3.js} +1 -1
- package/{chunk-JKMLSTZK.js → chunk-KX6LPG7W.js} +3 -3
- package/{chunk-DYYMIUN4.js → chunk-L6EQV5OC.js} +4 -4
- package/{chunk-SCMHQUMK.js → chunk-LGCICX53.js} +1 -1
- package/{chunk-EZVK3N5L.js → chunk-LOEO7LRC.js} +56 -0
- package/{chunk-64PFYIAY.js → chunk-LOLOIIIP.js} +24 -24
- package/{chunk-6LIKQYG4.js → chunk-LXTNZVD4.js} +12 -10
- package/{chunk-YVLQXTUB.js → chunk-MM3662RS.js} +1 -1
- package/{chunk-XCA6HQGS.js → chunk-N37ERV4O.js} +4 -4
- package/{chunk-RQ6E3G5L.js → chunk-NEJZ5GLD.js} +1 -1
- package/{chunk-ILU2NPWY.js → chunk-OGI4JKBD.js} +1 -1
- package/{chunk-OFVFQYIE.js → chunk-ON3WLDG2.js} +4 -4
- package/{chunk-MZHOLWW5.js → chunk-OU7WCUB5.js} +3 -3
- package/{chunk-F32Z66T4.js → chunk-PDJ6ZODI.js} +1 -1
- package/{chunk-TYYRSFBG.js → chunk-PSJWPSKS.js} +3 -3
- package/{chunk-I5V3V2H4.js → chunk-PSYTZ4LK.js} +18 -18
- package/{chunk-VNP54NZL.js → chunk-QRRFQFFU.js} +12 -12
- package/{chunk-PFBIXTFB.js → chunk-RGBBF2RB.js} +22 -22
- package/{chunk-K2AER7RX.js → chunk-SUKSWFLP.js} +2 -2
- package/{chunk-AHYBQP3M.js → chunk-SWZEIKWQ.js} +3 -3
- package/{chunk-KFHQQ3NO.js → chunk-T6CBQ6BN.js} +1 -1
- package/{chunk-E2AKSW7L.js → chunk-TJ2VPCBE.js} +1 -1
- package/{chunk-A4MW3YZL.js → chunk-TPG4CZHI.js} +1 -1
- package/{chunk-I4SN4NUQ.js → chunk-TRW43TSC.js} +1 -1
- package/{chunk-WD4XYDYC.js → chunk-TYND6RDQ.js} +164 -0
- package/{chunk-PPU323UE.js → chunk-UGN77YJU.js} +24 -24
- package/{chunk-ISQL4V7C.js → chunk-UTIMX333.js} +1 -1
- package/{chunk-EDX5XSJM.js → chunk-VEJFPTX7.js} +1 -1
- package/{chunk-PMYAE4OZ.js → chunk-WUR6LY7R.js} +3 -3
- package/{chunk-GKXCHNTE.js → chunk-Y6ORVLSS.js} +1 -1
- package/{chunk-RSHPU4PD.js → chunk-YANF2RR4.js} +2 -2
- package/{chunk-BNDETALN.js → chunk-ZG73GDYU.js} +12 -10
- package/{chunk-DTODXBHK.js → chunk-ZWG3C7VI.js} +2 -2
- package/{commandRegistry-VBALU4Q4.js → commandRegistry-VSJPFX6B.js} +57 -57
- package/{contentThunks-HPY2QNWZ.js → contentThunks-65BTQQQE.js} +15 -15
- package/{createAgentAutomationAction-6ADGPGY6.js → createAgentAutomationAction-SRMBZTAO.js} +15 -15
- package/{createDialogAction-6ABMSEW2.js → createDialogAction-OWAU72JP.js} +16 -16
- package/{createPageAction-OC4NNRPC.js → createPageAction-D4XGNX3P.js} +15 -15
- package/{dbSlice-J37OGIXH.js → dbSlice-S2HYXURM.js} +3 -3
- package/{dialogCommands-EIGBRSQP.js → dialogCommands-H3K7PTF6.js} +20 -20
- package/{dialogSlice-SI45KJOH.js → dialogSlice-GEBK3X5L.js} +14 -14
- package/{docCreateCommands-3JDBBMU5.js → docCreateCommands-KP64KMVL.js} +18 -18
- package/{docDeleteCommands-5M6C7UUB.js → docDeleteCommands-C3F4SZSR.js} +19 -19
- package/{docReadCommands-DUB57F6V.js → docReadCommands-7H6BDOUR.js} +18 -18
- package/{docStore-L43MDEK4.js → docStore-ARTZTJRA.js} +4 -4
- package/{docUpdateCommands-WF7MAMPK.js → docUpdateCommands-JDW4BRBH.js} +18 -18
- package/{getPricing-FKK3F5EJ.js → getPricing-TX35D7PI.js} +3 -3
- package/{handleSendMessageAction-BSMU7SVS.js → handleSendMessageAction-SPGAO47U.js} +26 -26
- package/index.js +4 -4
- package/{localRuntimeAdapter-N5PDR26F.js → localRuntimeAdapter-CHLHJSA3.js} +42 -42
- package/{machineCommands-TMXJKZCE.js → machineCommands-GVFN64CM.js} +43 -43
- package/{machineWsRunDispatch-25H63KEH.js → machineWsRunDispatch-3WXQ57DN.js} +43 -43
- package/{memberThunks-66DH6ABQ.js → memberThunks-VPTET5M2.js} +4 -4
- package/{models-LAS4B2B5.js → models-PZQC7VV4.js} +2 -2
- package/package.json +1 -1
- package/{providerPresetApply-MY66I6NT.js → providerPresetApply-CRZFMQD5.js} +6 -6
- package/{providerRegistry-QOE2FT57.js → providerRegistry-7IS43D3X.js} +6 -6
- package/{read-DC4NUGN6.js → read-VMMIHEAK.js} +2 -2
- package/{readDocTool-NCJ5NT25.js → readDocTool-4XSLKYSQ.js} +1 -1
- package/{readlineWorkspace-BS7WVCL2.js → readlineWorkspace-2WGUU7KH.js} +51 -49
- package/{removeDialogAgentAction-E2H3OZU6.js → removeDialogAgentAction-YIV37ENV.js} +4 -4
- package/{runAgentClientLoop-BVKRI4SY.js → runAgentClientLoop-WS2HFGIR.js} +33 -33
- package/{runtimeDoctorCommands-GIOGC5SC.js → runtimeDoctorCommands-56NWKNON.js} +5 -5
- package/{setDialogExtraReferencesAction-SITRPMYU.js → setDialogExtraReferencesAction-FWVD656I.js} +4 -4
- package/{setPrimaryDialogAgentAction-U7N45TGC.js → setPrimaryDialogAgentAction-HIPQTT6N.js} +4 -4
- package/{settingThunks-Y7SVJOMZ.js → settingThunks-SB37UY4C.js} +5 -5
- package/{spaceCommands-5EWREUWS.js → spaceCommands-JQN7D4FE.js} +18 -18
- package/{streamAgentChatTurn-B4VFUV52.js → streamAgentChatTurn-OSGLMHT6.js} +44 -93
- package/{switchDialogAgentAction-OMGBD3N2.js → switchDialogAgentAction-SLTPB635.js} +3 -3
- package/{tools-5WYAUKMK.js → tools-XF5A6N2B.js} +28 -28
- package/{tuiSummaryLlmCaller-PPU7YDBG.js → tuiSummaryLlmCaller-KLK6K3Q3.js} +8 -8
- package/{updateDialogTitleAction-YJHDKHFX.js → updateDialogTitleAction-IN5TBR23.js} +15 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assembleAgentDiscoveryResult,
|
|
3
3
|
resolveDiscoveryScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KX6LPG7W.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWithTransientRetry
|
|
7
7
|
} from "./chunk-I2ZMGXXF.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
toolRunUpdated,
|
|
21
21
|
uiCardFallback,
|
|
22
22
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HHC5FJHS.js";
|
|
24
24
|
import {
|
|
25
25
|
isGatewayHttpStatus
|
|
26
26
|
} from "./chunk-NF64D32W.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
AGENT_UPDATE_FIELD_NAMES,
|
|
36
36
|
normalizeAgentUpdateFieldList
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HXHSTRGH.js";
|
|
38
38
|
import {
|
|
39
39
|
ToolApiError,
|
|
40
40
|
buildToolRequestHeaders,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
readPageFunc,
|
|
50
50
|
readPageFunctionSchema,
|
|
51
51
|
resolvePageReadMarkdown
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LGCICX53.js";
|
|
53
53
|
import {
|
|
54
54
|
markdownToSlate
|
|
55
55
|
} from "./chunk-5MM7NNO6.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-VF4K2QE6.js";
|
|
65
65
|
import {
|
|
66
66
|
createDocState
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-C7M4N5RA.js";
|
|
68
68
|
import {
|
|
69
69
|
addMemberSpace,
|
|
70
70
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -76,13 +76,13 @@ import {
|
|
|
76
76
|
setMembershipRejected,
|
|
77
77
|
setSpaceInitialized,
|
|
78
78
|
updateMemberSpaceName
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-OGI4JKBD.js";
|
|
80
80
|
import {
|
|
81
81
|
createDialogAction
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-N37ERV4O.js";
|
|
83
83
|
import {
|
|
84
84
|
setDialogExtraReferencesAction
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-PDJ6ZODI.js";
|
|
86
86
|
import {
|
|
87
87
|
shareResourceAction
|
|
88
88
|
} from "./chunk-EYWJT7A2.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-ON3WLDG2.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-RGBBF2RB.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-4WLENVCW.js";
|
|
130
130
|
import {
|
|
131
131
|
getCurrentSpaceId,
|
|
132
132
|
getCurrentSpaceIdRaw,
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
UNCATEGORIZED_ID,
|
|
154
154
|
addContentAction,
|
|
155
155
|
checkSpaceMembership
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-VEJFPTX7.js";
|
|
157
157
|
import {
|
|
158
158
|
createSpaceKey,
|
|
159
159
|
normalizeSpaceId
|
|
@@ -169,10 +169,10 @@ import {
|
|
|
169
169
|
selectEntities,
|
|
170
170
|
toTimestampMs,
|
|
171
171
|
write
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-A7HQF6YH.js";
|
|
173
173
|
import {
|
|
174
174
|
readAction
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-TPG4CZHI.js";
|
|
176
176
|
import {
|
|
177
177
|
DEVICE_LOCAL_OWNER_ID,
|
|
178
178
|
getRuntimeServerContext,
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
import {
|
|
200
200
|
listBuiltinSkills,
|
|
201
201
|
resolveBuiltinSkillByName
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-4Z245KOA.js";
|
|
203
203
|
import {
|
|
204
204
|
CAPABILITY_PACKS
|
|
205
205
|
} from "./chunk-JZX2XLKC.js";
|
|
@@ -302,7 +302,7 @@ import {
|
|
|
302
302
|
DEFAULT_MODEL,
|
|
303
303
|
clampReasoningEffort,
|
|
304
304
|
resolveModelReasoningCapabilityWithCache
|
|
305
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-TRW43TSC.js";
|
|
306
306
|
import {
|
|
307
307
|
isRecord
|
|
308
308
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1019,7 +1019,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
1019
1019
|
workspace: { mode: "lease" }
|
|
1020
1020
|
};
|
|
1021
1021
|
var findModelConfig = async (modelName, provider) => {
|
|
1022
|
-
const { ALL_MODELS } = await import("./models-
|
|
1022
|
+
const { ALL_MODELS } = await import("./models-PZQC7VV4.js");
|
|
1023
1023
|
const name = toTrimmedString(modelName);
|
|
1024
1024
|
const prov = toTrimmedString(provider ?? "");
|
|
1025
1025
|
if (!name) return null;
|
|
@@ -1264,7 +1264,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1264
1264
|
const trimmedModel = toTrimmedString(model);
|
|
1265
1265
|
const trimmedProvider = toTrimmedString(provider);
|
|
1266
1266
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1267
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1267
|
+
const { getModelPricing } = await import("./getPricing-TX35D7PI.js");
|
|
1268
1268
|
const normalizedTools = tools ?? [];
|
|
1269
1269
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1270
1270
|
const formData = {
|
|
@@ -3881,7 +3881,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3881
3881
|
const deletedDialogIds = [];
|
|
3882
3882
|
const deletedDialogKeys = [];
|
|
3883
3883
|
const failures = [];
|
|
3884
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3884
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-GEBK3X5L.js");
|
|
3885
3885
|
for (const target of targets) {
|
|
3886
3886
|
try {
|
|
3887
3887
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4197,7 +4197,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4197
4197
|
}
|
|
4198
4198
|
};
|
|
4199
4199
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4200
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4200
|
+
const { buildReadDocResult } = await import("./readDocTool-4XSLKYSQ.js");
|
|
4201
4201
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4202
4202
|
if (typeof id !== "string" || !id.trim()) {
|
|
4203
4203
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -4986,7 +4986,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
4986
4986
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
4987
4987
|
const readSpace = async (dbKey) => {
|
|
4988
4988
|
try {
|
|
4989
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
4989
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-S2HYXURM.js");
|
|
4990
4990
|
if (fresh) {
|
|
4991
4991
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
4992
4992
|
}
|
|
@@ -11522,7 +11522,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
11522
11522
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
11523
11523
|
async function addImageContentToSpace(input) {
|
|
11524
11524
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
11525
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
11525
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-65ONHX2T.js")).addContentAction;
|
|
11526
11526
|
await addContentAction2(
|
|
11527
11527
|
{
|
|
11528
11528
|
spaceId: input.spaceId,
|
|
@@ -18307,7 +18307,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18307
18307
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18308
18308
|
};
|
|
18309
18309
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18310
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18310
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-ARTZTJRA.js");
|
|
18311
18311
|
if (getDocState().pageKey === id) {
|
|
18312
18312
|
applyExternalDocUpdate({
|
|
18313
18313
|
slateData: finalSlateData,
|
|
@@ -18332,7 +18332,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18332
18332
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
18333
18333
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
18334
18334
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
18335
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-
|
|
18335
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-SB37UY4C.js")).setSettings;
|
|
18336
18336
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
18337
18337
|
}
|
|
18338
18338
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-P5QACQDK.js";
|
|
7
7
|
import {
|
|
8
8
|
clearCliLocalRuntimePreparedAgentCache
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LOLOIIIP.js";
|
|
10
10
|
import {
|
|
11
11
|
readCredentialAvailability
|
|
12
12
|
} from "./chunk-6MXDOUMH.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resolveAgentRecordFromHybridStore,
|
|
20
20
|
sanitizeAgentRecordForCliOutput,
|
|
21
21
|
writeAgentRecord
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HKT6QXP3.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-X2HQE6HY.js");
|
|
248
248
|
const rec = built.nextRecord;
|
|
249
249
|
verifyResult = await verifyCustomProvider({
|
|
250
250
|
providerUrl: rec.customProviderUrl,
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
} from "./chunk-WWC7I6TA.js";
|
|
13
13
|
import {
|
|
14
14
|
getModelConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TRW43TSC.js";
|
|
16
16
|
import {
|
|
17
17
|
isPlatformHostedImageModel,
|
|
18
18
|
isPlatformManagedProvider,
|
|
19
19
|
resolvePlatformEffectiveModel
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CGFNDIKK.js";
|
|
21
21
|
|
|
22
22
|
// packages/ai/llm/getPricing.ts
|
|
23
23
|
var MAX_OUTPUT_TOKENS = 8192;
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DEVIN_CONNECT_URL,
|
|
3
3
|
parseSseDataLineJson,
|
|
4
4
|
parseSseDataLineObject
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3C2QLERX.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-L6EQV5OC.js";
|
|
15
15
|
import {
|
|
16
16
|
readSseFrames
|
|
17
17
|
} from "./chunk-HNUWUO75.js";
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
hasImageInRuntimeMessages,
|
|
27
27
|
resolveAgentContextWindow,
|
|
28
28
|
stripImagePartsFromMessages
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ANJTRG52.js";
|
|
30
30
|
import {
|
|
31
31
|
clipToolText,
|
|
32
32
|
resolveAgentImageInputSupport,
|
|
33
33
|
resolveHistoricalToolContentCap,
|
|
34
34
|
resolveToolOutputProfile
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-IYBIRCQV.js";
|
|
36
36
|
import {
|
|
37
37
|
applyShapingCounts,
|
|
38
38
|
attachProjectionFacts,
|
|
@@ -56,6 +56,7 @@ import {
|
|
|
56
56
|
PARALLEL_DISPATCH_DEFAULT_RULE,
|
|
57
57
|
PLATFORM_RISK_CONTROL_RULE,
|
|
58
58
|
TOOL_GUIDED_SECTION_ORDER,
|
|
59
|
+
buildConsultationModeBlock,
|
|
59
60
|
buildIdentityBlock,
|
|
60
61
|
buildRuntimeGuidanceBlocks,
|
|
61
62
|
detectDispatchIntent,
|
|
@@ -63,7 +64,7 @@ import {
|
|
|
63
64
|
estimateContextTokens,
|
|
64
65
|
hashStablePrefixContent,
|
|
65
66
|
resolveToolGuidedSections
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-TYND6RDQ.js";
|
|
67
68
|
import {
|
|
68
69
|
classifyUnparsableToolArgs,
|
|
69
70
|
collectStablePromptPrefix,
|
|
@@ -87,7 +88,7 @@ import {
|
|
|
87
88
|
toOpenAiCompatibleMessages,
|
|
88
89
|
toResponsesTools,
|
|
89
90
|
transferDowngradedToolTurnOrigin
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-6TF64IF2.js";
|
|
91
92
|
import {
|
|
92
93
|
BRIDGE_STREAM_MAX_CHARS,
|
|
93
94
|
DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
|
|
@@ -116,7 +117,7 @@ import {
|
|
|
116
117
|
resolveEmptyAssistantFallbackMessage,
|
|
117
118
|
resolveEmptyAssistantOutcome,
|
|
118
119
|
resolveTruncatedReasoningTailLog
|
|
119
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-ZWG3C7VI.js";
|
|
120
121
|
import {
|
|
121
122
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
122
123
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -139,7 +140,7 @@ import {
|
|
|
139
140
|
sha256Hex,
|
|
140
141
|
truncateToolOutputForContext,
|
|
141
142
|
withProviderCallTimingFields
|
|
142
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-2MTE2PEH.js";
|
|
143
144
|
import {
|
|
144
145
|
clipCompactText
|
|
145
146
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -172,7 +173,7 @@ import {
|
|
|
172
173
|
import {
|
|
173
174
|
buildProviderAuthHeaders,
|
|
174
175
|
buildProviderExecutionPlan
|
|
175
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-SUKSWFLP.js";
|
|
176
177
|
import {
|
|
177
178
|
isRecord
|
|
178
179
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -19758,6 +19759,7 @@ async function runLocalAgentTurn(input) {
|
|
|
19758
19759
|
{ content: PARALLEL_DISPATCH_DEFAULT_RULE, cacheScope: "session" },
|
|
19759
19760
|
// 平台风控纪律:无条件系统层块,沿用 session 占位约定。
|
|
19760
19761
|
{ content: PLATFORM_RISK_CONTROL_RULE, cacheScope: "session" },
|
|
19762
|
+
{ content: buildConsultationModeBlock(), cacheScope: "session" },
|
|
19761
19763
|
{ content: identityBlock, cacheScope: "session" },
|
|
19762
19764
|
...guidanceScopes,
|
|
19763
19765
|
...callerScopes
|
|
@@ -21669,7 +21671,7 @@ function buildLoadSkillExecutor(args2) {
|
|
|
21669
21671
|
const { resolveSkillByName } = await import("./skillDiscovery-QC35EQY4.js");
|
|
21670
21672
|
const resolved = resolveSkillByName(args2.cwd, name);
|
|
21671
21673
|
if (!resolved) {
|
|
21672
|
-
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-
|
|
21674
|
+
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-A6VSPJEJ.js");
|
|
21673
21675
|
const builtin = resolveBuiltinSkillByName(name);
|
|
21674
21676
|
if (builtin) {
|
|
21675
21677
|
return {
|