@benvargas/pi-openai-fast 1.1.0 → 1.1.1
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 +5 -2
- package/extensions/index.ts +17 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ Config files follow the same project-over-global pattern as the other packages:
|
|
|
43
43
|
|
|
44
44
|
The global path uses pi's agent directory — typically `~/.pi/agent`, but it follows `PI_CODING_AGENT_DIR` when that is set, matching where pi itself reads and writes config.
|
|
45
45
|
|
|
46
|
-
Releases before
|
|
46
|
+
Releases before 1.1.0 always used `~/.pi/agent`, even with `PI_CODING_AGENT_DIR` set. If the agent directory differs from `~/.pi/agent` and has no config yet, an existing `~/.pi/agent/extensions/pi-openai-fast.json` is copied there once so previous settings carry over; a config already present in the agent directory is never overwritten.
|
|
47
47
|
|
|
48
48
|
If neither exists, the extension writes a default global config on first run.
|
|
49
49
|
|
|
@@ -60,11 +60,13 @@ Default config:
|
|
|
60
60
|
"openai/gpt-5.6-sol",
|
|
61
61
|
"openai/gpt-5.6-terra",
|
|
62
62
|
"openai/gpt-5.6-luna",
|
|
63
|
+
"openai/gpt-6-astra",
|
|
63
64
|
"openai-codex/gpt-5.4",
|
|
64
65
|
"openai-codex/gpt-5.5",
|
|
65
66
|
"openai-codex/gpt-5.6-sol",
|
|
66
67
|
"openai-codex/gpt-5.6-terra",
|
|
67
|
-
"openai-codex/gpt-5.6-luna"
|
|
68
|
+
"openai-codex/gpt-5.6-luna",
|
|
69
|
+
"openai-codex/gpt-6-astra"
|
|
68
70
|
]
|
|
69
71
|
}
|
|
70
72
|
```
|
|
@@ -83,6 +85,7 @@ Project config overrides global config. `/fast on` and `/fast off` write to the
|
|
|
83
85
|
- Resumed sessions do not override the config-backed startup state.
|
|
84
86
|
- On configured models, fast mode maps to OpenAI `service_tier=priority`.
|
|
85
87
|
- `openai/gpt-5.4-mini` is in the defaults for the API-key provider only: OpenAI publishes Fast-mode pricing for it, but the ChatGPT (`openai-codex`) side offers no fast tier for gpt-5.4-mini. `gpt-5.4-nano`, `gpt-5.4-pro`, and `gpt-5.5-pro` have no published Fast-mode pricing and are left out.
|
|
88
|
+
- `gpt-6-astra` (pi 0.85.1) is in the defaults for both providers: OpenAI publishes Fast-mode pricing for it (2x Standard, no latency SLA, not available with EU data residency), and the Codex catalog advertises a `priority` ("Fast", 2x speed) service tier for it.
|
|
86
89
|
- If a default set from an older release is found in your config, it is upgraded to the current defaults automatically; customized `supportedModels` lists are left untouched.
|
|
87
90
|
|
|
88
91
|
## Uninstall
|
package/extensions/index.ts
CHANGED
|
@@ -25,6 +25,8 @@ const FAST_COMMAND_ARGS = ["on", "off", "status"] as const;
|
|
|
25
25
|
const FAST_SERVICE_TIER = "priority";
|
|
26
26
|
// `openai/gpt-5.4-mini` has an official Fast-mode price and is API-key only: the
|
|
27
27
|
// ChatGPT (openai-codex) catalog exposes no priority tier for gpt-5.4-mini.
|
|
28
|
+
// `gpt-6-astra` (pi 0.85.1) has Fast-mode pricing on the API and a `priority`
|
|
29
|
+
// service tier in the Codex catalog, so both providers are listed.
|
|
28
30
|
const DEFAULT_SUPPORTED_MODEL_KEYS = [
|
|
29
31
|
"openai/gpt-5.4",
|
|
30
32
|
"openai/gpt-5.4-mini",
|
|
@@ -32,11 +34,13 @@ const DEFAULT_SUPPORTED_MODEL_KEYS = [
|
|
|
32
34
|
"openai/gpt-5.6-sol",
|
|
33
35
|
"openai/gpt-5.6-terra",
|
|
34
36
|
"openai/gpt-5.6-luna",
|
|
37
|
+
"openai/gpt-6-astra",
|
|
35
38
|
"openai-codex/gpt-5.4",
|
|
36
39
|
"openai-codex/gpt-5.5",
|
|
37
40
|
"openai-codex/gpt-5.6-sol",
|
|
38
41
|
"openai-codex/gpt-5.6-terra",
|
|
39
42
|
"openai-codex/gpt-5.6-luna",
|
|
43
|
+
"openai-codex/gpt-6-astra",
|
|
40
44
|
] as const;
|
|
41
45
|
const LEGACY_DEFAULT_SUPPORTED_MODEL_KEY_SETS = [
|
|
42
46
|
["openai/gpt-5.4", "openai-codex/gpt-5.4"],
|
|
@@ -53,6 +57,19 @@ const LEGACY_DEFAULT_SUPPORTED_MODEL_KEY_SETS = [
|
|
|
53
57
|
"openai-codex/gpt-5.6-terra",
|
|
54
58
|
"openai-codex/gpt-5.6-luna",
|
|
55
59
|
],
|
|
60
|
+
[
|
|
61
|
+
"openai/gpt-5.4",
|
|
62
|
+
"openai/gpt-5.4-mini",
|
|
63
|
+
"openai/gpt-5.5",
|
|
64
|
+
"openai/gpt-5.6-sol",
|
|
65
|
+
"openai/gpt-5.6-terra",
|
|
66
|
+
"openai/gpt-5.6-luna",
|
|
67
|
+
"openai-codex/gpt-5.4",
|
|
68
|
+
"openai-codex/gpt-5.5",
|
|
69
|
+
"openai-codex/gpt-5.6-sol",
|
|
70
|
+
"openai-codex/gpt-5.6-terra",
|
|
71
|
+
"openai-codex/gpt-5.6-luna",
|
|
72
|
+
],
|
|
56
73
|
] as const;
|
|
57
74
|
|
|
58
75
|
interface FastModeState {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@benvargas/pi-openai-fast",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "OpenAI fast mode toggle for pi - Enables priority service tier on supported GPT-5 models",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "OpenAI fast mode toggle for pi - Enables priority service tier on supported GPT-5 and GPT-6 models",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi",
|
|
7
7
|
"pi-package",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"gpt-5.4",
|
|
13
13
|
"gpt-5.5",
|
|
14
14
|
"gpt-5.6",
|
|
15
|
+
"gpt-6-astra",
|
|
15
16
|
"fast",
|
|
16
17
|
"priority",
|
|
17
18
|
"service-tier"
|