@opencode/schema 0.0.0-dev-19588 → 0.0.0-dev-19590

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 CHANGED
@@ -56,6 +56,7 @@ export declare const Status: Schema.toTaggedUnion<"status", readonly [Schema.Str
56
56
  readonly error: Schema.String;
57
57
  }>, Schema.Struct<{
58
58
  readonly status: Schema.Literal<"needs_auth">;
59
+ readonly error: Schema.String;
59
60
  }>]>;
60
61
  export interface Server extends Schema.Schema.Type<typeof Server> {
61
62
  }
@@ -72,6 +73,7 @@ export declare const Server: Schema.Struct<{
72
73
  readonly error: Schema.String;
73
74
  }>, Schema.Struct<{
74
75
  readonly status: Schema.Literal<"needs_auth">;
76
+ readonly error: Schema.String;
75
77
  }>]>;
76
78
  readonly integrationID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Integration.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Integration.ID">>, never, never>;
77
79
  }>;
package/dist/mcp.js CHANGED
@@ -67,7 +67,7 @@ const Disabled = Schema.Struct({ status: Schema.Literal("disabled") }).annotate(
67
67
  const Failed = Schema.Struct({ status: Schema.Literal("failed"), error: Schema.String }).annotate({
68
68
  identifier: "Mcp.Status.Failed",
69
69
  });
70
- const NeedsAuth = Schema.Struct({ status: Schema.Literal("needs_auth") }).annotate({
70
+ const NeedsAuth = Schema.Struct({ status: Schema.Literal("needs_auth"), error: Schema.String }).annotate({
71
71
  identifier: "Mcp.Status.NeedsAuth",
72
72
  });
73
73
  export const Status = Schema.Union([Connected, Pending, Disabled, Failed, NeedsAuth]).pipe(Schema.toTaggedUnion("status"));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/schema",
4
- "version": "0.0.0-dev-19588",
4
+ "version": "0.0.0-dev-19590",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {