@opencode/client 0.0.0-dev-21627 → 0.0.0-dev-21641

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 (64) hide show
  1. package/dist/chunks/{mcp-anregfhs.js → pty-handoff-15p82y03.js} +5 -5
  2. package/dist/chunks/{mcp-8bbb028w.js → pty-handoff-8bbb028w.js} +1 -1
  3. package/dist/chunks/{mcp-2ny4vxct.js → pty-handoff-8ye1ye6f.js} +2 -2
  4. package/dist/chunks/{mcp-vsdfs18x.js → pty-handoff-byh3fyt4.js} +17 -17
  5. package/dist/chunks/pty-handoff-cpsp9n3s.js +30 -0
  6. package/dist/chunks/{mcp-g9ajxfy0.js → pty-handoff-g9ajxfy0.js} +1 -1
  7. package/dist/chunks/{mcp-js54wxgp.js → pty-handoff-nwcpakzx.js} +2 -2
  8. package/dist/chunks/{mcp-ryy6kscr.js → pty-handoff-ryy6kscr.js} +1 -1
  9. package/dist/chunks/{mcp-6g9adxt3.js → pty-handoff-s2hya144.js} +21 -20
  10. package/dist/chunks/{mcp-skhp7hxc.js → pty-handoff-skhp7hxc.js} +1 -1
  11. package/dist/chunks/{mcp-rq85j71q.js → pty-handoff-twzgvb9m.js} +1 -1
  12. package/dist/chunks/{mcp-73y1jq7s.js → pty-handoff-w10x3kfx.js} +11 -11
  13. package/dist/chunks/{mcp-7f0py9js.js → pty-handoff-y2etg5bs.js} +2 -2
  14. package/dist/contract.js +1 -1
  15. package/dist/effect/api/api.d.ts +4 -1
  16. package/dist/effect/client.d.ts +1101 -1101
  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 +591 -591
  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.d.ts +1 -1
  25. package/dist/effect/service.js +6 -6
  26. package/dist/promise/client.d.ts +1 -1
  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 +2 -2
  30. package/dist/promise/generated/client.js +4 -4
  31. package/dist/promise/generated/index.js +8 -8
  32. package/dist/promise/generated/types.d.ts +5 -0
  33. package/dist/promise/generated/types.js +1 -1
  34. package/dist/promise/index.js +12 -12
  35. package/dist/promise/rpc.js +2 -2
  36. package/dist/promise/service.js +6 -6
  37. package/dist/pty-handoff.js +1 -1
  38. package/dist/rpc-runtime.js +1 -1
  39. package/dist/service-contender.js +1 -1
  40. package/dist/service-probe.js +3 -3
  41. package/dist/service-timing.js +1 -1
  42. package/dist/service-version.js +1 -1
  43. package/dist/service.js +1 -1
  44. package/dist/shared-events.js +1 -1
  45. package/dist/solid/connection.js +1 -1
  46. package/dist/solid/data.js +9 -9
  47. package/dist/solid/index.js +12 -12
  48. package/dist/solid/pty.js +1 -1
  49. package/dist/solid/usage.js +1 -1
  50. package/package.json +8 -7
  51. package/dist/chunks/mcp-1dytdgs8.js +0 -30
  52. /package/dist/chunks/{mcp-6mptkzbc.js → pty-handoff-6mptkzbc.js} +0 -0
  53. /package/dist/chunks/{mcp-8s2anffy.js → pty-handoff-8s2anffy.js} +0 -0
  54. /package/dist/chunks/{mcp-9rqn6x4v.js → pty-handoff-9rqn6x4v.js} +0 -0
  55. /package/dist/chunks/{mcp-c46qzyff.js → pty-handoff-c46qzyff.js} +0 -0
  56. /package/dist/chunks/{mcp-gne7h7mq.js → pty-handoff-gne7h7mq.js} +0 -0
  57. /package/dist/chunks/{mcp-m2eywc8w.js → pty-handoff-m2eywc8w.js} +0 -0
  58. /package/dist/chunks/{mcp-qav6mfdz.js → pty-handoff-qav6mfdz.js} +0 -0
  59. /package/dist/chunks/{mcp-sxt88q69.js → pty-handoff-sxt88q69.js} +0 -0
  60. /package/dist/chunks/{mcp-ve4aws36.js → pty-handoff-ve4aws36.js} +0 -0
  61. /package/dist/chunks/{mcp-vmytr4q8.js → pty-handoff-vmytr4q8.js} +0 -0
  62. /package/dist/chunks/{mcp-vyas3vgt.js → pty-handoff-vyas3vgt.js} +0 -0
  63. /package/dist/chunks/{mcp-xgnj2w4v.js → pty-handoff-xgnj2w4v.js} +0 -0
  64. /package/dist/chunks/{mcp-ydhz1zrh.js → pty-handoff-ydhz1zrh.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import {
2
- make6
3
- } from "../../chunks/mcp-73y1jq7s.js";
4
- import"../../chunks/mcp-7f0py9js.js";
5
- import"../../chunks/mcp-vmytr4q8.js";
2
+ make4
3
+ } from "../../chunks/pty-handoff-w10x3kfx.js";
4
+ import"../../chunks/pty-handoff-y2etg5bs.js";
5
+ import"../../chunks/pty-handoff-vmytr4q8.js";
6
6
  export {
7
- make6 as make
7
+ make4 as make
8
8
  };
