@diegopetrucci/pi-claude-fast 0.1.4 → 0.1.7

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.
@@ -1 +1 @@
1
- 0.79.10
1
+ 0.80.6
package/README.md CHANGED
@@ -42,16 +42,16 @@ The extension defaults to off so installing the full collection does not acciden
42
42
  Optional global config:
43
43
 
44
44
  ```text
45
- ~/.pi/agent/extensions/claude-fast.json
45
+ ~/<pi-config-dir>/agent/extensions/claude-fast.json
46
46
  ```
47
47
 
48
48
  Optional project config:
49
49
 
50
50
  ```text
51
- .pi/claude-fast.json
51
+ <project>/<pi-config-dir>/claude-fast.json
52
52
  ```
53
53
 
54
- Project config overrides global config after Pi reports that the project is trusted.
54
+ Here `<pi-config-dir>` is Pi's runtime config directory name (`CONFIG_DIR_NAME`; `.pi` by default). Project config overrides global config after Pi reports that the project is trusted.
55
55
 
56
56
  ```json
57
57
  {
package/index.ts CHANGED
@@ -1,13 +1,12 @@
1
1
  import { existsSync, readFileSync } from "node:fs";
2
2
  import { dirname, join } from "node:path";
3
3
  import {
4
+ CONFIG_DIR_NAME,
4
5
  getAgentDir,
5
6
  type ExtensionAPI,
6
7
  type ExtensionContext,
7
8
  } from "@earendil-works/pi-coding-agent";
8
9
 
9
- const CONFIG_DIR_NAME = ".pi";
10
-
11
10
  const EXTENSION_ID = "claude-fast";
12
11
  const PROVIDER_ID = "anthropic";
13
12
  const API_ID = "anthropic-messages";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegopetrucci/pi-claude-fast",
3
- "version": "0.1.4",
3
+ "version": "0.1.7",
4
4
  "description": "A pi extension that enables Anthropic Claude Fast mode for supported Claude Opus models by injecting speed=fast.",
5
5
  "keywords": [
6
6
  "pi-package",