@opencode/client 0.0.0-dev-21881 → 0.0.0-dev-21903

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 (66) hide show
  1. package/dist/chunks/{pty-handoff-bpcm6er9.js → rpc-runtime-10stgdsh.js} +79 -50
  2. package/dist/chunks/{pty-handoff-s062yqxj.js → rpc-runtime-1m3dzmf1.js} +2 -2
  3. package/dist/chunks/{pty-handoff-y2etg5bs.js → rpc-runtime-7f0py9js.js} +2 -2
  4. package/dist/chunks/{pty-handoff-jq91dnkq.js → rpc-runtime-7saa3msa.js} +17 -17
  5. package/dist/chunks/{pty-handoff-8bbb028w.js → rpc-runtime-8bbb028w.js} +1 -1
  6. package/dist/chunks/{pty-handoff-2ny4vxct.js → rpc-runtime-8ye1ye6f.js} +2 -2
  7. package/dist/chunks/{pty-handoff-d4bnv4f0.js → rpc-runtime-ff0ps5x1.js} +18 -11
  8. package/dist/chunks/rpc-runtime-hjkdb2as.js +30 -0
  9. package/dist/chunks/{pty-handoff-nwcpakzx.js → rpc-runtime-js54wxgp.js} +2 -2
  10. package/dist/chunks/{pty-handoff-15p82y03.js → rpc-runtime-myz4ngx9.js} +5 -5
  11. package/dist/chunks/{pty-handoff-ryy6kscr.js → rpc-runtime-ryy6kscr.js} +1 -1
  12. package/dist/chunks/{pty-handoff-skhp7hxc.js → rpc-runtime-skhp7hxc.js} +1 -1
  13. package/dist/chunks/{pty-handoff-zp1ww9gq.js → rpc-runtime-vea8g3zs.js} +38 -20
  14. package/dist/contract.js +1 -1
  15. package/dist/effect/api/api.d.ts +19 -0
  16. package/dist/effect/client.d.ts +3 -1
  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 +4 -2
  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.d.ts +2 -0
  26. package/dist/promise/client.js +11 -11
  27. package/dist/promise/generated/client-error.js +3 -3
  28. package/dist/promise/generated/client.d.ts +3 -1
  29. package/dist/promise/generated/client.js +4 -4
  30. package/dist/promise/generated/index.js +9 -9
  31. package/dist/promise/generated/types.d.ts +23 -0
  32. package/dist/promise/generated/types.js +1 -1
  33. package/dist/promise/index.js +12 -12
  34. package/dist/promise/rpc.js +2 -2
  35. package/dist/promise/service.js +6 -6
  36. package/dist/pty-handoff.js +4 -4
  37. package/dist/rpc-runtime.js +1 -1
  38. package/dist/service-contender.js +1 -1
  39. package/dist/service-probe.js +3 -3
  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 +5 -0
  46. package/dist/solid/data.js +9 -9
  47. package/dist/solid/index.js +13 -13
  48. package/dist/solid/pty.js +1 -1
  49. package/dist/solid/retention.js +1 -1
  50. package/dist/solid/usage.js +1 -1
  51. package/package.json +4 -4
  52. package/dist/chunks/pty-handoff-gb6s2y2x.js +0 -30
  53. /package/dist/chunks/{pty-handoff-6mptkzbc.js → rpc-runtime-6mptkzbc.js} +0 -0
  54. /package/dist/chunks/{pty-handoff-6mq2wh8y.js → rpc-runtime-6mq2wh8y.js} +0 -0
  55. /package/dist/chunks/{pty-handoff-8s2anffy.js → rpc-runtime-8s2anffy.js} +0 -0
  56. /package/dist/chunks/{pty-handoff-9rqn6x4v.js → rpc-runtime-9rqn6x4v.js} +0 -0
  57. /package/dist/chunks/{pty-handoff-c46qzyff.js → rpc-runtime-c46qzyff.js} +0 -0
  58. /package/dist/chunks/{pty-handoff-gne7h7mq.js → rpc-runtime-gne7h7mq.js} +0 -0
  59. /package/dist/chunks/{pty-handoff-m2eywc8w.js → rpc-runtime-m2eywc8w.js} +0 -0
  60. /package/dist/chunks/{pty-handoff-qav6mfdz.js → rpc-runtime-qav6mfdz.js} +0 -0
  61. /package/dist/chunks/{pty-handoff-sxt88q69.js → rpc-runtime-sxt88q69.js} +0 -0
  62. /package/dist/chunks/{pty-handoff-ve4aws36.js → rpc-runtime-ve4aws36.js} +0 -0
  63. /package/dist/chunks/{pty-handoff-vmytr4q8.js → rpc-runtime-vmytr4q8.js} +0 -0
  64. /package/dist/chunks/{pty-handoff-vyas3vgt.js → rpc-runtime-vyas3vgt.js} +0 -0
  65. /package/dist/chunks/{pty-handoff-xgnj2w4v.js → rpc-runtime-xgnj2w4v.js} +0 -0
  66. /package/dist/chunks/{pty-handoff-ydhz1zrh.js → rpc-runtime-ydhz1zrh.js} +0 -0
