@gfgghgftgffg/rpiv-todo-lean 0.1.4 → 0.1.5

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.
Files changed (3) hide show
  1. package/README.md +18 -35
  2. package/README.zh-CN.md +17 -29
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @gfgghgftgffg/rpiv-todo-lean
2
2
 
3
- Part of the [`amox-pi-extensions-lean`](../../README.md) monorepo. A lightweight Pi facade for
3
+ Part of the [`amox-pi-extensions-lean`](https://github.com/gfgghgftgffg/amox_pi_extensions_lean/blob/main/README.md) monorepo. A lightweight Pi facade for
4
4
  [`@juicesharp/rpiv-todo`](https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-todo): the
5
5
  complete task-management engine with a compact flat schema, preserved RPC/session/overlay behavior,
6
6
  and per-session isolated overlays.
@@ -22,13 +22,20 @@ is preserved in this package.
22
22
 
23
23
  ## Installation
24
24
 
25
- Install only this extension from the repository root (clone as shown in the root README):
25
+ This is a public npm package. Install without a version pin:
26
+
27
+ ```bash
28
+ pi install npm:@gfgghgftgffg/rpiv-todo-lean
29
+ pi update --extensions
30
+ ```
31
+
32
+ For a Git fallback, run from the repository checkout:
26
33
 
27
34
  ```bash
28
35
  node scripts/install-extension.mjs rpiv-todo-lean
29
36
  ```
30
37
 
31
- Once published to npm, `pi install npm:@gfgghgftgffg/rpiv-todo-lean` is also available. Choose one installation method; do not load another `rpiv-todo` wrapper alongside it.
38
+ Update a local Git installation by pulling the checkout and rerunning its installer; `pi update` does not update local contents. Keep one installation source. To migrate, back up settings, remove only the exact old source shown by `pi list`, then install the npm source. Do not load another `rpiv-todo` wrapper alongside it.
32
39
 
33
40
  ## Usage
34
41
 
@@ -36,40 +43,16 @@ The model sees one tool, `todo`, with actions `create`, `update`, `list`, `get`,
36
43
  `action` is normally required; when it is omitted the facade infers `create` from `subject` or
37
44
  `update` from `id` plus a mutable field, and otherwise lets upstream report the error.
38
45
 
39
- ## Reviewed upgrade: 2.13.5 → 2.13.8
40
-
41
- Upstream's 2.13.6–2.13.8 changelog entries contain no tool or behavior changes. The reviewed tool
42
- schema, registration/execute path, reducer, replay/store, overlay private fields, configuration
43
- adapter, and i18n loader/bridge are unchanged. The lean entry remains unchanged: one `todo` tool,
44
- six actions, the same action inference, and the same per-session RPC overlays. Create still defaults
45
- to `pending`; list excludes tombstones unless `includeDeleted: true`; clear resets task IDs to 1.
46
- The persistence key remains `rpiv-todo-state`, with legacy tool-result replay retained.
47
-
48
- The coupled i18n pin advances to 2.13.8; upstream's transitive rpiv-config range advances to
49
- `^2.13.8`. See [MAINTENANCE.md](MAINTENANCE.md) for source revisions and review limits. All existing
50
- regression assertions are preserved. The current candidate check runs installation, tests, contract capture,
51
- production-install verification and audits; its output is the validation record. Release requires human review.
52
-
53
- The new lean-author RPC plan-output feature was reviewed and not adopted: it appends full task snapshots
54
- to model-visible results for all RPC hosts and adds unguarded context reads after execution. The existing
55
- Pi 1.1 stale guards, command ordering, result envelope and overlays are retained. Pins remain 2.13.8;
56
- unpublished engine HEAD changes are not consumed. See the itemized review in MAINTENANCE.md.
57
-
58
- ## Latest lean-author review
59
-
60
- Reviewed author revisions `6c74831` → `50e485d`. The complete adapter and package metadata are identical;
61
- only the bilingual benchmark environment changes from Pi 1.2.0 to 1.3.0, with the same estimates.
62
- No tools, parameters, defaults or runtime behavior change. Our todo/i18n pins stay 2.13.8 and our own
63
- character measurements are refreshed by the candidate check; this does not establish Pi 1.3 compatibility.
64
- The plan-output decision above is from the previous review and remains applicable to both snapshots.
65
- Exact source evidence is in [MAINTENANCE.md](MAINTENANCE.md).
46
+ New tasks default to `pending`. Listing excludes deleted tasks unless `includeDeleted: true`;
47
+ clearing resets task IDs to 1. State persists through `rpiv-todo-state` entries, with legacy tool-result
48
+ replay retained. RPC responses are not expanded with an additional full-plan snapshot.
66
49
 
67
50
  ## Context footprint (character proxy)
68
51
 
69
52
  <!-- amox-measurement:start -->
70
53
  | Package | Version | Registered character proxy |
71
54
  | --- | --- | ---: |
72
- | @gfgghgftgffg/rpiv-todo-lean | 0.1.4 | 247 |
55
+ | @gfgghgftgffg/rpiv-todo-lean | 0.1.5 | 247 |
73
56
  | @juicesharp/rpiv-todo | 2.13.8 | 882 |
74
57
 
75
58
  Fixed ceil(characters / 4), not provider billing tokens.
@@ -77,9 +60,9 @@ Fixed ceil(characters / 4), not provider billing tokens.
77
60
 
78
61
  ## Versions
79
62
 
80
- * Wrapper: `0.1.4`
63
+ * Wrapper: `0.1.5`
81
64
  * Upstream runtime: pinned to `@juicesharp/rpiv-todo@2.13.8` and `@juicesharp/rpiv-i18n@2.13.8` (exact)
82
- * Previous baseline testing used Pi `1.1.0`, Node `22.22.1`; candidate validation is pending in the independent job.
65
+ * Development test baseline: Pi `1.1.0`, Node `22.22.1`.
83
66
 
84
67
  ## Development
85
68
 
@@ -87,8 +70,8 @@ Run from the repository root: `npm ci`, `npm run check`, `npm run contracts:chec
87
70
 
88
71
  ## Maintenance
89
72
 
90
- Adaptation points, pinned upstream metadata, upgrade steps, and limitations live in
91
- [MAINTENANCE.md](MAINTENANCE.md).
73
+ Adaptation points, pinned upstream metadata, upgrade history, source-review decisions, and limitations
74
+ live in [MAINTENANCE.md](MAINTENANCE.md). This README describes current usage, not individual releases.
92
75
 
93
76
  ## License
94
77
 
package/README.zh-CN.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @gfgghgftgffg/rpiv-todo-lean
2
2
 
3
- 隶属于 [`amox-pi-extensions-lean`](../../README.md) 单仓。基于
3
+ 隶属于 [`amox-pi-extensions-lean`](https://github.com/gfgghgftgffg/amox_pi_extensions_lean/blob/main/README.zh-CN.md) 单仓。基于
4
4
  [`@juicesharp/rpiv-todo`](https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-todo) 的精简封装:
5
5
  保留完整任务管理引擎,使用紧凑扁平 Schema,并保留原 lean 封装的 RPC/会话/覆盖层行为与逐会话隔离。
6
6
 
@@ -17,13 +17,20 @@
17
17
 
18
18
  ## 安装
19
19
 
20
- 从仓库根目录只安装本扩展(先按根 README 克隆仓库):
20
+ 这是公开的 npm 包,安装时不固定版本:
21
+
22
+ ```bash
23
+ pi install npm:@gfgghgftgffg/rpiv-todo-lean
24
+ pi update --extensions
25
+ ```
26
+
27
+ 需要 Git 回退安装时,在仓库 checkout 根目录执行:
21
28
 
22
29
  ```bash
23
30
  node scripts/install-extension.mjs rpiv-todo-lean
24
31
  ```
25
32
 
26
- 已发布到 npm 后,也可用 `pi install npm:@gfgghgftgffg/rpiv-todo-lean`。两种方式只选一种,请勿与其它 `rpiv-todo` 包装扩展同时加载。
33
+ 本地 Git 安装通过拉取 checkout 并重跑安装脚本更新,`pi update` 不更新本地内容。只保留一种安装来源。迁移时先备份 settings,移除 `pi list` 显示的精确旧来源,再安装 npm 来源。请勿同时加载其它 `rpiv-todo` 包装扩展。
27
34
 
28
35
  ## 使用方法
29
36
 
@@ -31,35 +38,15 @@ node scripts/install-extension.mjs rpiv-todo-lean
31
38
  通常需要显式传入 `action`;省略时封装会依据 `subject` 推断 `create`,或依据 `id` 加可变字段推断
32
39
  `update`,其余情况交由上游报错。
33
40
 
34
- ## 本次审查:2.13.5 → 2.13.8
35
-
36
- 上游 2.13.6–2.13.8 的 CHANGELOG 条目没有列出工具或行为变化。核对工具 Schema、注册/执行路径、
37
- reducer、回放/store、覆盖层私有字段、配置适配器和 i18n loader/bridge 后,这些审查面源码保持一致。
38
- lean 入口无需修改:仍为一个 `todo` 工具、六个 action、同样的 action 推断与逐会话 RPC 覆盖层。
39
- create 仍默认 `pending`;list 默认排除 deleted tombstone,`includeDeleted: true` 可包含;clear 重置 ID 为 1。
40
- 持久化键仍为 `rpiv-todo-state`,继续兼容历史 toolResult 回放。
41
-
42
- 配套 i18n 固定版本同步到 2.13.8,上游传递依赖 rpiv-config 范围同步到 `^2.13.8`。
43
- 源码 revision 与审查边界见 [MAINTENANCE.md](MAINTENANCE.md),既有回归断言全部保留。
44
- 本次候选 check 实际执行安装、测试、契约捕获、生产安装与审计,结果以工具输出为准;发版仍需人工审查。
45
-
46
- 已审查作者新增 RPC Plan 输出但未复用:它向所有 RPC host 的模型可见结果追加全量任务快照,且在执行后
47
- 新增未保护的上下文读取。本仓保留 Pi 1.1 stale guard、命令等待顺序、结果封装与覆盖层。
48
- 引擎 pins 仍为 2.13.8,不消费未发布的远端 HEAD;逐项决定见 MAINTENANCE.md。
49
-
50
- ## 最新 lean 作者审查
51
-
52
- 已审查作者 `6c74831` → `50e485d`:完整入口和包元数据一致,中英文基准文档仅将 Pi 1.2.0
53
- 改为 1.3.0,估算数值未变。无工具、参数、默认值或运行行为变化;todo/i18n 仍锁定 2.13.8。
54
- 上文 Plan 输出决定属于此前审查,两版均已包含该实现。本仓字符代理由候选 check 重新统计,
55
- 这不代表已验证 Pi 1.3 兼容性;精确源码证据见 [MAINTENANCE.md](MAINTENANCE.md)。
41
+ 新任务默认 `pending`;list 默认不含已删除任务,`includeDeleted: true` 可包含;clear 重置任务 ID 为 1。
42
+ 状态通过 `rpiv-todo-state` 条目持久化,保留历史工具结果回放。RPC 响应不会额外追加全量 Plan 快照。
56
43
 
57
44
  ## 上下文占用(字符代理)
58
45
 
59
46
  <!-- amox-measurement:start -->
60
47
  | Package | Version | Registered character proxy |
61
48
  | --- | --- | ---: |
62
- | @gfgghgftgffg/rpiv-todo-lean | 0.1.4 | 247 |
49
+ | @gfgghgftgffg/rpiv-todo-lean | 0.1.5 | 247 |
63
50
  | @juicesharp/rpiv-todo | 2.13.8 | 882 |
64
51
 
65
52
  Fixed ceil(characters / 4), not provider billing tokens.
@@ -67,9 +54,9 @@ Fixed ceil(characters / 4), not provider billing tokens.
67
54
 
68
55
  ## 版本
69
56
 
70
- * 包装层:`0.1.4`
57
+ * 包装层:`0.1.5`
71
58
  * 上游运行时:锁定 `@juicesharp/rpiv-todo@2.13.8` 与 `@juicesharp/rpiv-i18n@2.13.8`(精确版本)
72
- * 此前基线测试使用 Pi `1.1.0`、Node `22.22.1`;本次候选等待独立任务验证。
59
+ * 开发测试基线:Pi `1.1.0`、Node `22.22.1`。
73
60
 
74
61
  ## 开发
75
62
 
@@ -77,7 +64,8 @@ Fixed ceil(characters / 4), not provider billing tokens.
77
64
 
78
65
  ## 维护说明
79
66
 
80
- 适配点、上游元数据、升级步骤与限制见 [MAINTENANCE.md](MAINTENANCE.md)。
67
+ 适配点、上游元数据、升级历史、源码审查决定与限制见 [MAINTENANCE.md](MAINTENANCE.md)。
68
+ README 只说明当前用法,不记录逐次发布过程。
81
69
 
82
70
  ## 协议与致谢
83
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gfgghgftgffg/rpiv-todo-lean",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "Lean Pi todo extension: the full @juicesharp/rpiv-todo runtime with a compact flat schema and per-session RPC overlay handling preserved.",
6
6
  "license": "MIT",