/** * Agent-agnostic extension type catalog schemas. * * @experimental This API is unstable and may change without notice. */ import * as Schema from "effect/Schema"; import type { ExtensionType } from "../extensions/common.js"; export type { PerAgentType, WorkspaceCapabilityKey, WorkspaceCapabilityType, } from "../extensions/common.js"; /** @experimental This API is unstable and may change without notice. */ export declare const LEAF_EXTENSION_TYPES: readonly ["skill", "mcp-server", "subagent", "rule", "hook"]; /** @experimental This API is unstable and may change without notice. */ export type LeafExtensionType = (typeof LEAF_EXTENSION_TYPES)[number]; declare const _leafCoversInstallableTypes: true; export type _LeafExtensionTypeCoverage = typeof _leafCoversInstallableTypes; /** @experimental This API is unstable and may change without notice. */ export declare const LeafExtensionTypeSchema: Schema.Literals; /** Registry/package extension types, including workspace-only knowledge bundles. */ export declare const CATALOG_EXTENSION_TYPES: readonly ["skill", "mcp-server", "subagent", "rule", "hook", "knowledge"]; /** @experimental This API is unstable and may change without notice. */ export type CatalogExtensionType = (typeof CATALOG_EXTENSION_TYPES)[number]; declare const _catalogCoversNonPackTypes: true; export type _CatalogExtensionTypeCoverage = typeof _catalogCoversNonPackTypes; /** @experimental This API is unstable and may change without notice. */ export declare const isCatalogExtensionType: (type: ExtensionType) => type is CatalogExtensionType; /** @experimental This API is unstable and may change without notice. */ export declare const CatalogExtensionTypeSchema: Schema.Literals; /** @experimental This API is unstable and may change without notice. */ export declare const UrlSchema: Schema.NonEmptyString; /** @experimental This API is unstable and may change without notice. */ export type Url = Schema.Schema.Type; /** @experimental This API is unstable and may change without notice. */ export declare const StandardSchema: Schema.Struct<{ readonly id: Schema.NonEmptyString; readonly name: Schema.NonEmptyString; readonly url: Schema.NonEmptyString; }>; /** @experimental This API is unstable and may change without notice. */ export type Standard = Schema.Schema.Type; /** @experimental This API is unstable and may change without notice. */ export declare const DocLinkSchema: Schema.Struct<{ readonly label: Schema.NonEmptyString; readonly url: Schema.NonEmptyString; }>; /** @experimental This API is unstable and may change without notice. */ export type DocLink = Schema.Schema.Type; /** @experimental This API is unstable and may change without notice. */ export declare const ExtensionTypeDefinitionSchema: Schema.Struct<{ readonly id: Schema.Literals; readonly summary: Schema.NonEmptyString; readonly description: Schema.NonEmptyString; readonly standard: Schema.NullOr>; readonly docs: Schema.$Array>; }>; /** @experimental This API is unstable and may change without notice. */ export type ExtensionTypeDefinition = Schema.Schema.Type; /** @experimental This API is unstable and may change without notice. */ export type ExtensionTypeCatalog = { readonly [Type in CatalogExtensionType]: ExtensionTypeDefinition; }; /** @experimental This API is unstable and may change without notice. */ export declare const ExtensionTypeCatalogSchema: Schema.Struct<{ readonly skill: Schema.Struct<{ readonly id: Schema.Literals; readonly summary: Schema.NonEmptyString; readonly description: Schema.NonEmptyString; readonly standard: Schema.NullOr>; readonly docs: Schema.$Array>; }>; readonly "mcp-server": Schema.Struct<{ readonly id: Schema.Literals; readonly summary: Schema.NonEmptyString; readonly description: Schema.NonEmptyString; readonly standard: Schema.NullOr>; readonly docs: Schema.$Array>; }>; readonly subagent: Schema.Struct<{ readonly id: Schema.Literals; readonly summary: Schema.NonEmptyString; readonly description: Schema.NonEmptyString; readonly standard: Schema.NullOr>; readonly docs: Schema.$Array>; }>; readonly rule: Schema.Struct<{ readonly id: Schema.Literals; readonly summary: Schema.NonEmptyString; readonly description: Schema.NonEmptyString; readonly standard: Schema.NullOr>; readonly docs: Schema.$Array>; }>; readonly hook: Schema.Struct<{ readonly id: Schema.Literals; readonly summary: Schema.NonEmptyString; readonly description: Schema.NonEmptyString; readonly standard: Schema.NullOr>; readonly docs: Schema.$Array>; }>; readonly knowledge: Schema.Struct<{ readonly id: Schema.Literals; readonly summary: Schema.NonEmptyString; readonly description: Schema.NonEmptyString; readonly standard: Schema.NullOr>; readonly docs: Schema.$Array>; }>; }>; //# sourceMappingURL=schema.d.ts.map