@opencode/client 0.0.0-dev-1325 → 0.0.0-dev-1328

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.
Files changed (68) hide show
  1. package/dist/chunks/{service-j5hjvvb4.js → service-probe-1c19f6wy.js} +2 -2
  2. package/dist/chunks/{service-y2etg5bs.js → service-probe-7f0py9js.js} +2 -2
  3. package/dist/chunks/{service-xafd70ys.js → service-probe-7s3gfrb2.js} +1 -1
  4. package/dist/chunks/{service-2ny4vxct.js → service-probe-8ye1ye6f.js} +2 -2
  5. package/dist/chunks/{service-88gjqypq.js → service-probe-9nf6mew2.js} +19 -11
  6. package/dist/chunks/{service-yaaq8kh5.js → service-probe-b58x3wrg.js} +43 -19
  7. package/dist/chunks/{service-x80b58mq.js → service-probe-ftynhkc9.js} +17 -17
  8. package/dist/chunks/{service-gecjxyvt.js → service-probe-gecjxyvt.js} +1 -1
  9. package/dist/chunks/{service-nwcpakzx.js → service-probe-js54wxgp.js} +2 -2
  10. package/dist/chunks/{service-15p82y03.js → service-probe-myz4ngx9.js} +5 -5
  11. package/dist/chunks/service-probe-pwk3dyev.js +30 -0
  12. package/dist/chunks/{service-ryy6kscr.js → service-probe-ryy6kscr.js} +1 -1
  13. package/dist/chunks/{service-6hqrj29e.js → service-probe-t2hneane.js} +2 -1
  14. package/dist/chunks/{service-sh042gpe.js → service-probe-wcj4wnr9.js} +1 -1
  15. package/dist/contract.js +1 -1
  16. package/dist/effect/api/api.d.ts +32 -0
  17. package/dist/effect/client.d.ts +5 -0
  18. package/dist/effect/client.js +12 -12
  19. package/dist/effect/generated/client-error.js +3 -3
  20. package/dist/effect/generated/client.d.ts +6 -1
  21. package/dist/effect/generated/client.js +5 -5
  22. package/dist/effect/generated/index.js +8 -8
  23. package/dist/effect/index.js +12 -12
  24. package/dist/effect/rpc.js +4 -4
  25. package/dist/effect/service.js +6 -6
  26. package/dist/promise/client.d.ts +5 -0
  27. package/dist/promise/client.js +11 -11
  28. package/dist/promise/generated/client-error.js +3 -3
  29. package/dist/promise/generated/client.d.ts +6 -1
  30. package/dist/promise/generated/client.js +4 -4
  31. package/dist/promise/generated/index.js +12 -10
  32. package/dist/promise/generated/types.d.ts +36 -0
  33. package/dist/promise/generated/types.js +3 -1
  34. package/dist/promise/index.js +17 -15
  35. package/dist/promise/media.d.ts +5 -0
  36. package/dist/promise/media.js +1 -1
  37. package/dist/promise/rpc.js +2 -2
  38. package/dist/promise/service.js +6 -6
  39. package/dist/pty-handoff.js +4 -4
  40. package/dist/rpc-runtime.js +1 -1
  41. package/dist/service-contender.js +1 -1
  42. package/dist/service-probe.js +3 -3
  43. package/dist/service-timing.js +1 -1
  44. package/dist/service-version.js +1 -1
  45. package/dist/service.js +1 -1
  46. package/dist/shared-events.js +1 -1
  47. package/dist/solid/connection.js +1 -1
  48. package/dist/solid/data.js +10 -10
  49. package/dist/solid/index.js +14 -14
  50. package/dist/solid/pty.js +1 -1
  51. package/dist/solid/retention.js +1 -1
  52. package/dist/solid/usage.js +1 -1
  53. package/package.json +4 -4
  54. package/dist/chunks/service-rwqtjvht.js +0 -30
  55. /package/dist/chunks/{service-3eaz3m83.js → service-probe-3eaz3m83.js} +0 -0
  56. /package/dist/chunks/{service-60xe5cbf.js → service-probe-60xe5cbf.js} +0 -0
  57. /package/dist/chunks/{service-6mptkzbc.js → service-probe-6mptkzbc.js} +0 -0
  58. /package/dist/chunks/{service-6mq2wh8y.js → service-probe-6mq2wh8y.js} +0 -0
  59. /package/dist/chunks/{service-6r38tsk5.js → service-probe-6r38tsk5.js} +0 -0
  60. /package/dist/chunks/{service-8s2anffy.js → service-probe-8s2anffy.js} +0 -0
  61. /package/dist/chunks/{service-9rqn6x4v.js → service-probe-9rqn6x4v.js} +0 -0
  62. /package/dist/chunks/{service-mwrzahmf.js → service-probe-mwrzahmf.js} +0 -0
  63. /package/dist/chunks/{service-qav6mfdz.js → service-probe-qav6mfdz.js} +0 -0
  64. /package/dist/chunks/{service-sxt88q69.js → service-probe-sxt88q69.js} +0 -0
  65. /package/dist/chunks/{service-ve4aws36.js → service-probe-ve4aws36.js} +0 -0
  66. /package/dist/chunks/{service-vyas3vgt.js → service-probe-vyas3vgt.js} +0 -0
  67. /package/dist/chunks/{service-xgnj2w4v.js → service-probe-xgnj2w4v.js} +0 -0
  68. /package/dist/chunks/{service-ydhz1zrh.js → service-probe-ydhz1zrh.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  headers2
3
- } from "./service-2ny4vxct.js";
3
+ } from "./service-probe-8ye1ye6f.js";
4
4
  import {
5
5
  __export
6
- } from "./service-9rqn6x4v.js";
6
+ } from "./service-probe-9rqn6x4v.js";
7
7
 
