@ai-setting/roy-agent-core 1.7.59 → 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 +1 -0
- package/dist/env/event-source/index.d.ts +3 -1
- package/dist/env/event-source/index.js +30 -20
- package/dist/env/event-source/types.d.ts +21 -1
- package/dist/env/hook/index.js +6 -6
- 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-6q5m1qk5.js → roy-agent-core-ytnedzks.js} +239 -90
- 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/config/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ConfigSourceNotFoundError,
|
|
5
5
|
FileSource,
|
|
6
6
|
MemorySource
|
|
7
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
7
|
+
} from "../shared/@ai-setting/roy-agent-core-9k8ms63r.js";
|
|
8
8
|
import {
|
|
9
9
|
EnvSource,
|
|
10
10
|
parseJSONC,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
} from "../shared/@ai-setting/roy-agent-core-adg9ghbt.js";
|
|
16
16
|
import"../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
17
17
|
import"../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
18
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
19
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
20
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
21
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
22
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
23
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
24
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
import"../shared/@ai-setting/roy-agent-core-9s3payp1.js";
|
|
19
|
+
import"../shared/@ai-setting/roy-agent-core-expvav8a.js";
|
|
20
|
+
import"../shared/@ai-setting/roy-agent-core-ajmgyawx.js";
|
|
21
|
+
import"../shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
22
|
+
import"../shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
23
|
+
import"../shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
24
|
+
import"../shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
25
25
|
import"../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
26
26
|
import"../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
27
27
|
export {
|
package/dist/env/agent/index.js
CHANGED
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
AgentComponent,
|
|
3
3
|
AgentComponentConfigSchema,
|
|
4
4
|
SummaryAgent
|
|
5
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
6
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
7
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
8
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
} from "../../shared/@ai-setting/roy-agent-core-yr5eqyhz.js";
|
|
6
|
+
import"../../shared/@ai-setting/roy-agent-core-pj5tfmn5.js";
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-kfmrfaft.js";
|
|
8
|
+
import"../../shared/@ai-setting/roy-agent-core-dythsgkn.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
10
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
11
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
12
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-hf0t8agb.js";
|
|
11
|
+
import"../../shared/@ai-setting/roy-agent-core-jsdqzfbj.js";
|
|
12
|
+
import"../../shared/@ai-setting/roy-agent-core-m2tv4pj0.js";
|
|
13
13
|
import"../../shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
14
14
|
import"../../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
15
15
|
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
16
16
|
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
17
17
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
18
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
19
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
20
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
21
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
22
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
23
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
24
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-9s3payp1.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-expvav8a.js";
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-ajmgyawx.js";
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
22
|
+
import"../../shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
23
|
+
import"../../shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
24
|
+
import"../../shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
25
25
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
26
26
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
27
27
|
export {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandsComponent
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-mw0bc9g6.js";
|
|
4
4
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
5
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
6
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
7
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
8
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
9
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
10
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
11
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
import"../../shared/@ai-setting/roy-agent-core-9s3payp1.js";
|
|
6
|
+
import"../../shared/@ai-setting/roy-agent-core-expvav8a.js";
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-ajmgyawx.js";
|
|
8
|
+
import"../../shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
9
|
+
import"../../shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
11
|
+
import"../../shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
12
12
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
13
13
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
14
14
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_context
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
4
4
|
import {
|
|
5
5
|
EVENT_ENV_PREFIX,
|
|
6
6
|
createEnvContext,
|
|
@@ -24,9 +24,9 @@ import {
|
|
|
24
24
|
runWithEnvContextAsync,
|
|
25
25
|
serializeEventToEnv,
|
|
26
26
|
setCurrentTaskId
|
|
27
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
28
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
29
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
27
|
+
} from "../../shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
28
|
+
import"../../shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
29
|
+
import"../../shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
30
30
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
31
31
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
32
32
|
init_context();
|
package/dist/env/debug/index.js
CHANGED
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
RegexParser,
|
|
5
5
|
SpanBuilder,
|
|
6
6
|
SpanDbReader
|
|
7
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
7
|
+
} from "../../shared/@ai-setting/roy-agent-core-q212q0w1.js";
|
|
8
8
|
import {
|
|
9
9
|
ReplFormatter,
|
|
10
10
|
TraceFormatter,
|
|
11
11
|
TreeFormatter
|
|
12
12
|
} from "../../shared/@ai-setting/roy-agent-core-rvv6ydff.js";
|
|
13
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
14
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
15
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
16
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
17
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
18
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
19
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-9s3payp1.js";
|
|
14
|
+
import"../../shared/@ai-setting/roy-agent-core-expvav8a.js";
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-ajmgyawx.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
21
21
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
22
22
|
export {
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Task #4568 — `cli-command` EventSource handler
|
|
3
|
+
*
|
|
4
|
+
* ## 为什么需要它
|
|
5
|
+
*
|
|
6
|
+
* 飞书路径的 notify 链路有 5 个环节,CLI 路径**全缺**(设计文档 §4 断点 A~F):
|
|
7
|
+
*
|
|
8
|
+
* | 环节 | 飞书 | CLI(改造前) |
|
|
9
|
+
* |---|---|---|
|
|
10
|
+
* | 入口产 triggerEventId | `larkCliHandler.emitTriggerEvent` | ❌ 无 |
|
|
11
|
+
* | 落库 esType | `lark-cli` | ❌ 无 |
|
|
12
|
+
* | EnvContext.replyChannel | `{chatId: oc_xxx}` | ❌ 无 |
|
|
13
|
+
* | notify event metadata | `{triggerEventId, replyChannel}` | ❌ 双缺 |
|
|
14
|
+
* | v2 notify prompt | `buildNotifyHandlePrompt` 命中 | ❌ gate 不过 |
|
|
15
|
+
*
|
|
16
|
+
* 本 handler 补上"CLI 也是一个 EventSource"的一半(生产端 + prompt 端);
|
|
17
|
+
* 另一半(入口接线 + sink 分派)在 cli 包里。
|
|
18
|
+
*
|
|
19
|
+
* ## 三条硬契约(都有测试锁)
|
|
20
|
+
*
|
|
21
|
+
* 1. **落库 esType 必须是 `cli-command`**,不能抄 `lark-cli`。
|
|
22
|
+
* `getHandlerForEsType(esType)` 是 v2 prompt 的唯一分派 key。写成
|
|
23
|
+
* `lark-cli` 会让 agent 收到"用 lark-cli 发到 oc_xxx"的 prompt ——
|
|
24
|
+
* 而 CLI 路径根本没有 oc_xxx。见 `cli-command-handler.test.ts` ★ 核心。
|
|
25
|
+
*
|
|
26
|
+
* 2. **`buildCliReplyChannel().chatId` 永不为空**,格式 `cli:<sessionId>`。
|
|
27
|
+
* `_captureReplyChannelSnapshot()`(delegate-tool.ts:2676)要求
|
|
28
|
+
* `chatId || messageId` 至少一个非空,否则**整份快照被丢弃** →
|
|
29
|
+
* notify event 无回复目标 → 规则通知静默丢失(探针 D 实测)。
|
|
30
|
+
*
|
|
31
|
+
* 3. **`params.sink === 'stdout'`**。
|
|
32
|
+
* `EventHandler` 据此选择「console.log」还是「spawn lark-cli」。
|
|
33
|
+
* ⚠️ 注意 `targetFromEventMetadata()` 会读 `params.sink`
|
|
34
|
+
* (Task #4568 的配套修复,见 `telemetry-notice.ts`)—— 它原本丢弃整个 params。
|
|
35
|
+
*
|
|
36
|
+
* ## 与 lark handler 的对照
|
|
37
|
+
*
|
|
38
|
+
* | 能力 | larkCliHandler | cliCommandHandler |
|
|
39
|
+
* |---|---|---|
|
|
40
|
+
* | `emitTriggerEvent` | 落 `lark-cli` | 落 `cli-command` |
|
|
41
|
+
* | `extractReplyContext` | chatId/messageId/profile | chatId=`cli:<sid>` |
|
|
42
|
+
* | `buildNotifyHandlePrompt` | 四段式(含 lark-cli 命令) | 四段式(**明确禁止** lark-cli) |
|
|
43
|
+
* | `createInstance` | 真起 `lark-cli event consume` 子进程 | 哑实例(CLI 不消费外部流) |
|
|
44
|
+
*/
|
|
45
|
+
import type { EventSourceHandler } from "./types";
|
|
46
|
+
/** CLI 事件源类型名(用户指定,默认启用) */
|
|
47
|
+
export declare const CLI_COMMAND_ES_TYPE = "cli-command";
|
|
48
|
+
/**
|
|
49
|
+
* CLI 回复目标的 chatId 前缀:`cli:<sessionId>`。
|
|
50
|
+
*
|
|
51
|
+
* 为什么需要前缀:
|
|
52
|
+
* - 让 `extractChatId()` / `laneKeyFor()` 能把 CLI 通知放进**按 session
|
|
53
|
+
* 隔离的 lane**(不与真实 `oc_xxx` 群撞车);
|
|
54
|
+
* - 让 `resolveSessionForItemUncached()` 能识别"这不是真 chat,别去
|
|
55
|
+
* `ensureChatSession()` 新建一个 `cli:xxx` 假 session"。
|
|
56
|
+
*/
|
|
57
|
+
export declare const CLI_SESSION_CHAT_ID_PREFIX = "cli:";
|
|
58
|
+
/** CLI 通知的默认投递方式(用户 2026-10-27 拍板 ①:用 stdout) */
|
|
59
|
+
export type CliNoticeSink = "stdout";
|
|
60
|
+
/** `buildCliReplyChannel()` 的返回形状(与 `ReplyChannel` 结构兼容) */
|
|
61
|
+
export interface CliReplyChannel {
|
|
62
|
+
type: string;
|
|
63
|
+
chatId: string;
|
|
64
|
+
params: {
|
|
65
|
+
sink: CliNoticeSink;
|
|
66
|
+
cliSessionId: string;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* 构造 CLI 的「可回复 channel」。
|
|
71
|
+
*
|
|
72
|
+
* @param params.sessionId 当前 CLI session(空值降级成 `default`,绝不返回空 chatId)
|
|
73
|
+
*/
|
|
74
|
+
export declare function buildCliReplyChannel(params: {
|
|
75
|
+
sessionId: string;
|
|
76
|
+
}): CliReplyChannel;
|
|
77
|
+
/**
|
|
78
|
+
* 从 `cli:<sid>` 反解出 session id。非 CLI 前缀 → undefined。
|
|
79
|
+
*
|
|
80
|
+
* EventHandler 用它判断"要不要走 ensureChatSession()"。
|
|
81
|
+
*/
|
|
82
|
+
export declare function parseCliSessionChatId(chatId: string | undefined): string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* CLI Command Handler(内置 EventSource)。
|
|
85
|
+
*
|
|
86
|
+
* ⚠️ 它**不消费**任何外部流(不像 lark-cli 要 spawn `event consume`):
|
|
87
|
+
* CLI 的"事件"就是用户敲下的每一行 query,由 cli 包的
|
|
88
|
+
* `emitCliTriggerEvent()` 主动落库。
|
|
89
|
+
*/
|
|
90
|
+
export declare const cliCommandHandler: EventSourceHandler;
|
|
@@ -504,6 +504,7 @@ export declare const builtInHandlers: EventSourceHandler[];
|
|
|
504
504
|
export { timerHandler };
|
|
505
505
|
export { bountyIMHandler };
|
|
506
506
|
export { bountyCliHandler };
|
|
507
|
+
export { cliCommandHandler } from "./cli-command-handler";
|
|
507
508
|
/**
|
|
508
509
|
* 根据类型获取内置 Handler
|
|
509
510
|
*/
|
|
@@ -10,6 +10,8 @@ export { isBuiltInEventSourceType, isValidEventSourceType, getDefaultConfigForTy
|
|
|
10
10
|
export { EventSourceComponent } from "./event-source-component";
|
|
11
11
|
export { EventStoreImpl, setSharedEventStore, getSharedEventStore, resetSharedEventStore, } from "./event-store";
|
|
12
12
|
export type { EventStore, TriggerEventInput, TriggerEventMetadata, PersistedEvent, EventStoreOptions, } from "./event-store";
|
|
13
|
-
export { larkCliHandler, timerHandler, bountyIMHandler, builtInHandlers, getBuiltInHandler, extractMetadata, } from "./event-source-handlers";
|
|
13
|
+
export { larkCliHandler, timerHandler, bountyIMHandler, cliCommandHandler, builtInHandlers, getBuiltInHandler, extractMetadata, } from "./event-source-handlers";
|
|
14
|
+
export { CLI_COMMAND_ES_TYPE, CLI_SESSION_CHAT_ID_PREFIX, buildCliReplyChannel, parseCliSessionChatId, } from "./cli-command-handler";
|
|
15
|
+
export type { CliReplyChannel, CliNoticeSink } from "./cli-command-handler";
|
|
14
16
|
export { TimerInstance } from "./timer-handler";
|
|
15
17
|
export { BountyIMInstance, buildDefaultBountyIMSystemPrompt, resolveBountyIMSystemPrompt } from "./bounty-im-handler";
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
1
|
+
import"../../shared/@ai-setting/roy-agent-core-5enxfga2.js";
|
|
2
2
|
import {
|
|
3
3
|
BountyIMInstance,
|
|
4
|
+
CLI_COMMAND_ES_TYPE,
|
|
5
|
+
CLI_SESSION_CHAT_ID_PREFIX,
|
|
4
6
|
EventSourceComponent,
|
|
5
7
|
TimerInstance,
|
|
6
8
|
bountyIMHandler,
|
|
9
|
+
buildCliReplyChannel,
|
|
7
10
|
buildDefaultBountyIMSystemPrompt,
|
|
8
11
|
builtInHandlers,
|
|
12
|
+
cliCommandHandler,
|
|
9
13
|
extractMetadata,
|
|
10
14
|
getBuiltInHandler,
|
|
11
15
|
larkCliHandler,
|
|
16
|
+
parseCliSessionChatId,
|
|
12
17
|
resolveBountyIMSystemPrompt,
|
|
13
18
|
timerHandler
|
|
14
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
19
|
+
} from "../../shared/@ai-setting/roy-agent-core-ytnedzks.js";
|
|
15
20
|
import {
|
|
16
21
|
BUILT_IN_EVENT_SOURCE_TYPES,
|
|
17
22
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
@@ -20,36 +25,36 @@ import {
|
|
|
20
25
|
isBuiltInEventSourceType,
|
|
21
26
|
isValidEventSourceType,
|
|
22
27
|
validateEventSourceConfig
|
|
23
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
24
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
25
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
26
|
-
import"../../shared/@ai-setting/roy-agent-core-fbjd7bt6.js";
|
|
28
|
+
} from "../../shared/@ai-setting/roy-agent-core-bxkjk7zx.js";
|
|
29
|
+
import"../../shared/@ai-setting/roy-agent-core-0f989bnp.js";
|
|
30
|
+
import"../../shared/@ai-setting/roy-agent-core-n1ck0x1r.js";
|
|
27
31
|
import {
|
|
28
32
|
EventStoreImpl,
|
|
29
33
|
getSharedEventStore,
|
|
30
34
|
resetSharedEventStore,
|
|
31
35
|
setSharedEventStore
|
|
32
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
36
|
+
} from "../../shared/@ai-setting/roy-agent-core-z51jktet.js";
|
|
37
|
+
import"../../shared/@ai-setting/roy-agent-core-xeqp659x.js";
|
|
33
38
|
import"../../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
34
39
|
import"../../shared/@ai-setting/roy-agent-core-6masakz4.js";
|
|
35
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
36
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
37
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
38
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
39
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
40
|
+
import"../../shared/@ai-setting/roy-agent-core-qgapy83x.js";
|
|
41
|
+
import"../../shared/@ai-setting/roy-agent-core-yd85623y.js";
|
|
42
|
+
import"../../shared/@ai-setting/roy-agent-core-p2dpcyrz.js";
|
|
43
|
+
import"../../shared/@ai-setting/roy-agent-core-8fy467qs.js";
|
|
44
|
+
import"../../shared/@ai-setting/roy-agent-core-60p2380d.js";
|
|
40
45
|
import"../../shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
41
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
46
|
+
import"../../shared/@ai-setting/roy-agent-core-hf0t8agb.js";
|
|
42
47
|
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
43
48
|
import"../../shared/@ai-setting/roy-agent-core-64f22h1g.js";
|
|
44
49
|
import"../../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
45
50
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
46
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
47
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
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-
|
|
51
|
+
import"../../shared/@ai-setting/roy-agent-core-9s3payp1.js";
|
|
52
|
+
import"../../shared/@ai-setting/roy-agent-core-expvav8a.js";
|
|
53
|
+
import"../../shared/@ai-setting/roy-agent-core-ajmgyawx.js";
|
|
54
|
+
import"../../shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
55
|
+
import"../../shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
56
|
+
import"../../shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
57
|
+
import"../../shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
53
58
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
54
59
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
55
60
|
export {
|
|
@@ -58,6 +63,7 @@ export {
|
|
|
58
63
|
setSharedEventStore,
|
|
59
64
|
resolveBountyIMSystemPrompt,
|
|
60
65
|
resetSharedEventStore,
|
|
66
|
+
parseCliSessionChatId,
|
|
61
67
|
larkCliHandler,
|
|
62
68
|
isValidEventSourceType,
|
|
63
69
|
isBuiltInEventSourceType,
|
|
@@ -65,13 +71,17 @@ export {
|
|
|
65
71
|
getDefaultConfigForType,
|
|
66
72
|
getBuiltInHandler,
|
|
67
73
|
extractMetadata,
|
|
74
|
+
cliCommandHandler,
|
|
68
75
|
builtInHandlers,
|
|
69
76
|
buildDefaultBountyIMSystemPrompt,
|
|
77
|
+
buildCliReplyChannel,
|
|
70
78
|
bountyIMHandler,
|
|
71
79
|
TimerInstance,
|
|
72
80
|
EventStoreImpl,
|
|
73
81
|
EventSourceInitHooks,
|
|
74
82
|
EventSourceComponent,
|
|
83
|
+
CLI_SESSION_CHAT_ID_PREFIX,
|
|
84
|
+
CLI_COMMAND_ES_TYPE,
|
|
75
85
|
BountyIMInstance,
|
|
76
86
|
BUILT_IN_EVENT_SOURCE_TYPE_LIST,
|
|
77
87
|
BUILT_IN_EVENT_SOURCE_TYPES
|
|
@@ -29,11 +29,22 @@ export declare const BUILT_IN_EVENT_SOURCE_TYPES: {
|
|
|
29
29
|
readonly LARK_CLI: "lark-cli";
|
|
30
30
|
readonly TIMER: "timer";
|
|
31
31
|
readonly BOUNTY_IM: "bounty-im";
|
|
32
|
+
/**
|
|
33
|
+
* ★ Task #4568:CLI 命令行入口也是事件源。
|
|
34
|
+
*
|
|
35
|
+
* 与其它三者不同,它**不消费外部流** —— "事件"就是用户在终端敲下的
|
|
36
|
+
* 每一行 query,由 cli 包的 `emitCliTriggerEvent()` 主动落库。
|
|
37
|
+
*
|
|
38
|
+
* 存在的意义:让 `getHandlerForEsType('cli-command')` 能分派到
|
|
39
|
+
* `cliCommandHandler.buildNotifyHandlePrompt()`,从而给 agent 一个
|
|
40
|
+
* 「CLI 没有 IM 通道,输出到 stdout」的 prompt(而不是套用飞书模板)。
|
|
41
|
+
*/
|
|
42
|
+
readonly CLI_COMMAND: "cli-command";
|
|
32
43
|
};
|
|
33
44
|
/**
|
|
34
45
|
* 内置事件源类型列表
|
|
35
46
|
*/
|
|
36
|
-
export declare const BUILT_IN_EVENT_SOURCE_TYPE_LIST: ("lark-cli" | "timer" | "bounty-im")[];
|
|
47
|
+
export declare const BUILT_IN_EVENT_SOURCE_TYPE_LIST: ("lark-cli" | "timer" | "bounty-im" | "cli-command")[];
|
|
37
48
|
/**
|
|
38
49
|
* HandleRuleConfig
|
|
39
50
|
*
|
|
@@ -646,6 +657,15 @@ export interface BuildNotifyHandlePromptInput {
|
|
|
646
657
|
* 不必从零重来。
|
|
647
658
|
*/
|
|
648
659
|
subSessionId?: string;
|
|
660
|
+
/**
|
|
661
|
+
* ★ Task #4568:后台进程 ID(形如 `process_1793101794979_dyvi6vhxx`)。
|
|
662
|
+
*
|
|
663
|
+
* 用途:`taskId` 是「sub-agent 自己 task_create 过才有」的业务任务号,
|
|
664
|
+
* 很多后台任务没有它。此时 prompt 需要一个可辨识的标签,否则只能渲染
|
|
665
|
+
* `Task #?`(真机验证发现的显示缺陷)。CLI handler 用它生成
|
|
666
|
+
* `后台任务 dyvi6vhxx`。
|
|
667
|
+
*/
|
|
668
|
+
backgroundTaskId?: string;
|
|
649
669
|
};
|
|
650
670
|
/** 触发整个 delegate_task 的原始 event(从 EventStore 反查) */
|
|
651
671
|
triggerEvent: PersistedEvent;
|
package/dist/env/hook/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createHook,
|
|
3
3
|
createPriorityHook,
|
|
4
4
|
init_hook
|
|
5
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
} from "../../shared/@ai-setting/roy-agent-core-expvav8a.js";
|
|
6
6
|
import {
|
|
7
7
|
AgentHookPoints,
|
|
8
8
|
HookManager,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
executeLLMHook,
|
|
14
14
|
executeToolHook,
|
|
15
15
|
globalHookManager
|
|
16
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
17
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
18
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
19
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
20
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
16
|
+
} from "../../shared/@ai-setting/roy-agent-core-ajmgyawx.js";
|
|
17
|
+
import"../../shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
18
|
+
import"../../shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
21
21
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
22
22
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
23
23
|
init_hook();
|
package/dist/env/index.js
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseEnvironment
|
|
3
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../shared/@ai-setting/roy-agent-core-jrksyqb6.js";
|
|
4
4
|
import {
|
|
5
5
|
TaskComponent
|
|
6
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../shared/@ai-setting/roy-agent-core-gtb4fj8j.js";
|
|
7
7
|
import"../shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
8
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
9
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
10
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
import"../shared/@ai-setting/roy-agent-core-cndvj1hv.js";
|
|
9
|
+
import"../shared/@ai-setting/roy-agent-core-g5sw19fa.js";
|
|
10
|
+
import"../shared/@ai-setting/roy-agent-core-khc23qs1.js";
|
|
11
11
|
import"../shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
12
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
13
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
12
|
+
import"../shared/@ai-setting/roy-agent-core-ymcvsdzn.js";
|
|
13
|
+
import"../shared/@ai-setting/roy-agent-core-rn57psp0.js";
|
|
14
14
|
import {
|
|
15
15
|
EventSourceComponent,
|
|
16
16
|
builtInHandlers,
|
|
17
17
|
larkCliHandler
|
|
18
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
} from "../shared/@ai-setting/roy-agent-core-ytnedzks.js";
|
|
19
19
|
import {
|
|
20
20
|
EventSourceInitHooks,
|
|
21
21
|
getDefaultConfigForType,
|
|
22
22
|
isBuiltInEventSourceType,
|
|
23
23
|
isValidEventSourceType,
|
|
24
24
|
validateEventSourceConfig
|
|
25
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
26
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
27
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
28
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
29
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
25
|
+
} from "../shared/@ai-setting/roy-agent-core-bxkjk7zx.js";
|
|
26
|
+
import"../shared/@ai-setting/roy-agent-core-0f989bnp.js";
|
|
27
|
+
import"../shared/@ai-setting/roy-agent-core-n1ck0x1r.js";
|
|
28
|
+
import"../shared/@ai-setting/roy-agent-core-z51jktet.js";
|
|
29
|
+
import"../shared/@ai-setting/roy-agent-core-xeqp659x.js";
|
|
30
30
|
import"../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
31
31
|
import"../shared/@ai-setting/roy-agent-core-6masakz4.js";
|
|
32
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
33
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
32
|
+
import"../shared/@ai-setting/roy-agent-core-qgapy83x.js";
|
|
33
|
+
import"../shared/@ai-setting/roy-agent-core-yd85623y.js";
|
|
34
34
|
import {
|
|
35
35
|
WorkflowComponent
|
|
36
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
37
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
36
|
+
} from "../shared/@ai-setting/roy-agent-core-6cyjps72.js";
|
|
37
|
+
import"../shared/@ai-setting/roy-agent-core-g44nbgtt.js";
|
|
38
38
|
import"../shared/@ai-setting/roy-agent-core-h0x19xgn.js";
|
|
39
39
|
import"../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
40
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
41
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
42
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
40
|
+
import"../shared/@ai-setting/roy-agent-core-4m5spt7m.js";
|
|
41
|
+
import"../shared/@ai-setting/roy-agent-core-rnzm0tpf.js";
|
|
42
|
+
import"../shared/@ai-setting/roy-agent-core-vmfk4m1v.js";
|
|
43
43
|
import"../shared/@ai-setting/roy-agent-core-hhrg314p.js";
|
|
44
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
45
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
44
|
+
import"../shared/@ai-setting/roy-agent-core-ygfjgk9b.js";
|
|
45
|
+
import"../shared/@ai-setting/roy-agent-core-nd5171pv.js";
|
|
46
46
|
import"../shared/@ai-setting/roy-agent-core-6atd905e.js";
|
|
47
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
48
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
47
|
+
import"../shared/@ai-setting/roy-agent-core-j0x9yf96.js";
|
|
48
|
+
import"../shared/@ai-setting/roy-agent-core-dg286rpd.js";
|
|
49
49
|
import"../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
50
50
|
import"../shared/@ai-setting/roy-agent-core-ze068vc9.js";
|
|
51
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
52
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
51
|
+
import"../shared/@ai-setting/roy-agent-core-a5nh5q6v.js";
|
|
52
|
+
import"../shared/@ai-setting/roy-agent-core-p2dpcyrz.js";
|
|
53
53
|
import"../shared/@ai-setting/roy-agent-core-7exqwax1.js";
|
|
54
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
55
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
54
|
+
import"../shared/@ai-setting/roy-agent-core-8fy467qs.js";
|
|
55
|
+
import"../shared/@ai-setting/roy-agent-core-sf9tsj0g.js";
|
|
56
56
|
import"../shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
57
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
57
|
+
import"../shared/@ai-setting/roy-agent-core-60p2380d.js";
|
|
58
58
|
import"../shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
59
59
|
import"../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
60
60
|
import {
|
|
61
61
|
AgentComponent,
|
|
62
62
|
AgentComponentConfigSchema
|
|
63
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
64
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
65
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
66
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
63
|
+
} from "../shared/@ai-setting/roy-agent-core-yr5eqyhz.js";
|
|
64
|
+
import"../shared/@ai-setting/roy-agent-core-pj5tfmn5.js";
|
|
65
|
+
import"../shared/@ai-setting/roy-agent-core-kfmrfaft.js";
|
|
66
|
+
import"../shared/@ai-setting/roy-agent-core-dythsgkn.js";
|
|
67
67
|
import {
|
|
68
68
|
XDG_PATHS,
|
|
69
69
|
getXDGPath,
|
|
70
70
|
getXDGPaths
|
|
71
71
|
} from "../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
72
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
73
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
74
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
72
|
+
import"../shared/@ai-setting/roy-agent-core-hf0t8agb.js";
|
|
73
|
+
import"../shared/@ai-setting/roy-agent-core-jsdqzfbj.js";
|
|
74
|
+
import"../shared/@ai-setting/roy-agent-core-m2tv4pj0.js";
|
|
75
75
|
import"../shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
76
76
|
import"../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
77
77
|
import"../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
78
78
|
import {
|
|
79
79
|
PluginComponent
|
|
80
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
80
|
+
} from "../shared/@ai-setting/roy-agent-core-aa514zm8.js";
|
|
81
81
|
import"../shared/@ai-setting/roy-agent-core-64f22h1g.js";
|
|
82
82
|
import"../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
83
83
|
import {
|
|
84
84
|
McpComponent
|
|
85
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
86
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
85
|
+
} from "../shared/@ai-setting/roy-agent-core-qw5fpa24.js";
|
|
86
|
+
import"../shared/@ai-setting/roy-agent-core-jsn21cb9.js";
|
|
87
87
|
import"../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
88
88
|
import"../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
89
89
|
import {
|
|
90
90
|
BaseComponent
|
|
91
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
91
|
+
} from "../shared/@ai-setting/roy-agent-core-9s3payp1.js";
|
|
92
92
|
import {
|
|
93
93
|
createHook,
|
|
94
94
|
createPriorityHook
|
|
95
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
95
|
+
} from "../shared/@ai-setting/roy-agent-core-expvav8a.js";
|
|
96
96
|
import {
|
|
97
97
|
HookManager
|
|
98
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
99
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
98
|
+
} from "../shared/@ai-setting/roy-agent-core-ajmgyawx.js";
|
|
99
|
+
import"../shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
100
100
|
import {
|
|
101
101
|
createEnvContext,
|
|
102
102
|
getEnvContext,
|
|
@@ -105,9 +105,9 @@ import {
|
|
|
105
105
|
mergeEnvContext,
|
|
106
106
|
runWithEnvContext,
|
|
107
107
|
runWithEnvContextAsync
|
|
108
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
109
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
110
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
108
|
+
} from "../shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
109
|
+
import"../shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
110
|
+
import"../shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
111
111
|
import"../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
112
112
|
import"../shared/@ai-setting/roy-agent-core-fnv3ev18.js";
|
|
113
113
|
import"../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
package/dist/env/llm/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
createLLMAdapter,
|
|
14
14
|
getLLMProviderOverride,
|
|
15
15
|
setLLMProvider
|
|
16
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
16
|
+
} from "../../shared/@ai-setting/roy-agent-core-5565cvw8.js";
|
|
17
17
|
import"../../shared/@ai-setting/roy-agent-core-adg9ghbt.js";
|
|
18
18
|
import {
|
|
19
19
|
PiAiAdapter,
|
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
isOpencodeEndpoint,
|
|
28
28
|
isOpencodeProvider,
|
|
29
29
|
parseModelString
|
|
30
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
30
|
+
} from "../../shared/@ai-setting/roy-agent-core-m2tv4pj0.js";
|
|
31
31
|
import"../../shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
32
32
|
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
33
33
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
34
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
35
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
36
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
37
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
38
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
39
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
40
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
34
|
+
import"../../shared/@ai-setting/roy-agent-core-9s3payp1.js";
|
|
35
|
+
import"../../shared/@ai-setting/roy-agent-core-expvav8a.js";
|
|
36
|
+
import"../../shared/@ai-setting/roy-agent-core-ajmgyawx.js";
|
|
37
|
+
import"../../shared/@ai-setting/roy-agent-core-bdzdw1g3.js";
|
|
38
|
+
import"../../shared/@ai-setting/roy-agent-core-qrjs2500.js";
|
|
39
|
+
import"../../shared/@ai-setting/roy-agent-core-2qkrpc7m.js";
|
|
40
|
+
import"../../shared/@ai-setting/roy-agent-core-y0k9kaxz.js";
|
|
41
41
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
42
42
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
43
43
|
export {
|