@modelzen/feishu-codex-bridge 0.6.2 → 0.6.4
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/README.md +72 -263
- package/dist/cli.js +644 -70
- package/dist/index.d.ts +8 -0
- package/dist/index.js +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,14 @@ declare const paths: {
|
|
|
26
26
|
readonly projectsFile: string;
|
|
27
27
|
/** 在跑的 start 进程注册中心(同 App 冲突检测;当前 bot) */
|
|
28
28
|
readonly processesFile: string;
|
|
29
|
+
/** 云文档评论 @bot 的可编辑提示词 master 文件(当前 bot)。用户直接编辑这一份,
|
|
30
|
+
* 桥在每条评论运行前把它同步进该文档的评论工作目录(AGENTS.md / CLAUDE.md)。
|
|
31
|
+
* 首次缺失时由 bot/comments.ts 用内置默认模板自动落地。 */
|
|
32
|
+
readonly commentInstructionsFile: string;
|
|
33
|
+
/** 评论工作目录根(**当前 bot**):每个被评论文档一个 `comment-<type>-<token>` 子目录,
|
|
34
|
+
* 放同步进去的 AGENTS.md / CLAUDE.md。放 per-bot 目录下,与其它 bot 隔离——否则
|
|
35
|
+
* 编辑提示词时的「全量同步」会越界改到别的 bot 的评论目录。 */
|
|
36
|
+
readonly commentsRootDir: string;
|
|
29
37
|
/**
|
|
30
38
|
* Local CLI hook IPC endpoint for the current bot. macOS/Linux use a Unix
|
|
31
39
|
* domain socket file; Windows has none, so Node maps a `\\.\pipe\…` path to a
|
package/dist/index.js
CHANGED
|
@@ -34,6 +34,18 @@ var paths = {
|
|
|
34
34
|
get processesFile() {
|
|
35
35
|
return join(currentBotDir, "processes.json");
|
|
36
36
|
},
|
|
37
|
+
/** 云文档评论 @bot 的可编辑提示词 master 文件(当前 bot)。用户直接编辑这一份,
|
|
38
|
+
* 桥在每条评论运行前把它同步进该文档的评论工作目录(AGENTS.md / CLAUDE.md)。
|
|
39
|
+
* 首次缺失时由 bot/comments.ts 用内置默认模板自动落地。 */
|
|
40
|
+
get commentInstructionsFile() {
|
|
41
|
+
return join(currentBotDir, "comment-instructions.md");
|
|
42
|
+
},
|
|
43
|
+
/** 评论工作目录根(**当前 bot**):每个被评论文档一个 `comment-<type>-<token>` 子目录,
|
|
44
|
+
* 放同步进去的 AGENTS.md / CLAUDE.md。放 per-bot 目录下,与其它 bot 隔离——否则
|
|
45
|
+
* 编辑提示词时的「全量同步」会越界改到别的 bot 的评论目录。 */
|
|
46
|
+
get commentsRootDir() {
|
|
47
|
+
return join(currentBotDir, "comments");
|
|
48
|
+
},
|
|
37
49
|
/**
|
|
38
50
|
* Local CLI hook IPC endpoint for the current bot. macOS/Linux use a Unix
|
|
39
51
|
* domain socket file; Windows has none, so Node maps a `\\.\pipe\…` path to a
|