@ai-setting/roy-agent-core 1.4.13 → 1.4.15
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 +32 -0
- package/dist/env/agent/index.js +24 -0
- package/dist/env/commands/index.js +14 -0
- package/dist/env/debug/formatters/index.js +11 -0
- package/dist/env/debug/index.js +26 -0
- package/dist/env/hook/index.js +29 -0
- package/dist/env/index.js +81 -0
- package/dist/env/llm/index.js +40 -0
- package/dist/env/log-trace/index.js +83 -0
- package/dist/env/mcp/index.js +39 -0
- package/dist/env/mcp/tool/index.js +14 -0
- package/dist/env/memory/built-in/index.js +11 -0
- package/dist/env/memory/index.js +56 -0
- package/dist/env/memory/plugin/index.js +36 -0
- package/dist/env/prompt/index.js +20 -0
- package/dist/env/session/index.js +25 -0
- package/dist/env/session/storage/index.js +18 -0
- package/dist/env/skill/index.js +34 -0
- package/dist/env/skill/tool/index.js +9 -0
- package/dist/env/task/delegate/index.js +18 -0
- package/dist/env/task/hooks/index.js +7 -0
- package/dist/env/task/index.js +30 -0
- package/dist/env/task/plugins/index.js +23 -0
- package/dist/env/task/storage/index.js +14 -0
- package/dist/env/task/tools/index.js +17 -0
- package/dist/env/task/tools/operation/index.js +15 -0
- package/dist/{shared/chunk-1d4rwms4.js → env/tool/built-in/index.js} +4 -4
- package/dist/env/tool/index.js +39 -0
- package/dist/env/workflow/decorators/index.js +27 -0
- package/dist/env/workflow/engine/index.js +28 -0
- package/dist/env/workflow/index.js +132 -0
- package/dist/env/workflow/nodes/index.js +19 -0
- package/dist/env/workflow/service/index.js +13 -0
- package/dist/env/workflow/storage/index.js +27 -0
- package/dist/env/workflow/tools/index.js +159 -0
- package/dist/env/workflow/types/index.js +94 -0
- package/dist/env/workflow/utils/index.js +637 -0
- package/dist/index.js +233 -16386
- package/dist/shared/{chunk-2b5kbhx3.js → @ai-setting/roy-agent-core-0rtxwr28.js} +6 -114
- package/dist/shared/@ai-setting/roy-agent-core-0vbdz0x7.js +36 -0
- package/dist/shared/@ai-setting/roy-agent-core-12zkpda2.js +393 -0
- package/dist/shared/@ai-setting/roy-agent-core-1ce3fqrk.js +117 -0
- package/dist/shared/@ai-setting/roy-agent-core-2dhd60aw.js +11 -0
- package/dist/shared/@ai-setting/roy-agent-core-2kg2wma8.js +620 -0
- package/dist/shared/@ai-setting/roy-agent-core-2x0m2p66.js +851 -0
- package/dist/shared/@ai-setting/roy-agent-core-35x0wrtt.js +172 -0
- package/dist/shared/{chunk-1pf5mfgd.js → @ai-setting/roy-agent-core-37e4tep3.js} +2 -2
- package/dist/shared/@ai-setting/roy-agent-core-3agad0d9.js +603 -0
- package/dist/shared/@ai-setting/roy-agent-core-4arba14a.js +419 -0
- package/dist/shared/@ai-setting/roy-agent-core-4rqmfr7t.js +266 -0
- package/dist/shared/@ai-setting/roy-agent-core-4t40mkpv.js +206 -0
- package/dist/shared/@ai-setting/roy-agent-core-561b1c4p.js +377 -0
- package/dist/shared/@ai-setting/roy-agent-core-5xf65pz6.js +1305 -0
- package/dist/shared/@ai-setting/roy-agent-core-6a72jfdy.js +303 -0
- package/dist/shared/{chunk-1aakcfp1.js → @ai-setting/roy-agent-core-7f303ffd.js} +3 -3
- package/dist/shared/@ai-setting/roy-agent-core-7fgf85wc.js +284 -0
- package/dist/shared/{chunk-t1rh6jtm.js → @ai-setting/roy-agent-core-7n436rb4.js} +7 -12
- package/dist/shared/@ai-setting/roy-agent-core-7r85t0qn.js +492 -0
- package/dist/shared/@ai-setting/roy-agent-core-7rewcey6.js +862 -0
- package/dist/shared/@ai-setting/roy-agent-core-92z6t4he.js +14 -0
- package/dist/shared/@ai-setting/roy-agent-core-9qwp5qkz.js +1387 -0
- package/dist/shared/{chunk-mf5xqbdh.js → @ai-setting/roy-agent-core-9yxb3ty9.js} +3 -2
- package/dist/shared/@ai-setting/roy-agent-core-anwsxdds.js +1205 -0
- package/dist/shared/{chunk-1qwabsm0.js → @ai-setting/roy-agent-core-bncgx3gb.js} +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-cd00w5mb.js +762 -0
- package/dist/shared/@ai-setting/roy-agent-core-cgs0j60t.js +442 -0
- package/dist/shared/@ai-setting/roy-agent-core-ctdhjv68.js +93 -0
- package/dist/shared/@ai-setting/roy-agent-core-dbsk841j.js +286 -0
- package/dist/shared/@ai-setting/roy-agent-core-e25xkv53.js +64 -0
- package/dist/shared/{chunk-yqmx37vm.js → @ai-setting/roy-agent-core-e5jcp24a.js} +2 -2
- package/dist/shared/@ai-setting/roy-agent-core-e62e2a5a.js +204 -0
- package/dist/shared/{chunk-g6j5n3gv.js → @ai-setting/roy-agent-core-ewrj1c4k.js} +2 -2
- package/dist/shared/{chunk-rncy3rtd.js → @ai-setting/roy-agent-core-fdb6m4e4.js} +119 -1113
- package/dist/shared/{chunk-q9j99fsm.js → @ai-setting/roy-agent-core-fv32jaa8.js} +3 -3
- package/dist/shared/@ai-setting/roy-agent-core-g1s2h0e5.js +171 -0
- package/dist/shared/@ai-setting/roy-agent-core-gmnkza34.js +202 -0
- package/dist/shared/@ai-setting/roy-agent-core-hz7rr4yx.js +513 -0
- package/dist/shared/@ai-setting/roy-agent-core-j3bbr2n0.js +378 -0
- package/dist/shared/{chunk-a9qmy3sc.js → @ai-setting/roy-agent-core-j3wc4465.js} +6 -3
- package/dist/shared/@ai-setting/roy-agent-core-jj79gszx.js +1130 -0
- package/dist/shared/@ai-setting/roy-agent-core-mwwk6req.js +913 -0
- package/dist/shared/{chunk-0q6s9wm6.js → @ai-setting/roy-agent-core-pc9g3962.js} +6 -50
- package/dist/shared/@ai-setting/roy-agent-core-psvxt4c9.js +60 -0
- package/dist/shared/@ai-setting/roy-agent-core-pzsg9pvf.js +393 -0
- package/dist/shared/{chunk-91bas8w5.js → @ai-setting/roy-agent-core-q779wnwm.js} +5 -5
- package/dist/shared/{chunk-25x2pdtp.js → @ai-setting/roy-agent-core-qw0ebh1d.js} +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-qxhq8ven.js +57 -0
- package/dist/shared/@ai-setting/roy-agent-core-qxnbvgwe.js +66 -0
- package/dist/shared/@ai-setting/roy-agent-core-qya7seh6.js +408 -0
- package/dist/shared/@ai-setting/roy-agent-core-rbetrphj.js +97 -0
- package/dist/shared/@ai-setting/roy-agent-core-re1wjfw7.js +587 -0
- package/dist/shared/@ai-setting/roy-agent-core-rft3fmp0.js +14 -0
- package/dist/shared/@ai-setting/roy-agent-core-rvv6ydff.js +584 -0
- package/dist/shared/{chunk-ze20rksg.js → @ai-setting/roy-agent-core-rvxg1wps.js} +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-rzp9kxne.js +341 -0
- package/dist/shared/@ai-setting/roy-agent-core-t94ktchq.js +213 -0
- package/dist/shared/@ai-setting/roy-agent-core-w78syn7w.js +788 -0
- package/dist/shared/{chunk-9qzt1v1p.js → @ai-setting/roy-agent-core-z2t8hse8.js} +3 -2
- package/package.json +8 -7
- package/dist/index.d.ts +0 -7825
- package/dist/shared/chunk-hs7tbmje.js +0 -24
- /package/dist/shared/{chunk-wbkh7wat.js → @ai-setting/roy-agent-core-fs0mn2jk.js} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ConfigComponent,
|
|
3
|
+
ConfigFileNotFoundError,
|
|
4
|
+
ConfigSourceNotFoundError,
|
|
5
|
+
EnvSource,
|
|
6
|
+
FileSource,
|
|
7
|
+
MemorySource,
|
|
8
|
+
parseJSONC,
|
|
9
|
+
parseJSONCWithEnv,
|
|
10
|
+
parseJSONCWithProtocols,
|
|
11
|
+
substituteEnvVars,
|
|
12
|
+
substituteProtocolRefs
|
|
13
|
+
} from "../shared/@ai-setting/roy-agent-core-anwsxdds.js";
|
|
14
|
+
import"../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
15
|
+
import"../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
16
|
+
import"../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
17
|
+
import"../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
18
|
+
import"../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
19
|
+
import"../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
20
|
+
export {
|
|
21
|
+
substituteProtocolRefs,
|
|
22
|
+
substituteEnvVars,
|
|
23
|
+
parseJSONCWithProtocols,
|
|
24
|
+
parseJSONCWithEnv,
|
|
25
|
+
parseJSONC,
|
|
26
|
+
MemorySource,
|
|
27
|
+
FileSource,
|
|
28
|
+
EnvSource,
|
|
29
|
+
ConfigSourceNotFoundError,
|
|
30
|
+
ConfigFileNotFoundError,
|
|
31
|
+
ConfigComponent
|
|
32
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AgentComponent,
|
|
3
|
+
AgentComponentConfigSchema
|
|
4
|
+
} from "../../shared/@ai-setting/roy-agent-core-jj79gszx.js";
|
|
5
|
+
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
6
|
+
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
7
|
+
import {
|
|
8
|
+
SummaryAgent
|
|
9
|
+
} 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
|
+
import"../../shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
20
|
+
export {
|
|
21
|
+
SummaryAgent,
|
|
22
|
+
AgentComponentConfigSchema,
|
|
23
|
+
AgentComponent
|
|
24
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CommandsComponent
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-7r85t0qn.js";
|
|
4
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
5
|
+
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
6
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
8
|
+
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
9
|
+
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
11
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
12
|
+
export {
|
|
13
|
+
CommandsComponent
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ReplFormatter,
|
|
3
|
+
TraceFormatter,
|
|
4
|
+
TreeFormatter
|
|
5
|
+
} from "../../../shared/@ai-setting/roy-agent-core-rvv6ydff.js";
|
|
6
|
+
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
7
|
+
export {
|
|
8
|
+
TreeFormatter,
|
|
9
|
+
TraceFormatter,
|
|
10
|
+
ReplFormatter
|
|
11
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DebugComponent,
|
|
3
|
+
LogReader,
|
|
4
|
+
RegexParser,
|
|
5
|
+
SpanBuilder,
|
|
6
|
+
SpanDbReader
|
|
7
|
+
} from "../../shared/@ai-setting/roy-agent-core-7rewcey6.js";
|
|
8
|
+
import {
|
|
9
|
+
ReplFormatter,
|
|
10
|
+
TraceFormatter,
|
|
11
|
+
TreeFormatter
|
|
12
|
+
} from "../../shared/@ai-setting/roy-agent-core-rvv6ydff.js";
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
14
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
17
|
+
export {
|
|
18
|
+
TreeFormatter,
|
|
19
|
+
TraceFormatter,
|
|
20
|
+
SpanDbReader,
|
|
21
|
+
SpanBuilder,
|
|
22
|
+
ReplFormatter,
|
|
23
|
+
RegexParser,
|
|
24
|
+
LogReader,
|
|
25
|
+
DebugComponent
|
|
26
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createHook,
|
|
3
|
+
createPriorityHook
|
|
4
|
+
} from "../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
5
|
+
import {
|
|
6
|
+
AgentHookPoints,
|
|
7
|
+
HookManager,
|
|
8
|
+
LLMHookPoints,
|
|
9
|
+
ToolHookPoints,
|
|
10
|
+
executeAgentHook,
|
|
11
|
+
executeAgentHookWithIntervention,
|
|
12
|
+
executeLLMHook,
|
|
13
|
+
executeToolHook,
|
|
14
|
+
globalHookManager
|
|
15
|
+
} from "../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
17
|
+
export {
|
|
18
|
+
globalHookManager,
|
|
19
|
+
executeToolHook,
|
|
20
|
+
executeLLMHook,
|
|
21
|
+
executeAgentHookWithIntervention,
|
|
22
|
+
executeAgentHook,
|
|
23
|
+
createPriorityHook,
|
|
24
|
+
createHook,
|
|
25
|
+
ToolHookPoints,
|
|
26
|
+
LLMHookPoints,
|
|
27
|
+
HookManager,
|
|
28
|
+
AgentHookPoints
|
|
29
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BaseEnvironment,
|
|
3
|
+
EventSourceAgentHandler,
|
|
4
|
+
EventSourceComponent,
|
|
5
|
+
getDefaultConfigForType,
|
|
6
|
+
isValidEventSourceType,
|
|
7
|
+
validateEventSourceConfig
|
|
8
|
+
} from "../shared/@ai-setting/roy-agent-core-9qwp5qkz.js";
|
|
9
|
+
import {
|
|
10
|
+
XDG_PATHS,
|
|
11
|
+
getXDGPath,
|
|
12
|
+
getXDGPaths
|
|
13
|
+
} from "../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
14
|
+
import {
|
|
15
|
+
WorkflowComponent
|
|
16
|
+
} from "../shared/@ai-setting/roy-agent-core-4rqmfr7t.js";
|
|
17
|
+
import"../shared/@ai-setting/roy-agent-core-0rtxwr28.js";
|
|
18
|
+
import"../shared/@ai-setting/roy-agent-core-4t40mkpv.js";
|
|
19
|
+
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
|
+
import"../shared/@ai-setting/roy-agent-core-fdb6m4e4.js";
|
|
23
|
+
import"../shared/@ai-setting/roy-agent-core-pc9g3962.js";
|
|
24
|
+
import"../shared/@ai-setting/roy-agent-core-3agad0d9.js";
|
|
25
|
+
import"../shared/@ai-setting/roy-agent-core-rzp9kxne.js";
|
|
26
|
+
import {
|
|
27
|
+
AgentComponent,
|
|
28
|
+
AgentComponentConfigSchema
|
|
29
|
+
} from "../shared/@ai-setting/roy-agent-core-jj79gszx.js";
|
|
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";
|
|
44
|
+
import"../shared/@ai-setting/roy-agent-core-j3bbr2n0.js";
|
|
45
|
+
import"../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
46
|
+
import {
|
|
47
|
+
BaseComponent
|
|
48
|
+
} from "../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
49
|
+
import {
|
|
50
|
+
createHook,
|
|
51
|
+
createPriorityHook
|
|
52
|
+
} from "../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
53
|
+
import {
|
|
54
|
+
HookManager
|
|
55
|
+
} from "../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
56
|
+
import"../shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
57
|
+
import"../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
58
|
+
import"../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
59
|
+
import"../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
60
|
+
import"../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
61
|
+
import"../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
62
|
+
export {
|
|
63
|
+
validateEventSourceConfig,
|
|
64
|
+
isValidEventSourceType,
|
|
65
|
+
getXDGPaths,
|
|
66
|
+
getXDGPath,
|
|
67
|
+
getDefaultConfigForType,
|
|
68
|
+
createPriorityHook,
|
|
69
|
+
createHook,
|
|
70
|
+
XDG_PATHS,
|
|
71
|
+
WorkflowComponent,
|
|
72
|
+
TaskComponent,
|
|
73
|
+
McpComponent,
|
|
74
|
+
HookManager,
|
|
75
|
+
EventSourceComponent,
|
|
76
|
+
EventSourceAgentHandler,
|
|
77
|
+
BaseEnvironment,
|
|
78
|
+
BaseComponent,
|
|
79
|
+
AgentComponentConfigSchema,
|
|
80
|
+
AgentComponent
|
|
81
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LLMComponent,
|
|
3
|
+
LLMConfigSchema,
|
|
4
|
+
LLMDefaultConfigSchema,
|
|
5
|
+
LLMHooks,
|
|
6
|
+
LLMTransform,
|
|
7
|
+
ModelLimitsSchema,
|
|
8
|
+
ProviderCapabilitiesSchema,
|
|
9
|
+
ProviderConfigSchema,
|
|
10
|
+
ProviderManager,
|
|
11
|
+
createInvokeConfig,
|
|
12
|
+
invoke,
|
|
13
|
+
invokeNonStream,
|
|
14
|
+
parseModelString
|
|
15
|
+
} from "../../shared/@ai-setting/roy-agent-core-5xf65pz6.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
22
|
+
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
23
|
+
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
24
|
+
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
25
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
26
|
+
export {
|
|
27
|
+
parseModelString,
|
|
28
|
+
invokeNonStream,
|
|
29
|
+
invoke,
|
|
30
|
+
createInvokeConfig,
|
|
31
|
+
ProviderManager,
|
|
32
|
+
ProviderConfigSchema,
|
|
33
|
+
ProviderCapabilitiesSchema,
|
|
34
|
+
ModelLimitsSchema,
|
|
35
|
+
LLMTransform,
|
|
36
|
+
LLMHooks,
|
|
37
|
+
LLMDefaultConfigSchema,
|
|
38
|
+
LLMConfigSchema,
|
|
39
|
+
LLMComponent
|
|
40
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LogTraceComponent,
|
|
3
|
+
LogTraceConfigSchema,
|
|
4
|
+
getDefaultLogDir,
|
|
5
|
+
getDefaultSpanDbPath,
|
|
6
|
+
getTraceparentHeader,
|
|
7
|
+
injectToEnv,
|
|
8
|
+
injectToEnvFromCarrier,
|
|
9
|
+
injectToEnvWithContext
|
|
10
|
+
} from "../../shared/@ai-setting/roy-agent-core-4arba14a.js";
|
|
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";
|
|
15
|
+
import {
|
|
16
|
+
Traced,
|
|
17
|
+
TracedAs,
|
|
18
|
+
TracedLightweight,
|
|
19
|
+
wrapFunction
|
|
20
|
+
} from "../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
21
|
+
import {
|
|
22
|
+
createLogger,
|
|
23
|
+
getLogDir,
|
|
24
|
+
getLogDirOverride,
|
|
25
|
+
getLogFile,
|
|
26
|
+
getLogLevel,
|
|
27
|
+
getLogLevels,
|
|
28
|
+
getMaxOutput,
|
|
29
|
+
isQuietMode,
|
|
30
|
+
setConfigComponent,
|
|
31
|
+
setLogDirOverride,
|
|
32
|
+
setQuietMode,
|
|
33
|
+
simplifyFilePath
|
|
34
|
+
} from "../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
35
|
+
import {
|
|
36
|
+
OTelTracerProvider,
|
|
37
|
+
SpanKind,
|
|
38
|
+
SpanStatus,
|
|
39
|
+
getTracerProvider,
|
|
40
|
+
parse,
|
|
41
|
+
propagation,
|
|
42
|
+
resetTracerProvider,
|
|
43
|
+
serialize
|
|
44
|
+
} from "../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
45
|
+
import {
|
|
46
|
+
SQLiteSpanStorage
|
|
47
|
+
} from "../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
48
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
49
|
+
export {
|
|
50
|
+
wrapFunction,
|
|
51
|
+
simplifyFilePath,
|
|
52
|
+
setQuietMode,
|
|
53
|
+
setConfigComponent as setLoggerConfigComponent,
|
|
54
|
+
setLogDirOverride,
|
|
55
|
+
serialize,
|
|
56
|
+
resetTracerProvider,
|
|
57
|
+
propagation,
|
|
58
|
+
parse,
|
|
59
|
+
isQuietMode,
|
|
60
|
+
injectToEnvWithContext,
|
|
61
|
+
injectToEnvFromCarrier,
|
|
62
|
+
injectToEnv,
|
|
63
|
+
getTracerProvider,
|
|
64
|
+
getTraceparentHeader,
|
|
65
|
+
getMaxOutput,
|
|
66
|
+
getLogLevels,
|
|
67
|
+
getLogLevel,
|
|
68
|
+
getLogFile,
|
|
69
|
+
getLogDirOverride,
|
|
70
|
+
getLogDir,
|
|
71
|
+
getDefaultSpanDbPath,
|
|
72
|
+
getDefaultLogDir,
|
|
73
|
+
createLogger,
|
|
74
|
+
TracedLightweight,
|
|
75
|
+
TracedAs,
|
|
76
|
+
Traced,
|
|
77
|
+
SpanStatus,
|
|
78
|
+
SpanKind,
|
|
79
|
+
SQLiteSpanStorage,
|
|
80
|
+
OTelTracerProvider,
|
|
81
|
+
LogTraceConfigSchema,
|
|
82
|
+
LogTraceComponent
|
|
83
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_MCP_CONFIG,
|
|
3
|
+
MCP_CONFIG_KEYS,
|
|
4
|
+
McpComponent,
|
|
5
|
+
McpLoader,
|
|
6
|
+
McpScanner,
|
|
7
|
+
McpServerConfigSchema,
|
|
8
|
+
McpServerLocalConfigSchema,
|
|
9
|
+
McpServerRemoteConfigSchema,
|
|
10
|
+
getMcpPathPriority
|
|
11
|
+
} from "../../shared/@ai-setting/roy-agent-core-re1wjfw7.js";
|
|
12
|
+
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
13
|
+
import {
|
|
14
|
+
adaptMcpTool,
|
|
15
|
+
convertInputSchemaToZod,
|
|
16
|
+
createMcpToolsDescription
|
|
17
|
+
} from "../../shared/@ai-setting/roy-agent-core-6a72jfdy.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
22
|
+
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
23
|
+
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
24
|
+
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
25
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
26
|
+
export {
|
|
27
|
+
getMcpPathPriority,
|
|
28
|
+
createMcpToolsDescription,
|
|
29
|
+
convertInputSchemaToZod,
|
|
30
|
+
adaptMcpTool,
|
|
31
|
+
McpServerRemoteConfigSchema,
|
|
32
|
+
McpServerLocalConfigSchema,
|
|
33
|
+
McpServerConfigSchema,
|
|
34
|
+
McpScanner,
|
|
35
|
+
McpLoader,
|
|
36
|
+
McpComponent,
|
|
37
|
+
MCP_CONFIG_KEYS,
|
|
38
|
+
DEFAULT_MCP_CONFIG
|
|
39
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
adaptMcpTool,
|
|
3
|
+
convertInputSchemaToZod,
|
|
4
|
+
createMcpToolsDescription
|
|
5
|
+
} from "../../../shared/@ai-setting/roy-agent-core-6a72jfdy.js";
|
|
6
|
+
import"../../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
7
|
+
import"../../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
8
|
+
import"../../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
9
|
+
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
10
|
+
export {
|
|
11
|
+
createMcpToolsDescription,
|
|
12
|
+
convertInputSchemaToZod,
|
|
13
|
+
adaptMcpTool
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RecallMemorySchema,
|
|
3
|
+
RecordMemorySchema,
|
|
4
|
+
createMemoryTools
|
|
5
|
+
} from "../../../shared/@ai-setting/roy-agent-core-g1s2h0e5.js";
|
|
6
|
+
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
7
|
+
export {
|
|
8
|
+
createMemoryTools,
|
|
9
|
+
RecordMemorySchema,
|
|
10
|
+
RecallMemorySchema
|
|
11
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_MEMORY_CONFIG,
|
|
3
|
+
MemoryComponent,
|
|
4
|
+
SOURCE_PRIORITY,
|
|
5
|
+
getSourcePriority
|
|
6
|
+
} from "../../shared/@ai-setting/roy-agent-core-pzsg9pvf.js";
|
|
7
|
+
import {
|
|
8
|
+
RecallMemorySchema,
|
|
9
|
+
RecordMemorySchema
|
|
10
|
+
} from "../../shared/@ai-setting/roy-agent-core-g1s2h0e5.js";
|
|
11
|
+
import {
|
|
12
|
+
GLOBAL_MEMORY_AGENT_PROMPT,
|
|
13
|
+
MemoryManager,
|
|
14
|
+
MemoryPlugin,
|
|
15
|
+
PROJECT_MEMORY_AGENT_PROMPT,
|
|
16
|
+
applyMemoryResult,
|
|
17
|
+
buildGlobalInput,
|
|
18
|
+
buildProjectInput,
|
|
19
|
+
createEmptyResult,
|
|
20
|
+
createMemoryAgent,
|
|
21
|
+
createMemoryPlugin,
|
|
22
|
+
formatMemoryInput,
|
|
23
|
+
generateProjectSummary,
|
|
24
|
+
parseMemoryAgentOutput,
|
|
25
|
+
recallMemory
|
|
26
|
+
} 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
|
+
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
32
|
+
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
33
|
+
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
34
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
35
|
+
export {
|
|
36
|
+
recallMemory,
|
|
37
|
+
parseMemoryAgentOutput,
|
|
38
|
+
getSourcePriority,
|
|
39
|
+
generateProjectSummary,
|
|
40
|
+
formatMemoryInput,
|
|
41
|
+
createMemoryPlugin,
|
|
42
|
+
createMemoryAgent,
|
|
43
|
+
createEmptyResult,
|
|
44
|
+
buildProjectInput,
|
|
45
|
+
buildGlobalInput,
|
|
46
|
+
applyMemoryResult,
|
|
47
|
+
SOURCE_PRIORITY,
|
|
48
|
+
RecordMemorySchema,
|
|
49
|
+
RecallMemorySchema,
|
|
50
|
+
PROJECT_MEMORY_AGENT_PROMPT,
|
|
51
|
+
MemoryPlugin,
|
|
52
|
+
MemoryManager,
|
|
53
|
+
MemoryComponent,
|
|
54
|
+
GLOBAL_MEMORY_AGENT_PROMPT,
|
|
55
|
+
DEFAULT_MEMORY_CONFIG
|
|
56
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GLOBAL_MEMORY_AGENT_PROMPT,
|
|
3
|
+
MemoryManager,
|
|
4
|
+
MemoryPlugin,
|
|
5
|
+
PROJECT_MEMORY_AGENT_PROMPT,
|
|
6
|
+
applyMemoryResult,
|
|
7
|
+
buildGlobalInput,
|
|
8
|
+
buildProjectInput,
|
|
9
|
+
createEmptyResult,
|
|
10
|
+
createMemoryAgent,
|
|
11
|
+
createMemoryPlugin,
|
|
12
|
+
formatMemoryInput,
|
|
13
|
+
generateProjectSummary,
|
|
14
|
+
parseMemoryAgentOutput,
|
|
15
|
+
recallMemory
|
|
16
|
+
} from "../../../shared/@ai-setting/roy-agent-core-qya7seh6.js";
|
|
17
|
+
import"../../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
18
|
+
import"../../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
19
|
+
import"../../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
20
|
+
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
21
|
+
export {
|
|
22
|
+
recallMemory,
|
|
23
|
+
parseMemoryAgentOutput,
|
|
24
|
+
generateProjectSummary,
|
|
25
|
+
formatMemoryInput,
|
|
26
|
+
createMemoryPlugin,
|
|
27
|
+
createMemoryAgent,
|
|
28
|
+
createEmptyResult,
|
|
29
|
+
buildProjectInput,
|
|
30
|
+
buildGlobalInput,
|
|
31
|
+
applyMemoryResult,
|
|
32
|
+
PROJECT_MEMORY_AGENT_PROMPT,
|
|
33
|
+
MemoryPlugin,
|
|
34
|
+
MemoryManager,
|
|
35
|
+
GLOBAL_MEMORY_AGENT_PROMPT
|
|
36
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PromptComponent,
|
|
3
|
+
PromptConfigSchema,
|
|
4
|
+
PromptPathSchema,
|
|
5
|
+
PromptRenderer
|
|
6
|
+
} from "../../shared/@ai-setting/roy-agent-core-mwwk6req.js";
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
8
|
+
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
9
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
11
|
+
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
12
|
+
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
14
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
15
|
+
export {
|
|
16
|
+
PromptRenderer,
|
|
17
|
+
PromptPathSchema,
|
|
18
|
+
PromptConfigSchema,
|
|
19
|
+
PromptComponent
|
|
20
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SessionComponent
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-cd00w5mb.js";
|
|
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
|
+
import {
|
|
11
|
+
MemorySessionStore
|
|
12
|
+
} from "../../shared/@ai-setting/roy-agent-core-2x0m2p66.js";
|
|
13
|
+
import {
|
|
14
|
+
SessionMessageConverter
|
|
15
|
+
} from "../../shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
21
|
+
export {
|
|
22
|
+
SessionMessageConverter,
|
|
23
|
+
SessionComponent,
|
|
24
|
+
MemorySessionStore
|
|
25
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MemorySessionStore,
|
|
3
|
+
SQLiteSessionStore,
|
|
4
|
+
getDefaultDataDir,
|
|
5
|
+
getDefaultSessionDbPath
|
|
6
|
+
} from "../../../shared/@ai-setting/roy-agent-core-2x0m2p66.js";
|
|
7
|
+
import"../../../shared/@ai-setting/roy-agent-core-e62e2a5a.js";
|
|
8
|
+
import"../../../shared/@ai-setting/roy-agent-core-35x0wrtt.js";
|
|
9
|
+
import"../../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
11
|
+
import"../../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
12
|
+
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
13
|
+
export {
|
|
14
|
+
getDefaultSessionDbPath,
|
|
15
|
+
getDefaultDataDir,
|
|
16
|
+
SQLiteSessionStore,
|
|
17
|
+
MemorySessionStore
|
|
18
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_SKILL_CONFIG,
|
|
3
|
+
SOURCE_PRIORITY,
|
|
4
|
+
SkillComponent,
|
|
5
|
+
SkillScanner,
|
|
6
|
+
getSourcePriority,
|
|
7
|
+
parseFrontmatter,
|
|
8
|
+
parseSkillFile
|
|
9
|
+
} from "../../shared/@ai-setting/roy-agent-core-561b1c4p.js";
|
|
10
|
+
import {
|
|
11
|
+
SkillToolSchema,
|
|
12
|
+
buildSkillDescription,
|
|
13
|
+
createSkillTool
|
|
14
|
+
} from "../../shared/@ai-setting/roy-agent-core-psvxt4c9.js";
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-rbetrphj.js";
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-2dhd60aw.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
22
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
23
|
+
export {
|
|
24
|
+
parseSkillFile,
|
|
25
|
+
parseFrontmatter,
|
|
26
|
+
getSourcePriority,
|
|
27
|
+
createSkillTool,
|
|
28
|
+
buildSkillDescription,
|
|
29
|
+
SkillToolSchema,
|
|
30
|
+
SkillScanner,
|
|
31
|
+
SkillComponent,
|
|
32
|
+
SOURCE_PRIORITY,
|
|
33
|
+
DEFAULT_SKILL_CONFIG
|
|
34
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BackgroundTaskManager,
|
|
3
|
+
TaskEventTypes,
|
|
4
|
+
createDelegateTool,
|
|
5
|
+
createStopTool
|
|
6
|
+
} from "../../../shared/@ai-setting/roy-agent-core-w78syn7w.js";
|
|
7
|
+
import"../../../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
8
|
+
import"../../../shared/@ai-setting/roy-agent-core-gmnkza34.js";
|
|
9
|
+
import"../../../shared/@ai-setting/roy-agent-core-j3wc4465.js";
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-fv32jaa8.js";
|
|
11
|
+
import"../../../shared/@ai-setting/roy-agent-core-bncgx3gb.js";
|
|
12
|
+
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
13
|
+
export {
|
|
14
|
+
createStopTool,
|
|
15
|
+
createDelegateTool,
|
|
16
|
+
TaskEventTypes,
|
|
17
|
+
BackgroundTaskManager
|
|
18
|
+
};
|