@zhushanwen/pi-goal 0.9.1 → 0.9.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/README.md CHANGED
@@ -13,8 +13,8 @@ Codex 风格的 `/goal` 命令 — 持久目标驱动自主循环,支持任务
13
13
  ## 安装
14
14
 
15
15
  ```bash
16
- # symlink 方式(开发推荐)
17
- ln -s /path/to/xyz-pi-extensions-workspace/<branch>/extensions/goal \
16
+ # symlink 方式(开发推荐;globalExtDir 平铺布局,目标不带分组层)
17
+ ln -s /path/to/xyz-pi-extensions-workspace/<branch>/extensions/universal/goal \
18
18
  ~/.pi/agent/extensions/goal
19
19
 
20
20
  # npm 方式(正式)
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@zhushanwen/pi-goal",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Codex-style /goal command for Pi — persistent goal-driven autonomous loop with evidence-based completion, token/time budgets, blocked detection, and steering templates.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
7
+ "xyz-agent": {
8
+ "role": "universal"
9
+ },
7
10
  "pi": {
8
11
  "extensions": [
9
12
  "./index.ts"
@@ -22,14 +25,14 @@
22
25
  "index.ts"
23
26
  ],
24
27
  "peerDependencies": {
25
- "@earendil-works/pi-ai": "*",
26
- "@earendil-works/pi-coding-agent": "*",
27
- "@earendil-works/pi-tui": "*",
28
+ "@earendil-works/pi-ai": "^0.84.1",
29
+ "@earendil-works/pi-coding-agent": "^0.84.1",
30
+ "@earendil-works/pi-tui": "^0.84.1",
28
31
  "typebox": "*",
29
- "@zhushanwen/pi-pending-notifications": "0.3.3"
32
+ "@zhushanwen/pi-pending-notifications": "0.3.4"
30
33
  },
31
34
  "dependencies": {
32
- "@xyz-agent/extension-protocol": "0.5.0"
35
+ "@xyz-agent/extension-protocol": "0.6.0"
33
36
  },
34
37
  "peerDependenciesMeta": {
35
38
  "@earendil-works/pi-tui": {
@@ -5,7 +5,7 @@
5
5
  * - setGuiWidget 经 guiSetWidget 编码 marker 进 ctx.ui.setWidget(RPC 模式)
6
6
  * - isGui 反映 ctx.mode(rpc → GUI 渲染通道;tui → 原生文本)
7
7
  *
8
- * 运行:cd extensions/goal && npx vitest run src/__tests__/ports.test.ts
8
+ * 运行:cd extensions/universal/goal && npx vitest run src/__tests__/ports.test.ts
9
9
  */
10
10
  import { describe, expect, it } from "vitest";
11
11
  import { GUI_WIDGET_MARKER, guiComponent } from "@xyz-agent/extension-protocol";