@howaboua/pi-durable-openai-responses 0.9.1 → 0.10.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 +1 -1
- package/dist/activation.d.ts +12 -0
- package/dist/activation.js +6443 -0
- package/package.json +24 -3
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Codex mode remains the default. Explicit direct mode targets OpenAI's ordinary R
|
|
|
9
9
|
Requires pi-ai 1.4.0. Node.js 22.19 or newer is supported, with Linux tested. Cloudflare Workers with `nodejs_compat` use an explicit native Upgrade runtime, described below.
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npm install https://github.com/IgorWarzocha/pi-durable-components/releases/download/v0.
|
|
12
|
+
npm install https://github.com/IgorWarzocha/pi-durable-components/releases/download/v0.10.0/howaboua-pi-durable-openai-responses-0.10.0.tgz
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Register the provider with the same Models collection your Harness uses:
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ComponentInstance, type ComponentRequest } from "@howaboua/pi-durable-components";
|
|
2
|
+
import { type OpenAIResponsesProvider, type OpenAIResponsesProviderOptions } from "./index.ts";
|
|
3
|
+
export type ResponsesComponentOptions = (OpenAIResponsesProviderOptions<"openai-responses"> & {
|
|
4
|
+
mode: "direct";
|
|
5
|
+
}) | (OpenAIResponsesProviderOptions<"openai-codex-responses"> & {
|
|
6
|
+
mode?: "codex";
|
|
7
|
+
});
|
|
8
|
+
/** Grants the provider's HTTP/WebSocket/OAuth transports, not ambient credential files. */
|
|
9
|
+
export declare const openaiResponsesOptions: import("@howaboua/pi-durable-components").ComponentCapability<ResponsesComponentOptions>;
|
|
10
|
+
type ResponsesProvider = OpenAIResponsesProvider<"openai-responses"> | OpenAIResponsesProvider<"openai-codex-responses">;
|
|
11
|
+
export declare function createComponent(request: ComponentRequest): ComponentInstance<ResponsesProvider>;
|
|
12
|
+
export {};
|