@restranger/repi-model-fallback 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
@@ -24,8 +24,8 @@ pi --extension ./packages/model-fallback/src/index.ts
24
24
  ## Configuration
25
25
 
26
26
  Configurations are loaded with project priority:
27
- 1. `$XDG_CONFIG_HOME/repi/model-fallback.json` (or `~/.config/repi/model-fallback.json`)
28
- 2. `<project>/.repi/model-fallback.json` (wins over user config)
27
+ 1. `$PI_CODING_AGENT_DIR/extensions/repi-model-fallback.json` (default `~/.pi/agent/extensions/repi-model-fallback.json`)
28
+ 2. `<project>/.pi/extensions/repi-model-fallback.json` or `<project>/.repi/model-fallback.json` (wins over user config)
29
29
 
30
30
  ```json
31
31
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restranger/repi-model-fallback",
3
- "version": "0.0.1-44677f3",
3
+ "version": "0.0.1-562ada7",
4
4
  "description": "Automatic model fallback and retry for pi-coding-agent",
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
@@ -141,7 +141,7 @@ export interface SaveConfigOptions {
141
141
  readonly workspaceTrusted?: boolean;
142
142
  /** Defaults to `os.homedir()`; injectable for tests. */
143
143
  readonly homeDir?: string;
144
- /** Defaults to `process.env`; `XDG_CONFIG_HOME` and `PI_CODING_AGENT_DIR` are honored. */
144
+ /** Defaults to `process.env`; `PI_CODING_AGENT_DIR` is honored. */
145
145
  readonly env?: Readonly<Record<string, string | undefined>>;
146
146
  }
147
147