@wildo-ai/dev-companion 1.1.13 → 1.1.15
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/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +89 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +114 -9
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +46 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +39 -2
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
- package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.d.ts +6 -0
- package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/shared-tree-reconciliation.models.js.map +1 -1
- package/dist/esm/claude-cli/models/verification-tool-availability.models.d.ts +19 -5
- package/dist/esm/claude-cli/models/verification-tool-availability.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/verification-tool-availability.models.js +17 -5
- package/dist/esm/claude-cli/models/verification-tool-availability.models.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +16 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +53 -6
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +145 -6
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +474 -47
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +6 -2
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js +16 -39
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +14 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js +35 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.d.ts +36 -0
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.js +134 -0
- package/dist/esm/claude-cli/services/unrecorded-provider-directories.companion.js.map +1 -0
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +31 -2
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +2 -0
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +8 -0
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +7 -0
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +26 -12
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/companion-api/controllers/long-held-request.companion.d.ts +17 -0
- package/dist/esm/companion-api/controllers/long-held-request.companion.d.ts.map +1 -0
- package/dist/esm/companion-api/controllers/long-held-request.companion.js +33 -0
- package/dist/esm/companion-api/controllers/long-held-request.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +9 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +12 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +7 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +8 -20
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +37 -142
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.d.ts +64 -0
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.js +304 -0
- package/dist/esm/core/introspection/services/introspection-source-walk.worker.js.map +1 -0
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts +3 -2
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +24 -14
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts +42 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.js +42 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
- package/dist/esm/core/runtime/companion-language-model-route.d.ts +16 -1
- package/dist/esm/core/runtime/companion-language-model-route.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-language-model-route.js +23 -1
- package/dist/esm/core/runtime/companion-language-model-route.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +53 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js +119 -2
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.js +16 -3
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +2 -2
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +6 -6
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
- package/dist/esm/core/utils/git-read-broker.companion.d.ts +62 -0
- package/dist/esm/core/utils/git-read-broker.companion.d.ts.map +1 -0
- package/dist/esm/core/utils/git-read-broker.companion.js +282 -0
- package/dist/esm/core/utils/git-read-broker.companion.js.map +1 -0
- package/dist/esm/core/utils/local-write-recording.companion.d.ts +8 -1
- package/dist/esm/core/utils/local-write-recording.companion.d.ts.map +1 -1
- package/dist/esm/core/utils/local-write-recording.companion.js +7 -23
- package/dist/esm/core/utils/local-write-recording.companion.js.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts +5 -0
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +44 -11
- package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts +26 -2
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js +41 -2
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.d.ts +19 -0
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.d.ts.map +1 -0
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.js +171 -0
- package/dist/esm/email/utils/email-template-scanner-calls.companion.utils.js.map +1 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.d.ts +75 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.d.ts.map +1 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.js +162 -0
- package/dist/esm/email/utils/module-email-root.companion.utils.js.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.d.ts +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.js +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.js.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.d.ts +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.js +29 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js +5 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.d.ts +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.js +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.d.ts +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.js +41 -0
- package/dist/esm/i18n/components/LOW_LEVEL_APPROVAL_SEAL.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js +2 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js +2 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +2 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +3 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts +2 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js +3 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.d.ts +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts +2 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js +3 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts +3 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js +4 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +17 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +18 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts +17 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js +18 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts +206 -195
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js +206 -195
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts +10 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js +12 -2
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts +70 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js +70 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts +12 -2
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js +12 -2
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts +10 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js +10 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts +25 -20
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js +25 -20
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.d.ts +32 -32
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js +32 -32
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.d.ts +65 -65
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js +65 -65
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts +20 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js +20 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts +12 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js +13 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +35 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +12 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts +536 -531
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js +536 -531
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.fr.d.ts +170 -170
- package/dist/esm/i18n/system_enums/application-creation.fr.js +170 -170
- package/dist/esm/i18n/system_enums/application-creation.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.fr.d.ts +22 -22
- package/dist/esm/i18n/system_enums/flows-actors.fr.js +22 -22
- package/dist/esm/i18n/system_enums/flows-actors.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/run-records.fr.d.ts +21 -21
- package/dist/esm/i18n/system_enums/run-records.fr.js +21 -21
- package/dist/esm/i18n/system_enums/run-records.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +3 -2
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.js +3 -2
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts +37 -33
- package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.fr.js +37 -33
- package/dist/esm/i18n/system_enums/workbench-build.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts +18 -17
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js +18 -17
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts +7 -5
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.js +8 -6
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.d.ts +12 -12
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.js +12 -12
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js +2 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +7 -3
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +3 -4
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +11 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js +21 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.d.ts +9 -0
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js +18 -2
- package/dist/esm/meta-workflows/models/creation-journey-timeline.models.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +153 -22
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +970 -208
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts +115 -13
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js +295 -56
- package/dist/esm/meta-workflows/services/application-build-follow-up-derivation.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.d.ts +3 -3
- package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.js +3 -3
- package/dist/esm/meta-workflows/services/application-build-landing-projection.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.d.ts +9 -0
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.js +19 -0
- package/dist/esm/meta-workflows/services/application-build-task-closure.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +48 -26
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +12 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +30 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +4 -5
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +12 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +6 -3
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.js +3 -5
- package/dist/esm/meta-workflows/services/playbook-run-write-register-window.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +8 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +119 -25
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts +55 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js +157 -10
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js.map +1 -1
- package/dist/esm/module-layout/module-layout-convention.companion.d.ts +158 -0
- package/dist/esm/module-layout/module-layout-convention.companion.d.ts.map +1 -0
- package/dist/esm/module-layout/module-layout-convention.companion.js +272 -0
- package/dist/esm/module-layout/module-layout-convention.companion.js.map +1 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.d.ts +42 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.d.ts.map +1 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.js +290 -0
- package/dist/esm/module-layout/module-layout-inspection.companion.js.map +1 -0
- package/dist/esm/module-layout/module-source-files.companion.d.ts +3 -0
- package/dist/esm/module-layout/module-source-files.companion.d.ts.map +1 -0
- package/dist/esm/module-layout/module-source-files.companion.js +45 -0
- package/dist/esm/module-layout/module-source-files.companion.js.map +1 -0
- package/package.json +18 -18
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where a business module's conventional files live, per application package: the ONE source the companion reads
|
|
3
|
+
* (#3904).
|
|
4
|
+
*
|
|
5
|
+
* ## Why this exists
|
|
6
|
+
*
|
|
7
|
+
* On reference run 43691253927 a coding agent registered the `enquiries` module's email templates from
|
|
8
|
+
* `email/email-template-definitions.ts`. The companion writes and previews a module's templates under `emails/`, so its
|
|
9
|
+
* generated template landed where nothing registered it. Tolerating the improvised folder (72b942f36 taught the companion
|
|
10
|
+
* to FIND it) is the read path; Paul's decision of 2026-11-17 is that the build PREVENTS it: a module file placed outside
|
|
11
|
+
* its conventional folder fails the coding run that placed it (`check:module-layout`), with the move that corrects it.
|
|
12
|
+
*
|
|
13
|
+
* ## What it covers, and why only this
|
|
14
|
+
*
|
|
15
|
+
* Only conventions the framework DEFINES (the `add-module` / `add-resource` / `add-custom-operation` scaffold writes the
|
|
16
|
+
* file there, or the shipped skill states the place) AND RELIES ON (something reads the file only at that place), for a
|
|
17
|
+
* file a check can RECOGNIZE wherever it is put (by a suffix only that kind uses, or by what it calls). Each entry names
|
|
18
|
+
* what relies on it in `reliedOnBy`.
|
|
19
|
+
*
|
|
20
|
+
* Read at a fixed place by the build lane's landed probes too, and left out, each for its own reason (#3904 review F3):
|
|
21
|
+
* - a seed (`seeds/<seed>.ts`) and an agent or gate (`addons/flows-actors/…`): their file names are the author's or
|
|
22
|
+
* derived from a key with no kind suffix, so a misplaced one cannot be recognized; both reach startup through an
|
|
23
|
+
* import the probe also asks for;
|
|
24
|
+
* - the PDF bindings: the probe accepts two places (`pdf/pdf-template-bindings.ts`, `module-pdf-template-bindings.ts`);
|
|
25
|
+
* - `milestones.ts`, `app-level-views/view-refs.frontend.ts` and the guidance definitions files: the probe also accepts
|
|
26
|
+
* the module's (or the folder's) index, and the scaffold creates the view-refs file, so an agent edits it in place.
|
|
27
|
+
* They are recognizable by exact name and are the candidates for a next entry if a misplacement is ever measured.
|
|
28
|
+
* Their probe paths are still written in the coding policy, not here.
|
|
29
|
+
*
|
|
30
|
+
* Measured 2026-11-17 against the five dogfood applications: every file each entry recognizes sits where the entry says
|
|
31
|
+
* (Wonder Todos, Wonder CRM, Wonder Ledger, Wonder Procurement, scratch-blueprint-proof), except the per-RESOURCE
|
|
32
|
+
* relationships file, which is why the module relationships entry recognizes only `<module>.relationships.ts`.
|
|
33
|
+
*
|
|
34
|
+
* ## One source for its readers
|
|
35
|
+
*
|
|
36
|
+
* - the build lane's landed probes build their paths with {@link conventionalModuleFilePath}
|
|
37
|
+
* (`application-build-task-coding-policy.companion.service.ts`);
|
|
38
|
+
* - the companion's module email root reads {@link MODULE_EMAIL_DIRECTORY} (`module-email-root.companion.utils.ts`);
|
|
39
|
+
* - `check:module-layout` classifies files with {@link classifyModuleFile} (`module-layout-inspection.companion.ts`);
|
|
40
|
+
* - the scaffold cannot import TypeScript (`templates/saas/scenarios/*`), so a test walks every scenario's module files
|
|
41
|
+
* through {@link classifyModuleFile} and fails when the scaffold and this source disagree, in either direction
|
|
42
|
+
* (`__tests__/module-layout-convention.companion.test.ts`). The package population is pinned the same way.
|
|
43
|
+
*/
|
|
44
|
+
/** An application package that holds business modules under `src/modules/<module>/`, as the `add-module` scenario writes them. */
|
|
45
|
+
export var ModulePackage;
|
|
46
|
+
(function (ModulePackage) {
|
|
47
|
+
ModulePackage["SHARED_LIB"] = "shared-lib";
|
|
48
|
+
ModulePackage["SPECIFICATIONS"] = "specifications";
|
|
49
|
+
ModulePackage["BACKEND_API"] = "backend-api";
|
|
50
|
+
ModulePackage["FRONTEND"] = "frontend";
|
|
51
|
+
})(ModulePackage || (ModulePackage = {}));
|
|
52
|
+
/** Every package with module folders, in the order `add-module` lists them. The scaffold test pins it to the scenario's file tree. */
|
|
53
|
+
export const MODULE_PACKAGES = [ModulePackage.SHARED_LIB, ModulePackage.SPECIFICATIONS, ModulePackage.BACKEND_API, ModulePackage.FRONTEND];
|
|
54
|
+
/** Where a package keeps its modules, relative to the package directory. */
|
|
55
|
+
export const MODULES_SOURCE_DIRECTORY = 'src/modules';
|
|
56
|
+
/** The kind of a module file whose place the framework relies on. */
|
|
57
|
+
export var ModuleConventionalFileKind;
|
|
58
|
+
(function (ModuleConventionalFileKind) {
|
|
59
|
+
/** The file that registers a module's email templates: calls `scanEmailTemplateDirectory`, or is named like one. */
|
|
60
|
+
ModuleConventionalFileKind["EMAIL_TEMPLATE_DEFINITIONS"] = "email-template-definitions";
|
|
61
|
+
/** A resource custom operation implementation, `<resource>.<operation>.<variant>.operation.ts`. */
|
|
62
|
+
ModuleConventionalFileKind["CUSTOM_OPERATION"] = "custom-operation";
|
|
63
|
+
/** A resource's schemas, `<resource>.schemas.ts`. */
|
|
64
|
+
ModuleConventionalFileKind["RESOURCE_SCHEMA"] = "resource-schema";
|
|
65
|
+
/** A resource's configuration, `<resource>.resources-config.ts`. */
|
|
66
|
+
ModuleConventionalFileKind["RESOURCE_CONFIGURATION"] = "resource-configuration";
|
|
67
|
+
/** The module's relationship edges, `<module>.relationships.ts`. */
|
|
68
|
+
ModuleConventionalFileKind["MODULE_RELATIONSHIPS"] = "module-relationships";
|
|
69
|
+
/** A resource's frontend behaviour, `<resource>.ui-behavior.tsx`. */
|
|
70
|
+
ModuleConventionalFileKind["RESOURCE_UI_BEHAVIOR"] = "resource-ui-behavior";
|
|
71
|
+
/** A resource's specification, `<resource>.resource.specification.ts`. */
|
|
72
|
+
ModuleConventionalFileKind["RESOURCE_SPECIFICATION"] = "resource-specification";
|
|
73
|
+
})(ModuleConventionalFileKind || (ModuleConventionalFileKind = {}));
|
|
74
|
+
/** How a file of a kind relates to its conventional directory. */
|
|
75
|
+
export var ModuleConventionalPlacement;
|
|
76
|
+
(function (ModuleConventionalPlacement) {
|
|
77
|
+
/** Directly in the directory: `emails/<file>`. */
|
|
78
|
+
ModuleConventionalPlacement["IN_DIRECTORY"] = "in-directory";
|
|
79
|
+
/** Anywhere below the directory, at any depth: `resources/…/<file>`. */
|
|
80
|
+
ModuleConventionalPlacement["UNDER_DIRECTORY"] = "under-directory";
|
|
81
|
+
/** In the directory's sub-folder named after the file's stem: `resources/<stem>/<file>`. */
|
|
82
|
+
ModuleConventionalPlacement["IN_STEM_DIRECTORY"] = "in-stem-directory";
|
|
83
|
+
})(ModuleConventionalPlacement || (ModuleConventionalPlacement = {}));
|
|
84
|
+
/** How a file is recognized as being of a kind. */
|
|
85
|
+
export var ModuleConventionalFileRecognition;
|
|
86
|
+
(function (ModuleConventionalFileRecognition) {
|
|
87
|
+
/** Its name ends with `fileNameSuffix`; the stem is the name without it. */
|
|
88
|
+
ModuleConventionalFileRecognition["NAME_SUFFIX"] = "name-suffix";
|
|
89
|
+
/** Its name is exactly `<module>` + `fileNameSuffix`. */
|
|
90
|
+
ModuleConventionalFileRecognition["MODULE_NAMED"] = "module-named";
|
|
91
|
+
/** Its content calls `scanEmailTemplateDirectory`, or its name matches `EMAIL_DEFINITIONS_FILE_NAME` (a module email definitions file). */
|
|
92
|
+
ModuleConventionalFileRecognition["EMAIL_SCANNER"] = "email-scanner";
|
|
93
|
+
})(ModuleConventionalFileRecognition || (ModuleConventionalFileRecognition = {}));
|
|
94
|
+
/** A module's email root, under its backend module folder. */
|
|
95
|
+
export const MODULE_EMAIL_DIRECTORY = 'emails';
|
|
96
|
+
/** The definitions file a new module's email root holds (the name the shipped skills teach; nothing reads the name itself). */
|
|
97
|
+
export const MODULE_EMAIL_DEFINITIONS_FILE = 'module-email-template-definitions.ts';
|
|
98
|
+
/** A module's resources folder, in every package. */
|
|
99
|
+
export const MODULE_RESOURCES_DIRECTORY = 'resources';
|
|
100
|
+
/**
|
|
101
|
+
* The conventions, one per kind. Measured, not invented: see the module JSDoc. A new entry needs a scaffold file or a
|
|
102
|
+
* shipped skill stating the place, and a reader that relies on it; the scaffold test then holds it to the scaffold.
|
|
103
|
+
*/
|
|
104
|
+
export const MODULE_LAYOUT_CONVENTIONS = [
|
|
105
|
+
{
|
|
106
|
+
kind: ModuleConventionalFileKind.EMAIL_TEMPLATE_DEFINITIONS,
|
|
107
|
+
package: ModulePackage.BACKEND_API,
|
|
108
|
+
directory: MODULE_EMAIL_DIRECTORY,
|
|
109
|
+
placement: ModuleConventionalPlacement.IN_DIRECTORY,
|
|
110
|
+
recognition: ModuleConventionalFileRecognition.EMAIL_SCANNER,
|
|
111
|
+
reliedOnBy: 'the companion writes a module\'s generated email templates, and its preview imports them, under `emails/` '
|
|
112
|
+
+ '(where the module\'s definitions file scans `resources/` and `system/`)',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
kind: ModuleConventionalFileKind.CUSTOM_OPERATION,
|
|
116
|
+
package: ModulePackage.BACKEND_API,
|
|
117
|
+
directory: MODULE_RESOURCES_DIRECTORY,
|
|
118
|
+
placement: ModuleConventionalPlacement.UNDER_DIRECTORY,
|
|
119
|
+
recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,
|
|
120
|
+
fileNameSuffix: '.operation.ts',
|
|
121
|
+
reliedOnBy: 'the module\'s `resources/index.ts` registers custom operations by scanning `resources/` recursively for '
|
|
122
|
+
+ '`.operation` files; one anywhere else is never registered',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
kind: ModuleConventionalFileKind.RESOURCE_SCHEMA,
|
|
126
|
+
package: ModulePackage.SHARED_LIB,
|
|
127
|
+
directory: MODULE_RESOURCES_DIRECTORY,
|
|
128
|
+
placement: ModuleConventionalPlacement.IN_STEM_DIRECTORY,
|
|
129
|
+
recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,
|
|
130
|
+
fileNameSuffix: '.schemas.ts',
|
|
131
|
+
suffixSharedWithHelpers: true,
|
|
132
|
+
reliedOnBy: 'the build lane proves a resource\'s schema landed by reading `resources/<resource>/<resource>.schemas.ts`',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
kind: ModuleConventionalFileKind.RESOURCE_CONFIGURATION,
|
|
136
|
+
package: ModulePackage.SHARED_LIB,
|
|
137
|
+
directory: MODULE_RESOURCES_DIRECTORY,
|
|
138
|
+
placement: ModuleConventionalPlacement.IN_STEM_DIRECTORY,
|
|
139
|
+
recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,
|
|
140
|
+
fileNameSuffix: '.resources-config.ts',
|
|
141
|
+
reliedOnBy: 'the build lane proves a resource\'s registration and operations landed by reading '
|
|
142
|
+
+ '`resources/<resource>/<resource>.resources-config.ts`',
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
kind: ModuleConventionalFileKind.MODULE_RELATIONSHIPS,
|
|
146
|
+
package: ModulePackage.SHARED_LIB,
|
|
147
|
+
directory: MODULE_RESOURCES_DIRECTORY,
|
|
148
|
+
placement: ModuleConventionalPlacement.IN_DIRECTORY,
|
|
149
|
+
recognition: ModuleConventionalFileRecognition.MODULE_NAMED,
|
|
150
|
+
fileNameSuffix: '.relationships.ts',
|
|
151
|
+
reliedOnBy: 'the build lane proves a relationship landed by reading `resources/<module>.relationships.ts`',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
kind: ModuleConventionalFileKind.RESOURCE_UI_BEHAVIOR,
|
|
155
|
+
package: ModulePackage.FRONTEND,
|
|
156
|
+
directory: MODULE_RESOURCES_DIRECTORY,
|
|
157
|
+
placement: ModuleConventionalPlacement.IN_STEM_DIRECTORY,
|
|
158
|
+
recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,
|
|
159
|
+
fileNameSuffix: '.ui-behavior.tsx',
|
|
160
|
+
reliedOnBy: 'the build lane proves a resource\'s UI behaviour and views landed by reading '
|
|
161
|
+
+ '`resources/<resource>/<resource>.ui-behavior.tsx`',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
kind: ModuleConventionalFileKind.RESOURCE_SPECIFICATION,
|
|
165
|
+
package: ModulePackage.SPECIFICATIONS,
|
|
166
|
+
directory: MODULE_RESOURCES_DIRECTORY,
|
|
167
|
+
placement: ModuleConventionalPlacement.IN_DIRECTORY,
|
|
168
|
+
recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,
|
|
169
|
+
fileNameSuffix: '.resource.specification.ts',
|
|
170
|
+
reliedOnBy: 'the build lane proves a resource\'s specification landed by reading `resources/<resource>.resource.specification.ts`',
|
|
171
|
+
},
|
|
172
|
+
];
|
|
173
|
+
/** The convention of `kind`. Total over the enum: a kind with no entry is a programming error, caught by the scaffold test. */
|
|
174
|
+
export function moduleLayoutConvention(kind) {
|
|
175
|
+
const convention = MODULE_LAYOUT_CONVENTIONS.find((entry) => entry.kind === kind);
|
|
176
|
+
if (convention === undefined)
|
|
177
|
+
throw new Error(`No module layout convention is declared for '${kind}'.`);
|
|
178
|
+
return convention;
|
|
179
|
+
}
|
|
180
|
+
/** A module's folder, application-relative: `<package>/src/modules/<module>`. */
|
|
181
|
+
export function moduleFolderPath(modulePackage, moduleRef) {
|
|
182
|
+
return `${modulePackage}/${MODULES_SOURCE_DIRECTORY}/${moduleRef}`;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The application-relative path of the conventional file of `kind` for `stem` (a resource ref; ignored for the module
|
|
186
|
+
* relationships file, whose stem is the module): what the build lane's landed probes read. Not defined for the email
|
|
187
|
+
* definitions and custom operations, whose names are the author's.
|
|
188
|
+
*/
|
|
189
|
+
export function conventionalModuleFilePath(kind, moduleRef, stem) {
|
|
190
|
+
const convention = moduleLayoutConvention(kind);
|
|
191
|
+
if (convention.recognition === ModuleConventionalFileRecognition.EMAIL_SCANNER || convention.placement === ModuleConventionalPlacement.UNDER_DIRECTORY) {
|
|
192
|
+
throw new Error(`A '${kind}' file is named by its author; its conventional path is not derivable from a ref.`);
|
|
193
|
+
}
|
|
194
|
+
const fileStem = convention.recognition === ModuleConventionalFileRecognition.MODULE_NAMED ? moduleRef : stem;
|
|
195
|
+
const fileName = `${fileStem}${convention.fileNameSuffix ?? ''}`;
|
|
196
|
+
const directory = convention.placement === ModuleConventionalPlacement.IN_STEM_DIRECTORY ? `${convention.directory}/${fileStem}` : convention.directory;
|
|
197
|
+
return `${moduleFolderPath(convention.package, moduleRef)}/${directory}/${fileName}`;
|
|
198
|
+
}
|
|
199
|
+
/** A file named like a module email definitions file (`module-email-template-definitions.ts`, `email-template-definitions.ts`). */
|
|
200
|
+
const EMAIL_DEFINITIONS_FILE_NAME = /(?:^|-)email-template-definitions\.(?:ts|tsx|mts|cts)$/u;
|
|
201
|
+
/**
|
|
202
|
+
* The convention `fileInModule` (relative to its module folder, POSIX) falls under, if any, and whether it is in place.
|
|
203
|
+
* Pure: the caller supplies the one fact a path cannot carry (whether the file calls the email scanner).
|
|
204
|
+
*/
|
|
205
|
+
export function classifyModuleFile(input) {
|
|
206
|
+
const fileName = input.fileInModule.slice(input.fileInModule.lastIndexOf('/') + 1);
|
|
207
|
+
const directory = input.fileInModule.includes('/') ? input.fileInModule.slice(0, input.fileInModule.lastIndexOf('/')) : '.';
|
|
208
|
+
for (const convention of MODULE_LAYOUT_CONVENTIONS) {
|
|
209
|
+
if (convention.package !== input.modulePackage)
|
|
210
|
+
continue;
|
|
211
|
+
let stem;
|
|
212
|
+
switch (convention.recognition) {
|
|
213
|
+
case ModuleConventionalFileRecognition.EMAIL_SCANNER:
|
|
214
|
+
stem = input.facts.callsEmailScanner || EMAIL_DEFINITIONS_FILE_NAME.test(fileName) ? fileName : undefined;
|
|
215
|
+
break;
|
|
216
|
+
case ModuleConventionalFileRecognition.MODULE_NAMED:
|
|
217
|
+
stem = fileName === `${input.moduleRef}${convention.fileNameSuffix}` ? input.moduleRef : undefined;
|
|
218
|
+
break;
|
|
219
|
+
case ModuleConventionalFileRecognition.NAME_SUFFIX:
|
|
220
|
+
stem = convention.fileNameSuffix !== undefined && fileName.endsWith(convention.fileNameSuffix) && fileName.length > convention.fileNameSuffix.length
|
|
221
|
+
? fileName.slice(0, -convention.fileNameSuffix.length)
|
|
222
|
+
: undefined;
|
|
223
|
+
break;
|
|
224
|
+
default: {
|
|
225
|
+
const unhandled = convention.recognition;
|
|
226
|
+
throw new Error(`Unhandled module file recognition ${String(unhandled)}.`);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
if (stem === undefined)
|
|
230
|
+
continue;
|
|
231
|
+
switch (convention.placement) {
|
|
232
|
+
case ModuleConventionalPlacement.IN_DIRECTORY:
|
|
233
|
+
return { convention, conventional: directory === convention.directory, conventionalPath: `${convention.directory}/${fileName}` };
|
|
234
|
+
case ModuleConventionalPlacement.UNDER_DIRECTORY: {
|
|
235
|
+
/*
|
|
236
|
+
* The scaffold places a custom operation in its resource's folder (`add-custom-operation`:
|
|
237
|
+
* `resources/<resource>/<resource>.<operation>.<variant>.operation.ts`), so a misplaced one is sent there: its
|
|
238
|
+
* name's first segment is the resource.
|
|
239
|
+
*/
|
|
240
|
+
const resourceFolder = fileName.split('.')[0] ?? stem;
|
|
241
|
+
return {
|
|
242
|
+
convention,
|
|
243
|
+
conventional: directory === convention.directory || directory.startsWith(`${convention.directory}/`),
|
|
244
|
+
conventionalPath: `${convention.directory}/${resourceFolder}/${fileName}`,
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
case ModuleConventionalPlacement.IN_STEM_DIRECTORY: {
|
|
248
|
+
const inStemDirectory = directory === `${convention.directory}/${stem}`;
|
|
249
|
+
/*
|
|
250
|
+
* Inside a resource's folder but not at its own place (`resources/deals/deals.helpers.schemas.ts`,
|
|
251
|
+
* `resources/deals/parts/stages.ui-behavior.tsx`), a file whose stem names no resource of the module is that
|
|
252
|
+
* resource's helper: nothing reads its place, so it is not classified. One whose stem DOES name a resource
|
|
253
|
+
* (`resources/deals/contacts.schemas.ts`, `resources/deals/sub/deals.schemas.ts`) is that resource's file in the
|
|
254
|
+
* wrong folder, and is (#3904 second review R2-2). Outside the directory, a suffix helpers share is a resource
|
|
255
|
+
* file only when its stem names a resource the module has.
|
|
256
|
+
*/
|
|
257
|
+
const stemIsKnownResource = input.facts.knownResourceStems?.has(stem) ?? false;
|
|
258
|
+
if (!inStemDirectory && directory.startsWith(`${convention.directory}/`) && !stemIsKnownResource)
|
|
259
|
+
return undefined;
|
|
260
|
+
if (!inStemDirectory && convention.suffixSharedWithHelpers === true && !stemIsKnownResource)
|
|
261
|
+
return undefined;
|
|
262
|
+
return { convention, conventional: inStemDirectory, conventionalPath: `${convention.directory}/${stem}/${fileName}` };
|
|
263
|
+
}
|
|
264
|
+
default: {
|
|
265
|
+
const unhandled = convention.placement;
|
|
266
|
+
throw new Error(`Unhandled module file placement ${String(unhandled)}.`);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return undefined;
|
|
271
|
+
}
|
|
272
|
+
//# sourceMappingURL=module-layout-convention.companion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-layout-convention.companion.js","sourceRoot":"","sources":["../../../src/module-layout/module-layout-convention.companion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,kIAAkI;AAClI,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,0CAAyB,CAAA;IACzB,kDAAiC,CAAA;IACjC,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;AACvB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAED,sIAAsI;AACtI,MAAM,CAAC,MAAM,eAAe,GAA6B,CAAC,aAAa,CAAC,UAAU,EAAE,aAAa,CAAC,cAAc,EAAE,aAAa,CAAC,WAAW,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;AAErK,4EAA4E;AAC5E,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC;AAEtD,qEAAqE;AACrE,MAAM,CAAN,IAAY,0BAeX;AAfD,WAAY,0BAA0B;IACpC,oHAAoH;IACpH,uFAAyD,CAAA;IACzD,mGAAmG;IACnG,mEAAqC,CAAA;IACrC,qDAAqD;IACrD,iEAAmC,CAAA;IACnC,oEAAoE;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,cAAc,IAAI,QAAQ,EAAE;iBAC1E,CAAC;YACJ,CAAC;YACD,KAAK,2BAA2B,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBACnD,MAAM,eAAe,GAAG,SAAS,KAAK,GAAG,UAAU,CAAC,SAAS,IAAI,IAAI,EAAE,CAAC;gBACxE;;;;;;;mBAOG;gBACH,MAAM,mBAAmB,GAAG,KAAK,CAAC,KAAK,CAAC,kBAAkB,EAAE,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC;gBAC/E,IAAI,CAAC,eAAe,IAAI,SAAS,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,mBAAmB;oBAAE,OAAO,SAAS,CAAC;gBACnH,IAAI,CAAC,eAAe,IAAI,UAAU,CAAC,uBAAuB,KAAK,IAAI,IAAI,CAAC,mBAAmB;oBAAE,OAAO,SAAS,CAAC;gBAC9G,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,SAAS,IAAI,IAAI,IAAI,QAAQ,EAAE,EAAE,CAAC;YACxH,CAAC;YACD,OAAO,CAAC,CAAC,CAAC;gBACR,MAAM,SAAS,GAAU,UAAU,CAAC,SAAS,CAAC;gBAC9C,MAAM,IAAI,KAAK,CAAC,mCAAmC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;YAC3E,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["/**\n * Where a business module's conventional files live, per application package: the ONE source the companion reads\n * (#3904).\n *\n * ## Why this exists\n *\n * On reference run 43691253927 a coding agent registered the `enquiries` module's email templates from\n * `email/email-template-definitions.ts`. The companion writes and previews a module's templates under `emails/`, so its\n * generated template landed where nothing registered it. Tolerating the improvised folder (72b942f36 taught the companion\n * to FIND it) is the read path; Paul's decision of 2026-11-17 is that the build PREVENTS it: a module file placed outside\n * its conventional folder fails the coding run that placed it (`check:module-layout`), with the move that corrects it.\n *\n * ## What it covers, and why only this\n *\n * Only conventions the framework DEFINES (the `add-module` / `add-resource` / `add-custom-operation` scaffold writes the\n * file there, or the shipped skill states the place) AND RELIES ON (something reads the file only at that place), for a\n * file a check can RECOGNIZE wherever it is put (by a suffix only that kind uses, or by what it calls). Each entry names\n * what relies on it in `reliedOnBy`.\n *\n * Read at a fixed place by the build lane's landed probes too, and left out, each for its own reason (#3904 review F3):\n * - a seed (`seeds/<seed>.ts`) and an agent or gate (`addons/flows-actors/…`): their file names are the author's or\n * derived from a key with no kind suffix, so a misplaced one cannot be recognized; both reach startup through an\n * import the probe also asks for;\n * - the PDF bindings: the probe accepts two places (`pdf/pdf-template-bindings.ts`, `module-pdf-template-bindings.ts`);\n * - `milestones.ts`, `app-level-views/view-refs.frontend.ts` and the guidance definitions files: the probe also accepts\n * the module's (or the folder's) index, and the scaffold creates the view-refs file, so an agent edits it in place.\n * They are recognizable by exact name and are the candidates for a next entry if a misplacement is ever measured.\n * Their probe paths are still written in the coding policy, not here.\n *\n * Measured 2026-11-17 against the five dogfood applications: every file each entry recognizes sits where the entry says\n * (Wonder Todos, Wonder CRM, Wonder Ledger, Wonder Procurement, scratch-blueprint-proof), except the per-RESOURCE\n * relationships file, which is why the module relationships entry recognizes only `<module>.relationships.ts`.\n *\n * ## One source for its readers\n *\n * - the build lane's landed probes build their paths with {@link conventionalModuleFilePath}\n * (`application-build-task-coding-policy.companion.service.ts`);\n * - the companion's module email root reads {@link MODULE_EMAIL_DIRECTORY} (`module-email-root.companion.utils.ts`);\n * - `check:module-layout` classifies files with {@link classifyModuleFile} (`module-layout-inspection.companion.ts`);\n * - the scaffold cannot import TypeScript (`templates/saas/scenarios/*`), so a test walks every scenario's module files\n * through {@link classifyModuleFile} and fails when the scaffold and this source disagree, in either direction\n * (`__tests__/module-layout-convention.companion.test.ts`). The package population is pinned the same way.\n */\n\n/** An application package that holds business modules under `src/modules/<module>/`, as the `add-module` scenario writes them. */\nexport enum ModulePackage {\n SHARED_LIB = 'shared-lib',\n SPECIFICATIONS = 'specifications',\n BACKEND_API = 'backend-api',\n FRONTEND = 'frontend',\n}\n\n/** Every package with module folders, in the order `add-module` lists them. The scaffold test pins it to the scenario's file tree. */\nexport const MODULE_PACKAGES: readonly ModulePackage[] = [ModulePackage.SHARED_LIB, ModulePackage.SPECIFICATIONS, ModulePackage.BACKEND_API, ModulePackage.FRONTEND];\n\n/** Where a package keeps its modules, relative to the package directory. */\nexport const MODULES_SOURCE_DIRECTORY = 'src/modules';\n\n/** The kind of a module file whose place the framework relies on. */\nexport enum ModuleConventionalFileKind {\n /** The file that registers a module's email templates: calls `scanEmailTemplateDirectory`, or is named like one. */\n EMAIL_TEMPLATE_DEFINITIONS = 'email-template-definitions',\n /** A resource custom operation implementation, `<resource>.<operation>.<variant>.operation.ts`. */\n CUSTOM_OPERATION = 'custom-operation',\n /** A resource's schemas, `<resource>.schemas.ts`. */\n RESOURCE_SCHEMA = 'resource-schema',\n /** A resource's configuration, `<resource>.resources-config.ts`. */\n RESOURCE_CONFIGURATION = 'resource-configuration',\n /** The module's relationship edges, `<module>.relationships.ts`. */\n MODULE_RELATIONSHIPS = 'module-relationships',\n /** A resource's frontend behaviour, `<resource>.ui-behavior.tsx`. */\n RESOURCE_UI_BEHAVIOR = 'resource-ui-behavior',\n /** A resource's specification, `<resource>.resource.specification.ts`. */\n RESOURCE_SPECIFICATION = 'resource-specification',\n}\n\n/** How a file of a kind relates to its conventional directory. */\nexport enum ModuleConventionalPlacement {\n /** Directly in the directory: `emails/<file>`. */\n IN_DIRECTORY = 'in-directory',\n /** Anywhere below the directory, at any depth: `resources/…/<file>`. */\n UNDER_DIRECTORY = 'under-directory',\n /** In the directory's sub-folder named after the file's stem: `resources/<stem>/<file>`. */\n IN_STEM_DIRECTORY = 'in-stem-directory',\n}\n\n/** How a file is recognized as being of a kind. */\nexport enum ModuleConventionalFileRecognition {\n /** Its name ends with `fileNameSuffix`; the stem is the name without it. */\n NAME_SUFFIX = 'name-suffix',\n /** Its name is exactly `<module>` + `fileNameSuffix`. */\n MODULE_NAMED = 'module-named',\n /** Its content calls `scanEmailTemplateDirectory`, or its name matches `EMAIL_DEFINITIONS_FILE_NAME` (a module email definitions file). */\n EMAIL_SCANNER = 'email-scanner',\n}\n\n/** One conventional place. */\nexport interface ModuleLayoutConvention {\n readonly kind: ModuleConventionalFileKind;\n readonly package: ModulePackage;\n /** Relative to the module's folder (`<package>/src/modules/<module>/`), POSIX. */\n readonly directory: string;\n readonly placement: ModuleConventionalPlacement;\n readonly recognition: ModuleConventionalFileRecognition;\n /** For {@link ModuleConventionalFileRecognition.NAME_SUFFIX} and `MODULE_NAMED`. */\n readonly fileNameSuffix?: string;\n /** What reads the file ONLY at this place, so a file elsewhere is silently not read. Shown in a finding. */\n readonly reliedOnBy: string;\n /**\n * The suffix is also used by files that are NOT this kind (`common.schemas.ts`, a schema fragment), so outside its\n * directory a file is recognized only when its stem names a resource the module has (`ModuleFileFacts.knownResourceStems`).\n */\n readonly suffixSharedWithHelpers?: boolean;\n}\n\n/** A module's email root, under its backend module folder. */\nexport const MODULE_EMAIL_DIRECTORY = 'emails';\n/** The definitions file a new module's email root holds (the name the shipped skills teach; nothing reads the name itself). */\nexport const MODULE_EMAIL_DEFINITIONS_FILE = 'module-email-template-definitions.ts';\n/** A module's resources folder, in every package. */\nexport const MODULE_RESOURCES_DIRECTORY = 'resources';\n\n/**\n * The conventions, one per kind. Measured, not invented: see the module JSDoc. A new entry needs a scaffold file or a\n * shipped skill stating the place, and a reader that relies on it; the scaffold test then holds it to the scaffold.\n */\nexport const MODULE_LAYOUT_CONVENTIONS: readonly ModuleLayoutConvention[] = [\n {\n kind: ModuleConventionalFileKind.EMAIL_TEMPLATE_DEFINITIONS,\n package: ModulePackage.BACKEND_API,\n directory: MODULE_EMAIL_DIRECTORY,\n placement: ModuleConventionalPlacement.IN_DIRECTORY,\n recognition: ModuleConventionalFileRecognition.EMAIL_SCANNER,\n reliedOnBy: 'the companion writes a module\\'s generated email templates, and its preview imports them, under `emails/` '\n + '(where the module\\'s definitions file scans `resources/` and `system/`)',\n },\n {\n kind: ModuleConventionalFileKind.CUSTOM_OPERATION,\n package: ModulePackage.BACKEND_API,\n directory: MODULE_RESOURCES_DIRECTORY,\n placement: ModuleConventionalPlacement.UNDER_DIRECTORY,\n recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,\n fileNameSuffix: '.operation.ts',\n reliedOnBy: 'the module\\'s `resources/index.ts` registers custom operations by scanning `resources/` recursively for '\n + '`.operation` files; one anywhere else is never registered',\n },\n {\n kind: ModuleConventionalFileKind.RESOURCE_SCHEMA,\n package: ModulePackage.SHARED_LIB,\n directory: MODULE_RESOURCES_DIRECTORY,\n placement: ModuleConventionalPlacement.IN_STEM_DIRECTORY,\n recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,\n fileNameSuffix: '.schemas.ts',\n suffixSharedWithHelpers: true,\n reliedOnBy: 'the build lane proves a resource\\'s schema landed by reading `resources/<resource>/<resource>.schemas.ts`',\n },\n {\n kind: ModuleConventionalFileKind.RESOURCE_CONFIGURATION,\n package: ModulePackage.SHARED_LIB,\n directory: MODULE_RESOURCES_DIRECTORY,\n placement: ModuleConventionalPlacement.IN_STEM_DIRECTORY,\n recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,\n fileNameSuffix: '.resources-config.ts',\n reliedOnBy: 'the build lane proves a resource\\'s registration and operations landed by reading '\n + '`resources/<resource>/<resource>.resources-config.ts`',\n },\n {\n kind: ModuleConventionalFileKind.MODULE_RELATIONSHIPS,\n package: ModulePackage.SHARED_LIB,\n directory: MODULE_RESOURCES_DIRECTORY,\n placement: ModuleConventionalPlacement.IN_DIRECTORY,\n recognition: ModuleConventionalFileRecognition.MODULE_NAMED,\n fileNameSuffix: '.relationships.ts',\n reliedOnBy: 'the build lane proves a relationship landed by reading `resources/<module>.relationships.ts`',\n },\n {\n kind: ModuleConventionalFileKind.RESOURCE_UI_BEHAVIOR,\n package: ModulePackage.FRONTEND,\n directory: MODULE_RESOURCES_DIRECTORY,\n placement: ModuleConventionalPlacement.IN_STEM_DIRECTORY,\n recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,\n fileNameSuffix: '.ui-behavior.tsx',\n reliedOnBy: 'the build lane proves a resource\\'s UI behaviour and views landed by reading '\n + '`resources/<resource>/<resource>.ui-behavior.tsx`',\n },\n {\n kind: ModuleConventionalFileKind.RESOURCE_SPECIFICATION,\n package: ModulePackage.SPECIFICATIONS,\n directory: MODULE_RESOURCES_DIRECTORY,\n placement: ModuleConventionalPlacement.IN_DIRECTORY,\n recognition: ModuleConventionalFileRecognition.NAME_SUFFIX,\n fileNameSuffix: '.resource.specification.ts',\n reliedOnBy: 'the build lane proves a resource\\'s specification landed by reading `resources/<resource>.resource.specification.ts`',\n },\n];\n\n/** The convention of `kind`. Total over the enum: a kind with no entry is a programming error, caught by the scaffold test. */\nexport function moduleLayoutConvention(kind: ModuleConventionalFileKind): ModuleLayoutConvention {\n const convention = MODULE_LAYOUT_CONVENTIONS.find((entry) => entry.kind === kind);\n if (convention === undefined) throw new Error(`No module layout convention is declared for '${kind}'.`);\n return convention;\n}\n\n/** A module's folder, application-relative: `<package>/src/modules/<module>`. */\nexport function moduleFolderPath(modulePackage: ModulePackage, moduleRef: string): string {\n return `${modulePackage}/${MODULES_SOURCE_DIRECTORY}/${moduleRef}`;\n}\n\n/**\n * The application-relative path of the conventional file of `kind` for `stem` (a resource ref; ignored for the module\n * relationships file, whose stem is the module): what the build lane's landed probes read. Not defined for the email\n * definitions and custom operations, whose names are the author's.\n */\nexport function conventionalModuleFilePath(kind: ModuleConventionalFileKind, moduleRef: string, stem: string): string {\n const convention = moduleLayoutConvention(kind);\n if (convention.recognition === ModuleConventionalFileRecognition.EMAIL_SCANNER || convention.placement === ModuleConventionalPlacement.UNDER_DIRECTORY) {\n throw new Error(`A '${kind}' file is named by its author; its conventional path is not derivable from a ref.`);\n }\n const fileStem = convention.recognition === ModuleConventionalFileRecognition.MODULE_NAMED ? moduleRef : stem;\n const fileName = `${fileStem}${convention.fileNameSuffix ?? ''}`;\n const directory = convention.placement === ModuleConventionalPlacement.IN_STEM_DIRECTORY ? `${convention.directory}/${fileStem}` : convention.directory;\n return `${moduleFolderPath(convention.package, moduleRef)}/${directory}/${fileName}`;\n}\n\n/** A module file recognized as one of the kinds, and whether it sits where its kind lives. */\nexport interface ModuleFileClassification {\n readonly convention: ModuleLayoutConvention;\n /** Whether the file is where the convention puts it. */\n readonly conventional: boolean;\n /** Where it belongs, relative to the module folder (POSIX): the move's destination. */\n readonly conventionalPath: string;\n}\n\n/** Facts about a file the classification needs and cannot read from its path. */\nexport interface ModuleFileFacts {\n /** Whether the file calls the email scanner (read by the caller from its syntax tree). */\n readonly callsEmailScanner: boolean;\n /**\n * The resources the module has, by folder or file stem in any package (`resources/<resource>/`,\n * `<resource>.resource.specification.ts`, `<resource>.resources-config.ts`). Read only for a kind whose suffix helpers\n * share. Absent: none known.\n */\n readonly knownResourceStems?: ReadonlySet<string>;\n}\n\n/** A file named like a module email definitions file (`module-email-template-definitions.ts`, `email-template-definitions.ts`). */\nconst EMAIL_DEFINITIONS_FILE_NAME = /(?:^|-)email-template-definitions\\.(?:ts|tsx|mts|cts)$/u;\n\n/**\n * The convention `fileInModule` (relative to its module folder, POSIX) falls under, if any, and whether it is in place.\n * Pure: the caller supplies the one fact a path cannot carry (whether the file calls the email scanner).\n */\nexport function classifyModuleFile(input: {\n readonly modulePackage: ModulePackage;\n readonly moduleRef: string;\n readonly fileInModule: string;\n readonly facts: ModuleFileFacts;\n}): ModuleFileClassification | undefined {\n const fileName = input.fileInModule.slice(input.fileInModule.lastIndexOf('/') + 1);\n const directory = input.fileInModule.includes('/') ? input.fileInModule.slice(0, input.fileInModule.lastIndexOf('/')) : '.';\n for (const convention of MODULE_LAYOUT_CONVENTIONS) {\n if (convention.package !== input.modulePackage) continue;\n let stem: string | undefined;\n switch (convention.recognition) {\n case ModuleConventionalFileRecognition.EMAIL_SCANNER:\n stem = input.facts.callsEmailScanner || EMAIL_DEFINITIONS_FILE_NAME.test(fileName) ? fileName : undefined;\n break;\n case ModuleConventionalFileRecognition.MODULE_NAMED:\n stem = fileName === `${input.moduleRef}${convention.fileNameSuffix}` ? input.moduleRef : undefined;\n break;\n case ModuleConventionalFileRecognition.NAME_SUFFIX:\n stem = convention.fileNameSuffix !== undefined && fileName.endsWith(convention.fileNameSuffix) && fileName.length > convention.fileNameSuffix.length\n ? fileName.slice(0, -convention.fileNameSuffix.length)\n : undefined;\n break;\n default: {\n const unhandled: never = convention.recognition;\n throw new Error(`Unhandled module file recognition ${String(unhandled)}.`);\n }\n }\n if (stem === undefined) continue;\n switch (convention.placement) {\n case ModuleConventionalPlacement.IN_DIRECTORY:\n return { convention, conventional: directory === convention.directory, conventionalPath: `${convention.directory}/${fileName}` };\n case ModuleConventionalPlacement.UNDER_DIRECTORY: {\n /*\n * The scaffold places a custom operation in its resource's folder (`add-custom-operation`:\n * `resources/<resource>/<resource>.<operation>.<variant>.operation.ts`), so a misplaced one is sent there: its\n * name's first segment is the resource.\n */\n const resourceFolder = fileName.split('.')[0] ?? stem;\n return {\n convention,\n conventional: directory === convention.directory || directory.startsWith(`${convention.directory}/`),\n conventionalPath: `${convention.directory}/${resourceFolder}/${fileName}`,\n };\n }\n case ModuleConventionalPlacement.IN_STEM_DIRECTORY: {\n const inStemDirectory = directory === `${convention.directory}/${stem}`;\n /*\n * Inside a resource's folder but not at its own place (`resources/deals/deals.helpers.schemas.ts`,\n * `resources/deals/parts/stages.ui-behavior.tsx`), a file whose stem names no resource of the module is that\n * resource's helper: nothing reads its place, so it is not classified. One whose stem DOES name a resource\n * (`resources/deals/contacts.schemas.ts`, `resources/deals/sub/deals.schemas.ts`) is that resource's file in the\n * wrong folder, and is (#3904 second review R2-2). Outside the directory, a suffix helpers share is a resource\n * file only when its stem names a resource the module has.\n */\n const stemIsKnownResource = input.facts.knownResourceStems?.has(stem) ?? false;\n if (!inStemDirectory && directory.startsWith(`${convention.directory}/`) && !stemIsKnownResource) return undefined;\n if (!inStemDirectory && convention.suffixSharedWithHelpers === true && !stemIsKnownResource) return undefined;\n return { convention, conventional: inStemDirectory, conventionalPath: `${convention.directory}/${stem}/${fileName}` };\n }\n default: {\n const unhandled: never = convention.placement;\n throw new Error(`Unhandled module file placement ${String(unhandled)}.`);\n }\n }\n }\n return undefined;\n}\n"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ModuleConventionalFileKind, type ModulePackage } from './module-layout-convention.companion';
|
|
2
|
+
/** One relative import that must change when a file or folder moves. */
|
|
3
|
+
export interface ModuleLayoutImportUpdate {
|
|
4
|
+
/** Application-relative importing file. */
|
|
5
|
+
readonly importer: string;
|
|
6
|
+
readonly line: number;
|
|
7
|
+
readonly specifier: string;
|
|
8
|
+
readonly replacement: string;
|
|
9
|
+
}
|
|
10
|
+
/** One file of a conventional kind outside its conventional place, and how to put it back. */
|
|
11
|
+
export interface ModuleLayoutFinding {
|
|
12
|
+
readonly kind: ModuleConventionalFileKind;
|
|
13
|
+
/** Application-relative path of the misplaced file. */
|
|
14
|
+
readonly path: string;
|
|
15
|
+
/** Application-relative path it belongs at. */
|
|
16
|
+
readonly conventionalPath: string;
|
|
17
|
+
/** The moves, in order: `[from, to]`, application-relative; a folder move when the whole folder is the unit. */
|
|
18
|
+
readonly moves: ReadonlyArray<readonly [string, string]>;
|
|
19
|
+
readonly importUpdates: readonly ModuleLayoutImportUpdate[];
|
|
20
|
+
/** A destination that already exists, which a move would overwrite or nest into: the files must be merged by hand. */
|
|
21
|
+
readonly destinationExists: boolean;
|
|
22
|
+
/** The finding's identity, for carrying a red the tree already had (`failureFindings`). */
|
|
23
|
+
readonly identity: string;
|
|
24
|
+
/** The whole correction in one sentence, as the coding agent receives it. */
|
|
25
|
+
readonly correction: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ModuleLayoutInspection {
|
|
28
|
+
/** How many module folders were read, across every module package. */
|
|
29
|
+
readonly modulesInspected: number;
|
|
30
|
+
/** How many files a convention recognized. */
|
|
31
|
+
readonly conventionalFilesSeen: number;
|
|
32
|
+
readonly findings: readonly ModuleLayoutFinding[];
|
|
33
|
+
}
|
|
34
|
+
/** Inspect every module of every module package under `saasRoot`. */
|
|
35
|
+
export declare function inspectModuleLayout(saasRoot: string): ModuleLayoutInspection;
|
|
36
|
+
/**
|
|
37
|
+
* Every relative import in the package (`<package>/src`) that names a moved path, with the specifier it must become.
|
|
38
|
+
* Read from each file's syntax tree (import and export declarations, `import()` with a literal), so a path in a comment
|
|
39
|
+
* is not taken for an import. The extension style of the original specifier is kept (`.js` stays `.js`).
|
|
40
|
+
*/
|
|
41
|
+
export declare function planImportUpdates(saasRoot: string, modulePackage: ModulePackage, moves: ReadonlyArray<readonly [string, string]>): ModuleLayoutImportUpdate[];
|
|
42
|
+
//# sourceMappingURL=module-layout-inspection.companion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-layout-inspection.companion.d.ts","sourceRoot":"","sources":["../../../src/module-layout/module-layout-inspection.companion.ts"],"names":[],"mappings":"AAyBA,OAAO,EAOL,0BAA0B,EAE1B,KAAK,aAAa,EACnB,MAAM,sCAAsC,CAAC;AAG9C,wEAAwE;AACxE,MAAM,WAAW,wBAAwB;IACvC,2CAA2C;IAC3C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,8FAA8F;AAC9F,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,IAAI,EAAE,0BAA0B,CAAC;IAC1C,uDAAuD;IACvD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;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