@opencode/client 2.0.24 → 2.0.26

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-71wkqa80.js → service-timing-0rcx1gca.js} +1 -1
  2. package/dist/chunks/{pty-handoff-1y4a697q.js → service-timing-1y4a697q.js} +1 -1
  3. package/dist/chunks/{pty-handoff-5yf5aaev.js → service-timing-546yv4kj.js} +9 -4
  4. package/dist/chunks/{pty-handoff-ank0d71z.js → service-timing-8ye1ye6f.js} +19 -2
  5. package/dist/chunks/{pty-handoff-cqfz2qxq.js → service-timing-e4sc9kq6.js} +4 -4
  6. package/dist/chunks/{pty-handoff-frbwqjmf.js → service-timing-frbwqjmf.js} +1 -1
  7. package/dist/chunks/{pty-handoff-myyn5x39.js → service-timing-p7x80kzg.js} +5 -5
  8. package/dist/chunks/{pty-handoff-t1xa31vm.js → service-timing-t1xa31vm.js} +1 -1
  9. package/dist/chunks/{pty-handoff-qzsnm4q8.js → service-timing-tbh3h57v.js} +11 -2
  10. package/dist/chunks/{pty-handoff-src6by76.js → service-timing-trz7kcxd.js} +14 -1
  11. package/dist/chunks/{pty-handoff-w1w809zr.js → service-timing-w1w809zr.js} +2 -2
  12. package/dist/contract.js +1 -1
  13. package/dist/effect/api/api.d.ts +12 -0
  14. package/dist/effect/client.d.ts +1 -0
  15. package/dist/effect/client.js +8 -8
  16. package/dist/effect/generated/client-error.js +1 -1
  17. package/dist/effect/generated/client.d.ts +2 -1
  18. package/dist/effect/generated/client.js +3 -3
  19. package/dist/effect/generated/index.js +4 -4
  20. package/dist/effect/index.js +8 -8
  21. package/dist/effect/rpc.js +2 -2
  22. package/dist/effect/service.d.ts +16 -2
  23. package/dist/effect/service.js +18 -23
  24. package/dist/promise/client.d.ts +1 -0
  25. package/dist/promise/client.js +7 -7
  26. package/dist/promise/generated/client-error.js +1 -1
  27. package/dist/promise/generated/client.d.ts +2 -1
  28. package/dist/promise/generated/client.js +2 -2
  29. package/dist/promise/generated/index.js +4 -4
  30. package/dist/promise/generated/types.d.ts +81 -4
  31. package/dist/promise/generated/types.js +1 -1
  32. package/dist/promise/index.js +8 -8
  33. package/dist/promise/rpc.js +2 -2
  34. package/dist/promise/service.js +13 -18
  35. package/dist/pty-handoff.js +1 -1
  36. package/dist/rpc-runtime.js +1 -1
  37. package/dist/service-contender.js +1 -1
  38. package/dist/service-probe.d.ts +18 -1
  39. package/dist/service-probe.js +5 -2
  40. package/dist/service-timing.js +1 -1
  41. package/dist/service-version.js +1 -1
  42. package/dist/service.js +1 -1
  43. package/dist/shared-events.js +1 -1
  44. package/dist/solid/connection.js +1 -1
  45. package/dist/solid/data.d.ts +7 -0
  46. package/dist/solid/data.js +9 -9
  47. package/dist/solid/index.js +11 -11
  48. package/dist/solid/pty.js +1 -1
  49. package/package.json +5 -6
  50. /package/dist/chunks/{pty-handoff-6mptkzbc.js → service-timing-6mptkzbc.js} +0 -0
  51. /package/dist/chunks/{pty-handoff-7f0py9js.js → service-timing-7f0py9js.js} +0 -0
  52. /package/dist/chunks/{pty-handoff-9rqn6x4v.js → service-timing-9rqn6x4v.js} +0 -0
  53. /package/dist/chunks/{pty-handoff-gne7h7mq.js → service-timing-gne7h7mq.js} +0 -0
  54. /package/dist/chunks/{pty-handoff-js54wxgp.js → service-timing-js54wxgp.js} +0 -0
  55. /package/dist/chunks/{pty-handoff-m2eywc8w.js → service-timing-m2eywc8w.js} +0 -0
  56. /package/dist/chunks/{pty-handoff-qav6mfdz.js → service-timing-qav6mfdz.js} +0 -0
  57. /package/dist/chunks/{pty-handoff-sxt88q69.js → service-timing-sxt88q69.js} +0 -0
  58. /package/dist/chunks/{pty-handoff-ve4aws36.js → service-timing-ve4aws36.js} +0 -0
  59. /package/dist/chunks/{pty-handoff-vmytr4q8.js → service-timing-vmytr4q8.js} +0 -0
  60. /package/dist/chunks/{pty-handoff-vt9jbch8.js → service-timing-vt9jbch8.js} +0 -0
  61. /package/dist/chunks/{pty-handoff-vyas3vgt.js → service-timing-vyas3vgt.js} +0 -0
  62. /package/dist/chunks/{pty-handoff-xgnj2w4v.js → service-timing-xgnj2w4v.js} +0 -0
  63. /package/dist/chunks/{pty-handoff-ydhz1zrh.js → service-timing-ydhz1zrh.js} +0 -0
