@diegopetrucci/pi-extensions 0.1.73 → 0.1.74

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.
@@ -55,16 +55,28 @@ OpenAI Codex Fast mode requires all of the following:
55
55
 
56
56
  - Provider `openai-codex`.
57
57
  - API `openai-codex-responses`.
58
- - Model `gpt-5.5`, `gpt-5.6-sol`, `gpt-5.6-terra`, or `gpt-5.6-luna`.
58
+ - Model `gpt-5.5`, `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `gpt-6-astra`, `gpt-6.1-sol`, `gpt-6-sol`, or `gpt-6-luna`.
59
59
  - ChatGPT OAuth/subscription auth, not API-key auth.
60
60
  - No existing `service_tier` field in the request payload.
61
61
 
62
- GPT-6.1 Sol is intentionally unsupported on this legacy Codex route. The
63
- Codex speed documentation lists GPT-6.1 Sol Fast with `service_tier: "fast"`,
64
- but Pi's legacy Codex service-tier cost handling currently accounts for
65
- `priority` and `flex`, not `fast`. The direct OpenAI API's `priority` alias is
66
- not evidence for the legacy Codex endpoint, so this extension leaves the route
67
- fail-closed without patching upstream pricing.
62
+ Codex evidence, 2026-10-03: the [maintainer's PR #103 review](https://github.com/diegopetrucci/pi-extensions/pull/103)
63
+ reports that the Codex model list advertises Fast as `priority` for `gpt-6-astra`,
64
+ `gpt-6.1-sol`, `gpt-6-sol`, and `gpt-6-luna`. The official Codex CLI
65
+ [sends Fast as `priority`](https://github.com/openai/codex/blob/b741e480e203f037ca726bc2a76d99a8e8668e66/codex-rs/protocol/src/config_types.rs#L539-L553).
66
+ The maintainer's live check through Pi 1.0.0 on that date returned HTTP 200 and
67
+ completed normally for `gpt-6-astra` and `gpt-6.1-sol`; `gpt-6-sol` and
68
+ `gpt-6-luna` are enabled based on the model list only. In that check,
69
+ `response.completed` always reported `service_tier: "default"`, with or without
70
+ `priority`, so the response cannot confirm Fast was applied.
71
+
72
+ Pi trusts the requested tier and applies a 2× multiplier to its displayed cost
73
+ estimate for `priority`; this does not measure included subscription allowance
74
+ consumption or confirm Fast was applied. [OpenAI's Codex speed documentation](https://developers.openai.com/codex/speed),
75
+ checked on 2026-10-03, lists `gpt-6-sol` and `gpt-6-luna` among supported Fast
76
+ models where available. It specifies 2.5× the Standard rate for included
77
+ subscription limits and 2× for purchased credits and Enterprise pay-as-you-go
78
+ billing. Treating Pi's 2× estimate as a subscription-limit multiplier would
79
+ understate the documented allowance consumption.
68
80
 
69
81
  Anthropic Fast mode requires all of the following:
70
82
 
@@ -148,9 +160,9 @@ The collection package loads this unified extension instead of `openai-fast` and
148
160
  - Anthropic Fast mode has separate rate limits, costs more than standard speed, and does not share prompt-cache prefixes with standard-speed requests.
149
161
  - Direct OpenAI Fast mode is limited to the confirmed GPT-6 API models above; Fast pricing, availability, and rate limits remain provider- and account-dependent.
150
162
  - Authoritative support evidence: [OpenAI Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) explicitly uses `gpt-6.1-sol` with `service_tier: "fast"` and documents `priority` as an equivalent alias for supported API models; the [GPT-6.1 Sol model page](https://developers.openai.com/api/docs/models/gpt-6.1-sol) documents the model itself.
151
- - The [Codex speed guide](https://developers.openai.com/codex/speed/) documents GPT-6.1 Sol Fast for ChatGPT-signed-in Codex, but legacy Codex support remains pending separate wire and cost validation; this ticket makes no live-certification claim.
163
+ - Codex Fast availability depends on plan, client, workspace settings, and rollout. Local eligibility is not live-provider certification.
152
164
  - Pi's provider catalog remains the source of reported model pricing, including any tiered pricing; this extension does not apply guessed discounts or rewrite cost metadata.
153
- - OpenAI Codex Fast mode intentionally does not affect API-key models, and GPT-6.1 Sol remains blocked on the legacy Codex route.
165
+ - OpenAI Codex Fast mode intentionally does not affect API-key models.
154
166
  - The retired `openai-fast` and `claude-fast` packages remain legacy standalone boundaries; new provider/auth behavior belongs only to this unified extension.
155
167
  - Existing `speed` and `service_tier` fields are never overwritten.
156
168
  - Pi's model catalog may not include a Fast-mode premium. Cost accounting depends on the provider reporting the effective tier in its streamed response, and this extension does not patch usage totals.
@@ -25,6 +25,10 @@ const OPENAI_SUPPORTED_MODELS = new Set([
25
25
  "gpt-5.6-sol",
26
26
  "gpt-5.6-terra",
27
27
  "gpt-5.6-luna",
28
+ "gpt-6-astra",
29
+ "gpt-6.1-sol",
30
+ "gpt-6-sol",
31
+ "gpt-6-luna",
28
32
  ]);
29
33
  const OPENAI_API_PROVIDER_ID = "openai";
30
34
  const OPENAI_API_IDS = new Set(["openai-responses", "openai-completions"]);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegopetrucci/pi-fast",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "A pi extension that enables Fast mode for supported direct OpenAI API, OpenAI Codex, and Anthropic Claude models based on the currently selected model.",
5
5
  "keywords": [
6
6
  "pi-package",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegopetrucci/pi-extensions",
3
- "version": "0.1.73",
3
+ "version": "0.1.74",
4
4
  "description": "A collection of pi extensions and skills for annotation UIs, context management, workflow audits, contrarian review, review-comment triage, notifications, brrr push alerts, safety guards, GitHub research, repo-local knowledge, todos, tool rendering, model/provider helpers, and Xiaohei-style article illustrations.",
5
5
  "keywords": [
6
6
  "pi-package",