@@ -1,12 +1,12 @@
1
- import"../../chunks/mcp-6mptkzbc.js";
1
+ import"../../chunks/pty-handoff-6mptkzbc.js";
2
2
  import {
3
- exports_client4
4
- } from "../../chunks/mcp-73y1jq7s.js";
3
+ exports_client2
4
+ } from "../../chunks/pty-handoff-w10x3kfx.js";
5
5
  import {
6
- ClientError3
7
- } from "../../chunks/mcp-7f0py9js.js";
8
- import"../../chunks/mcp-vmytr4q8.js";
6
+ ClientError2
7
+ } from "../../chunks/pty-handoff-y2etg5bs.js";
8
+ import"../../chunks/pty-handoff-vmytr4q8.js";
9
9
  export {
10
- ClientError3 as ClientError,
11
- exports_client4 as OpenCode
10
+ ClientError2 as ClientError,
11
+ exports_client2 as OpenCode
12
12
  };
@@ -1,15 +1,15 @@
1
1
  import {
2
- ClientError3
3
- } from "../chunks/mcp-7f0py9js.js";
4
- import"../chunks/mcp-vmytr4q8.js";
5
- import"../chunks/mcp-73y1jq7s.js";
6
- import"../chunks/mcp-6mptkzbc.js";
7
- import"../chunks/mcp-8bbb028w.js";
8
- import"../chunks/mcp-ryy6kscr.js";
9
- import"../chunks/mcp-anregfhs.js";
2
+ ClientError2
3
+ } from "../chunks/pty-handoff-y2etg5bs.js";
4
+ import"../chunks/pty-handoff-vmytr4q8.js";
5
+ import"../chunks/pty-handoff-w10x3kfx.js";
6
+ import"../chunks/pty-handoff-6mptkzbc.js";
7
+ import"../chunks/pty-handoff-8bbb028w.js";
8
+ import"../chunks/pty-handoff-ryy6kscr.js";
9
+ import"../chunks/pty-handoff-15p82y03.js";
10
10
  import {
11
- exports_client3
12
- } from "../chunks/mcp-vsdfs18x.js";
11
+ exports_client
12
+ } from "../chunks/pty-handoff-byh3fyt4.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/mcp-anregfhs.js";
6
- import"../chunks/mcp-ryy6kscr.js";
5
+ } from "../chunks/pty-handoff-15p82y03.js";
6
+ import"../chunks/pty-handoff-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
  };
@@ -4,7 +4,7 @@ import { headers } from "../service-probe.js";
4
4
  export * from "../service.js";
5
5
  export { headers };
6
6
  /** Contents of the local service registration file. */
7
- export type Info = import("../service.js").Info;
7
+ export type Info = typeof Info.Type;
8
8
  /** Discover a healthy, compatible local service without starting one. */
