lark-kiro-bridge 0.4.0 → 0.5.0
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.en.md +5 -1
- package/README.md +5 -1
- package/dist/cli.js +907 -44
- package/dist/index.d.ts +28 -0
- package/dist/index.js +869 -6
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
- 🔘 **Clickable buttons** — `/model` `/help` `/status` `/ws list` `/config` are all interactive cards, zero command memorization
|
|
60
60
|
- 📝 **`/config` in-Feishu form** — Edit access control & preferences inside Feishu, takes effect instantly, anti-lockout validation
|
|
61
61
|
- 🚄 **Rapid-fire message merging** — Multiple short messages within 200ms merge into a single Kiro call, no more abort-and-retry
|
|
62
|
+
- 🧠 **`/steering` to manage Kiro instruction files in Feishu** — list/view/edit/new/rm, global or project scope, edit via in-Feishu form, persists permanently
|
|
62
63
|
- 🎤 **Voice input** — Send a voice message in Feishu → auto-transcribed (Feishu ASR) → fed to Kiro. Requires `ffmpeg` and ASR scope.
|
|
63
64
|
- 🛡️ **Process group kill** — `detached: true` + `process.kill(-pid)` reaches kiro-cli's grandchildren
|
|
64
65
|
- ⏱ **Idle watchdog** — Stuck process auto-killed; tunable globally and per-chat
|
|
@@ -142,6 +143,7 @@ Platform mapping:
|
|
|
142
143
|
| `/ws list` | — | List named workspaces with switch buttons |
|
|
143
144
|
| `/timeout [N\|off]` | `/to` | Idle watchdog threshold (minutes) |
|
|
144
145
|
| `/ps` | — | List all bridge processes on this host |
|
|
146
|
+
| `/steering` | `/memory` `/mem` | List Kiro steering files for current project (card + buttons) |
|
|
145
147
|
| `/doctor [desc]` | — | Let Kiro inspect logs and diagnose |
|
|
146
148
|
|
|
147
149
|
### Admin commands
|
|
@@ -153,6 +155,7 @@ Platform mapping:
|
|
|
153
155
|
| `/ws save <name>` | Save current cwd as a named workspace |
|
|
154
156
|
| `/ws use <name>` | Switch to a named workspace |
|
|
155
157
|
| `/ws remove <name>` | Delete a named workspace |
|
|
158
|
+
| `/steering edit/new/rm <name>` | Edit / create / delete a steering file |
|
|
156
159
|
| `/exit <id\|#>` | Stop a bridge process (self / others) |
|
|
157
160
|
| `/reconnect` | Force reconnect Feishu WebSocket |
|
|
158
161
|
|
|
@@ -298,7 +301,8 @@ Conventions: TypeScript strict / Biome lint / vitest tests / conventional commit
|
|
|
298
301
|
- **v0.2** ✅ Current (structured cards + button callbacks + Slack-style tool panels + QR app binding + voice input via ASR)
|
|
299
302
|
- **v0.3** ✅ In-Feishu `/config` form + three-tier access control (DM bypass) + rapid-fire message merging
|
|
300
303
|
- **v0.4** ✅ Linux systemd / Windows Task Scheduler daemon + `/ps` `/exit` in-Feishu process management
|
|
301
|
-
- **v0.5**
|
|
304
|
+
- **v0.5** ✅ `/steering` to manage Kiro instruction files in Feishu (list/view/edit/new/rm, global/project scope)
|
|
305
|
+
- **v0.6** `/cron` scheduled tasks — natural-language or cron-expression schedules, e.g. "every day 6am summarize trending"
|
|
302
306
|
- **v1.0** Centralized server deployment / multi-user isolation / web admin panel
|
|
303
307
|
|
|
304
308
|
## 📄 License
|
package/README.md
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
- 🔘 **按钮可点** — `/model` `/help` `/status` `/ws list` `/config` 全部可点击操作,0 命令记忆
|
|
60
60
|
- 📝 **`/config` 飞书内表单** — 在飞书里改访问控制和偏好,即时生效,防自锁校验
|
|
61
61
|
- 🚄 **rapid-fire 消息合并** — 200ms 内连发的多条短消息自动合并为一次 Kiro 调用,不再被前一条 abort
|
|
62
|
+
- 🧠 **`/steering` 飞书内管理 Kiro 指令文件** — list/view/edit/new/rm,全局或项目 scope,飞书表单直接改,永久生效
|
|
62
63
|
- 🎤 **语音输入** — 飞书发语音消息 → 自动转写(飞书 ASR)→ 喂给 Kiro,需 `ffmpeg` 和 ASR 权限
|
|
63
64
|
- 🛡️ **进程组 kill** — `detached: true` + `process.kill(-pid)` 杀掉 kiro-cli 全部子孙
|
|
64
65
|
- ⏱ **Idle Watchdog** — 卡住自动 killTree,可全局 / per-chat 配置
|
|
@@ -142,6 +143,7 @@ lark-kiro-bridge restart # 重启
|
|
|
142
143
|
| `/ws list` | — | 列出命名工作区,按钮一键切 |
|
|
143
144
|
| `/timeout [N\|off]` | `/to` | idle watchdog 阈值(分钟) |
|
|
144
145
|
| `/ps` | — | 列出本机所有 bridge 进程 |
|
|
146
|
+
| `/steering` | `/memory` `/mem` | 列出当前项目的 Kiro 指令文件(卡片+按钮) |
|
|
145
147
|
| `/doctor [描述]` | — | 让 Kiro 看日志自诊断 |
|
|
146
148
|
|
|
147
149
|
### 管理员命令
|
|
@@ -153,6 +155,7 @@ lark-kiro-bridge restart # 重启
|
|
|
153
155
|
| `/ws save <name>` | 把当前 cwd 存为命名工作区 |
|
|
154
156
|
| `/ws use <name>` | 切到命名工作区 |
|
|
155
157
|
| `/ws remove <name>` | 删除命名工作区 |
|
|
158
|
+
| `/steering edit/new/rm <name>` | 编辑 / 新建 / 删除 steering 文件 |
|
|
156
159
|
| `/exit <id\|#>` | 停止指定 bridge 进程(自己 / 他人) |
|
|
157
160
|
| `/reconnect` | 强制重连飞书 WebSocket |
|
|
158
161
|
|
|
@@ -296,7 +299,8 @@ node bin/lark-kiro-bridge.mjs run # 本地跑(先 stop daemon)
|
|
|
296
299
|
- **v0.2** ✅ 当前版(结构化卡片 + 按钮回调 + Slack-style 工具面板 + 扫码绑定 + 语音输入 ASR)
|
|
297
300
|
- **v0.3** ✅ `/config` 飞书内表单 + 三层访问控制(DM 豁免群白名单)+ rapid-fire 消息合并
|
|
298
301
|
- **v0.4** ✅ Linux systemd / Windows Task Scheduler 守护 + `/ps` `/exit` 飞书内进程管理
|
|
299
|
-
- **v0.5**
|
|
302
|
+
- **v0.5** ✅ `/steering` 飞书内管理 Kiro 指令文件(list/view/edit/new/rm,global/project scope)
|
|
303
|
+
- **v0.6** `/cron` 定时任务 — 自然语言或 cron 表达式设定,"每天 6 点总结 trending"
|
|
300
304
|
- **v1.0** 服务器集中部署 / 多用户隔离 / Web 管理面板
|
|
301
305
|
|
|
302
306
|
## 📄 License
|