@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,192 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
SectionProgress
|
|
4
|
+
} from "../../chunk-FJQRVFMB.js";
|
|
5
|
+
import {
|
|
6
|
+
render
|
|
7
|
+
} from "../../chunk-66UDJBF6.js";
|
|
8
|
+
import {
|
|
9
|
+
afterEach,
|
|
10
|
+
describe,
|
|
11
|
+
globalExpect,
|
|
12
|
+
it
|
|
13
|
+
} from "../../chunk-XY3XDVMI.js";
|
|
14
|
+
import "../../chunk-LAPCUV4D.js";
|
|
15
|
+
import {
|
|
16
|
+
init_esm_shims
|
|
17
|
+
} from "../../chunk-DHET7RCE.js";
|
|
18
|
+
|
|
19
|
+
// src/cli/components/wizard/section-progress.test.tsx
|
|
20
|
+
init_esm_shims();
|
|
21
|
+
import { jsx } from "react/jsx-runtime";
|
|
22
|
+
describe("SectionProgress component", () => {
|
|
23
|
+
let cleanup;
|
|
24
|
+
afterEach(() => {
|
|
25
|
+
cleanup?.();
|
|
26
|
+
cleanup = void 0;
|
|
27
|
+
});
|
|
28
|
+
describe("rendering", () => {
|
|
29
|
+
it("should render label and current value", () => {
|
|
30
|
+
const { lastFrame, unmount } = render(
|
|
31
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "Web", index: 1, total: 2, next: "API" })
|
|
32
|
+
);
|
|
33
|
+
cleanup = unmount;
|
|
34
|
+
const output = lastFrame();
|
|
35
|
+
globalExpect(output).toContain("Domain:");
|
|
36
|
+
globalExpect(output).toContain("Web");
|
|
37
|
+
});
|
|
38
|
+
it("should show correct index/total format", () => {
|
|
39
|
+
const { lastFrame, unmount } = render(
|
|
40
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Skill", current: "react", index: 1, total: 8, next: "zustand" })
|
|
41
|
+
);
|
|
42
|
+
cleanup = unmount;
|
|
43
|
+
const output = lastFrame();
|
|
44
|
+
globalExpect(output).toContain("[1/8]");
|
|
45
|
+
});
|
|
46
|
+
it("should show different index/total values", () => {
|
|
47
|
+
const { lastFrame, unmount } = render(
|
|
48
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "API", index: 3, total: 4, next: "Mobile" })
|
|
49
|
+
);
|
|
50
|
+
cleanup = unmount;
|
|
51
|
+
const output = lastFrame();
|
|
52
|
+
globalExpect(output).toContain("[3/4]");
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
describe("next item display", () => {
|
|
56
|
+
it("should show 'Next: X' when not last item", () => {
|
|
57
|
+
const { lastFrame, unmount } = render(
|
|
58
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "Web", index: 1, total: 2, next: "API" })
|
|
59
|
+
);
|
|
60
|
+
cleanup = unmount;
|
|
61
|
+
const output = lastFrame();
|
|
62
|
+
globalExpect(output).toContain("Next: API");
|
|
63
|
+
});
|
|
64
|
+
it("should show 'Last step' when on final item", () => {
|
|
65
|
+
const { lastFrame, unmount } = render(
|
|
66
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "API", index: 2, total: 2 })
|
|
67
|
+
);
|
|
68
|
+
cleanup = unmount;
|
|
69
|
+
const output = lastFrame();
|
|
70
|
+
globalExpect(output).toContain("Last step");
|
|
71
|
+
globalExpect(output).not.toContain("Next:");
|
|
72
|
+
});
|
|
73
|
+
it("should show 'Last step' for single item (1/1)", () => {
|
|
74
|
+
const { lastFrame, unmount } = render(
|
|
75
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "Web", index: 1, total: 1 })
|
|
76
|
+
);
|
|
77
|
+
cleanup = unmount;
|
|
78
|
+
const output = lastFrame();
|
|
79
|
+
globalExpect(output).toContain("[1/1]");
|
|
80
|
+
globalExpect(output).toContain("Last step");
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
describe("text styling", () => {
|
|
84
|
+
it("should render label in bold", () => {
|
|
85
|
+
const { lastFrame, unmount } = render(
|
|
86
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "Web", index: 1, total: 2, next: "API" })
|
|
87
|
+
);
|
|
88
|
+
cleanup = unmount;
|
|
89
|
+
const output = lastFrame();
|
|
90
|
+
globalExpect(output).toContain("Domain:");
|
|
91
|
+
});
|
|
92
|
+
it("should render current value with cyan color", () => {
|
|
93
|
+
const { lastFrame, unmount } = render(
|
|
94
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Skill", current: "react", index: 1, total: 3, next: "vue" })
|
|
95
|
+
);
|
|
96
|
+
cleanup = unmount;
|
|
97
|
+
const output = lastFrame();
|
|
98
|
+
globalExpect(output).toContain("react");
|
|
99
|
+
});
|
|
100
|
+
it("should render index/total as dim text", () => {
|
|
101
|
+
const { lastFrame, unmount } = render(
|
|
102
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "CLI", index: 2, total: 3, next: "Mobile" })
|
|
103
|
+
);
|
|
104
|
+
cleanup = unmount;
|
|
105
|
+
const output = lastFrame();
|
|
106
|
+
globalExpect(output).toContain("[2/3]");
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
describe("edge cases", () => {
|
|
110
|
+
it("should handle long label and current value", () => {
|
|
111
|
+
const { lastFrame, unmount } = render(
|
|
112
|
+
/* @__PURE__ */ jsx(
|
|
113
|
+
SectionProgress,
|
|
114
|
+
{
|
|
115
|
+
label: "Subcategory",
|
|
116
|
+
current: "styled-components",
|
|
117
|
+
index: 1,
|
|
118
|
+
total: 5,
|
|
119
|
+
next: "emotion"
|
|
120
|
+
}
|
|
121
|
+
)
|
|
122
|
+
);
|
|
123
|
+
cleanup = unmount;
|
|
124
|
+
const output = lastFrame();
|
|
125
|
+
globalExpect(output).toContain("Subcategory:");
|
|
126
|
+
globalExpect(output).toContain("styled-components");
|
|
127
|
+
});
|
|
128
|
+
it("should handle large index/total numbers", () => {
|
|
129
|
+
const { lastFrame, unmount } = render(
|
|
130
|
+
/* @__PURE__ */ jsx(
|
|
131
|
+
SectionProgress,
|
|
132
|
+
{
|
|
133
|
+
label: "Skill",
|
|
134
|
+
current: "some-skill",
|
|
135
|
+
index: 99,
|
|
136
|
+
total: 100,
|
|
137
|
+
next: "last-skill"
|
|
138
|
+
}
|
|
139
|
+
)
|
|
140
|
+
);
|
|
141
|
+
cleanup = unmount;
|
|
142
|
+
const output = lastFrame();
|
|
143
|
+
globalExpect(output).toContain("[99/100]");
|
|
144
|
+
globalExpect(output).toContain("Next: last-skill");
|
|
145
|
+
});
|
|
146
|
+
it("should handle empty next value gracefully", () => {
|
|
147
|
+
const { lastFrame, unmount } = render(
|
|
148
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "Mobile", index: 4, total: 4, next: void 0 })
|
|
149
|
+
);
|
|
150
|
+
cleanup = unmount;
|
|
151
|
+
const output = lastFrame();
|
|
152
|
+
globalExpect(output).toContain("Last step");
|
|
153
|
+
globalExpect(output).not.toContain("undefined");
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
describe("display variants from spec", () => {
|
|
157
|
+
it("should match multi-domain Build step format", () => {
|
|
158
|
+
const { lastFrame, unmount } = render(
|
|
159
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "Web", index: 1, total: 2, next: "API" })
|
|
160
|
+
);
|
|
161
|
+
cleanup = unmount;
|
|
162
|
+
const output = lastFrame();
|
|
163
|
+
globalExpect(output).toContain("Domain:");
|
|
164
|
+
globalExpect(output).toContain("Web");
|
|
165
|
+
globalExpect(output).toContain("[1/2]");
|
|
166
|
+
globalExpect(output).toContain("Next: API");
|
|
167
|
+
});
|
|
168
|
+
it("should match Refine step format", () => {
|
|
169
|
+
const { lastFrame, unmount } = render(
|
|
170
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Skill", current: "react", index: 1, total: 8, next: "zustand" })
|
|
171
|
+
);
|
|
172
|
+
cleanup = unmount;
|
|
173
|
+
const output = lastFrame();
|
|
174
|
+
globalExpect(output).toContain("Skill:");
|
|
175
|
+
globalExpect(output).toContain("react");
|
|
176
|
+
globalExpect(output).toContain("[1/8]");
|
|
177
|
+
globalExpect(output).toContain("Next: zustand");
|
|
178
|
+
});
|
|
179
|
+
it("should match last item format", () => {
|
|
180
|
+
const { lastFrame, unmount } = render(
|
|
181
|
+
/* @__PURE__ */ jsx(SectionProgress, { label: "Domain", current: "API", index: 2, total: 2 })
|
|
182
|
+
);
|
|
183
|
+
cleanup = unmount;
|
|
184
|
+
const output = lastFrame();
|
|
185
|
+
globalExpect(output).toContain("Domain:");
|
|
186
|
+
globalExpect(output).toContain("API");
|
|
187
|
+
globalExpect(output).toContain("[2/2]");
|
|
188
|
+
globalExpect(output).toContain("Last step");
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
//# sourceMappingURL=section-progress.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/cli/components/wizard/section-progress.test.tsx"],"sourcesContent":["import { render } from \"ink-testing-library\";\nimport { describe, expect, it, afterEach } from \"vitest\";\nimport { SectionProgress } from \"./section-progress\";\n\ndescribe(\"SectionProgress component\", () => {\n let cleanup: (() => void) | undefined;\n\n afterEach(() => {\n cleanup?.();\n cleanup = undefined;\n });\n\n describe(\"rendering\", () => {\n it(\"should render label and current value\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"Web\" index={1} total={2} next=\"API\" />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Domain:\");\n expect(output).toContain(\"Web\");\n });\n\n it(\"should show correct index/total format\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Skill\" current=\"react\" index={1} total={8} next=\"zustand\" />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"[1/8]\");\n });\n\n it(\"should show different index/total values\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"API\" index={3} total={4} next=\"Mobile\" />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"[3/4]\");\n });\n });\n\n describe(\"next item display\", () => {\n it(\"should show 'Next: X' when not last item\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"Web\" index={1} total={2} next=\"API\" />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Next: API\");\n });\n\n it(\"should show 'Last step' when on final item\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"API\" index={2} total={2} />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Last step\");\n expect(output).not.toContain(\"Next:\");\n });\n\n it(\"should show 'Last step' for single item (1/1)\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"Web\" index={1} total={1} />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"[1/1]\");\n expect(output).toContain(\"Last step\");\n });\n });\n\n describe(\"text styling\", () => {\n it(\"should render label in bold\", () => {\n // Note: ink-testing-library doesn't expose ANSI codes directly in lastFrame()\n // but we verify the text content is present and structure is correct\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"Web\" index={1} total={2} next=\"API\" />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n // The label should be present - bold styling is applied via Ink Text component\n expect(output).toContain(\"Domain:\");\n });\n\n it(\"should render current value with cyan color\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Skill\" current=\"react\" index={1} total={3} next=\"vue\" />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n // Current value should be present - cyan styling is applied via Ink Text component\n expect(output).toContain(\"react\");\n });\n\n it(\"should render index/total as dim text\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"CLI\" index={2} total={3} next=\"Mobile\" />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n // Progress indicator should be present - dim styling is applied via Ink Text component\n expect(output).toContain(\"[2/3]\");\n });\n });\n\n describe(\"edge cases\", () => {\n it(\"should handle long label and current value\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress\n label=\"Subcategory\"\n current=\"styled-components\"\n index={1}\n total={5}\n next=\"emotion\"\n />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Subcategory:\");\n expect(output).toContain(\"styled-components\");\n });\n\n it(\"should handle large index/total numbers\", () => {\n const { lastFrame, unmount } = render(\n <SectionProgress\n label=\"Skill\"\n current=\"some-skill\"\n index={99}\n total={100}\n next=\"last-skill\"\n />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"[99/100]\");\n expect(output).toContain(\"Next: last-skill\");\n });\n\n it(\"should handle empty next value gracefully\", () => {\n // When next is undefined (last item case)\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"Mobile\" index={4} total={4} next={undefined} />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Last step\");\n expect(output).not.toContain(\"undefined\");\n });\n });\n\n describe(\"display variants from spec\", () => {\n it(\"should match multi-domain Build step format\", () => {\n // Domain: Web [1/2] Next: API\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"Web\" index={1} total={2} next=\"API\" />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Domain:\");\n expect(output).toContain(\"Web\");\n expect(output).toContain(\"[1/2]\");\n expect(output).toContain(\"Next: API\");\n });\n\n it(\"should match Refine step format\", () => {\n // Skill: react [1/8] Next: zustand\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Skill\" current=\"react\" index={1} total={8} next=\"zustand\" />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Skill:\");\n expect(output).toContain(\"react\");\n expect(output).toContain(\"[1/8]\");\n expect(output).toContain(\"Next: zustand\");\n });\n\n it(\"should match last item format\", () => {\n // Domain: API [2/2] Last step\n const { lastFrame, unmount } = render(\n <SectionProgress label=\"Domain\" current=\"API\" index={2} total={2} />,\n );\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Domain:\");\n expect(output).toContain(\"API\");\n expect(output).toContain(\"[2/2]\");\n expect(output).toContain(\"Last step\");\n });\n });\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAeQ;AAXR,SAAS,6BAA6B,MAAM;AAC1C,MAAI;AAEJ,YAAU,MAAM;AACd,cAAU;AACV,cAAU;AAAA,EACZ,CAAC;AAED,WAAS,aAAa,MAAM;AAC1B,OAAG,yCAAyC,MAAM;AAChD,YAAM,EAAE,WAAW,QAAQ,IAAI;AAAA,QAC7B,oBAAC,mBAAgB,OAAM,UAAS,SAAQ,OAAM,OAAO,GAAG,OAAO,GAAG,MAA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KAAK;AAC9B,mBAAO,MAAM,EAAE,UAAU,OAAO;AAChC,mBAAO,MAAM,EAAE,UAAU,WAAW;AAAA,IACtC,CAAC;AAED,OAAG,mCAAmC,MAAM;AAE1C,YAAM,EAAE,WAAW,QAAQ,IAAI;AAAA,QAC7B,oBAAC,mBAAgB,OAAM,SAAQ,SAAQ,SAAQ,OAAO,GAAG,OAAO,GAAG,MAAK,WAAU;AAAA,MACpF;AACA,gBAAU;AAEV,YAAM,SAAS,UAAU;AACzB,mBAAO,MAAM,EAAE,UAAU,QAAQ;AACjC,mBAAO,MAAM,EAAE,UAAU,OAAO;AAChC,mBAAO,MAAM,EAAE,UAAU,OAAO;AAChC,mBAAO,MAAM,EAAE,UAAU,eAAe;AAAA,IAC1C,CAAC;AAED,OAAG,iCAAiC,MAAM;AAExC,YAAM,EAAE,WAAW,QAAQ,IAAI;AAAA,QAC7B,oBAAC,mBAAgB,OAAM,UAAS,SAAQ,OAAM,OAAO,GAAG,OAAO,GAAG;AAAA,MACpE;AACA,gBAAU;AAEV,YAAM,SAAS,UAAU;AACzB,mBAAO,MAAM,EAAE,UAAU,SAAS;AAClC,mBAAO,MAAM,EAAE,UAAU,KAAK;AAC9B,mBAAO,MAAM,EAAE,UAAU,OAAO;AAChC,mBAAO,MAAM,EAAE,UAAU,WAAW;AAAA,IACtC,CAAC;AAAA,EACH,CAAC;AACH,CAAC;","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
SourceGrid
|
|
4
|
+
} from "../../chunk-5PIKNCZX.js";
|
|
5
|
+
import "../../chunk-7SOPVGDV.js";
|
|
6
|
+
import "../../chunk-A27LOC4Z.js";
|
|
7
|
+
import "../../chunk-JMVWYAHT.js";
|
|
8
|
+
import "../../chunk-DC5AK3LW.js";
|
|
9
|
+
import "../../chunk-LAPCUV4D.js";
|
|
10
|
+
import "../../chunk-DHET7RCE.js";
|
|
11
|
+
export {
|
|
12
|
+
SourceGrid
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=source-grid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|