/** * Skill extension ref types. * * Concrete ref types for skill extensions, built on the shared * ExtensionRefBase and ref detail interfaces. * * @experimental This API is unstable and may change without notice. * @packageDocumentation */ import type { SkillExtensionRefBase, GitHostedRefDetails, RegistryRefDetails, LocalRefDetails, WorkspaceRefDetails } from "../extensions/ref-base.js"; import type { GitBasedSource, RegistrySource, LocalSource, WorkspaceSource } from "../sources/types.js"; import type { Handle } from "../extensions/handle.js"; type ExternalSkillRefDetails = Omit & { readonly owner?: Handle; readonly portable?: boolean; }; /** @experimental */ export type GitHostedSkillRef = SkillExtensionRefBase<"git-hosted", GitBasedSource> & ExternalSkillRefDetails; /** @experimental */ export type RegistrySkillRef = SkillExtensionRefBase<"registry", RegistrySource> & RegistryRefDetails; /** @experimental */ export type LocalSkillRef = SkillExtensionRefBase<"local", LocalSource> & ExternalSkillRefDetails; /** @experimental */ export type WorkspaceSkillRef = SkillExtensionRefBase<"workspace", WorkspaceSource> & WorkspaceRefDetails; /** @experimental */ export type SkillExtensionRef = GitHostedSkillRef | RegistrySkillRef | LocalSkillRef | WorkspaceSkillRef; export {}; //# sourceMappingURL=refs.d.ts.map