@ai-setting/roy-agent-core 1.5.49 → 1.5.50
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 +10 -6
- package/dist/env/agent/index.js +7 -7
- package/dist/env/commands/index.js +7 -6
- package/dist/env/context/index.js +6 -2
- package/dist/env/debug/index.js +10 -6
- package/dist/env/event-source/index.js +9 -9
- package/dist/env/hook/index.js +8 -4
- package/dist/env/index.js +20 -20
- package/dist/env/llm/index.js +7 -7
- package/dist/env/log-trace/index.js +7 -7
- package/dist/env/mcp/index.js +7 -6
- package/dist/env/memory/index.js +7 -6
- package/dist/env/plugin/index.js +7 -6
- package/dist/env/prompt/index.js +7 -6
- package/dist/env/session/index.js +7 -7
- package/dist/env/skill/index.js +7 -6
- package/dist/env/task/delegate/index.js +4 -4
- package/dist/env/task/index.js +9 -9
- package/dist/env/task/plugins/index.js +3 -3
- package/dist/env/task/tools/index.js +3 -2
- package/dist/env/tool/index.js +7 -6
- package/dist/env/workflow/engine/index.js +6 -6
- package/dist/env/workflow/index.js +9 -9
- package/dist/index.js +34 -34
- package/dist/shared/@ai-setting/{roy-agent-core-d40gbvzj.js → roy-agent-core-316v7cm4.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-nxf64fn4.js → roy-agent-core-48v06q1b.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-3nw9vxp2.js → roy-agent-core-4b18eceq.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-pxp9yq24.js → roy-agent-core-5ng0awvn.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-cv8kqab8.js → roy-agent-core-5qe84a90.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-5dkewp2h.js → roy-agent-core-8nd895aq.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-n1awj8ks.js → roy-agent-core-9a2n122m.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-476ewnwy.js → roy-agent-core-9sarrbw9.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-dvrfs18y.js → roy-agent-core-a8gvea2f.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-8f8dq3kj.js → roy-agent-core-c7cm1wjt.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ym6qbh1e.js → roy-agent-core-d8v4n80n.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-607ktjxs.js → roy-agent-core-ezfwx334.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-h6bqx4jj.js → roy-agent-core-fpb999vd.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-1a38hg1q.js → roy-agent-core-fy1y1aqx.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-7qj11qp8.js → roy-agent-core-hd6kd06t.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-g3j3ftbw.js → roy-agent-core-m5g2jx7f.js} +9 -9
- package/dist/shared/@ai-setting/{roy-agent-core-4zjdkqry.js → roy-agent-core-mangq9x1.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-sj2yd6g4.js → roy-agent-core-pa9wz5q0.js} +27 -17
- package/dist/shared/@ai-setting/{roy-agent-core-8whpa5yz.js → roy-agent-core-pvswd18d.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-wv9as4ds.js → roy-agent-core-qfdgg56t.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-gfzqwb6v.js → roy-agent-core-rjf59e7k.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-dre9rcs0.js → roy-agent-core-s7bgrtch.js} +17 -4
- package/dist/shared/@ai-setting/{roy-agent-core-2m5qnhv9.js → roy-agent-core-sxd8snnj.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-rwt7b6dh.js → roy-agent-core-t32gmaqn.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-xpw0mtfv.js → roy-agent-core-vfk5mtbx.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-rrsn14cr.js → roy-agent-core-w65c5gac.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-yv7dppda.js → roy-agent-core-wtnwxn8h.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-bjphrqsm.js → roy-agent-core-y30njf6b.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-14fna5qg.js → roy-agent-core-y85xsddt.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-z3pq1nx9.js → roy-agent-core-yq4fv8ce.js} +1 -1
- package/package.json +1 -1
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
Scheduler,
|
|
7
7
|
WorkflowEngine,
|
|
8
8
|
init_engine
|
|
9
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
9
|
+
} from "../../../shared/@ai-setting/roy-agent-core-316v7cm4.js";
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-fy1y1aqx.js";
|
|
11
|
+
import"../../../shared/@ai-setting/roy-agent-core-9a2n122m.js";
|
|
12
12
|
import"../../../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-v002ynpa.js";
|
|
14
14
|
import"../../../shared/@ai-setting/roy-agent-core-6vxg2gmr.js";
|
|
15
15
|
import"../../../shared/@ai-setting/roy-agent-core-qnrf2aw6.js";
|
|
16
16
|
import"../../../shared/@ai-setting/roy-agent-core-nhfy3p8q.js";
|
|
17
17
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
18
|
+
import"../../../shared/@ai-setting/roy-agent-core-48v06q1b.js";
|
|
19
|
+
import"../../../shared/@ai-setting/roy-agent-core-c7cm1wjt.js";
|
|
20
|
+
import"../../../shared/@ai-setting/roy-agent-core-s7bgrtch.js";
|
|
18
21
|
import"../../../shared/@ai-setting/roy-agent-core-q5qj0fes.js";
|
|
19
|
-
import"../../../shared/@ai-setting/roy-agent-core-nxf64fn4.js";
|
|
20
|
-
import"../../../shared/@ai-setting/roy-agent-core-8f8dq3kj.js";
|
|
21
|
-
import"../../../shared/@ai-setting/roy-agent-core-dre9rcs0.js";
|
|
22
22
|
import"../../../shared/@ai-setting/roy-agent-core-10n2jh7p.js";
|
|
23
23
|
import"../../../shared/@ai-setting/roy-agent-core-58k274fg.js";
|
|
24
24
|
import"../../../shared/@ai-setting/roy-agent-core-c6592r3c.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-4b18eceq.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-9bmtxmp6.js";
|
|
5
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
6
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
7
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
import"../../shared/@ai-setting/roy-agent-core-316v7cm4.js";
|
|
6
|
+
import"../../shared/@ai-setting/roy-agent-core-fy1y1aqx.js";
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-9a2n122m.js";
|
|
8
8
|
import"../../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-v002ynpa.js";
|
|
10
10
|
import"../../shared/@ai-setting/roy-agent-core-4t40mkpv.js";
|
|
@@ -79,12 +79,12 @@ import {
|
|
|
79
79
|
createNodeInterruptEvent,
|
|
80
80
|
createWorkflowAskUserEvent
|
|
81
81
|
} from "../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
82
|
+
import"../../shared/@ai-setting/roy-agent-core-rjf59e7k.js";
|
|
83
|
+
import"../../shared/@ai-setting/roy-agent-core-yq4fv8ce.js";
|
|
84
|
+
import"../../shared/@ai-setting/roy-agent-core-48v06q1b.js";
|
|
85
|
+
import"../../shared/@ai-setting/roy-agent-core-c7cm1wjt.js";
|
|
86
|
+
import"../../shared/@ai-setting/roy-agent-core-s7bgrtch.js";
|
|
82
87
|
import"../../shared/@ai-setting/roy-agent-core-q5qj0fes.js";
|
|
83
|
-
import"../../shared/@ai-setting/roy-agent-core-gfzqwb6v.js";
|
|
84
|
-
import"../../shared/@ai-setting/roy-agent-core-z3pq1nx9.js";
|
|
85
|
-
import"../../shared/@ai-setting/roy-agent-core-nxf64fn4.js";
|
|
86
|
-
import"../../shared/@ai-setting/roy-agent-core-8f8dq3kj.js";
|
|
87
|
-
import"../../shared/@ai-setting/roy-agent-core-dre9rcs0.js";
|
|
88
88
|
import"../../shared/@ai-setting/roy-agent-core-10n2jh7p.js";
|
|
89
89
|
import"../../shared/@ai-setting/roy-agent-core-58k274fg.js";
|
|
90
90
|
import"../../shared/@ai-setting/roy-agent-core-c6592r3c.js";
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
PromptStore,
|
|
4
4
|
getBuiltInPrompt,
|
|
5
5
|
getBuiltInPromptNames
|
|
6
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "./shared/@ai-setting/roy-agent-core-5qe84a90.js";
|
|
7
7
|
import {
|
|
8
8
|
LLMComponent,
|
|
9
9
|
LLMConfigSchema,
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
invoke,
|
|
16
16
|
invokeNonStream,
|
|
17
17
|
parseModelString
|
|
18
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
18
|
+
} from "./shared/@ai-setting/roy-agent-core-vfk5mtbx.js";
|
|
19
19
|
import {
|
|
20
20
|
ConfigComponent
|
|
21
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
21
|
+
} from "./shared/@ai-setting/roy-agent-core-pvswd18d.js";
|
|
22
22
|
import {
|
|
23
23
|
CommandsComponent
|
|
24
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
24
|
+
} from "./shared/@ai-setting/roy-agent-core-t32gmaqn.js";
|
|
25
25
|
import {
|
|
26
26
|
ToolComponent,
|
|
27
27
|
ToolRegistry,
|
|
28
28
|
ToolValidator
|
|
29
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
29
|
+
} from "./shared/@ai-setting/roy-agent-core-a8gvea2f.js";
|
|
30
30
|
import {
|
|
31
31
|
bashTool,
|
|
32
32
|
editFileTool,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import"./shared/@ai-setting/roy-agent-core-2grcjaad.js";
|
|
44
44
|
import {
|
|
45
45
|
MemoryComponent
|
|
46
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
46
|
+
} from "./shared/@ai-setting/roy-agent-core-d8v4n80n.js";
|
|
47
47
|
import"./shared/@ai-setting/roy-agent-core-g1s2h0e5.js";
|
|
48
48
|
import {
|
|
49
49
|
MemoryPlugin,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
} from "./shared/@ai-setting/roy-agent-core-c3ct1346.js";
|
|
52
52
|
import {
|
|
53
53
|
DebugComponent
|
|
54
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
54
|
+
} from "./shared/@ai-setting/roy-agent-core-y30njf6b.js";
|
|
55
55
|
import {
|
|
56
56
|
ReplFormatter,
|
|
57
57
|
TraceFormatter,
|
|
@@ -61,13 +61,13 @@ import {
|
|
|
61
61
|
BaseEnvironment,
|
|
62
62
|
generateDescendingId,
|
|
63
63
|
generateId
|
|
64
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
64
|
+
} from "./shared/@ai-setting/roy-agent-core-8nd895aq.js";
|
|
65
65
|
import {
|
|
66
66
|
EventSourceComponent,
|
|
67
67
|
builtInHandlers,
|
|
68
68
|
getBuiltInHandler,
|
|
69
69
|
larkCliHandler
|
|
70
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
70
|
+
} from "./shared/@ai-setting/roy-agent-core-ezfwx334.js";
|
|
71
71
|
import {
|
|
72
72
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
73
73
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -80,26 +80,26 @@ import {
|
|
|
80
80
|
import {
|
|
81
81
|
LogTraceComponent,
|
|
82
82
|
LogTraceConfigSchema
|
|
83
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
83
|
+
} from "./shared/@ai-setting/roy-agent-core-w65c5gac.js";
|
|
84
84
|
import {
|
|
85
85
|
PluginComponent
|
|
86
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
86
|
+
} from "./shared/@ai-setting/roy-agent-core-mangq9x1.js";
|
|
87
87
|
import {
|
|
88
88
|
TaskTagPlugin
|
|
89
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
89
|
+
} from "./shared/@ai-setting/roy-agent-core-y85xsddt.js";
|
|
90
90
|
import {
|
|
91
91
|
BasePlugin
|
|
92
92
|
} from "./shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
93
93
|
import {
|
|
94
94
|
WorkflowComponent
|
|
95
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
95
|
+
} from "./shared/@ai-setting/roy-agent-core-4b18eceq.js";
|
|
96
96
|
import {
|
|
97
97
|
init_node_registry_helper,
|
|
98
98
|
registerDecoratorNodeType
|
|
99
99
|
} from "./shared/@ai-setting/roy-agent-core-9bmtxmp6.js";
|
|
100
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
101
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
102
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
100
|
+
import"./shared/@ai-setting/roy-agent-core-316v7cm4.js";
|
|
101
|
+
import"./shared/@ai-setting/roy-agent-core-fy1y1aqx.js";
|
|
102
|
+
import"./shared/@ai-setting/roy-agent-core-9a2n122m.js";
|
|
103
103
|
import"./shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
104
104
|
import"./shared/@ai-setting/roy-agent-core-v002ynpa.js";
|
|
105
105
|
import"./shared/@ai-setting/roy-agent-core-4t40mkpv.js";
|
|
@@ -118,16 +118,16 @@ import"./shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
|
118
118
|
import {
|
|
119
119
|
AgentComponent,
|
|
120
120
|
AgentComponentConfigSchema
|
|
121
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
121
|
+
} from "./shared/@ai-setting/roy-agent-core-pa9wz5q0.js";
|
|
122
122
|
import {
|
|
123
123
|
AskUserError,
|
|
124
124
|
init_workflow_hil
|
|
125
125
|
} from "./shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
126
126
|
import {
|
|
127
127
|
TaskComponent
|
|
128
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
128
|
+
} from "./shared/@ai-setting/roy-agent-core-wtnwxn8h.js";
|
|
129
129
|
import"./shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
130
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
130
|
+
import"./shared/@ai-setting/roy-agent-core-m5g2jx7f.js";
|
|
131
131
|
import {
|
|
132
132
|
SQLiteTaskStore,
|
|
133
133
|
getDefaultTaskDbPath
|
|
@@ -140,18 +140,18 @@ import {
|
|
|
140
140
|
getXDGPath,
|
|
141
141
|
getXDGPaths
|
|
142
142
|
} from "./shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
143
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
143
|
+
import"./shared/@ai-setting/roy-agent-core-hd6kd06t.js";
|
|
144
144
|
import"./shared/@ai-setting/roy-agent-core-t94ktchq.js";
|
|
145
145
|
import {
|
|
146
146
|
TaskHookPoints
|
|
147
147
|
} from "./shared/@ai-setting/roy-agent-core-92z6t4he.js";
|
|
148
148
|
import {
|
|
149
149
|
SkillComponent
|
|
150
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
150
|
+
} from "./shared/@ai-setting/roy-agent-core-qfdgg56t.js";
|
|
151
151
|
import"./shared/@ai-setting/roy-agent-core-psvxt4c9.js";
|
|
152
152
|
import {
|
|
153
153
|
McpComponent
|
|
154
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
154
|
+
} from "./shared/@ai-setting/roy-agent-core-sxd8snnj.js";
|
|
155
155
|
import {
|
|
156
156
|
AgentError,
|
|
157
157
|
ComponentError,
|
|
@@ -167,33 +167,33 @@ import"./shared/@ai-setting/roy-agent-core-fnv3ev18.js";
|
|
|
167
167
|
import"./shared/@ai-setting/roy-agent-core-1bfmxx89.js";
|
|
168
168
|
import {
|
|
169
169
|
SessionComponent
|
|
170
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
170
|
+
} from "./shared/@ai-setting/roy-agent-core-9sarrbw9.js";
|
|
171
171
|
import"./shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
172
172
|
import {
|
|
173
173
|
MemorySessionStore
|
|
174
174
|
} from "./shared/@ai-setting/roy-agent-core-6mcb7nqa.js";
|
|
175
175
|
import"./shared/@ai-setting/roy-agent-core-kwhv9dcd.js";
|
|
176
176
|
import"./shared/@ai-setting/roy-agent-core-7b35emr7.js";
|
|
177
|
-
import {
|
|
178
|
-
Traced,
|
|
179
|
-
TracedAs,
|
|
180
|
-
TracedLightweight,
|
|
181
|
-
wrapFunction
|
|
182
|
-
} from "./shared/@ai-setting/roy-agent-core-q5qj0fes.js";
|
|
183
177
|
import"./shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
184
178
|
import {
|
|
185
179
|
BaseComponent
|
|
186
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
180
|
+
} from "./shared/@ai-setting/roy-agent-core-rjf59e7k.js";
|
|
187
181
|
import {
|
|
188
182
|
createHook,
|
|
189
183
|
createPriorityHook
|
|
190
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
184
|
+
} from "./shared/@ai-setting/roy-agent-core-yq4fv8ce.js";
|
|
191
185
|
import {
|
|
192
186
|
HookManager,
|
|
193
187
|
globalHookManager
|
|
194
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
195
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
196
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
188
|
+
} from "./shared/@ai-setting/roy-agent-core-48v06q1b.js";
|
|
189
|
+
import"./shared/@ai-setting/roy-agent-core-c7cm1wjt.js";
|
|
190
|
+
import"./shared/@ai-setting/roy-agent-core-s7bgrtch.js";
|
|
191
|
+
import {
|
|
192
|
+
Traced,
|
|
193
|
+
TracedAs,
|
|
194
|
+
TracedLightweight,
|
|
195
|
+
wrapFunction
|
|
196
|
+
} from "./shared/@ai-setting/roy-agent-core-q5qj0fes.js";
|
|
197
197
|
import {
|
|
198
198
|
createLogger,
|
|
199
199
|
getLogDir,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_context
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-c7cm1wjt.js";
|
|
4
4
|
import {
|
|
5
5
|
getEnvContext
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-s7bgrtch.js";
|
|
7
7
|
import {
|
|
8
8
|
__esm
|
|
9
9
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
WorkflowEngine,
|
|
7
7
|
exports_engine,
|
|
8
8
|
init_engine
|
|
9
|
-
} from "./roy-agent-core-
|
|
9
|
+
} from "./roy-agent-core-316v7cm4.js";
|
|
10
10
|
import {
|
|
11
11
|
WorkflowService
|
|
12
12
|
} from "./roy-agent-core-4t40mkpv.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./roy-agent-core-0vbdz0x7.js";
|
|
16
16
|
import {
|
|
17
17
|
BaseComponent
|
|
18
|
-
} from "./roy-agent-core-
|
|
18
|
+
} from "./roy-agent-core-rjf59e7k.js";
|
|
19
19
|
import {
|
|
20
20
|
createLogger,
|
|
21
21
|
init_logger
|
|
@@ -136,7 +136,7 @@ class WorkflowComponent extends BaseComponent {
|
|
|
136
136
|
const agentComponent = this._workflowEnv.getComponent("agent");
|
|
137
137
|
const llmComponent = this._workflowEnv.getComponent("llm");
|
|
138
138
|
if (agentComponent) {
|
|
139
|
-
const { AgentComponentAdapter } = await import("./roy-agent-core-
|
|
139
|
+
const { AgentComponentAdapter } = await import("./roy-agent-core-fpb999vd.js");
|
|
140
140
|
agentRunner = new AgentComponentAdapter(agentComponent, {}, this.sessionComponent, llmComponent);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -208,7 +208,7 @@ class WorkflowComponent extends BaseComponent {
|
|
|
208
208
|
const sessionComponent = this._workflowEnv?.getComponent("session");
|
|
209
209
|
componentLogger.info(`initSqliteService - toolComponent: ${!!toolComponent}, llmComponent: ${!!llmComponent}, skillRegistry: ${!!skillComponent}, sessionComponent: ${!!sessionComponent}`);
|
|
210
210
|
if (llmComponent) {
|
|
211
|
-
const { registerWorkflowJsonOutputPlugin } = await import("./roy-agent-core-
|
|
211
|
+
const { registerWorkflowJsonOutputPlugin } = await import("./roy-agent-core-5ng0awvn.js");
|
|
212
212
|
registerWorkflowJsonOutputPlugin(llmComponent);
|
|
213
213
|
}
|
|
214
214
|
this.createService({
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
tracedExtractStructuredJsonViaLlm,
|
|
11
11
|
tracedRunWorkflowJsonOutputExtraction,
|
|
12
12
|
unregisterWorkflowJsonOutputPlugin
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-9a2n122m.js";
|
|
14
14
|
import"./roy-agent-core-nhfy3p8q.js";
|
|
15
15
|
import"./roy-agent-core-e25xkv53.js";
|
|
16
|
+
import"./roy-agent-core-48v06q1b.js";
|
|
17
|
+
import"./roy-agent-core-c7cm1wjt.js";
|
|
18
|
+
import"./roy-agent-core-s7bgrtch.js";
|
|
16
19
|
import"./roy-agent-core-q5qj0fes.js";
|
|
17
|
-
import"./roy-agent-core-nxf64fn4.js";
|
|
18
|
-
import"./roy-agent-core-8f8dq3kj.js";
|
|
19
|
-
import"./roy-agent-core-dre9rcs0.js";
|
|
20
20
|
import"./roy-agent-core-10n2jh7p.js";
|
|
21
21
|
import"./roy-agent-core-58k274fg.js";
|
|
22
22
|
import"./roy-agent-core-c6592r3c.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseComponent
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-rjf59e7k.js";
|
|
11
11
|
import {
|
|
12
12
|
createHook
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-yq4fv8ce.js";
|
|
14
14
|
import {
|
|
15
15
|
globalHookManager,
|
|
16
16
|
init_global_hook_manager
|
|
17
|
-
} from "./roy-agent-core-
|
|
17
|
+
} from "./roy-agent-core-48v06q1b.js";
|
|
18
18
|
import {
|
|
19
19
|
createLogger,
|
|
20
20
|
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-q5qj0fes.js";
|
|
9
5
|
import {
|
|
10
6
|
BaseComponent
|
|
11
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-rjf59e7k.js";
|
|
12
8
|
import {
|
|
13
9
|
init_context
|
|
14
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-c7cm1wjt.js";
|
|
11
|
+
import {
|
|
12
|
+
TracedAs,
|
|
13
|
+
init_decorator
|
|
14
|
+
} from "./roy-agent-core-q5qj0fes.js";
|
|
15
15
|
import {
|
|
16
16
|
createLogger,
|
|
17
17
|
init_logger
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
AskUserError,
|
|
9
9
|
init_workflow_hil
|
|
10
10
|
} from "./roy-agent-core-e25xkv53.js";
|
|
11
|
+
import {
|
|
12
|
+
globalHookManager,
|
|
13
|
+
init_global_hook_manager
|
|
14
|
+
} from "./roy-agent-core-48v06q1b.js";
|
|
11
15
|
import {
|
|
12
16
|
init_decorator,
|
|
13
17
|
wrapFunction
|
|
14
18
|
} from "./roy-agent-core-q5qj0fes.js";
|
|
15
|
-
import {
|
|
16
|
-
globalHookManager,
|
|
17
|
-
init_global_hook_manager
|
|
18
|
-
} from "./roy-agent-core-nxf64fn4.js";
|
|
19
19
|
import {
|
|
20
20
|
createLogger,
|
|
21
21
|
init_logger
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SummaryAgent
|
|
12
12
|
} from "./roy-agent-core-kwhv9dcd.js";
|
|
13
|
-
import {
|
|
14
|
-
TracedAs,
|
|
15
|
-
init_decorator
|
|
16
|
-
} from "./roy-agent-core-q5qj0fes.js";
|
|
17
13
|
import {
|
|
18
14
|
envKeyToConfigKey
|
|
19
15
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
20
16
|
import {
|
|
21
17
|
BaseComponent
|
|
22
|
-
} from "./roy-agent-core-
|
|
18
|
+
} from "./roy-agent-core-rjf59e7k.js";
|
|
19
|
+
import {
|
|
20
|
+
TracedAs,
|
|
21
|
+
init_decorator
|
|
22
|
+
} from "./roy-agent-core-q5qj0fes.js";
|
|
23
23
|
import {
|
|
24
24
|
createLogger,
|
|
25
25
|
init_logger
|
|
@@ -8,12 +8,12 @@ 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-rjf59e7k.js";
|
|
12
12
|
import {
|
|
13
13
|
ToolHookPoints,
|
|
14
14
|
globalHookManager,
|
|
15
15
|
init_global_hook_manager
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-48v06q1b.js";
|
|
17
17
|
import {
|
|
18
18
|
createLogger,
|
|
19
19
|
init_logger
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TaskTagPlugin,
|
|
3
3
|
createLarkCliTaskNotifyHook
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-y85xsddt.js";
|
|
5
5
|
import {
|
|
6
6
|
envKeyToConfigKey
|
|
7
7
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseComponent
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-rjf59e7k.js";
|
|
11
11
|
import {
|
|
12
12
|
globalHookManager,
|
|
13
13
|
init_global_hook_manager
|
|
14
|
-
} from "./roy-agent-core-
|
|
14
|
+
} from "./roy-agent-core-48v06q1b.js";
|
|
15
15
|
import {
|
|
16
16
|
init_context
|
|
17
|
-
} from "./roy-agent-core-
|
|
17
|
+
} from "./roy-agent-core-c7cm1wjt.js";
|
|
18
18
|
import {
|
|
19
19
|
createEnvContext,
|
|
20
20
|
runWithEnvContext
|
|
21
|
-
} from "./roy-agent-core-
|
|
21
|
+
} from "./roy-agent-core-s7bgrtch.js";
|
|
22
22
|
import {
|
|
23
23
|
createLogger,
|
|
24
24
|
init_logger
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentComponentAdapter,
|
|
3
3
|
init_agent_component_adapter
|
|
4
|
-
} from "./roy-agent-core-
|
|
5
|
-
import"./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-fy1y1aqx.js";
|
|
5
|
+
import"./roy-agent-core-9a2n122m.js";
|
|
6
6
|
import"./roy-agent-core-nhfy3p8q.js";
|
|
7
7
|
import"./roy-agent-core-e25xkv53.js";
|
|
8
|
+
import"./roy-agent-core-48v06q1b.js";
|
|
9
|
+
import"./roy-agent-core-c7cm1wjt.js";
|
|
10
|
+
import"./roy-agent-core-s7bgrtch.js";
|
|
8
11
|
import"./roy-agent-core-q5qj0fes.js";
|
|
9
|
-
import"./roy-agent-core-nxf64fn4.js";
|
|
10
|
-
import"./roy-agent-core-8f8dq3kj.js";
|
|
11
|
-
import"./roy-agent-core-dre9rcs0.js";
|
|
12
12
|
import"./roy-agent-core-10n2jh7p.js";
|
|
13
13
|
import"./roy-agent-core-58k274fg.js";
|
|
14
14
|
import"./roy-agent-core-c6592r3c.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_env_context,
|
|
3
|
-
|
|
4
|
-
} from "./roy-agent-core-
|
|
3
|
+
setCurrentTaskId
|
|
4
|
+
} from "./roy-agent-core-s7bgrtch.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogger,
|
|
7
7
|
init_logger
|
|
@@ -111,7 +111,7 @@ function createTaskTool(taskComponent) {
|
|
|
111
111
|
project_path: params.project_path,
|
|
112
112
|
context: params.context
|
|
113
113
|
});
|
|
114
|
-
|
|
114
|
+
setCurrentTaskId(task.id);
|
|
115
115
|
logger.info(`[createTask] Trace: Task #${task.id} created, currentTaskId=${task.id} set in EnvContext`);
|
|
116
116
|
return {
|
|
117
117
|
success: true,
|
|
@@ -351,7 +351,7 @@ function completeTaskTool(taskComponent) {
|
|
|
351
351
|
metadata: { execution_time_ms: 0 }
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
|
-
|
|
354
|
+
setCurrentTaskId(undefined);
|
|
355
355
|
logger2.info(`[completeTask] Trace: Task #${params.task_id} completed, currentTaskId cleared from EnvContext`);
|
|
356
356
|
return {
|
|
357
357
|
success: true,
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
TaskHookPoints
|
|
6
6
|
} from "./roy-agent-core-92z6t4he.js";
|
|
7
|
-
import {
|
|
8
|
-
TracedAs,
|
|
9
|
-
init_decorator
|
|
10
|
-
} from "./roy-agent-core-q5qj0fes.js";
|
|
11
7
|
import {
|
|
12
8
|
globalHookManager,
|
|
13
9
|
init_global_hook_manager
|
|
14
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-48v06q1b.js";
|
|
15
11
|
import {
|
|
16
12
|
init_env_context,
|
|
17
|
-
|
|
18
|
-
} from "./roy-agent-core-
|
|
13
|
+
setCurrentTaskId
|
|
14
|
+
} from "./roy-agent-core-s7bgrtch.js";
|
|
15
|
+
import {
|
|
16
|
+
TracedAs,
|
|
17
|
+
init_decorator
|
|
18
|
+
} from "./roy-agent-core-q5qj0fes.js";
|
|
19
19
|
import {
|
|
20
20
|
createLogger,
|
|
21
21
|
init_logger
|
|
@@ -741,7 +741,7 @@ ${prompt}
|
|
|
741
741
|
---
|
|
742
742
|
\uD83D\uDCCB [委托任务完成] 已委托子智能体完成 Task #${taskId} 的处理工作,请知悉。可通过 task_get #${taskId} 查看最新状态。`;
|
|
743
743
|
}
|
|
744
|
-
|
|
744
|
+
setCurrentTaskId(undefined);
|
|
745
745
|
logger.info(`[delegate_task.sync] Task completed, currentTaskId cleared from EnvContext${taskId ? ` (was: #${taskId})` : ""}`);
|
|
746
746
|
return {
|
|
747
747
|
success: true,
|
|
@@ -760,7 +760,7 @@ ${prompt}
|
|
|
760
760
|
}
|
|
761
761
|
};
|
|
762
762
|
} catch (error) {
|
|
763
|
-
|
|
763
|
+
setCurrentTaskId(undefined);
|
|
764
764
|
logger.info(`[delegate_task.sync] Error occurred, currentTaskId cleared from EnvContext${taskId ? ` (was: #${taskId})` : ""}`);
|
|
765
765
|
return {
|
|
766
766
|
success: false,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseComponent
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-rjf59e7k.js";
|
|
4
4
|
import {
|
|
5
5
|
globalHookManager,
|
|
6
6
|
init_global_hook_manager
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-48v06q1b.js";
|
|
8
8
|
import {
|
|
9
9
|
createLogger,
|
|
10
10
|
init_logger
|