@janole/ai-sdk-provider-codex-asp 0.1.8 → 0.2.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 +10 -3
- package/dist/index.cjs +7 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +96 -1
- package/dist/index.d.ts +96 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
`@janole/ai-sdk-provider-codex-asp` is a [Vercel AI SDK](https://ai-sdk.dev/) v6 custom provider for the Codex App Server Protocol.
|
|
4
4
|
|
|
5
|
-
Status: POC feature-complete for language model usage. Currently tested with [codex-cli](https://github.com/openai/codex/releases/tag/rust-v0.
|
|
5
|
+
Status: POC feature-complete for language model usage. Currently tested with [codex-cli](https://github.com/openai/codex/releases/tag/rust-v0.105.0) 0.105.0.
|
|
6
6
|
|
|
7
7
|
- `LanguageModelV3` provider implementation
|
|
8
8
|
- Streaming (`streamText`) and non-streaming (`generateText`)
|
|
@@ -186,8 +186,10 @@ npm run qa # lint + typecheck + test (all-in-one)
|
|
|
186
186
|
|
|
187
187
|
### Generated Protocol Types
|
|
188
188
|
|
|
189
|
-
`src/protocol/app-server-protocol/` is gitignored, but selected generated files are intentionally tracked
|
|
190
|
-
|
|
189
|
+
`src/protocol/app-server-protocol/` is gitignored, but selected generated files are intentionally tracked with `git add -f` so protocol shape changes stay visible in PRs.
|
|
190
|
+
|
|
191
|
+
Important: for every tracked generated file, all imported generated type dependencies (direct + transitive) must also be tracked.
|
|
192
|
+
Use the local skill `.codex/skills/codex-protocol-type-upgrade/SKILL.md` for the exact workflow.
|
|
191
193
|
|
|
192
194
|
When protocol shapes change, clean and regenerate:
|
|
193
195
|
|
|
@@ -196,6 +198,11 @@ rm -rf src/protocol/app-server-protocol
|
|
|
196
198
|
npm run codex:generate-types
|
|
197
199
|
```
|
|
198
200
|
|
|
201
|
+
Then follow the skill workflow to:
|
|
202
|
+
- adapt runtime mappings if needed
|
|
203
|
+
- add missing generated dependencies with `git add -f`
|
|
204
|
+
- run `npm run typecheck` (and focused tests)
|
|
205
|
+
|
|
199
206
|
## License
|
|
200
207
|
|
|
201
208
|
MIT
|
package/dist/index.cjs
CHANGED
|
@@ -29,8 +29,13 @@ var ApprovalsDispatcher = class {
|
|
|
29
29
|
itemId: p.itemId,
|
|
30
30
|
approvalId: p.approvalId,
|
|
31
31
|
reason: p.reason,
|
|
32
|
+
networkApprovalContext: p.networkApprovalContext,
|
|
32
33
|
command: p.command,
|
|
33
|
-
cwd: p.cwd
|
|
34
|
+
cwd: p.cwd,
|
|
35
|
+
commandActions: p.commandActions,
|
|
36
|
+
additionalPermissions: p.additionalPermissions,
|
|
37
|
+
proposedExecpolicyAmendment: p.proposedExecpolicyAmendment,
|
|
38
|
+
proposedNetworkPolicyAmendments: p.proposedNetworkPolicyAmendments
|
|
34
39
|
});
|
|
35
40
|
const decision = await this.onCommandApproval(request);
|
|
36
41
|
return { decision };
|
|
@@ -881,7 +886,7 @@ var DynamicToolsDispatcher = class {
|
|
|
881
886
|
// package.json
|
|
882
887
|
var package_default = {
|
|
883
888
|
name: "@janole/ai-sdk-provider-codex-asp",
|
|
884
|
-
version: "0.
|
|
889
|
+
version: "0.2.0"};
|
|
885
890
|
|
|
886
891
|
// src/package-info.ts
|
|
887
892
|
var PACKAGE_NAME = package_default.name;
|