8
8
  // src/pty-handoff.ts
9
9
  var exports_pty_handoff = {};
@@ -1,9 +1,9 @@
1
1
  // src/effect/generated/client-error.ts
2
2
  import { Schema } from "effect";
3
3
 
4
- class ClientError2 extends Schema.TaggedError()("ClientError", {
4
+ class ClientError3 extends Schema.TaggedError()("ClientError", {
5
5
  cause: Schema.Defect()
6
6
  }) {
7
7
  }
8
8
 
9
- export { ClientError2 };
9
+ export { ClientError3 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isRpcError2,
3
3
  isRpcInternalError2
4
- } from "./service-6hqrj29e.js";
4
+ } from "./service-probe-t2hneane.js";
5
5
 
6
6
  // src/promise/rpc.ts
7
7
  function makeRpc2(raw, events) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  defaultEnsureTiming2
3
- } from "./service-xgnj2w4v.js";
3
+ } from "./service-probe-xgnj2w4v.js";
4
4
  import {
5
5
  matchesVersion2
6
- } from "./service-sxt88q69.js";
6
+ } from "./service-probe-sxt88q69.js";
7
7
 
8
8
  // src/service-probe.ts
9
9
  import { homedir } from "node:os";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  ClientApi2
3
- } from "./service-60xe5cbf.js";
3
+ } from "./service-probe-60xe5cbf.js";
4
4
  import {
5
- ClientError2
6
- } from "./service-y2etg5bs.js";
5
+ ClientError3
6
+ } from "./service-probe-7f0py9js.js";
7
7
  import {
8
8
  __export
9
- } from "./service-9rqn6x4v.js";
9
+ } from "./service-probe-9rqn6x4v.js";
10
10
 
11
11
  // src/effect/generated/client.ts
