@ai-setting/roy-agent-core 1.7.61 → 1.7.63
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/agent-component.d.ts +33 -0
- package/dist/env/agent/agent-component.js +42 -0
- package/dist/env/agent/index.js +19 -16
- package/dist/env/agent/types.d.ts +17 -0
- 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/error-reply.d.ts +53 -1
- package/dist/env/error-reply.js +25 -0
- package/dist/env/event-source/cli-command-handler.js +17 -0
- package/dist/env/event-source/event-source-handlers.js +59 -0
- package/dist/env/event-source/event-store.js +18 -0
- package/dist/env/event-source/idempotency-key.js +20 -0
- package/dist/env/event-source/index.js +31 -25
- package/dist/env/hook/index.js +6 -6
- package/dist/env/index.js +53 -46
- package/dist/env/lark-mention-utils.js +9 -0
- package/dist/env/llm/adapter-pi-ai.d.ts +47 -0
- package/dist/env/llm/index.js +10 -9
- package/dist/env/llm/model-fallback.d.ts +54 -0
- package/dist/env/llm/redact.d.ts +39 -0
- package/dist/env/llm/types.d.ts +13 -0
- package/dist/env/log-trace/index.js +8 -8
- package/dist/env/log-trace/logger.js +39 -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 +9 -9
- package/dist/env/prompt/index.js +8 -8
- package/dist/env/session/index.js +12 -11
- package/dist/env/session/storage/index.js +6 -5
- package/dist/env/skill/index.js +8 -8
- package/dist/env/task/delegate/delegate-tool.d.ts +27 -1
- package/dist/env/task/delegate/delegate-tool.js +42 -0
- package/dist/env/task/delegate/index.js +13 -11
- package/dist/env/task/index.js +16 -15
- package/dist/env/task/mcp/index.js +4 -4
- package/dist/env/task/plugins/index.js +11 -11
- package/dist/env/task/plugins/lark-card-patch-notifier.js +42 -0
- package/dist/env/task/storage/index.js +4 -4
- package/dist/env/task/tools/index.js +4 -4
- package/dist/env/tool/built-in/index.js +4 -4
- package/dist/env/tool/index.js +12 -11
- package/dist/env/tool/types.d.ts +13 -0
- package/dist/env/tool/types.js +1 -0
- package/dist/env/workflow/engine/index.js +13 -13
- package/dist/env/workflow/hooks/index.js +8 -8
- package/dist/env/workflow/index.js +24 -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 +16 -15
- package/dist/env/workflow/utils/index.js +5 -5
- package/dist/index.js +71 -62
- package/dist/shared/@ai-setting/{roy-agent-core-m2tv4pj0.js → roy-agent-core-03k5drfp.js} +212 -172
- package/dist/shared/@ai-setting/{roy-agent-core-dythsgkn.js → roy-agent-core-06jakebr.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-jsn21cb9.js → roy-agent-core-084zthqx.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-vmfk4m1v.js → roy-agent-core-1dnsk6ht.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-5565cvw8.js → roy-agent-core-2cw72f16.js} +11 -6
- package/dist/shared/@ai-setting/{roy-agent-core-x1m0gs0q.js → roy-agent-core-2hkyp51n.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-q212q0w1.js → roy-agent-core-2pma868e.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-mw0bc9g6.js → roy-agent-core-32ck9rqt.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-bdzdw1g3.js → roy-agent-core-33hn1beg.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-2qkrpc7m.js → roy-agent-core-386wa4wy.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-gtb4fj8j.js → roy-agent-core-5hq4v41q.js} +12 -10
- package/dist/shared/@ai-setting/{roy-agent-core-khc23qs1.js → roy-agent-core-5mrynf9g.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-4m5spt7m.js → roy-agent-core-60f7h284.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-y0k9kaxz.js → roy-agent-core-6awgfh3x.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ygfjgk9b.js → roy-agent-core-6wxww10t.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-xc0es9zc.js → roy-agent-core-79gyka2q.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-expvav8a.js → roy-agent-core-7tce05jt.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-z51jktet.js → roy-agent-core-a08dpf71.js} +17 -2
- package/dist/shared/@ai-setting/{roy-agent-core-22r4zmkw.js → roy-agent-core-a6cz4d23.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-0f989bnp.js → roy-agent-core-anb53t3v.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-ymcvsdzn.js → roy-agent-core-as0dd70m.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-jrksyqb6.js → roy-agent-core-b4zdm2n4.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-rnzm0tpf.js → roy-agent-core-bm3gav5d.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-nd5171pv.js → roy-agent-core-bpvz1dqr.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-aa514zm8.js → roy-agent-core-c4t4y18j.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-sf9tsj0g.js → roy-agent-core-c57278kx.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-e6k448ka.js → roy-agent-core-c8xvy6hj.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-qgapy83x.js → roy-agent-core-cxpgd415.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-g44nbgtt.js → roy-agent-core-dfqhc9ey.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-6cyjps72.js → roy-agent-core-ebws32tv.js} +14 -14
- package/dist/shared/@ai-setting/{roy-agent-core-yr5eqyhz.js → roy-agent-core-g23yp3t1.js} +309 -59
- package/dist/shared/@ai-setting/roy-agent-core-g6pw4esq.js +473 -0
- package/dist/shared/@ai-setting/{roy-agent-core-3p59ap0x.js → roy-agent-core-gc6wcd7z.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-s7w47mnn.js → roy-agent-core-gjsvehfs.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-cndvj1hv.js → roy-agent-core-gnt23yx0.js} +30 -118
- package/dist/shared/@ai-setting/{roy-agent-core-9s3payp1.js → roy-agent-core-gtdtzbs7.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-mhppywse.js → roy-agent-core-hczj1ryh.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-qrjs2500.js → roy-agent-core-hfyxv2kx.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-dg286rpd.js → roy-agent-core-hwkc0bg2.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-bc3v8pw4.js → roy-agent-core-ja4sr63d.js} +6 -6
- package/dist/shared/@ai-setting/roy-agent-core-jagkferh.js +16 -0
- package/dist/shared/@ai-setting/roy-agent-core-jm136jzh.js +99 -0
- package/dist/shared/@ai-setting/{roy-agent-core-g5sw19fa.js → roy-agent-core-jw63js86.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-8fy467qs.js → roy-agent-core-kmvw6b4v.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-3bpntd80.js → roy-agent-core-kvq4a4p6.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-yd85623y.js → roy-agent-core-m3w3ytxt.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-64f22h1g.js → roy-agent-core-m880qz3y.js} +7 -1
- package/dist/shared/@ai-setting/{roy-agent-core-5knpegzr.js → roy-agent-core-mbwaxqs0.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-tn96n4wz.js → roy-agent-core-mkpsz128.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-9k8ms63r.js → roy-agent-core-mrrv80jy.js} +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-ntn32q7j.js +72 -0
- package/dist/shared/@ai-setting/roy-agent-core-p37kh0kt.js +155 -0
- package/dist/shared/@ai-setting/{roy-agent-core-60p2380d.js → roy-agent-core-p6a4v4fq.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-hf0t8agb.js → roy-agent-core-p8rf4z89.js} +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-pnj0zh25.js +0 -0
- package/dist/shared/@ai-setting/{roy-agent-core-dp1hp24k.js → roy-agent-core-prnry2mw.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-qw5fpa24.js → roy-agent-core-qmqe8ds3.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-jsdqzfbj.js → roy-agent-core-rfhxj8v2.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-j0x9yf96.js → roy-agent-core-sj4y3wdm.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-ytnedzks.js → roy-agent-core-t6nx0rsz.js} +333 -1332
- package/dist/shared/@ai-setting/{roy-agent-core-xeqp659x.js → roy-agent-core-th92f833.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-ajmgyawx.js → roy-agent-core-v7mwj8eq.js} +2 -2
- package/dist/shared/@ai-setting/roy-agent-core-va4m04e8.js +524 -0
- package/dist/shared/@ai-setting/{roy-agent-core-qpqqx1wd.js → roy-agent-core-vwzan9v0.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-pj5tfmn5.js → roy-agent-core-w2ev3z5q.js} +12 -14
- package/dist/shared/@ai-setting/{roy-agent-core-kfmrfaft.js → roy-agent-core-wzp4tbsn.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-n1ck0x1r.js → roy-agent-core-ye4bfzqg.js} +11 -11
- package/dist/shared/@ai-setting/{roy-agent-core-p2dpcyrz.js → roy-agent-core-zjgckbdd.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-a5nh5q6v.js → roy-agent-core-zy8vkbnk.js} +1 -1
- package/dist/test-utils/child-process-mock.js +23 -0
- package/dist/utils/temp-file-manager/index.js +2 -2
- package/package.json +61 -1
package/dist/env/index.js
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseEnvironment
|
|
3
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../shared/@ai-setting/roy-agent-core-b4zdm2n4.js";
|
|
4
4
|
import {
|
|
5
5
|
TaskComponent
|
|
6
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../shared/@ai-setting/roy-agent-core-5hq4v41q.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-jm136jzh.js";
|
|
9
|
+
import"../shared/@ai-setting/roy-agent-core-gnt23yx0.js";
|
|
10
|
+
import"../shared/@ai-setting/roy-agent-core-jw63js86.js";
|
|
11
|
+
import"../shared/@ai-setting/roy-agent-core-5mrynf9g.js";
|
|
11
12
|
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-as0dd70m.js";
|
|
13
14
|
import"../shared/@ai-setting/roy-agent-core-rn57psp0.js";
|
|
14
15
|
import {
|
|
15
|
-
EventSourceComponent
|
|
16
|
+
EventSourceComponent
|
|
17
|
+
} from "../shared/@ai-setting/roy-agent-core-g6pw4esq.js";
|
|
18
|
+
import {
|
|
16
19
|
builtInHandlers,
|
|
17
20
|
larkCliHandler
|
|
18
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
21
|
+
} from "../shared/@ai-setting/roy-agent-core-t6nx0rsz.js";
|
|
19
22
|
import {
|
|
20
23
|
EventSourceInitHooks,
|
|
21
24
|
getDefaultConfigForType,
|
|
@@ -23,80 +26,84 @@ import {
|
|
|
23
26
|
isValidEventSourceType,
|
|
24
27
|
validateEventSourceConfig
|
|
25
28
|
} from "../shared/@ai-setting/roy-agent-core-bxkjk7zx.js";
|
|
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-
|
|
29
|
+
import"../shared/@ai-setting/roy-agent-core-va4m04e8.js";
|
|
30
|
+
import"../shared/@ai-setting/roy-agent-core-p37kh0kt.js";
|
|
31
|
+
import"../shared/@ai-setting/roy-agent-core-anb53t3v.js";
|
|
32
|
+
import"../shared/@ai-setting/roy-agent-core-ye4bfzqg.js";
|
|
33
|
+
import"../shared/@ai-setting/roy-agent-core-a08dpf71.js";
|
|
34
|
+
import"../shared/@ai-setting/roy-agent-core-th92f833.js";
|
|
30
35
|
import"../shared/@ai-setting/roy-agent-core-1pg0fepg.js";
|
|
31
36
|
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-
|
|
37
|
+
import"../shared/@ai-setting/roy-agent-core-cxpgd415.js";
|
|
38
|
+
import"../shared/@ai-setting/roy-agent-core-m3w3ytxt.js";
|
|
34
39
|
import {
|
|
35
40
|
WorkflowComponent
|
|
36
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
37
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
41
|
+
} from "../shared/@ai-setting/roy-agent-core-ebws32tv.js";
|
|
42
|
+
import"../shared/@ai-setting/roy-agent-core-dfqhc9ey.js";
|
|
38
43
|
import"../shared/@ai-setting/roy-agent-core-h0x19xgn.js";
|
|
39
44
|
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-
|
|
45
|
+
import"../shared/@ai-setting/roy-agent-core-60f7h284.js";
|
|
46
|
+
import"../shared/@ai-setting/roy-agent-core-bm3gav5d.js";
|
|
47
|
+
import"../shared/@ai-setting/roy-agent-core-1dnsk6ht.js";
|
|
43
48
|
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-
|
|
49
|
+
import"../shared/@ai-setting/roy-agent-core-6wxww10t.js";
|
|
50
|
+
import"../shared/@ai-setting/roy-agent-core-bpvz1dqr.js";
|
|
46
51
|
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-
|
|
52
|
+
import"../shared/@ai-setting/roy-agent-core-sj4y3wdm.js";
|
|
53
|
+
import"../shared/@ai-setting/roy-agent-core-hwkc0bg2.js";
|
|
49
54
|
import"../shared/@ai-setting/roy-agent-core-1db4vpc6.js";
|
|
50
55
|
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-
|
|
56
|
+
import"../shared/@ai-setting/roy-agent-core-zy8vkbnk.js";
|
|
57
|
+
import"../shared/@ai-setting/roy-agent-core-zjgckbdd.js";
|
|
53
58
|
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-
|
|
59
|
+
import"../shared/@ai-setting/roy-agent-core-kmvw6b4v.js";
|
|
60
|
+
import"../shared/@ai-setting/roy-agent-core-c57278kx.js";
|
|
56
61
|
import"../shared/@ai-setting/roy-agent-core-ddwa0n6h.js";
|
|
57
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
62
|
+
import"../shared/@ai-setting/roy-agent-core-p6a4v4fq.js";
|
|
58
63
|
import"../shared/@ai-setting/roy-agent-core-jrj30vq3.js";
|
|
59
64
|
import"../shared/@ai-setting/roy-agent-core-rvxg1wps.js";
|
|
65
|
+
import"../shared/@ai-setting/roy-agent-core-jagkferh.js";
|
|
60
66
|
import {
|
|
61
67
|
AgentComponent,
|
|
62
68
|
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-
|
|
69
|
+
} from "../shared/@ai-setting/roy-agent-core-g23yp3t1.js";
|
|
70
|
+
import"../shared/@ai-setting/roy-agent-core-w2ev3z5q.js";
|
|
71
|
+
import"../shared/@ai-setting/roy-agent-core-wzp4tbsn.js";
|
|
72
|
+
import"../shared/@ai-setting/roy-agent-core-06jakebr.js";
|
|
67
73
|
import {
|
|
68
74
|
XDG_PATHS,
|
|
69
75
|
getXDGPath,
|
|
70
76
|
getXDGPaths
|
|
71
77
|
} 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-
|
|
78
|
+
import"../shared/@ai-setting/roy-agent-core-p8rf4z89.js";
|
|
79
|
+
import"../shared/@ai-setting/roy-agent-core-rfhxj8v2.js";
|
|
80
|
+
import"../shared/@ai-setting/roy-agent-core-03k5drfp.js";
|
|
75
81
|
import"../shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
76
82
|
import"../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
83
|
+
import"../shared/@ai-setting/roy-agent-core-ntn32q7j.js";
|
|
77
84
|
import"../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
78
85
|
import {
|
|
79
86
|
PluginComponent
|
|
80
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
81
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
87
|
+
} from "../shared/@ai-setting/roy-agent-core-c4t4y18j.js";
|
|
88
|
+
import"../shared/@ai-setting/roy-agent-core-m880qz3y.js";
|
|
82
89
|
import"../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
83
90
|
import {
|
|
84
91
|
McpComponent
|
|
85
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
86
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
92
|
+
} from "../shared/@ai-setting/roy-agent-core-qmqe8ds3.js";
|
|
93
|
+
import"../shared/@ai-setting/roy-agent-core-084zthqx.js";
|
|
87
94
|
import"../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
88
95
|
import"../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
89
96
|
import {
|
|
90
97
|
BaseComponent
|
|
91
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
98
|
+
} from "../shared/@ai-setting/roy-agent-core-gtdtzbs7.js";
|
|
92
99
|
import {
|
|
93
100
|
createHook,
|
|
94
101
|
createPriorityHook
|
|
95
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
102
|
+
} from "../shared/@ai-setting/roy-agent-core-7tce05jt.js";
|
|
96
103
|
import {
|
|
97
104
|
HookManager
|
|
98
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
99
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
105
|
+
} from "../shared/@ai-setting/roy-agent-core-v7mwj8eq.js";
|
|
106
|
+
import"../shared/@ai-setting/roy-agent-core-33hn1beg.js";
|
|
100
107
|
import {
|
|
101
108
|
createEnvContext,
|
|
102
109
|
getEnvContext,
|
|
@@ -105,9 +112,9 @@ import {
|
|
|
105
112
|
mergeEnvContext,
|
|
106
113
|
runWithEnvContext,
|
|
107
114
|
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-
|
|
115
|
+
} from "../shared/@ai-setting/roy-agent-core-hfyxv2kx.js";
|
|
116
|
+
import"../shared/@ai-setting/roy-agent-core-386wa4wy.js";
|
|
117
|
+
import"../shared/@ai-setting/roy-agent-core-6awgfh3x.js";
|
|
111
118
|
import"../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
112
119
|
import"../shared/@ai-setting/roy-agent-core-fnv3ev18.js";
|
|
113
120
|
import"../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
@@ -166,6 +166,53 @@ export declare function buildPiCacheOptions(args: {
|
|
|
166
166
|
export declare function resolvePiModel(provider: string, modelId: string, baseURL?: string, capabilities?: {
|
|
167
167
|
reasoning?: boolean;
|
|
168
168
|
}): Model<any>;
|
|
169
|
+
/**
|
|
170
|
+
* Task #4625 — capture the upstream HTTP response so `Retry-After` survives.
|
|
171
|
+
*
|
|
172
|
+
* ## Why a hook is the only way
|
|
173
|
+
*
|
|
174
|
+
* pi-ai flattens every provider failure into `AssistantMessage.errorMessage`,
|
|
175
|
+
* a plain string (`openai-completions.js:314-327` does exactly
|
|
176
|
+
* `output.errorMessage = error.message`). `responseHeaders` are dropped on the
|
|
177
|
+
* floor. So by the time roy-agent sees `stopReason === "error"`, the only
|
|
178
|
+
* remaining trace of "how long until the quota resets" is what we saved
|
|
179
|
+
* ourselves.
|
|
180
|
+
*
|
|
181
|
+
* `onResponse` is pi-ai's public hook for that moment — it fires right after
|
|
182
|
+
* `.withResponse()` resolves, *before* the body is consumed
|
|
183
|
+
* (`openai-completions.js:90`), with `{status, headers}`.
|
|
184
|
+
*
|
|
185
|
+
* ## Why it captures unconditionally
|
|
186
|
+
*
|
|
187
|
+
* The hook cannot know in advance whether this response will become an error
|
|
188
|
+
* (a 200 can still fail later while streaming). Capturing every response costs
|
|
189
|
+
* one object allocation per request and lets `enrichProviderError()` decide
|
|
190
|
+
* afterwards. Skipping non-error statuses would risk losing the very headers we
|
|
191
|
+
* need when a `2xx` starts streaming and then dies.
|
|
192
|
+
*/
|
|
193
|
+
export interface CapturedProviderResponse {
|
|
194
|
+
status: number;
|
|
195
|
+
headers: Record<string, string>;
|
|
196
|
+
}
|
|
197
|
+
export declare function createResponseCapture(): {
|
|
198
|
+
onResponse: (response: CapturedProviderResponse) => void;
|
|
199
|
+
captured: () => CapturedProviderResponse | undefined;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Task #4625 — attach the captured HTTP response to a failed pi-ai result.
|
|
203
|
+
*
|
|
204
|
+
* pi-ai reports failures as `{stopReason:"error", errorMessage}` rather than by
|
|
205
|
+
* throwing, so roy-agent has to turn that into a real `Error` for the caller to
|
|
206
|
+
* fall back on. Throwing a *bare* `new Error(errorMessage)` was how the
|
|
207
|
+
* `Retry-After` got lost: the message string cannot carry headers.
|
|
208
|
+
*
|
|
209
|
+
* The captured response is attached twice on purpose:
|
|
210
|
+
* - as `responseHeaders`, the shape `@ai-sdk/provider`'s `APICallError` uses, so
|
|
211
|
+
* `extractRetryAfterSeconds()` finds it on the first branch it tries;
|
|
212
|
+
* - as `cause`, so anything that only walks `cause` (including
|
|
213
|
+
* `collectErrorText()`, which builds the user-facing text) also sees it.
|
|
214
|
+
*/
|
|
215
|
+
export declare function buildProviderError(message: string, captured: CapturedProviderResponse | undefined, knownSecrets?: Array<string | undefined>): Error;
|
|
169
216
|
/**
|
|
170
217
|
* 将 LLMMessage 转换为 pi-ai 的消息结构
|
|
171
218
|
*/
|
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-2cw72f16.js";
|
|
17
17
|
import"../../shared/@ai-setting/roy-agent-core-adg9ghbt.js";
|
|
18
18
|
import {
|
|
19
19
|
PiAiAdapter,
|
|
@@ -27,17 +27,18 @@ 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-03k5drfp.js";
|
|
31
31
|
import"../../shared/@ai-setting/roy-agent-core-zjdzk1gg.js";
|
|
32
|
+
import"../../shared/@ai-setting/roy-agent-core-ntn32q7j.js";
|
|
32
33
|
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
33
34
|
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-
|
|
35
|
+
import"../../shared/@ai-setting/roy-agent-core-gtdtzbs7.js";
|
|
36
|
+
import"../../shared/@ai-setting/roy-agent-core-7tce05jt.js";
|
|
37
|
+
import"../../shared/@ai-setting/roy-agent-core-v7mwj8eq.js";
|
|
38
|
+
import"../../shared/@ai-setting/roy-agent-core-33hn1beg.js";
|
|
39
|
+
import"../../shared/@ai-setting/roy-agent-core-hfyxv2kx.js";
|
|
40
|
+
import"../../shared/@ai-setting/roy-agent-core-386wa4wy.js";
|
|
41
|
+
import"../../shared/@ai-setting/roy-agent-core-6awgfh3x.js";
|
|
41
42
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
42
43
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
43
44
|
export {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Model fallback eligibility detection (Task #4623).
|
|
3
|
+
*
|
|
4
|
+
* Background
|
|
5
|
+
* ----------
|
|
6
|
+
* The user reported that `roy-agent act ... --model <provider/model>` works for
|
|
7
|
+
* the default agent, but sub-agents spawned via `delegate_task` silently fall
|
|
8
|
+
* back to the configured default model. On top of that, when the primary model
|
|
9
|
+
* runs out of quota the whole run dies with `Error | 404 Page not found` and
|
|
10
|
+
* there is no way to keep going.
|
|
11
|
+
*
|
|
12
|
+
* This module owns two pure concerns:
|
|
13
|
+
*
|
|
14
|
+
* 1. `isFallbackEligibleError()` — decide whether a given failure should
|
|
15
|
+
* trigger a model downgrade.
|
|
16
|
+
* 2. `parseFallbackModel()` — normalise a `providerId/modelId` string.
|
|
17
|
+
*
|
|
18
|
+
* ⚠️ WHY TEXT MATCHING (and not `instanceof`)
|
|
19
|
+
*
|
|
20
|
+
* The production error chain destroys the error *type* before it ever reaches
|
|
21
|
+
* us:
|
|
22
|
+
*
|
|
23
|
+
* - `llm.ts:873` → `throw new Error(result.result)` (AI SDK stringifies
|
|
24
|
+
* the error, `statusCode` is lost)
|
|
25
|
+
* - `environment.ts:handle_query` → `throw new Error(result.error)`
|
|
26
|
+
* - `error-reply.ts` → `classifyReactFailure()` matches on **text**
|
|
27
|
+
* (its own comment says "不能依赖 instanceof RetryError")
|
|
28
|
+
*
|
|
29
|
+
* So the only signal that survives to the fallback layer is the message text
|
|
30
|
+
* (plus, when the provider happens to expose it, a `statusCode` property).
|
|
31
|
+
* Both are inspected here.
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Decide whether a failure should trigger a model fallback.
|
|
35
|
+
*
|
|
36
|
+
* @param error The thrown value (may be an Error, a plain object, or a string).
|
|
37
|
+
* @param hasFallback Whether a fallback model is actually configured. When
|
|
38
|
+
* `false` this always returns `false` so callers can use it
|
|
39
|
+
* as a single guard.
|
|
40
|
+
*/
|
|
41
|
+
export declare function isFallbackEligibleError(error: unknown, hasFallback?: boolean): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Normalise a fallback model string.
|
|
44
|
+
*
|
|
45
|
+
* Accepted formats:
|
|
46
|
+
* - `"providerId/modelId"` → `{ providerId, modelId }`
|
|
47
|
+
* - `"modelId"` → `{ providerId: undefined, modelId }`
|
|
48
|
+
*
|
|
49
|
+
* @returns `undefined` when the input is empty / whitespace-only.
|
|
50
|
+
*/
|
|
51
|
+
export declare function parseFallbackModel(fallbackModel: string | undefined): {
|
|
52
|
+
providerId?: string;
|
|
53
|
+
modelId: string;
|
|
54
|
+
} | undefined;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Secret redaction for upstream error text.
|
|
3
|
+
*
|
|
4
|
+
* ## Why this is a shared module and not a private helper
|
|
5
|
+
*
|
|
6
|
+
* Task #4465 established the rule: never trust an upstream error message to be
|
|
7
|
+
* secret-free — AI SDK / fetch errors routinely embed the request URL, the
|
|
8
|
+
* `Authorization` header, or a provider payload, any of which can contain the
|
|
9
|
+
* API key. `invoke.ts` therefore redacts before putting the message in
|
|
10
|
+
* `result.result`.
|
|
11
|
+
*
|
|
12
|
+
* Task #4625 added a second channel for the *same* error object: the raw
|
|
13
|
+
* `Error` is attached as `cause` so that `Retry-After` (the "when does the
|
|
14
|
+
* quota reset" header) survives the stringification boundaries, because a bare
|
|
15
|
+
* message string cannot carry headers.
|
|
16
|
+
*
|
|
17
|
+
* That created a hole. `error-reply.ts` walks `cause` while building the
|
|
18
|
+
* `technical` line, and that line is rendered into the user-facing failure
|
|
19
|
+
* reply (Feishu + CLI). So the raw, un-redacted upstream text — the very thing
|
|
20
|
+
* `invoke.ts` had just stripped out — came back in through the side door.
|
|
21
|
+
*
|
|
22
|
+
* Redaction therefore has to happen at **both** ends, which means it cannot stay
|
|
23
|
+
* private to `invoke.ts`. Kept dependency-free on purpose so both the LLM layer
|
|
24
|
+
* and the error-reporting layer can import it without a cycle.
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Redact credentials from free-form text before logging or showing it.
|
|
28
|
+
*
|
|
29
|
+
* Two passes:
|
|
30
|
+
* 1. exact known secrets (caller-supplied, e.g. the configured `apiKey`) — this
|
|
31
|
+
* is defense in depth for formats the patterns below do not know about;
|
|
32
|
+
* 2. well-known key shapes (`sk-…`, `oc_sk_…`, `Bearer …`).
|
|
33
|
+
*
|
|
34
|
+
* @param text free-form text that may embed a credential
|
|
35
|
+
* @param knownSecrets exact values to scrub; entries shorter than 8 chars are
|
|
36
|
+
* ignored so a trivial value cannot wreck the message
|
|
37
|
+
*/
|
|
38
|
+
export declare function redactSecrets(text: string, knownSecrets?: Array<string | undefined>): string;
|
|
39
|
+
export declare function redactErrorForTransport(error: unknown, knownSecrets?: Array<string | undefined>, depth?: number): unknown;
|
package/dist/env/llm/types.d.ts
CHANGED
|
@@ -65,6 +65,19 @@ export interface ToolResult {
|
|
|
65
65
|
result: string;
|
|
66
66
|
/** 是否为错误 */
|
|
67
67
|
isError?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Task #4625:保留原始错误对象(**已脱敏的结构副本**)。
|
|
70
|
+
*
|
|
71
|
+
* `result` 是字符串,装不下 `APICallError.responseHeaders` 之类结构化信息,
|
|
72
|
+
* 而 `Retry-After`(额度多久恢复)只存在那里。上层构造 `Error` 时把它挂到
|
|
73
|
+
* `cause` 上,`extractRetryAfterSeconds()` 才能一路挖到。
|
|
74
|
+
*
|
|
75
|
+
* ⚠️ **不要用 `instanceof Error` 判断它。** 为了脱敏,`invoke.ts` 交给这里的
|
|
76
|
+
* 是 `redactErrorForTransport()` 产出的**普通对象副本**(不是 Error 实例),
|
|
77
|
+
* 这样才能按值擦掉 apiKey。下游一律按结构化字段访问
|
|
78
|
+
* (`name` / `message` / `statusCode` / `responseHeaders` / `cause`)。
|
|
79
|
+
*/
|
|
80
|
+
originalError?: Error | Record<string, unknown>;
|
|
68
81
|
}
|
|
69
82
|
/**
|
|
70
83
|
* Usage Information
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
injectToEnv,
|
|
8
8
|
injectToEnvFromCarrier,
|
|
9
9
|
injectToEnvWithContext
|
|
10
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
10
|
+
} from "../../shared/@ai-setting/roy-agent-core-anb53t3v.js";
|
|
11
11
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
12
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
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-
|
|
12
|
+
import"../../shared/@ai-setting/roy-agent-core-gtdtzbs7.js";
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-7tce05jt.js";
|
|
14
|
+
import"../../shared/@ai-setting/roy-agent-core-v7mwj8eq.js";
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-33hn1beg.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-hfyxv2kx.js";
|
|
17
17
|
import {
|
|
18
18
|
Traced,
|
|
19
19
|
TracedAs,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolExecResultFilter,
|
|
33
33
|
toolInvokeParamFilter,
|
|
34
34
|
wrapFunction
|
|
35
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
35
|
+
} from "../../shared/@ai-setting/roy-agent-core-386wa4wy.js";
|
|
36
36
|
import {
|
|
37
37
|
OTelTracerProvider,
|
|
38
38
|
SpanKind,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
setQuietMode,
|
|
57
57
|
setStdoutStrictMode,
|
|
58
58
|
simplifyFilePath
|
|
59
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
59
|
+
} from "../../shared/@ai-setting/roy-agent-core-6awgfh3x.js";
|
|
60
60
|
import {
|
|
61
61
|
SQLiteSpanStorage
|
|
62
62
|
} from "../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createLogger,
|
|
3
|
+
getCategoryLogLevel,
|
|
4
|
+
getLogDir,
|
|
5
|
+
getLogDirOverride,
|
|
6
|
+
getLogFile,
|
|
7
|
+
getLogLevel,
|
|
8
|
+
getLogLevels,
|
|
9
|
+
getMaxOutput,
|
|
10
|
+
init_logger,
|
|
11
|
+
isQuietMode,
|
|
12
|
+
isStdoutStrictMode,
|
|
13
|
+
setConfigComponent,
|
|
14
|
+
setLogDirOverride,
|
|
15
|
+
setQuietMode,
|
|
16
|
+
setStdoutStrictMode,
|
|
17
|
+
simplifyFilePath
|
|
18
|
+
} from "../../shared/@ai-setting/roy-agent-core-6awgfh3x.js";
|
|
19
|
+
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
20
|
+
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
21
|
+
init_logger();
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
simplifyFilePath,
|
|
25
|
+
setStdoutStrictMode,
|
|
26
|
+
setQuietMode,
|
|
27
|
+
setLogDirOverride,
|
|
28
|
+
setConfigComponent,
|
|
29
|
+
isStdoutStrictMode,
|
|
30
|
+
isQuietMode,
|
|
31
|
+
getMaxOutput,
|
|
32
|
+
getLogLevels,
|
|
33
|
+
getLogLevel,
|
|
34
|
+
getLogFile,
|
|
35
|
+
getLogDirOverride,
|
|
36
|
+
getLogDir,
|
|
37
|
+
getCategoryLogLevel,
|
|
38
|
+
createLogger
|
|
39
|
+
};
|
package/dist/env/mcp/index.js
CHANGED
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
augmentNpmEnvForPackageRunner,
|
|
11
11
|
getMcpPathPriority,
|
|
12
12
|
resolvePackageRunnerCommand
|
|
13
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
13
|
+
} from "../../shared/@ai-setting/roy-agent-core-qmqe8ds3.js";
|
|
14
14
|
import {
|
|
15
15
|
adaptMcpTool,
|
|
16
16
|
convertInputSchemaToZod,
|
|
17
17
|
createMcpToolsDescription
|
|
18
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
18
|
+
} from "../../shared/@ai-setting/roy-agent-core-084zthqx.js";
|
|
19
19
|
import"../../shared/@ai-setting/roy-agent-core-ctdhjv68.js";
|
|
20
20
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
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-
|
|
25
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
26
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
27
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
21
|
+
import"../../shared/@ai-setting/roy-agent-core-gtdtzbs7.js";
|
|
22
|
+
import"../../shared/@ai-setting/roy-agent-core-7tce05jt.js";
|
|
23
|
+
import"../../shared/@ai-setting/roy-agent-core-v7mwj8eq.js";
|
|
24
|
+
import"../../shared/@ai-setting/roy-agent-core-33hn1beg.js";
|
|
25
|
+
import"../../shared/@ai-setting/roy-agent-core-hfyxv2kx.js";
|
|
26
|
+
import"../../shared/@ai-setting/roy-agent-core-386wa4wy.js";
|
|
27
|
+
import"../../shared/@ai-setting/roy-agent-core-6awgfh3x.js";
|
|
28
28
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
29
29
|
import {
|
|
30
30
|
ensureFallbackNpmPrefix,
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
adaptMcpTool,
|
|
3
3
|
convertInputSchemaToZod,
|
|
4
4
|
createMcpToolsDescription
|
|
5
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
6
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
} from "../../../shared/@ai-setting/roy-agent-core-084zthqx.js";
|
|
6
|
+
import"../../../shared/@ai-setting/roy-agent-core-6awgfh3x.js";
|
|
7
7
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
8
8
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
9
9
|
export {
|
package/dist/env/memory/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MemoryComponent,
|
|
4
4
|
SOURCE_PRIORITY,
|
|
5
5
|
getSourcePriority
|
|
6
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../shared/@ai-setting/roy-agent-core-79gyka2q.js";
|
|
7
7
|
import {
|
|
8
8
|
RecallMemorySchema,
|
|
9
9
|
RecordMemorySchema
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
generateProjectSummary,
|
|
24
24
|
parseMemoryAgentOutput,
|
|
25
25
|
recallMemory
|
|
26
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
26
|
+
} from "../../shared/@ai-setting/roy-agent-core-2hkyp51n.js";
|
|
27
27
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
28
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
29
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
30
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
31
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
32
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
33
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
34
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
28
|
+
import"../../shared/@ai-setting/roy-agent-core-gtdtzbs7.js";
|
|
29
|
+
import"../../shared/@ai-setting/roy-agent-core-7tce05jt.js";
|
|
30
|
+
import"../../shared/@ai-setting/roy-agent-core-v7mwj8eq.js";
|
|
31
|
+
import"../../shared/@ai-setting/roy-agent-core-33hn1beg.js";
|
|
32
|
+
import"../../shared/@ai-setting/roy-agent-core-hfyxv2kx.js";
|
|
33
|
+
import"../../shared/@ai-setting/roy-agent-core-386wa4wy.js";
|
|
34
|
+
import"../../shared/@ai-setting/roy-agent-core-6awgfh3x.js";
|
|
35
35
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
36
36
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
37
37
|
export {
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
generateProjectSummary,
|
|
14
14
|
parseMemoryAgentOutput,
|
|
15
15
|
recallMemory
|
|
16
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
17
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
16
|
+
} from "../../../shared/@ai-setting/roy-agent-core-2hkyp51n.js";
|
|
17
|
+
import"../../../shared/@ai-setting/roy-agent-core-6awgfh3x.js";
|
|
18
18
|
import"../../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
19
19
|
import"../../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
20
20
|
export {
|
package/dist/env/plugin/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventBusNotificationChannel,
|
|
3
3
|
PluginComponent
|
|
4
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
4
|
+
} from "../../shared/@ai-setting/roy-agent-core-c4t4y18j.js";
|
|
5
5
|
import {
|
|
6
6
|
normalizeLarkAtMentions
|
|
7
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
7
|
+
} from "../../shared/@ai-setting/roy-agent-core-m880qz3y.js";
|
|
8
8
|
import {
|
|
9
9
|
BasePlugin
|
|
10
10
|
} from "../../shared/@ai-setting/roy-agent-core-az13yzmc.js";
|
|
11
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
12
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
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-
|
|
11
|
+
import"../../shared/@ai-setting/roy-agent-core-gtdtzbs7.js";
|
|
12
|
+
import"../../shared/@ai-setting/roy-agent-core-7tce05jt.js";
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-v7mwj8eq.js";
|
|
14
|
+
import"../../shared/@ai-setting/roy-agent-core-33hn1beg.js";
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-hfyxv2kx.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-386wa4wy.js";
|
|
17
17
|
import {
|
|
18
18
|
createLogger,
|
|
19
19
|
init_logger
|
|
20
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
20
|
+
} from "../../shared/@ai-setting/roy-agent-core-6awgfh3x.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
|
// src/env/plugin/lark-cli-notification-channel.ts
|
package/dist/env/prompt/index.js
CHANGED
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
PromptConfigSchema,
|
|
4
4
|
PromptPathSchema,
|
|
5
5
|
PromptRenderer
|
|
6
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../shared/@ai-setting/roy-agent-core-c8xvy6hj.js";
|
|
7
7
|
import"../../shared/@ai-setting/roy-agent-core-6masakz4.js";
|
|
8
8
|
import"../../shared/@ai-setting/roy-agent-core-qxnbvgwe.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.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-
|
|
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-
|
|
10
|
+
import"../../shared/@ai-setting/roy-agent-core-gtdtzbs7.js";
|
|
11
|
+
import"../../shared/@ai-setting/roy-agent-core-7tce05jt.js";
|
|
12
|
+
import"../../shared/@ai-setting/roy-agent-core-v7mwj8eq.js";
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-33hn1beg.js";
|
|
14
|
+
import"../../shared/@ai-setting/roy-agent-core-hfyxv2kx.js";
|
|
15
|
+
import"../../shared/@ai-setting/roy-agent-core-386wa4wy.js";
|
|
16
|
+
import"../../shared/@ai-setting/roy-agent-core-6awgfh3x.js";
|
|
17
17
|
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
18
18
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
19
19
|
export {
|