nolo-cli 0.198.0-alpha.1 → 0.198.0-alpha.2
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-4RT36WBH.js → _executeModel-3D4HLADO.js} +24 -24
- package/{action-BHWB4MOK.js → action-HNG2JKWK.js} +3 -3
- package/{addContentAction-BY375D35.js → addContentAction-FEN3H2EE.js} +6 -6
- package/{addDialogAgentAction-HOZYOCWC.js → addDialogAgentAction-DDA6S3WS.js} +5 -5
- package/{agentDeleteCommand-EU65GA6U.js → agentDeleteCommand-EXBU3PZJ.js} +21 -21
- package/{agentEmailCommands-SRMUB7Y5.js → agentEmailCommands-3T7NAJHR.js} +23 -23
- package/{agentMachineCommands-O3HXC7I2.js → agentMachineCommands-JXXDCTG5.js} +1 -1
- package/{agentRecordCommands-WM6DQE5H.js → agentRecordCommands-RLHYIRGY.js} +22 -22
- package/{agentRunCommand-UTAFQWLA.js → agentRunCommand-7KO6SQPF.js} +23 -23
- package/{agentSlice-QR4DJTUV.js → agentSlice-JFRZAKR4.js} +6 -6
- package/{chunk-6XLEYYRD.js → chunk-2WVRUUXO.js} +5 -5
- package/{chunk-7UODCAWW.js → chunk-32GANJHJ.js} +1 -1
- package/{chunk-KYSNL6JW.js → chunk-3Z7KHXVE.js} +6 -6
- package/{chunk-SHPPZHJU.js → chunk-4SEOTTFQ.js} +2 -2
- package/{chunk-LBXUNNDS.js → chunk-6K2AKJAD.js} +1 -1
- package/{chunk-Y7LWDCQL.js → chunk-7MB72UW6.js} +22 -22
- package/{chunk-CNMQATUF.js → chunk-GL7W7TTR.js} +2 -2
- package/{chunk-N2EBBGNK.js → chunk-HGS3XV5K.js} +1 -1
- package/{chunk-MA4DQQGB.js → chunk-HN3XRWSP.js} +2 -2
- package/{chunk-32ZKZET7.js → chunk-HWZT5DKX.js} +1 -1
- package/{chunk-HRLGOAT6.js → chunk-JW2GK3KC.js} +3 -3
- package/{chunk-VAGLIFTY.js → chunk-L577NIDI.js} +1 -1
- package/{chunk-PYMI4KWK.js → chunk-MGFRMNK5.js} +19 -19
- package/{chunk-4CUA56ZN.js → chunk-MKDEI64N.js} +2 -2
- package/{chunk-BA2FHPS4.js → chunk-MOCY5LJI.js} +1 -1
- package/{chunk-B2N5GZBU.js → chunk-OHYCQKPW.js} +6 -6
- package/{chunk-W2RUNZSW.js → chunk-OYZLT2BN.js} +5 -5
- package/{chunk-SF7ZXCU7.js → chunk-POEYAIBT.js} +6 -6
- package/{chunk-B6EZB6DW.js → chunk-QAYCF4CH.js} +2 -2
- package/{chunk-DFF6B7P7.js → chunk-RXUKDHS5.js} +1 -1
- package/{chunk-YCYVL4LE.js → chunk-RYPJRIFF.js} +4 -4
- package/{chunk-VFD73XRX.js → chunk-S5DELBWY.js} +182 -91
- package/{chunk-A5BLRE3G.js → chunk-T3U2KQF4.js} +2 -2
- package/{chunk-YBHUH2J5.js → chunk-TXQ5BC57.js} +3 -3
- package/{chunk-MW6YS6Y6.js → chunk-UL57BAAE.js} +2 -2
- package/{chunk-4SFMGR5S.js → chunk-W7JWTQTJ.js} +7 -7
- package/{chunk-YIRADHSY.js → chunk-WYKMOZTW.js} +1 -1
- package/{chunk-WRCZXJ4N.js → chunk-X4F26D5K.js} +2 -0
- package/{chunk-TLYAMDPX.js → chunk-YQH5IYWZ.js} +10 -10
- package/{chunk-JGJVDP2W.js → chunk-Z3MQYKRN.js} +1 -1
- package/{commandRegistry-CIAAETIC.js → commandRegistry-A4AXQVI6.js} +15 -15
- package/{contentThunks-5LWWGYMP.js → contentThunks-6BAKBO7Q.js} +11 -11
- package/{createAgentAutomationAction-SW7H6UXU.js → createAgentAutomationAction-HJWAZ7RX.js} +11 -11
- package/{createDialogAction-YPZBMKG4.js → createDialogAction-BDI3T4C7.js} +12 -12
- package/{createPageAction-5SC5LA2Y.js → createPageAction-P5NL5NIZ.js} +11 -11
- package/{dbSlice-QAUXABCC.js → dbSlice-JK7LWBDO.js} +5 -5
- package/{deleteFile-R5OBP7OM.js → deleteFile-CE24BROO.js} +3 -3
- package/{dialogSlice-T4W7ZR2X.js → dialogSlice-UZXUHU3F.js} +10 -10
- package/{docStore-C4XHZ7CI.js → docStore-624W4Z63.js} +6 -6
- package/{handleSendMessageAction-CAB5CVB3.js → handleSendMessageAction-LTXSYSV6.js} +17 -17
- package/index.js +3 -3
- package/{localRuntimeAdapter-4WIRFTYQ.js → localRuntimeAdapter-TXW7C4C6.js} +21 -21
- package/{machineCommands-XED6SQR6.js → machineCommands-NA7OPUFC.js} +22 -22
- package/{machineWsRunDispatch-ZUD23U2R.js → machineWsRunDispatch-H5BYGTVO.js} +22 -22
- package/{memberThunks-QWAAGQBS.js → memberThunks-WT2KVRP4.js} +6 -6
- package/package.json +1 -1
- package/{read-D6NEWSGG.js → read-ILTT75DW.js} +3 -3
- package/{readDocTool-NTAXO7SX.js → readDocTool-374CFJYO.js} +1 -1
- package/{readlineWorkspace-ZTQCBNXR.js → readlineWorkspace-6P3HJ6GO.js} +23 -23
- package/{removeDialogAgentAction-YEPO5AYI.js → removeDialogAgentAction-BDLO7UC2.js} +7 -7
- package/{runAgentClientLoop-PMSGE3HZ.js → runAgentClientLoop-GSEMKTPY.js} +22 -22
- package/{setDialogExtraReferencesAction-EH5GWDAJ.js → setDialogExtraReferencesAction-GBIT7WAG.js} +6 -6
- package/{setPrimaryDialogAgentAction-PNWRK6IY.js → setPrimaryDialogAgentAction-PGBTR247.js} +7 -7
- package/{settingThunks-7VCWB6P7.js → settingThunks-GH326IL5.js} +5 -5
- package/{streamAgentChatTurn-BY74TOYM.js → streamAgentChatTurn-6UMDQLPT.js} +24 -24
- package/{switchDialogAgentAction-23BFWJMV.js → switchDialogAgentAction-O7WTPLKG.js} +5 -5
- package/{tools-RZGJZ2XV.js → tools-3GCMXU2R.js} +19 -19
- package/{updateDialogTitleAction-G7HMA6RA.js → updateDialogTitleAction-SO5P7F64.js} +11 -11
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
setMembershipLoading,
|
|
27
27
|
setMembershipRejected,
|
|
28
28
|
updateMemberSpaceName
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-Z3MQYKRN.js";
|
|
30
30
|
import {
|
|
31
31
|
ToolResultError,
|
|
32
32
|
clipMultilineText,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
toolRunUpdated,
|
|
39
39
|
uiCardFallback,
|
|
40
40
|
waitForAbortableDelay
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-RYPJRIFF.js";
|
|
42
42
|
import {
|
|
43
43
|
isGatewayHttpStatus
|
|
44
44
|
} from "./chunk-NF64D32W.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk-VYNMQ6HW.js";
|
|
56
56
|
import {
|
|
57
57
|
createDocState
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-TXQ5BC57.js";
|
|
59
59
|
import {
|
|
60
60
|
ToolApiError,
|
|
61
61
|
buildToolRequestHeaders,
|
|
@@ -66,14 +66,14 @@ import {
|
|
|
66
66
|
} from "./chunk-MYOH447Z.js";
|
|
67
67
|
import {
|
|
68
68
|
setDialogExtraReferencesAction
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-RXUKDHS5.js";
|
|
70
70
|
import {
|
|
71
71
|
readDocFunc,
|
|
72
72
|
readDocFunctionSchema,
|
|
73
73
|
readPageFunc,
|
|
74
74
|
readPageFunctionSchema,
|
|
75
75
|
resolvePageReadMarkdown
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-WYKMOZTW.js";
|
|
77
77
|
import {
|
|
78
78
|
extractMentionsFromSlate
|
|
79
79
|
} from "./chunk-AGIM7IMJ.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
} from "./chunk-63W5N6P3.js";
|
|
83
83
|
import {
|
|
84
84
|
createDialogAction
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-JW2GK3KC.js";
|
|
86
86
|
import {
|
|
87
87
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
88
88
|
addContentToSpace,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
updateContentCategory,
|
|
100
100
|
updateContentTitle,
|
|
101
101
|
writeStoredCollapsedCategories
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-W7JWTQTJ.js";
|
|
103
103
|
import {
|
|
104
104
|
getCurrentSpaceId,
|
|
105
105
|
getCurrentSpaceIdRaw,
|
|
@@ -122,14 +122,14 @@ import {
|
|
|
122
122
|
selectMsgById,
|
|
123
123
|
uiAskChoiceFunc,
|
|
124
124
|
uiAskChoiceFunctionSchema
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-MGFRMNK5.js";
|
|
126
126
|
import {
|
|
127
127
|
createAgent,
|
|
128
128
|
deleteServerSyncedCredential,
|
|
129
129
|
runLlm,
|
|
130
130
|
streamAgentChatTurn,
|
|
131
131
|
updateAgent
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-S5DELBWY.js";
|
|
133
133
|
import {
|
|
134
134
|
buildMediaToolConfirmation,
|
|
135
135
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
UNCATEGORIZED_ID,
|
|
139
139
|
addContentAction,
|
|
140
140
|
checkSpaceMembership
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-QAYCF4CH.js";
|
|
142
142
|
import {
|
|
143
143
|
createSpaceKey,
|
|
144
144
|
normalizeSpaceId
|
|
@@ -153,11 +153,11 @@ import {
|
|
|
153
153
|
} from "./chunk-YDH3FDFQ.js";
|
|
154
154
|
import {
|
|
155
155
|
shareResourceAction
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-GL7W7TTR.js";
|
|
157
157
|
import {
|
|
158
158
|
selectCurrentServer,
|
|
159
159
|
selectSyncServers
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-HWZT5DKX.js";
|
|
161
161
|
import {
|
|
162
162
|
patch,
|
|
163
163
|
read,
|
|
@@ -169,10 +169,10 @@ import {
|
|
|
169
169
|
selectEntities,
|
|
170
170
|
toTimestampMs,
|
|
171
171
|
write
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-OHYCQKPW.js";
|
|
173
173
|
import {
|
|
174
174
|
readAction
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-6K2AKJAD.js";
|
|
176
176
|
import {
|
|
177
177
|
DEVICE_LOCAL_OWNER_ID,
|
|
178
178
|
getRuntimeServerContext,
|
|
@@ -182,11 +182,11 @@ import {
|
|
|
182
182
|
resolveEffectiveSpaceActorId,
|
|
183
183
|
resolveRecordOwnerUserId,
|
|
184
184
|
selectRuntimeSnapshot
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-32GANJHJ.js";
|
|
186
186
|
import {
|
|
187
187
|
createAsyncThunk,
|
|
188
188
|
noloWriteRequest
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-X4F26D5K.js";
|
|
190
190
|
import {
|
|
191
191
|
selectIdentityToken,
|
|
192
192
|
selectIdentityUserBalance,
|
|
@@ -3884,7 +3884,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3884
3884
|
const deletedDialogIds = [];
|
|
3885
3885
|
const deletedDialogKeys = [];
|
|
3886
3886
|
const failures = [];
|
|
3887
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3887
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-UZXUHU3F.js");
|
|
3888
3888
|
for (const target of targets) {
|
|
3889
3889
|
try {
|
|
3890
3890
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4200,7 +4200,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4200
4200
|
}
|
|
4201
4201
|
};
|
|
4202
4202
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4203
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4203
|
+
const { buildReadDocResult } = await import("./readDocTool-374CFJYO.js");
|
|
4204
4204
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4205
4205
|
if (typeof id !== "string" || !id.trim()) {
|
|
4206
4206
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -5013,7 +5013,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5013
5013
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
5014
5014
|
const readSpace = async (dbKey) => {
|
|
5015
5015
|
try {
|
|
5016
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
5016
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-JK7LWBDO.js");
|
|
5017
5017
|
const readPromise = fresh ? dispatch(readAndWait2(dbKey)).unwrap() : dispatch(read2({ dbKey })).unwrap();
|
|
5018
5018
|
return await withTimeout(readPromise);
|
|
5019
5019
|
} catch {
|
|
@@ -11661,7 +11661,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
11661
11661
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
11662
11662
|
async function addImageContentToSpace(input) {
|
|
11663
11663
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
11664
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
11664
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-FEN3H2EE.js")).addContentAction;
|
|
11665
11665
|
await addContentAction2(
|
|
11666
11666
|
{
|
|
11667
11667
|
spaceId: input.spaceId,
|
|
@@ -18590,7 +18590,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18590
18590
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18591
18591
|
};
|
|
18592
18592
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18593
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18593
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-624W4Z63.js");
|
|
18594
18594
|
if (getDocState().pageKey === id) {
|
|
18595
18595
|
applyExternalDocUpdate({
|
|
18596
18596
|
slateData: finalSlateData,
|
|
@@ -18615,7 +18615,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18615
18615
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
18616
18616
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
18617
18617
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
18618
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-
|
|
18618
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-GH326IL5.js")).setSettings;
|
|
18619
18619
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
18620
18620
|
}
|
|
18621
18621
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectCurrentServer,
|
|
3
3
|
selectRemoteServers
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HWZT5DKX.js";
|
|
5
5
|
import {
|
|
6
6
|
noloDeleteRequest,
|
|
7
7
|
noloWriteRequest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-X4F26D5K.js";
|
|
9
9
|
import {
|
|
10
10
|
normalizeTimeFields
|
|
11
11
|
} from "./chunk-6Q7UTJKR.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchReferenceContents,
|
|
3
3
|
resolveReferenceAssets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OYZLT2BN.js";
|
|
5
5
|
import {
|
|
6
6
|
updateTokensAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MGFRMNK5.js";
|
|
8
8
|
import {
|
|
9
9
|
applyUpdateTokensFulfilled
|
|
10
10
|
} from "./chunk-OWYYDMGJ.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W7JWTQTJ.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MGFRMNK5.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
removeCachedEntity,
|
|
17
17
|
upsertSSREntity,
|
|
18
18
|
write
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OHYCQKPW.js";
|
|
20
20
|
import {
|
|
21
21
|
isDevelopment
|
|
22
22
|
} from "./chunk-6Q7UTJKR.js";
|
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
} from "./chunk-523DITKR.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-S5DELBWY.js";
|
|
15
15
|
import {
|
|
16
16
|
isMediaToolConfirmation
|
|
17
17
|
} from "./chunk-QYPE3TS3.js";
|
|
18
18
|
import {
|
|
19
19
|
cleanupCliSessionForDialog
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-T3U2KQF4.js";
|
|
21
21
|
import {
|
|
22
22
|
getApproxPricePerImage
|
|
23
23
|
} from "./chunk-4JH2UMJR.js";
|
|
24
24
|
import {
|
|
25
25
|
addContentAction
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QAYCF4CH.js";
|
|
27
27
|
import {
|
|
28
28
|
getActiveDialogAgentId,
|
|
29
29
|
getDialogAgentIds,
|
|
@@ -61,19 +61,19 @@ import {
|
|
|
61
61
|
selectById,
|
|
62
62
|
upload,
|
|
63
63
|
write
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-OHYCQKPW.js";
|
|
65
65
|
import {
|
|
66
66
|
getRuntimeServerContext,
|
|
67
67
|
parseOwnerUserIdFromDbKey,
|
|
68
68
|
scheduleDeleteReplication
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-32GANJHJ.js";
|
|
70
70
|
import {
|
|
71
71
|
asyncThunkCreator,
|
|
72
72
|
buildCreateSlice,
|
|
73
73
|
createAsyncThunk,
|
|
74
74
|
createEntityAdapter,
|
|
75
75
|
createSelector
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-X4F26D5K.js";
|
|
77
77
|
import {
|
|
78
78
|
createClientLogger
|
|
79
79
|
} from "./chunk-QQ56R7KS.js";
|
|
@@ -11073,7 +11073,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11073
11073
|
runtimeOptions: args.runtimeOptions
|
|
11074
11074
|
});
|
|
11075
11075
|
if (agentKeyToUse) {
|
|
11076
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11076
|
+
const { streamAgentChatTurn } = await import("./agentSlice-JFRZAKR4.js");
|
|
11077
11077
|
await dispatch(
|
|
11078
11078
|
streamAgentChatTurn({
|
|
11079
11079
|
agentKey: agentKeyToUse,
|
|
@@ -13825,7 +13825,7 @@ var deleteOwnedDialogAttachments = async (args) => {
|
|
|
13825
13825
|
metadataReadFailures
|
|
13826
13826
|
});
|
|
13827
13827
|
if (!plan.deleteCandidates.length) return plan;
|
|
13828
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
13828
|
+
const { deleteFileAction } = await import("./deleteFile-CE24BROO.js");
|
|
13829
13829
|
for (const candidate of plan.deleteCandidates) {
|
|
13830
13830
|
if (candidate.fileDbKey) {
|
|
13831
13831
|
await deleteFileAction(candidate.fileDbKey, args.thunkApi);
|
|
@@ -13887,7 +13887,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13887
13887
|
}
|
|
13888
13888
|
if (isCurrentDialog) {
|
|
13889
13889
|
await thunkApi.dispatch(resetMsgs());
|
|
13890
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13890
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-UZXUHU3F.js");
|
|
13891
13891
|
dispatch(clearPendingAttachments2());
|
|
13892
13892
|
}
|
|
13893
13893
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13895,39 +13895,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13895
13895
|
|
|
13896
13896
|
// packages/chat/dialog/dialogSlice.ts
|
|
13897
13897
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13898
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13898
|
+
const { createDialogAction } = await import("./createDialogAction-BDI3T4C7.js");
|
|
13899
13899
|
return createDialogAction(args, thunkApi);
|
|
13900
13900
|
};
|
|
13901
13901
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13902
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13902
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-HJWAZ7RX.js");
|
|
13903
13903
|
return createAgentAutomationAction(args, thunkApi);
|
|
13904
13904
|
};
|
|
13905
13905
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13906
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13906
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-SO5P7F64.js");
|
|
13907
13907
|
return updateDialogTitleAction(args, thunkApi);
|
|
13908
13908
|
};
|
|
13909
13909
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
13910
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
13910
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-DDA6S3WS.js");
|
|
13911
13911
|
return addDialogAgentAction(args, thunkApi);
|
|
13912
13912
|
};
|
|
13913
13913
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
13914
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
13914
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-BDLO7UC2.js");
|
|
13915
13915
|
return removeDialogAgentAction(args, thunkApi);
|
|
13916
13916
|
};
|
|
13917
13917
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
13918
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
13918
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-PGBTR247.js");
|
|
13919
13919
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
13920
13920
|
};
|
|
13921
13921
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
13922
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
13922
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-O7WTPLKG.js");
|
|
13923
13923
|
return switchDialogAgentAction(args, thunkApi);
|
|
13924
13924
|
};
|
|
13925
13925
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
13926
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
13926
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-GBIT7WAG.js");
|
|
13927
13927
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13928
13928
|
};
|
|
13929
13929
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13930
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13930
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-LTXSYSV6.js");
|
|
13931
13931
|
return handleSendMessageAction(args, thunkApi);
|
|
13932
13932
|
};
|
|
13933
13933
|
function clearDialogState() {
|
|
@@ -13940,7 +13940,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13940
13940
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13941
13941
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13942
13942
|
try {
|
|
13943
|
-
const { createDocState } = await import("./docStore-
|
|
13943
|
+
const { createDocState } = await import("./docStore-624W4Z63.js");
|
|
13944
13944
|
const pageKey = await createDocState(
|
|
13945
13945
|
{ slateData, title },
|
|
13946
13946
|
{ dispatch, getState }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2WVRUUXO.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RYPJRIFF.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
10
|
} from "./chunk-X26GHKRS.js";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
loadFileFromIndexedDb,
|
|
7
7
|
removeAction,
|
|
8
8
|
saveFileToIndexedDb
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MOCY5LJI.js";
|
|
10
10
|
import {
|
|
11
11
|
readAction,
|
|
12
12
|
readRequestManager,
|
|
13
13
|
resolveAgentReadServers
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6K2AKJAD.js";
|
|
15
15
|
import {
|
|
16
16
|
beginWriteAck,
|
|
17
17
|
compareRemoteRecordsByComparableTime,
|
|
@@ -28,13 +28,13 @@ import {
|
|
|
28
28
|
shouldReplaceLocalWithRemoteRecord,
|
|
29
29
|
shouldReplicateLocalRecord,
|
|
30
30
|
uploadToCurrentServer
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-32GANJHJ.js";
|
|
32
32
|
import {
|
|
33
33
|
asyncThunkCreator,
|
|
34
34
|
buildCreateSlice,
|
|
35
35
|
createEntityAdapter,
|
|
36
36
|
noloDeleteRequest
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-X4F26D5K.js";
|
|
38
38
|
import {
|
|
39
39
|
fetchFromClientDb,
|
|
40
40
|
fetchFromServer,
|
|
@@ -708,7 +708,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
708
708
|
// 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
|
|
709
709
|
read: create.asyncThunk(
|
|
710
710
|
async (payload, thunkApi) => {
|
|
711
|
-
const { readAction: readAction2 } = await import("./read-
|
|
711
|
+
const { readAction: readAction2 } = await import("./read-ILTT75DW.js");
|
|
712
712
|
return readAction2(payload, thunkApi);
|
|
713
713
|
},
|
|
714
714
|
{
|
|
@@ -782,7 +782,7 @@ var dbSlice = createSliceWithThunks({
|
|
|
782
782
|
// 这里改成动态 import,运行期才解析,彻底断开这条边。
|
|
783
783
|
share: create.asyncThunk(
|
|
784
784
|
async (config, thunkApi) => {
|
|
785
|
-
const { shareResourceAction } = await import("./action-
|
|
785
|
+
const { shareResourceAction } = await import("./action-HNG2JKWK.js");
|
|
786
786
|
return shareResourceAction(config, thunkApi);
|
|
787
787
|
}
|
|
788
788
|
),
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RYPJRIFF.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -15,22 +15,22 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
resolvePageReadMarkdown,
|
|
17
17
|
slateToSimplifiedMarkdown
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WYKMOZTW.js";
|
|
19
19
|
import {
|
|
20
20
|
extractCategorizedMentions
|
|
21
21
|
} from "./chunk-AGIM7IMJ.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchAndCacheMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MGFRMNK5.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
28
28
|
import {
|
|
29
29
|
read
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OHYCQKPW.js";
|
|
31
31
|
import {
|
|
32
32
|
getRuntimeServerContext
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-32GANJHJ.js";
|
|
34
34
|
import {
|
|
35
35
|
extractRuntimePageCapabilities,
|
|
36
36
|
resolveBuiltinSkillPage,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-L577NIDI.js";
|
|
13
13
|
import {
|
|
14
14
|
parsePositiveFiniteNumberOrFallback
|
|
15
15
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolveFileWriteGateEnabled,
|
|
39
39
|
resolveLocalUserId,
|
|
40
40
|
validateInstaboxWorkspaceSelection
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2WVRUUXO.js";
|
|
42
42
|
import {
|
|
43
43
|
clearCredentialAvailability,
|
|
44
44
|
readEffectiveCredentialEntry,
|
|
@@ -72,14 +72,14 @@ import {
|
|
|
72
72
|
} from "./chunk-BMQ2MJUK.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveCliLocalRuntimeKeyCapability
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-7MB72UW6.js";
|
|
76
76
|
import {
|
|
77
77
|
isTransientFetchError
|
|
78
78
|
} from "./chunk-KFHREHUQ.js";
|
|
79
79
|
import {
|
|
80
80
|
parseUiCard,
|
|
81
81
|
uiCardFallback
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-RYPJRIFF.js";
|
|
83
83
|
import {
|
|
84
84
|
isGatewayHttpStatus
|
|
85
85
|
} from "./chunk-NF64D32W.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
chooseMemoryOwners,
|
|
89
89
|
loadMemoryCandidatesFromDb,
|
|
90
90
|
resolveAgentMemoryPolicy
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-JW2GK3KC.js";
|
|
92
92
|
import {
|
|
93
93
|
API_REPORTED_COST_MULTIPLIER,
|
|
94
94
|
estimateMessagesTokens,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
resolveAgentContextWindow,
|
|
97
97
|
resolveOccupancy,
|
|
98
98
|
resolveOccupancyWindow
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-MGFRMNK5.js";
|
|
100
100
|
import {
|
|
101
101
|
isCliAuthorityBrokerProtocolError,
|
|
102
102
|
isCliAuthorityBrokerTimeoutError,
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
patch,
|
|
6
6
|
read
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OHYCQKPW.js";
|
|
8
8
|
import {
|
|
9
9
|
DEVICE_LOCAL_OWNER_ID,
|
|
10
10
|
isDeviceLocalSpaceBody
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-32GANJHJ.js";
|
|
12
12
|
import {
|
|
13
13
|
selectIdentityUserId
|
|
14
14
|
} from "./chunk-PXYBUFDB.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
} from "./chunk-VYNMQ6HW.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-W7JWTQTJ.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-YDH3FDFQ.js";
|
|
15
15
|
import {
|
|
16
16
|
createAsyncThunk,
|
|
17
17
|
createSelector
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-X4F26D5K.js";
|
|
19
19
|
import {
|
|
20
20
|
selectIdentityUserId
|
|
21
21
|
} from "./chunk-PXYBUFDB.js";
|
|
@@ -521,7 +521,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
521
521
|
if (!executionInput) {
|
|
522
522
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
523
523
|
}
|
|
524
|
-
const { findToolExecutor } = await import("./tools-
|
|
524
|
+
const { findToolExecutor } = await import("./tools-3GCMXU2R.js");
|
|
525
525
|
const { executor } = findToolExecutor(run.toolName);
|
|
526
526
|
toolRunStarted({
|
|
527
527
|
id: run.id,
|
|
@@ -545,7 +545,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
545
545
|
const latestState = thunkApi.getState();
|
|
546
546
|
const userId = selectIdentityUserId(latestState);
|
|
547
547
|
if (userId) {
|
|
548
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
548
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-WT2KVRP4.js");
|
|
549
549
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
550
550
|
}
|
|
551
551
|
}
|