@opencode/client 0.0.0-dev-20800 → 0.0.0-dev-20801

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 (59) hide show
  1. package/dist/chunks/{pty-handoff-1y4a697q.js → contract-1y4a697q.js} +1 -1
  2. package/dist/chunks/{pty-handoff-8ye1ye6f.js → contract-2ny4vxct.js} +2 -2
  3. package/dist/chunks/contract-3xe3aqqq.js +30 -0
  4. package/dist/chunks/{pty-handoff-y2etg5bs.js → contract-7f0py9js.js} +2 -2
  5. package/dist/chunks/{pty-handoff-frbwqjmf.js → contract-frbwqjmf.js} +1 -1
  6. package/dist/chunks/{pty-handoff-5eexdrr4.js → contract-hzt178db.js} +1 -1
  7. package/dist/chunks/{pty-handoff-nwcpakzx.js → contract-js54wxgp.js} +2 -2
  8. package/dist/chunks/{pty-handoff-z6qdwcsf.js → contract-mnyft54j.js} +5 -5
  9. package/dist/chunks/{pty-handoff-qhs09f6z.js → contract-nt7y9tb6.js} +10 -10
  10. package/dist/chunks/{pty-handoff-qm3ebzrs.js → contract-steb0hnc.js} +17 -17
  11. package/dist/chunks/{pty-handoff-t1xa31vm.js → contract-t1xa31vm.js} +1 -1
  12. package/dist/chunks/{pty-handoff-9h52wrcy.js → contract-tbh3h57v.js} +19 -19
  13. package/dist/chunks/{pty-handoff-yze5j8cn.js → contract-yze5j8cn.js} +1 -1
  14. package/dist/contract.js +1 -1
  15. package/dist/effect/api/api.d.ts +67 -63
  16. package/dist/effect/client.js +12 -12
  17. package/dist/effect/generated/client-error.js +3 -3
  18. package/dist/effect/generated/client.js +5 -5
  19. package/dist/effect/generated/index.js +8 -8
  20. package/dist/effect/index.js +12 -12
  21. package/dist/effect/rpc.js +4 -4
  22. package/dist/effect/service.js +6 -6
  23. package/dist/promise/client.d.ts +2 -2
  24. package/dist/promise/client.js +11 -11
  25. package/dist/promise/generated/client-error.js +3 -3
  26. package/dist/promise/generated/client.d.ts +2 -2
  27. package/dist/promise/generated/client.js +4 -4
  28. package/dist/promise/generated/index.js +10 -10
  29. package/dist/promise/generated/types.d.ts +1647 -1621
  30. package/dist/promise/generated/types.js +1 -1
  31. package/dist/promise/index.js +13 -13
  32. package/dist/promise/rpc.js +2 -2
  33. package/dist/promise/service.js +6 -6
  34. package/dist/pty-handoff.js +1 -1
  35. package/dist/rpc-runtime.js +1 -1
  36. package/dist/service-contender.js +1 -1
  37. package/dist/service-probe.js +3 -3
  38. package/dist/service-timing.js +1 -1
  39. package/dist/service-version.js +1 -1
  40. package/dist/service.js +1 -1
  41. package/dist/shared-events.js +1 -1
  42. package/dist/solid/connection.js +1 -1
  43. package/dist/solid/data.js +9 -9
  44. package/dist/solid/index.js +11 -11
  45. package/dist/solid/pty.js +1 -1
  46. package/package.json +7 -7
  47. package/dist/chunks/pty-handoff-4g868gd9.js +0 -30
  48. /package/dist/chunks/{pty-handoff-6mptkzbc.js → contract-6mptkzbc.js} +0 -0
  49. /package/dist/chunks/{pty-handoff-9rqn6x4v.js → contract-9rqn6x4v.js} +0 -0
  50. /package/dist/chunks/{pty-handoff-gne7h7mq.js → contract-gne7h7mq.js} +0 -0
  51. /package/dist/chunks/{pty-handoff-m2eywc8w.js → contract-m2eywc8w.js} +0 -0
  52. /package/dist/chunks/{pty-handoff-qav6mfdz.js → contract-qav6mfdz.js} +0 -0
  53. /package/dist/chunks/{pty-handoff-sxt88q69.js → contract-sxt88q69.js} +0 -0
  54. /package/dist/chunks/{pty-handoff-ve4aws36.js → contract-ve4aws36.js} +0 -0
  55. /package/dist/chunks/{pty-handoff-vmytr4q8.js → contract-vmytr4q8.js} +0 -0
  56. /package/dist/chunks/{pty-handoff-vt9jbch8.js → contract-vt9jbch8.js} +0 -0
  57. /package/dist/chunks/{pty-handoff-vyas3vgt.js → contract-vyas3vgt.js} +0 -0
  58. /package/dist/chunks/{pty-handoff-xgnj2w4v.js → contract-xgnj2w4v.js} +0 -0
  59. /package/dist/chunks/{pty-handoff-ydhz1zrh.js → contract-ydhz1zrh.js} +0 -0
