@gfgghgftgffg/rpiv-todo-lean 0.1.15 → 0.1.16
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 +9 -3
- package/README.md +3 -2
- package/README.zh-CN.md +3 -2
- package/package.json +3 -3
package/MAINTENANCE.md
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
|
|
15
15
|
## 锁定的上游版本
|
|
16
16
|
|
|
17
|
-
- `@juicesharp/rpiv-todo@2.
|
|
18
|
-
- `@juicesharp/rpiv-i18n@2.
|
|
19
|
-
-
|
|
17
|
+
- `@juicesharp/rpiv-todo@2.16.0`(精确固定;`dependencies`)。
|
|
18
|
+
- `@juicesharp/rpiv-i18n@2.16.0`(精确固定;上游仍为可选 peer,保留安装以维持本地化 UI)。
|
|
19
|
+
- 两者依赖 `@juicesharp/rpiv-config@^2.16.0`(此前为 ^2.15.0;由 npm 解析,不显式固定)。
|
|
20
20
|
- Pi 宿主 peer:`@earendil-works/pi-ai`、`@earendil-works/pi-coding-agent`、`@earendil-works/pi-tui`
|
|
21
21
|
均为 `>=1.1.0`,`typebox` 为 `*`。
|
|
22
22
|
- 开发/测试依赖:Pi 1.1.0、typebox 1.3.36、jiti 2.7.0、TypeScript 7.0.2
|
|
@@ -236,6 +236,12 @@
|
|
|
236
236
|
`ce6d3530410812ca504ec294995581a52170f9e1`,不采用或声称审查远端
|
|
237
237
|
`1a4add9dbe61597059a93dd9200bf25d51238659`。本包不升版;check 的实际选定范围与审计结果以输出为准。
|
|
238
238
|
|
|
239
|
+
## 本次审查:2.15.0 → 2.16.0
|
|
240
|
+
|
|
241
|
+
- `sources.json` 提供两个 npm 发布对应的精确 Git 源码(todo 与相关 i18n):`ce6d3530410812ca504ec294995581a52170f9e1` → `a410e921cdfb883cea421aad5ebc480a5a06b763`,不采用远端 `7c669d0837cd08497dc34c53a7a17fdfa1a949ee`。lean 作者未变。i18n 的 2.16.0 日志无行为条目;`package.json` 的 SDK 与 `/loader` 导出和 `loader.ts` 的注册签名不变,两个包的 `rpiv-config` 范围同步提升。
|
|
242
|
+
- `tool/types.ts` 用本地 TypeBox 枚举解决 Pi 1.5 的静态类型兼容,JSON 枚举形态不变;新增 `action` 注解,不增删 action、字段或改调用默认值。门面仍复制后压缩 schema,继续用现有简短说明告知 action,并先委派上游参数预处理。`todo.ts` 仍执行 reducer 并持久化 `rpiv-todo-state`;响应含模型文本 `content[].text` 和快照 `details`,与卡片、面板或 `/todos` 通知的渲染文本分开。
|
|
243
|
+
- `config.ts` 使 `maxWidgetLines: 0` 在重绘时隐藏面板,默认仍为 12;`todo-overlay.ts` 在宿主派发鼠标事件时只消费标题行的无修饰左键点击,独立于折叠快捷键。隐藏最后的完成项会调用 `update()` 注销面板;`index.ts` 的非 RPC 上游 `agent_start` 按 `sid(ctx)` 限定为前台会话,RPC 路径已经按会话查找自己的 overlay。私有字段、快照替换点、注册方法和命令委派仍兼容。无需复制引擎、修改门面或移植上游 UI 测试。
|
|
244
|
+
|
|
239
245
|
## 升级步骤
|
|
240
246
|
|
|
241
247
|
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
|
@@ -10,7 +10,8 @@ A lighter wrapper for [`@juicesharp/rpiv-todo`](https://github.com/juicesharp/rp
|
|
|
10
10
|
|
|
11
11
|
- The model sees one `todo` tool: `create`, `update`, `list`, `get`, `delete`, `clear`.
|
|
12
12
|
- If `action` is omitted, a `subject` means create, and an `id` plus a mutable field means update. Anything else is reported by upstream.
|
|
13
|
-
- Fields, validation, persistence and per-session isolation stay on the upstream engine.
|
|
13
|
+
- Fields, validation, persistence and per-session isolation stay on the upstream engine. Set `maxWidgetLines: 0` in the [todo config](https://github.com/juicesharp/rpiv-mono/blob/main/packages/rpiv-todo/docs/configuration.md) to hide the panel on the next repaint without disabling `todo` or `/todos`.
|
|
14
|
+
- In Pi’s fullscreen TUI, left-click the panel heading to collapse or expand it, even with `collapseKey: "off"`. A child session starting work no longer hides the foreground session’s completed rows.
|
|
14
15
|
|
|
15
16
|
## Source
|
|
16
17
|
|
|
@@ -79,7 +80,7 @@ Update a local Git installation by pulling the checkout and rerunning its instal
|
|
|
79
80
|
| Package | Registered character proxy |
|
|
80
81
|
| --- | ---: |
|
|
81
82
|
| @gfgghgftgffg/rpiv-todo-lean | 277 |
|
|
82
|
-
| @juicesharp/rpiv-todo |
|
|
83
|
+
| @juicesharp/rpiv-todo | 1281 |
|
|
83
84
|
|
|
84
85
|
Fixed ceil(characters / 4), not provider billing tokens.
|
|
85
86
|
<!-- amox-measurement:end -->
|
package/README.zh-CN.md
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
- 模型只看到一个 `todo` 工具:`create`、`update`、`list`、`get`、`delete`、`clear`。
|
|
12
12
|
- 省略 `action` 时,带 `subject` 按创建处理,带 `id` 和可改字段按更新处理。其余情况由上游报错。
|
|
13
|
-
-
|
|
13
|
+
- 字段、校验、持久化和按会话隔离仍由上游引擎处理。在 [todo 配置](https://github.com/juicesharp/rpiv-mono/blob/main/packages/rpiv-todo/docs/configuration.md)中设 `maxWidgetLines: 0`,下次重绘时隐藏面板,不影响 `todo` 或 `/todos`。
|
|
14
|
+
- 在 Pi 的全屏 TUI 中,左键点击标题可折叠或展开面板,即使 `collapseKey` 设为 `"off"`。子会话开始工作时,不会再隐藏前台会话已完成的任务行。
|
|
14
15
|
|
|
15
16
|
## 来源
|
|
16
17
|
|
|
@@ -79,7 +80,7 @@ node scripts/install-extension.mjs rpiv-todo-lean
|
|
|
79
80
|
| Package | Registered character proxy |
|
|
80
81
|
| --- | ---: |
|
|
81
82
|
| @gfgghgftgffg/rpiv-todo-lean | 277 |
|
|
82
|
-
| @juicesharp/rpiv-todo |
|
|
83
|
+
| @juicesharp/rpiv-todo | 1281 |
|
|
83
84
|
|
|
84
85
|
Fixed ceil(characters / 4), not provider billing tokens.
|
|
85
86
|
<!-- amox-measurement:end -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfgghgftgffg/rpiv-todo-lean",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A lighter wrapper for @juicesharp/rpiv-todo: tasks and dependencies remain, with about 77% less tool text on the first call.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"check": "npm run typecheck && npm test"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@juicesharp/rpiv-i18n": "2.
|
|
50
|
-
"@juicesharp/rpiv-todo": "2.
|
|
49
|
+
"@juicesharp/rpiv-i18n": "2.16.0",
|
|
50
|
+
"@juicesharp/rpiv-todo": "2.16.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@earendil-works/pi-ai": ">=1.1.0",
|