@d86e/hive-panel 0.3.7 → 0.3.8

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 CHANGED
@@ -80,10 +80,11 @@ npx @d86e/hive-panel --repo ~/Codes/project --write
80
80
  ```
81
81
 
82
82
  Adds a freeze toggle, `New task` (add), `Give the Queen a goal` (plan),
83
- `Commit`, and per-card actions (claim / done / fail / retry), backed by
83
+ `Commit`, and per-card actions (claim / done / fail / retry / delete), backed by
84
84
  `/api/actions/*` for every CLI verb the panel knows. Each action is a fixed argv
85
85
  builder — nothing else is callable. The page still only reads: it posts, then
86
- polls.
86
+ polls. Deleting is a red button in the card drawer behind a second confirmation;
87
+ a claimed card keeps the button disabled (release or reopen it first).
87
88
 
88
89
  ## API
89
90
 
package/README.zh-CN.md CHANGED
@@ -67,7 +67,7 @@ DSH Web 界面自带 **Hive / 蜂群** 标签页,由另一个插件 `dsh-hive-
67
67
  npx @d86e/hive-panel --repo ~/Codes/project --write
68
68
  ```
69
69
 
70
- 多出冻结开关、新建任务(add)、给女王下目标(plan)、提交(commit),以及卡片动作(认领/完成/失败/重试);每个动作对应 `/api/actions/*` 里一个固定入口,参数由固定构造函数拼装,别的一概不可调用。页面本身仍然只读——它发 POST,然后靠轮询刷新。
70
+ 多出冻结开关、新建任务(add)、给女王下目标(plan)、提交(commit),以及卡片动作(认领/完成/失败/重试/删除);每个动作对应 `/api/actions/*` 里一个固定入口,参数由固定构造函数拼装,别的一概不可调用。页面本身仍然只读——它发 POST,然后靠轮询刷新。删除是抽屉里的红色按钮,带二次确认;已认领的卡按钮保持禁用(先释放或重开)。
71
71
 
72
72
  ## API
73
73
 
package/SPEC.md CHANGED
@@ -74,6 +74,7 @@ one shell-out with a fixed argv builder — the panel never imports the core.
74
74
  | `done` | HIVE_TASKS_BIN | `done <id> [--sha S] [--verdict pass\|fail]` |
75
75
  | `fail` | HIVE_TASKS_BIN | `fail <id> --reason R` |
76
76
  | `retry` | HIVE_TASKS_BIN | `retry <id>` |
77
+ | `remove` | HIVE_TASKS_BIN | `rm <id>` |
77
78
  | `block` | HIVE_TASKS_BIN | `block <id> --reason R` |
78
79
  | `renew` | HIVE_TASKS_BIN | `renew <id> --ttl 5m [--agent A]` |
79
80
  | `mode` | HIVE_BIN | `mode free\|freeze --reason R` |
@@ -99,7 +100,7 @@ POST /api/retry { "id": "<card>" } -> retry
99
100
  | Variable | Default | Used for |
100
101
  | --- | --- | --- |
101
102
  | HIVE_BIN | hive | board, init, mode, learn, recall, verdict |
102
- | HIVE_TASKS_BIN | hive-tasks | list, stats, add, claim, done, fail, retry, block, renew |
103
+ | HIVE_TASKS_BIN | hive-tasks | list, stats, add, claim, done, fail, retry, block, renew, remove |
103
104
  | HIVE_RUN_BIN | hive-run | plan, run |
104
105
  | MOC_BIN | moc | commit |
105
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d86e/hive-panel",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "A read-only board for a Hive swarm: agents, task lanes and the event tail, served from the refs and files you already have.",
5
5
  "type": "module",
6
6
  "bin": {