task-ledger 1.3.41 → 1.3.43
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/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.43
|
|
5
5
|
allowed-tools: Read,Edit,Bash,Grep
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -166,6 +166,8 @@ allowed-tools: Read,Edit,Bash,Grep
|
|
|
166
166
|
|
|
167
167
|
口径:`added` 按 `created`、`done` 按 `finished`;`open` 由「当前在办 + 今天往前倒推」得出,天然含窗口之前遗留的基线。按人明细里 `added` 按 `creator`、`done` / `open` 按 `owner`(待认领不算任何人)。
|
|
168
168
|
|
|
169
|
+
按人的 `open` 只算**你名下**的任务,倒推时同时减去「你在那天之后新建的」(按 owner 计,与展示用的 creator 无关)—— 否则窗口之后才建、早已结案的任务会被当成那天就在办,越靠前的桶虚高得越离谱。负责人转交过的任务按**今天**的负责人归账。
|
|
170
|
+
|
|
169
171
|
**只出 JSON**(表格由界面渲染;给 `--json` 是用法错):
|
|
170
172
|
|
|
171
173
|
```json
|
|
@@ -185,6 +187,9 @@ allowed-tools: Read,Edit,Bash,Grep
|
|
|
185
187
|
- `owners` 只有加 `--by-owner` 才出现;人名实时取自名册,不进缓存。
|
|
186
188
|
- 上限按**时间跨度**定,不按读几个文件定:一次最多 10 年(3660 天);`day` 粒度另有 365 天上限(一天一桶没人看十年)。超了直接报错,不返回半截数据。缓存文件不计入任何上限(命中的月份根本不读源文件)。
|
|
187
189
|
- 已过完的本地月会落一份本机缓存(`~/.taskledger/cache/trend/`,不进 git、随时可删);当月永远实时算。缓存不改变**能查多久**(历史文件从不清理,10 年就是 120 个文件在盘上),只决定**查得多快**。
|
|
190
|
+
- 缓存分两层:**整月缓存**只写你查的那几个月;另有**月度锚**(`anchors.json`,只记每个月末的未结,全局 + 按人,几十字节/月)。
|
|
191
|
+
- 有左锚(上个月末的未结)⇒ 从锚往右累计,**只读那一段的月份**,查再久以前也不碰中间的月份;
|
|
192
|
+
- 没有左锚(第一次查某段历史)⇒ 从今天的在办快照往回推一次,沿途把每个月的锚补上,并在 `warnings` 里告诉你读了几个月。
|
|
188
193
|
|
|
189
194
|
举例:「最近 8 周每周完成多少」→ `stats --trend week`;「今年每月按人看」→ `stats --trend month --last 12m --by-owner`。
|
|
190
195
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "task-ledger",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.43",
|
|
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",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|