@agents-inc/cli 0.32.1
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/CHANGELOG.md +462 -0
- package/LICENSE +21 -0
- package/README.md +179 -0
- package/config/skills-matrix.yaml +926 -0
- package/config/stacks.yaml +2186 -0
- package/dist/chunk-3ZOIOVKT.js +365 -0
- package/dist/chunk-3ZOIOVKT.js.map +1 -0
- package/dist/chunk-4RAY5AOI.js +78 -0
- package/dist/chunk-4RAY5AOI.js.map +1 -0
- package/dist/chunk-5PIKNCZX.js +234 -0
- package/dist/chunk-5PIKNCZX.js.map +1 -0
- package/dist/chunk-66UDJBF6.js +96 -0
- package/dist/chunk-66UDJBF6.js.map +1 -0
- package/dist/chunk-7SOPVGDV.js +24 -0
- package/dist/chunk-7SOPVGDV.js.map +1 -0
- package/dist/chunk-A27LOC4Z.js +95 -0
- package/dist/chunk-A27LOC4Z.js.map +1 -0
- package/dist/chunk-B2UBHA66.js +301 -0
- package/dist/chunk-B2UBHA66.js.map +1 -0
- package/dist/chunk-BZN2Z5P7.js +882 -0
- package/dist/chunk-BZN2Z5P7.js.map +1 -0
- package/dist/chunk-BZQBJP34.js +186 -0
- package/dist/chunk-BZQBJP34.js.map +1 -0
- package/dist/chunk-DC5AK3LW.js +105 -0
- package/dist/chunk-DC5AK3LW.js.map +1 -0
- package/dist/chunk-DHET7RCE.js +50 -0
- package/dist/chunk-DHET7RCE.js.map +1 -0
- package/dist/chunk-EMJ2ZKS7.js +346 -0
- package/dist/chunk-EMJ2ZKS7.js.map +1 -0
- package/dist/chunk-FJQRVFMB.js +48 -0
- package/dist/chunk-FJQRVFMB.js.map +1 -0
- package/dist/chunk-FZGYSLJL.js +85 -0
- package/dist/chunk-FZGYSLJL.js.map +1 -0
- package/dist/chunk-H566H3MQ.js +87 -0
- package/dist/chunk-H566H3MQ.js.map +1 -0
- package/dist/chunk-IYG2LAIM.js +90 -0
- package/dist/chunk-IYG2LAIM.js.map +1 -0
- package/dist/chunk-IZZ4IIEG.js +29 -0
- package/dist/chunk-IZZ4IIEG.js.map +1 -0
- package/dist/chunk-JMVWYAHT.js +63 -0
- package/dist/chunk-JMVWYAHT.js.map +1 -0
- package/dist/chunk-LAPCUV4D.js +191 -0
- package/dist/chunk-LAPCUV4D.js.map +1 -0
- package/dist/chunk-LGUI3PMO.js +109 -0
- package/dist/chunk-LGUI3PMO.js.map +1 -0
- package/dist/chunk-MM7NK5N2.js +4542 -0
- package/dist/chunk-MM7NK5N2.js.map +1 -0
- package/dist/chunk-N6S7ZRIL.js +31 -0
- package/dist/chunk-N6S7ZRIL.js.map +1 -0
- package/dist/chunk-O4D67NN7.js +24 -0
- package/dist/chunk-O4D67NN7.js.map +1 -0
- package/dist/chunk-ODUOU55D.js +56 -0
- package/dist/chunk-ODUOU55D.js.map +1 -0
- package/dist/chunk-OGJIZ6QH.js +497 -0
- package/dist/chunk-OGJIZ6QH.js.map +1 -0
- package/dist/chunk-OMV7TLWD.js +340 -0
- package/dist/chunk-OMV7TLWD.js.map +1 -0
- package/dist/chunk-PBEHPQLK.js +146 -0
- package/dist/chunk-PBEHPQLK.js.map +1 -0
- package/dist/chunk-QPTOIZAT.js +32 -0
- package/dist/chunk-QPTOIZAT.js.map +1 -0
- package/dist/chunk-R3XFQKPG.js +111 -0
- package/dist/chunk-R3XFQKPG.js.map +1 -0
- package/dist/chunk-R74PZWQS.js +69 -0
- package/dist/chunk-R74PZWQS.js.map +1 -0
- package/dist/chunk-SO22IQPY.js +45 -0
- package/dist/chunk-SO22IQPY.js.map +1 -0
- package/dist/chunk-T4EXUIBY.js +19 -0
- package/dist/chunk-T4EXUIBY.js.map +1 -0
- package/dist/chunk-U3IGFMCY.js +31 -0
- package/dist/chunk-U3IGFMCY.js.map +1 -0
- package/dist/chunk-UICL22RT.js +318 -0
- package/dist/chunk-UICL22RT.js.map +1 -0
- package/dist/chunk-UX2H2K2G.js +183 -0
- package/dist/chunk-UX2H2K2G.js.map +1 -0
- package/dist/chunk-W2ZSCZ2U.js +93 -0
- package/dist/chunk-W2ZSCZ2U.js.map +1 -0
- package/dist/chunk-WEUVWHMA.js +189 -0
- package/dist/chunk-WEUVWHMA.js.map +1 -0
- package/dist/chunk-XY3XDVMI.js +15599 -0
- package/dist/chunk-XY3XDVMI.js.map +1 -0
- package/dist/chunk-YND42IXK.js +233 -0
- package/dist/chunk-YND42IXK.js.map +1 -0
- package/dist/chunk-YZTWZVGX.js +41 -0
- package/dist/chunk-YZTWZVGX.js.map +1 -0
- package/dist/chunk-Z4TWOP3H.js +81 -0
- package/dist/chunk-Z4TWOP3H.js.map +1 -0
- package/dist/cli/defaults/agent-mappings.yaml +271 -0
- package/dist/commands/build/marketplace.js +252 -0
- package/dist/commands/build/marketplace.js.map +1 -0
- package/dist/commands/build/plugins.js +114 -0
- package/dist/commands/build/plugins.js.map +1 -0
- package/dist/commands/build/stack.js +153 -0
- package/dist/commands/build/stack.js.map +1 -0
- package/dist/commands/compile.js +354 -0
- package/dist/commands/compile.js.map +1 -0
- package/dist/commands/config/get.js +61 -0
- package/dist/commands/config/get.js.map +1 -0
- package/dist/commands/config/index.js +23 -0
- package/dist/commands/config/index.js.map +1 -0
- package/dist/commands/config/path.js +34 -0
- package/dist/commands/config/path.js.map +1 -0
- package/dist/commands/config/set-project.js +61 -0
- package/dist/commands/config/set-project.js.map +1 -0
- package/dist/commands/config/show.js +14 -0
- package/dist/commands/config/show.js.map +1 -0
- package/dist/commands/config/unset-project.js +57 -0
- package/dist/commands/config/unset-project.js.map +1 -0
- package/dist/commands/diff.js +742 -0
- package/dist/commands/diff.js.map +1 -0
- package/dist/commands/doctor.js +370 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/edit.js +301 -0
- package/dist/commands/edit.js.map +1 -0
- package/dist/commands/eject.js +262 -0
- package/dist/commands/eject.js.map +1 -0
- package/dist/commands/import/skill.js +361 -0
- package/dist/commands/import/skill.js.map +1 -0
- package/dist/commands/info.js +217 -0
- package/dist/commands/info.js.map +1 -0
- package/dist/commands/init.js +443 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/list.js +49 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/new/agent.js +224 -0
- package/dist/commands/new/agent.js.map +1 -0
- package/dist/commands/new/skill.js +199 -0
- package/dist/commands/new/skill.js.map +1 -0
- package/dist/commands/outdated.js +176 -0
- package/dist/commands/outdated.js.map +1 -0
- package/dist/commands/search.js +288 -0
- package/dist/commands/search.js.map +1 -0
- package/dist/commands/uninstall.js +302 -0
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/update.js +304 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/validate.js +389 -0
- package/dist/commands/validate.js.map +1 -0
- package/dist/commands/version/bump.js +79 -0
- package/dist/commands/version/bump.js.map +1 -0
- package/dist/commands/version/index.js +54 -0
- package/dist/commands/version/index.js.map +1 -0
- package/dist/commands/version/set.js +86 -0
- package/dist/commands/version/set.js.map +1 -0
- package/dist/commands/version/show.js +54 -0
- package/dist/commands/version/show.js.map +1 -0
- package/dist/components/common/confirm.js +9 -0
- package/dist/components/common/confirm.js.map +1 -0
- package/dist/components/common/confirm.test.js +203 -0
- package/dist/components/common/confirm.test.js.map +1 -0
- package/dist/components/common/message.js +20 -0
- package/dist/components/common/message.js.map +1 -0
- package/dist/components/common/spinner.js +14 -0
- package/dist/components/common/spinner.js.map +1 -0
- package/dist/components/skill-search/skill-search.js +12 -0
- package/dist/components/skill-search/skill-search.js.map +1 -0
- package/dist/components/wizard/category-grid.js +11 -0
- package/dist/components/wizard/category-grid.js.map +1 -0
- package/dist/components/wizard/category-grid.test.js +997 -0
- package/dist/components/wizard/category-grid.test.js.map +1 -0
- package/dist/components/wizard/domain-selection.js +14 -0
- package/dist/components/wizard/domain-selection.js.map +1 -0
- package/dist/components/wizard/help-modal.js +10 -0
- package/dist/components/wizard/help-modal.js.map +1 -0
- package/dist/components/wizard/menu-item.js +10 -0
- package/dist/components/wizard/menu-item.js.map +1 -0
- package/dist/components/wizard/search-modal.js +11 -0
- package/dist/components/wizard/search-modal.js.map +1 -0
- package/dist/components/wizard/search-modal.test.js +218 -0
- package/dist/components/wizard/search-modal.test.js.map +1 -0
- package/dist/components/wizard/section-progress.js +10 -0
- package/dist/components/wizard/section-progress.js.map +1 -0
- package/dist/components/wizard/section-progress.test.js +192 -0
- package/dist/components/wizard/section-progress.test.js.map +1 -0
- package/dist/components/wizard/source-grid.js +14 -0
- package/dist/components/wizard/source-grid.js.map +1 -0
- package/dist/components/wizard/source-grid.test.js +504 -0
- package/dist/components/wizard/source-grid.test.js.map +1 -0
- package/dist/components/wizard/stack-selection.js +17 -0
- package/dist/components/wizard/stack-selection.js.map +1 -0
- package/dist/components/wizard/step-build.js +17 -0
- package/dist/components/wizard/step-build.js.map +1 -0
- package/dist/components/wizard/step-build.test.js +600 -0
- package/dist/components/wizard/step-build.test.js.map +1 -0
- package/dist/components/wizard/step-confirm.js +12 -0
- package/dist/components/wizard/step-confirm.js.map +1 -0
- package/dist/components/wizard/step-confirm.test.js +366 -0
- package/dist/components/wizard/step-confirm.test.js.map +1 -0
- package/dist/components/wizard/step-refine.js +10 -0
- package/dist/components/wizard/step-refine.js.map +1 -0
- package/dist/components/wizard/step-refine.test.js +237 -0
- package/dist/components/wizard/step-refine.test.js.map +1 -0
- package/dist/components/wizard/step-settings.js +17 -0
- package/dist/components/wizard/step-settings.js.map +1 -0
- package/dist/components/wizard/step-settings.test.js +243 -0
- package/dist/components/wizard/step-settings.test.js.map +1 -0
- package/dist/components/wizard/step-sources.js +20 -0
- package/dist/components/wizard/step-sources.js.map +1 -0
- package/dist/components/wizard/step-sources.test.js +294 -0
- package/dist/components/wizard/step-sources.test.js.map +1 -0
- package/dist/components/wizard/step-stack.js +19 -0
- package/dist/components/wizard/step-stack.js.map +1 -0
- package/dist/components/wizard/step-stack.test.js +357 -0
- package/dist/components/wizard/step-stack.test.js.map +1 -0
- package/dist/components/wizard/view-title.js +10 -0
- package/dist/components/wizard/view-title.js.map +1 -0
- package/dist/components/wizard/wizard-layout.js +16 -0
- package/dist/components/wizard/wizard-layout.js.map +1 -0
- package/dist/components/wizard/wizard-tabs.js +14 -0
- package/dist/components/wizard/wizard-tabs.js.map +1 -0
- package/dist/components/wizard/wizard-tabs.test.js +294 -0
- package/dist/components/wizard/wizard-tabs.test.js.map +1 -0
- package/dist/components/wizard/wizard.js +35 -0
- package/dist/components/wizard/wizard.js.map +1 -0
- package/dist/config/skills-matrix.yaml +926 -0
- package/dist/config/stacks.yaml +2186 -0
- package/dist/hooks/init.js +40 -0
- package/dist/hooks/init.js.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/magic-string.es-RGXYGAW3.js +1316 -0
- package/dist/magic-string.es-RGXYGAW3.js.map +1 -0
- package/dist/source-manager-SBPPLOQQ.js +16 -0
- package/dist/source-manager-SBPPLOQQ.js.map +1 -0
- package/dist/src/agents/_templates/agent.liquid +140 -0
- package/dist/src/agents/developer/api-developer/agent.yaml +12 -0
- package/dist/src/agents/developer/api-developer/critical-reminders.md +23 -0
- package/dist/src/agents/developer/api-developer/critical-requirements.md +11 -0
- package/dist/src/agents/developer/api-developer/examples.md +72 -0
- package/dist/src/agents/developer/api-developer/intro.md +22 -0
- package/dist/src/agents/developer/api-developer/output-format.md +359 -0
- package/dist/src/agents/developer/api-developer/workflow.md +471 -0
- package/dist/src/agents/developer/cli-developer/agent.yaml +12 -0
- package/dist/src/agents/developer/cli-developer/critical-reminders.md +28 -0
- package/dist/src/agents/developer/cli-developer/critical-requirements.md +15 -0
- package/dist/src/agents/developer/cli-developer/examples.md +68 -0
- package/dist/src/agents/developer/cli-developer/intro.md +23 -0
- package/dist/src/agents/developer/cli-developer/output-format.md +216 -0
- package/dist/src/agents/developer/cli-developer/workflow.md +509 -0
- package/dist/src/agents/developer/web-architecture/agent.yaml +12 -0
- package/dist/src/agents/developer/web-architecture/critical-reminders.md +27 -0
- package/dist/src/agents/developer/web-architecture/critical-requirements.md +35 -0
- package/dist/src/agents/developer/web-architecture/examples.md +187 -0
- package/dist/src/agents/developer/web-architecture/intro.md +35 -0
- package/dist/src/agents/developer/web-architecture/output-format.md +261 -0
- package/dist/src/agents/developer/web-architecture/workflow.md +599 -0
- package/dist/src/agents/developer/web-developer/agent.yaml +12 -0
- package/dist/src/agents/developer/web-developer/critical-reminders.md +17 -0
- package/dist/src/agents/developer/web-developer/critical-requirements.md +15 -0
- package/dist/src/agents/developer/web-developer/examples.md +109 -0
- package/dist/src/agents/developer/web-developer/intro.md +5 -0
- package/dist/src/agents/developer/web-developer/output-format.md +213 -0
- package/dist/src/agents/developer/web-developer/workflow.md +459 -0
- package/dist/src/agents/meta/agent-summoner/agent.yaml +12 -0
- package/dist/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
- package/dist/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
- package/dist/src/agents/meta/agent-summoner/examples.md +176 -0
- package/dist/src/agents/meta/agent-summoner/intro.md +9 -0
- package/dist/src/agents/meta/agent-summoner/output-format.md +115 -0
- package/dist/src/agents/meta/agent-summoner/workflow.md +1540 -0
- package/dist/src/agents/meta/documentor/agent.yaml +11 -0
- package/dist/src/agents/meta/documentor/critical-reminders.md +23 -0
- package/dist/src/agents/meta/documentor/critical-requirements.md +13 -0
- package/dist/src/agents/meta/documentor/examples.md +147 -0
- package/dist/src/agents/meta/documentor/intro.md +11 -0
- package/dist/src/agents/meta/documentor/output-format.md +237 -0
- package/dist/src/agents/meta/documentor/workflow.md +1271 -0
- package/dist/src/agents/meta/skill-summoner/agent.yaml +13 -0
- package/dist/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
- package/dist/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/dist/src/agents/meta/skill-summoner/examples.md +116 -0
- package/dist/src/agents/meta/skill-summoner/intro.md +5 -0
- package/dist/src/agents/meta/skill-summoner/output-format.md +279 -0
- package/dist/src/agents/meta/skill-summoner/workflow.md +1485 -0
- package/dist/src/agents/migration/cli-migrator/agent.yaml +12 -0
- package/dist/src/agents/migration/cli-migrator/anti-patterns.md +158 -0
- package/dist/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
- package/dist/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
- package/dist/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
- package/dist/src/agents/migration/cli-migrator/intro.md +15 -0
- package/dist/src/agents/migration/cli-migrator/output-format.md +164 -0
- package/dist/src/agents/migration/cli-migrator/workflow.md +230 -0
- package/dist/src/agents/pattern/pattern-scout/agent.yaml +10 -0
- package/dist/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
- package/dist/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
- package/dist/src/agents/pattern/pattern-scout/examples.md +93 -0
- package/dist/src/agents/pattern/pattern-scout/intro.md +3 -0
- package/dist/src/agents/pattern/pattern-scout/output-format.md +196 -0
- package/dist/src/agents/pattern/pattern-scout/workflow.md +1901 -0
- package/dist/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
- package/dist/src/agents/pattern/web-pattern-critique/examples.md +56 -0
- package/dist/src/agents/pattern/web-pattern-critique/intro.md +5 -0
- package/dist/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
- package/dist/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
- package/dist/src/agents/planning/web-pm/agent.yaml +12 -0
- package/dist/src/agents/planning/web-pm/critical-reminders.md +21 -0
- package/dist/src/agents/planning/web-pm/critical-requirements.md +17 -0
- package/dist/src/agents/planning/web-pm/examples.md +85 -0
- package/dist/src/agents/planning/web-pm/intro.md +3 -0
- package/dist/src/agents/planning/web-pm/output-format.md +228 -0
- package/dist/src/agents/planning/web-pm/workflow.md +393 -0
- package/dist/src/agents/researcher/api-researcher/agent.yaml +10 -0
- package/dist/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/dist/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
- package/dist/src/agents/researcher/api-researcher/examples.md +116 -0
- package/dist/src/agents/researcher/api-researcher/intro.md +32 -0
- package/dist/src/agents/researcher/api-researcher/output-format.md +135 -0
- package/dist/src/agents/researcher/api-researcher/workflow.md +261 -0
- package/dist/src/agents/researcher/web-researcher/agent.yaml +10 -0
- package/dist/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
- package/dist/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
- package/dist/src/agents/researcher/web-researcher/examples.md +126 -0
- package/dist/src/agents/researcher/web-researcher/intro.md +31 -0
- package/dist/src/agents/researcher/web-researcher/output-format.md +112 -0
- package/dist/src/agents/researcher/web-researcher/workflow.md +322 -0
- package/dist/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
- package/dist/src/agents/reviewer/api-reviewer/examples.md +54 -0
- package/dist/src/agents/reviewer/api-reviewer/intro.md +22 -0
- package/dist/src/agents/reviewer/api-reviewer/output-format.md +288 -0
- package/dist/src/agents/reviewer/api-reviewer/workflow.md +369 -0
- package/dist/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
- package/dist/src/agents/reviewer/cli-reviewer/examples.md +83 -0
- package/dist/src/agents/reviewer/cli-reviewer/intro.md +21 -0
- package/dist/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
- package/dist/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
- package/dist/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
- package/dist/src/agents/reviewer/web-reviewer/examples.md +79 -0
- package/dist/src/agents/reviewer/web-reviewer/intro.md +20 -0
- package/dist/src/agents/reviewer/web-reviewer/output-format.md +253 -0
- package/dist/src/agents/reviewer/web-reviewer/workflow.md +228 -0
- package/dist/src/agents/tester/cli-tester/agent.yaml +12 -0
- package/dist/src/agents/tester/cli-tester/critical-reminders.md +19 -0
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +17 -0
- package/dist/src/agents/tester/cli-tester/examples.md +80 -0
- package/dist/src/agents/tester/cli-tester/intro.md +19 -0
- package/dist/src/agents/tester/cli-tester/output-format.md +232 -0
- package/dist/src/agents/tester/cli-tester/workflow.md +304 -0
- package/dist/src/agents/tester/web-tester/agent.yaml +12 -0
- package/dist/src/agents/tester/web-tester/critical-reminders.md +15 -0
- package/dist/src/agents/tester/web-tester/critical-requirements.md +11 -0
- package/dist/src/agents/tester/web-tester/examples.md +68 -0
- package/dist/src/agents/tester/web-tester/intro.md +18 -0
- package/dist/src/agents/tester/web-tester/output-format.md +252 -0
- package/dist/src/agents/tester/web-tester/workflow.md +507 -0
- package/dist/stores/wizard-store.js +13 -0
- package/dist/stores/wizard-store.js.map +1 -0
- package/dist/stores/wizard-store.test.js +689 -0
- package/dist/stores/wizard-store.test.js.map +1 -0
- package/package.json +134 -0
- package/src/agents/_templates/agent.liquid +140 -0
- package/src/agents/developer/api-developer/agent.yaml +12 -0
- package/src/agents/developer/api-developer/critical-reminders.md +23 -0
- package/src/agents/developer/api-developer/critical-requirements.md +11 -0
- package/src/agents/developer/api-developer/examples.md +72 -0
- package/src/agents/developer/api-developer/intro.md +22 -0
- package/src/agents/developer/api-developer/output-format.md +359 -0
- package/src/agents/developer/api-developer/workflow.md +471 -0
- package/src/agents/developer/cli-developer/agent.yaml +12 -0
- package/src/agents/developer/cli-developer/critical-reminders.md +28 -0
- package/src/agents/developer/cli-developer/critical-requirements.md +15 -0
- package/src/agents/developer/cli-developer/examples.md +68 -0
- package/src/agents/developer/cli-developer/intro.md +23 -0
- package/src/agents/developer/cli-developer/output-format.md +216 -0
- package/src/agents/developer/cli-developer/workflow.md +509 -0
- package/src/agents/developer/web-architecture/agent.yaml +12 -0
- package/src/agents/developer/web-architecture/critical-reminders.md +27 -0
- package/src/agents/developer/web-architecture/critical-requirements.md +35 -0
- package/src/agents/developer/web-architecture/examples.md +187 -0
- package/src/agents/developer/web-architecture/intro.md +35 -0
- package/src/agents/developer/web-architecture/output-format.md +261 -0
- package/src/agents/developer/web-architecture/workflow.md +599 -0
- package/src/agents/developer/web-developer/agent.yaml +12 -0
- package/src/agents/developer/web-developer/critical-reminders.md +17 -0
- package/src/agents/developer/web-developer/critical-requirements.md +15 -0
- package/src/agents/developer/web-developer/examples.md +109 -0
- package/src/agents/developer/web-developer/intro.md +5 -0
- package/src/agents/developer/web-developer/output-format.md +213 -0
- package/src/agents/developer/web-developer/workflow.md +459 -0
- package/src/agents/meta/agent-summoner/agent.yaml +12 -0
- package/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
- package/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
- package/src/agents/meta/agent-summoner/examples.md +176 -0
- package/src/agents/meta/agent-summoner/intro.md +9 -0
- package/src/agents/meta/agent-summoner/output-format.md +115 -0
- package/src/agents/meta/agent-summoner/workflow.md +1540 -0
- package/src/agents/meta/documentor/agent.yaml +11 -0
- package/src/agents/meta/documentor/critical-reminders.md +23 -0
- package/src/agents/meta/documentor/critical-requirements.md +13 -0
- package/src/agents/meta/documentor/examples.md +147 -0
- package/src/agents/meta/documentor/intro.md +11 -0
- package/src/agents/meta/documentor/output-format.md +237 -0
- package/src/agents/meta/documentor/workflow.md +1271 -0
- package/src/agents/meta/skill-summoner/agent.yaml +13 -0
- package/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
- package/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/src/agents/meta/skill-summoner/examples.md +116 -0
- package/src/agents/meta/skill-summoner/intro.md +5 -0
- package/src/agents/meta/skill-summoner/output-format.md +279 -0
- package/src/agents/meta/skill-summoner/workflow.md +1485 -0
- package/src/agents/migration/cli-migrator/agent.yaml +12 -0
- package/src/agents/migration/cli-migrator/anti-patterns.md +158 -0
- package/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
- package/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
- package/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
- package/src/agents/migration/cli-migrator/intro.md +15 -0
- package/src/agents/migration/cli-migrator/output-format.md +164 -0
- package/src/agents/migration/cli-migrator/workflow.md +230 -0
- package/src/agents/pattern/pattern-scout/agent.yaml +10 -0
- package/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
- package/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
- package/src/agents/pattern/pattern-scout/examples.md +93 -0
- package/src/agents/pattern/pattern-scout/intro.md +3 -0
- package/src/agents/pattern/pattern-scout/output-format.md +196 -0
- package/src/agents/pattern/pattern-scout/workflow.md +1901 -0
- package/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
- package/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
- package/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
- package/src/agents/pattern/web-pattern-critique/examples.md +56 -0
- package/src/agents/pattern/web-pattern-critique/intro.md +5 -0
- package/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
- package/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
- package/src/agents/planning/web-pm/agent.yaml +12 -0
- package/src/agents/planning/web-pm/critical-reminders.md +21 -0
- package/src/agents/planning/web-pm/critical-requirements.md +17 -0
- package/src/agents/planning/web-pm/examples.md +85 -0
- package/src/agents/planning/web-pm/intro.md +3 -0
- package/src/agents/planning/web-pm/output-format.md +228 -0
- package/src/agents/planning/web-pm/workflow.md +393 -0
- package/src/agents/researcher/api-researcher/agent.yaml +10 -0
- package/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
- package/src/agents/researcher/api-researcher/examples.md +116 -0
- package/src/agents/researcher/api-researcher/intro.md +32 -0
- package/src/agents/researcher/api-researcher/output-format.md +135 -0
- package/src/agents/researcher/api-researcher/workflow.md +261 -0
- package/src/agents/researcher/web-researcher/agent.yaml +10 -0
- package/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
- package/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
- package/src/agents/researcher/web-researcher/examples.md +126 -0
- package/src/agents/researcher/web-researcher/intro.md +31 -0
- package/src/agents/researcher/web-researcher/output-format.md +112 -0
- package/src/agents/researcher/web-researcher/workflow.md +322 -0
- package/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
- package/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
- package/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
- package/src/agents/reviewer/api-reviewer/examples.md +54 -0
- package/src/agents/reviewer/api-reviewer/intro.md +22 -0
- package/src/agents/reviewer/api-reviewer/output-format.md +288 -0
- package/src/agents/reviewer/api-reviewer/workflow.md +369 -0
- package/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
- package/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
- package/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
- package/src/agents/reviewer/cli-reviewer/examples.md +83 -0
- package/src/agents/reviewer/cli-reviewer/intro.md +21 -0
- package/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
- package/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
- package/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
- package/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
- package/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
- package/src/agents/reviewer/web-reviewer/examples.md +79 -0
- package/src/agents/reviewer/web-reviewer/intro.md +20 -0
- package/src/agents/reviewer/web-reviewer/output-format.md +253 -0
- package/src/agents/reviewer/web-reviewer/workflow.md +228 -0
- package/src/agents/tester/cli-tester/agent.yaml +12 -0
- package/src/agents/tester/cli-tester/critical-reminders.md +19 -0
- package/src/agents/tester/cli-tester/critical-requirements.md +17 -0
- package/src/agents/tester/cli-tester/examples.md +80 -0
- package/src/agents/tester/cli-tester/intro.md +19 -0
- package/src/agents/tester/cli-tester/output-format.md +232 -0
- package/src/agents/tester/cli-tester/workflow.md +304 -0
- package/src/agents/tester/web-tester/agent.yaml +12 -0
- package/src/agents/tester/web-tester/critical-reminders.md +15 -0
- package/src/agents/tester/web-tester/critical-requirements.md +11 -0
- package/src/agents/tester/web-tester/examples.md +68 -0
- package/src/agents/tester/web-tester/intro.md +18 -0
- package/src/agents/tester/web-tester/output-format.md +252 -0
- package/src/agents/tester/web-tester/workflow.md +507 -0
- package/src/schemas/agent-frontmatter.schema.json +84 -0
- package/src/schemas/agent.schema.json +93 -0
- package/src/schemas/hooks.schema.json +47 -0
- package/src/schemas/marketplace.schema.json +119 -0
- package/src/schemas/metadata.schema.json +113 -0
- package/src/schemas/plugin.schema.json +130 -0
- package/src/schemas/project-config.schema.json +125 -0
- package/src/schemas/project-source-config.schema.json +81 -0
- package/src/schemas/skill-frontmatter.schema.json +42 -0
- package/src/schemas/skills-matrix.schema.json +467 -0
- package/src/schemas/stack.schema.json +191 -0
- package/src/schemas/stacks.schema.json +111 -0
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
render
|
|
4
|
+
} from "../../chunk-66UDJBF6.js";
|
|
5
|
+
import {
|
|
6
|
+
afterEach,
|
|
7
|
+
describe,
|
|
8
|
+
globalExpect,
|
|
9
|
+
it
|
|
10
|
+
} from "../../chunk-XY3XDVMI.js";
|
|
11
|
+
import {
|
|
12
|
+
WIZARD_STEPS,
|
|
13
|
+
WizardTabs,
|
|
14
|
+
formatStepLabel
|
|
15
|
+
} from "../../chunk-IYG2LAIM.js";
|
|
16
|
+
import "../../chunk-LAPCUV4D.js";
|
|
17
|
+
import {
|
|
18
|
+
init_esm_shims
|
|
19
|
+
} from "../../chunk-DHET7RCE.js";
|
|
20
|
+
|
|
21
|
+
// src/cli/components/wizard/wizard-tabs.test.tsx
|
|
22
|
+
init_esm_shims();
|
|
23
|
+
import { jsx } from "react/jsx-runtime";
|
|
24
|
+
var formatCustomStepLabel = (step) => {
|
|
25
|
+
const prefix = `[${step.number}]`;
|
|
26
|
+
return { prefix, label: step.label, full: `${prefix} ${step.label}` };
|
|
27
|
+
};
|
|
28
|
+
var renderWizardTabs = (props = {}) => {
|
|
29
|
+
const defaultProps = {
|
|
30
|
+
steps: WIZARD_STEPS,
|
|
31
|
+
currentStep: "stack",
|
|
32
|
+
completedSteps: [],
|
|
33
|
+
skippedSteps: [],
|
|
34
|
+
...props
|
|
35
|
+
};
|
|
36
|
+
return render(/* @__PURE__ */ jsx(WizardTabs, { ...defaultProps }));
|
|
37
|
+
};
|
|
38
|
+
describe("WizardTabs component", () => {
|
|
39
|
+
let cleanup;
|
|
40
|
+
afterEach(() => {
|
|
41
|
+
cleanup?.();
|
|
42
|
+
cleanup = void 0;
|
|
43
|
+
});
|
|
44
|
+
describe("rendering", () => {
|
|
45
|
+
it("should render all 4 tabs", () => {
|
|
46
|
+
const { lastFrame, unmount } = renderWizardTabs();
|
|
47
|
+
cleanup = unmount;
|
|
48
|
+
const output = lastFrame();
|
|
49
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
50
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
51
|
+
globalExpect(output).toContain(formatStepLabel("sources").full);
|
|
52
|
+
globalExpect(output).toContain(formatStepLabel("confirm").full);
|
|
53
|
+
});
|
|
54
|
+
it("should render all step numbers", () => {
|
|
55
|
+
const { lastFrame, unmount } = renderWizardTabs();
|
|
56
|
+
cleanup = unmount;
|
|
57
|
+
const output = lastFrame();
|
|
58
|
+
globalExpect(output).toContain(formatStepLabel("stack").prefix);
|
|
59
|
+
globalExpect(output).toContain(formatStepLabel("build").prefix);
|
|
60
|
+
globalExpect(output).toContain(formatStepLabel("sources").prefix);
|
|
61
|
+
globalExpect(output).toContain(formatStepLabel("confirm").prefix);
|
|
62
|
+
});
|
|
63
|
+
it("should render with custom steps", () => {
|
|
64
|
+
const customSteps = [
|
|
65
|
+
{ id: "one", label: "First", number: 1 },
|
|
66
|
+
{ id: "two", label: "Second", number: 2 }
|
|
67
|
+
];
|
|
68
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
69
|
+
steps: customSteps,
|
|
70
|
+
currentStep: "one"
|
|
71
|
+
});
|
|
72
|
+
cleanup = unmount;
|
|
73
|
+
const output = lastFrame();
|
|
74
|
+
globalExpect(output).toContain(formatCustomStepLabel(customSteps[0]).full);
|
|
75
|
+
globalExpect(output).toContain(formatCustomStepLabel(customSteps[1]).full);
|
|
76
|
+
globalExpect(output).not.toContain(formatStepLabel("stack").label);
|
|
77
|
+
});
|
|
78
|
+
it("should render horizontal dividers above and below tabs", () => {
|
|
79
|
+
const { lastFrame, unmount } = renderWizardTabs();
|
|
80
|
+
cleanup = unmount;
|
|
81
|
+
const output = lastFrame();
|
|
82
|
+
globalExpect(output).toContain("\u2500");
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
describe("current step", () => {
|
|
86
|
+
it("should render current step label", () => {
|
|
87
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
88
|
+
currentStep: "build"
|
|
89
|
+
});
|
|
90
|
+
cleanup = unmount;
|
|
91
|
+
const output = lastFrame();
|
|
92
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
93
|
+
});
|
|
94
|
+
it("should mark first step as current by default", () => {
|
|
95
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
96
|
+
currentStep: "stack",
|
|
97
|
+
completedSteps: []
|
|
98
|
+
});
|
|
99
|
+
cleanup = unmount;
|
|
100
|
+
const output = lastFrame();
|
|
101
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
102
|
+
});
|
|
103
|
+
it("should update current step when changed", () => {
|
|
104
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
105
|
+
currentStep: "confirm",
|
|
106
|
+
completedSteps: ["stack", "build"]
|
|
107
|
+
});
|
|
108
|
+
cleanup = unmount;
|
|
109
|
+
const output = lastFrame();
|
|
110
|
+
globalExpect(output).toContain(formatStepLabel("confirm").full);
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
describe("completed steps", () => {
|
|
114
|
+
it("should render completed step labels", () => {
|
|
115
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
116
|
+
currentStep: "build",
|
|
117
|
+
completedSteps: ["stack"]
|
|
118
|
+
});
|
|
119
|
+
cleanup = unmount;
|
|
120
|
+
const output = lastFrame();
|
|
121
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
122
|
+
});
|
|
123
|
+
it("should render multiple completed steps", () => {
|
|
124
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
125
|
+
currentStep: "sources",
|
|
126
|
+
completedSteps: ["stack", "build"]
|
|
127
|
+
});
|
|
128
|
+
cleanup = unmount;
|
|
129
|
+
const output = lastFrame();
|
|
130
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
131
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
132
|
+
});
|
|
133
|
+
it("should render current step separately from completed steps", () => {
|
|
134
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
135
|
+
currentStep: "stack",
|
|
136
|
+
completedSteps: []
|
|
137
|
+
});
|
|
138
|
+
cleanup = unmount;
|
|
139
|
+
const output = lastFrame();
|
|
140
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
describe("pending steps", () => {
|
|
144
|
+
it("should render pending step labels", () => {
|
|
145
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
146
|
+
currentStep: "stack",
|
|
147
|
+
completedSteps: []
|
|
148
|
+
});
|
|
149
|
+
cleanup = unmount;
|
|
150
|
+
const output = lastFrame();
|
|
151
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
152
|
+
globalExpect(output).toContain(formatStepLabel("sources").full);
|
|
153
|
+
});
|
|
154
|
+
it("should render steps after current", () => {
|
|
155
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
156
|
+
currentStep: "build",
|
|
157
|
+
completedSteps: ["stack"]
|
|
158
|
+
});
|
|
159
|
+
cleanup = unmount;
|
|
160
|
+
const output = lastFrame();
|
|
161
|
+
globalExpect(output).toContain(formatStepLabel("confirm").full);
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
describe("skipped steps", () => {
|
|
165
|
+
it("should render skipped step labels", () => {
|
|
166
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
167
|
+
currentStep: "sources",
|
|
168
|
+
completedSteps: ["stack"],
|
|
169
|
+
skippedSteps: ["build"]
|
|
170
|
+
});
|
|
171
|
+
cleanup = unmount;
|
|
172
|
+
const output = lastFrame();
|
|
173
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
174
|
+
});
|
|
175
|
+
it("should handle multiple skipped steps", () => {
|
|
176
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
177
|
+
currentStep: "confirm",
|
|
178
|
+
completedSteps: ["stack"],
|
|
179
|
+
skippedSteps: ["build", "sources"]
|
|
180
|
+
});
|
|
181
|
+
cleanup = unmount;
|
|
182
|
+
const output = lastFrame();
|
|
183
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
184
|
+
globalExpect(output).toContain(formatStepLabel("sources").full);
|
|
185
|
+
});
|
|
186
|
+
it("should prioritize completed over skipped when step is in both arrays", () => {
|
|
187
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
188
|
+
currentStep: "sources",
|
|
189
|
+
completedSteps: ["stack", "build"],
|
|
190
|
+
skippedSteps: ["build"]
|
|
191
|
+
});
|
|
192
|
+
cleanup = unmount;
|
|
193
|
+
const output = lastFrame();
|
|
194
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
195
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
describe("state priority", () => {
|
|
199
|
+
it("should prioritize completed over current", () => {
|
|
200
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
201
|
+
currentStep: "stack",
|
|
202
|
+
completedSteps: ["stack"]
|
|
203
|
+
});
|
|
204
|
+
cleanup = unmount;
|
|
205
|
+
const output = lastFrame();
|
|
206
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
207
|
+
});
|
|
208
|
+
it("should prioritize current over skipped", () => {
|
|
209
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
210
|
+
currentStep: "build",
|
|
211
|
+
completedSteps: [],
|
|
212
|
+
skippedSteps: ["build"]
|
|
213
|
+
});
|
|
214
|
+
cleanup = unmount;
|
|
215
|
+
const output = lastFrame();
|
|
216
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
217
|
+
});
|
|
218
|
+
it("should prioritize completed over skipped", () => {
|
|
219
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
220
|
+
currentStep: "sources",
|
|
221
|
+
completedSteps: ["stack"],
|
|
222
|
+
skippedSteps: ["stack"]
|
|
223
|
+
});
|
|
224
|
+
cleanup = unmount;
|
|
225
|
+
const output = lastFrame();
|
|
226
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
227
|
+
});
|
|
228
|
+
});
|
|
229
|
+
describe("visual layout", () => {
|
|
230
|
+
it("should render tabs horizontally", () => {
|
|
231
|
+
const { lastFrame, unmount } = renderWizardTabs();
|
|
232
|
+
cleanup = unmount;
|
|
233
|
+
const output = lastFrame();
|
|
234
|
+
globalExpect(output).toContain(formatStepLabel("stack").label);
|
|
235
|
+
globalExpect(output).toContain(formatStepLabel("confirm").label);
|
|
236
|
+
});
|
|
237
|
+
it("should include step labels", () => {
|
|
238
|
+
const { lastFrame, unmount } = renderWizardTabs();
|
|
239
|
+
cleanup = unmount;
|
|
240
|
+
const output = lastFrame();
|
|
241
|
+
WIZARD_STEPS.forEach((step) => {
|
|
242
|
+
globalExpect(output).toContain(formatStepLabel(step.id).label);
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
describe("edge cases", () => {
|
|
247
|
+
it("should handle empty completed steps", () => {
|
|
248
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
249
|
+
currentStep: "stack",
|
|
250
|
+
completedSteps: []
|
|
251
|
+
});
|
|
252
|
+
cleanup = unmount;
|
|
253
|
+
const output = lastFrame();
|
|
254
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
255
|
+
globalExpect(output).toContain(formatStepLabel("confirm").full);
|
|
256
|
+
});
|
|
257
|
+
it("should handle empty skipped steps", () => {
|
|
258
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
259
|
+
currentStep: "sources",
|
|
260
|
+
completedSteps: ["stack", "build"],
|
|
261
|
+
skippedSteps: []
|
|
262
|
+
});
|
|
263
|
+
cleanup = unmount;
|
|
264
|
+
const output = lastFrame();
|
|
265
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
266
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
267
|
+
globalExpect(output).toContain(formatStepLabel("sources").full);
|
|
268
|
+
});
|
|
269
|
+
it("should handle all steps completed", () => {
|
|
270
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
271
|
+
currentStep: "confirm",
|
|
272
|
+
completedSteps: ["stack", "build", "sources", "confirm"]
|
|
273
|
+
});
|
|
274
|
+
cleanup = unmount;
|
|
275
|
+
const output = lastFrame();
|
|
276
|
+
globalExpect(output).toContain(formatStepLabel("stack").full);
|
|
277
|
+
globalExpect(output).toContain(formatStepLabel("build").full);
|
|
278
|
+
globalExpect(output).toContain(formatStepLabel("sources").full);
|
|
279
|
+
globalExpect(output).toContain(formatStepLabel("confirm").full);
|
|
280
|
+
});
|
|
281
|
+
it("should handle single step", () => {
|
|
282
|
+
const singleStep = [{ id: "only", label: "Only Step", number: 1 }];
|
|
283
|
+
const { lastFrame, unmount } = renderWizardTabs({
|
|
284
|
+
steps: singleStep,
|
|
285
|
+
currentStep: "only",
|
|
286
|
+
completedSteps: []
|
|
287
|
+
});
|
|
288
|
+
cleanup = unmount;
|
|
289
|
+
const output = lastFrame();
|
|
290
|
+
globalExpect(output).toContain(formatCustomStepLabel(singleStep[0]).full);
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
});
|
|
294
|
+
//# sourceMappingURL=wizard-tabs.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/cli/components/wizard/wizard-tabs.test.tsx"],"sourcesContent":["import { render } from \"ink-testing-library\";\nimport { afterEach, describe, expect, it } from \"vitest\";\nimport type { WizardStep } from \"../../stores/wizard-store\";\nimport { WizardTabs, WIZARD_STEPS, formatStepLabel, type WizardTabsProps } from \"./wizard-tabs\";\n\n/** Format a custom (non-WIZARD_STEPS) step label for test assertions */\nconst formatCustomStepLabel = (step: { label: string; number: number }) => {\n const prefix = `[${step.number}]`;\n return { prefix, label: step.label, full: `${prefix} ${step.label}` };\n};\n\nconst renderWizardTabs = (props: Partial<WizardTabsProps> = {}) => {\n const defaultProps: WizardTabsProps = {\n steps: WIZARD_STEPS,\n currentStep: \"stack\",\n completedSteps: [],\n skippedSteps: [],\n ...props,\n };\n return render(<WizardTabs {...defaultProps} />);\n};\n\ndescribe(\"WizardTabs component\", () => {\n let cleanup: (() => void) | undefined;\n\n afterEach(() => {\n cleanup?.();\n cleanup = undefined;\n });\n\n describe(\"rendering\", () => {\n it(\"should render all 4 tabs\", () => {\n const { lastFrame, unmount } = renderWizardTabs();\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n expect(output).toContain(formatStepLabel(\"build\").full);\n expect(output).toContain(formatStepLabel(\"sources\").full);\n expect(output).toContain(formatStepLabel(\"confirm\").full);\n });\n\n it(\"should render all step numbers\", () => {\n const { lastFrame, unmount } = renderWizardTabs();\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").prefix);\n expect(output).toContain(formatStepLabel(\"build\").prefix);\n expect(output).toContain(formatStepLabel(\"sources\").prefix);\n expect(output).toContain(formatStepLabel(\"confirm\").prefix);\n });\n\n it(\"should render with custom steps\", () => {\n const customSteps = [\n { id: \"one\", label: \"First\", number: 1 },\n { id: \"two\", label: \"Second\", number: 2 },\n ];\n const { lastFrame, unmount } = renderWizardTabs({\n steps: customSteps,\n currentStep: \"one\",\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatCustomStepLabel(customSteps[0]).full);\n expect(output).toContain(formatCustomStepLabel(customSteps[1]).full);\n expect(output).not.toContain(formatStepLabel(\"stack\").label);\n });\n\n it(\"should render horizontal dividers above and below tabs\", () => {\n const { lastFrame, unmount } = renderWizardTabs();\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"\\u2500\");\n });\n });\n\n describe(\"current step\", () => {\n it(\"should render current step label\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"build\",\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"build\").full);\n });\n\n it(\"should mark first step as current by default\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"stack\",\n completedSteps: [],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n });\n\n it(\"should update current step when changed\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"confirm\",\n completedSteps: [\"stack\", \"build\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"confirm\").full);\n });\n });\n\n describe(\"completed steps\", () => {\n it(\"should render completed step labels\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"build\",\n completedSteps: [\"stack\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n });\n\n it(\"should render multiple completed steps\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"sources\",\n completedSteps: [\"stack\", \"build\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n expect(output).toContain(formatStepLabel(\"build\").full);\n });\n\n it(\"should render current step separately from completed steps\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"stack\",\n completedSteps: [],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n });\n });\n\n describe(\"pending steps\", () => {\n it(\"should render pending step labels\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"stack\",\n completedSteps: [],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"build\").full);\n expect(output).toContain(formatStepLabel(\"sources\").full);\n });\n\n it(\"should render steps after current\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"build\",\n completedSteps: [\"stack\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"confirm\").full);\n });\n });\n\n describe(\"skipped steps\", () => {\n it(\"should render skipped step labels\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"sources\",\n completedSteps: [\"stack\"],\n skippedSteps: [\"build\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"build\").full);\n });\n\n it(\"should handle multiple skipped steps\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"confirm\",\n completedSteps: [\"stack\"],\n skippedSteps: [\"build\", \"sources\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"build\").full);\n expect(output).toContain(formatStepLabel(\"sources\").full);\n });\n\n it(\"should prioritize completed over skipped when step is in both arrays\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"sources\",\n completedSteps: [\"stack\", \"build\"],\n skippedSteps: [\"build\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n expect(output).toContain(formatStepLabel(\"build\").full);\n });\n });\n\n describe(\"state priority\", () => {\n it(\"should prioritize completed over current\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"stack\",\n completedSteps: [\"stack\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n });\n\n it(\"should prioritize current over skipped\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"build\",\n completedSteps: [],\n skippedSteps: [\"build\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"build\").full);\n });\n\n it(\"should prioritize completed over skipped\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"sources\",\n completedSteps: [\"stack\"],\n skippedSteps: [\"stack\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n });\n });\n\n describe(\"visual layout\", () => {\n it(\"should render tabs horizontally\", () => {\n const { lastFrame, unmount } = renderWizardTabs();\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").label);\n expect(output).toContain(formatStepLabel(\"confirm\").label);\n });\n\n it(\"should include step labels\", () => {\n const { lastFrame, unmount } = renderWizardTabs();\n cleanup = unmount;\n\n const output = lastFrame();\n WIZARD_STEPS.forEach((step) => {\n expect(output).toContain(formatStepLabel(step.id as WizardStep).label);\n });\n });\n });\n\n describe(\"edge cases\", () => {\n it(\"should handle empty completed steps\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"stack\",\n completedSteps: [],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n expect(output).toContain(formatStepLabel(\"confirm\").full);\n });\n\n it(\"should handle empty skipped steps\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"sources\",\n completedSteps: [\"stack\", \"build\"],\n skippedSteps: [],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n expect(output).toContain(formatStepLabel(\"build\").full);\n expect(output).toContain(formatStepLabel(\"sources\").full);\n });\n\n it(\"should handle all steps completed\", () => {\n const { lastFrame, unmount } = renderWizardTabs({\n currentStep: \"confirm\",\n completedSteps: [\"stack\", \"build\", \"sources\", \"confirm\"],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatStepLabel(\"stack\").full);\n expect(output).toContain(formatStepLabel(\"build\").full);\n expect(output).toContain(formatStepLabel(\"sources\").full);\n expect(output).toContain(formatStepLabel(\"confirm\").full);\n });\n\n it(\"should handle single step\", () => {\n const singleStep = [{ id: \"only\", label: \"Only Step\", number: 1 }];\n const { lastFrame, unmount } = renderWizardTabs({\n steps: singleStep,\n currentStep: \"only\",\n completedSteps: [],\n });\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(formatCustomStepLabel(singleStep[0]).full);\n });\n });\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAmBgB;AAbhB,IAAM,wBAAwB,CAAC,SAA4C;AACzE,QAAM,SAAS,IAAI,KAAK,MAAM;AAC9B,SAAO,EAAE,QAAQ,OAAO,KAAK,OAAO,MAAM,GAAG,MAAM,IAAI,KAAK,KAAK,GAAG;AACtE;AAEA,IAAM,mBAAmB,CAAC,QAAkC,CAAC,MAAM;AACjE,QAAM,eAAgC;AAAA,IACpC,OAAO;AAAA,IACP,aAAa;AAAA,IACb,gBAAgB,CAAC;AAAA,IACjB,cAAc,CAAC;AAAA,IACf,GAAG;AAAA,EACL;AACA,SAAO,OAAO,oBAAC,cAAY,GAAG,cAAc,CAAE;AAChD;AAEA,SAAS,wBAAwB,MAAM;AACrC,MAAI;AAEJ,YAA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QAAQ,EAAE,CAAC;AACjE,YAAM,EAAE,WAAW,QAAQ,IAAI,iBAAiB;AAAA,QAC9C,OAAO;AAAA,QACP,aAAa;AAAA,QACb,gBAAgB,CAAC;AAAA,MACnB,CAAC;AACD,gBAAU;AAEV,YAAM,SAAS,UAAU;AACzB,mBAAO,MAAM,EAAE,UAAU,sBAAsB,WAAW,CAAC,CAAC,EAAE,IAAI;AAAA,IACpE,CAAC;AAAA,EACH,CAAC;AACH,CAAC;","names":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
Wizard
|
|
4
|
+
} from "../../chunk-B2UBHA66.js";
|
|
5
|
+
import "../../chunk-YND42IXK.js";
|
|
6
|
+
import "../../chunk-WEUVWHMA.js";
|
|
7
|
+
import "../../chunk-IZZ4IIEG.js";
|
|
8
|
+
import "../../chunk-PBEHPQLK.js";
|
|
9
|
+
import "../../chunk-IYG2LAIM.js";
|
|
10
|
+
import "../../chunk-LGUI3PMO.js";
|
|
11
|
+
import "../../chunk-OMV7TLWD.js";
|
|
12
|
+
import "../../chunk-O4D67NN7.js";
|
|
13
|
+
import "../../chunk-4RAY5AOI.js";
|
|
14
|
+
import "../../chunk-SO22IQPY.js";
|
|
15
|
+
import "../../chunk-H566H3MQ.js";
|
|
16
|
+
import "../../chunk-FZGYSLJL.js";
|
|
17
|
+
import "../../chunk-QPTOIZAT.js";
|
|
18
|
+
import "../../chunk-5PIKNCZX.js";
|
|
19
|
+
import "../../chunk-7SOPVGDV.js";
|
|
20
|
+
import "../../chunk-A27LOC4Z.js";
|
|
21
|
+
import "../../chunk-JMVWYAHT.js";
|
|
22
|
+
import "../../chunk-OGJIZ6QH.js";
|
|
23
|
+
import "../../chunk-DC5AK3LW.js";
|
|
24
|
+
import "../../chunk-Z4TWOP3H.js";
|
|
25
|
+
import "../../chunk-U3IGFMCY.js";
|
|
26
|
+
import "../../chunk-3ZOIOVKT.js";
|
|
27
|
+
import "../../chunk-MM7NK5N2.js";
|
|
28
|
+
import "../../chunk-T4EXUIBY.js";
|
|
29
|
+
import "../../chunk-BZN2Z5P7.js";
|
|
30
|
+
import "../../chunk-LAPCUV4D.js";
|
|
31
|
+
import "../../chunk-DHET7RCE.js";
|
|
32
|
+
export {
|
|
33
|
+
Wizard
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=wizard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|