@ai-setting/roy-agent-core 1.7.58 → 1.7.61
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 -8
- package/dist/env/agent/index.js +14 -14
- package/dist/env/commands/index.js +8 -8
- package/dist/env/context/index.js +4 -4
- package/dist/env/debug/index.js +8 -8
- package/dist/env/event-source/cli-command-handler.d.ts +90 -0
- package/dist/env/event-source/event-source-handlers.d.ts +12 -1
- package/dist/env/event-source/index.d.ts +4 -2
- package/dist/env/event-source/index.js +30 -20
- package/dist/env/event-source/types.d.ts +89 -1
- package/dist/env/hook/index.js +6 -6
- package/dist/env/index.d.ts +1 -1
- package/dist/env/index.js +46 -46
- package/dist/env/llm/index.js +9 -9
- package/dist/env/log-trace/index.d.ts +1 -1
- package/dist/env/log-trace/index.js +12 -8
- package/dist/env/log-trace/logger.d.ts +2 -0
- package/dist/env/mcp/index.js +9 -9
- package/dist/env/mcp/tool/index.js +2 -2
- package/dist/env/memory/index.js +9 -9
- package/dist/env/memory/plugin/index.js +2 -2
- package/dist/env/plugin/index.js +8 -8
- package/dist/env/prompt/index.js +8 -8
- package/dist/env/session/index.js +11 -11
- package/dist/env/session/storage/index.js +5 -5
- package/dist/env/skill/index.js +8 -8
- package/dist/env/task/delegate/index.js +9 -9
- package/dist/env/task/index.js +16 -16
- package/dist/env/task/mcp/index.d.ts +16 -0
- package/dist/env/task/mcp/index.js +222 -0
- package/dist/env/task/mcp/task-mcp-server.d.ts +142 -0
- package/dist/env/task/plugins/index.d.ts +1 -0
- package/dist/env/task/plugins/index.js +47 -12
- package/dist/env/task/storage/index.js +4 -4
- package/dist/env/task/storage/migrations/log-migration.d.ts +19 -0
- package/dist/env/task/storage/sqlite-task-store.d.ts +29 -0
- package/dist/env/task/task-component.d.ts +48 -3
- package/dist/env/task/tools/index.js +4 -4
- package/dist/env/task/tools/task-types.d.ts +60 -11
- package/dist/env/tool/built-in/index.js +4 -4
- package/dist/env/tool/index.js +11 -11
- package/dist/env/workflow/engine/index.js +13 -13
- package/dist/env/workflow/hooks/index.js +8 -8
- package/dist/env/workflow/index.js +23 -23
- package/dist/env/workflow/nodes/index.js +3 -3
- package/dist/env/workflow/plugins/index.js +9 -9
- package/dist/env/workflow/service/index.js +3 -3
- package/dist/env/workflow/storage/index.js +4 -4
- package/dist/env/workflow/tools/index.js +15 -15
- package/dist/env/workflow/tools/run-workflow.d.ts +30 -0
- package/dist/env/workflow/utils/index.js +5 -5
- package/dist/env/workflow/utils/session-recovery.d.ts +27 -0
- package/dist/index.js +81 -71
- package/dist/shared/@ai-setting/{roy-agent-core-tze5596n.js → roy-agent-core-0f989bnp.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-e250355z.js → roy-agent-core-22r4zmkw.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-8p63s836.js → roy-agent-core-2qkrpc7m.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-47s81t6g.js → roy-agent-core-3bpntd80.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-rcgvmtms.js → roy-agent-core-3p59ap0x.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-en2xqxs9.js → roy-agent-core-4m5spt7m.js} +39 -14
- package/dist/shared/@ai-setting/{roy-agent-core-5f7myqnb.js → roy-agent-core-5565cvw8.js} +11 -5
- package/dist/shared/@ai-setting/{roy-agent-core-2fk8c9ax.js → roy-agent-core-5knpegzr.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-08njdcpj.js → roy-agent-core-60p2380d.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-0yn7a78e.js → roy-agent-core-6cyjps72.js} +14 -14
- package/dist/shared/@ai-setting/{roy-agent-core-89sxsrc7.js → roy-agent-core-8fy467qs.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-x6c45yqd.js → roy-agent-core-99nwgj84.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-20m8je6e.js → roy-agent-core-9k8ms63r.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-0kn3zt1t.js → roy-agent-core-9s3payp1.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-hefarcp0.js → roy-agent-core-a5nh5q6v.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-hs41gx9w.js → roy-agent-core-aa514zm8.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-yphwdm9x.js → roy-agent-core-ajmgyawx.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-caevk7xd.js → roy-agent-core-arx535cs.js} +30 -8
- package/dist/shared/@ai-setting/{roy-agent-core-vath15kt.js → roy-agent-core-bc3v8pw4.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-m97jn2ra.js → roy-agent-core-bdzdw1g3.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ck60j1q9.js → roy-agent-core-bxkjk7zx.js} +2 -1
- package/dist/shared/@ai-setting/{roy-agent-core-6bradb0j.js → roy-agent-core-cndvj1hv.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-d75t8gea.js → roy-agent-core-dg286rpd.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-q4gdfypk.js → roy-agent-core-dp1hp24k.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-ygn5tzt1.js → roy-agent-core-dythsgkn.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-em4hks9t.js → roy-agent-core-e6k448ka.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-ytd5eztz.js → roy-agent-core-expvav8a.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-vgdhxbx3.js → roy-agent-core-g44nbgtt.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-14bq77wr.js → roy-agent-core-g5sw19fa.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-991pk4ss.js → roy-agent-core-gtb4fj8j.js} +16 -16
- package/dist/shared/@ai-setting/{roy-agent-core-gksw1gjb.js → roy-agent-core-hf0t8agb.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-txwptxk1.js → roy-agent-core-j0x9yf96.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-84rs0c8d.js → roy-agent-core-jrksyqb6.js} +7 -7
- package/dist/shared/@ai-setting/{roy-agent-core-ge87xbas.js → roy-agent-core-jsdqzfbj.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-m68z3pw1.js → roy-agent-core-jsn21cb9.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-n0p0hwgd.js → roy-agent-core-kfmrfaft.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-7q4wdze2.js → roy-agent-core-khc23qs1.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-e1w17tht.js → roy-agent-core-m2tv4pj0.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-4096f575.js → roy-agent-core-mhppywse.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-t64nmayv.js → roy-agent-core-mw0bc9g6.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-8bngppw0.js → roy-agent-core-n1ck0x1r.js} +13 -13
- package/dist/shared/@ai-setting/{roy-agent-core-w93z6a42.js → roy-agent-core-nd5171pv.js} +12 -12
- package/dist/shared/@ai-setting/{roy-agent-core-geh6j7bw.js → roy-agent-core-p2dpcyrz.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-fw6k4w1h.js → roy-agent-core-pj5tfmn5.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-029r8kdw.js → roy-agent-core-q212q0w1.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-psg6f1v6.js → roy-agent-core-qgapy83x.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-jjxdmedn.js → roy-agent-core-qpqqx1wd.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-syyw58p9.js → roy-agent-core-qrjs2500.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-84xtww7d.js → roy-agent-core-qw5fpa24.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-kq9pz2a7.js → roy-agent-core-rnzm0tpf.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-7nb23tdd.js → roy-agent-core-s7w47mnn.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-t4x089js.js → roy-agent-core-sf9tsj0g.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-jjhw9am6.js → roy-agent-core-tn96n4wz.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-c7w2h47a.js → roy-agent-core-vmfk4m1v.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-cyefe8z5.js → roy-agent-core-x1m0gs0q.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-baaa4wtp.js → roy-agent-core-xc0es9zc.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-fbjd7bt6.js → roy-agent-core-xeqp659x.js} +64 -29
- package/dist/shared/@ai-setting/{roy-agent-core-rt115qfc.js → roy-agent-core-y0k9kaxz.js} +14 -4
- package/dist/shared/@ai-setting/{roy-agent-core-c36335nw.js → roy-agent-core-yd85623y.js} +15 -3
- package/dist/shared/@ai-setting/{roy-agent-core-9zhkdg6w.js → roy-agent-core-ygfjgk9b.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-vh0qzb24.js → roy-agent-core-ymcvsdzn.js} +36 -15
- package/dist/shared/@ai-setting/{roy-agent-core-eanq305k.js → roy-agent-core-yr5eqyhz.js} +11 -11
- package/dist/shared/@ai-setting/{roy-agent-core-fy4mcj6x.js → roy-agent-core-ytnedzks.js} +292 -105
- package/dist/shared/@ai-setting/{roy-agent-core-2ctyjy62.js → roy-agent-core-z51jktet.js} +1 -1
- package/dist/utils/temp-file-manager/index.js +2 -2
- package/package.json +16 -1
- /package/dist/shared/@ai-setting/{roy-agent-core-3ztzc83c.js → roy-agent-core-5enxfga2.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LLMComponent,
|
|
3
|
+
LLMConfigSchema,
|
|
4
|
+
LLMDefaultConfigSchema,
|
|
5
|
+
ModelLimitsSchema,
|
|
6
|
+
ProviderCapabilitiesSchema,
|
|
7
|
+
ProviderConfigSchema
|
|
8
|
+
} from "./shared/@ai-setting/roy-agent-core-5565cvw8.js";
|
|
1
9
|
import"./shared/@ai-setting/roy-agent-core-wjmwwc4a.js";
|
|
2
10
|
import {
|
|
3
11
|
bashTool,
|
|
@@ -8,40 +16,32 @@ import {
|
|
|
8
16
|
grepTool,
|
|
9
17
|
readFileTool,
|
|
10
18
|
writeFileTool
|
|
11
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
12
|
-
import {
|
|
13
|
-
ConfigComponent
|
|
14
|
-
} from "./shared/@ai-setting/roy-agent-core-20m8je6e.js";
|
|
19
|
+
} from "./shared/@ai-setting/roy-agent-core-dp1hp24k.js";
|
|
15
20
|
import {
|
|
16
21
|
getUnderstandImageLLMProvider,
|
|
17
22
|
resetUnderstandImageLLMProvider,
|
|
18
23
|
setUnderstandImageLLMProvider,
|
|
19
24
|
understandImageTool
|
|
20
25
|
} from "./shared/@ai-setting/roy-agent-core-xwm8zavb.js";
|
|
26
|
+
import {
|
|
27
|
+
ConfigComponent
|
|
28
|
+
} from "./shared/@ai-setting/roy-agent-core-9k8ms63r.js";
|
|
29
|
+
import"./shared/@ai-setting/roy-agent-core-adg9ghbt.js";
|
|
21
30
|
import {
|
|
22
31
|
PromptComponent,
|
|
23
32
|
PromptStore
|
|
24
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
25
|
-
import {
|
|
26
|
-
LLMComponent,
|
|
27
|
-
LLMConfigSchema,
|
|
28
|
-
LLMDefaultConfigSchema,
|
|
29
|
-
ModelLimitsSchema,
|
|
30
|
-
ProviderCapabilitiesSchema,
|
|
31
|
-
ProviderConfigSchema
|
|
32
|
-
} from "./shared/@ai-setting/roy-agent-core-5f7myqnb.js";
|
|
33
|
-
import"./shared/@ai-setting/roy-agent-core-adg9ghbt.js";
|
|
33
|
+
} from "./shared/@ai-setting/roy-agent-core-e6k448ka.js";
|
|
34
34
|
import {
|
|
35
35
|
MemoryComponent
|
|
36
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
36
|
+
} from "./shared/@ai-setting/roy-agent-core-xc0es9zc.js";
|
|
37
37
|
import"./shared/@ai-setting/roy-agent-core-g1s2h0e5.js";
|
|
38
38
|
import {
|
|
39
39
|
MemoryPlugin,
|
|
40
40
|
createMemoryPlugin
|
|
41
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
41
|
+
} from "./shared/@ai-setting/roy-agent-core-x1m0gs0q.js";
|
|
42
42
|
import {
|
|
43
43
|
DebugComponent
|
|
44
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
44
|
+
} from "./shared/@ai-setting/roy-agent-core-q212q0w1.js";
|
|
45
45
|
import {
|
|
46
46
|
ReplFormatter,
|
|
47
47
|
TraceFormatter,
|
|
@@ -49,41 +49,46 @@ import {
|
|
|
49
49
|
} from "./shared/@ai-setting/roy-agent-core-rvv6ydff.js";
|
|
50
50
|
import {
|
|
51
51
|
SkillComponent
|
|
52
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
52
|
+
} from "./shared/@ai-setting/roy-agent-core-3bpntd80.js";
|
|
53
53
|
import"./shared/@ai-setting/roy-agent-core-psvxt4c9.js";
|
|
54
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
54
|
+
import"./shared/@ai-setting/roy-agent-core-5enxfga2.js";
|
|
55
55
|
import {
|
|
56
56
|
closeDatabase
|
|
57
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
58
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
57
|
+
} from "./shared/@ai-setting/roy-agent-core-qpqqx1wd.js";
|
|
58
|
+
import"./shared/@ai-setting/roy-agent-core-3p59ap0x.js";
|
|
59
59
|
import {
|
|
60
60
|
BaseEnvironment,
|
|
61
61
|
generateDescendingId,
|
|
62
62
|
generateId
|
|
63
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
63
|
+
} from "./shared/@ai-setting/roy-agent-core-jrksyqb6.js";
|
|
64
64
|
import {
|
|
65
65
|
TaskComponent
|
|
66
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
66
|
+
} from "./shared/@ai-setting/roy-agent-core-gtb4fj8j.js";
|
|
67
67
|
import"./shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
68
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
69
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
70
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
68
|
+
import"./shared/@ai-setting/roy-agent-core-cndvj1hv.js";
|
|
69
|
+
import"./shared/@ai-setting/roy-agent-core-g5sw19fa.js";
|
|
70
|
+
import"./shared/@ai-setting/roy-agent-core-khc23qs1.js";
|
|
71
71
|
import"./shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
72
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
73
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
72
|
+
import"./shared/@ai-setting/roy-agent-core-ymcvsdzn.js";
|
|
73
|
+
import"./shared/@ai-setting/roy-agent-core-rn57psp0.js";
|
|
74
74
|
import {
|
|
75
75
|
BountyIMInstance,
|
|
76
|
+
CLI_COMMAND_ES_TYPE,
|
|
77
|
+
CLI_SESSION_CHAT_ID_PREFIX,
|
|
76
78
|
EventSourceComponent,
|
|
77
79
|
TimerInstance,
|
|
78
80
|
bountyIMHandler,
|
|
81
|
+
buildCliReplyChannel,
|
|
79
82
|
buildDefaultBountyIMSystemPrompt,
|
|
80
83
|
builtInHandlers,
|
|
84
|
+
cliCommandHandler,
|
|
81
85
|
extractMetadata,
|
|
82
86
|
getBuiltInHandler,
|
|
83
87
|
larkCliHandler,
|
|
88
|
+
parseCliSessionChatId,
|
|
84
89
|
resolveBountyIMSystemPrompt,
|
|
85
90
|
timerHandler
|
|
86
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
91
|
+
} from "./shared/@ai-setting/roy-agent-core-ytnedzks.js";
|
|
87
92
|
import {
|
|
88
93
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
89
94
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -92,25 +97,25 @@ import {
|
|
|
92
97
|
isBuiltInEventSourceType,
|
|
93
98
|
isValidEventSourceType,
|
|
94
99
|
validateEventSourceConfig
|
|
95
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
100
|
+
} from "./shared/@ai-setting/roy-agent-core-bxkjk7zx.js";
|
|
96
101
|
import {
|
|
97
102
|
LogTraceComponent,
|
|
98
103
|
LogTraceConfigSchema
|
|
99
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
104
|
+
} from "./shared/@ai-setting/roy-agent-core-0f989bnp.js";
|
|
100
105
|
import {
|
|
101
106
|
TaskTagPlugin,
|
|
102
107
|
createAutoTaskPlugin
|
|
103
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
104
|
-
import {
|
|
105
|
-
SQLiteTaskStore,
|
|
106
|
-
getDefaultTaskDbPath
|
|
107
|
-
} from "./shared/@ai-setting/roy-agent-core-fbjd7bt6.js";
|
|
108
|
+
} from "./shared/@ai-setting/roy-agent-core-n1ck0x1r.js";
|
|
108
109
|
import {
|
|
109
110
|
EventStoreImpl,
|
|
110
111
|
getSharedEventStore,
|
|
111
112
|
resetSharedEventStore,
|
|
112
113
|
setSharedEventStore
|
|
113
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
114
|
+
} from "./shared/@ai-setting/roy-agent-core-z51jktet.js";
|
|
115
|
+
import {
|
|
116
|
+
SQLiteTaskStore,
|
|
117
|
+
getDefaultTaskDbPath
|
|
118
|
+
} from "./shared/@ai-setting/roy-agent-core-xeqp659x.js";
|
|
114
119
|
import {
|
|
115
120
|
TaskHookPoints
|
|
116
121
|
} from "./shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
@@ -118,15 +123,15 @@ import {
|
|
|
118
123
|
getBuiltInPrompt,
|
|
119
124
|
getBuiltInPromptNames
|
|
120
125
|
} from "./shared/@ai-setting/roy-agent-core-6masakz4.js";
|
|
121
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
122
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
126
|
+
import"./shared/@ai-setting/roy-agent-core-qgapy83x.js";
|
|
127
|
+
import"./shared/@ai-setting/roy-agent-core-yd85623y.js";
|
|
123
128
|
import {
|
|
124
129
|
WorkflowComponent
|
|
125
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
130
|
+
} from "./shared/@ai-setting/roy-agent-core-6cyjps72.js";
|
|
126
131
|
import {
|
|
127
132
|
init_node_registry_helper,
|
|
128
133
|
registerDecoratorNodeType
|
|
129
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
134
|
+
} from "./shared/@ai-setting/roy-agent-core-g44nbgtt.js";
|
|
130
135
|
import {
|
|
131
136
|
Edge,
|
|
132
137
|
NodeAs,
|
|
@@ -135,53 +140,53 @@ import {
|
|
|
135
140
|
createWorkflowFromClass
|
|
136
141
|
} from "./shared/@ai-setting/roy-agent-core-h0x19xgn.js";
|
|
137
142
|
import"./shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
138
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
143
|
+
import"./shared/@ai-setting/roy-agent-core-4m5spt7m.js";
|
|
139
144
|
import {
|
|
140
145
|
SessionComponent
|
|
141
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
146
|
+
} from "./shared/@ai-setting/roy-agent-core-rnzm0tpf.js";
|
|
142
147
|
import {
|
|
143
148
|
MemorySessionStore
|
|
144
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
149
|
+
} from "./shared/@ai-setting/roy-agent-core-vmfk4m1v.js";
|
|
145
150
|
import"./shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
146
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
147
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
151
|
+
import"./shared/@ai-setting/roy-agent-core-ygfjgk9b.js";
|
|
152
|
+
import"./shared/@ai-setting/roy-agent-core-nd5171pv.js";
|
|
148
153
|
import"./shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
149
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
150
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
154
|
+
import"./shared/@ai-setting/roy-agent-core-j0x9yf96.js";
|
|
155
|
+
import"./shared/@ai-setting/roy-agent-core-dg286rpd.js";
|
|
151
156
|
import"./shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
152
157
|
import"./shared/@ai-setting/roy-agent-core-ze068vc9.js";
|
|
153
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
154
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
158
|
+
import"./shared/@ai-setting/roy-agent-core-a5nh5q6v.js";
|
|
159
|
+
import"./shared/@ai-setting/roy-agent-core-p2dpcyrz.js";
|
|
155
160
|
import"./shared/@ai-setting/roy-agent-core-7exqwax1.js";
|
|
156
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
157
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
161
|
+
import"./shared/@ai-setting/roy-agent-core-8fy467qs.js";
|
|
162
|
+
import"./shared/@ai-setting/roy-agent-core-sf9tsj0g.js";
|
|
158
163
|
import"./shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
159
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
164
|
+
import"./shared/@ai-setting/roy-agent-core-60p2380d.js";
|
|
160
165
|
import"./shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
161
166
|
import"./shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
162
167
|
import {
|
|
163
168
|
CommandsComponent
|
|
164
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
169
|
+
} from "./shared/@ai-setting/roy-agent-core-mw0bc9g6.js";
|
|
165
170
|
import {
|
|
166
171
|
AgentComponent,
|
|
167
172
|
AgentComponentConfigSchema
|
|
168
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
173
|
+
} from "./shared/@ai-setting/roy-agent-core-yr5eqyhz.js";
|
|
169
174
|
import {
|
|
170
175
|
ToolComponent,
|
|
171
176
|
ToolRegistry,
|
|
172
177
|
ToolValidator
|
|
173
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
174
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
178
|
+
} from "./shared/@ai-setting/roy-agent-core-pj5tfmn5.js";
|
|
179
|
+
import"./shared/@ai-setting/roy-agent-core-kfmrfaft.js";
|
|
175
180
|
import {
|
|
176
181
|
AgentRegistry
|
|
177
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
182
|
+
} from "./shared/@ai-setting/roy-agent-core-dythsgkn.js";
|
|
178
183
|
import {
|
|
179
184
|
XDG_PATHS,
|
|
180
185
|
getXDGPath,
|
|
181
186
|
getXDGPaths
|
|
182
187
|
} from "./shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
183
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
184
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
188
|
+
import"./shared/@ai-setting/roy-agent-core-hf0t8agb.js";
|
|
189
|
+
import"./shared/@ai-setting/roy-agent-core-jsdqzfbj.js";
|
|
185
190
|
import {
|
|
186
191
|
buildOpencodeHeaders,
|
|
187
192
|
createInvokeConfig,
|
|
@@ -190,7 +195,7 @@ import {
|
|
|
190
195
|
isOpencodeEndpoint,
|
|
191
196
|
isOpencodeProvider,
|
|
192
197
|
parseModelString
|
|
193
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
198
|
+
} from "./shared/@ai-setting/roy-agent-core-m2tv4pj0.js";
|
|
194
199
|
import {
|
|
195
200
|
ATTACH_FILE_MAX_BYTES,
|
|
196
201
|
isMediaType,
|
|
@@ -204,15 +209,15 @@ import {
|
|
|
204
209
|
} from "./shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
205
210
|
import {
|
|
206
211
|
PluginComponent
|
|
207
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
212
|
+
} from "./shared/@ai-setting/roy-agent-core-aa514zm8.js";
|
|
208
213
|
import"./shared/@ai-setting/roy-agent-core-64f22h1g.js";
|
|
209
214
|
import {
|
|
210
215
|
BasePlugin
|
|
211
216
|
} from "./shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
212
217
|
import {
|
|
213
218
|
McpComponent
|
|
214
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
215
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
219
|
+
} from "./shared/@ai-setting/roy-agent-core-qw5fpa24.js";
|
|
220
|
+
import"./shared/@ai-setting/roy-agent-core-jsn21cb9.js";
|
|
216
221
|
import {
|
|
217
222
|
AgentError,
|
|
218
223
|
ComponentError,
|
|
@@ -227,18 +232,18 @@ import {
|
|
|
227
232
|
import"./shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
228
233
|
import {
|
|
229
234
|
BaseComponent
|
|
230
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
235
|
+
} from "./shared/@ai-setting/roy-agent-core-9s3payp1.js";
|
|
231
236
|
import {
|
|
232
237
|
createHook,
|
|
233
238
|
createPriorityHook,
|
|
234
239
|
init_hook
|
|
235
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
240
|
+
} from "./shared/@ai-setting/roy-agent-core-expvav8a.js";
|
|
236
241
|
import {
|
|
237
242
|
HookManager,
|
|
238
243
|
globalHookManager
|
|
239
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
240
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
241
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
244
|
+
} from "./shared/@ai-setting/roy-agent-core-ajmgyawx.js";
|
|
245
|
+
import"./shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
246
|
+
import"./shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
242
247
|
import {
|
|
243
248
|
Traced,
|
|
244
249
|
TracedAs,
|
|
@@ -258,7 +263,7 @@ import {
|
|
|
258
263
|
toolExecResultFilter,
|
|
259
264
|
toolInvokeParamFilter,
|
|
260
265
|
wrapFunction
|
|
261
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
266
|
+
} from "./shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
262
267
|
import {
|
|
263
268
|
OTelTracerProvider,
|
|
264
269
|
SpanKind,
|
|
@@ -275,7 +280,7 @@ import {
|
|
|
275
280
|
setConfigComponent,
|
|
276
281
|
setLogDirOverride,
|
|
277
282
|
setQuietMode
|
|
278
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
283
|
+
} from "./shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
279
284
|
import {
|
|
280
285
|
SQLiteSpanStorage
|
|
281
286
|
} from "./shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
@@ -539,6 +544,7 @@ export {
|
|
|
539
544
|
propagation,
|
|
540
545
|
parseModelString,
|
|
541
546
|
parseImageInput,
|
|
547
|
+
parseCliSessionChatId,
|
|
542
548
|
messagesParamFilter,
|
|
543
549
|
llmInvokeResultFilter,
|
|
544
550
|
llmInvokeParamFilter,
|
|
@@ -588,10 +594,12 @@ export {
|
|
|
588
594
|
createHook,
|
|
589
595
|
createAutoTaskPlugin,
|
|
590
596
|
closeDatabase,
|
|
597
|
+
cliCommandHandler,
|
|
591
598
|
cascadeStopSessionTree,
|
|
592
599
|
builtInHandlers,
|
|
593
600
|
buildOpencodeHeaders,
|
|
594
601
|
buildDefaultBountyIMSystemPrompt,
|
|
602
|
+
buildCliReplyChannel,
|
|
595
603
|
bountyIMHandler,
|
|
596
604
|
bashTool,
|
|
597
605
|
agentRunParamFilter,
|
|
@@ -649,6 +657,8 @@ export {
|
|
|
649
657
|
ConfigComponent,
|
|
650
658
|
ComponentError,
|
|
651
659
|
CommandsComponent,
|
|
660
|
+
CLI_SESSION_CHAT_ID_PREFIX,
|
|
661
|
+
CLI_COMMAND_ES_TYPE,
|
|
652
662
|
BountyIMInstance,
|
|
653
663
|
BasePlugin,
|
|
654
664
|
BaseEnvironment,
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseComponent
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-9s3payp1.js";
|
|
7
7
|
import {
|
|
8
8
|
init_decorator,
|
|
9
9
|
init_trace_filters
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-2qkrpc7m.js";
|
|
11
11
|
import {
|
|
12
12
|
createLogger,
|
|
13
13
|
getTracerProvider,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
propagation,
|
|
19
19
|
setConfigComponent,
|
|
20
20
|
setQuietMode
|
|
21
|
-
} from "./roy-agent-core-
|
|
21
|
+
} from "./roy-agent-core-y0k9kaxz.js";
|
|
22
22
|
import {
|
|
23
23
|
SQLiteSpanStorage,
|
|
24
24
|
init_span_storage
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TagRepository
|
|
3
|
-
} from "./roy-agent-core-
|
|
4
|
-
import"./roy-agent-core-
|
|
5
|
-
import"./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-3p59ap0x.js";
|
|
4
|
+
import"./roy-agent-core-2qkrpc7m.js";
|
|
5
|
+
import"./roy-agent-core-y0k9kaxz.js";
|
|
6
6
|
import"./roy-agent-core-jnszp0jq.js";
|
|
7
7
|
import"./roy-agent-core-fs0mn2jk.js";
|
|
8
8
|
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-9s3payp1.js";
|
|
10
10
|
import {
|
|
11
11
|
createLogger,
|
|
12
12
|
init_logger
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-y0k9kaxz.js";
|
|
14
14
|
|
|
15
15
|
// src/env/skill/skill-component.ts
|
|
16
16
|
init_logger();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isValidSessionId
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-rnzm0tpf.js";
|
|
4
4
|
import {
|
|
5
5
|
TAG_MAX_COUNT,
|
|
6
6
|
TAG_MIN_COUNT
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-ygfjgk9b.js";
|
|
8
8
|
import {
|
|
9
9
|
validateWorkflowDefinition
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-8fy467qs.js";
|
|
11
11
|
import {
|
|
12
12
|
getCurrentBgTaskId
|
|
13
13
|
} from "./roy-agent-core-c1v263jn.js";
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
TracedAs,
|
|
20
20
|
init_decorator
|
|
21
|
-
} from "./roy-agent-core-
|
|
21
|
+
} from "./roy-agent-core-2qkrpc7m.js";
|
|
22
22
|
import {
|
|
23
23
|
createLogger,
|
|
24
24
|
init_logger
|
|
25
|
-
} from "./roy-agent-core-
|
|
25
|
+
} from "./roy-agent-core-y0k9kaxz.js";
|
|
26
26
|
import {
|
|
27
27
|
__legacyDecorateClassTS,
|
|
28
28
|
__require
|
|
@@ -847,7 +847,7 @@ function extractStackSummary(message) {
|
|
|
847
847
|
var RunWorkflowInputSchema = z8.object({
|
|
848
848
|
workflow_name: z8.string().describe("Name of the workflow to run"),
|
|
849
849
|
input: z8.record(z8.any()).optional().describe("Input to pass to the workflow"),
|
|
850
|
-
timeout: z8.number().positive().optional().describe("Timeout in milliseconds
|
|
850
|
+
timeout: z8.number().positive().optional().describe("Timeout in milliseconds. When omitted, derived from the workflow definition's config.timeout; falls back to 1800000 (30 min) if the definition declares none."),
|
|
851
851
|
node_config: z8.record(z8.string(), z8.record(z8.string(), z8.any())).optional().describe("Per-node runtime config overrides keyed by node id (Task #1974). " + "Shallow-merged into each node's effective config; input wins over nodeDef.config."),
|
|
852
852
|
session: z8.string().regex(/^workflow_/, { message: "session must start with 'workflow_'" }).optional().describe("Existing session ID (workflow_xxx) to resume from. Mutually exclusive with fresh `input` runs.")
|
|
853
853
|
}).strict();
|
|
@@ -909,10 +909,31 @@ __legacyDecorateClassTS([
|
|
|
909
909
|
recordResult: false
|
|
910
910
|
})
|
|
911
911
|
], RunWorkflowLifecycleTracer.prototype, "execute", null);
|
|
912
|
+
var DEFAULT_WORKFLOW_RUN_TIMEOUT_MS = 1800000;
|
|
913
|
+
function resolveEffectiveTimeout(workflowService, workflowName, explicitTimeout) {
|
|
914
|
+
if (isPositiveFinite(explicitTimeout)) {
|
|
915
|
+
return explicitTimeout;
|
|
916
|
+
}
|
|
917
|
+
if (workflowName) {
|
|
918
|
+
try {
|
|
919
|
+
const workflow = workflowService?.getWorkflow?.(workflowName) ?? workflowService?.getWorkflowByName?.(workflowName);
|
|
920
|
+
const declared = workflow?.definition?.config?.timeout;
|
|
921
|
+
if (isPositiveFinite(declared)) {
|
|
922
|
+
return declared;
|
|
923
|
+
}
|
|
924
|
+
} catch (err) {
|
|
925
|
+
logger7.warn(`workflow_run: could not resolve definition for ${workflowName}; ` + `falling back to the default run budget`, { error: err instanceof Error ? err.message : String(err) });
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
return DEFAULT_WORKFLOW_RUN_TIMEOUT_MS;
|
|
929
|
+
}
|
|
930
|
+
function isPositiveFinite(v) {
|
|
931
|
+
return typeof v === "number" && Number.isFinite(v) && v > 0;
|
|
932
|
+
}
|
|
912
933
|
function createRunWorkflowTool(workflowService, hooks) {
|
|
913
934
|
const tool = {
|
|
914
935
|
name: "workflow_run",
|
|
915
|
-
description: "Run a workflow by name with optional input, OR resume an existing workflow run via the `session` field (the runId itself acts as session ID, both have `workflow_` prefix natively — pass the workflow run's runId directly). Returns run_id (== session_id, ALWAYS populated — even on timeout/abort/error paths), status, output, error, and duration_ms.
|
|
936
|
+
description: "Run a workflow by name with optional input, OR resume an existing workflow run via the `session` field (the runId itself acts as session ID, both have `workflow_` prefix natively — pass the workflow run's runId directly). Returns run_id (== session_id, ALWAYS populated — even on timeout/abort/error paths), status, output, error, and duration_ms. When `timeout` is omitted the run budget is derived from the workflow definition's `config.timeout`, falling back to 30 minutes (1800000 ms) only when the definition declares none.",
|
|
916
937
|
parameters: RunWorkflowInputSchema,
|
|
917
938
|
sandbox: {
|
|
918
939
|
enabled: false
|
|
@@ -928,10 +949,12 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
928
949
|
},
|
|
929
950
|
execute: async (args, ctx) => {
|
|
930
951
|
const startTime = Date.now();
|
|
931
|
-
const { workflow_name, input, session, timeout
|
|
952
|
+
const { workflow_name, input, session, timeout, node_config } = args;
|
|
953
|
+
const effectiveTimeout = resolveEffectiveTimeout(workflowService, workflow_name, timeout);
|
|
932
954
|
logger7.info(`Running workflow: ${workflow_name}`, {
|
|
933
955
|
input,
|
|
934
|
-
timeout,
|
|
956
|
+
timeout: effectiveTimeout,
|
|
957
|
+
timeoutSource: timeout ? "caller" : "definition-or-default",
|
|
935
958
|
...session ? { resumeSession: session } : {}
|
|
936
959
|
});
|
|
937
960
|
const ctxSessionId = typeof ctx?.session_id === "string" && isValidSessionId(ctx.session_id) ? ctx.session_id : undefined;
|
|
@@ -968,7 +991,7 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
968
991
|
...session ? {} : { runId: reservedRunId },
|
|
969
992
|
onSessionCreated,
|
|
970
993
|
...node_config ? { nodeConfig: node_config } : {},
|
|
971
|
-
|
|
994
|
+
timeout: effectiveTimeout
|
|
972
995
|
};
|
|
973
996
|
const executeCall = async () => {
|
|
974
997
|
if (session) {
|
|
@@ -979,7 +1002,7 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
979
1002
|
}
|
|
980
1003
|
return workflowService.runWorkflow(workflow_name, input, baseOptions);
|
|
981
1004
|
};
|
|
982
|
-
if (
|
|
1005
|
+
if (effectiveTimeout) {
|
|
983
1006
|
result = await Promise.race([
|
|
984
1007
|
executeCall(),
|
|
985
1008
|
new Promise((_, reject) => {
|
|
@@ -987,7 +1010,7 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
987
1010
|
timedOut = true;
|
|
988
1011
|
attemptStopOnTimeout(workflowService, capturedRunId ?? reservedRunId, "timed out");
|
|
989
1012
|
reject(new Error("Workflow execution timed out"));
|
|
990
|
-
},
|
|
1013
|
+
}, effectiveTimeout);
|
|
991
1014
|
})
|
|
992
1015
|
]);
|
|
993
1016
|
} else {
|
|
@@ -1025,7 +1048,8 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
1025
1048
|
error: `${resolvedErrorMessage} ${resolvedErrorClassification} (runId: ${finalRunId})`,
|
|
1026
1049
|
metadata: {
|
|
1027
1050
|
execution_time_ms: durationMs,
|
|
1028
|
-
run_id: finalRunId
|
|
1051
|
+
run_id: finalRunId,
|
|
1052
|
+
timeout_ms: effectiveTimeout
|
|
1029
1053
|
}
|
|
1030
1054
|
};
|
|
1031
1055
|
}
|
|
@@ -1043,7 +1067,8 @@ function createRunWorkflowTool(workflowService, hooks) {
|
|
|
1043
1067
|
},
|
|
1044
1068
|
metadata: {
|
|
1045
1069
|
execution_time_ms: durationMs,
|
|
1046
|
-
run_id: finalRunId
|
|
1070
|
+
run_id: finalRunId,
|
|
1071
|
+
timeout_ms: effectiveTimeout
|
|
1047
1072
|
}
|
|
1048
1073
|
};
|
|
1049
1074
|
} catch (error) {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
PiAiAdapter,
|
|
7
7
|
invoke,
|
|
8
8
|
invokeNonStream
|
|
9
|
-
} from "./roy-agent-core-
|
|
9
|
+
} from "./roy-agent-core-m2tv4pj0.js";
|
|
10
10
|
import {
|
|
11
11
|
ContextError,
|
|
12
12
|
ErrorCodes
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
18
18
|
import {
|
|
19
19
|
BaseComponent
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-9s3payp1.js";
|
|
21
21
|
import {
|
|
22
22
|
LLMHookPoints,
|
|
23
23
|
globalHookManager,
|
|
24
24
|
init_global_hook_manager
|
|
25
|
-
} from "./roy-agent-core-
|
|
25
|
+
} from "./roy-agent-core-ajmgyawx.js";
|
|
26
26
|
import {
|
|
27
27
|
TracedAs,
|
|
28
28
|
embedParamFilter,
|
|
@@ -32,11 +32,11 @@ import {
|
|
|
32
32
|
llmInvokeParamFilter,
|
|
33
33
|
llmInvokeResultFilter,
|
|
34
34
|
wrapFunction
|
|
35
|
-
} from "./roy-agent-core-
|
|
35
|
+
} from "./roy-agent-core-2qkrpc7m.js";
|
|
36
36
|
import {
|
|
37
37
|
createLogger,
|
|
38
38
|
init_logger
|
|
39
|
-
} from "./roy-agent-core-
|
|
39
|
+
} from "./roy-agent-core-y0k9kaxz.js";
|
|
40
40
|
import {
|
|
41
41
|
__legacyDecorateClassTS,
|
|
42
42
|
__require
|
|
@@ -354,6 +354,12 @@ class LLMTransform {
|
|
|
354
354
|
const type = def.type || "";
|
|
355
355
|
const isV3 = typeName.startsWith("Zod");
|
|
356
356
|
const isV4 = !isV3 && type !== "";
|
|
357
|
+
if (typeName === "ZodEffects" || type === "pipe" || type === "transform") {
|
|
358
|
+
const inner = def.schema;
|
|
359
|
+
if (inner)
|
|
360
|
+
return this.extractZodSchema(inner);
|
|
361
|
+
return {};
|
|
362
|
+
}
|
|
357
363
|
if (isV3 && typeName === "ZodObject" || isV4 && type === "object") {
|
|
358
364
|
let shape;
|
|
359
365
|
if (isV3) {
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
hasDecoratorNodes,
|
|
4
4
|
init_node_registry_helper,
|
|
5
5
|
registerDecoratorNodeType
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-g44nbgtt.js";
|
|
7
7
|
import"./roy-agent-core-1ce3fqrk.js";
|
|
8
8
|
import"./roy-agent-core-ddwa0n6h.js";
|
|
9
|
-
import"./roy-agent-core-
|
|
10
|
-
import"./roy-agent-core-
|
|
9
|
+
import"./roy-agent-core-2qkrpc7m.js";
|
|
10
|
+
import"./roy-agent-core-y0k9kaxz.js";
|
|
11
11
|
import"./roy-agent-core-jnszp0jq.js";
|
|
12
12
|
import"./roy-agent-core-fs0mn2jk.js";
|
|
13
13
|
init_node_registry_helper();
|