@opencode-ai/schema 0.0.0-next-14835 → 0.0.0-next-14836
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/mcp.d.ts +2 -2
- package/dist/mcp.js +3 -3
- package/package.json +1 -1
package/dist/mcp.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type Status = typeof Status.Type;
|
|
|
4
4
|
export declare const Status: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
5
5
|
readonly status: Schema.Literal<"connected">;
|
|
6
6
|
}>, Schema.Struct<{
|
|
7
|
-
readonly status: Schema.Literal<"
|
|
7
|
+
readonly status: Schema.Literal<"pending">;
|
|
8
8
|
}>, Schema.Struct<{
|
|
9
9
|
readonly status: Schema.Literal<"disabled">;
|
|
10
10
|
}>, Schema.Struct<{
|
|
@@ -23,7 +23,7 @@ export declare const Server: Schema.Struct<{
|
|
|
23
23
|
readonly status: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{
|
|
24
24
|
readonly status: Schema.Literal<"connected">;
|
|
25
25
|
}>, Schema.Struct<{
|
|
26
|
-
readonly status: Schema.Literal<"
|
|
26
|
+
readonly status: Schema.Literal<"pending">;
|
|
27
27
|
}>, Schema.Struct<{
|
|
28
28
|
readonly status: Schema.Literal<"disabled">;
|
|
29
29
|
}>, Schema.Struct<{
|
package/dist/mcp.js
CHANGED
|
@@ -5,8 +5,8 @@ import { IntegrationID } from "./integration-id.js";
|
|
|
5
5
|
const Connected = Schema.Struct({ status: Schema.Literal("connected") }).annotate({
|
|
6
6
|
identifier: "Mcp.Status.Connected",
|
|
7
7
|
});
|
|
8
|
-
const
|
|
9
|
-
identifier: "Mcp.Status.
|
|
8
|
+
const Pending = Schema.Struct({ status: Schema.Literal("pending") }).annotate({
|
|
9
|
+
identifier: "Mcp.Status.Pending",
|
|
10
10
|
});
|
|
11
11
|
const Disabled = Schema.Struct({ status: Schema.Literal("disabled") }).annotate({
|
|
12
12
|
identifier: "Mcp.Status.Disabled",
|
|
@@ -23,7 +23,7 @@ const NeedsClientRegistration = Schema.Struct({
|
|
|
23
23
|
}).annotate({ identifier: "Mcp.Status.NeedsClientRegistration" });
|
|
24
24
|
export const Status = Schema.Union([
|
|
25
25
|
Connected,
|
|
26
|
-
|
|
26
|
+
Pending,
|
|
27
27
|
Disabled,
|
|
28
28
|
Failed,
|
|
29
29
|
NeedsAuth,
|