@opencode/client 2.0.19 → 2.0.20

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 (58) hide show
  1. package/dist/chunks/{rpc-runtime-1tbj6z39.js → shared-events-1tbj6z39.js} +1 -1
  2. package/dist/chunks/{rpc-runtime-h9cy5hnk.js → shared-events-8wk26zth.js} +17 -2
  3. package/dist/chunks/{rpc-runtime-qnqb2tyr.js → shared-events-fr9kb04q.js} +5 -5
  4. package/dist/chunks/{rpc-runtime-frbwqjmf.js → shared-events-frbwqjmf.js} +1 -1
  5. package/dist/chunks/{rpc-runtime-h11j9btw.js → shared-events-h11j9btw.js} +1 -1
  6. package/dist/chunks/{rpc-runtime-mnyft54j.js → shared-events-mnyft54j.js} +2 -2
  7. package/dist/chunks/{rpc-runtime-mhqqf36r.js → shared-events-p1ns5v1v.js} +1 -1
  8. package/dist/chunks/{rpc-runtime-t1xa31vm.js → shared-events-t1xa31vm.js} +1 -1
  9. package/dist/chunks/{rpc-runtime-gc472t4a.js → shared-events-w0z44nwf.js} +4 -4
  10. package/dist/chunks/{rpc-runtime-0fn08bwv.js → shared-events-yskc9x8y.js} +15 -3
  11. package/dist/contract.js +1 -1
  12. package/dist/effect/api/api.d.ts +28 -0
  13. package/dist/effect/client.d.ts +17 -0
  14. package/dist/effect/client.js +8 -8
  15. package/dist/effect/generated/client-error.js +1 -1
  16. package/dist/effect/generated/client.d.ts +18 -1
  17. package/dist/effect/generated/client.js +3 -3
  18. package/dist/effect/generated/index.js +4 -4
  19. package/dist/effect/index.js +8 -8
  20. package/dist/effect/rpc.js +2 -2
  21. package/dist/effect/service.js +5 -5
  22. package/dist/promise/client.d.ts +2 -0
  23. package/dist/promise/client.js +7 -7
  24. package/dist/promise/generated/client-error.js +1 -1
  25. package/dist/promise/generated/client.d.ts +3 -1
  26. package/dist/promise/generated/client.js +2 -2
  27. package/dist/promise/generated/index.js +8 -8
  28. package/dist/promise/generated/types.d.ts +217 -12
  29. package/dist/promise/generated/types.js +1 -1
  30. package/dist/promise/index.js +10 -10
  31. package/dist/promise/rpc.js +2 -2
  32. package/dist/promise/service.js +5 -5
  33. package/dist/pty-handoff.js +1 -1
  34. package/dist/rpc-runtime.js +1 -1
  35. package/dist/service-contender.js +1 -1
  36. package/dist/service-timing.js +1 -1
  37. package/dist/service-version.js +1 -1
  38. package/dist/service.js +1 -1
  39. package/dist/shared-events.js +1 -1
  40. package/dist/solid/connection.js +1 -1
  41. package/dist/solid/data.js +9 -9
  42. package/dist/solid/index.js +11 -11
  43. package/dist/solid/pty.js +1 -1
  44. package/package.json +4 -4
  45. /package/dist/chunks/{rpc-runtime-4tveyqeh.js → shared-events-4tveyqeh.js} +0 -0
  46. /package/dist/chunks/{rpc-runtime-6mptkzbc.js → shared-events-6mptkzbc.js} +0 -0
  47. /package/dist/chunks/{rpc-runtime-7f0py9js.js → shared-events-7f0py9js.js} +0 -0
  48. /package/dist/chunks/{rpc-runtime-9rqn6x4v.js → shared-events-9rqn6x4v.js} +0 -0
  49. /package/dist/chunks/{rpc-runtime-gne7h7mq.js → shared-events-gne7h7mq.js} +0 -0
  50. /package/dist/chunks/{rpc-runtime-js54wxgp.js → shared-events-js54wxgp.js} +0 -0
  51. /package/dist/chunks/{rpc-runtime-m2eywc8w.js → shared-events-m2eywc8w.js} +0 -0
  52. /package/dist/chunks/{rpc-runtime-qav6mfdz.js → shared-events-qav6mfdz.js} +0 -0
  53. /package/dist/chunks/{rpc-runtime-sxt88q69.js → shared-events-sxt88q69.js} +0 -0
  54. /package/dist/chunks/{rpc-runtime-txckps9j.js → shared-events-txckps9j.js} +0 -0
  55. /package/dist/chunks/{rpc-runtime-vmytr4q8.js → shared-events-vmytr4q8.js} +0 -0
  56. /package/dist/chunks/{rpc-runtime-vyas3vgt.js → shared-events-vyas3vgt.js} +0 -0
  57. /package/dist/chunks/{rpc-runtime-xgnj2w4v.js → shared-events-xgnj2w4v.js} +0 -0
  58. /package/dist/chunks/{rpc-runtime-ydhz1zrh.js → shared-events-ydhz1zrh.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isRpcError2,
3
3
  isRpcInternalError2
4
- } from "./rpc-runtime-4tveyqeh.js";
4
+ } from "./shared-events-4tveyqeh.js";
5
5
 