@@ -44,6 +44,7 @@ import type { Config } from "@opencode/schema/config";
44
44
  export type ServerInfoOutput = {
45
45
  readonly version: string;
46
46
  readonly pid: number;
47
+ readonly hostname?: string | undefined;
47
48
  readonly urls: ReadonlyArray<string>;
48
49
  readonly paths: {
49
50
  readonly tmp: string;
@@ -2260,9 +2261,27 @@ export type FileFindOutput = {
2260
2261
  readonly data: ReadonlyArray<FileSystem.Entry>;
2261
2262
  };
2262
2263
  export type FileFindOperation<E = never> = (input: FileFindInput) => Effect.Effect<FileFindOutput, E>;
2264
+ export type FileWatchInput = {
2265
+ readonly location?: {
2266
+ readonly directory?: string | undefined;
2267
+ } | undefined;
2268
+ readonly path: string;
2269
+ };
2270
+ export type FileWatchOutput = void;
2271
+ export type FileWatchOperation<E = never> = (input: FileWatchInput) => Effect.Effect<FileWatchOutput, E>;
2272
+ export type FileUnwatchInput = {
2273
+ readonly location?: {
2274
+ readonly directory?: string | undefined;
2275
+ } | undefined;
2276
+ readonly path: string;
2277
+ };
2278
+ export type FileUnwatchOutput = void;
2279
+ export type FileUnwatchOperation<E = never> = (input: FileUnwatchInput) => Effect.Effect<FileUnwatchOutput, E>;
2263
2280
  export interface FileApi<E = never> {
2264
2281
  readonly list: FileListOperation<E>;
2265
2282
  readonly find: FileFindOperation<E>;
2283
+ readonly watch: FileWatchOperation<E>;
2284
+ readonly unwatch: FileUnwatchOperation<E>;
2266
2285
  }
2267
2286
  export type CommandListInput = {
2268
2287
  readonly location?: {
@@ -17,7 +17,7 @@ export declare const make: (options?: {
17
17
  reload: () => Effect.Effect<void, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
18
18
  };
19
19
  agent: {
20
- list: (input?: import("./api.js").AgentListInput) => Effect.Effect<import("./api.js").AgentListOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
20
+ list: (input?: import("./api.js").AgentListInput) => Effect.Effect<import("./api.js").AgentListOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
21
21
  get: (input: import("./api.js").AgentGetInput) => Effect.Effect<import("./api.js").AgentGetOutput, import("@opencode/protocol/errors").AgentNotFoundError | ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
22
22
  };
23
23
  plugin: {
@@ -166,6 +166,8 @@ export declare const make: (options?: {
166
166
  file: {
167
167
  list: (input?: import("./api.js").FileListInput) => Effect.Effect<import("./api.js").FileListOutput, ClientError | import("@opencode/protocol/errors").FileNotFoundError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
168
168
  find: (input: import("./api.js").FileFindInput) => Effect.Effect<import("./api.js").FileFindOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
169
+ watch: (input: import("./api.js").FileWatchInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").FileNotFoundError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
170
+ unwatch: (input: import("./api.js").FileUnwatchInput) => Effect.Effect<void, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
169
171
  };
170
172
  command: {
171
173
  list: (input?: import("./api.js").CommandListInput) => Effect.Effect<import("./api.js").CommandListOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
@@ -1,15 +1,15 @@
1
1
  import {
2
- make2,
3
- exports_client
4
- } from "../chunks/pty-handoff-jq91dnkq.js";
5
- import"../chunks/pty-handoff-15p82y03.js";
6
- import"../chunks/pty-handoff-6mptkzbc.js";
7
- import"../chunks/pty-handoff-d4bnv4f0.js";
8
- import"../chunks/pty-handoff-y2etg5bs.js";
9
- import"../chunks/pty-handoff-vmytr4q8.js";
10
- import"../chunks/pty-handoff-8bbb028w.js";
11
- import"../chunks/pty-handoff-ryy6kscr.js";
2
+ make4,
3
+ exports_client3
4
+ } from "../chunks/rpc-runtime-7saa3msa.js";
5
+ import"../chunks/rpc-runtime-6mptkzbc.js";
6
+ import"../chunks/rpc-runtime-ff0ps5x1.js";
7
+ import"../chunks/rpc-runtime-7f0py9js.js";
8
+ import"../chunks/rpc-runtime-myz4ngx9.js";
9
+ import"../chunks/rpc-runtime-ryy6kscr.js";
10
+ import"../chunks/rpc-runtime-vmytr4q8.js";
11
+ import"../chunks/rpc-runtime-8bbb028w.js";
12
12
  export {
13
- exports_client as OpenCode,
14
- make2 as make
13
+ exports_client3 as OpenCode,
14
+ make4 as make
15
15
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ClientError2
3
- } from "../../chunks/pty-handoff-y2etg5bs.js";
2
+ ClientError3
3
+ } from "../../chunks/rpc-runtime-7f0py9js.js";
4
4
  export {
5
- ClientError2 as ClientError
5
+ ClientError3 as ClientError
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import { Effect, Stream, Schema } from "effect";
2
2
  import { Sse } from "effect/encoding";
3
3
  import { HttpClientError } from "effect/http";
4
- import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionStatsInput, SessionStatsOutput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionExportOutput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryListOutput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionGenerateOutput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, GenerateTextOutput, VoiceModelsOutput, VoiceSessionInput, VoiceSessionOutput, 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, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, 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, UsageLimitsInput, UsageLimitsOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "../api/api.js";
4
+ import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionStatsInput, SessionStatsOutput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionExportOutput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryListOutput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionGenerateOutput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, GenerateTextOutput, VoiceModelsOutput, VoiceSessionInput, VoiceSessionOutput, 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, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, FileWatchInput, FileUnwatchInput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, 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, UsageLimitsInput, UsageLimitsOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "../api/api.js";
5
5
  import { ClientError } from "./client-error.js";
6
6
  export declare const make: (options?: {
7
7
  readonly baseUrl?: URL | string;
@@ -16,7 +16,7 @@ export declare const make: (options?: {
16
16
  reload: () => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
17
17
  };
18
18
  agent: {
19
- list: (input?: AgentListInput) => Effect.Effect<AgentListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
19
+ list: (input?: AgentListInput) => Effect.Effect<AgentListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
20
20
  get: (input: AgentGetInput) => Effect.Effect<AgentGetOutput, import("@opencode/protocol/errors").AgentNotFoundError | ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
21
21
  };
22
22
  plugin: {
@@ -165,6 +165,8 @@ export declare const make: (options?: {
165
165
  file: {
166
166
  list: (input?: FileListInput) => Effect.Effect<FileListOutput, ClientError | import("@opencode/protocol/errors").FileNotFoundError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
167
167
  find: (input: FileFindInput) => Effect.Effect<FileFindOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
168
+ watch: (input: FileWatchInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").FileNotFoundError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
169
+ unwatch: (input: FileUnwatchInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
168
170
  };
169
171
  command: {
170
172
  list: (input?: CommandListInput) => Effect.Effect<CommandListOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
@@ -1,8 +1,8 @@
1
1
  import {
2
- make4
3
- } from "../../chunks/pty-handoff-d4bnv4f0.js";
4
- import"../../chunks/pty-handoff-y2etg5bs.js";
5
- import"../../chunks/pty-handoff-vmytr4q8.js";
2
+ make5
3
+ } from "../../chunks/rpc-runtime-ff0ps5x1.js";
4
+ import"../../chunks/rpc-runtime-7f0py9js.js";
5
+ import"../../chunks/rpc-runtime-vmytr4q8.js";
6
6
  export {
7
- make4 as make
7
+ make5 as make
8
8
  };
@@ -1,12 +1,12 @@
1
- import"../../chunks/pty-handoff-6mptkzbc.js";
1
+ import"../../chunks/rpc-runtime-6mptkzbc.js";
2
2
  import {
3
- exports_client2
4
- } from "../../chunks/pty-handoff-d4bnv4f0.js";
3
+ exports_client4
4
+ } from "../../chunks/rpc-runtime-ff0ps5x1.js";
5
5
  import {
6
- ClientError2
7
- } from "../../chunks/pty-handoff-y2etg5bs.js";
8
- import"../../chunks/pty-handoff-vmytr4q8.js";
6
+ ClientError3
7
+ } from "../../chunks/rpc-runtime-7f0py9js.js";
8
+ import"../../chunks/rpc-runtime-vmytr4q8.js";
9
9
  export {
10
- ClientError2 as ClientError,
11
- exports_client2 as OpenCode
10
+ ClientError3 as ClientError,
11
+ exports_client4 as OpenCode
12
12
  };
@@ -1,15 +1,15 @@
1
1
  import {
2
- ClientError2
3
- } from "../chunks/pty-handoff-y2etg5bs.js";
4
- import"../chunks/pty-handoff-vmytr4q8.js";
5
- import"../chunks/pty-handoff-d4bnv4f0.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";
2
+ ClientError3
3
+ } from "../chunks/rpc-runtime-7f0py9js.js";
4
+ import"../chunks/rpc-runtime-vmytr4q8.js";
5
+ import"../chunks/rpc-runtime-ff0ps5x1.js";
6
+ import"../chunks/rpc-runtime-6mptkzbc.js";
7
+ import"../chunks/rpc-runtime-8bbb028w.js";
8
+ import"../chunks/rpc-runtime-ryy6kscr.js";
9
+ import"../chunks/rpc-runtime-myz4ngx9.js";
10
10
  import {
11
- exports_client
12
- } from "../chunks/pty-handoff-jq91dnkq.js";
11
+ exports_client3
12
+ } from "../chunks/rpc-runtime-7saa3msa.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
- ClientError2 as ClientError,
46
+ ClientError3 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_client as OpenCode,
57
+ exports_client3 as OpenCode,
58
58
  Permission,
59
59
  PermissionSaved,
60
60
  Project,
@@ -1,11 +1,11 @@
1
1
  import {
2
- make3,
2
+ make6,
3
3
  aborted2,
4
4
  exports_rpc
5
- } from "../chunks/pty-handoff-15p82y03.js";
6
- import"../chunks/pty-handoff-ryy6kscr.js";
5
+ } from "../chunks/rpc-runtime-myz4ngx9.js";
6
+ import"../chunks/rpc-runtime-ryy6kscr.js";
7
7
  export {
8
8
  exports_rpc as RpcClientRuntime,
9
9
  aborted2 as aborted,
10
- make3 as make
10
+ make6 as make
11
11
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/pty-handoff-ve4aws36.js";
4
+ } from "../chunks/rpc-runtime-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/pty-handoff-xgnj2w4v.js";
8
+ } from "../chunks/rpc-runtime-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/pty-handoff-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/pty-handoff-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/pty-handoff-s062yqxj.js";
25
- import"../chunks/pty-handoff-qav6mfdz.js";
24
+ } from "../chunks/rpc-runtime-1m3dzmf1.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";
@@ -179,6 +179,8 @@ export declare function make(options: ClientOptions): {
179
179
  list: (input?: import("./index.js").FileListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FileListOutput>;
180
180
  find: (input: import("./index.js").FileFindInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FileFindOutput>;
181
181
  write: (input: import("./index.js").FileWriteInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FileWriteOutput>;
182
+ watch: (input: import("./index.js").FileWatchInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
183
+ unwatch: (input: import("./index.js").FileUnwatchInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
182
184
  };
183
185
  command: {
184
186
  list: (input?: import("./index.js").CommandListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").CommandListOutput>;
@@ -1,14 +1,14 @@
1
1
  import {
2
- make5,
3
- exports_client3
4
- } from "../chunks/pty-handoff-gb6s2y2x.js";
5
- import"../chunks/pty-handoff-skhp7hxc.js";
6
- import"../chunks/pty-handoff-vyas3vgt.js";
7
- import"../chunks/pty-handoff-zp1ww9gq.js";
8
- import"../chunks/pty-handoff-c46qzyff.js";
9
- import"../chunks/pty-handoff-nwcpakzx.js";
10
- import"../chunks/pty-handoff-8bbb028w.js";
2
+ make2,
3
+ exports_client
4
+ } from "../chunks/rpc-runtime-hjkdb2as.js";
5
+ import"../chunks/rpc-runtime-skhp7hxc.js";
6
+ import"../chunks/rpc-runtime-vyas3vgt.js";
7
+ import"../chunks/rpc-runtime-c46qzyff.js";
8
+ import"../chunks/rpc-runtime-vea8g3zs.js";
9
+ import"../chunks/rpc-runtime-js54wxgp.js";
10
+ import"../chunks/rpc-runtime-8bbb028w.js";
11
11
  export {
12
- exports_client3 as OpenCode,
13
- make5 as make
12
+ exports_client as OpenCode,
13
+ make2 as make
14
14
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ClientError3
3
- } from "../../chunks/pty-handoff-nwcpakzx.js";
2
+ ClientError2
3
+ } from "../../chunks/rpc-runtime-js54wxgp.js";
4
4
  export {
5
- ClientError3 as ClientError
5
+ ClientError2 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, 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, UsageLimitsInput, UsageLimitsOutput, 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, 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, FileWatchInput, FileUnwatchInput, 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, UsageLimitsInput, UsageLimitsOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "./types.js";
2
2
  export interface ClientOptions {
3
3
  readonly baseUrl: string;
4
4
  readonly fetch?: typeof globalThis.fetch;
@@ -186,6 +186,8 @@ export declare function make(options: ClientOptions): {
186
186
  list: (input?: FileListInput, requestOptions?: RequestOptions) => Promise<FileListOutput>;
187
187
  find: (input: FileFindInput, requestOptions?: RequestOptions) => Promise<FileFindOutput>;
188
188
  write: (input: FileWriteInput, requestOptions?: RequestOptions) => Promise<FileWriteOutput>;
189
+ watch: (input: FileWatchInput, requestOptions?: RequestOptions) => Promise<void>;
190
+ unwatch: (input: FileUnwatchInput, requestOptions?: RequestOptions) => Promise<void>;
189
191
  };
190
192
  command: {
191
193
  list: (input?: CommandListInput, requestOptions?: RequestOptions) => Promise<CommandListOutput>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- make6
3
- } from "../../chunks/pty-handoff-zp1ww9gq.js";
4
- import"../../chunks/pty-handoff-nwcpakzx.js";
2
+ make3
3
+ } from "../../chunks/rpc-runtime-vea8g3zs.js";
4
+ import"../../chunks/rpc-runtime-js54wxgp.js";
5
5
  export {
6
- make6 as make
6
+ make3 as make
7
7
  };
@@ -1,7 +1,4 @@
1
- import"../../chunks/pty-handoff-vyas3vgt.js";
2
- import {
3
- exports_client4
4
- } from "../../chunks/pty-handoff-zp1ww9gq.js";
1
+ import"../../chunks/rpc-runtime-vyas3vgt.js";
5
2
  import {
6
3
  isInvalidRequestError2,
7
4
  isUnauthorizedError2,
@@ -37,13 +34,16 @@ import {
37
34
  isShellNotFoundError2,
38
35
  isWorktreeError2,
39
36
  isVcsInitNotSupportedError2
40
- } from "../../chunks/pty-handoff-c46qzyff.js";
37
+ } from "../../chunks/rpc-runtime-c46qzyff.js";
38
+ import {
39
+ exports_client2
40
+ } from "../../chunks/rpc-runtime-vea8g3zs.js";
41
41
  import {
42
- ClientError3
43
- } from "../../chunks/pty-handoff-nwcpakzx.js";
42
+ ClientError2
43
+ } from "../../chunks/rpc-runtime-js54wxgp.js";
44
44
  export {
45
- ClientError3 as ClientError,
46
- exports_client4 as OpenCode,
45
+ ClientError2 as ClientError,
46
+ exports_client2 as OpenCode,
47
47
  isAgentNotFoundError2 as isAgentNotFoundError,
48
48
  isCommandExecutionError2 as isCommandExecutionError,
49
49
  isCommandNotFoundError2 as isCommandNotFoundError,
@@ -4,6 +4,7 @@ export type JsonValue = null | boolean | number | string | Array<JsonValue> | {
4
4
  export type ServerInfo = {
5
5
  version: string;
6
6
  pid: number;
7
+ hostname?: string | undefined;
7
8
  urls: Array<string>;
8
9
  paths: {
9
10
  tmp: string;
@@ -7167,6 +7168,28 @@ export type FileWriteOutput = {
7167
7168
  location: LocationPublicRef;
7168
7169
  data: FileSystemWrite;
7169
7170
  };
7171
+ export type FileWatchInput = {
7172
+ readonly location?: {
7173
+ readonly location?: {
7174
+ readonly directory?: string | undefined;
7175
+ } | undefined;
7176
+ }["location"];
7177
+ readonly path: {
7178
+ readonly path: string;
7179
+ }["path"];
7180
+ };
7181
+ export type FileWatchOutput = void;
7182
+ export type FileUnwatchInput = {
7183
+ readonly location?: {
7184
+ readonly location?: {
7185
+ readonly directory?: string | undefined;
7186
+ } | undefined;
7187
+ }["location"];
7188
+ readonly path: {
7189
+ readonly path: string;
7190
+ }["path"];
7191
+ };
7192
+ export type FileUnwatchOutput = void;
7170
7193
  export type CommandListInput = {
7171
7194
  readonly location?: {
7172
7195
  readonly location?: {
@@ -33,7 +33,7 @@ import {
33
33
  isShellNotFoundError2,
34
34
  isWorktreeError2,
35
35
  isVcsInitNotSupportedError2
36
- } from "../../chunks/pty-handoff-c46qzyff.js";
36
+ } from "../../chunks/rpc-runtime-c46qzyff.js";
37
37
  export {
38
38
  isAgentNotFoundError2 as isAgentNotFoundError,
39
39
  isCommandExecutionError2 as isCommandExecutionError,
@@ -1,10 +1,9 @@
1
- import"../chunks/pty-handoff-m2eywc8w.js";
1
+ import"../chunks/rpc-runtime-m2eywc8w.js";
2
2
  import {
3
- exports_client3
4
- } from "../chunks/pty-handoff-gb6s2y2x.js";
5
- import"../chunks/pty-handoff-skhp7hxc.js";
6
- import"../chunks/pty-handoff-vyas3vgt.js";
7
- import"../chunks/pty-handoff-zp1ww9gq.js";
3
+ exports_client
4
+ } from "../chunks/rpc-runtime-hjkdb2as.js";
5
+ import"../chunks/rpc-runtime-skhp7hxc.js";
6
+ import"../chunks/rpc-runtime-vyas3vgt.js";
8
7
  import {
9
8
  isInvalidRequestError2,
10
9
  isUnauthorizedError2,
@@ -40,14 +39,15 @@ import {
40
39
  isShellNotFoundError2,
41
40
  isWorktreeError2,
42
41
  isVcsInitNotSupportedError2
43
- } from "../chunks/pty-handoff-c46qzyff.js";
42
+ } from "../chunks/rpc-runtime-c46qzyff.js";
43
+ import"../chunks/rpc-runtime-vea8g3zs.js";
44
44
  import {
45
- ClientError3
46
- } from "../chunks/pty-handoff-nwcpakzx.js";
47
- import"../chunks/pty-handoff-8bbb028w.js";
45
+ ClientError2
46
+ } from "../chunks/rpc-runtime-js54wxgp.js";
47
+ import"../chunks/rpc-runtime-8bbb028w.js";
48
48
  export {
49
- ClientError3 as ClientError,
50
- exports_client3 as OpenCode,
49
+ ClientError2 as ClientError,
50
+ exports_client 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/pty-handoff-skhp7hxc.js";
4
- import"../chunks/pty-handoff-c46qzyff.js";
3
+ } from "../chunks/rpc-runtime-skhp7hxc.js";
4
+ import"../chunks/rpc-runtime-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/pty-handoff-ve4aws36.js";
4
+ } from "../chunks/rpc-runtime-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/pty-handoff-xgnj2w4v.js";
8
+ } from "../chunks/rpc-runtime-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/pty-handoff-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/pty-handoff-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/pty-handoff-s062yqxj.js";
25
- import"../chunks/pty-handoff-qav6mfdz.js";
24
+ } from "../chunks/rpc-runtime-1m3dzmf1.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/pty-handoff-s062yqxj.js";
8
- import"./chunks/pty-handoff-2ny4vxct.js";
9
- import"./chunks/pty-handoff-sxt88q69.js";
10
- import"./chunks/pty-handoff-xgnj2w4v.js";
7
+ } from "./chunks/rpc-runtime-1m3dzmf1.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/pty-handoff-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/pty-handoff-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/pty-handoff-2ny4vxct.js";
8
- import"./chunks/pty-handoff-sxt88q69.js";
9
- import"./chunks/pty-handoff-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/pty-handoff-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/pty-handoff-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/pty-handoff-qav6mfdz.js";
1
+ import"./chunks/rpc-runtime-qav6mfdz.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make7,
3
3
  exports_shared_events
4
- } from "./chunks/pty-handoff-8bbb028w.js";
4
+ } from "./chunks/rpc-runtime-8bbb028w.js";
5
5
  export {
6
6
  exports_shared_events as SharedEvents,
7
7
  make7 as make