@@ -496,6 +496,13 @@ export type CredentialOAuth = {
496
496
  [x: string]: JsonValue;
497
497
  };
498
498
  };
499
+ export type CredentialExternal = {
500
+ type: "external";
501
+ methodID: string;
502
+ metadata?: {
503
+ [x: string]: JsonValue;
504
+ };
505
+ };
499
506
  export type ProjectVcs = string;
500
507
  export type ProjectIcon = {
501
508
  url?: string;
@@ -2207,6 +2214,8 @@ export type ModelCompatibility = {
2207
2214
  requireFinishReason?: boolean;
2208
2215
  requireAssistantAfterTool?: boolean;
2209
2216
  supportsPromptCacheKey?: boolean;
2217
+ supportsThinkingBlockBinding?: boolean;
2218
+ supportsEffortUpdates?: boolean;
2210
2219
  };
2211
2220
  export type ModelCost = {
2212
2221
  tier?: {
@@ -2224,7 +2233,7 @@ export type ConnectionCredentialInfo = {
2224
2233
  type: "credential";
2225
2234
  id: string;
2226
2235
  label: string;
2227
- method: "key" | "oauth";
2236
+ method: "key" | "oauth" | "external";
2228
2237
  status?: ConnectionStatus;
2229
2238
  };
2230
2239
  export type ConnectionEnvInfo = {
@@ -3136,7 +3145,7 @@ export type ConfigEntry = {
3136
3145
  portable_shell_scanner?: boolean;
3137
3146
  subagent_depth?: number;
3138
3147
  policies?: Array<{
3139
- action: "provider.use" | "permission";
3148
+ action: "provider.use" | "tool.use" | "integration.use";
3140
3149
  resource: string;
3141
3150
  effect: "allow" | "deny";
3142
3151
  }>;
@@ -3203,7 +3212,7 @@ export type SessionMessageAssistantTool1 = {
3203
3212
  };
3204
3213
  };
3205
3214
  export type FormFields = [FormField, ...Array<FormField>];
3206
- export type CredentialValue = CredentialOAuth | CredentialKey;
3215
+ export type CredentialValue = CredentialOAuth | CredentialKey | CredentialExternal;
3207
3216
  export type FormFields2 = [FormField1, ...Array<FormField1>];
3208
3217
  export type SessionsResponse = {
3209
3218
  data: Array<SessionInfo>;
@@ -3286,6 +3295,12 @@ export type IntegrationKeyMethod = {
3286
3295
  label?: string;
3287
3296
  form?: FormFields;
3288
3297
  };
3298
+ export type IntegrationExternalMethod = {
3299
+ id: string;
3300
+ type: "external";
3301
+ label: string;
3302
+ form?: FormFields;
3303
+ };
3289
3304
  export type CredentialEntry = {
3290
3305
  id: string;
3291
3306
  integrationID: string;
@@ -3320,7 +3335,7 @@ export type SessionMessageContentUpdated = {
3320
3335
  content: Array<SessionMessageAssistantContentEncoded>;
3321
3336
  };
3322
3337
  };
3323
- export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
3338
+ export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationExternalMethod | IntegrationEnvMethod;
3324
3339
  export type FormCreated = {
3325
3340
  id: string;
3326
3341
  created: number;
@@ -7322,6 +7337,38 @@ export type IntegrationConnectKeyInput = {
7322
7337
  }["label"];
7323
7338
  };
7324
7339
  export type IntegrationConnectKeyOutput = void;
7340
+ export type IntegrationConnectExternalInput = {
7341
+ readonly integrationID: {
7342
+ readonly integrationID: string;
7343
+ }["integrationID"];
7344
+ readonly location?: {
7345
+ readonly location?: {
7346
+ readonly directory?: string | undefined;
7347
+ } | undefined;
7348
+ }["location"];
7349
+ readonly methodID: {
7350
+ readonly methodID: string;
7351
+ readonly answer?: {
7352
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7353
+ } | undefined;
7354
+ readonly label?: string | undefined;
7355
+ }["methodID"];
7356
+ readonly answer?: {
7357
+ readonly methodID: string;
7358
+ readonly answer?: {
7359
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7360
+ } | undefined;
7361
+ readonly label?: string | undefined;
7362
+ }["answer"];
7363
+ readonly label?: {
7364
+ readonly methodID: string;
7365
+ readonly answer?: {
7366
+ readonly [x: string]: string | number | boolean | ReadonlyArray<string>;
7367
+ } | undefined;
7368
+ readonly label?: string | undefined;
7369
+ }["label"];
7370
+ };
7371
+ export type IntegrationConnectExternalOutput = void;
7325
7372
  export type IntegrationOauthConnectInput = {
7326
7373
  readonly integrationID: {
7327
7374
  readonly integrationID: string;
@@ -7600,6 +7647,12 @@ export type CredentialCreateInput = {
7600
7647
  readonly configuration?: {
7601
7648
  readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
7602
7649
  };
7650
+ } | {
7651
+ readonly type: "external";
7652
+ readonly methodID: string;
7653
+ readonly metadata?: {
7654
+ readonly [x: string]: JsonValue;
7655
+ };
7603
7656
  };
7604
7657
  readonly activate?: boolean;
7605
7658
  }["id"];
@@ -7625,6 +7678,12 @@ export type CredentialCreateInput = {
7625
7678
  readonly configuration?: {
7626
7679
  readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
7627
7680
  };
7681
+ } | {
7682
+ readonly type: "external";
7683
+ readonly methodID: string;
7684
+ readonly metadata?: {
7685
+ readonly [x: string]: JsonValue;
7686
+ };
7628
7687
  };
7629
7688
  readonly activate?: boolean;
7630
7689
  }["integrationID"];
@@ -7650,6 +7709,12 @@ export type CredentialCreateInput = {
7650
7709
  readonly configuration?: {
7651
7710
  readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
7652
7711
  };
7712
+ } | {
7713
+ readonly type: "external";
7714
+ readonly methodID: string;
7715
+ readonly metadata?: {
7716
+ readonly [x: string]: JsonValue;
7717
+ };
7653
7718
  };
7654
7719
  readonly activate?: boolean;
7655
7720
  }["label"];
@@ -7675,6 +7740,12 @@ export type CredentialCreateInput = {
7675
7740
  readonly configuration?: {
7676
7741
  readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
7677
7742
  };
7743
+ } | {
7744
+ readonly type: "external";
7745
+ readonly methodID: string;
7746
+ readonly metadata?: {
7747
+ readonly [x: string]: JsonValue;
7748
+ };
7678
7749
  };
7679
7750
  readonly activate?: boolean;
7680
7751
  }["value"];
@@ -7700,6 +7771,12 @@ export type CredentialCreateInput = {
7700
7771
  readonly configuration?: {
7701
7772
  readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
7702
7773
  };
7774
+ } | {
7775
+ readonly type: "external";
7776
+ readonly methodID: string;
7777
+ readonly metadata?: {
7778
+ readonly [x: string]: JsonValue;
7779
+ };
7703
7780
  };
7704
7781
  readonly activate?: boolean;
7705
7782
  }["activate"];
@@ -32,7 +32,7 @@ import {
32
32
  isShellNotFoundError2,
33
33
  isWorktreeError2,
34
34
  isVcsInitNotSupportedError2
35
- } from "../../chunks/pty-handoff-vt9jbch8.js";
35
+ } from "../../chunks/service-timing-vt9jbch8.js";
36
36
  export {
37
37
  isAgentNotFoundError2 as isAgentNotFoundError,
38
38
  isCommandExecutionError2 as isCommandExecutionError,
@@ -1,13 +1,13 @@
1
- import"../chunks/pty-handoff-m2eywc8w.js";
1
+ import"../chunks/service-timing-m2eywc8w.js";
2
2
  import {
3
3
  exports_client
4
- } from "../chunks/pty-handoff-cqfz2qxq.js";
5
- import"../chunks/pty-handoff-vyas3vgt.js";
6
- import"../chunks/pty-handoff-qzsnm4q8.js";
4
+ } from "../chunks/service-timing-e4sc9kq6.js";
5
+ import"../chunks/service-timing-vyas3vgt.js";
6
+ import"../chunks/service-timing-tbh3h57v.js";
7
7
  import {
8
8
  ClientError2
9
- } from "../chunks/pty-handoff-js54wxgp.js";
10
- import"../chunks/pty-handoff-1y4a697q.js";
9
+ } from "../chunks/service-timing-js54wxgp.js";
10
+ import"../chunks/service-timing-1y4a697q.js";
11
11
  import {
12
12
  isInvalidRequestError2,
13
13
  isUnauthorizedError2,
@@ -42,8 +42,8 @@ import {
42
42
  isShellNotFoundError2,
43
43
  isWorktreeError2,
44
44
  isVcsInitNotSupportedError2
45
- } from "../chunks/pty-handoff-vt9jbch8.js";
46
- import"../chunks/pty-handoff-frbwqjmf.js";
45
+ } from "../chunks/service-timing-vt9jbch8.js";
46
+ import"../chunks/service-timing-frbwqjmf.js";
47
47
  export {
48
48
  ClientError2 as ClientError,
49
49
  exports_client as OpenCode,
@@ -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/service-timing-1y4a697q.js";
4
+ import"../chunks/service-timing-vt9jbch8.js";
5
5
  export {
6
6
  makeRpc2 as makeRpc
7
7
  };
@@ -1,27 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/pty-handoff-ve4aws36.js";
4
+ } from "../chunks/service-timing-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/pty-handoff-xgnj2w4v.js";
8
+ } from "../chunks/service-timing-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/pty-handoff-sxt88q69.js";
11
+ } from "../chunks/service-timing-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/pty-handoff-71wkqa80.js";
17
+ } from "../chunks/service-timing-0rcx1gca.js";
18
18
  import {
19
+ decide2,
19
20
  fallback2,
20
21
  same2,
21
22
  probeResult2,
22
23
  headers2
23
- } from "../chunks/pty-handoff-ank0d71z.js";
24
- import"../chunks/pty-handoff-qav6mfdz.js";
24
+ } from "../chunks/service-timing-8ye1ye6f.js";
25
+ import"../chunks/service-timing-qav6mfdz.js";
25
26
 
