@opencode/schema 0.0.0-dev-21820 → 0.0.0-dev-21823

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
@@ -76,6 +76,7 @@ export declare const Server: Schema.Struct<{
76
76
  readonly status: Schema.Literal<"needs_auth">;
77
77
  readonly error: Schema.String;
78
78
  }>]>;
79
+ readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
79
80
  readonly integrationID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Integration.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Integration.ID">>, never, never>;
80
81
  }>;
81
82
  export interface Resource extends Schema.Schema.Type<typeof Resource> {
package/dist/mcp.js CHANGED
@@ -77,6 +77,8 @@ export const Status = Schema.Union([Connected, Pending, Disabled, Failed, NeedsA
77
77
  export const Server = Schema.Struct({
78
78
  name: Schema.String,
79
79
  status: Status,
80
+ // Display title from the connected server's `serverInfo.title`; absent while disconnected or when not provided.
81
+ title: optional(Schema.String),
80
82
  // Set for remote servers registered as OAuth integrations; lets clients act on the right integration
81
83
  // without matching by name, which could collide with provider or plugin integrations.
82
84
  integrationID: optional(IntegrationID),
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-21820",
4
+ "version": "0.0.0-dev-21823",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {