@opencode-ai/client 0.0.0-next-15155 → 0.0.0-next-15159

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.
@@ -129,6 +129,9 @@ export function make(options) {
129
129
  health: {
130
130
  get: (requestOptions) => request({ method: "GET", path: `/api/health`, successStatus: 200, declaredStatuses: [401, 400], empty: false }, requestOptions),
131
131
  },
132
+ server: {
133
+ get: (requestOptions) => request({ method: "GET", path: `/api/server`, successStatus: 200, declaredStatuses: [401, 400], empty: false }, requestOptions),
134
+ },
132
135
  location: {
133
136
  get: (input, requestOptions) => request({
134
137
  method: "GET",
@@ -134,6 +134,9 @@ export type HealthGetOutput = {
134
134
  readonly version: string;
135
135
  readonly pid: number;
136
136
  };
137
+ export type ServerGetOutput = {
138
+ readonly urls: ReadonlyArray<string>;
139
+ };
137
140
  export type LocationGetInput = {
138
141
  readonly location?: {
139
142
  readonly location?: {
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-15155",
4
+ "version": "0.0.0-next-15159",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -41,8 +41,8 @@
41
41
  "typecheck": "tsgo --noEmit"
42
42
  },
43
43
  "dependencies": {
44
- "@opencode-ai/schema": "0.0.0-next-15155",
45
- "@opencode-ai/protocol": "0.0.0-next-15155"
44
+ "@opencode-ai/schema": "0.0.0-next-15159",
45
+ "@opencode-ai/protocol": "0.0.0-next-15159"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "effect": "4.0.0-beta.83"
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "devDependencies": {
56
56
  "@effect/platform-node": "4.0.0-beta.83",
57
- "@opencode-ai/httpapi-codegen": "0.0.0-next-15155",
57
+ "@opencode-ai/httpapi-codegen": "0.0.0-next-15159",
58
58
  "@tsconfig/bun": "1.0.9",
59
59
  "@types/bun": "1.3.13",
60
60
  "@typescript/native-preview": "7.0.0-dev.20251207.1",