@opencode-ai/client 0.0.0-next-16664 → 0.0.0-next-16665

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.
@@ -505,6 +505,7 @@ export type Endpoint5_26Output = ({
505
505
  readonly error: {
506
506
  readonly type: string;
507
507
  readonly message: string;
508
+ readonly status?: number | undefined;
508
509
  };
509
510
  };
510
511
  } | {
@@ -692,6 +693,7 @@ export type Endpoint5_26Output = ({
692
693
  readonly error: {
693
694
  readonly type: string;
694
695
  readonly message: string;
696
+ readonly status?: number | undefined;
695
697
  };
696
698
  readonly cost?: (number & Brand.Brand<"Money.USD">) | undefined;
697
699
  readonly tokens?: {
@@ -907,6 +909,7 @@ export type Endpoint5_26Output = ({
907
909
  readonly error: {
908
910
  readonly type: string;
909
911
  readonly message: string;
912
+ readonly status?: number | undefined;
910
913
  };
911
914
  readonly content?: readonly [
912
915
  ({
@@ -955,6 +958,7 @@ export type Endpoint5_26Output = ({
955
958
  readonly error: {
956
959
  readonly type: string;
957
960
  readonly message: string;
961
+ readonly status?: number | undefined;
958
962
  };
959
963
  };
960
964
  } | {
@@ -1031,6 +1035,7 @@ export type Endpoint5_26Output = ({
1031
1035
  readonly error: {
1032
1036
  readonly type: string;
1033
1037
  readonly message: string;
1038
+ readonly status?: number | undefined;
1034
1039
  };
1035
1040
  readonly inputID?: SessionMessage.ID | undefined;
1036
1041
  };
@@ -607,6 +607,7 @@ export declare const make: (options?: {
607
607
  readonly error: {
608
608
  readonly type: string;
609
609
  readonly message: string;
610
+ readonly status?: number | undefined;
610
611
  };
611
612
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
612
613
  };
@@ -857,6 +858,7 @@ export declare const make: (options?: {
857
858
  readonly error: {
858
859
  readonly type: string;
859
860
  readonly message: string;
861
+ readonly status?: number | undefined;
860
862
  };
861
863
  readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
862
864
  readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
@@ -1175,6 +1177,7 @@ export declare const make: (options?: {
1175
1177
  readonly error: {
1176
1178
  readonly type: string;
1177
1179
  readonly message: string;
1180
+ readonly status?: number | undefined;
1178
1181
  };
1179
1182
  readonly callID: string;
1180
1183
  readonly executed: boolean;
@@ -1226,6 +1229,7 @@ export declare const make: (options?: {
1226
1229
  readonly error: {
1227
1230
  readonly type: string;
1228
1231
  readonly message: string;
1232
+ readonly status?: number | undefined;
1229
1233
  };
1230
1234
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1231
1235
  };
@@ -1329,6 +1333,7 @@ export declare const make: (options?: {
1329
1333
  readonly error: {
1330
1334
  readonly type: string;
1331
1335
  readonly message: string;
1336
+ readonly status?: number | undefined;
1332
1337
  };
1333
1338
  readonly reason: "auto" | "manual";
1334
1339
  readonly inputID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
@@ -175,6 +175,7 @@ export type ToolFileContent = {
175
175
  export type SessionStructuredError = {
176
176
  type: string;
177
177
  message: string;
178
+ status?: number;
178
179
  };
179
180
  export type SessionMessageCompactionRunning = {
180
181
  type: "compaction";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/client",
4
- "version": "0.0.0-next-16664",
4
+ "version": "0.0.0-next-16665",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -53,8 +53,8 @@
53
53
  "typecheck": "tsgo --noEmit"
54
54
  },
55
55
  "dependencies": {
56
- "@opencode-ai/schema": "0.0.0-next-16664",
57
- "@opencode-ai/protocol": "0.0.0-next-16664"
56
+ "@opencode-ai/schema": "0.0.0-next-16665",
57
+ "@opencode-ai/protocol": "0.0.0-next-16665"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "effect": "4.0.0-beta.101"
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@effect/platform-node": "4.0.0-beta.101",
69
- "@opencode-ai/httpapi-codegen": "0.0.0-next-16664",
69
+ "@opencode-ai/httpapi-codegen": "0.0.0-next-16665",
70
70
  "@tsconfig/bun": "1.0.9",
71
71
  "@types/bun": "1.3.13",
72
72
  "@typescript/native-preview": "7.0.0-dev.20251207.1",