@gfgghgftgffg/pi-goal-x-lean 0.1.2 → 0.1.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/MAINTENANCE.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Keep this file in English.
4
4
 
5
- The original facade depends on exact `pi-goal-x@0.34.2`; it does not copy the engine. The published package has no npm publication `gitHead`, so maintenance reviews exact npm tarballs with SHA-512 integrity, not an inferred Git commit. There is no external lean-author repository. Pi development verification uses 1.4.0; supported hosts must satisfy upstream peers (`>=1.4.0 <2.0.0`).
5
+ The original facade depends on exact `pi-goal-x@0.35.1`; it does not copy the engine. The published package has no npm publication `gitHead`, so maintenance reviews exact npm tarballs with SHA-512 integrity, not an inferred Git commit. There is no external lean-author repository. Pi development verification uses 1.4.0; supported hosts must satisfy upstream peers (`>=1.4.0 <2.0.0`).
6
6
 
7
7
  ## Retained behavior
8
8
 
@@ -42,6 +42,13 @@ If a subagents manager is present without a compatible v1 service, the goal faca
42
42
 
43
43
  Both the original and facade entrypoints retain the old objective after an external in-place edit and `/goal-refresh`, observed on 0.34.1 and again in the staged 0.34.2 check. Shutdown can overwrite the edit (observed on 0.34.1). Keep the upstream-parity regression, do not fork the storage engine to hide it, and revise the limitation when upstream fixes it. Prefer `/goal-tweak`.
44
44
 
45
+ ## Review: 0.34.2 → 0.35.1
46
+
47
+ - Exact SHA-512 npm snapshots in `sources.json`; no bundled changelog. The upstream manifests retain the Pi/typebox peers and Node floor. The facade still imports `goal.ts`, `goal-context.ts` and `goal-session-safety.ts`; `goal.ts` still exposes `_goalCore`, with `state.goal` now a `GoalSessionState` getter. `GoalRuntime` resolves `scheduler.claim` at delivery, and both `schedule` and `claim` still gate dispatch after the scheduler-rules extraction. Delegated sessions still register only the context filter. No wrapper code or sibling package needs to change.
48
+ - Core, task and drafting registrations retain their schemas, call defaults, argument preparation and the fixed task-setting-dependent profile. `get_goal` still separates model-facing `content[].text`, `details.goal` and the successful page's `details.page` (`content`, `nextCursor`, `totalChars`); the terminal renderer is separate. `update_goal` still dispatches to the same action classes, with blocked and paused flows extracted to `goal-update-flows.ts` and completion still audited.
49
+ - Upstream splits the core, settings, ledger, storage, and UI internals; do not restore `goal-settings.ts` or `widgets/dialog-scaffold.ts`. Layer precedence is still environment > project > global > defaults. `locale` and `PI_GOAL_LOCALE` affect UI lookup only; `i18n/locales.ts` ships no translation catalogs. Task confirmation now truncates the key-hint footer to fit, through the shared choice dialog; audit interruption still defaults to continuing work. The extracted snapshot still uses directory mtime and `/goal-refresh` still invalidates and rereads in the same order. Retain the parity regression.
50
+ - Only this publication is staged. Unpublished web and todo Git heads are excluded. Sync remains unchanged with no fork delta to port. No unrelated regression tests added; existing tests cover the facade and joint subagents ABI.
51
+
45
52
  ## Review: 0.34.1 → 0.34.2
46
53
 
47
54
  - Exact npm publication snapshots with SHA-512 in `sources.json`; neither a Git HEAD substitute nor a published changelog was used. The manifests retain the same Pi/typebox peers and Node requirement. The new `extensions/goal.ts` inlines the removed `goal-tools.ts` installer in the same registration order; formatting and terminal input move to dedicated modules. The facade still imports `goal.ts`, `goal-context.ts` and `goal-session-safety.ts`, receives `_goalCore`, and interposes on the same scheduler `schedule`/`claim` methods. No removed shim is restored.
package/README.md CHANGED
@@ -32,6 +32,8 @@ Confirm the plan to start. Use `/goal-direct` for direct creation, `/sisyphus` f
32
32
 
33
33
  If a provider error cannot be retried, or a configured network-retry limit is exhausted, the goal pauses. Fix the provider issue, then use `/goal-resume [text]`; optional text is sent to the agent.
34
34
 
35
+ Use `/goal-tweak` to change an existing objective. An in-place edit to a goal file can leave the old objective in the upstream snapshot even after `/goal-refresh`.
36
+
35
37
  ## Context footprint (character proxy)
36
38
 
37
39
  <!-- amox-measurement:start -->
package/README.zh-CN.md CHANGED
@@ -32,6 +32,8 @@ pi update --extensions
32
32
 
33
33
  遇到不可重试的服务商错误,或用尽配置的网络重试次数后,目标会暂停。修复问题后使用 `/goal-resume [文本]`;附带的文本会发送给 Agent。
34
34
 
35
+ 修改已有目标请使用 `/goal-tweak`。直接编辑目标文件后,即使执行 `/goal-refresh`,上游快照也可能仍保留旧目标。
36
+
35
37
  ## 上下文占用(字符代理)
36
38
 
37
39
  <!-- amox-measurement:start -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gfgghgftgffg/pi-goal-x-lean",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Lean tool metadata over the complete pi-goal-x runtime; preserves goal tools, commands, scheduling and auditing.",
6
6
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  "check": "npm run typecheck && npm test"
48
48
  },
49
49
  "dependencies": {
50
- "pi-goal-x": "0.34.2"
50
+ "pi-goal-x": "0.35.1"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@earendil-works/pi-ai": ">=1.4.0 <2.0.0",