pi-openai-codex-compat 0.0.15 → 0.0.16

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.0.16 - 2026-09-23
6
+
7
+ ### Added
8
+
9
+ - Opt-in Responses Lite for GPT-6 Sol and Luna on Pi 0.87.1.
10
+
5
11
  ## 0.0.15 - 2026-09-23
6
12
 
7
13
  ### Fixed
package/README.md CHANGED
@@ -220,9 +220,10 @@ Defaults:
220
220
  | `reasoningMode` | `standard`, `pro` | `standard` | Controls supported models' execution mode independently of Pi's reasoning-effort control. The default omits `reasoning.mode`; `pro` sends `reasoning.mode: "pro"`. |
221
221
 
222
222
  Responses Lite supports exactly `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`,
223
- and `gpt-6-astra`. Pro reasoning mode supports `gpt-5.6`, `gpt-5.6-*`, and
224
- exactly `gpt-6-astra`. Both controls remain opt-in; other GPT-6 model IDs are
225
- not included.
223
+ `gpt-6-astra`, `gpt-6-sol`, and `gpt-6-luna`. Pro reasoning mode supports
224
+ `gpt-5.6`, `gpt-5.6-*`, and exactly `gpt-6-astra`. GPT-6 Sol and Luna use
225
+ standard reasoning mode even when `pro` is configured. Both controls remain
226
+ opt-in. GPT-6 Sol and Luna require Pi 0.87.1's model catalog.
226
227
 
227
228
  Invalid JSON setting values are ignored and invalid JSON does not prevent Pi from starting. The settings pane never writes on ordinary changes, refuses to overwrite invalid JSON when `Enter` or `Ctrl+S` attempts to save, and retains unknown keys when saving. Project configuration is read only when the project is trusted.
228
229
 
@@ -591,7 +592,7 @@ npm run pack:dry
591
592
  `mise run check` runs the linters, formatters, type checks, and the offline
592
593
  test suite; `mise run test` runs only the offline suite. Both tasks bind
593
594
  `PI_PACKAGE_DIR` to `node_modules/@earendil-works/pi-coding-agent`, so tests
594
- that load Pi in-process read this repository's Pi 0.87.0 resources even when a
595
+ that load Pi in-process read this repository's Pi 0.87.1 resources even when a
595
596
  global `PI_PACKAGE_DIR` points at another installation. Ordinary `pi` launches
596
597
  outside these tasks are unaffected. Offline tests also exercise
597
598
  `scripts/release.ts` with every child process mocked: they never run Git, npm,
@@ -607,10 +608,13 @@ mise run test:live:codex
607
608
  ```
608
609
 
609
610
  The task obtains the local Codex bearer token and runs the tests with
610
- `gpt-5.6-luna` at medium reasoning effort.
611
+ `gpt-5.6-luna`, `gpt-6-sol`, and `gpt-6-luna` at medium reasoning effort.
611
612
  It also packs the extension and loads that archive through the shipped Pi
612
- 0.87.0 CLI. Ordinary Responses and Responses Lite tests exercise tool calls,
613
+ 0.87.1 CLI. Ordinary Responses and Responses Lite tests exercise tool calls,
613
614
  prompt reload, native compaction, and persisted-session resume against Codex.
615
+ All three models use standard reasoning mode. SDK tests verify Responses Lite
616
+ WebSocket history, prewarming, continuation, and the built-in read tool.
617
+ CLI tests also execute the built-in read tool after resume.
614
618
  Test credentials stay in memory and child-process environments. Test sessions
615
619
  and configuration are isolated from the user's agent directory.
616
620
 
@@ -622,8 +626,8 @@ The packaged-CLI test selects its archive and executable as follows:
622
626
  existing regular file that `tar` can list, and an empty, missing, directory,
623
627
  or invalid value fails the test instead of falling back to a fresh pack.
624
628
  - `PI_CODEX_CLI_PATH` selects another Pi `cli.js`; the default is this
625
- repository's Pi 0.87.0 dependency. The test asserts that the selected
626
- executable reports version 0.87.0, the only Pi version the packaged CLI test
629
+ repository's Pi 0.87.1 dependency. The test asserts that the selected
630
+ executable reports version 0.87.1, the only Pi version the packaged CLI test
627
631
  is run against. The supported range is `>=0.87.0 <0.88.0`.
628
632
  - Each Pi child process receives `PI_PACKAGE_DIR` bound to the selected
629
633
  executable's package directory, so the runtime under test reads its own
@@ -10,6 +10,8 @@ const RESPONSES_LITE_MODELS: ReadonlySet<string> = new Set([
10
10
  "gpt-5.6-terra",
11
11
  "gpt-5.6-luna",
12
12
  "gpt-6-astra",
13
+ "gpt-6-sol",
14
+ "gpt-6-luna",
13
15
  ]);
14
16
 
15
17
  function isHostedTool(tool: JsonRecord): boolean {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-openai-codex-compat",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "OpenAI Codex compatibility for Pi with native compaction, fast mode, and Codex-optimized capabilities",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -51,9 +51,9 @@
51
51
  "devDependencies": {
52
52
  "@2h2d/oxlint-config": "0.1.1",
53
53
  "@2h2d/ts-config": "0.0.1",
54
- "@earendil-works/pi-ai": "0.87.0",
55
- "@earendil-works/pi-coding-agent": "0.87.0",
56
- "@earendil-works/pi-tui": "0.87.0",
54
+ "@earendil-works/pi-ai": "0.87.1",
55
+ "@earendil-works/pi-coding-agent": "0.87.1",
56
+ "@earendil-works/pi-tui": "0.87.1",
57
57
  "@types/node": "22.20.1",
58
58
  "oxfmt": "0.64.0",
59
59
  "oxlint": "1.79.0",