nolo-cli 0.69.0-alpha.1 → 0.69.0-alpha.3
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-YXI7ADJF.js → _executeModel-DFUPTH24.js} +30 -30
- package/{action-AOORTHTU.js → action-D22U6CTH.js} +4 -4
- package/{addContentAction-E3S6F3IS.js → addContentAction-XAPUTGL4.js} +3 -3
- package/{addDialogAgentAction-EUBNJ5SS.js → addDialogAgentAction-M7VLLBZM.js} +2 -2
- package/{agentDeleteCommand-B5SKAPTR.js → agentDeleteCommand-VNTOS6BE.js} +16 -16
- package/{agentEmailCommands-LXGAJ3WU.js → agentEmailCommands-5SUJUECH.js} +35 -35
- package/{agentListCommands-D2E7SFRQ.js → agentListCommands-RA5NNNII.js} +18 -18
- package/{agentMachineCommands-W35VHNJN.js → agentMachineCommands-Q3IGMXRD.js} +17 -17
- package/{agentRecordCommands-JKA6W77W.js → agentRecordCommands-NSGMEUHK.js} +34 -34
- package/{agentRunCommand-DFMXY5SI.js → agentRunCommand-BO77DK64.js} +34 -34
- package/{agentRuntimeLocal-T47DU3IA.js → agentRuntimeLocal-WDIBAXHF.js} +16 -16
- package/{agentSlice-K5IE7FV3.js → agentSlice-FT52UJXF.js} +3 -3
- package/{appDeleteCommands-URD2F5YN.js → appDeleteCommands-OVJIOW2J.js} +16 -16
- package/{appDeployCommands-OACWEEWP.js → appDeployCommands-BF3I5ZYA.js} +16 -16
- package/{appDeployStatusCommands-TVYLIUEU.js → appDeployStatusCommands-EYEKXIWI.js} +16 -16
- package/{appGetCommands-ZWG2YEAE.js → appGetCommands-HIGRIFZO.js} +16 -16
- package/{appListCommands-E3BMSQEY.js → appListCommands-BIP7SMU4.js} +16 -16
- package/{authCommand-QHMBXOOH.js → authCommand-EVGFLAHO.js} +7 -7
- package/{chatQueueReduxAdapter-HL5A3L2W.js → chatQueueReduxAdapter-K5KB3KAK.js} +13 -13
- package/{chunk-2L7EUBRN.js → chunk-3BIRZJCI.js} +4 -4
- package/{chunk-RJ5HQDHL.js → chunk-3QPYFHAH.js} +1 -1
- package/{chunk-IOZR6BLM.js → chunk-3U3EA3BO.js} +1 -1
- package/{chunk-7JS3F5ZR.js → chunk-4EJ5QYB5.js} +1 -1
- package/{chunk-HFC7I2SI.js → chunk-5CCXNZTD.js} +32 -24
- package/{chunk-4MKPBCTN.js → chunk-5J7W2VWW.js} +2 -3
- package/{chunk-V3B6FQKC.js → chunk-62NIW5JP.js} +12 -12
- package/{chunk-5YIL5WDC.js → chunk-AJHEFRGJ.js} +220 -71
- package/{chunk-76JAMDUT.js → chunk-BJCWNHVU.js} +2 -2
- package/{chunk-OMHOVU2L.js → chunk-CLUJ44KW.js} +1 -1
- package/{chunk-VLQRD7ZJ.js → chunk-CMH2SYHX.js} +2 -2
- package/{chunk-2XENHR3P.js → chunk-DSRXPQWA.js} +4 -4
- package/{chunk-3E67YXGD.js → chunk-E36HZARC.js} +2 -2
- package/{chunk-JFPBCEFP.js → chunk-ETVDF66U.js} +15 -16
- package/{chunk-SHPRRU2W.js → chunk-EXMHJN7C.js} +2 -2
- package/{chunk-UFTOGLCE.js → chunk-FPTQQSS6.js} +1 -1
- package/{chunk-SKWZFK56.js → chunk-FUZRQKU2.js} +4 -4
- package/{chunk-BNATE77Z.js → chunk-GBPZKFYK.js} +1 -1
- package/{chunk-6RNOFHEM.js → chunk-GUR5O7MB.js} +26 -26
- package/{chunk-ZCVO2HLZ.js → chunk-HXAINXPQ.js} +4 -4
- package/{chunk-MNIB5JKP.js → chunk-I5N43M6M.js} +1 -1
- package/{chunk-SQDGTW2T.js → chunk-K7AG465Q.js} +2 -4
- package/{chunk-Y7PULBIA.js → chunk-KIS76A2P.js} +1 -1
- package/{chunk-ZXB3C27J.js → chunk-L77RUZVI.js} +3 -3
- package/{chunk-C2SHPJSS.js → chunk-LW2BWHRM.js} +28 -38
- package/{chunk-RXYIUZU5.js → chunk-LWFMRMP2.js} +8 -8
- package/{chunk-6IT5ECCC.js → chunk-NG4UT4K4.js} +1 -1
- package/{chunk-ZW22L5ES.js → chunk-PGSKWZCB.js} +1 -1
- package/{chunk-XTJTN3RW.js → chunk-PUOC4YRO.js} +0 -4
- package/{chunk-RSDPPLSM.js → chunk-PYXL2CJL.js} +1 -1
- package/{chunk-K647EQV3.js → chunk-PZM3EENV.js} +1 -1
- package/{chunk-4ENGEYUY.js → chunk-R2PJ4WKV.js} +4 -4
- package/{chunk-WMRPXIZY.js → chunk-SZLVDREM.js} +1 -1
- package/{chunk-5TJQUZQ7.js → chunk-UDQWGU7F.js} +1 -1
- package/{chunk-TQC77XVE.js → chunk-UJ63UXGE.js} +1 -1
- package/{chunk-PADUIVUU.js → chunk-VD2NV6C5.js} +3 -3
- package/{chunk-LMEH4C4G.js → chunk-WGBSEJ5K.js} +3 -3
- package/{chunk-OPNHMILE.js → chunk-XWNRAIUL.js} +2 -2
- package/{chunk-4K6DB3GJ.js → chunk-YFADVSZE.js} +3 -3
- package/{chunk-KRR3AG7T.js → chunk-ZLPA7K55.js} +3 -3
- package/{chunk-VOEOMLKR.js → chunk-ZW7BZH2L.js} +9 -9
- package/{chunk-IM5EETJX.js → chunk-ZZCJUXUI.js} +1 -1
- package/{contentThunks-XV3U3V2O.js → contentThunks-EAWBISNO.js} +14 -14
- package/{createAgentAutomationAction-UKKP6SAJ.js → createAgentAutomationAction-QSJZAWUD.js} +14 -14
- package/{createDialogAction-WK6Y7DD7.js → createDialogAction-7OMDWUQ2.js} +15 -15
- package/{createPageAction-SLRDORVZ.js → createPageAction-5YRHFLR5.js} +14 -14
- package/{dbSlice-WL5T2LVF.js → dbSlice-GKGGFNOB.js} +2 -2
- package/{dialogCommands-E5AAV7PB.js → dialogCommands-J6JW5543.js} +16 -16
- package/{dialogSlice-2TSABNK5.js → dialogSlice-7S2IE53T.js} +13 -13
- package/{docCreateCommands-N7P5VBTU.js → docCreateCommands-OKBRNLDP.js} +16 -16
- package/{docDeleteCommands-LZPPUYY6.js → docDeleteCommands-G7L466BF.js} +16 -16
- package/{docReadCommands-UCQGMMBR.js → docReadCommands-LR77KH6M.js} +16 -16
- package/{docStore-GX4LBBIB.js → docStore-AETL5FRN.js} +3 -3
- package/{docUpdateCommands-H57EVVVE.js → docUpdateCommands-ZOICHED3.js} +16 -16
- package/{getPricing-JRNHI5CV.js → getPricing-HRMSOF3E.js} +3 -3
- package/{handleSendMessageAction-DYAB4HTU.js → handleSendMessageAction-2BZIEE2M.js} +13 -13
- package/index.js +47 -47
- package/{machineCommands-7G33TEID.js → machineCommands-XW5Y7WIZ.js} +34 -34
- package/{machineWsRunDispatch-5I4IU4FF.js → machineWsRunDispatch-W5CWYIMG.js} +34 -34
- package/{memberThunks-OBDDU3NR.js → memberThunks-KATHH3F4.js} +3 -3
- package/{models-NBVTQACP.js → models-GS72DVJS.js} +2 -2
- package/package.json +1 -1
- package/{read-OOTHDABU.js → read-LC6HVYBN.js} +1 -1
- package/{readDocTool-OU4QXJT6.js → readDocTool-N3ERJHHF.js} +1 -1
- package/{readlineWorkspace-5A2BHFDV.js → readlineWorkspace-UPNB3WUE.js} +231 -119
- package/{removeDialogAgentAction-BVU6E27N.js → removeDialogAgentAction-F5GPTALR.js} +4 -4
- package/{runAgentClientLoop-VZCX37ZP.js → runAgentClientLoop-CAS5IJWE.js} +28 -28
- package/{setDialogExtraReferencesAction-AUKADSTQ.js → setDialogExtraReferencesAction-AY4ZCF3A.js} +3 -3
- package/{setPrimaryDialogAgentAction-HMHZWURC.js → setPrimaryDialogAgentAction-HPMG7V3R.js} +4 -4
- package/{settingSlice-HIQRILF5.js → settingSlice-OEJA4NQO.js} +3 -3
- package/{spaceCommands-ANELRNRF.js → spaceCommands-FZXF2UST.js} +16 -16
- package/{streamAgentChatTurn-QM364J6U.js → streamAgentChatTurn-3RGW4I7T.js} +32 -32
- package/{switchDialogAgentAction-Y66ZTIGP.js → switchDialogAgentAction-HMDZTZ4I.js} +2 -2
- package/{tools-YNRN4HC7.js → tools-YFW6QGIZ.js} +22 -22
- package/{tuiSummaryLlmCaller-ZGATEM35.js → tuiSummaryLlmCaller-J5BEPLW5.js} +10 -10
- package/{updateDialogTitleAction-OOYKI7LI.js → updateDialogTitleAction-QAUF6YRW.js} +14 -14
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toCompactAgentSummary,
|
|
30
30
|
toSafeAgentSummary,
|
|
31
31
|
toUnavailableAgentSummary
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FPTQQSS6.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-UDQWGU7F.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-PZM3EENV.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-4EJ5QYB5.js";
|
|
67
67
|
import {
|
|
68
68
|
waitForAbortableDelay
|
|
69
69
|
} from "./chunk-N4G4PKQ6.js";
|
|
@@ -81,14 +81,14 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-VD2NV6C5.js";
|
|
85
85
|
import {
|
|
86
86
|
BUILTIN_OBJECT_SKILL_IDS,
|
|
87
87
|
buildBuiltinObjectSkillConfig,
|
|
88
88
|
buildBuiltinObjectSkillDbKey,
|
|
89
89
|
buildBuiltinObjectSkillPageContent,
|
|
90
90
|
createDialogAction
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-FUZRQKU2.js";
|
|
92
92
|
import {
|
|
93
93
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
94
94
|
addContentToSpace,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
updateContentCategory,
|
|
107
107
|
updateContentTitle,
|
|
108
108
|
writeStoredCollapsedCategories
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-3BIRZJCI.js";
|
|
110
110
|
import {
|
|
111
111
|
getCurrentSpaceId,
|
|
112
112
|
getCurrentSpaceIdRaw,
|
|
@@ -128,14 +128,14 @@ import {
|
|
|
128
128
|
selectMsgById,
|
|
129
129
|
uiAskChoiceFunc,
|
|
130
130
|
uiAskChoiceFunctionSchema
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-LW2BWHRM.js";
|
|
132
132
|
import {
|
|
133
133
|
createAgent,
|
|
134
134
|
deleteServerSyncedCredential,
|
|
135
135
|
runLlm,
|
|
136
136
|
streamAgentChatTurn,
|
|
137
137
|
updateAgent
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-R2PJ4WKV.js";
|
|
139
139
|
import {
|
|
140
140
|
getActiveDialogKey,
|
|
141
141
|
selectCurrentDialogKey,
|
|
@@ -184,10 +184,10 @@ import {
|
|
|
184
184
|
} from "./chunk-CJCJF5XB.js";
|
|
185
185
|
import {
|
|
186
186
|
buildDatabaseFileContentUrl
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-E36HZARC.js";
|
|
188
188
|
import {
|
|
189
189
|
DEFAULT_MODEL
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-UJ63UXGE.js";
|
|
191
191
|
import {
|
|
192
192
|
compactWhitespace
|
|
193
193
|
} from "./chunk-DWLEOOGR.js";
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
} from "./chunk-O6OSWFZQ.js";
|
|
204
204
|
import {
|
|
205
205
|
shareResourceAction
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-SZLVDREM.js";
|
|
207
207
|
import {
|
|
208
208
|
AGENT_UPDATE_FIELD_NAMES,
|
|
209
209
|
nolotusId,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
selectAutoApproveSelfUpdateFields,
|
|
212
212
|
selectCurrentServer,
|
|
213
213
|
selectSyncServers
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-XWNRAIUL.js";
|
|
215
215
|
import {
|
|
216
216
|
asRecordOrEmpty
|
|
217
217
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
UNCATEGORIZED_ID,
|
|
220
220
|
addContentAction,
|
|
221
221
|
checkSpaceMembership
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-ZZCJUXUI.js";
|
|
223
223
|
import {
|
|
224
224
|
createSpaceKey,
|
|
225
225
|
normalizeSpaceId
|
|
@@ -234,7 +234,7 @@ import {
|
|
|
234
234
|
selectEntities,
|
|
235
235
|
toTimestampMs,
|
|
236
236
|
write
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-YFADVSZE.js";
|
|
238
238
|
import {
|
|
239
239
|
SEPARATOR,
|
|
240
240
|
TYPE_STORAGE_PREFIXES,
|
|
@@ -266,7 +266,7 @@ import {
|
|
|
266
266
|
} from "./chunk-QSJ3HFEF.js";
|
|
267
267
|
import {
|
|
268
268
|
readAction
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-5J7W2VWW.js";
|
|
270
270
|
import {
|
|
271
271
|
extractCustomId
|
|
272
272
|
} from "./chunk-BJIRLHJR.js";
|
|
@@ -919,7 +919,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
919
919
|
workspace: { mode: "lease" }
|
|
920
920
|
};
|
|
921
921
|
var findModelConfig = async (modelName, provider) => {
|
|
922
|
-
const { ALL_MODELS } = await import("./models-
|
|
922
|
+
const { ALL_MODELS } = await import("./models-GS72DVJS.js");
|
|
923
923
|
const name = toTrimmedString(modelName);
|
|
924
924
|
const prov = toTrimmedString(provider ?? "");
|
|
925
925
|
if (!name) return null;
|
|
@@ -1164,7 +1164,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1164
1164
|
const trimmedModel = toTrimmedString(model);
|
|
1165
1165
|
const trimmedProvider = toTrimmedString(provider);
|
|
1166
1166
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1167
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1167
|
+
const { getModelPricing } = await import("./getPricing-HRMSOF3E.js");
|
|
1168
1168
|
const normalizedTools = tools ?? [];
|
|
1169
1169
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1170
1170
|
const formData = {
|
|
@@ -4672,7 +4672,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
4672
4672
|
const deletedDialogIds = [];
|
|
4673
4673
|
const deletedDialogKeys = [];
|
|
4674
4674
|
const failures = [];
|
|
4675
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
4675
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-7S2IE53T.js");
|
|
4676
4676
|
for (const target of targets) {
|
|
4677
4677
|
try {
|
|
4678
4678
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4979,7 +4979,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4979
4979
|
}
|
|
4980
4980
|
};
|
|
4981
4981
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4982
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4982
|
+
const { buildReadDocResult } = await import("./readDocTool-N3ERJHHF.js");
|
|
4983
4983
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4984
4984
|
if (typeof id !== "string" || !id.trim()) {
|
|
4985
4985
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -5782,7 +5782,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5782
5782
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
5783
5783
|
const readSpace = async (dbKey) => {
|
|
5784
5784
|
try {
|
|
5785
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
5785
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-GKGGFNOB.js");
|
|
5786
5786
|
if (fresh) {
|
|
5787
5787
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
5788
5788
|
}
|
|
@@ -11508,7 +11508,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
11508
11508
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
11509
11509
|
async function addImageContentToSpace(input) {
|
|
11510
11510
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
11511
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
11511
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-XAPUTGL4.js")).addContentAction;
|
|
11512
11512
|
await addContentAction2(
|
|
11513
11513
|
{
|
|
11514
11514
|
spaceId: input.spaceId,
|
|
@@ -15429,7 +15429,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
15429
15429
|
if (!executionInput) {
|
|
15430
15430
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
15431
15431
|
}
|
|
15432
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
15432
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-YFW6QGIZ.js");
|
|
15433
15433
|
const { executor } = findToolExecutor2(run.toolName);
|
|
15434
15434
|
toolRunStarted({
|
|
15435
15435
|
id: run.id,
|
|
@@ -15453,7 +15453,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
15453
15453
|
const latestState = thunkApi.getState();
|
|
15454
15454
|
const userId = selectIdentityUserId(latestState);
|
|
15455
15455
|
if (userId) {
|
|
15456
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
15456
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-KATHH3F4.js");
|
|
15457
15457
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
15458
15458
|
}
|
|
15459
15459
|
}
|
|
@@ -17936,7 +17936,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17936
17936
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17937
17937
|
};
|
|
17938
17938
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17939
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
17939
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-AETL5FRN.js");
|
|
17940
17940
|
if (getDocState().pageKey === id) {
|
|
17941
17941
|
applyExternalDocUpdate({
|
|
17942
17942
|
slateData: finalSlateData,
|
|
@@ -17961,7 +17961,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17961
17961
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
17962
17962
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
17963
17963
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
17964
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
17964
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-OEJA4NQO.js")).setSettings;
|
|
17965
17965
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
17966
17966
|
}
|
|
17967
17967
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
stablePromptCacheKey,
|
|
26
26
|
toOpenAiCompatibleMessages,
|
|
27
27
|
toResponsesTools
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PUOC4YRO.js";
|
|
29
29
|
import {
|
|
30
30
|
buildProviderExecutionPlan,
|
|
31
31
|
canUsePlatformChatProvider,
|
|
@@ -35,15 +35,15 @@ import {
|
|
|
35
35
|
resolvePlatformAuthToken,
|
|
36
36
|
resolvePlatformServerUrl,
|
|
37
37
|
resolveProviderTransportDecision
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CMH2SYHX.js";
|
|
39
39
|
import {
|
|
40
40
|
clipCompactText,
|
|
41
41
|
isMeaningfulChatCompletionOutput,
|
|
42
42
|
isMeaningfulResponsesOutput
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-E36HZARC.js";
|
|
44
44
|
import {
|
|
45
45
|
NOLO_CLIENT_VERSION_HEADER
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-AJHEFRGJ.js";
|
|
47
47
|
import {
|
|
48
48
|
isRecord
|
|
49
49
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UJ63UXGE.js";
|
|
4
4
|
import {
|
|
5
5
|
isPlatformHostedDeepseekModel,
|
|
6
6
|
isPlatformHostedOpenAIImageModel,
|
|
7
7
|
resolvePlatformHostedRouting
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AJHEFRGJ.js";
|
|
9
9
|
import {
|
|
10
10
|
asTrimmedLowercaseString
|
|
11
11
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -25,8 +25,6 @@ var PLATFORM_CHAT_COMPLETIONS_ENDPOINTS = {
|
|
|
25
25
|
qwen: "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",
|
|
26
26
|
// Moonshot AI(月之暗面)开放平台 OpenAI 兼容模式(按量计费)
|
|
27
27
|
moonshot: "https://api.moonshot.cn/v1/chat/completions",
|
|
28
|
-
// 平台托管 Kimi K3 的实际上游
|
|
29
|
-
crof: "https://crof.ai/v1/chat/completions",
|
|
30
28
|
// 平台托管 GLM 5.3 Flash 的实际上游(RunInfra 独家廉价快档)
|
|
31
29
|
runinfra: "https://api.runinfra.ai/v1/chat/completions"
|
|
32
30
|
// 无 nolo 默认上游:平台托管模型全部显式分流,未识别模型返回 undefined
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5CCXNZTD.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GUR5O7MB.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LWFMRMP2.js";
|
|
11
11
|
import {
|
|
12
12
|
applyToolSurfaceConstraints
|
|
13
13
|
} from "./chunk-V3ZKNK5D.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-AGGIDPCZ.js";
|
|
14
14
|
import {
|
|
15
15
|
runLlm
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-R2PJ4WKV.js";
|
|
17
17
|
import {
|
|
18
18
|
cleanupCliSessionForDialog
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BJCWNHVU.js";
|
|
20
20
|
import {
|
|
21
21
|
getActiveDialogAgentId,
|
|
22
22
|
getDialogAgentIds,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
getModelInfo,
|
|
55
55
|
normalizeUsage,
|
|
56
56
|
resolveAutoExecutionProfile
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-DSRXPQWA.js";
|
|
58
58
|
import {
|
|
59
59
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
60
60
|
buildCompactionMetricsFromPlan,
|
|
@@ -65,11 +65,11 @@ import {
|
|
|
65
65
|
normalizeAssistantContentBuffer,
|
|
66
66
|
planCompression,
|
|
67
67
|
serializeMessageContent
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-E36HZARC.js";
|
|
69
69
|
import {
|
|
70
70
|
findModelConfig,
|
|
71
71
|
getModelConfig
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-UJ63UXGE.js";
|
|
73
73
|
import {
|
|
74
74
|
toErrorMessage
|
|
75
75
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -80,16 +80,14 @@ import {
|
|
|
80
80
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
|
|
81
81
|
PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL,
|
|
82
82
|
PLATFORM_HOSTED_GLM_53_FLASH_BASETEN_PRICE,
|
|
83
|
-
PLATFORM_HOSTED_GLM_53_FLASH_MODEL,
|
|
84
83
|
getPlatformHostedDeepSeekV4Price,
|
|
85
|
-
isPlatformHostedClaudeModel,
|
|
86
84
|
isPlatformHostedDeepSeekV4Model,
|
|
87
85
|
isPlatformHostedImageModel,
|
|
88
86
|
isPlatformHostedOpenAIImageModel
|
|
89
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-AJHEFRGJ.js";
|
|
90
88
|
import {
|
|
91
89
|
nolotusId
|
|
92
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-XWNRAIUL.js";
|
|
93
91
|
import {
|
|
94
92
|
asRecordOrEmpty
|
|
95
93
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -99,7 +97,7 @@ import {
|
|
|
99
97
|
remove,
|
|
100
98
|
selectById,
|
|
101
99
|
write
|
|
102
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-YFADVSZE.js";
|
|
103
101
|
import {
|
|
104
102
|
buildDialogAgentListIndexDeleteOps,
|
|
105
103
|
createDialogMessageKeyAndId,
|
|
@@ -121,7 +119,7 @@ import {
|
|
|
121
119
|
builtinAgentCatalogEntryById,
|
|
122
120
|
builtinRuntimeFallbackEntries,
|
|
123
121
|
isBuiltinPlatformAgentKey
|
|
124
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-5J7W2VWW.js";
|
|
125
123
|
import {
|
|
126
124
|
extractCustomId,
|
|
127
125
|
extractUserId,
|
|
@@ -17088,7 +17086,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
17088
17086
|
runtimeOptions: args.runtimeOptions
|
|
17089
17087
|
});
|
|
17090
17088
|
if (agentKeyToUse) {
|
|
17091
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
17089
|
+
const { streamAgentChatTurn } = await import("./agentSlice-FT52UJXF.js");
|
|
17092
17090
|
await dispatch(
|
|
17093
17091
|
streamAgentChatTurn({
|
|
17094
17092
|
agentKey: agentKeyToUse,
|
|
@@ -17397,15 +17395,20 @@ var calculateBasicCost = (model, usage, provider, externalPrice, billingServiceT
|
|
|
17397
17395
|
switch (provider) {
|
|
17398
17396
|
case "deepseek":
|
|
17399
17397
|
case "openai":
|
|
17400
|
-
case "deepinfra":
|
|
17401
17398
|
case "runinfra":
|
|
17402
17399
|
case "baseten":
|
|
17403
17400
|
return calculateCacheBasedCost(resolvedPrice, usage, externalPrice);
|
|
17401
|
+
// deepinfra:多数模型带上游缓存价(走 cache-hit 折扣);无缓存价的模型
|
|
17402
|
+
// (如 Claude 系,rate_per_input_token_cached=null)必须把 cache_read 按
|
|
17403
|
+
// input 全价计——calculateCacheBasedCost 在缺 inputCacheHit 时取 0 价,
|
|
17404
|
+
// 会把缓存 token 打成免费。与 nolo 组同一防御。
|
|
17405
|
+
case "deepinfra":
|
|
17406
|
+
return typeof resolvedPrice.inputCacheHit === "number" ? calculateCacheBasedCost(resolvedPrice, usage, externalPrice) : calculateSimpleCost(resolvedPrice, usage, externalPrice);
|
|
17407
|
+
// nolo: honor inputCacheHit only when the model defines it (K3 has
|
|
17404
17408
|
// without it keep simple full-price billing so cached tokens are not
|
|
17405
17409
|
// priced at 0 — but a platform-hosted model用于 agentic 循环时必须补上
|
|
17406
17410
|
// 这一项,否则每轮重放的上下文会被按 input 原价重复计费。
|
|
17407
17411
|
case "nolo":
|
|
17408
|
-
case "upstream-k3":
|
|
17409
17412
|
return typeof resolvedPrice.inputCacheHit === "number" ? calculateCacheBasedCost(resolvedPrice, usage, externalPrice) : calculateSimpleCost(resolvedPrice, usage, externalPrice);
|
|
17410
17413
|
case "anthropic":
|
|
17411
17414
|
return calculateAnthropicCost(resolvedPrice, usage, externalPrice);
|
|
@@ -17525,19 +17528,6 @@ var calculatePrice = ({
|
|
|
17525
17528
|
const pay3 = calculatePayDistribution(costs3, externalPrice, sharingLevel);
|
|
17526
17529
|
return { cost: sanitizeCost(costs3.charge), pay: pay3 };
|
|
17527
17530
|
}
|
|
17528
|
-
if (provider === "nolo" && isPlatformHostedClaudeModel(modelName)) {
|
|
17529
|
-
const compatModel = getModelConfig("nolo", PLATFORM_HOSTED_GLM_53_FLASH_MODEL);
|
|
17530
|
-
const costs3 = calculateBasicCost(
|
|
17531
|
-
compatModel,
|
|
17532
|
-
usage,
|
|
17533
|
-
provider,
|
|
17534
|
-
externalPrice,
|
|
17535
|
-
billingServiceTier,
|
|
17536
|
-
nowMs
|
|
17537
|
-
);
|
|
17538
|
-
const pay3 = calculatePayDistribution(costs3, externalPrice, sharingLevel);
|
|
17539
|
-
return { cost: sanitizeCost(costs3.charge), pay: pay3 };
|
|
17540
|
-
}
|
|
17541
17531
|
const zeroCostModel = {
|
|
17542
17532
|
name: modelName,
|
|
17543
17533
|
hasVision: false,
|
|
@@ -18229,7 +18219,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18229
18219
|
}
|
|
18230
18220
|
if (isCurrentDialog) {
|
|
18231
18221
|
await thunkApi.dispatch(resetMsgs());
|
|
18232
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
18222
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-7S2IE53T.js");
|
|
18233
18223
|
dispatch(clearPendingAttachments2());
|
|
18234
18224
|
}
|
|
18235
18225
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -18237,39 +18227,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18237
18227
|
|
|
18238
18228
|
// packages/chat/dialog/dialogSlice.ts
|
|
18239
18229
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
18240
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
18230
|
+
const { createDialogAction } = await import("./createDialogAction-7OMDWUQ2.js");
|
|
18241
18231
|
return createDialogAction(args, thunkApi);
|
|
18242
18232
|
};
|
|
18243
18233
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
18244
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
18234
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-QSJZAWUD.js");
|
|
18245
18235
|
return createAgentAutomationAction(args, thunkApi);
|
|
18246
18236
|
};
|
|
18247
18237
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
18248
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
18238
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-QAUF6YRW.js");
|
|
18249
18239
|
return updateDialogTitleAction(args, thunkApi);
|
|
18250
18240
|
};
|
|
18251
18241
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
18252
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
18242
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-M7VLLBZM.js");
|
|
18253
18243
|
return addDialogAgentAction(args, thunkApi);
|
|
18254
18244
|
};
|
|
18255
18245
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
18256
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
18246
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-F5GPTALR.js");
|
|
18257
18247
|
return removeDialogAgentAction(args, thunkApi);
|
|
18258
18248
|
};
|
|
18259
18249
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
18260
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
18250
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-HPMG7V3R.js");
|
|
18261
18251
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
18262
18252
|
};
|
|
18263
18253
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
18264
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
18254
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-HMDZTZ4I.js");
|
|
18265
18255
|
return switchDialogAgentAction(args, thunkApi);
|
|
18266
18256
|
};
|
|
18267
18257
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
18268
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
18258
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-AY4ZCF3A.js");
|
|
18269
18259
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
18270
18260
|
};
|
|
18271
18261
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
18272
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
18262
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-2BZIEE2M.js");
|
|
18273
18263
|
return handleSendMessageAction(args, thunkApi);
|
|
18274
18264
|
};
|
|
18275
18265
|
function clearDialogState() {
|
|
@@ -18282,7 +18272,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
18282
18272
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
18283
18273
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
18284
18274
|
try {
|
|
18285
|
-
const { createDocState } = await import("./docStore-
|
|
18275
|
+
const { createDocState } = await import("./docStore-AETL5FRN.js");
|
|
18286
18276
|
const pageKey = await createDocState(
|
|
18287
18277
|
{ slateData, title },
|
|
18288
18278
|
{ dispatch, getState }
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
readSseFrames,
|
|
9
9
|
streamSseDataValues,
|
|
10
10
|
throwIfChatCompletionStreamFailed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HXAINXPQ.js";
|
|
12
12
|
import {
|
|
13
13
|
clipToolText,
|
|
14
14
|
hasImageInRuntimeMessages,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
resolveHistoricalToolContentCap,
|
|
17
17
|
resolveToolOutputProfile,
|
|
18
18
|
stripImagePartsFromMessages
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KIS76A2P.js";
|
|
20
20
|
import {
|
|
21
21
|
downgradeUnparsableToolCalls,
|
|
22
22
|
hasParsableObjectArguments,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
requiresBareImageUrl,
|
|
40
40
|
resolveToolGuidedSections,
|
|
41
41
|
toBareImageUrlMessages
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZLPA7K55.js";
|
|
43
43
|
import {
|
|
44
44
|
convertMessagesToResponsesInput,
|
|
45
45
|
extractReasoningFromResponseOutput,
|
|
@@ -49,16 +49,16 @@ import {
|
|
|
49
49
|
shouldStripReasoningContentForOutbound,
|
|
50
50
|
toOpenAiCompatibleMessages,
|
|
51
51
|
toResponsesTools
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PUOC4YRO.js";
|
|
53
53
|
import {
|
|
54
54
|
getAntigravityUserAgent,
|
|
55
55
|
readAntigravityProjectId,
|
|
56
56
|
resolveAntigravityCloudCodeBaseUrl
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-PGSKWZCB.js";
|
|
58
58
|
import {
|
|
59
59
|
buildProviderAuthHeaders,
|
|
60
60
|
buildProviderExecutionPlan
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-CMH2SYHX.js";
|
|
62
62
|
import {
|
|
63
63
|
BRIDGE_STREAM_MAX_CHARS,
|
|
64
64
|
DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
resolveEmptyAssistantFallbackMessage,
|
|
87
87
|
resolveEmptyAssistantOutcome,
|
|
88
88
|
resolveTruncatedReasoningTailLog
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-DSRXPQWA.js";
|
|
90
90
|
import {
|
|
91
91
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
92
92
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
resolveCompressionTriggerRatio,
|
|
106
106
|
truncateToolOutputForContext,
|
|
107
107
|
withProviderCallTimingFields
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-E36HZARC.js";
|
|
109
109
|
import {
|
|
110
110
|
estimateTokenCount
|
|
111
111
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -46,10 +46,6 @@ var STREAM_USAGE_PROVIDERS = /* @__PURE__ */ new Set([
|
|
|
46
46
|
"deepseek",
|
|
47
47
|
"ollama",
|
|
48
48
|
"ollama-cloud",
|
|
49
|
-
// endpoint; the hosted branch passes "upstream-k3" as the usage provider so these
|
|
50
|
-
// streams request the terminal usage chunk (same capability decision as
|
|
51
|
-
// deepinfra/vultr).
|
|
52
|
-
"upstream-k3",
|
|
53
49
|
// RunInfra hosted fallback channel: OpenAI-compatible chat.completions
|
|
54
50
|
// endpoint, supports stream_options.include_usage (measured to return
|
|
55
51
|
// prompt_tokens_details.cached_tokens).
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
patch,
|
|
12
12
|
remove,
|
|
13
13
|
write
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YFADVSZE.js";
|
|
15
15
|
import {
|
|
16
16
|
createAgentKey,
|
|
17
17
|
toTrimmedString
|
|
@@ -304,7 +304,7 @@ var slice = createSliceWithThunks({
|
|
|
304
304
|
const overrides = {};
|
|
305
305
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
306
306
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
307
|
-
const { _executeModel } = await import("./_executeModel-
|
|
307
|
+
const { _executeModel } = await import("./_executeModel-DFUPTH24.js");
|
|
308
308
|
return _executeModel(
|
|
309
309
|
{
|
|
310
310
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -325,7 +325,7 @@ var slice = createSliceWithThunks({
|
|
|
325
325
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
326
326
|
*/
|
|
327
327
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
328
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
328
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-CAS5IJWE.js");
|
|
329
329
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
330
330
|
{
|
|
331
331
|
agentKey: args.agentKey,
|
|
@@ -341,7 +341,7 @@ var slice = createSliceWithThunks({
|
|
|
341
341
|
* 聊天轮次流式 Agent 调用
|
|
342
342
|
*/
|
|
343
343
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
344
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
344
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-3RGW4I7T.js");
|
|
345
345
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
346
346
|
}),
|
|
347
347
|
/**
|
|
@@ -199,7 +199,7 @@ async function readDocFunc(args, thunkApi) {
|
|
|
199
199
|
throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
|
|
200
200
|
}
|
|
201
201
|
try {
|
|
202
|
-
const { readAction } = await import("./read-
|
|
202
|
+
const { readAction } = await import("./read-LC6HVYBN.js");
|
|
203
203
|
const pageData = await readAction({ dbKey: id }, thunkApi);
|
|
204
204
|
if (!pageData) {
|
|
205
205
|
throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
|