6
6
  // src/promise/rpc.ts
7
7
  function makeRpc2(raw, events) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ClientError2
3
- } from "./rpc-runtime-js54wxgp.js";
3
+ } from "./shared-events-js54wxgp.js";
4
4
  import {
5
5
  __export
6
- } from "./rpc-runtime-9rqn6x4v.js";
6
+ } from "./shared-events-9rqn6x4v.js";
7
7
 
8
8
  // src/promise/generated/client.ts
9
9
  var exports_client2 = {};
@@ -818,6 +818,21 @@ function make3(options) {
818
818
  }
819
819
  },
820
820
  credential: {
821
+ list: (requestOptions) => request({ method: "GET", path: `/api/credential`, successStatus: 200, declaredStatuses: [400, 401], empty: false }, requestOptions).then((value) => value.data),
822
+ create: (input, requestOptions) => request({
823
+ method: "POST",
824
+ path: `/api/credential`,
825
+ body: {
826
+ id: input["id"],
827
+ integrationID: input["integrationID"],
828
+ label: input["label"],
829
+ value: input["value"],
830
+ activate: input["activate"]
831
+ },
832
+ successStatus: 200,
833
+ declaredStatuses: [400, 401, 409],
834
+ empty: false
835
+ }, requestOptions).then((value) => value.data),
821
836
  update: (input, requestOptions) => request({
822
837
  method: "PATCH",
823
838
  path: `/api/credential/${encodeURIComponent(input.credentialID)}`,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  make7
3
- } from "./rpc-runtime-frbwqjmf.js";
3
+ } from "./shared-events-frbwqjmf.js";
4
4
  import {
5
5
  ClientError3
6
- } from "./rpc-runtime-7f0py9js.js";
6
+ } from "./shared-events-7f0py9js.js";
7
7
  import {
8
8
  make6
9
- } from "./rpc-runtime-0fn08bwv.js";
9
+ } from "./shared-events-yskc9x8y.js";
10
10
  import {
11
11
  make5,
12
12
  aborted2
13
- } from "./rpc-runtime-mnyft54j.js";
13
+ } from "./shared-events-mnyft54j.js";
14
14
  import {
15
15
  __export
16
- } from "./rpc-runtime-9rqn6x4v.js";
16
+ } from "./shared-events-9rqn6x4v.js";
17
17
 
18
18
  // src/effect/client.ts
19
19
  var exports_client3 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-runtime-9rqn6x4v.js";
3
+ } from "./shared-events-9rqn6x4v.js";
4
4
 
5
5
  // src/shared-events.ts
6
6
  var exports_shared_events = {};
@@ -2,7 +2,7 @@ import {
2
2
  isFormNotFoundError2,
3
3
  isFormAlreadySettledError2,
4
4
  isPermissionNotFoundError2
5
- } from "./rpc-runtime-4tveyqeh.js";
5
+ } from "./shared-events-4tveyqeh.js";
6
6
 
7
7
  // src/solid/data.ts
8
8
  import { Worktree } from "@opencode/schema/worktree";
@@ -3,10 +3,10 @@ import {
3
3
  readError2,
4
4
  event2,
5
5
  eventType2
6
- } from "./rpc-runtime-t1xa31vm.js";
6
+ } from "./shared-events-t1xa31vm.js";
7
7
  import {
8
8
  __export
9
- } from "./rpc-runtime-9rqn6x4v.js";
9
+ } from "./shared-events-9rqn6x4v.js";
10
10
 