26
27
  // src/promise/service.ts
27
28
  import { readFile, rm } from "node:fs/promises";
@@ -81,24 +82,18 @@ async function ensure(options = {}) {
81
82
  if (registration.service !== undefined) {
82
83
  pool.serviceAnswered();
83
84
  const service2 = registration.service;
84
- const versionMatches = matchesVersion2(service2.version, options);
85
- const compatible = service2.compatible && versionMatches;
86
- if (!service2.compatible && versionMatches)
87
- throw new Error("Background service uses an incompatible health protocol. Update this client or explicitly restart the service.");
88
- if (compatible && service2.state === "ready") {
85
+ const decision = decide2(service2, options);
86
+ if (decision._tag === "fail")
87
+ throw decision.error;
88
+ if (decision._tag === "reuse") {
89
89
  await complete2(options.file ?? fallback2(), service2.info);
90
90
  return service2.endpoint;
91
91
  }
92
- if (compatible && service2.state === "failed")
93
- throw new Error("Background service failed to start");
94
- if (!compatible) {
92
+ if (decision._tag === "replace") {
95
93
  announce("version-mismatch", service2.version);
96
94
  if (service2.state !== "ready")
97
95
  console.warn("Background service is not ready; replacement cannot preserve persistent terminals");
98
- await stop({
99
- file: options.file,
100
- pty: service2.state === "ready" ? "handoff" : "clear"
101
- }).catch(() => {
96
+ await stop({ file: options.file, pty: decision.pty }).catch(() => {
102
97
  return;
103
98
  });
104
99
  pool.evict(service2.info.pid);
@@ -4,7 +4,7 @@ import {
4
4
  complete2,
5
5
  clear2,
6
6
  exports_pty_handoff
7
- } from "./chunks/pty-handoff-71wkqa80.js";
7
+ } from "./chunks/service-timing-0rcx1gca.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/service-timing-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/service-timing-ve4aws36.js";
6
6
  export {
7
7
  contenderFinished2 as contenderFinished,
8
8
  contenderPool2 as contenderPool,
@@ -1,4 +1,4 @@
1
- import type { Endpoint, Info } from "./service.js";
1
+ import type { DiscoverOptions, Endpoint, Info } from "./service.js";
2
2
  export type LocalService = {
3
3
  readonly info: Info;
4
4
  readonly endpoint: Endpoint;
@@ -6,6 +6,23 @@ export type LocalService = {
6
6
  readonly state: "ready" | "waiting" | "failed";
7
7
  readonly compatible: boolean;
8
8
  };
9
+ /**
10
+ * What `ensure()` does with a registered service that answered: return it, keep polling while
11
+ * it starts, replace it because its version does not meet the requirement, or fail.
12
+ */
13
+ export declare function decide(service: LocalService, options: DiscoverOptions): {
14
+ _tag: "fail";
15
+ error: Error;
16
+ } | {
17
+ readonly _tag: "replace";
18
+ readonly pty: "clear" | "handoff";
19
+ } | {
20
+ readonly _tag: "reuse";
21
+ readonly pty?: undefined;
22
+ } | {
23
+ readonly _tag: "wait";
24
+ readonly pty?: undefined;
25
+ };
9
26
  /** The default registration file. */
10
27
  export declare function fallback(): string;
11
28
  /** Whether two registrations describe the same service instance. */
@@ -1,11 +1,14 @@
1
1
  import {
2
+ decide2,
2
3
  fallback2,
3
4
  same2,
4
5
  probeResult2,
5
6
  headers2
6
- } from "./chunks/pty-handoff-ank0d71z.js";
7
- import"./chunks/pty-handoff-xgnj2w4v.js";
7
+ } from "./chunks/service-timing-8ye1ye6f.js";
8
+ import"./chunks/service-timing-xgnj2w4v.js";
9
+ import"./chunks/service-timing-sxt88q69.js";
8
10
  export {
11
+ decide2 as decide,
9
12
  fallback2 as fallback,
10
13
  headers2 as headers,
11
14
  probeResult2 as probeResult,
@@ -2,7 +2,7 @@ import {
2
2
  defaultEnsureTiming2,
3
3
  ensureTiming2,
4
4
  withEnsureTiming2
5
- } from "./chunks/pty-handoff-xgnj2w4v.js";
5
+ } from "./chunks/service-timing-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/service-timing-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/service-timing-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/service-timing-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/service-timing-ydhz1zrh.js";
6
6
  export {
7
7
  createClientConnection2 as createClientConnection,
8
8
  defaultIdleTimeout2 as defaultIdleTimeout,
@@ -1,6 +1,12 @@
1
1
  import type { AgentInfo, CommandInfo, ConfigEntry, SessionFormCancelInput, FormInfo, SessionFormReplyInput, IntegrationInfo, LocationRef, McpResource, McpServer, ModelInfo, ModelRef, PermissionSavedInfo, PermissionRequest, PermissionReplyInput, Project, ProviderInfo, ReferenceInfo, SessionMessageInfo, SessionInfo, SessionInboxInfo, SessionInboxCompaction, ShellInfo, SkillInfo, VcsInfo, OpenCodeEvent, OpenCodeClient, WebSearchProvider } from "../promise";
2
2
  import { type SessionPromptInput } from "../promise";
3
3
  export type DataSessionStatus = "idle" | "running";
4
+ /**
5
+ * Where a pending user prompt stands relative to the runner: `starting` is promoted at the next idle boundary,
6
+ * `steering` waits for the next step boundary of an execution that already delivered input, `stranded` outlived an
7
+ * execution that ended without delivering it, and `queued` waits for every steer to drain.
8
+ */
9
+ export type DataPendingStatus = "starting" | "steering" | "stranded" | "queued";
4
10
  type OpenCodeEventMap = {
5
11
  [Type in OpenCodeEvent["type"]]: Extract<OpenCodeEvent, {
6
12
  type: Type;
@@ -57,6 +63,7 @@ export declare function createData(config: CreateDataInput): {
57
63
  };
58
64
  pending: {
59
65
  list(sessionID: string): SessionInboxInfo[];
66
+ status(sessionID: string, inboxID: string): DataPendingStatus | undefined;
60
67
  sync(sessionID: string): Promise<void>;
61
68
  invalidate(sessionID: string): void;
62
69
  };
@@ -2,15 +2,15 @@ import {
2
2
  settleMs2,
3
3
  locationKey2,
4
4
  createData2
5
- } from "../chunks/pty-handoff-src6by76.js";
6
- import"../chunks/pty-handoff-m2eywc8w.js";
7
- import"../chunks/pty-handoff-cqfz2qxq.js";
8
- import"../chunks/pty-handoff-vyas3vgt.js";
9
- import"../chunks/pty-handoff-qzsnm4q8.js";
10
- import"../chunks/pty-handoff-js54wxgp.js";
11
- import"../chunks/pty-handoff-1y4a697q.js";
12
- import"../chunks/pty-handoff-vt9jbch8.js";
13
- import"../chunks/pty-handoff-frbwqjmf.js";
5
+ } from "../chunks/service-timing-trz7kcxd.js";
6
+ import"../chunks/service-timing-m2eywc8w.js";
7
+ import"../chunks/service-timing-e4sc9kq6.js";
8
+ import"../chunks/service-timing-vyas3vgt.js";
9
+ import"../chunks/service-timing-tbh3h57v.js";
10
+ import"../chunks/service-timing-js54wxgp.js";
11
+ import"../chunks/service-timing-1y4a697q.js";
12
+ import"../chunks/service-timing-vt9jbch8.js";
13
+ import"../chunks/service-timing-frbwqjmf.js";
14
14
  export {
15
15
  createData2 as createData,
16
16
  locationKey2 as locationKey,
@@ -1,25 +1,25 @@
1
- import"../chunks/pty-handoff-js54wxgp.js";
2
- import"../chunks/pty-handoff-qzsnm4q8.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-cqfz2qxq.js";
8
- import"../chunks/pty-handoff-m2eywc8w.js";
1
+ import"../chunks/service-timing-js54wxgp.js";
2
+ import"../chunks/service-timing-tbh3h57v.js";
3
+ import"../chunks/service-timing-vt9jbch8.js";
4
+ import"../chunks/service-timing-vyas3vgt.js";
5
+ import"../chunks/service-timing-frbwqjmf.js";
6
+ import"../chunks/service-timing-1y4a697q.js";
7
+ import"../chunks/service-timing-e4sc9kq6.js";
8
+ import"../chunks/service-timing-m2eywc8w.js";
9
9
  import {
10
10
  settleMs2,
11
11
  locationKey2,
12
12
  createData2
13
- } from "../chunks/pty-handoff-src6by76.js";
13
+ } from "../chunks/service-timing-trz7kcxd.js";
14
14
  import {
15
15
  defaultIdleTimeout2,
16
16
  foregroundIdleThreshold2,
17
17
  createClientConnection2
18
- } from "../chunks/pty-handoff-ydhz1zrh.js";
18
+ } from "../chunks/service-timing-ydhz1zrh.js";
19
19
  import {
20
20
  createPtyClient2,
21
21
  createPersistentPtyClient2
22
- } from "../chunks/pty-handoff-gne7h7mq.js";
22
+ } from "../chunks/service-timing-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/service-timing-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": "2.0.24",
4
+ "version": "2.0.26",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -57,8 +57,8 @@
57
57
  "typecheck": "tsgo --noEmit"
58
58
  },
59
59
  "dependencies": {
60
- "@opencode/schema": "2.0.24",
61
- "@opencode/protocol": "2.0.24"
60
+ "@opencode/schema": "2.0.26",
61
+ "@opencode/protocol": "2.0.26"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "effect": "4.0.0-rc.112",
@@ -74,12 +74,11 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@effect/platform-node": "4.0.0-rc.112",
77
- "@opencode/httpapi-codegen": "2.0.24",
77
+ "@opencode/httpapi-codegen": "2.0.26",
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
81
  "effect": "4.0.0-rc.112",
82
- "solid-js": "1.9.15",
83
- "zod": "4.1.8"
82
+ "solid-js": "1.9.15"
84
83
  }
85
84
  }