lark-kiro-bridge 0.4.0 → 0.6.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 +9 -1
- package/README.md +9 -1
- package/dist/cli.js +5833 -3744
- package/dist/index.d.ts +181 -0
- package/dist/index.js +3734 -1650
- package/package.json +2 -1
package/README.en.md
CHANGED
|
@@ -59,6 +59,8 @@
|
|
|
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
|
+
- ⏰ **`/cron` scheduled tasks** — Accepts standard cron, shorthand (`@daily`), and Chinese keywords; falls back to Kiro translation with two-step confirmation. "Every day 9am summarize yesterday's commits" — done.
|
|
63
|
+
- 🧠 **`/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
64
|
- 🎤 **Voice input** — Send a voice message in Feishu → auto-transcribed (Feishu ASR) → fed to Kiro. Requires `ffmpeg` and ASR scope.
|
|
63
65
|
- 🛡️ **Process group kill** — `detached: true` + `process.kill(-pid)` reaches kiro-cli's grandchildren
|
|
64
66
|
- ⏱ **Idle watchdog** — Stuck process auto-killed; tunable globally and per-chat
|
|
@@ -142,6 +144,8 @@ Platform mapping:
|
|
|
142
144
|
| `/ws list` | — | List named workspaces with switch buttons |
|
|
143
145
|
| `/timeout [N\|off]` | `/to` | Idle watchdog threshold (minutes) |
|
|
144
146
|
| `/ps` | — | List all bridge processes on this host |
|
|
147
|
+
| `/steering` | `/memory` `/mem` | List Kiro steering files for current project (card + buttons) |
|
|
148
|
+
| `/cron` | `/schedule` | List scheduled tasks for current chat (card + buttons) |
|
|
145
149
|
| `/doctor [desc]` | — | Let Kiro inspect logs and diagnose |
|
|
146
150
|
|
|
147
151
|
### Admin commands
|
|
@@ -153,6 +157,9 @@ Platform mapping:
|
|
|
153
157
|
| `/ws save <name>` | Save current cwd as a named workspace |
|
|
154
158
|
| `/ws use <name>` | Switch to a named workspace |
|
|
155
159
|
| `/ws remove <name>` | Delete a named workspace |
|
|
160
|
+
| `/steering edit/new/rm <name>` | Edit / create / delete a steering file |
|
|
161
|
+
| `/cron add <expr> <prompt>` | Add a scheduled task; expr accepts cron / `@daily` / Chinese keywords |
|
|
162
|
+
| `/cron rm/pause/resume/run <id>` | Delete/pause/resume/manually run a task |
|
|
156
163
|
| `/exit <id\|#>` | Stop a bridge process (self / others) |
|
|
157
164
|
| `/reconnect` | Force reconnect Feishu WebSocket |
|
|
158
165
|
|
|
@@ -298,7 +305,8 @@ Conventions: TypeScript strict / Biome lint / vitest tests / conventional commit
|
|
|
298
305
|
- **v0.2** ✅ Current (structured cards + button callbacks + Slack-style tool panels + QR app binding + voice input via ASR)
|
|
299
306
|
- **v0.3** ✅ In-Feishu `/config` form + three-tier access control (DM bypass) + rapid-fire message merging
|
|
300
307
|
- **v0.4** ✅ Linux systemd / Windows Task Scheduler daemon + `/ps` `/exit` in-Feishu process management
|
|
301
|
-
- **v0.5**
|
|
308
|
+
- **v0.5** ✅ `/steering` to manage Kiro instruction files in Feishu (list/view/edit/new/rm, global/project scope)
|
|
309
|
+
- **v0.6** ✅ `/cron` scheduled tasks (cron / shorthand / Chinese keywords; LLM fallback with two-step confirmation)
|
|
302
310
|
- **v1.0** Centralized server deployment / multi-user isolation / web admin panel
|
|
303
311
|
|
|
304
312
|
## 📄 License
|
package/README.md
CHANGED
|
@@ -59,6 +59,8 @@
|
|
|
59
59
|
- 🔘 **按钮可点** — `/model` `/help` `/status` `/ws list` `/config` 全部可点击操作,0 命令记忆
|
|
60
60
|
- 📝 **`/config` 飞书内表单** — 在飞书里改访问控制和偏好,即时生效,防自锁校验
|
|
61
61
|
- 🚄 **rapid-fire 消息合并** — 200ms 内连发的多条短消息自动合并为一次 Kiro 调用,不再被前一条 abort
|
|
62
|
+
- ⏰ **`/cron` 定时任务** — 标准 cron / shorthand / 中文关键词都接受;不识别时让 Kiro 自己翻译,二次确认后创建。"每天 9 点总结昨天的 commits" 一句话搞定
|
|
63
|
+
- 🧠 **`/steering` 飞书内管理 Kiro 指令文件** — list/view/edit/new/rm,全局或项目 scope,飞书表单直接改,永久生效
|
|
62
64
|
- 🎤 **语音输入** — 飞书发语音消息 → 自动转写(飞书 ASR)→ 喂给 Kiro,需 `ffmpeg` 和 ASR 权限
|
|
63
65
|
- 🛡️ **进程组 kill** — `detached: true` + `process.kill(-pid)` 杀掉 kiro-cli 全部子孙
|
|
64
66
|
- ⏱ **Idle Watchdog** — 卡住自动 killTree,可全局 / per-chat 配置
|
|
@@ -142,6 +144,8 @@ lark-kiro-bridge restart # 重启
|
|
|
142
144
|
| `/ws list` | — | 列出命名工作区,按钮一键切 |
|
|
143
145
|
| `/timeout [N\|off]` | `/to` | idle watchdog 阈值(分钟) |
|
|
144
146
|
| `/ps` | — | 列出本机所有 bridge 进程 |
|
|
147
|
+
| `/steering` | `/memory` `/mem` | 列出当前项目的 Kiro 指令文件(卡片+按钮) |
|
|
148
|
+
| `/cron` | `/schedule` | 列出当前 chat 的定时任务(卡片+按钮) |
|
|
145
149
|
| `/doctor [描述]` | — | 让 Kiro 看日志自诊断 |
|
|
146
150
|
|
|
147
151
|
### 管理员命令
|
|
@@ -153,6 +157,9 @@ lark-kiro-bridge restart # 重启
|
|
|
153
157
|
| `/ws save <name>` | 把当前 cwd 存为命名工作区 |
|
|
154
158
|
| `/ws use <name>` | 切到命名工作区 |
|
|
155
159
|
| `/ws remove <name>` | 删除命名工作区 |
|
|
160
|
+
| `/steering edit/new/rm <name>` | 编辑 / 新建 / 删除 steering 文件 |
|
|
161
|
+
| `/cron add <expr> <prompt>` | 添加定时任务;expr 接受 cron / `@daily` / `每天9点` 等 |
|
|
162
|
+
| `/cron rm/pause/resume/run <id>` | 删除/暂停/恢复/手动跑指定任务 |
|
|
156
163
|
| `/exit <id\|#>` | 停止指定 bridge 进程(自己 / 他人) |
|
|
157
164
|
| `/reconnect` | 强制重连飞书 WebSocket |
|
|
158
165
|
|
|
@@ -296,7 +303,8 @@ node bin/lark-kiro-bridge.mjs run # 本地跑(先 stop daemon)
|
|
|
296
303
|
- **v0.2** ✅ 当前版(结构化卡片 + 按钮回调 + Slack-style 工具面板 + 扫码绑定 + 语音输入 ASR)
|
|
297
304
|
- **v0.3** ✅ `/config` 飞书内表单 + 三层访问控制(DM 豁免群白名单)+ rapid-fire 消息合并
|
|
298
305
|
- **v0.4** ✅ Linux systemd / Windows Task Scheduler 守护 + `/ps` `/exit` 飞书内进程管理
|
|
299
|
-
- **v0.5**
|
|
306
|
+
- **v0.5** ✅ `/steering` 飞书内管理 Kiro 指令文件(list/view/edit/new/rm,global/project scope)
|
|
307
|
+
- **v0.6** ✅ `/cron` 定时任务(cron / shorthand / 中文关键词;不识别让 Kiro 翻译并二次确认)
|
|
300
308
|
- **v1.0** 服务器集中部署 / 多用户隔离 / Web 管理面板
|
|
301
309
|
|
|
302
310
|
## 📄 License
|