ac-framework 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/bin/acfm.js +3 -0
- package/framework/.agent/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.agent/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.agent/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.agent/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.agent/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.agent/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.agent/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.agent/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.agent/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.agent/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.agent/workflows/opsx-apply.md +149 -0
- package/framework/.agent/workflows/opsx-archive.md +154 -0
- package/framework/.agent/workflows/opsx-bulk-archive.md +239 -0
- package/framework/.agent/workflows/opsx-continue.md +111 -0
- package/framework/.agent/workflows/opsx-explore.md +171 -0
- package/framework/.agent/workflows/opsx-ff.md +91 -0
- package/framework/.agent/workflows/opsx-new.md +66 -0
- package/framework/.agent/workflows/opsx-onboard.md +522 -0
- package/framework/.agent/workflows/opsx-sync.md +131 -0
- package/framework/.agent/workflows/opsx-verify.md +161 -0
- package/framework/.amazonq/prompts/opsx-apply.md +149 -0
- package/framework/.amazonq/prompts/opsx-archive.md +154 -0
- package/framework/.amazonq/prompts/opsx-bulk-archive.md +239 -0
- package/framework/.amazonq/prompts/opsx-continue.md +111 -0
- package/framework/.amazonq/prompts/opsx-explore.md +171 -0
- package/framework/.amazonq/prompts/opsx-ff.md +91 -0
- package/framework/.amazonq/prompts/opsx-new.md +66 -0
- package/framework/.amazonq/prompts/opsx-onboard.md +522 -0
- package/framework/.amazonq/prompts/opsx-sync.md +131 -0
- package/framework/.amazonq/prompts/opsx-verify.md +161 -0
- package/framework/.amazonq/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.amazonq/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.amazonq/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.amazonq/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.amazonq/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.amazonq/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.amazonq/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.amazonq/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.amazonq/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.amazonq/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.augment/commands/opsx-apply.md +150 -0
- package/framework/.augment/commands/opsx-archive.md +155 -0
- package/framework/.augment/commands/opsx-bulk-archive.md +240 -0
- package/framework/.augment/commands/opsx-continue.md +112 -0
- package/framework/.augment/commands/opsx-explore.md +172 -0
- package/framework/.augment/commands/opsx-ff.md +92 -0
- package/framework/.augment/commands/opsx-new.md +67 -0
- package/framework/.augment/commands/opsx-onboard.md +523 -0
- package/framework/.augment/commands/opsx-sync.md +132 -0
- package/framework/.augment/commands/opsx-verify.md +162 -0
- package/framework/.augment/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.augment/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.augment/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.augment/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.augment/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.augment/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.augment/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.augment/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.augment/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.augment/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.claude/commands/opsx/apply.md +152 -0
- package/framework/.claude/commands/opsx/archive.md +157 -0
- package/framework/.claude/commands/opsx/bulk-archive.md +242 -0
- package/framework/.claude/commands/opsx/continue.md +114 -0
- package/framework/.claude/commands/opsx/explore.md +174 -0
- package/framework/.claude/commands/opsx/ff.md +94 -0
- package/framework/.claude/commands/opsx/new.md +69 -0
- package/framework/.claude/commands/opsx/onboard.md +525 -0
- package/framework/.claude/commands/opsx/sync.md +134 -0
- package/framework/.claude/commands/opsx/verify.md +164 -0
- package/framework/.claude/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.claude/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.claude/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.claude/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.claude/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.claude/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.claude/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.claude/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.claude/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.claude/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.cline/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.cline/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.cline/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.cline/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.cline/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.cline/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.cline/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.cline/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.cline/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.cline/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.clinerules/workflows/opsx-apply.md +149 -0
- package/framework/.clinerules/workflows/opsx-archive.md +154 -0
- package/framework/.clinerules/workflows/opsx-bulk-archive.md +239 -0
- package/framework/.clinerules/workflows/opsx-continue.md +111 -0
- package/framework/.clinerules/workflows/opsx-explore.md +171 -0
- package/framework/.clinerules/workflows/opsx-ff.md +91 -0
- package/framework/.clinerules/workflows/opsx-new.md +66 -0
- package/framework/.clinerules/workflows/opsx-onboard.md +522 -0
- package/framework/.clinerules/workflows/opsx-sync.md +131 -0
- package/framework/.clinerules/workflows/opsx-verify.md +161 -0
- package/framework/.codebuddy/commands/opsx/apply.md +151 -0
- package/framework/.codebuddy/commands/opsx/archive.md +156 -0
- package/framework/.codebuddy/commands/opsx/bulk-archive.md +241 -0
- package/framework/.codebuddy/commands/opsx/continue.md +113 -0
- package/framework/.codebuddy/commands/opsx/explore.md +173 -0
- package/framework/.codebuddy/commands/opsx/ff.md +93 -0
- package/framework/.codebuddy/commands/opsx/new.md +68 -0
- package/framework/.codebuddy/commands/opsx/onboard.md +524 -0
- package/framework/.codebuddy/commands/opsx/sync.md +133 -0
- package/framework/.codebuddy/commands/opsx/verify.md +163 -0
- package/framework/.codebuddy/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.codebuddy/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.codebuddy/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.codebuddy/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.codebuddy/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.codebuddy/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.codebuddy/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.codebuddy/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.codebuddy/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.codebuddy/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.codex/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.codex/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.codex/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.codex/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.codex/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.codex/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.codex/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.codex/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.codex/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.codex/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.continue/prompts/opsx-apply.prompt +151 -0
- package/framework/.continue/prompts/opsx-archive.prompt +156 -0
- package/framework/.continue/prompts/opsx-bulk-archive.prompt +241 -0
- package/framework/.continue/prompts/opsx-continue.prompt +113 -0
- package/framework/.continue/prompts/opsx-explore.prompt +173 -0
- package/framework/.continue/prompts/opsx-ff.prompt +93 -0
- package/framework/.continue/prompts/opsx-new.prompt +68 -0
- package/framework/.continue/prompts/opsx-onboard.prompt +524 -0
- package/framework/.continue/prompts/opsx-sync.prompt +133 -0
- package/framework/.continue/prompts/opsx-verify.prompt +163 -0
- package/framework/.continue/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.continue/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.continue/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.continue/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.continue/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.continue/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.continue/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.continue/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.continue/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.continue/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.cospec/openspec/commands/opsx-apply.md +150 -0
- package/framework/.cospec/openspec/commands/opsx-archive.md +155 -0
- package/framework/.cospec/openspec/commands/opsx-bulk-archive.md +240 -0
- package/framework/.cospec/openspec/commands/opsx-continue.md +112 -0
- package/framework/.cospec/openspec/commands/opsx-explore.md +172 -0
- package/framework/.cospec/openspec/commands/opsx-ff.md +92 -0
- package/framework/.cospec/openspec/commands/opsx-new.md +67 -0
- package/framework/.cospec/openspec/commands/opsx-onboard.md +523 -0
- package/framework/.cospec/openspec/commands/opsx-sync.md +132 -0
- package/framework/.cospec/openspec/commands/opsx-verify.md +162 -0
- package/framework/.cospec/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.cospec/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.cospec/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.cospec/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.cospec/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.cospec/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.cospec/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.cospec/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.cospec/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.cospec/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.crush/commands/opsx/apply.md +152 -0
- package/framework/.crush/commands/opsx/archive.md +157 -0
- package/framework/.crush/commands/opsx/bulk-archive.md +242 -0
- package/framework/.crush/commands/opsx/continue.md +114 -0
- package/framework/.crush/commands/opsx/explore.md +174 -0
- package/framework/.crush/commands/opsx/ff.md +94 -0
- package/framework/.crush/commands/opsx/new.md +69 -0
- package/framework/.crush/commands/opsx/onboard.md +525 -0
- package/framework/.crush/commands/opsx/sync.md +134 -0
- package/framework/.crush/commands/opsx/verify.md +164 -0
- package/framework/.crush/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.crush/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.crush/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.crush/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.crush/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.crush/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.crush/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.crush/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.crush/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.crush/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.cursor/commands/opsx-apply.md +152 -0
- package/framework/.cursor/commands/opsx-archive.md +157 -0
- package/framework/.cursor/commands/opsx-bulk-archive.md +242 -0
- package/framework/.cursor/commands/opsx-continue.md +114 -0
- package/framework/.cursor/commands/opsx-explore.md +174 -0
- package/framework/.cursor/commands/opsx-ff.md +94 -0
- package/framework/.cursor/commands/opsx-new.md +69 -0
- package/framework/.cursor/commands/opsx-onboard.md +525 -0
- package/framework/.cursor/commands/opsx-sync.md +134 -0
- package/framework/.cursor/commands/opsx-verify.md +164 -0
- package/framework/.cursor/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.cursor/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.cursor/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.cursor/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.cursor/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.cursor/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.cursor/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.cursor/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.cursor/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.cursor/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.factory/commands/opsx-apply.md +150 -0
- package/framework/.factory/commands/opsx-archive.md +155 -0
- package/framework/.factory/commands/opsx-bulk-archive.md +240 -0
- package/framework/.factory/commands/opsx-continue.md +112 -0
- package/framework/.factory/commands/opsx-explore.md +172 -0
- package/framework/.factory/commands/opsx-ff.md +92 -0
- package/framework/.factory/commands/opsx-new.md +67 -0
- package/framework/.factory/commands/opsx-onboard.md +523 -0
- package/framework/.factory/commands/opsx-sync.md +132 -0
- package/framework/.factory/commands/opsx-verify.md +162 -0
- package/framework/.factory/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.factory/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.factory/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.factory/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.factory/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.factory/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.factory/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.factory/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.factory/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.factory/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.gemini/commands/opsx/apply.toml +149 -0
- package/framework/.gemini/commands/opsx/archive.toml +154 -0
- package/framework/.gemini/commands/opsx/bulk-archive.toml +239 -0
- package/framework/.gemini/commands/opsx/continue.toml +111 -0
- package/framework/.gemini/commands/opsx/explore.toml +171 -0
- package/framework/.gemini/commands/opsx/ff.toml +91 -0
- package/framework/.gemini/commands/opsx/new.toml +66 -0
- package/framework/.gemini/commands/opsx/onboard.toml +522 -0
- package/framework/.gemini/commands/opsx/sync.toml +131 -0
- package/framework/.gemini/commands/opsx/verify.toml +161 -0
- package/framework/.gemini/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.gemini/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.gemini/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.gemini/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.gemini/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.gemini/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.gemini/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.gemini/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.gemini/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.gemini/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.github/prompts/opsx-apply.prompt.md +149 -0
- package/framework/.github/prompts/opsx-archive.prompt.md +154 -0
- package/framework/.github/prompts/opsx-bulk-archive.prompt.md +239 -0
- package/framework/.github/prompts/opsx-continue.prompt.md +111 -0
- package/framework/.github/prompts/opsx-explore.prompt.md +171 -0
- package/framework/.github/prompts/opsx-ff.prompt.md +91 -0
- package/framework/.github/prompts/opsx-new.prompt.md +66 -0
- package/framework/.github/prompts/opsx-onboard.prompt.md +522 -0
- package/framework/.github/prompts/opsx-sync.prompt.md +131 -0
- package/framework/.github/prompts/opsx-verify.prompt.md +161 -0
- package/framework/.github/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.github/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.github/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.github/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.github/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.github/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.github/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.github/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.github/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.github/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.iflow/commands/opsx-apply.md +152 -0
- package/framework/.iflow/commands/opsx-archive.md +157 -0
- package/framework/.iflow/commands/opsx-bulk-archive.md +242 -0
- package/framework/.iflow/commands/opsx-continue.md +114 -0
- package/framework/.iflow/commands/opsx-explore.md +174 -0
- package/framework/.iflow/commands/opsx-ff.md +94 -0
- package/framework/.iflow/commands/opsx-new.md +69 -0
- package/framework/.iflow/commands/opsx-onboard.md +525 -0
- package/framework/.iflow/commands/opsx-sync.md +134 -0
- package/framework/.iflow/commands/opsx-verify.md +164 -0
- package/framework/.iflow/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.iflow/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.iflow/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.iflow/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.iflow/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.iflow/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.iflow/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.iflow/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.iflow/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.iflow/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.kilocode/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.kilocode/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.kilocode/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.kilocode/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.kilocode/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.kilocode/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.kilocode/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.kilocode/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.kilocode/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.kilocode/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.kilocode/workflows/opsx-apply.md +145 -0
- package/framework/.kilocode/workflows/opsx-archive.md +150 -0
- package/framework/.kilocode/workflows/opsx-bulk-archive.md +235 -0
- package/framework/.kilocode/workflows/opsx-continue.md +107 -0
- package/framework/.kilocode/workflows/opsx-explore.md +167 -0
- package/framework/.kilocode/workflows/opsx-ff.md +87 -0
- package/framework/.kilocode/workflows/opsx-new.md +62 -0
- package/framework/.kilocode/workflows/opsx-onboard.md +518 -0
- package/framework/.kilocode/workflows/opsx-sync.md +127 -0
- package/framework/.kilocode/workflows/opsx-verify.md +157 -0
- package/framework/.opencode/command/opsx-apply.md +149 -0
- package/framework/.opencode/command/opsx-archive.md +154 -0
- package/framework/.opencode/command/opsx-bulk-archive.md +239 -0
- package/framework/.opencode/command/opsx-continue.md +111 -0
- package/framework/.opencode/command/opsx-explore.md +171 -0
- package/framework/.opencode/command/opsx-ff.md +91 -0
- package/framework/.opencode/command/opsx-new.md +66 -0
- package/framework/.opencode/command/opsx-onboard.md +522 -0
- package/framework/.opencode/command/opsx-sync.md +131 -0
- package/framework/.opencode/command/opsx-verify.md +161 -0
- package/framework/.opencode/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.opencode/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.opencode/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.opencode/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.opencode/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.opencode/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.opencode/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.opencode/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.opencode/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.opencode/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.qoder/commands/opsx/apply.md +152 -0
- package/framework/.qoder/commands/opsx/archive.md +157 -0
- package/framework/.qoder/commands/opsx/bulk-archive.md +242 -0
- package/framework/.qoder/commands/opsx/continue.md +114 -0
- package/framework/.qoder/commands/opsx/explore.md +174 -0
- package/framework/.qoder/commands/opsx/ff.md +94 -0
- package/framework/.qoder/commands/opsx/new.md +69 -0
- package/framework/.qoder/commands/opsx/onboard.md +525 -0
- package/framework/.qoder/commands/opsx/sync.md +134 -0
- package/framework/.qoder/commands/opsx/verify.md +164 -0
- package/framework/.qoder/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.qoder/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.qoder/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.qoder/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.qoder/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.qoder/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.qoder/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.qoder/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.qoder/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.qoder/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.qwen/commands/opsx-apply.toml +149 -0
- package/framework/.qwen/commands/opsx-archive.toml +154 -0
- package/framework/.qwen/commands/opsx-bulk-archive.toml +239 -0
- package/framework/.qwen/commands/opsx-continue.toml +111 -0
- package/framework/.qwen/commands/opsx-explore.toml +171 -0
- package/framework/.qwen/commands/opsx-ff.toml +91 -0
- package/framework/.qwen/commands/opsx-new.toml +66 -0
- package/framework/.qwen/commands/opsx-onboard.toml +522 -0
- package/framework/.qwen/commands/opsx-sync.toml +131 -0
- package/framework/.qwen/commands/opsx-verify.toml +161 -0
- package/framework/.qwen/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.qwen/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.qwen/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.qwen/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.qwen/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.qwen/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.qwen/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.qwen/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.qwen/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.qwen/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.roo/commands/opsx-apply.md +149 -0
- package/framework/.roo/commands/opsx-archive.md +154 -0
- package/framework/.roo/commands/opsx-bulk-archive.md +239 -0
- package/framework/.roo/commands/opsx-continue.md +111 -0
- package/framework/.roo/commands/opsx-explore.md +171 -0
- package/framework/.roo/commands/opsx-ff.md +91 -0
- package/framework/.roo/commands/opsx-new.md +66 -0
- package/framework/.roo/commands/opsx-onboard.md +522 -0
- package/framework/.roo/commands/opsx-sync.md +131 -0
- package/framework/.roo/commands/opsx-verify.md +161 -0
- package/framework/.roo/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.roo/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.roo/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.roo/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.roo/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.roo/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.roo/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.roo/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.roo/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.roo/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.trae/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.trae/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.trae/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.trae/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.trae/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.trae/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.trae/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.trae/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.trae/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.trae/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.windsurf/skills/openspec-apply-change/SKILL.md +156 -0
- package/framework/.windsurf/skills/openspec-archive-change/SKILL.md +114 -0
- package/framework/.windsurf/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/framework/.windsurf/skills/openspec-continue-change/SKILL.md +118 -0
- package/framework/.windsurf/skills/openspec-explore/SKILL.md +290 -0
- package/framework/.windsurf/skills/openspec-ff-change/SKILL.md +101 -0
- package/framework/.windsurf/skills/openspec-new-change/SKILL.md +74 -0
- package/framework/.windsurf/skills/openspec-onboard/SKILL.md +529 -0
- package/framework/.windsurf/skills/openspec-sync-specs/SKILL.md +138 -0
- package/framework/.windsurf/skills/openspec-verify-change/SKILL.md +168 -0
- package/framework/.windsurf/workflows/opsx-apply.md +152 -0
- package/framework/.windsurf/workflows/opsx-archive.md +157 -0
- package/framework/.windsurf/workflows/opsx-bulk-archive.md +242 -0
- package/framework/.windsurf/workflows/opsx-continue.md +114 -0
- package/framework/.windsurf/workflows/opsx-explore.md +174 -0
- package/framework/.windsurf/workflows/opsx-ff.md +94 -0
- package/framework/.windsurf/workflows/opsx-new.md +69 -0
- package/framework/.windsurf/workflows/opsx-onboard.md +525 -0
- package/framework/.windsurf/workflows/opsx-sync.md +134 -0
- package/framework/.windsurf/workflows/opsx-verify.md +164 -0
- package/framework/openspec/config.yaml +20 -0
- package/package.json +41 -0
- package/src/cli.js +22 -0
- package/src/commands/init.js +275 -0
- package/src/ui/animations.js +82 -0
- package/src/ui/banner.js +44 -0
- package/src/utils/helpers.js +36 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "OPSX: Verify"
|
|
3
|
+
description: Verify implementation matches change artifacts before archiving
|
|
4
|
+
category: Workflow
|
|
5
|
+
tags: [workflow, verify, experimental]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Verify that an implementation matches the change artifacts (specs, tasks, design).
|
|
9
|
+
|
|
10
|
+
**Input**: Optionally specify a change name after `/opsx:verify` (e.g., `/opsx:verify add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
11
|
+
|
|
12
|
+
**Steps**
|
|
13
|
+
|
|
14
|
+
1. **If no change name provided, prompt for selection**
|
|
15
|
+
|
|
16
|
+
Run `openspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select.
|
|
17
|
+
|
|
18
|
+
Show changes that have implementation tasks (tasks artifact exists).
|
|
19
|
+
Include the schema used for each change if available.
|
|
20
|
+
Mark changes with incomplete tasks as "(In Progress)".
|
|
21
|
+
|
|
22
|
+
**IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose.
|
|
23
|
+
|
|
24
|
+
2. **Check status to understand the schema**
|
|
25
|
+
```bash
|
|
26
|
+
openspec status --change "<name>" --json
|
|
27
|
+
```
|
|
28
|
+
Parse the JSON to understand:
|
|
29
|
+
- `schemaName`: The workflow being used (e.g., "spec-driven")
|
|
30
|
+
- Which artifacts exist for this change
|
|
31
|
+
|
|
32
|
+
3. **Get the change directory and load artifacts**
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
openspec instructions apply --change "<name>" --json
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
This returns the change directory and context files. Read all available artifacts from `contextFiles`.
|
|
39
|
+
|
|
40
|
+
4. **Initialize verification report structure**
|
|
41
|
+
|
|
42
|
+
Create a report structure with three dimensions:
|
|
43
|
+
- **Completeness**: Track tasks and spec coverage
|
|
44
|
+
- **Correctness**: Track requirement implementation and scenario coverage
|
|
45
|
+
- **Coherence**: Track design adherence and pattern consistency
|
|
46
|
+
|
|
47
|
+
Each dimension can have CRITICAL, WARNING, or SUGGESTION issues.
|
|
48
|
+
|
|
49
|
+
5. **Verify Completeness**
|
|
50
|
+
|
|
51
|
+
**Task Completion**:
|
|
52
|
+
- If tasks.md exists in contextFiles, read it
|
|
53
|
+
- Parse checkboxes: `- [ ]` (incomplete) vs `- [x]` (complete)
|
|
54
|
+
- Count complete vs total tasks
|
|
55
|
+
- If incomplete tasks exist:
|
|
56
|
+
- Add CRITICAL issue for each incomplete task
|
|
57
|
+
- Recommendation: "Complete task: <description>" or "Mark as done if already implemented"
|
|
58
|
+
|
|
59
|
+
**Spec Coverage**:
|
|
60
|
+
- If delta specs exist in `openspec/changes/<name>/specs/`:
|
|
61
|
+
- Extract all requirements (marked with "### Requirement:")
|
|
62
|
+
- For each requirement:
|
|
63
|
+
- Search codebase for keywords related to the requirement
|
|
64
|
+
- Assess if implementation likely exists
|
|
65
|
+
- If requirements appear unimplemented:
|
|
66
|
+
- Add CRITICAL issue: "Requirement not found: <requirement name>"
|
|
67
|
+
- Recommendation: "Implement requirement X: <description>"
|
|
68
|
+
|
|
69
|
+
6. **Verify Correctness**
|
|
70
|
+
|
|
71
|
+
**Requirement Implementation Mapping**:
|
|
72
|
+
- For each requirement from delta specs:
|
|
73
|
+
- Search codebase for implementation evidence
|
|
74
|
+
- If found, note file paths and line ranges
|
|
75
|
+
- Assess if implementation matches requirement intent
|
|
76
|
+
- If divergence detected:
|
|
77
|
+
- Add WARNING: "Implementation may diverge from spec: <details>"
|
|
78
|
+
- Recommendation: "Review <file>:<lines> against requirement X"
|
|
79
|
+
|
|
80
|
+
**Scenario Coverage**:
|
|
81
|
+
- For each scenario in delta specs (marked with "#### Scenario:"):
|
|
82
|
+
- Check if conditions are handled in code
|
|
83
|
+
- Check if tests exist covering the scenario
|
|
84
|
+
- If scenario appears uncovered:
|
|
85
|
+
- Add WARNING: "Scenario not covered: <scenario name>"
|
|
86
|
+
- Recommendation: "Add test or implementation for scenario: <description>"
|
|
87
|
+
|
|
88
|
+
7. **Verify Coherence**
|
|
89
|
+
|
|
90
|
+
**Design Adherence**:
|
|
91
|
+
- If design.md exists in contextFiles:
|
|
92
|
+
- Extract key decisions (look for sections like "Decision:", "Approach:", "Architecture:")
|
|
93
|
+
- Verify implementation follows those decisions
|
|
94
|
+
- If contradiction detected:
|
|
95
|
+
- Add WARNING: "Design decision not followed: <decision>"
|
|
96
|
+
- Recommendation: "Update implementation or revise design.md to match reality"
|
|
97
|
+
- If no design.md: Skip design adherence check, note "No design.md to verify against"
|
|
98
|
+
|
|
99
|
+
**Code Pattern Consistency**:
|
|
100
|
+
- Review new code for consistency with project patterns
|
|
101
|
+
- Check file naming, directory structure, coding style
|
|
102
|
+
- If significant deviations found:
|
|
103
|
+
- Add SUGGESTION: "Code pattern deviation: <details>"
|
|
104
|
+
- Recommendation: "Consider following project pattern: <example>"
|
|
105
|
+
|
|
106
|
+
8. **Generate Verification Report**
|
|
107
|
+
|
|
108
|
+
**Summary Scorecard**:
|
|
109
|
+
```
|
|
110
|
+
## Verification Report: <change-name>
|
|
111
|
+
|
|
112
|
+
### Summary
|
|
113
|
+
| Dimension | Status |
|
|
114
|
+
|--------------|------------------|
|
|
115
|
+
| Completeness | X/Y tasks, N reqs|
|
|
116
|
+
| Correctness | M/N reqs covered |
|
|
117
|
+
| Coherence | Followed/Issues |
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**Issues by Priority**:
|
|
121
|
+
|
|
122
|
+
1. **CRITICAL** (Must fix before archive):
|
|
123
|
+
- Incomplete tasks
|
|
124
|
+
- Missing requirement implementations
|
|
125
|
+
- Each with specific, actionable recommendation
|
|
126
|
+
|
|
127
|
+
2. **WARNING** (Should fix):
|
|
128
|
+
- Spec/design divergences
|
|
129
|
+
- Missing scenario coverage
|
|
130
|
+
- Each with specific recommendation
|
|
131
|
+
|
|
132
|
+
3. **SUGGESTION** (Nice to fix):
|
|
133
|
+
- Pattern inconsistencies
|
|
134
|
+
- Minor improvements
|
|
135
|
+
- Each with specific recommendation
|
|
136
|
+
|
|
137
|
+
**Final Assessment**:
|
|
138
|
+
- If CRITICAL issues: "X critical issue(s) found. Fix before archiving."
|
|
139
|
+
- If only warnings: "No critical issues. Y warning(s) to consider. Ready for archive (with noted improvements)."
|
|
140
|
+
- If all clear: "All checks passed. Ready for archive."
|
|
141
|
+
|
|
142
|
+
**Verification Heuristics**
|
|
143
|
+
|
|
144
|
+
- **Completeness**: Focus on objective checklist items (checkboxes, requirements list)
|
|
145
|
+
- **Correctness**: Use keyword search, file path analysis, reasonable inference - don't require perfect certainty
|
|
146
|
+
- **Coherence**: Look for glaring inconsistencies, don't nitpick style
|
|
147
|
+
- **False Positives**: When uncertain, prefer SUGGESTION over WARNING, WARNING over CRITICAL
|
|
148
|
+
- **Actionability**: Every issue must have a specific recommendation with file/line references where applicable
|
|
149
|
+
|
|
150
|
+
**Graceful Degradation**
|
|
151
|
+
|
|
152
|
+
- If only tasks.md exists: verify task completion only, skip spec/design checks
|
|
153
|
+
- If tasks + specs exist: verify completeness and correctness, skip design
|
|
154
|
+
- If full artifacts: verify all three dimensions
|
|
155
|
+
- Always note which checks were skipped and why
|
|
156
|
+
|
|
157
|
+
**Output Format**
|
|
158
|
+
|
|
159
|
+
Use clear markdown with:
|
|
160
|
+
- Table for summary scorecard
|
|
161
|
+
- Grouped lists for issues (CRITICAL/WARNING/SUGGESTION)
|
|
162
|
+
- Code references in format: `file.ts:123`
|
|
163
|
+
- Specific, actionable recommendations
|
|
164
|
+
- No vague suggestions like "consider reviewing"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
schema: spec-driven
|
|
2
|
+
|
|
3
|
+
# Project context (optional)
|
|
4
|
+
# This is shown to AI when creating artifacts.
|
|
5
|
+
# Add your tech stack, conventions, style guides, domain knowledge, etc.
|
|
6
|
+
# Example:
|
|
7
|
+
# context: |
|
|
8
|
+
# Tech stack: TypeScript, React, Node.js
|
|
9
|
+
# We use conventional commits
|
|
10
|
+
# Domain: e-commerce platform
|
|
11
|
+
|
|
12
|
+
# Per-artifact rules (optional)
|
|
13
|
+
# Add custom rules for specific artifacts.
|
|
14
|
+
# Example:
|
|
15
|
+
# rules:
|
|
16
|
+
# proposal:
|
|
17
|
+
# - Keep proposals under 500 words
|
|
18
|
+
# - Always include a "Non-goals" section
|
|
19
|
+
# tasks:
|
|
20
|
+
# - Break tasks into chunks of max 2 hours
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ac-framework",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Agentic Coding Framework - Multi-assistant configuration system with OpenSpec workflows",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"acfm": "bin/acfm.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"test": "node src/cli.js init"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"agentic",
|
|
14
|
+
"coding",
|
|
15
|
+
"framework",
|
|
16
|
+
"ai",
|
|
17
|
+
"assistant",
|
|
18
|
+
"openspec",
|
|
19
|
+
"cli"
|
|
20
|
+
],
|
|
21
|
+
"author": "",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"chalk": "^5.3.0",
|
|
25
|
+
"commander": "^12.1.0",
|
|
26
|
+
"gradient-string": "^3.0.0",
|
|
27
|
+
"inquirer": "^12.3.2",
|
|
28
|
+
"nanospinner": "^1.2.2",
|
|
29
|
+
"figlet": "^1.8.0"
|
|
30
|
+
},
|
|
31
|
+
"type": "module",
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=18.0.0"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"bin/",
|
|
37
|
+
"src/",
|
|
38
|
+
"framework/",
|
|
39
|
+
"README.md"
|
|
40
|
+
]
|
|
41
|
+
}
|
package/src/cli.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { Command } from 'commander';
|
|
4
|
+
import { initCommand } from './commands/init.js';
|
|
5
|
+
import { showBanner } from './ui/banner.js';
|
|
6
|
+
|
|
7
|
+
const program = new Command();
|
|
8
|
+
|
|
9
|
+
program
|
|
10
|
+
.name('acfm')
|
|
11
|
+
.description('AC Framework - Agentic Coding Framework CLI')
|
|
12
|
+
.version('1.0.0');
|
|
13
|
+
|
|
14
|
+
program
|
|
15
|
+
.command('init')
|
|
16
|
+
.description('Initialize AC Framework modules in your project')
|
|
17
|
+
.action(async () => {
|
|
18
|
+
await showBanner();
|
|
19
|
+
await initCommand();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
program.parse();
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { readdir, cp, access } from 'node:fs/promises';
|
|
2
|
+
import { join, resolve, dirname } from 'node:path';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
import chalk from 'chalk';
|
|
5
|
+
import gradient from 'gradient-string';
|
|
6
|
+
import inquirer from 'inquirer';
|
|
7
|
+
import { createSpinner } from 'nanospinner';
|
|
8
|
+
import { DESCRIPTIONS, formatFolderName, sleep } from '../utils/helpers.js';
|
|
9
|
+
import { matrixRain, loadingAnimation, progressBar } from '../ui/animations.js';
|
|
10
|
+
|
|
11
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
12
|
+
const __dirname = dirname(__filename);
|
|
13
|
+
|
|
14
|
+
const acGradient = gradient(['#6C5CE7', '#00CEC9', '#0984E3']);
|
|
15
|
+
const successGradient = gradient(['#00CEC9', '#00B894', '#55EFC4']);
|
|
16
|
+
|
|
17
|
+
async function getFrameworkFolders() {
|
|
18
|
+
const frameworkPath = resolve(__dirname, '../../framework');
|
|
19
|
+
const entries = await readdir(frameworkPath, { withFileTypes: true });
|
|
20
|
+
|
|
21
|
+
return entries
|
|
22
|
+
.filter((entry) => entry.isDirectory())
|
|
23
|
+
.map((entry) => entry.name)
|
|
24
|
+
.sort((a, b) => {
|
|
25
|
+
// Hidden folders first, then normal
|
|
26
|
+
const aHidden = a.startsWith('.');
|
|
27
|
+
const bHidden = b.startsWith('.');
|
|
28
|
+
if (aHidden && !bHidden) return -1;
|
|
29
|
+
if (!aHidden && bHidden) return 1;
|
|
30
|
+
return a.localeCompare(b);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function buildChoices(folders) {
|
|
35
|
+
const choices = [];
|
|
36
|
+
|
|
37
|
+
const hidden = folders.filter((f) => f.startsWith('.'));
|
|
38
|
+
const visible = folders.filter((f) => !f.startsWith('.'));
|
|
39
|
+
|
|
40
|
+
if (hidden.length > 0) {
|
|
41
|
+
choices.push(new inquirer.Separator(chalk.hex('#636E72')(' ── AI Assistants ──────────────────────────')));
|
|
42
|
+
for (const folder of hidden) {
|
|
43
|
+
const desc = DESCRIPTIONS[folder] || '';
|
|
44
|
+
const displayName = formatFolderName(folder);
|
|
45
|
+
const label = `${chalk.hex('#DFE6E9').bold(displayName)}${desc ? chalk.hex('#636E72')(` — ${desc}`) : ''}`;
|
|
46
|
+
choices.push({
|
|
47
|
+
name: label,
|
|
48
|
+
value: folder,
|
|
49
|
+
short: displayName,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (visible.length > 0) {
|
|
55
|
+
choices.push(new inquirer.Separator(chalk.hex('#636E72')(' ── Configuration ─────────────────────────')));
|
|
56
|
+
for (const folder of visible) {
|
|
57
|
+
const desc = DESCRIPTIONS[folder] || '';
|
|
58
|
+
const displayName = formatFolderName(folder);
|
|
59
|
+
const label = `${chalk.hex('#DFE6E9').bold(displayName)}${desc ? chalk.hex('#636E72')(` — ${desc}`) : ''}`;
|
|
60
|
+
choices.push({
|
|
61
|
+
name: label,
|
|
62
|
+
value: folder,
|
|
63
|
+
short: displayName,
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return choices;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
async function checkExisting(targetDir, folder) {
|
|
72
|
+
try {
|
|
73
|
+
await access(join(targetDir, folder));
|
|
74
|
+
return true;
|
|
75
|
+
} catch {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export async function initCommand() {
|
|
81
|
+
const targetDir = process.cwd();
|
|
82
|
+
|
|
83
|
+
// Scanning animation
|
|
84
|
+
await loadingAnimation('Scanning available modules...', 800);
|
|
85
|
+
console.log();
|
|
86
|
+
|
|
87
|
+
// Matrix rain effect
|
|
88
|
+
console.log('\n'.repeat(6));
|
|
89
|
+
await matrixRain(1500);
|
|
90
|
+
|
|
91
|
+
let folders;
|
|
92
|
+
try {
|
|
93
|
+
folders = await getFrameworkFolders();
|
|
94
|
+
} catch {
|
|
95
|
+
console.log(chalk.red(' Error: Could not read framework directory.'));
|
|
96
|
+
console.log(chalk.hex('#636E72')(' Make sure ac-framework is installed correctly.'));
|
|
97
|
+
process.exit(1);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (folders.length === 0) {
|
|
101
|
+
console.log(chalk.yellow(' No modules found in framework directory.'));
|
|
102
|
+
process.exit(0);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
console.log(
|
|
106
|
+
chalk.hex('#B2BEC3')(` Found ${chalk.hex('#00CEC9').bold(folders.length)} modules available\n`)
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
console.log(
|
|
110
|
+
chalk.hex('#636E72')(' Use ') +
|
|
111
|
+
chalk.hex('#00CEC9')('↑↓') +
|
|
112
|
+
chalk.hex('#636E72')(' to navigate, ') +
|
|
113
|
+
chalk.hex('#00CEC9')('Space') +
|
|
114
|
+
chalk.hex('#636E72')(' to select, ') +
|
|
115
|
+
chalk.hex('#00CEC9')('Enter') +
|
|
116
|
+
chalk.hex('#636E72')(' to confirm\n')
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
const choices = buildChoices(folders);
|
|
120
|
+
|
|
121
|
+
const { selected } = await inquirer.prompt([
|
|
122
|
+
{
|
|
123
|
+
type: 'checkbox',
|
|
124
|
+
name: 'selected',
|
|
125
|
+
message: acGradient('Select modules to install:'),
|
|
126
|
+
choices,
|
|
127
|
+
pageSize: 15,
|
|
128
|
+
loop: false,
|
|
129
|
+
validate(answer) {
|
|
130
|
+
if (answer.length === 0) {
|
|
131
|
+
return chalk.hex('#D63031')('You must select at least one module.');
|
|
132
|
+
}
|
|
133
|
+
return true;
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
]);
|
|
137
|
+
|
|
138
|
+
console.log();
|
|
139
|
+
|
|
140
|
+
// Check for existing folders
|
|
141
|
+
const existing = [];
|
|
142
|
+
for (const folder of selected) {
|
|
143
|
+
if (await checkExisting(targetDir, folder)) {
|
|
144
|
+
existing.push(folder);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (existing.length > 0) {
|
|
149
|
+
console.log(
|
|
150
|
+
chalk.hex('#FDCB6E')(' ⚠ The following modules already exist in your project:\n')
|
|
151
|
+
);
|
|
152
|
+
for (const folder of existing) {
|
|
153
|
+
console.log(chalk.hex('#FDCB6E')(` • ${formatFolderName(folder)} (${folder})`));
|
|
154
|
+
}
|
|
155
|
+
console.log();
|
|
156
|
+
|
|
157
|
+
const { overwrite } = await inquirer.prompt([
|
|
158
|
+
{
|
|
159
|
+
type: 'confirm',
|
|
160
|
+
name: 'overwrite',
|
|
161
|
+
message: chalk.hex('#FDCB6E')('Overwrite existing modules?'),
|
|
162
|
+
default: false,
|
|
163
|
+
},
|
|
164
|
+
]);
|
|
165
|
+
|
|
166
|
+
if (!overwrite) {
|
|
167
|
+
const filtered = selected.filter((f) => !existing.includes(f));
|
|
168
|
+
if (filtered.length === 0) {
|
|
169
|
+
console.log(chalk.hex('#636E72')('\n No new modules to install. Exiting.\n'));
|
|
170
|
+
process.exit(0);
|
|
171
|
+
}
|
|
172
|
+
selected.length = 0;
|
|
173
|
+
selected.push(...filtered);
|
|
174
|
+
console.log(
|
|
175
|
+
chalk.hex('#B2BEC3')(`\n Proceeding with ${chalk.hex('#00CEC9').bold(selected.length)} new module(s)...\n`)
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// Confirm selection
|
|
181
|
+
console.log(chalk.hex('#B2BEC3')(' Modules to install:\n'));
|
|
182
|
+
for (const folder of selected) {
|
|
183
|
+
const desc = DESCRIPTIONS[folder] || '';
|
|
184
|
+
console.log(
|
|
185
|
+
chalk.hex('#00CEC9')(' ◆ ') +
|
|
186
|
+
chalk.hex('#DFE6E9').bold(formatFolderName(folder)) +
|
|
187
|
+
(desc ? chalk.hex('#636E72')(` — ${desc}`) : '')
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
console.log();
|
|
191
|
+
|
|
192
|
+
const { confirm } = await inquirer.prompt([
|
|
193
|
+
{
|
|
194
|
+
type: 'confirm',
|
|
195
|
+
name: 'confirm',
|
|
196
|
+
message: chalk.hex('#B2BEC3')('Proceed with installation?'),
|
|
197
|
+
default: true,
|
|
198
|
+
},
|
|
199
|
+
]);
|
|
200
|
+
|
|
201
|
+
if (!confirm) {
|
|
202
|
+
console.log(chalk.hex('#636E72')('\n Installation cancelled.\n'));
|
|
203
|
+
process.exit(0);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
console.log();
|
|
207
|
+
|
|
208
|
+
// Install modules with progress
|
|
209
|
+
const frameworkPath = resolve(__dirname, '../../framework');
|
|
210
|
+
let installed = 0;
|
|
211
|
+
const errors = [];
|
|
212
|
+
|
|
213
|
+
for (const folder of selected) {
|
|
214
|
+
const spinner = createSpinner(
|
|
215
|
+
chalk.hex('#B2BEC3')(`Installing ${chalk.hex('#DFE6E9').bold(formatFolderName(folder))}...`)
|
|
216
|
+
).start();
|
|
217
|
+
|
|
218
|
+
try {
|
|
219
|
+
const src = join(frameworkPath, folder);
|
|
220
|
+
const dest = join(targetDir, folder);
|
|
221
|
+
|
|
222
|
+
await cp(src, dest, { recursive: true, force: true });
|
|
223
|
+
|
|
224
|
+
// Skip node_modules if copied
|
|
225
|
+
const nmPath = join(dest, 'node_modules');
|
|
226
|
+
try {
|
|
227
|
+
const { rm } = await import('node:fs/promises');
|
|
228
|
+
await rm(nmPath, { recursive: true, force: true });
|
|
229
|
+
} catch {
|
|
230
|
+
// node_modules didn't exist, that's fine
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
installed++;
|
|
234
|
+
spinner.success({
|
|
235
|
+
text:
|
|
236
|
+
chalk.hex('#00CEC9')(` ${formatFolderName(folder)}`) +
|
|
237
|
+
chalk.hex('#636E72')(` → ${folder}/`),
|
|
238
|
+
});
|
|
239
|
+
} catch (err) {
|
|
240
|
+
errors.push({ folder, error: err.message });
|
|
241
|
+
spinner.error({
|
|
242
|
+
text: chalk.hex('#D63031')(` Failed: ${formatFolderName(folder)} — ${err.message}`),
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
await sleep(150);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// Final summary
|
|
250
|
+
console.log();
|
|
251
|
+
console.log(
|
|
252
|
+
gradient(['#636E72', '#B2BEC3'])(' ─────────────────────────────────────────────────────────────────')
|
|
253
|
+
);
|
|
254
|
+
console.log();
|
|
255
|
+
|
|
256
|
+
if (errors.length === 0) {
|
|
257
|
+
await progressBar('Finalizing', 20, 600);
|
|
258
|
+
console.log();
|
|
259
|
+
console.log(successGradient(' ✓ Installation complete!'));
|
|
260
|
+
console.log();
|
|
261
|
+
console.log(
|
|
262
|
+
chalk.hex('#B2BEC3')(` ${chalk.hex('#00CEC9').bold(installed)} module(s) installed successfully in ${chalk.hex('#DFE6E9')(targetDir)}`)
|
|
263
|
+
);
|
|
264
|
+
} else {
|
|
265
|
+
console.log(
|
|
266
|
+
chalk.hex('#FDCB6E')(` ${installed} installed, ${errors.length} failed.`)
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
console.log();
|
|
271
|
+
console.log(
|
|
272
|
+
chalk.hex('#636E72')(' Your project is ready. Happy coding!')
|
|
273
|
+
);
|
|
274
|
+
console.log();
|
|
275
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
import { createSpinner } from 'nanospinner';
|
|
3
|
+
import { sleep } from '../utils/helpers.js';
|
|
4
|
+
|
|
5
|
+
const frames = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
|
|
6
|
+
|
|
7
|
+
export async function matrixRain(durationMs = 1500) {
|
|
8
|
+
const cols = Math.min(process.stdout.columns || 80, 80);
|
|
9
|
+
const drops = Array.from({ length: cols }, () => ({
|
|
10
|
+
y: Math.floor(Math.random() * 6),
|
|
11
|
+
speed: 1 + Math.floor(Math.random() * 3),
|
|
12
|
+
char: '',
|
|
13
|
+
}));
|
|
14
|
+
const chars = '01アイウエオカキクケコサシスセソタチツテトABCDEFacfm';
|
|
15
|
+
const colors = ['#00CEC9', '#0984E3', '#6C5CE7', '#00FF41'];
|
|
16
|
+
const rows = 6;
|
|
17
|
+
const frameTime = 60;
|
|
18
|
+
const totalFrames = Math.floor(durationMs / frameTime);
|
|
19
|
+
|
|
20
|
+
for (let frame = 0; frame < totalFrames; frame++) {
|
|
21
|
+
let output = '';
|
|
22
|
+
const grid = Array.from({ length: rows }, () => Array(cols).fill(' '));
|
|
23
|
+
|
|
24
|
+
for (let c = 0; c < cols; c++) {
|
|
25
|
+
const drop = drops[c];
|
|
26
|
+
if (drop.y < rows) {
|
|
27
|
+
const ch = chars[Math.floor(Math.random() * chars.length)];
|
|
28
|
+
grid[drop.y][c] = chalk.hex(colors[Math.floor(Math.random() * colors.length)])(ch);
|
|
29
|
+
if (drop.y > 0) {
|
|
30
|
+
grid[drop.y - 1][c] = chalk.hex('#2D3436')(
|
|
31
|
+
chars[Math.floor(Math.random() * chars.length)]
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
drop.y += drop.speed;
|
|
36
|
+
if (drop.y > rows + 3) {
|
|
37
|
+
drop.y = -Math.floor(Math.random() * 4);
|
|
38
|
+
drop.speed = 1 + Math.floor(Math.random() * 3);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
for (const row of grid) {
|
|
43
|
+
output += ' ' + row.join('') + '\n';
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
process.stdout.write(`\x1B[${rows}A`);
|
|
47
|
+
process.stdout.write(output);
|
|
48
|
+
await sleep(frameTime);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Clear the matrix area
|
|
52
|
+
process.stdout.write(`\x1B[${rows}A`);
|
|
53
|
+
for (let i = 0; i < rows; i++) {
|
|
54
|
+
process.stdout.write('\x1B[2K\n');
|
|
55
|
+
}
|
|
56
|
+
process.stdout.write(`\x1B[${rows}A`);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export async function loadingAnimation(text, durationMs = 1200) {
|
|
60
|
+
const spinner = createSpinner(chalk.hex('#B2BEC3')(text)).start();
|
|
61
|
+
await sleep(durationMs);
|
|
62
|
+
spinner.success({ text: chalk.hex('#00CEC9')(text) });
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export async function progressBar(label, steps = 20, durationMs = 800) {
|
|
66
|
+
const filled = '█';
|
|
67
|
+
const empty = '░';
|
|
68
|
+
const barWidth = 30;
|
|
69
|
+
|
|
70
|
+
for (let i = 0; i <= steps; i++) {
|
|
71
|
+
const progress = Math.round((i / steps) * barWidth);
|
|
72
|
+
const bar =
|
|
73
|
+
chalk.hex('#6C5CE7')(filled.repeat(progress)) +
|
|
74
|
+
chalk.hex('#2D3436')(empty.repeat(barWidth - progress));
|
|
75
|
+
const pct = Math.round((i / steps) * 100);
|
|
76
|
+
process.stdout.write(
|
|
77
|
+
`\r ${chalk.hex('#B2BEC3')(label)} ${bar} ${chalk.hex('#00CEC9')(`${pct}%`)}`
|
|
78
|
+
);
|
|
79
|
+
await sleep(durationMs / steps);
|
|
80
|
+
}
|
|
81
|
+
process.stdout.write('\n');
|
|
82
|
+
}
|
package/src/ui/banner.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import figlet from 'figlet';
|
|
2
|
+
import gradient from 'gradient-string';
|
|
3
|
+
import chalk from 'chalk';
|
|
4
|
+
import { sleep } from '../utils/helpers.js';
|
|
5
|
+
|
|
6
|
+
const acGradient = gradient(['#6C5CE7', '#00CEC9', '#0984E3', '#6C5CE7']);
|
|
7
|
+
const subtleGradient = gradient(['#636E72', '#B2BEC3']);
|
|
8
|
+
|
|
9
|
+
export async function showBanner() {
|
|
10
|
+
console.clear();
|
|
11
|
+
console.log();
|
|
12
|
+
|
|
13
|
+
const asciiArt = figlet.textSync('AC Framework', {
|
|
14
|
+
font: 'ANSI Shadow',
|
|
15
|
+
horizontalLayout: 'fitted',
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
// Typing animation for the ASCII art
|
|
19
|
+
const lines = asciiArt.split('\n');
|
|
20
|
+
for (const line of lines) {
|
|
21
|
+
console.log(acGradient(line));
|
|
22
|
+
await sleep(40);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
console.log();
|
|
26
|
+
console.log(
|
|
27
|
+
subtleGradient(' ─────────────────────────────────────────────────────────────────')
|
|
28
|
+
);
|
|
29
|
+
console.log();
|
|
30
|
+
|
|
31
|
+
// Typewriter effect for tagline
|
|
32
|
+
const tagline = ' Agentic Coding Framework — Multi-assistant configuration system';
|
|
33
|
+
for (let i = 0; i <= tagline.length; i++) {
|
|
34
|
+
process.stdout.write(`\r${chalk.hex('#DFE6E9')(tagline.slice(0, i))}${chalk.hex('#00CEC9')('█')}`);
|
|
35
|
+
await sleep(12);
|
|
36
|
+
}
|
|
37
|
+
process.stdout.write(`\r${chalk.hex('#DFE6E9')(tagline)} \n`);
|
|
38
|
+
|
|
39
|
+
console.log();
|
|
40
|
+
console.log(
|
|
41
|
+
subtleGradient(' ─────────────────────────────────────────────────────────────────')
|
|
42
|
+
);
|
|
43
|
+
console.log();
|
|
44
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export function sleep(ms) {
|
|
2
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export function formatFolderName(name) {
|
|
6
|
+
// Remove leading dot for display
|
|
7
|
+
const clean = name.startsWith('.') ? name.slice(1) : name;
|
|
8
|
+
return clean.charAt(0).toUpperCase() + clean.slice(1);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const DESCRIPTIONS = {
|
|
12
|
+
'.agent': 'Generic Agent Framework',
|
|
13
|
+
'.amazonq': 'AWS Amazon Q',
|
|
14
|
+
'.augment': 'Augment Code Assistant',
|
|
15
|
+
'.claude': 'Anthropic Claude Code',
|
|
16
|
+
'.cline': 'Cline VS Code Extension',
|
|
17
|
+
'.clinerules': 'Cline Shared Rules',
|
|
18
|
+
'.codebuddy': 'CodeBuddy Assistant',
|
|
19
|
+
'.codex': 'OpenAI Codex CLI',
|
|
20
|
+
'.continue': 'Continue.dev IDE Extension',
|
|
21
|
+
'.cospec': 'OpenSpec Native Framework',
|
|
22
|
+
'.crush': 'Crush Assistant',
|
|
23
|
+
'.cursor': 'Cursor IDE',
|
|
24
|
+
'.factory': 'Factory Assistant',
|
|
25
|
+
'.gemini': 'Google Gemini',
|
|
26
|
+
'.github': 'GitHub Copilot',
|
|
27
|
+
'.iflow': 'iFlow Assistant',
|
|
28
|
+
'.kilocode': 'Kilo Code',
|
|
29
|
+
'.opencode': 'OpenCode Framework',
|
|
30
|
+
'.qoder': 'Qoder Assistant',
|
|
31
|
+
'.qwen': 'Qwen (Alibaba Cloud)',
|
|
32
|
+
'.roo': 'Roo Code Extension',
|
|
33
|
+
'.trae': 'Trae IDE',
|
|
34
|
+
'.windsurf': 'Windsurf IDE',
|
|
35
|
+
'openspec': 'OpenSpec Configuration',
|
|
36
|
+
};
|