@ai-setting/roy-agent-core 1.7.55 → 1.7.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 +7 -7
- package/dist/env/agent/agent-component.d.ts +30 -0
- package/dist/env/agent/index.js +13 -12
- package/dist/env/commands/index.js +7 -7
- package/dist/env/context/index.js +3 -3
- package/dist/env/debug/index.js +7 -7
- package/dist/env/environment.d.ts +7 -0
- package/dist/env/event-source/index.js +16 -16
- package/dist/env/hook/index.js +5 -5
- package/dist/env/index.js +40 -39
- package/dist/env/llm/adapter-ai-sdk.d.ts +6 -0
- package/dist/env/llm/adapter-pi-ai.d.ts +5 -0
- package/dist/env/llm/index.js +10 -10
- package/dist/env/llm/invoke.d.ts +33 -1
- package/dist/env/llm/llm.d.ts +13 -0
- package/dist/env/llm/outbound-defense.d.ts +140 -0
- package/dist/env/log-trace/decorator.d.ts +46 -3
- package/dist/env/log-trace/index.d.ts +1 -0
- package/dist/env/log-trace/index.js +33 -7
- package/dist/env/log-trace/trace-filters.d.ts +127 -0
- package/dist/env/mcp/index.js +7 -7
- package/dist/env/memory/index.js +7 -7
- package/dist/env/plugin/index.js +7 -7
- package/dist/env/prompt/index.js +7 -7
- package/dist/env/session/index.js +11 -10
- package/dist/env/session/session-component.d.ts +4 -0
- package/dist/env/session/storage/index.js +5 -3
- package/dist/env/skill/index.js +7 -7
- package/dist/env/task/delegate/index.js +7 -7
- package/dist/env/task/index.js +12 -12
- package/dist/env/task/plugins/index.js +9 -9
- package/dist/env/task/storage/index.js +2 -2
- package/dist/env/task/tools/index.js +3 -3
- package/dist/env/tool/built-in/index.js +3 -3
- package/dist/env/tool/index.js +9 -9
- package/dist/env/workflow/engine/index.js +12 -12
- package/dist/env/workflow/hooks/index.js +7 -7
- package/dist/env/workflow/index.js +23 -22
- package/dist/env/workflow/nodes/index.js +2 -2
- package/dist/env/workflow/plugins/index.js +8 -8
- package/dist/env/workflow/service/index.js +2 -2
- package/dist/env/workflow/storage/index.js +3 -3
- package/dist/env/workflow/tools/index.js +15 -14
- package/dist/env/workflow/utils/index.js +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +81 -55
- package/dist/shared/@ai-setting/{roy-agent-core-k25gv86p.js → roy-agent-core-0b3fdnn3.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-6qxh4xrm.js → roy-agent-core-0bmk44ye.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-k8b440n3.js → roy-agent-core-16t0zfbk.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-4z3rq5gw.js → roy-agent-core-1pnfkspm.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-a4vzsn0g.js → roy-agent-core-202v00x4.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-j2nvedt6.js → roy-agent-core-2044fbsd.js} +9 -9
- package/dist/shared/@ai-setting/{roy-agent-core-fs36xgcs.js → roy-agent-core-3dkzqqsd.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-qm9jda8p.js → roy-agent-core-3kz6934b.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-tjg71zqp.js → roy-agent-core-3mc6vmvj.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-tdbv7ff4.js → roy-agent-core-40xzbjtm.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-athdr2m0.js → roy-agent-core-4zy2v3br.js} +10 -2
- package/dist/shared/@ai-setting/{roy-agent-core-t37wbysj.js → roy-agent-core-5gw6w424.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-978b6wfx.js → roy-agent-core-5psjwd08.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-7evvpfwc.js → roy-agent-core-5rxs0ra3.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-12d2xap8.js → roy-agent-core-6qgq7h1g.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-6167phd4.js → roy-agent-core-833t16n1.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-2k4xffaa.js → roy-agent-core-8cgtwytv.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-rx16h2m1.js → roy-agent-core-97eyghsp.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-fvs48d38.js → roy-agent-core-98aa9r0x.js} +12 -7
- package/dist/shared/@ai-setting/{roy-agent-core-ytr2w0vb.js → roy-agent-core-9nv586rw.js} +57 -19
- package/dist/shared/@ai-setting/roy-agent-core-b599jgyd.js +578 -0
- package/dist/shared/@ai-setting/{roy-agent-core-zvemdfx5.js → roy-agent-core-bwzy00t2.js} +12 -5
- package/dist/shared/@ai-setting/{roy-agent-core-dwx9hjwx.js → roy-agent-core-c6at31ra.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-1cv9j4dg.js → roy-agent-core-d14h726p.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-cd62e9p1.js → roy-agent-core-d4jpn06f.js} +22 -9
- package/dist/shared/@ai-setting/{roy-agent-core-e2z1etk4.js → roy-agent-core-e0wbq0qq.js} +7 -7
- package/dist/shared/@ai-setting/{roy-agent-core-vrsxhw9e.js → roy-agent-core-e677am8e.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-g36jevrk.js → roy-agent-core-ezsyyjxw.js} +9 -9
- package/dist/shared/@ai-setting/{roy-agent-core-ne2t1pay.js → roy-agent-core-f8sp1txg.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-ak4dc3kg.js → roy-agent-core-gn8f4rhs.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-qcspfszy.js → roy-agent-core-gngjkw3b.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-9jzysq50.js → roy-agent-core-heft3j4c.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-5apmk4qw.js → roy-agent-core-jszgaevt.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-nde5gzta.js → roy-agent-core-m8n0dffe.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-2bscfrr1.js → roy-agent-core-n3b7ztms.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-8eqngasy.js → roy-agent-core-nhk0dsxr.js} +13 -13
- package/dist/shared/@ai-setting/{roy-agent-core-b5ew8t0k.js → roy-agent-core-nntphgww.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-8s9jd2qy.js → roy-agent-core-nra8vfrs.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-2b8jtv7m.js → roy-agent-core-ns3pbyz4.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-7g03zkkb.js → roy-agent-core-pemxr5n4.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-skzjs973.js → roy-agent-core-pjxa78mp.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-w527pcpe.js → roy-agent-core-q7zksbw0.js} +44 -493
- package/dist/shared/@ai-setting/{roy-agent-core-zd3ddm4k.js → roy-agent-core-qjjf4tjb.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-qamktze3.js → roy-agent-core-qyqnmz8c.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-9csa89jx.js → roy-agent-core-r9qe0ghe.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-7qy3nffr.js → roy-agent-core-tc7gw38m.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-aer5kw1j.js → roy-agent-core-v2188rnk.js} +16 -16
- package/dist/shared/@ai-setting/{roy-agent-core-mxdc756a.js → roy-agent-core-vmg30n5x.js} +7 -7
- package/dist/shared/@ai-setting/{roy-agent-core-rnwr39b0.js → roy-agent-core-w7hnjhvx.js} +5 -3
- package/dist/shared/@ai-setting/{roy-agent-core-dv714bqh.js → roy-agent-core-wafk25ff.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-9h72sk1n.js → roy-agent-core-xcq04fq0.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-2gay3sjt.js → roy-agent-core-yg247mk4.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-0hq21px2.js → roy-agent-core-yv9x4wmg.js} +631 -35
- package/dist/shared/@ai-setting/{roy-agent-core-yhsssn86.js → roy-agent-core-zmeka63k.js} +1 -1
- package/package.json +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-dsevjbck.js +0 -245
package/dist/index.js
CHANGED
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
grepTool,
|
|
9
9
|
readFileTool,
|
|
10
10
|
writeFileTool
|
|
11
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
11
|
+
} from "./shared/@ai-setting/roy-agent-core-4zy2v3br.js";
|
|
12
12
|
import {
|
|
13
13
|
ConfigComponent
|
|
14
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
14
|
+
} from "./shared/@ai-setting/roy-agent-core-qyqnmz8c.js";
|
|
15
15
|
import {
|
|
16
16
|
getUnderstandImageLLMProvider,
|
|
17
17
|
resetUnderstandImageLLMProvider,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
PromptComponent,
|
|
23
23
|
PromptStore
|
|
24
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
24
|
+
} from "./shared/@ai-setting/roy-agent-core-6qgq7h1g.js";
|
|
25
25
|
import {
|
|
26
26
|
LLMComponent,
|
|
27
27
|
LLMConfigSchema,
|
|
@@ -29,17 +29,11 @@ import {
|
|
|
29
29
|
ModelLimitsSchema,
|
|
30
30
|
ProviderCapabilitiesSchema,
|
|
31
31
|
ProviderConfigSchema
|
|
32
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
32
|
+
} from "./shared/@ai-setting/roy-agent-core-q7zksbw0.js";
|
|
33
33
|
import"./shared/@ai-setting/roy-agent-core-adg9ghbt.js";
|
|
34
|
-
import {
|
|
35
|
-
ATTACH_FILE_MAX_BYTES,
|
|
36
|
-
isMediaType,
|
|
37
|
-
parseImageInput,
|
|
38
|
-
sniffMimeType
|
|
39
|
-
} from "./shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
40
34
|
import {
|
|
41
35
|
MemoryComponent
|
|
42
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
36
|
+
} from "./shared/@ai-setting/roy-agent-core-gn8f4rhs.js";
|
|
43
37
|
import"./shared/@ai-setting/roy-agent-core-g1s2h0e5.js";
|
|
44
38
|
import {
|
|
45
39
|
MemoryPlugin,
|
|
@@ -47,7 +41,7 @@ import {
|
|
|
47
41
|
} from "./shared/@ai-setting/roy-agent-core-j5c3chtn.js";
|
|
48
42
|
import {
|
|
49
43
|
DebugComponent
|
|
50
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
44
|
+
} from "./shared/@ai-setting/roy-agent-core-0b3fdnn3.js";
|
|
51
45
|
import {
|
|
52
46
|
ReplFormatter,
|
|
53
47
|
TraceFormatter,
|
|
@@ -55,30 +49,30 @@ import {
|
|
|
55
49
|
} from "./shared/@ai-setting/roy-agent-core-rvv6ydff.js";
|
|
56
50
|
import {
|
|
57
51
|
SkillComponent
|
|
58
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
52
|
+
} from "./shared/@ai-setting/roy-agent-core-yg247mk4.js";
|
|
59
53
|
import"./shared/@ai-setting/roy-agent-core-psvxt4c9.js";
|
|
60
54
|
import"./shared/@ai-setting/roy-agent-core-3ztzc83c.js";
|
|
61
55
|
import {
|
|
62
56
|
closeDatabase
|
|
63
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
64
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
57
|
+
} from "./shared/@ai-setting/roy-agent-core-5psjwd08.js";
|
|
58
|
+
import"./shared/@ai-setting/roy-agent-core-m8n0dffe.js";
|
|
65
59
|
import {
|
|
66
60
|
BaseEnvironment,
|
|
67
61
|
generateDescendingId,
|
|
68
62
|
generateId
|
|
69
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
63
|
+
} from "./shared/@ai-setting/roy-agent-core-d4jpn06f.js";
|
|
70
64
|
import {
|
|
71
65
|
TaskComponent
|
|
72
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
66
|
+
} from "./shared/@ai-setting/roy-agent-core-e0wbq0qq.js";
|
|
73
67
|
import"./shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
74
68
|
import {
|
|
75
69
|
SQLiteTaskStore,
|
|
76
70
|
getDefaultTaskDbPath
|
|
77
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
78
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
71
|
+
} from "./shared/@ai-setting/roy-agent-core-3kz6934b.js";
|
|
72
|
+
import"./shared/@ai-setting/roy-agent-core-pemxr5n4.js";
|
|
79
73
|
import"./shared/@ai-setting/roy-agent-core-rn57psp0.js";
|
|
80
74
|
import"./shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
81
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
75
|
+
import"./shared/@ai-setting/roy-agent-core-vmg30n5x.js";
|
|
82
76
|
import"./shared/@ai-setting/roy-agent-core-tbrn9wdm.js";
|
|
83
77
|
import {
|
|
84
78
|
BountyIMInstance,
|
|
@@ -92,7 +86,7 @@ import {
|
|
|
92
86
|
larkCliHandler,
|
|
93
87
|
resolveBountyIMSystemPrompt,
|
|
94
88
|
timerHandler
|
|
95
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
89
|
+
} from "./shared/@ai-setting/roy-agent-core-2044fbsd.js";
|
|
96
90
|
import {
|
|
97
91
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
98
92
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -105,17 +99,17 @@ import {
|
|
|
105
99
|
import {
|
|
106
100
|
LogTraceComponent,
|
|
107
101
|
LogTraceConfigSchema
|
|
108
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
102
|
+
} from "./shared/@ai-setting/roy-agent-core-w7hnjhvx.js";
|
|
109
103
|
import {
|
|
110
104
|
TaskTagPlugin,
|
|
111
105
|
createAutoTaskPlugin
|
|
112
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
106
|
+
} from "./shared/@ai-setting/roy-agent-core-ezsyyjxw.js";
|
|
113
107
|
import {
|
|
114
108
|
EventStoreImpl,
|
|
115
109
|
getSharedEventStore,
|
|
116
110
|
resetSharedEventStore,
|
|
117
111
|
setSharedEventStore
|
|
118
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
112
|
+
} from "./shared/@ai-setting/roy-agent-core-zmeka63k.js";
|
|
119
113
|
import {
|
|
120
114
|
TaskHookPoints
|
|
121
115
|
} from "./shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
@@ -123,15 +117,15 @@ import {
|
|
|
123
117
|
getBuiltInPrompt,
|
|
124
118
|
getBuiltInPromptNames
|
|
125
119
|
} from "./shared/@ai-setting/roy-agent-core-6masakz4.js";
|
|
126
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
127
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
120
|
+
import"./shared/@ai-setting/roy-agent-core-xcq04fq0.js";
|
|
121
|
+
import"./shared/@ai-setting/roy-agent-core-nntphgww.js";
|
|
128
122
|
import {
|
|
129
123
|
WorkflowComponent
|
|
130
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
124
|
+
} from "./shared/@ai-setting/roy-agent-core-nhk0dsxr.js";
|
|
131
125
|
import {
|
|
132
126
|
init_node_registry_helper,
|
|
133
127
|
registerDecoratorNodeType
|
|
134
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
128
|
+
} from "./shared/@ai-setting/roy-agent-core-e677am8e.js";
|
|
135
129
|
import {
|
|
136
130
|
Edge,
|
|
137
131
|
NodeAs,
|
|
@@ -140,53 +134,53 @@ import {
|
|
|
140
134
|
createWorkflowFromClass
|
|
141
135
|
} from "./shared/@ai-setting/roy-agent-core-h0x19xgn.js";
|
|
142
136
|
import"./shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
143
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
137
|
+
import"./shared/@ai-setting/roy-agent-core-0bmk44ye.js";
|
|
144
138
|
import {
|
|
145
139
|
SessionComponent
|
|
146
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
140
|
+
} from "./shared/@ai-setting/roy-agent-core-bwzy00t2.js";
|
|
147
141
|
import {
|
|
148
142
|
MemorySessionStore
|
|
149
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
143
|
+
} from "./shared/@ai-setting/roy-agent-core-tc7gw38m.js";
|
|
150
144
|
import"./shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
151
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
152
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
145
|
+
import"./shared/@ai-setting/roy-agent-core-5rxs0ra3.js";
|
|
146
|
+
import"./shared/@ai-setting/roy-agent-core-v2188rnk.js";
|
|
153
147
|
import"./shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
154
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
155
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
148
|
+
import"./shared/@ai-setting/roy-agent-core-833t16n1.js";
|
|
149
|
+
import"./shared/@ai-setting/roy-agent-core-n3b7ztms.js";
|
|
156
150
|
import"./shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
157
151
|
import"./shared/@ai-setting/roy-agent-core-ze068vc9.js";
|
|
158
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
159
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
152
|
+
import"./shared/@ai-setting/roy-agent-core-3dkzqqsd.js";
|
|
153
|
+
import"./shared/@ai-setting/roy-agent-core-r9qe0ghe.js";
|
|
160
154
|
import"./shared/@ai-setting/roy-agent-core-7exqwax1.js";
|
|
161
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
162
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
155
|
+
import"./shared/@ai-setting/roy-agent-core-202v00x4.js";
|
|
156
|
+
import"./shared/@ai-setting/roy-agent-core-3mc6vmvj.js";
|
|
163
157
|
import"./shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
164
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
158
|
+
import"./shared/@ai-setting/roy-agent-core-nra8vfrs.js";
|
|
165
159
|
import"./shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
166
160
|
import"./shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
167
161
|
import {
|
|
168
162
|
CommandsComponent
|
|
169
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
163
|
+
} from "./shared/@ai-setting/roy-agent-core-qjjf4tjb.js";
|
|
170
164
|
import {
|
|
171
165
|
AgentComponent,
|
|
172
166
|
AgentComponentConfigSchema
|
|
173
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
167
|
+
} from "./shared/@ai-setting/roy-agent-core-9nv586rw.js";
|
|
174
168
|
import {
|
|
175
169
|
ToolComponent,
|
|
176
170
|
ToolRegistry,
|
|
177
171
|
ToolValidator
|
|
178
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
172
|
+
} from "./shared/@ai-setting/roy-agent-core-98aa9r0x.js";
|
|
179
173
|
import"./shared/@ai-setting/roy-agent-core-kzg1jwt8.js";
|
|
180
174
|
import {
|
|
181
175
|
AgentRegistry
|
|
182
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
176
|
+
} from "./shared/@ai-setting/roy-agent-core-97eyghsp.js";
|
|
183
177
|
import {
|
|
184
178
|
XDG_PATHS,
|
|
185
179
|
getXDGPath,
|
|
186
180
|
getXDGPaths
|
|
187
181
|
} from "./shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
188
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
189
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
182
|
+
import"./shared/@ai-setting/roy-agent-core-wafk25ff.js";
|
|
183
|
+
import"./shared/@ai-setting/roy-agent-core-ns3pbyz4.js";
|
|
190
184
|
import {
|
|
191
185
|
buildOpencodeHeaders,
|
|
192
186
|
createInvokeConfig,
|
|
@@ -195,7 +189,13 @@ import {
|
|
|
195
189
|
isOpencodeEndpoint,
|
|
196
190
|
isOpencodeProvider,
|
|
197
191
|
parseModelString
|
|
198
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
192
|
+
} from "./shared/@ai-setting/roy-agent-core-yv9x4wmg.js";
|
|
193
|
+
import {
|
|
194
|
+
ATTACH_FILE_MAX_BYTES,
|
|
195
|
+
isMediaType,
|
|
196
|
+
parseImageInput,
|
|
197
|
+
sniffMimeType
|
|
198
|
+
} from "./shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
199
199
|
import"./shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
200
200
|
import {
|
|
201
201
|
AskUserError,
|
|
@@ -203,14 +203,14 @@ import {
|
|
|
203
203
|
} from "./shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
204
204
|
import {
|
|
205
205
|
PluginComponent
|
|
206
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
206
|
+
} from "./shared/@ai-setting/roy-agent-core-5gw6w424.js";
|
|
207
207
|
import"./shared/@ai-setting/roy-agent-core-64f22h1g.js";
|
|
208
208
|
import {
|
|
209
209
|
BasePlugin
|
|
210
210
|
} from "./shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
211
211
|
import {
|
|
212
212
|
McpComponent
|
|
213
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
213
|
+
} from "./shared/@ai-setting/roy-agent-core-c6at31ra.js";
|
|
214
214
|
import"./shared/@ai-setting/roy-agent-core-8t7wny6v.js";
|
|
215
215
|
import {
|
|
216
216
|
AgentError,
|
|
@@ -226,25 +226,38 @@ import {
|
|
|
226
226
|
import"./shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
227
227
|
import {
|
|
228
228
|
BaseComponent
|
|
229
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
229
|
+
} from "./shared/@ai-setting/roy-agent-core-40xzbjtm.js";
|
|
230
230
|
import {
|
|
231
231
|
createHook,
|
|
232
232
|
createPriorityHook,
|
|
233
233
|
init_hook
|
|
234
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
234
|
+
} from "./shared/@ai-setting/roy-agent-core-gngjkw3b.js";
|
|
235
235
|
import {
|
|
236
236
|
HookManager,
|
|
237
237
|
globalHookManager
|
|
238
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
239
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
240
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
238
|
+
} from "./shared/@ai-setting/roy-agent-core-1pnfkspm.js";
|
|
239
|
+
import"./shared/@ai-setting/roy-agent-core-16t0zfbk.js";
|
|
240
|
+
import"./shared/@ai-setting/roy-agent-core-jszgaevt.js";
|
|
241
241
|
import {
|
|
242
242
|
Traced,
|
|
243
243
|
TracedAs,
|
|
244
244
|
TracedLightweight,
|
|
245
|
+
agentRunParamFilter,
|
|
246
|
+
embedParamFilter,
|
|
247
|
+
embedResultFilter,
|
|
248
|
+
envQueryParamFilter,
|
|
245
249
|
init_decorator,
|
|
250
|
+
isTraceFullMode,
|
|
251
|
+
llmInvokeParamFilter,
|
|
252
|
+
llmInvokeResultFilter,
|
|
253
|
+
messagesParamFilter,
|
|
254
|
+
recordSessionMessagesParamFilter,
|
|
255
|
+
resetTraceFullModeCache,
|
|
256
|
+
toolExecParamFilter,
|
|
257
|
+
toolExecResultFilter,
|
|
258
|
+
toolInvokeParamFilter,
|
|
246
259
|
wrapFunction
|
|
247
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
260
|
+
} from "./shared/@ai-setting/roy-agent-core-b599jgyd.js";
|
|
248
261
|
import {
|
|
249
262
|
OTelTracerProvider,
|
|
250
263
|
SpanKind,
|
|
@@ -504,6 +517,9 @@ export {
|
|
|
504
517
|
wrapFunction,
|
|
505
518
|
validateEventSourceConfig,
|
|
506
519
|
understandImageTool,
|
|
520
|
+
toolInvokeParamFilter,
|
|
521
|
+
toolExecResultFilter,
|
|
522
|
+
toolExecParamFilter,
|
|
507
523
|
timerHandler,
|
|
508
524
|
sniffMimeType,
|
|
509
525
|
setUnderstandImageLLMProvider,
|
|
@@ -514,14 +530,20 @@ export {
|
|
|
514
530
|
resolveBountyIMSystemPrompt,
|
|
515
531
|
resetUnderstandImageLLMProvider,
|
|
516
532
|
resetTracerProvider,
|
|
533
|
+
resetTraceFullModeCache,
|
|
517
534
|
resetSharedEventStore,
|
|
518
535
|
registerDecoratorNodeType,
|
|
536
|
+
recordSessionMessagesParamFilter,
|
|
519
537
|
readFileTool,
|
|
520
538
|
propagation,
|
|
521
539
|
parseModelString,
|
|
522
540
|
parseImageInput,
|
|
541
|
+
messagesParamFilter,
|
|
542
|
+
llmInvokeResultFilter,
|
|
543
|
+
llmInvokeParamFilter,
|
|
523
544
|
larkCliHandler,
|
|
524
545
|
isValidEventSourceType,
|
|
546
|
+
isTraceFullMode,
|
|
525
547
|
isRoyError,
|
|
526
548
|
isQuietMode,
|
|
527
549
|
isOpencodeProvider,
|
|
@@ -552,6 +574,9 @@ export {
|
|
|
552
574
|
generateId,
|
|
553
575
|
generateDescendingId,
|
|
554
576
|
extractMetadata,
|
|
577
|
+
envQueryParamFilter,
|
|
578
|
+
embedResultFilter,
|
|
579
|
+
embedParamFilter,
|
|
555
580
|
editFileTool,
|
|
556
581
|
createWorkflowFromClass,
|
|
557
582
|
createPriorityHook,
|
|
@@ -568,6 +593,7 @@ export {
|
|
|
568
593
|
buildDefaultBountyIMSystemPrompt,
|
|
569
594
|
bountyIMHandler,
|
|
570
595
|
bashTool,
|
|
596
|
+
agentRunParamFilter,
|
|
571
597
|
XDG_PATHS,
|
|
572
598
|
WorkflowEdges,
|
|
573
599
|
WorkflowComponent,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isValidSessionId
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-bwzy00t2.js";
|
|
4
4
|
import {
|
|
5
5
|
TAG_MAX_COUNT,
|
|
6
6
|
TAG_MIN_COUNT
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-5rxs0ra3.js";
|
|
8
8
|
import {
|
|
9
9
|
validateWorkflowDefinition
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-202v00x4.js";
|
|
11
11
|
import {
|
|
12
12
|
getCurrentBgTaskId
|
|
13
13
|
} from "./roy-agent-core-c1v263jn.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
TracedAs,
|
|
20
20
|
init_decorator
|
|
21
|
-
} from "./roy-agent-core-
|
|
21
|
+
} from "./roy-agent-core-b599jgyd.js";
|
|
22
22
|
import {
|
|
23
23
|
createLogger,
|
|
24
24
|
init_logger
|
|
@@ -864,7 +864,7 @@ class RunWorkflowToolRunner {
|
|
|
864
864
|
__legacyDecorateClassTS([
|
|
865
865
|
TracedAs("workflow.run-workflow-tool.execute", {
|
|
866
866
|
recordParams: true,
|
|
867
|
-
recordResult:
|
|
867
|
+
recordResult: false
|
|
868
868
|
})
|
|
869
869
|
], RunWorkflowToolRunner.prototype, "execute", null);
|
|
870
870
|
|
|
@@ -906,7 +906,7 @@ class RunWorkflowLifecycleTracer {
|
|
|
906
906
|
__legacyDecorateClassTS([
|
|
907
907
|
TracedAs("workflow.run-tool.pre-attach", {
|
|
908
908
|
recordParams: true,
|
|
909
|
-
recordResult:
|
|
909
|
+
recordResult: false
|
|
910
910
|
})
|
|
911
911
|
], RunWorkflowLifecycleTracer.prototype, "execute", null);
|
|
912
912
|
function createRunWorkflowTool(workflowService, hooks) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_context
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-16t0zfbk.js";
|
|
4
4
|
import {
|
|
5
5
|
getEnvContext
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-jszgaevt.js";
|
|
7
7
|
import {
|
|
8
8
|
__esm
|
|
9
9
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
createPerTaskGroupChatPlugin,
|
|
8
8
|
extractPerTaskChatId,
|
|
9
9
|
extractPerTaskChatName
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-ezsyyjxw.js";
|
|
11
11
|
import {
|
|
12
12
|
getSharedEventStore
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-zmeka63k.js";
|
|
14
14
|
import {
|
|
15
15
|
createLarkCliWorkflowNotifyHook
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-xcq04fq0.js";
|
|
17
17
|
import {
|
|
18
18
|
LarkCardPatchNotifier,
|
|
19
19
|
buildTaskCard
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-nntphgww.js";
|
|
21
21
|
import {
|
|
22
22
|
normalizeLarkAtMentions
|
|
23
23
|
} from "./roy-agent-core-64f22h1g.js";
|
|
@@ -26,24 +26,24 @@ import {
|
|
|
26
26
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
27
27
|
import {
|
|
28
28
|
BaseComponent
|
|
29
|
-
} from "./roy-agent-core-
|
|
29
|
+
} from "./roy-agent-core-40xzbjtm.js";
|
|
30
30
|
import {
|
|
31
31
|
globalHookManager,
|
|
32
32
|
init_global_hook_manager
|
|
33
|
-
} from "./roy-agent-core-
|
|
33
|
+
} from "./roy-agent-core-1pnfkspm.js";
|
|
34
34
|
import {
|
|
35
35
|
init_context
|
|
36
|
-
} from "./roy-agent-core-
|
|
36
|
+
} from "./roy-agent-core-16t0zfbk.js";
|
|
37
37
|
import {
|
|
38
38
|
createEnvContext,
|
|
39
39
|
normalizeParentTaskId,
|
|
40
40
|
runWithEnvContext
|
|
41
|
-
} from "./roy-agent-core-
|
|
41
|
+
} from "./roy-agent-core-jszgaevt.js";
|
|
42
42
|
import {
|
|
43
43
|
TracedAs,
|
|
44
44
|
init_decorator,
|
|
45
45
|
wrapFunction
|
|
46
|
-
} from "./roy-agent-core-
|
|
46
|
+
} from "./roy-agent-core-b599jgyd.js";
|
|
47
47
|
import {
|
|
48
48
|
createLogger,
|
|
49
49
|
getTracerProvider,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHook,
|
|
3
3
|
init_hook
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-gngjkw3b.js";
|
|
5
5
|
import {
|
|
6
6
|
HookManager
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-1pnfkspm.js";
|
|
8
8
|
|
|
9
9
|
// src/env/component.ts
|
|
10
10
|
init_hook();
|
|
@@ -10,8 +10,11 @@ import {
|
|
|
10
10
|
} from "./roy-agent-core-tbrn9wdm.js";
|
|
11
11
|
import {
|
|
12
12
|
init_decorator,
|
|
13
|
+
init_trace_filters,
|
|
14
|
+
toolExecResultFilter,
|
|
15
|
+
toolInvokeParamFilter,
|
|
13
16
|
wrapFunction
|
|
14
|
-
} from "./roy-agent-core-
|
|
17
|
+
} from "./roy-agent-core-b599jgyd.js";
|
|
15
18
|
import {
|
|
16
19
|
createLogger,
|
|
17
20
|
exports_tracer_provider,
|
|
@@ -27,6 +30,7 @@ import {
|
|
|
27
30
|
// src/env/tool/built-in/bash.ts
|
|
28
31
|
init_propagation();
|
|
29
32
|
init_decorator();
|
|
33
|
+
init_trace_filters();
|
|
30
34
|
import { z } from "zod";
|
|
31
35
|
import { Effect as Effect2 } from "effect";
|
|
32
36
|
|
|
@@ -334,7 +338,11 @@ var bashTool = {
|
|
|
334
338
|
}
|
|
335
339
|
};
|
|
336
340
|
}
|
|
337
|
-
}, "tool.bash.execute", {
|
|
341
|
+
}, "tool.bash.execute", {
|
|
342
|
+
paramFilter: toolInvokeParamFilter,
|
|
343
|
+
resultFilter: toolExecResultFilter,
|
|
344
|
+
logResult: true
|
|
345
|
+
})
|
|
338
346
|
};
|
|
339
347
|
|
|
340
348
|
// src/env/tool/built-in/echo.ts
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
} from "./roy-agent-core-az13yzmc.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseComponent
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-40xzbjtm.js";
|
|
7
7
|
import {
|
|
8
8
|
globalHookManager,
|
|
9
9
|
init_global_hook_manager
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-1pnfkspm.js";
|
|
11
11
|
import {
|
|
12
12
|
init_context
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-16t0zfbk.js";
|
|
14
14
|
import {
|
|
15
15
|
getEnvContextOrEmpty
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-jszgaevt.js";
|
|
17
17
|
import {
|
|
18
18
|
createLogger,
|
|
19
19
|
init_logger
|
|
@@ -10,14 +10,14 @@ 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-40xzbjtm.js";
|
|
14
14
|
import {
|
|
15
15
|
createHook
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-gngjkw3b.js";
|
|
17
17
|
import {
|
|
18
18
|
globalHookManager,
|
|
19
19
|
init_global_hook_manager
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-1pnfkspm.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
init_logger
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
globalHookManager,
|
|
14
14
|
init_global_hook_manager
|
|
15
|
-
} from "./roy-agent-core-
|
|
15
|
+
} from "./roy-agent-core-1pnfkspm.js";
|
|
16
16
|
import {
|
|
17
17
|
TracedAs,
|
|
18
18
|
init_decorator,
|
|
19
19
|
wrapFunction
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-b599jgyd.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
init_logger
|
|
@@ -444,7 +444,7 @@ var init_agent_component_adapter = __esm(() => {
|
|
|
444
444
|
agentSessionPrefixes = new Map;
|
|
445
445
|
};
|
|
446
446
|
__legacyDecorateClassTS([
|
|
447
|
-
TracedAs("workflow.agent_adapter.run", { recordParams: true, recordResult:
|
|
447
|
+
TracedAs("workflow.agent_adapter.run", { recordParams: true, recordResult: false, log: true })
|
|
448
448
|
], AgentComponentAdapter.prototype, "run", null);
|
|
449
449
|
});
|
|
450
450
|
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
initDatabase,
|
|
6
6
|
initializeTables,
|
|
7
7
|
resetDatabase
|
|
8
|
-
} from "./roy-agent-core-
|
|
9
|
-
import"./roy-agent-core-
|
|
8
|
+
} from "./roy-agent-core-5psjwd08.js";
|
|
9
|
+
import"./roy-agent-core-m8n0dffe.js";
|
|
10
10
|
import"./roy-agent-core-rvxg1wps.js";
|
|
11
|
-
import"./roy-agent-core-
|
|
11
|
+
import"./roy-agent-core-b599jgyd.js";
|
|
12
12
|
import"./roy-agent-core-8seq65bp.js";
|
|
13
13
|
import"./roy-agent-core-jnszp0jq.js";
|
|
14
14
|
import"./roy-agent-core-fs0mn2jk.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
TracedAs,
|
|
6
6
|
init_decorator
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-b599jgyd.js";
|
|
8
8
|
import {
|
|
9
9
|
createLogger,
|
|
10
10
|
init_logger
|
|
@@ -467,7 +467,7 @@ __legacyDecorateClassTS([
|
|
|
467
467
|
TracedAs("agent.registry.clear", { recordParams: false, recordResult: true, log: true })
|
|
468
468
|
], AgentRegistry.prototype, "clear", null);
|
|
469
469
|
__legacyDecorateClassTS([
|
|
470
|
-
TracedAs("agent.registry.getSystemPrompt", { recordParams: true, recordResult:
|
|
470
|
+
TracedAs("agent.registry.getSystemPrompt", { recordParams: true, recordResult: false, log: true })
|
|
471
471
|
], AgentRegistry.prototype, "getSystemPrompt", null);
|
|
472
472
|
__legacyDecorateClassTS([
|
|
473
473
|
TracedAs("agent.registry.getWorkflowName", { recordParams: true, recordResult: true })
|