@opencode/client 0.0.0-dev-256 → 0.0.0-dev-271

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 (62) hide show
  1. package/dist/chunks/{service-anregfhs.js → rpc-runtime-15p82y03.js} +5 -5
  2. package/dist/chunks/rpc-runtime-2kfhge2q.js +30 -0
  3. package/dist/chunks/{service-re4x2z5b.js → rpc-runtime-5w21zsxq.js} +2 -2
  4. package/dist/chunks/{service-m3tyme7q.js → rpc-runtime-6zp7akge.js} +19 -19
  5. package/dist/chunks/{service-2ny4vxct.js → rpc-runtime-8ye1ye6f.js} +2 -2
  6. package/dist/chunks/{service-0r3venm0.js → rpc-runtime-enha36tm.js} +19 -19
  7. package/dist/chunks/{service-f6hq5twr.js → rpc-runtime-f6hq5twr.js} +1 -1
  8. package/dist/chunks/{service-kdshn947.js → rpc-runtime-kdshn947.js} +1 -1
  9. package/dist/chunks/{service-nshxw98s.js → rpc-runtime-khzktj08.js} +10 -10
  10. package/dist/chunks/{service-js54wxgp.js → rpc-runtime-nwcpakzx.js} +2 -2
  11. package/dist/chunks/{service-ryy6kscr.js → rpc-runtime-ryy6kscr.js} +1 -1
  12. package/dist/chunks/{service-gecjxyvt.js → rpc-runtime-sqcsh66p.js} +4 -4
  13. package/dist/chunks/{service-7f0py9js.js → rpc-runtime-y2etg5bs.js} +2 -2
  14. package/dist/contract.js +1 -1
  15. package/dist/effect/client.d.ts +24 -0
  16. package/dist/effect/client.js +12 -12
  17. package/dist/effect/generated/client-error.js +3 -3
  18. package/dist/effect/generated/client.d.ts +24 -0
  19. package/dist/effect/generated/client.js +5 -5
  20. package/dist/effect/generated/index.js +8 -8
  21. package/dist/effect/index.js +12 -12
  22. package/dist/effect/rpc.js +4 -4
  23. package/dist/effect/service.js +6 -6
  24. package/dist/promise/client.js +11 -11
  25. package/dist/promise/generated/client-error.js +3 -3
  26. package/dist/promise/generated/client.js +4 -4
  27. package/dist/promise/generated/index.js +9 -9
  28. package/dist/promise/generated/types.d.ts +25 -7
  29. package/dist/promise/generated/types.js +1 -1
  30. package/dist/promise/index.js +13 -13
  31. package/dist/promise/rpc.js +2 -2
  32. package/dist/promise/service.js +6 -6
  33. package/dist/pty-handoff.js +4 -4
  34. package/dist/rpc-runtime.js +1 -1
  35. package/dist/service-contender.js +1 -1
  36. package/dist/service-probe.js +3 -3
  37. package/dist/service-timing.js +1 -1
  38. package/dist/service-version.js +1 -1
  39. package/dist/service.js +1 -1
  40. package/dist/shared-events.js +3 -3
  41. package/dist/solid/connection.js +1 -1
  42. package/dist/solid/data.js +9 -9
  43. package/dist/solid/index.js +13 -13
  44. package/dist/solid/pty.js +1 -1
  45. package/dist/solid/retention.js +1 -1
  46. package/dist/solid/usage.js +1 -1
  47. package/package.json +4 -4
  48. package/dist/chunks/service-6wfjzt7d.js +0 -30
  49. /package/dist/chunks/{service-60xe5cbf.js → rpc-runtime-60xe5cbf.js} +0 -0
  50. /package/dist/chunks/{service-6mptkzbc.js → rpc-runtime-6mptkzbc.js} +0 -0
  51. /package/dist/chunks/{service-6mq2wh8y.js → rpc-runtime-6mq2wh8y.js} +0 -0
  52. /package/dist/chunks/{service-8s2anffy.js → rpc-runtime-8s2anffy.js} +0 -0
  53. /package/dist/chunks/{service-9rqn6x4v.js → rpc-runtime-9rqn6x4v.js} +0 -0
  54. /package/dist/chunks/{service-cvg5j6d1.js → rpc-runtime-cvg5j6d1.js} +0 -0
  55. /package/dist/chunks/{service-gne7h7mq.js → rpc-runtime-gne7h7mq.js} +0 -0
  56. /package/dist/chunks/{service-m2eywc8w.js → rpc-runtime-m2eywc8w.js} +0 -0
  57. /package/dist/chunks/{service-qav6mfdz.js → rpc-runtime-qav6mfdz.js} +0 -0
  58. /package/dist/chunks/{service-sxt88q69.js → rpc-runtime-sxt88q69.js} +0 -0
  59. /package/dist/chunks/{service-ve4aws36.js → rpc-runtime-ve4aws36.js} +0 -0
  60. /package/dist/chunks/{service-vyas3vgt.js → rpc-runtime-vyas3vgt.js} +0 -0
  61. /package/dist/chunks/{service-xgnj2w4v.js → rpc-runtime-xgnj2w4v.js} +0 -0
  62. /package/dist/chunks/{service-ydhz1zrh.js → rpc-runtime-ydhz1zrh.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
- ClientError3
3
- } from "../chunks/service-7f0py9js.js";
4
- import"../chunks/service-60xe5cbf.js";
5
- import"../chunks/service-nshxw98s.js";
6
- import"../chunks/service-6mptkzbc.js";
7
- import"../chunks/service-gecjxyvt.js";
8
- import"../chunks/service-ryy6kscr.js";
9
- import"../chunks/service-anregfhs.js";
2
+ ClientError2
3
+ } from "../chunks/rpc-runtime-y2etg5bs.js";
4
+ import"../chunks/rpc-runtime-60xe5cbf.js";
5
+ import"../chunks/rpc-runtime-khzktj08.js";
6
+ import"../chunks/rpc-runtime-6mptkzbc.js";
7
+ import"../chunks/rpc-runtime-sqcsh66p.js";
8
+ import"../chunks/rpc-runtime-ryy6kscr.js";
9
+ import"../chunks/rpc-runtime-15p82y03.js";
10
10
  import {
11
- exports_client3
12
- } from "../chunks/service-0r3venm0.js";
11
+ exports_client
12
+ } from "../chunks/rpc-runtime-enha36tm.js";
13
13
 
