@ai-setting/roy-agent-core 1.7.34 → 1.7.36
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 +9 -9
- package/dist/env/agent/index.js +15 -15
- package/dist/env/commands/index.js +9 -9
- package/dist/env/context/index.js +5 -5
- package/dist/env/debug/index.js +9 -9
- package/dist/env/event-source/index.js +14 -14
- package/dist/env/hook/index.js +7 -7
- package/dist/env/index.js +39 -39
- package/dist/env/llm/index.js +10 -10
- package/dist/env/log-trace/index.js +9 -9
- package/dist/env/mcp/index.js +10 -10
- package/dist/env/mcp/tool/index.js +3 -3
- package/dist/env/memory/index.js +10 -10
- package/dist/env/memory/plugin/index.js +3 -3
- package/dist/env/plugin/index.js +9 -9
- package/dist/env/prompt/index.js +9 -9
- package/dist/env/session/index.js +12 -12
- package/dist/env/session/storage/index.js +5 -5
- package/dist/env/skill/index.js +9 -9
- package/dist/env/task/delegate/index.js +9 -9
- package/dist/env/task/index.js +14 -14
- package/dist/env/task/plugins/index.js +9 -9
- package/dist/env/task/storage/index.js +4 -4
- package/dist/env/task/tools/index.js +5 -5
- package/dist/env/tool/built-in/index.js +5 -5
- package/dist/env/tool/index.js +12 -12
- package/dist/env/workflow/engine/index.js +11 -11
- package/dist/env/workflow/index.js +22 -22
- package/dist/env/workflow/nodes/index.js +4 -4
- package/dist/env/workflow/service/index.js +4 -4
- package/dist/env/workflow/storage/index.js +5 -5
- package/dist/env/workflow/tools/index.js +16 -16
- package/dist/env/workflow/utils/index.js +6 -6
- package/dist/index.js +50 -50
- package/dist/shared/@ai-setting/{roy-agent-core-mssk8f0g.js → roy-agent-core-0czz1ynz.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-0nz53t5v.js → roy-agent-core-1dacps3n.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-m2pxg5d8.js → roy-agent-core-1kcstbn3.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-znhmrzyy.js → roy-agent-core-2adayzfa.js} +14 -14
- package/dist/shared/@ai-setting/{roy-agent-core-bt7mg8j5.js → roy-agent-core-2aq5f4e1.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-rsej8ed5.js → roy-agent-core-3x6ej9vm.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-7gf5abzy.js → roy-agent-core-52yt7e1t.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-m725wp1x.js → roy-agent-core-62c1t7wr.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-tp0thedj.js → roy-agent-core-63nkhqa4.js} +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-4rg92cwq.js → roy-agent-core-6thjwx6v.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-g772q3gf.js → roy-agent-core-743510fc.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-6rebk607.js → roy-agent-core-821bsh3r.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-e6dahpp2.js → roy-agent-core-8seq65bp.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ncvqfx7m.js → roy-agent-core-8t7wny6v.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-z1hm09xp.js → roy-agent-core-8xv4qzx7.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-jbc1t62x.js → roy-agent-core-9drbkjfr.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-kbf31f21.js → roy-agent-core-anwh7050.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-tzsmkk5w.js → roy-agent-core-axh3vn8k.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-1y4hr9v9.js → roy-agent-core-bdhcwf4x.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-p5dnn2at.js → roy-agent-core-bny3nd8q.js} +11 -11
- package/dist/shared/@ai-setting/{roy-agent-core-1h6h6h37.js → roy-agent-core-d5gwqrr5.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-kp57kbzd.js → roy-agent-core-djdwq743.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-m09a4xwh.js → roy-agent-core-dz3m7dt4.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-h76sw3ar.js → roy-agent-core-dzfyjzgw.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-d12nwxfx.js → roy-agent-core-e3qjt852.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-6f7cjzem.js → roy-agent-core-gcnvcbft.js} +8 -8
- package/dist/shared/@ai-setting/{roy-agent-core-md5wg3ns.js → roy-agent-core-gzj1x5m7.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-dbs3325z.js → roy-agent-core-h1zamsb9.js} +7 -7
- package/dist/shared/@ai-setting/{roy-agent-core-ch3gg6r0.js → roy-agent-core-hs75rxp3.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-7x8v3wbn.js → roy-agent-core-j5c3chtn.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-kj93n7pb.js → roy-agent-core-j6h99erf.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-77cpyf03.js → roy-agent-core-j9ejsmsj.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-hfpbq1qy.js → roy-agent-core-jcdsghyr.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-4an1p9a1.js → roy-agent-core-jnszp0jq.js} +26 -14
- package/dist/shared/@ai-setting/{roy-agent-core-pz8jvvtn.js → roy-agent-core-jq7g5nxz.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-7p6rny5m.js → roy-agent-core-jxgprc5a.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-jdvgzf2y.js → roy-agent-core-k5csz66y.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-gjnhkemk.js → roy-agent-core-krmhhje6.js} +3 -3
- package/dist/shared/@ai-setting/{roy-agent-core-9sz7hnbf.js → roy-agent-core-kzg1jwt8.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-sf4bjgwz.js → roy-agent-core-n094tbjh.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-p06rm1xh.js → roy-agent-core-n3pwkwjh.js} +2 -2
- package/dist/shared/@ai-setting/roy-agent-core-q3zvkbj6.js +10 -0
- package/dist/shared/@ai-setting/{roy-agent-core-38rtrpk3.js → roy-agent-core-qhjm0bxm.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-1qt5x67p.js → roy-agent-core-qz9jb9sp.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-r5d3f3nb.js → roy-agent-core-t2vwy92b.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-sh7bz68r.js → roy-agent-core-tbrn9wdm.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ybg8sayk.js → roy-agent-core-tft0pa6h.js} +40 -34
- package/dist/shared/@ai-setting/{roy-agent-core-1df0grva.js → roy-agent-core-wgttzq8e.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-3qm3ps0w.js → roy-agent-core-wphva2vs.js} +4 -4
- package/dist/shared/@ai-setting/roy-agent-core-xgarc0t2.js +18 -0
- package/dist/shared/@ai-setting/{roy-agent-core-2ah7204k.js → roy-agent-core-yf0ex8y1.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-89zsa89z.js → roy-agent-core-yw07bvqz.js} +5 -5
- package/dist/shared/@ai-setting/{roy-agent-core-sxqhny9v.js → roy-agent-core-z7q1re07.js} +4 -4
- package/dist/shared/@ai-setting/{roy-agent-core-pqb1cx3t.js → roy-agent-core-zda3rfr3.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-htwb9yj6.js → roy-agent-core-zfcwa3w7.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-4r2e3b8a.js → roy-agent-core-zjttt2y4.js} +2 -2
- package/dist/shared/@ai-setting/{roy-agent-core-1sxybyqq.js → roy-agent-core-zma7p5p7.js} +2 -2
- package/dist/utils/temp-file-manager/index.js +3 -3
- package/package.json +1 -1
- package/dist/shared/@ai-setting/roy-agent-core-0hzymk2b.js +0 -18
- package/dist/shared/@ai-setting/roy-agent-core-gtymhfda.js +0 -10
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./roy-agent-core-rvv6ydff.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseComponent
|
|
7
|
-
} from "./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-62c1t7wr.js";
|
|
8
8
|
import {
|
|
9
9
|
__require
|
|
10
10
|
} from "./roy-agent-core-fs0mn2jk.js";
|
|
@@ -141,7 +141,7 @@ class SpanDbReader {
|
|
|
141
141
|
}
|
|
142
142
|
async initSqliteStorage() {
|
|
143
143
|
try {
|
|
144
|
-
const { SQLiteSpanStorage } = await import("./roy-agent-core-
|
|
144
|
+
const { SQLiteSpanStorage } = await import("./roy-agent-core-8xv4qzx7.js");
|
|
145
145
|
this.storage = new SQLiteSpanStorage(this.dbPath);
|
|
146
146
|
await this.storage.initialize();
|
|
147
147
|
} catch (error) {
|
|
@@ -590,7 +590,7 @@ class DebugComponent extends BaseComponent {
|
|
|
590
590
|
}
|
|
591
591
|
async getLiveTrace(traceId) {
|
|
592
592
|
try {
|
|
593
|
-
const { getTracerProvider } = await import("./roy-agent-core-
|
|
593
|
+
const { getTracerProvider } = await import("./roy-agent-core-zjttt2y4.js");
|
|
594
594
|
const provider = getTracerProvider();
|
|
595
595
|
if (!provider.isInitialized()) {
|
|
596
596
|
await provider.initialize();
|
|
@@ -635,7 +635,7 @@ class DebugComponent extends BaseComponent {
|
|
|
635
635
|
}
|
|
636
636
|
async listLiveTraces(limit = 20) {
|
|
637
637
|
try {
|
|
638
|
-
const { getTracerProvider } = await import("./roy-agent-core-
|
|
638
|
+
const { getTracerProvider } = await import("./roy-agent-core-zjttt2y4.js");
|
|
639
639
|
const provider = getTracerProvider();
|
|
640
640
|
if (!provider.isInitialized()) {
|
|
641
641
|
await provider.initialize();
|
|
@@ -653,7 +653,7 @@ class DebugComponent extends BaseComponent {
|
|
|
653
653
|
}
|
|
654
654
|
async formatLiveTrace(traceId) {
|
|
655
655
|
try {
|
|
656
|
-
const { getTracerProvider } = await import("./roy-agent-core-
|
|
656
|
+
const { getTracerProvider } = await import("./roy-agent-core-zjttt2y4.js");
|
|
657
657
|
const provider = getTracerProvider();
|
|
658
658
|
if (!provider.isInitialized()) {
|
|
659
659
|
await provider.initialize();
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TaskTagPlugin,
|
|
3
3
|
createLarkCliTaskNotifyHook,
|
|
4
4
|
createPerTaskGroupChatPlugin
|
|
5
|
-
} from "./roy-agent-core-
|
|
5
|
+
} from "./roy-agent-core-gcnvcbft.js";
|
|
6
6
|
import {
|
|
7
7
|
normalizeLarkAtMentions
|
|
8
8
|
} from "./roy-agent-core-rmn29nrh.js";
|
|
@@ -11,27 +11,27 @@ import {
|
|
|
11
11
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
12
12
|
import {
|
|
13
13
|
BaseComponent
|
|
14
|
-
} from "./roy-agent-core-
|
|
14
|
+
} from "./roy-agent-core-62c1t7wr.js";
|
|
15
15
|
import {
|
|
16
16
|
globalHookManager,
|
|
17
17
|
init_global_hook_manager
|
|
18
|
-
} from "./roy-agent-core-
|
|
18
|
+
} from "./roy-agent-core-743510fc.js";
|
|
19
19
|
import {
|
|
20
20
|
init_context
|
|
21
|
-
} from "./roy-agent-core-
|
|
21
|
+
} from "./roy-agent-core-1kcstbn3.js";
|
|
22
22
|
import {
|
|
23
23
|
createEnvContext,
|
|
24
24
|
runWithEnvContext
|
|
25
|
-
} from "./roy-agent-core-
|
|
25
|
+
} from "./roy-agent-core-jxgprc5a.js";
|
|
26
26
|
import {
|
|
27
27
|
TracedAs,
|
|
28
28
|
init_decorator
|
|
29
|
-
} from "./roy-agent-core-
|
|
29
|
+
} from "./roy-agent-core-qhjm0bxm.js";
|
|
30
30
|
import {
|
|
31
31
|
createLogger,
|
|
32
32
|
getTracerProvider,
|
|
33
33
|
init_logger
|
|
34
|
-
} from "./roy-agent-core-
|
|
34
|
+
} from "./roy-agent-core-8seq65bp.js";
|
|
35
35
|
import {
|
|
36
36
|
__legacyDecorateClassTS,
|
|
37
37
|
__require
|
|
@@ -864,43 +864,49 @@ function buildLarkRecommendedAction(opts) {
|
|
|
864
864
|
const profileFlag = profile ? `--profile ${profile} ` : "";
|
|
865
865
|
const profileWarn = profile ? `(⚠️ 必须用 profile="${profile}" 调 lark-cli;openId per-app 隔离,换 profile 会失败)` : "";
|
|
866
866
|
const isGroup = chatType === "group";
|
|
867
|
-
const scopeHint = isGroup ?
|
|
867
|
+
const scopeHint = isGroup ? `群聊消息;回复到 replyTo.chatId。如需 @发件人,用结构化 at 节点 {"tag":"at","user_id":"<senderId>"}(不要写 <at> 文本标签)` : "p2p 私聊消息;回复到 replyTo.chatId";
|
|
868
868
|
const scopeWord = isGroup ? "群聊" : "p2p 私聊";
|
|
869
869
|
const action = [
|
|
870
870
|
`处理飞书 ${scopeWord}消息并以机器人身份回复${profileWarn}。`,
|
|
871
871
|
`scope: ${scopeHint}。`,
|
|
872
872
|
``,
|
|
873
|
-
`## ⭐
|
|
874
|
-
`lark-cli
|
|
875
|
-
|
|
876
|
-
`一堆 raw 符号, 完全没法用。`,
|
|
877
|
-
`正确做法: 调 im +messages-{send,reply} 时必须显式加 --markdown <content>,`,
|
|
878
|
-
`飞书才会按 Markdown 渲染 rich format。`,
|
|
879
|
-
`**严禁**: 使用 --text flag (直接导致 rich format 失效, 是最常见的回归路径)`,
|
|
880
|
-
` 使用 --msg-type text (同理, --msg-type post 也可以但需对应结构,`,
|
|
881
|
-
` 最稳的仍然是 --markdown flag)`,
|
|
882
|
-
` 不加任何 content flag (会按 plain text 默认值处理)`,
|
|
873
|
+
`## ⭐ 关键 1: 飞书回复必须用结构化 post content(--msg-type post --content)`,
|
|
874
|
+
`lark-cli 默认把消息当 plain text;而 @mention 只有在**结构化 at 节点**里才会被`,
|
|
875
|
+
`飞书识别为真实 @。所以回复统一走 post 的 --content JSON:`,
|
|
883
876
|
``,
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
877
|
+
` {"zh_cn":{"content":[`,
|
|
878
|
+
` [ {"tag":"at","user_id":"ou_xxx"} ], // @某人:结构化节点(可多个/多段)`,
|
|
879
|
+
` [ {"tag":"md","text":"正文 Markdown(标题/表格/加粗都支持)"} ] // 正文:单个 md 节点`,
|
|
880
|
+
` ]}}`,
|
|
887
881
|
``,
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
`
|
|
882
|
+
`- @mention:用 {"tag":"at","user_id":"ou_xxx"}(user_id 填对方 open_id;@所有人填 "all")`,
|
|
883
|
+
`- 正文:全部放进 {"tag":"md","text":"..."} 这一个节点里`,
|
|
884
|
+
`- 不需要 @ 时,content 里只放 md 节点:{"zh_cn":{"content":[[{"tag":"md","text":"..."}]]}}`,
|
|
885
|
+
`**严禁**: 用 --text(plain text,Markdown 全部失效)`,
|
|
886
|
+
` 用 --markdown(无法携带结构化 at 节点,@ 会退化成普通文本)`,
|
|
887
|
+
` 在正文里写 <at user_id="ou_xxx"/> 或 <at user_id="ou_xxx"></at> 文本标签`,
|
|
888
|
+
` (飞书不识别文本标签,只认结构化 at 节点;写文本标签会显示成原始字符)`,
|
|
889
|
+
``,
|
|
890
|
+
`## 关键 2: 安全构造 content(照抄,避免 JSON 转义地狱)`,
|
|
891
|
+
`把 Markdown 正文写进临时文件,再用 jq 组装(jq 会自动把换行转义为反斜杠+n):`,
|
|
892
|
+
``,
|
|
893
|
+
` body_file="$(mktemp /tmp/lark-reply.XXXXXX.md)"`,
|
|
894
|
+
` trap 'rm -f "$body_file"' EXIT`,
|
|
895
|
+
` cat > "$body_file" <<'LARK_REPLY_EOF'`,
|
|
896
|
+
` ...(回复的 Markdown 正文,可多行 / 含表格 / 含特殊字符;不要写 <at> 标签)`,
|
|
893
897
|
` LARK_REPLY_EOF`,
|
|
894
|
-
`
|
|
898
|
+
` content="$(jq -nc --rawfile md "$body_file" --arg uid "<senderId>" '{zh_cn:{content:[[{tag:"at",user_id:$uid}],[{tag:"md",text:$md}]]}}')"`,
|
|
899
|
+
` lark-cli ${profileFlag}im +messages-reply --message-id <取自 replyTo.messageId> --as bot --msg-type post --content "$content"`,
|
|
900
|
+
``,
|
|
901
|
+
`不需要 @ 某人时,把 jq 表达式换成 '{zh_cn:{content:[[{tag:"md",text:$md}]]}}'。`,
|
|
895
902
|
``,
|
|
896
|
-
`##
|
|
897
|
-
`-
|
|
898
|
-
`- 禁止
|
|
903
|
+
`## 禁止`,
|
|
904
|
+
`- 禁止 --text / --msg-type text(plain text,Markdown 全部失效)`,
|
|
905
|
+
`- 禁止 --markdown(无法携带结构化 at 节点)`,
|
|
906
|
+
`- 禁止在正文里写 <at user_id=".."/> 或 <at user_id=".."></at> 文本标签`,
|
|
907
|
+
`- 禁止把多行 Markdown 直接拼进 --content 参数(必须走上面的 jq --rawfile)`,
|
|
899
908
|
`- 禁止字面反斜杠+n(即 \\n 两个字符,不是 0x0A 控制字符)`,
|
|
900
|
-
`- 禁止
|
|
901
|
-
`- 禁止 at-file 形式传 Markdown(--markdown 后接 @ 符号加文件名的写法)`,
|
|
902
|
-
`- 禁止 --text flag(让 lark-cli 把消息当 plain text, rich format 全部失效 — 见顶部说明)`,
|
|
903
|
-
`- 禁止 --msg-type text(同理, --msg-type post 可选但需对应结构, 仍不如 --markdown flag 稳)`,
|
|
909
|
+
`- 禁止 bash ANSI-C 引号语法(dollar 符号紧跟单引号)`,
|
|
904
910
|
``,
|
|
905
911
|
`## 必须使用 replyTo 里给定的值`,
|
|
906
912
|
`profile / chatId / messageId / --as bot 必须原样取自 recommendedAction.replyTo;不要凭印象自己拼接。`
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
hasDecoratorNodes,
|
|
4
4
|
init_node_registry_helper,
|
|
5
5
|
registerDecoratorNodeType
|
|
6
|
-
} from "./roy-agent-core-
|
|
6
|
+
} from "./roy-agent-core-qz9jb9sp.js";
|
|
7
7
|
import"./roy-agent-core-1ce3fqrk.js";
|
|
8
8
|
import"./roy-agent-core-ddwa0n6h.js";
|
|
9
|
-
import"./roy-agent-core-
|
|
10
|
-
import"./roy-agent-core-
|
|
11
|
-
import"./roy-agent-core-
|
|
9
|
+
import"./roy-agent-core-qhjm0bxm.js";
|
|
10
|
+
import"./roy-agent-core-8seq65bp.js";
|
|
11
|
+
import"./roy-agent-core-jnszp0jq.js";
|
|
12
12
|
import"./roy-agent-core-fs0mn2jk.js";
|
|
13
13
|
init_node_registry_helper();
|
|
14
14
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AgentComponentAdapter,
|
|
3
|
+
init_agent_component_adapter
|
|
4
|
+
} from "./roy-agent-core-hs75rxp3.js";
|
|
5
|
+
import"./roy-agent-core-1db4vpc6.js";
|
|
6
|
+
import"./roy-agent-core-e25xkv53.js";
|
|
7
|
+
import"./roy-agent-core-743510fc.js";
|
|
8
|
+
import"./roy-agent-core-1kcstbn3.js";
|
|
9
|
+
import"./roy-agent-core-jxgprc5a.js";
|
|
10
|
+
import"./roy-agent-core-qhjm0bxm.js";
|
|
11
|
+
import"./roy-agent-core-8seq65bp.js";
|
|
12
|
+
import"./roy-agent-core-jnszp0jq.js";
|
|
13
|
+
import"./roy-agent-core-fs0mn2jk.js";
|
|
14
|
+
init_agent_component_adapter();
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
AgentComponentAdapter
|
|
18
|
+
};
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
initDatabase,
|
|
6
6
|
initializeTables,
|
|
7
7
|
resetDatabase
|
|
8
|
-
} from "./roy-agent-core-
|
|
9
|
-
import"./roy-agent-core-
|
|
8
|
+
} from "./roy-agent-core-zda3rfr3.js";
|
|
9
|
+
import"./roy-agent-core-d5gwqrr5.js";
|
|
10
10
|
import"./roy-agent-core-rvxg1wps.js";
|
|
11
|
-
import"./roy-agent-core-
|
|
12
|
-
import"./roy-agent-core-
|
|
13
|
-
import"./roy-agent-core-
|
|
11
|
+
import"./roy-agent-core-qhjm0bxm.js";
|
|
12
|
+
import"./roy-agent-core-8seq65bp.js";
|
|
13
|
+
import"./roy-agent-core-jnszp0jq.js";
|
|
14
14
|
import"./roy-agent-core-fs0mn2jk.js";
|
|
15
15
|
export {
|
|
16
16
|
resetDatabase,
|
|
@@ -10,18 +10,18 @@ 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-62c1t7wr.js";
|
|
14
14
|
import {
|
|
15
15
|
createHook
|
|
16
|
-
} from "./roy-agent-core-
|
|
16
|
+
} from "./roy-agent-core-n094tbjh.js";
|
|
17
17
|
import {
|
|
18
18
|
globalHookManager,
|
|
19
19
|
init_global_hook_manager
|
|
20
|
-
} from "./roy-agent-core-
|
|
20
|
+
} from "./roy-agent-core-743510fc.js";
|
|
21
21
|
import {
|
|
22
22
|
createLogger,
|
|
23
23
|
init_logger
|
|
24
|
-
} from "./roy-agent-core-
|
|
24
|
+
} from "./roy-agent-core-8seq65bp.js";
|
|
25
25
|
|
|
26
26
|
// src/env/prompt/types.ts
|
|
27
27
|
import { z } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TagRepository
|
|
3
|
-
} from "./roy-agent-core-
|
|
3
|
+
} from "./roy-agent-core-d5gwqrr5.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_search_query_parser,
|
|
6
6
|
init_search_query_parser
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
createLogger,
|
|
10
10
|
init_logger
|
|
11
|
-
} from "./roy-agent-core-
|
|
11
|
+
} from "./roy-agent-core-8seq65bp.js";
|
|
12
12
|
import {
|
|
13
13
|
__require,
|
|
14
14
|
__toCommonJS
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_env_context,
|
|
3
3
|
setCurrentTaskId
|
|
4
|
-
} from "./roy-agent-core-
|
|
4
|
+
} from "./roy-agent-core-jxgprc5a.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogger,
|
|
7
7
|
init_logger
|
|
8
|
-
} from "./roy-agent-core-
|
|
8
|
+
} from "./roy-agent-core-8seq65bp.js";
|
|
9
9
|
|
|
10
10
|
// src/env/task/tools/task-types.ts
|
|
11
11
|
import { z } from "zod";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
init_tracer_provider,
|
|
5
5
|
resetTracerProvider,
|
|
6
6
|
setTracerProvider
|
|
7
|
-
} from "./roy-agent-core-
|
|
8
|
-
import"./roy-agent-core-
|
|
7
|
+
} from "./roy-agent-core-8seq65bp.js";
|
|
8
|
+
import"./roy-agent-core-jnszp0jq.js";
|
|
9
9
|
import"./roy-agent-core-fs0mn2jk.js";
|
|
10
10
|
init_tracer_provider();
|
|
11
11
|
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./roy-agent-core-7hh0brvs.js";
|
|
7
7
|
import {
|
|
8
8
|
BaseComponent
|
|
9
|
-
} from "./roy-agent-core-
|
|
9
|
+
} from "./roy-agent-core-62c1t7wr.js";
|
|
10
10
|
import {
|
|
11
11
|
createLogger,
|
|
12
12
|
init_logger
|
|
13
|
-
} from "./roy-agent-core-
|
|
13
|
+
} from "./roy-agent-core-8seq65bp.js";
|
|
14
14
|
|
|
15
15
|
// src/env/skill/skill-component.ts
|
|
16
16
|
init_logger();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TempFileManager
|
|
3
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
4
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
5
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
3
|
+
} from "../../shared/@ai-setting/roy-agent-core-kzg1jwt8.js";
|
|
4
|
+
import"../../shared/@ai-setting/roy-agent-core-8seq65bp.js";
|
|
5
|
+
import"../../shared/@ai-setting/roy-agent-core-jnszp0jq.js";
|
|
6
6
|
import"../../shared/@ai-setting/roy-agent-core-fs0mn2jk.js";
|
|
7
7
|
export {
|
|
8
8
|
TempFileManager
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AgentComponentAdapter,
|
|
3
|
-
init_agent_component_adapter
|
|
4
|
-
} from "./roy-agent-core-ch3gg6r0.js";
|
|
5
|
-
import"./roy-agent-core-1db4vpc6.js";
|
|
6
|
-
import"./roy-agent-core-e25xkv53.js";
|
|
7
|
-
import"./roy-agent-core-g772q3gf.js";
|
|
8
|
-
import"./roy-agent-core-m2pxg5d8.js";
|
|
9
|
-
import"./roy-agent-core-7p6rny5m.js";
|
|
10
|
-
import"./roy-agent-core-38rtrpk3.js";
|
|
11
|
-
import"./roy-agent-core-e6dahpp2.js";
|
|
12
|
-
import"./roy-agent-core-4an1p9a1.js";
|
|
13
|
-
import"./roy-agent-core-fs0mn2jk.js";
|
|
14
|
-
init_agent_component_adapter();
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
AgentComponentAdapter
|
|
18
|
-
};
|