@ai-setting/roy-agent-core 1.5.87 → 1.5.89
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/env/agent/index.js +6 -6
- package/dist/env/event-source/index.js +6 -2
- package/dist/env/index.js +17 -12
- package/dist/env/prompt/index.js +2 -1
- package/dist/env/session/index.js +1 -2
- package/dist/env/task/delegate/index.js +3 -2
- package/dist/env/task/index.js +5 -4
- package/dist/env/task/plugins/index.js +7 -4
- package/dist/env/task/tools/index.js +1 -1
- package/dist/env/tool/built-in/index.js +2 -1
- package/dist/env/tool/index.js +11 -8
- package/dist/env/workflow/engine/index.js +4 -2
- package/dist/env/workflow/index.js +5 -3
- package/dist/env/workflow/tools/index.js +7 -1
- package/dist/env/workflow/utils/index.js +5 -0
- package/dist/index.js +32 -25
- package/dist/shared/@ai-setting/{roy-agent-core-6mk0m4t3.js → roy-agent-core-2q7cshpm.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-0y64qaac.js → roy-agent-core-32m0nb9j.js} +119 -30
- package/dist/shared/@ai-setting/{roy-agent-core-9y09xfav.js → roy-agent-core-3f6k060j.js} +5 -417
- package/dist/shared/@ai-setting/roy-agent-core-4yq23m5g.js +421 -0
- package/dist/shared/@ai-setting/{roy-agent-core-mmkyydw7.js → roy-agent-core-83d035pp.js} +91 -579
- package/dist/shared/@ai-setting/roy-agent-core-8wd3qwx5.js +35 -0
- package/dist/shared/@ai-setting/{roy-agent-core-29fh9mxg.js → roy-agent-core-bwjpte58.js} +1 -2
- package/dist/shared/@ai-setting/{roy-agent-core-r1adqgaa.js → roy-agent-core-ewr1nw7t.js} +7 -8
- package/dist/shared/@ai-setting/{roy-agent-core-yx0vw1aw.js → roy-agent-core-fgpnv7dt.js} +31 -4
- package/dist/shared/@ai-setting/{roy-agent-core-jymz9fzp.js → roy-agent-core-fvfc7f6v.js} +64 -33
- package/dist/shared/@ai-setting/{roy-agent-core-9vwyj29a.js → roy-agent-core-h5867smx.js} +16 -22
- package/dist/shared/@ai-setting/roy-agent-core-hvdfgvfz.js +114 -0
- package/dist/shared/@ai-setting/{roy-agent-core-3arrpf7n.js → roy-agent-core-hxsbegfc.js} +229 -9
- package/dist/shared/@ai-setting/{roy-agent-core-7fdzfsm6.js → roy-agent-core-m3dkyprg.js} +35 -211
- package/dist/shared/@ai-setting/{roy-agent-core-bgw4dq11.js → roy-agent-core-mw4ty0ba.js} +44 -5
- package/dist/shared/@ai-setting/{roy-agent-core-7z4xtrmw.js → roy-agent-core-nqzt9ne4.js} +53 -0
- package/dist/shared/@ai-setting/roy-agent-core-pt7as39r.js +0 -0
- package/dist/shared/@ai-setting/{roy-agent-core-6n7xwv4v.js → roy-agent-core-qbq3jgrn.js} +5 -3
- package/dist/shared/@ai-setting/roy-agent-core-w6bmrgap.js +581 -0
- package/dist/shared/@ai-setting/{roy-agent-core-qhjb153z.js → roy-agent-core-xnxyzaw4.js} +27 -4
- package/dist/shared/@ai-setting/roy-agent-core-yanpq5gb.js +116 -0
- package/package.json +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-x3gtyqax.js +0 -378
package/dist/env/agent/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentComponent,
|
|
3
|
-
AgentComponentConfigSchema
|
|
4
|
-
|
|
3
|
+
AgentComponentConfigSchema,
|
|
4
|
+
SummaryAgent
|
|
5
|
+
} from "../../shared/@ai-setting/roy-agent-core-fgpnv7dt.js";
|
|
5
6
|
import"../../shared/@ai-setting/roy-agent-core-r0m0at3x.js";
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-hxsbegfc.js";
|
|
8
|
+
import"../../shared/@ai-setting/roy-agent-core-yanpq5gb.js";
|
|
6
9
|
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
7
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-nqzt9ne4.js";
|
|
8
11
|
import"../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
9
12
|
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
10
|
-
import {
|
|
11
|
-
SummaryAgent
|
|
12
|
-
} from "../../shared/@ai-setting/roy-agent-core-x3gtyqax.js";
|
|
13
13
|
import"../../shared/@ai-setting/roy-agent-core-c1j7ev4e.js";
|
|
14
14
|
import"../../shared/@ai-setting/roy-agent-core-ce10b0ez.js";
|
|
15
15
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getBuiltInHandler,
|
|
7
7
|
larkCliHandler,
|
|
8
8
|
timerHandler
|
|
9
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
9
|
+
} from "../../shared/@ai-setting/roy-agent-core-2q7cshpm.js";
|
|
10
10
|
import {
|
|
11
11
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
12
12
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -17,8 +17,12 @@ import {
|
|
|
17
17
|
validateEventSourceConfig
|
|
18
18
|
} from "../../shared/@ai-setting/roy-agent-core-qhhxx2x2.js";
|
|
19
19
|
import"../../shared/@ai-setting/roy-agent-core-v8xa6vs8.js";
|
|
20
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-m3dkyprg.js";
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-83d035pp.js";
|
|
21
22
|
import"../../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
23
|
+
import"../../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
24
|
+
import"../../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
25
|
+
import"../../shared/@ai-setting/roy-agent-core-yanpq5gb.js";
|
|
22
26
|
import"../../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
23
27
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
24
28
|
import"../../shared/@ai-setting/roy-agent-core-rgckng3p.js";
|
package/dist/env/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseEnvironment
|
|
3
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../shared/@ai-setting/roy-agent-core-bwjpte58.js";
|
|
4
4
|
import {
|
|
5
5
|
EventSourceComponent,
|
|
6
6
|
builtInHandlers,
|
|
7
7
|
larkCliHandler
|
|
8
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../shared/@ai-setting/roy-agent-core-2q7cshpm.js";
|
|
9
9
|
import {
|
|
10
10
|
EventSourceInitHooks,
|
|
11
11
|
getDefaultConfigForType,
|
|
@@ -17,13 +17,14 @@ import"../shared/@ai-setting/roy-agent-core-v8xa6vs8.js";
|
|
|
17
17
|
import {
|
|
18
18
|
PluginComponent
|
|
19
19
|
} from "../shared/@ai-setting/roy-agent-core-t1ef8hf2.js";
|
|
20
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
import"../shared/@ai-setting/roy-agent-core-m3dkyprg.js";
|
|
21
|
+
import"../shared/@ai-setting/roy-agent-core-83d035pp.js";
|
|
21
22
|
import"../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
22
23
|
import {
|
|
23
24
|
WorkflowComponent
|
|
24
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
25
|
+
} from "../shared/@ai-setting/roy-agent-core-qbq3jgrn.js";
|
|
25
26
|
import"../shared/@ai-setting/roy-agent-core-fjexv5nm.js";
|
|
26
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
27
|
+
import"../shared/@ai-setting/roy-agent-core-3f6k060j.js";
|
|
27
28
|
import"../shared/@ai-setting/roy-agent-core-5kdw0p98.js";
|
|
28
29
|
import"../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
29
30
|
import"../shared/@ai-setting/roy-agent-core-gb9gbkc3.js";
|
|
@@ -31,30 +32,35 @@ import"../shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
|
31
32
|
import"../shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
32
33
|
import"../shared/@ai-setting/roy-agent-core-hc20420t.js";
|
|
33
34
|
import"../shared/@ai-setting/roy-agent-core-qnrf2aw6.js";
|
|
34
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
35
|
+
import"../shared/@ai-setting/roy-agent-core-32m0nb9j.js";
|
|
35
36
|
import"../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
36
37
|
import"../shared/@ai-setting/roy-agent-core-tq9528d3.js";
|
|
38
|
+
import"../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
39
|
+
import"../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
37
40
|
import"../shared/@ai-setting/roy-agent-core-h0x19xgn.js";
|
|
38
41
|
import"../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
39
42
|
import {
|
|
40
43
|
AgentComponent,
|
|
41
44
|
AgentComponentConfigSchema
|
|
42
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
45
|
+
} from "../shared/@ai-setting/roy-agent-core-fgpnv7dt.js";
|
|
43
46
|
import"../shared/@ai-setting/roy-agent-core-r0m0at3x.js";
|
|
47
|
+
import"../shared/@ai-setting/roy-agent-core-hxsbegfc.js";
|
|
48
|
+
import"../shared/@ai-setting/roy-agent-core-yanpq5gb.js";
|
|
44
49
|
import"../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
45
50
|
import {
|
|
46
51
|
TaskComponent
|
|
47
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
52
|
+
} from "../shared/@ai-setting/roy-agent-core-ewr1nw7t.js";
|
|
48
53
|
import"../shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
49
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
54
|
+
import"../shared/@ai-setting/roy-agent-core-mw4ty0ba.js";
|
|
55
|
+
import"../shared/@ai-setting/roy-agent-core-hvdfgvfz.js";
|
|
50
56
|
import"../shared/@ai-setting/roy-agent-core-pcdzfwdv.js";
|
|
51
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
57
|
+
import"../shared/@ai-setting/roy-agent-core-nqzt9ne4.js";
|
|
52
58
|
import {
|
|
53
59
|
XDG_PATHS,
|
|
54
60
|
getXDGPath,
|
|
55
61
|
getXDGPaths
|
|
56
62
|
} from "../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
57
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
63
|
+
import"../shared/@ai-setting/roy-agent-core-h5867smx.js";
|
|
58
64
|
import"../shared/@ai-setting/roy-agent-core-t94ktchq.js";
|
|
59
65
|
import"../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
60
66
|
import {
|
|
@@ -63,7 +69,6 @@ import {
|
|
|
63
69
|
import"../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
64
70
|
import"../shared/@ai-setting/roy-agent-core-fnv3ev18.js";
|
|
65
71
|
import"../shared/@ai-setting/roy-agent-core-djtkntar.js";
|
|
66
|
-
import"../shared/@ai-setting/roy-agent-core-x3gtyqax.js";
|
|
67
72
|
import"../shared/@ai-setting/roy-agent-core-c1j7ev4e.js";
|
|
68
73
|
import"../shared/@ai-setting/roy-agent-core-ce10b0ez.js";
|
|
69
74
|
import"../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
package/dist/env/prompt/index.js
CHANGED
|
@@ -3,7 +3,8 @@ 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-w6bmrgap.js";
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-83d035pp.js";
|
|
7
8
|
import"../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
8
9
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
9
10
|
import"../../shared/@ai-setting/roy-agent-core-rgckng3p.js";
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-fvfc7f6v.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
5
5
|
import {
|
|
6
6
|
MemorySessionStore
|
|
7
7
|
} from "../../shared/@ai-setting/roy-agent-core-q7sqeax6.js";
|
|
8
|
-
import"../../shared/@ai-setting/roy-agent-core-x3gtyqax.js";
|
|
9
8
|
import {
|
|
10
9
|
SessionMessageConverter
|
|
11
10
|
} from "../../shared/@ai-setting/roy-agent-core-c1j7ev4e.js";
|
|
@@ -3,8 +3,9 @@ import {
|
|
|
3
3
|
BackgroundTaskManager,
|
|
4
4
|
createDelegateTool,
|
|
5
5
|
createStopTool
|
|
6
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
7
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../../shared/@ai-setting/roy-agent-core-mw4ty0ba.js";
|
|
7
|
+
import"../../../shared/@ai-setting/roy-agent-core-hvdfgvfz.js";
|
|
8
|
+
import"../../../shared/@ai-setting/roy-agent-core-nqzt9ne4.js";
|
|
8
9
|
import"../../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
9
10
|
import"../../../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
10
11
|
import"../../../shared/@ai-setting/roy-agent-core-7tp56w6n.js";
|
package/dist/env/task/index.js
CHANGED
|
@@ -5,18 +5,19 @@ import {
|
|
|
5
5
|
TaskPriorityEnum,
|
|
6
6
|
TaskStatusEnum,
|
|
7
7
|
TaskTypeEnum
|
|
8
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../../shared/@ai-setting/roy-agent-core-ewr1nw7t.js";
|
|
9
9
|
import {
|
|
10
10
|
TaskEntityEventTypes
|
|
11
11
|
} from "../../shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
12
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
12
|
+
import"../../shared/@ai-setting/roy-agent-core-mw4ty0ba.js";
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-hvdfgvfz.js";
|
|
13
14
|
import {
|
|
14
15
|
SQLiteTaskStore,
|
|
15
16
|
getDefaultTaskDbPath
|
|
16
17
|
} from "../../shared/@ai-setting/roy-agent-core-pcdzfwdv.js";
|
|
17
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-nqzt9ne4.js";
|
|
18
19
|
import"../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
19
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-h5867smx.js";
|
|
20
21
|
import"../../shared/@ai-setting/roy-agent-core-t94ktchq.js";
|
|
21
22
|
import"../../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
22
23
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
@@ -3,14 +3,18 @@ import {
|
|
|
3
3
|
NotifyType,
|
|
4
4
|
TaskTagPlugin,
|
|
5
5
|
WORKFLOW_EXTRACTOR_PROMPT,
|
|
6
|
-
createAutoTaskPlugin,
|
|
7
6
|
createLarkCliTaskNotifyHook,
|
|
8
|
-
createWorkflowExtractorAgent,
|
|
9
7
|
formatExtractorInput,
|
|
10
8
|
formatExtractorInputFromDescription,
|
|
11
9
|
parseExtractorOutput
|
|
12
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
} from "../../../shared/@ai-setting/roy-agent-core-m3dkyprg.js";
|
|
11
|
+
import"../../../shared/@ai-setting/roy-agent-core-83d035pp.js";
|
|
13
12
|
import"../../../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
13
|
+
import"../../../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
14
|
+
import"../../../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
15
|
+
import {
|
|
16
|
+
createAutoTaskPlugin
|
|
17
|
+
} from "../../../shared/@ai-setting/roy-agent-core-yanpq5gb.js";
|
|
14
18
|
import"../../../shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
15
19
|
import"../../../shared/@ai-setting/roy-agent-core-qg4rma4c.js";
|
|
16
20
|
import"../../../shared/@ai-setting/roy-agent-core-y5d04fm3.js";
|
|
@@ -23,7 +27,6 @@ export {
|
|
|
23
27
|
parseExtractorOutput,
|
|
24
28
|
formatExtractorInputFromDescription,
|
|
25
29
|
formatExtractorInput,
|
|
26
|
-
createWorkflowExtractorAgent,
|
|
27
30
|
createLarkCliTaskNotifyHook,
|
|
28
31
|
createAutoTaskPlugin,
|
|
29
32
|
WORKFLOW_EXTRACTOR_PROMPT,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
listTasksTool,
|
|
9
9
|
searchTasksTool,
|
|
10
10
|
updateTaskTool
|
|
11
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
+
} from "../../../shared/@ai-setting/roy-agent-core-h5867smx.js";
|
|
12
12
|
import"../../../shared/@ai-setting/roy-agent-core-y5d04fm3.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-k05v31rc.js";
|
|
14
14
|
import"../../../shared/@ai-setting/roy-agent-core-shme7set.js";
|
|
@@ -8,7 +8,8 @@ import {
|
|
|
8
8
|
grepTool,
|
|
9
9
|
readFileTool,
|
|
10
10
|
writeFileTool
|
|
11
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
+
} from "../../../shared/@ai-setting/roy-agent-core-xnxyzaw4.js";
|
|
12
|
+
import"../../../shared/@ai-setting/roy-agent-core-hvdfgvfz.js";
|
|
12
13
|
import"../../../shared/@ai-setting/roy-agent-core-k05v31rc.js";
|
|
13
14
|
import"../../../shared/@ai-setting/roy-agent-core-shme7set.js";
|
|
14
15
|
import"../../../shared/@ai-setting/roy-agent-core-7z9b1fm8.js";
|
package/dist/env/tool/index.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
ToolComponent,
|
|
3
|
-
ToolRegistry,
|
|
4
|
-
ToolValidator,
|
|
5
|
-
getMaxOutputSize,
|
|
6
|
-
setToolConfigComponent
|
|
7
|
-
} from "../../shared/@ai-setting/roy-agent-core-3arrpf7n.js";
|
|
1
|
+
import"../../shared/@ai-setting/roy-agent-core-pt7as39r.js";
|
|
8
2
|
import {
|
|
9
3
|
bashTool,
|
|
10
4
|
echoTool,
|
|
@@ -15,8 +9,17 @@ import {
|
|
|
15
9
|
grepTool,
|
|
16
10
|
readFileTool,
|
|
17
11
|
writeFileTool
|
|
18
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
12
|
+
} from "../../shared/@ai-setting/roy-agent-core-xnxyzaw4.js";
|
|
13
|
+
import {
|
|
14
|
+
ToolComponent,
|
|
15
|
+
ToolRegistry,
|
|
16
|
+
ToolValidator,
|
|
17
|
+
getMaxOutputSize,
|
|
18
|
+
setToolConfigComponent
|
|
19
|
+
} from "../../shared/@ai-setting/roy-agent-core-hxsbegfc.js";
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-yanpq5gb.js";
|
|
19
21
|
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
22
|
+
import"../../shared/@ai-setting/roy-agent-core-hvdfgvfz.js";
|
|
20
23
|
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
21
24
|
import"../../shared/@ai-setting/roy-agent-core-rgckng3p.js";
|
|
22
25
|
import"../../shared/@ai-setting/roy-agent-core-b8r4tfqq.js";
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
DAGManager,
|
|
3
2
|
EventBus,
|
|
4
3
|
Executor,
|
|
5
4
|
NodeRegistry,
|
|
6
5
|
Scheduler,
|
|
7
6
|
WorkflowEngine,
|
|
8
7
|
init_engine
|
|
9
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../../../shared/@ai-setting/roy-agent-core-3f6k060j.js";
|
|
10
9
|
import"../../../shared/@ai-setting/roy-agent-core-5kdw0p98.js";
|
|
11
10
|
import"../../../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
12
11
|
import"../../../shared/@ai-setting/roy-agent-core-gb9gbkc3.js";
|
|
@@ -14,6 +13,9 @@ import"../../../shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
|
14
13
|
import"../../../shared/@ai-setting/roy-agent-core-hc20420t.js";
|
|
15
14
|
import"../../../shared/@ai-setting/roy-agent-core-qnrf2aw6.js";
|
|
16
15
|
import"../../../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
16
|
+
import {
|
|
17
|
+
DAGManager
|
|
18
|
+
} from "../../../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
17
19
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
18
20
|
import"../../../shared/@ai-setting/roy-agent-core-7tp56w6n.js";
|
|
19
21
|
import"../../../shared/@ai-setting/roy-agent-core-qg4rma4c.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-qbq3jgrn.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-fjexv5nm.js";
|
|
5
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
import"../../shared/@ai-setting/roy-agent-core-3f6k060j.js";
|
|
6
6
|
import"../../shared/@ai-setting/roy-agent-core-5kdw0p98.js";
|
|
7
7
|
import"../../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
8
8
|
import"../../shared/@ai-setting/roy-agent-core-gb9gbkc3.js";
|
|
@@ -60,9 +60,11 @@ import {
|
|
|
60
60
|
pathNotFound,
|
|
61
61
|
unresolvedVariable
|
|
62
62
|
} from "../../shared/@ai-setting/roy-agent-core-qnrf2aw6.js";
|
|
63
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
63
|
+
import"../../shared/@ai-setting/roy-agent-core-32m0nb9j.js";
|
|
64
64
|
import"../../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
65
65
|
import"../../shared/@ai-setting/roy-agent-core-tq9528d3.js";
|
|
66
|
+
import"../../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
67
|
+
import"../../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
66
68
|
import {
|
|
67
69
|
Edge,
|
|
68
70
|
NodeAs,
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
WorkflowRunStopInputSchema,
|
|
9
9
|
WorkflowSearchInputSchema,
|
|
10
10
|
WorkflowTagListInputSchema,
|
|
11
|
+
WorkflowValidateInputSchema,
|
|
11
12
|
askUserTool,
|
|
12
13
|
askUserToolInstance,
|
|
13
14
|
createLegacyRunWorkflowTool,
|
|
@@ -19,10 +20,11 @@ import {
|
|
|
19
20
|
createWorkflowRunStopTool,
|
|
20
21
|
createWorkflowSearchTool,
|
|
21
22
|
createWorkflowTagListTool,
|
|
23
|
+
createWorkflowValidateTool,
|
|
22
24
|
getRunWorkflowTool,
|
|
23
25
|
initRunWorkflowTool,
|
|
24
26
|
resetRunWorkflowTool
|
|
25
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
27
|
+
} from "../../../shared/@ai-setting/roy-agent-core-32m0nb9j.js";
|
|
26
28
|
import {
|
|
27
29
|
WORKFLOW_SUBMIT_OUTPUT_TOOL_NAME,
|
|
28
30
|
WorkflowJsonOutputMarker,
|
|
@@ -31,6 +33,8 @@ import {
|
|
|
31
33
|
parseWorkflowJsonOutput
|
|
32
34
|
} from "../../../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
33
35
|
import"../../../shared/@ai-setting/roy-agent-core-tq9528d3.js";
|
|
36
|
+
import"../../../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
37
|
+
import"../../../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
34
38
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
35
39
|
import"../../../shared/@ai-setting/roy-agent-core-k05v31rc.js";
|
|
36
40
|
import"../../../shared/@ai-setting/roy-agent-core-shme7set.js";
|
|
@@ -45,6 +49,7 @@ export {
|
|
|
45
49
|
parseWorkflowJsonOutput,
|
|
46
50
|
initRunWorkflowTool,
|
|
47
51
|
getRunWorkflowTool,
|
|
52
|
+
createWorkflowValidateTool,
|
|
48
53
|
createWorkflowTagListTool,
|
|
49
54
|
createWorkflowSearchTool,
|
|
50
55
|
createWorkflowRunStopTool,
|
|
@@ -57,6 +62,7 @@ export {
|
|
|
57
62
|
createLegacyRunWorkflowTool,
|
|
58
63
|
askUserToolInstance,
|
|
59
64
|
askUserTool,
|
|
65
|
+
WorkflowValidateInputSchema,
|
|
60
66
|
WorkflowTagListInputSchema,
|
|
61
67
|
WorkflowSearchInputSchema,
|
|
62
68
|
WorkflowRunStopInputSchema,
|
|
@@ -9,6 +9,10 @@ import {
|
|
|
9
9
|
init_node_id_utils
|
|
10
10
|
} from "../../../shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
11
11
|
import"../../../shared/@ai-setting/roy-agent-core-qnrf2aw6.js";
|
|
12
|
+
import {
|
|
13
|
+
validateWorkflowDefinition
|
|
14
|
+
} from "../../../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
15
|
+
import"../../../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
12
16
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
13
17
|
import {
|
|
14
18
|
TracedAs,
|
|
@@ -451,6 +455,7 @@ __legacyDecorateClassTS([
|
|
|
451
455
|
TracedAs("recovery.validator.validateNested", { recordParams: true, recordResult: true, log: true })
|
|
452
456
|
], RecoveryValidator.prototype, "validateNestedWorkflows", null);
|
|
453
457
|
export {
|
|
458
|
+
validateWorkflowDefinition,
|
|
454
459
|
resolveTemplates,
|
|
455
460
|
resolveTemplateString,
|
|
456
461
|
getFromMapWithNormalization,
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PromptComponent,
|
|
3
|
-
PromptStore
|
|
4
|
-
|
|
5
|
-
getBuiltInPromptNames
|
|
6
|
-
} from "./shared/@ai-setting/roy-agent-core-mmkyydw7.js";
|
|
3
|
+
PromptStore
|
|
4
|
+
} from "./shared/@ai-setting/roy-agent-core-w6bmrgap.js";
|
|
7
5
|
import {
|
|
8
6
|
LLMComponent,
|
|
9
7
|
LLMConfigSchema,
|
|
@@ -18,11 +16,7 @@ import {
|
|
|
18
16
|
import {
|
|
19
17
|
CommandsComponent
|
|
20
18
|
} from "./shared/@ai-setting/roy-agent-core-3952rkj0.js";
|
|
21
|
-
import
|
|
22
|
-
ToolComponent,
|
|
23
|
-
ToolRegistry,
|
|
24
|
-
ToolValidator
|
|
25
|
-
} from "./shared/@ai-setting/roy-agent-core-3arrpf7n.js";
|
|
19
|
+
import"./shared/@ai-setting/roy-agent-core-pt7as39r.js";
|
|
26
20
|
import {
|
|
27
21
|
bashTool,
|
|
28
22
|
editFileTool,
|
|
@@ -32,7 +26,7 @@ import {
|
|
|
32
26
|
grepTool,
|
|
33
27
|
readFileTool,
|
|
34
28
|
writeFileTool
|
|
35
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
29
|
+
} from "./shared/@ai-setting/roy-agent-core-xnxyzaw4.js";
|
|
36
30
|
import {
|
|
37
31
|
closeDatabase
|
|
38
32
|
} from "./shared/@ai-setting/roy-agent-core-h4h55x4h.js";
|
|
@@ -58,7 +52,7 @@ import {
|
|
|
58
52
|
BaseEnvironment,
|
|
59
53
|
generateDescendingId,
|
|
60
54
|
generateId
|
|
61
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
55
|
+
} from "./shared/@ai-setting/roy-agent-core-bwjpte58.js";
|
|
62
56
|
import {
|
|
63
57
|
EventSourceComponent,
|
|
64
58
|
TimerInstance,
|
|
@@ -66,7 +60,7 @@ import {
|
|
|
66
60
|
getBuiltInHandler,
|
|
67
61
|
larkCliHandler,
|
|
68
62
|
timerHandler
|
|
69
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
63
|
+
} from "./shared/@ai-setting/roy-agent-core-2q7cshpm.js";
|
|
70
64
|
import {
|
|
71
65
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
72
66
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -84,20 +78,23 @@ import {
|
|
|
84
78
|
PluginComponent
|
|
85
79
|
} from "./shared/@ai-setting/roy-agent-core-t1ef8hf2.js";
|
|
86
80
|
import {
|
|
87
|
-
TaskTagPlugin
|
|
88
|
-
|
|
89
|
-
|
|
81
|
+
TaskTagPlugin
|
|
82
|
+
} from "./shared/@ai-setting/roy-agent-core-m3dkyprg.js";
|
|
83
|
+
import {
|
|
84
|
+
getBuiltInPrompt,
|
|
85
|
+
getBuiltInPromptNames
|
|
86
|
+
} from "./shared/@ai-setting/roy-agent-core-83d035pp.js";
|
|
90
87
|
import {
|
|
91
88
|
BasePlugin
|
|
92
89
|
} from "./shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
93
90
|
import {
|
|
94
91
|
WorkflowComponent
|
|
95
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
92
|
+
} from "./shared/@ai-setting/roy-agent-core-qbq3jgrn.js";
|
|
96
93
|
import {
|
|
97
94
|
init_node_registry_helper,
|
|
98
95
|
registerDecoratorNodeType
|
|
99
96
|
} from "./shared/@ai-setting/roy-agent-core-fjexv5nm.js";
|
|
100
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
97
|
+
import"./shared/@ai-setting/roy-agent-core-3f6k060j.js";
|
|
101
98
|
import"./shared/@ai-setting/roy-agent-core-5kdw0p98.js";
|
|
102
99
|
import"./shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
103
100
|
import"./shared/@ai-setting/roy-agent-core-gb9gbkc3.js";
|
|
@@ -105,9 +102,11 @@ import"./shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
|
105
102
|
import"./shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
106
103
|
import"./shared/@ai-setting/roy-agent-core-hc20420t.js";
|
|
107
104
|
import"./shared/@ai-setting/roy-agent-core-qnrf2aw6.js";
|
|
108
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
105
|
+
import"./shared/@ai-setting/roy-agent-core-32m0nb9j.js";
|
|
109
106
|
import"./shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
110
107
|
import"./shared/@ai-setting/roy-agent-core-tq9528d3.js";
|
|
108
|
+
import"./shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
109
|
+
import"./shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
111
110
|
import {
|
|
112
111
|
Edge,
|
|
113
112
|
NodeAs,
|
|
@@ -119,35 +118,44 @@ import"./shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
|
119
118
|
import {
|
|
120
119
|
AgentComponent,
|
|
121
120
|
AgentComponentConfigSchema
|
|
122
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
121
|
+
} from "./shared/@ai-setting/roy-agent-core-fgpnv7dt.js";
|
|
123
122
|
import {
|
|
124
123
|
createInvokeConfig,
|
|
125
124
|
invoke,
|
|
126
125
|
invokeNonStream,
|
|
127
126
|
parseModelString
|
|
128
127
|
} from "./shared/@ai-setting/roy-agent-core-r0m0at3x.js";
|
|
128
|
+
import {
|
|
129
|
+
ToolComponent,
|
|
130
|
+
ToolRegistry,
|
|
131
|
+
ToolValidator
|
|
132
|
+
} from "./shared/@ai-setting/roy-agent-core-hxsbegfc.js";
|
|
133
|
+
import {
|
|
134
|
+
createAutoTaskPlugin
|
|
135
|
+
} from "./shared/@ai-setting/roy-agent-core-yanpq5gb.js";
|
|
129
136
|
import {
|
|
130
137
|
AskUserError,
|
|
131
138
|
init_workflow_hil
|
|
132
139
|
} from "./shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
133
140
|
import {
|
|
134
141
|
TaskComponent
|
|
135
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
142
|
+
} from "./shared/@ai-setting/roy-agent-core-ewr1nw7t.js";
|
|
136
143
|
import"./shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
137
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
144
|
+
import"./shared/@ai-setting/roy-agent-core-mw4ty0ba.js";
|
|
145
|
+
import"./shared/@ai-setting/roy-agent-core-hvdfgvfz.js";
|
|
138
146
|
import {
|
|
139
147
|
SQLiteTaskStore,
|
|
140
148
|
getDefaultTaskDbPath
|
|
141
149
|
} from "./shared/@ai-setting/roy-agent-core-pcdzfwdv.js";
|
|
142
150
|
import {
|
|
143
151
|
AgentRegistry
|
|
144
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
152
|
+
} from "./shared/@ai-setting/roy-agent-core-nqzt9ne4.js";
|
|
145
153
|
import {
|
|
146
154
|
XDG_PATHS,
|
|
147
155
|
getXDGPath,
|
|
148
156
|
getXDGPaths
|
|
149
157
|
} from "./shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
150
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
158
|
+
import"./shared/@ai-setting/roy-agent-core-h5867smx.js";
|
|
151
159
|
import"./shared/@ai-setting/roy-agent-core-t94ktchq.js";
|
|
152
160
|
import {
|
|
153
161
|
TaskHookPoints
|
|
@@ -174,12 +182,11 @@ import"./shared/@ai-setting/roy-agent-core-fnv3ev18.js";
|
|
|
174
182
|
import"./shared/@ai-setting/roy-agent-core-djtkntar.js";
|
|
175
183
|
import {
|
|
176
184
|
SessionComponent
|
|
177
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
185
|
+
} from "./shared/@ai-setting/roy-agent-core-fvfc7f6v.js";
|
|
178
186
|
import"./shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
179
187
|
import {
|
|
180
188
|
MemorySessionStore
|
|
181
189
|
} from "./shared/@ai-setting/roy-agent-core-q7sqeax6.js";
|
|
182
|
-
import"./shared/@ai-setting/roy-agent-core-x3gtyqax.js";
|
|
183
190
|
import"./shared/@ai-setting/roy-agent-core-c1j7ev4e.js";
|
|
184
191
|
import"./shared/@ai-setting/roy-agent-core-ce10b0ez.js";
|
|
185
192
|
import"./shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|