14
14
  // src/effect/index.ts
15
15
  import { Agent } from "@opencode/schema/agent";
@@ -43,7 +43,7 @@ import { PromptInput } from "@opencode/schema/prompt-input";
43
43
  export {
44
44
  AbsolutePath,
45
45
  Agent,
46
- ClientError3 as ClientError,
46
+ ClientError2 as ClientError,
47
47
  Command,
48
48
  Config,
49
49
  Credential,
@@ -54,7 +54,7 @@ export {
54
54
  Integration,
55
55
  Location,
56
56
  Model,
57
- exports_client3 as OpenCode,
57
+ exports_client as OpenCode,
58
58
  Permission,
59
59
  PermissionSaved,
60
60
  Project,
@@ -1,11 +1,11 @@
1
1
  import {
2
- make5,
2
+ make3,
3
3
  aborted2,
4
4
  exports_rpc
5
- } from "../chunks/service-anregfhs.js";
6
- import"../chunks/service-ryy6kscr.js";
5
+ } from "../chunks/rpc-runtime-15p82y03.js";
6
+ import"../chunks/rpc-runtime-ryy6kscr.js";
7
7
  export {
8
8
  exports_rpc as RpcClientRuntime,
9
9
  aborted2 as aborted,
10
- make5 as make
10
+ make3 as make
11
11
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/service-ve4aws36.js";
4
+ } from "../chunks/rpc-runtime-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-xgnj2w4v.js";
8
+ } from "../chunks/rpc-runtime-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-sxt88q69.js";
11
+ } from "../chunks/rpc-runtime-sxt88q69.js";
12
12
  import {
13
13
  decide2,
14
14
  fallback2,
15
15
  same2,
16
16
  probeResult2,
17
17
  headers2
18
- } from "../chunks/service-2ny4vxct.js";
18
+ } from "../chunks/rpc-runtime-8ye1ye6f.js";
19
19
  import {
20
20
  prepare2,
21
21
  environment2,
22
22
  complete2,
23
23
  clear2
24
- } from "../chunks/service-re4x2z5b.js";
25
- import"../chunks/service-qav6mfdz.js";
24
+ } from "../chunks/rpc-runtime-5w21zsxq.js";
25
+ import"../chunks/rpc-runtime-qav6mfdz.js";
26
26
 
