@gfgghgftgffg/rpiv-todo-lean 0.1.9 → 0.1.11

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/MAINTENANCE.md CHANGED
@@ -196,6 +196,31 @@
196
196
  - 固定 check 重新捕获契约、字符代理并实际执行类型/测试、生产安装和审计,结果以检查日志为准。
197
197
  字符代理 ceil(chars/4) 非计费 token;交互式终端与三平台验收仍由后续流程分别确认。
198
198
 
199
+ ## 本次 lean-only 审查:作者同步 2.15.0
200
+
201
+ - 精确作者 before/after:`f1e3fc7bcde2644a89803fa6a3a256fb7422d89f` →
202
+ `664409f1e91e7eb8375cb0e473321a7075f20de1`,以 sources.json 为准。完整比较两版 index.ts、
203
+ package.json、中英文 README、wrapper 和 rpc-sessions 测试,并阅读本地入口与当前用法。
204
+ - 入口唯一差异为指南增加 `or a tasks[] batch`。不是新 schema/action/默认值或执行逻辑;本地描述
205
+ 已有 `create subject or tasks[]`,完整批量 schema、hook-first 归一化及原子执行已由前次适配承接。
206
+ 不重复增加常驻文本;中英文 README 保留完整批量约束,并明确已有的单个 in_progress/及时完成指导。
207
+ - 作者 package.json 包装 2.13.12 → 2.15.0,todo/i18n pins 2.13.9 → 2.15.0;本仓已固定 2.15.0。
208
+ peer/dev 不变,不复制作者包装版本、锁文件或开发依赖。README 更新依赖、测量表及 Pi 1.3 → 1.4,
209
+ 但 Versions 中包装版本和中文依赖仍残留旧值,package description 也保留旧代理;不复用这些数字。
210
+ 本仓版本由固定脚本管理,字符代理由 check 重测。
211
+ - 作者 wrapper 测试新增 tasks 字段期望,并把 metadata 上限 1200 放宽到 1500;本仓已有完整 tasks
212
+ schema/真实执行回归,不复制重复期望,不放宽 1200 上限。rpc-sessions 两版完全一致。
213
+ - 历史未采用功能没有变化:bare id 推断、较强逐步 workflow 指令及 withHostPlan 仍不引入。
214
+ withHostPlan 仍在 await 后读取 ctx.mode/sid,未增加 stale 防护;本地保留已有 stale guards、异步命令
215
+ 等待、逐会话覆盖层及原始响应,不替换为作者入口或原地修改上游 schema。
216
+ - 六个 action、完整字段、required=[action]、create=pending、list 默认不含 deleted、clear 重置 nextId=1
217
+ 不变;没有新的本地行为适配。依赖的 overlay/store/replay 接口由已有固定依赖真实集成回归验证。
218
+ - 本次没有引擎 before/after/CHANGELOG,todo/i18n 稳定版仍为 2.15.0 /
219
+ `ce6d3530410812ca504ec294995581a52170f9e1`;远端 `46dbdfd78ab631bbf3ce41c2618bb173a5ec2725`
220
+ 未采用,不声称重审该远端源码。subagents 引擎 0.22.0 与 lean HEAD 均不变,无本次快照或复用变动。
221
+ - 本次无门面行为变化,不加重复测试或修改既有断言。check 实际执行类型/既有回归/契约、三包独立
222
+ 生产安装和两种审计,并重测字符代理;结果以其输出为准。ceil(chars/4) 非计费 token,Pi 1.4 与交互 UI 未实测。
223
+
199
224
  ## 升级步骤
200
225
 
201
226
  1. `npm view @juicesharp/rpiv-todo version` 确认目标稳定版本,对比 manifest 中当前固定版本/revision 与目标源码(`tool/types.ts`、`todo.ts`、`todo-overlay.ts`、`index.ts`、`state/*`)及 `CHANGELOG.md`。
package/README.md CHANGED
@@ -43,7 +43,8 @@ The model sees one tool, `todo`, with actions `create`, `update`, `list`, `get`,
43
43
  `action` is normally required; when it is omitted the facade infers `create` from `subject` or
