@opencode/client 0.0.0-dev-19574 → 0.0.0-dev-19578

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.
@@ -253,7 +253,7 @@ export type SessionRemoveOutput = void;
253
253
  export type SessionRemoveOperation<E = never> = (input: SessionRemoveInput) => Effect.Effect<SessionRemoveOutput, E>;
254
254
  export type SessionForkInput = {
255
255
  readonly sessionID: Session.ID;
256
- readonly boundary: Session.ForkRequestBoundary;
256
+ readonly before?: SessionMessage.ID | undefined;
257
257
  };
258
258
  export type SessionForkOutput = Session.Info;
259
259
  export type SessionForkOperation<E = never> = (input: SessionForkInput) => Effect.Effect<SessionForkOutput, E>;
@@ -1897,26 +1897,17 @@ export interface McpApi<E = never> {
1897
1897
  }
1898
1898
  export type CredentialUpdateInput = {
1899
1899
  readonly credentialID: Credential.ID;
1900
- readonly location?: {
1901
- readonly directory?: string | undefined;
1902
- } | undefined;
1903
1900
  readonly label: string;
1904
1901
  };
1905
1902
  export type CredentialUpdateOutput = void;
1906
1903
  export type CredentialUpdateOperation<E = never> = (input: CredentialUpdateInput) => Effect.Effect<CredentialUpdateOutput, E>;
1907
1904
  export type CredentialActivateInput = {
1908
1905
  readonly credentialID: Credential.ID;
1909
- readonly location?: {
1910
- readonly directory?: string | undefined;
1911
- } | undefined;
1912
1906
  };
1913
1907
  export type CredentialActivateOutput = void;
1914
1908
  export type CredentialActivateOperation<E = never> = (input: CredentialActivateInput) => Effect.Effect<CredentialActivateOutput, E>;
1915
1909
  export type CredentialRemoveInput = {
1916
1910
  readonly credentialID: Credential.ID;
1917
- readonly location?: {
1918
- readonly directory?: string | undefined;
1919
- } | undefined;
1920
1911
  };
1921
1912
  export type CredentialRemoveOutput = void;
1922
1913
  export type CredentialRemoveOperation<E = never> = (input: CredentialRemoveInput) => Effect.Effect<CredentialRemoveOutput, E>;