27
27
  // src/effect/service.ts
28
28
  import { Effect, FileSystem, Option, Schedule, Schema } from "effect";
@@ -1,14 +1,14 @@
1
1
  import {
2
- make2,
3
- exports_client
4
- } from "../chunks/service-6wfjzt7d.js";
5
- import"../chunks/service-kdshn947.js";
6
- import"../chunks/service-vyas3vgt.js";
7
- import"../chunks/service-m3tyme7q.js";
8
- import"../chunks/service-cvg5j6d1.js";
9
- import"../chunks/service-js54wxgp.js";
10
- import"../chunks/service-gecjxyvt.js";
2
+ make5,
3
+ exports_client3
4
+ } from "../chunks/rpc-runtime-2kfhge2q.js";
5
+ import"../chunks/rpc-runtime-sqcsh66p.js";
6
+ import"../chunks/rpc-runtime-kdshn947.js";
7
+ import"../chunks/rpc-runtime-vyas3vgt.js";
8
+ import"../chunks/rpc-runtime-6zp7akge.js";
9
+ import"../chunks/rpc-runtime-nwcpakzx.js";
10
+ import"../chunks/rpc-runtime-cvg5j6d1.js";
11
11
  export {
12
- exports_client as OpenCode,
13
- make2 as make
12
+ exports_client3 as OpenCode,
13
+ make5 as make
14
14
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ClientError2
3
- } from "../../chunks/service-js54wxgp.js";
2
+ ClientError3
3
+ } from "../../chunks/rpc-runtime-nwcpakzx.js";
4
4
  export {
5
- ClientError2 as ClientError
5
+ ClientError3 as ClientError
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
- make3
3
- } from "../../chunks/service-m3tyme7q.js";
4
- import"../../chunks/service-js54wxgp.js";
2
+ make7
3
+ } from "../../chunks/rpc-runtime-6zp7akge.js";
4
+ import"../../chunks/rpc-runtime-nwcpakzx.js";
5
5
  export {
6
- make3 as make
6
+ make7 as make
7
7
  };