44
44
  `update` from `id` plus a mutable field, and otherwise lets upstream report the error.
45
45
 
46
- New tasks default to `pending`. Create one with `subject`, or create independent tasks atomically with
46
+ New tasks default to `pending`. For multi-step work, keep one task `in_progress` and mark it
47
+ `completed` promptly when finished. Create one with `subject`, or create independent tasks atomically with
47
48
  `{"action":"create","tasks":[{"subject":"Inspect"},{"subject":"Test"}]}`. Batch calls require explicit
48
49
  `action: "create"`; `tasks` and individual items may be JSON strings and are normalized before validation.
49
50
  Use either `subject` or a nonempty `tasks` array. In a batch, put `description`, `activeForm`, `blockedBy`,
@@ -61,7 +62,7 @@ additional full-plan snapshot.
61
62
  <!-- amox-measurement:start -->
62
63
  | Package | Version | Registered character proxy |
63
64
  | --- | --- | ---: |
64
- | @gfgghgftgffg/rpiv-todo-lean | 0.1.9 | 277 |
65
+ | @gfgghgftgffg/rpiv-todo-lean | 0.1.11 | 277 |
65
66
  | @juicesharp/rpiv-todo | 2.15.0 | 1222 |
66
67
 
67
68
  Fixed ceil(characters / 4), not provider billing tokens.
@@ -69,7 +70,7 @@ Fixed ceil(characters / 4), not provider billing tokens.
69
70
 
70
71
  ## Versions
71
72
 
72
- * Wrapper: `0.1.9`
73
+ * Wrapper: `0.1.11`
73
74
  * Upstream runtime: pinned to `@juicesharp/rpiv-todo@2.15.0` and `@juicesharp/rpiv-i18n@2.15.0` (exact)
74
75
  * Development test baseline: Pi `1.1.0`, Node `22.22.1`.
75
76
 
package/README.zh-CN.md CHANGED
@@ -38,7 +38,8 @@ node scripts/install-extension.mjs rpiv-todo-lean
38
38
  通常需要显式传入 `action`;省略时封装会依据 `subject` 推断 `create`,或依据 `id` 加可变字段推断
39
39
  `update`,其余情况交由上游报错。
40
40
 
41
- 新任务默认 `pending`。单个创建传 `subject`,独立任务可原子批量创建:
41
+ 新任务默认 `pending`。多步骤工作保持一个任务为 `in_progress`,完成后及时标记为 `completed`。
42
+ 单个创建传 `subject`,独立任务可原子批量创建:
42
43
  `{"action":"create","tasks":[{"subject":"Inspect"},{"subject":"Test"}]}`。批量调用须显式传
43
44
  `action: "create"`;`tasks` 或其中各项为 JSON 字符串时,上游在校验前归一化。
44
45
  `subject` 与非空 `tasks` 数组二选一。批量的 `description`、`activeForm`、`blockedBy`、`owner`、
@@ -54,7 +55,7 @@ list 默认不含已删除任务,`includeDeleted: true` 可包含;clear 重
54
55
  <!-- amox-measurement:start -->
55
56
  | Package | Version | Registered character proxy |
56
57
  | --- | --- | ---: |
57
- | @gfgghgftgffg/rpiv-todo-lean | 0.1.9 | 277 |
58
+ | @gfgghgftgffg/rpiv-todo-lean | 0.1.11 | 277 |
58
59
  | @juicesharp/rpiv-todo | 2.15.0 | 1222 |
59
60
 
60
61
  Fixed ceil(characters / 4), not provider billing tokens.
@@ -62,7 +63,7 @@ Fixed ceil(characters / 4), not provider billing tokens.
62
63
 
63
64
  ## 版本
64
65
 
65
- * 包装层:`0.1.9`
66
+ * 包装层:`0.1.11`
66
67
  * 上游运行时:锁定 `@juicesharp/rpiv-todo@2.15.0` 与 `@juicesharp/rpiv-i18n@2.15.0`(精确版本)
67
68
  * 开发测试基线:Pi `1.1.0`、Node `22.22.1`。
68
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gfgghgftgffg/rpiv-todo-lean",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
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",