@@ -32,7 +32,7 @@ import {
32
32
  isShellNotFoundError2,
33
33
  isWorktreeError2,
34
34
  isVcsInitNotSupportedError2
35
- } from "../../chunks/pty-handoff-vt9jbch8.js";
35
+ } from "../../chunks/contract-vt9jbch8.js";
36
36
  export {
37
37
  isAgentNotFoundError2 as isAgentNotFoundError,
38
38
  isCommandExecutionError2 as isCommandExecutionError,
@@ -1,13 +1,9 @@
1
- import"../chunks/pty-handoff-m2eywc8w.js";
1
+ import"../chunks/contract-m2eywc8w.js";
2
2
  import {
3
- exports_client3
4
- } from "../chunks/pty-handoff-4g868gd9.js";
5
- import"../chunks/pty-handoff-1y4a697q.js";
6
- import"../chunks/pty-handoff-vyas3vgt.js";
7
- import"../chunks/pty-handoff-9h52wrcy.js";
8
- import {
9
- ClientError3
10
- } from "../chunks/pty-handoff-nwcpakzx.js";
3
+ exports_client
4
+ } from "../chunks/contract-3xe3aqqq.js";
5
+ import"../chunks/contract-1y4a697q.js";
6
+ import"../chunks/contract-vyas3vgt.js";
11
7
  import {
12
8
  isInvalidRequestError2,
13
9
  isUnauthorizedError2,
@@ -42,11 +38,15 @@ import {
42
38
  isShellNotFoundError2,
43
39
  isWorktreeError2,
44
40
  isVcsInitNotSupportedError2
45
- } from "../chunks/pty-handoff-vt9jbch8.js";
46
- import"../chunks/pty-handoff-frbwqjmf.js";
41
+ } from "../chunks/contract-vt9jbch8.js";
42
+ import"../chunks/contract-tbh3h57v.js";
43
+ import {
44
+ ClientError2
45
+ } from "../chunks/contract-js54wxgp.js";
46
+ import"../chunks/contract-frbwqjmf.js";
47
47
  export {
48
- ClientError3 as ClientError,
49
- exports_client3 as OpenCode,
48
+ ClientError2 as ClientError,
49
+ exports_client as OpenCode,
50
50
  isAgentNotFoundError2 as isAgentNotFoundError,
51
51
  isCommandExecutionError2 as isCommandExecutionError,
52
52
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  makeRpc2
3
- } from "../chunks/pty-handoff-1y4a697q.js";
4
- import"../chunks/pty-handoff-vt9jbch8.js";
3
+ } from "../chunks/contract-1y4a697q.js";
4
+ import"../chunks/contract-vt9jbch8.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/pty-handoff-ve4aws36.js";
4
+ } from "../chunks/contract-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/pty-handoff-xgnj2w4v.js";
8
+ } from "../chunks/contract-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/pty-handoff-sxt88q69.js";
11
+ } from "../chunks/contract-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/pty-handoff-5eexdrr4.js";
17
+ } from "../chunks/contract-hzt178db.js";
18
18
  import {
19
19
  decide2,
20
20
  fallback2,
21
21
  same2,
22
22
  probeResult2,
23
23
  headers2
24
- } from "../chunks/pty-handoff-8ye1ye6f.js";
25
- import"../chunks/pty-handoff-qav6mfdz.js";
24
+ } from "../chunks/contract-2ny4vxct.js";
25
+ import"../chunks/contract-qav6mfdz.js";
26
26
 
