nolo-cli 0.88.0-alpha.2 → 0.89.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-S7KQX4XS.js → _executeModel-I3XRMAJ2.js} +30 -30
- package/{action-JZ62BXLX.js → action-7GHFPDSQ.js} +4 -4
- package/{addContentAction-2ETXWERA.js → addContentAction-ZNVB2NOV.js} +2 -2
- package/{addDialogAgentAction-COSPGJ4K.js → addDialogAgentAction-CIDFWATM.js} +1 -1
- package/{agentDeleteCommand-J6Y2C5X2.js → agentDeleteCommand-DCTG26JW.js} +18 -18
- package/{agentEmailCommands-TGZ5DJAB.js → agentEmailCommands-MRRHBLDQ.js} +40 -40
- package/{agentListCommands-UIDWO3EG.js → agentListCommands-CUE46CSP.js} +20 -20
- package/{agentMachineCommands-FPSZ6FJ4.js → agentMachineCommands-FYDEKBIO.js} +18 -18
- package/{agentProviderCommands-65ZC2WB4.js → agentProviderCommands-X3FA6BUM.js} +87 -0
- package/{agentPullCommand-N7L2CT7L.js → agentPullCommand-U73W5IBM.js} +1 -1
- package/{agentRecordCommands-6SCONH5I.js → agentRecordCommands-P2MSNP7R.js} +39 -39
- package/{agentRunCommand-2IXI6Z2U.js → agentRunCommand-QJGP7JEN.js} +39 -39
- package/{agentRuntimeLocal-UYU2POZ7.js → agentRuntimeLocal-T43UNWAY.js} +15 -15
- package/{agentSlice-J5XXG3H7.js → agentSlice-7GDS5Q2S.js} +2 -2
- package/{appDeleteCommands-BVSKDJNM.js → appDeleteCommands-YBKY3VEI.js} +18 -18
- package/{appDeployCommands-UTPULKP3.js → appDeployCommands-EBC76HO4.js} +18 -18
- package/{appDeployStatusCommands-DKDE2ECO.js → appDeployStatusCommands-WXRC5KEK.js} +18 -18
- package/{appGetCommands-KT7A7JJQ.js → appGetCommands-VZZQEDOV.js} +18 -18
- package/{appListCommands-MTHRLBXS.js → appListCommands-HYSPVQ77.js} +18 -18
- package/{authCommand-NNFLRLGJ.js → authCommand-E4GDVKMW.js} +9 -9
- package/{authCommands-364ESL7K.js → authCommands-VOTT6XWX.js} +2 -2
- package/{builtinSkillRegistry-VXSNE7LM.js → builtinSkillRegistry-5SYVTS6Z.js} +3 -3
- package/{chatQueueReduxAdapter-6I4F5TQW.js → chatQueueReduxAdapter-CXEWIDFZ.js} +13 -13
- package/{chunk-NG4UT4K4.js → chunk-23RQKXP6.js} +1 -1
- package/{chunk-C3FZR5EC.js → chunk-2F7RJC6L.js} +1 -1
- package/{chunk-SR2I44ML.js → chunk-2XEVK4BT.js} +1 -1
- package/{chunk-BQKN5ZHZ.js → chunk-3T4PRBHV.js} +1 -1
- package/{chunk-M5K26BH3.js → chunk-4FRNB4ZG.js} +4 -4
- package/{chunk-X7WAX4JU.js → chunk-5EJZGJS2.js} +1 -1
- package/{chunk-MXUSPS2N.js → chunk-6H7GN3JL.js} +1554 -1529
- package/{chunk-5CEIOSBX.js → chunk-6RCZYDDC.js} +5 -5
- package/{chunk-PBMUDRON.js → chunk-6ZC5KPXV.js} +303 -18
- package/{chunk-MGRRXGZD.js → chunk-AYT2OKNM.js} +3 -3
- package/{chunk-KR3MGGC7.js → chunk-BNMZ7QUV.js} +1 -1
- package/{chunk-LHDV2QUI.js → chunk-DS3SQTDT.js} +1 -1
- package/{chunk-6LUUGZTS.js → chunk-EXWOCYCR.js} +3 -3
- package/{chunk-N4X2KIYL.js → chunk-GIG262ZG.js} +1 -1
- package/{chunk-WKJC6UOK.js → chunk-GRJTR4PU.js} +2 -2
- package/{chunk-T2EUOLNJ.js → chunk-GXWEF4IZ.js} +1 -1
- package/{chunk-M2ZBPSGH.js → chunk-IMDA4FW4.js} +19 -19
- package/{chunk-6IHWRTUK.js → chunk-IO7DYRPW.js} +3 -3
- package/{chunk-BEQGQMYW.js → chunk-IZAWJCG7.js} +1 -1
- package/{chunk-PP3LAL6G.js → chunk-JC2WQS66.js} +14 -14
- package/{chunk-S6FCVZ4I.js → chunk-JITSBA52.js} +2 -2
- package/{chunk-DJM4BCSB.js → chunk-KT6LENVP.js} +2 -2
- package/{chunk-QIU65GHY.js → chunk-L2VNQQ7M.js} +20 -20
- package/{chunk-IBT5GKZM.js → chunk-LEYH5NOH.js} +5 -5
- package/{chunk-RXX4GDIH.js → chunk-LS2ZANRJ.js} +1 -1
- package/{chunk-4YIWJYIX.js → chunk-LSV2BOJL.js} +1 -1
- package/{chunk-5HKWE6OQ.js → chunk-MFW4BGJS.js} +1 -1
- package/{chunk-NJBLAV2R.js → chunk-NVHJWYUO.js} +25 -25
- package/{chunk-IZWQKAGJ.js → chunk-OCL2YCAU.js} +3 -3
- package/{chunk-BXLB7DXE.js → chunk-P3AS5IPM.js} +97 -2
- package/{chunk-M67M3AK5.js → chunk-PHDKTASK.js} +1 -1
- package/{chunk-SENTM5XJ.js → chunk-Q246OUG5.js} +3 -3
- package/{chunk-WHYTL6XG.js → chunk-Q4KVAB6L.js} +2 -2
- package/{chunk-QDOYVIIL.js → chunk-S6STPUMG.js} +4 -4
- package/{chunk-PZCTYKGU.js → chunk-T4F2EQGN.js} +2 -2
- package/{chunk-A3GDWRW6.js → chunk-TGRQUFLU.js} +1 -1
- package/{chunk-KIAHQ37Z.js → chunk-UINEAQ2R.js} +1 -1
- package/{chunk-CADAR6QU.js → chunk-UO66QKGI.js} +2 -2
- package/{chunk-XPMTSMUR.js → chunk-US463UAD.js} +2 -2
- package/{chunk-AJHEFRGJ.js → chunk-UWMQ6FPM.js} +4 -0
- package/{chunk-TR54UTFI.js → chunk-VARZWSKW.js} +2 -2
- package/{chunk-KMIMGCZT.js → chunk-VQD6BTML.js} +3 -3
- package/{chunk-EVCXTAOR.js → chunk-VW3YGKWR.js} +8 -8
- package/{chunk-EFWQMKEG.js → chunk-W7PGACND.js} +9 -9
- package/{chunk-5XV64MAU.js → chunk-WSOMSDQB.js} +1 -1
- package/{chunk-TMPLPCVX.js → chunk-X77EN2BJ.js} +2 -2
- package/{chunk-WVXCW7DR.js → chunk-XCSSFPTB.js} +9 -4
- package/{chunk-2LX7X7HX.js → chunk-Y2IFJ7VM.js} +29 -1
- package/{chunk-EDZAJS6E.js → chunk-ZIHJVHFH.js} +1 -1
- package/{chunk-UMYXJWI3.js → chunk-ZKGIAM7I.js} +1 -1
- package/chunk-ZSG2AQU4.js +626 -0
- package/{contentThunks-2N2J3EGF.js → contentThunks-Y2ACIFDB.js} +14 -14
- package/{createAgentAutomationAction-7QO4ZVVP.js → createAgentAutomationAction-TNE3QMJR.js} +14 -14
- package/{createDialogAction-PC2IQ4T7.js → createDialogAction-BMGHBTQB.js} +16 -16
- package/{createPageAction-EFL5EC22.js → createPageAction-FFNIZPIS.js} +14 -14
- package/{dbSlice-JNK4XZ27.js → dbSlice-4CUQE35F.js} +1 -1
- package/{dialogCommands-BSOWO6CA.js → dialogCommands-3JC3BIXC.js} +18 -18
- package/{dialogSlice-W6X5G2KS.js → dialogSlice-3E7Z7HZV.js} +13 -13
- package/{docCreateCommands-LWZU23FP.js → docCreateCommands-6LNQLCTA.js} +17 -17
- package/{docDeleteCommands-RR6GKDDF.js → docDeleteCommands-ZJOAPWZS.js} +18 -18
- package/{docReadCommands-JP77ZTCY.js → docReadCommands-LJTRSBG6.js} +17 -17
- package/{docStore-DMNGPTL4.js → docStore-R47ABXBB.js} +2 -2
- package/{docUpdateCommands-T4OACV4V.js → docUpdateCommands-7P3QF3N2.js} +17 -17
- package/{getPricing-QVTUQQTM.js → getPricing-TV6ZB7ES.js} +3 -3
- package/{handleSendMessageAction-RJEXW5VS.js → handleSendMessageAction-FFYOGXAO.js} +13 -13
- package/index.js +58 -54
- package/{localDialogRead-GKTRZFAP.js → localDialogRead-BTFJ4V2I.js} +1 -1
- package/{localRuntimeDb-P37ZTX55.js → localRuntimeDb-SYQGUF4U.js} +1 -1
- package/{machineCommands-K3VQUSAX.js → machineCommands-FN5GGQV3.js} +37 -37
- package/{machineWsRunDispatch-P7RNOLMU.js → machineWsRunDispatch-H47IA7ZT.js} +37 -37
- package/{memberThunks-A6OAY77F.js → memberThunks-N35XAOC6.js} +2 -2
- package/{models-GS72DVJS.js → models-CMXFDBQH.js} +2 -2
- package/package.json +1 -1
- package/providerPresetApply-D2GGHPI7.js +214 -0
- package/providerRegistry-MU6C4ABD.js +31 -0
- package/{readlineWorkspace-FGQLVWLE.js → readlineWorkspace-NXKHYZEU.js} +45 -45
- package/{removeDialogAgentAction-6SGBZWSW.js → removeDialogAgentAction-O2POGBOE.js} +4 -4
- package/{runAgentClientLoop-75TQMT2H.js → runAgentClientLoop-CEBV5UPD.js} +28 -28
- package/{runtimeDoctorCommands-CROTMULY.js → runtimeDoctorCommands-X6WDBEQX.js} +2 -2
- package/{setDialogExtraReferencesAction-LC3SOVJO.js → setDialogExtraReferencesAction-KPSVVY3C.js} +2 -2
- package/{setPrimaryDialogAgentAction-XE2HIEVY.js → setPrimaryDialogAgentAction-RMJETONI.js} +4 -4
- package/{settingSlice-GJYAXZZ6.js → settingSlice-I6MTTNDX.js} +3 -3
- package/{spaceCommands-7GMVZQYI.js → spaceCommands-JHT4ALCQ.js} +17 -17
- package/{streamAgentChatTurn-JYKKAOEU.js → streamAgentChatTurn-SFCZP4GY.js} +34 -34
- package/{switchDialogAgentAction-EDYI5RLR.js → switchDialogAgentAction-OQSGWVQQ.js} +1 -1
- package/{tools-PCY3TDNR.js → tools-K3YOTESV.js} +25 -25
- package/{tuiSummaryLlmCaller-CCYGQDGB.js → tuiSummaryLlmCaller-T2OA5ZVB.js} +8 -8
- package/{updateDialogTitleAction-36NOSXEX.js → updateDialogTitleAction-CSPKYQRO.js} +14 -14
- package/{db-VQSAOWAO.js → db-WK5MDZVN.js} +1 -1
- package/{localRuntimeAuthority-R5UBODT3.js → localRuntimeAuthority-6IR6BBXE.js} +3 -3
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toCompactAgentSummary,
|
|
30
30
|
toSafeAgentSummary,
|
|
31
31
|
toUnavailableAgentSummary
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-GRJTR4PU.js";
|
|
33
33
|
import {
|
|
34
34
|
getUserDataItemTimestamp,
|
|
35
35
|
mergeAndDedupUserData
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
setMembershipRejected,
|
|
53
53
|
setSpaceInitialized,
|
|
54
54
|
updateMemberSpaceName
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-GXWEF4IZ.js";
|
|
56
56
|
import {
|
|
57
57
|
ToolApiError,
|
|
58
58
|
buildToolRequestHeaders,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-OZX2IPKM.js";
|
|
64
64
|
import {
|
|
65
65
|
setDialogExtraReferencesAction
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-LSV2BOJL.js";
|
|
67
67
|
import {
|
|
68
68
|
waitForAbortableDelay
|
|
69
69
|
} from "./chunk-N4G4PKQ6.js";
|
|
@@ -81,10 +81,10 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-AYT2OKNM.js";
|
|
85
85
|
import {
|
|
86
86
|
createDialogAction
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-6RCZYDDC.js";
|
|
88
88
|
import {
|
|
89
89
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
90
90
|
addContentToSpace,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-S6STPUMG.js";
|
|
106
106
|
import {
|
|
107
107
|
getCurrentSpaceId,
|
|
108
108
|
getCurrentSpaceIdRaw,
|
|
@@ -124,14 +124,14 @@ import {
|
|
|
124
124
|
selectMsgById,
|
|
125
125
|
uiAskChoiceFunc,
|
|
126
126
|
uiAskChoiceFunctionSchema
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-L2VNQQ7M.js";
|
|
128
128
|
import {
|
|
129
129
|
createAgent,
|
|
130
130
|
deleteServerSyncedCredential,
|
|
131
131
|
runLlm,
|
|
132
132
|
streamAgentChatTurn,
|
|
133
133
|
updateAgent
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-4FRNB4ZG.js";
|
|
135
135
|
import {
|
|
136
136
|
getActiveDialogKey,
|
|
137
137
|
selectCurrentDialogKey,
|
|
@@ -145,10 +145,10 @@ import {
|
|
|
145
145
|
resolveBuiltinCapability,
|
|
146
146
|
resolveBuiltinSkillByName,
|
|
147
147
|
resolveBuiltinSkillEntry
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-P3AS5IPM.js";
|
|
149
149
|
import {
|
|
150
150
|
CAPABILITY_PACKS
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-XCSSFPTB.js";
|
|
152
152
|
import {
|
|
153
153
|
buildSkillDocMarkdown,
|
|
154
154
|
normalizeSkillModalities,
|
|
@@ -179,10 +179,10 @@ import {
|
|
|
179
179
|
} from "./chunk-CJCJF5XB.js";
|
|
180
180
|
import {
|
|
181
181
|
buildDatabaseFileContentUrl
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-KT6LENVP.js";
|
|
183
183
|
import {
|
|
184
184
|
DEFAULT_MODEL
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-6H7GN3JL.js";
|
|
186
186
|
import {
|
|
187
187
|
compactWhitespace
|
|
188
188
|
} from "./chunk-DWLEOOGR.js";
|
|
@@ -198,14 +198,14 @@ import {
|
|
|
198
198
|
} from "./chunk-O6OSWFZQ.js";
|
|
199
199
|
import {
|
|
200
200
|
shareResourceAction
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-GIG262ZG.js";
|
|
202
202
|
import {
|
|
203
203
|
AGENT_UPDATE_FIELD_NAMES,
|
|
204
204
|
normalizeAgentUpdateFieldList,
|
|
205
205
|
selectAutoApproveSelfUpdateFields,
|
|
206
206
|
selectCurrentServer,
|
|
207
207
|
selectSyncServers
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-JITSBA52.js";
|
|
209
209
|
import {
|
|
210
210
|
asRecordOrEmpty
|
|
211
211
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -213,7 +213,7 @@ import {
|
|
|
213
213
|
UNCATEGORIZED_ID,
|
|
214
214
|
addContentAction,
|
|
215
215
|
checkSpaceMembership
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-PHDKTASK.js";
|
|
217
217
|
import {
|
|
218
218
|
createSpaceKey,
|
|
219
219
|
normalizeSpaceId
|
|
@@ -228,7 +228,7 @@ import {
|
|
|
228
228
|
selectEntities,
|
|
229
229
|
toTimestampMs,
|
|
230
230
|
write
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-5EJZGJS2.js";
|
|
232
232
|
import {
|
|
233
233
|
SEPARATOR,
|
|
234
234
|
TYPE_STORAGE_PREFIXES,
|
|
@@ -911,7 +911,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
911
911
|
workspace: { mode: "lease" }
|
|
912
912
|
};
|
|
913
913
|
var findModelConfig = async (modelName, provider) => {
|
|
914
|
-
const { ALL_MODELS } = await import("./models-
|
|
914
|
+
const { ALL_MODELS } = await import("./models-CMXFDBQH.js");
|
|
915
915
|
const name = toTrimmedString(modelName);
|
|
916
916
|
const prov = toTrimmedString(provider ?? "");
|
|
917
917
|
if (!name) return null;
|
|
@@ -1156,7 +1156,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1156
1156
|
const trimmedModel = toTrimmedString(model);
|
|
1157
1157
|
const trimmedProvider = toTrimmedString(provider);
|
|
1158
1158
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1159
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1159
|
+
const { getModelPricing } = await import("./getPricing-TV6ZB7ES.js");
|
|
1160
1160
|
const normalizedTools = tools ?? [];
|
|
1161
1161
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1162
1162
|
const formData = {
|
|
@@ -3945,7 +3945,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3945
3945
|
const deletedDialogIds = [];
|
|
3946
3946
|
const deletedDialogKeys = [];
|
|
3947
3947
|
const failures = [];
|
|
3948
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3948
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-3E7Z7HZV.js");
|
|
3949
3949
|
for (const target of targets) {
|
|
3950
3950
|
try {
|
|
3951
3951
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -5055,7 +5055,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5055
5055
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
5056
5056
|
const readSpace = async (dbKey) => {
|
|
5057
5057
|
try {
|
|
5058
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
5058
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-4CUQE35F.js");
|
|
5059
5059
|
if (fresh) {
|
|
5060
5060
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
5061
5061
|
}
|
|
@@ -10898,7 +10898,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
10898
10898
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
10899
10899
|
async function addImageContentToSpace(input) {
|
|
10900
10900
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
10901
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
10901
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-ZNVB2NOV.js")).addContentAction;
|
|
10902
10902
|
await addContentAction2(
|
|
10903
10903
|
{
|
|
10904
10904
|
spaceId: input.spaceId,
|
|
@@ -14819,7 +14819,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14819
14819
|
if (!executionInput) {
|
|
14820
14820
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
14821
14821
|
}
|
|
14822
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
14822
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-K3YOTESV.js");
|
|
14823
14823
|
const { executor } = findToolExecutor2(run.toolName);
|
|
14824
14824
|
toolRunStarted({
|
|
14825
14825
|
id: run.id,
|
|
@@ -14843,7 +14843,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14843
14843
|
const latestState = thunkApi.getState();
|
|
14844
14844
|
const userId = selectIdentityUserId(latestState);
|
|
14845
14845
|
if (userId) {
|
|
14846
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
14846
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-N35XAOC6.js");
|
|
14847
14847
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
14848
14848
|
}
|
|
14849
14849
|
}
|
|
@@ -17326,7 +17326,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17326
17326
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17327
17327
|
};
|
|
17328
17328
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17329
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
17329
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-R47ABXBB.js");
|
|
17330
17330
|
if (getDocState().pageKey === id) {
|
|
17331
17331
|
applyExternalDocUpdate({
|
|
17332
17332
|
slateData: finalSlateData,
|
|
@@ -17351,7 +17351,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17351
17351
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
17352
17352
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
17353
17353
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
17354
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
17354
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-I6MTTNDX.js")).setSettings;
|
|
17355
17355
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
17356
17356
|
}
|
|
17357
17357
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeTimingMs
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KT6LENVP.js";
|
|
4
4
|
import {
|
|
5
5
|
MODEL_LOOKUP_MAP
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6H7GN3JL.js";
|
|
7
7
|
import {
|
|
8
8
|
ALL_MODELS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-23RQKXP6.js";
|
|
10
10
|
import {
|
|
11
11
|
asTrimmedNonEmptyStringArray
|
|
12
12
|
} from "./chunk-VMFTFOWF.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
buildBuiltinObjectSkillDbKey,
|
|
7
7
|
buildBuiltinObjectSkillPageContent,
|
|
8
8
|
buildCodeWorkDiscipline
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XCSSFPTB.js";
|
|
10
10
|
import {
|
|
11
11
|
buildSkillDocMarkdown,
|
|
12
12
|
resolvePageSkillMetadata
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-O6OSWFZQ.js";
|
|
17
17
|
import {
|
|
18
18
|
nolotusId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IZAWJCG7.js";
|
|
20
20
|
import {
|
|
21
21
|
asNonEmptyStringArray
|
|
22
22
|
} from "./chunk-VMFTFOWF.js";
|
|
@@ -1339,6 +1339,94 @@ function buildSkillCreatorSkillContentBySlug(slug) {
|
|
|
1339
1339
|
});
|
|
1340
1340
|
}
|
|
1341
1341
|
|
|
1342
|
+
// packages/ai/skills/agentProviderSetupSkill.ts
|
|
1343
|
+
var AGENT_PROVIDER_SETUP_SKILL_SLUGS = ["agent-provider-setup"];
|
|
1344
|
+
function deterministicId11(prefix, seed) {
|
|
1345
|
+
let h = 2166136261;
|
|
1346
|
+
for (let i = 0; i < seed.length; i++) {
|
|
1347
|
+
h ^= seed.charCodeAt(i);
|
|
1348
|
+
h = h * 16777619 >>> 0;
|
|
1349
|
+
}
|
|
1350
|
+
const suffix = h.toString(36).toUpperCase().padStart(14, "0");
|
|
1351
|
+
return (prefix + suffix).slice(0, 26);
|
|
1352
|
+
}
|
|
1353
|
+
function normalizeSkillSeed11(input) {
|
|
1354
|
+
return input.trim().toLowerCase().replace(/[^a-z0-9\u4e00-\u9fa5]+/g, "-").replace(/^-+|-+$/g, "");
|
|
1355
|
+
}
|
|
1356
|
+
function buildAgentProviderSetupSkillId(slug) {
|
|
1357
|
+
return deterministicId11("01SK", normalizeSkillSeed11(slug) || slug);
|
|
1358
|
+
}
|
|
1359
|
+
function buildAgentProviderSetupSkillPageKey(userId, slug) {
|
|
1360
|
+
return `page-${userId}-${buildAgentProviderSetupSkillId(slug)}`;
|
|
1361
|
+
}
|
|
1362
|
+
function buildAgentProviderSetupSkillConfig(slug) {
|
|
1363
|
+
return {
|
|
1364
|
+
version: "0.1",
|
|
1365
|
+
kind: "skill",
|
|
1366
|
+
id: buildAgentProviderSetupSkillId(slug),
|
|
1367
|
+
name: "\u81EA\u5EFA Provider Agent \u5F15\u5BFC\uFF08agent-provider-setup\uFF09",
|
|
1368
|
+
triggerMode: "recommended",
|
|
1369
|
+
// execShell runs `nolo agent providers` + `nolo agent create`; ask_user is
|
|
1370
|
+
// used for the model/effort fork and the key-confirm gate.
|
|
1371
|
+
toolNames: ["execShell", "ask_user", "loadSkill"],
|
|
1372
|
+
description: 'Guide the user through creating an Agent on a subscription token-plan or metered own-API-key provider (Step Plan, Kimi Code, DeepSeek, OpenCode Go, \u2026). Use when the user wants to create an agent that is NOT platform-hosted \u2014 e.g. "\u7528\u8BA2\u9605\u4F1A\u5458\u5EFA agent", "create an agent on Step Plan / my own API key", or names a provider subscription. Reads `nolo agent providers --json` for the live preset list; never hardcode providers.'
|
|
1373
|
+
};
|
|
1374
|
+
}
|
|
1375
|
+
function buildAgentProviderSetupSkillContentBySlug(slug) {
|
|
1376
|
+
return buildSkillDocMarkdown({
|
|
1377
|
+
skillConfig: buildAgentProviderSetupSkillConfig(slug),
|
|
1378
|
+
body: `Help the user create an Agent that runs on their own subscription plan or API key, not a platform-hosted model.
|
|
1379
|
+
|
|
1380
|
+
The preset catalog is DATA-DRIVEN \u2014 do not hardcode provider names or base URLs. Always read the live list first.
|
|
1381
|
+
|
|
1382
|
+
## Step 1 \u2014 List available presets
|
|
1383
|
+
|
|
1384
|
+
Run (via execShell):
|
|
1385
|
+
\`\`\`
|
|
1386
|
+
nolo agent providers --json
|
|
1387
|
+
\`\`\`
|
|
1388
|
+
This returns the registry presets grouped by \`group\`:
|
|
1389
|
+
- \`subscription\` \u2014 token-plan subscriptions (Step Plan, Kimi Code, OpenCode Go\u2026): need an API key + a locked baseUrl.
|
|
1390
|
+
- \`metered_api\` \u2014 pay-per-use own-key APIs (stepfun-api, deepseek-api, minimax\u2026).
|
|
1391
|
+
- \`subscription_oauth\` \u2014 OAuth brands (ChatGPT, Claude, Cursor\u2026): **cannot be created from a key here** \u2014 tell the user these require Nolo Desktop OAuth login, and stop.
|
|
1392
|
+
|
|
1393
|
+
Match the user's request to a preset \`id\`. If the user already named one (e.g. "stepfun \u8BA2\u9605" \u2192 \`step-plan\`), skip straight to it. If ambiguous between subscription vs metered for the same vendor (e.g. \`step-plan\` vs \`stepfun-api\`), ask which they mean \u2014 subscription is the monthly-Credit plan, metered is pay-per-token.
|
|
1394
|
+
|
|
1395
|
+
## Step 2 \u2014 Model & reasoning effort: fork on how much the user knows
|
|
1396
|
+
|
|
1397
|
+
- **User is specific** (names a model or effort): use the preset's \`models[]\` list to confirm the choice is valid, and ask for reasoning effort only among what that model supports (\`low/medium/high\` for stepfun; check \`supportsReasoningEffort\`).
|
|
1398
|
+
- **User doesn't know / says "\u968F\u4FBF / \u4F60\u770B\u7740\u529E"**: just use the preset's \`defaultModel\` and default effort \u2014 do NOT interrogate them. The recommended model is already marked \`recommended:true\` in the list.
|
|
1399
|
+
|
|
1400
|
+
## Step 3 \u2014 Collect the API key
|
|
1401
|
+
|
|
1402
|
+
Show the preset's \`keyFormatHint\` if present (it says where to get the key). Ask the user to paste their API key. Never invent one.
|
|
1403
|
+
|
|
1404
|
+
## Step 4 \u2014 Confirm & create (sensitive \u2014 confirm first)
|
|
1405
|
+
|
|
1406
|
+
Show the user the exact command you will run, with the key masked, and get an explicit yes before executing. Then run it with the key passed via env so it never lands on the command line / in logs:
|
|
1407
|
+
|
|
1408
|
+
\`\`\`
|
|
1409
|
+
CUSTOM_API_KEY='<the-key>' nolo agent create <slug> \\
|
|
1410
|
+
--preset <preset-id> --api-key "$CUSTOM_API_KEY" --verify
|
|
1411
|
+
\`\`\`
|
|
1412
|
+
|
|
1413
|
+
- \`--preset\` auto-fills provider/baseUrl/model from the registry; add \`--model <id>\` only if the user picked a non-default model.
|
|
1414
|
+
- \`--verify\` probes the endpoint end-to-end and confirms the key works.
|
|
1415
|
+
- For a metered preset use its \`metered_api\` id the same way.
|
|
1416
|
+
|
|
1417
|
+
## Step 5 \u2014 Report
|
|
1418
|
+
|
|
1419
|
+
On success report the created agentKey and model. If \`--verify\` fails, relay the endpoint's error verbatim and suggest checking the key / plan tier.
|
|
1420
|
+
|
|
1421
|
+
## Hard rules
|
|
1422
|
+
|
|
1423
|
+
- API key goes through the \`CUSTOM_API_KEY\` env var, never as a literal arg, never echoed back.
|
|
1424
|
+
- Always show the resolved command (key masked) and get confirmation before running \u2014 creating an agent + storing a credential is a sensitive action.
|
|
1425
|
+
- OAuth subscription presets \u2192 redirect to Nolo Desktop; do not attempt to create them via key.
|
|
1426
|
+
- If \`nolo agent providers\` fails or the list is empty, say so and ask the user for the provider's base URL + key to build a manual custom agent instead.`
|
|
1427
|
+
});
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1342
1430
|
// packages/ai/skills/builtinSkillRegistry.ts
|
|
1343
1431
|
var codePlannerContentBySlug = /* @__PURE__ */ (() => {
|
|
1344
1432
|
const cache = /* @__PURE__ */ new Map();
|
|
@@ -1431,6 +1519,13 @@ var SOURCES = [
|
|
|
1431
1519
|
buildPageKey: buildSkillCreatorSkillPageKey,
|
|
1432
1520
|
buildConfig: buildSkillCreatorSkillConfig,
|
|
1433
1521
|
buildContent: buildSkillCreatorSkillContentBySlug
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
slugs: AGENT_PROVIDER_SETUP_SKILL_SLUGS,
|
|
1525
|
+
buildSkillId: buildAgentProviderSetupSkillId,
|
|
1526
|
+
buildPageKey: buildAgentProviderSetupSkillPageKey,
|
|
1527
|
+
buildConfig: buildAgentProviderSetupSkillConfig,
|
|
1528
|
+
buildContent: buildAgentProviderSetupSkillContentBySlug
|
|
1434
1529
|
}
|
|
1435
1530
|
];
|
|
1436
1531
|
var buildRegistry = () => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IMDA4FW4.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NVHJWYUO.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VW3YGKWR.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-OKCTLCKS.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-OKCTLCKS.js";
|
|
8
8
|
import {
|
|
9
9
|
getModelContextWindow
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OCL2YCAU.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-UWMQ6FPM.js";
|
|
22
22
|
import {
|
|
23
23
|
asTrimmedLowercaseString
|
|
24
24
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
initReactI18next,
|
|
10
10
|
instance,
|
|
11
11
|
toast
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-L2VNQQ7M.js";
|
|
13
13
|
import {
|
|
14
14
|
require_date_fns
|
|
15
15
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-YDH3FDFQ.js";
|
|
19
19
|
import {
|
|
20
20
|
isSystemAdmin
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IZAWJCG7.js";
|
|
22
22
|
import {
|
|
23
23
|
asRecordOrEmpty
|
|
24
24
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
addContentAction,
|
|
28
28
|
checkSpaceMembership,
|
|
29
29
|
localSpaceAuthorityPatchStamp
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PHDKTASK.js";
|
|
31
31
|
import {
|
|
32
32
|
createSpaceKey,
|
|
33
33
|
normalizeSpaceId
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
uploadFileAction,
|
|
42
42
|
upsertSSREntity,
|
|
43
43
|
write
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-5EJZGJS2.js";
|
|
45
45
|
import {
|
|
46
46
|
SEPARATOR,
|
|
47
47
|
asTrimmedNonEmptyStringArray,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6H7GN3JL.js";
|
|
4
4
|
import {
|
|
5
5
|
isPlatformHostedDeepseekModel,
|
|
6
6
|
isPlatformHostedOpenAIImageModel,
|
|
7
7
|
resolvePlatformHostedRouting
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UWMQ6FPM.js";
|
|
9
9
|
import {
|
|
10
10
|
asTrimmedLowercaseString
|
|
11
11
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-AGGIDPCZ.js";
|
|
7
7
|
import {
|
|
8
8
|
getModelConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6H7GN3JL.js";
|
|
10
10
|
import {
|
|
11
11
|
isPlatformHostedImageModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UWMQ6FPM.js";
|
|
13
13
|
import {
|
|
14
14
|
asOptionalFiniteNumber
|
|
15
15
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -1012,6 +1012,10 @@ export {
|
|
|
1012
1012
|
PLATFORM_HOSTED_GLM_53_FLASH_BASETEN_PRICE,
|
|
1013
1013
|
isPlatformHostedOpenAIImageModel,
|
|
1014
1014
|
isPlatformHostedImageModel,
|
|
1015
|
+
PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE,
|
|
1016
|
+
PLATFORM_HOSTED_DEEPSEEK_FLASH_OFF_PEAK_PRICE,
|
|
1017
|
+
PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE,
|
|
1018
|
+
PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE,
|
|
1015
1019
|
getPlatformHostedDeepSeekV4Price,
|
|
1016
1020
|
isPlatformHostedDeepseekModel,
|
|
1017
1021
|
isPlatformHostedDeepSeekV4Model,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3T4PRBHV.js";
|
|
11
11
|
import {
|
|
12
12
|
fetchWithTransientRetry
|
|
13
13
|
} from "./chunk-5XTOKQLW.js";
|
|
@@ -724,7 +724,7 @@ function isExplicitDialogIdMismatch(meta, dialogId) {
|
|
|
724
724
|
return meta && typeof meta === "object" && "id" in meta && meta.id != null && String(meta.id) !== dialogId;
|
|
725
725
|
}
|
|
726
726
|
async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
|
|
727
|
-
const reader = readLocalDialog ?? (await import("./localDialogRead-
|
|
727
|
+
const reader = readLocalDialog ?? (await import("./localDialogRead-BTFJ4V2I.js")).readDialogFromLocalDb;
|
|
728
728
|
const result = await reader({ dialogKey, dialogId, limit });
|
|
729
729
|
return {
|
|
730
730
|
...result,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NVHJWYUO.js";
|
|
4
4
|
import {
|
|
5
5
|
i18n_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L2VNQQ7M.js";
|
|
7
7
|
import {
|
|
8
8
|
canonicalizeToolNames
|
|
9
9
|
} from "./chunk-O6OSWFZQ.js";
|
|
10
10
|
import {
|
|
11
11
|
isNoloHostedProvider
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UWMQ6FPM.js";
|
|
13
13
|
import {
|
|
14
14
|
asTrimmedLowercaseString
|
|
15
15
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
readSseFrames,
|
|
9
9
|
streamSseDataValues,
|
|
10
10
|
throwIfChatCompletionStreamFailed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EXWOCYCR.js";
|
|
12
12
|
import {
|
|
13
13
|
DEVIN_CONNECT_URL
|
|
14
14
|
} from "./chunk-FMODTASJ.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resolveHistoricalToolContentCap,
|
|
20
20
|
resolveToolOutputProfile,
|
|
21
21
|
stripImagePartsFromMessages
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WSOMSDQB.js";
|
|
23
23
|
import {
|
|
24
24
|
downgradeUnparsableToolCalls,
|
|
25
25
|
hasParsableObjectArguments,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
requiresBareImageUrl,
|
|
44
44
|
resolveToolGuidedSections,
|
|
45
45
|
toBareImageUrlMessages
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-Q4KVAB6L.js";
|
|
47
47
|
import {
|
|
48
48
|
convertMessagesToResponsesInput,
|
|
49
49
|
extractReasoningFromResponseOutput,
|
|
@@ -72,11 +72,11 @@ import {
|
|
|
72
72
|
getAntigravityUserAgent,
|
|
73
73
|
readAntigravityProjectId,
|
|
74
74
|
resolveAntigravityCloudCodeBaseUrl
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-DS3SQTDT.js";
|
|
76
76
|
import {
|
|
77
77
|
buildProviderAuthHeaders,
|
|
78
78
|
buildProviderExecutionPlan
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-X77EN2BJ.js";
|
|
80
80
|
import {
|
|
81
81
|
buildDialogFallbackTitleFromUserInput
|
|
82
82
|
} from "./chunk-2MBTWINN.js";
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
resolveEmptyAssistantFallbackMessage,
|
|
91
91
|
resolveEmptyAssistantOutcome,
|
|
92
92
|
resolveTruncatedReasoningTailLog
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-OCL2YCAU.js";
|
|
94
94
|
import {
|
|
95
95
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
96
96
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
resolveCompressionTriggerRatio,
|
|
110
110
|
truncateToolOutputForContext,
|
|
111
111
|
withProviderCallTimingFields
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-KT6LENVP.js";
|
|
113
113
|
import {
|
|
114
114
|
estimateTokenCount
|
|
115
115
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -19353,7 +19353,7 @@ function buildLoadSkillExecutor(args2) {
|
|
|
19353
19353
|
const { resolveSkillByName } = await import("./skillDiscovery-CYUCJMAG.js");
|
|
19354
19354
|
const resolved = resolveSkillByName(args2.cwd, name);
|
|
19355
19355
|
if (!resolved) {
|
|
19356
|
-
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-
|
|
19356
|
+
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-5SYVTS6Z.js");
|
|
19357
19357
|
const builtin = resolveBuiltinSkillByName(name);
|
|
19358
19358
|
if (builtin) {
|
|
19359
19359
|
return {
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VQD6BTML.js";
|
|
9
9
|
import {
|
|
10
10
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
11
11
|
buildInvalidToolCallSelfHealResult,
|
|
12
12
|
parseToolCallArguments,
|
|
13
13
|
performFetchRequest,
|
|
14
14
|
sanitizeOutboundMessages
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JC2WQS66.js";
|
|
16
16
|
import {
|
|
17
17
|
createSSEParser,
|
|
18
18
|
createToolRunId,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
toolRunSetPending,
|
|
24
24
|
toolRunStarted,
|
|
25
25
|
toolRunSucceeded
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NVHJWYUO.js";
|
|
27
27
|
import {
|
|
28
28
|
getPublicImageAgentMode
|
|
29
29
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
messageStreamEnd,
|
|
36
36
|
messageStreaming,
|
|
37
37
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-L2VNQQ7M.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-4FRNB4ZG.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|
|
@@ -56,19 +56,19 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
EMPTY_ASSISTANT_REPAIR_PROMPT,
|
|
58
58
|
getModelInfo
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-OCL2YCAU.js";
|
|
60
60
|
import {
|
|
61
61
|
getApiEndpoint
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-6H7GN3JL.js";
|
|
63
63
|
import {
|
|
64
64
|
toErrorMessage
|
|
65
65
|
} from "./chunk-HNMXYYJR.js";
|
|
66
66
|
import {
|
|
67
67
|
selectCurrentServer
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-JITSBA52.js";
|
|
69
69
|
import {
|
|
70
70
|
write
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-5EJZGJS2.js";
|
|
72
72
|
import {
|
|
73
73
|
createDialogMessageKeyAndId,
|
|
74
74
|
dialogMessageKey,
|