@@ -1,7 +1,10 @@
1
- import"../../chunks/service-vyas3vgt.js";
1
+ import"../../chunks/rpc-runtime-vyas3vgt.js";
2
2
  import {
3
- exports_client2
4
- } from "../../chunks/service-m3tyme7q.js";
3
+ exports_client4
4
+ } from "../../chunks/rpc-runtime-6zp7akge.js";
5
+ import {
6
+ ClientError3
7
+ } from "../../chunks/rpc-runtime-nwcpakzx.js";
5
8
  import {
6
9
  isInvalidRequestError2,
7
10
  isUnauthorizedError2,
@@ -42,13 +45,10 @@ import {
42
45
  isShellNotFoundError2,
43
46
  isWorktreeError2,
44
47
  isVcsInitNotSupportedError2
45
- } from "../../chunks/service-cvg5j6d1.js";
46
- import {
47
- ClientError2
48
- } from "../../chunks/service-js54wxgp.js";
48
+ } from "../../chunks/rpc-runtime-cvg5j6d1.js";
49
49
  export {
50
- ClientError2 as ClientError,
51
- exports_client2 as OpenCode,
50
+ ClientError3 as ClientError,
51
+ exports_client4 as OpenCode,
52
52
  isAgentNotFoundError2 as isAgentNotFoundError,
53
53
  isCommandExecutionError2 as isCommandExecutionError,
54
54
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -485,6 +485,10 @@ export type ScheduleConditionShell = {
485
485
  matches?: string;
486
486
  changes?: boolean;
487
487
  };
488
+ export type ScheduleConditionCode = {
489
+ type: "code";
490
+ code: string;
491
+ };
488
492
  export type ScheduleActionPrompt = {
489
493
  type: "prompt";
490
494
  prompt: string;
@@ -1224,7 +1228,7 @@ export type ScheduleWhenEvery = {
1224
1228
  every: ScheduleDuration;
1225
1229
  tz?: string;
1226
1230
  };
1227
- export type ScheduleCondition = ScheduleConditionShell;
1231
+ export type ScheduleCondition = ScheduleConditionShell | ScheduleConditionCode;
1228
1232
  export type ScheduleAction = ScheduleActionPrompt;
1229
1233
  export type VcsInfo = {
1230
1234
  provider?: string;
@@ -3162,7 +3166,7 @@ export type ConfigEntry = {
3162
3166
  timezone?: string;
3163
3167
  permissions?: PermissionRuleset;
3164
3168
  policies?: Array<{
3165
- action: "provider.use" | "tool.use" | "integration.use";
3169
+ action: "provider.use" | "tool.use" | "integration.connect" | "integration.use" | "mcp.use" | "skill.use" | "plugin.use";
3166
3170
  resource: string;
3167
3171
  effect: "allow" | "deny";
3168
3172
  }>;
@@ -3419,7 +3423,7 @@ export type ConfigEntry = {
3419
3423
  subagent_depth?: number;
3420
3424
  location_idle_timeout?: string | false;
3421
3425
  policies?: Array<{
3422
- action: "provider.use" | "tool.use" | "integration.use";
3426
+ action: "provider.use" | "tool.use" | "integration.connect" | "integration.use" | "mcp.use" | "skill.use" | "plugin.use";
3423
3427
  resource: string;
3424
3428
  effect: "allow" | "deny";
3425
3429
  }>;
@@ -5398,18 +5402,32 @@ export type ExperimentalScheduleCreateInput = {
5398
5402
  readonly every?: never;
5399
5403
  readonly tz?: string;
5400
5404
  }) | undefined;
5401
- readonly if?: {
5405
+ readonly if?: ({
5402
5406
  readonly run: string;
5403
5407
  readonly is?: string;
5404
5408
  readonly matches?: string;
5405
5409
  readonly changes?: boolean;
5406
- } | undefined;
5407
- readonly until?: {
5410
+ readonly code?: never;
5411
+ } | {
5412
+ readonly code: string;
5413
+ readonly run?: never;
5414
+ readonly is?: never;
5415
+ readonly matches?: never;
5416
+ readonly changes?: never;
5417
+ }) | undefined;
5418
+ readonly until?: ({
5408
5419
  readonly run: string;
5409
5420
  readonly is?: string;
5410
5421
  readonly matches?: string;
5411
5422
  readonly changes?: boolean;
5412
- } | undefined;
5423
+ readonly code?: never;
5424
+ } | {
5425
+ readonly code: string;
5426
+ readonly run?: never;
5427
+ readonly is?: never;
5428
+ readonly matches?: never;
5429
+ readonly changes?: never;
5430
+ }) | undefined;
5413
5431
  readonly ends?: {
5414
5432
  readonly after?: string;
5415
5433
  readonly at?: string;
@@ -38,7 +38,7 @@ import {
38
38
  isShellNotFoundError2,
39
39
  isWorktreeError2,
40
40
  isVcsInitNotSupportedError2
41
- } from "../../chunks/service-cvg5j6d1.js";
41
+ } from "../../chunks/rpc-runtime-cvg5j6d1.js";
42
42
  export {
43
43
  isAgentNotFoundError2 as isAgentNotFoundError,
44
44
  isCommandExecutionError2 as isCommandExecutionError,
@@ -1,10 +1,14 @@
1
- import"../chunks/service-m2eywc8w.js";
1
+ import"../chunks/rpc-runtime-m2eywc8w.js";
2
2
  import {
3
- exports_client
4
- } from "../chunks/service-6wfjzt7d.js";
5
- import"../chunks/service-kdshn947.js";
6
- import"../chunks/service-vyas3vgt.js";
7
- import"../chunks/service-m3tyme7q.js";
3
+ exports_client3
4
+ } from "../chunks/rpc-runtime-2kfhge2q.js";
5
+ import"../chunks/rpc-runtime-sqcsh66p.js";
6
+ import"../chunks/rpc-runtime-kdshn947.js";
7
+ import"../chunks/rpc-runtime-vyas3vgt.js";
8
+ import"../chunks/rpc-runtime-6zp7akge.js";
9
+ import {
10
+ ClientError3
11
+ } from "../chunks/rpc-runtime-nwcpakzx.js";
8
12
  import {
9
13
  isInvalidRequestError2,
10
14
  isUnauthorizedError2,
@@ -45,14 +49,10 @@ import {
45
49
  isShellNotFoundError2,
46
50
  isWorktreeError2,
47
51
  isVcsInitNotSupportedError2
48
- } from "../chunks/service-cvg5j6d1.js";
49
- import {
50
- ClientError2
51
- } from "../chunks/service-js54wxgp.js";
52
- import"../chunks/service-gecjxyvt.js";
52
+ } from "../chunks/rpc-runtime-cvg5j6d1.js";
53
53
  export {
54
- ClientError2 as ClientError,
55
- exports_client as OpenCode,
54
+ ClientError3 as ClientError,
55
+ exports_client3 as OpenCode,
56
56
  isAgentNotFoundError2 as isAgentNotFoundError,
57
57
  isCommandExecutionError2 as isCommandExecutionError,
58
58
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  makeRpc2
3
- } from "../chunks/service-kdshn947.js";
4
- import"../chunks/service-cvg5j6d1.js";
3
+ } from "../chunks/rpc-runtime-kdshn947.js";
4
+ import"../chunks/rpc-runtime-cvg5j6d1.js";
5
5
  export {
6
6
  makeRpc2 as makeRpc
7
7
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/service-ve4aws36.js";
4
+ } from "../chunks/rpc-runtime-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/service-xgnj2w4v.js";
8
+ } from "../chunks/rpc-runtime-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/service-sxt88q69.js";
11
+ } from "../chunks/rpc-runtime-sxt88q69.js";
12
12
  import {
13
13
  decide2,
14
14
  fallback2,
15
15
  same2,
16
16
  probeResult2,
17
17
  headers2
18
- } from "../chunks/service-2ny4vxct.js";
18
+ } from "../chunks/rpc-runtime-8ye1ye6f.js";
19
19
  import {
20
20
  prepare2,
21
21
  environment2,
22
22
  complete2,
23
23
  clear2
24
- } from "../chunks/service-re4x2z5b.js";
25
- import"../chunks/service-qav6mfdz.js";
24
+ } from "../chunks/rpc-runtime-5w21zsxq.js";
25
+ import"../chunks/rpc-runtime-qav6mfdz.js";
26
26
 
