@ai-setting/roy-agent-core 1.4.15 → 1.4.17
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/dist/config/index.js +3 -3
- package/dist/env/agent/index.js +7 -7
- package/dist/env/commands/index.js +3 -3
- package/dist/env/debug/index.js +3 -3
- package/dist/env/hook/index.js +1 -1
- package/dist/env/index.js +24 -24
- package/dist/env/llm/index.js +4 -4
- package/dist/env/log-trace/index.js +5 -5
- package/dist/env/mcp/index.js +4 -4
- package/dist/env/memory/index.js +5 -5
- package/dist/env/prompt/index.js +3 -3
- package/dist/env/session/index.js +6 -6
- package/dist/env/skill/index.js +3 -3
- package/dist/env/task/delegate/index.js +2 -2
- package/dist/env/task/index.js +4 -4
- package/dist/env/tool/index.js +3 -3
- package/dist/env/workflow/index.js +17 -17
- package/dist/index.js +88 -88
- package/dist/shared/@ai-setting/{roy-agent-core-4rqmfr7t.js → roy-agent-core-2d2wrg9d.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-re1wjfw7.js → roy-agent-core-41aj6570.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-9qwp5qkz.js → roy-agent-core-41yz5562.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-cd00w5mb.js → roy-agent-core-6y0thd5b.js} +9 -9
- package/dist/shared/@ai-setting/{roy-agent-core-561b1c4p.js → roy-agent-core-72zpazpc.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-7rewcey6.js → roy-agent-core-8a96qnjv.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-jj79gszx.js → roy-agent-core-dgs8d5ym.js} +10 -10
- package/dist/shared/@ai-setting/{roy-agent-core-gmnkza34.js → roy-agent-core-gjq1yk68.js} +7 -1
- package/dist/shared/@ai-setting/{roy-agent-core-hz7rr4yx.js → roy-agent-core-j8q93v21.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-5xf65pz6.js → roy-agent-core-jemxgvwe.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-rbetrphj.js → roy-agent-core-kkbwepqb.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-7r85t0qn.js → roy-agent-core-m61m1vqf.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-4arba14a.js → roy-agent-core-n4cqe3g8.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-pzsg9pvf.js → roy-agent-core-nezz92p3.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-cgs0j60t.js → roy-agent-core-p4xv133t.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-w78syn7w.js → roy-agent-core-t2nc5acr.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-anwsxdds.js → roy-agent-core-vn2bc59q.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-mwwk6req.js → roy-agent-core-zqjdy75r.js} +13 -4
- package/package.json +1 -1
package/dist/config/index.js
CHANGED
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
parseJSONCWithProtocols,
|
|
11
11
|
substituteEnvVars,
|
|
12
12
|
substituteProtocolRefs
|
|
13
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
13
|
+
} from "../shared/@ai-setting/roy-agent-core-vn2bc59q.js";
|
|
14
14
|
import"../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
15
15
|
import"../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
16
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
16
|
+
import"../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
17
17
|
import"../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
18
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
import"../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
19
19
|
import"../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
20
20
|
export {
|
|
21
21
|
substituteProtocolRefs,
|
package/dist/env/agent/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentComponent,
|
|
3
3
|
AgentComponentConfigSchema
|
|
4
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
5
|
-
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
6
|
-
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
4
|
+
} from "../../shared/@ai-setting/roy-agent-core-dgs8d5ym.js";
|
|
7
5
|
import {
|
|
8
6
|
SummaryAgent
|
|
9
7
|
} from "../../shared/@ai-setting/roy-agent-core-j3bbr2n0.js";
|
|
10
|
-
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
11
|
-
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
12
|
-
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
13
|
-
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
14
8
|
import"../../shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
9
|
+
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
15
11
|
import"../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
12
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
14
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
16
16
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
17
17
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
18
18
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandsComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-m61m1vqf.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
5
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
6
6
|
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
7
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
8
8
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
10
10
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
package/dist/env/debug/index.js
CHANGED
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
RegexParser,
|
|
5
5
|
SpanBuilder,
|
|
6
6
|
SpanDbReader
|
|
7
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
7
|
+
} from "../../shared/@ai-setting/roy-agent-core-8a96qnjv.js";
|
|
8
8
|
import {
|
|
9
9
|
ReplFormatter,
|
|
10
10
|
TraceFormatter,
|
|
11
11
|
TreeFormatter
|
|
12
12
|
} from "../../shared/@ai-setting/roy-agent-core-rvv6ydff.js";
|
|
13
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
14
14
|
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
15
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
16
16
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
17
17
|
export {
|
|
18
18
|
TreeFormatter,
|
package/dist/env/hook/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
executeLLMHook,
|
|
13
13
|
executeToolHook,
|
|
14
14
|
globalHookManager
|
|
15
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
15
|
+
} from "../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
16
16
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
17
17
|
export {
|
|
18
18
|
globalHookManager,
|
package/dist/env/index.js
CHANGED
|
@@ -5,56 +5,56 @@ import {
|
|
|
5
5
|
getDefaultConfigForType,
|
|
6
6
|
isValidEventSourceType,
|
|
7
7
|
validateEventSourceConfig
|
|
8
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../shared/@ai-setting/roy-agent-core-41yz5562.js";
|
|
9
|
+
import {
|
|
10
|
+
McpComponent
|
|
11
|
+
} from "../shared/@ai-setting/roy-agent-core-41aj6570.js";
|
|
12
|
+
import"../shared/@ai-setting/roy-agent-core-6a72jfdy.js";
|
|
9
13
|
import {
|
|
10
14
|
XDG_PATHS,
|
|
11
15
|
getXDGPath,
|
|
12
16
|
getXDGPaths
|
|
13
17
|
} from "../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
18
|
+
import {
|
|
19
|
+
TaskComponent
|
|
20
|
+
} from "../shared/@ai-setting/roy-agent-core-j8q93v21.js";
|
|
21
|
+
import"../shared/@ai-setting/roy-agent-core-2kg2wma8.js";
|
|
22
|
+
import"../shared/@ai-setting/roy-agent-core-dbsk841j.js";
|
|
23
|
+
import"../shared/@ai-setting/roy-agent-core-t94ktchq.js";
|
|
24
|
+
import"../shared/@ai-setting/roy-agent-core-t2nc5acr.js";
|
|
25
|
+
import"../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
14
26
|
import {
|
|
15
27
|
WorkflowComponent
|
|
16
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
28
|
+
} from "../shared/@ai-setting/roy-agent-core-2d2wrg9d.js";
|
|
17
29
|
import"../shared/@ai-setting/roy-agent-core-0rtxwr28.js";
|
|
18
|
-
import"../shared/@ai-setting/roy-agent-core-4t40mkpv.js";
|
|
19
30
|
import"../shared/@ai-setting/roy-agent-core-0vbdz0x7.js";
|
|
20
|
-
import"../shared/@ai-setting/roy-agent-core-7fgf85wc.js";
|
|
21
|
-
import"../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
22
31
|
import"../shared/@ai-setting/roy-agent-core-fdb6m4e4.js";
|
|
23
32
|
import"../shared/@ai-setting/roy-agent-core-pc9g3962.js";
|
|
24
33
|
import"../shared/@ai-setting/roy-agent-core-3agad0d9.js";
|
|
25
34
|
import"../shared/@ai-setting/roy-agent-core-rzp9kxne.js";
|
|
35
|
+
import"../shared/@ai-setting/roy-agent-core-7fgf85wc.js";
|
|
36
|
+
import"../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
37
|
+
import"../shared/@ai-setting/roy-agent-core-4t40mkpv.js";
|
|
26
38
|
import {
|
|
27
39
|
AgentComponent,
|
|
28
40
|
AgentComponentConfigSchema
|
|
29
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
30
|
-
import"../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
31
|
-
import {
|
|
32
|
-
TaskComponent
|
|
33
|
-
} from "../shared/@ai-setting/roy-agent-core-hz7rr4yx.js";
|
|
34
|
-
import"../shared/@ai-setting/roy-agent-core-2kg2wma8.js";
|
|
35
|
-
import"../shared/@ai-setting/roy-agent-core-dbsk841j.js";
|
|
36
|
-
import"../shared/@ai-setting/roy-agent-core-t94ktchq.js";
|
|
37
|
-
import"../shared/@ai-setting/roy-agent-core-w78syn7w.js";
|
|
38
|
-
import"../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
39
|
-
import {
|
|
40
|
-
McpComponent
|
|
41
|
-
} from "../shared/@ai-setting/roy-agent-core-re1wjfw7.js";
|
|
42
|
-
import"../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
43
|
-
import"../shared/@ai-setting/roy-agent-core-6a72jfdy.js";
|
|
41
|
+
} from "../shared/@ai-setting/roy-agent-core-dgs8d5ym.js";
|
|
44
42
|
import"../shared/@ai-setting/roy-agent-core-j3bbr2n0.js";
|
|
43
|
+
import"../shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
44
|
+
import"../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
45
|
+
import"../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
46
|
+
import"../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
45
47
|
import"../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
46
48
|
import {
|
|
47
49
|
BaseComponent
|
|
48
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
50
|
+
} from "../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
49
51
|
import {
|
|
50
52
|
createHook,
|
|
51
53
|
createPriorityHook
|
|
52
54
|
} from "../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
53
55
|
import {
|
|
54
56
|
HookManager
|
|
55
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
56
|
-
import"../shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
57
|
-
import"../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
57
|
+
} from "../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
58
58
|
import"../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
59
59
|
import"../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
60
60
|
import"../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
package/dist/env/llm/index.js
CHANGED
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
invoke,
|
|
13
13
|
invokeNonStream,
|
|
14
14
|
parseModelString
|
|
15
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
15
|
+
} from "../../shared/@ai-setting/roy-agent-core-jemxgvwe.js";
|
|
16
16
|
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
17
18
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
18
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
19
20
|
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
20
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
21
|
-
import"../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
22
22
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
23
23
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
24
24
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
injectToEnv,
|
|
8
8
|
injectToEnvFromCarrier,
|
|
9
9
|
injectToEnvWithContext
|
|
10
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
11
|
-
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
12
|
-
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
13
|
-
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
14
|
-
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
10
|
+
} from "../../shared/@ai-setting/roy-agent-core-n4cqe3g8.js";
|
|
15
11
|
import {
|
|
16
12
|
Traced,
|
|
17
13
|
TracedAs,
|
|
18
14
|
TracedLightweight,
|
|
19
15
|
wrapFunction
|
|
20
16
|
} from "../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
getLogDir,
|
package/dist/env/mcp/index.js
CHANGED
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
McpServerLocalConfigSchema,
|
|
9
9
|
McpServerRemoteConfigSchema,
|
|
10
10
|
getMcpPathPriority
|
|
11
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
12
|
-
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
11
|
+
} from "../../shared/@ai-setting/roy-agent-core-41aj6570.js";
|
|
13
12
|
import {
|
|
14
13
|
adaptMcpTool,
|
|
15
14
|
convertInputSchemaToZod,
|
|
16
15
|
createMcpToolsDescription
|
|
17
16
|
} from "../../shared/@ai-setting/roy-agent-core-6a72jfdy.js";
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
18
18
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
19
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
21
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
22
22
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
23
23
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
24
24
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
package/dist/env/memory/index.js
CHANGED
|
@@ -3,7 +3,11 @@ import {
|
|
|
3
3
|
MemoryComponent,
|
|
4
4
|
SOURCE_PRIORITY,
|
|
5
5
|
getSourcePriority
|
|
6
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../shared/@ai-setting/roy-agent-core-nezz92p3.js";
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
8
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
9
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
7
11
|
import {
|
|
8
12
|
RecallMemorySchema,
|
|
9
13
|
RecordMemorySchema
|
|
@@ -24,10 +28,6 @@ import {
|
|
|
24
28
|
parseMemoryAgentOutput,
|
|
25
29
|
recallMemory
|
|
26
30
|
} from "../../shared/@ai-setting/roy-agent-core-qya7seh6.js";
|
|
27
|
-
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
28
|
-
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
29
|
-
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
30
|
-
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
31
31
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
32
32
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
33
33
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
package/dist/env/prompt/index.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
PromptConfigSchema,
|
|
4
4
|
PromptPathSchema,
|
|
5
5
|
PromptRenderer
|
|
6
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../shared/@ai-setting/roy-agent-core-zqjdy75r.js";
|
|
7
7
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
8
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
10
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
11
11
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
12
12
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
13
13
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-6y0thd5b.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
5
|
-
import"../../shared/@ai-setting/roy-agent-core-j3bbr2n0.js";
|
|
6
|
-
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
7
|
-
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
8
|
-
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
9
|
-
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
10
5
|
import {
|
|
11
6
|
MemorySessionStore
|
|
12
7
|
} from "../../shared/@ai-setting/roy-agent-core-2x0m2p66.js";
|
|
8
|
+
import"../../shared/@ai-setting/roy-agent-core-j3bbr2n0.js";
|
|
13
9
|
import {
|
|
14
10
|
SessionMessageConverter
|
|
15
11
|
} from "../../shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
16
12
|
import"../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
14
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
17
17
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
18
18
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
19
19
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
package/dist/env/skill/index.js
CHANGED
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
getSourcePriority,
|
|
7
7
|
parseFrontmatter,
|
|
8
8
|
parseSkillFile
|
|
9
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
9
|
+
} from "../../shared/@ai-setting/roy-agent-core-72zpazpc.js";
|
|
10
10
|
import {
|
|
11
11
|
SkillToolSchema,
|
|
12
12
|
buildSkillDescription,
|
|
13
13
|
createSkillTool
|
|
14
14
|
} from "../../shared/@ai-setting/roy-agent-core-psvxt4c9.js";
|
|
15
15
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
16
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
17
17
|
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
18
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
19
19
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
21
21
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
TaskEventTypes,
|
|
4
4
|
createDelegateTool,
|
|
5
5
|
createStopTool
|
|
6
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../../shared/@ai-setting/roy-agent-core-t2nc5acr.js";
|
|
7
7
|
import"../../../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
8
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
import"../../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
9
9
|
import"../../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
10
10
|
import"../../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
11
11
|
import"../../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
package/dist/env/task/index.js
CHANGED
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
TaskConfigSchema,
|
|
5
5
|
TaskPriorityEnum,
|
|
6
6
|
TaskStatusEnum
|
|
7
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
7
|
+
} from "../../shared/@ai-setting/roy-agent-core-j8q93v21.js";
|
|
8
8
|
import {
|
|
9
9
|
SQLiteTaskStore
|
|
10
10
|
} from "../../shared/@ai-setting/roy-agent-core-2kg2wma8.js";
|
|
11
11
|
import"../../shared/@ai-setting/roy-agent-core-dbsk841j.js";
|
|
12
12
|
import"../../shared/@ai-setting/roy-agent-core-t94ktchq.js";
|
|
13
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-t2nc5acr.js";
|
|
14
14
|
import"../../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
15
15
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
16
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
17
17
|
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
18
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
19
19
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
21
21
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
package/dist/env/tool/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ToolComponent,
|
|
3
3
|
ToolRegistry,
|
|
4
4
|
ToolValidator
|
|
5
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
} from "../../shared/@ai-setting/roy-agent-core-p4xv133t.js";
|
|
6
6
|
import {
|
|
7
7
|
bashTool,
|
|
8
8
|
echoTool,
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
} from "../../shared/@ai-setting/roy-agent-core-ewrj1c4k.js";
|
|
17
17
|
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
18
18
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
19
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
21
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
22
22
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
23
23
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
24
24
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-2d2wrg9d.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-0rtxwr28.js";
|
|
5
|
-
import"../../shared/@ai-setting/roy-agent-core-4t40mkpv.js";
|
|
6
5
|
import"../../shared/@ai-setting/roy-agent-core-0vbdz0x7.js";
|
|
7
|
-
import {
|
|
8
|
-
Edge,
|
|
9
|
-
NodeAs,
|
|
10
|
-
Workflow,
|
|
11
|
-
WorkflowConverter,
|
|
12
|
-
WorkflowEdges,
|
|
13
|
-
createWorkflowFromClass
|
|
14
|
-
} from "../../shared/@ai-setting/roy-agent-core-7fgf85wc.js";
|
|
15
|
-
import {
|
|
16
|
-
DecoratorNode,
|
|
17
|
-
init_decorator_node
|
|
18
|
-
} from "../../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
19
6
|
import"../../shared/@ai-setting/roy-agent-core-fdb6m4e4.js";
|
|
20
7
|
import"../../shared/@ai-setting/roy-agent-core-pc9g3962.js";
|
|
21
8
|
import"../../shared/@ai-setting/roy-agent-core-3agad0d9.js";
|
|
@@ -61,15 +48,28 @@ import {
|
|
|
61
48
|
parseWorkflowFile,
|
|
62
49
|
parseWorkflowFileSync
|
|
63
50
|
} from "../../shared/@ai-setting/roy-agent-core-rzp9kxne.js";
|
|
51
|
+
import {
|
|
52
|
+
Edge,
|
|
53
|
+
NodeAs,
|
|
54
|
+
Workflow,
|
|
55
|
+
WorkflowConverter,
|
|
56
|
+
WorkflowEdges,
|
|
57
|
+
createWorkflowFromClass
|
|
58
|
+
} from "../../shared/@ai-setting/roy-agent-core-7fgf85wc.js";
|
|
59
|
+
import {
|
|
60
|
+
DecoratorNode,
|
|
61
|
+
init_decorator_node
|
|
62
|
+
} from "../../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
63
|
+
import"../../shared/@ai-setting/roy-agent-core-4t40mkpv.js";
|
|
64
64
|
import {
|
|
65
65
|
AskUserError,
|
|
66
66
|
createNodeInterruptEvent,
|
|
67
67
|
createWorkflowAskUserEvent
|
|
68
68
|
} from "../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
69
|
-
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
70
|
-
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
71
|
-
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
72
69
|
import"../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
70
|
+
import"../../shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
71
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
72
|
+
import"../../shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
73
73
|
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
74
74
|
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
75
75
|
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
package/dist/index.js
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./shared/@ai-setting/roy-agent-core-4arba14a.js";
|
|
5
|
-
import {
|
|
6
|
-
ToolComponent,
|
|
7
|
-
ToolRegistry,
|
|
8
|
-
ToolValidator
|
|
9
|
-
} from "./shared/@ai-setting/roy-agent-core-cgs0j60t.js";
|
|
10
|
-
import {
|
|
11
|
-
bashTool,
|
|
12
|
-
editFileTool,
|
|
13
|
-
getAllBuiltInTools,
|
|
14
|
-
getBuiltInTool,
|
|
15
|
-
globTool,
|
|
16
|
-
grepTool,
|
|
17
|
-
readFileTool,
|
|
18
|
-
writeFileTool
|
|
19
|
-
} from "./shared/@ai-setting/roy-agent-core-ewrj1c4k.js";
|
|
2
|
+
ConfigComponent
|
|
3
|
+
} from "./shared/@ai-setting/roy-agent-core-vn2bc59q.js";
|
|
20
4
|
import {
|
|
21
5
|
PromptComponent,
|
|
22
6
|
getBuiltInPrompt,
|
|
23
7
|
getBuiltInPromptNames
|
|
24
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "./shared/@ai-setting/roy-agent-core-zqjdy75r.js";
|
|
9
|
+
import {
|
|
10
|
+
TaskPlugin,
|
|
11
|
+
TaskTagPlugin
|
|
12
|
+
} from "./shared/@ai-setting/roy-agent-core-12zkpda2.js";
|
|
13
|
+
import {
|
|
14
|
+
DebugComponent
|
|
15
|
+
} from "./shared/@ai-setting/roy-agent-core-8a96qnjv.js";
|
|
16
|
+
import {
|
|
17
|
+
ReplFormatter,
|
|
18
|
+
TraceFormatter,
|
|
19
|
+
TreeFormatter
|
|
20
|
+
} from "./shared/@ai-setting/roy-agent-core-rvv6ydff.js";
|
|
21
|
+
import {
|
|
22
|
+
SessionComponent
|
|
23
|
+
} from "./shared/@ai-setting/roy-agent-core-6y0thd5b.js";
|
|
24
|
+
import"./shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
25
|
+
import {
|
|
26
|
+
MemorySessionStore
|
|
27
|
+
} from "./shared/@ai-setting/roy-agent-core-2x0m2p66.js";
|
|
25
28
|
import {
|
|
26
29
|
LLMComponent,
|
|
27
30
|
LLMConfigSchema,
|
|
@@ -33,54 +36,64 @@ import {
|
|
|
33
36
|
invoke,
|
|
34
37
|
invokeNonStream,
|
|
35
38
|
parseModelString
|
|
36
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
37
|
-
import {
|
|
38
|
-
ConfigComponent
|
|
39
|
-
} from "./shared/@ai-setting/roy-agent-core-anwsxdds.js";
|
|
40
|
-
import {
|
|
41
|
-
MemoryComponent
|
|
42
|
-
} from "./shared/@ai-setting/roy-agent-core-pzsg9pvf.js";
|
|
43
|
-
import"./shared/@ai-setting/roy-agent-core-g1s2h0e5.js";
|
|
44
|
-
import {
|
|
45
|
-
MemoryPlugin,
|
|
46
|
-
createMemoryPlugin
|
|
47
|
-
} from "./shared/@ai-setting/roy-agent-core-qya7seh6.js";
|
|
48
|
-
import {
|
|
49
|
-
CommandsComponent
|
|
50
|
-
} from "./shared/@ai-setting/roy-agent-core-7r85t0qn.js";
|
|
39
|
+
} from "./shared/@ai-setting/roy-agent-core-jemxgvwe.js";
|
|
51
40
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
SkillComponent
|
|
42
|
+
} from "./shared/@ai-setting/roy-agent-core-72zpazpc.js";
|
|
43
|
+
import"./shared/@ai-setting/roy-agent-core-psvxt4c9.js";
|
|
55
44
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
45
|
+
ToolComponent,
|
|
46
|
+
ToolRegistry,
|
|
47
|
+
ToolValidator
|
|
48
|
+
} from "./shared/@ai-setting/roy-agent-core-p4xv133t.js";
|
|
58
49
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
50
|
+
bashTool,
|
|
51
|
+
editFileTool,
|
|
52
|
+
getAllBuiltInTools,
|
|
53
|
+
getBuiltInTool,
|
|
54
|
+
globTool,
|
|
55
|
+
grepTool,
|
|
56
|
+
readFileTool,
|
|
57
|
+
writeFileTool
|
|
58
|
+
} from "./shared/@ai-setting/roy-agent-core-ewrj1c4k.js";
|
|
63
59
|
import {
|
|
64
60
|
BaseEnvironment,
|
|
65
61
|
EventSourceAgentHandler,
|
|
66
62
|
EventSourceComponent,
|
|
67
63
|
generateDescendingId,
|
|
68
64
|
generateId
|
|
69
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
65
|
+
} from "./shared/@ai-setting/roy-agent-core-41yz5562.js";
|
|
66
|
+
import {
|
|
67
|
+
McpComponent
|
|
68
|
+
} from "./shared/@ai-setting/roy-agent-core-41aj6570.js";
|
|
69
|
+
import"./shared/@ai-setting/roy-agent-core-6a72jfdy.js";
|
|
70
70
|
import {
|
|
71
71
|
XDG_PATHS,
|
|
72
72
|
getXDGPath,
|
|
73
73
|
getXDGPaths
|
|
74
74
|
} from "./shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
75
|
+
import {
|
|
76
|
+
TaskComponent
|
|
77
|
+
} from "./shared/@ai-setting/roy-agent-core-j8q93v21.js";
|
|
78
|
+
import"./shared/@ai-setting/roy-agent-core-2kg2wma8.js";
|
|
79
|
+
import"./shared/@ai-setting/roy-agent-core-dbsk841j.js";
|
|
80
|
+
import"./shared/@ai-setting/roy-agent-core-t94ktchq.js";
|
|
81
|
+
import"./shared/@ai-setting/roy-agent-core-t2nc5acr.js";
|
|
82
|
+
import {
|
|
83
|
+
TaskHookPoints
|
|
84
|
+
} from "./shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
75
85
|
import {
|
|
76
86
|
WorkflowComponent
|
|
77
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
87
|
+
} from "./shared/@ai-setting/roy-agent-core-2d2wrg9d.js";
|
|
78
88
|
import {
|
|
79
89
|
init_node_registry_helper,
|
|
80
90
|
registerDecoratorNodeType
|
|
81
91
|
} from "./shared/@ai-setting/roy-agent-core-0rtxwr28.js";
|
|
82
|
-
import"./shared/@ai-setting/roy-agent-core-4t40mkpv.js";
|
|
83
92
|
import"./shared/@ai-setting/roy-agent-core-0vbdz0x7.js";
|
|
93
|
+
import"./shared/@ai-setting/roy-agent-core-fdb6m4e4.js";
|
|
94
|
+
import"./shared/@ai-setting/roy-agent-core-pc9g3962.js";
|
|
95
|
+
import"./shared/@ai-setting/roy-agent-core-3agad0d9.js";
|
|
96
|
+
import"./shared/@ai-setting/roy-agent-core-rzp9kxne.js";
|
|
84
97
|
import {
|
|
85
98
|
Edge,
|
|
86
99
|
NodeAs,
|
|
@@ -89,35 +102,17 @@ import {
|
|
|
89
102
|
createWorkflowFromClass
|
|
90
103
|
} from "./shared/@ai-setting/roy-agent-core-7fgf85wc.js";
|
|
91
104
|
import"./shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
92
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
93
|
-
import
|
|
94
|
-
|
|
95
|
-
|
|
105
|
+
import"./shared/@ai-setting/roy-agent-core-4t40mkpv.js";
|
|
106
|
+
import {
|
|
107
|
+
LogTraceComponent,
|
|
108
|
+
LogTraceConfigSchema
|
|
109
|
+
} from "./shared/@ai-setting/roy-agent-core-n4cqe3g8.js";
|
|
96
110
|
import {
|
|
97
111
|
AgentComponent,
|
|
98
112
|
AgentComponentConfigSchema
|
|
99
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
100
|
-
import
|
|
101
|
-
|
|
102
|
-
init_workflow_hil
|
|
103
|
-
} from "./shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
104
|
-
import {
|
|
105
|
-
TaskComponent
|
|
106
|
-
} from "./shared/@ai-setting/roy-agent-core-hz7rr4yx.js";
|
|
107
|
-
import"./shared/@ai-setting/roy-agent-core-2kg2wma8.js";
|
|
108
|
-
import"./shared/@ai-setting/roy-agent-core-dbsk841j.js";
|
|
109
|
-
import"./shared/@ai-setting/roy-agent-core-t94ktchq.js";
|
|
110
|
-
import"./shared/@ai-setting/roy-agent-core-w78syn7w.js";
|
|
111
|
-
import {
|
|
112
|
-
TaskHookPoints
|
|
113
|
-
} from "./shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
114
|
-
import {
|
|
115
|
-
SkillComponent
|
|
116
|
-
} from "./shared/@ai-setting/roy-agent-core-561b1c4p.js";
|
|
117
|
-
import"./shared/@ai-setting/roy-agent-core-psvxt4c9.js";
|
|
118
|
-
import {
|
|
119
|
-
McpComponent
|
|
120
|
-
} from "./shared/@ai-setting/roy-agent-core-re1wjfw7.js";
|
|
113
|
+
} from "./shared/@ai-setting/roy-agent-core-dgs8d5ym.js";
|
|
114
|
+
import"./shared/@ai-setting/roy-agent-core-j3bbr2n0.js";
|
|
115
|
+
import"./shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
121
116
|
import {
|
|
122
117
|
AgentError,
|
|
123
118
|
ComponentError,
|
|
@@ -129,16 +124,26 @@ import {
|
|
|
129
124
|
getErrorCode,
|
|
130
125
|
isRoyError
|
|
131
126
|
} from "./shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
132
|
-
import"./shared/@ai-setting/roy-agent-core-6a72jfdy.js";
|
|
133
127
|
import {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
import
|
|
128
|
+
AskUserError,
|
|
129
|
+
init_workflow_hil
|
|
130
|
+
} from "./shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
131
|
+
import {
|
|
132
|
+
Traced,
|
|
133
|
+
TracedAs,
|
|
134
|
+
TracedLightweight,
|
|
135
|
+
wrapFunction
|
|
136
|
+
} from "./shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
137
|
+
import {
|
|
138
|
+
CommandsComponent
|
|
139
|
+
} from "./shared/@ai-setting/roy-agent-core-m61m1vqf.js";
|
|
140
|
+
import {
|
|
141
|
+
MemoryComponent
|
|
142
|
+
} from "./shared/@ai-setting/roy-agent-core-nezz92p3.js";
|
|
138
143
|
import"./shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
139
144
|
import {
|
|
140
145
|
BaseComponent
|
|
141
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
146
|
+
} from "./shared/@ai-setting/roy-agent-core-kkbwepqb.js";
|
|
142
147
|
import {
|
|
143
148
|
createHook,
|
|
144
149
|
createPriorityHook
|
|
@@ -146,17 +151,12 @@ import {
|
|
|
146
151
|
import {
|
|
147
152
|
HookManager,
|
|
148
153
|
globalHookManager
|
|
149
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
150
|
-
import
|
|
151
|
-
MemorySessionStore
|
|
152
|
-
} from "./shared/@ai-setting/roy-agent-core-2x0m2p66.js";
|
|
153
|
-
import"./shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
154
|
+
} from "./shared/@ai-setting/roy-agent-core-gjq1yk68.js";
|
|
155
|
+
import"./shared/@ai-setting/roy-agent-core-g1s2h0e5.js";
|
|
154
156
|
import {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
wrapFunction
|
|
159
|
-
} from "./shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
157
|
+
MemoryPlugin,
|
|
158
|
+
createMemoryPlugin
|
|
159
|
+
} from "./shared/@ai-setting/roy-agent-core-qya7seh6.js";
|
|
160
160
|
import {
|
|
161
161
|
createLogger,
|
|
162
162
|
getLogDir,
|
|
@@ -2,9 +2,6 @@ import {
|
|
|
2
2
|
exports_node_registry_helper,
|
|
3
3
|
init_node_registry_helper
|
|
4
4
|
} from "./roy-agent-core-0rtxwr28.js";
|
|
5
|
-
import {
|
|
6
|
-
WorkflowService
|
|
7
|
-
} from "./roy-agent-core-4t40mkpv.js";
|
|
8
5
|
import {
|
|
9
6
|
askUserTool
|
|
10
7
|
} from "./roy-agent-core-0vbdz0x7.js";
|
|
@@ -13,9 +10,12 @@ import {
|
|
|
13
10
|
exports_engine,
|
|
14
11
|
init_engine
|
|
15
12
|
} from "./roy-agent-core-fdb6m4e4.js";
|
|
13
|
+
import {
|
|
14
|
+
WorkflowService
|
|
15
|
+
} from "./roy-agent-core-4t40mkpv.js";
|
|
16
16
|
import {
|
|
17
17
|
BaseComponent
|
|
18
|
-
} from "./roy-agent-core-
|
|
18
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
19
19
|
import {
|
|
20
20
|
createLogger,
|
|
21
21
|
init_logger
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
adaptMcpTool
|
|
3
|
+
} from "./roy-agent-core-6a72jfdy.js";
|
|
1
4
|
import {
|
|
2
5
|
ComponentError,
|
|
3
6
|
ErrorCodes
|
|
4
7
|
} from "./roy-agent-core-ctdhjv68.js";
|
|
5
|
-
import {
|
|
6
|
-
adaptMcpTool
|
|
7
|
-
} from "./roy-agent-core-6a72jfdy.js";
|
|
8
8
|
import {
|
|
9
9
|
toEnvKey
|
|
10
10
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
11
11
|
import {
|
|
12
12
|
BaseComponent
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
14
14
|
import {
|
|
15
15
|
createLogger,
|
|
16
16
|
init_logger
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ContextError,
|
|
3
3
|
ErrorCodes
|
|
4
4
|
} from "./roy-agent-core-ctdhjv68.js";
|
|
5
|
+
import {
|
|
6
|
+
TracedAs,
|
|
7
|
+
init_decorator
|
|
8
|
+
} from "./roy-agent-core-35x0wrtt.js";
|
|
5
9
|
import {
|
|
6
10
|
envKeyToConfigKey
|
|
7
11
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
8
12
|
import {
|
|
9
13
|
BaseComponent
|
|
10
|
-
} from "./roy-agent-core-
|
|
11
|
-
import {
|
|
12
|
-
TracedAs,
|
|
13
|
-
init_decorator
|
|
14
|
-
} from "./roy-agent-core-35x0wrtt.js";
|
|
14
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
15
15
|
import {
|
|
16
16
|
createLogger,
|
|
17
17
|
init_logger
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
matchesQuery,
|
|
4
4
|
parseSearchQuery
|
|
5
5
|
} from "./roy-agent-core-rvxg1wps.js";
|
|
6
|
-
import {
|
|
7
|
-
SummaryAgent
|
|
8
|
-
} from "./roy-agent-core-j3bbr2n0.js";
|
|
9
|
-
import {
|
|
10
|
-
envKeyToConfigKey
|
|
11
|
-
} from "./roy-agent-core-qxhq8ven.js";
|
|
12
|
-
import {
|
|
13
|
-
BaseComponent
|
|
14
|
-
} from "./roy-agent-core-rbetrphj.js";
|
|
15
6
|
import {
|
|
16
7
|
MemorySessionStore,
|
|
17
8
|
SQLiteSessionStore
|
|
18
9
|
} from "./roy-agent-core-2x0m2p66.js";
|
|
10
|
+
import {
|
|
11
|
+
SummaryAgent
|
|
12
|
+
} from "./roy-agent-core-j3bbr2n0.js";
|
|
19
13
|
import {
|
|
20
14
|
TracedAs,
|
|
21
15
|
init_decorator
|
|
22
16
|
} from "./roy-agent-core-35x0wrtt.js";
|
|
17
|
+
import {
|
|
18
|
+
envKeyToConfigKey
|
|
19
|
+
} from "./roy-agent-core-qxhq8ven.js";
|
|
20
|
+
import {
|
|
21
|
+
BaseComponent
|
|
22
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
23
23
|
import {
|
|
24
24
|
createLogger,
|
|
25
25
|
init_logger
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SessionMessageConverter
|
|
3
|
+
} from "./roy-agent-core-e62e2a5a.js";
|
|
4
|
+
import {
|
|
5
|
+
ContextError
|
|
6
|
+
} from "./roy-agent-core-ctdhjv68.js";
|
|
1
7
|
import {
|
|
2
8
|
AskUserError,
|
|
3
9
|
init_workflow_hil
|
|
4
10
|
} from "./roy-agent-core-e25xkv53.js";
|
|
5
11
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
12
|
+
TracedAs,
|
|
13
|
+
init_decorator
|
|
14
|
+
} from "./roy-agent-core-35x0wrtt.js";
|
|
8
15
|
import {
|
|
9
16
|
envKeyToConfigKey
|
|
10
17
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
11
18
|
import {
|
|
12
19
|
BaseComponent
|
|
13
|
-
} from "./roy-agent-core-
|
|
14
|
-
import {
|
|
15
|
-
SessionMessageConverter
|
|
16
|
-
} from "./roy-agent-core-e62e2a5a.js";
|
|
17
|
-
import {
|
|
18
|
-
TracedAs,
|
|
19
|
-
init_decorator
|
|
20
|
-
} from "./roy-agent-core-35x0wrtt.js";
|
|
20
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
init_logger
|
|
@@ -173,7 +173,13 @@ var hookPointAliases = {
|
|
|
173
173
|
"after.tool": "tool:after.execute",
|
|
174
174
|
"llm.before-invoke": "llm:before.invoke",
|
|
175
175
|
"llm.after-invoke": "llm:after.invoke",
|
|
176
|
-
"llm.stream": "llm:on.stream"
|
|
176
|
+
"llm.stream": "llm:on.stream",
|
|
177
|
+
"prompt.before-render": "prompt:before.render",
|
|
178
|
+
"prompt.after-render": "prompt:after.render",
|
|
179
|
+
"prompt:before.render": "prompt.before-render",
|
|
180
|
+
"prompt:after.render": "prompt.after-render",
|
|
181
|
+
"prompt:after-render": "prompt.after-render",
|
|
182
|
+
"prompt:before-render": "prompt.before-render"
|
|
177
183
|
};
|
|
178
184
|
function setupAliasHooks() {
|
|
179
185
|
const originalRegister = globalHookManager.register.bind(globalHookManager);
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
BackgroundTaskManager,
|
|
22
22
|
createDelegateTool,
|
|
23
23
|
createStopTool
|
|
24
|
-
} from "./roy-agent-core-
|
|
24
|
+
} from "./roy-agent-core-t2nc5acr.js";
|
|
25
25
|
import {
|
|
26
26
|
TaskHookPoints
|
|
27
27
|
} from "./roy-agent-core-92z6t4he.js";
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
31
31
|
import {
|
|
32
32
|
BaseComponent
|
|
33
|
-
} from "./roy-agent-core-
|
|
33
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
34
34
|
import {
|
|
35
35
|
globalHookManager
|
|
36
|
-
} from "./roy-agent-core-
|
|
36
|
+
} from "./roy-agent-core-gjq1yk68.js";
|
|
37
37
|
import {
|
|
38
38
|
createLogger,
|
|
39
39
|
init_logger
|
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
ContextError,
|
|
3
3
|
ErrorCodes
|
|
4
4
|
} from "./roy-agent-core-ctdhjv68.js";
|
|
5
|
+
import {
|
|
6
|
+
TracedAs,
|
|
7
|
+
init_decorator
|
|
8
|
+
} from "./roy-agent-core-35x0wrtt.js";
|
|
5
9
|
import {
|
|
6
10
|
envKeyToConfigKey,
|
|
7
11
|
toEnvKey
|
|
8
12
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
9
13
|
import {
|
|
10
14
|
BaseComponent
|
|
11
|
-
} from "./roy-agent-core-
|
|
15
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
12
16
|
import {
|
|
13
17
|
LLMHookPoints,
|
|
14
18
|
globalHookManager
|
|
15
|
-
} from "./roy-agent-core-
|
|
16
|
-
import {
|
|
17
|
-
TracedAs,
|
|
18
|
-
init_decorator
|
|
19
|
-
} from "./roy-agent-core-35x0wrtt.js";
|
|
19
|
+
} from "./roy-agent-core-gjq1yk68.js";
|
|
20
20
|
import {
|
|
21
21
|
createLogger,
|
|
22
22
|
init_logger
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
init_decorator
|
|
3
|
+
} from "./roy-agent-core-35x0wrtt.js";
|
|
1
4
|
import {
|
|
2
5
|
envKeyToConfigKey
|
|
3
6
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
4
7
|
import {
|
|
5
8
|
BaseComponent
|
|
6
|
-
} from "./roy-agent-core-
|
|
7
|
-
import {
|
|
8
|
-
init_decorator
|
|
9
|
-
} from "./roy-agent-core-35x0wrtt.js";
|
|
9
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
10
10
|
import {
|
|
11
11
|
createLogger,
|
|
12
12
|
init_logger,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createMemoryTools
|
|
3
|
-
} from "./roy-agent-core-g1s2h0e5.js";
|
|
4
1
|
import {
|
|
5
2
|
envKeyToConfigKey
|
|
6
3
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
7
4
|
import {
|
|
8
5
|
BaseComponent
|
|
9
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
7
|
+
import {
|
|
8
|
+
createMemoryTools
|
|
9
|
+
} from "./roy-agent-core-g1s2h0e5.js";
|
|
10
10
|
import {
|
|
11
11
|
createLogger,
|
|
12
12
|
init_logger
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
9
9
|
import {
|
|
10
10
|
BaseComponent
|
|
11
|
-
} from "./roy-agent-core-
|
|
11
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
12
12
|
import {
|
|
13
13
|
ToolHookPoints,
|
|
14
14
|
globalHookManager
|
|
15
|
-
} from "./roy-agent-core-
|
|
15
|
+
} from "./roy-agent-core-gjq1yk68.js";
|
|
16
16
|
import {
|
|
17
17
|
createLogger,
|
|
18
18
|
init_logger
|
|
@@ -4,7 +4,13 @@ import {
|
|
|
4
4
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseComponent
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-kkbwepqb.js";
|
|
8
|
+
import {
|
|
9
|
+
createHook
|
|
10
|
+
} from "./roy-agent-core-2dhd60aw.js";
|
|
11
|
+
import {
|
|
12
|
+
globalHookManager
|
|
13
|
+
} from "./roy-agent-core-gjq1yk68.js";
|
|
8
14
|
import {
|
|
9
15
|
createLogger,
|
|
10
16
|
init_logger
|
|
@@ -805,9 +811,9 @@ class PromptComponent extends BaseComponent {
|
|
|
805
811
|
renderedContent: content,
|
|
806
812
|
variables
|
|
807
813
|
};
|
|
808
|
-
await
|
|
814
|
+
await globalHookManager.execute(PromptHookPoints.BEFORE_RENDER, hookContext);
|
|
809
815
|
hookContext.renderedContent = this.renderer.render(hookContext.originalContent, variables);
|
|
810
|
-
await
|
|
816
|
+
await globalHookManager.execute(PromptHookPoints.AFTER_RENDER, hookContext);
|
|
811
817
|
return hookContext.renderedContent;
|
|
812
818
|
}
|
|
813
819
|
extractVariables(content) {
|
|
@@ -900,7 +906,10 @@ class PromptComponent extends BaseComponent {
|
|
|
900
906
|
return files;
|
|
901
907
|
}
|
|
902
908
|
registerPromptHook(hookPoint, name, fn, priority) {
|
|
903
|
-
|
|
909
|
+
globalHookManager.register(hookPoint, createHook({ name, priority }, fn));
|
|
910
|
+
}
|
|
911
|
+
unregisterPromptHook(hookPoint, name) {
|
|
912
|
+
return globalHookManager.unregister(hookPoint, name);
|
|
904
913
|
}
|
|
905
914
|
getHookPoints() {
|
|
906
915
|
return [PromptHookPoints.BEFORE_RENDER, PromptHookPoints.AFTER_RENDER];
|