@fission-ai/openspec
Version:
AI-native system for spec-driven development
26 lines • 1.15 kB
TypeScript
/**
* Profile System
*
* Defines workflow profiles that control which workflows are installed.
* Profiles determine WHICH workflows; delivery (in global config) determines HOW.
*/
import type { Profile } from './global-config.js';
/**
* Core workflows included in the 'core' profile.
* These provide the streamlined experience for new users.
*/
export declare const CORE_WORKFLOWS: readonly ["propose", "explore", "apply", "archive"];
/**
* All available workflows in the system.
*/
export declare const ALL_WORKFLOWS: readonly ["propose", "explore", "new", "continue", "apply", "ff", "sync", "archive", "bulk-archive", "verify", "onboard"];
export type WorkflowId = (typeof ALL_WORKFLOWS)[number];
export type CoreWorkflowId = (typeof CORE_WORKFLOWS)[number];
/**
* Resolves which workflows should be active for a given profile configuration.
*
* - 'core' profile always returns CORE_WORKFLOWS
* - 'custom' profile returns the provided customWorkflows, or empty array if not provided
*/
export declare function getProfileWorkflows(profile: Profile, customWorkflows?: string[]): readonly string[];
//# sourceMappingURL=profiles.d.ts.map