@ai-setting/roy-agent-core 1.7.35 → 1.7.37
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 +6 -6
- package/dist/env/agent/index.js +7 -7
- package/dist/env/commands/index.js +6 -6
- package/dist/env/context/index.js +2 -2
- package/dist/env/debug/index.js +6 -6
- package/dist/env/event-source/index.js +8 -8
- package/dist/env/hook/index.js +4 -4
- package/dist/env/index.js +21 -21
- package/dist/env/llm/index.js +6 -6
- package/dist/env/log-trace/index.js +6 -6
- package/dist/env/mcp/index.js +6 -6
- package/dist/env/memory/index.js +6 -6
- package/dist/env/plugin/index.js +6 -6
- package/dist/env/prompt/index.js +6 -6
- package/dist/env/session/index.js +6 -6
- package/dist/env/skill/index.js +6 -6
- package/dist/env/task/delegate/index.js +4 -4
- package/dist/env/task/index.js +8 -8
- package/dist/env/task/plugins/index.js +3 -3
- package/dist/env/task/tools/index.js +2 -2
- package/dist/env/tool/index.js +6 -6
- package/dist/env/workflow/engine/index.js +5 -5
- package/dist/env/workflow/index.js +10 -10
- package/dist/env/workflow/tools/index.js +7 -7
- package/dist/index.js +28 -28
- package/dist/shared/@ai-setting/{roy-agent-core-krmhhje6.js → roy-agent-core-1btakphh.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-2aq5f4e1.js → roy-agent-core-1nvqn17p.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-dz3m7dt4.js → roy-agent-core-1q6gjxba.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-zma7p5p7.js → roy-agent-core-1vj7dd14.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-z7q1re07.js → roy-agent-core-2qke91fm.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-j6h99erf.js → roy-agent-core-2wbdfrtg.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-t2vwy92b.js → roy-agent-core-462v5d24.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-821bsh3r.js → roy-agent-core-88tfzaxg.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-0czz1ynz.js → roy-agent-core-a8zf7ts4.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-bny3nd8q.js → roy-agent-core-bb57xjfh.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-1dacps3n.js → roy-agent-core-dfay0w56.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-gcnvcbft.js → roy-agent-core-e4v61k3j.js} +24 -2
- package/dist/shared/@ai-setting/{roy-agent-core-242peyss.js → roy-agent-core-em8618g6.js} +88 -45
- package/dist/shared/@ai-setting/{roy-agent-core-743510fc.js → roy-agent-core-fym6zz5a.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-anwh7050.js → roy-agent-core-fytqnxrd.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-62c1t7wr.js → roy-agent-core-m7dppx2p.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-axh3vn8k.js → roy-agent-core-mdaew65f.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-3x6ej9vm.js → roy-agent-core-mwaesrpc.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-2adayzfa.js → roy-agent-core-mxwaq8ey.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-jxgprc5a.js → roy-agent-core-n82acszf.js} +2 -1
- package/dist/shared/@ai-setting/{roy-agent-core-52yt7e1t.js → roy-agent-core-pxyyrxnn.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-hs75rxp3.js → roy-agent-core-q8vew3zh.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-zfcwa3w7.js → roy-agent-core-qhtejtpc.js} +27 -5
- package/dist/shared/@ai-setting/{roy-agent-core-6thjwx6v.js → roy-agent-core-rx8whb18.js} +112 -1
- package/dist/shared/@ai-setting/{roy-agent-core-xgarc0t2.js → roy-agent-core-s53yya0w.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-n094tbjh.js → roy-agent-core-w457586k.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-1kcstbn3.js → roy-agent-core-whta3f53.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-63nkhqa4.js → roy-agent-core-x4wev4rn.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-h1zamsb9.js → roy-agent-core-zekkw27m.js} +3 -3
- package/package.json +1 -1
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
Scheduler,
|
|
6
6
|
WorkflowEngine,
|
|
7
7
|
init_engine
|
|
8
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../../../shared/@ai-setting/roy-agent-core-x4wev4rn.js";
|
|
9
9
|
import"../../../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
10
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
import"../../../shared/@ai-setting/roy-agent-core-q8vew3zh.js";
|
|
11
11
|
import"../../../shared/@ai-setting/roy-agent-core-jcdsghyr.js";
|
|
12
12
|
import"../../../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
13
13
|
import"../../../shared/@ai-setting/roy-agent-core-yf0ex8y1.js";
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
} from "../../../shared/@ai-setting/roy-agent-core-k5csz66y.js";
|
|
18
18
|
import"../../../shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
19
19
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
20
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
21
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
22
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
import"../../../shared/@ai-setting/roy-agent-core-fym6zz5a.js";
|
|
21
|
+
import"../../../shared/@ai-setting/roy-agent-core-whta3f53.js";
|
|
22
|
+
import"../../../shared/@ai-setting/roy-agent-core-n82acszf.js";
|
|
23
23
|
import"../../../shared/@ai-setting/roy-agent-core-qhjm0bxm.js";
|
|
24
24
|
import"../../../shared/@ai-setting/roy-agent-core-8seq65bp.js";
|
|
25
25
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
@@ -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-mxwaq8ey.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-qz9jb9sp.js";
|
|
5
5
|
import {
|
|
6
6
|
Edge,
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
DecoratorNode,
|
|
15
15
|
init_decorator_node
|
|
16
16
|
} from "../../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
17
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
18
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-pxyyrxnn.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-rx8whb18.js";
|
|
19
19
|
import"../../shared/@ai-setting/roy-agent-core-bdhcwf4x.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
21
21
|
import"../../shared/@ai-setting/roy-agent-core-j9ejsmsj.js";
|
|
22
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
22
|
+
import"../../shared/@ai-setting/roy-agent-core-x4wev4rn.js";
|
|
23
23
|
import"../../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
24
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
24
|
+
import"../../shared/@ai-setting/roy-agent-core-q8vew3zh.js";
|
|
25
25
|
import"../../shared/@ai-setting/roy-agent-core-jcdsghyr.js";
|
|
26
26
|
import"../../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
27
27
|
import"../../shared/@ai-setting/roy-agent-core-7exqwax1.js";
|
|
@@ -91,11 +91,11 @@ import {
|
|
|
91
91
|
createWorkflowAskUserEvent
|
|
92
92
|
} from "../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
93
93
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
94
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
95
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
96
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
97
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
98
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
94
|
+
import"../../shared/@ai-setting/roy-agent-core-m7dppx2p.js";
|
|
95
|
+
import"../../shared/@ai-setting/roy-agent-core-w457586k.js";
|
|
96
|
+
import"../../shared/@ai-setting/roy-agent-core-fym6zz5a.js";
|
|
97
|
+
import"../../shared/@ai-setting/roy-agent-core-whta3f53.js";
|
|
98
|
+
import"../../shared/@ai-setting/roy-agent-core-n82acszf.js";
|
|
99
99
|
import"../../shared/@ai-setting/roy-agent-core-qhjm0bxm.js";
|
|
100
100
|
import"../../shared/@ai-setting/roy-agent-core-8seq65bp.js";
|
|
101
101
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
@@ -24,8 +24,8 @@ import {
|
|
|
24
24
|
getRunWorkflowTool,
|
|
25
25
|
initRunWorkflowTool,
|
|
26
26
|
resetRunWorkflowTool
|
|
27
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
28
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
27
|
+
} from "../../../shared/@ai-setting/roy-agent-core-pxyyrxnn.js";
|
|
28
|
+
import"../../../shared/@ai-setting/roy-agent-core-rx8whb18.js";
|
|
29
29
|
import"../../../shared/@ai-setting/roy-agent-core-bdhcwf4x.js";
|
|
30
30
|
import"../../../shared/@ai-setting/roy-agent-core-j9ejsmsj.js";
|
|
31
31
|
import {
|
|
@@ -45,11 +45,11 @@ import"../../../shared/@ai-setting/roy-agent-core-gzj1x5m7.js";
|
|
|
45
45
|
import"../../../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
46
46
|
import"../../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
47
47
|
import"../../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
48
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
49
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
50
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
51
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
52
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
48
|
+
import"../../../shared/@ai-setting/roy-agent-core-m7dppx2p.js";
|
|
49
|
+
import"../../../shared/@ai-setting/roy-agent-core-w457586k.js";
|
|
50
|
+
import"../../../shared/@ai-setting/roy-agent-core-fym6zz5a.js";
|
|
51
|
+
import"../../../shared/@ai-setting/roy-agent-core-whta3f53.js";
|
|
52
|
+
import"../../../shared/@ai-setting/roy-agent-core-n82acszf.js";
|
|
53
53
|
import"../../../shared/@ai-setting/roy-agent-core-qhjm0bxm.js";
|
|
54
54
|
import"../../../shared/@ai-setting/roy-agent-core-8seq65bp.js";
|
|
55
55
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConfigComponent
|
|
3
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "./shared/@ai-setting/roy-agent-core-88tfzaxg.js";
|
|
4
4
|
import {
|
|
5
5
|
PromptComponent,
|
|
6
6
|
PromptStore
|
|
7
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
7
|
+
} from "./shared/@ai-setting/roy-agent-core-2qke91fm.js";
|
|
8
8
|
import {
|
|
9
9
|
LLMComponent,
|
|
10
10
|
LLMConfigSchema,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
ModelLimitsSchema,
|
|
13
13
|
ProviderCapabilitiesSchema,
|
|
14
14
|
ProviderConfigSchema
|
|
15
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
15
|
+
} from "./shared/@ai-setting/roy-agent-core-fytqnxrd.js";
|
|
16
16
|
import"./shared/@ai-setting/roy-agent-core-adg9ghbt.js";
|
|
17
17
|
import"./shared/@ai-setting/roy-agent-core-wjmwwc4a.js";
|
|
18
18
|
import {
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
40
40
|
import {
|
|
41
41
|
DebugComponent
|
|
42
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
42
|
+
} from "./shared/@ai-setting/roy-agent-core-462v5d24.js";
|
|
43
43
|
import {
|
|
44
44
|
ReplFormatter,
|
|
45
45
|
TraceFormatter,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./shared/@ai-setting/roy-agent-core-rvv6ydff.js";
|
|
48
48
|
import {
|
|
49
49
|
MemoryComponent
|
|
50
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
50
|
+
} from "./shared/@ai-setting/roy-agent-core-mdaew65f.js";
|
|
51
51
|
import {
|
|
52
52
|
MemoryPlugin,
|
|
53
53
|
createMemoryPlugin
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
import"./shared/@ai-setting/roy-agent-core-g1s2h0e5.js";
|
|
56
56
|
import {
|
|
57
57
|
SkillComponent
|
|
58
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
58
|
+
} from "./shared/@ai-setting/roy-agent-core-1vj7dd14.js";
|
|
59
59
|
import"./shared/@ai-setting/roy-agent-core-psvxt4c9.js";
|
|
60
60
|
import"./shared/@ai-setting/roy-agent-core-k5hxvaf0.js";
|
|
61
61
|
import {
|
|
@@ -66,15 +66,15 @@ import {
|
|
|
66
66
|
BaseEnvironment,
|
|
67
67
|
generateDescendingId,
|
|
68
68
|
generateId
|
|
69
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
69
|
+
} from "./shared/@ai-setting/roy-agent-core-a8zf7ts4.js";
|
|
70
70
|
import {
|
|
71
71
|
TaskComponent
|
|
72
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
73
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
72
|
+
} from "./shared/@ai-setting/roy-agent-core-1q6gjxba.js";
|
|
73
|
+
import"./shared/@ai-setting/roy-agent-core-qhtejtpc.js";
|
|
74
74
|
import"./shared/@ai-setting/roy-agent-core-rn57psp0.js";
|
|
75
75
|
import"./shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
76
76
|
import"./shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
77
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
77
|
+
import"./shared/@ai-setting/roy-agent-core-zekkw27m.js";
|
|
78
78
|
import"./shared/@ai-setting/roy-agent-core-tbrn9wdm.js";
|
|
79
79
|
import {
|
|
80
80
|
SQLiteTaskStore,
|
|
@@ -92,11 +92,11 @@ import {
|
|
|
92
92
|
larkCliHandler,
|
|
93
93
|
resolveBountyIMSystemPrompt,
|
|
94
94
|
timerHandler
|
|
95
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
95
|
+
} from "./shared/@ai-setting/roy-agent-core-em8618g6.js";
|
|
96
96
|
import {
|
|
97
97
|
LogTraceComponent,
|
|
98
98
|
LogTraceConfigSchema
|
|
99
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
99
|
+
} from "./shared/@ai-setting/roy-agent-core-dfay0w56.js";
|
|
100
100
|
import {
|
|
101
101
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
102
102
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
import {
|
|
110
110
|
TaskTagPlugin,
|
|
111
111
|
createAutoTaskPlugin
|
|
112
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
112
|
+
} from "./shared/@ai-setting/roy-agent-core-e4v61k3j.js";
|
|
113
113
|
import {
|
|
114
114
|
TaskHookPoints
|
|
115
115
|
} from "./shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
} from "./shared/@ai-setting/roy-agent-core-skqt40yy.js";
|
|
120
120
|
import {
|
|
121
121
|
WorkflowComponent
|
|
122
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
122
|
+
} from "./shared/@ai-setting/roy-agent-core-mxwaq8ey.js";
|
|
123
123
|
import {
|
|
124
124
|
init_node_registry_helper,
|
|
125
125
|
registerDecoratorNodeType
|
|
@@ -132,18 +132,18 @@ import {
|
|
|
132
132
|
createWorkflowFromClass
|
|
133
133
|
} from "./shared/@ai-setting/roy-agent-core-h0x19xgn.js";
|
|
134
134
|
import"./shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
135
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
135
|
+
import"./shared/@ai-setting/roy-agent-core-pxyyrxnn.js";
|
|
136
136
|
import {
|
|
137
137
|
SessionComponent
|
|
138
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
138
|
+
} from "./shared/@ai-setting/roy-agent-core-rx8whb18.js";
|
|
139
139
|
import {
|
|
140
140
|
MemorySessionStore
|
|
141
141
|
} from "./shared/@ai-setting/roy-agent-core-bdhcwf4x.js";
|
|
142
142
|
import"./shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
143
143
|
import"./shared/@ai-setting/roy-agent-core-j9ejsmsj.js";
|
|
144
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
144
|
+
import"./shared/@ai-setting/roy-agent-core-x4wev4rn.js";
|
|
145
145
|
import"./shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
146
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
146
|
+
import"./shared/@ai-setting/roy-agent-core-q8vew3zh.js";
|
|
147
147
|
import"./shared/@ai-setting/roy-agent-core-jcdsghyr.js";
|
|
148
148
|
import"./shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
149
149
|
import"./shared/@ai-setting/roy-agent-core-7exqwax1.js";
|
|
@@ -155,16 +155,16 @@ import"./shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
|
155
155
|
import"./shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
156
156
|
import {
|
|
157
157
|
CommandsComponent
|
|
158
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
158
|
+
} from "./shared/@ai-setting/roy-agent-core-2wbdfrtg.js";
|
|
159
159
|
import {
|
|
160
160
|
AgentComponent,
|
|
161
161
|
AgentComponentConfigSchema
|
|
162
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
162
|
+
} from "./shared/@ai-setting/roy-agent-core-bb57xjfh.js";
|
|
163
163
|
import {
|
|
164
164
|
ToolComponent,
|
|
165
165
|
ToolRegistry,
|
|
166
166
|
ToolValidator
|
|
167
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
167
|
+
} from "./shared/@ai-setting/roy-agent-core-mwaesrpc.js";
|
|
168
168
|
import"./shared/@ai-setting/roy-agent-core-kzg1jwt8.js";
|
|
169
169
|
import {
|
|
170
170
|
AgentRegistry
|
|
@@ -189,13 +189,13 @@ import {
|
|
|
189
189
|
} from "./shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
190
190
|
import {
|
|
191
191
|
PluginComponent
|
|
192
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
192
|
+
} from "./shared/@ai-setting/roy-agent-core-1nvqn17p.js";
|
|
193
193
|
import {
|
|
194
194
|
BasePlugin
|
|
195
195
|
} from "./shared/@ai-setting/roy-agent-core-rmn29nrh.js";
|
|
196
196
|
import {
|
|
197
197
|
McpComponent
|
|
198
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
198
|
+
} from "./shared/@ai-setting/roy-agent-core-1btakphh.js";
|
|
199
199
|
import"./shared/@ai-setting/roy-agent-core-8t7wny6v.js";
|
|
200
200
|
import {
|
|
201
201
|
AgentError,
|
|
@@ -211,17 +211,17 @@ import {
|
|
|
211
211
|
import"./shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
212
212
|
import {
|
|
213
213
|
BaseComponent
|
|
214
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
214
|
+
} from "./shared/@ai-setting/roy-agent-core-m7dppx2p.js";
|
|
215
215
|
import {
|
|
216
216
|
createHook,
|
|
217
217
|
createPriorityHook
|
|
218
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
218
|
+
} from "./shared/@ai-setting/roy-agent-core-w457586k.js";
|
|
219
219
|
import {
|
|
220
220
|
HookManager,
|
|
221
221
|
globalHookManager
|
|
222
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
223
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
224
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
222
|
+
} from "./shared/@ai-setting/roy-agent-core-fym6zz5a.js";
|
|
223
|
+
import"./shared/@ai-setting/roy-agent-core-whta3f53.js";
|
|
224
|
+
import"./shared/@ai-setting/roy-agent-core-n82acszf.js";
|
|
225
225
|
import {
|
|
226
226
|
Traced,
|
|
227
227
|
TracedAs,
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
} from "./roy-agent-core-rmn29nrh.js";
|
|
4
4
|
import {
|
|
5
5
|
BaseComponent
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-m7dppx2p.js";
|
|
7
7
|
import {
|
|
8
8
|
globalHookManager,
|
|
9
9
|
init_global_hook_manager
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-fym6zz5a.js";
|
|
11
11
|
import {
|
|
12
12
|
init_context
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-whta3f53.js";
|
|
14
14
|
import {
|
|
15
15
|
getEnvContextOrEmpty
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-n82acszf.js";
|
|
17
17
|
import {
|
|
18
18
|
createLogger,
|
|
19
19
|
init_logger
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
searchTasksTool,
|
|
10
10
|
treeTasksTool,
|
|
11
11
|
updateTaskTool
|
|
12
|
-
} from "./roy-agent-core-
|
|
12
|
+
} from "./roy-agent-core-qhtejtpc.js";
|
|
13
13
|
import {
|
|
14
14
|
createOperationTool,
|
|
15
15
|
deleteOperationTool,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
BackgroundTaskManager,
|
|
28
28
|
createDelegateTool,
|
|
29
29
|
createStopTool
|
|
30
|
-
} from "./roy-agent-core-
|
|
30
|
+
} from "./roy-agent-core-zekkw27m.js";
|
|
31
31
|
import {
|
|
32
32
|
SQLiteTaskStore,
|
|
33
33
|
getDefaultTaskDbPath
|
|
@@ -40,15 +40,15 @@ import {
|
|
|
40
40
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
41
41
|
import {
|
|
42
42
|
BaseComponent
|
|
43
|
-
} from "./roy-agent-core-
|
|
43
|
+
} from "./roy-agent-core-m7dppx2p.js";
|
|
44
44
|
import {
|
|
45
45
|
globalHookManager,
|
|
46
46
|
init_global_hook_manager
|
|
47
|
-
} from "./roy-agent-core-
|
|
47
|
+
} from "./roy-agent-core-fym6zz5a.js";
|
|
48
48
|
import {
|
|
49
49
|
getEnvContextOrEmpty,
|
|
50
50
|
init_env_context
|
|
51
|
-
} from "./roy-agent-core-
|
|
51
|
+
} from "./roy-agent-core-n82acszf.js";
|
|
52
52
|
import {
|
|
53
53
|
TracedAs,
|
|
54
54
|
init_decorator
|
|
@@ -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-m7dppx2p.js";
|
|
14
14
|
import {
|
|
15
15
|
createHook
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-w457586k.js";
|
|
17
17
|
import {
|
|
18
18
|
globalHookManager,
|
|
19
19
|
init_global_hook_manager
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-fym6zz5a.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
init_logger
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAutoTaskPlugin
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-e4v61k3j.js";
|
|
4
4
|
import {
|
|
5
5
|
ContextError,
|
|
6
6
|
ErrorCodes
|
|
7
7
|
} from "./roy-agent-core-ctdhjv68.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseComponent
|
|
10
|
-
} from "./roy-agent-core-
|
|
10
|
+
} from "./roy-agent-core-m7dppx2p.js";
|
|
11
11
|
import {
|
|
12
12
|
init_context
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-whta3f53.js";
|
|
14
14
|
import {
|
|
15
15
|
getEnvContext,
|
|
16
16
|
init_env_context,
|
|
17
17
|
runWithEnvContextAsync
|
|
18
|
-
} from "./roy-agent-core-
|
|
18
|
+
} from "./roy-agent-core-n82acszf.js";
|
|
19
19
|
import {
|
|
20
20
|
TracedAs,
|
|
21
21
|
init_decorator
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
truncateOutputInline
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-mwaesrpc.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentRegistry
|
|
6
6
|
} from "./roy-agent-core-n3pwkwjh.js";
|
|
@@ -29,19 +29,19 @@ 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-m7dppx2p.js";
|
|
33
33
|
import {
|
|
34
34
|
globalHookManager,
|
|
35
35
|
init_global_hook_manager
|
|
36
|
-
} from "./roy-agent-core-
|
|
36
|
+
} from "./roy-agent-core-fym6zz5a.js";
|
|
37
37
|
import {
|
|
38
38
|
init_context
|
|
39
|
-
} from "./roy-agent-core-
|
|
39
|
+
} from "./roy-agent-core-whta3f53.js";
|
|
40
40
|
import {
|
|
41
41
|
getCurrentTaskId,
|
|
42
42
|
getEnvContext,
|
|
43
43
|
runWithEnvContextAsync
|
|
44
|
-
} from "./roy-agent-core-
|
|
44
|
+
} from "./roy-agent-core-n82acszf.js";
|
|
45
45
|
import {
|
|
46
46
|
TracedAs,
|
|
47
47
|
init_decorator
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
} from "./roy-agent-core-rmn29nrh.js";
|
|
17
17
|
import {
|
|
18
18
|
init_context
|
|
19
|
-
} from "./roy-agent-core-
|
|
19
|
+
} from "./roy-agent-core-whta3f53.js";
|
|
20
20
|
import {
|
|
21
21
|
getEnvContextOrEmpty,
|
|
22
22
|
getEventFromEnvContext,
|
|
23
23
|
getLarkMessageId,
|
|
24
24
|
isLarkEvent
|
|
25
|
-
} from "./roy-agent-core-
|
|
25
|
+
} from "./roy-agent-core-n82acszf.js";
|
|
26
26
|
import {
|
|
27
27
|
TracedAs,
|
|
28
28
|
init_decorator,
|
|
@@ -822,6 +822,7 @@ class PerTaskGroupChatPlugin {
|
|
|
822
822
|
config;
|
|
823
823
|
lastNotifyTimestamps = new Map;
|
|
824
824
|
taskUpdater;
|
|
825
|
+
sessionComponent;
|
|
825
826
|
constructor(config = {}) {
|
|
826
827
|
this.config = {
|
|
827
828
|
enabled: config.enabled ?? true,
|
|
@@ -852,6 +853,13 @@ class PerTaskGroupChatPlugin {
|
|
|
852
853
|
hasTaskUpdater() {
|
|
853
854
|
return this.taskUpdater !== undefined;
|
|
854
855
|
}
|
|
856
|
+
setSessionComponent(sessionComponent) {
|
|
857
|
+
this.sessionComponent = sessionComponent;
|
|
858
|
+
logger4.debug(`SessionComponent injected for plugin ${this.name} (sourceId=${this.sourceId})`);
|
|
859
|
+
}
|
|
860
|
+
hasSessionComponent() {
|
|
861
|
+
return this.sessionComponent !== undefined;
|
|
862
|
+
}
|
|
855
863
|
async execute(ctx) {
|
|
856
864
|
if (!this.config.enabled) {
|
|
857
865
|
logger4.debug(`execute: plugin disabled (pluginName=${this.pluginName})`);
|
|
@@ -924,6 +932,20 @@ class PerTaskGroupChatPlugin {
|
|
|
924
932
|
userIds
|
|
925
933
|
});
|
|
926
934
|
await this.attachChatIdToTask(task, chatId, profile);
|
|
935
|
+
if (this.sessionComponent) {
|
|
936
|
+
try {
|
|
937
|
+
await this.sessionComponent.upsertChatTaskBinding({
|
|
938
|
+
chatId,
|
|
939
|
+
taskId: task.id,
|
|
940
|
+
profile,
|
|
941
|
+
status: "ready"
|
|
942
|
+
});
|
|
943
|
+
} catch (bindErr) {
|
|
944
|
+
logger4.warn(`onAfterCreate[${this.pluginName}]: failed to write chat-task binding for ` + `chat ${chatId} / task #${task.id}: ${bindErr}. ` + `群消息 handler 将无法自动注入 parentTaskId。`);
|
|
945
|
+
}
|
|
946
|
+
} else if (isPluginDebugEnabled()) {
|
|
947
|
+
logger4.debug(`onAfterCreate[${this.pluginName}]: no sessionComponent injected, ` + `skip chat-task binding for chat ${chatId}`);
|
|
948
|
+
}
|
|
927
949
|
if (this.config.sendWelcomeMessage) {
|
|
928
950
|
try {
|
|
929
951
|
await this.sendToChat({
|