@ai-setting/roy-agent-core 1.5.104 → 1.5.106
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/index.js +5 -2
- package/dist/env/session/index.js +9 -3
- package/dist/env/workflow/index.js +8 -2
- package/dist/env/workflow/tools/index.js +12 -1
- package/dist/index.js +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-hzjgv9wd.js → roy-agent-core-8y4ccnfh.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-h5qsyzck.js → roy-agent-core-d2bmfnb5.js} +14 -1
- package/dist/shared/@ai-setting/{roy-agent-core-30k2bms9.js → roy-agent-core-ztjpg1p3.js} +3 -16
- package/package.json +1 -1
package/dist/env/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import"../shared/@ai-setting/roy-agent-core-gdhcj2x4.js";
|
|
|
21
21
|
import"../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
22
22
|
import {
|
|
23
23
|
WorkflowComponent
|
|
24
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
24
|
+
} from "../shared/@ai-setting/roy-agent-core-8y4ccnfh.js";
|
|
25
25
|
import"../shared/@ai-setting/roy-agent-core-xgnpr28w.js";
|
|
26
26
|
import"../shared/@ai-setting/roy-agent-core-kbasdf13.js";
|
|
27
27
|
import"../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
@@ -31,7 +31,7 @@ import"../shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
|
31
31
|
import"../shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
32
32
|
import"../shared/@ai-setting/roy-agent-core-g2mth323.js";
|
|
33
33
|
import"../shared/@ai-setting/roy-agent-core-qnrf2aw6.js";
|
|
34
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
34
|
+
import"../shared/@ai-setting/roy-agent-core-ztjpg1p3.js";
|
|
35
35
|
import"../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
36
36
|
import"../shared/@ai-setting/roy-agent-core-e7t3rj0e.js";
|
|
37
37
|
import"../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
@@ -70,6 +70,9 @@ import {
|
|
|
70
70
|
import"../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
71
71
|
import"../shared/@ai-setting/roy-agent-core-fnv3ev18.js";
|
|
72
72
|
import"../shared/@ai-setting/roy-agent-core-4w6rgxs4.js";
|
|
73
|
+
import"../shared/@ai-setting/roy-agent-core-d2bmfnb5.js";
|
|
74
|
+
import"../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
75
|
+
import"../shared/@ai-setting/roy-agent-core-95bbd2jv.js";
|
|
73
76
|
import"../shared/@ai-setting/roy-agent-core-yfhgxh5a.js";
|
|
74
77
|
import"../shared/@ai-setting/roy-agent-core-8x4ngxcy.js";
|
|
75
78
|
import"../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
MAX_SESSION_ID_LENGTH,
|
|
3
|
+
MIN_SESSION_ID_LENGTH,
|
|
4
|
+
SessionComponent,
|
|
5
|
+
isValidSessionId
|
|
6
|
+
} from "../../shared/@ai-setting/roy-agent-core-d2bmfnb5.js";
|
|
4
7
|
import"../../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
5
8
|
import {
|
|
6
9
|
MemorySessionStore
|
|
@@ -21,7 +24,10 @@ import"../../shared/@ai-setting/roy-agent-core-7z9b1fm8.js";
|
|
|
21
24
|
import"../../shared/@ai-setting/roy-agent-core-c6592r3c.js";
|
|
22
25
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
23
26
|
export {
|
|
27
|
+
isValidSessionId,
|
|
24
28
|
SessionMessageConverter,
|
|
25
29
|
SessionComponent,
|
|
26
|
-
MemorySessionStore
|
|
30
|
+
MemorySessionStore,
|
|
31
|
+
MIN_SESSION_ID_LENGTH,
|
|
32
|
+
MAX_SESSION_ID_LENGTH
|
|
27
33
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-8y4ccnfh.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-xgnpr28w.js";
|
|
5
5
|
import"../../shared/@ai-setting/roy-agent-core-kbasdf13.js";
|
|
6
6
|
import"../../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
pathNotFound,
|
|
61
61
|
unresolvedVariable
|
|
62
62
|
} from "../../shared/@ai-setting/roy-agent-core-qnrf2aw6.js";
|
|
63
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
63
|
+
import"../../shared/@ai-setting/roy-agent-core-ztjpg1p3.js";
|
|
64
64
|
import"../../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
65
65
|
import"../../shared/@ai-setting/roy-agent-core-e7t3rj0e.js";
|
|
66
66
|
import"../../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
@@ -82,6 +82,12 @@ import {
|
|
|
82
82
|
createNodeInterruptEvent,
|
|
83
83
|
createWorkflowAskUserEvent
|
|
84
84
|
} from "../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
85
|
+
import"../../shared/@ai-setting/roy-agent-core-d2bmfnb5.js";
|
|
86
|
+
import"../../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
87
|
+
import"../../shared/@ai-setting/roy-agent-core-95bbd2jv.js";
|
|
88
|
+
import"../../shared/@ai-setting/roy-agent-core-yfhgxh5a.js";
|
|
89
|
+
import"../../shared/@ai-setting/roy-agent-core-8x4ngxcy.js";
|
|
90
|
+
import"../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
85
91
|
import"../../shared/@ai-setting/roy-agent-core-pf1c360e.js";
|
|
86
92
|
import"../../shared/@ai-setting/roy-agent-core-ksx9a556.js";
|
|
87
93
|
import"../../shared/@ai-setting/roy-agent-core-gp872e7m.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
getRunWorkflowTool,
|
|
25
25
|
initRunWorkflowTool,
|
|
26
26
|
resetRunWorkflowTool
|
|
27
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
27
|
+
} from "../../../shared/@ai-setting/roy-agent-core-ztjpg1p3.js";
|
|
28
28
|
import {
|
|
29
29
|
WORKFLOW_SUBMIT_OUTPUT_TOOL_NAME,
|
|
30
30
|
WorkflowJsonOutputMarker,
|
|
@@ -36,6 +36,17 @@ import"../../../shared/@ai-setting/roy-agent-core-e7t3rj0e.js";
|
|
|
36
36
|
import"../../../shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
37
37
|
import"../../../shared/@ai-setting/roy-agent-core-4yq23m5g.js";
|
|
38
38
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
39
|
+
import"../../../shared/@ai-setting/roy-agent-core-d2bmfnb5.js";
|
|
40
|
+
import"../../../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
41
|
+
import"../../../shared/@ai-setting/roy-agent-core-95bbd2jv.js";
|
|
42
|
+
import"../../../shared/@ai-setting/roy-agent-core-yfhgxh5a.js";
|
|
43
|
+
import"../../../shared/@ai-setting/roy-agent-core-8x4ngxcy.js";
|
|
44
|
+
import"../../../shared/@ai-setting/roy-agent-core-qxhq8ven.js";
|
|
45
|
+
import"../../../shared/@ai-setting/roy-agent-core-pf1c360e.js";
|
|
46
|
+
import"../../../shared/@ai-setting/roy-agent-core-ksx9a556.js";
|
|
47
|
+
import"../../../shared/@ai-setting/roy-agent-core-gp872e7m.js";
|
|
48
|
+
import"../../../shared/@ai-setting/roy-agent-core-zttjq1h3.js";
|
|
49
|
+
import"../../../shared/@ai-setting/roy-agent-core-scp0afxg.js";
|
|
39
50
|
import"../../../shared/@ai-setting/roy-agent-core-cg146hmg.js";
|
|
40
51
|
import"../../../shared/@ai-setting/roy-agent-core-vyygk314.js";
|
|
41
52
|
import"../../../shared/@ai-setting/roy-agent-core-7z9b1fm8.js";
|
package/dist/index.js
CHANGED
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
} from "./shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
100
100
|
import {
|
|
101
101
|
WorkflowComponent
|
|
102
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
102
|
+
} from "./shared/@ai-setting/roy-agent-core-8y4ccnfh.js";
|
|
103
103
|
import {
|
|
104
104
|
init_node_registry_helper,
|
|
105
105
|
registerDecoratorNodeType
|
|
@@ -112,7 +112,7 @@ import"./shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
|
112
112
|
import"./shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
113
113
|
import"./shared/@ai-setting/roy-agent-core-g2mth323.js";
|
|
114
114
|
import"./shared/@ai-setting/roy-agent-core-qnrf2aw6.js";
|
|
115
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
115
|
+
import"./shared/@ai-setting/roy-agent-core-ztjpg1p3.js";
|
|
116
116
|
import"./shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
117
117
|
import"./shared/@ai-setting/roy-agent-core-e7t3rj0e.js";
|
|
118
118
|
import"./shared/@ai-setting/roy-agent-core-8wd3qwx5.js";
|
|
@@ -197,7 +197,7 @@ import"./shared/@ai-setting/roy-agent-core-fnv3ev18.js";
|
|
|
197
197
|
import"./shared/@ai-setting/roy-agent-core-4w6rgxs4.js";
|
|
198
198
|
import {
|
|
199
199
|
SessionComponent
|
|
200
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
200
|
+
} from "./shared/@ai-setting/roy-agent-core-d2bmfnb5.js";
|
|
201
201
|
import"./shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
202
202
|
import {
|
|
203
203
|
MemorySessionStore
|
|
@@ -859,4 +859,17 @@ __legacyDecorateClassTS([
|
|
|
859
859
|
__legacyDecorateClassTS([
|
|
860
860
|
TracedAs("session.extractRecentMessages")
|
|
861
861
|
], SessionComponent.prototype, "extractRecentMessages", null);
|
|
862
|
-
|
|
862
|
+
// src/env/session/session-id.ts
|
|
863
|
+
var MIN_SESSION_ID_LENGTH = 8;
|
|
864
|
+
var MAX_SESSION_ID_LENGTH = 128;
|
|
865
|
+
var SESSION_ID_PATTERN = /^[A-Za-z0-9_-]+$/;
|
|
866
|
+
function isValidSessionId(value) {
|
|
867
|
+
if (typeof value !== "string")
|
|
868
|
+
return false;
|
|
869
|
+
if (value.length < MIN_SESSION_ID_LENGTH)
|
|
870
|
+
return false;
|
|
871
|
+
if (value.length > MAX_SESSION_ID_LENGTH)
|
|
872
|
+
return false;
|
|
873
|
+
return SESSION_ID_PATTERN.test(value);
|
|
874
|
+
}
|
|
875
|
+
export { SessionComponent, MIN_SESSION_ID_LENGTH, MAX_SESSION_ID_LENGTH, isValidSessionId };
|
|
@@ -9,6 +9,9 @@ import {
|
|
|
9
9
|
AskUserError,
|
|
10
10
|
init_workflow_hil
|
|
11
11
|
} from "./roy-agent-core-e25xkv53.js";
|
|
12
|
+
import {
|
|
13
|
+
isValidSessionId
|
|
14
|
+
} from "./roy-agent-core-d2bmfnb5.js";
|
|
12
15
|
import {
|
|
13
16
|
TracedAs,
|
|
14
17
|
init_decorator
|
|
@@ -611,22 +614,6 @@ function createWorkflowSearchTool(workflowService) {
|
|
|
611
614
|
// src/env/workflow/tools/run-workflow.ts
|
|
612
615
|
init_logger();
|
|
613
616
|
import { z as z8 } from "zod";
|
|
614
|
-
|
|
615
|
-
// src/env/session/session-id.ts
|
|
616
|
-
var MIN_SESSION_ID_LENGTH = 8;
|
|
617
|
-
var MAX_SESSION_ID_LENGTH = 128;
|
|
618
|
-
var SESSION_ID_PATTERN = /^[A-Za-z0-9_-]+$/;
|
|
619
|
-
function isValidSessionId(value) {
|
|
620
|
-
if (typeof value !== "string")
|
|
621
|
-
return false;
|
|
622
|
-
if (value.length < MIN_SESSION_ID_LENGTH)
|
|
623
|
-
return false;
|
|
624
|
-
if (value.length > MAX_SESSION_ID_LENGTH)
|
|
625
|
-
return false;
|
|
626
|
-
return SESSION_ID_PATTERN.test(value);
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
// src/env/workflow/tools/run-workflow.ts
|
|
630
617
|
var logger7 = createLogger("run-workflow-tool");
|
|
631
618
|
var RunWorkflowInputSchema = z8.object({
|
|
632
619
|
workflow_name: z8.string().describe("Name of the workflow to run"),
|