27
27
  // src/promise/service.ts
28
28
  import { readFile, rm } from "node:fs/promises";
@@ -4,10 +4,10 @@ import {
4
4
  complete2,
5
5
  clear2,
6
6
  exports_pty_handoff
7
- } from "./chunks/service-re4x2z5b.js";
8
- import"./chunks/service-2ny4vxct.js";
9
- import"./chunks/service-sxt88q69.js";
10
- import"./chunks/service-xgnj2w4v.js";
7
+ } from "./chunks/rpc-runtime-5w21zsxq.js";
8
+ import"./chunks/rpc-runtime-8ye1ye6f.js";
9
+ import"./chunks/rpc-runtime-xgnj2w4v.js";
10
+ import"./chunks/rpc-runtime-sxt88q69.js";
11
11
  export {
12
12
  exports_pty_handoff as PtyHandoff,
13
13
  clear2 as clear,
@@ -4,7 +4,7 @@ import {
4
4
  event2,
5
5
  eventType2,
6
6
  exports_rpc_runtime
7
- } from "./chunks/service-ryy6kscr.js";
7
+ } from "./chunks/rpc-runtime-ryy6kscr.js";
8
8
  export {
9
9
  exports_rpc_runtime as RpcRuntime,
10
10
  event2 as event,
@@ -2,7 +2,7 @@ import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2,
4
4
  contenderFinished2
5
- } from "./chunks/service-ve4aws36.js";
5
+ } from "./chunks/rpc-runtime-ve4aws36.js";
6
6
  export {
7
7
  contenderFinished2 as contenderFinished,
8
8
  contenderPool2 as contenderPool,
@@ -4,9 +4,9 @@ import {
4
4
  same2,
5
5
  probeResult2,
6
6
  headers2
7
- } from "./chunks/service-2ny4vxct.js";
8
- import"./chunks/service-sxt88q69.js";
9
- import"./chunks/service-xgnj2w4v.js";
7
+ } from "./chunks/rpc-runtime-8ye1ye6f.js";
8
+ import"./chunks/rpc-runtime-xgnj2w4v.js";
9
+ import"./chunks/rpc-runtime-sxt88q69.js";
10
10
  export {
11
11
  decide2 as decide,
12
12
  fallback2 as fallback,
@@ -2,7 +2,7 @@ import {
2
2
  defaultEnsureTiming2,
3
3
  ensureTiming2,
4
4
  withEnsureTiming2
5
- } from "./chunks/service-xgnj2w4v.js";
5
+ } from "./chunks/rpc-runtime-xgnj2w4v.js";
6
6
  export {
7
7
  defaultEnsureTiming2 as defaultEnsureTiming,
8
8
  ensureTiming2 as ensureTiming,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  matchesVersion2
3
- } from "./chunks/service-sxt88q69.js";
3
+ } from "./chunks/rpc-runtime-sxt88q69.js";
4
4
  export {
5
5
  matchesVersion2 as matchesVersion
6
6
  };