9
9
  export declare const discover: (options?: DiscoverOptions | undefined) => Effect.Effect<{
10
10
  url: string;
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/mcp-ve4aws36.js";
4
+ } from "../chunks/pty-handoff-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/mcp-xgnj2w4v.js";
8
+ } from "../chunks/pty-handoff-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/mcp-sxt88q69.js";
11
+ } from "../chunks/pty-handoff-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/mcp-rq85j71q.js";
17
+ } from "../chunks/pty-handoff-twzgvb9m.js";
18
18
  import {
19
19
  decide2,
20
20
  fallback2,
21
21
  same2,
22
22
  probeResult2,
23
23
  headers2
24
- } from "../chunks/mcp-2ny4vxct.js";
25
- import"../chunks/mcp-qav6mfdz.js";
24
+ } from "../chunks/pty-handoff-8ye1ye6f.js";
25
+ import"../chunks/pty-handoff-qav6mfdz.js";
26
26
 
27
27
  // src/effect/service.ts
28
28
  import { Effect, FileSystem, Option, Schedule, Schema } from "effect";
@@ -241,7 +241,7 @@ export declare function make(options: ClientOptions): {
241
241
  diff: (input: import("./index.js").VcsDiffInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").VcsDiffOutput>;
242
242
  };
243
243
  debug: {
244
- heapDump: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").DebugHeapDumpOutput>;
244
+ heapDump: (input?: import("./index.js").DebugHeapDumpInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").DebugHeapDumpOutput>;
245
245
  location: {
246
246
  list: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").DebugLocationListOutput>;
247
247
  evict: (input?: import("./index.js").DebugLocationEvictInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
@@ -1,14 +1,14 @@
1
1
  import {
2
- make2,
3
- exports_client
4
- } from "../chunks/mcp-1dytdgs8.js";
5
- import"../chunks/mcp-skhp7hxc.js";
6
- import"../chunks/mcp-vyas3vgt.js";
7
- import"../chunks/mcp-c46qzyff.js";
8
- import"../chunks/mcp-6g9adxt3.js";
9
- import"../chunks/mcp-js54wxgp.js";
10
- import"../chunks/mcp-8bbb028w.js";
2
+ make5,
3
+ exports_client3
4
+ } from "../chunks/pty-handoff-cpsp9n3s.js";
5
+ import"../chunks/pty-handoff-skhp7hxc.js";
6
+ import"../chunks/pty-handoff-vyas3vgt.js";
7
+ import"../chunks/pty-handoff-c46qzyff.js";
8
+ import"../chunks/pty-handoff-s2hya144.js";
9
+ import"../chunks/pty-handoff-nwcpakzx.js";
10
+ import"../chunks/pty-handoff-8bbb028w.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/mcp-js54wxgp.js";
2
+ ClientError3
3
+ } from "../../chunks/pty-handoff-nwcpakzx.js";
4
4
  export {
5
- ClientError2 as ClientError
5
+ ClientError3 as ClientError
6
6
  };
@@ -1,4 +1,4 @@
1
- import type { ServerConnectInput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionStatsInput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, VoiceSessionInput, VoiceInstructionsInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, McpClientTokenInput, McpClientTokenOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, FileWriteInput, FileWriteOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, 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, DebugHeapDumpOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "./types.js";
1
+ import type { ServerConnectInput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionStatsInput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, VoiceSessionInput, VoiceInstructionsInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, McpClientTokenInput, McpClientTokenOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, FileWriteInput, FileWriteOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, 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, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "./types.js";
2
2
  export interface ClientOptions {
3
3
  readonly baseUrl: string;
4
4
  readonly fetch?: typeof globalThis.fetch;
@@ -254,7 +254,7 @@ export declare function make(options: ClientOptions): {
254
254
  diff: (input: VcsDiffInput, requestOptions?: RequestOptions) => Promise<VcsDiffOutput>;
255
255
  };
256
256
  debug: {
257
- heapDump: (requestOptions?: RequestOptions) => Promise<DebugHeapDumpOutput>;
257
+ heapDump: (input?: DebugHeapDumpInput, requestOptions?: RequestOptions) => Promise<DebugHeapDumpOutput>;
258
258
  location: {
259
259
  list: (requestOptions?: RequestOptions) => Promise<DebugLocationListOutput>;
260
260
  evict: (input?: DebugLocationEvictInput, requestOptions?: RequestOptions) => Promise<void>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- make3
3
- } from "../../chunks/mcp-6g9adxt3.js";
4
- import"../../chunks/mcp-js54wxgp.js";
2
+ make6
3
+ } from "../../chunks/pty-handoff-s2hya144.js";
4
+ import"../../chunks/pty-handoff-nwcpakzx.js";
5
5
  export {
6
- make3 as make
6
+ make6 as make
7
7
  };
@@ -1,4 +1,4 @@
1
- import"../../chunks/mcp-vyas3vgt.js";
1
+ import"../../chunks/pty-handoff-vyas3vgt.js";
2
2
  import {
3
3
  isInvalidRequestError2,
4
4
  isUnauthorizedError2,
@@ -34,16 +34,16 @@ import {
34
34
  isShellNotFoundError2,
35
35
  isWorktreeError2,
36
36
  isVcsInitNotSupportedError2
37
- } from "../../chunks/mcp-c46qzyff.js";
37
+ } from "../../chunks/pty-handoff-c46qzyff.js";
38
38
  import {
39
- exports_client2
40
- } from "../../chunks/mcp-6g9adxt3.js";
39
+ exports_client4
40
+ } from "../../chunks/pty-handoff-s2hya144.js";
41
41
  import {
42
- ClientError2
43
- } from "../../chunks/mcp-js54wxgp.js";
42
+ ClientError3
43
+ } from "../../chunks/pty-handoff-nwcpakzx.js";
44
44
  export {
45
- ClientError2 as ClientError,
46
- exports_client2 as OpenCode,
45
+ ClientError3 as ClientError,
46
+ exports_client4 as OpenCode,
47
47
  isAgentNotFoundError2 as isAgentNotFoundError,
48
48
  isCommandExecutionError2 as isCommandExecutionError,
49
49
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -7789,6 +7789,11 @@ export type VcsDiffOutput = {
7789
7789
  location: LocationPublicRef;
7790
7790
  data: Array<FileDiffInfo>;
7791
7791
  };
7792
+ export type DebugHeapDumpInput = {
7793
+ readonly directory?: {
7794
+ readonly directory?: string | undefined;
7795
+ }["directory"];
7796
+ };
7792
7797
  export type DebugHeapDumpOutput = {
7793
7798
  path: string;
7794
7799
  pid: number;
@@ -33,7 +33,7 @@ import {
33
33
  isShellNotFoundError2,
34
34
  isWorktreeError2,
35
35
  isVcsInitNotSupportedError2
36
- } from "../../chunks/mcp-c46qzyff.js";
36
+ } from "../../chunks/pty-handoff-c46qzyff.js";
37
37
  export {
38
38
  isAgentNotFoundError2 as isAgentNotFoundError,
39
39
  isCommandExecutionError2 as isCommandExecutionError,
@@ -1,9 +1,9 @@
1
- import"../chunks/mcp-m2eywc8w.js";
1
+ import"../chunks/pty-handoff-m2eywc8w.js";
2
2
  import {
3
- exports_client
4
- } from "../chunks/mcp-1dytdgs8.js";
5
- import"../chunks/mcp-skhp7hxc.js";
6
- import"../chunks/mcp-vyas3vgt.js";
3
+ exports_client3
4
+ } from "../chunks/pty-handoff-cpsp9n3s.js";
5
+ import"../chunks/pty-handoff-skhp7hxc.js";
6
+ import"../chunks/pty-handoff-vyas3vgt.js";
7
7
  import {
8
8
  isInvalidRequestError2,
9
9
  isUnauthorizedError2,
@@ -39,15 +39,15 @@ import {
39
39
  isShellNotFoundError2,
40
40
  isWorktreeError2,
41
41
  isVcsInitNotSupportedError2
42
- } from "../chunks/mcp-c46qzyff.js";
43
- import"../chunks/mcp-6g9adxt3.js";
42
+ } from "../chunks/pty-handoff-c46qzyff.js";
43
+ import"../chunks/pty-handoff-s2hya144.js";
44
44
  import {
45
- ClientError2
46
- } from "../chunks/mcp-js54wxgp.js";
47
- import"../chunks/mcp-8bbb028w.js";
45
+ ClientError3
46
+ } from "../chunks/pty-handoff-nwcpakzx.js";
47
+ import"../chunks/pty-handoff-8bbb028w.js";
48
48
  export {
49
- ClientError2 as ClientError,
50
- exports_client as OpenCode,
49
+ ClientError3 as ClientError,
50
+ exports_client3 as OpenCode,
51
51
  isAgentNotFoundError2 as isAgentNotFoundError,
52
52
  isCommandExecutionError2 as isCommandExecutionError,
53
53
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  makeRpc2
3
- } from "../chunks/mcp-skhp7hxc.js";
4
- import"../chunks/mcp-c46qzyff.js";
3
+ } from "../chunks/pty-handoff-skhp7hxc.js";
4
+ import"../chunks/pty-handoff-c46qzyff.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/mcp-ve4aws36.js";
4
+ } from "../chunks/pty-handoff-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/mcp-xgnj2w4v.js";
8
+ } from "../chunks/pty-handoff-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/mcp-sxt88q69.js";
11
+ } from "../chunks/pty-handoff-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/mcp-rq85j71q.js";
17
+ } from "../chunks/pty-handoff-twzgvb9m.js";
18
18
  import {
19
19
  decide2,
20
20
  fallback2,
21
21
  same2,
22
22
  probeResult2,
23
23
  headers2
24
- } from "../chunks/mcp-2ny4vxct.js";
25
- import"../chunks/mcp-qav6mfdz.js";
24
+ } from "../chunks/pty-handoff-8ye1ye6f.js";
25
+ import"../chunks/pty-handoff-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/mcp-rq85j71q.js";
7
+ } from "./chunks/pty-handoff-twzgvb9m.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/mcp-ryy6kscr.js";
7
+ } from "./chunks/pty-handoff-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/mcp-ve4aws36.js";
5
+ } from "./chunks/pty-handoff-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/mcp-2ny4vxct.js";
8
- import"./chunks/mcp-sxt88q69.js";
9
- import"./chunks/mcp-xgnj2w4v.js";
7
+ } from "./chunks/pty-handoff-8ye1ye6f.js";
8
+ import"./chunks/pty-handoff-xgnj2w4v.js";
9
+ import"./chunks/pty-handoff-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/mcp-xgnj2w4v.js";
5
+ } from "./chunks/pty-handoff-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/mcp-sxt88q69.js";
3
+ } from "./chunks/pty-handoff-sxt88q69.js";
4
4
  export {
5
5
  matchesVersion2 as matchesVersion
6
6
  };
