@restranger/repi-advisor 0.0.1-44677f3 → 0.0.1-562ada7

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
@@ -66,7 +66,8 @@ When `@restranger/repi-subagents` is installed, the advisor model receives the c
66
66
 
67
67
  ## Configuration
68
68
 
69
- Settings are saved in `.pi/extensions/repi-advisor.json` (or `~/.config/repi/advisor.json`).
69
+ Settings are saved in `$PI_CODING_AGENT_DIR/extensions/repi-advisor.json` (default
70
+ `~/.pi/agent/extensions/repi-advisor.json`); a trusted project can own `.pi/extensions/repi-advisor.json`.
70
71
 
71
72
  ```json
72
73
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restranger/repi-advisor",
3
- "version": "0.0.1-44677f3",
3
+ "version": "0.0.1-562ada7",
4
4
  "description": "Advisor strategy pattern for pi-coding-agent with model fallback and subagents integration",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -28,8 +28,8 @@
28
28
  "extensions": ["./src/index.ts"]
29
29
  },
30
30
  "dependencies": {
31
- "@restranger/repi-lib": "0.0.1-44677f3",
32
- "@restranger/repi-ui": "0.0.1-44677f3"
31
+ "@restranger/repi-lib": "0.0.1-562ada7",
32
+ "@restranger/repi-ui": "0.0.1-562ada7"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@earendil-works/pi-coding-agent": ">=0.79.0"
@@ -40,6 +40,6 @@
40
40
  }
41
41
  },
42
42
  "devDependencies": {
43
- "@restranger/repi-test-utils": "0.0.1-44677f3"
43
+ "@restranger/repi-test-utils": "0.0.1-562ada7"
44
44
  }
45
45
  }
package/src/config.ts CHANGED
@@ -192,7 +192,7 @@ export interface SaveAdvisorConfigOptions {
192
192
  readonly workspaceTrusted?: boolean;
193
193
  /** Defaults to `os.homedir()`; injectable for tests. */
194
194
  readonly homeDir?: string;
195
- /** Defaults to `process.env`; `XDG_CONFIG_HOME` and `PI_CODING_AGENT_DIR` are honored. */
195
+ /** Defaults to `process.env`; `PI_CODING_AGENT_DIR` is honored. */
196
196
  readonly env?: Readonly<Record<string, string | undefined>>;
197
197
  }
198
198