@cortexkit/opencode-openai-auth 0.7.1 → 0.7.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/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const PackageVersion = "0.7.1";
1
+ export declare const PackageVersion = "0.7.2";
package/dist/ws.d.ts CHANGED
@@ -50,4 +50,22 @@ export declare function parseRateLimitSignal(value: unknown): {
50
50
  window: string;
51
51
  resetAt?: number;
52
52
  } | undefined;
53
+ /**
54
+ * Surfaced when a stream dies after output has reached the reader.
55
+ *
56
+ * Must not contain any substring the host reads as retryable — no provider
57
+ * wording, no response ids, no byte counts. `ws-pool.test.ts` pins it against
58
+ * the host's pattern set.
59
+ */
60
+ export declare const TERMINAL_AFTER_OUTPUT_MESSAGE = "The response ended early after part of it had already been shown. It was not sent again, because repeating it would duplicate that output and re-run any tools it had started. The transport log records what ended it.";
61
+ /**
62
+ * Surfaced when the peer refuses the request frame as too large (close 1009).
63
+ *
64
+ * Fixed text for the same reason as {@link TERMINAL_AFTER_OUTPUT_MESSAGE}: the
65
+ * host can override this error's non-retryable flag by matching the message,
66
+ * and resending a frame the peer has already measured and refused is the one
67
+ * outcome this path exists to prevent. The size and the peer's reason are
68
+ * logged instead.
69
+ */
70
+ export declare const OVERSIZED_FRAME_MESSAGE = "The request was larger than the websocket would carry, so it was sent over HTTP instead. Resending it unchanged over the same socket cannot succeed. The transport log records the size.";
53
71
  export * as OpenAIWebSocket from './ws';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/opencode-openai-auth",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -62,9 +62,9 @@
62
62
  "@opencode-ai/plugin": "*"
63
63
  },
64
64
  "dependencies": {
65
- "@opentui/core": ">=0.5.1",
66
- "@opentui/solid": ">=0.5.1",
67
- "ai": "^7.0.90",
65
+ "@opentui/core": ">=0.5.11",
66
+ "@opentui/solid": ">=0.5.11",
67
+ "ai": "^7.0.99",
68
68
  "jsonc-parser": "^3.3.1",
69
69
  "solid-js": "1.9.12"
70
70
  }