11
11
  // src/effect/rpc.ts
12
12
  var exports_rpc = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-runtime-9rqn6x4v.js";
3
+ } from "./shared-events-9rqn6x4v.js";
4
4
 
5
5
  // src/pty-handoff.ts
6
6
  var exports_pty_handoff = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./rpc-runtime-9rqn6x4v.js";
3
+ } from "./shared-events-9rqn6x4v.js";
4
4
 
5
5
  // src/rpc-runtime.ts
6
6
  var exports_rpc_runtime = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  make7
3
- } from "./rpc-runtime-frbwqjmf.js";
3
+ } from "./shared-events-frbwqjmf.js";
4
4
  import {
5
5
  make3
6
- } from "./rpc-runtime-h9cy5hnk.js";
6
+ } from "./shared-events-8wk26zth.js";
7
7
  import {
8
8
  makeRpc2
9
- } from "./rpc-runtime-1tbj6z39.js";
9
+ } from "./shared-events-1tbj6z39.js";
10
10
  import {
11
11
  __export
12
- } from "./rpc-runtime-9rqn6x4v.js";
12
+ } from "./shared-events-9rqn6x4v.js";
13
13
 
14
14
  // src/promise/client.ts
15
15
  var exports_client = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ClientApi2
3
- } from "./rpc-runtime-vmytr4q8.js";
3
+ } from "./shared-events-vmytr4q8.js";
4
4
  import {
5
5
  ClientError3
6
- } from "./rpc-runtime-7f0py9js.js";
6
+ } from "./shared-events-7f0py9js.js";
7
7
  import {
8
8
  __export
9
- } from "./rpc-runtime-9rqn6x4v.js";
9
+ } from "./shared-events-9rqn6x4v.js";
10
10
 
11
11
  // src/effect/generated/client.ts
12
12
  var exports_client4 = {};
@@ -344,6 +344,16 @@ var adaptGroupMcp = (raw) => ({
344
344
  disconnect: EndpointMcpDisconnect(raw),
345
345
  resource: { catalog: EndpointMcpResourceCatalog(raw) }
346
346
  });
