@oai404iao/pi-codex-minimal-tools 3.0.1 → 4.0.0
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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Codex-specific Responses support for Pi, driven by an exact per-model JSON
|
|
4
4
|
catalog instead of model-name heuristics.
|
|
5
5
|
|
|
6
|
-
Peer floor: Pi 0.
|
|
6
|
+
Peer floor: Pi 0.87.0; development target: 0.87.1.
|
|
7
7
|
|
|
8
8
|
> npm identity stays `@oai404iao/pi-codex-minimal-tools`. This checkout composes
|
|
9
9
|
> core, web-search and imagegen through a shared runtime. The four new packages
|
|
@@ -323,8 +323,7 @@ The pre-Astra entries include equivalent `openai/...` and
|
|
|
323
323
|
ChatGPT subscription route. A public-API or proxy Astra deployment requires an
|
|
324
324
|
explicit user profile for that endpoint.
|
|
325
325
|
|
|
326
|
-
Pi
|
|
327
|
-
floor. The extension composes its stream shim over that provider and does not
|
|
326
|
+
Pi supplies the Astra model descriptor. The extension composes its stream shim over that provider and does not
|
|
328
327
|
replace authentication, streams, or the model catalog.
|
|
329
328
|
The descriptor keeps the production default at 272,000 context tokens and
|
|
330
329
|
128,000 output tokens. A backend-authorized larger context must be selected
|
|
@@ -335,6 +334,14 @@ These entries are defaults, not claims that every proxy with the same model
|
|
|
335
334
|
slug supports the protocol. Override or disable a profile for the endpoint
|
|
336
335
|
actually in use.
|
|
337
336
|
|
|
337
|
+
`openai-codex/gpt-6-sol` and `openai-codex/gpt-6-luna` use separately verified
|
|
338
|
+
Lite profiles: developer placement, custom patch, standalone web/image,
|
|
339
|
+
parallel calls disabled on the wire, and no reasoning summary. Pi 0.87.1 supplies
|
|
340
|
+
their descriptors and `off -> none` mapping; no `ultra`, larger context,
|
|
341
|
+
pricing multiplier or public-API cache TTL is inferred. Fast mode is disabled.
|
|
342
|
+
See `provenance/openai-codex-40eac3ce-sol-luna.json`. Source/fixture verification
|
|
343
|
+
does not establish that a particular account can access these endpoints.
|
|
344
|
+
|
|
338
345
|
## Web Search
|
|
339
346
|
|
|
340
347
|
`tools.webSearch` supports two implementations:
|
|
@@ -404,10 +411,19 @@ response IDs. A failed or timed-out prewarm is not retried on every user
|
|
|
404
411
|
message. Continuation reuse always requires the new request to extend the
|
|
405
412
|
previous logical request exactly.
|
|
406
413
|
|
|
407
|
-
Native compaction stores opaque encrypted state in the Pi session.
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
414
|
+
Native compaction stores opaque encrypted state in the Pi session. Version 4
|
|
415
|
+
keeps no preceding messages in model context; the raw session/UI history remains.
|
|
416
|
+
It preserves other context handlers' changes and lets Pi restore current
|
|
417
|
+
system/tool state. Replay requires the same provider, model, API and effective
|
|
418
|
+
profile hash. If these change, restore the original configuration or navigate
|
|
419
|
+
before compaction: an opaque checkpoint's placeholder is not a usable text summary.
|
|
420
|
+
|
|
421
|
+
Legacy checkpoints still replay unchanged canonical contexts. If an earlier
|
|
422
|
+
context handler transforms a legacy checkpoint, continuation stops rather than
|
|
423
|
+
guessing its boundary or restoring filtered content. Run `/compact` on the
|
|
424
|
+
original model to migrate it. Failed recompression preserves the old checkpoint.
|
|
425
|
+
Treat sessions containing native compaction as sensitive data; older extension
|
|
426
|
+
versions cannot replay v4 checkpoints.
|
|
411
427
|
|
|
412
428
|
## Apply Patch
|
|
413
429
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -115,3 +115,10 @@ source revision is approved only for a one-time manual npm bootstrap from a
|
|
|
115
115
|
reviewed public `main` commit. It is intentionally excluded from guarded
|
|
116
116
|
GitHub Actions release artifacts until the npm trusted publisher is configured
|
|
117
117
|
and a separate reviewed activation changes its release track to `publishable`.
|
|
118
|
+
# GPT-6 Sol/Luna metadata
|
|
119
|
+
|
|
120
|
+
The exact Codex Sol/Luna profiles adapt capabilities independently checked at
|
|
121
|
+
Apache-2.0 Codex revision `40eac3ce8a0c10cbcb9db910d529355eb2f8fc09`, with
|
|
122
|
+
descriptor mappings from MIT-licensed Pi 0.87.1. The provenance record
|
|
123
|
+
`provenance/openai-codex-40eac3ce-sol-luna.json` records hashes and limitations.
|
|
124
|
+
This does not replace older immutable protocol or namespace evidence.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oai404iao/pi-codex-minimal-tools",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Model-profiled Codex Responses tools for Pi: WebSocket, Lite, web search, images, compaction, and apply_patch",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,21 +37,21 @@
|
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@earendil-works/pi-ai": ">=0.
|
|
41
|
-
"@earendil-works/pi-coding-agent": ">=0.
|
|
42
|
-
"@earendil-works/pi-tui": ">=0.
|
|
40
|
+
"@earendil-works/pi-ai": ">=0.87.0",
|
|
41
|
+
"@earendil-works/pi-coding-agent": ">=0.87.0",
|
|
42
|
+
"@earendil-works/pi-tui": ">=0.87.0",
|
|
43
43
|
"typebox": "*"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@oai404iao/pi-codex-runtime": "0.
|
|
47
|
-
"@oai404iao/pi-codex-core": "0.
|
|
48
|
-
"@oai404iao/pi-codex-web-search": "0.
|
|
49
|
-
"@oai404iao/pi-codex-imagegen": "0.
|
|
46
|
+
"@oai404iao/pi-codex-runtime": "0.4.0",
|
|
47
|
+
"@oai404iao/pi-codex-core": "0.4.0",
|
|
48
|
+
"@oai404iao/pi-codex-web-search": "0.3.0",
|
|
49
|
+
"@oai404iao/pi-codex-imagegen": "0.3.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@earendil-works/pi-ai": "0.
|
|
53
|
-
"@earendil-works/pi-coding-agent": "0.
|
|
54
|
-
"@earendil-works/pi-tui": "0.
|
|
52
|
+
"@earendil-works/pi-ai": "0.87.1",
|
|
53
|
+
"@earendil-works/pi-coding-agent": "0.87.1",
|
|
54
|
+
"@earendil-works/pi-tui": "0.87.1",
|
|
55
55
|
"@types/node": "^26.2.0",
|
|
56
56
|
"tsx": "^4.20.6",
|
|
57
57
|
"typebox": "^1.1.24",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"optional": true
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "351c1943c7402b56f36abbe22fe45bb639bf5f81"
|
|
92
92
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"upstream": {
|
|
4
|
+
"repository": "https://github.com/openai/codex",
|
|
5
|
+
"revision": "40eac3ce8a0c10cbcb9db910d529355eb2f8fc09",
|
|
6
|
+
"license": "Apache-2.0"
|
|
7
|
+
},
|
|
8
|
+
"files": {
|
|
9
|
+
"codex-rs/models-manager/models.json": {
|
|
10
|
+
"role": "Exact Sol/Luna model capabilities: Lite, freeform patch, summary none, WebSocket preference, standalone web selection",
|
|
11
|
+
"gitBlobSha": "8fd2c078f857aa9e12ee2b74131e539d3ead520f",
|
|
12
|
+
"sha256": "0178d235c589a31abd6ed0ea1e870935dc5819240eb0e813e178d3ebedf534f4"
|
|
13
|
+
},
|
|
14
|
+
"codex-rs/core/src/client.rs": {
|
|
15
|
+
"role": "Lite disables parallel_tool_calls despite the model's parallel capability",
|
|
16
|
+
"sha256": "0d590b240bdbfeafacbe597a02e4bdce467f8850d597814f214184dfb89ee510"
|
|
17
|
+
},
|
|
18
|
+
"codex-rs/core/src/tools/spec_plan.rs": {
|
|
19
|
+
"role": "Lite excludes hosted web/image; standalone image remains gated by provider, feature and account capabilities",
|
|
20
|
+
"sha256": "8dfa01644163e4826021815d064444ec12799aeaf8f7a952ec6289319f2fd36e"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"catalogReference": {
|
|
24
|
+
"package": "@earendil-works/pi-ai",
|
|
25
|
+
"version": "0.87.1",
|
|
26
|
+
"path": "dist/providers/data/openai-codex.json",
|
|
27
|
+
"sha256": "4bb30a26d1b40e1f67c9f24891fca0ce25b030bc4cbbb529be78608cd4466fdf",
|
|
28
|
+
"fields": ["api", "input", "thinkingLevelMap", "contextWindow", "maxTokens", "compat"]
|
|
29
|
+
},
|
|
30
|
+
"models": ["openai-codex/gpt-6-sol", "openai-codex/gpt-6-luna"],
|
|
31
|
+
"limits": [
|
|
32
|
+
"Source and fixture verification, not real account or endpoint acceptance.",
|
|
33
|
+
"Pi owns model descriptors and effort mappings; no ultra, context-window or pricing override.",
|
|
34
|
+
"Fast mode disabled: no verified Codex billing multiplier.",
|
|
35
|
+
"Public API 30m cache TTL is not evidence for a Codex Lite wire parameter.",
|
|
36
|
+
"Standalone tools retain existing explicit configuration and account gates."
|
|
37
|
+
],
|
|
38
|
+
"localImplementations": [
|
|
39
|
+
"pi-codex-runtime/src/model-catalog/default-models.json",
|
|
40
|
+
"pi-codex-minimal-tools/src/model-catalog/default-models.json"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -150,6 +150,35 @@
|
|
|
150
150
|
"endpoint": "codex"
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
|
+
{
|
|
154
|
+
"id": "openai-codex/gpt-6-sol",
|
|
155
|
+
"enabled": true,
|
|
156
|
+
"responses": {
|
|
157
|
+
"providerShim": true,
|
|
158
|
+
"endpoint": "codex",
|
|
159
|
+
"mode": "lite",
|
|
160
|
+
"systemPromptPlacement": "developer",
|
|
161
|
+
"transport": "auto",
|
|
162
|
+
"websocketPrewarm": true,
|
|
163
|
+
"reasoningSummary": "none"
|
|
164
|
+
},
|
|
165
|
+
"tools": {
|
|
166
|
+
"parallelCalls": false,
|
|
167
|
+
"applyPatch": "custom",
|
|
168
|
+
"webSearch": {
|
|
169
|
+
"implementation": "standalone",
|
|
170
|
+
"contentTypes": ["text", "image"]
|
|
171
|
+
},
|
|
172
|
+
"imageGeneration": "standalone",
|
|
173
|
+
"viewImage": false
|
|
174
|
+
},
|
|
175
|
+
"compaction": "responses",
|
|
176
|
+
"fast": false
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "openai-codex/gpt-6-luna",
|
|
180
|
+
"extends": "openai-codex/gpt-6-sol"
|
|
181
|
+
},
|
|
153
182
|
{
|
|
154
183
|
"id": "openai-codex/gpt-6-astra",
|
|
155
184
|
"extends": "openai/gpt-5.6-sol",
|