@monotykamary/pi-better-openai 0.2.13 → 0.2.14

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
@@ -155,7 +155,7 @@ The footer shows `fast` or `ultrafast` only when supported by the current model.
155
155
 
156
156
  ## Typed decisions
157
157
 
158
- OpenAI's [Decisions API](https://developers.openai.com/api/docs/guides/decisions) is available as the native classifier `openai/gpt-6-luna`, **not a chat-completion fallback**. Upstream Pi has an adapter on `main`, but published Pi 1.0.4 does not. This extension supplies a compatibility implementation only when the host lacks one; a built-in Decisions adapter always wins. Native OpenAI chat models, authentication, and transport are preserved.
158
+ OpenAI's [Decisions API](https://developers.openai.com/api/docs/guides/decisions) is available as the native classifier `openai/gpt-6-luna`, **not a chat-completion fallback**. Pi 1.1.0 ships the adapter, including native codemode image classification. This extension supplies a compatibility implementation only when the host lacks one; a built-in Decisions adapter always wins. Native OpenAI chat models, authentication, and transport are preserved.
159
159
 
160
160
  Use an **OpenAI API key** via `/login openai` or `OPENAI_API_KEY`. ChatGPT/Codex OAuth does not grant Decisions access. If `/login openai` stores OAuth, it takes precedence over the environment key: select the API-key login instead. No credentials are copied between providers. Catalog presence does not guarantee account entitlement.
161
161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monotykamary/pi-better-openai",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "Improve OpenAI in pi with fast mode, usage stats, realtime voice, image generation, and footer polish.",
5
5
  "keywords": [
6
6
  "fast",
@@ -65,9 +65,9 @@
65
65
  "ws": "8.21.2"
66
66
  },
67
67
  "devDependencies": {
68
- "@earendil-works/pi-ai": "1.0.2",
69
- "@earendil-works/pi-coding-agent": "1.0.2",
70
- "@earendil-works/pi-tui": "1.0.2",
68
+ "@earendil-works/pi-ai": "1.1.0",
69
+ "@earendil-works/pi-coding-agent": "1.1.0",
70
+ "@earendil-works/pi-tui": "1.1.0",
71
71
  "@types/node": "~22.19.0",
72
72
  "@types/proxy-from-env": "1.0.4",
73
73
  "@types/ws": "8.18.1",
@@ -89,9 +89,9 @@
89
89
  "@oh-my-pi/pi-natives-win32-x64": "17.2.9"
90
90
  },
91
91
  "overrides": {
92
- "@earendil-works/pi-agent-core": "1.0.2",
93
- "@earendil-works/pi-ai": "1.0.2",
94
- "brace-expansion": "5.0.11",
92
+ "@earendil-works/pi-agent-core": "1.1.0",
93
+ "@earendil-works/pi-ai": "1.1.0",
94
+ "brace-expansion": "5.0.12",
95
95
  "nanoid": "3.3.18",
96
96
  "postcss": "8.5.25",
97
97
  "protobufjs": "7.6.5",
@@ -14,7 +14,7 @@ Research checkpoint: September 29, 2026 (UTC). Announcements and account entitle
14
14
 
15
15
  The [public Decisions guide](https://developers.openai.com/api/docs/guides/decisions) now documents `POST /v1/decisions`, `gpt-6-luna`, predicates/choices/scores, inline image inputs, refusals, and input-only pricing. This supersedes the original research checkpoint above.
16
16
 
17
- Pi's upstream `main` includes `packages/ai/src/api/openai-decisions.ts` and an `openai` classifier registration. Published Pi 1.0.4 and this project's pinned 1.0.2 do not include them. `src/openai-decisions.ts` provides compatibility through the same native classifier contract; it skips registration entirely when the host provides Decisions. Remove the shim once the minimum supported host ships the adapter.
17
+ Pi 1.1.0, now pinned for development, ships `packages/ai/src/api/openai-decisions.ts` and the `openai` classifier registration. `src/openai-decisions.ts` provides compatibility through the same native classifier contract; it skips registration entirely when the host provides Decisions. Remove the shim once the minimum supported host ships the adapter.
18
18
 
19
19
  - OpenAI chat transport, catalog, and native credential resolution are retained. Only the missing classifier operation is added. OAuth discovery excludes Decisions; API-key access is required, with no Codex credential substitution or chat fallback.
20
20
  - Native codemode and Fabric call `modelRegistry.classify`; no separate decision tool protocol is required. Native requests support optional inline `images`. The bounded `openai_decide` wrapper remains JSON-state-only and opt-in.