@janole/ai-sdk-provider-codex-asp 0.3.1 → 0.3.2
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 +6 -0
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -152,7 +152,13 @@ See the [`examples/`](examples/) directory:
|
|
|
152
152
|
- [`cross-call-tools.ts`](examples/cross-call-tools.ts) — Standard AI SDK tools via Codex
|
|
153
153
|
- [`dynamic-tools.ts`](examples/dynamic-tools.ts) — Provider-level dynamic tools
|
|
154
154
|
- [`thread-continuation.ts`](examples/thread-continuation.ts) — Multi-turn thread resumption
|
|
155
|
+
- [`multi-step-thread.ts`](examples/multi-step-thread.ts) — Multi-step thread continuation with threadId verification
|
|
155
156
|
- [`approvals.ts`](examples/approvals.ts) — Command and file-change approval handling
|
|
157
|
+
- [`image-input.ts`](examples/image-input.ts) — Image input with `generateText`
|
|
158
|
+
- [`interrupt.ts`](examples/interrupt.ts) — Mid-turn interrupt via `onSessionCreated`
|
|
159
|
+
- [`list-models.ts`](examples/list-models.ts) — Discover available models via app-server protocol
|
|
160
|
+
- [`mid-turn-injection.ts`](examples/mid-turn-injection.ts) — Mid-turn message injection via `onSessionCreated`
|
|
161
|
+
- [`provider-executed-tools.ts`](examples/provider-executed-tools.ts) — Provider-executed tool calls (server-side commands)
|
|
156
162
|
|
|
157
163
|
Run any example with:
|
|
158
164
|
|
package/dist/index.cjs
CHANGED
|
@@ -958,7 +958,7 @@ var DynamicToolsDispatcher = class {
|
|
|
958
958
|
// package.json
|
|
959
959
|
var package_default = {
|
|
960
960
|
name: "@janole/ai-sdk-provider-codex-asp",
|
|
961
|
-
version: "0.3.
|
|
961
|
+
version: "0.3.2"};
|
|
962
962
|
|
|
963
963
|
// src/package-info.ts
|
|
964
964
|
var PACKAGE_NAME = package_default.name;
|
|
@@ -1793,10 +1793,11 @@ var CodexLanguageModel = class {
|
|
|
1793
1793
|
if (text.length === 0) {
|
|
1794
1794
|
return null;
|
|
1795
1795
|
}
|
|
1796
|
-
return {
|
|
1796
|
+
return stripUndefined({
|
|
1797
1797
|
type: "text",
|
|
1798
|
-
text
|
|
1799
|
-
|
|
1798
|
+
text,
|
|
1799
|
+
providerMetadata
|
|
1800
|
+
});
|
|
1800
1801
|
}).filter((part) => part !== null);
|
|
1801
1802
|
return stripUndefined({
|
|
1802
1803
|
content: [...textContent, ...passThroughContent],
|