27
27
  // src/promise/service.ts
28
28
  import { readFile, rm } from "node:fs/promises";
@@ -4,7 +4,7 @@ import {
4
4
  complete2,
5
5
  clear2,
6
6
  exports_pty_handoff
7
- } from "./chunks/pty-handoff-5eexdrr4.js";
7
+ } from "./chunks/contract-hzt178db.js";
8
8
  export {
9
9
  exports_pty_handoff as PtyHandoff,
10
10
  clear2 as clear,
@@ -4,7 +4,7 @@ import {
4
4
  event2,
5
5
  eventType2,
6
6
  exports_rpc_runtime
7
- } from "./chunks/pty-handoff-t1xa31vm.js";
7
+ } from "./chunks/contract-t1xa31vm.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/pty-handoff-ve4aws36.js";
5
+ } from "./chunks/contract-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/pty-handoff-8ye1ye6f.js";
8
- import"./chunks/pty-handoff-xgnj2w4v.js";
9
- import"./chunks/pty-handoff-sxt88q69.js";
7
+ } from "./chunks/contract-2ny4vxct.js";
8
+ import"./chunks/contract-sxt88q69.js";
9
+ import"./chunks/contract-xgnj2w4v.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/pty-handoff-xgnj2w4v.js";
5
+ } from "./chunks/contract-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/pty-handoff-sxt88q69.js";
3
+ } from "./chunks/contract-sxt88q69.js";
4
4
  export {
5
5
  matchesVersion2 as matchesVersion
6
6
  };
package/dist/service.js CHANGED
@@ -1 +1 @@
1
- import"./chunks/pty-handoff-qav6mfdz.js";
1
+ import"./chunks/contract-qav6mfdz.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make7,
3
3
  exports_shared_events
4
- } from "./chunks/pty-handoff-frbwqjmf.js";
4
+ } from "./chunks/contract-frbwqjmf.js";
5
5
  export {
6
6
  exports_shared_events as SharedEvents,
7
7
  make7 as make
@@ -2,7 +2,7 @@ import {
2
2
  defaultIdleTimeout2,
3
3
  foregroundIdleThreshold2,
4
4
  createClientConnection2
5
- } from "../chunks/pty-handoff-ydhz1zrh.js";
5
+ } from "../chunks/contract-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/pty-handoff-yze5j8cn.js";
6
- import"../chunks/pty-handoff-m2eywc8w.js";
7
- import"../chunks/pty-handoff-4g868gd9.js";
8
- import"../chunks/pty-handoff-1y4a697q.js";
9
- import"../chunks/pty-handoff-vyas3vgt.js";
10
- import"../chunks/pty-handoff-9h52wrcy.js";
11
- import"../chunks/pty-handoff-nwcpakzx.js";
12
- import"../chunks/pty-handoff-vt9jbch8.js";
13
- import"../chunks/pty-handoff-frbwqjmf.js";
5
+ } from "../chunks/contract-yze5j8cn.js";
6
+ import"../chunks/contract-m2eywc8w.js";
7
+ import"../chunks/contract-3xe3aqqq.js";
8
+ import"../chunks/contract-1y4a697q.js";
9
+ import"../chunks/contract-vyas3vgt.js";
10
+ import"../chunks/contract-vt9jbch8.js";
11
+ import"../chunks/contract-tbh3h57v.js";
12
+ import"../chunks/contract-js54wxgp.js";
13
+ import"../chunks/contract-frbwqjmf.js";
14
14
  export {
15
15
  createData2 as createData,
16
16
  locationKey2 as locationKey,
@@ -1,25 +1,25 @@
1
- import"../chunks/pty-handoff-nwcpakzx.js";
2
- import"../chunks/pty-handoff-9h52wrcy.js";
3
- import"../chunks/pty-handoff-vt9jbch8.js";
4
- import"../chunks/pty-handoff-vyas3vgt.js";
5
- import"../chunks/pty-handoff-frbwqjmf.js";
6
- import"../chunks/pty-handoff-1y4a697q.js";
7
- import"../chunks/pty-handoff-4g868gd9.js";
8
- import"../chunks/pty-handoff-m2eywc8w.js";
1
+ import"../chunks/contract-js54wxgp.js";
2
+ import"../chunks/contract-tbh3h57v.js";
3
+ import"../chunks/contract-vt9jbch8.js";
4
+ import"../chunks/contract-vyas3vgt.js";
5
+ import"../chunks/contract-frbwqjmf.js";
6
+ import"../chunks/contract-1y4a697q.js";
7
+ import"../chunks/contract-3xe3aqqq.js";
8
+ import"../chunks/contract-m2eywc8w.js";
9
9
  import {
10
10
  settleMs2,
11
11
  locationKey2,
12
12
  createData2
13
- } from "../chunks/pty-handoff-yze5j8cn.js";
13
+ } from "../chunks/contract-yze5j8cn.js";
14
14
  import {
15
15
  defaultIdleTimeout2,
16
16
  foregroundIdleThreshold2,
17
17
  createClientConnection2
18
- } from "../chunks/pty-handoff-ydhz1zrh.js";
18
+ } from "../chunks/contract-ydhz1zrh.js";
19
19
  import {
20
20
  createPtyClient2,
21
21
  createPersistentPtyClient2
22
- } from "../chunks/pty-handoff-gne7h7mq.js";
22
+ } from "../chunks/contract-gne7h7mq.js";
23
23
  export {
24
24
  createClientConnection2 as createClientConnection,
25
25
  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/pty-handoff-gne7h7mq.js";
4
+ } from "../chunks/contract-gne7h7mq.js";
5
5
  export {
6
6
  createPersistentPtyClient2 as createPersistentPtyClient,
7
7
  createPtyClient2 as createPtyClient
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-20800",
4
+ "version": "0.0.0-dev-20801",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -57,11 +57,11 @@
57
57
  "typecheck": "tsgo --noEmit"
58
58
  },