package/dist/service.js CHANGED
@@ -1 +1 @@
1
- import"./chunks/service-qav6mfdz.js";
1
+ import"./chunks/rpc-runtime-qav6mfdz.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
- make7,
2
+ make6,
3
3
  exports_shared_events
4
- } from "./chunks/service-gecjxyvt.js";
4
+ } from "./chunks/rpc-runtime-sqcsh66p.js";
5
5
  export {
6
6
  exports_shared_events as SharedEvents,
7
- make7 as make
7
+ make6 as make
8
8
  };
@@ -2,7 +2,7 @@ import {
2
2
  defaultIdleTimeout2,
3
3
  foregroundIdleThreshold2,
4
4
  createClientConnection2
5
- } from "../chunks/service-ydhz1zrh.js";
5
+ } from "../chunks/rpc-runtime-ydhz1zrh.js";
6
6
  export {
7
7
  createClientConnection2 as createClientConnection,
8
8
  defaultIdleTimeout2 as defaultIdleTimeout,
@@ -2,15 +2,15 @@ import {
2
2
  settleMs2,
3
3
  locationKey2,
4
4
  createData2
5
- } from "../chunks/service-f6hq5twr.js";
6
- import"../chunks/service-m2eywc8w.js";
7
- import"../chunks/service-6wfjzt7d.js";
8
- import"../chunks/service-kdshn947.js";
9
- import"../chunks/service-vyas3vgt.js";
10
- import"../chunks/service-m3tyme7q.js";
11
- import"../chunks/service-cvg5j6d1.js";
12
- import"../chunks/service-js54wxgp.js";
13
- import"../chunks/service-gecjxyvt.js";
5
+ } from "../chunks/rpc-runtime-f6hq5twr.js";
6
+ import"../chunks/rpc-runtime-m2eywc8w.js";
7
+ import"../chunks/rpc-runtime-2kfhge2q.js";
8
+ import"../chunks/rpc-runtime-sqcsh66p.js";
9
+ import"../chunks/rpc-runtime-kdshn947.js";
10
+ import"../chunks/rpc-runtime-vyas3vgt.js";
11
+ import"../chunks/rpc-runtime-6zp7akge.js";
12
+ import"../chunks/rpc-runtime-nwcpakzx.js";
13
+ import"../chunks/rpc-runtime-cvg5j6d1.js";
14
14
  export {
15
15
  createData2 as createData,
16
16
  locationKey2 as locationKey,
@@ -1,31 +1,31 @@
1
- import"../chunks/service-js54wxgp.js";
2
- import"../chunks/service-m3tyme7q.js";
3
- import"../chunks/service-cvg5j6d1.js";
4
- import"../chunks/service-vyas3vgt.js";
5
- import"../chunks/service-gecjxyvt.js";
6
- import"../chunks/service-kdshn947.js";
7
- import"../chunks/service-6wfjzt7d.js";
8
- import"../chunks/service-m2eywc8w.js";
1
+ import"../chunks/rpc-runtime-nwcpakzx.js";
2
+ import"../chunks/rpc-runtime-6zp7akge.js";
3
+ import"../chunks/rpc-runtime-cvg5j6d1.js";
4
+ import"../chunks/rpc-runtime-vyas3vgt.js";
5
+ import"../chunks/rpc-runtime-sqcsh66p.js";
6
+ import"../chunks/rpc-runtime-kdshn947.js";
7
+ import"../chunks/rpc-runtime-2kfhge2q.js";
8
+ import"../chunks/rpc-runtime-m2eywc8w.js";
9
9
  import {
10
10
  settleMs2,
11
11
  locationKey2,
12
12
  createData2
13
- } from "../chunks/service-f6hq5twr.js";
13
+ } from "../chunks/rpc-runtime-f6hq5twr.js";
14
14
  import {
15
15
  defaultIdleTimeout2,
16
16
  foregroundIdleThreshold2,
17
17
  createClientConnection2
18
- } from "../chunks/service-ydhz1zrh.js";
18
+ } from "../chunks/rpc-runtime-ydhz1zrh.js";
19
19
  import {
20
20
  createPtyClient2,
21
21
  createPersistentPtyClient2
22
- } from "../chunks/service-gne7h7mq.js";
22
+ } from "../chunks/rpc-runtime-gne7h7mq.js";
23
23
  import {
24
24
  createSessionRetention2
25
- } from "../chunks/service-6mq2wh8y.js";
25
+ } from "../chunks/rpc-runtime-6mq2wh8y.js";
26
26
  import {
27
27
  lastAssistantWithUsage2
28
- } from "../chunks/service-8s2anffy.js";
28
+ } from "../chunks/rpc-runtime-8s2anffy.js";
29
29
  export {
30
30
  createClientConnection2 as createClientConnection,
31
31
  createData2 as createData,
package/dist/solid/pty.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createPtyClient2,
3
3
  createPersistentPtyClient2
4
- } from "../chunks/service-gne7h7mq.js";
4
+ } from "../chunks/rpc-runtime-gne7h7mq.js";
5
5
  export {
6
6
  createPersistentPtyClient2 as createPersistentPtyClient,
7
7
  createPtyClient2 as createPtyClient
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSessionRetention2
3
- } from "../chunks/service-6mq2wh8y.js";
3
+ } from "../chunks/rpc-runtime-6mq2wh8y.js";
4
4
  export {
5
5
  createSessionRetention2 as createSessionRetention
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  lastAssistantWithUsage2
3
- } from "../chunks/service-8s2anffy.js";
3
+ } from "../chunks/rpc-runtime-8s2anffy.js";
4
4
  export {
5
5
  lastAssistantWithUsage2 as lastAssistantWithUsage
6
6
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/client",
4
- "version": "0.0.0-dev-256",
4
+ "version": "0.0.0-dev-271",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -63,8 +63,8 @@
63
63
  "typecheck:tsc": "tsc --noEmit"
64
64
  },
65
65
  "dependencies": {
66
- "@opencode/schema": "0.0.0-dev-256",
67
- "@opencode/protocol": "0.0.0-dev-256"
66
+ "@opencode/schema": "0.0.0-dev-271",
67
+ "@opencode/protocol": "0.0.0-dev-271"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "effect": "4.0.6",
@@ -81,7 +81,7 @@
81
81
  "devDependencies": {
82
82
  "@effect/platform-node": "4.0.6",
83
83
  "@modelcontextprotocol/client": "2.3.1",
84
- "@opencode/httpapi-codegen": "0.0.0-dev-256",
84
+ "@opencode/httpapi-codegen": "0.0.0-dev-271",
85
85
  "@tsconfig/bun": "1.0.9",
86
86
  "@types/bun": "1.4.3",
87
87
  "@typescript/native": "npm:typescript@7.1.0-beta",
@@ -1,30 +0,0 @@
1
- import {
2
- make7
3
- } from "./service-gecjxyvt.js";
4
- import {
5
- make3
6
- } from "./service-m3tyme7q.js";
7
- import {
8
- makeRpc2
9
- } from "./service-kdshn947.js";
10
- import {
11
- __export
12
- } from "./service-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 };