@opencode/client 0.0.0-dev-19565 → 0.0.0-dev-19566
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.
package/dist/effect/api/api.d.ts
CHANGED
|
@@ -1710,7 +1710,7 @@ export type IntegrationGetInput = {
|
|
|
1710
1710
|
};
|
|
1711
1711
|
export type IntegrationGetOutput = {
|
|
1712
1712
|
readonly location: Location.PublicRef;
|
|
1713
|
-
readonly data: Integration.Info
|
|
1713
|
+
readonly data: Integration.Info;
|
|
1714
1714
|
};
|
|
1715
1715
|
export type IntegrationGetOperation<E = never> = (input: IntegrationGetInput) => Effect.Effect<IntegrationGetOutput, E>;
|
|
1716
1716
|
export type IntegrationWellknownAddInput = {
|
package/dist/effect/client.d.ts
CHANGED
|
@@ -2299,7 +2299,7 @@ export declare const make: (options?: {
|
|
|
2299
2299
|
};
|
|
2300
2300
|
integration: {
|
|
2301
2301
|
list: (input?: import("./api.js").IntegrationListInput) => Effect.Effect<import("./api.js").IntegrationListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2302
|
-
get: (input: import("./api.js").IntegrationGetInput) => Effect.Effect<import("./api.js").IntegrationGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("effect/Schema").SchemaError | ClientError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;
|
|
2302
|
+
get: (input: import("./api.js").IntegrationGetInput) => Effect.Effect<import("./api.js").IntegrationGetOutput, 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>;
|
|
2303
2303
|
wellknown: {
|
|
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
|
};
|
|
@@ -86,7 +86,7 @@ export declare const make: (options?: {
|
|
|
86
86
|
};
|
|
87
87
|
integration: {
|
|
88
88
|
list: (input?: IntegrationListInput) => Effect.Effect<IntegrationListOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
89
|
-
get: (input: IntegrationGetInput) => Effect.Effect<IntegrationGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
89
|
+
get: (input: IntegrationGetInput) => Effect.Effect<IntegrationGetOutput, import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").IntegrationNotFoundError | Schema.SchemaError | ClientError | HttpClientError.HttpClientError, never>;
|
|
90
90
|
wellknown: {
|
|
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
|
};
|
|
@@ -611,7 +611,7 @@ export function make(options) {
|
|
|
611
611
|
path: `/api/integration/${encodeURIComponent(input.integrationID)}`,
|
|
612
612
|
query: { location: input["location"] },
|
|
613
613
|
successStatus: 200,
|
|
614
|
-
declaredStatuses: [400, 401],
|
|
614
|
+
declaredStatuses: [400, 401, 404],
|
|
615
615
|
empty: false,
|
|
616
616
|
}, requestOptions),
|
|
617
617
|
wellknown: {
|
|
@@ -3301,6 +3301,12 @@ export type ProviderNotFoundError = {
|
|
|
3301
3301
|
readonly message: string;
|
|
3302
3302
|
};
|
|
3303
3303
|
export declare const isProviderNotFoundError: (value: unknown) => value is ProviderNotFoundError;
|
|
3304
|
+
export type IntegrationNotFoundError = {
|
|
3305
|
+
readonly _tag: "IntegrationNotFoundError";
|
|
3306
|
+
readonly integrationID: string;
|
|
3307
|
+
readonly message: string;
|
|
3308
|
+
};
|
|
3309
|
+
export declare const isIntegrationNotFoundError: (value: unknown) => value is IntegrationNotFoundError;
|
|
3304
3310
|
export type McpServerNotFoundError = {
|
|
3305
3311
|
readonly _tag: "McpServerNotFoundError";
|
|
3306
3312
|
readonly server: string;
|
|
@@ -6158,7 +6164,7 @@ export type IntegrationGetInput = {
|
|
|
6158
6164
|
};
|
|
6159
6165
|
export type IntegrationGetOutput = {
|
|
6160
6166
|
location: LocationPublicRef;
|
|
6161
|
-
data: IntegrationInfo
|
|
6167
|
+
data: IntegrationInfo;
|
|
6162
6168
|
};
|
|
6163
6169
|
export type IntegrationWellknownAddInput = {
|
|
6164
6170
|
readonly location?: {
|
|
@@ -16,6 +16,7 @@ export const isInstructionEntryValueTooLargeError = (value) => typeof value ===
|
|
|
16
16
|
"_tag" in value &&
|
|
17
17
|
value["_tag"] === "InstructionEntryValueTooLargeError";
|
|
18
18
|
export const isProviderNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "ProviderNotFoundError";
|
|
19
|
+
export const isIntegrationNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "IntegrationNotFoundError";
|
|
19
20
|
export const isMcpServerNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "McpServerNotFoundError";
|
|
20
21
|
export const isProjectNotFoundError = (value) => typeof value === "object" && value !== null && "_tag" in value && value["_tag"] === "ProjectNotFoundError";
|
|
21
22
|
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-
|
|
4
|
+
"version": "0.0.0-dev-19566",
|
|
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-
|
|
61
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
60
|
+
"@opencode/schema": "0.0.0-dev-19566",
|
|
61
|
+
"@opencode/protocol": "0.0.0-dev-19566"
|
|
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-
|
|
77
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-19566",
|
|
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",
|