@@ -2304,17 +2304,17 @@ export declare const make: (options?: {
2304
2304
  add: (input: import("./api.js").IntegrationWellknownAddInput) => 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>;
2305
2305
  };
2306
2306
  connect: {
2307
- key: (input: import("./api.js").IntegrationConnectKeyInput) => 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>;
2307
+ key: (input: import("./api.js").IntegrationConnectKeyInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2308
2308
  };
2309
2309
  oauth: {
2310
2310
  connect: (input: import("./api.js").IntegrationOauthConnectInput) => Effect.Effect<import("./api.js").IntegrationOauthConnectOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2311
- status: (input: import("./api.js").IntegrationOauthStatusInput) => Effect.Effect<import("./api.js").IntegrationOauthStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2312
- complete: (input: import("./api.js").IntegrationOauthCompleteInput) => 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>;
2311
+ status: (input: import("./api.js").IntegrationOauthStatusInput) => Effect.Effect<import("./api.js").IntegrationOauthStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").IntegrationAttemptNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2312
+ complete: (input: import("./api.js").IntegrationOauthCompleteInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").IntegrationAttemptNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2313
2313
  cancel: (input: import("./api.js").IntegrationOauthCancelInput) => 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>;
2314
2314
  };
2315
2315
  command: {
2316
- connect: (input: import("./api.js").IntegrationCommandConnectInput) => Effect.Effect<import("./api.js").IntegrationCommandConnectOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2317
- status: (input: import("./api.js").IntegrationCommandStatusInput) => Effect.Effect<import("./api.js").IntegrationCommandStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2316
+ connect: (input: import("./api.js").IntegrationCommandConnectInput) => Effect.Effect<import("./api.js").IntegrationCommandConnectOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").IntegrationMethodNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2317
+ status: (input: import("./api.js").IntegrationCommandStatusInput) => Effect.Effect<import("./api.js").IntegrationCommandStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").IntegrationAttemptNotFoundError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
2318
2318
  cancel: (input: import("./api.js").IntegrationCommandCancelInput) => 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>;
2319
2319
  };
2320
2320
  };
@@ -91,17 +91,17 @@ export declare const make: (options?: {
91
91
  add: (input: IntegrationWellknownAddInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
92
92
  };
93
93
  connect: {
94
- key: (input: IntegrationConnectKeyInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
94
+ key: (input: IntegrationConnectKeyInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
95
95
  };
96
96
  oauth: {
97
97
  connect: (input: IntegrationOauthConnectInput) => Effect.Effect<IntegrationOauthConnectOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
98
- status: (input: IntegrationOauthStatusInput) => Effect.Effect<IntegrationOauthStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
99
- complete: (input: IntegrationOauthCompleteInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
98
+ status: (input: IntegrationOauthStatusInput) => Effect.Effect<IntegrationOauthStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").IntegrationAttemptNotFoundError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
99
+ complete: (input: IntegrationOauthCompleteInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").IntegrationAttemptNotFoundError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
100
100
  cancel: (input: IntegrationOauthCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
101
101
  };
102
102
  command: {
103
- connect: (input: IntegrationCommandConnectInput) => Effect.Effect<IntegrationCommandConnectOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
104
- status: (input: IntegrationCommandStatusInput) => Effect.Effect<IntegrationCommandStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
103
+ connect: (input: IntegrationCommandConnectInput) => Effect.Effect<IntegrationCommandConnectOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").IntegrationMethodNotFoundError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
104
+ status: (input: IntegrationCommandStatusInput) => Effect.Effect<IntegrationCommandStatusOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | import("@opencode/protocol/errors").IntegrationAttemptNotFoundError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
105
105
  cancel: (input: IntegrationCommandCancelInput) => Effect.Effect<void, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
106
106
  };
107
107
  };
@@ -67,7 +67,7 @@ const EndpointSessionExport = (raw) => (input) => preserveEffect()(raw["session.
67
67
  const EndpointSessionActive = (raw) => () => preserveEffect()(raw["session.active"]({}).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
68
68
  const EndpointSessionGet = (raw) => (input) => preserveEffect()(raw["session.get"]({ params: { sessionID: input["sessionID"] } }).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
69
69
  const EndpointSessionRemove = (raw) => (input) => preserveEffect()(raw["session.remove"]({ params: { sessionID: input["sessionID"] } }).pipe(Effect.mapError(mapClientError)));
70
- const EndpointSessionFork = (raw) => (input) => preserveEffect()(raw["session.fork"]({ params: { sessionID: input["sessionID"] }, payload: { boundary: input["boundary"] } }).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
70
+ const EndpointSessionFork = (raw) => (input) => preserveEffect()(raw["session.fork"]({ params: { sessionID: input["sessionID"] }, payload: { before: input["before"] } }).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
71
71
  const EndpointSessionSwitchAgent = (raw) => (input) => preserveEffect()(raw["session.switchAgent"]({ params: { sessionID: input["sessionID"] }, payload: { agent: input["agent"] } }).pipe(Effect.mapError(mapClientError)));
72
72
  const EndpointSessionSwitchModel = (raw) => (input) => preserveEffect()(raw["session.switchModel"]({ params: { sessionID: input["sessionID"] }, payload: { model: input["model"] } }).pipe(Effect.mapError(mapClientError)));
73
73
  const EndpointSessionRename = (raw) => (input) => preserveEffect()(raw["session.rename"]({ params: { sessionID: input["sessionID"] }, payload: { title: input["title"] } }).pipe(Effect.mapError(mapClientError)));
@@ -307,17 +307,10 @@ const adaptGroupMcp = (raw) => ({
307
307
  });
308
308
  const EndpointCredentialUpdate = (raw) => (input) => preserveEffect()(raw["credential.update"]({
309
309
  params: { credentialID: input["credentialID"] },
310
- query: { location: input["location"] },
311
310
  payload: { label: input["label"] },
312
311
  }).pipe(Effect.mapError(mapClientError)));
313
- const EndpointCredentialActivate = (raw) => (input) => preserveEffect()(raw["credential.activate"]({
314
- params: { credentialID: input["credentialID"] },
315
- query: { location: input["location"] },
316
- }).pipe(Effect.mapError(mapClientError)));
317
- const EndpointCredentialRemove = (raw) => (input) => preserveEffect()(raw["credential.remove"]({
318
- params: { credentialID: input["credentialID"] },
319
- query: { location: input["location"] },
320
- }).pipe(Effect.mapError(mapClientError)));
312
+ const EndpointCredentialActivate = (raw) => (input) => preserveEffect()(raw["credential.activate"]({ params: { credentialID: input["credentialID"] } }).pipe(Effect.mapError(mapClientError)));
313
+ const EndpointCredentialRemove = (raw) => (input) => preserveEffect()(raw["credential.remove"]({ params: { credentialID: input["credentialID"] } }).pipe(Effect.mapError(mapClientError)));
321
314
  const adaptGroupCredential = (raw) => ({
322
315
  update: EndpointCredentialUpdate(raw),
323
316
  activate: EndpointCredentialActivate(raw),
@@ -208,7 +208,7 @@ export function make(options) {
208
208
  }, requestOptions),
209
209
  stats: (input, requestOptions) => request({
210
210
  method: "GET",
211
- path: `/api/session/stats`,
211
+ path: `/api/experimental/session/stats`,
212
212
  query: {
213
213
  from: input?.["from"],
214
214
  to: input?.["to"],
@@ -276,7 +276,7 @@ export function make(options) {
276
276
  fork: (input, requestOptions) => request({
277
277
  method: "POST",
278
278
  path: `/api/session/${encodeURIComponent(input.sessionID)}/fork`,
279
- body: { boundary: input["boundary"] },
279
+ body: { before: input["before"] },
280
280
  successStatus: 200,
281
281
  declaredStatuses: [400, 401, 404],
282
282
  empty: false,
@@ -632,7 +632,7 @@ export function make(options) {
632
632
  query: { location: input["location"] },
633
633
  body: { key: input["key"], answer: input["answer"], label: input["label"] },
634
634
  successStatus: 204,
635
- declaredStatuses: [400, 401],
635
+ declaredStatuses: [400, 401, 404],
636
636
  empty: true,
637
637
  }, requestOptions),
638
638
  },
@@ -651,7 +651,7 @@ export function make(options) {
651
651
  path: `/api/integration/${encodeURIComponent(input.integrationID)}/connect/oauth/${encodeURIComponent(input.attemptID)}`,
652
652
  query: { location: input["location"] },
653
653
  successStatus: 200,
654
- declaredStatuses: [400, 401],
654
+ declaredStatuses: [400, 401, 404],
655
655
  empty: false,
656
656
  }, requestOptions),
657
657
  complete: (input, requestOptions) => request({
@@ -660,7 +660,7 @@ export function make(options) {
660
660
  query: { location: input["location"] },
661
661
  body: { code: input["code"] },
662
662
  successStatus: 204,
663
- declaredStatuses: [400, 401],
663
+ declaredStatuses: [400, 401, 404],
664
664
  empty: true,
665
665
  }, requestOptions),
666
666
  cancel: (input, requestOptions) => request({
@@ -679,7 +679,7 @@ export function make(options) {
679
679
  query: { location: input["location"] },
680
680
  body: { methodID: input["methodID"], label: input["label"] },
681
681
  successStatus: 200,
682
- declaredStatuses: [400, 401],
682
+ declaredStatuses: [400, 401, 404],
683
683
  empty: false,
684
684
  }, requestOptions),
685
685
  status: (input, requestOptions) => request({
@@ -687,7 +687,7 @@ export function make(options) {
687
687
  path: `/api/integration/${encodeURIComponent(input.integrationID)}/connect/command/${encodeURIComponent(input.attemptID)}`,
688
688
  query: { location: input["location"] },
689
689
  successStatus: 200,
690
- declaredStatuses: [400, 401],
690
+ declaredStatuses: [400, 401, 404],
691
691
  empty: false,
692
692
  }, requestOptions),
693
693
  cancel: (input, requestOptions) => request({
@@ -711,7 +711,7 @@ export function make(options) {
711
711
  }, requestOptions),
712
712
  add: (input, requestOptions) => request({
713
713
  method: "PUT",
714
- path: `/api/mcp/${encodeURIComponent(input.server)}`,
714
+ path: `/api/experimental/mcp/${encodeURIComponent(input.server)}`,
715
715
  query: { location: input["location"] },
716
716
  body: { config: input["config"] },
717
717
  successStatus: 204,
@@ -720,7 +720,7 @@ export function make(options) {
720
720
  }, requestOptions),
721
721
  remove: (input, requestOptions) => request({
722
722
  method: "DELETE",
723
- path: `/api/mcp/${encodeURIComponent(input.server)}`,
723
+ path: `/api/experimental/mcp/${encodeURIComponent(input.server)}`,
724
724
  query: { location: input["location"] },
725
725
  successStatus: 204,
726
726
  declaredStatuses: [400, 401, 404],
@@ -728,7 +728,7 @@ export function make(options) {
728
728
  }, requestOptions),
729
729
  connect: (input, requestOptions) => request({
730
730
  method: "POST",
731
- path: `/api/mcp/${encodeURIComponent(input.server)}/connect`,
731
+ path: `/api/experimental/mcp/${encodeURIComponent(input.server)}/connect`,
732
732
  query: { location: input["location"] },
733
733
  successStatus: 204,
734
734
  declaredStatuses: [400, 401, 404],
@@ -736,7 +736,7 @@ export function make(options) {
736
736
  }, requestOptions),
737
737
  disconnect: (input, requestOptions) => request({
738
738
  method: "POST",
739
- path: `/api/mcp/${encodeURIComponent(input.server)}/disconnect`,
739
+ path: `/api/experimental/mcp/${encodeURIComponent(input.server)}/disconnect`,
740
740
  query: { location: input["location"] },
741
741
  successStatus: 204,
742
742
  declaredStatuses: [400, 401, 404],
@@ -757,7 +757,6 @@ export function make(options) {
757
757
  update: (input, requestOptions) => request({
758
758
  method: "PATCH",
759
759
  path: `/api/credential/${encodeURIComponent(input.credentialID)}`,
760
- query: { location: input["location"] },
761
760
  body: { label: input["label"] },
762
761
  successStatus: 204,
763
762
  declaredStatuses: [400, 401],
@@ -766,7 +765,6 @@ export function make(options) {
766
765
  activate: (input, requestOptions) => request({
767
766
  method: "POST",
768
767
  path: `/api/credential/${encodeURIComponent(input.credentialID)}/activate`,
769
- query: { location: input["location"] },
770
768
  successStatus: 204,
771
769
  declaredStatuses: [400, 401],
772
770
  empty: true,
@@ -774,7 +772,6 @@ export function make(options) {
774
772
  remove: (input, requestOptions) => request({
775
773
  method: "DELETE",
776
774
  path: `/api/credential/${encodeURIComponent(input.credentialID)}`,
777
- query: { location: input["location"] },
778
775
  successStatus: 204,
779
776
  declaredStatuses: [400, 401],
780
777
  empty: true,
@@ -3307,6 +3307,20 @@ export type IntegrationNotFoundError = {
3307
3307
  readonly message: string;
3308
3308
  };
3309
3309
  export declare const isIntegrationNotFoundError: (value: unknown) => value is IntegrationNotFoundError;
3310
+ export type IntegrationAttemptNotFoundError = {
3311
+ readonly _tag: "IntegrationAttemptNotFoundError";
3312
+ readonly integrationID: string;
3313
+ readonly attemptID: string;
3314
+ readonly message: string;
3315
+ };
3316
+ export declare const isIntegrationAttemptNotFoundError: (value: unknown) => value is IntegrationAttemptNotFoundError;
3317
+ export type IntegrationMethodNotFoundError = {
3318
+ readonly _tag: "IntegrationMethodNotFoundError";
3319
+ readonly integrationID: string;
3320
+ readonly methodID: string;
3321
+ readonly message: string;
3322
+ };
3323
+ export declare const isIntegrationMethodNotFoundError: (value: unknown) => value is IntegrationMethodNotFoundError;
3310
3324
  export type McpServerNotFoundError = {
3311
3325
  readonly _tag: "McpServerNotFoundError";
3312
3326
  readonly server: string;
@@ -5179,14 +5193,9 @@ export type SessionForkInput = {
5179
5193
  readonly sessionID: {
5180
5194
  readonly sessionID: string;
5181
5195
  }["sessionID"];
5182
- readonly boundary: {
5183
- readonly boundary: {
5184
- readonly type: "before";
5185
- readonly messageID: string;
5186
- } | {
5187
- readonly type: "through";
5188
- };
5189
- }["boundary"];
5196
+ readonly before?: {
5197
+ readonly before?: string | undefined;
5198
+ }["before"];
5190
5199
  };
5191
5200
  export type SessionForkOutput = {
5192
5201
  data: SessionInfo;
@@ -6462,11 +6471,6 @@ export type CredentialUpdateInput = {
6462
6471
  readonly credentialID: {
6463
6472
  readonly credentialID: string;
6464
6473
  }["credentialID"];
6465
- readonly location?: {
6466
- readonly location?: {
6467
- readonly directory?: string | undefined;
6468
- } | undefined;
6469
- }["location"];
6470
6474
  readonly label: {
6471
6475
  readonly label: string;
6472
6476
  }["label"];
@@ -6476,22 +6480,12 @@ export type CredentialActivateInput = {
6476
6480
  readonly credentialID: {
6477
6481
  readonly credentialID: string;
6478
6482
  }["credentialID"];
6479
- readonly location?: {
6480
- readonly location?: {
6481
- readonly directory?: string | undefined;
6482
- } | undefined;
6483
- }["location"];
6484
6483
  };
6485
6484
  export type CredentialActivateOutput = void;
6486
6485
  export type CredentialRemoveInput = {
6487
6486
  readonly credentialID: {
6488
6487
  readonly credentialID: string;
6489
6488
  }["credentialID"];
6490
- readonly location?: {
6491
- readonly location?: {
6492
- readonly directory?: string | undefined;
6493
- } | undefined;
6494
- }["location"];
6495
6489
  };
6496
6490
  export type CredentialRemoveOutput = void;
6497
6491
  export type ProjectListOutput = Array<Project>;
@@ -17,6 +17,8 @@ export const isInstructionEntryValueTooLargeError = (value) => typeof value ===
17
17
  value["_tag"] === "InstructionEntryValueTooLargeError";
18
18
  export const isProviderNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "ProviderNotFoundError";
19
19
  export const isIntegrationNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "IntegrationNotFoundError";
20
+ export const isIntegrationAttemptNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "IntegrationAttemptNotFoundError";
21
+ export const isIntegrationMethodNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "IntegrationMethodNotFoundError";
20
22
  export const isMcpServerNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "McpServerNotFoundError";
21
23
  export const isProjectNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "ProjectNotFoundError";
22
24
  export const isFormNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "FormNotFoundError";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/client",
4
- "version": "0.0.0-dev-19574",
4
+ "version": "0.0.0-dev-19578",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -57,8 +57,8 @@
57
57
  "typecheck": "tsgo --noEmit"
58
58
  },
59
59
  "dependencies": {
60
- "@opencode/schema": "0.0.0-dev-19574",
61
- "@opencode/protocol": "0.0.0-dev-19574"
60
+ "@opencode/schema": "0.0.0-dev-19578",
61
+ "@opencode/protocol": "0.0.0-dev-19578"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "effect": "4.0.0-rc.112",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@effect/platform-node": "4.0.0-rc.112",
77
- "@opencode/httpapi-codegen": "0.0.0-dev-19574",
77
+ "@opencode/httpapi-codegen": "0.0.0-dev-19578",
78
78
  "@tsconfig/bun": "1.0.9",
79
79
  "@types/bun": "1.4.0",
80
80
  "@typescript/native-preview": "7.0.0-dev.20251207.1",