export type AgentCapabilityCategory = 'authoring' | 'research' | 'analysis' | 'assets'; export type AgentCapabilityActivationMode = 'explicit' | 'ui-entry' | 'workflow-scoped'; export type AgentCapabilityTtl = 'turn' | 'session' | 'until-complete'; export type AgentCapabilityActivationSource = 'skill' | 'ui' | 'workflow'; export type AgentCapabilitySessionStatus = 'collecting' | 'running' | 'complete'; export type AgentCapabilityPermissions = { writesFiles?: boolean; runsCode?: boolean; usesBrowser?: boolean; usesNetwork?: boolean; requiresConfirm?: boolean; }; export type AgentCapabilityDefinition = { id: string; label: string; description: string; category: AgentCapabilityCategory; tools: readonly string[]; requiredSkills?: readonly string[]; promptHint?: string; activation: { mode: AgentCapabilityActivationMode; ttl: AgentCapabilityTtl; }; permissions: AgentCapabilityPermissions; }; export type AgentCapabilitySessionState = { id: string; source: AgentCapabilityActivationSource; activatedAt: number; ttl: AgentCapabilityTtl; status: AgentCapabilitySessionStatus; }; export type AgentCapabilityCatalogEntry = AgentCapabilityDefinition & { availableTools: string[]; unavailableTools: string[]; }; export declare const AGENT_CAPABILITY_DEFINITIONS: readonly [{ readonly id: "desktop-pet-authoring"; readonly label: "Desktop pet authoring"; readonly description: "Create, repair, and update local animated desktop pet packages."; readonly category: "authoring"; readonly tools: readonly ["create_desktop_pet"]; readonly requiredSkills: readonly ["hatch-pet"]; readonly promptHint: "Use clarify when the pet concept is vague. Create or update the pet only after appearance, personality, and animation goals are clear."; readonly activation: { readonly mode: "explicit"; readonly ttl: "until-complete"; }; readonly permissions: { readonly writesFiles: true; }; }, { readonly id: "automation-authoring"; readonly label: "Automation authoring"; readonly description: "Create and update reminders, monitors, recurring checks, and scheduled follow-ups."; readonly category: "authoring"; readonly tools: readonly ["automation"]; readonly activation: { readonly mode: "explicit"; readonly ttl: "until-complete"; }; readonly permissions: { readonly writesFiles: true; readonly requiresConfirm: true; }; }, { readonly id: "workflow-authoring"; readonly label: "Workflow authoring"; readonly description: "Design, validate, and run xopc workflows."; readonly category: "authoring"; readonly tools: readonly ["workflow"]; readonly activation: { readonly mode: "explicit"; readonly ttl: "until-complete"; }; readonly permissions: { readonly writesFiles: true; readonly runsCode: true; readonly requiresConfirm: true; }; }, { readonly id: "extension-authoring"; readonly label: "Plugin and extension authoring"; readonly description: "Scaffold, inspect, and package xopc plugins or extensions."; readonly category: "authoring"; readonly tools: readonly ["read_file", "write_file", "apply_patch", "list_dir", "grep", "find", "exec_command"]; readonly activation: { readonly mode: "explicit"; readonly ttl: "until-complete"; }; readonly permissions: { readonly writesFiles: true; readonly runsCode: true; readonly requiresConfirm: true; }; }, { readonly id: "skill-authoring"; readonly label: "Skill authoring"; readonly description: "Create, edit, inspect, and maintain xopc skills."; readonly category: "authoring"; readonly tools: readonly ["skills_list", "skill_view", "skill_manage"]; readonly activation: { readonly mode: "explicit"; readonly ttl: "until-complete"; }; readonly permissions: { readonly writesFiles: true; readonly requiresConfirm: true; }; }, { readonly id: "skill-installation"; readonly label: "Skill installation"; readonly description: "Find, install, and update xopc skills from explicit sources."; readonly category: "authoring"; readonly tools: readonly ["skills_list", "skill_view", "skills_marketplace_search", "skill_install"]; readonly activation: { readonly mode: "explicit"; readonly ttl: "turn"; }; readonly permissions: { readonly writesFiles: true; readonly usesNetwork: true; readonly requiresConfirm: true; }; }, { readonly id: "visual-asset-authoring"; readonly label: "Visual asset authoring"; readonly description: "Generate and inspect images, icons, sprites, and other visual assets."; readonly category: "assets"; readonly tools: readonly ["image", "image_generate", "read_media", "send_media"]; readonly activation: { readonly mode: "explicit"; readonly ttl: "session"; }; readonly permissions: { readonly writesFiles: true; readonly usesNetwork: true; }; }, { readonly id: "browser-research"; readonly label: "Browser research"; readonly description: "Perform deeper web research with search, extraction, fetch, and browser interaction."; readonly category: "research"; readonly tools: readonly ["web_search", "web_fetch", "web_extract", "browser_use"]; readonly activation: { readonly mode: "explicit"; readonly ttl: "turn"; }; readonly permissions: { readonly usesBrowser: true; readonly usesNetwork: true; }; }, { readonly id: "data-analysis"; readonly label: "Data analysis"; readonly description: "Analyze local structured data and produce derived tables, summaries, or artifacts."; readonly category: "analysis"; readonly tools: readonly ["read_file", "write_file", "list_dir", "grep", "find"]; readonly activation: { readonly mode: "explicit"; readonly ttl: "session"; }; readonly permissions: { readonly writesFiles: true; readonly runsCode: true; }; }];