dsh-task-ledger 0.2.2 → 0.2.3

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 CHANGED
@@ -69855,7 +69855,7 @@ body[data-ds-dark-theme]{
69855
69855
  variant: "outline",
69856
69856
  size: "md",
69857
69857
  onClick: onBack
69858
- }, `← ${t("backToConversation")}`), (0, react$1.createElement)("div", { style: titleStyle }, t("panelTitle"), (0, react$1.createElement)("span", { style: buildTagStyle }, `v0.2.2 261112-000126-484`))), (0, react$1.createElement)("div", { style: {
69858
+ }, `← ${t("backToConversation")}`), (0, react$1.createElement)("div", { style: titleStyle }, t("panelTitle"), (0, react$1.createElement)("span", { style: buildTagStyle }, `v0.2.3 261112-072722-538`))), (0, react$1.createElement)("div", { style: {
69859
69859
  display: "flex",
69860
69860
  alignItems: "center",
69861
69861
  gap: "var(--dtl-space-3)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-task-ledger",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Tasks are created, claimed, advanced and closed by the agent and written straight into a plain-text ledger in the workspace, so the owner, the current state and the next step are always on record. It is not limited to development work — research, documentation, presentations and video production all fit. No cloud service is involved: everything is managed locally. Single-user and multi-user both work, with Git synchronisation, and every action is on record. The control panel summarises in-flight, overdue and stalled work with weekly trends.",
5
5
  "icon": "./assets/icon.svg",
6
6
  "keywords": [
package/skill/SKILL.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: task-ledger
3
3
  description: 本地任务台账,跨会话记录在办任务的归属、进度与起止。当用户要登记一件新的事(新建任务 / 建个坑 / 这活我领了)、记录已有任务的进展(接着做 / 记一条进展 / 这轮先记下)、查看任务状态或历史(现在该做什么 / 这活谁在做 / 上周做过什么)、给任务结案 / 取消作废 / 退回(做完了 / 验收通过 / 取消 / 作废 / 退回待认领)、删除建错的或垃圾任务(只认「删除」二字)、整理标签或检查台账一致性时加载;同一件事做了多轮、用户始终没提记账时也加载,问一句要不要建台账(只提醒一次,无需就忽略)。
4
- version: 1.3.58
4
+ version: 1.3.60
5
5
  allowed-tools: Read,Edit,Bash,Grep
6
6
  ---
7
7
 
@@ -314,7 +314,7 @@ allowed-tools: Read,Edit,Bash,Grep
314
314
  <本 SKILL.md 所在目录>/scripts/progress <子命令> --repo <工作区根>
315
315
  ```
316
316
 
317
- `scripts/progress` 是个薄 shell 包装,按平台 exec `scripts/bin/ledger-<os>-<arch>`(自带运行时的静态二进制;已提供 linux/amd64、darwin/arm64 与 windows/amd64)。平台或架构没有对应产物时,它会明确报错,不会静默失败。
317
+ `scripts/progress` 是个薄 shell 包装,按平台 exec `scripts/bin/ledger-<os>-<arch>`(自带运行时的静态二进制;已提供 linux/amd64、darwin/arm64、darwin/amd64 与 windows/amd64,Intel 与 Apple Silicon 的 macOS 都覆盖)。平台或架构没有对应产物时,它会明确报错,不会静默失败。
318
318
 
319
319
  - **不需要安装任何东西**(不装解释器、不装运行时、不往 PATH 里加命令):直接执行上面那条绝对路径即可。
320
320
  - 若报 `Permission denied`(某些安装环节会丢可执行位),前面加 `sh `:`sh <本 SKILL.md 所在目录>/scripts/progress <子命令> …`。
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "task-ledger",
3
- "version": "1.3.59",
3
+ "version": "1.3.60",
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",
@@ -35,8 +35,15 @@ if [ ! -x "$bin" ]; then
35
35
  fi
36
36
 
37
37
  if [ ! -x "$bin" ]; then
38
- echo "错误:找不到可执行的 $bin" >&2
39
- echo " 处理:在装有 Go 的机器上跑 packages/skill/src 的构建脚本重新产出产物。" >&2
38
+ # 两种原因分开说:文件在但起不来(丢了可执行位 / noexec)与根本没有这个平台的产物
39
+ if [ -f "$bin" ]; then
40
+ echo "错误:$bin 存在但跑不起来(可执行位丢了,或所在分区不允许执行)" >&2
41
+ echo " 处理:chmod +x \"$bin\" 后重跑;仍不行就把 skill 装到普通本地目录。" >&2
42
+ else
43
+ echo "错误:当前平台($os/$arch)没有配套的台账二进制:$bin" >&2
44
+ echo " 处理:在装有 Go 的机器上按 packages/skill/src 的源码交叉编译出 ledger-$os-$arch,放进 scripts/bin/。" >&2
45
+ echo " 进度见 https://github.com/cq-guojia/dsh-task-ledger/issues" >&2
46
+ fi
40
47
  exit 1
41
48
  fi
42
49