@ai-setting/roy-agent-core 1.7.12 → 1.7.14
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 +8 -9
- package/dist/env/agent/index.js +14 -15
- package/dist/env/commands/index.js +8 -9
- package/dist/env/context/index.js +4 -5
- package/dist/env/debug/index.js +8 -9
- package/dist/env/event-source/index.js +13 -14
- package/dist/env/hook/index.js +6 -7
- package/dist/env/index.js +38 -39
- package/dist/env/llm/index.js +9 -10
- package/dist/env/log-trace/index.js +16 -18
- package/dist/env/mcp/index.js +9 -10
- package/dist/env/mcp/tool/index.js +2 -3
- package/dist/env/memory/index.js +9 -10
- package/dist/env/memory/plugin/index.js +2 -3
- package/dist/env/plugin/index.js +8 -9
- package/dist/env/prompt/index.js +8 -9
- package/dist/env/session/index.js +11 -12
- package/dist/env/session/storage/index.js +4 -5
- package/dist/env/skill/index.js +8 -9
- package/dist/env/task/delegate/index.js +8 -9
- package/dist/env/task/index.js +13 -14
- package/dist/env/task/plugins/index.js +8 -9
- package/dist/env/task/storage/index.js +3 -4
- package/dist/env/task/tools/index.js +4 -5
- package/dist/env/tool/built-in/index.js +4 -5
- package/dist/env/tool/index.js +11 -12
- package/dist/env/workflow/engine/index.js +10 -11
- package/dist/env/workflow/index.js +21 -22
- package/dist/env/workflow/nodes/index.js +3 -4
- package/dist/env/workflow/service/index.js +3 -4
- package/dist/env/workflow/storage/index.js +4 -5
- package/dist/env/workflow/tools/index.js +15 -16
- package/dist/env/workflow/utils/index.js +5 -6
- package/dist/index.js +55 -57
- package/dist/shared/@ai-setting/{roy-agent-core-6qvgvbg1.js → roy-agent-core-0hzymk2b.js} +6 -7
- package/dist/shared/@ai-setting/{roy-agent-core-pz2n121t.js → roy-agent-core-0nz53t5v.js} +7 -9
- package/dist/shared/@ai-setting/{roy-agent-core-h9230kg6.js → roy-agent-core-0ra1gtn9.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-w8rv08d3.js → roy-agent-core-1df0grva.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-6m2gh57e.js → roy-agent-core-1h6h6h37.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-7xek618f.js → roy-agent-core-1qt5x67p.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-b64s2vk9.js → roy-agent-core-1sxybyqq.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-wgp3q62x.js → roy-agent-core-1y4hr9v9.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-rfwshpd0.js → roy-agent-core-2ah7204k.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-gb7pm9c0.js → roy-agent-core-38rtrpk3.js} +3 -5
- package/dist/shared/@ai-setting/{roy-agent-core-62mvbqmj.js → roy-agent-core-3qm3ps0w.js} +3 -4
- package/dist/shared/@ai-setting/{roy-agent-core-t9h4np6m.js → roy-agent-core-4r2e3b8a.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-v13dq3nc.js → roy-agent-core-4rg92cwq.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-32226m35.js → roy-agent-core-62mfe44h.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-nxqk5smq.js → roy-agent-core-6jafpa30.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-hncxk9d1.js → roy-agent-core-6rebk607.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-8fcjcx67.js → roy-agent-core-77cpyf03.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-xrr7t0qc.js → roy-agent-core-7p6rny5m.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-qe3m3hec.js → roy-agent-core-7x8v3wbn.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-z2w7wtqd.js → roy-agent-core-89zsa89z.js} +4 -5
- package/dist/shared/@ai-setting/{roy-agent-core-7zy1mpmw.js → roy-agent-core-91rzfw8d.js} +8 -10
- package/dist/shared/@ai-setting/{roy-agent-core-br7dmedr.js → roy-agent-core-9sz7hnbf.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-4ggqsnbg.js → roy-agent-core-axkxd7jn.js} +14 -14
- package/dist/shared/@ai-setting/{roy-agent-core-ec4djnzd.js → roy-agent-core-ch3gg6r0.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-mgp3284f.js → roy-agent-core-d12nwxfx.js} +4 -6
- package/dist/shared/@ai-setting/{roy-agent-core-1khp1m0r.js → roy-agent-core-e6dahpp2.js} +313 -8
- package/dist/shared/@ai-setting/{roy-agent-core-j29yg06n.js → roy-agent-core-g772q3gf.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-4m4awz0m.js → roy-agent-core-g7cht2pw.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-zqeq8m9z.js → roy-agent-core-gjnhkemk.js} +3 -3
- package/dist/shared/@ai-setting/roy-agent-core-gtymhfda.js +10 -0
- package/dist/shared/@ai-setting/{roy-agent-core-zhv8efqh.js → roy-agent-core-h4h6n9vk.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-3ep1dxf1.js → roy-agent-core-h76sw3ar.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-hmqmznjc.js → roy-agent-core-hfpbq1qy.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-k4byknt1.js → roy-agent-core-htwb9yj6.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-t3yqzgse.js → roy-agent-core-jbc1t62x.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-0v74marc.js → roy-agent-core-jdvgzf2y.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-d11714ee.js → roy-agent-core-kbf31f21.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-6re7eg4w.js → roy-agent-core-kj93n7pb.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-zcx8nf4a.js → roy-agent-core-kp57kbzd.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-h7ak839w.js → roy-agent-core-m2pxg5d8.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-pde8hkq4.js → roy-agent-core-m725wp1x.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-2xb3f3ye.js → roy-agent-core-md5wg3ns.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-dxfd6p1c.js → roy-agent-core-ncvqfx7m.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-x0yztmm6.js → roy-agent-core-p06rm1xh.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-sfwt66pv.js → roy-agent-core-pqb1cx3t.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-90wp1rgb.js → roy-agent-core-pz8jvvtn.js} +4 -5
- package/dist/shared/@ai-setting/{roy-agent-core-q6mq7gmc.js → roy-agent-core-qmbd0vx2.js} +11 -11
- package/dist/shared/@ai-setting/{roy-agent-core-rs5tp44j.js → roy-agent-core-r5d3f3nb.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-71wde8ce.js → roy-agent-core-rsej8ed5.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-5ts23mx0.js → roy-agent-core-sf4bjgwz.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-mvs5sen6.js → roy-agent-core-sh7bz68r.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-2yt4jmzv.js → roy-agent-core-sh94bwdf.js} +7 -7
- package/dist/shared/@ai-setting/{roy-agent-core-7cxdkcrz.js → roy-agent-core-sxqhny9v.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-wrjm9etv.js → roy-agent-core-tp0thedj.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-qpt5fa8h.js → roy-agent-core-tzsmkk5w.js} +2 -2
- package/dist/utils/temp-file-manager/index.js +2 -3
- package/package.json +2 -2
- package/dist/shared/@ai-setting/roy-agent-core-4k8tv5q5.js +0 -11
- package/dist/shared/@ai-setting/roy-agent-core-kaq037np.js +0 -299
|
@@ -6,31 +6,31 @@ import {
|
|
|
6
6
|
} from "./roy-agent-core-skqt40yy.js";
|
|
7
7
|
import {
|
|
8
8
|
validateWorkflowDefinition
|
|
9
|
-
} from "./roy-agent-core-
|
|
9
|
+
} from "./roy-agent-core-1df0grva.js";
|
|
10
10
|
import {
|
|
11
11
|
enqueueToAddFakeUserMessage
|
|
12
|
-
} from "./roy-agent-core-
|
|
12
|
+
} from "./roy-agent-core-jbc1t62x.js";
|
|
13
13
|
import {
|
|
14
14
|
BasePlugin
|
|
15
15
|
} from "./roy-agent-core-az13yzmc.js";
|
|
16
16
|
import {
|
|
17
17
|
init_context
|
|
18
|
-
} from "./roy-agent-core-
|
|
18
|
+
} from "./roy-agent-core-m2pxg5d8.js";
|
|
19
19
|
import {
|
|
20
20
|
getEnvContextOrEmpty,
|
|
21
21
|
getEventFromEnvContext,
|
|
22
22
|
getLarkMessageId,
|
|
23
23
|
isLarkEvent
|
|
24
|
-
} from "./roy-agent-core-
|
|
24
|
+
} from "./roy-agent-core-7p6rny5m.js";
|
|
25
25
|
import {
|
|
26
26
|
TracedAs,
|
|
27
27
|
init_decorator,
|
|
28
28
|
wrapFunction
|
|
29
|
-
} from "./roy-agent-core-
|
|
29
|
+
} from "./roy-agent-core-38rtrpk3.js";
|
|
30
30
|
import {
|
|
31
31
|
createLogger,
|
|
32
32
|
init_logger
|
|
33
|
-
} from "./roy-agent-core-
|
|
33
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
34
34
|
import {
|
|
35
35
|
__legacyDecorateClassTS,
|
|
36
36
|
__require
|
|
@@ -295,11 +295,11 @@ ${prompt}`;
|
|
|
295
295
|
}
|
|
296
296
|
if (!this._workflowRepo) {
|
|
297
297
|
try {
|
|
298
|
-
const sqlite = await import("./roy-agent-core-
|
|
298
|
+
const sqlite = await import("./roy-agent-core-89zsa89z.js");
|
|
299
299
|
this.ensureDataDir();
|
|
300
300
|
const db = sqlite.getDatabase();
|
|
301
301
|
sqlite.initializeTables();
|
|
302
|
-
const { WorkflowRepository } = await import("./roy-agent-core-
|
|
302
|
+
const { WorkflowRepository } = await import("./roy-agent-core-pz8jvvtn.js");
|
|
303
303
|
this._workflowRepo = new WorkflowRepository(db);
|
|
304
304
|
return this._workflowRepo;
|
|
305
305
|
} catch {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TracedAs,
|
|
3
3
|
init_decorator
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-38rtrpk3.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogger,
|
|
7
7
|
init_logger
|
|
8
|
-
} from "./roy-agent-core-
|
|
8
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
9
9
|
import {
|
|
10
10
|
__esm,
|
|
11
11
|
__export,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_env_context,
|
|
3
3
|
setCurrentTaskId
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-7p6rny5m.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogger,
|
|
7
7
|
init_logger
|
|
8
|
-
} from "./roy-agent-core-
|
|
8
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
9
9
|
|
|
10
10
|
// src/env/task/tools/task-types.ts
|
|
11
11
|
import { z } from "zod";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
invoke,
|
|
10
10
|
invokeNonStream
|
|
11
|
-
} from "./roy-agent-core-
|
|
11
|
+
} from "./roy-agent-core-md5wg3ns.js";
|
|
12
12
|
import {
|
|
13
13
|
ContextError,
|
|
14
14
|
ErrorCodes
|
|
@@ -19,21 +19,21 @@ import {
|
|
|
19
19
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
20
20
|
import {
|
|
21
21
|
BaseComponent
|
|
22
|
-
} from "./roy-agent-core-
|
|
22
|
+
} from "./roy-agent-core-m725wp1x.js";
|
|
23
23
|
import {
|
|
24
24
|
LLMHookPoints,
|
|
25
25
|
globalHookManager,
|
|
26
26
|
init_global_hook_manager
|
|
27
|
-
} from "./roy-agent-core-
|
|
27
|
+
} from "./roy-agent-core-g772q3gf.js";
|
|
28
28
|
import {
|
|
29
29
|
TracedAs,
|
|
30
30
|
init_decorator,
|
|
31
31
|
wrapFunction
|
|
32
|
-
} from "./roy-agent-core-
|
|
32
|
+
} from "./roy-agent-core-38rtrpk3.js";
|
|
33
33
|
import {
|
|
34
34
|
createLogger,
|
|
35
35
|
init_logger
|
|
36
|
-
} from "./roy-agent-core-
|
|
36
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
37
37
|
import {
|
|
38
38
|
__legacyDecorateClassTS,
|
|
39
39
|
__require
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseComponent
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-m725wp1x.js";
|
|
8
8
|
import {
|
|
9
9
|
createLogger,
|
|
10
10
|
init_logger
|
|
11
|
-
} from "./roy-agent-core-
|
|
11
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
12
12
|
|
|
13
13
|
// src/env/commands/commands-component.ts
|
|
14
14
|
import path2 from "path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHook
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-sf4bjgwz.js";
|
|
4
4
|
import {
|
|
5
5
|
HookManager
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-g772q3gf.js";
|
|
7
7
|
|
|
8
8
|
// src/env/component.ts
|
|
9
9
|
class BaseComponent {
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
TracedAs,
|
|
6
6
|
init_decorator
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-38rtrpk3.js";
|
|
8
8
|
import {
|
|
9
9
|
createLogger,
|
|
10
10
|
init_logger
|
|
11
|
-
} from "./roy-agent-core-
|
|
11
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
12
12
|
import {
|
|
13
13
|
__legacyDecorateClassTS
|
|
14
14
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TagRepository
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-1h6h6h37.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_search_query_parser,
|
|
6
6
|
init_search_query_parser
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
createLogger,
|
|
10
10
|
init_logger
|
|
11
|
-
} from "./roy-agent-core-
|
|
11
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
12
12
|
import {
|
|
13
13
|
__require,
|
|
14
14
|
__toCommonJS
|
|
@@ -2,12 +2,11 @@ import {
|
|
|
2
2
|
WorkflowRepository,
|
|
3
3
|
migrateEmptyTagsToDefault,
|
|
4
4
|
rowToWorkflow
|
|
5
|
-
} from "./roy-agent-core-
|
|
6
|
-
import"./roy-agent-core-
|
|
5
|
+
} from "./roy-agent-core-pqb1cx3t.js";
|
|
6
|
+
import"./roy-agent-core-1h6h6h37.js";
|
|
7
7
|
import"./roy-agent-core-rvxg1wps.js";
|
|
8
|
-
import"./roy-agent-core-
|
|
9
|
-
import"./roy-agent-core-
|
|
10
|
-
import"./roy-agent-core-1khp1m0r.js";
|
|
8
|
+
import"./roy-agent-core-38rtrpk3.js";
|
|
9
|
+
import"./roy-agent-core-e6dahpp2.js";
|
|
11
10
|
import"./roy-agent-core-4an1p9a1.js";
|
|
12
11
|
import"./roy-agent-core-fs0mn2jk.js";
|
|
13
12
|
export {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
truncateOutputInline
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-rsej8ed5.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentRegistry
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-p06rm1xh.js";
|
|
7
7
|
import {
|
|
8
8
|
enqueueToAddFakeUserMessage
|
|
9
|
-
} from "./roy-agent-core-
|
|
9
|
+
} from "./roy-agent-core-jbc1t62x.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionMessageConverter
|
|
12
|
-
} from "./roy-agent-core-
|
|
12
|
+
} from "./roy-agent-core-kp57kbzd.js";
|
|
13
13
|
import {
|
|
14
14
|
safeParseToolArgs,
|
|
15
15
|
withTimeout
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-md5wg3ns.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentBgTaskId
|
|
19
19
|
} from "./roy-agent-core-c1v263jn.js";
|
|
@@ -29,27 +29,27 @@ import {
|
|
|
29
29
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
30
30
|
import {
|
|
31
31
|
BaseComponent
|
|
32
|
-
} from "./roy-agent-core-
|
|
32
|
+
} from "./roy-agent-core-m725wp1x.js";
|
|
33
33
|
import {
|
|
34
34
|
globalHookManager,
|
|
35
35
|
init_global_hook_manager
|
|
36
|
-
} from "./roy-agent-core-
|
|
36
|
+
} from "./roy-agent-core-g772q3gf.js";
|
|
37
37
|
import {
|
|
38
38
|
init_context
|
|
39
|
-
} from "./roy-agent-core-
|
|
39
|
+
} from "./roy-agent-core-m2pxg5d8.js";
|
|
40
40
|
import {
|
|
41
41
|
getCurrentTaskId,
|
|
42
42
|
getEnvContext,
|
|
43
43
|
runWithEnvContextAsync
|
|
44
|
-
} from "./roy-agent-core-
|
|
44
|
+
} from "./roy-agent-core-7p6rny5m.js";
|
|
45
45
|
import {
|
|
46
46
|
TracedAs,
|
|
47
47
|
init_decorator
|
|
48
|
-
} from "./roy-agent-core-
|
|
48
|
+
} from "./roy-agent-core-38rtrpk3.js";
|
|
49
49
|
import {
|
|
50
50
|
createLogger,
|
|
51
51
|
init_logger
|
|
52
|
-
} from "./roy-agent-core-
|
|
52
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
53
53
|
import {
|
|
54
54
|
__legacyDecorateClassTS,
|
|
55
55
|
__require
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./roy-agent-core-rvv6ydff.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseComponent
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-m725wp1x.js";
|
|
8
8
|
import {
|
|
9
9
|
__require
|
|
10
10
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -590,7 +590,7 @@ class DebugComponent extends BaseComponent {
|
|
|
590
590
|
}
|
|
591
591
|
async getLiveTrace(traceId) {
|
|
592
592
|
try {
|
|
593
|
-
const { getTracerProvider } = await import("./roy-agent-core-
|
|
593
|
+
const { getTracerProvider } = await import("./roy-agent-core-4r2e3b8a.js");
|
|
594
594
|
const provider = getTracerProvider();
|
|
595
595
|
if (!provider.isInitialized()) {
|
|
596
596
|
await provider.initialize();
|
|
@@ -635,7 +635,7 @@ class DebugComponent extends BaseComponent {
|
|
|
635
635
|
}
|
|
636
636
|
async listLiveTraces(limit = 20) {
|
|
637
637
|
try {
|
|
638
|
-
const { getTracerProvider } = await import("./roy-agent-core-
|
|
638
|
+
const { getTracerProvider } = await import("./roy-agent-core-4r2e3b8a.js");
|
|
639
639
|
const provider = getTracerProvider();
|
|
640
640
|
if (!provider.isInitialized()) {
|
|
641
641
|
await provider.initialize();
|
|
@@ -653,7 +653,7 @@ class DebugComponent extends BaseComponent {
|
|
|
653
653
|
}
|
|
654
654
|
async formatLiveTrace(traceId) {
|
|
655
655
|
try {
|
|
656
|
-
const { getTracerProvider } = await import("./roy-agent-core-
|
|
656
|
+
const { getTracerProvider } = await import("./roy-agent-core-4r2e3b8a.js");
|
|
657
657
|
const provider = getTracerProvider();
|
|
658
658
|
if (!provider.isInitialized()) {
|
|
659
659
|
await provider.initialize();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TempFileManager
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-9sz7hnbf.js";
|
|
4
4
|
import {
|
|
5
5
|
AskUserError,
|
|
6
6
|
init_workflow_hil
|
|
@@ -11,24 +11,24 @@ import {
|
|
|
11
11
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
12
12
|
import {
|
|
13
13
|
BaseComponent
|
|
14
|
-
} from "./roy-agent-core-
|
|
14
|
+
} from "./roy-agent-core-m725wp1x.js";
|
|
15
15
|
import {
|
|
16
16
|
ToolHookPoints,
|
|
17
17
|
globalHookManager,
|
|
18
18
|
init_global_hook_manager
|
|
19
|
-
} from "./roy-agent-core-
|
|
19
|
+
} from "./roy-agent-core-g772q3gf.js";
|
|
20
20
|
import {
|
|
21
21
|
getCurrentTaskId,
|
|
22
22
|
init_env_context
|
|
23
|
-
} from "./roy-agent-core-
|
|
23
|
+
} from "./roy-agent-core-7p6rny5m.js";
|
|
24
24
|
import {
|
|
25
25
|
TracedAs,
|
|
26
26
|
init_decorator
|
|
27
|
-
} from "./roy-agent-core-
|
|
27
|
+
} from "./roy-agent-core-38rtrpk3.js";
|
|
28
28
|
import {
|
|
29
29
|
createLogger,
|
|
30
30
|
init_logger
|
|
31
|
-
} from "./roy-agent-core-
|
|
31
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
32
32
|
import {
|
|
33
33
|
__legacyDecorateClassTS,
|
|
34
34
|
__require
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProcessRegistry,
|
|
3
3
|
runWithProcessRegistryAsync
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-sh7bz68r.js";
|
|
5
5
|
import {
|
|
6
6
|
TaskHookPoints
|
|
7
7
|
} from "./roy-agent-core-1pg0fepg.js";
|
|
@@ -10,30 +10,30 @@ import {
|
|
|
10
10
|
} from "./roy-agent-core-skqt40yy.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_SUBAGENT_PROMPT
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-p06rm1xh.js";
|
|
14
14
|
import {
|
|
15
15
|
runWithBgTaskIdAsync
|
|
16
16
|
} from "./roy-agent-core-c1v263jn.js";
|
|
17
17
|
import {
|
|
18
18
|
globalHookManager,
|
|
19
19
|
init_global_hook_manager
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-g772q3gf.js";
|
|
21
21
|
import {
|
|
22
22
|
init_context
|
|
23
|
-
} from "./roy-agent-core-
|
|
23
|
+
} from "./roy-agent-core-m2pxg5d8.js";
|
|
24
24
|
import {
|
|
25
25
|
getCurrentTaskId,
|
|
26
26
|
getEnvContext
|
|
27
|
-
} from "./roy-agent-core-
|
|
27
|
+
} from "./roy-agent-core-7p6rny5m.js";
|
|
28
28
|
import {
|
|
29
29
|
TracedAs,
|
|
30
30
|
init_decorator,
|
|
31
31
|
wrapFunction
|
|
32
|
-
} from "./roy-agent-core-
|
|
32
|
+
} from "./roy-agent-core-38rtrpk3.js";
|
|
33
33
|
import {
|
|
34
34
|
createLogger,
|
|
35
35
|
init_logger
|
|
36
|
-
} from "./roy-agent-core-
|
|
36
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
37
37
|
import {
|
|
38
38
|
__legacyDecorateClassTS
|
|
39
39
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
11
11
|
import {
|
|
12
12
|
BaseComponent
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-m725wp1x.js";
|
|
14
14
|
import {
|
|
15
15
|
createHook
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-sf4bjgwz.js";
|
|
17
17
|
import {
|
|
18
18
|
globalHookManager,
|
|
19
19
|
init_global_hook_manager
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-g772q3gf.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
init_logger
|
|
24
|
-
} from "./roy-agent-core-
|
|
24
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
25
25
|
|
|
26
26
|
// src/env/prompt/types.ts
|
|
27
27
|
import { z } from "zod";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
AgentComponentAdapter,
|
|
9
9
|
init_agent_component_adapter
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-ch3gg6r0.js";
|
|
11
11
|
import {
|
|
12
12
|
PythonCallNode,
|
|
13
13
|
SkillNode,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
init_skill_node,
|
|
18
18
|
init_tool_node,
|
|
19
19
|
init_workflow_node
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-hfpbq1qy.js";
|
|
21
21
|
import {
|
|
22
22
|
WORKFLOW_SUBMIT_OUTPUT_TOOL_NAME,
|
|
23
23
|
init_json_schema_to_zod,
|
|
@@ -29,11 +29,11 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
TemplateResolver,
|
|
31
31
|
init_template_resolver
|
|
32
|
-
} from "./roy-agent-core-
|
|
32
|
+
} from "./roy-agent-core-2ah7204k.js";
|
|
33
33
|
import {
|
|
34
34
|
DAGManager,
|
|
35
35
|
init_dag_manager
|
|
36
|
-
} from "./roy-agent-core-
|
|
36
|
+
} from "./roy-agent-core-jdvgzf2y.js";
|
|
37
37
|
import {
|
|
38
38
|
WorkflowError,
|
|
39
39
|
createWorkflowEvent,
|
|
@@ -49,11 +49,11 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
TracedAs,
|
|
51
51
|
init_decorator
|
|
52
|
-
} from "./roy-agent-core-
|
|
52
|
+
} from "./roy-agent-core-38rtrpk3.js";
|
|
53
53
|
import {
|
|
54
54
|
createLogger,
|
|
55
55
|
init_logger
|
|
56
|
-
} from "./roy-agent-core-
|
|
56
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
57
57
|
import {
|
|
58
58
|
__esm,
|
|
59
59
|
__export,
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
7
7
|
import {
|
|
8
8
|
BaseComponent
|
|
9
|
-
} from "./roy-agent-core-
|
|
9
|
+
} from "./roy-agent-core-m725wp1x.js";
|
|
10
10
|
import {
|
|
11
11
|
createLogger,
|
|
12
12
|
init_logger
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-e6dahpp2.js";
|
|
14
14
|
|
|
15
15
|
// src/env/memory/types.ts
|
|
16
16
|
import { z } from "zod";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TempFileManager
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
4
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
5
|
-
import"../../shared/@ai-setting/roy-agent-core-1khp1m0r.js";
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-9sz7hnbf.js";
|
|
4
|
+
import"../../shared/@ai-setting/roy-agent-core-e6dahpp2.js";
|
|
6
5
|
import"../../shared/@ai-setting/roy-agent-core-4an1p9a1.js";
|
|
7
6
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
8
7
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-setting/roy-agent-core",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Core SDK for roy-agent - Environment, Components, Tools, Sessions, Tasks",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -86,4 +86,4 @@
|
|
|
86
86
|
"bugs": {
|
|
87
87
|
"url": "https://github.com/ai-setting/roy-agent/issues"
|
|
88
88
|
}
|
|
89
|
-
}
|
|
89
|
+
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TagRepository
|
|
3
|
-
} from "./roy-agent-core-6m2gh57e.js";
|
|
4
|
-
import"./roy-agent-core-gb7pm9c0.js";
|
|
5
|
-
import"./roy-agent-core-kaq037np.js";
|
|
6
|
-
import"./roy-agent-core-1khp1m0r.js";
|
|
7
|
-
import"./roy-agent-core-4an1p9a1.js";
|
|
8
|
-
import"./roy-agent-core-fs0mn2jk.js";
|
|
9
|
-
export {
|
|
10
|
-
TagRepository
|
|
11
|
-
};
|