nolo-cli 0.90.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-W26HVI75.js → _executeModel-SKXPDRHT.js} +34 -34
- package/{action-6DXQGJMX.js → action-5DATYWOM.js} +6 -6
- package/{addContentAction-I7VX5SAC.js → addContentAction-5OLTVWIE.js} +4 -4
- package/{addDialogAgentAction-OJSFV7DZ.js → addDialogAgentAction-BRGMORV4.js} +3 -3
- package/{agentDeleteCommand-XNFWCKBH.js → agentDeleteCommand-KIJCEDIQ.js} +20 -20
- package/{agentEmailCommands-W3X3EJ3V.js → agentEmailCommands-KVJQBG6I.js} +42 -42
- package/{agentListCommands-DFWFU6XO.js → agentListCommands-S2WK34WE.js} +22 -22
- package/{agentMachineCommands-LMFOAEL4.js → agentMachineCommands-ESEVMWBG.js} +20 -20
- package/{agentProviderCommands-ZBYHGTGY.js → agentProviderCommands-I26OTLEQ.js} +1 -1
- package/{agentRecordCommands-FVVVCQFM.js → agentRecordCommands-TTYG2GYM.js} +41 -41
- package/{agentRunCommand-HTBVIBGV.js → agentRunCommand-PQ2D3MTU.js} +41 -41
- package/{agentRuntimeLocal-2JFG4HDU.js → agentRuntimeLocal-ZLZCZO3C.js} +17 -17
- package/{agentSlice-ZNLGFUB5.js → agentSlice-JF7MQKXG.js} +4 -4
- package/{appDeleteCommands-2UN4N2NR.js → appDeleteCommands-KHSC6H42.js} +21 -21
- package/{appDeployCommands-37D74KRR.js → appDeployCommands-KCCU76AG.js} +21 -21
- package/{appDeployStatusCommands-QBLWL2IA.js → appDeployStatusCommands-UBGX7463.js} +21 -21
- package/{appGetCommands-6KXIDF2T.js → appGetCommands-CGVGNM5J.js} +21 -21
- package/{appListCommands-G2WFGEWQ.js → appListCommands-JUVQUOGH.js} +21 -21
- package/{authCommand-V2DJ7DB7.js → authCommand-ETL233F2.js} +7 -7
- package/{builtinSkillRegistry-WBGYKIAZ.js → builtinSkillRegistry-PJU2R6ST.js} +4 -4
- package/{chatQueueReduxAdapter-XCJHIY3R.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-FQYMLZ6C.js → chunk-2D6QK26I.js} +4 -4
- package/{chunk-3CMTBX3X.js → chunk-2HBFQM4C.js} +3 -3
- package/{chunk-CLI4LFSM.js → chunk-2L3O7RDP.js} +1 -1
- package/{chunk-XMGHGEN6.js → chunk-2WHQZTB7.js} +1 -1
- package/{chunk-TL6L5XUT.js → chunk-3JIXYIXV.js} +83 -15
- package/{chunk-XKQJJK4F.js → chunk-3QC3NGWZ.js} +1 -1
- package/{chunk-5NMZNPTN.js → chunk-43WRG6QQ.js} +4 -4
- package/{chunk-3CR2LC6X.js → chunk-46TSVHGZ.js} +1 -1
- package/{chunk-ZAB3A45K.js → chunk-4B3TDK3S.js} +3 -3
- package/{chunk-4DRWWIOL.js → chunk-5LRIZC2W.js} +1 -1
- package/{chunk-DNQPPRHY.js → chunk-5NHGLCPL.js} +1 -1
- package/{chunk-PH5J5VUY.js → chunk-6R425QS6.js} +2 -2
- package/{chunk-NFMHIUY3.js → chunk-7GDFU22A.js} +19 -19
- package/{chunk-4BYPU626.js → chunk-BJ7HBUL2.js} +9 -9
- package/{chunk-2AYMFHUG.js → chunk-CDS4FQMP.js} +3 -3
- package/{chunk-WS22FPWT.js → chunk-DMFLXNFM.js} +1 -1
- package/{chunk-QHETQ3KI.js → chunk-EKXNV6EM.js} +2 -2
- package/{chunk-AQZRTHDZ.js → chunk-EONDQISD.js} +15 -15
- package/{chunk-N3OAPEZE.js → chunk-FEAPBZQW.js} +3 -3
- package/{chunk-XTUY5EL4.js → chunk-G3V74DVM.js} +3 -3
- package/{chunk-ZBT3WNBK.js → chunk-HNUNYXYB.js} +1 -1
- package/{chunk-ND2J3NRB.js → chunk-I2MX6JST.js} +2 -2
- package/{chunk-SMZSWB44.js → chunk-IMCXPAQV.js} +3 -3
- package/{chunk-YOXYA2GU.js → chunk-IP2RNQU3.js} +1 -0
- package/{chunk-WXPVOQD7.js → chunk-MOH3ETXO.js} +29 -29
- package/{chunk-HMEMJ7GH.js → chunk-NNJ4EAEH.js} +25 -22
- package/{chunk-5DFFKASO.js → chunk-NU2SOATM.js} +3 -3
- package/{chunk-6BEA566T.js → chunk-PIOIPOSY.js} +2 -2
- package/{chunk-2F4VYGFW.js → chunk-PNBZBDRM.js} +4 -3
- package/{chunk-ASGDO77C.js → chunk-Q67DOFOO.js} +92 -4
- package/{chunk-VRLI2WNW.js → chunk-QTV7ZYBE.js} +11 -7
- package/{chunk-VHJLQHPQ.js → chunk-RAYTIPJ5.js} +2 -2
- package/{chunk-576IMUGH.js → chunk-S46FYEWL.js} +1 -1
- package/{chunk-3R5PH4IP.js → chunk-S6SP3GWJ.js} +1 -1
- package/{chunk-JTK3TJYV.js → chunk-SATOEEL6.js} +1 -1
- package/{chunk-QCZX4FTW.js → chunk-SH43IESU.js} +173 -15
- package/{chunk-RZANZZL2.js → chunk-T67757YH.js} +1 -1
- package/{chunk-A2C4AKKM.js → chunk-TLO2X5C6.js} +1 -1
- package/{chunk-HYZHJ5GW.js → chunk-TLPTMSX3.js} +3 -3
- package/{chunk-GRYGRGPS.js → chunk-TSD5BVVP.js} +129 -4
- package/{chunk-DPQ2WVBY.js → chunk-TUEPUNFO.js} +1 -1
- package/{chunk-UTCCPWB2.js → chunk-TZB6Y4OD.js} +2 -2
- package/{chunk-Z33ARZCP.js → chunk-U7HSBX3I.js} +1 -1
- package/{chunk-L2ICPOAL.js → chunk-UT5NALV3.js} +1 -1
- package/{chunk-K7M3MWCE.js → chunk-UYJKSCJ4.js} +2 -2
- package/{chunk-2ADBVBEM.js → chunk-VUHXTHIK.js} +2 -2
- package/{chunk-F2CGG72C.js → chunk-W6MEYAGX.js} +4 -4
- package/{chunk-TVNI5FLG.js → chunk-YC2MP5NP.js} +4 -4
- package/{chunk-IIKPWSPX.js → chunk-YDEMAQEY.js} +1 -1
- package/{chunk-7MYYE7WX.js → chunk-YNI45YOE.js} +12 -12
- package/{chunk-UA5S3LQQ.js → chunk-YNNVVLMV.js} +3 -3
- package/{chunk-JBBZ5KUM.js → chunk-YQPWX5EE.js} +9 -9
- package/{chunk-5V4NJHRM.js → chunk-ZIK2FIX4.js} +5 -5
- package/{chunk-MJHQ3NRV.js → chunk-ZKYHTHNE.js} +1 -1
- package/{contentThunks-VURN3DFW.js → contentThunks-N7MGBLZJ.js} +16 -16
- package/{createAgentAutomationAction-QZAAY77R.js → createAgentAutomationAction-DNOR2HPB.js} +16 -16
- package/{createDialogAction-CHGXVTAC.js → createDialogAction-Y5CTGDHJ.js} +18 -18
- package/{createPageAction-IOGAFIN7.js → createPageAction-HIQCWUNG.js} +16 -16
- package/{dbSlice-YXQ6RYIH.js → dbSlice-NP52Y5TF.js} +3 -3
- package/{dialogCommands-XREAP6WQ.js → dialogCommands-RDCQ2IFS.js} +23 -21
- package/{dialogSlice-DOPGWGS4.js → dialogSlice-CCADNU4F.js} +15 -15
- package/{docCreateCommands-3PYZGSCL.js → docCreateCommands-7BQO7QFJ.js} +20 -20
- package/{docDeleteCommands-3Y6MU44Q.js → docDeleteCommands-AXWDDTVX.js} +21 -21
- package/{docReadCommands-UBANMAFR.js → docReadCommands-NMDWZKZW.js} +20 -20
- package/{docStore-SYYFBENY.js → docStore-RSIMI5PS.js} +4 -4
- package/{docUpdateCommands-4GK2X6BN.js → docUpdateCommands-KFIRA6WM.js} +20 -20
- package/{getPricing-F2C65RIX.js → getPricing-SLZYHJXY.js} +3 -3
- package/{handleSendMessageAction-NPVTY2GE.js → handleSendMessageAction-ZIABBL3A.js} +15 -15
- package/index.js +63 -54
- package/{machineCommands-I66X2XB7.js → machineCommands-H6TGKZYD.js} +40 -40
- package/{machineWsRunDispatch-W4FVBOUM.js → machineWsRunDispatch-YU4MGUB5.js} +40 -40
- package/{memberThunks-5T4J6KXQ.js → memberThunks-XJFHFZ5M.js} +4 -4
- package/{models-WW7VFNXB.js → models-WYXEJZAX.js} +2 -2
- package/package.json +1 -1
- package/{providerPresetApply-OCWWKBSD.js → providerPresetApply-RWISXOW7.js} +6 -6
- package/{providerRegistry-ZJQU7AJ7.js → providerRegistry-5KY7YV6K.js} +6 -6
- package/{read-M2Q6WEKB.js → read-KFAALANF.js} +2 -2
- package/{readDocTool-T37P3YPB.js → readDocTool-XNMCT64I.js} +1 -1
- package/{readlineWorkspace-VY5AMOGR.js → readlineWorkspace-JTU5LTZI.js} +44 -44
- package/{removeDialogAgentAction-HB3JBVAI.js → removeDialogAgentAction-X3IS7JNU.js} +6 -6
- package/{runAgentClientLoop-3NDADLVE.js → runAgentClientLoop-5TPQBYB6.js} +32 -32
- package/{setDialogExtraReferencesAction-4XLHRV37.js → setDialogExtraReferencesAction-QTV3ZJNH.js} +4 -4
- package/{setPrimaryDialogAgentAction-C3JOFC4W.js → setPrimaryDialogAgentAction-EUUISNQ2.js} +6 -6
- package/{settingSlice-CZRURSTH.js → settingSlice-UMATY3PD.js} +5 -5
- package/{spaceCommands-ENYCUUZH.js → spaceCommands-PR6QHSEG.js} +20 -20
- package/{streamAgentChatTurn-634OFUSR.js → streamAgentChatTurn-TXMNTXML.js} +36 -36
- package/{switchDialogAgentAction-C6KVUKJP.js → switchDialogAgentAction-HWFDQNY5.js} +3 -3
- package/{tools-ILBLCF7D.js → tools-GEVUKUVY.js} +29 -29
- package/{tuiSummaryLlmCaller-LFUBZKXK.js → tuiSummaryLlmCaller-PKZYGY3B.js} +10 -10
- package/{updateDialogTitleAction-RKFET73N.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,
|
|
@@ -17572,6 +17572,9 @@ var sanitizeCost = (raw) => {
|
|
|
17572
17572
|
};
|
|
17573
17573
|
var resolveModelPrice = (model, usage) => {
|
|
17574
17574
|
let activePrice = { ...model.price };
|
|
17575
|
+
if (typeof activePrice.inputCacheHit !== "number" && typeof activePrice.cachingRead === "number") {
|
|
17576
|
+
activePrice = { ...activePrice, inputCacheHit: activePrice.cachingRead };
|
|
17577
|
+
}
|
|
17575
17578
|
if (model.pricingStrategy?.type === "tiered_context") {
|
|
17576
17579
|
const contextSize = usage.input_tokens || 0;
|
|
17577
17580
|
const tiers = model.pricingStrategy.tiers || [];
|
|
@@ -17932,7 +17935,7 @@ var calculatePrice = ({
|
|
|
17932
17935
|
billingServiceTier,
|
|
17933
17936
|
nowMs
|
|
17934
17937
|
);
|
|
17935
|
-
const openAIImageSurcharge = provider === "openai" ? resolveOpenAIBuiltInImageSurcharge(model, usage) : 0;
|
|
17938
|
+
const openAIImageSurcharge = provider === "openai" || isPlatformHostedOpenAIImageModel(modelName) ? resolveOpenAIBuiltInImageSurcharge(model, usage) : 0;
|
|
17936
17939
|
const adjustedCosts = openAIImageSurcharge > 0 ? {
|
|
17937
17940
|
...costs,
|
|
17938
17941
|
regular: costs.regular + openAIImageSurcharge,
|
|
@@ -18599,7 +18602,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18599
18602
|
}
|
|
18600
18603
|
if (isCurrentDialog) {
|
|
18601
18604
|
await thunkApi.dispatch(resetMsgs());
|
|
18602
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
18605
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-CCADNU4F.js");
|
|
18603
18606
|
dispatch(clearPendingAttachments2());
|
|
18604
18607
|
}
|
|
18605
18608
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -18607,39 +18610,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18607
18610
|
|
|
18608
18611
|
// packages/chat/dialog/dialogSlice.ts
|
|
18609
18612
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
18610
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
18613
|
+
const { createDialogAction } = await import("./createDialogAction-Y5CTGDHJ.js");
|
|
18611
18614
|
return createDialogAction(args, thunkApi);
|
|
18612
18615
|
};
|
|
18613
18616
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
18614
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
18617
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-DNOR2HPB.js");
|
|
18615
18618
|
return createAgentAutomationAction(args, thunkApi);
|
|
18616
18619
|
};
|
|
18617
18620
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
18618
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
18621
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-MFR3UGL5.js");
|
|
18619
18622
|
return updateDialogTitleAction(args, thunkApi);
|
|
18620
18623
|
};
|
|
18621
18624
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
18622
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
18625
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-BRGMORV4.js");
|
|
18623
18626
|
return addDialogAgentAction(args, thunkApi);
|
|
18624
18627
|
};
|
|
18625
18628
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
18626
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
18629
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-X3IS7JNU.js");
|
|
18627
18630
|
return removeDialogAgentAction(args, thunkApi);
|
|
18628
18631
|
};
|
|
18629
18632
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
18630
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
18633
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-EUUISNQ2.js");
|
|
18631
18634
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
18632
18635
|
};
|
|
18633
18636
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
18634
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
18637
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-HWFDQNY5.js");
|
|
18635
18638
|
return switchDialogAgentAction(args, thunkApi);
|
|
18636
18639
|
};
|
|
18637
18640
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
18638
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
18641
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-QTV3ZJNH.js");
|
|
18639
18642
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
18640
18643
|
};
|
|
18641
18644
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
18642
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
18645
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-ZIABBL3A.js");
|
|
18643
18646
|
return handleSendMessageAction(args, thunkApi);
|
|
18644
18647
|
};
|
|
18645
18648
|
function clearDialogState() {
|
|
@@ -18652,7 +18655,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
18652
18655
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
18653
18656
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
18654
18657
|
try {
|
|
18655
|
-
const { createDocState } = await import("./docStore-
|
|
18658
|
+
const { createDocState } = await import("./docStore-RSIMI5PS.js");
|
|
18656
18659
|
const pageKey = await createDocState(
|
|
18657
18660
|
{ slateData, title },
|
|
18658
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";
|
|
@@ -31,9 +31,10 @@ var getModelPricing = (provider, modelName, _requestedServiceTier) => {
|
|
|
31
31
|
};
|
|
32
32
|
var getModelPricingForModel = (provider, modelName, model) => {
|
|
33
33
|
if (!model.price) return null;
|
|
34
|
+
const rawCacheHit = typeof model.price.inputCacheHit === "number" ? model.price.inputCacheHit : model.price.cachingRead;
|
|
34
35
|
return {
|
|
35
36
|
inputPrice: model.price.input,
|
|
36
|
-
inputCacheHitPrice: typeof
|
|
37
|
+
inputCacheHitPrice: typeof rawCacheHit === "number" ? rawCacheHit : 0,
|
|
37
38
|
outputPrice: model.price.output
|
|
38
39
|
};
|
|
39
40
|
};
|
|
@@ -45,8 +45,11 @@ 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";
|
|
52
|
+
var PLATFORM_HOSTED_GPT_6_LUNA_MODEL = "gpt-6-luna";
|
|
50
53
|
var PLATFORM_HOSTED_GPT_56_SOL_MODEL = "gpt-5.6-sol";
|
|
51
54
|
var PLATFORM_HOSTED_GPT_56_TERRA_MODEL = "gpt-5.6-terra";
|
|
52
55
|
var PLATFORM_HOSTED_GPT_56_LUNA_MODEL = "gpt-5.6-luna";
|
|
@@ -182,8 +185,10 @@ var PLATFORM_HOSTED_ROUTING_TABLE = {
|
|
|
182
185
|
agentRunHosted: true
|
|
183
186
|
},
|
|
184
187
|
// Claude 系(真实模型):DeepInfra 官方 id 与平台 id 同名,无需重映射。
|
|
185
|
-
//
|
|
186
|
-
//
|
|
188
|
+
// 旧批模型无缓存价(rate_per_input_token_cached=null),计费侧对无
|
|
189
|
+
// inputCacheHit 的模型按 input 全价计(见 calculatePrice);Fable 5.1 起
|
|
190
|
+
// 官方给出缓存读价(输入 1/4),在 platformHosted.ts 的 price 里带
|
|
191
|
+
// inputCacheHit。
|
|
187
192
|
[PLATFORM_HOSTED_CLAUDE_SONNET_5_MODEL]: {
|
|
188
193
|
endpoint: "https://api.deepinfra.com/v1/openai/chat/completions",
|
|
189
194
|
usageProvider: "deepinfra",
|
|
@@ -216,6 +221,23 @@ var PLATFORM_HOSTED_ROUTING_TABLE = {
|
|
|
216
221
|
wire: "chat.completions",
|
|
217
222
|
agentRunHosted: true
|
|
218
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
|
+
},
|
|
219
241
|
// GPT-6 / GPT-5.6 系(OpenAI 官方 chat.completions):
|
|
220
242
|
// 平台价按短上下文价目定(长上下文档差价由平台吸收),见 platformHosted.ts。
|
|
221
243
|
[PLATFORM_HOSTED_GPT_6_ASTRA_MODEL]: {
|
|
@@ -225,6 +247,17 @@ var PLATFORM_HOSTED_ROUTING_TABLE = {
|
|
|
225
247
|
wire: "chat.completions",
|
|
226
248
|
agentRunHosted: true
|
|
227
249
|
},
|
|
250
|
+
// GPT-6 Luna(2026-09-22 随 GPT-6 Sol/Luna 上线;官方模型页
|
|
251
|
+
// developers.openai.com/api/docs/models/gpt-6-luna,2026-09-23 核对):
|
|
252
|
+
// 官方 id 即 `gpt-6-luna`,Chat Completions 与 Responses 端点均可用;
|
|
253
|
+
// 平台托管沿用 GPT-6 系既有 chat.completions 分流(与 astra 同线同源)。
|
|
254
|
+
[PLATFORM_HOSTED_GPT_6_LUNA_MODEL]: {
|
|
255
|
+
endpoint: "https://api.openai.com/v1/chat/completions",
|
|
256
|
+
usageProvider: "openai",
|
|
257
|
+
keyName: "openai",
|
|
258
|
+
wire: "chat.completions",
|
|
259
|
+
agentRunHosted: true
|
|
260
|
+
},
|
|
228
261
|
[PLATFORM_HOSTED_GPT_56_SOL_MODEL]: {
|
|
229
262
|
endpoint: "https://api.openai.com/v1/chat/completions",
|
|
230
263
|
usageProvider: "openai",
|
|
@@ -522,6 +555,20 @@ var PLATFORM_HOSTED_CLAUDE_HAIKU_45_PRICE = {
|
|
|
522
555
|
output: toPlatformCredits(5)
|
|
523
556
|
// 40 credits
|
|
524
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
|
+
};
|
|
525
572
|
var PLATFORM_HOSTED_GPT_6_ASTRA_PRICE = {
|
|
526
573
|
input: toPlatformCredits(10),
|
|
527
574
|
// 80 credits
|
|
@@ -554,6 +601,14 @@ var PLATFORM_HOSTED_GPT_56_LUNA_PRICE = {
|
|
|
554
601
|
output: toPlatformCredits(1.2)
|
|
555
602
|
// 9.6 credits
|
|
556
603
|
};
|
|
604
|
+
var PLATFORM_HOSTED_GPT_6_LUNA_PRICE = {
|
|
605
|
+
input: toPlatformCredits(0.1),
|
|
606
|
+
// 0.8 credits
|
|
607
|
+
inputCacheHit: toPlatformCredits(0.01),
|
|
608
|
+
// 0.08 credits
|
|
609
|
+
output: toPlatformCredits(0.5)
|
|
610
|
+
// 4.0 credits
|
|
611
|
+
};
|
|
557
612
|
var PLATFORM_HOSTED_GLM_53_FLASH_PRICE = {
|
|
558
613
|
input: toPlatformCredits(0.1),
|
|
559
614
|
// 0.8 credits
|
|
@@ -870,8 +925,8 @@ var platformHostedModels = [
|
|
|
870
925
|
supportsTool: true,
|
|
871
926
|
supportsReasoningEffort: true
|
|
872
927
|
},
|
|
873
|
-
// Claude 系(真实 DeepInfra 模型,官方 id 与平台 id
|
|
874
|
-
// 计费按 input 全价(见 calculatePrice
|
|
928
|
+
// Claude 系(真实 DeepInfra 模型,官方 id 与平台 id 同名):旧批无缓存价,
|
|
929
|
+
// 计费按 input 全价(见 calculatePrice);Fable 5.1 带官方缓存读价。
|
|
875
930
|
{
|
|
876
931
|
name: PLATFORM_HOSTED_CLAUDE_SONNET_5_MODEL,
|
|
877
932
|
displayName: "Claude Sonnet 5",
|
|
@@ -908,6 +963,26 @@ var platformHostedModels = [
|
|
|
908
963
|
contextWindow: 2e5,
|
|
909
964
|
supportsTool: false
|
|
910
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
|
+
},
|
|
911
986
|
// GPT-6 / GPT-5.6 系:OpenAI 官方 chat.completions,平台价按短上下文价目。
|
|
912
987
|
{
|
|
913
988
|
name: PLATFORM_HOSTED_GPT_6_ASTRA_MODEL,
|
|
@@ -919,6 +994,19 @@ var platformHostedModels = [
|
|
|
919
994
|
supportsTool: true,
|
|
920
995
|
supportsReasoningEffort: true
|
|
921
996
|
},
|
|
997
|
+
{
|
|
998
|
+
// GPT-6 Luna:官方 1.05M 上下文 / 128k 输出 / 文本+图像输入、文本输出 /
|
|
999
|
+
// reasoning effort none-max(默认 medium);官方 Chat Completions 端点在
|
|
1000
|
+
// reasoning_effort=none 时支持 function calling(与 astra 同线)。
|
|
1001
|
+
name: PLATFORM_HOSTED_GPT_6_LUNA_MODEL,
|
|
1002
|
+
displayName: "GPT-6 Luna",
|
|
1003
|
+
hasVision: true,
|
|
1004
|
+
price: { ...PLATFORM_HOSTED_GPT_6_LUNA_PRICE },
|
|
1005
|
+
maxOutputTokens: 128e3,
|
|
1006
|
+
contextWindow: 105e4,
|
|
1007
|
+
supportsTool: true,
|
|
1008
|
+
supportsReasoningEffort: true
|
|
1009
|
+
},
|
|
922
1010
|
{
|
|
923
1011
|
name: PLATFORM_HOSTED_GPT_56_SOL_MODEL,
|
|
924
1012
|
displayName: "GPT-5.6 Sol",
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
platformHostedModels,
|
|
10
10
|
toCnyCredits,
|
|
11
11
|
zaiModels
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Q67DOFOO.js";
|
|
13
13
|
|
|
14
14
|
// packages/integrations/qwen/models.ts
|
|
15
15
|
var qwenModels = [
|
|
@@ -1599,14 +1599,14 @@ var GPT_5_5_PRO_LONG_CONTEXT_PRICE = {
|
|
|
1599
1599
|
inputCacheHit: 0
|
|
1600
1600
|
};
|
|
1601
1601
|
var GPT_5_6_SOL_STANDARD_PRICE = {
|
|
1602
|
-
input:
|
|
1603
|
-
output:
|
|
1604
|
-
inputCacheHit:
|
|
1602
|
+
input: 32,
|
|
1603
|
+
output: 160,
|
|
1604
|
+
inputCacheHit: 3.2
|
|
1605
1605
|
};
|
|
1606
1606
|
var GPT_5_6_SOL_LONG_CONTEXT_PRICE = {
|
|
1607
|
-
input:
|
|
1608
|
-
output:
|
|
1609
|
-
inputCacheHit:
|
|
1607
|
+
input: 64,
|
|
1608
|
+
output: 240,
|
|
1609
|
+
inputCacheHit: 6.4
|
|
1610
1610
|
};
|
|
1611
1611
|
var GPT_5_6_TERRA_STANDARD_PRICE = {
|
|
1612
1612
|
input: 16,
|
|
@@ -1694,6 +1694,9 @@ var openAIModels = [
|
|
|
1694
1694
|
{
|
|
1695
1695
|
name: "gpt-5.6-luna",
|
|
1696
1696
|
displayName: "GPT-5.6 Luna (Fast)",
|
|
1697
|
+
// 已知缺口(2026-09-24 官网核对):官方对 >272K 输入有 2x/1.5x 规则,本条目
|
|
1698
|
+
// 未建模档位;平台托管侧又明确「价不随档位浮动」。是否给 BYO 档位属于计费
|
|
1699
|
+
// 策略决定,留待 owner 决策,不在此顺手改。
|
|
1697
1700
|
endpointKey: "responses",
|
|
1698
1701
|
hasVision: true,
|
|
1699
1702
|
contextWindow: 105e4,
|
|
@@ -1889,6 +1892,7 @@ var REASONING_MODEL_NAMES = /* @__PURE__ */ new Set([
|
|
|
1889
1892
|
"gemini-3.1-pro-preview",
|
|
1890
1893
|
"gpt-5.5-pro",
|
|
1891
1894
|
"gpt-6-astra",
|
|
1895
|
+
"gpt-6-luna",
|
|
1892
1896
|
"gpt-5.6-sol",
|
|
1893
1897
|
"gpt-5.6-terra",
|
|
1894
1898
|
"gpt-5.6-luna",
|
|
@@ -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";
|