dsh-task-ledger 0.0.103 → 0.0.104
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/client.js +2 -2
- package/package.json +1 -1
- package/skill/README.md +2 -0
- package/skill/SKILL.md +5 -1
- package/skill/package.json +1 -1
- package/skill/references/init-identity.md +1 -0
- package/skill/scripts/progress +2 -3
package/dist/client.js
CHANGED
|
@@ -4883,8 +4883,8 @@ body[data-ds-dark-theme]{
|
|
|
4883
4883
|
onClick: onBack
|
|
4884
4884
|
}, `← ${t("backToConversation")}`), (0, react.createElement)("div", { style: titleStyle }, t("panelTitle"), (0, react.createElement)("span", {
|
|
4885
4885
|
style: buildTagStyle,
|
|
4886
|
-
title: `v0.0.
|
|
4887
|
-
}, `v0.0.
|
|
4886
|
+
title: `v0.0.104 · 261027-170834-516`
|
|
4887
|
+
}, `v0.0.104 261027-170834-516`))), (0, react.createElement)("div", { style: {
|
|
4888
4888
|
display: "flex",
|
|
4889
4889
|
alignItems: "center",
|
|
4890
4890
|
gap: "var(--dtl-space-2)"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-task-ledger",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.104",
|
|
4
4
|
"description": "Task ledger board for dsh (DeepSeek Harness): read-only board over task-ledger skill workspaces. The task-ledger skill is bundled — install the plugin, get the skill globally.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek",
|
package/skill/README.md
CHANGED
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
|
|
37
37
|
`scripts/progress` 按平台 exec `scripts/bin/ledger-<os>-<arch>`(静态二进制;已带 linux/amd64、darwin/arm64 与 windows/amd64)。
|
|
38
38
|
|
|
39
|
+
**不需要安装任何东西**:直接执行上面那个路径就行。它是个 `sh` 脚本——若某个安装环节丢了可执行位(报 `Permission denied`),前面加 `sh ` 照样能跑:`sh <SKILL.md 所在目录>/scripts/progress <子命令> --repo <工作区根>`。
|
|
40
|
+
|
|
39
41
|
子命令:`new` `claim` `set` `log` `close` `list` `history` `show` `whoami` `validate`。命令参考(参数 / 一句话 / 举例)、任务生命周期、纪律(数据完整性 / 人类授权 / 故障处置)全在 `SKILL.md`;参数细节看 `<子命令> --help`(不要凭记忆编)。
|
|
40
42
|
|
|
41
43
|
## 深入参考(references/,按需读)
|
package/skill/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: task-ledger
|
|
3
3
|
description: 本地任务台账,跨会话记录在办任务的归属、进度与起止。当用户要登记一件新的事(新建任务 / 建个坑 / 这活我领了)、记录已有任务的进展(接着做 / 记一条进展 / 这轮先记下)、查看任务状态或历史(现在该做什么 / 这活谁在做 / 上周做过什么)、给任务结案或退回(做完了 / 验收通过 / 不做了 / 退回待认领)、整理标签或检查台账一致性时加载;只是改代码、讨论方案时不要用。
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.31
|
|
5
5
|
allowed-tools: Read,Edit,Bash,Grep
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -180,6 +180,10 @@ allowed-tools: Read,Edit,Bash,Grep
|
|
|
180
180
|
|
|
181
181
|
`scripts/progress` 是个薄 shell 包装,按平台 exec `scripts/bin/ledger-<os>-<arch>`(自带运行时的静态二进制;已提供 linux/amd64、darwin/arm64 与 windows/amd64)。平台或架构没有对应产物时,它会明确报错,不会静默失败。
|
|
182
182
|
|
|
183
|
+
- **不需要安装任何东西**(不装解释器、不装运行时、不往 PATH 里加命令):直接执行上面那条绝对路径即可。
|
|
184
|
+
- 若报 `Permission denied`(某些安装环节会丢可执行位),前面加 `sh `:`sh <本 SKILL.md 所在目录>/scripts/progress <子命令> …`。
|
|
185
|
+
- **交给用户的命令必须是这个绝对路径**,不许简写成 `progress` —— 用户机器的 PATH 里没有这个命令,简写后用户一跑就是 `command not found`。
|
|
186
|
+
|
|
183
187
|
- 定位项目:`--repo <工作区根>`(**直接含有 `ledger/` 的那个目录**)给了就校验后用;不给就从当前目录逐级向上找。`ledger/` 本身、以及它下面的任何子目录都不是根,指过去会被直接拒绝(判据只看位置,不看目录里有哪些文件 —— 项目根自带 `pool.json`、`history/`、`worklog/` 都不影响)。
|
|
184
188
|
- `--no-sync`(放在子命令**前**):用户明确要求「先别同步」时才用;之后自己 `git add ledger && commit && push`。
|
|
185
189
|
- `--json` 只对只读命令(`list` / `show` / `history` / `whoami` / `validate`)有意义;写命令不接收 `--json`,传了是用法错。
|
package/skill/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "task-ledger",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.31",
|
|
4
4
|
"description": "Task-ledger skill for coding agents: per-workspace progress tracking (ledger/pool.json + owners/<hash>.json shards + owners.json index, history, worklog) driven by a CLI script. Standalone install for CodeBuddy and other agents; also bundled inside the dsh-task-ledger DSH plugin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skill",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
## 硬规则
|
|
28
28
|
|
|
29
|
+
- **给用户的命令必须原样保留绝对路径**(`<本 SKILL.md 所在目录>/scripts/progress init --repo <工作区根>`):用户机器的 PATH 里没有 `progress` 这个命令,简写成 `progress init` 用户一跑就是 `command not found`。若用户报 `Permission denied`,就把命令改成 `sh <绝对路径> init --repo <工作区根>` 再给 ta。
|
|
29
30
|
- **不诊断、不排查**:不要 `ls ~/.taskledger`、不要 `cat identity.json`、不要读 skill 源码(`internal/env/env.go` / `internal/actions/init_identity.go` 等)或台账去查「为什么没身份」。缺就是未初始化,忽略上下文里已做的排查动作,直接按上面流程走。
|
|
30
31
|
- **不得**替用户执行 `init --claim` / `init --new` / 任何带 `--yes` 的写法——脚本也会拒绝。
|
|
31
32
|
- **不得**基于「上一轮确认过 / 同名 / 记得 uuid」自行重建身份:身份文件缺失就是未初始化,必须让用户重新亲自选。重建会换新 uuid、断开旧任务关联。
|
package/skill/scripts/progress
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
# 台账命令入口:只按平台选对二进制再 exec,逻辑全在编译产物里。
|
|
3
|
-
# 旧写法(Python 版已挪到 legacy-python/ 作对照):python3 legacy-python/progress.py <子命令> --repo <工作区根>
|
|
4
3
|
set -eu
|
|
5
4
|
|
|
6
5
|
dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
@@ -11,7 +10,7 @@ case "$(uname -s)" in
|
|
|
11
10
|
MINGW* | MSYS* | CYGWIN*) os=windows ;;
|
|
12
11
|
*)
|
|
13
12
|
echo "错误:这个平台($(uname -s))还没有配套的台账二进制。" >&2
|
|
14
|
-
echo " 处理:在装有 Go 的机器上跑 packages/skill/
|
|
13
|
+
echo " 处理:在装有 Go 的机器上跑 packages/skill/src 的构建脚本,产出 scripts/bin/ledger-<os>-<arch>。" >&2
|
|
15
14
|
exit 1
|
|
16
15
|
;;
|
|
17
16
|
esac
|
|
@@ -37,7 +36,7 @@ fi
|
|
|
37
36
|
|
|
38
37
|
if [ ! -x "$bin" ]; then
|
|
39
38
|
echo "错误:找不到可执行的 $bin" >&2
|
|
40
|
-
echo " 处理:在装有 Go 的机器上跑 packages/skill/
|
|
39
|
+
echo " 处理:在装有 Go 的机器上跑 packages/skill/src 的构建脚本重新产出产物。" >&2
|
|
41
40
|
exit 1
|
|
42
41
|
fi
|
|
43
42
|
|