347
+ var EndpointCredentialList = (raw) => () => preserveEffect()(raw["credential.list"]({}).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
348
+ var EndpointCredentialCreate = (raw) => (input) => preserveEffect()(raw["credential.create"]({
349
+ payload: {
350
+ id: input["id"],
351
+ integrationID: input["integrationID"],
352
+ label: input["label"],
353
+ value: input["value"],
354
+ activate: input["activate"]
355
+ }
356
+ }).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
347
357
  var EndpointCredentialUpdate = (raw) => (input) => preserveEffect()(raw["credential.update"]({
348
358
  params: { credentialID: input["credentialID"] },
349
359
  payload: { label: input["label"] }
@@ -351,6 +361,8 @@ var EndpointCredentialUpdate = (raw) => (input) => preserveEffect()(raw["credent
351
361
  var EndpointCredentialActivate = (raw) => (input) => preserveEffect()(raw["credential.activate"]({ params: { credentialID: input["credentialID"] } }).pipe(Effect.mapError(mapClientError)));
352
362
  var EndpointCredentialRemove = (raw) => (input) => preserveEffect()(raw["credential.remove"]({ params: { credentialID: input["credentialID"] } }).pipe(Effect.mapError(mapClientError)));
353
363
  var adaptGroupCredential = (raw) => ({
364
+ list: EndpointCredentialList(raw),
365
+ create: EndpointCredentialCreate(raw),
354
366
  update: EndpointCredentialUpdate(raw),
355
367
  activate: EndpointCredentialActivate(raw),
356
368
  remove: EndpointCredentialRemove(raw)
package/dist/contract.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  effectOmitEndpoints2,
4
4
  groupNames2,
5
5
  promiseOmitEndpoints2
6
- } from "./chunks/rpc-runtime-vmytr4q8.js";
6
+ } from "./chunks/shared-events-vmytr4q8.js";
7
7
  export {
8
8
  ClientApi2 as ClientApi,
9
9
  effectOmitEndpoints2 as effectOmitEndpoints,
@@ -814,6 +814,9 @@ export type SessionLogOutput = ({
814
814
  readonly type: string;
815
815
  readonly message: string;
816
816
  readonly status?: number | undefined;
817
+ readonly response?: {
818
+ readonly body: string;
819
+ } | undefined;
817
820
  };
818
821
  };
819
822
  } | {
@@ -1053,6 +1056,9 @@ export type SessionLogOutput = ({
1053
1056
  readonly type: string;
1054
1057
  readonly message: string;
1055
1058
  readonly status?: number | undefined;
1059
+ readonly response?: {
1060
+ readonly body: string;
1061
+ } | undefined;
1056
1062
  };
1057
1063
  readonly finish?: "content-filter" | undefined;
1058
1064
  readonly rawFinish?: string | undefined;
@@ -1299,6 +1305,9 @@ export type SessionLogOutput = ({
1299
1305
  readonly type: string;
1300
1306
  readonly message: string;
1301
1307
  readonly status?: number | undefined;
1308
+ readonly response?: {
1309
+ readonly body: string;
1310
+ } | undefined;
1302
1311
  };
1303
1312
  readonly content?: readonly [
1304
1313
  ({
@@ -1351,6 +1360,9 @@ export type SessionLogOutput = ({
1351
1360
  readonly type: string;
1352
1361
  readonly message: string;
1353
1362
  readonly status?: number | undefined;
1363
+ readonly response?: {
1364
+ readonly body: string;
1365
+ } | undefined;
1354
1366
  };
1355
1367
  };
1356
1368
  } | {
@@ -1444,6 +1456,9 @@ export type SessionLogOutput = ({
1444
1456
  readonly type: string;
1445
1457
  readonly message: string;
1446
1458
  readonly status?: number | undefined;
1459
+ readonly response?: {
1460
+ readonly body: string;
1461
+ } | undefined;
1447
1462
  };
1448
1463
  readonly inputID?: SessionMessage.ID | undefined;
1449
1464
  readonly cost?: (number & Brand.Brand<"Money.USD">) | undefined;
@@ -1973,6 +1988,17 @@ export interface McpApi<E = never> {
1973
1988
  readonly catalog: McpResourceCatalogOperation<E>;
1974
1989
  };
1975
1990
  }
1991
+ export type CredentialListOutput = ReadonlyArray<Credential.Entry>;
1992
+ export type CredentialListOperation<E = never> = () => Effect.Effect<CredentialListOutput, E>;
1993
+ export type CredentialCreateInput = {
1994
+ readonly id?: Credential.ID | undefined;
1995
+ readonly integrationID: Integration.ID;
1996
+ readonly label?: string | undefined;
1997
+ readonly value: Credential.Value;
1998
+ readonly activate?: boolean | undefined;
1999
+ };
2000
+ export type CredentialCreateOutput = Credential.Entry;
2001
+ export type CredentialCreateOperation<E = never> = (input: CredentialCreateInput) => Effect.Effect<CredentialCreateOutput, E>;
1976
2002
  export type CredentialUpdateInput = {
1977
2003
  readonly credentialID: Credential.ID;
1978
2004
  readonly label: string;
@@ -1990,6 +2016,8 @@ export type CredentialRemoveInput = {
1990
2016
  export type CredentialRemoveOutput = void;
1991
2017
  export type CredentialRemoveOperation<E = never> = (input: CredentialRemoveInput) => Effect.Effect<CredentialRemoveOutput, E>;
1992
2018
  export interface CredentialApi<E = never> {
2019
+ readonly list: CredentialListOperation<E>;
2020
+ readonly create: CredentialCreateOperation<E>;
1993
2021
  readonly update: CredentialUpdateOperation<E>;
1994
2022
  readonly activate: CredentialActivateOperation<E>;
1995
2023
  readonly remove: CredentialRemoveOperation<E>;
@@ -951,6 +951,9 @@ export declare const make: (options?: {
951
951
  readonly type: string;
952
952
  readonly message: string;
953
953
  readonly status?: number | undefined;
954
+ readonly response?: {
955
+ readonly body: string;
956
+ } | undefined;
954
957
  };
955
958
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
956
959
  };
@@ -1230,6 +1233,9 @@ export declare const make: (options?: {
1230
1233
  readonly type: string;
1231
1234
  readonly message: string;
1232
1235
  readonly status?: number | undefined;
1236
+ readonly response?: {
1237
+ readonly body: string;
1238
+ } | undefined;
1233
1239
  };
1234
1240
  readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1235
1241
  readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
@@ -1555,6 +1561,9 @@ export declare const make: (options?: {
1555
1561
  readonly type: string;
1556
1562
  readonly message: string;
1557
1563
  readonly status?: number | undefined;
1564
+ readonly response?: {
1565
+ readonly body: string;
1566
+ } | undefined;
1558
1567
  };
1559
1568
  readonly executed: boolean;
1560
1569
  readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -1606,6 +1615,9 @@ export declare const make: (options?: {
1606
1615
  readonly type: string;
1607
1616
  readonly message: string;
1608
1617
  readonly status?: number | undefined;
1618
+ readonly response?: {
1619
+ readonly body: string;
1620
+ } | undefined;
1609
1621
  };
1610
1622
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1611
1623
  };
@@ -1720,6 +1732,9 @@ export declare const make: (options?: {
1720
1732
  readonly type: string;
1721
1733
  readonly message: string;
1722
1734
  readonly status?: number | undefined;
1735
+ readonly response?: {
1736
+ readonly body: string;
1737
+ } | undefined;
1723
1738
  };
1724
1739
  readonly reason: "auto" | "manual";
1725
1740
  readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
@@ -2401,6 +2416,8 @@ export declare const make: (options?: {
2401
2416
  };
2402
2417
  };
2403
2418
  credential: {
2419
+ list: () => Effect.Effect<import("./api.js").CredentialListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2420
+ create: (input: import("./api.js").CredentialCreateInput) => Effect.Effect<import("@opencode/schema/credential").Entry, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2404
2421
  update: (input: import("./api.js").CredentialUpdateInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2405
2422
  activate: (input: import("./api.js").CredentialActivateInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2406
2423
  remove: (input: import("./api.js").CredentialRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  make4,
3
3
  exports_client3
4
- } from "../chunks/rpc-runtime-qnqb2tyr.js";
5
- import"../chunks/rpc-runtime-mnyft54j.js";
6
- import"../chunks/rpc-runtime-6mptkzbc.js";
7
- import"../chunks/rpc-runtime-0fn08bwv.js";
8
- import"../chunks/rpc-runtime-7f0py9js.js";
9
- import"../chunks/rpc-runtime-t1xa31vm.js";
10
- import"../chunks/rpc-runtime-frbwqjmf.js";
11
- import"../chunks/rpc-runtime-vmytr4q8.js";
4
+ } from "../chunks/shared-events-fr9kb04q.js";
5
+ import"../chunks/shared-events-mnyft54j.js";
6
+ import"../chunks/shared-events-6mptkzbc.js";
7
+ import"../chunks/shared-events-yskc9x8y.js";
8
+ import"../chunks/shared-events-7f0py9js.js";
9
+ import"../chunks/shared-events-frbwqjmf.js";
10
+ import"../chunks/shared-events-t1xa31vm.js";
11
+ import"../chunks/shared-events-vmytr4q8.js";
12
12
  export {
13
13
  exports_client3 as OpenCode,
14
14
  make4 as make
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ClientError3
3
- } from "../../chunks/rpc-runtime-7f0py9js.js";
3
+ } from "../../chunks/shared-events-7f0py9js.js";
4
4
  export {
5
5
  ClientError3 as ClientError
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import { Effect, Stream, Schema } from "effect";
2
2
  import { Sse } from "effect/unstable/encoding";
3
3
  import { HttpClientError } from "effect/unstable/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, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, 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, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, 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, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, 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, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, 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;
@@ -127,6 +127,8 @@ export declare const make: (options?: {
127
127
  };
128
128
  };
129
129
  credential: {
130
+ list: () => Effect.Effect<CredentialListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
131
+ create: (input: CredentialCreateInput) => Effect.Effect<import("@opencode/schema/credential").Entry, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").ConflictError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
130
132
  update: (input: CredentialUpdateInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
131
133
  activate: (input: CredentialActivateInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
132
134
  remove: (input: CredentialRemoveInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
@@ -1108,6 +1110,9 @@ export declare const make: (options?: {
1108
1110
  readonly type: string;
1109
1111
  readonly message: string;
1110
1112
  readonly status?: number | undefined;
1113
+ readonly response?: {
1114
+ readonly body: string;
1115
+ } | undefined;
1111
1116
  };
1112
1117
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1113
1118
  };
@@ -1387,6 +1392,9 @@ export declare const make: (options?: {
1387
1392
  readonly type: string;
1388
1393
  readonly message: string;
1389
1394
  readonly status?: number | undefined;
1395
+ readonly response?: {
1396
+ readonly body: string;
1397
+ } | undefined;
1390
1398
  };
1391
1399
  readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1392
1400
  readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
@@ -1712,6 +1720,9 @@ export declare const make: (options?: {
1712
1720
  readonly type: string;
1713
1721
  readonly message: string;
1714
1722
  readonly status?: number | undefined;
1723
+ readonly response?: {
1724
+ readonly body: string;
1725
+ } | undefined;
1715
1726
  };
1716
1727
  readonly executed: boolean;
1717
1728
  readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -1763,6 +1774,9 @@ export declare const make: (options?: {
1763
1774
  readonly type: string;
1764
1775
  readonly message: string;
1765
1776
  readonly status?: number | undefined;
1777
+ readonly response?: {
1778
+ readonly body: string;
1779
+ } | undefined;
1766
1780
  };
1767
1781
  readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
1768
1782
  };
@@ -1877,6 +1891,9 @@ export declare const make: (options?: {
1877
1891
  readonly type: string;
1878
1892
  readonly message: string;
1879
1893
  readonly status?: number | undefined;
1894
+ readonly response?: {
1895
+ readonly body: string;
1896
+ } | undefined;
1880
1897
  };
1881
1898
  readonly reason: "auto" | "manual";
1882
1899
  readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  make6
3
- } from "../../chunks/rpc-runtime-0fn08bwv.js";
4
- import"../../chunks/rpc-runtime-7f0py9js.js";
5
- import"../../chunks/rpc-runtime-vmytr4q8.js";
3
+ } from "../../chunks/shared-events-yskc9x8y.js";
4
+ import"../../chunks/shared-events-7f0py9js.js";
5
+ import"../../chunks/shared-events-vmytr4q8.js";
6
6
  export {
7
7
  make6 as make
8
8
  };
@@ -1,11 +1,11 @@
1
- import"../../chunks/rpc-runtime-6mptkzbc.js";
1
+ import"../../chunks/shared-events-6mptkzbc.js";
2
2
  import {
3
3
  exports_client4
4
- } from "../../chunks/rpc-runtime-0fn08bwv.js";
4
+ } from "../../chunks/shared-events-yskc9x8y.js";
5
5
  import {
6
6
  ClientError3
7
- } from "../../chunks/rpc-runtime-7f0py9js.js";
8
- import"../../chunks/rpc-runtime-vmytr4q8.js";
7
+ } from "../../chunks/shared-events-7f0py9js.js";
8
+ import"../../chunks/shared-events-vmytr4q8.js";
9
9
  export {
10
10
  ClientError3 as ClientError,
11
11
  exports_client4 as OpenCode
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ClientError3
3
- } from "../chunks/rpc-runtime-7f0py9js.js";
4
- import"../chunks/rpc-runtime-vmytr4q8.js";
5
- import"../chunks/rpc-runtime-0fn08bwv.js";
6
- import"../chunks/rpc-runtime-6mptkzbc.js";
7
- import"../chunks/rpc-runtime-frbwqjmf.js";
8
- import"../chunks/rpc-runtime-t1xa31vm.js";
9
- import"../chunks/rpc-runtime-mnyft54j.js";
3
+ } from "../chunks/shared-events-7f0py9js.js";
4
+ import"../chunks/shared-events-vmytr4q8.js";
5
+ import"../chunks/shared-events-yskc9x8y.js";
6
+ import"../chunks/shared-events-6mptkzbc.js";
7
+ import"../chunks/shared-events-frbwqjmf.js";
8
+ import"../chunks/shared-events-t1xa31vm.js";
9
+ import"../chunks/shared-events-mnyft54j.js";
10
10
  import {
11
11
  exports_client3
12
- } from "../chunks/rpc-runtime-qnqb2tyr.js";
12
+ } from "../chunks/shared-events-fr9kb04q.js";
13
13
 
14
14
  // src/effect/index.ts
15
15
  import { Agent } from "@opencode/schema/agent";
@@ -2,8 +2,8 @@ import {
2
2
  make5,
3
3
  aborted2,
4
4
  exports_rpc
5
- } from "../chunks/rpc-runtime-mnyft54j.js";
6
- import"../chunks/rpc-runtime-t1xa31vm.js";
5
+ } from "../chunks/shared-events-mnyft54j.js";
6
+ import"../chunks/shared-events-t1xa31vm.js";
7
7
  export {
8
8
  exports_rpc as RpcClientRuntime,
9
9
  aborted2 as aborted,
@@ -2,21 +2,21 @@ import {
2
2
  spawnServiceContender2,
3
3
  contenderFailure2,
4
4
  contenderFinished2
5
- } from "../chunks/rpc-runtime-txckps9j.js";
5
+ } from "../chunks/shared-events-txckps9j.js";
6
6
  import {
7
7
  defaultEnsureTiming2,
8
8
  ensureTiming2
9
- } from "../chunks/rpc-runtime-xgnj2w4v.js";
9
+ } from "../chunks/shared-events-xgnj2w4v.js";
10
10
  import {
11
11
  matchesVersion2
12
- } from "../chunks/rpc-runtime-sxt88q69.js";
12
+ } from "../chunks/shared-events-sxt88q69.js";
13
13
  import {
14
14
  prepare2,
15
15
  environment2,
16
16
  complete2,
17
17
  clear2
18
- } from "../chunks/rpc-runtime-mhqqf36r.js";
19
- import"../chunks/rpc-runtime-qav6mfdz.js";
18
+ } from "../chunks/shared-events-p1ns5v1v.js";
19
+ import"../chunks/shared-events-qav6mfdz.js";
20
20
 
21
21
  // src/effect/service.ts
22
22
  import { Effect, FileSystem, Option, Schedule, Schema } from "effect";
@@ -137,6 +137,8 @@ export declare function make(options: ClientOptions): {
137
137
  };
138
138
  };
139
139
  credential: {
140
+ list: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").CredentialEntry[]>;
141
+ create: (input: import("./index.js").CredentialCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").CredentialEntry>;
140
142
  update: (input: import("./index.js").CredentialUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
141
143
  activate: (input: import("./index.js").CredentialActivateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
142
144
  remove: (input: import("./index.js").CredentialRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  make2,
3
3
  exports_client
4
- } from "../chunks/rpc-runtime-gc472t4a.js";
5
- import"../chunks/rpc-runtime-1tbj6z39.js";
6
- import"../chunks/rpc-runtime-vyas3vgt.js";
7
- import"../chunks/rpc-runtime-4tveyqeh.js";
8
- import"../chunks/rpc-runtime-h9cy5hnk.js";
9
- import"../chunks/rpc-runtime-js54wxgp.js";
10
- import"../chunks/rpc-runtime-frbwqjmf.js";
4
+ } from "../chunks/shared-events-w0z44nwf.js";
5
+ import"../chunks/shared-events-vyas3vgt.js";
6
+ import"../chunks/shared-events-8wk26zth.js";
7
+ import"../chunks/shared-events-js54wxgp.js";
8
+ import"../chunks/shared-events-1tbj6z39.js";
9
+ import"../chunks/shared-events-4tveyqeh.js";
10
+ import"../chunks/shared-events-frbwqjmf.js";
11
11
  export {
12
12
  exports_client as OpenCode,
13
13
  make2 as make
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ClientError2
3
- } from "../../chunks/rpc-runtime-js54wxgp.js";
3
+ } from "../../chunks/shared-events-js54wxgp.js";
4
4
  export {
5
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, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, 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, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, 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, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, 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, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, 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;
@@ -138,6 +138,8 @@ export declare function make(options: ClientOptions): {
138
138
  };
139
139
  };
140
140
  credential: {
141
+ list: (requestOptions?: RequestOptions) => Promise<import("./types.js").CredentialEntry[]>;
142
+ create: (input: CredentialCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").CredentialEntry>;
141
143
  update: (input: CredentialUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
142
144
  activate: (input: CredentialActivateInput, requestOptions?: RequestOptions) => Promise<void>;
143
145
  remove: (input: CredentialRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make3
3
- } from "../../chunks/rpc-runtime-h9cy5hnk.js";
4
- import"../../chunks/rpc-runtime-js54wxgp.js";
3
+ } from "../../chunks/shared-events-8wk26zth.js";
4
+ import"../../chunks/shared-events-js54wxgp.js";
5
5
  export {
6
6
  make3 as make
7
7
  };