nolo-cli 0.30.0-alpha.18 → 0.30.0-alpha.20
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-RPVEFWZE.js → _executeModel-LW6XMEQD.js} +14 -14
- package/{agentDeleteCommand-ALMEJQSN.js → agentDeleteCommand-QQPG6AQH.js} +11 -11
- package/{agentEmailCommands-SKPDD2H5.js → agentEmailCommands-A2B3LAYP.js} +17 -17
- package/{agentListCommands-J5KXCTG7.js → agentListCommands-W7I62AVC.js} +13 -13
- package/{agentMachineCommands-5EO36JQP.js → agentMachineCommands-JKL7NOXS.js} +11 -11
- package/{agentRecordCommands-SHDXGMCT.js → agentRecordCommands-AIAB73R4.js} +17 -17
- package/{agentRunCommand-EHBIBRYS.js → agentRunCommand-C4AYZUAT.js} +17 -17
- package/{agentRunControl-AKBN2366.js → agentRunControl-SCIVRZWX.js} +9 -1
- package/{agentRuntimeLocal-33HIW2B5.js → agentRuntimeLocal-DA4COW6A.js} +8 -8
- package/{agentSlice-Z67XJAEB.js → agentSlice-DSOHD3MB.js} +1 -1
- package/{appDeleteCommands-D4DKOPEO.js → appDeleteCommands-EYCHHGBM.js} +12 -12
- package/{appDeployCommands-KBMBOWDJ.js → appDeployCommands-AA6N3ZVV.js} +12 -12
- package/{appDeployStatusCommands-LPNXC35V.js → appDeployStatusCommands-2DO4AB5S.js} +12 -12
- package/{appGetCommands-J5BV36OP.js → appGetCommands-JZ5UFPSO.js} +12 -12
- package/{appListCommands-TBPOEBGL.js → appListCommands-4DJRONNU.js} +12 -12
- package/{chunk-ISCO75E2.js → chunk-3SCONADU.js} +1 -1
- package/{chunk-Y37L6ZJJ.js → chunk-64LVM22D.js} +8 -8
- package/{chunk-APH6YKRU.js → chunk-6EWJFERV.js} +2 -2
- package/{chunk-M4TQ5FES.js → chunk-6M5ICJPJ.js} +4 -4
- package/{chunk-4SAV7BD7.js → chunk-7KNERA53.js} +53 -15
- package/{chunk-CGRGHTRM.js → chunk-7WNY3WEK.js} +5 -5
- package/{chunk-ZFMBGISW.js → chunk-AK7XNO3W.js} +2 -2
- package/{chunk-OYWWNU4S.js → chunk-E2N2B4V4.js} +1 -1
- package/{chunk-6CABEXHO.js → chunk-EKVRQQWQ.js} +3 -3
- package/{chunk-FKSFP7XK.js → chunk-EUTKGPCR.js} +24 -16
- package/{chunk-FRHQTJSE.js → chunk-HF5JU6H6.js} +2 -2
- package/{chunk-MXHPQ4ZP.js → chunk-JSE3MHSM.js} +1 -1
- package/{chunk-L7YEJWTK.js → chunk-KVT5HYP4.js} +1 -1
- package/{chunk-DFIDPY57.js → chunk-L5K5RQSD.js} +1 -1
- package/{chunk-6XASEZZC.js → chunk-MZWET5XZ.js} +2 -2
- package/{chunk-QDVKSUVS.js → chunk-O2C4C6KG.js} +1 -1
- package/{chunk-O6PR7OEC.js → chunk-OISWAB2K.js} +12 -9
- package/{chunk-JVKITFNK.js → chunk-P554G7UT.js} +2 -2
- package/{chunk-CCBEUTI3.js → chunk-PDOJZ63B.js} +3 -3
- package/{chunk-JSQBUSDX.js → chunk-PDXNQKOK.js} +3 -3
- package/{chunk-ZLJWBBPK.js → chunk-T42XB7CG.js} +1 -1
- package/{chunk-FBXHGRKK.js → chunk-UNTKW3PH.js} +3 -3
- package/{chunk-C5LUFXRU.js → chunk-UPXS3PUC.js} +2 -2
- package/{chunk-MTJ3QIP7.js → chunk-W4UIMWYV.js} +3 -3
- package/{chunk-XCCPWF3M.js → chunk-WJBS5LLH.js} +8 -8
- package/{chunk-JPPZ7KOT.js → chunk-X4H5KOUK.js} +8 -8
- package/{chunk-DYSVCA3I.js → chunk-XAJUBTKJ.js} +5 -5
- package/{createAgentAutomationAction-FC5JXI7R.js → createAgentAutomationAction-3IA4MYO3.js} +3 -3
- package/{createDialogAction-L56Q2KGL.js → createDialogAction-45X273ND.js} +4 -4
- package/{createPageAction-23K4MGBC.js → createPageAction-2B2R7D77.js} +3 -3
- package/{db-IPCJ43PW.js → db-6DPSJ6WT.js} +4 -2
- package/{dialogCommands-IXX4KIO4.js → dialogCommands-5M2Z7QVJ.js} +12 -12
- package/{dialogSlice-4L4UXF7H.js → dialogSlice-KYF3FAOK.js} +2 -2
- package/{docCreateCommands-CD4V2W3D.js → docCreateCommands-LBOVRLYF.js} +11 -11
- package/{docDeleteCommands-PORKB6MK.js → docDeleteCommands-VK5GIBEA.js} +12 -12
- package/{docReadCommands-4Y3FIOON.js → docReadCommands-E3SQN6LN.js} +11 -11
- package/{docStore-Y6CJ4EMN.js → docStore-2RB2S465.js} +4 -4
- package/{docUpdateCommands-OTQZYIDN.js → docUpdateCommands-YF6YOQDR.js} +11 -11
- package/{handleSendMessageAction-R775ABXT.js → handleSendMessageAction-XCOWKRQF.js} +2 -2
- package/index.js +45 -45
- package/{localDialogRead-P72W2U2R.js → localDialogRead-3DBXVYXS.js} +1 -1
- package/{machineCommands-WK6KQ4OF.js → machineCommands-75YQ7FO3.js} +16 -16
- package/{machineWsRunDispatch-H22DDQUD.js → machineWsRunDispatch-NS37M6VP.js} +16 -16
- package/package.json +1 -1
- package/{readlineWorkspace-H4RG3P2X.js → readlineWorkspace-MJMNMSOD.js} +20 -20
- package/{runAgentClientLoop-X62DJXWK.js → runAgentClientLoop-JPLRHUUZ.js} +11 -11
- package/{spaceCommands-UENBIIAG.js → spaceCommands-RNJYLPTF.js} +11 -11
- package/{spaceSlice-RSRIBG3I.js → spaceSlice-C4QIRTSA.js} +3 -3
- package/{streamAgentChatTurn-5SFVRLJX.js → streamAgentChatTurn-TP7XSPS2.js} +13 -13
- package/{tools-XZTXW7W4.js → tools-N6DZQQXE.js} +8 -8
- package/{updateDialogTitleAction-6NV52GCP.js → updateDialogTitleAction-ANZ4DQ5T.js} +3 -3
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
sortSafeAgentSummaries,
|
|
19
19
|
toSafeAgentSummary
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JSE3MHSM.js";
|
|
21
21
|
import {
|
|
22
22
|
getUserDataItemTimestamp,
|
|
23
23
|
mergeAndDedupUserData
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
resolveNoloDialogInput,
|
|
44
44
|
toolRunUpdated,
|
|
45
45
|
verifyNoloDialogSubjectRefQuery
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-UNTKW3PH.js";
|
|
47
47
|
import {
|
|
48
48
|
createDocState
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-AK7XNO3W.js";
|
|
50
50
|
import {
|
|
51
51
|
setDialogExtraReferencesAction
|
|
52
52
|
} from "./chunk-43EPBPZ2.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./chunk-44HACRCK.js";
|
|
70
70
|
import {
|
|
71
71
|
createDialogAction
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-HF5JU6H6.js";
|
|
73
73
|
import {
|
|
74
74
|
markdownToSlate
|
|
75
75
|
} from "./chunk-3LY4F7SV.js";
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
selectCurrentSpaceId,
|
|
90
90
|
updateContentCategory,
|
|
91
91
|
updateContentTitle
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-MZWET5XZ.js";
|
|
93
93
|
import {
|
|
94
94
|
buildDatabaseFileContentUrl,
|
|
95
95
|
incrementFailedSteps,
|
|
@@ -104,13 +104,13 @@ import {
|
|
|
104
104
|
uiAskChoiceFunc,
|
|
105
105
|
uiAskChoiceFunctionSchema,
|
|
106
106
|
updateStep
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-WJBS5LLH.js";
|
|
108
108
|
import {
|
|
109
109
|
createAgent,
|
|
110
110
|
runLlm,
|
|
111
111
|
streamAgentChatTurn,
|
|
112
112
|
updateAgent
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-EKVRQQWQ.js";
|
|
114
114
|
import {
|
|
115
115
|
toErrorMessage
|
|
116
116
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1228,6 +1228,7 @@ var ai_locale_default = {
|
|
|
1228
1228
|
customProviderUrlPlaceholder: "\u4F8B\u5982\uFF1Ahttps://api.example.com/v1/chat/completions",
|
|
1229
1229
|
apiKey: "API\u5BC6\u94A5",
|
|
1230
1230
|
crossDeviceKey: "\u8DE8\u8BBE\u5907\u4F7F\u7528\u6B64\u5BC6\u94A5",
|
|
1231
|
+
prompt: "\u7CFB\u7EDF\u63D0\u793A\u8BCD",
|
|
1231
1232
|
promptPlaceholder: "\u5B9A\u4E49AI\u7684\u884C\u4E3A\u3001\u89D2\u8272\u548C\u4E2A\u6027...",
|
|
1232
1233
|
greeting: "\u95EE\u5019\u8BED",
|
|
1233
1234
|
introduction: "\u81EA\u6211\u4ECB\u7ECD",
|
|
@@ -1618,6 +1619,7 @@ var ai_locale_default = {
|
|
|
1618
1619
|
customProviderUrlPlaceholder: "\u4F8B\u5982\uFF1Ahttps://api.example.com/v1/chat/completions",
|
|
1619
1620
|
apiKey: "API\u91D1\u9470",
|
|
1620
1621
|
crossDeviceKey: "\u8DE8\u88DD\u7F6E\u4F7F\u7528\u6B64\u91D1\u9470",
|
|
1622
|
+
prompt: "\u7CFB\u7D71\u63D0\u793A\u8A5E",
|
|
1621
1623
|
promptPlaceholder: "\u5B9A\u7FA9AI\u7684\u884C\u70BA\u3001\u89D2\u8272\u548C\u500B\u6027...",
|
|
1622
1624
|
greeting: "\u554F\u5019\u8A9E",
|
|
1623
1625
|
introduction: "\u81EA\u6211\u4ECB\u7D39",
|
|
@@ -1930,6 +1932,7 @@ var ai_locale_default = {
|
|
|
1930
1932
|
customProviderUrlPlaceholder: "\u4F8B\uFF1Ahttps://api.example.com/v1/chat/completions",
|
|
1931
1933
|
apiKey: "API\u30AD\u30FC",
|
|
1932
1934
|
crossDeviceKey: "\u4ED6\u30C7\u30D0\u30A4\u30B9\u3067\u4F7F\u7528",
|
|
1935
|
+
prompt: "\u30B7\u30B9\u30C6\u30E0\u30D7\u30ED\u30F3\u30D7\u30C8",
|
|
1933
1936
|
promptPlaceholder: "AI\u306E\u884C\u52D5\u3001\u5F79\u5272\u3001\u6027\u683C\u3092\u5B9A\u7FA9\u3057\u307E\u3059...",
|
|
1934
1937
|
greeting: "\u6328\u62F6\u30E1\u30C3\u30BB\u30FC\u30B8",
|
|
1935
1938
|
introduction: "\u81EA\u5DF1\u7D39\u4ECB",
|
|
@@ -13924,7 +13927,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
13924
13927
|
const deletedDialogIds = [];
|
|
13925
13928
|
const deletedDialogKeys = [];
|
|
13926
13929
|
const failures = [];
|
|
13927
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
13930
|
+
const { deleteDialog } = await import("./dialogSlice-KYF3FAOK.js");
|
|
13928
13931
|
for (const target of targets) {
|
|
13929
13932
|
try {
|
|
13930
13933
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -25674,7 +25677,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25674
25677
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
25675
25678
|
};
|
|
25676
25679
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
25677
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
25680
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-2RB2S465.js");
|
|
25678
25681
|
if (getDocState().pageKey === id) {
|
|
25679
25682
|
applyExternalDocUpdate({
|
|
25680
25683
|
slateData: finalSlateData,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveReferenceAssets
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7WNY3WEK.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchReferenceContents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UPXS3PUC.js";
|
|
7
7
|
|
|
8
8
|
// packages/ai/agent/fetchAgentContexts.ts
|
|
9
9
|
async function fetchAgentContexts(references, dispatch) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E2N2B4V4.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L5K5RQSD.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JSE3MHSM.js";
|
|
11
11
|
import {
|
|
12
12
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
13
13
|
isOwnedAgentKey,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E2N2B4V4.js";
|
|
11
11
|
import {
|
|
12
12
|
buildDialogAttachmentPlan,
|
|
13
13
|
extractFileContentIds
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WJBS5LLH.js";
|
|
15
15
|
import {
|
|
16
16
|
toErrorMessage
|
|
17
17
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -625,7 +625,7 @@ async function tryHttpDialogCandidates(args) {
|
|
|
625
625
|
throw Object.assign(new Error("All HTTP dialog reads failed"), { attempts });
|
|
626
626
|
}
|
|
627
627
|
async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
|
|
628
|
-
const reader = readLocalDialog ?? (await import("./localDialogRead-
|
|
628
|
+
const reader = readLocalDialog ?? (await import("./localDialogRead-3DBXVYXS.js")).readDialogFromLocalDb;
|
|
629
629
|
const result = await reader({ dialogKey, dialogId, limit });
|
|
630
630
|
return {
|
|
631
631
|
...result,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-DCDL3GC4.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MZWET5XZ.js";
|
|
10
10
|
import {
|
|
11
11
|
toErrorMessage
|
|
12
12
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1621,7 +1621,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
1621
1621
|
if (!executionInput) {
|
|
1622
1622
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
1623
1623
|
}
|
|
1624
|
-
const { findToolExecutor } = await import("./tools-
|
|
1624
|
+
const { findToolExecutor } = await import("./tools-N6DZQQXE.js");
|
|
1625
1625
|
const { executor } = findToolExecutor(run.toolName);
|
|
1626
1626
|
toolRunStarted({
|
|
1627
1627
|
id: run.id,
|
|
@@ -1645,7 +1645,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
1645
1645
|
const latestState = thunkApi.getState();
|
|
1646
1646
|
const userId = latestState.auth?.currentUser?.userId;
|
|
1647
1647
|
if (userId) {
|
|
1648
|
-
const { fetchUserSpaceMemberships } = await import("./spaceSlice-
|
|
1648
|
+
const { fetchUserSpaceMemberships } = await import("./spaceSlice-C4QIRTSA.js");
|
|
1649
1649
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UNTKW3PH.js";
|
|
11
11
|
import {
|
|
12
12
|
slateToSimplifiedMarkdown
|
|
13
13
|
} from "./chunk-SWYMCHM7.js";
|
|
14
14
|
import {
|
|
15
15
|
estimateTokenCount,
|
|
16
16
|
fetchAndCacheMessages
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WJBS5LLH.js";
|
|
18
18
|
import {
|
|
19
19
|
createSpaceKey
|
|
20
20
|
} from "./chunk-V54H24CQ.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
parseToolArgumentsJson,
|
|
13
13
|
resolveHistoricalToolContentCap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XAJUBTKJ.js";
|
|
15
15
|
import {
|
|
16
16
|
createThinkParserState,
|
|
17
17
|
createToolCallAccumulator,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
requiresBareImageUrl,
|
|
24
24
|
toBareImageUrlMessages
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-UPXS3PUC.js";
|
|
26
26
|
import {
|
|
27
27
|
shouldStripReasoningContentForOutbound,
|
|
28
28
|
toOpenAiCompatibleMessages
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
buildNoloWorkspaceCommandArgs,
|
|
40
40
|
noloStringArg,
|
|
41
41
|
parseNoloWorkspaceToolArguments
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-UNTKW3PH.js";
|
|
43
43
|
import {
|
|
44
44
|
toErrorMessage
|
|
45
45
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-ATK5WJOA.js";
|
|
8
8
|
import {
|
|
9
9
|
runLlm
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EKVRQQWQ.js";
|
|
11
11
|
import {
|
|
12
12
|
getActiveDialogAgentId,
|
|
13
13
|
getDialogAgentIds,
|
|
@@ -4003,7 +4003,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
4003
4003
|
runtimeOptions: args.runtimeOptions
|
|
4004
4004
|
});
|
|
4005
4005
|
if (agentKeyToUse) {
|
|
4006
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
4006
|
+
const { streamAgentChatTurn } = await import("./agentSlice-DSOHD3MB.js");
|
|
4007
4007
|
await dispatch(
|
|
4008
4008
|
streamAgentChatTurn({
|
|
4009
4009
|
agentKey: agentKeyToUse,
|
|
@@ -5270,7 +5270,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
5270
5270
|
}
|
|
5271
5271
|
if (isCurrentDialog) {
|
|
5272
5272
|
await thunkApi.dispatch(resetMsgs());
|
|
5273
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
5273
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-KYF3FAOK.js");
|
|
5274
5274
|
dispatch(clearPendingAttachments2());
|
|
5275
5275
|
clearWorkflow();
|
|
5276
5276
|
}
|
|
@@ -5279,15 +5279,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
5279
5279
|
|
|
5280
5280
|
// packages/chat/dialog/dialogSlice.ts
|
|
5281
5281
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
5282
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
5282
|
+
const { createDialogAction } = await import("./createDialogAction-45X273ND.js");
|
|
5283
5283
|
return createDialogAction(args, thunkApi);
|
|
5284
5284
|
};
|
|
5285
5285
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
5286
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
5286
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-3IA4MYO3.js");
|
|
5287
5287
|
return createAgentAutomationAction(args, thunkApi);
|
|
5288
5288
|
};
|
|
5289
5289
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
5290
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
5290
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-ANZ4DQ5T.js");
|
|
5291
5291
|
return updateDialogTitleAction(args, thunkApi);
|
|
5292
5292
|
};
|
|
5293
5293
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -5311,7 +5311,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
5311
5311
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
5312
5312
|
};
|
|
5313
5313
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
5314
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
5314
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-XCOWKRQF.js");
|
|
5315
5315
|
return handleSendMessageAction(args, thunkApi);
|
|
5316
5316
|
};
|
|
5317
5317
|
function clearDialogState() {
|
|
@@ -5324,7 +5324,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
5324
5324
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
5325
5325
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
5326
5326
|
try {
|
|
5327
|
-
const { createDocState } = await import("./docStore-
|
|
5327
|
+
const { createDocState } = await import("./docStore-2RB2S465.js");
|
|
5328
5328
|
const pageKey = await createDocState(
|
|
5329
5329
|
{ slateData, title },
|
|
5330
5330
|
{ dispatch, getState }
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T42XB7CG.js";
|
|
9
9
|
import {
|
|
10
10
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XAJUBTKJ.js";
|
|
12
12
|
import {
|
|
13
13
|
accumulateToolCallDelta,
|
|
14
14
|
createThinkParserState,
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
} from "./chunk-N7J63Q6C.js";
|
|
21
21
|
import {
|
|
22
22
|
performFetchRequest
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7WNY3WEK.js";
|
|
24
24
|
import {
|
|
25
25
|
createSSEParser,
|
|
26
26
|
findToolExecutor,
|
|
27
27
|
toolDefinitionsByName
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OISWAB2K.js";
|
|
29
29
|
import {
|
|
30
30
|
createToolRunId,
|
|
31
31
|
getToolResultErrorData,
|
|
@@ -33,23 +33,23 @@ import {
|
|
|
33
33
|
toolRunSetPending,
|
|
34
34
|
toolRunStarted,
|
|
35
35
|
toolRunSucceeded
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-UNTKW3PH.js";
|
|
37
37
|
import {
|
|
38
38
|
getPublicImageAgentMode
|
|
39
39
|
} from "./chunk-E3APEOIM.js";
|
|
40
40
|
import {
|
|
41
41
|
selectCurrentSpaceId
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-MZWET5XZ.js";
|
|
43
43
|
import {
|
|
44
44
|
addToolMessage,
|
|
45
45
|
getModelInfo,
|
|
46
46
|
messageStreamEnd,
|
|
47
47
|
messageStreaming,
|
|
48
48
|
updateToolMessage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WJBS5LLH.js";
|
|
50
50
|
import {
|
|
51
51
|
streamAgentChatTurn
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-EKVRQQWQ.js";
|
|
53
53
|
import {
|
|
54
54
|
toErrorMessage
|
|
55
55
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
buildRuntimeGuidanceBlocks,
|
|
10
10
|
fetchReferenceContents,
|
|
11
11
|
resolveToolGuidedSections
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UPXS3PUC.js";
|
|
13
13
|
import {
|
|
14
14
|
getAllToolRuns,
|
|
15
15
|
resolveAgentRecommendedSkillNames,
|
|
16
16
|
resolveAgentRequiredPackIds
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UNTKW3PH.js";
|
|
18
18
|
import {
|
|
19
19
|
getDocState
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AK7XNO3W.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveToolBaseUrl
|
|
23
23
|
} from "./chunk-44HACRCK.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
selectCurrentTable,
|
|
32
32
|
selectTableRows,
|
|
33
33
|
selectViewMode
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MZWET5XZ.js";
|
|
35
35
|
import {
|
|
36
36
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
37
37
|
buildPersonalizationDialogPolicyContext,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolveBuiltinPlatformAgentConfig,
|
|
44
44
|
selectAllMsgs,
|
|
45
45
|
serializeMessageContent
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-WJBS5LLH.js";
|
|
47
47
|
import {
|
|
48
48
|
clipCompactText
|
|
49
49
|
} from "./chunk-OB6FBSH3.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-MZWET5XZ.js";
|
|
4
|
+
import "./chunk-WJBS5LLH.js";
|
|
5
5
|
import "./chunk-OB6FBSH3.js";
|
|
6
6
|
import "./chunk-ATK5WJOA.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-EKVRQQWQ.js";
|
|
8
8
|
import "./chunk-JZPBVBIY.js";
|
|
9
9
|
import "./chunk-5RGU3J7P.js";
|
|
10
10
|
import "./chunk-M76ECQRD.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HF5JU6H6.js";
|
|
5
5
|
import "./chunk-DCDL3GC4.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-MZWET5XZ.js";
|
|
7
|
+
import "./chunk-WJBS5LLH.js";
|
|
8
8
|
import "./chunk-OB6FBSH3.js";
|
|
9
9
|
import "./chunk-ATK5WJOA.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-EKVRQQWQ.js";
|
|
11
11
|
import "./chunk-JZPBVBIY.js";
|
|
12
12
|
import "./chunk-5RGU3J7P.js";
|
|
13
13
|
import "./chunk-M76ECQRD.js";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
addContentToSpace,
|
|
6
6
|
client_default,
|
|
7
7
|
selectCurrentSpaceId
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-MZWET5XZ.js";
|
|
9
|
+
import "./chunk-WJBS5LLH.js";
|
|
10
10
|
import "./chunk-OB6FBSH3.js";
|
|
11
11
|
import "./chunk-ATK5WJOA.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-EKVRQQWQ.js";
|
|
13
13
|
import "./chunk-JZPBVBIY.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import "./chunk-M76ECQRD.js";
|
|
@@ -380,7 +380,7 @@ var db_default = serverDb;
|
|
|
380
380
|
function getServerAuthorityStore() {
|
|
381
381
|
return authorityStore;
|
|
382
382
|
}
|
|
383
|
-
var DEFAULT_SERVER_DB_OPEN_LOCK_TIMEOUT_MS =
|
|
383
|
+
var DEFAULT_SERVER_DB_OPEN_LOCK_TIMEOUT_MS = 8e3;
|
|
384
384
|
var DEFAULT_SERVER_DB_OPEN_LOCK_INTERVAL_MS = 1e3;
|
|
385
385
|
function resolveServerDbOpenLockTimeoutMs(env = process.env) {
|
|
386
386
|
const raw = env.NOLO_SERVER_DB_OPEN_LOCK_TIMEOUT_MS;
|
|
@@ -414,7 +414,9 @@ async function ensureServerDbOpen(options) {
|
|
|
414
414
|
const remainingMs = deadline - now();
|
|
415
415
|
if (remainingMs <= 0) {
|
|
416
416
|
if (!options?.quiet) {
|
|
417
|
-
console.error(
|
|
417
|
+
console.error(
|
|
418
|
+
`\u274C \u6253\u5F00 LevelDB \u5931\u8D25: \u9501\u88AB\u5176\u4ED6\u8FDB\u7A0B\u6301\u6709\uFF0C\u5DF2\u91CD\u8BD5 ${attempt} \u6B21 / ${timeoutMs}ms\u3002 \u901A\u5E38\u662F\u4E0A\u4E00\u4E2A server \u8FDB\u7A0B\u672A\u5B8C\u5168\u9000\u51FA\uFF08\u6CE8\u610F\u7236\u5B50\u8FDB\u7A0B\u6811\uFF09\uFF0C \u6392\u67E5\uFF1Afuser -v ${authorityStore.location ?? "<dbPath>"}/LOCK`
|
|
419
|
+
);
|
|
418
420
|
}
|
|
419
421
|
throw err;
|
|
420
422
|
}
|
|
@@ -8,37 +8,37 @@ import {
|
|
|
8
8
|
runDialogReadCommand,
|
|
9
9
|
runDialogStatusCommand,
|
|
10
10
|
sortDialogs
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PDXNQKOK.js";
|
|
12
12
|
import "./chunk-ID4G2MAR.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-E2N2B4V4.js";
|
|
14
|
+
import "./chunk-L5K5RQSD.js";
|
|
15
|
+
import "./chunk-KVT5HYP4.js";
|
|
16
16
|
import "./chunk-K6QEHQZ3.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-W4UIMWYV.js";
|
|
18
18
|
import "./chunk-ZNFJWEN4.js";
|
|
19
19
|
import "./chunk-65677FXQ.js";
|
|
20
20
|
import "./chunk-OIQPORYI.js";
|
|
21
21
|
import "./chunk-T27IEBNQ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-XAJUBTKJ.js";
|
|
23
23
|
import "./chunk-N7J63Q6C.js";
|
|
24
24
|
import "./chunk-PJY5AH5A.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-UPXS3PUC.js";
|
|
26
26
|
import "./chunk-D34RI6NI.js";
|
|
27
27
|
import "./chunk-UDA3ZYLW.js";
|
|
28
28
|
import "./chunk-4PWB7JRR.js";
|
|
29
29
|
import "./chunk-2MBTWINN.js";
|
|
30
30
|
import "./chunk-KQHGZWSV.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-UNTKW3PH.js";
|
|
32
|
+
import "./chunk-AK7XNO3W.js";
|
|
33
33
|
import "./chunk-SWYMCHM7.js";
|
|
34
34
|
import "./chunk-44HACRCK.js";
|
|
35
35
|
import "./chunk-DCDL3GC4.js";
|
|
36
36
|
import "./chunk-E3APEOIM.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-MZWET5XZ.js";
|
|
38
|
+
import "./chunk-WJBS5LLH.js";
|
|
39
39
|
import "./chunk-OB6FBSH3.js";
|
|
40
40
|
import "./chunk-ATK5WJOA.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-EKVRQQWQ.js";
|
|
42
42
|
import "./chunk-JZPBVBIY.js";
|
|
43
43
|
import "./chunk-5RGU3J7P.js";
|
|
44
44
|
import "./chunk-M76ECQRD.js";
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WJBS5LLH.js";
|
|
24
24
|
import "./chunk-OB6FBSH3.js";
|
|
25
25
|
import "./chunk-ATK5WJOA.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-EKVRQQWQ.js";
|
|
27
27
|
import "./chunk-JZPBVBIY.js";
|
|
28
28
|
import {
|
|
29
29
|
getActiveDialogAgentId
|
|
@@ -21,34 +21,34 @@ import {
|
|
|
21
21
|
resolveDocKind,
|
|
22
22
|
resolveWriteTargets,
|
|
23
23
|
writePageRecord
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-O2C4C6KG.js";
|
|
25
|
+
import "./chunk-L5K5RQSD.js";
|
|
26
|
+
import "./chunk-KVT5HYP4.js";
|
|
27
27
|
import "./chunk-K6QEHQZ3.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-W4UIMWYV.js";
|
|
29
29
|
import "./chunk-ZNFJWEN4.js";
|
|
30
30
|
import "./chunk-65677FXQ.js";
|
|
31
31
|
import "./chunk-OIQPORYI.js";
|
|
32
32
|
import "./chunk-T27IEBNQ.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-XAJUBTKJ.js";
|
|
34
34
|
import "./chunk-N7J63Q6C.js";
|
|
35
35
|
import "./chunk-PJY5AH5A.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-UPXS3PUC.js";
|
|
37
37
|
import "./chunk-D34RI6NI.js";
|
|
38
38
|
import "./chunk-UDA3ZYLW.js";
|
|
39
39
|
import "./chunk-4PWB7JRR.js";
|
|
40
40
|
import "./chunk-2MBTWINN.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-UNTKW3PH.js";
|
|
42
|
+
import "./chunk-AK7XNO3W.js";
|
|
43
43
|
import "./chunk-SWYMCHM7.js";
|
|
44
44
|
import "./chunk-44HACRCK.js";
|
|
45
45
|
import "./chunk-DCDL3GC4.js";
|
|
46
46
|
import "./chunk-E3APEOIM.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-MZWET5XZ.js";
|
|
48
|
+
import "./chunk-WJBS5LLH.js";
|
|
49
49
|
import "./chunk-OB6FBSH3.js";
|
|
50
50
|
import "./chunk-ATK5WJOA.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-EKVRQQWQ.js";
|
|
52
52
|
import "./chunk-JZPBVBIY.js";
|
|
53
53
|
import "./chunk-5RGU3J7P.js";
|
|
54
54
|
import "./chunk-M76ECQRD.js";
|
|
@@ -10,38 +10,38 @@ import {
|
|
|
10
10
|
requireTokenUser,
|
|
11
11
|
resolveDocKind,
|
|
12
12
|
resolveWriteTargets
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O2C4C6KG.js";
|
|
14
14
|
import {
|
|
15
15
|
deleteDbRecordOnServers
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-E2N2B4V4.js";
|
|
17
|
+
import "./chunk-L5K5RQSD.js";
|
|
18
|
+
import "./chunk-KVT5HYP4.js";
|
|
19
19
|
import "./chunk-K6QEHQZ3.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-W4UIMWYV.js";
|
|
21
21
|
import "./chunk-ZNFJWEN4.js";
|
|
22
22
|
import "./chunk-65677FXQ.js";
|
|
23
23
|
import "./chunk-OIQPORYI.js";
|
|
24
24
|
import "./chunk-T27IEBNQ.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-XAJUBTKJ.js";
|
|
26
26
|
import "./chunk-N7J63Q6C.js";
|
|
27
27
|
import "./chunk-PJY5AH5A.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-UPXS3PUC.js";
|
|
29
29
|
import "./chunk-D34RI6NI.js";
|
|
30
30
|
import "./chunk-UDA3ZYLW.js";
|
|
31
31
|
import "./chunk-4PWB7JRR.js";
|
|
32
32
|
import "./chunk-2MBTWINN.js";
|
|
33
33
|
import "./chunk-KQHGZWSV.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-UNTKW3PH.js";
|
|
35
|
+
import "./chunk-AK7XNO3W.js";
|
|
36
36
|
import "./chunk-SWYMCHM7.js";
|
|
37
37
|
import "./chunk-44HACRCK.js";
|
|
38
38
|
import "./chunk-DCDL3GC4.js";
|
|
39
39
|
import "./chunk-E3APEOIM.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-MZWET5XZ.js";
|
|
41
|
+
import "./chunk-WJBS5LLH.js";
|
|
42
42
|
import "./chunk-OB6FBSH3.js";
|
|
43
43
|
import "./chunk-ATK5WJOA.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-EKVRQQWQ.js";
|
|
45
45
|
import "./chunk-JZPBVBIY.js";
|
|
46
46
|
import "./chunk-5RGU3J7P.js";
|
|
47
47
|
import "./chunk-M76ECQRD.js";
|