/** * Discoverable marketplace capabilities — list verbs from skills.agenticros.com * that are not yet installed locally, so agents can propose installs. */ import type { AgenticROSConfig } from "./config.js"; import { type Capability } from "./capabilities.js"; export interface DiscoverableCapability extends Capability { /** Always true for marketplace-only entries. */ discoverable: true; /** False when not present in the local registry. */ installed: false; /** Marketplace install ref (owner/skill). */ install_ref: string; } export interface ListedCapability extends Capability { discoverable?: boolean; installed?: boolean; install_ref?: string; } export interface ListCapabilitiesOptions { /** Include marketplace browse (network). Default true. */ includeDiscoverable?: boolean; apiBase?: string; /** Max marketplace skills to scan. Default 50. */ marketplaceLimit?: number; /** Soft-fail: on network error return installed-only. Default true. */ softFail?: boolean; /** Scope installed + discoverable verbs to this robot's profile. */ robotId?: string; } interface MarketplaceSkillDoc { marketplaceRef?: string; ownerLogin?: string; skillSlug?: string; slug?: string; capabilities?: Array>; visibility?: string; } export declare function fetchMarketplaceSkills(opts?: { apiBase?: string; limit?: number; }): Promise; /** * Merge installed capabilities with discoverable marketplace capabilities * (ids not already present locally). Soft-fails offline. */ export declare function listCapabilitiesWithDiscoverable(config: AgenticROSConfig, opts?: ListCapabilitiesOptions): Promise; export {}; //# sourceMappingURL=discoverable-capabilities.d.ts.map