@ai-setting/roy-agent-core 1.6.11 → 1.6.12
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 +2 -2
- package/dist/env/event-source/index.js +3 -3
- package/dist/env/index.js +10 -10
- package/dist/env/prompt/index.js +2 -2
- package/dist/env/task/delegate/index.js +3 -3
- package/dist/env/task/index.js +6 -6
- package/dist/env/task/plugins/index.js +2 -2
- package/dist/env/task/storage/index.js +2 -1
- package/dist/env/task/tools/operation/index.js +1 -1
- package/dist/index.js +11 -11
- package/dist/shared/@ai-setting/{roy-agent-core-m38q2azm.js → roy-agent-core-1bvv6s75.js} +3 -1
- package/dist/shared/@ai-setting/{roy-agent-core-wqe84f84.js → roy-agent-core-3bdpnmtg.js} +29 -0
- package/dist/shared/@ai-setting/{roy-agent-core-5w9a1eqa.js → roy-agent-core-7a3gf3tw.js} +2 -2
- package/dist/shared/@ai-setting/roy-agent-core-9abv4ewh.js +1122 -0
- package/dist/shared/@ai-setting/{roy-agent-core-0cftbg62.js → roy-agent-core-asp5p3zx.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-38kbfarg.js → roy-agent-core-cxdnzn17.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-3rs38pf7.js → roy-agent-core-dntkpwqq.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-trdpar9f.js → roy-agent-core-ms5dp89r.js} +338 -20
- package/dist/shared/@ai-setting/{roy-agent-core-2ek596yd.js → roy-agent-core-q2bw3cwd.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-y5ymc4f8.js → roy-agent-core-q7rt3x8d.js} +45 -13
- package/dist/shared/@ai-setting/roy-agent-core-rn57psp0.js +396 -0
- package/package.json +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-9xby523m.js +0 -961
- package/dist/shared/@ai-setting/roy-agent-core-t94ktchq.js +0 -213
package/dist/env/agent/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
AgentComponent,
|
|
3
3
|
AgentComponentConfigSchema,
|
|
4
4
|
SummaryAgent
|
|
5
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
} from "../../shared/@ai-setting/roy-agent-core-1bvv6s75.js";
|
|
6
6
|
import"../../shared/@ai-setting/roy-agent-core-dcd1s7ct.js";
|
|
7
7
|
import"../../shared/@ai-setting/roy-agent-core-zs31w092.js";
|
|
8
8
|
import"../../shared/@ai-setting/roy-agent-core-5h49ct1a.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
10
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-3bdpnmtg.js";
|
|
11
11
|
import"../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
12
12
|
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
13
13
|
import"../../shared/@ai-setting/roy-agent-core-yfhgxh5a.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
larkCliHandler,
|
|
11
11
|
resolveBountyIMSystemPrompt,
|
|
12
12
|
timerHandler
|
|
13
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
13
|
+
} from "../../shared/@ai-setting/roy-agent-core-q2bw3cwd.js";
|
|
14
14
|
import {
|
|
15
15
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
16
16
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
validateEventSourceConfig
|
|
22
22
|
} from "../../shared/@ai-setting/roy-agent-core-ds5f75pg.js";
|
|
23
23
|
import"../../shared/@ai-setting/roy-agent-core-xxgazz27.js";
|
|
24
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
24
|
+
import"../../shared/@ai-setting/roy-agent-core-q7rt3x8d.js";
|
|
25
25
|
import"../../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
26
26
|
import"../../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
27
27
|
import"../../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
28
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
28
|
+
import"../../shared/@ai-setting/roy-agent-core-ms5dp89r.js";
|
|
29
29
|
import"../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
30
30
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
31
31
|
import"../../shared/@ai-setting/roy-agent-core-j62bjagf.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-asp5p3zx.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-q2bw3cwd.js";
|
|
9
9
|
import {
|
|
10
10
|
EventSourceInitHooks,
|
|
11
11
|
getDefaultConfigForType,
|
|
@@ -17,7 +17,7 @@ import"../shared/@ai-setting/roy-agent-core-xxgazz27.js";
|
|
|
17
17
|
import {
|
|
18
18
|
PluginComponent
|
|
19
19
|
} from "../shared/@ai-setting/roy-agent-core-80bdhnwk.js";
|
|
20
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
import"../shared/@ai-setting/roy-agent-core-q7rt3x8d.js";
|
|
21
21
|
import"../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
22
22
|
import {
|
|
23
23
|
WorkflowComponent
|
|
@@ -41,29 +41,29 @@ import"../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
|
41
41
|
import {
|
|
42
42
|
AgentComponent,
|
|
43
43
|
AgentComponentConfigSchema
|
|
44
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
44
|
+
} from "../shared/@ai-setting/roy-agent-core-1bvv6s75.js";
|
|
45
45
|
import"../shared/@ai-setting/roy-agent-core-dcd1s7ct.js";
|
|
46
46
|
import"../shared/@ai-setting/roy-agent-core-zs31w092.js";
|
|
47
47
|
import"../shared/@ai-setting/roy-agent-core-5h49ct1a.js";
|
|
48
48
|
import"../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
49
49
|
import {
|
|
50
50
|
TaskComponent
|
|
51
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
51
|
+
} from "../shared/@ai-setting/roy-agent-core-dntkpwqq.js";
|
|
52
52
|
import"../shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
53
53
|
import"../shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
54
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
54
|
+
import"../shared/@ai-setting/roy-agent-core-7a3gf3tw.js";
|
|
55
55
|
import"../shared/@ai-setting/roy-agent-core-pzeexnhf.js";
|
|
56
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
57
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
56
|
+
import"../shared/@ai-setting/roy-agent-core-9abv4ewh.js";
|
|
57
|
+
import"../shared/@ai-setting/roy-agent-core-ms5dp89r.js";
|
|
58
58
|
import"../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
59
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
59
|
+
import"../shared/@ai-setting/roy-agent-core-3bdpnmtg.js";
|
|
60
60
|
import {
|
|
61
61
|
XDG_PATHS,
|
|
62
62
|
getXDGPath,
|
|
63
63
|
getXDGPaths
|
|
64
64
|
} from "../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
65
65
|
import"../shared/@ai-setting/roy-agent-core-rpq0mcvv.js";
|
|
66
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
66
|
+
import"../shared/@ai-setting/roy-agent-core-rn57psp0.js";
|
|
67
67
|
import"../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
68
68
|
import {
|
|
69
69
|
McpComponent
|
package/dist/env/prompt/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
PromptConfigSchema,
|
|
4
4
|
PromptPathSchema,
|
|
5
5
|
PromptRenderer
|
|
6
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
7
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../shared/@ai-setting/roy-agent-core-cxdnzn17.js";
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-ms5dp89r.js";
|
|
8
8
|
import"../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
10
10
|
import"../../shared/@ai-setting/roy-agent-core-j62bjagf.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
BackgroundTaskManager,
|
|
4
4
|
createDelegateTool,
|
|
5
5
|
createStopTool
|
|
6
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../../shared/@ai-setting/roy-agent-core-7a3gf3tw.js";
|
|
7
7
|
import"../../../shared/@ai-setting/roy-agent-core-pzeexnhf.js";
|
|
8
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
import"../../../shared/@ai-setting/roy-agent-core-ms5dp89r.js";
|
|
9
9
|
import"../../../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
10
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-3bdpnmtg.js";
|
|
11
11
|
import"../../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
12
12
|
import"../../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-dbkkjmqz.js";
|
package/dist/env/task/index.js
CHANGED
|
@@ -5,23 +5,23 @@ 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-dntkpwqq.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
10
10
|
import {
|
|
11
11
|
TaskEntityEventTypes
|
|
12
12
|
} from "../../shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
13
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-7a3gf3tw.js";
|
|
14
14
|
import"../../shared/@ai-setting/roy-agent-core-pzeexnhf.js";
|
|
15
15
|
import {
|
|
16
16
|
SQLiteTaskStore,
|
|
17
17
|
getDefaultTaskDbPath
|
|
18
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
19
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
} from "../../shared/@ai-setting/roy-agent-core-9abv4ewh.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-ms5dp89r.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
21
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-3bdpnmtg.js";
|
|
22
22
|
import"../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
23
23
|
import"../../shared/@ai-setting/roy-agent-core-rpq0mcvv.js";
|
|
24
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
24
|
+
import"../../shared/@ai-setting/roy-agent-core-rn57psp0.js";
|
|
25
25
|
import"../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
26
26
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
27
27
|
import"../../shared/@ai-setting/roy-agent-core-j62bjagf.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
formatExtractorInput,
|
|
9
9
|
formatExtractorInputFromDescription,
|
|
10
10
|
parseExtractorOutput
|
|
11
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
+
} from "../../../shared/@ai-setting/roy-agent-core-q7rt3x8d.js";
|
|
12
12
|
import"../../../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
14
14
|
import"../../../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
15
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
15
|
+
import"../../../shared/@ai-setting/roy-agent-core-ms5dp89r.js";
|
|
16
16
|
import"../../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
17
17
|
import"../../../shared/@ai-setting/roy-agent-core-9hqqhye6.js";
|
|
18
18
|
import"../../../shared/@ai-setting/roy-agent-core-endah27g.js";
|
|
@@ -2,7 +2,8 @@ import {
|
|
|
2
2
|
SQLiteTaskStore,
|
|
3
3
|
getDefaultDataDir,
|
|
4
4
|
getDefaultTaskDbPath
|
|
5
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
} from "../../../shared/@ai-setting/roy-agent-core-9abv4ewh.js";
|
|
6
|
+
import"../../../shared/@ai-setting/roy-agent-core-fdm579b1.js";
|
|
6
7
|
import"../../../shared/@ai-setting/roy-agent-core-vyygk314.js";
|
|
7
8
|
import"../../../shared/@ai-setting/roy-agent-core-7z9b1fm8.js";
|
|
8
9
|
import"../../../shared/@ai-setting/roy-agent-core-c6592r3c.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getOperationTool,
|
|
5
5
|
listOperationsTool,
|
|
6
6
|
updateOperationTool
|
|
7
|
-
} from "../../../../shared/@ai-setting/roy-agent-core-
|
|
7
|
+
} from "../../../../shared/@ai-setting/roy-agent-core-rn57psp0.js";
|
|
8
8
|
import"../../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
9
9
|
export {
|
|
10
10
|
updateOperationTool,
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PromptComponent,
|
|
3
3
|
PromptStore
|
|
4
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
4
|
+
} from "./shared/@ai-setting/roy-agent-core-cxdnzn17.js";
|
|
5
5
|
import {
|
|
6
6
|
LLMComponent,
|
|
7
7
|
LLMConfigSchema,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
BaseEnvironment,
|
|
64
64
|
generateDescendingId,
|
|
65
65
|
generateId
|
|
66
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
66
|
+
} from "./shared/@ai-setting/roy-agent-core-asp5p3zx.js";
|
|
67
67
|
import {
|
|
68
68
|
BountyIMInstance,
|
|
69
69
|
EventSourceComponent,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
larkCliHandler,
|
|
76
76
|
resolveBountyIMSystemPrompt,
|
|
77
77
|
timerHandler
|
|
78
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
78
|
+
} from "./shared/@ai-setting/roy-agent-core-q2bw3cwd.js";
|
|
79
79
|
import {
|
|
80
80
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
81
81
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
import {
|
|
96
96
|
TaskTagPlugin,
|
|
97
97
|
createAutoTaskPlugin
|
|
98
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
98
|
+
} from "./shared/@ai-setting/roy-agent-core-q7rt3x8d.js";
|
|
99
99
|
import {
|
|
100
100
|
BasePlugin
|
|
101
101
|
} from "./shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
@@ -130,7 +130,7 @@ import"./shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
|
130
130
|
import {
|
|
131
131
|
AgentComponent,
|
|
132
132
|
AgentComponentConfigSchema
|
|
133
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
133
|
+
} from "./shared/@ai-setting/roy-agent-core-1bvv6s75.js";
|
|
134
134
|
import {
|
|
135
135
|
createInvokeConfig,
|
|
136
136
|
invoke,
|
|
@@ -149,30 +149,30 @@ import {
|
|
|
149
149
|
} from "./shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
150
150
|
import {
|
|
151
151
|
TaskComponent
|
|
152
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
152
|
+
} from "./shared/@ai-setting/roy-agent-core-dntkpwqq.js";
|
|
153
153
|
import"./shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
154
154
|
import"./shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
155
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
155
|
+
import"./shared/@ai-setting/roy-agent-core-7a3gf3tw.js";
|
|
156
156
|
import"./shared/@ai-setting/roy-agent-core-pzeexnhf.js";
|
|
157
157
|
import {
|
|
158
158
|
SQLiteTaskStore,
|
|
159
159
|
getDefaultTaskDbPath
|
|
160
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
160
|
+
} from "./shared/@ai-setting/roy-agent-core-9abv4ewh.js";
|
|
161
161
|
import {
|
|
162
162
|
getBuiltInPrompt,
|
|
163
163
|
getBuiltInPromptNames
|
|
164
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
164
|
+
} from "./shared/@ai-setting/roy-agent-core-ms5dp89r.js";
|
|
165
165
|
import"./shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
166
166
|
import {
|
|
167
167
|
AgentRegistry
|
|
168
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
168
|
+
} from "./shared/@ai-setting/roy-agent-core-3bdpnmtg.js";
|
|
169
169
|
import {
|
|
170
170
|
XDG_PATHS,
|
|
171
171
|
getXDGPath,
|
|
172
172
|
getXDGPaths
|
|
173
173
|
} from "./shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
174
174
|
import"./shared/@ai-setting/roy-agent-core-rpq0mcvv.js";
|
|
175
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
175
|
+
import"./shared/@ai-setting/roy-agent-core-rn57psp0.js";
|
|
176
176
|
import {
|
|
177
177
|
TaskHookPoints
|
|
178
178
|
} from "./shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./roy-agent-core-e25xkv53.js";
|
|
11
11
|
import {
|
|
12
12
|
AgentRegistry
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-3bdpnmtg.js";
|
|
14
14
|
import {
|
|
15
15
|
ContextError
|
|
16
16
|
} from "./roy-agent-core-ctdhjv68.js";
|
|
@@ -365,6 +365,8 @@ class AgentComponent extends BaseComponent {
|
|
|
365
365
|
logger.info("[AgentComponent] Registered built-in workflow-runner");
|
|
366
366
|
this.registry.registerJsonExtractAgent();
|
|
367
367
|
logger.info("[AgentComponent] Registered built-in json-extract agent");
|
|
368
|
+
this.registry.registerWorkflowCreator();
|
|
369
|
+
logger.info("[AgentComponent] Registered built-in workflow-creator");
|
|
368
370
|
this.registry.registerWorkflowExtractAgent();
|
|
369
371
|
logger.info("[AgentComponent] Registered built-in workflow-extract agent");
|
|
370
372
|
this.registry.registerCompactAgent();
|
|
@@ -216,6 +216,28 @@ class AgentRegistry {
|
|
|
216
216
|
};
|
|
217
217
|
this.agents.set(name, agent);
|
|
218
218
|
}
|
|
219
|
+
registerWorkflowCreator() {
|
|
220
|
+
const name = "workflow-creator";
|
|
221
|
+
if (this.agents.has(name))
|
|
222
|
+
return;
|
|
223
|
+
const agent = {
|
|
224
|
+
name,
|
|
225
|
+
type: "sub",
|
|
226
|
+
description: "Workflow 构建子智能体 — 与用户多轮交互式协作设计、验证并注册 workflow",
|
|
227
|
+
systemPromptRef: "workflow-creator",
|
|
228
|
+
allowedTools: [
|
|
229
|
+
"workflow_list",
|
|
230
|
+
"workflow_get",
|
|
231
|
+
"workflow_search",
|
|
232
|
+
"workflow_tag_list",
|
|
233
|
+
"workflow_validate",
|
|
234
|
+
"workflow_add"
|
|
235
|
+
],
|
|
236
|
+
deniedTools: ["delegate_task", "stop_task"],
|
|
237
|
+
maxIterations: 30
|
|
238
|
+
};
|
|
239
|
+
this.agents.set(name, agent);
|
|
240
|
+
}
|
|
219
241
|
registerCompactAgent() {
|
|
220
242
|
const name = "compact";
|
|
221
243
|
if (this.agents.has(name))
|
|
@@ -430,6 +452,13 @@ __legacyDecorateClassTS([
|
|
|
430
452
|
log: true
|
|
431
453
|
})
|
|
432
454
|
], AgentRegistry.prototype, "registerWorkflowRunner", null);
|
|
455
|
+
__legacyDecorateClassTS([
|
|
456
|
+
TracedAs("agent.registry.registerWorkflowCreator", {
|
|
457
|
+
recordParams: false,
|
|
458
|
+
recordResult: true,
|
|
459
|
+
log: true
|
|
460
|
+
})
|
|
461
|
+
], AgentRegistry.prototype, "registerWorkflowCreator", null);
|
|
433
462
|
__legacyDecorateClassTS([
|
|
434
463
|
TracedAs("agent.registry.load", { recordParams: false, recordResult: true, log: true })
|
|
435
464
|
], AgentRegistry.prototype, "load", null);
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./roy-agent-core-pzeexnhf.js";
|
|
5
5
|
import {
|
|
6
6
|
builtInPrompts
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-ms5dp89r.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithBgTaskIdAsync
|
|
10
10
|
} from "./roy-agent-core-c1v263jn.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_SUBAGENT_PROMPT
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-3bdpnmtg.js";
|
|
14
14
|
import {
|
|
15
15
|
TaskHookPoints
|
|
16
16
|
} from "./roy-agent-core-1pg0fepg.js";
|