59
59
  "dependencies": {
60
- "@opencode/schema": "0.0.0-dev-20800",
61
- "@opencode/protocol": "0.0.0-dev-20800"
60
+ "@opencode/schema": "0.0.0-dev-20801",
61
+ "@opencode/protocol": "0.0.0-dev-20801"
62
62
  },
63
63
  "peerDependencies": {
64
- "effect": "4.0.0-rc.118",
64
+ "effect": "4.0.1",
65
65
  "solid-js": ">=1.9.0"
66
66
  },
67
67
  "peerDependenciesMeta": {
@@ -73,12 +73,12 @@
73
73
  }
74
74
  },
75
75
  "devDependencies": {
76
- "@effect/platform-node": "4.0.0-rc.118",
77
- "@opencode/httpapi-codegen": "0.0.0-dev-20800",
76
+ "@effect/platform-node": "4.0.1",
77
+ "@opencode/httpapi-codegen": "0.0.0-dev-20801",
78
78
  "@tsconfig/bun": "1.0.9",
79
79
  "@types/bun": "1.4.0",
80
80
  "@typescript/native-preview": "7.0.0-dev.20251207.1",
81
- "effect": "4.0.0-rc.118",
81
+ "effect": "4.0.1",
82
82
  "solid-js": "1.9.15"
83
83
  }
84
84
  }
@@ -1,30 +0,0 @@
1
- import {
2
- make7
3
- } from "./pty-handoff-frbwqjmf.js";
4
- import {
5
- make6
6
- } from "./pty-handoff-9h52wrcy.js";
7
- import {
8
- makeRpc2
9
- } from "./pty-handoff-1y4a697q.js";
10
- import {
11
- __export
12
- } from "./pty-handoff-9rqn6x4v.js";
13
-
14
- // src/promise/client.ts
15
- var exports_client3 = {};
16
- __export(exports_client3, {
17
- OpenCode: () => exports_client3,
18
- make: () => make5
19
- });
20
- function make5(options) {
21
- const raw = make6(options);
22
- const events = make7((signal, onActivity) => raw.event.subscribe({ signal, onActivity }));
23
- return {
24
- ...raw,
25
- rpc: Object.assign(makeRpc2(raw, events), raw.rpc),
26
- event: events
27
- };
28
- }
29
-
30
- export { make5, exports_client3 };