package/dist/service.js CHANGED
@@ -1 +1 @@
1
- import"./chunks/mcp-qav6mfdz.js";
1
+ import"./chunks/pty-handoff-qav6mfdz.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make7,
3
3
  exports_shared_events
4
- } from "./chunks/mcp-8bbb028w.js";
4
+ } from "./chunks/pty-handoff-8bbb028w.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/mcp-ydhz1zrh.js";
5
+ } from "../chunks/pty-handoff-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/mcp-g9ajxfy0.js";
6
- import"../chunks/mcp-m2eywc8w.js";
7
- import"../chunks/mcp-1dytdgs8.js";
8
- import"../chunks/mcp-skhp7hxc.js";
9
- import"../chunks/mcp-vyas3vgt.js";
10
- import"../chunks/mcp-c46qzyff.js";
11
- import"../chunks/mcp-6g9adxt3.js";
12
- import"../chunks/mcp-js54wxgp.js";
13
- import"../chunks/mcp-8bbb028w.js";
5
+ } from "../chunks/pty-handoff-g9ajxfy0.js";
6
+ import"../chunks/pty-handoff-m2eywc8w.js";
7
+ import"../chunks/pty-handoff-cpsp9n3s.js";
8
+ import"../chunks/pty-handoff-skhp7hxc.js";
9
+ import"../chunks/pty-handoff-vyas3vgt.js";
10
+ import"../chunks/pty-handoff-c46qzyff.js";
11
+ import"../chunks/pty-handoff-s2hya144.js";
12
+ import"../chunks/pty-handoff-nwcpakzx.js";
13
+ import"../chunks/pty-handoff-8bbb028w.js";
14
14
  export {
15
15
  createData2 as createData,
16
16
  locationKey2 as locationKey,
@@ -1,28 +1,28 @@
1
- import"../chunks/mcp-js54wxgp.js";
2
- import"../chunks/mcp-6g9adxt3.js";
3
- import"../chunks/mcp-c46qzyff.js";
4
- import"../chunks/mcp-vyas3vgt.js";
5
- import"../chunks/mcp-8bbb028w.js";
6
- import"../chunks/mcp-skhp7hxc.js";
7
- import"../chunks/mcp-1dytdgs8.js";
8
- import"../chunks/mcp-m2eywc8w.js";
1
+ import"../chunks/pty-handoff-nwcpakzx.js";
2
+ import"../chunks/pty-handoff-s2hya144.js";
3
+ import"../chunks/pty-handoff-c46qzyff.js";
4
+ import"../chunks/pty-handoff-vyas3vgt.js";
5
+ import"../chunks/pty-handoff-8bbb028w.js";
6
+ import"../chunks/pty-handoff-skhp7hxc.js";
7
+ import"../chunks/pty-handoff-cpsp9n3s.js";
8
+ import"../chunks/pty-handoff-m2eywc8w.js";
9
9
  import {
10
10
  settleMs2,
11
11
  locationKey2,
12
12
  createData2
13
- } from "../chunks/mcp-g9ajxfy0.js";
13
+ } from "../chunks/pty-handoff-g9ajxfy0.js";
14
14
  import {
15
15
  defaultIdleTimeout2,
16
16
  foregroundIdleThreshold2,
17
17
  createClientConnection2
18
- } from "../chunks/mcp-ydhz1zrh.js";
18
+ } from "../chunks/pty-handoff-ydhz1zrh.js";
19
19
  import {
20
20
  createPtyClient2,
21
21
  createPersistentPtyClient2
22
- } from "../chunks/mcp-gne7h7mq.js";
22
+ } from "../chunks/pty-handoff-gne7h7mq.js";
23
23
  import {
24
24
  lastAssistantWithUsage2
25
- } from "../chunks/mcp-8s2anffy.js";
25
+ } from "../chunks/pty-handoff-8s2anffy.js";
26
26
  export {
27
27
  createClientConnection2 as createClientConnection,
28
28
  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/mcp-gne7h7mq.js";
4
+ } from "../chunks/pty-handoff-gne7h7mq.js";
5
5
  export {
6
6
  createPersistentPtyClient2 as createPersistentPtyClient,
7
7
  createPtyClient2 as createPtyClient
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  lastAssistantWithUsage2
3
- } from "../chunks/mcp-8s2anffy.js";
3
+ } from "../chunks/pty-handoff-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-21627",
4
+ "version": "0.0.0-dev-21641",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -58,11 +58,12 @@
58
58
  "generate": "bun run script/build.ts",
