openai-ws-opencode 0.1.12 → 0.1.13
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/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +4 -1
package/dist/constants.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const OPENAI_WS_URL = "wss://api.openai.com/v1/responses";
|
|
|
11
11
|
export declare const CODEX_WS_URL = "wss://chatgpt.com/backend-api/codex/responses";
|
|
12
12
|
export declare const OPENAI_WS_BETA = "responses_websockets=2026-02-06";
|
|
13
13
|
export declare const CODEX_ORIGINATOR = "opencode";
|
|
14
|
-
export declare const USER_AGENT = "openai-ws-opencode/0.1.
|
|
14
|
+
export declare const USER_AGENT = "openai-ws-opencode/0.1.13";
|
|
15
15
|
export declare const CODEX_OAUTH_SCOPE = "openid profile email offline_access";
|
|
16
16
|
export declare const OAUTH_PORT = 1455;
|
|
17
17
|
export declare const X_CODEX_TURN_STATE_HEADER = "x-codex-turn-state";
|
package/dist/constants.js
CHANGED
|
@@ -11,7 +11,7 @@ export const OPENAI_WS_URL = "wss://api.openai.com/v1/responses";
|
|
|
11
11
|
export const CODEX_WS_URL = "wss://chatgpt.com/backend-api/codex/responses";
|
|
12
12
|
export const OPENAI_WS_BETA = "responses_websockets=2026-02-06";
|
|
13
13
|
export const CODEX_ORIGINATOR = "opencode";
|
|
14
|
-
export const USER_AGENT = "openai-ws-opencode/0.1.
|
|
14
|
+
export const USER_AGENT = "openai-ws-opencode/0.1.13";
|
|
15
15
|
export const CODEX_OAUTH_SCOPE = "openid profile email offline_access";
|
|
16
16
|
export const OAUTH_PORT = 1455;
|
|
17
17
|
export const X_CODEX_TURN_STATE_HEADER = "x-codex-turn-state";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openai-ws-opencode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "OpenCode plugin for OpenAI Responses WebSocket transport.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
"lint": "tsc --noEmit -p tsconfig.json",
|
|
36
36
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
37
37
|
"test": "vitest run",
|
|
38
|
+
"live:test": "bun scripts/live-opencode.ts",
|
|
39
|
+
"hooks:install": "bun scripts/install-hooks.ts",
|
|
40
|
+
"prepare": "bun scripts/install-hooks.ts",
|
|
38
41
|
"build": "tsc -p tsconfig.build.json && bun build ./bin/setup.ts --target=node --format=esm --outfile=bin/setup.js --external=jsonc-parser",
|
|
39
42
|
"prepack": "bun run build",
|
|
40
43
|
"prepublishOnly": "bun run lint && bun run typecheck && bun test && bun run build"
|