nolo-cli 0.91.0-alpha.1 → 0.92.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-U5V7LOJX.js → _executeModel-SKXPDRHT.js} +34 -34
- package/{action-EXQVY3UO.js → action-5DATYWOM.js} +6 -6
- package/{addContentAction-6IXQSRD2.js → addContentAction-5OLTVWIE.js} +4 -4
- package/{addDialogAgentAction-FZOB4BYM.js → addDialogAgentAction-BRGMORV4.js} +3 -3
- package/{agentDeleteCommand-4MIJFQQB.js → agentDeleteCommand-KIJCEDIQ.js} +20 -20
- package/{agentEmailCommands-JUXT36BY.js → agentEmailCommands-KVJQBG6I.js} +42 -42
- package/{agentListCommands-MUVKMMZ5.js → agentListCommands-S2WK34WE.js} +22 -22
- package/{agentMachineCommands-56FTZLYV.js → agentMachineCommands-ESEVMWBG.js} +20 -20
- package/{agentProviderCommands-TOMVKJOV.js → agentProviderCommands-I26OTLEQ.js} +1 -1
- package/{agentRecordCommands-FST3KAKG.js → agentRecordCommands-TTYG2GYM.js} +41 -41
- package/{agentRunCommand-UMUEVIY2.js → agentRunCommand-PQ2D3MTU.js} +41 -41
- package/{agentRuntimeLocal-NH6GSGAJ.js → agentRuntimeLocal-ZLZCZO3C.js} +17 -17
- package/{agentSlice-YZK6KG73.js → agentSlice-JF7MQKXG.js} +4 -4
- package/{appDeleteCommands-U45KXYX7.js → appDeleteCommands-KHSC6H42.js} +21 -21
- package/{appDeployCommands-LWQIQCFX.js → appDeployCommands-KCCU76AG.js} +21 -21
- package/{appDeployStatusCommands-LZO33PGD.js → appDeployStatusCommands-UBGX7463.js} +21 -21
- package/{appGetCommands-OJSO6BCF.js → appGetCommands-CGVGNM5J.js} +21 -21
- package/{appListCommands-NE56V7DI.js → appListCommands-JUVQUOGH.js} +21 -21
- package/{authCommand-U5LA6H4Y.js → authCommand-ETL233F2.js} +7 -7
- package/{builtinSkillRegistry-4NB7PCOF.js → builtinSkillRegistry-PJU2R6ST.js} +4 -4
- package/{chatQueueReduxAdapter-FRMSYX7N.js → chatQueueReduxAdapter-NIJ6XFDN.js} +15 -15
- package/{chromeCommands-VOIRNJBL.js → chromeCommands-FZYAU75D.js} +1 -1
- package/{chromeOpsCommands-M7DPCX2T.js → chromeOpsCommands-62P2Q2YB.js} +31 -1
- package/{chunk-QMASIHYZ.js → chunk-2D6QK26I.js} +4 -4
- package/{chunk-HGRDL36J.js → chunk-2HBFQM4C.js} +3 -3
- package/{chunk-XAQAF25W.js → chunk-2L3O7RDP.js} +1 -1
- package/{chunk-LSSBA2TN.js → chunk-2WHQZTB7.js} +1 -1
- package/{chunk-XGJAR4T5.js → chunk-3JIXYIXV.js} +53 -2
- package/{chunk-COM7GG76.js → chunk-3QC3NGWZ.js} +1 -1
- package/{chunk-BKP7CFUD.js → chunk-43WRG6QQ.js} +4 -4
- package/{chunk-W2E6HIIK.js → chunk-46TSVHGZ.js} +1 -1
- package/{chunk-RLEWGSM5.js → chunk-4B3TDK3S.js} +3 -3
- package/{chunk-XLGHBHGP.js → chunk-5LRIZC2W.js} +1 -1
- package/{chunk-RZYQMSQA.js → chunk-5NHGLCPL.js} +1 -1
- package/{chunk-DM4UNXPK.js → chunk-6R425QS6.js} +2 -2
- package/{chunk-7IBK6MYW.js → chunk-7GDFU22A.js} +19 -19
- package/{chunk-R2YY6MWV.js → chunk-BJ7HBUL2.js} +9 -9
- package/{chunk-OH7H6LPC.js → chunk-CDS4FQMP.js} +3 -3
- package/{chunk-4QKBQHPQ.js → chunk-DMFLXNFM.js} +1 -1
- package/{chunk-G5X57NDE.js → chunk-EKXNV6EM.js} +2 -2
- package/{chunk-S3UI4IUJ.js → chunk-EONDQISD.js} +15 -15
- package/{chunk-DSX6K7C2.js → chunk-FEAPBZQW.js} +3 -3
- package/{chunk-B4S7MR5S.js → chunk-G3V74DVM.js} +3 -3
- package/{chunk-KR3YI36B.js → chunk-HNUNYXYB.js} +1 -1
- package/{chunk-ZHUTWJ3N.js → chunk-I2MX6JST.js} +2 -2
- package/{chunk-HWZAXNO7.js → chunk-IMCXPAQV.js} +3 -3
- package/{chunk-YOXYA2GU.js → chunk-IP2RNQU3.js} +1 -0
- package/{chunk-UBNV6CS6.js → chunk-MOH3ETXO.js} +29 -29
- package/{chunk-SUERPXJZ.js → chunk-NNJ4EAEH.js} +21 -21
- package/{chunk-SASGLNUD.js → chunk-NU2SOATM.js} +3 -3
- package/{chunk-U47DH2WO.js → chunk-PIOIPOSY.js} +2 -2
- package/{chunk-UDEFS2PV.js → chunk-PNBZBDRM.js} +2 -2
- package/{chunk-JTYPAMGP.js → chunk-Q67DOFOO.js} +59 -4
- package/{chunk-4CAPEGHN.js → chunk-QTV7ZYBE.js} +1 -1
- package/{chunk-BF2K6MRF.js → chunk-RAYTIPJ5.js} +2 -2
- package/{chunk-AQDH76OK.js → chunk-S46FYEWL.js} +1 -1
- package/{chunk-4JBZUECA.js → chunk-S6SP3GWJ.js} +1 -1
- package/{chunk-VOOTT7HA.js → chunk-SATOEEL6.js} +1 -1
- package/{chunk-QCZX4FTW.js → chunk-SH43IESU.js} +173 -15
- package/{chunk-546FPOW3.js → chunk-T67757YH.js} +1 -1
- package/{chunk-3XMOAYRC.js → chunk-TLO2X5C6.js} +1 -1
- package/{chunk-YPYMGGPJ.js → chunk-TLPTMSX3.js} +3 -3
- package/{chunk-E3VQ6S3A.js → chunk-TSD5BVVP.js} +129 -4
- package/{chunk-TMAZ3VHN.js → chunk-TUEPUNFO.js} +1 -1
- package/{chunk-E2NP7ZQU.js → chunk-TZB6Y4OD.js} +2 -2
- package/{chunk-WON762L4.js → chunk-U7HSBX3I.js} +1 -1
- package/{chunk-OOLWKQSM.js → chunk-UT5NALV3.js} +1 -1
- package/{chunk-MBEEYLGL.js → chunk-UYJKSCJ4.js} +2 -2
- package/{chunk-WKEUHK57.js → chunk-VUHXTHIK.js} +2 -2
- package/{chunk-GRDSMV4V.js → chunk-W6MEYAGX.js} +4 -4
- package/{chunk-X2ZTVRXP.js → chunk-YC2MP5NP.js} +4 -4
- package/{chunk-IIKPWSPX.js → chunk-YDEMAQEY.js} +1 -1
- package/{chunk-377KM42Z.js → chunk-YNI45YOE.js} +12 -12
- package/{chunk-F3UTRUDO.js → chunk-YNNVVLMV.js} +3 -3
- package/{chunk-WP6BC7OF.js → chunk-YQPWX5EE.js} +9 -9
- package/{chunk-ZKMYGRO7.js → chunk-ZIK2FIX4.js} +5 -5
- package/{chunk-NKIH4Q7W.js → chunk-ZKYHTHNE.js} +1 -1
- package/{contentThunks-TC3AENBY.js → contentThunks-N7MGBLZJ.js} +16 -16
- package/{createAgentAutomationAction-67EOD3WK.js → createAgentAutomationAction-DNOR2HPB.js} +16 -16
- package/{createDialogAction-4OCQC5MW.js → createDialogAction-Y5CTGDHJ.js} +18 -18
- package/{createPageAction-JLGVP57B.js → createPageAction-HIQCWUNG.js} +16 -16
- package/{dbSlice-RDGCE5MU.js → dbSlice-NP52Y5TF.js} +3 -3
- package/{dialogCommands-JHSDKCR5.js → dialogCommands-RDCQ2IFS.js} +23 -21
- package/{dialogSlice-I2DK32ZT.js → dialogSlice-CCADNU4F.js} +15 -15
- package/{docCreateCommands-QUL6VWK2.js → docCreateCommands-7BQO7QFJ.js} +20 -20
- package/{docDeleteCommands-DMQ2MU6I.js → docDeleteCommands-AXWDDTVX.js} +21 -21
- package/{docReadCommands-FVHENBU6.js → docReadCommands-NMDWZKZW.js} +20 -20
- package/{docStore-OLC6MD7B.js → docStore-RSIMI5PS.js} +4 -4
- package/{docUpdateCommands-VA6V5C6L.js → docUpdateCommands-KFIRA6WM.js} +20 -20
- package/{getPricing-YYXTEPBP.js → getPricing-SLZYHJXY.js} +3 -3
- package/{handleSendMessageAction-GRDIRXAK.js → handleSendMessageAction-ZIABBL3A.js} +15 -15
- package/index.js +63 -54
- package/{machineCommands-IJJ66MYU.js → machineCommands-H6TGKZYD.js} +40 -40
- package/{machineWsRunDispatch-PP2ZBS6D.js → machineWsRunDispatch-YU4MGUB5.js} +40 -40
- package/{memberThunks-WQGQWYYT.js → memberThunks-XJFHFZ5M.js} +4 -4
- package/{models-UN7YGMPM.js → models-WYXEJZAX.js} +2 -2
- package/package.json +1 -1
- package/{providerPresetApply-NO73BG45.js → providerPresetApply-RWISXOW7.js} +6 -6
- package/{providerRegistry-OVY4VKNN.js → providerRegistry-5KY7YV6K.js} +6 -6
- package/{read-S4WC2OUK.js → read-KFAALANF.js} +2 -2
- package/{readDocTool-PQNM63KV.js → readDocTool-XNMCT64I.js} +1 -1
- package/{readlineWorkspace-ASJECDJD.js → readlineWorkspace-JTU5LTZI.js} +44 -44
- package/{removeDialogAgentAction-YJZ6XJV6.js → removeDialogAgentAction-X3IS7JNU.js} +6 -6
- package/{runAgentClientLoop-KIOQSDRC.js → runAgentClientLoop-5TPQBYB6.js} +32 -32
- package/{setDialogExtraReferencesAction-E6A3WL4E.js → setDialogExtraReferencesAction-QTV3ZJNH.js} +4 -4
- package/{setPrimaryDialogAgentAction-WBLIVICQ.js → setPrimaryDialogAgentAction-EUUISNQ2.js} +6 -6
- package/{settingSlice-JR6S7TRD.js → settingSlice-UMATY3PD.js} +5 -5
- package/{spaceCommands-WDUNCAK5.js → spaceCommands-PR6QHSEG.js} +20 -20
- package/{streamAgentChatTurn-EGQDPMAO.js → streamAgentChatTurn-TXMNTXML.js} +36 -36
- package/{switchDialogAgentAction-DTR36ZY2.js → switchDialogAgentAction-HWFDQNY5.js} +3 -3
- package/{tools-AOVE5LKM.js → tools-GEVUKUVY.js} +29 -29
- package/{tuiSummaryLlmCaller-XRQCSNYQ.js → tuiSummaryLlmCaller-PKZYGY3B.js} +10 -10
- package/{updateDialogTitleAction-T66TXHIR.js → updateDialogTitleAction-MFR3UGL5.js} +16 -16
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toCompactAgentSummary,
|
|
30
30
|
toSafeAgentSummary,
|
|
31
31
|
toUnavailableAgentSummary
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CDS4FQMP.js";
|
|
33
33
|
import {
|
|
34
34
|
getUserDataItemTimestamp,
|
|
35
35
|
mergeAndDedupUserData
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
readPageFunc,
|
|
41
41
|
readPageFunctionSchema,
|
|
42
42
|
slateToSimplifiedMarkdown
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HNUNYXYB.js";
|
|
44
44
|
import {
|
|
45
45
|
addMemberSpace,
|
|
46
46
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
setMembershipRejected,
|
|
53
53
|
setSpaceInitialized,
|
|
54
54
|
updateMemberSpaceName
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-46TSVHGZ.js";
|
|
56
56
|
import {
|
|
57
57
|
ToolApiError,
|
|
58
58
|
buildToolRequestHeaders,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-HQCSU3DI.js";
|
|
64
64
|
import {
|
|
65
65
|
setDialogExtraReferencesAction
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-SATOEEL6.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-NU2SOATM.js";
|
|
85
85
|
import {
|
|
86
86
|
createDialogAction
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-ZIK2FIX4.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-2D6QK26I.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-NNJ4EAEH.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-YC2MP5NP.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-VUHXTHIK.js";
|
|
149
149
|
import {
|
|
150
150
|
CAPABILITY_PACKS
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-2L3O7RDP.js";
|
|
152
152
|
import {
|
|
153
153
|
buildSkillDocMarkdown,
|
|
154
154
|
normalizeSkillModalities,
|
|
@@ -173,16 +173,16 @@ import {
|
|
|
173
173
|
redactAgentRecordForWorkspaceTool,
|
|
174
174
|
resolveNoloDialogInput,
|
|
175
175
|
verifyNoloDialogSubjectRefQuery
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-IP2RNQU3.js";
|
|
177
177
|
import {
|
|
178
178
|
isAgentUnavailableNow
|
|
179
179
|
} from "./chunk-CJCJF5XB.js";
|
|
180
180
|
import {
|
|
181
181
|
buildDatabaseFileContentUrl
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-RAYTIPJ5.js";
|
|
183
183
|
import {
|
|
184
184
|
DEFAULT_MODEL
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-QTV7ZYBE.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-2WHQZTB7.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-6R425QS6.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-5LRIZC2W.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-YNNVVLMV.js";
|
|
232
232
|
import {
|
|
233
233
|
SEPARATOR,
|
|
234
234
|
TYPE_STORAGE_PREFIXES,
|
|
@@ -258,7 +258,7 @@ import {
|
|
|
258
258
|
} from "./chunk-QSJ3HFEF.js";
|
|
259
259
|
import {
|
|
260
260
|
readAction
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-UT5NALV3.js";
|
|
262
262
|
import {
|
|
263
263
|
extractCustomId
|
|
264
264
|
} from "./chunk-GII32WZW.js";
|
|
@@ -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-WYXEJZAX.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-SLZYHJXY.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-CCADNU4F.js");
|
|
3949
3949
|
for (const target of targets) {
|
|
3950
3950
|
try {
|
|
3951
3951
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4254,7 +4254,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4254
4254
|
}
|
|
4255
4255
|
};
|
|
4256
4256
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4257
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4257
|
+
const { buildReadDocResult } = await import("./readDocTool-XNMCT64I.js");
|
|
4258
4258
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4259
4259
|
if (typeof id !== "string" || !id.trim()) {
|
|
4260
4260
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -5057,7 +5057,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5057
5057
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
5058
5058
|
const readSpace = async (dbKey) => {
|
|
5059
5059
|
try {
|
|
5060
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
5060
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-NP52Y5TF.js");
|
|
5061
5061
|
if (fresh) {
|
|
5062
5062
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
5063
5063
|
}
|
|
@@ -10900,7 +10900,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
10900
10900
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
10901
10901
|
async function addImageContentToSpace(input) {
|
|
10902
10902
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
10903
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
10903
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-5OLTVWIE.js")).addContentAction;
|
|
10904
10904
|
await addContentAction2(
|
|
10905
10905
|
{
|
|
10906
10906
|
spaceId: input.spaceId,
|
|
@@ -14821,7 +14821,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14821
14821
|
if (!executionInput) {
|
|
14822
14822
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
14823
14823
|
}
|
|
14824
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
14824
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-GEVUKUVY.js");
|
|
14825
14825
|
const { executor } = findToolExecutor2(run.toolName);
|
|
14826
14826
|
toolRunStarted({
|
|
14827
14827
|
id: run.id,
|
|
@@ -14845,7 +14845,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14845
14845
|
const latestState = thunkApi.getState();
|
|
14846
14846
|
const userId = selectIdentityUserId(latestState);
|
|
14847
14847
|
if (userId) {
|
|
14848
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
14848
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-XJFHFZ5M.js");
|
|
14849
14849
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
14850
14850
|
}
|
|
14851
14851
|
}
|
|
@@ -17328,7 +17328,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17328
17328
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17329
17329
|
};
|
|
17330
17330
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17331
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
17331
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-RSIMI5PS.js");
|
|
17332
17332
|
if (getDocState().pageKey === id) {
|
|
17333
17333
|
applyExternalDocUpdate({
|
|
17334
17334
|
slateData: finalSlateData,
|
|
@@ -17353,7 +17353,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17353
17353
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
17354
17354
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
17355
17355
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
17356
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
17356
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-UMATY3PD.js")).setSettings;
|
|
17357
17357
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
17358
17358
|
}
|
|
17359
17359
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-AGGIDPCZ.js";
|
|
15
15
|
import {
|
|
16
16
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YC2MP5NP.js";
|
|
18
18
|
import {
|
|
19
19
|
cleanupCliSessionForDialog
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PIOIPOSY.js";
|
|
21
21
|
import {
|
|
22
22
|
getActiveDialogAgentId,
|
|
23
23
|
getDialogAgentIds,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
getModelInfo,
|
|
56
56
|
normalizeUsage,
|
|
57
57
|
resolveAutoExecutionProfile
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-W6MEYAGX.js";
|
|
59
59
|
import {
|
|
60
60
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
61
61
|
buildCompactionMetricsFromPlan,
|
|
@@ -66,11 +66,11 @@ import {
|
|
|
66
66
|
normalizeAssistantContentBuffer,
|
|
67
67
|
planCompression,
|
|
68
68
|
serializeMessageContent
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-RAYTIPJ5.js";
|
|
70
70
|
import {
|
|
71
71
|
findModelConfig,
|
|
72
72
|
getModelConfig
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-QTV7ZYBE.js";
|
|
74
74
|
import {
|
|
75
75
|
toErrorMessage
|
|
76
76
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -85,10 +85,10 @@ import {
|
|
|
85
85
|
isPlatformHostedDeepSeekV4Model,
|
|
86
86
|
isPlatformHostedImageModel,
|
|
87
87
|
isPlatformHostedOpenAIImageModel
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-Q67DOFOO.js";
|
|
89
89
|
import {
|
|
90
90
|
nolotusId
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-T67757YH.js";
|
|
92
92
|
import {
|
|
93
93
|
asRecordOrEmpty
|
|
94
94
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
remove,
|
|
99
99
|
selectById,
|
|
100
100
|
write
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-YNNVVLMV.js";
|
|
102
102
|
import {
|
|
103
103
|
buildDialogAgentListIndexDeleteOps,
|
|
104
104
|
createDialogMessageKeyAndId,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
builtinAgentCatalogEntryById,
|
|
121
121
|
builtinRuntimeFallbackEntries,
|
|
122
122
|
isBuiltinPlatformAgentKey
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-3JIXYIXV.js";
|
|
124
124
|
import {
|
|
125
125
|
extractCustomId,
|
|
126
126
|
extractUserId,
|
|
@@ -17466,7 +17466,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
17466
17466
|
runtimeOptions: args.runtimeOptions
|
|
17467
17467
|
});
|
|
17468
17468
|
if (agentKeyToUse) {
|
|
17469
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
17469
|
+
const { streamAgentChatTurn } = await import("./agentSlice-JF7MQKXG.js");
|
|
17470
17470
|
await dispatch(
|
|
17471
17471
|
streamAgentChatTurn({
|
|
17472
17472
|
agentKey: agentKeyToUse,
|
|
@@ -18602,7 +18602,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18602
18602
|
}
|
|
18603
18603
|
if (isCurrentDialog) {
|
|
18604
18604
|
await thunkApi.dispatch(resetMsgs());
|
|
18605
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
18605
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-CCADNU4F.js");
|
|
18606
18606
|
dispatch(clearPendingAttachments2());
|
|
18607
18607
|
}
|
|
18608
18608
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -18610,39 +18610,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18610
18610
|
|
|
18611
18611
|
// packages/chat/dialog/dialogSlice.ts
|
|
18612
18612
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
18613
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
18613
|
+
const { createDialogAction } = await import("./createDialogAction-Y5CTGDHJ.js");
|
|
18614
18614
|
return createDialogAction(args, thunkApi);
|
|
18615
18615
|
};
|
|
18616
18616
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
18617
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
18617
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-DNOR2HPB.js");
|
|
18618
18618
|
return createAgentAutomationAction(args, thunkApi);
|
|
18619
18619
|
};
|
|
18620
18620
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
18621
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
18621
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-MFR3UGL5.js");
|
|
18622
18622
|
return updateDialogTitleAction(args, thunkApi);
|
|
18623
18623
|
};
|
|
18624
18624
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
18625
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
18625
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-BRGMORV4.js");
|
|
18626
18626
|
return addDialogAgentAction(args, thunkApi);
|
|
18627
18627
|
};
|
|
18628
18628
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
18629
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
18629
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-X3IS7JNU.js");
|
|
18630
18630
|
return removeDialogAgentAction(args, thunkApi);
|
|
18631
18631
|
};
|
|
18632
18632
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
18633
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
18633
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-EUUISNQ2.js");
|
|
18634
18634
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
18635
18635
|
};
|
|
18636
18636
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
18637
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
18637
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-HWFDQNY5.js");
|
|
18638
18638
|
return switchDialogAgentAction(args, thunkApi);
|
|
18639
18639
|
};
|
|
18640
18640
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
18641
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
18641
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-QTV3ZJNH.js");
|
|
18642
18642
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
18643
18643
|
};
|
|
18644
18644
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
18645
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
18645
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-ZIABBL3A.js");
|
|
18646
18646
|
return handleSendMessageAction(args, thunkApi);
|
|
18647
18647
|
};
|
|
18648
18648
|
function clearDialogState() {
|
|
@@ -18655,7 +18655,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
18655
18655
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
18656
18656
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
18657
18657
|
try {
|
|
18658
|
-
const { createDocState } = await import("./docStore-
|
|
18658
|
+
const { createDocState } = await import("./docStore-RSIMI5PS.js");
|
|
18659
18659
|
const pageKey = await createDocState(
|
|
18660
18660
|
{ slateData, title },
|
|
18661
18661
|
{ dispatch, getState }
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
patch,
|
|
12
12
|
readAndWait
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YNNVVLMV.js";
|
|
14
14
|
import {
|
|
15
15
|
asOptionalTrimmedString
|
|
16
16
|
} from "./chunk-G3SUCT4W.js";
|
|
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
326
326
|
).unwrap();
|
|
327
327
|
if (dbSpaceId) {
|
|
328
328
|
try {
|
|
329
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
329
|
+
const { updateContentTitle } = await import("./contentThunks-N7MGBLZJ.js");
|
|
330
330
|
await dispatch(
|
|
331
331
|
updateContentTitle({
|
|
332
332
|
spaceId: dbSpaceId,
|
|
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
async function createDocState(args, thunkApi) {
|
|
368
|
-
const { createPageAction } = await import("./createPageAction-
|
|
368
|
+
const { createPageAction } = await import("./createPageAction-HIQCWUNG.js");
|
|
369
369
|
return createPageAction(args, thunkApi);
|
|
370
370
|
}
|
|
371
371
|
function subscribe(listener) {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-AGGIDPCZ.js";
|
|
7
7
|
import {
|
|
8
8
|
getModelConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QTV7ZYBE.js";
|
|
10
10
|
import {
|
|
11
11
|
isPlatformHostedImageModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Q67DOFOO.js";
|
|
13
13
|
import {
|
|
14
14
|
asOptionalFiniteNumber
|
|
15
15
|
} from "./chunk-WWC7I6TA.js";
|
|
@@ -45,6 +45,8 @@ var PLATFORM_HOSTED_CLAUDE_SONNET_5_MODEL = "anthropic/claude-sonnet-5";
|
|
|
45
45
|
var PLATFORM_HOSTED_CLAUDE_OPUS_5_MODEL = "anthropic/claude-opus-5";
|
|
46
46
|
var PLATFORM_HOSTED_CLAUDE_FABLE_5_MODEL = "anthropic/claude-fable-5";
|
|
47
47
|
var PLATFORM_HOSTED_CLAUDE_HAIKU_45_MODEL = "anthropic/claude-haiku-4-5";
|
|
48
|
+
var PLATFORM_HOSTED_CLAUDE_OPUS_5_5_MODEL = "anthropic/claude-opus-5-5";
|
|
49
|
+
var PLATFORM_HOSTED_CLAUDE_FABLE_5_1_MODEL = "anthropic/claude-fable-5-1";
|
|
48
50
|
var PLATFORM_HOSTED_GROK_4_6_MODEL = "grok-4.6";
|
|
49
51
|
var PLATFORM_HOSTED_GPT_6_ASTRA_MODEL = "gpt-6-astra";
|
|
50
52
|
var PLATFORM_HOSTED_GPT_6_LUNA_MODEL = "gpt-6-luna";
|
|
@@ -183,8 +185,10 @@ var PLATFORM_HOSTED_ROUTING_TABLE = {
|
|
|
183
185
|
agentRunHosted: true
|
|
184
186
|
},
|
|
185
187
|
// Claude 系(真实模型):DeepInfra 官方 id 与平台 id 同名,无需重映射。
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
+
// 旧批模型无缓存价(rate_per_input_token_cached=null),计费侧对无
|
|
189
|
+
// inputCacheHit 的模型按 input 全价计(见 calculatePrice);Fable 5.1 起
|
|
190
|
+
// 官方给出缓存读价(输入 1/4),在 platformHosted.ts 的 price 里带
|
|
191
|
+
// inputCacheHit。
|
|
188
192
|
[PLATFORM_HOSTED_CLAUDE_SONNET_5_MODEL]: {
|
|
189
193
|
endpoint: "https://api.deepinfra.com/v1/openai/chat/completions",
|
|
190
194
|
usageProvider: "deepinfra",
|
|
@@ -217,6 +221,23 @@ var PLATFORM_HOSTED_ROUTING_TABLE = {
|
|
|
217
221
|
wire: "chat.completions",
|
|
218
222
|
agentRunHosted: true
|
|
219
223
|
},
|
|
224
|
+
// 新一代 Claude(2026-09-24 收进广场):同 DeepInfra 通道、官方 id 直传。
|
|
225
|
+
[PLATFORM_HOSTED_CLAUDE_OPUS_5_5_MODEL]: {
|
|
226
|
+
endpoint: "https://api.deepinfra.com/v1/openai/chat/completions",
|
|
227
|
+
usageProvider: "deepinfra",
|
|
228
|
+
keyName: "deepinfra",
|
|
229
|
+
upstreamModelId: PLATFORM_HOSTED_CLAUDE_OPUS_5_5_MODEL,
|
|
230
|
+
wire: "chat.completions",
|
|
231
|
+
agentRunHosted: true
|
|
232
|
+
},
|
|
233
|
+
[PLATFORM_HOSTED_CLAUDE_FABLE_5_1_MODEL]: {
|
|
234
|
+
endpoint: "https://api.deepinfra.com/v1/openai/chat/completions",
|
|
235
|
+
usageProvider: "deepinfra",
|
|
236
|
+
keyName: "deepinfra",
|
|
237
|
+
upstreamModelId: PLATFORM_HOSTED_CLAUDE_FABLE_5_1_MODEL,
|
|
238
|
+
wire: "chat.completions",
|
|
239
|
+
agentRunHosted: true
|
|
240
|
+
},
|
|
220
241
|
// GPT-6 / GPT-5.6 系(OpenAI 官方 chat.completions):
|
|
221
242
|
// 平台价按短上下文价目定(长上下文档差价由平台吸收),见 platformHosted.ts。
|
|
222
243
|
[PLATFORM_HOSTED_GPT_6_ASTRA_MODEL]: {
|
|
@@ -534,6 +555,20 @@ var PLATFORM_HOSTED_CLAUDE_HAIKU_45_PRICE = {
|
|
|
534
555
|
output: toPlatformCredits(5)
|
|
535
556
|
// 40 credits
|
|
536
557
|
};
|
|
558
|
+
var PLATFORM_HOSTED_CLAUDE_OPUS_5_5_PRICE = {
|
|
559
|
+
input: toPlatformCredits(4),
|
|
560
|
+
// 32 credits
|
|
561
|
+
output: toPlatformCredits(20)
|
|
562
|
+
// 160 credits
|
|
563
|
+
};
|
|
564
|
+
var PLATFORM_HOSTED_CLAUDE_FABLE_5_1_PRICE = {
|
|
565
|
+
input: toPlatformCredits(10),
|
|
566
|
+
// 80 credits
|
|
567
|
+
inputCacheHit: toPlatformCredits(2.5),
|
|
568
|
+
// 20 credits(官方缓存读 = 输入 1/4)
|
|
569
|
+
output: toPlatformCredits(50)
|
|
570
|
+
// 400 credits
|
|
571
|
+
};
|
|
537
572
|
var PLATFORM_HOSTED_GPT_6_ASTRA_PRICE = {
|
|
538
573
|
input: toPlatformCredits(10),
|
|
539
574
|
// 80 credits
|
|
@@ -890,8 +925,8 @@ var platformHostedModels = [
|
|
|
890
925
|
supportsTool: true,
|
|
891
926
|
supportsReasoningEffort: true
|
|
892
927
|
},
|
|
893
|
-
// Claude 系(真实 DeepInfra 模型,官方 id 与平台 id
|
|
894
|
-
// 计费按 input 全价(见 calculatePrice
|
|
928
|
+
// Claude 系(真实 DeepInfra 模型,官方 id 与平台 id 同名):旧批无缓存价,
|
|
929
|
+
// 计费按 input 全价(见 calculatePrice);Fable 5.1 带官方缓存读价。
|
|
895
930
|
{
|
|
896
931
|
name: PLATFORM_HOSTED_CLAUDE_SONNET_5_MODEL,
|
|
897
932
|
displayName: "Claude Sonnet 5",
|
|
@@ -928,6 +963,26 @@ var platformHostedModels = [
|
|
|
928
963
|
contextWindow: 2e5,
|
|
929
964
|
supportsTool: false
|
|
930
965
|
},
|
|
966
|
+
{
|
|
967
|
+
// Claude Opus 5.5(2026-09-22 发布):官方 1M 上下文 / 128K 输出。
|
|
968
|
+
name: PLATFORM_HOSTED_CLAUDE_OPUS_5_5_MODEL,
|
|
969
|
+
displayName: "Claude Opus 5.5",
|
|
970
|
+
hasVision: true,
|
|
971
|
+
price: { ...PLATFORM_HOSTED_CLAUDE_OPUS_5_5_PRICE },
|
|
972
|
+
maxOutputTokens: 128e3,
|
|
973
|
+
contextWindow: 1e6,
|
|
974
|
+
supportsTool: false
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
// Claude Fable 5.1:输出上限未获官方数据,沿用 Fable 5 条目口径(4092)。
|
|
978
|
+
name: PLATFORM_HOSTED_CLAUDE_FABLE_5_1_MODEL,
|
|
979
|
+
displayName: "Claude Fable 5.1",
|
|
980
|
+
hasVision: true,
|
|
981
|
+
price: { ...PLATFORM_HOSTED_CLAUDE_FABLE_5_1_PRICE },
|
|
982
|
+
maxOutputTokens: 4092,
|
|
983
|
+
contextWindow: 1e6,
|
|
984
|
+
supportsTool: false
|
|
985
|
+
},
|
|
931
986
|
// GPT-6 / GPT-5.6 系:OpenAI 官方 chat.completions,平台价按短上下文价目。
|
|
932
987
|
{
|
|
933
988
|
name: PLATFORM_HOSTED_GPT_6_ASTRA_MODEL,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-DWLEOOGR.js";
|
|
7
7
|
import {
|
|
8
8
|
addContentAction
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5LRIZC2W.js";
|
|
10
10
|
import {
|
|
11
11
|
upload
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YNNVVLMV.js";
|
|
13
13
|
import {
|
|
14
14
|
getRuntimeServerContext
|
|
15
15
|
} from "./chunk-UKWGR5SS.js";
|