59
59
  "check:generated": "bun run generate && git diff --exit-code -- src/promise/generated src/effect/generated src/effect/api",
60
60
  "test": "bun test --timeout 5000",
61
- "typecheck": "tsc --noEmit"
61
+ "typecheck": "bun check --no-script",
62
+ "typecheck:tsc": "tsc --noEmit"
62
63
  },
63
64
  "dependencies": {
64
- "@opencode/schema": "0.0.0-dev-21627",
65
- "@opencode/protocol": "0.0.0-dev-21627"
65
+ "@opencode/schema": "0.0.0-dev-21641",
66
+ "@opencode/protocol": "0.0.0-dev-21641"
66
67
  },
67
68
  "peerDependencies": {
68
69
  "effect": "4.0.1",
@@ -78,11 +79,11 @@
78
79
  },
79
80
  "devDependencies": {
80
81
  "@effect/platform-node": "4.0.1",
81
- "@modelcontextprotocol/client": "2.0.0",
82
- "@opencode/httpapi-codegen": "0.0.0-dev-21627",
82
+ "@modelcontextprotocol/client": "2.3.1",
83
+ "@opencode/httpapi-codegen": "0.0.0-dev-21641",
83
84
  "@tsconfig/bun": "1.0.9",
84
85
  "@types/bun": "1.4.3",
85
- "@typescript/native": "npm:typescript@7.0.2",
86
+ "@typescript/native": "npm:typescript@7.1.0-beta",
86
87
  "effect": "4.0.1",
87
88
  "solid-js": "1.9.15"
88
89
  }
@@ -1,30 +0,0 @@
1
- import {
2
- make7
3
- } from "./mcp-8bbb028w.js";
4
- import {
5
- make3
6
- } from "./mcp-6g9adxt3.js";
7
- import {
8
- makeRpc2
9
- } from "./mcp-skhp7hxc.js";
10
- import {
11
- __export
12
- } from "./mcp-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({ 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 };