@oai404iao/pi-codex-minimal-tools 4.0.0 → 4.1.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/LICENSE +1 -8
- package/README.md +85 -480
- package/THIRD_PARTY_NOTICES.md +13 -120
- package/index.ts +11 -2
- package/package.json +18 -23
- package/LICENSES/Apache-2.0.txt +0 -201
- package/LICENSES/OpenAI-Codex-NOTICE.txt +0 -6
- package/config.schema.json +0 -74
- package/models.schema.json +0 -217
- package/provenance/openai-codex-40eac3ce-sol-luna.json +0 -42
- package/provenance/openai-codex-ddea03ad-astra.json +0 -54
- package/provenance/openai-codex-eb9dceba-reserved-tools.json +0 -140
- package/src/activation.ts +0 -1
- package/src/adapter/compaction/checkpoint.ts +0 -1
- package/src/adapter/compaction/collect.ts +0 -1
- package/src/adapter/compaction/http.ts +0 -1
- package/src/adapter/compaction/request.ts +0 -1
- package/src/adapter/compaction/transport.ts +0 -1
- package/src/adapter/compaction/websocket.ts +0 -1
- package/src/background-image-generation.ts +0 -1
- package/src/capabilities.ts +0 -1
- package/src/codex-http.ts +0 -1
- package/src/codex-identity-extension.ts +0 -1
- package/src/codex-request-profile.ts +0 -1
- package/src/codex-reserved-tools.ts +0 -1
- package/src/codex-wire-identity.ts +0 -1
- package/src/extension/prewarm-snapshot.ts +0 -1
- package/src/extension/provider-presentation.ts +0 -1
- package/src/extension/provider-runtime.ts +0 -1
- package/src/extension/register.ts +0 -36
- package/src/extension/startup-prewarm.ts +0 -1
- package/src/fast-mode.ts +0 -1
- package/src/glyphs.ts +0 -1
- package/src/index.ts +0 -11
- package/src/model-catalog/catalog.ts +0 -1
- package/src/model-catalog/default-models.json +0 -289
- package/src/model-catalog/runtime.ts +0 -1
- package/src/model-catalog/types.ts +0 -1
- package/src/native-compaction.ts +0 -1
- package/src/patch/apply.ts +0 -1
- package/src/patch/parser.ts +0 -1
- package/src/patch/render.ts +0 -1
- package/src/provider-headers.ts +0 -1
- package/src/provider-native-tools.ts +0 -1
- package/src/provider-shim.ts +0 -20
- package/src/providers/codex-apply-patch-tool.ts +0 -1
- package/src/providers/codex-apply-patch.lark +0 -19
- package/src/providers/openai-codex/cache-key.ts +0 -1
- package/src/providers/openai-codex/captured-stream.ts +0 -1
- package/src/providers/openai-codex/constants.ts +0 -1
- package/src/providers/openai-codex/continuation.ts +0 -1
- package/src/providers/openai-codex/errors.ts +0 -1
- package/src/providers/openai-codex/events.ts +0 -1
- package/src/providers/openai-codex/headers.ts +0 -1
- package/src/providers/openai-codex/lite.ts +0 -1
- package/src/providers/openai-codex/message.ts +0 -1
- package/src/providers/openai-codex/prewarm.ts +0 -1
- package/src/providers/openai-codex/proxy.ts +0 -1
- package/src/providers/openai-codex/reasoning.ts +0 -1
- package/src/providers/openai-codex/request-body.ts +0 -1
- package/src/providers/openai-codex/request-context.ts +0 -1
- package/src/providers/openai-codex/request-metadata.ts +0 -1
- package/src/providers/openai-codex/retry.ts +0 -1
- package/src/providers/openai-codex/runtime.ts +0 -1
- package/src/providers/openai-codex/sse.ts +0 -1
- package/src/providers/openai-codex/stream-effects.ts +0 -1
- package/src/providers/openai-codex/stream.ts +0 -1
- package/src/providers/openai-codex/types.ts +0 -1
- package/src/providers/openai-codex/urls.ts +0 -1
- package/src/providers/openai-codex/usage.ts +0 -1
- package/src/providers/openai-codex/websocket-connection.ts +0 -1
- package/src/providers/openai-codex/websocket-events.ts +0 -1
- package/src/providers/openai-codex/websocket-session.ts +0 -1
- package/src/providers/openai-codex/websocket-socket.ts +0 -1
- package/src/providers/openai-codex/websocket-stream.ts +0 -1
- package/src/providers/openai-responses-shared.ts +0 -7
- package/src/providers/responses/citations.ts +0 -1
- package/src/providers/responses/history.ts +0 -1
- package/src/providers/responses/items.ts +0 -1
- package/src/providers/responses/markdown.ts +0 -1
- package/src/providers/responses/messages.ts +0 -1
- package/src/providers/responses/signatures.ts +0 -1
- package/src/providers/responses/stream-state.ts +0 -1
- package/src/providers/responses/stream.ts +0 -1
- package/src/providers/responses/text-renderer.ts +0 -1
- package/src/providers/responses/text.ts +0 -1
- package/src/providers/responses/tool-identity.ts +0 -1
- package/src/providers/responses/tools.ts +0 -1
- package/src/providers/responses/types.ts +0 -1
- package/src/providers/responses/usage.ts +0 -1
- package/src/settings.ts +0 -1
- package/src/tools/apply-patch.ts +0 -1
- package/src/tools/image-generation/capture.ts +0 -1
- package/src/tools/image-generation/display.ts +0 -1
- package/src/tools/image-generation/preview.ts +0 -1
- package/src/tools/image-generation/storage.ts +0 -1
- package/src/tools/image-generation/types.ts +0 -1
- package/src/tools/image-generation.ts +0 -1
- package/src/tools/view-image.ts +0 -1
- package/src/tools/web-search/activity.ts +0 -1
- package/src/tools/web-search/capture.ts +0 -1
- package/src/tools/web-search/render.ts +0 -1
- package/src/tools/web-search.ts +0 -1
- package/src/utils/images.ts +0 -1
- package/src/utils/theme.ts +0 -1
- /package/{src/subagent-inline.ts → subagent-inline.ts} +0 -0
package/models.schema.json
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://unpkg.com/@oai404iao/pi-codex-minimal-tools@1/models.schema.json",
|
|
4
|
-
"title": "@oai404iao/pi-codex-minimal-tools model catalog overrides",
|
|
5
|
-
"description": "Per-model Codex protocol and tool capability profiles. User entries override bundled entries by exact provider/model id.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"required": ["version", "models"],
|
|
9
|
-
"properties": {
|
|
10
|
-
"$schema": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"description": "JSON Schema URL used by editors for validation and completion.",
|
|
13
|
-
"default": "https://unpkg.com/@oai404iao/pi-codex-minimal-tools@1/models.schema.json"
|
|
14
|
-
},
|
|
15
|
-
"version": {
|
|
16
|
-
"const": 1,
|
|
17
|
-
"description": "Model catalog format version.",
|
|
18
|
-
"default": 1
|
|
19
|
-
},
|
|
20
|
-
"models": {
|
|
21
|
-
"type": "array",
|
|
22
|
-
"description": "Exact per-model profiles. Duplicate ids in one user file are rejected.",
|
|
23
|
-
"items": {
|
|
24
|
-
"$ref": "#/$defs/model"
|
|
25
|
-
},
|
|
26
|
-
"default": []
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"$defs": {
|
|
30
|
-
"modelId": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"pattern": "^[^\\s/]+/\\S+$"
|
|
33
|
-
},
|
|
34
|
-
"model": {
|
|
35
|
-
"type": "object",
|
|
36
|
-
"additionalProperties": false,
|
|
37
|
-
"required": ["id"],
|
|
38
|
-
"properties": {
|
|
39
|
-
"id": {
|
|
40
|
-
"$ref": "#/$defs/modelId",
|
|
41
|
-
"description": "Exact provider/model id, for example openai/gpt-5.5."
|
|
42
|
-
},
|
|
43
|
-
"extends": {
|
|
44
|
-
"$ref": "#/$defs/modelId",
|
|
45
|
-
"description": "Optional parent profile. The parent is deep-merged first; arrays are replaced."
|
|
46
|
-
},
|
|
47
|
-
"enabled": {
|
|
48
|
-
"type": "boolean",
|
|
49
|
-
"description": "Whether this profile can activate extension behavior."
|
|
50
|
-
},
|
|
51
|
-
"responses": {
|
|
52
|
-
"type": "object",
|
|
53
|
-
"additionalProperties": false,
|
|
54
|
-
"properties": {
|
|
55
|
-
"providerShim": {
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"description": "Use this extension's Codex Responses serializer/parser. The Pi model must use api openai-responses or openai-codex-responses."
|
|
58
|
-
},
|
|
59
|
-
"endpoint": {
|
|
60
|
-
"enum": ["auto", "openai", "codex"],
|
|
61
|
-
"description": "Endpoint and authentication shape."
|
|
62
|
-
},
|
|
63
|
-
"mode": {
|
|
64
|
-
"enum": ["standard", "lite"],
|
|
65
|
-
"description": "Standard Responses or the internal Codex Responses Lite envelope."
|
|
66
|
-
},
|
|
67
|
-
"reasoningSummary": {
|
|
68
|
-
"enum": ["auto", "concise", "detailed", "none"],
|
|
69
|
-
"description": "Reasoning summary mode. none omits reasoning.summary; absent defaults to auto in Standard mode and none in Lite mode."
|
|
70
|
-
},
|
|
71
|
-
"systemPromptPlacement": {
|
|
72
|
-
"enum": ["instructions", "developer"],
|
|
73
|
-
"description": "Standard-mode prompt placement. Lite always uses a developer message."
|
|
74
|
-
},
|
|
75
|
-
"transport": {
|
|
76
|
-
"enum": ["sse", "websocket", "websocket-cached", "auto"],
|
|
77
|
-
"description": "Responses transport and continuation strategy."
|
|
78
|
-
},
|
|
79
|
-
"websocketPrewarm": {
|
|
80
|
-
"type": "boolean",
|
|
81
|
-
"description": "At session startup, schedule one best-effort generate:false prewarm request containing only the stable system/tool envelope."
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"tools": {
|
|
86
|
-
"type": "object",
|
|
87
|
-
"additionalProperties": false,
|
|
88
|
-
"properties": {
|
|
89
|
-
"parallelCalls": {
|
|
90
|
-
"type": "boolean",
|
|
91
|
-
"description": "Whether the request permits parallel tool calls. Lite always forces false."
|
|
92
|
-
},
|
|
93
|
-
"applyPatch": {
|
|
94
|
-
"description": "Disable apply_patch, expose a JSON function tool, or use the Codex freeform custom tool.",
|
|
95
|
-
"enum": [false, "function", "custom"],
|
|
96
|
-
"enumDescriptions": [
|
|
97
|
-
"Do not expose an apply_patch tool.",
|
|
98
|
-
"Expose apply_patch as a regular JSON function tool.",
|
|
99
|
-
"Expose apply_patch as the Codex freeform custom tool."
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
"webSearch": {
|
|
103
|
-
"description": "Disable web search or choose hosted Responses search versus standalone Codex web.run.",
|
|
104
|
-
"if": {
|
|
105
|
-
"type": "boolean"
|
|
106
|
-
},
|
|
107
|
-
"then": {
|
|
108
|
-
"const": false
|
|
109
|
-
},
|
|
110
|
-
"else": {
|
|
111
|
-
"type": "object"
|
|
112
|
-
},
|
|
113
|
-
"defaultSnippets": [
|
|
114
|
-
{
|
|
115
|
-
"label": "Disable web search",
|
|
116
|
-
"description": "Do not expose web search for this model.",
|
|
117
|
-
"body": false
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"label": "Hosted web search",
|
|
121
|
-
"description": "Use the server-executed Responses web_search tool.",
|
|
122
|
-
"body": {
|
|
123
|
-
"implementation": "hosted"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"label": "Standalone web search",
|
|
128
|
-
"description": "Expose web.run and call the Codex alpha/search endpoint.",
|
|
129
|
-
"body": {
|
|
130
|
-
"implementation": "standalone"
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"additionalProperties": false,
|
|
135
|
-
"required": ["implementation"],
|
|
136
|
-
"properties": {
|
|
137
|
-
"implementation": {
|
|
138
|
-
"enum": ["hosted", "standalone"],
|
|
139
|
-
"enumDescriptions": [
|
|
140
|
-
"Use the server-executed Responses web_search tool.",
|
|
141
|
-
"Expose web.run and call the Codex alpha/search endpoint."
|
|
142
|
-
]
|
|
143
|
-
},
|
|
144
|
-
"contentTypes": {
|
|
145
|
-
"type": "array",
|
|
146
|
-
"description": "Search modalities advertised or accepted by this model.",
|
|
147
|
-
"minItems": 1,
|
|
148
|
-
"items": {
|
|
149
|
-
"enum": ["text", "image"]
|
|
150
|
-
},
|
|
151
|
-
"uniqueItems": true
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"imageGeneration": {
|
|
156
|
-
"description": "Disable image generation, use hosted Responses image_generation, or use standalone Codex Images endpoints.",
|
|
157
|
-
"enum": [false, "hosted", "standalone"],
|
|
158
|
-
"enumDescriptions": [
|
|
159
|
-
"Do not expose an image-generation tool.",
|
|
160
|
-
"Use the hosted Responses image_generation tool.",
|
|
161
|
-
"Expose image_gen.imagegen and call the standalone Codex Images endpoints."
|
|
162
|
-
]
|
|
163
|
-
},
|
|
164
|
-
"viewImage": {
|
|
165
|
-
"type": "boolean",
|
|
166
|
-
"description": "Expose the local view_image tool when the Pi model accepts image input."
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
"compaction": {
|
|
171
|
-
"enum": ["pi", "responses", "responses-compact"],
|
|
172
|
-
"description": "Pi summary compaction, Codex remote compaction v2, or the legacy /responses/compact endpoint."
|
|
173
|
-
},
|
|
174
|
-
"fast": {
|
|
175
|
-
"description": "Disable Fast mode for this model or configure its service tier and optional usage-cost multiplier.",
|
|
176
|
-
"if": {
|
|
177
|
-
"type": "boolean"
|
|
178
|
-
},
|
|
179
|
-
"then": {
|
|
180
|
-
"const": false
|
|
181
|
-
},
|
|
182
|
-
"else": {
|
|
183
|
-
"type": "object"
|
|
184
|
-
},
|
|
185
|
-
"defaultSnippets": [
|
|
186
|
-
{
|
|
187
|
-
"label": "Disable Fast mode",
|
|
188
|
-
"description": "Do not enable a Fast service tier for this model.",
|
|
189
|
-
"body": false
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"label": "Configure Fast mode",
|
|
193
|
-
"description": "Configure the Responses service tier used by the global Fast toggle.",
|
|
194
|
-
"body": {
|
|
195
|
-
"serviceTier": "priority"
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
"additionalProperties": false,
|
|
200
|
-
"required": ["serviceTier"],
|
|
201
|
-
"properties": {
|
|
202
|
-
"serviceTier": {
|
|
203
|
-
"type": "string",
|
|
204
|
-
"minLength": 1,
|
|
205
|
-
"description": "Responses service_tier value sent when the global Fast toggle is enabled."
|
|
206
|
-
},
|
|
207
|
-
"costMultiplier": {
|
|
208
|
-
"type": "number",
|
|
209
|
-
"exclusiveMinimum": 0,
|
|
210
|
-
"description": "Optional multiplier applied to Pi's reported request cost for this tier."
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"upstream": {
|
|
4
|
-
"repository": "https://github.com/openai/codex",
|
|
5
|
-
"revision": "ddea03ad049142943bdbf13e937b1d67e8c1ba0c",
|
|
6
|
-
"commitUrl": "https://github.com/openai/codex/commit/ddea03ad049142943bdbf13e937b1d67e8c1ba0c",
|
|
7
|
-
"license": "Apache-2.0"
|
|
8
|
-
},
|
|
9
|
-
"files": {
|
|
10
|
-
"LICENSE": {
|
|
11
|
-
"role": "upstream Apache-2.0 license",
|
|
12
|
-
"gitBlobSha": "4606e72e042564097e8780d66c1d4dcb611869bd",
|
|
13
|
-
"sha256": "d17f227e4df5da1600391338865ce0f3055211760a36688f816941d58232d8dc",
|
|
14
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/ddea03ad049142943bdbf13e937b1d67e8c1ba0c/LICENSE"
|
|
15
|
-
},
|
|
16
|
-
"NOTICE": {
|
|
17
|
-
"role": "upstream NOTICE",
|
|
18
|
-
"gitBlobSha": "2805899d56d0332d175cfc613c67d45d6f006db7",
|
|
19
|
-
"sha256": "9d71575ecfd9a843fc1677b0efb08053c6ba9fd686a0de1a6f5382fd3c220915",
|
|
20
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/ddea03ad049142943bdbf13e937b1d67e8c1ba0c/NOTICE"
|
|
21
|
-
},
|
|
22
|
-
"codex-rs/models-manager/models.json": {
|
|
23
|
-
"role": "GPT-6 Astra capabilities and defaults",
|
|
24
|
-
"gitBlobSha": "1b5ce2c515986f84147abe5f4fb6e9b0deab0470",
|
|
25
|
-
"sha256": "897614e513a591b362f76c34e4b4d31af5809a2b52f8c0ab57f2990c5bf4ab3d",
|
|
26
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/ddea03ad049142943bdbf13e937b1d67e8c1ba0c/codex-rs/models-manager/models.json"
|
|
27
|
-
},
|
|
28
|
-
"codex-rs/models-manager/src/model_info.rs": {
|
|
29
|
-
"role": "model metadata representation and context-window limits",
|
|
30
|
-
"gitBlobSha": "ca1006993137d66de19137ff136f7ac8d36f9da3",
|
|
31
|
-
"sha256": "919883a4a15f6f3cace2ec78388aa7f9f8e042f74f553877843552ed55bf15bf",
|
|
32
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/ddea03ad049142943bdbf13e937b1d67e8c1ba0c/codex-rs/models-manager/src/model_info.rs"
|
|
33
|
-
},
|
|
34
|
-
"codex-rs/core/src/client.rs": {
|
|
35
|
-
"role": "Responses Lite and WebSocket request behavior",
|
|
36
|
-
"gitBlobSha": "8d2db30d7bb942cd030cb8d511eaafba8cbe46dd",
|
|
37
|
-
"sha256": "6a9b3d5d60293ca694e1642c905b574c2c12da490cff1c165e485f35a81f6edb",
|
|
38
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/ddea03ad049142943bdbf13e937b1d67e8c1ba0c/codex-rs/core/src/client.rs"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"catalogReference": {
|
|
42
|
-
"package": "@earendil-works/pi-ai",
|
|
43
|
-
"version": "0.85.1",
|
|
44
|
-
"license": "MIT",
|
|
45
|
-
"repository": "https://github.com/earendil-works/pi",
|
|
46
|
-
"tarballIntegrity": "sha512-+VgVIJDkDO2efYJKEEqvPTH4zmnIaXdAppGbO+vKFA9qy5PdhFiAenuFAkU+oiCSfOC4dMHDyrjdQeL4ZoC5CQ==",
|
|
47
|
-
"path": "dist/providers/data/openai-codex.json",
|
|
48
|
-
"sha256": "a10bfcfd34db6bcb98d8ee46175e154cab30530a137dbf31ac1434020ed3ffdd"
|
|
49
|
-
},
|
|
50
|
-
"localImplementations": [
|
|
51
|
-
"pi-codex-runtime/src/model-catalog/default-models.json",
|
|
52
|
-
"pi-codex-minimal-tools/src/model-catalog/default-models.json"
|
|
53
|
-
]
|
|
54
|
-
}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": 1,
|
|
3
|
-
"upstream": {
|
|
4
|
-
"repository": "https://github.com/openai/codex",
|
|
5
|
-
"revision": "eb9dceba1a2e658142a456c5898836774835616b",
|
|
6
|
-
"commitUrl": "https://github.com/openai/codex/commit/eb9dceba1a2e658142a456c5898836774835616b",
|
|
7
|
-
"license": "Apache-2.0"
|
|
8
|
-
},
|
|
9
|
-
"files": {
|
|
10
|
-
"LICENSE": {
|
|
11
|
-
"role": "upstream Apache-2.0 license",
|
|
12
|
-
"gitBlobSha": "4606e72e042564097e8780d66c1d4dcb611869bd",
|
|
13
|
-
"sha256": "d17f227e4df5da1600391338865ce0f3055211760a36688f816941d58232d8dc",
|
|
14
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/LICENSE"
|
|
15
|
-
},
|
|
16
|
-
"NOTICE": {
|
|
17
|
-
"role": "upstream NOTICE",
|
|
18
|
-
"gitBlobSha": "2805899d56d0332d175cfc613c67d45d6f006db7",
|
|
19
|
-
"sha256": "9d71575ecfd9a843fc1677b0efb08053c6ba9fd686a0de1a6f5382fd3c220915",
|
|
20
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/NOTICE"
|
|
21
|
-
},
|
|
22
|
-
"codex-rs/ext/web-search/web_run_description.md": {
|
|
23
|
-
"role": "exact web.run function description",
|
|
24
|
-
"gitBlobSha": "77be9a0a03e6e2e2760651e903ead2dce9996a57",
|
|
25
|
-
"sha256": "1f3879b44690eb7aad9ba97351acda16c4d0c26847bcb4af2964d5989404407e",
|
|
26
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/ext/web-search/web_run_description.md"
|
|
27
|
-
},
|
|
28
|
-
"codex-rs/ext/web-search/src/tool.rs": {
|
|
29
|
-
"role": "web namespace and tool construction",
|
|
30
|
-
"gitBlobSha": "9747b75eddd1052ee4d75e868a644de7fd4135c1",
|
|
31
|
-
"sha256": "6ce56d7705c4b29b91d9d39af5468788a04dd925b414c7b44de67014f3329cb3",
|
|
32
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/ext/web-search/src/tool.rs"
|
|
33
|
-
},
|
|
34
|
-
"codex-rs/ext/web-search/src/schema.rs": {
|
|
35
|
-
"role": "web parameter-schema generation",
|
|
36
|
-
"gitBlobSha": "2f71f1595c3b75d21cf78f35877f75b9314a3737",
|
|
37
|
-
"sha256": "6371391751d2a5dddad546aa810a6c64f770498702cec8153df74d1d7dff6f9b",
|
|
38
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/ext/web-search/src/schema.rs"
|
|
39
|
-
},
|
|
40
|
-
"codex-rs/codex-api/src/search.rs": {
|
|
41
|
-
"role": "web SearchCommands input types",
|
|
42
|
-
"gitBlobSha": "237e7a7ebff4a0eeaa6dbb7b94c457d23dfc09de",
|
|
43
|
-
"sha256": "a83fd7ddd41c86985cce2aa899a2907ca820c226d5e7337949cc7e47a35c5f4f",
|
|
44
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/codex-api/src/search.rs"
|
|
45
|
-
},
|
|
46
|
-
"codex-rs/ext/image-generation/imagegen_description.md": {
|
|
47
|
-
"role": "exact image_gen.imagegen function description",
|
|
48
|
-
"gitBlobSha": "368aa10ea8f1909f9171b7a7b701bba6321f6f89",
|
|
49
|
-
"sha256": "77a992a7c90e45fcd11623a1efa34bfd4c7870697e0aa54ce9b28f690877170e",
|
|
50
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/ext/image-generation/imagegen_description.md"
|
|
51
|
-
},
|
|
52
|
-
"codex-rs/ext/image-generation/src/lib.rs": {
|
|
53
|
-
"role": "image namespace and function names",
|
|
54
|
-
"gitBlobSha": "fd9db419309e5b06acb944a553f5ef144c8a261d",
|
|
55
|
-
"sha256": "c710abe1967cd3f7faaf78c0a35de0f5e6cc5c461f130b79d2b25d27ba8df9de",
|
|
56
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/ext/image-generation/src/lib.rs"
|
|
57
|
-
},
|
|
58
|
-
"codex-rs/ext/image-generation/src/tool.rs": {
|
|
59
|
-
"role": "image namespace-tool construction and ImagegenArgs schema",
|
|
60
|
-
"gitBlobSha": "ab973da74cec4de053cbe943171bb9ad5703bad6",
|
|
61
|
-
"sha256": "8b8abe637c63e1fa8f52340a4609d96f37a5089364c4d82f0e695fd6731b2206",
|
|
62
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/ext/image-generation/src/tool.rs"
|
|
63
|
-
},
|
|
64
|
-
"codex-rs/tools/src/responses_api.rs": {
|
|
65
|
-
"role": "namespace serialization and descriptions",
|
|
66
|
-
"gitBlobSha": "e450dcf35f93ab4af7bf3f34956755066114ccae",
|
|
67
|
-
"sha256": "7af0354e43c3fa7f052d86df5ae0c6ce276569243af6f6ea5fe00abcb15bd244",
|
|
68
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/tools/src/responses_api.rs"
|
|
69
|
-
},
|
|
70
|
-
"codex-rs/tools/src/tool_spec.rs": {
|
|
71
|
-
"role": "Responses Lite namespace-tool serialization",
|
|
72
|
-
"gitBlobSha": "530da1be164ce3c6aa4b128ccb878bda7025e217",
|
|
73
|
-
"sha256": "af8b5286fb6d2eb3574c484b25076f515bca2d4350ecb5059e436966ecdd519d",
|
|
74
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/tools/src/tool_spec.rs"
|
|
75
|
-
},
|
|
76
|
-
"codex-rs/core/src/client.rs": {
|
|
77
|
-
"role": "Responses Lite additional_tools placement",
|
|
78
|
-
"gitBlobSha": "da3b6dad382fd4520026ac447c270e5cc11fa887",
|
|
79
|
-
"sha256": "4b4d00234a7fb649525fdcc913ffe288e4ef3348a916acbd265c22607fd8652d",
|
|
80
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/core/src/client.rs"
|
|
81
|
-
},
|
|
82
|
-
"codex-rs/Cargo.toml": {
|
|
83
|
-
"role": "pinned workspace dependency manifest for schema generation",
|
|
84
|
-
"gitBlobSha": "f23232e3d0b8246330d2409fc7fe9690062075c2",
|
|
85
|
-
"sha256": "2e8122fdd528a4d648d9417865153827dc5f7b45ee3afd86bfb129a1e01dcdb8",
|
|
86
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/Cargo.toml"
|
|
87
|
-
},
|
|
88
|
-
"codex-rs/Cargo.lock": {
|
|
89
|
-
"role": "pinned schema-generator dependency lockfile",
|
|
90
|
-
"gitBlobSha": "a67d1f3d7b062424d881a612f4cfd8b14e0ac630",
|
|
91
|
-
"sha256": "3a4a5361f289227c1ce09dc072811a1e7d1c7b599c58dd91dce6758d187c993d",
|
|
92
|
-
"rawUrl": "https://raw.githubusercontent.com/openai/codex/eb9dceba1a2e658142a456c5898836774835616b/codex-rs/Cargo.lock"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"localCompatibilitySerialization": {
|
|
96
|
-
"path": "src/codex-reserved-tools.ts",
|
|
97
|
-
"classification": "modified TypeScript compatibility serialization",
|
|
98
|
-
"boundary": "This local compatibility path uses an internal Codex Responses Lite shape and does not claim a stable or OpenAI-supported public API contract.",
|
|
99
|
-
"canonicalization": "SHA-256 of recursively lexicographically sorted JSON object keys; arrays retain their order and no whitespace is emitted.",
|
|
100
|
-
"namespaces": {
|
|
101
|
-
"web_search": {
|
|
102
|
-
"namespace": "web",
|
|
103
|
-
"function": "run",
|
|
104
|
-
"description": {
|
|
105
|
-
"sourcePath": "codex-rs/ext/web-search/web_run_description.md",
|
|
106
|
-
"relationship": "byte-for-byte",
|
|
107
|
-
"sha256": "1f3879b44690eb7aad9ba97351acda16c4d0c26847bcb4af2964d5989404407e"
|
|
108
|
-
},
|
|
109
|
-
"parameters": {
|
|
110
|
-
"sourcePaths": [
|
|
111
|
-
"codex-rs/ext/web-search/src/tool.rs",
|
|
112
|
-
"codex-rs/ext/web-search/src/schema.rs",
|
|
113
|
-
"codex-rs/codex-api/src/search.rs"
|
|
114
|
-
],
|
|
115
|
-
"relationship": "compatibility serialization",
|
|
116
|
-
"canonicalJsonSha256": "de3be87e7abfe9b67ba757f27804d4206b51c2a8de9e9799fa7db9ef4abe3539"
|
|
117
|
-
},
|
|
118
|
-
"canonicalJsonSha256": "f67597d3df3f3a77cb517646508e7305804ea029c6f8b1c1c1f241f0de0b214f"
|
|
119
|
-
},
|
|
120
|
-
"image_generation": {
|
|
121
|
-
"namespace": "image_gen",
|
|
122
|
-
"function": "imagegen",
|
|
123
|
-
"description": {
|
|
124
|
-
"sourcePath": "codex-rs/ext/image-generation/imagegen_description.md",
|
|
125
|
-
"relationship": "byte-for-byte",
|
|
126
|
-
"sha256": "77a992a7c90e45fcd11623a1efa34bfd4c7870697e0aa54ce9b28f690877170e"
|
|
127
|
-
},
|
|
128
|
-
"parameters": {
|
|
129
|
-
"sourcePaths": [
|
|
130
|
-
"codex-rs/ext/image-generation/src/lib.rs",
|
|
131
|
-
"codex-rs/ext/image-generation/src/tool.rs"
|
|
132
|
-
],
|
|
133
|
-
"relationship": "compatibility serialization",
|
|
134
|
-
"canonicalJsonSha256": "b4fea7c38ae74635e0072643ac2030899db242657071271e13cdd192a7377a27"
|
|
135
|
-
},
|
|
136
|
-
"canonicalJsonSha256": "ccc508cff0a216bbdf368be8c98be94134a1aed0479cddd28c77d8e004f5b73e"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
package/src/activation.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/activation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/adapter/compaction/checkpoint";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/adapter/compaction/collect";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/adapter/compaction/http";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/adapter/compaction/request";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/adapter/compaction/transport";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/adapter/compaction/websocket";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-imagegen/internal/background-image-generation";
|
package/src/capabilities.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/capabilities";
|
package/src/codex-http.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/codex-http";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/codex-identity-extension";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/codex-request-profile";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/codex-reserved-tools";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/codex-wire-identity";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/extension/prewarm-snapshot";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/extension/provider-presentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/extension/provider-runtime";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
2
|
-
import type { OpenAIResponsesProviderController } from "@oai404iao/pi-codex-runtime/internal/providers/openai-codex/types";
|
|
3
|
-
import { createImageCapture } from "@oai404iao/pi-codex-imagegen/internal/tools/image-generation/capture";
|
|
4
|
-
import { createImageDisplay } from "@oai404iao/pi-codex-imagegen/internal/tools/image-generation/display";
|
|
5
|
-
import { createWebSearchCapture } from "@oai404iao/pi-codex-web-search/internal/tools/web-search/capture";
|
|
6
|
-
import { registerWebSearchActivityRenderer } from "@oai404iao/pi-codex-web-search/internal/tools/web-search/render";
|
|
7
|
-
import { registerResponsesProviderRuntime } from "@oai404iao/pi-codex-core/internal/extension/provider-runtime";
|
|
8
|
-
|
|
9
|
-
export function registerOpenAIResponsesProviders(
|
|
10
|
-
pi: ExtensionAPI,
|
|
11
|
-
options: { getCurrentCwd: () => string },
|
|
12
|
-
): OpenAIResponsesProviderController {
|
|
13
|
-
const images = createImageDisplay(pi);
|
|
14
|
-
return registerResponsesProviderRuntime(pi, options, {
|
|
15
|
-
clear: images.clear,
|
|
16
|
-
flush: images.flush,
|
|
17
|
-
scheduleFlush: images.scheduleFlush,
|
|
18
|
-
registerRenderers() {
|
|
19
|
-
images.registerRenderer();
|
|
20
|
-
registerWebSearchActivityRenderer(pi);
|
|
21
|
-
},
|
|
22
|
-
streamEffects() {
|
|
23
|
-
const imageSink = images.captureSink();
|
|
24
|
-
return {
|
|
25
|
-
createEventObserver(context) {
|
|
26
|
-
const imageCapture = createImageCapture(context, imageSink);
|
|
27
|
-
const webSearchCapture = createWebSearchCapture(context);
|
|
28
|
-
return async (event) => {
|
|
29
|
-
await imageCapture(event);
|
|
30
|
-
webSearchCapture(event);
|
|
31
|
-
};
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/extension/startup-prewarm";
|
package/src/fast-mode.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-core/internal/fast-mode";
|
package/src/glyphs.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/glyphs";
|
package/src/index.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
2
|
-
import codexImagegen from "@oai404iao/pi-codex-imagegen";
|
|
3
|
-
import codexWebSearch from "@oai404iao/pi-codex-web-search";
|
|
4
|
-
import codexCore from "@oai404iao/pi-codex-core";
|
|
5
|
-
|
|
6
|
-
/** Legacy installation entry; shared session claims deduplicate separately installed packages. */
|
|
7
|
-
export default function codexMinimalTools(pi: ExtensionAPI): void {
|
|
8
|
-
codexImagegen(pi);
|
|
9
|
-
codexWebSearch(pi);
|
|
10
|
-
codexCore(pi);
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@oai404iao/pi-codex-runtime/internal/model-catalog/catalog";
|