12
- var exports_client2 = {};
13
- __export(exports_client2, {
14
- make: () => make4
12
+ var exports_client4 = {};
13
+ __export(exports_client4, {
14
+ make: () => make5
15
15
  });
16
16
  import { Effect, Stream, Schema } from "effect";
17
17
  import { Sse } from "effect/encoding";
18
18
  import { HttpClientError } from "effect/http";
19
19
  import { HttpApiClient } from "effect/http-api";
20
- var mapClientError = (error) => HttpClientError.isHttpClientError(error) || Schema.isSchemaError(error) || Sse.Retry.is(error) ? new ClientError2({ cause: error }) : error;
20
+ var mapClientError = (error) => HttpClientError.isHttpClientError(error) || Schema.isSchemaError(error) || Sse.Retry.is(error) ? new ClientError3({ cause: error }) : error;
21
21
  var preserveEffect = () => (effect) => effect;
22
22
  var preserveStream = () => (stream) => stream;
23
23
  var EndpointServerInfo = (raw) => () => preserveEffect()(raw["server.info"]({}).pipe(Effect.mapError(mapClientError)));
@@ -614,6 +614,9 @@ var EndpointExperimentalJobList = (raw) => (input) => preserveEffect()(raw["job.
614
614
  }
615
615
  }).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
616
616
  var EndpointExperimentalJobCancel = (raw) => (input) => preserveEffect()(raw["job.cancel"]({ params: { id: input["id"] } }).pipe(Effect.mapError(mapClientError)));
617
+ var EndpointExperimentalMachineList = (raw) => () => preserveEffect()(raw["machine.list"]({}).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
618
+ var EndpointExperimentalMachineAdd = (raw) => (input) => preserveEffect()(raw["machine.add"]({ payload: { name: input["name"], reach: input["reach"], replace: input["replace"] } }).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
619
+ var EndpointExperimentalMachineRemove = (raw) => (input) => preserveEffect()(raw["machine.remove"]({ params: { name: input["name"] } }).pipe(Effect.mapError(mapClientError)));
617
620
  var adaptGroupExperimental = (raw) => ({
618
621
  persistentPty: {
619
622
  read: EndpointExperimentalPersistentPtyRead(raw),
@@ -643,7 +646,12 @@ var adaptGroupExperimental = (raw) => ({
643
646
  update: EndpointExperimentalArtifactsUpdate(raw),
644
647
  delete: EndpointExperimentalArtifactsDelete(raw)
645
648
  },
646
- job: { list: EndpointExperimentalJobList(raw), cancel: EndpointExperimentalJobCancel(raw) }
649
+ job: { list: EndpointExperimentalJobList(raw), cancel: EndpointExperimentalJobCancel(raw) },
650
+ machine: {
651
+ list: EndpointExperimentalMachineList(raw),
652
+ add: EndpointExperimentalMachineAdd(raw),
653
+ remove: EndpointExperimentalMachineRemove(raw)
654
+ }
647
655
  });
648
656
  var EndpointShellList = (raw) => (input) => preserveEffect()(raw["shell.list"]({ query: { location: input?.["location"] } }).pipe(Effect.mapError(mapClientError)));
649
657
  var EndpointShellCreate = (raw) => (input) => preserveEffect()(raw["shell.create"]({
@@ -847,6 +855,6 @@ var adaptClient = (raw) => {
847
855
  }
848
856
  };
849
857
  };
850
- var make4 = (options) => HttpApiClient.make(ClientApi2, options).pipe(Effect.map(adaptClient));
858
+ var make5 = (options) => HttpApiClient.make(ClientApi2, options).pipe(Effect.map(adaptClient));
851
859
 
852
- export { make4, exports_client2 };
860
+ export { make5, exports_client4 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ClientError3
3
- } from "./service-nwcpakzx.js";
2
+ ClientError2
3
+ } from "./service-probe-js54wxgp.js";
4
4
  import {
5
5
  __export
6
- } from "./service-9rqn6x4v.js";
6
+ } from "./service-probe-9rqn6x4v.js";
7
7
 
8
8
  // src/promise/generated/client.ts
9
- var exports_client4 = {};
10
- __export(exports_client4, {
11
- make: () => make6
9
+ var exports_client2 = {};
10
+ __export(exports_client2, {
11
+ make: () => make3
12
12
  });
13
13
  var maxSseEventBytes = 16 * 1024 * 1024;
14
- function make6(options) {
14
+ function make3(options) {
15
15
  const fetch = options.fetch ?? globalThis.fetch;
16
16
  const prepare = (descriptor, requestOptions) => {
17
17
  const baseUrl = new URL(options.baseUrl);
@@ -44,7 +44,7 @@ function make6(options) {
44
44
  const prepared = prepare(descriptor, requestOptions);
45
45
  return await fetch(prepared.url, prepared.init);
46
46
  } catch (cause) {
47
- throw new ClientError3("Transport", { cause });
47
+ throw new ClientError2("Transport", { cause });
48
48
  }
49
49
  };
50
50
  const responseError = async (response, descriptor) => {
@@ -53,7 +53,7 @@ function make6(options) {
53
53
  try {
54
54
  await response.body?.cancel();
55
55
  } catch {}
56
- throw new ClientError3("UnexpectedStatus", { cause: { status: response.status }, detail: String(response.status) });
56
+ throw new ClientError2("UnexpectedStatus", { cause: { status: response.status }, detail: String(response.status) });
57
57
  };
58
58
  const request = async (descriptor, requestOptions) => {
59
59
  const response = await execute(descriptor, requestOptions);
@@ -78,10 +78,10 @@ function make6(options) {
78
78
  try {
79
79
  await response.body?.cancel();
80
80
  } catch {}
81
- throw new ClientError3("UnsupportedContentType", { detail: response.headers.get("content-type") });
81
+ throw new ClientError2("UnsupportedContentType", { detail: response.headers.get("content-type") });
82
82
  }
83
83
  if (response.body === null)
84
- throw new ClientError3("MalformedResponse");
84
+ throw new ClientError2("MalformedResponse");
85
85
  const reader = response.body.getReader();
86
86
  const decoder = new TextDecoder;
87
87
  let buffer = "";
@@ -91,13 +91,13 @@ function make6(options) {
91
91
  try {
92
92
  next = await reader.read();
93
93
  } catch (cause) {
94
- throw new ClientError3("Transport", { cause });
94
+ throw new ClientError2("Transport", { cause });
95
95
  }
96
96
  if (!next.done)
97
97
  requestOptions?.onActivity?.();
98
98
  buffer += decoder.decode(next.value, { stream: !next.done });
99
99
  if (buffer.length > maxSseEventBytes)
100
- throw new ClientError3("SseEventTooLarge");
100
+ throw new ClientError2("SseEventTooLarge");
101
101
  const trailingCarriageReturn = !next.done && buffer.endsWith("\r");
102
102
  if (trailingCarriageReturn)
103
103
  buffer = buffer.slice(0, -1);
@@ -124,7 +124,7 @@ function make6(options) {
124
124
  try {
125
125
  yield JSON.parse(data);
126
126
  } catch (cause) {
127
- throw new ClientError3("MalformedResponse", { cause });
127
+ throw new ClientError2("MalformedResponse", { cause });
128
128
  }
129
129
  }
130
130
  boundary = buffer.indexOf(`
@@ -1040,6 +1040,30 @@ function make6(options) {
1040
1040
  empty: true
1041
1041
  }, requestOptions)
1042
1042
  },
1043
+ machine: {
1044
+ list: (requestOptions) => request({
1045
+ method: "GET",
1046
+ path: `/api/experimental/machine`,
1047
+ successStatus: 200,
1048
+ declaredStatuses: [400, 401, 403],
1049
+ empty: false
1050
+ }, requestOptions).then((value) => value.data),
1051
+ add: (input, requestOptions) => request({
1052
+ method: "POST",
1053
+ path: `/api/experimental/machine`,
1054
+ body: { name: input["name"], reach: input["reach"], replace: input["replace"] },
1055
+ successStatus: 200,
1056
+ declaredStatuses: [400, 401, 403, 404, 409],
1057
+ empty: false
1058
+ }, requestOptions).then((value) => value.data),
1059
+ remove: (input, requestOptions) => request({
1060
+ method: "DELETE",
1061
+ path: `/api/experimental/machine/${encodeURIComponent(input.name)}`,
1062
+ successStatus: 204,
1063
+ declaredStatuses: [400, 401, 403],
1064
+ empty: true
1065
+ }, requestOptions)
1066
+ },
1043
1067
  migration: {
1044
1068
  v1: {
1045
1069
  status: (requestOptions) => request({
@@ -1825,20 +1849,20 @@ async function json(response) {
1825
1849
  try {
1826
1850
  await response.body?.cancel();
1827
1851
  } catch {}
1828
- throw new ClientError3("UnsupportedContentType", { detail: response.headers.get("content-type") });
1852
+ throw new ClientError2("UnsupportedContentType", { detail: response.headers.get("content-type") });
1829
1853
  }
1830
1854
  let text;
1831
1855
  try {
1832
1856
  text = await response.text();
1833
1857
  } catch (cause) {
1834
- throw new ClientError3("Transport", { cause });
1858
+ throw new ClientError2("Transport", { cause });
1835
1859
  }
1836
1860
  if (text === "")
1837
- throw new ClientError3("MalformedResponse");
1861
+ throw new ClientError2("MalformedResponse");
1838
1862
  try {
1839
1863
  return JSON.parse(text);
1840
1864
  } catch (cause) {
1841
- throw new ClientError3("MalformedResponse", { cause });
1865
+ throw new ClientError2("MalformedResponse", { cause });
1842
1866
  }
1843
1867
  }
1844
1868
  function declared(body) {
@@ -1851,4 +1875,4 @@ function isContentType(response, expected) {
1851
1875
  return response.headers.get("content-type")?.split(";", 1)[0]?.trim().toLowerCase() === expected;
1852
1876
  }
1853
1877
 
1854
- export { make6, exports_client4 };
1878
+ export { make3, exports_client2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  make7
3
- } from "./service-gecjxyvt.js";
3
+ } from "./service-probe-gecjxyvt.js";
4
4
  import {
5
- ClientError2
6
- } from "./service-y2etg5bs.js";
5
+ ClientError3
6
+ } from "./service-probe-7f0py9js.js";
7
7
  import {
8
- make4
9
- } from "./service-88gjqypq.js";
8
+ make5
9
+ } from "./service-probe-9nf6mew2.js";
10
10
  import {
11
- make3,
11
+ make6,
12
12
  aborted2
13
- } from "./service-15p82y03.js";
13
+ } from "./service-probe-myz4ngx9.js";
14
14
  import {
15
15
  __export
16
- } from "./service-9rqn6x4v.js";
16
+ } from "./service-probe-9rqn6x4v.js";
17
17
 
18
18
  // src/effect/client.ts
19
- var exports_client = {};
20
- __export(exports_client, {
21
- OpenCode: () => exports_client,
22
- make: () => make2
19
+ var exports_client3 = {};
20
+ __export(exports_client3, {
21
+ OpenCode: () => exports_client3,
22
+ make: () => make4
23
23
  });
24
24
  import { Cause, Context, Effect, Stream } from "effect";
25
25
  import { HttpClient, HttpClientRequest } from "effect/http";
@@ -28,9 +28,9 @@ var CurrentHeaders = Context.Reference("@opencode/client/effect/rpc/headers", {
28
28
  return;
29
29
  }
30
30
  });
31
- var make2 = Effect.fn("OpenCode.make")(function* (options) {
31
+ var make4 = Effect.fn("OpenCode.make")(function* (options) {
32
32
  const httpClient = yield* HttpClient.HttpClient;
33
- const raw = yield* make4(options).pipe(Effect.provideService(HttpClient.HttpClient, HttpClient.mapRequestEffect(httpClient, (request) => Effect.map(CurrentHeaders, (headers) => headers ? HttpClientRequest.setHeaders(request, new Headers(headers)) : request))));
33
+ const raw = yield* make5(options).pipe(Effect.provideService(HttpClient.HttpClient, HttpClient.mapRequestEffect(httpClient, (request) => Effect.map(CurrentHeaders, (headers) => headers ? HttpClientRequest.setHeaders(request, new Headers(headers)) : request))));
34
34
  const context = yield* Effect.context();
35
35
  const native = raw.event.subscribe();
36
36
 
@@ -41,12 +41,12 @@ var make2 = Effect.fn("OpenCode.make")(function* (options) {
41
41
  }
42
42
  }
43
43
  const shared = make7((signal) => Stream.toAsyncIterableWith(native.pipe(Stream.interruptWhen(aborted2(signal)), Stream.catchCause((cause) => Stream.fail(new EventFailure(cause)))), context));
44
- const subscribe = (input) => Stream.fromAsyncIterable(shared.subscribe({ types: input?.types }), (error) => error).pipe(Stream.catch((error) => Stream.failCause(error instanceof EventFailure ? error.cause : Cause.fail(new ClientError2({ cause: error })))));
44
+ const subscribe = (input) => Stream.fromAsyncIterable(shared.subscribe({ types: input?.types }), (error) => error).pipe(Stream.catch((error) => Stream.failCause(error instanceof EventFailure ? error.cause : Cause.fail(new ClientError3({ cause: error })))));
45
45
  return {
46
46
  ...raw,
47
47
  event: { ...raw.event, subscribe },
48
- rpc: Object.assign(make3((input, options) => raw.rpc.call(input).pipe(Effect.provideService(CurrentHeaders, options?.headers)), subscribe), raw.rpc)
48
+ rpc: Object.assign(make6((input, options) => raw.rpc.call(input).pipe(Effect.provideService(CurrentHeaders, options?.headers)), subscribe), raw.rpc)
49
49
  };
50
50
  });
51
51
 
52
- export { make2, exports_client };
52
+ export { make4, exports_client3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./service-9rqn6x4v.js";
3
+ } from "./service-probe-9rqn6x4v.js";
4
4
 
5
5
  // src/shared-events.ts
6
6
  var exports_shared_events = {};
@@ -1,5 +1,5 @@
1
1
  // src/promise/generated/client-error.ts
2
- class ClientError3 extends Error {
2
+ class ClientError2 extends Error {
3
3
  reason;
4
4
  name = "ClientError";
5
5
  constructor(reason, options) {
@@ -9,4 +9,4 @@ class ClientError3 extends Error {
9
9
  }
10
10
  }
11
11
 
12
- export { ClientError3 };
12
+ export { ClientError2 };
@@ -3,20 +3,20 @@ import {
3
3
  readError2,
4
4
  event2,
5
5
  eventType2
6
- } from "./service-ryy6kscr.js";
6
+ } from "./service-probe-ryy6kscr.js";
7
7
  import {
8
8
  __export
9
- } from "./service-9rqn6x4v.js";
9
+ } from "./service-probe-9rqn6x4v.js";
10
10
 
11
11
  // src/effect/rpc.ts
12
12
  var exports_rpc = {};
13
13
  __export(exports_rpc, {
14
14
  RpcClientRuntime: () => exports_rpc,
15
15
  aborted: () => aborted2,
16
- make: () => make3
16
+ make: () => make6
17
17
  });
18
18
  import { Effect, Stream } from "effect";
19
- function make3(call, subscribe) {
19
+ function make6(call, subscribe) {
20
20
  return (definition) => {
21
21
  const methods = Object.fromEntries(Object.entries(definition.methods).map(([name, method]) => [
22
22
  name,
@@ -59,4 +59,4 @@ function aborted2(signal) {
59
59
  });
60
60
  }
61
61
 
62
- export { make3, aborted2, exports_rpc };
62
+ export { make6, aborted2, exports_rpc };
@@ -0,0 +1,30 @@
1
+ import {
2
+ make7
3
+ } from "./service-probe-gecjxyvt.js";
4
+ import {
5
+ make3
6
+ } from "./service-probe-b58x3wrg.js";
7
+ import {
8
+ makeRpc2
9
+ } from "./service-probe-7s3gfrb2.js";
10
+ import {
11
+ __export
12
+ } from "./service-probe-9rqn6x4v.js";
13
+
14
+ // src/promise/client.ts
15
+ var exports_client = {};
16
+ __export(exports_client, {
17
+ OpenCode: () => exports_client,
18
+ make: () => make2
19
+ });
20
+ function make2(options) {
21
+ const raw = make3(options);
22
+ const events = make7((signal, onActivity) => raw.event.subscribe(undefined, { signal, onActivity }));
23
+ return {
24
+ ...raw,
25
+ rpc: Object.assign(makeRpc2(raw, events), raw.rpc),
26
+ event: events
27
+ };
28
+ }
29
+
30
+ export { make2, exports_client };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./service-9rqn6x4v.js";
3
+ } from "./service-probe-9rqn6x4v.js";
4
4
 
5
5
  // src/rpc-runtime.ts
6
6
  var exports_rpc_runtime = {};
@@ -39,8 +39,9 @@ var isPtyFeatureUnsupportedError2 = (value) => typeof value === "object" && valu
39
39
  var isBlobNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "BlobNotFoundError";
40
40
  var isAutomationNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "AutomationNotFoundError";
41
41
  var isArtifactNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "ArtifactNotFoundError";
42
+ var isMachineNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "MachineNotFoundError";
42
43
  var isShellNotFoundError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "ShellNotFoundError";
43
44
  var isWorktreeError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "WorktreeError";
44
45
  var isVcsInitNotSupportedError2 = (value) => typeof value === "object" && value !== null && ("_tag" in value) && value["_tag"] === "VcsInitNotSupportedError";
45
46
 
46
- export { isInvalidRequestError2, isUnauthorizedError2, isLocationNotFoundError2, isServiceUnavailableError2, isAgentNotFoundError2, isPluginNotFoundError2, isInvalidCursorError2, isSessionNotFoundError2, isMessageNotFoundError2, isConflictError2, isCommandNotFoundError2, isCommandExecutionError2, isSessionBusyError2, isUnknownError2, isFormNotFoundError2, isFormInvalidAnswerError2, isFormAlreadySettledError2, isSkillNotFoundError2, isInstructionEntryValueTooLargeError2, isProviderNotFoundError2, isModelNotFoundError2, isUnsupportedModelError2, isProviderRequestError2, isForbiddenError2, isVideoNotFoundError2, isIntegrationNotFoundError2, isIntegrationAttemptNotFoundError2, isIntegrationMethodNotFoundError2, isMcpServerNotFoundError2, isProjectNotFoundError2, isPermissionSavedNotFoundError2, isPermissionNotFoundError2, isFileNotFoundError2, isRpcError2, isRpcInternalError2, isPtyNotFoundError2, isPtyFeatureUnsupportedError2, isBlobNotFoundError2, isAutomationNotFoundError2, isArtifactNotFoundError2, isShellNotFoundError2, isWorktreeError2, isVcsInitNotSupportedError2 };
47
+ export { isInvalidRequestError2, isUnauthorizedError2, isLocationNotFoundError2, isServiceUnavailableError2, isAgentNotFoundError2, isPluginNotFoundError2, isInvalidCursorError2, isSessionNotFoundError2, isMessageNotFoundError2, isConflictError2, isCommandNotFoundError2, isCommandExecutionError2, isSessionBusyError2, isUnknownError2, isFormNotFoundError2, isFormInvalidAnswerError2, isFormAlreadySettledError2, isSkillNotFoundError2, isInstructionEntryValueTooLargeError2, isProviderNotFoundError2, isModelNotFoundError2, isUnsupportedModelError2, isProviderRequestError2, isForbiddenError2, isVideoNotFoundError2, isIntegrationNotFoundError2, isIntegrationAttemptNotFoundError2, isIntegrationMethodNotFoundError2, isMcpServerNotFoundError2, isProjectNotFoundError2, isPermissionSavedNotFoundError2, isPermissionNotFoundError2, isFileNotFoundError2, isRpcError2, isRpcInternalError2, isPtyNotFoundError2, isPtyFeatureUnsupportedError2, isBlobNotFoundError2, isAutomationNotFoundError2, isArtifactNotFoundError2, isMachineNotFoundError2, isShellNotFoundError2, isWorktreeError2, isVcsInitNotSupportedError2 };
@@ -4,7 +4,7 @@ import {
4
4
  isFormNotFoundError2,
5
5
  isFormAlreadySettledError2,
6
6
  isPermissionNotFoundError2
7
- } from "./service-6hqrj29e.js";
7
+ } from "./service-probe-t2hneane.js";
8
8
 
9
9
  // src/solid/data.ts
10
10
  import { Worktree } from "@opencode/schema/worktree";
package/dist/contract.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  effectOmitEndpoints2,
5
5
  groupNames2,
6
6
  promiseOmitEndpoints2
7
- } from "./chunks/service-60xe5cbf.js";
7
+ } from "./chunks/service-probe-60xe5cbf.js";
8
8
  export {
9
9
  ClientApi2 as ClientApi,
10
10
  clientNamespace2 as clientNamespace,
@@ -2874,6 +2874,33 @@ export type ExperimentalJobCancelInput = {
2874
2874
  };
2875
2875
  export type ExperimentalJobCancelOutput = void;
2876
2876
  export type ExperimentalJobCancelOperation<E = never> = (input: ExperimentalJobCancelInput) => Effect.Effect<ExperimentalJobCancelOutput, E>;
2877
+ export type ExperimentalMachineListOutput = ReadonlyArray<{
2878
+ readonly id: string;
2879
+ readonly online: boolean;
2880
+ readonly paired: boolean;
2881
+ readonly os?: string;
2882
+ readonly arch?: string;
2883
+ }>;
2884
+ export type ExperimentalMachineListOperation<E = never> = () => Effect.Effect<ExperimentalMachineListOutput, E>;
2885
+ export type ExperimentalMachineAddInput = {
2886
+ readonly name: string;
2887
+ readonly reach: ReadonlyArray<{
2888
+ readonly type: "url";
2889
+ readonly url: string;
2890
+ }>;
2891
+ readonly replace?: boolean | undefined;
2892
+ };
2893
+ export type ExperimentalMachineAddOutput = {
2894
+ readonly name: string;
2895
+ readonly join: string;
2896
+ readonly expires: number;
2897
+ };
2898
+ export type ExperimentalMachineAddOperation<E = never> = (input: ExperimentalMachineAddInput) => Effect.Effect<ExperimentalMachineAddOutput, E>;
2899
+ export type ExperimentalMachineRemoveInput = {
2900
+ readonly name: string;
2901
+ };
2902
+ export type ExperimentalMachineRemoveOutput = void;
2903
+ export type ExperimentalMachineRemoveOperation<E = never> = (input: ExperimentalMachineRemoveInput) => Effect.Effect<ExperimentalMachineRemoveOutput, E>;
2877
2904
  export interface ExperimentalApi<E = never> {
2878
2905
  readonly persistentPty: {
2879
2906
  readonly read: ExperimentalPersistentPtyReadOperation<E>;
@@ -2907,6 +2934,11 @@ export interface ExperimentalApi<E = never> {
2907
2934
  readonly list: ExperimentalJobListOperation<E>;
2908
2935
  readonly cancel: ExperimentalJobCancelOperation<E>;
2909
2936
  };
2937
+ readonly machine: {
2938
+ readonly list: ExperimentalMachineListOperation<E>;
2939
+ readonly add: ExperimentalMachineAddOperation<E>;
2940
+ readonly remove: ExperimentalMachineRemoveOperation<E>;
2941
+ };
2910
2942
  }
2911
2943
  export type ShellListInput = {
2912
2944
  readonly location?: {
@@ -61,6 +61,11 @@ export declare const make: (options?: {
61
61
  list: (input?: import("./api.js").ExperimentalJobListInput) => Effect.Effect<import("./api.js").ExperimentalJobListOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
62
62
  cancel: (input: import("./api.js").ExperimentalJobCancelInput) => Effect.Effect<void, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
63
63
  };
64
+ machine: {
65
+ list: () => Effect.Effect<import("./api.js").ExperimentalMachineListOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
66
+ add: (input: import("./api.js").ExperimentalMachineAddInput) => Effect.Effect<import("./api.js").ExperimentalMachineAddOutput, ClientError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").MachineNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
67
+ remove: (input: import("./api.js").ExperimentalMachineRemoveInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
68
+ };
64
69
  session: {
65
70
  stats: (input?: import("./api.js").ExperimentalSessionStatsInput) => Effect.Effect<import("./api.js").ExperimentalSessionStatsOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
66
71
  import: (input: import("./api.js").ExperimentalSessionImportInput) => Effect.Effect<import("@opencode/schema/session").Info, ClientError | import("@opencode/protocol/errors").ConflictError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
@@ -1,15 +1,15 @@
1
1
  import {
2
- make2,
3
- exports_client
4
- } from "../chunks/service-x80b58mq.js";
5
- import"../chunks/service-15p82y03.js";
6
- import"../chunks/service-6mptkzbc.js";
7
- import"../chunks/service-88gjqypq.js";
8
- import"../chunks/service-y2etg5bs.js";
9
- import"../chunks/service-60xe5cbf.js";
10
- import"../chunks/service-gecjxyvt.js";
11
- import"../chunks/service-ryy6kscr.js";
2
+ make4,
3
+ exports_client3
4
+ } from "../chunks/service-probe-ftynhkc9.js";
5
+ import"../chunks/service-probe-6mptkzbc.js";
6
+ import"../chunks/service-probe-9nf6mew2.js";
7
+ import"../chunks/service-probe-7f0py9js.js";
8
+ import"../chunks/service-probe-60xe5cbf.js";
9
+ import"../chunks/service-probe-myz4ngx9.js";
10
+ import"../chunks/service-probe-ryy6kscr.js";
11
+ import"../chunks/service-probe-gecjxyvt.js";
12
12
  export {
13
- exports_client as OpenCode,
14
- make2 as make
13
+ exports_client3 as OpenCode,
14
+ make4 as make
15
15
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ClientError2
3
- } from "../../chunks/service-y2etg5bs.js";
2
+ ClientError3
3
+ } from "../../chunks/service-probe-7f0py9js.js";
4
4
  export {
5
- ClientError2 as ClientError
5
+ ClientError3 as ClientError
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import { Effect, Stream, Schema } from "effect";
2
2
  import { Sse } from "effect/encoding";
3
3
  import { HttpClientError } from "effect/http";
4
- import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginGuiInput, PluginGuiOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionCreateInput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionGenerateInput, SessionGenerateOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, ExperimentalSessionStatsInput, ExperimentalSessionStatsOutput, ExperimentalSessionImportInput, ExperimentalSessionExportInput, ExperimentalSessionExportOutput, ExperimentalSessionSkillInput, ExperimentalSessionWaitInput, ExperimentalSessionInstructionsEntryListInput, ExperimentalSessionInstructionsEntryListOutput, ExperimentalSessionInstructionsEntryPutInput, ExperimentalSessionInstructionsEntryRemoveInput, ExperimentalSessionLogInput, ExperimentalSessionLogOutput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, ExperimentalGenerateTextInput, ExperimentalGenerateTextOutput, ExperimentalGenerateImageInput, ExperimentalGenerateVideoCreateInput, ExperimentalGenerateVideoGetInput, ExperimentalGenerateDecisionsInput, ExperimentalVoiceModelsOutput, ExperimentalVoiceSessionInput, ExperimentalVoiceSessionOutput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, ExperimentalIntegrationWellknownAddInput, McpListInput, McpListOutput, McpResourceCatalogInput, McpResourceCatalogOutput, ExperimentalMcpAddInput, ExperimentalMcpRemoveInput, ExperimentalMcpConnectInput, ExperimentalMcpDisconnectInput, ExperimentalMcpClientTokenInput, ExperimentalMcpClientTokenOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, ExperimentalFileWatchInput, ExperimentalFileUnwatchInput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, EventSubscribeInput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ExperimentalAutomationCreateInput, ExperimentalAutomationListInput, ExperimentalAutomationListOutput, ExperimentalAutomationGetInput, ExperimentalAutomationPauseInput, ExperimentalAutomationResumeInput, ExperimentalAutomationDeleteInput, ExperimentalArtifactsProvidersInput, ExperimentalArtifactsProvidersOutput, ExperimentalArtifactsListInput, ExperimentalArtifactsListOutput, ExperimentalArtifactsCreateInput, ExperimentalArtifactsCreateOutput, ExperimentalArtifactsGetInput, ExperimentalArtifactsGetOutput, ExperimentalArtifactsUpdateInput, ExperimentalArtifactsUpdateOutput, ExperimentalArtifactsDeleteInput, ExperimentalJobListInput, ExperimentalJobListOutput, ExperimentalJobCancelInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugHeapDumpInput, DebugHeapDumpOutput, DebugLocationListOutput, DebugLocationEvictInput, ExperimentalMigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ExperimentalUsageLimitsInput, ExperimentalUsageLimitsOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ExperimentalConfigUpdateInput } from "../api/api.js";
4
+ import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginGuiInput, PluginGuiOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionCreateInput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionGenerateInput, SessionGenerateOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, ExperimentalSessionStatsInput, ExperimentalSessionStatsOutput, ExperimentalSessionImportInput, ExperimentalSessionExportInput, ExperimentalSessionExportOutput, ExperimentalSessionSkillInput, ExperimentalSessionWaitInput, ExperimentalSessionInstructionsEntryListInput, ExperimentalSessionInstructionsEntryListOutput, ExperimentalSessionInstructionsEntryPutInput, ExperimentalSessionInstructionsEntryRemoveInput, ExperimentalSessionLogInput, ExperimentalSessionLogOutput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, ExperimentalGenerateTextInput, ExperimentalGenerateTextOutput, ExperimentalGenerateImageInput, ExperimentalGenerateVideoCreateInput, ExperimentalGenerateVideoGetInput, ExperimentalGenerateDecisionsInput, ExperimentalVoiceModelsOutput, ExperimentalVoiceSessionInput, ExperimentalVoiceSessionOutput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, ExperimentalIntegrationWellknownAddInput, McpListInput, McpListOutput, McpResourceCatalogInput, McpResourceCatalogOutput, ExperimentalMcpAddInput, ExperimentalMcpRemoveInput, ExperimentalMcpConnectInput, ExperimentalMcpDisconnectInput, ExperimentalMcpClientTokenInput, ExperimentalMcpClientTokenOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, ExperimentalFileWatchInput, ExperimentalFileUnwatchInput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, EventSubscribeInput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ExperimentalAutomationCreateInput, ExperimentalAutomationListInput, ExperimentalAutomationListOutput, ExperimentalAutomationGetInput, ExperimentalAutomationPauseInput, ExperimentalAutomationResumeInput, ExperimentalAutomationDeleteInput, ExperimentalArtifactsProvidersInput, ExperimentalArtifactsProvidersOutput, ExperimentalArtifactsListInput, ExperimentalArtifactsListOutput, ExperimentalArtifactsCreateInput, ExperimentalArtifactsCreateOutput, ExperimentalArtifactsGetInput, ExperimentalArtifactsGetOutput, ExperimentalArtifactsUpdateInput, ExperimentalArtifactsUpdateOutput, ExperimentalArtifactsDeleteInput, ExperimentalJobListInput, ExperimentalJobListOutput, ExperimentalJobCancelInput, ExperimentalMachineListOutput, ExperimentalMachineAddInput, ExperimentalMachineAddOutput, ExperimentalMachineRemoveInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugHeapDumpInput, DebugHeapDumpOutput, DebugLocationListOutput, DebugLocationEvictInput, ExperimentalMigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ExperimentalUsageLimitsInput, ExperimentalUsageLimitsOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ExperimentalConfigUpdateInput } from "../api/api.js";
5
5
  import { ClientError } from "./client-error.js";
6
6
  export declare const make: (options?: {
7
7
  readonly baseUrl?: URL | string;
@@ -58,6 +58,11 @@ export declare const make: (options?: {
58
58
  list: (input?: ExperimentalJobListInput) => Effect.Effect<ExperimentalJobListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
59
59
  cancel: (input: ExperimentalJobCancelInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
60
60
  };
61
+ machine: {
62
+ list: () => Effect.Effect<ExperimentalMachineListOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
63
+ add: (input: ExperimentalMachineAddInput) => Effect.Effect<ExperimentalMachineAddOutput, ClientError | import("@opencode/protocol/errors").ConflictError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").MachineNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
64
+ remove: (input: ExperimentalMachineRemoveInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
65
+ };
61
66
  session: {
62
67
  stats: (input?: ExperimentalSessionStatsInput) => Effect.Effect<ExperimentalSessionStatsOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
63
68
  import: (input: ExperimentalSessionImportInput) => Effect.Effect<import("@opencode/schema/session").Info, ClientError | import("@opencode/protocol/errors").ConflictError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
@@ -1,8 +1,8 @@
1
1
  import {
2
- make4
3
- } from "../../chunks/service-88gjqypq.js";
4
- import"../../chunks/service-y2etg5bs.js";
5
- import"../../chunks/service-60xe5cbf.js";
2
+ make5
3
+ } from "../../chunks/service-probe-9nf6mew2.js";
4
+ import"../../chunks/service-probe-7f0py9js.js";
5
+ import"../../chunks/service-probe-60xe5cbf.js";
6
6
  export {
7
- make4 as make
7
+ make5 as make
8
8
  };
@@ -1,12 +1,12 @@
1
- import"../../chunks/service-6mptkzbc.js";
1
+ import"../../chunks/service-probe-6mptkzbc.js";
2
2
  import {
3
- exports_client2
4
- } from "../../chunks/service-88gjqypq.js";
3
+ exports_client4
4
+ } from "../../chunks/service-probe-9nf6mew2.js";
5
5
  import {
6
- ClientError2
7
- } from "../../chunks/service-y2etg5bs.js";
8
- import"../../chunks/service-60xe5cbf.js";
6
+ ClientError3
7
+ } from "../../chunks/service-probe-7f0py9js.js";
8
+ import"../../chunks/service-probe-60xe5cbf.js";
9
9
  export {
10
- ClientError2 as ClientError,
11
- exports_client2 as OpenCode
10
+ ClientError3 as ClientError,
11
+ exports_client4 as OpenCode
12
12
  };