@aurorajs.dev/catalyst-cli 3.1.2 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/ai/domain/skills-scanner.js +7 -2
- package/dist/deploy/domain/curl-config.js +1 -1
- package/dist/deploy/domain/playbook-vars.js +1 -1
- package/dist/generator/domain/frontend-composition.js +4 -4
- package/dist/generator/domain/property-filters.d.ts +8 -0
- package/dist/generator/domain/property-filters.js +17 -6
- package/dist/generator/handlers/front.handler.js +10 -1
- package/dist/sheets/domain/auth.js +10 -5
- package/dist/sheets/sync/sheet-to-yaml.d.ts +1 -0
- package/dist/sheets/sync/sheet-to-yaml.js +19 -3
- package/dist/templates/backend/application/.claude/skills/catalyst-tools/SKILL.md +5 -3
- package/dist/templates/backend/application/src/@aurora/modules/manual/application/manual-catalog-section-reader.spec.ts +4 -0
- package/dist/templates/backend/application/src/@aurora/modules/manual/application/manual-find-index.handler.spec.ts +2 -0
- package/dist/templates/backend/application/src/@aurora/modules/manual/application/manual-find-index.handler.ts +2 -1
- package/dist/templates/backend/application/src/@aurora/modules/manual/domain/manual-section-reader.port.ts +2 -0
- package/dist/templates/backend/application/src/@aurora/modules/manual/domain/manual.types.ts +2 -0
- package/dist/templates/backend/application/src/@aurora/modules/manual/graphql/manual-graphql-schema.spec.ts +10 -2
- package/dist/templates/backend/application/src/@aurora/modules/manual/graphql/manual.graphql +4 -0
- package/dist/templates/backend/business-rules/business-partner-portal/supplier-document.md +96 -6
- package/dist/templates/backend/business-rules/tools/assistant-usage.md +60 -0
- package/dist/templates/backend/manual/business-partner-portal/CONTEXT.md +5 -5
- package/dist/templates/backend/manual/business-partner-portal/en/purchase-invoice-header.md +5 -1
- package/dist/templates/backend/manual/business-partner-portal/es/purchase-invoice-header.md +5 -1
- package/dist/templates/backend/manual/production-planning/en/planner.md +1 -1
- package/dist/templates/backend/manual/production-planning/en/production-order-position-event.md +8 -5
- package/dist/templates/backend/manual/production-planning/es/planner.md +1 -1
- package/dist/templates/backend/manual/production-planning/es/production-order-position-event.md +8 -5
- package/dist/templates/backend/manual/reporting/en/report.md +40 -0
- package/dist/templates/backend/manual/reporting/es/report.md +40 -0
- package/dist/templates/backend/manual/tools/CONTEXT.md +1 -0
- package/dist/templates/backend/manual/tools/actions.yaml +11 -0
- package/dist/templates/backend/manual/tools/en/assistant-conversation.md +38 -0
- package/dist/templates/backend/manual/tools/en/assistant-usage-policy.md +46 -0
- package/dist/templates/backend/manual/tools/en/assistant-usage.md +28 -0
- package/dist/templates/backend/manual/tools/en/file-storage.md +83 -0
- package/dist/templates/backend/manual/tools/es/assistant-conversation.md +38 -0
- package/dist/templates/backend/manual/tools/es/assistant-usage-policy.md +46 -0
- package/dist/templates/backend/manual/tools/es/assistant-usage.md +28 -0
- package/dist/templates/backend/manual/tools/es/file-storage.md +83 -0
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/infrastructure/business-partner-portal-anthropic-extraction-step-two.service.spec.ts +2 -1
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-build-step-one-request.function.spec.ts +9 -2
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-build-step-one-request.function.ts +6 -3
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-build-step-two-request.function.spec.ts +19 -2
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-build-step-two-request.function.ts +15 -2
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-map-step-one-answer.function.ts +1 -1
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/types/business-partner-portal-anthropic-step-one-answer.types.ts +1 -1
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/extraction-step-two/business-partner-portal-extraction-step-two-context.service.spec.ts +63 -0
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/extraction-step-two/business-partner-portal-extraction-step-two-context.service.ts +25 -3
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/extraction-step-two/business-partner-portal-extraction-step-two-empty.service.spec.ts +1 -0
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/extraction-step-two/business-partner-portal-extraction-step-two.types.ts +5 -0
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/purchase-invoice-extraction/business-partner-portal-map-invoice-ocr-result-to-purchase-invoice.function.spec.ts +1 -1
- package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/purchase-invoice-extraction/business-partner-portal-map-invoice-ocr-result-to-purchase-invoice.function.ts +1 -1
- package/dist/templates/backend/packages/production-planning/src/@app/production-planning/production-order-position/application/get-processes/production-planning-get-processes-production-order-position.handler.spec.ts +5 -2
- package/dist/templates/backend/packages/production-planning/src/@app/production-planning/production-order-position/application/get-processes/production-planning-get-processes-production-order-position.handler.ts +4 -0
- package/dist/templates/backend/packages/reporting/src/@api/reporting/report/dto/reporting-create-report.dto.ts +0 -21
- package/dist/templates/backend/packages/reporting/src/@api/reporting/report/dto/reporting-report.dto.ts +3 -3
- package/dist/templates/backend/packages/reporting/src/@api/reporting/report/dto/reporting-update-report-by-id.dto.ts +0 -48
- package/dist/templates/backend/packages/reporting/src/@api/reporting/report/dto/reporting-update-reports.dto.ts +0 -48
- package/dist/templates/backend/packages/reporting/src/@api/reporting/report/graphql/reporting-report.graphql +3 -20
- package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/create/reporting-create-report.service.ts +2 -2
- package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/reporting-report.payload-types.ts +33 -0
- package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/update/reporting-update-report-by-id.handler.spec.ts +77 -0
- package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/update/reporting-update-report-by-id.service.ts +2 -2
- package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/update/reporting-update-reports.service.ts +2 -2
- package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/update-execution-cache/reporting-update-report-execution-cache.handler.spec.ts +35 -0
- package/dist/templates/backend/packages/reporting/src/@app/reporting/report/domain/reporting-report.field-schema.ts +7 -0
- package/dist/templates/backend/packages/reporting/src/@app/reporting/report/index.ts +5 -0
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-conversation/dto/tools-assistant-conversation.dto.ts +8 -1
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-conversation/dto/tools-update-assistant-conversation-by-id.dto.ts +8 -1
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-conversation/dto/tools-update-assistant-conversations.dto.ts +8 -1
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-conversation/graphql/tools-assistant-conversation.graphql +8 -1
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/controllers/tools-ask-assistant-assistant-usage.controller.ts +1 -0
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-ask-assistant.dto.ts +47 -0
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-assistant-answer.dto.ts +1 -0
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-assistant-usage.dto.ts +8 -1
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-update-assistant-usage-by-id.dto.ts +8 -1
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-update-assistant-usages.dto.ts +8 -1
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/graphql/tools-assistant-usage.graphql +45 -1
- package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/resolvers/tools-ask-assistant-assistant-usage.resolver.ts +1 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/anthropic/infrastructure/tools-anthropic-assistant-model.service.spec.ts +1 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/anthropic/shared/functions/tools-anthropic-build-assistant-request.function.spec.ts +145 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/anthropic/shared/functions/tools-anthropic-build-assistant-request.function.ts +44 -2
- package/dist/templates/backend/packages/tools/src/@app/tools/anthropic/shared/types/tools-anthropic-assistant-answer.types.ts +3 -2
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-conversation/domain/tools-assistant-conversation.field-schema.ts +6 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-conversation/infrastructure/drizzle/tools-drizzle-assistant-conversation.schema.ts +1 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-ask-assistant-assistant-usage.handler.spec.ts +105 -5
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-ask-assistant-assistant-usage.handler.ts +40 -23
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-assistant-errors.function.ts +8 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-assistant-read-screen.function.spec.ts +257 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-assistant-read-screen.function.ts +200 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/quota/tools-assistant-quota.service.spec.ts +7 -2
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/quota/tools-assistant-quota.service.ts +7 -2
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/domain/tools-assistant-model.port.ts +44 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/domain/tools-assistant-usage.field-schema.ts +6 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/infrastructure/drizzle/tools-drizzle-assistant-usage.repository.spec.ts +25 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/infrastructure/drizzle/tools-drizzle-assistant-usage.repository.ts +3 -0
- package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/infrastructure/drizzle/tools-drizzle-assistant-usage.schema.ts +1 -0
- package/dist/templates/backend/packages/tools/test/acceptance/tools/assistant-ask.e2e-spec.ts +16 -1
- package/dist/templates/backend/packages/tools/test/acceptance/tools/assistant-usage-increment.e2e-spec.ts +52 -5
- package/dist/templates/codegen/frontend/module/__module_name__/features/__module_name__-list.component.ts.eta +7 -1
- package/dist/templates/codegen/frontend/module/__module_name__/features/index.ts.eta +1 -1
- package/dist/templates/frontend/application/.claude/skills/catalyst-project-structure/SKILL.md +3 -0
- package/dist/templates/frontend/application/angular.json +2 -0
- package/dist/templates/frontend/application/libs/ui/command/src/lib/hlm-command-item.ts +1 -1
- package/dist/templates/frontend/application/src/@aurora/modules/assisted-form/README.md +2 -0
- package/dist/templates/frontend/application/src/@aurora/modules/command-palette/command-palette-trigger.component.ts +1 -0
- package/dist/templates/frontend/application/src/@aurora/modules/guided-action/README.md +4 -0
- package/dist/templates/frontend/application/src/@aurora/modules/guided-action/guided-action-runner.service.spec.ts +69 -0
- package/dist/templates/frontend/application/src/@aurora/modules/guided-action/guided-action-runner.service.ts +13 -4
- package/dist/templates/frontend/application/src/@aurora/modules/index.ts +1 -0
- package/dist/templates/frontend/application/src/@aurora/modules/manual/manual.graphql.ts +1 -0
- package/dist/templates/frontend/application/src/@aurora/modules/screen-context/README.md +36 -0
- package/dist/templates/frontend/application/src/@aurora/modules/screen-context/index.ts +2 -0
- package/dist/templates/frontend/application/src/@aurora/modules/screen-context/screen-context.service.spec.ts +137 -0
- package/dist/templates/frontend/application/src/@aurora/modules/screen-context/screen-context.service.ts +60 -0
- package/dist/templates/frontend/application/src/@aurora/modules/screen-context/screen-context.types.ts +47 -0
- package/dist/templates/frontend/application/src/app/domains/admin/layout/site-header.ts +1 -1
- package/dist/templates/frontend/application/tsconfig.json +1 -0
- package/dist/templates/frontend/navigation-i18n/reporting/en.json +1 -1
- package/dist/templates/frontend/navigation-i18n/reporting/es.json +1 -1
- package/dist/templates/frontend/packages/automation/src/app/domains/admin/apps/automation/state-machine-history/features/index.ts +0 -1
- package/dist/templates/frontend/packages/automation/src/app/domains/admin/apps/automation/state-machine-history/features/state-machine-history-list.component.ts +0 -13
- package/dist/templates/frontend/packages/business-partner-portal/public/i18n/business-partner-portal/en.json +11 -0
- package/dist/templates/frontend/packages/business-partner-portal/public/i18n/business-partner-portal/es.json +11 -0
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/data-access/purchase-invoice-review-context.derive.spec.ts +420 -0
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/data-access/purchase-invoice-review-context.derive.ts +237 -0
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/data-access/purchase-invoice-review.derive.spec.ts +181 -26
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/data-access/purchase-invoice-review.derive.ts +143 -25
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/features/purchase-invoice-header-detail.component.spec.ts +42 -0
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/features/purchase-invoice-header-detail.component.ts +32 -8
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/features/purchase-invoice-header-form.component.ts +32 -1
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/features/purchase-invoice-header-list-actions-cell.component.ts +4 -1
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/ui/purchase-invoice-breakdown.component.ts +7 -32
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/ui/purchase-invoice-lines-grid.component.ts +12 -8
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-trace/features/index.ts +0 -1
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-trace/features/purchase-invoice-trace-list.component.ts +0 -13
- package/dist/templates/frontend/packages/identity/src/app/domains/admin/apps/iam/account/features/account-form.component.spec.ts +26 -1
- package/dist/templates/frontend/packages/identity/src/app/domains/admin/apps/iam/account/features/account-form.component.ts +45 -0
- package/dist/templates/frontend/packages/production-planning/public/i18n/production-planning/en.json +16 -4
- package/dist/templates/frontend/packages/production-planning/public/i18n/production-planning/es.json +16 -4
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/index.ts +1 -0
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner-process-weights.derive.spec.ts +76 -0
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner-process-weights.derive.ts +49 -0
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner.derive.spec.ts +15 -0
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner.derive.ts +7 -3
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner.graphql.ts +23 -0
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/features/planner-process-weights-dialog.component.ts +139 -0
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/features/planner.component.ts +41 -4
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/data-access/production-dashboard.derive.spec.ts +0 -30
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/data-access/production-dashboard.derive.ts +0 -21
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/data-access/production-dashboard.resolvers.spec.ts +24 -0
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/data-access/production-dashboard.resolvers.ts +3 -1
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/batch-detail-sheet.component.ts +22 -10
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/event-form-sheet.component.spec.ts +142 -0
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/event-form-sheet.component.ts +95 -59
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/event-list.component.ts +121 -123
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/production-dashboard.component.ts +52 -19
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-order-position/features/production-order-position-list.component.ts +8 -2
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-order-position-event/features/production-order-position-event-list.component.ts +4 -0
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-order-position-event/production-order-position-event.columns.spec.ts +104 -4
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-order-position-event/production-order-position-event.columns.ts +121 -69
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/shared/dialogs/finish-event-dialog.component.ts +3 -3
- package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/shared/dialogs/weight-input-dialog.component.ts +3 -3
- package/dist/templates/frontend/packages/reporting/public/i18n/reporting/en.json +1 -1
- package/dist/templates/frontend/packages/reporting/public/i18n/reporting/es.json +1 -1
- package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/data-access/report.detail-config.ts +1 -2
- package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/data-access/report.graphql.ts +0 -14
- package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/features/report-form.component.spec.ts +96 -0
- package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/features/report-form.component.ts +46 -69
- package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/features/report-list.component.ts +2 -22
- package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/report.columns.ts +0 -1
- package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/reporting-icons.providers.ts +2 -1
- package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/reporting.navigation.ts +7 -0
- package/dist/templates/frontend/packages/tools/public/i18n/tools/en.json +4 -2
- package/dist/templates/frontend/packages/tools/public/i18n/tools/es.json +4 -2
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant/tools-assistant.service.spec.ts +82 -7
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant/tools-assistant.service.ts +12 -2
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/assistant-conversation.columns.ts +13 -0
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/data-access/assistant-conversation.graphql.ts +1 -0
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/features/assistant-conversation-form.component.ts +18 -0
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/features/assistant-conversation-list.component.ts +0 -13
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/features/index.ts +0 -1
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/assistant-usage.columns.ts +13 -0
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/data-access/assistant-usage.graphql.ts +2 -0
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/features/assistant-usage-form.component.ts +18 -0
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/features/assistant-usage-list.component.ts +0 -13
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/features/index.ts +0 -1
- package/dist/templates/monorepo/.claude/commands/business-rules/promote.md +5 -1
- package/dist/templates/monorepo/.claude/hooks/__fixtures__/br-hr-regression-baseline.txt +2 -2
- package/dist/templates/monorepo/.claude/hooks/check-required-setup.ts +4 -4
- package/dist/templates/monorepo/.claude/hooks/inject-prompt-context.ts +1 -1
- package/dist/templates/monorepo/.claude/scripts/generate-skills-index.test.ts +29 -1
- package/dist/templates/monorepo/.claude/scripts/generate-skills-index.ts +7 -1
- package/dist/templates/monorepo/.claude/skills/REGISTRY.md +2 -2
- package/dist/templates/monorepo/.claude/skills/catalyst-backlog/SKILL.md +19 -4
- package/dist/templates/monorepo/.claude/skills/catalyst-backlog/frontier-worker-addendum.md +3 -3
- package/dist/templates/monorepo/.claude/skills/catalyst-business-rules-guard/SKILL.md +8 -5
- package/dist/templates/monorepo/.claude/skills/catalyst-business-rules-guard/references/workflow.md +10 -6
- package/dist/templates/monorepo/.claude/skills/catalyst-delegation/SKILL.md +1 -1
- package/dist/templates/monorepo/.claude/skills/catalyst-harness-rules-guard/SKILL.md +6 -6
- package/dist/templates/monorepo/.claude/skills/catalyst-harness-rules-guard/references/enforcement.md +3 -3
- package/dist/templates/monorepo/.claude/skills/catalyst-harness-rules-guard/references/format.md +3 -3
- package/dist/templates/monorepo/.claude/skills/catalyst-update-skill-registry/SKILL.md +4 -4
- package/dist/templates/monorepo/.claude/skills/catalyst-user-manual/SKILL.md +48 -2
- package/dist/templates/monorepo/.claude/skills/openspec-apply-change/SKILL.md +28 -10
- package/dist/templates/monorepo/.claude/skills/openspec-archive-change/SKILL.md +52 -13
- package/dist/templates/monorepo/.claude/skills/openspec-explore/SKILL.md +59 -14
- package/dist/templates/monorepo/.claude/skills/openspec-propose/SKILL.md +38 -12
- package/dist/templates/monorepo/.claude/skills/openspec-sync-specs/SKILL.md +31 -3
- package/dist/templates/monorepo/CLAUDE.md +14 -14
- package/dist/templates/monorepo/docs/business-rules/ARCHITECTURE.md +16 -13
- package/dist/templates/monorepo/docs/business-rules/MIGRATION.md +5 -5
- package/dist/templates/monorepo/docs/manual/en/04-asistente.md +71 -0
- package/dist/templates/monorepo/docs/manual/es/04-asistente.md +71 -0
- package/dist/templates/monorepo/openspec/config.yaml +25 -5
- package/dist/templates/monorepo/package.json +3 -1
- package/dist/templates/monorepo/scripts/backlog/prompt.test.ts +5 -5
- package/dist/templates/monorepo/scripts/backlog/prompt.ts +1 -1
- package/dist/templates/monorepo/scripts/business-rules/audit.ts +1 -1
- package/dist/templates/monorepo/scripts/manual/compile.test.ts +78 -0
- package/dist/templates/monorepo/scripts/manual/compile.ts +36 -9
- package/dist/templates/monorepo/scripts/worktree/prune.test.ts +517 -0
- package/dist/templates/monorepo/scripts/worktree/prune.ts +331 -0
- package/oclif.manifest.json +408 -408
- package/package.json +15 -17
- package/dist/templates/frontend/packages/automation/src/app/domains/admin/apps/automation/state-machine-history/features/state-machine-history-list-actions-cell.component.ts +0 -44
- package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-trace/features/purchase-invoice-trace-list-actions-cell.component.ts +0 -44
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/features/assistant-conversation-list-actions-cell.component.ts +0 -44
- package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/features/assistant-usage-list-actions-cell.component.ts +0 -43
- package/dist/templates/monorepo/.claude/commands/opsx/apply.md +0 -184
- package/dist/templates/monorepo/.claude/commands/opsx/archive.md +0 -225
- package/dist/templates/monorepo/.claude/commands/opsx/explore.md +0 -196
- package/dist/templates/monorepo/.claude/commands/opsx/propose.md +0 -145
- package/dist/templates/monorepo/.claude/commands/opsx/sync.md +0 -258
package/oclif.manifest.json
CHANGED
|
@@ -247,6 +247,56 @@
|
|
|
247
247
|
"run.js"
|
|
248
248
|
]
|
|
249
249
|
},
|
|
250
|
+
"deploy": {
|
|
251
|
+
"aliases": [],
|
|
252
|
+
"args": {},
|
|
253
|
+
"description": "Trigger deploy by pushing source branches to environments/{env}.",
|
|
254
|
+
"examples": [
|
|
255
|
+
"<%= config.bin %> deploy",
|
|
256
|
+
"<%= config.bin %> deploy --env dev",
|
|
257
|
+
"<%= config.bin %> deploy --dry-run",
|
|
258
|
+
"<%= config.bin %> deploy --env prod -c ../aurora.yaml"
|
|
259
|
+
],
|
|
260
|
+
"flags": {
|
|
261
|
+
"config": {
|
|
262
|
+
"char": "c",
|
|
263
|
+
"description": "Path to aurora.yaml config file",
|
|
264
|
+
"name": "config",
|
|
265
|
+
"default": "./aurora.yaml",
|
|
266
|
+
"hasDynamicHelp": false,
|
|
267
|
+
"multiple": false,
|
|
268
|
+
"type": "option"
|
|
269
|
+
},
|
|
270
|
+
"dry-run": {
|
|
271
|
+
"description": "Show what would be pushed without executing",
|
|
272
|
+
"name": "dry-run",
|
|
273
|
+
"allowNo": false,
|
|
274
|
+
"type": "boolean"
|
|
275
|
+
},
|
|
276
|
+
"env": {
|
|
277
|
+
"description": "Deploy only this environment (e.g. dev, qa, prod)",
|
|
278
|
+
"name": "env",
|
|
279
|
+
"hasDynamicHelp": false,
|
|
280
|
+
"multiple": false,
|
|
281
|
+
"type": "option"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"hasDynamicHelp": false,
|
|
285
|
+
"hiddenAliases": [],
|
|
286
|
+
"id": "deploy",
|
|
287
|
+
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
288
|
+
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
289
|
+
"pluginType": "core",
|
|
290
|
+
"strict": true,
|
|
291
|
+
"enableJsonFlag": false,
|
|
292
|
+
"isESM": true,
|
|
293
|
+
"relativePath": [
|
|
294
|
+
"dist",
|
|
295
|
+
"commands",
|
|
296
|
+
"deploy",
|
|
297
|
+
"index.js"
|
|
298
|
+
]
|
|
299
|
+
},
|
|
250
300
|
"env:decrypt": {
|
|
251
301
|
"aliases": [],
|
|
252
302
|
"args": {},
|
|
@@ -351,6 +401,40 @@
|
|
|
351
401
|
"encrypt.js"
|
|
352
402
|
]
|
|
353
403
|
},
|
|
404
|
+
"keys": {
|
|
405
|
+
"aliases": [],
|
|
406
|
+
"args": {},
|
|
407
|
+
"description": "Generate RSA private key and public key (defaults to ./backend/.keys)",
|
|
408
|
+
"examples": [
|
|
409
|
+
"<%= config.bin %> <%= command.id %>",
|
|
410
|
+
"<%= config.bin %> <%= command.id %> --out ./keys"
|
|
411
|
+
],
|
|
412
|
+
"flags": {
|
|
413
|
+
"out": {
|
|
414
|
+
"char": "o",
|
|
415
|
+
"description": "Output directory for the key files (default: backend/.keys)",
|
|
416
|
+
"name": "out",
|
|
417
|
+
"hasDynamicHelp": false,
|
|
418
|
+
"multiple": false,
|
|
419
|
+
"type": "option"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"hasDynamicHelp": false,
|
|
423
|
+
"hiddenAliases": [],
|
|
424
|
+
"id": "keys",
|
|
425
|
+
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
426
|
+
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
427
|
+
"pluginType": "core",
|
|
428
|
+
"strict": true,
|
|
429
|
+
"enableJsonFlag": false,
|
|
430
|
+
"isESM": true,
|
|
431
|
+
"relativePath": [
|
|
432
|
+
"dist",
|
|
433
|
+
"commands",
|
|
434
|
+
"keys",
|
|
435
|
+
"index.js"
|
|
436
|
+
]
|
|
437
|
+
},
|
|
354
438
|
"generate": {
|
|
355
439
|
"aliases": [],
|
|
356
440
|
"args": {
|
|
@@ -466,27 +550,66 @@
|
|
|
466
550
|
"index.js"
|
|
467
551
|
]
|
|
468
552
|
},
|
|
469
|
-
"
|
|
553
|
+
"new": {
|
|
554
|
+
"aliases": [],
|
|
555
|
+
"args": {
|
|
556
|
+
"name": {
|
|
557
|
+
"description": "Name of the project to create.",
|
|
558
|
+
"name": "name",
|
|
559
|
+
"required": true
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
"description": "It initializes a git repository in the project directory and commits exactly the files its scaffold copy produces, before the install and the code generation run, on a branch named \"aurora/scaffold\". It then creates main at that commit and leaves main checked out. pnpm-lock.yaml, backend/.env, the OAuth key pair in backend/.keys (the one \"catalyst keys\" writes) and the GraphQL codegen output are created afterwards, so they are not part of that commit. git must be on the PATH.\n\nThe \"aurora/scaffold\" branch is the merge base of \"catalyst add\" and \"catalyst upgrade\", the only commands that write to it. It exists only in the clone that ran \"catalyst new\" until it is pushed with main: \"git push origin main aurora/scaffold\". A fresh clone gets it with \"git fetch origin aurora/scaffold:aurora/scaffold\".",
|
|
563
|
+
"examples": [
|
|
564
|
+
"<%= config.bin %> new my-project",
|
|
565
|
+
"<%= config.bin %> new my-project --force"
|
|
566
|
+
],
|
|
567
|
+
"flags": {
|
|
568
|
+
"force": {
|
|
569
|
+
"char": "f",
|
|
570
|
+
"description": "Overwrite existing directory.",
|
|
571
|
+
"name": "force",
|
|
572
|
+
"allowNo": false,
|
|
573
|
+
"type": "boolean"
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"hasDynamicHelp": false,
|
|
577
|
+
"hiddenAliases": [],
|
|
578
|
+
"id": "new",
|
|
579
|
+
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
580
|
+
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
581
|
+
"pluginType": "core",
|
|
582
|
+
"strict": true,
|
|
583
|
+
"summary": "Create a new Aurora monorepo project.",
|
|
584
|
+
"enableJsonFlag": false,
|
|
585
|
+
"isESM": true,
|
|
586
|
+
"relativePath": [
|
|
587
|
+
"dist",
|
|
588
|
+
"commands",
|
|
589
|
+
"new",
|
|
590
|
+
"index.js"
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
"pipeline": {
|
|
470
594
|
"aliases": [],
|
|
471
595
|
"args": {},
|
|
472
|
-
"description": "Generate
|
|
596
|
+
"description": "Generate a deploy workflow and its supporting files from templates (interactive).",
|
|
473
597
|
"examples": [
|
|
474
|
-
"<%= config.bin %>
|
|
475
|
-
"<%= config.bin %>
|
|
598
|
+
"<%= config.bin %> pipeline",
|
|
599
|
+
"<%= config.bin %> pipeline --force"
|
|
476
600
|
],
|
|
477
601
|
"flags": {
|
|
478
|
-
"
|
|
479
|
-
"char": "
|
|
480
|
-
"description": "
|
|
481
|
-
"name": "
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
"type": "option"
|
|
602
|
+
"force": {
|
|
603
|
+
"char": "f",
|
|
604
|
+
"description": "Overwrite existing files of the set",
|
|
605
|
+
"name": "force",
|
|
606
|
+
"allowNo": false,
|
|
607
|
+
"type": "boolean"
|
|
485
608
|
}
|
|
486
609
|
},
|
|
487
610
|
"hasDynamicHelp": false,
|
|
488
611
|
"hiddenAliases": [],
|
|
489
|
-
"id": "
|
|
612
|
+
"id": "pipeline",
|
|
490
613
|
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
491
614
|
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
492
615
|
"pluginType": "core",
|
|
@@ -496,19 +619,17 @@
|
|
|
496
619
|
"relativePath": [
|
|
497
620
|
"dist",
|
|
498
621
|
"commands",
|
|
499
|
-
"
|
|
622
|
+
"pipeline",
|
|
500
623
|
"index.js"
|
|
501
624
|
]
|
|
502
625
|
},
|
|
503
|
-
"
|
|
626
|
+
"provision:audit": {
|
|
504
627
|
"aliases": [],
|
|
505
628
|
"args": {},
|
|
506
|
-
"description": "
|
|
629
|
+
"description": "Compare Coolify servers with the state aurora.yaml declares, without changing them. Exits non-zero on drift or when an expected port state is violated.",
|
|
507
630
|
"examples": [
|
|
508
|
-
"<%= config.bin %>
|
|
509
|
-
"<%= config.bin %>
|
|
510
|
-
"<%= config.bin %> deploy --dry-run",
|
|
511
|
-
"<%= config.bin %> deploy --env prod -c ../aurora.yaml"
|
|
631
|
+
"<%= config.bin %> provision audit",
|
|
632
|
+
"<%= config.bin %> provision audit --env prod"
|
|
512
633
|
],
|
|
513
634
|
"flags": {
|
|
514
635
|
"config": {
|
|
@@ -520,14 +641,8 @@
|
|
|
520
641
|
"multiple": false,
|
|
521
642
|
"type": "option"
|
|
522
643
|
},
|
|
523
|
-
"dry-run": {
|
|
524
|
-
"description": "Show what would be pushed without executing",
|
|
525
|
-
"name": "dry-run",
|
|
526
|
-
"allowNo": false,
|
|
527
|
-
"type": "boolean"
|
|
528
|
-
},
|
|
529
644
|
"env": {
|
|
530
|
-
"description": "
|
|
645
|
+
"description": "Audit only this environment (e.g. dev, qa, prod)",
|
|
531
646
|
"name": "env",
|
|
532
647
|
"hasDynamicHelp": false,
|
|
533
648
|
"multiple": false,
|
|
@@ -536,7 +651,7 @@
|
|
|
536
651
|
},
|
|
537
652
|
"hasDynamicHelp": false,
|
|
538
653
|
"hiddenAliases": [],
|
|
539
|
-
"id": "
|
|
654
|
+
"id": "provision:audit",
|
|
540
655
|
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
541
656
|
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
542
657
|
"pluginType": "core",
|
|
@@ -546,431 +661,93 @@
|
|
|
546
661
|
"relativePath": [
|
|
547
662
|
"dist",
|
|
548
663
|
"commands",
|
|
549
|
-
"
|
|
550
|
-
"
|
|
664
|
+
"provision",
|
|
665
|
+
"audit.js"
|
|
551
666
|
]
|
|
552
667
|
},
|
|
553
|
-
"
|
|
668
|
+
"provision": {
|
|
554
669
|
"aliases": [],
|
|
555
|
-
"args": {
|
|
556
|
-
|
|
557
|
-
"description": "Name of the project to create.",
|
|
558
|
-
"name": "name",
|
|
559
|
-
"required": true
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
"description": "It initializes a git repository in the project directory and commits exactly the files its scaffold copy produces, before the install and the code generation run, on a branch named \"aurora/scaffold\". It then creates main at that commit and leaves main checked out. pnpm-lock.yaml, backend/.env, the OAuth key pair in backend/.keys (the one \"catalyst keys\" writes) and the GraphQL codegen output are created afterwards, so they are not part of that commit. git must be on the PATH.\n\nThe \"aurora/scaffold\" branch is the merge base of \"catalyst add\" and \"catalyst upgrade\", the only commands that write to it. It exists only in the clone that ran \"catalyst new\" until it is pushed with main: \"git push origin main aurora/scaffold\". A fresh clone gets it with \"git fetch origin aurora/scaffold:aurora/scaffold\".",
|
|
670
|
+
"args": {},
|
|
671
|
+
"description": "Provision Aurora project infrastructure on Coolify: the server layer and the application layer (project, PostgreSQL and Redis if declared, both applications, their variables, the deploy trigger and its GitHub secret and variables).",
|
|
563
672
|
"examples": [
|
|
564
|
-
"<%= config.bin %>
|
|
565
|
-
"<%= config.bin %>
|
|
673
|
+
"<%= config.bin %> provision --env dev",
|
|
674
|
+
"CATALYST_GHCR_TOKEN=ghp_x <%= config.bin %> provision --env prod # servers and applications"
|
|
566
675
|
],
|
|
567
676
|
"flags": {
|
|
568
|
-
"
|
|
569
|
-
"char": "
|
|
570
|
-
"description": "
|
|
571
|
-
"name": "
|
|
677
|
+
"config": {
|
|
678
|
+
"char": "c",
|
|
679
|
+
"description": "Path to aurora.yaml config file",
|
|
680
|
+
"name": "config",
|
|
681
|
+
"default": "./aurora.yaml",
|
|
682
|
+
"hasDynamicHelp": false,
|
|
683
|
+
"multiple": false,
|
|
684
|
+
"type": "option"
|
|
685
|
+
},
|
|
686
|
+
"env": {
|
|
687
|
+
"description": "Provision only this environment (e.g. dev, qa, prod)",
|
|
688
|
+
"name": "env",
|
|
689
|
+
"hasDynamicHelp": false,
|
|
690
|
+
"multiple": false,
|
|
691
|
+
"type": "option"
|
|
692
|
+
},
|
|
693
|
+
"full-upgrade": {
|
|
694
|
+
"description": "Besides the security updates, upgrade every installed package. This can upgrade Docker, which restarts Coolify and every application on the server.",
|
|
695
|
+
"name": "full-upgrade",
|
|
572
696
|
"allowNo": false,
|
|
573
697
|
"type": "boolean"
|
|
574
698
|
}
|
|
575
699
|
},
|
|
576
700
|
"hasDynamicHelp": false,
|
|
577
701
|
"hiddenAliases": [],
|
|
578
|
-
"id": "
|
|
702
|
+
"id": "provision",
|
|
579
703
|
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
580
704
|
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
581
705
|
"pluginType": "core",
|
|
582
706
|
"strict": true,
|
|
583
|
-
"summary": "Create a new Aurora monorepo project.",
|
|
584
707
|
"enableJsonFlag": false,
|
|
585
708
|
"isESM": true,
|
|
586
709
|
"relativePath": [
|
|
587
710
|
"dist",
|
|
588
711
|
"commands",
|
|
589
|
-
"
|
|
712
|
+
"provision",
|
|
590
713
|
"index.js"
|
|
591
714
|
]
|
|
592
715
|
},
|
|
593
|
-
"
|
|
716
|
+
"upgrade": {
|
|
594
717
|
"aliases": [],
|
|
595
|
-
"args": {
|
|
596
|
-
|
|
597
|
-
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
598
|
-
"name": "pathspec",
|
|
599
|
-
"required": false
|
|
600
|
-
}
|
|
601
|
-
},
|
|
602
|
-
"description": "Adopt the codegen proposal: replace current with `.origin` and delete `.origin`.",
|
|
718
|
+
"args": {},
|
|
719
|
+
"description": "Run it from the root of the project, on the branch that should receive the upgrade. git must be on the PATH.\n\n1. It reads the installed packages from aurora.lock.yaml and refuses to run without it, or when the running CLI no longer ships a locked package. It also refuses, before changing anything, when the \"aurora/scaffold\" branch is missing or when a tracked file has staged or unstaged changes (untracked files do not count): commit or stash them first.\n2. It migrates the module definition files, with no version gate, so a rerun after a merge picks up late arrivals: it renames each cliter/<bc>/<module>.aurora.yaml to <module>.module.yaml with \"git mv\", rewrites in every tracked file the two generated lines that name the old file (the \"@source\" header and the field-schema \"derived from\" line, changing only the suffix), and recomputes the cliter/<bc>/.locks integrity of a rewritten file only when the stored hash matched the file before the rewrite, so a file you modified still shows up as modified. Developer comments and docs are not touched. If both names exist for one module it stops, naming both paths. When it changed something it commits exactly that in one commit, \"chore(catalyst): rename module definition files to <module>.module.yaml\", running the project's git hooks, before the merge.\n3. It renders the scaffold of the running CLI plus every locked package into a temporary directory, with the composition files generated from the package manifests and the lockfile updated to the running CLI version. The install, the backend/.env copy and the GraphQL codegen are not part of that rendering, so pnpm-lock.yaml, backend/.env and backend/src/@api/graphql.ts never enter it.\n4. It commits that rendering on \"aurora/scaffold\" as a child of its tip, without switching branches or touching the working tree. When the rendering equals the tip it creates no commit, and it reports the scaffold as up to date only when the tip is already contained in the checked-out branch; otherwise it runs the merge again.\n5. It runs \"git merge --no-edit aurora/scaffold\" on the checked-out branch.\n6. After a merge without conflict it installs the dependencies, appends to backend/.env the keys with a declared value that any locked package declares and the file lacks (an existing value is never changed), regenerates the GraphQL types and the business-rules index, and prints what is left to do: \"pnpm db:generate --name <package>\" for each package whose backend changed, the required keys missing in backend/.env and the tools SQL scripts to run. It never generates or applies a schema migration.\n\nGit's three-way merge resolves ownership. A file the project never changed (for example under backend/src/@aurora/) takes the new rendering's content. A file the project changed (wiring, custom module declarations, aurora.yaml) keeps its changes and receives only the rendering's own delta. A file the rendering removed and the project never changed is deleted.\n\nWhen the project and the rendering change the same lines, the command exits non-zero, lists the conflicted files, names the post-merge steps to run after the resolution together with the backend/.env keys to add (with their value) or to set, and leaves the merge in progress. Resolve the markers, then \"git add\" and \"git commit\", or discard the upgrade with \"git merge --abort\"; the next run merges the same rendering again.\n\nThe \"aurora/scaffold\" branch must exist: \"catalyst new\" creates it. It lives in the clone that ran \"catalyst new\" until it is pushed: after each upgrade, \"git push origin aurora/scaffold\" together with the merged branch, and a fresh clone gets it with \"git fetch origin aurora/scaffold:aurora/scaffold\". Installed packages upgrade here together with the scaffold; the framework npm packages update through npm.\n\nA post-merge step that fails (for example the install without network) stops the command with a non-zero exit after the merge commit: it names the failed step and the ones not run, and prints the pending backend/.env keys, because a rerun finds the project up to date.\n\nTo restore a file to its pristine rendering: git checkout aurora/scaffold -- <path>\nTo undo a completed upgrade: git reset --hard ORIG_HEAD\nWhen the run created the migration commit (\"chore(catalyst): rename module definition files to <module>.module.yaml\"), it sits before the merge: after that reset, git reset --hard HEAD~1 undoes it too.",
|
|
603
720
|
"examples": [
|
|
604
|
-
"<%= config.bin %>
|
|
605
|
-
"<%= config.bin %>
|
|
606
|
-
"<%= config.bin %> origin accept backend/iam/",
|
|
607
|
-
"<%= config.bin %> origin accept --json"
|
|
721
|
+
"<%= config.bin %> upgrade",
|
|
722
|
+
"<%= config.bin %> upgrade --verbose"
|
|
608
723
|
],
|
|
609
724
|
"flags": {
|
|
610
|
-
"
|
|
611
|
-
"
|
|
612
|
-
"
|
|
725
|
+
"verbose": {
|
|
726
|
+
"char": "v",
|
|
727
|
+
"description": "Report all steps on screen.",
|
|
728
|
+
"name": "verbose",
|
|
613
729
|
"allowNo": false,
|
|
614
730
|
"type": "boolean"
|
|
615
731
|
}
|
|
616
732
|
},
|
|
617
733
|
"hasDynamicHelp": false,
|
|
618
734
|
"hiddenAliases": [],
|
|
619
|
-
"id": "
|
|
735
|
+
"id": "upgrade",
|
|
620
736
|
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
621
737
|
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
622
738
|
"pluginType": "core",
|
|
623
739
|
"strict": true,
|
|
740
|
+
"summary": "Merge the current scaffold and the locked packages into an installed project through its \"aurora/scaffold\" branch.",
|
|
624
741
|
"enableJsonFlag": false,
|
|
625
742
|
"isESM": true,
|
|
626
743
|
"relativePath": [
|
|
627
744
|
"dist",
|
|
628
745
|
"commands",
|
|
629
|
-
"
|
|
630
|
-
"
|
|
746
|
+
"upgrade",
|
|
747
|
+
"index.js"
|
|
631
748
|
]
|
|
632
749
|
},
|
|
633
|
-
"
|
|
634
|
-
"aliases": [],
|
|
635
|
-
"args": {
|
|
636
|
-
"pathspec": {
|
|
637
|
-
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
638
|
-
"name": "pathspec",
|
|
639
|
-
"required": false
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
"description": "Print a unified diff of each `.origin` proposal against its current file.",
|
|
643
|
-
"examples": [
|
|
644
|
-
"<%= config.bin %> origin diff",
|
|
645
|
-
"<%= config.bin %> origin diff backend/foo.ts",
|
|
646
|
-
"<%= config.bin %> origin diff --json"
|
|
647
|
-
],
|
|
648
|
-
"flags": {
|
|
649
|
-
"json": {
|
|
650
|
-
"description": "Emit machine-readable JSON instead of human text.",
|
|
651
|
-
"name": "json",
|
|
652
|
-
"allowNo": false,
|
|
653
|
-
"type": "boolean"
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
"hasDynamicHelp": false,
|
|
657
|
-
"hiddenAliases": [],
|
|
658
|
-
"id": "origin:diff",
|
|
659
|
-
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
660
|
-
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
661
|
-
"pluginType": "core",
|
|
662
|
-
"strict": true,
|
|
663
|
-
"enableJsonFlag": false,
|
|
664
|
-
"isESM": true,
|
|
665
|
-
"relativePath": [
|
|
666
|
-
"dist",
|
|
667
|
-
"commands",
|
|
668
|
-
"origin",
|
|
669
|
-
"diff.js"
|
|
670
|
-
]
|
|
671
|
-
},
|
|
672
|
-
"origin:ignore": {
|
|
673
|
-
"aliases": [],
|
|
674
|
-
"args": {
|
|
675
|
-
"pathspec": {
|
|
676
|
-
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
677
|
-
"name": "pathspec",
|
|
678
|
-
"required": false
|
|
679
|
-
}
|
|
680
|
-
},
|
|
681
|
-
"description": "Reject the proposal AND mark the current file as ignored on future regens.",
|
|
682
|
-
"examples": [
|
|
683
|
-
"<%= config.bin %> origin ignore",
|
|
684
|
-
"<%= config.bin %> origin ignore backend/foo.ts",
|
|
685
|
-
"<%= config.bin %> origin ignore backend/iam/",
|
|
686
|
-
"<%= config.bin %> origin ignore --json"
|
|
687
|
-
],
|
|
688
|
-
"flags": {
|
|
689
|
-
"json": {
|
|
690
|
-
"description": "Emit machine-readable JSON instead of human text.",
|
|
691
|
-
"name": "json",
|
|
692
|
-
"allowNo": false,
|
|
693
|
-
"type": "boolean"
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
"hasDynamicHelp": false,
|
|
697
|
-
"hiddenAliases": [],
|
|
698
|
-
"id": "origin:ignore",
|
|
699
|
-
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
700
|
-
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
701
|
-
"pluginType": "core",
|
|
702
|
-
"strict": true,
|
|
703
|
-
"enableJsonFlag": false,
|
|
704
|
-
"isESM": true,
|
|
705
|
-
"relativePath": [
|
|
706
|
-
"dist",
|
|
707
|
-
"commands",
|
|
708
|
-
"origin",
|
|
709
|
-
"ignore.js"
|
|
710
|
-
]
|
|
711
|
-
},
|
|
712
|
-
"origin:list": {
|
|
713
|
-
"aliases": [],
|
|
714
|
-
"args": {
|
|
715
|
-
"pathspec": {
|
|
716
|
-
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
717
|
-
"name": "pathspec",
|
|
718
|
-
"required": false
|
|
719
|
-
}
|
|
720
|
-
},
|
|
721
|
-
"description": "List `.origin` files emitted by `catalyst generate`.",
|
|
722
|
-
"examples": [
|
|
723
|
-
"<%= config.bin %> origin list",
|
|
724
|
-
"<%= config.bin %> origin list backend/",
|
|
725
|
-
"<%= config.bin %> origin list backend/foo.ts",
|
|
726
|
-
"<%= config.bin %> origin list --json"
|
|
727
|
-
],
|
|
728
|
-
"flags": {
|
|
729
|
-
"json": {
|
|
730
|
-
"description": "Emit machine-readable JSON instead of human text.",
|
|
731
|
-
"name": "json",
|
|
732
|
-
"allowNo": false,
|
|
733
|
-
"type": "boolean"
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
"hasDynamicHelp": false,
|
|
737
|
-
"hiddenAliases": [],
|
|
738
|
-
"id": "origin:list",
|
|
739
|
-
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
740
|
-
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
741
|
-
"pluginType": "core",
|
|
742
|
-
"strict": true,
|
|
743
|
-
"enableJsonFlag": false,
|
|
744
|
-
"isESM": true,
|
|
745
|
-
"relativePath": [
|
|
746
|
-
"dist",
|
|
747
|
-
"commands",
|
|
748
|
-
"origin",
|
|
749
|
-
"list.js"
|
|
750
|
-
]
|
|
751
|
-
},
|
|
752
|
-
"origin:reject": {
|
|
753
|
-
"aliases": [],
|
|
754
|
-
"args": {
|
|
755
|
-
"pathspec": {
|
|
756
|
-
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
757
|
-
"name": "pathspec",
|
|
758
|
-
"required": false
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
"description": "Reject the codegen proposal: delete `.origin` and keep the current file as-is.",
|
|
762
|
-
"examples": [
|
|
763
|
-
"<%= config.bin %> origin reject",
|
|
764
|
-
"<%= config.bin %> origin reject backend/foo.ts",
|
|
765
|
-
"<%= config.bin %> origin reject backend/iam/",
|
|
766
|
-
"<%= config.bin %> origin reject --json"
|
|
767
|
-
],
|
|
768
|
-
"flags": {
|
|
769
|
-
"json": {
|
|
770
|
-
"description": "Emit machine-readable JSON instead of human text.",
|
|
771
|
-
"name": "json",
|
|
772
|
-
"allowNo": false,
|
|
773
|
-
"type": "boolean"
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
"hasDynamicHelp": false,
|
|
777
|
-
"hiddenAliases": [],
|
|
778
|
-
"id": "origin:reject",
|
|
779
|
-
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
780
|
-
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
781
|
-
"pluginType": "core",
|
|
782
|
-
"strict": true,
|
|
783
|
-
"enableJsonFlag": false,
|
|
784
|
-
"isESM": true,
|
|
785
|
-
"relativePath": [
|
|
786
|
-
"dist",
|
|
787
|
-
"commands",
|
|
788
|
-
"origin",
|
|
789
|
-
"reject.js"
|
|
790
|
-
]
|
|
791
|
-
},
|
|
792
|
-
"origin:review": {
|
|
793
|
-
"aliases": [],
|
|
794
|
-
"args": {},
|
|
795
|
-
"description": "Interactive walk-through of pending `.origin` files (inquirer + VS Code diff).",
|
|
796
|
-
"examples": [
|
|
797
|
-
"<%= config.bin %> origin review"
|
|
798
|
-
],
|
|
799
|
-
"flags": {},
|
|
800
|
-
"hasDynamicHelp": false,
|
|
801
|
-
"hiddenAliases": [],
|
|
802
|
-
"id": "origin:review",
|
|
803
|
-
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
804
|
-
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
805
|
-
"pluginType": "core",
|
|
806
|
-
"strict": true,
|
|
807
|
-
"enableJsonFlag": false,
|
|
808
|
-
"isESM": true,
|
|
809
|
-
"relativePath": [
|
|
810
|
-
"dist",
|
|
811
|
-
"commands",
|
|
812
|
-
"origin",
|
|
813
|
-
"review.js"
|
|
814
|
-
]
|
|
815
|
-
},
|
|
816
|
-
"pipeline": {
|
|
817
|
-
"aliases": [],
|
|
818
|
-
"args": {},
|
|
819
|
-
"description": "Generate a deploy workflow and its supporting files from templates (interactive).",
|
|
820
|
-
"examples": [
|
|
821
|
-
"<%= config.bin %> pipeline",
|
|
822
|
-
"<%= config.bin %> pipeline --force"
|
|
823
|
-
],
|
|
824
|
-
"flags": {
|
|
825
|
-
"force": {
|
|
826
|
-
"char": "f",
|
|
827
|
-
"description": "Overwrite existing files of the set",
|
|
828
|
-
"name": "force",
|
|
829
|
-
"allowNo": false,
|
|
830
|
-
"type": "boolean"
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
"hasDynamicHelp": false,
|
|
834
|
-
"hiddenAliases": [],
|
|
835
|
-
"id": "pipeline",
|
|
836
|
-
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
837
|
-
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
838
|
-
"pluginType": "core",
|
|
839
|
-
"strict": true,
|
|
840
|
-
"enableJsonFlag": false,
|
|
841
|
-
"isESM": true,
|
|
842
|
-
"relativePath": [
|
|
843
|
-
"dist",
|
|
844
|
-
"commands",
|
|
845
|
-
"pipeline",
|
|
846
|
-
"index.js"
|
|
847
|
-
]
|
|
848
|
-
},
|
|
849
|
-
"upgrade": {
|
|
850
|
-
"aliases": [],
|
|
851
|
-
"args": {},
|
|
852
|
-
"description": "Run it from the root of the project, on the branch that should receive the upgrade. git must be on the PATH.\n\n1. It reads the installed packages from aurora.lock.yaml and refuses to run without it, or when the running CLI no longer ships a locked package. It also refuses, before changing anything, when the \"aurora/scaffold\" branch is missing or when a tracked file has staged or unstaged changes (untracked files do not count): commit or stash them first.\n2. It migrates the module definition files, with no version gate, so a rerun after a merge picks up late arrivals: it renames each cliter/<bc>/<module>.aurora.yaml to <module>.module.yaml with \"git mv\", rewrites in every tracked file the two generated lines that name the old file (the \"@source\" header and the field-schema \"derived from\" line, changing only the suffix), and recomputes the cliter/<bc>/.locks integrity of a rewritten file only when the stored hash matched the file before the rewrite, so a file you modified still shows up as modified. Developer comments and docs are not touched. If both names exist for one module it stops, naming both paths. When it changed something it commits exactly that in one commit, \"chore(catalyst): rename module definition files to <module>.module.yaml\", running the project's git hooks, before the merge.\n3. It renders the scaffold of the running CLI plus every locked package into a temporary directory, with the composition files generated from the package manifests and the lockfile updated to the running CLI version. The install, the backend/.env copy and the GraphQL codegen are not part of that rendering, so pnpm-lock.yaml, backend/.env and backend/src/@api/graphql.ts never enter it.\n4. It commits that rendering on \"aurora/scaffold\" as a child of its tip, without switching branches or touching the working tree. When the rendering equals the tip it creates no commit, and it reports the scaffold as up to date only when the tip is already contained in the checked-out branch; otherwise it runs the merge again.\n5. It runs \"git merge --no-edit aurora/scaffold\" on the checked-out branch.\n6. After a merge without conflict it installs the dependencies, appends to backend/.env the keys with a declared value that any locked package declares and the file lacks (an existing value is never changed), regenerates the GraphQL types and the business-rules index, and prints what is left to do: \"pnpm db:generate --name <package>\" for each package whose backend changed, the required keys missing in backend/.env and the tools SQL scripts to run. It never generates or applies a schema migration.\n\nGit's three-way merge resolves ownership. A file the project never changed (for example under backend/src/@aurora/) takes the new rendering's content. A file the project changed (wiring, custom module declarations, aurora.yaml) keeps its changes and receives only the rendering's own delta. A file the rendering removed and the project never changed is deleted.\n\nWhen the project and the rendering change the same lines, the command exits non-zero, lists the conflicted files, names the post-merge steps to run after the resolution together with the backend/.env keys to add (with their value) or to set, and leaves the merge in progress. Resolve the markers, then \"git add\" and \"git commit\", or discard the upgrade with \"git merge --abort\"; the next run merges the same rendering again.\n\nThe \"aurora/scaffold\" branch must exist: \"catalyst new\" creates it. It lives in the clone that ran \"catalyst new\" until it is pushed: after each upgrade, \"git push origin aurora/scaffold\" together with the merged branch, and a fresh clone gets it with \"git fetch origin aurora/scaffold:aurora/scaffold\". Installed packages upgrade here together with the scaffold; the framework npm packages update through npm.\n\nA post-merge step that fails (for example the install without network) stops the command with a non-zero exit after the merge commit: it names the failed step and the ones not run, and prints the pending backend/.env keys, because a rerun finds the project up to date.\n\nTo restore a file to its pristine rendering: git checkout aurora/scaffold -- <path>\nTo undo a completed upgrade: git reset --hard ORIG_HEAD\nWhen the run created the migration commit (\"chore(catalyst): rename module definition files to <module>.module.yaml\"), it sits before the merge: after that reset, git reset --hard HEAD~1 undoes it too.",
|
|
853
|
-
"examples": [
|
|
854
|
-
"<%= config.bin %> upgrade",
|
|
855
|
-
"<%= config.bin %> upgrade --verbose"
|
|
856
|
-
],
|
|
857
|
-
"flags": {
|
|
858
|
-
"verbose": {
|
|
859
|
-
"char": "v",
|
|
860
|
-
"description": "Report all steps on screen.",
|
|
861
|
-
"name": "verbose",
|
|
862
|
-
"allowNo": false,
|
|
863
|
-
"type": "boolean"
|
|
864
|
-
}
|
|
865
|
-
},
|
|
866
|
-
"hasDynamicHelp": false,
|
|
867
|
-
"hiddenAliases": [],
|
|
868
|
-
"id": "upgrade",
|
|
869
|
-
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
870
|
-
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
871
|
-
"pluginType": "core",
|
|
872
|
-
"strict": true,
|
|
873
|
-
"summary": "Merge the current scaffold and the locked packages into an installed project through its \"aurora/scaffold\" branch.",
|
|
874
|
-
"enableJsonFlag": false,
|
|
875
|
-
"isESM": true,
|
|
876
|
-
"relativePath": [
|
|
877
|
-
"dist",
|
|
878
|
-
"commands",
|
|
879
|
-
"upgrade",
|
|
880
|
-
"index.js"
|
|
881
|
-
]
|
|
882
|
-
},
|
|
883
|
-
"provision:audit": {
|
|
884
|
-
"aliases": [],
|
|
885
|
-
"args": {},
|
|
886
|
-
"description": "Compare Coolify servers with the state aurora.yaml declares, without changing them. Exits non-zero on drift or when an expected port state is violated.",
|
|
887
|
-
"examples": [
|
|
888
|
-
"<%= config.bin %> provision audit",
|
|
889
|
-
"<%= config.bin %> provision audit --env prod"
|
|
890
|
-
],
|
|
891
|
-
"flags": {
|
|
892
|
-
"config": {
|
|
893
|
-
"char": "c",
|
|
894
|
-
"description": "Path to aurora.yaml config file",
|
|
895
|
-
"name": "config",
|
|
896
|
-
"default": "./aurora.yaml",
|
|
897
|
-
"hasDynamicHelp": false,
|
|
898
|
-
"multiple": false,
|
|
899
|
-
"type": "option"
|
|
900
|
-
},
|
|
901
|
-
"env": {
|
|
902
|
-
"description": "Audit only this environment (e.g. dev, qa, prod)",
|
|
903
|
-
"name": "env",
|
|
904
|
-
"hasDynamicHelp": false,
|
|
905
|
-
"multiple": false,
|
|
906
|
-
"type": "option"
|
|
907
|
-
}
|
|
908
|
-
},
|
|
909
|
-
"hasDynamicHelp": false,
|
|
910
|
-
"hiddenAliases": [],
|
|
911
|
-
"id": "provision:audit",
|
|
912
|
-
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
913
|
-
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
914
|
-
"pluginType": "core",
|
|
915
|
-
"strict": true,
|
|
916
|
-
"enableJsonFlag": false,
|
|
917
|
-
"isESM": true,
|
|
918
|
-
"relativePath": [
|
|
919
|
-
"dist",
|
|
920
|
-
"commands",
|
|
921
|
-
"provision",
|
|
922
|
-
"audit.js"
|
|
923
|
-
]
|
|
924
|
-
},
|
|
925
|
-
"provision": {
|
|
926
|
-
"aliases": [],
|
|
927
|
-
"args": {},
|
|
928
|
-
"description": "Provision Aurora project infrastructure on Coolify: the server layer and the application layer (project, PostgreSQL and Redis if declared, both applications, their variables, the deploy trigger and its GitHub secret and variables).",
|
|
929
|
-
"examples": [
|
|
930
|
-
"<%= config.bin %> provision --env dev",
|
|
931
|
-
"CATALYST_GHCR_TOKEN=ghp_x <%= config.bin %> provision --env prod # servers and applications"
|
|
932
|
-
],
|
|
933
|
-
"flags": {
|
|
934
|
-
"config": {
|
|
935
|
-
"char": "c",
|
|
936
|
-
"description": "Path to aurora.yaml config file",
|
|
937
|
-
"name": "config",
|
|
938
|
-
"default": "./aurora.yaml",
|
|
939
|
-
"hasDynamicHelp": false,
|
|
940
|
-
"multiple": false,
|
|
941
|
-
"type": "option"
|
|
942
|
-
},
|
|
943
|
-
"env": {
|
|
944
|
-
"description": "Provision only this environment (e.g. dev, qa, prod)",
|
|
945
|
-
"name": "env",
|
|
946
|
-
"hasDynamicHelp": false,
|
|
947
|
-
"multiple": false,
|
|
948
|
-
"type": "option"
|
|
949
|
-
},
|
|
950
|
-
"full-upgrade": {
|
|
951
|
-
"description": "Besides the security updates, upgrade every installed package. This can upgrade Docker, which restarts Coolify and every application on the server.",
|
|
952
|
-
"name": "full-upgrade",
|
|
953
|
-
"allowNo": false,
|
|
954
|
-
"type": "boolean"
|
|
955
|
-
}
|
|
956
|
-
},
|
|
957
|
-
"hasDynamicHelp": false,
|
|
958
|
-
"hiddenAliases": [],
|
|
959
|
-
"id": "provision",
|
|
960
|
-
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
961
|
-
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
962
|
-
"pluginType": "core",
|
|
963
|
-
"strict": true,
|
|
964
|
-
"enableJsonFlag": false,
|
|
965
|
-
"isESM": true,
|
|
966
|
-
"relativePath": [
|
|
967
|
-
"dist",
|
|
968
|
-
"commands",
|
|
969
|
-
"provision",
|
|
970
|
-
"index.js"
|
|
971
|
-
]
|
|
972
|
-
},
|
|
973
|
-
"sheets:diff": {
|
|
750
|
+
"sheets:diff": {
|
|
974
751
|
"aliases": [],
|
|
975
752
|
"args": {},
|
|
976
753
|
"description": "Show differences between Aurora YAML schemas and Google Sheets.",
|
|
@@ -1240,7 +1017,230 @@
|
|
|
1240
1017
|
"sheets",
|
|
1241
1018
|
"validate.js"
|
|
1242
1019
|
]
|
|
1020
|
+
},
|
|
1021
|
+
"origin:accept": {
|
|
1022
|
+
"aliases": [],
|
|
1023
|
+
"args": {
|
|
1024
|
+
"pathspec": {
|
|
1025
|
+
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
1026
|
+
"name": "pathspec",
|
|
1027
|
+
"required": false
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
"description": "Adopt the codegen proposal: replace current with `.origin` and delete `.origin`.",
|
|
1031
|
+
"examples": [
|
|
1032
|
+
"<%= config.bin %> origin accept",
|
|
1033
|
+
"<%= config.bin %> origin accept backend/foo.ts",
|
|
1034
|
+
"<%= config.bin %> origin accept backend/iam/",
|
|
1035
|
+
"<%= config.bin %> origin accept --json"
|
|
1036
|
+
],
|
|
1037
|
+
"flags": {
|
|
1038
|
+
"json": {
|
|
1039
|
+
"description": "Emit machine-readable JSON instead of human text.",
|
|
1040
|
+
"name": "json",
|
|
1041
|
+
"allowNo": false,
|
|
1042
|
+
"type": "boolean"
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
"hasDynamicHelp": false,
|
|
1046
|
+
"hiddenAliases": [],
|
|
1047
|
+
"id": "origin:accept",
|
|
1048
|
+
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
1049
|
+
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
1050
|
+
"pluginType": "core",
|
|
1051
|
+
"strict": true,
|
|
1052
|
+
"enableJsonFlag": false,
|
|
1053
|
+
"isESM": true,
|
|
1054
|
+
"relativePath": [
|
|
1055
|
+
"dist",
|
|
1056
|
+
"commands",
|
|
1057
|
+
"origin",
|
|
1058
|
+
"accept.js"
|
|
1059
|
+
]
|
|
1060
|
+
},
|
|
1061
|
+
"origin:diff": {
|
|
1062
|
+
"aliases": [],
|
|
1063
|
+
"args": {
|
|
1064
|
+
"pathspec": {
|
|
1065
|
+
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
1066
|
+
"name": "pathspec",
|
|
1067
|
+
"required": false
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
"description": "Print a unified diff of each `.origin` proposal against its current file.",
|
|
1071
|
+
"examples": [
|
|
1072
|
+
"<%= config.bin %> origin diff",
|
|
1073
|
+
"<%= config.bin %> origin diff backend/foo.ts",
|
|
1074
|
+
"<%= config.bin %> origin diff --json"
|
|
1075
|
+
],
|
|
1076
|
+
"flags": {
|
|
1077
|
+
"json": {
|
|
1078
|
+
"description": "Emit machine-readable JSON instead of human text.",
|
|
1079
|
+
"name": "json",
|
|
1080
|
+
"allowNo": false,
|
|
1081
|
+
"type": "boolean"
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
"hasDynamicHelp": false,
|
|
1085
|
+
"hiddenAliases": [],
|
|
1086
|
+
"id": "origin:diff",
|
|
1087
|
+
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
1088
|
+
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
1089
|
+
"pluginType": "core",
|
|
1090
|
+
"strict": true,
|
|
1091
|
+
"enableJsonFlag": false,
|
|
1092
|
+
"isESM": true,
|
|
1093
|
+
"relativePath": [
|
|
1094
|
+
"dist",
|
|
1095
|
+
"commands",
|
|
1096
|
+
"origin",
|
|
1097
|
+
"diff.js"
|
|
1098
|
+
]
|
|
1099
|
+
},
|
|
1100
|
+
"origin:ignore": {
|
|
1101
|
+
"aliases": [],
|
|
1102
|
+
"args": {
|
|
1103
|
+
"pathspec": {
|
|
1104
|
+
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
1105
|
+
"name": "pathspec",
|
|
1106
|
+
"required": false
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
"description": "Reject the proposal AND mark the current file as ignored on future regens.",
|
|
1110
|
+
"examples": [
|
|
1111
|
+
"<%= config.bin %> origin ignore",
|
|
1112
|
+
"<%= config.bin %> origin ignore backend/foo.ts",
|
|
1113
|
+
"<%= config.bin %> origin ignore backend/iam/",
|
|
1114
|
+
"<%= config.bin %> origin ignore --json"
|
|
1115
|
+
],
|
|
1116
|
+
"flags": {
|
|
1117
|
+
"json": {
|
|
1118
|
+
"description": "Emit machine-readable JSON instead of human text.",
|
|
1119
|
+
"name": "json",
|
|
1120
|
+
"allowNo": false,
|
|
1121
|
+
"type": "boolean"
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1124
|
+
"hasDynamicHelp": false,
|
|
1125
|
+
"hiddenAliases": [],
|
|
1126
|
+
"id": "origin:ignore",
|
|
1127
|
+
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
1128
|
+
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
1129
|
+
"pluginType": "core",
|
|
1130
|
+
"strict": true,
|
|
1131
|
+
"enableJsonFlag": false,
|
|
1132
|
+
"isESM": true,
|
|
1133
|
+
"relativePath": [
|
|
1134
|
+
"dist",
|
|
1135
|
+
"commands",
|
|
1136
|
+
"origin",
|
|
1137
|
+
"ignore.js"
|
|
1138
|
+
]
|
|
1139
|
+
},
|
|
1140
|
+
"origin:list": {
|
|
1141
|
+
"aliases": [],
|
|
1142
|
+
"args": {
|
|
1143
|
+
"pathspec": {
|
|
1144
|
+
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
1145
|
+
"name": "pathspec",
|
|
1146
|
+
"required": false
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
"description": "List `.origin` files emitted by `catalyst generate`.",
|
|
1150
|
+
"examples": [
|
|
1151
|
+
"<%= config.bin %> origin list",
|
|
1152
|
+
"<%= config.bin %> origin list backend/",
|
|
1153
|
+
"<%= config.bin %> origin list backend/foo.ts",
|
|
1154
|
+
"<%= config.bin %> origin list --json"
|
|
1155
|
+
],
|
|
1156
|
+
"flags": {
|
|
1157
|
+
"json": {
|
|
1158
|
+
"description": "Emit machine-readable JSON instead of human text.",
|
|
1159
|
+
"name": "json",
|
|
1160
|
+
"allowNo": false,
|
|
1161
|
+
"type": "boolean"
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
"hasDynamicHelp": false,
|
|
1165
|
+
"hiddenAliases": [],
|
|
1166
|
+
"id": "origin:list",
|
|
1167
|
+
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
1168
|
+
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
1169
|
+
"pluginType": "core",
|
|
1170
|
+
"strict": true,
|
|
1171
|
+
"enableJsonFlag": false,
|
|
1172
|
+
"isESM": true,
|
|
1173
|
+
"relativePath": [
|
|
1174
|
+
"dist",
|
|
1175
|
+
"commands",
|
|
1176
|
+
"origin",
|
|
1177
|
+
"list.js"
|
|
1178
|
+
]
|
|
1179
|
+
},
|
|
1180
|
+
"origin:reject": {
|
|
1181
|
+
"aliases": [],
|
|
1182
|
+
"args": {
|
|
1183
|
+
"pathspec": {
|
|
1184
|
+
"description": "Optional file or directory. Defaults to recursive cwd scan.",
|
|
1185
|
+
"name": "pathspec",
|
|
1186
|
+
"required": false
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"description": "Reject the codegen proposal: delete `.origin` and keep the current file as-is.",
|
|
1190
|
+
"examples": [
|
|
1191
|
+
"<%= config.bin %> origin reject",
|
|
1192
|
+
"<%= config.bin %> origin reject backend/foo.ts",
|
|
1193
|
+
"<%= config.bin %> origin reject backend/iam/",
|
|
1194
|
+
"<%= config.bin %> origin reject --json"
|
|
1195
|
+
],
|
|
1196
|
+
"flags": {
|
|
1197
|
+
"json": {
|
|
1198
|
+
"description": "Emit machine-readable JSON instead of human text.",
|
|
1199
|
+
"name": "json",
|
|
1200
|
+
"allowNo": false,
|
|
1201
|
+
"type": "boolean"
|
|
1202
|
+
}
|
|
1203
|
+
},
|
|
1204
|
+
"hasDynamicHelp": false,
|
|
1205
|
+
"hiddenAliases": [],
|
|
1206
|
+
"id": "origin:reject",
|
|
1207
|
+
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
1208
|
+
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
1209
|
+
"pluginType": "core",
|
|
1210
|
+
"strict": true,
|
|
1211
|
+
"enableJsonFlag": false,
|
|
1212
|
+
"isESM": true,
|
|
1213
|
+
"relativePath": [
|
|
1214
|
+
"dist",
|
|
1215
|
+
"commands",
|
|
1216
|
+
"origin",
|
|
1217
|
+
"reject.js"
|
|
1218
|
+
]
|
|
1219
|
+
},
|
|
1220
|
+
"origin:review": {
|
|
1221
|
+
"aliases": [],
|
|
1222
|
+
"args": {},
|
|
1223
|
+
"description": "Interactive walk-through of pending `.origin` files (inquirer + VS Code diff).",
|
|
1224
|
+
"examples": [
|
|
1225
|
+
"<%= config.bin %> origin review"
|
|
1226
|
+
],
|
|
1227
|
+
"flags": {},
|
|
1228
|
+
"hasDynamicHelp": false,
|
|
1229
|
+
"hiddenAliases": [],
|
|
1230
|
+
"id": "origin:review",
|
|
1231
|
+
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
1232
|
+
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
1233
|
+
"pluginType": "core",
|
|
1234
|
+
"strict": true,
|
|
1235
|
+
"enableJsonFlag": false,
|
|
1236
|
+
"isESM": true,
|
|
1237
|
+
"relativePath": [
|
|
1238
|
+
"dist",
|
|
1239
|
+
"commands",
|
|
1240
|
+
"origin",
|
|
1241
|
+
"review.js"
|
|
1242
|
+
]
|
|
1243
1243
|
}
|
|
1244
1244
|
},
|
|
1245
|
-
"version": "3.1.
|
|
1245
|
+
"version": "3.1.4"
|
|
1246
1246
|
}
|