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

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 (63) hide show
  1. package/dist/chunks/{pty-handoff-r9xfh9dd.js → service-0r3venm0.js} +19 -19
  2. package/dist/chunks/{pty-handoff-2ny4vxct.js → service-2ny4vxct.js} +2 -2
  3. package/dist/chunks/service-6wfjzt7d.js +30 -0
  4. package/dist/chunks/{pty-handoff-y2etg5bs.js → service-7f0py9js.js} +2 -2
  5. package/dist/chunks/{pty-handoff-15p82y03.js → service-anregfhs.js} +5 -5
  6. package/dist/chunks/{pty-handoff-f6hq5twr.js → service-f6hq5twr.js} +1 -1
  7. package/dist/chunks/{pty-handoff-sqcsh66p.js → service-gecjxyvt.js} +4 -4
  8. package/dist/chunks/{pty-handoff-nwcpakzx.js → service-js54wxgp.js} +2 -2
  9. package/dist/chunks/{pty-handoff-kdshn947.js → service-kdshn947.js} +1 -1
  10. package/dist/chunks/{pty-handoff-memncc6n.js → service-m3tyme7q.js} +21 -19
  11. package/dist/chunks/{pty-handoff-r76mn47y.js → service-nshxw98s.js} +12 -10
  12. package/dist/chunks/{pty-handoff-dsq4k1a5.js → service-re4x2z5b.js} +2 -2
  13. package/dist/chunks/{pty-handoff-ryy6kscr.js → service-ryy6kscr.js} +1 -1
  14. package/dist/contract.js +1 -1
  15. package/dist/effect/api/api.d.ts +3 -1
  16. package/dist/effect/client.d.ts +64 -4
  17. package/dist/effect/client.js +12 -12
  18. package/dist/effect/generated/client-error.js +3 -3
  19. package/dist/effect/generated/client.d.ts +64 -4
  20. package/dist/effect/generated/client.js +5 -5
  21. package/dist/effect/generated/index.js +8 -8
  22. package/dist/effect/index.js +12 -12
  23. package/dist/effect/rpc.js +4 -4
  24. package/dist/effect/service.js +6 -6
  25. package/dist/promise/client.js +11 -11
  26. package/dist/promise/generated/client-error.js +3 -3
  27. package/dist/promise/generated/client.js +4 -4
  28. package/dist/promise/generated/index.js +9 -9
  29. package/dist/promise/generated/types.d.ts +38 -3
  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 +4 -4
  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 +3 -3
  42. package/dist/solid/connection.js +1 -1
  43. package/dist/solid/data.js +9 -9
  44. package/dist/solid/index.js +13 -13
  45. package/dist/solid/pty.js +1 -1
  46. package/dist/solid/retention.js +1 -1
  47. package/dist/solid/usage.js +1 -1
  48. package/package.json +4 -4
  49. package/dist/chunks/pty-handoff-jkp9n0ws.js +0 -30
  50. /package/dist/chunks/{pty-handoff-60xe5cbf.js → service-60xe5cbf.js} +0 -0
  51. /package/dist/chunks/{pty-handoff-6mptkzbc.js → service-6mptkzbc.js} +0 -0
  52. /package/dist/chunks/{pty-handoff-6mq2wh8y.js → service-6mq2wh8y.js} +0 -0
  53. /package/dist/chunks/{pty-handoff-8s2anffy.js → service-8s2anffy.js} +0 -0
  54. /package/dist/chunks/{pty-handoff-9rqn6x4v.js → service-9rqn6x4v.js} +0 -0
  55. /package/dist/chunks/{pty-handoff-cvg5j6d1.js → service-cvg5j6d1.js} +0 -0
  56. /package/dist/chunks/{pty-handoff-gne7h7mq.js → service-gne7h7mq.js} +0 -0
  57. /package/dist/chunks/{pty-handoff-m2eywc8w.js → service-m2eywc8w.js} +0 -0
  58. /package/dist/chunks/{pty-handoff-qav6mfdz.js → service-qav6mfdz.js} +0 -0
  59. /package/dist/chunks/{pty-handoff-sxt88q69.js → service-sxt88q69.js} +0 -0
  60. /package/dist/chunks/{pty-handoff-ve4aws36.js → service-ve4aws36.js} +0 -0
  61. /package/dist/chunks/{pty-handoff-vyas3vgt.js → service-vyas3vgt.js} +0 -0
  62. /package/dist/chunks/{pty-handoff-xgnj2w4v.js → service-xgnj2w4v.js} +0 -0
  63. /package/dist/chunks/{pty-handoff-ydhz1zrh.js → service-ydhz1zrh.js} +0 -0
@@ -1,31 +1,31 @@
1
- import"../chunks/pty-handoff-nwcpakzx.js";
2
- import"../chunks/pty-handoff-memncc6n.js";
3
- import"../chunks/pty-handoff-cvg5j6d1.js";
4
- import"../chunks/pty-handoff-vyas3vgt.js";
5
- import"../chunks/pty-handoff-sqcsh66p.js";
6
- import"../chunks/pty-handoff-kdshn947.js";
7
- import"../chunks/pty-handoff-jkp9n0ws.js";
8
- import"../chunks/pty-handoff-m2eywc8w.js";
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";
9
9
  import {
10
10
  settleMs2,
11
11
  locationKey2,
12
12
  createData2
13
- } from "../chunks/pty-handoff-f6hq5twr.js";
13
+ } from "../chunks/service-f6hq5twr.js";
14
14
  import {
15
15
  defaultIdleTimeout2,
16
16
  foregroundIdleThreshold2,
17
17
  createClientConnection2
18
- } from "../chunks/pty-handoff-ydhz1zrh.js";
18
+ } from "../chunks/service-ydhz1zrh.js";
19
19
  import {
20
20
  createPtyClient2,
21
21
  createPersistentPtyClient2
22
- } from "../chunks/pty-handoff-gne7h7mq.js";
22
+ } from "../chunks/service-gne7h7mq.js";
23
23
  import {
24
24
  createSessionRetention2
25
- } from "../chunks/pty-handoff-6mq2wh8y.js";
25
+ } from "../chunks/service-6mq2wh8y.js";
26
26
  import {
27
27
  lastAssistantWithUsage2
28
- } from "../chunks/pty-handoff-8s2anffy.js";
28
+ } from "../chunks/service-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/pty-handoff-gne7h7mq.js";
4
+ } from "../chunks/service-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/pty-handoff-6mq2wh8y.js";
3
+ } from "../chunks/service-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/pty-handoff-8s2anffy.js";
3
+ } from "../chunks/service-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-241",
4
+ "version": "0.0.0-dev-256",
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-241",
67
- "@opencode/protocol": "0.0.0-dev-241"
66
+ "@opencode/schema": "0.0.0-dev-256",
67
+ "@opencode/protocol": "0.0.0-dev-256"
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-241",
84
+ "@opencode/httpapi-codegen": "0.0.0-dev-256",
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
- make6
3
- } from "./pty-handoff-sqcsh66p.js";
4
- import {
5
- make7
6
- } from "./pty-handoff-memncc6n.js";
7
- import {
8
- makeRpc2
9
- } from "./pty-handoff-kdshn947.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 = make7(options);
22
- const events = make6((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 { make5, exports_client3 };