nolo-cli 0.95.0 → 0.95.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-4NTXSCYT.js → _executeModel-2A5AFVBG.js} +10 -10
- package/{agentEmailCommands-GJ7KXHA6.js → agentEmailCommands-IX6COKHS.js} +9 -9
- package/{agentMachineCommands-PXJG3EDI.js → agentMachineCommands-W36VFO5M.js} +1 -1
- package/{agentRecordCommands-3ONMYU6P.js → agentRecordCommands-JGOTOBTW.js} +9 -9
- package/{agentRunCommand-L6NJGDBA.js → agentRunCommand-LJBG6YF2.js} +10 -9
- package/{agentSlice-X63VSE6R.js → agentSlice-FZ7GGQM2.js} +1 -1
- package/{authCommand-W6I6GD3F.js → authCommand-2YPMMIJN.js} +3 -1
- package/{authCommands-GBIFZWD3.js → authCommands-FFDS4FVX.js} +3 -1
- package/{chatQueueReduxAdapter-KN774OKJ.js → chatQueueReduxAdapter-PRP4YQP7.js} +2 -2
- package/{chunk-V2SAIXHE.js → chunk-2QZTQEW4.js} +8 -8
- package/{chunk-HWRQVJGX.js → chunk-4B4DAAFV.js} +3 -3
- package/{chunk-S3VFZW75.js → chunk-4MPGAOXS.js} +3 -3
- package/{chunk-CQMQXVFQ.js → chunk-4RTK7EHT.js} +21 -81
- package/{chunk-2JCOP36I.js → chunk-6RDFAKG7.js} +2 -2
- package/{chunk-IX27RP45.js → chunk-BJJL5DZF.js} +1 -1
- package/{chunk-M73PVOVS.js → chunk-BVWTQJAA.js} +5 -5
- package/{chunk-7VJHIB2S.js → chunk-HZH7RULB.js} +17 -10
- package/{chunk-5T2W2ZZN.js → chunk-K5UOP7AI.js} +2 -2
- package/{chunk-RE3CDVRX.js → chunk-LYS4T7MY.js} +4 -4
- package/{chunk-VPFEPRME.js → chunk-OTEMQQZI.js} +71 -5
- package/{chunk-CJXHT3S7.js → chunk-QYFBT4CV.js} +2 -2
- package/{chunk-DA54MHPJ.js → chunk-RQNHAVSR.js} +1 -1
- package/{chunk-6UPZ63YT.js → chunk-RS4XOX6Y.js} +1 -1
- package/chunk-TY3TIUJK.js +89 -0
- package/{chunk-XTDH3PGV.js → chunk-WIU4KIBL.js} +2 -2
- package/{commandRegistry-NPS6IYBO.js → commandRegistry-ESFYIRF4.js} +24 -24
- package/{contentThunks-EB4JFL4K.js → contentThunks-ECQ6KK3I.js} +3 -3
- package/{createAgentAutomationAction-NZS7N4AW.js → createAgentAutomationAction-6EES5YQO.js} +3 -3
- package/{createDialogAction-4Q4J7P4T.js → createDialogAction-JTKMM4VG.js} +4 -4
- package/{createPageAction-FPKRGV7D.js → createPageAction-WQZTMGAG.js} +3 -3
- package/{dialogSlice-DXEZ3PA3.js → dialogSlice-I6GN3I5B.js} +2 -2
- package/{docStore-2JTPJVFK.js → docStore-B2ZM4PCR.js} +1 -1
- package/{handleSendMessageAction-FGPHI364.js → handleSendMessageAction-BAUWHASB.js} +2 -2
- package/index.js +2 -2
- package/{machineCommands-26AZP4AS.js → machineCommands-SG3QGVOP.js} +9 -9
- package/{machineWsRunDispatch-GQ5XJ2DL.js → machineWsRunDispatch-RTFT3ZDL.js} +9 -9
- package/package.json +1 -1
- package/{readlineWorkspace-B7NBQCX6.js → readlineWorkspace-MCNBLA56.js} +11 -10
- package/{runAgentClientLoop-RVB5K6R2.js → runAgentClientLoop-XDPBFXV2.js} +8 -8
- package/{streamAgentChatTurn-HV3FSRHN.js → streamAgentChatTurn-BBH3QDEZ.js} +9 -9
- package/{tools-AZR26MXC.js → tools-OQWSBQJA.js} +6 -6
- package/{updateDialogTitleAction-HEWCCXZZ.js → updateDialogTitleAction-E25IG3J3.js} +3 -3
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
filterAndCleanMessages,
|
|
3
3
|
sendOpenAICompletionsRequest
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BVWTQJAA.js";
|
|
5
5
|
import "./chunk-JEXVIMYZ.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-6RDFAKG7.js";
|
|
7
7
|
import "./chunk-OCZKATRC.js";
|
|
8
8
|
import {
|
|
9
9
|
fetchAgentContexts
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BJJL5DZF.js";
|
|
11
11
|
import {
|
|
12
12
|
generateRequestBody,
|
|
13
13
|
mergeReferences,
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundBody
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4MPGAOXS.js";
|
|
17
17
|
import "./chunk-EOARMOVD.js";
|
|
18
18
|
import "./chunk-HS7MLR74.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-HZH7RULB.js";
|
|
20
20
|
import "./chunk-NF64D32W.js";
|
|
21
21
|
import "./chunk-5B7XS6UO.js";
|
|
22
22
|
import "./chunk-5UTFL4QJ.js";
|
|
@@ -24,28 +24,28 @@ import "./chunk-3L2WKC3W.js";
|
|
|
24
24
|
import "./chunk-KQHGZWSV.js";
|
|
25
25
|
import "./chunk-N4G4PKQ6.js";
|
|
26
26
|
import "./chunk-I3QNET24.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-K5UOP7AI.js";
|
|
28
28
|
import "./chunk-CPUFH46E.js";
|
|
29
29
|
import "./chunk-NUHHBEJC.js";
|
|
30
30
|
import "./chunk-63W5N6P3.js";
|
|
31
31
|
import "./chunk-VF4K2QE6.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-WIU4KIBL.js";
|
|
33
33
|
import "./chunk-DSSTTEKI.js";
|
|
34
34
|
import "./chunk-DCLMZ5TX.js";
|
|
35
35
|
import "./chunk-UQNS32WZ.js";
|
|
36
36
|
import "./chunk-MEYIRKDN.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-RQNHAVSR.js";
|
|
38
38
|
import "./chunk-ZJ7UHBJS.js";
|
|
39
39
|
import "./chunk-ZRAU6T47.js";
|
|
40
40
|
import {
|
|
41
41
|
selectAllMsgs,
|
|
42
42
|
selectCurrentDialogConfig,
|
|
43
43
|
updateTokensAction
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2QZTQEW4.js";
|
|
45
45
|
import "./chunk-523DITKR.js";
|
|
46
46
|
import "./chunk-YYLHWIW6.js";
|
|
47
47
|
import "./chunk-6O4IK4V2.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-4B4DAAFV.js";
|
|
49
49
|
import "./chunk-Z4CSIXYP.js";
|
|
50
50
|
import "./chunk-5RGU3J7P.js";
|
|
51
51
|
import "./chunk-4LCOCOR5.js";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
} from "./chunk-AZRHIN5B.js";
|
|
5
5
|
import {
|
|
6
6
|
runAgentCreateCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RS4XOX6Y.js";
|
|
8
8
|
import {
|
|
9
9
|
positionalArgs,
|
|
10
10
|
readFlagValue
|
|
11
11
|
} from "./chunk-V7E4PXQD.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-LYS4T7MY.js";
|
|
13
13
|
import "./chunk-O26PCYLS.js";
|
|
14
14
|
import "./chunk-YUNJN43V.js";
|
|
15
15
|
import "./chunk-62IL3KQV.js";
|
|
@@ -33,9 +33,9 @@ import "./chunk-MP64VFGD.js";
|
|
|
33
33
|
import "./chunk-JBTJAPUF.js";
|
|
34
34
|
import "./chunk-O2OWEFII.js";
|
|
35
35
|
import "./chunk-ATNTHIZI.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-6RDFAKG7.js";
|
|
37
37
|
import "./chunk-HS7MLR74.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-HZH7RULB.js";
|
|
39
39
|
import "./chunk-NF64D32W.js";
|
|
40
40
|
import "./chunk-5B7XS6UO.js";
|
|
41
41
|
import "./chunk-5UTFL4QJ.js";
|
|
@@ -43,24 +43,24 @@ import "./chunk-3L2WKC3W.js";
|
|
|
43
43
|
import "./chunk-KQHGZWSV.js";
|
|
44
44
|
import "./chunk-N4G4PKQ6.js";
|
|
45
45
|
import "./chunk-I3QNET24.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-K5UOP7AI.js";
|
|
47
47
|
import "./chunk-CPUFH46E.js";
|
|
48
48
|
import "./chunk-NUHHBEJC.js";
|
|
49
49
|
import "./chunk-63W5N6P3.js";
|
|
50
50
|
import "./chunk-VF4K2QE6.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-WIU4KIBL.js";
|
|
52
52
|
import "./chunk-DSSTTEKI.js";
|
|
53
53
|
import "./chunk-DCLMZ5TX.js";
|
|
54
54
|
import "./chunk-UQNS32WZ.js";
|
|
55
55
|
import "./chunk-MEYIRKDN.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-RQNHAVSR.js";
|
|
57
57
|
import "./chunk-ZJ7UHBJS.js";
|
|
58
58
|
import "./chunk-ZRAU6T47.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-2QZTQEW4.js";
|
|
60
60
|
import "./chunk-523DITKR.js";
|
|
61
61
|
import "./chunk-YYLHWIW6.js";
|
|
62
62
|
import "./chunk-6O4IK4V2.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-4B4DAAFV.js";
|
|
64
64
|
import "./chunk-Z4CSIXYP.js";
|
|
65
65
|
import "./chunk-5RGU3J7P.js";
|
|
66
66
|
import "./chunk-4LCOCOR5.js";
|
|
@@ -95,7 +95,7 @@ async function defaultExecuteCli(provider, prompt, options) {
|
|
|
95
95
|
return executeCli(provider, prompt, options);
|
|
96
96
|
}
|
|
97
97
|
async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
|
|
98
|
-
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-
|
|
98
|
+
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-RTFT3ZDL.js");
|
|
99
99
|
return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
|
|
100
100
|
}
|
|
101
101
|
async function detectLaunchableMachineInfo() {
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
runAgentCreateCommand,
|
|
3
3
|
runAgentReadCommand,
|
|
4
4
|
runAgentUpdateCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-RS4XOX6Y.js";
|
|
6
|
+
import "./chunk-LYS4T7MY.js";
|
|
7
7
|
import "./chunk-O26PCYLS.js";
|
|
8
8
|
import "./chunk-YUNJN43V.js";
|
|
9
9
|
import "./chunk-62IL3KQV.js";
|
|
@@ -20,9 +20,9 @@ import "./chunk-MP64VFGD.js";
|
|
|
20
20
|
import "./chunk-JBTJAPUF.js";
|
|
21
21
|
import "./chunk-O2OWEFII.js";
|
|
22
22
|
import "./chunk-ATNTHIZI.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-6RDFAKG7.js";
|
|
24
24
|
import "./chunk-HS7MLR74.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-HZH7RULB.js";
|
|
26
26
|
import "./chunk-NF64D32W.js";
|
|
27
27
|
import "./chunk-5B7XS6UO.js";
|
|
28
28
|
import "./chunk-5UTFL4QJ.js";
|
|
@@ -30,24 +30,24 @@ import "./chunk-3L2WKC3W.js";
|
|
|
30
30
|
import "./chunk-KQHGZWSV.js";
|
|
31
31
|
import "./chunk-N4G4PKQ6.js";
|
|
32
32
|
import "./chunk-I3QNET24.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-K5UOP7AI.js";
|
|
34
34
|
import "./chunk-CPUFH46E.js";
|
|
35
35
|
import "./chunk-NUHHBEJC.js";
|
|
36
36
|
import "./chunk-63W5N6P3.js";
|
|
37
37
|
import "./chunk-VF4K2QE6.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-WIU4KIBL.js";
|
|
39
39
|
import "./chunk-DSSTTEKI.js";
|
|
40
40
|
import "./chunk-DCLMZ5TX.js";
|
|
41
41
|
import "./chunk-UQNS32WZ.js";
|
|
42
42
|
import "./chunk-MEYIRKDN.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-RQNHAVSR.js";
|
|
44
44
|
import "./chunk-ZJ7UHBJS.js";
|
|
45
45
|
import "./chunk-ZRAU6T47.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-2QZTQEW4.js";
|
|
47
47
|
import "./chunk-523DITKR.js";
|
|
48
48
|
import "./chunk-YYLHWIW6.js";
|
|
49
49
|
import "./chunk-6O4IK4V2.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-4B4DAAFV.js";
|
|
51
51
|
import "./chunk-Z4CSIXYP.js";
|
|
52
52
|
import "./chunk-5RGU3J7P.js";
|
|
53
53
|
import "./chunk-4LCOCOR5.js";
|
|
@@ -8,17 +8,18 @@ import {
|
|
|
8
8
|
resolveRunSettlementNote,
|
|
9
9
|
resolveWorkflowReference,
|
|
10
10
|
runAgentRunCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4RTK7EHT.js";
|
|
12
12
|
import "./chunk-VJVNU77E.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAgentRunArgs
|
|
15
15
|
} from "./chunk-V7E4PXQD.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-LYS4T7MY.js";
|
|
17
17
|
import "./chunk-O26PCYLS.js";
|
|
18
18
|
import "./chunk-YUNJN43V.js";
|
|
19
19
|
import "./chunk-62IL3KQV.js";
|
|
20
20
|
import "./chunk-CTUQJVQM.js";
|
|
21
21
|
import "./chunk-VIWDGTDA.js";
|
|
22
|
+
import "./chunk-TY3TIUJK.js";
|
|
22
23
|
import "./chunk-ESHYE7WU.js";
|
|
23
24
|
import "./chunk-EADNWBAZ.js";
|
|
24
25
|
import "./chunk-M3LRSBOX.js";
|
|
@@ -35,9 +36,9 @@ import "./chunk-LTRXGFMS.js";
|
|
|
35
36
|
import "./chunk-O2OWEFII.js";
|
|
36
37
|
import "./chunk-ATNTHIZI.js";
|
|
37
38
|
import "./chunk-JEXVIMYZ.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-6RDFAKG7.js";
|
|
39
40
|
import "./chunk-HS7MLR74.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-HZH7RULB.js";
|
|
41
42
|
import "./chunk-NF64D32W.js";
|
|
42
43
|
import "./chunk-5B7XS6UO.js";
|
|
43
44
|
import "./chunk-5UTFL4QJ.js";
|
|
@@ -45,24 +46,24 @@ import "./chunk-3L2WKC3W.js";
|
|
|
45
46
|
import "./chunk-KQHGZWSV.js";
|
|
46
47
|
import "./chunk-N4G4PKQ6.js";
|
|
47
48
|
import "./chunk-I3QNET24.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-K5UOP7AI.js";
|
|
49
50
|
import "./chunk-CPUFH46E.js";
|
|
50
51
|
import "./chunk-NUHHBEJC.js";
|
|
51
52
|
import "./chunk-63W5N6P3.js";
|
|
52
53
|
import "./chunk-VF4K2QE6.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-WIU4KIBL.js";
|
|
54
55
|
import "./chunk-DSSTTEKI.js";
|
|
55
56
|
import "./chunk-DCLMZ5TX.js";
|
|
56
57
|
import "./chunk-UQNS32WZ.js";
|
|
57
58
|
import "./chunk-MEYIRKDN.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-RQNHAVSR.js";
|
|
59
60
|
import "./chunk-ZJ7UHBJS.js";
|
|
60
61
|
import "./chunk-ZRAU6T47.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-2QZTQEW4.js";
|
|
62
63
|
import "./chunk-523DITKR.js";
|
|
63
64
|
import "./chunk-YYLHWIW6.js";
|
|
64
65
|
import "./chunk-6O4IK4V2.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-4B4DAAFV.js";
|
|
66
67
|
import "./chunk-Z4CSIXYP.js";
|
|
67
68
|
import "./chunk-5RGU3J7P.js";
|
|
68
69
|
import "./chunk-4LCOCOR5.js";
|
|
@@ -47,7 +47,8 @@ import {
|
|
|
47
47
|
} from "./chunk-O26PCYLS.js";
|
|
48
48
|
import {
|
|
49
49
|
defaultOpenBrowser
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-OTEMQQZI.js";
|
|
51
|
+
import "./chunk-TY3TIUJK.js";
|
|
51
52
|
import "./chunk-ESHYE7WU.js";
|
|
52
53
|
import {
|
|
53
54
|
extractGoogleValidationLink
|
|
@@ -90,6 +91,7 @@ import {
|
|
|
90
91
|
asOptionalFiniteNumber
|
|
91
92
|
} from "./chunk-WWC7I6TA.js";
|
|
92
93
|
import "./chunk-QSJ3HFEF.js";
|
|
94
|
+
import "./chunk-OW765XBU.js";
|
|
93
95
|
import {
|
|
94
96
|
isRecord
|
|
95
97
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -7,7 +7,8 @@ import {
|
|
|
7
7
|
runLogoutCommand,
|
|
8
8
|
runWhoamiCommand,
|
|
9
9
|
saveTokenLogin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OTEMQQZI.js";
|
|
11
|
+
import "./chunk-TY3TIUJK.js";
|
|
11
12
|
import "./chunk-ESHYE7WU.js";
|
|
12
13
|
import "./chunk-ZOVKKMF6.js";
|
|
13
14
|
import "./chunk-GLKOYSRU.js";
|
|
@@ -17,6 +18,7 @@ import "./chunk-OLZBQWZU.js";
|
|
|
17
18
|
import "./chunk-TNIX77YM.js";
|
|
18
19
|
import "./chunk-3AH7LNUB.js";
|
|
19
20
|
import "./chunk-WWC7I6TA.js";
|
|
21
|
+
import "./chunk-OW765XBU.js";
|
|
20
22
|
import "./chunk-3EUW3WEO.js";
|
|
21
23
|
import "./chunk-U6VC4MU4.js";
|
|
22
24
|
import "./chunk-LCBAMY2M.js";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./chunk-YPREESF4.js";
|
|
5
5
|
import {
|
|
6
6
|
handleSendMessage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2QZTQEW4.js";
|
|
8
8
|
import "./chunk-523DITKR.js";
|
|
9
9
|
import "./chunk-YYLHWIW6.js";
|
|
10
10
|
import "./chunk-6O4IK4V2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-4B4DAAFV.js";
|
|
12
12
|
import "./chunk-Z4CSIXYP.js";
|
|
13
13
|
import "./chunk-5RGU3J7P.js";
|
|
14
14
|
import "./chunk-4LCOCOR5.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-6O4IK4V2.js";
|
|
12
12
|
import {
|
|
13
13
|
runLlm
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4B4DAAFV.js";
|
|
15
15
|
import {
|
|
16
16
|
cleanupCliSessionForDialog
|
|
17
17
|
} from "./chunk-Z4CSIXYP.js";
|
|
@@ -10330,7 +10330,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
10330
10330
|
runtimeOptions: args.runtimeOptions
|
|
10331
10331
|
});
|
|
10332
10332
|
if (agentKeyToUse) {
|
|
10333
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
10333
|
+
const { streamAgentChatTurn } = await import("./agentSlice-FZ7GGQM2.js");
|
|
10334
10334
|
await dispatch(
|
|
10335
10335
|
streamAgentChatTurn({
|
|
10336
10336
|
agentKey: agentKeyToUse,
|
|
@@ -13075,7 +13075,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13075
13075
|
}
|
|
13076
13076
|
if (isCurrentDialog) {
|
|
13077
13077
|
await thunkApi.dispatch(resetMsgs());
|
|
13078
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13078
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-I6GN3I5B.js");
|
|
13079
13079
|
dispatch(clearPendingAttachments2());
|
|
13080
13080
|
}
|
|
13081
13081
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13083,15 +13083,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13083
13083
|
|
|
13084
13084
|
// packages/chat/dialog/dialogSlice.ts
|
|
13085
13085
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13086
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13086
|
+
const { createDialogAction } = await import("./createDialogAction-JTKMM4VG.js");
|
|
13087
13087
|
return createDialogAction(args, thunkApi);
|
|
13088
13088
|
};
|
|
13089
13089
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13090
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13090
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-6EES5YQO.js");
|
|
13091
13091
|
return createAgentAutomationAction(args, thunkApi);
|
|
13092
13092
|
};
|
|
13093
13093
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13094
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13094
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-E25IG3J3.js");
|
|
13095
13095
|
return updateDialogTitleAction(args, thunkApi);
|
|
13096
13096
|
};
|
|
13097
13097
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13115,7 +13115,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13115
13115
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13116
13116
|
};
|
|
13117
13117
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13118
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13118
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-BAUWHASB.js");
|
|
13119
13119
|
return handleSendMessageAction(args, thunkApi);
|
|
13120
13120
|
};
|
|
13121
13121
|
function clearDialogState() {
|
|
@@ -13128,7 +13128,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13128
13128
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13129
13129
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13130
13130
|
try {
|
|
13131
|
-
const { createDocState } = await import("./docStore-
|
|
13131
|
+
const { createDocState } = await import("./docStore-B2ZM4PCR.js");
|
|
13132
13132
|
const pageKey = await createDocState(
|
|
13133
13133
|
{ slateData, title },
|
|
13134
13134
|
{ dispatch, getState }
|
|
@@ -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-2A5AFVBG.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-XDPBFXV2.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-BBH3QDEZ.js");
|
|
345
345
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
346
346
|
}),
|
|
347
347
|
/**
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HZH7RULB.js";
|
|
11
11
|
import {
|
|
12
12
|
isGatewayHttpStatus
|
|
13
13
|
} from "./chunk-NF64D32W.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
} from "./chunk-MEYIRKDN.js";
|
|
30
30
|
import {
|
|
31
31
|
fetchAndCacheMessages
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2QZTQEW4.js";
|
|
33
33
|
import {
|
|
34
34
|
shouldUseServerProxy
|
|
35
35
|
} from "./chunk-YYLHWIW6.js";
|
|
36
36
|
import {
|
|
37
37
|
fetchServerSyncedCredential
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-4B4DAAFV.js";
|
|
39
39
|
import {
|
|
40
40
|
buildSkillGuidancePromptBlock,
|
|
41
41
|
extractRuntimePageCapabilities,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
t,
|
|
29
29
|
toolLabel,
|
|
30
30
|
toolLabelVariants
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LYS4T7MY.js";
|
|
32
32
|
import {
|
|
33
33
|
clearCredentialAvailability,
|
|
34
34
|
readCredentialEntry,
|
|
@@ -37,6 +37,20 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
getReadableCliDb
|
|
39
39
|
} from "./chunk-CTUQJVQM.js";
|
|
40
|
+
import {
|
|
41
|
+
_appendEntityBatch,
|
|
42
|
+
_appendEvidenceBatch,
|
|
43
|
+
_appendRelationBatch,
|
|
44
|
+
_appendRetiredStateBatch,
|
|
45
|
+
_appendStateBatch,
|
|
46
|
+
getMemoryEntityVNext,
|
|
47
|
+
getMemoryEvidenceVNext,
|
|
48
|
+
getMemoryEvidenceVNextStrict,
|
|
49
|
+
getMemoryStateVNext,
|
|
50
|
+
listMemoryStatesForEntityVNext,
|
|
51
|
+
loadMemoryVNextCatalog,
|
|
52
|
+
putMemoryEvidenceVNext
|
|
53
|
+
} from "./chunk-TY3TIUJK.js";
|
|
40
54
|
import {
|
|
41
55
|
resolveMachineId
|
|
42
56
|
} from "./chunk-ESHYE7WU.js";
|
|
@@ -75,7 +89,7 @@ import {
|
|
|
75
89
|
} from "./chunk-LTRXGFMS.js";
|
|
76
90
|
import {
|
|
77
91
|
formatAgentListCard
|
|
78
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-HZH7RULB.js";
|
|
79
93
|
import {
|
|
80
94
|
isGatewayHttpStatus
|
|
81
95
|
} from "./chunk-NF64D32W.js";
|
|
@@ -96,11 +110,11 @@ import {
|
|
|
96
110
|
chooseMemoryOwners,
|
|
97
111
|
loadMemoryCandidatesFromDb,
|
|
98
112
|
resolveAgentMemoryPolicy
|
|
99
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-K5UOP7AI.js";
|
|
100
114
|
import {
|
|
101
115
|
API_REPORTED_COST_MULTIPLIER,
|
|
102
116
|
parseUiAskChoiceContent
|
|
103
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-2QZTQEW4.js";
|
|
104
118
|
import {
|
|
105
119
|
isOAuthApiKeyRef
|
|
106
120
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -188,9 +202,6 @@ import {
|
|
|
188
202
|
import {
|
|
189
203
|
asTrimmedLowercaseString
|
|
190
204
|
} from "./chunk-QSJ3HFEF.js";
|
|
191
|
-
import {
|
|
192
|
-
isLevelNotFoundError
|
|
193
|
-
} from "./chunk-OW765XBU.js";
|
|
194
205
|
import {
|
|
195
206
|
BUILTIN_NOLO_AGENT_KEY,
|
|
196
207
|
BUILTIN_NOLO_AGENT_NAME,
|
|
@@ -12476,77 +12487,6 @@ var rankMemoryCandidates = (items, query, context) => {
|
|
|
12476
12487
|
});
|
|
12477
12488
|
};
|
|
12478
12489
|
|
|
12479
|
-
// packages/ai/memory/vnext/store.ts
|
|
12480
|
-
var enc = (value) => encodeURIComponent(value).replace(/-/g, "%2D");
|
|
12481
|
-
var rangeOf = (prefix) => ({ gte: prefix, lte: `${prefix}\uFFFF` });
|
|
12482
|
-
var entityKey = (ownerId, id) => `mem2-e-${enc(ownerId)}-${enc(id)}`;
|
|
12483
|
-
var entityOwnerPrefix = (ownerId) => `mem2-e-${enc(ownerId)}-`;
|
|
12484
|
-
var stateKey = (ownerId, id) => `mem2-s-${enc(ownerId)}-${enc(id)}`;
|
|
12485
|
-
var stateEntityIndexKey = (ownerId, entityId, stateId) => `mem2-si-${enc(ownerId)}-${enc(entityId)}-${enc(stateId)}`;
|
|
12486
|
-
var stateEntityIndexPrefix = (ownerId, entityId) => `mem2-si-${enc(ownerId)}-${enc(entityId)}-`;
|
|
12487
|
-
var evidenceKey = (ownerId, id) => `mem2-v-${enc(ownerId)}-${enc(id)}`;
|
|
12488
|
-
var relationKey = (ownerId, id) => `mem2-r-${enc(ownerId)}-${enc(id)}`;
|
|
12489
|
-
var relationFromIndexKey = (ownerId, from, relationId) => `mem2-rf-${enc(ownerId)}-${enc(from)}-${enc(relationId)}`;
|
|
12490
|
-
var relationToIndexKey = (ownerId, to, relationId) => `mem2-rt-${enc(ownerId)}-${enc(to)}-${enc(relationId)}`;
|
|
12491
|
-
var readIndexed = async (db, prefix) => {
|
|
12492
|
-
const refs = [];
|
|
12493
|
-
for await (const [, value] of db.iterator({ ...rangeOf(prefix), reverse: false })) {
|
|
12494
|
-
if (typeof value?.key === "string") refs.push(value.key);
|
|
12495
|
-
}
|
|
12496
|
-
const rows = await Promise.all(refs.map((key) => db.get(key).catch(() => null)));
|
|
12497
|
-
return rows.filter((row) => !!row);
|
|
12498
|
-
};
|
|
12499
|
-
var getMemoryEntityVNext = async (db, ownerId, entityId) => db.get(entityKey(ownerId, entityId)).catch(() => null);
|
|
12500
|
-
var listMemoryEntitiesVNext = async (db, ownerId) => {
|
|
12501
|
-
const rows = [];
|
|
12502
|
-
for await (const [, value] of db.iterator({
|
|
12503
|
-
...rangeOf(entityOwnerPrefix(ownerId)),
|
|
12504
|
-
reverse: false
|
|
12505
|
-
})) {
|
|
12506
|
-
if (value) rows.push(value);
|
|
12507
|
-
}
|
|
12508
|
-
return rows;
|
|
12509
|
-
};
|
|
12510
|
-
var loadMemoryVNextCatalog = async (db, ownerId) => {
|
|
12511
|
-
const entities = await listMemoryEntitiesVNext(db, ownerId);
|
|
12512
|
-
const states = (await Promise.all(entities.map((entity) => listMemoryStatesForEntityVNext(db, ownerId, entity.id)))).flat();
|
|
12513
|
-
return { entities, states };
|
|
12514
|
-
};
|
|
12515
|
-
var getMemoryStateVNext = async (db, ownerId, stateId) => db.get(stateKey(ownerId, stateId)).catch(() => null);
|
|
12516
|
-
var listMemoryStatesForEntityVNext = (db, ownerId, entityId) => readIndexed(db, stateEntityIndexPrefix(ownerId, entityId));
|
|
12517
|
-
var putMemoryEvidenceVNext = async (db, evidence) => {
|
|
12518
|
-
await db.put(evidenceKey(evidence.ownerId, evidence.id), evidence);
|
|
12519
|
-
};
|
|
12520
|
-
var getMemoryEvidenceVNext = async (db, ownerId, evidenceId) => db.get(evidenceKey(ownerId, evidenceId)).catch(() => null);
|
|
12521
|
-
var getMemoryEvidenceVNextStrict = async (db, ownerId, evidenceId) => {
|
|
12522
|
-
try {
|
|
12523
|
-
return await db.get(evidenceKey(ownerId, evidenceId));
|
|
12524
|
-
} catch (error) {
|
|
12525
|
-
if (isLevelNotFoundError(error)) return null;
|
|
12526
|
-
throw error;
|
|
12527
|
-
}
|
|
12528
|
-
};
|
|
12529
|
-
var _appendEntityBatch = (batch, entity) => {
|
|
12530
|
-
batch.put(entityKey(entity.ownerId, entity.id), entity);
|
|
12531
|
-
};
|
|
12532
|
-
var _appendEvidenceBatch = (batch, evidence) => {
|
|
12533
|
-
batch.put(evidenceKey(evidence.ownerId, evidence.id), evidence);
|
|
12534
|
-
};
|
|
12535
|
-
var _appendStateBatch = (batch, state2) => {
|
|
12536
|
-
const key = stateKey(state2.ownerId, state2.id);
|
|
12537
|
-
batch.put(key, state2);
|
|
12538
|
-
batch.put(stateEntityIndexKey(state2.ownerId, state2.entityId, state2.id), { key });
|
|
12539
|
-
};
|
|
12540
|
-
var _appendRetiredStateBatch = (batch, state2) => {
|
|
12541
|
-
batch.put(stateKey(state2.ownerId, state2.id), state2);
|
|
12542
|
-
};
|
|
12543
|
-
var _appendRelationBatch = (batch, relation) => {
|
|
12544
|
-
const key = relationKey(relation.ownerId, relation.id);
|
|
12545
|
-
batch.put(key, relation);
|
|
12546
|
-
batch.put(relationFromIndexKey(relation.ownerId, relation.from, relation.id), { key });
|
|
12547
|
-
batch.put(relationToIndexKey(relation.ownerId, relation.to, relation.id), { key });
|
|
12548
|
-
};
|
|
12549
|
-
|
|
12550
12490
|
// packages/ai/memory/vnext/recall.ts
|
|
12551
12491
|
var MAX_RECALL_REFS = 6;
|
|
12552
12492
|
var stripFence = (raw) => {
|
|
@@ -13697,9 +13637,9 @@ async function resolvePureVNextRuntime(input) {
|
|
|
13697
13637
|
});
|
|
13698
13638
|
const entityById = new Map(catalog.entities.map((e) => [e.id, e]));
|
|
13699
13639
|
for (const hit of hits) {
|
|
13700
|
-
const
|
|
13701
|
-
if (seenStateKeys.has(
|
|
13702
|
-
seenStateKeys.add(
|
|
13640
|
+
const stateKey = `${hit.state.ownerId}\0${hit.state.id}`;
|
|
13641
|
+
if (seenStateKeys.has(stateKey)) continue;
|
|
13642
|
+
seenStateKeys.add(stateKey);
|
|
13703
13643
|
selectedItems.push(
|
|
13704
13644
|
buildSynthesizedStateItem(hit.state, entityById.get(hit.state.entityId), owner.ownerType, owner.ownerId)
|
|
13705
13645
|
);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6RDFAKG7.js";
|
|
9
9
|
import {
|
|
10
10
|
parseApiError
|
|
11
11
|
} from "./chunk-OCZKATRC.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseToolCallArguments,
|
|
16
16
|
performFetchRequest,
|
|
17
17
|
sanitizeOutboundMessages
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4MPGAOXS.js";
|
|
19
19
|
import {
|
|
20
20
|
createSSEParser,
|
|
21
21
|
createToolRunId,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
toolRunSetPending,
|
|
27
27
|
toolRunStarted,
|
|
28
28
|
toolRunSucceeded
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HZH7RULB.js";
|
|
30
30
|
import {
|
|
31
31
|
getCurrentSpaceId
|
|
32
32
|
} from "./chunk-ZJ7UHBJS.js";
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
messageStreamEnd,
|
|
36
36
|
messageStreaming,
|
|
37
37
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2QZTQEW4.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-4B4DAAFV.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|