@ai-setting/roy-agent-core 1.5.55 → 1.5.56
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 +9 -9
- package/dist/env/agent/index.js +12 -12
- package/dist/env/commands/index.js +9 -9
- package/dist/env/context/index.js +5 -5
- package/dist/env/debug/index.js +9 -9
- package/dist/env/event-source/index.js +11 -11
- package/dist/env/hook/index.js +7 -7
- package/dist/env/index.js +30 -30
- package/dist/env/llm/index.js +10 -10
- package/dist/env/log-trace/index.js +9 -9
- package/dist/env/mcp/index.js +10 -10
- package/dist/env/mcp/tool/index.js +3 -3
- package/dist/env/memory/index.js +10 -10
- package/dist/env/memory/plugin/index.js +3 -3
- package/dist/env/plugin/index.js +9 -9
- package/dist/env/prompt/index.js +9 -9
- package/dist/env/session/index.js +10 -10
- package/dist/env/skill/index.js +9 -9
- package/dist/env/task/delegate/index.js +8 -8
- package/dist/env/task/index.js +13 -13
- package/dist/env/task/plugins/index.js +6 -6
- package/dist/env/task/storage/index.js +3 -3
- package/dist/env/task/tools/index.js +5 -5
- package/dist/env/tool/built-in/index.js +2 -2
- package/dist/env/tool/index.js +10 -10
- package/dist/env/workflow/engine/index.js +11 -11
- package/dist/env/workflow/index.js +15 -15
- package/dist/env/workflow/nodes/index.js +4 -4
- package/dist/env/workflow/storage/index.js +4 -4
- package/dist/env/workflow/tools/index.js +2 -2
- package/dist/env/workflow/utils/index.js +4 -4
- package/dist/index.js +42 -42
- package/dist/shared/@ai-setting/{roy-agent-core-5t6cryce.js → roy-agent-core-07290s9n.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-9bmtxmp6.js → roy-agent-core-0jc06hhg.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-e68xspar.js → roy-agent-core-2c9ms8gv.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-mab4mzg3.js → roy-agent-core-2h38rvyj.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-fwq0hs6e.js → roy-agent-core-2tna3t64.js} +7 -7
- package/dist/shared/@ai-setting/{roy-agent-core-zmw5d68q.js → roy-agent-core-3czy06aq.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-8n4bz6y3.js → roy-agent-core-496zzm5a.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-5k8watmp.js → roy-agent-core-5c2mfq1q.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-4ch3ghj6.js → roy-agent-core-65yjzwv5.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-9ffsvvcf.js → roy-agent-core-6b57g1zk.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-29867p67.js → roy-agent-core-6d5v531t.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-f336bk4g.js → roy-agent-core-6s3vec2y.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-zwp3jp02.js → roy-agent-core-74cp3zp1.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-qmr365f5.js → roy-agent-core-7tp56w6n.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-kjdpe2ey.js → roy-agent-core-7wdjpbcr.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-58k274fg.js → roy-agent-core-7z9b1fm8.js} +1 -0
- package/dist/shared/@ai-setting/{roy-agent-core-bwrzwq5x.js → roy-agent-core-8pk6a00t.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-3jk7ngmx.js → roy-agent-core-8vkr264k.js} +7 -7
- package/dist/shared/@ai-setting/{roy-agent-core-6vxg2gmr.js → roy-agent-core-9r8pew8y.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ty33mnr7.js → roy-agent-core-am646wfz.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-rz57pqpa.js → roy-agent-core-ap59dpve.js} +5 -6
- package/dist/shared/@ai-setting/{roy-agent-core-t5kc8f7p.js → roy-agent-core-at22pe4k.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-hd9p5490.js → roy-agent-core-b8r4tfqq.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-z5sxe4p7.js → roy-agent-core-c6vet6xc.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-1bfmxx89.js → roy-agent-core-djtkntar.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-2xah3h0z.js → roy-agent-core-e1704378.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-nfa6fc3a.js → roy-agent-core-eraxs53g.js} +5 -5
- package/dist/shared/@ai-setting/roy-agent-core-ggvv4snf.js +20 -0
- package/dist/shared/@ai-setting/{roy-agent-core-vbyct0e7.js → roy-agent-core-grt8ysq2.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-9m9m6fe1.js → roy-agent-core-hkeegfq0.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-v002ynpa.js → roy-agent-core-hkfkhaas.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-q5qj0fes.js → roy-agent-core-k05v31rc.js} +6 -3
- package/dist/shared/@ai-setting/{roy-agent-core-2g5j2nw6.js → roy-agent-core-n19rm7tw.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-emk3q2nt.js → roy-agent-core-nx3c3ce2.js} +17 -13
- package/dist/shared/@ai-setting/{roy-agent-core-nt1q2g91.js → roy-agent-core-pwzkgtgr.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-13vzexp2.js → roy-agent-core-qg4rma4c.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-egsx6js7.js → roy-agent-core-qzhkgbyj.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-cssnkkkg.js → roy-agent-core-rgckng3p.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-dpc9tz73.js → roy-agent-core-rmd82vf7.js} +12 -12
- package/dist/shared/@ai-setting/{roy-agent-core-cpf38des.js → roy-agent-core-sfqx98j6.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-10n2jh7p.js → roy-agent-core-shme7set.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-88d3k0p0.js → roy-agent-core-v8xa6vs8.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-e8eefm0k.js → roy-agent-core-w4f871e2.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-qakqwbbh.js → roy-agent-core-w6wagmhw.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-kwhv9dcd.js → roy-agent-core-x3gtyqax.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-c3ct1346.js → roy-agent-core-xhcgg11h.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-v7583cf9.js → roy-agent-core-y5d04fm3.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-t6zhkk09.js → roy-agent-core-zgtmazxg.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-0x3g6snw.js → roy-agent-core-zkwe508t.js} +7 -7
- package/package.json +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-de0y1a5s.js +0 -20
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
TracedAs,
|
|
6
6
|
init_decorator
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-k05v31rc.js";
|
|
8
8
|
import {
|
|
9
9
|
createLogger,
|
|
10
10
|
init_logger
|
|
11
|
-
} from "./roy-agent-core-
|
|
11
|
+
} from "./roy-agent-core-shme7set.js";
|
|
12
12
|
import {
|
|
13
13
|
__legacyDecorateClassTS
|
|
14
14
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
15
15
|
|
|
16
16
|
// src/env/agent/agent-registry.ts
|
|
17
|
-
import
|
|
18
|
-
import
|
|
17
|
+
import * as realFsPromises from "fs/promises";
|
|
18
|
+
import * as realFs from "fs";
|
|
19
19
|
import { join } from "path";
|
|
20
20
|
import { z } from "zod";
|
|
21
21
|
import yaml from "yaml";
|
|
@@ -46,10 +46,14 @@ class AgentRegistry {
|
|
|
46
46
|
configComponent;
|
|
47
47
|
promptComponent;
|
|
48
48
|
resolvePromptComponent;
|
|
49
|
+
fs;
|
|
50
|
+
fsPromises;
|
|
49
51
|
constructor(options) {
|
|
50
52
|
this.configComponent = options.configComponent;
|
|
51
53
|
this.promptComponent = options.promptComponent ?? null;
|
|
52
54
|
this.resolvePromptComponent = options.resolvePromptComponent;
|
|
55
|
+
this.fs = options.fs || realFs;
|
|
56
|
+
this.fsPromises = options.fsPromises || realFsPromises;
|
|
53
57
|
const customDir = this.configComponent?.get?.("agent.configDir");
|
|
54
58
|
if (customDir && typeof customDir === "string" && customDir.length > 0) {
|
|
55
59
|
this.configDir = customDir;
|
|
@@ -156,11 +160,11 @@ class AgentRegistry {
|
|
|
156
160
|
async loadFromDirectory(directory) {
|
|
157
161
|
let loaded = 0;
|
|
158
162
|
try {
|
|
159
|
-
if (!existsSync(directory)) {
|
|
163
|
+
if (!this.fs.existsSync(directory)) {
|
|
160
164
|
logger.debug(`[AgentRegistry] Config directory does not exist: ${directory}`);
|
|
161
165
|
return 0;
|
|
162
166
|
}
|
|
163
|
-
const files = await readdir(directory, { withFileTypes: true });
|
|
167
|
+
const files = await this.fsPromises.readdir(directory, { withFileTypes: true });
|
|
164
168
|
for (const file of files) {
|
|
165
169
|
const fullPath = join(directory, file.name);
|
|
166
170
|
if (file.isDirectory()) {
|
|
@@ -170,7 +174,7 @@ class AgentRegistry {
|
|
|
170
174
|
continue;
|
|
171
175
|
}
|
|
172
176
|
try {
|
|
173
|
-
const content = await readFile(fullPath, "utf-8");
|
|
177
|
+
const content = await this.fsPromises.readFile(fullPath, "utf-8");
|
|
174
178
|
const agent = this.parseAgentConfig(content, fullPath);
|
|
175
179
|
if (agent) {
|
|
176
180
|
this.agents.set(agent.name, agent);
|
|
@@ -213,7 +217,7 @@ class AgentRegistry {
|
|
|
213
217
|
await this.ensureConfigDir();
|
|
214
218
|
const yamlContent = this.agentToYaml(agent);
|
|
215
219
|
const filePath = join(this.configDir, `${agent.name}.yaml`);
|
|
216
|
-
await writeFile(filePath, yamlContent, "utf-8");
|
|
220
|
+
await this.fsPromises.writeFile(filePath, yamlContent, "utf-8");
|
|
217
221
|
this.agents.set(agent.name, agent);
|
|
218
222
|
logger.info(`[AgentRegistry] Saved agent: ${agent.name} to ${filePath}`);
|
|
219
223
|
return true;
|
|
@@ -223,8 +227,8 @@ class AgentRegistry {
|
|
|
223
227
|
}
|
|
224
228
|
}
|
|
225
229
|
async ensureConfigDir() {
|
|
226
|
-
if (!existsSync(this.configDir)) {
|
|
227
|
-
await mkdir(this.configDir, { recursive: true });
|
|
230
|
+
if (!this.fs.existsSync(this.configDir)) {
|
|
231
|
+
await this.fsPromises.mkdir(this.configDir, { recursive: true });
|
|
228
232
|
logger.debug(`[AgentRegistry] Created config directory: ${this.configDir}`);
|
|
229
233
|
}
|
|
230
234
|
}
|
|
@@ -257,8 +261,8 @@ class AgentRegistry {
|
|
|
257
261
|
}
|
|
258
262
|
try {
|
|
259
263
|
const filePath = join(this.configDir, `${name}.yaml`);
|
|
260
|
-
if (existsSync(filePath)) {
|
|
261
|
-
await unlink(filePath);
|
|
264
|
+
if (this.fs.existsSync(filePath)) {
|
|
265
|
+
await this.fsPromises.unlink(filePath);
|
|
262
266
|
logger.info(`[AgentRegistry] Deleted agent file: ${filePath}`);
|
|
263
267
|
}
|
|
264
268
|
this.agents.delete(name);
|
|
@@ -282,7 +286,7 @@ class AgentRegistry {
|
|
|
282
286
|
return this.agents.size;
|
|
283
287
|
}
|
|
284
288
|
configDirExists() {
|
|
285
|
-
return existsSync(this.configDir);
|
|
289
|
+
return this.fs.existsSync(this.configDir);
|
|
286
290
|
}
|
|
287
291
|
getAgentFilePath(name) {
|
|
288
292
|
return join(this.configDir, `${name}.yaml`);
|
|
@@ -8,20 +8,20 @@ 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-rgckng3p.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-7tp56w6n.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentTaskId,
|
|
19
19
|
init_env_context
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-y5d04fm3.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
init_logger
|
|
24
|
-
} from "./roy-agent-core-
|
|
24
|
+
} from "./roy-agent-core-shme7set.js";
|
|
25
25
|
import {
|
|
26
26
|
__require
|
|
27
27
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withTimeout
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-65yjzwv5.js";
|
|
4
4
|
import {
|
|
5
5
|
AskUserError,
|
|
6
6
|
init_workflow_hil
|
|
7
7
|
} from "./roy-agent-core-e25xkv53.js";
|
|
8
8
|
import {
|
|
9
9
|
AgentRegistry
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-nx3c3ce2.js";
|
|
11
11
|
import {
|
|
12
12
|
ContextError
|
|
13
13
|
} from "./roy-agent-core-ctdhjv68.js";
|
|
@@ -19,27 +19,27 @@ import {
|
|
|
19
19
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
20
20
|
import {
|
|
21
21
|
BaseComponent
|
|
22
|
-
} from "./roy-agent-core-
|
|
22
|
+
} from "./roy-agent-core-rgckng3p.js";
|
|
23
23
|
import {
|
|
24
24
|
globalHookManager,
|
|
25
25
|
init_global_hook_manager
|
|
26
|
-
} from "./roy-agent-core-
|
|
26
|
+
} from "./roy-agent-core-7tp56w6n.js";
|
|
27
27
|
import {
|
|
28
28
|
init_context
|
|
29
|
-
} from "./roy-agent-core-
|
|
29
|
+
} from "./roy-agent-core-qg4rma4c.js";
|
|
30
30
|
import {
|
|
31
31
|
getCurrentTaskId,
|
|
32
32
|
getEnvContext,
|
|
33
33
|
runWithEnvContextAsync
|
|
34
|
-
} from "./roy-agent-core-
|
|
34
|
+
} from "./roy-agent-core-y5d04fm3.js";
|
|
35
35
|
import {
|
|
36
36
|
TracedAs,
|
|
37
37
|
init_decorator
|
|
38
|
-
} from "./roy-agent-core-
|
|
38
|
+
} from "./roy-agent-core-k05v31rc.js";
|
|
39
39
|
import {
|
|
40
40
|
createLogger,
|
|
41
41
|
init_logger
|
|
42
|
-
} from "./roy-agent-core-
|
|
42
|
+
} from "./roy-agent-core-shme7set.js";
|
|
43
43
|
import {
|
|
44
44
|
__legacyDecorateClassTS
|
|
45
45
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHook
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-b8r4tfqq.js";
|
|
4
4
|
import {
|
|
5
5
|
HookManager
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-7tp56w6n.js";
|
|
7
7
|
|
|
8
8
|
// src/env/component.ts
|
|
9
9
|
class BaseComponent {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_node_registry_helper,
|
|
3
3
|
init_node_registry_helper
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-0jc06hhg.js";
|
|
5
5
|
import {
|
|
6
6
|
WorkflowEngine,
|
|
7
7
|
exports_engine,
|
|
8
8
|
init_engine
|
|
9
|
-
} from "./roy-agent-core-
|
|
9
|
+
} from "./roy-agent-core-at22pe4k.js";
|
|
10
10
|
import {
|
|
11
11
|
WorkflowService
|
|
12
12
|
} from "./roy-agent-core-4t40mkpv.js";
|
|
@@ -15,11 +15,11 @@ 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-rgckng3p.js";
|
|
19
19
|
import {
|
|
20
20
|
createLogger,
|
|
21
21
|
init_logger
|
|
22
|
-
} from "./roy-agent-core-
|
|
22
|
+
} from "./roy-agent-core-shme7set.js";
|
|
23
23
|
import {
|
|
24
24
|
__require,
|
|
25
25
|
__toCommonJS
|
|
@@ -97,7 +97,7 @@ class WorkflowComponent extends BaseComponent {
|
|
|
97
97
|
return;
|
|
98
98
|
try {
|
|
99
99
|
const { NodeRegistry } = await import("../../env/workflow/engine/index.js");
|
|
100
|
-
const { registerDecoratorNodeType: registerDecoratorNodeType2 } = await import("./roy-agent-core-
|
|
100
|
+
const { registerDecoratorNodeType: registerDecoratorNodeType2 } = await import("./roy-agent-core-c6vet6xc.js");
|
|
101
101
|
this.nodeRegistry = new NodeRegistry;
|
|
102
102
|
registerDecoratorNodeType2(this.nodeRegistry);
|
|
103
103
|
this.decoratorsRegistered = true;
|
|
@@ -128,7 +128,7 @@ class WorkflowComponent extends BaseComponent {
|
|
|
128
128
|
}
|
|
129
129
|
async runWorkflow(definition, input, options) {
|
|
130
130
|
const { NodeRegistry } = await import("../../env/workflow/engine/index.js");
|
|
131
|
-
const { registerDecoratorNodeType: registerDecoratorNodeType2 } = await import("./roy-agent-core-
|
|
131
|
+
const { registerDecoratorNodeType: registerDecoratorNodeType2 } = await import("./roy-agent-core-c6vet6xc.js");
|
|
132
132
|
const toolComponent = this.toolComponent || this._workflowEnv?.getComponent("tool");
|
|
133
133
|
const skillComponent = this._workflowEnv?.getComponent("skill");
|
|
134
134
|
let agentRunner = this.agentRunner;
|
|
@@ -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-ggvv4snf.js");
|
|
140
140
|
agentRunner = new AgentComponentAdapter(agentComponent, {}, this.sessionComponent, llmComponent);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -159,7 +159,7 @@ class WorkflowComponent extends BaseComponent {
|
|
|
159
159
|
if (this.workflowService) {
|
|
160
160
|
this.workflowService = null;
|
|
161
161
|
try {
|
|
162
|
-
const { closeDatabase } = await import("./roy-agent-core-
|
|
162
|
+
const { closeDatabase } = await import("./roy-agent-core-74cp3zp1.js");
|
|
163
163
|
closeDatabase();
|
|
164
164
|
componentLogger.info("[WorkflowComponent] SQLite database closed");
|
|
165
165
|
} catch (error) {
|
|
@@ -196,8 +196,8 @@ class WorkflowComponent extends BaseComponent {
|
|
|
196
196
|
}
|
|
197
197
|
async initSqliteService() {
|
|
198
198
|
try {
|
|
199
|
-
const { getDatabase, initializeTables } = await import("./roy-agent-core-
|
|
200
|
-
const { WorkflowRepository } = await import("./roy-agent-core-
|
|
199
|
+
const { getDatabase, initializeTables } = await import("./roy-agent-core-74cp3zp1.js");
|
|
200
|
+
const { WorkflowRepository } = await import("./roy-agent-core-am646wfz.js");
|
|
201
201
|
const db = getDatabase();
|
|
202
202
|
initializeTables();
|
|
203
203
|
const workflowRepository = new WorkflowRepository(db);
|
|
@@ -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-8vkr264k.js");
|
|
212
212
|
registerWorkflowJsonOutputPlugin(llmComponent);
|
|
213
213
|
}
|
|
214
214
|
this.createService({
|
|
@@ -267,7 +267,7 @@ class WorkflowComponent extends BaseComponent {
|
|
|
267
267
|
this.workflowService = null;
|
|
268
268
|
this.nodeRegistry = null;
|
|
269
269
|
try {
|
|
270
|
-
const { closeDatabase } = await import("./roy-agent-core-
|
|
270
|
+
const { closeDatabase } = await import("./roy-agent-core-74cp3zp1.js");
|
|
271
271
|
closeDatabase();
|
|
272
272
|
} catch {}
|
|
273
273
|
this._status = "stopped";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invoke
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-65yjzwv5.js";
|
|
4
4
|
import {
|
|
5
5
|
ContextError,
|
|
6
6
|
ErrorCodes
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
12
12
|
import {
|
|
13
13
|
BaseComponent
|
|
14
|
-
} from "./roy-agent-core-
|
|
14
|
+
} from "./roy-agent-core-rgckng3p.js";
|
|
15
15
|
import {
|
|
16
16
|
LLMHookPoints,
|
|
17
17
|
globalHookManager,
|
|
18
18
|
init_global_hook_manager
|
|
19
|
-
} from "./roy-agent-core-
|
|
19
|
+
} from "./roy-agent-core-7tp56w6n.js";
|
|
20
20
|
import {
|
|
21
21
|
TracedAs,
|
|
22
22
|
init_decorator
|
|
23
|
-
} from "./roy-agent-core-
|
|
23
|
+
} from "./roy-agent-core-k05v31rc.js";
|
|
24
24
|
import {
|
|
25
25
|
createLogger,
|
|
26
26
|
init_logger
|
|
27
|
-
} from "./roy-agent-core-
|
|
27
|
+
} from "./roy-agent-core-shme7set.js";
|
|
28
28
|
import {
|
|
29
29
|
__legacyDecorateClassTS
|
|
30
30
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
} from "./roy-agent-core-qxhq8ven.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseComponent
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-rgckng3p.js";
|
|
7
7
|
import {
|
|
8
8
|
init_decorator
|
|
9
|
-
} from "./roy-agent-core-
|
|
9
|
+
} from "./roy-agent-core-k05v31rc.js";
|
|
10
10
|
import {
|
|
11
11
|
createLogger,
|
|
12
12
|
init_logger,
|
|
13
13
|
setConfigComponent,
|
|
14
14
|
setQuietMode
|
|
15
|
-
} from "./roy-agent-core-
|
|
15
|
+
} from "./roy-agent-core-shme7set.js";
|
|
16
16
|
import {
|
|
17
17
|
getTracerProvider,
|
|
18
18
|
init_propagation,
|
|
19
19
|
init_tracer_provider,
|
|
20
20
|
init_types,
|
|
21
21
|
propagation
|
|
22
|
-
} from "./roy-agent-core-
|
|
22
|
+
} from "./roy-agent-core-7z9b1fm8.js";
|
|
23
23
|
import {
|
|
24
24
|
SQLiteSpanStorage,
|
|
25
25
|
init_span_storage
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TracedAs,
|
|
3
3
|
init_decorator
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-k05v31rc.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogger,
|
|
7
7
|
init_logger
|
|
8
|
-
} from "./roy-agent-core-
|
|
8
|
+
} from "./roy-agent-core-shme7set.js";
|
|
9
9
|
import {
|
|
10
10
|
__legacyDecorateClassTS
|
|
11
11
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_decorator,
|
|
3
3
|
wrapFunction
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-k05v31rc.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogger,
|
|
7
7
|
init_logger
|
|
8
|
-
} from "./roy-agent-core-
|
|
8
|
+
} from "./roy-agent-core-shme7set.js";
|
|
9
9
|
import {
|
|
10
10
|
__esm
|
|
11
11
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
init_workflow_json_output_plugin,
|
|
4
4
|
registerWorkflowJsonOutputPlugin,
|
|
5
5
|
tracedExtractStructuredJsonViaLlm
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-6d5v531t.js";
|
|
7
7
|
import {
|
|
8
8
|
AskUserError,
|
|
9
9
|
init_workflow_hil
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
TracedAs,
|
|
13
13
|
init_decorator
|
|
14
|
-
} from "./roy-agent-core-
|
|
14
|
+
} from "./roy-agent-core-k05v31rc.js";
|
|
15
15
|
import {
|
|
16
16
|
__esm,
|
|
17
17
|
__legacyDecorateClassTS
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TaskTagPlugin,
|
|
3
3
|
createLarkCliTaskNotifyHook
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-6s3vec2y.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-rgckng3p.js";
|
|
11
11
|
import {
|
|
12
12
|
globalHookManager,
|
|
13
13
|
init_global_hook_manager
|
|
14
|
-
} from "./roy-agent-core-
|
|
14
|
+
} from "./roy-agent-core-7tp56w6n.js";
|
|
15
15
|
import {
|
|
16
16
|
init_context
|
|
17
|
-
} from "./roy-agent-core-
|
|
17
|
+
} from "./roy-agent-core-qg4rma4c.js";
|
|
18
18
|
import {
|
|
19
19
|
createEnvContext,
|
|
20
20
|
runWithEnvContext
|
|
21
|
-
} from "./roy-agent-core-
|
|
21
|
+
} from "./roy-agent-core-y5d04fm3.js";
|
|
22
22
|
import {
|
|
23
23
|
createLogger,
|
|
24
24
|
init_logger
|
|
25
|
-
} from "./roy-agent-core-
|
|
25
|
+
} from "./roy-agent-core-shme7set.js";
|
|
26
26
|
import {
|
|
27
27
|
getTracerProvider
|
|
28
|
-
} from "./roy-agent-core-
|
|
28
|
+
} from "./roy-agent-core-7z9b1fm8.js";
|
|
29
29
|
import {
|
|
30
30
|
__require
|
|
31
31
|
} from "./roy-agent-core-fs0mn2jk.js";
|
package/package.json
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AgentComponentAdapter,
|
|
3
|
-
init_agent_component_adapter
|
|
4
|
-
} from "./roy-agent-core-t6zhkk09.js";
|
|
5
|
-
import"./roy-agent-core-29867p67.js";
|
|
6
|
-
import"./roy-agent-core-nhfy3p8q.js";
|
|
7
|
-
import"./roy-agent-core-e25xkv53.js";
|
|
8
|
-
import"./roy-agent-core-qmr365f5.js";
|
|
9
|
-
import"./roy-agent-core-13vzexp2.js";
|
|
10
|
-
import"./roy-agent-core-v7583cf9.js";
|
|
11
|
-
import"./roy-agent-core-q5qj0fes.js";
|
|
12
|
-
import"./roy-agent-core-10n2jh7p.js";
|
|
13
|
-
import"./roy-agent-core-58k274fg.js";
|
|
14
|
-
import"./roy-agent-core-c6592r3c.js";
|
|
15
|
-
import"./roy-agent-core-fs0mn2jk.js";
|
|
16
|
-
init_agent_component_adapter();
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
AgentComponentAdapter
|
|
20
|
-
};
|