nolo-cli 0.189.0-alpha.1 → 0.190.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-7GFCTOFY.js → _executeModel-SWF5L2QJ.js} +22 -22
- package/{action-HQXK4ZT4.js → action-BHWB4MOK.js} +2 -2
- package/{addContentAction-3WAN3OWY.js → addContentAction-BY375D35.js} +3 -3
- package/{addDialogAgentAction-WNQBFR5G.js → addDialogAgentAction-HOZYOCWC.js} +2 -2
- package/{agentDeleteCommand-GXYAEUFQ.js → agentDeleteCommand-RZBGWFD7.js} +23 -23
- package/{agentEmailCommands-WYZKZBPZ.js → agentEmailCommands-WLI22RW4.js} +24 -24
- package/{agentListCommands-POWEO3US.js → agentListCommands-RL5BMN2E.js} +7 -7
- package/{agentMachineCommands-LD4UKJ47.js → agentMachineCommands-F3NUJ2L6.js} +5 -5
- package/{agentRecordCommands-O6SOBL37.js → agentRecordCommands-P56UX5EH.js} +23 -23
- package/{agentRunCommand-JZ5CH3DL.js → agentRunCommand-75PMX2RJ.js} +24 -24
- package/{agentRuntimeLocal-G4KEXO5D.js → agentRuntimeLocal-3H7ZXM5X.js} +3 -3
- package/{agentSlice-STUDWJJZ.js → agentSlice-YGT6LLK6.js} +3 -3
- package/{appDeleteCommands-GZPGKI2Z.js → appDeleteCommands-AUDFCIFP.js} +7 -7
- package/{appDeployCommands-5UU3V5OK.js → appDeployCommands-ZMVIKSPY.js} +7 -7
- package/{appDeployStatusCommands-2ZB2QZ22.js → appDeployStatusCommands-LQNUHHGW.js} +7 -7
- package/{appGetCommands-YSZFBV5G.js → appGetCommands-WVCAHY4P.js} +7 -7
- package/{appListCommands-W6D7XIFX.js → appListCommands-4HHNJQUI.js} +7 -7
- package/{authCommand-L6C4LLOU.js → authCommand-RV5MQDWN.js} +3 -3
- package/{authCommands-RFLKIPBT.js → authCommands-MZUXPRYJ.js} +2 -2
- package/{builtinSkillRegistry-2VN6JG4U.js → builtinSkillRegistry-7MBUY5EY.js} +3 -3
- package/{chromeOpsCommands-BTIWDYLA.js → chromeOpsCommands-C46BXHEE.js} +1 -1
- package/{chunk-H6FUDBS3.js → chunk-23QZ43OQ.js} +5 -5
- package/{chunk-5LVGXDSL.js → chunk-2CYD3OWD.js} +1 -1
- package/{chunk-4MZCYEK5.js → chunk-4KH2J6P7.js} +2 -2
- package/{chunk-XTM23OUX.js → chunk-4MYCKDSI.js} +2 -2
- package/{chunk-RGTPR57U.js → chunk-4YS6SAUO.js} +4 -4
- package/{chunk-LOQYQUM2.js → chunk-53PBXLID.js} +1 -1
- package/{chunk-KOIGM3KU.js → chunk-5DPVRMSY.js} +1 -1
- package/{chunk-GSX7Z46F.js → chunk-5HAPEKNH.js} +1 -1
- package/{chunk-RANCLEEC.js → chunk-6PV7VEEE.js} +10 -10
- package/{chunk-JOOWHDGM.js → chunk-A5BLRE3G.js} +1 -1
- package/{chunk-Y2ZDNW2H.js → chunk-B2N5GZBU.js} +2 -2
- package/{chunk-7SJG5ZNX.js → chunk-B6EZB6DW.js} +1 -1
- package/{chunk-CLGAGPEM.js → chunk-CNMQATUF.js} +1 -1
- package/{chunk-ER4UTWWS.js → chunk-DFF6B7P7.js} +1 -1
- package/{chunk-TNVE3CAV.js → chunk-DNHR4SIB.js} +4 -4
- package/{chunk-WMHWFFTE.js → chunk-ECX3NKRD.js} +46 -0
- package/{chunk-ZIOYHDYW.js → chunk-EWY63OTN.js} +2 -2
- package/{chunk-MMOISK6N.js → chunk-FLOZJJZO.js} +3 -3
- package/{chunk-R6AJKHEU.js → chunk-FSOJN3F7.js} +3 -3
- package/{chunk-WBCYL63M.js → chunk-GYVLAHA4.js} +1 -1
- package/{chunk-OKFKGCTS.js → chunk-HTLIKE5U.js} +2 -2
- package/{chunk-7N6C3IHF.js → chunk-JCDNXY6M.js} +2 -2
- package/{chunk-S4W4GV3B.js → chunk-K6TZSON4.js} +1 -1
- package/{chunk-3QFOYFJW.js → chunk-LMHU2NXQ.js} +4 -4
- package/{chunk-YUZIPPER.js → chunk-NHUH5CDA.js} +2 -2
- package/{chunk-2SUNC7EM.js → chunk-P277FU5Z.js} +12 -12
- package/{chunk-PCPQWTXJ.js → chunk-PD2YRFAI.js} +1 -1
- package/{chunk-O2MBTX37.js → chunk-RKUSD72B.js} +4 -4
- package/{chunk-J7QGWFT6.js → chunk-SIZY5XFD.js} +36 -11
- package/{chunk-OXOXPREC.js → chunk-SM56M7N7.js} +1 -1
- package/{chunk-J6ACCFU6.js → chunk-TFSMPRAY.js} +4 -4
- package/{chunk-IFN7MHWL.js → chunk-UGCQKKXW.js} +1 -1
- package/{chunk-63RO7QWZ.js → chunk-UNOILAZP.js} +10 -0
- package/{chunk-HVV4B6OL.js → chunk-W622GBH3.js} +2 -2
- package/{chunk-7GXK3WTO.js → chunk-WAZ6BTSC.js} +1 -1
- package/{chunk-4OTMONZL.js → chunk-XECMQMCS.js} +9 -9
- package/{chunk-6G5V4Y3V.js → chunk-XY6RHOUI.js} +19 -19
- package/{chunk-PVZ3GB25.js → chunk-ZLBQ55HI.js} +5 -5
- package/{chunk-RBVR7P3M.js → chunk-ZRATZ7OH.js} +18 -18
- package/{commandRegistry-AXZLPIPP.js → commandRegistry-IG7CJFTP.js} +61 -61
- package/{contentThunks-E4DHXF3M.js → contentThunks-UOENCNOK.js} +8 -8
- package/{cooldownCommands-ZERBBSWJ.js → cooldownCommands-4XKJFEBW.js} +1 -1
- package/{createAgentAutomationAction-2P2II7B3.js → createAgentAutomationAction-4STTL3XS.js} +8 -8
- package/{createDialogAction-MFZGE5EO.js → createDialogAction-2L47HM5V.js} +10 -10
- package/{createPageAction-SBU2YCNR.js → createPageAction-6QX7NS6V.js} +8 -8
- package/{dbSlice-2O3YBVPP.js → dbSlice-QAUXABCC.js} +2 -2
- package/{dialogCommands-AQLB3TG2.js → dialogCommands-VCQO2OFM.js} +7 -7
- package/{dialogSlice-GKPCUQWM.js → dialogSlice-5M2W5QZZ.js} +7 -7
- package/{dialogUsageCommand-44XMU6DD.js → dialogUsageCommand-QTG6ILEJ.js} +58 -5
- package/{docCreateCommands-AND3EMIY.js → docCreateCommands-7FAETK4S.js} +6 -6
- package/{docDeleteCommands-WA7CPPN3.js → docDeleteCommands-IVA4T2VS.js} +7 -7
- package/{docReadCommands-A4JLU4WF.js → docReadCommands-F63GIAYX.js} +6 -6
- package/{docStore-DOZVBVKZ.js → docStore-FOMW62P6.js} +3 -3
- package/{docUpdateCommands-33PDSHS3.js → docUpdateCommands-QEC4Y2HQ.js} +6 -6
- package/{fetchMessages-QLW7INJJ.js → fetchMessages-HWBVATSE.js} +1 -1
- package/{handleSendMessageAction-FY4RBJEA.js → handleSendMessageAction-6PA7PBAE.js} +15 -15
- package/index.js +6 -6
- package/{keys-N6HQICY5.js → keys-P4ZDOVJW.js} +11 -1
- package/{localDialogRead-55YDVPNU.js → localDialogRead-CT5HGDMC.js} +1 -1
- package/{localRuntimeAdapter-VOTHX3NK.js → localRuntimeAdapter-UZVDGE24.js} +21 -21
- package/{machineCommands-FDTN3A5S.js → machineCommands-JMHZ2BFI.js} +22 -22
- package/{machineWsRunDispatch-PPVYOERM.js → machineWsRunDispatch-5CYUKV3K.js} +22 -22
- package/{memberThunks-VXT36MZP.js → memberThunks-ZAE52VIP.js} +3 -3
- package/package.json +1 -1
- package/{readlineWorkspace-6SU3QTTY.js → readlineWorkspace-G5EZWTPW.js} +83 -37
- package/{removeDialogAgentAction-PK24DJ2J.js → removeDialogAgentAction-YEPO5AYI.js} +3 -3
- package/{runAgentClientLoop-CFIM6MXT.js → runAgentClientLoop-5P42KTXW.js} +20 -20
- package/{secretCommands-UYVNIQIN.js → secretCommands-N6CMCJDZ.js} +1 -1
- package/{setDialogExtraReferencesAction-BN4IBUO6.js → setDialogExtraReferencesAction-EH5GWDAJ.js} +3 -3
- package/{setPrimaryDialogAgentAction-JR5SMLZY.js → setPrimaryDialogAgentAction-PNWRK6IY.js} +3 -3
- package/{settingThunks-RJZQHL7H.js → settingThunks-7VCWB6P7.js} +2 -2
- package/{spaceCommands-BI3TRIAK.js → spaceCommands-6IH5EH6B.js} +5 -5
- package/{streamAgentChatTurn-3BS7IAFR.js → streamAgentChatTurn-LK4RYXJ6.js} +22 -22
- package/{switchDialogAgentAction-TSIXBNRH.js → switchDialogAgentAction-23BFWJMV.js} +2 -2
- package/{tools-PCTUYG54.js → tools-RGZRKCCX.js} +17 -17
- package/{updateCommands-6GKGM7NR.js → updateCommands-KE6LP3QX.js} +3 -3
- package/{updateDialogTitleAction-ZHFIMEQL.js → updateDialogTitleAction-HEON2XAV.js} +8 -8
- package/{windowsSelfUpdate-4N7JCG2M.js → windowsSelfUpdate-26TSFXEZ.js} +2 -2
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5DPVRMSY.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./chunk-4SN6J65J.js";
|
|
70
70
|
import {
|
|
71
71
|
t
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-UNOILAZP.js";
|
|
73
73
|
import {
|
|
74
74
|
asNonEmptyStringArray,
|
|
75
75
|
asTrimmedNonEmptyStringArray
|
|
@@ -780,7 +780,7 @@ function isExplicitDialogIdMismatch(meta, dialogId) {
|
|
|
780
780
|
return meta && typeof meta === "object" && "id" in meta && meta.id != null && String(meta.id) !== dialogId;
|
|
781
781
|
}
|
|
782
782
|
async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
|
|
783
|
-
const reader = readLocalDialog ?? (await import("./localDialogRead-
|
|
783
|
+
const reader = readLocalDialog ?? (await import("./localDialogRead-CT5HGDMC.js")).readDialogFromLocalDb;
|
|
784
784
|
const result = await reader({ dialogKey, dialogId, limit });
|
|
785
785
|
return {
|
|
786
786
|
...result,
|
|
@@ -795,7 +795,7 @@ async function readLocalDialogAtDbPathDefault(args) {
|
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
797
|
const db = await getDefaultCliLocalRuntimeDb();
|
|
798
|
-
const { readDialogFromLocalDb: reader } = await import("./localDialogRead-
|
|
798
|
+
const { readDialogFromLocalDb: reader } = await import("./localDialogRead-CT5HGDMC.js");
|
|
799
799
|
return reader({ ...args, db });
|
|
800
800
|
}
|
|
801
801
|
async function readDialogFromLocalDbWithFallback(args) {
|
|
@@ -553,6 +553,16 @@ var agentStrings = {
|
|
|
553
553
|
en: "+{0} more",
|
|
554
554
|
zh: "\u8FD8\u6709 {0} \u4E2A"
|
|
555
555
|
},
|
|
556
|
+
// 纯推理 run(0 次工具调用)的心跳:模型调用次数。
|
|
557
|
+
runLlmCalls: {
|
|
558
|
+
en: "{0} model calls",
|
|
559
|
+
zh: "{0} \u6B21\u6A21\u578B\u8C03\u7528"
|
|
560
|
+
},
|
|
561
|
+
// 停滞信号:最后一次事件太久没有更新(次数不涨)。
|
|
562
|
+
runStalled: {
|
|
563
|
+
en: "may be stuck",
|
|
564
|
+
zh: "\u53EF\u80FD\u5361\u4F4F"
|
|
565
|
+
},
|
|
556
566
|
agentsTitle: {
|
|
557
567
|
en: "Agents:",
|
|
558
568
|
zh: "\u667A\u80FD\u4F53\uFF1A"
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
resolveEmptyAssistantFallbackMessage,
|
|
146
146
|
resolveEmptyAssistantOutcome,
|
|
147
147
|
resolveTruncatedReasoningTailLog
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-K6TZSON4.js";
|
|
149
149
|
import {
|
|
150
150
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
151
151
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -22985,7 +22985,7 @@ function buildLoadSkillExecutor(args2) {
|
|
|
22985
22985
|
const { resolveSkillByName } = await import("./skillDiscovery-F3TMVQOJ.js");
|
|
22986
22986
|
const resolved = resolveSkillByName(args2.cwd, name);
|
|
22987
22987
|
if (!resolved) {
|
|
22988
|
-
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-
|
|
22988
|
+
const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-7MBUY5EY.js");
|
|
22989
22989
|
const builtin = resolveBuiltinSkillByName(name);
|
|
22990
22990
|
if (builtin) {
|
|
22991
22991
|
return {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LMHU2NXQ.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
selectSpaceContextLevel,
|
|
21
21
|
selectUserTonePreset,
|
|
22
22
|
uiCardFallback
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RKUSD72B.js";
|
|
24
24
|
import {
|
|
25
25
|
getDocState
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FSOJN3F7.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveToolBaseUrl
|
|
29
29
|
} from "./chunk-MYOH447Z.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-ZBCBFOWC.js";
|
|
36
36
|
import {
|
|
37
37
|
getTableState
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-4YS6SAUO.js";
|
|
39
39
|
import {
|
|
40
40
|
getCurrentSpaceIdRaw,
|
|
41
41
|
getViewMode
|
|
@@ -44,14 +44,14 @@ import {
|
|
|
44
44
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
45
45
|
buildPersonalizationDialogPolicyContext,
|
|
46
46
|
selectAllMsgs
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZRATZ7OH.js";
|
|
48
48
|
import {
|
|
49
49
|
selectPendingFiles
|
|
50
50
|
} from "./chunk-OWYYDMGJ.js";
|
|
51
51
|
import {
|
|
52
52
|
read,
|
|
53
53
|
selectById
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-B2N5GZBU.js";
|
|
55
55
|
import {
|
|
56
56
|
getSessionSnapshotForState,
|
|
57
57
|
selectIdentityUserBalance,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
expandEnabledPackPromptPatches,
|
|
67
67
|
expandEnabledPacks,
|
|
68
68
|
resolveEffectiveEnabledPacks
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-SM56M7N7.js";
|
|
70
70
|
import {
|
|
71
71
|
projectToolMessageContent
|
|
72
72
|
} from "./chunk-2WZXXAQD.js";
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
} from "./chunk-WJZOQR2J.js";
|
|
77
77
|
import {
|
|
78
78
|
extractReferenceKeysFromMessage
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-K6TZSON4.js";
|
|
80
80
|
import {
|
|
81
81
|
getModelContextWindow,
|
|
82
82
|
planContextUsage
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
} from "./chunk-KUG52IAP.js";
|
|
111
111
|
import {
|
|
112
112
|
metaKey
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-ECX3NKRD.js";
|
|
114
114
|
import {
|
|
115
115
|
asNonEmptyStringArray
|
|
116
116
|
} from "./chunk-I42VC5KR.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
setMembershipRejected,
|
|
27
27
|
setSpaceInitialized,
|
|
28
28
|
updateMemberSpaceName
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-53PBXLID.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-RKUSD72B.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-FSOJN3F7.js";
|
|
59
59
|
import {
|
|
60
60
|
ToolApiError,
|
|
61
61
|
buildToolRequestHeaders,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
} from "./chunk-MYOH447Z.js";
|
|
67
67
|
import {
|
|
68
68
|
setDialogExtraReferencesAction
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-DFF6B7P7.js";
|
|
70
70
|
import {
|
|
71
71
|
readDocFunc,
|
|
72
72
|
readDocFunctionSchema,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
} from "./chunk-63W5N6P3.js";
|
|
83
83
|
import {
|
|
84
84
|
createDialogAction
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-23QZ43OQ.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-4YS6SAUO.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-ZRATZ7OH.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-ZLBQ55HI.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-B6EZB6DW.js";
|
|
142
142
|
import {
|
|
143
143
|
createSpaceKey,
|
|
144
144
|
normalizeSpaceId
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
} from "./chunk-YDH3FDFQ.js";
|
|
154
154
|
import {
|
|
155
155
|
shareResourceAction
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-CNMQATUF.js";
|
|
157
157
|
import {
|
|
158
158
|
selectCurrentServer,
|
|
159
159
|
selectSyncServers
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
selectEntities,
|
|
170
170
|
toTimestampMs,
|
|
171
171
|
write
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-B2N5GZBU.js";
|
|
173
173
|
import {
|
|
174
174
|
readAction
|
|
175
175
|
} from "./chunk-LBXUNNDS.js";
|
|
@@ -199,10 +199,10 @@ import {
|
|
|
199
199
|
import {
|
|
200
200
|
listBuiltinSkills,
|
|
201
201
|
resolveBuiltinSkillByName
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-5HAPEKNH.js";
|
|
203
203
|
import {
|
|
204
204
|
CAPABILITY_PACKS
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-SM56M7N7.js";
|
|
206
206
|
import {
|
|
207
207
|
buildSkillDocMarkdown,
|
|
208
208
|
normalizeSkillModalities,
|
|
@@ -308,7 +308,7 @@ import {
|
|
|
308
308
|
rowKey,
|
|
309
309
|
splitKey,
|
|
310
310
|
toTrimmedString
|
|
311
|
-
} from "./chunk-
|
|
311
|
+
} from "./chunk-ECX3NKRD.js";
|
|
312
312
|
import {
|
|
313
313
|
dialogMessageRange,
|
|
314
314
|
isDialogKey,
|
|
@@ -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-5M2W5QZZ.js");
|
|
3888
3888
|
for (const target of targets) {
|
|
3889
3889
|
try {
|
|
3890
3890
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4990,7 +4990,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
4990
4990
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
4991
4991
|
const readSpace = async (dbKey) => {
|
|
4992
4992
|
try {
|
|
4993
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
4993
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-QAUXABCC.js");
|
|
4994
4994
|
if (fresh) {
|
|
4995
4995
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
4996
4996
|
}
|
|
@@ -11637,7 +11637,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
11637
11637
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
11638
11638
|
async function addImageContentToSpace(input) {
|
|
11639
11639
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
11640
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
11640
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-BY375D35.js")).addContentAction;
|
|
11641
11641
|
await addContentAction2(
|
|
11642
11642
|
{
|
|
11643
11643
|
spaceId: input.spaceId,
|
|
@@ -18566,7 +18566,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18566
18566
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18567
18567
|
};
|
|
18568
18568
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18569
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18569
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-FOMW62P6.js");
|
|
18570
18570
|
if (getDocState().pageKey === id) {
|
|
18571
18571
|
applyExternalDocUpdate({
|
|
18572
18572
|
slateData: finalSlateData,
|
|
@@ -18591,7 +18591,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18591
18591
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
18592
18592
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
18593
18593
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
18594
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-
|
|
18594
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-7VCWB6P7.js")).setSettings;
|
|
18595
18595
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
18596
18596
|
}
|
|
18597
18597
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
patch,
|
|
3
3
|
remove,
|
|
4
4
|
write
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-B2N5GZBU.js";
|
|
6
6
|
import {
|
|
7
7
|
getRuntimeServerContext
|
|
8
8
|
} from "./chunk-7UODCAWW.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
createAgentKey,
|
|
29
29
|
createUserKey,
|
|
30
30
|
toTrimmedString
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ECX3NKRD.js";
|
|
32
32
|
import {
|
|
33
33
|
asTrimmedString
|
|
34
34
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -347,7 +347,7 @@ var slice = createSliceWithThunks({
|
|
|
347
347
|
const overrides = {};
|
|
348
348
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
349
349
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
350
|
-
const { _executeModel } = await import("./_executeModel-
|
|
350
|
+
const { _executeModel } = await import("./_executeModel-SWF5L2QJ.js");
|
|
351
351
|
return _executeModel(
|
|
352
352
|
{
|
|
353
353
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -368,7 +368,7 @@ var slice = createSliceWithThunks({
|
|
|
368
368
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
369
369
|
*/
|
|
370
370
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
371
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
371
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-5P42KTXW.js");
|
|
372
372
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
373
373
|
{
|
|
374
374
|
agentKey: args.agentKey,
|
|
@@ -384,7 +384,7 @@ var slice = createSliceWithThunks({
|
|
|
384
384
|
* 聊天轮次流式 Agent 调用
|
|
385
385
|
*/
|
|
386
386
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
387
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
387
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-LK4RYXJ6.js");
|
|
388
388
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
389
389
|
}),
|
|
390
390
|
/**
|
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
} from "./chunk-523DITKR.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZLBQ55HI.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-A5BLRE3G.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-B6EZB6DW.js";
|
|
27
27
|
import {
|
|
28
28
|
getActiveDialogAgentId,
|
|
29
29
|
getDialogAgentIds,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
selectById,
|
|
62
62
|
upload,
|
|
63
63
|
write
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-B2N5GZBU.js";
|
|
65
65
|
import {
|
|
66
66
|
getRuntimeServerContext,
|
|
67
67
|
parseOwnerUserIdFromDbKey,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
extractReferenceKeysFromMessage,
|
|
107
107
|
normalizeUsage,
|
|
108
108
|
resolveAutoExecutionProfile
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-K6TZSON4.js";
|
|
110
110
|
import {
|
|
111
111
|
isDevinOAuthAgent
|
|
112
112
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
createKey,
|
|
170
170
|
createTokenKey,
|
|
171
171
|
createTokenStatsKey
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-ECX3NKRD.js";
|
|
173
173
|
import {
|
|
174
174
|
createDialogMessageKeyAndId,
|
|
175
175
|
dialogMessageKey
|
|
@@ -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-YGT6LLK6.js");
|
|
11077
11077
|
await dispatch(
|
|
11078
11078
|
streamAgentChatTurn({
|
|
11079
11079
|
agentKey: agentKeyToUse,
|
|
@@ -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-5M2W5QZZ.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-2L47HM5V.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-4STTL3XS.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-HEON2XAV.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-HOZYOCWC.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-YEPO5AYI.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-PNWRK6IY.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-23BFWJMV.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-EH5GWDAJ.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-6PA7PBAE.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-FOMW62P6.js");
|
|
13944
13944
|
const pageKey = await createDocState(
|
|
13945
13945
|
{ slateData, title },
|
|
13946
13946
|
{ dispatch, getState }
|