@wildo-ai/wildo-cli 1.1.13 → 1.1.14
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/src/commands/build/approve.command.d.ts +4 -0
- package/dist/src/commands/build/approve.command.d.ts.map +1 -1
- package/dist/src/commands/build/approve.command.js +14 -3
- package/dist/src/commands/build/approve.command.js.map +1 -1
- package/dist/src/commands/build/close.command.d.ts +4 -0
- package/dist/src/commands/build/close.command.d.ts.map +1 -1
- package/dist/src/commands/build/close.command.js +17 -3
- package/dist/src/commands/build/close.command.js.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +21 -1
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -1
- package/dist/src/commands/creation/feed.command.js +6 -3
- package/dist/src/commands/creation/feed.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +13 -0
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +57 -3
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.js +16 -1
- package/dist/src/commands/fwk/publish-docker.command.js.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.d.ts +19 -1
- package/dist/src/commands/fwk/registry-host.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/registry-host.command.js +78 -3
- package/dist/src/commands/fwk/registry-host.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +14 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +29 -3
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +1 -0
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +1 -0
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/seal/verify.command.d.ts +18 -0
- package/dist/src/commands/seal/verify.command.d.ts.map +1 -1
- package/dist/src/commands/seal/verify.command.js +62 -1
- package/dist/src/commands/seal/verify.command.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +26 -1
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +24 -2
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +39 -2
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/build-console.service.js +54 -4
- package/dist/src/services/companion/build-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-console.service.d.ts +6 -1
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-console.service.js +14 -2
- package/dist/src/services/companion/creation-console.service.js.map +1 -1
- package/dist/src/services/companion/creation-drive.service.d.ts.map +1 -1
- package/dist/src/services/companion/creation-drive.service.js +5 -2
- package/dist/src/services/companion/creation-drive.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +14 -2
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.d.ts +2 -1
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secret-requirements.service.js +17 -1
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -1
- package/dist/src/services/deployment/application-runtime-environment.d.ts.map +1 -1
- package/dist/src/services/deployment/application-runtime-environment.js +3 -13
- package/dist/src/services/deployment/application-runtime-environment.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +8 -2
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.js +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +3 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +4 -2
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +8 -3
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/environment-service-profile.utils.d.ts +8 -1
- package/dist/src/services/environment/environment-service-profile.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-service-profile.utils.js +14 -1
- package/dist/src/services/environment/environment-service-profile.utils.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts +89 -0
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js +180 -18
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/github-actions-annotation.d.ts +19 -0
- package/dist/src/services/framework/github-actions-annotation.d.ts.map +1 -0
- package/dist/src/services/framework/github-actions-annotation.js +25 -0
- package/dist/src/services/framework/github-actions-annotation.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts +43 -0
- package/dist/src/services/framework/registry-host/registry-host-upgrade.d.ts.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host-upgrade.js +117 -0
- package/dist/src/services/framework/registry-host/registry-host-upgrade.js.map +1 -0
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts +1 -1
- package/dist/src/services/framework/registry-host/registry-host.service.d.ts.map +1 -1
- package/dist/src/services/framework/registry-host/registry-host.service.js +2 -0
- package/dist/src/services/framework/registry-host/registry-host.service.js.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.d.ts +8 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -1
- package/dist/src/services/registry/installed-file-state.utils.js +9 -1
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -1
- package/dist/src/services/registry/module-install.service.d.ts.map +1 -1
- package/dist/src/services/registry/module-install.service.js +1 -0
- package/dist/src/services/registry/module-install.service.js.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/registry/provider-module-scaffold.service.js +4 -0
- package/dist/src/services/registry/provider-module-scaffold.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/framework-root-package.json +3 -3
- package/package.json +22 -22
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +1 -1
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +17 -2
- package/templates/infra/registry-host/docker-compose.yml +9 -2
- package/templates/infra/registry-host/upgrade-image.sh +108 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_ready/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/create.users-custom_received/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/dataSubjectRequests/update.users-custom_extended/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationSsoConfig/repairUnreadableConfiguration.organization-users/labels.fr.ts +23 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.en.ts +28 -0
- package/templates/saas/i18n/engine/components/HIGH_LEVEL_VIEWS_CHART_DASHBOARD_LAYOUT_EDITOR.fr.ts +28 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.ts +6 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.en.ts +40 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_APPROVAL_SEAL.fr.ts +40 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.en.ts +3 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_TERMS.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.en.ts +2 -1
- package/templates/saas/i18n/engine/components/PUBLIC_LAYOUTS_USER_AUTH.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.en.ts +3 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_FILTERS.fr.ts +4 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +18 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +18 -1
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.en.ts +10 -82
- package/templates/saas/i18n/engine/resources/actorSystemExecutions.fr.ts +0 -72
- package/templates/saas/i18n/engine/resources/actorTasks.en.ts +0 -33
- package/templates/saas/i18n/engine/resources/actorTasks.fr.ts +0 -33
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.en.ts +0 -108
- package/templates/saas/i18n/engine/resources/agentBehaviorReports.fr.ts +0 -108
- package/templates/saas/i18n/engine/resources/agentOperationRecords.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/agentOperationRecords.fr.ts +10 -26
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +0 -12
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +0 -12
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +8 -74
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +0 -66
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +3 -21
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +3 -33
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +13 -55
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +0 -42
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/applicationAgentPolicies.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +13 -43
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +2 -70
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +2 -70
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +41 -94
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +41 -94
- package/templates/saas/i18n/engine/resources/applicationDataKeys.en.ts +2 -22
- package/templates/saas/i18n/engine/resources/applicationDataKeys.fr.ts +2 -22
- package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +25 -160
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +25 -160
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -28
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +8 -30
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +92 -23
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +95 -26
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +1 -25
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +4 -28
- package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +0 -18
- package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +2 -58
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +2 -58
- package/templates/saas/i18n/engine/resources/applicationProviderCredentials.en.ts +168 -0
- package/templates/saas/i18n/engine/resources/applicationProviderCredentials.fr.ts +168 -0
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +0 -30
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +3 -42
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +5 -44
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -30
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +113 -61
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +113 -61
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +0 -138
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +0 -138
- package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +3 -27
- package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +5 -54
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +5 -54
- package/templates/saas/i18n/engine/resources/applications.en.ts +39 -2177
- package/templates/saas/i18n/engine/resources/applications.fr.ts +39 -2177
- package/templates/saas/i18n/engine/resources/approvalSeals.en.ts +38 -31
- package/templates/saas/i18n/engine/resources/approvalSeals.fr.ts +38 -31
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +78 -111
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +78 -111
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +2 -4
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +2 -4
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +8 -6
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +8 -6
- package/templates/saas/i18n/engine/resources/chatConversations.en.ts +0 -18
- package/templates/saas/i18n/engine/resources/chatConversations.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.en.ts +0 -44
- package/templates/saas/i18n/engine/resources/chatIdentityLinks.fr.ts +0 -44
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +4 -43
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +4 -43
- package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +16 -27
- package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +16 -27
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +22 -17
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +22 -17
- package/templates/saas/i18n/engine/resources/dataSubjectRequests.en.ts +410 -0
- package/templates/saas/i18n/engine/resources/dataSubjectRequests.fr.ts +410 -0
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +128 -146
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +13 -43
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +0 -12
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +0 -12
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +24 -45
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -14
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +0 -6
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRequestedKeys.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +150 -174
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +12 -33
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +0 -21
- package/templates/saas/i18n/engine/resources/externalEffectReservations.en.ts +147 -0
- package/templates/saas/i18n/engine/resources/externalEffectReservations.fr.ts +147 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +0 -39
- package/templates/saas/i18n/engine/resources/files.fr.ts +0 -39
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.en.ts +0 -18
- package/templates/saas/i18n/engine/resources/humanDecisionNoticeStays.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.en.ts +115 -0
- package/templates/saas/i18n/engine/resources/idempotentRequestOutcomes.fr.ts +115 -0
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +3 -30
- package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +11 -25
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +11 -25
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +3 -30
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +0 -88
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +0 -88
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +16 -40
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +13 -37
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +10 -40
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.en.ts +120 -60
- package/templates/saas/i18n/engine/resources/operationApprovalRequests.fr.ts +120 -60
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +3 -21
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +3 -33
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationAgentPolicies.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +13 -43
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +2 -79
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +2 -79
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +0 -549
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +0 -549
- package/templates/saas/i18n/engine/resources/organizationChatSettings.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationChatSettings.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +13 -18
- package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +13 -18
- package/templates/saas/i18n/engine/resources/organizationCustomDomains.en.ts +195 -0
- package/templates/saas/i18n/engine/resources/organizationCustomDomains.fr.ts +195 -0
- package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.en.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationDashboardLayouts.fr.ts +153 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +0 -39
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +0 -39
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +0 -34
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +0 -34
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +25 -160
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +25 -160
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -28
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +8 -30
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +3 -18
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +0 -15
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +95 -26
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +95 -26
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +14 -45
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +14 -45
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +1 -17
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -17
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +2 -26
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +4 -28
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +2 -95
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +2 -95
- package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationModelUsageCeilingState.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +3 -36
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +0 -33
- package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +0 -12
- package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -12
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +2 -67
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +2 -67
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -9
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationPersonTokenCeilingState.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +1 -17
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -17
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +0 -58
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +0 -58
- package/templates/saas/i18n/engine/resources/organizationRelationships.en.ts +0 -128
- package/templates/saas/i18n/engine/resources/organizationRelationships.fr.ts +0 -128
- package/templates/saas/i18n/engine/resources/organizationRepresentations.en.ts +0 -83
- package/templates/saas/i18n/engine/resources/organizationRepresentations.fr.ts +0 -83
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +0 -43
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +0 -43
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +5 -76
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +5 -76
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +4 -43
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +6 -45
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -30
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +0 -37
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +113 -74
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +113 -74
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +0 -148
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +0 -148
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +40 -78
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +42 -80
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +2 -50
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +2 -50
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +0 -49
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +0 -49
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +13 -37
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +13 -37
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +5 -67
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +5 -67
- package/templates/saas/i18n/engine/resources/organizations.en.ts +34 -637
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +32 -635
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +0 -91
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +0 -91
- package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.en.ts +0 -24
- package/templates/saas/i18n/engine/resources/postCommitEffectOutbox.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/prices.en.ts +47 -108
- package/templates/saas/i18n/engine/resources/prices.fr.ts +48 -109
- package/templates/saas/i18n/engine/resources/products.en.ts +24 -68
- package/templates/saas/i18n/engine/resources/products.fr.ts +24 -68
- package/templates/saas/i18n/engine/resources/professionalQualifications.en.ts +0 -87
- package/templates/saas/i18n/engine/resources/professionalQualifications.fr.ts +0 -87
- package/templates/saas/i18n/engine/resources/promotions.en.ts +4 -56
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +6 -58
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +77 -101
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +0 -24
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.en.ts +2 -25
- package/templates/saas/i18n/engine/resources/publishedVerificationKeys.fr.ts +2 -25
- package/templates/saas/i18n/engine/resources/referrals.en.ts +21 -18
- package/templates/saas/i18n/engine/resources/referrals.fr.ts +21 -18
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.en.ts +0 -80
- package/templates/saas/i18n/engine/resources/relationshipCapabilityGrants.fr.ts +0 -80
- package/templates/saas/i18n/engine/resources/relationshipInvitations.en.ts +0 -89
- package/templates/saas/i18n/engine/resources/relationshipInvitations.fr.ts +0 -89
- package/templates/saas/i18n/engine/resources/relationshipMailboxes.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/relationshipMailboxes.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/representativeAssignments.en.ts +108 -112
- package/templates/saas/i18n/engine/resources/representativeAssignments.fr.ts +108 -112
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +8 -21
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +8 -21
- package/templates/saas/i18n/engine/resources/signatureRequestSigners.en.ts +141 -0
- package/templates/saas/i18n/engine/resources/signatureRequestSigners.fr.ts +141 -0
- package/templates/saas/i18n/engine/resources/signatureRequests.en.ts +205 -0
- package/templates/saas/i18n/engine/resources/signatureRequests.fr.ts +205 -0
- package/templates/saas/i18n/engine/resources/smsNumberAssignments.en.ts +101 -0
- package/templates/saas/i18n/engine/resources/smsNumberAssignments.fr.ts +101 -0
- package/templates/saas/i18n/engine/resources/smsOptOuts.en.ts +166 -0
- package/templates/saas/i18n/engine/resources/smsOptOuts.fr.ts +166 -0
- package/templates/saas/i18n/engine/resources/smsProviderEvents.en.ts +195 -0
- package/templates/saas/i18n/engine/resources/smsProviderEvents.fr.ts +195 -0
- package/templates/saas/i18n/engine/resources/ssoDomainReservations.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/ssoDomainReservations.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +3 -39
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +0 -36
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +0 -3
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +0 -3
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.en.ts +0 -6
- package/templates/saas/i18n/engine/resources/transactionalCommitReceipts.fr.ts +0 -6
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +3 -21
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +0 -18
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +3 -33
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +0 -27
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +13 -43
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +0 -30
- package/templates/saas/i18n/engine/resources/userCredentials.en.ts +3 -87
- package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +0 -84
- package/templates/saas/i18n/engine/resources/userFeatures.en.ts +0 -12
- package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +0 -12
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +25 -160
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +25 -160
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -28
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +8 -30
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +13 -18
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +13 -18
- package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +3 -18
- package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +0 -15
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +13 -40
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +0 -27
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +0 -15
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +0 -15
- package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +3 -36
- package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +0 -33
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +8 -60
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +8 -60
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +5 -56
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +0 -51
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +1 -17
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -17
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +0 -52
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +0 -52
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +8 -56
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +8 -56
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +5 -61
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +0 -56
- package/templates/saas/i18n/engine/resources/user_self.en.ts +37 -214
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +37 -214
- package/templates/saas/i18n/engine/resources/users.en.ts +53 -180
- package/templates/saas/i18n/engine/resources/users.fr.ts +53 -180
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/Dockerfile +4 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +9 -1
- package/templates/saas/scenarios/add-website/files/website/Dockerfile +4 -1
- package/templates/saas/scenarios/add-website/files/website/astro.config.ts.hbs +4 -0
- package/templates/saas/scenarios/add-website/files/website/package.json.hbs +1 -1
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/Dockerfile.hbs +3 -1
- package/templates/saas/skeleton/backend-api/Dockerfile +5 -2
- package/templates/saas/skeleton/frontend/Dockerfile +4 -1
- package/templates/saas/skeleton/frontend/vite-engine-dependency-prebundle.ts +10 -1
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +14 -3
- package/wildo-framework.info.json +1 -1
|
@@ -10,6 +10,10 @@ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/ty
|
|
|
10
10
|
* It starts nothing: the next `wildo build run` runs the follow-up, and a `wildo build stop` hold stays where it is. Under
|
|
11
11
|
* the automatic posture follow-ups run as derived, and the companion refuses an approval that would change nothing. To
|
|
12
12
|
* UNDO an approval before the follow-up runs, revert its commit (`git revert <sha>`).
|
|
13
|
+
*
|
|
14
|
+
* The approval covers the reported gaps the follow-up carries, so `--covers <ref,…>` names the ones the person was shown
|
|
15
|
+
* (`wildo build tasks` lists them). Without it the verb refuses and lists them; the companion refuses a decision that
|
|
16
|
+
* names none, or one that misses a report absorbed since (#3833).
|
|
13
17
|
*/
|
|
14
18
|
export default class BuildApproveCommand extends BaseCommand {
|
|
15
19
|
readonly meta: CommandMeta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approve.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/build/approve.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"approve.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/build/approve.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK1F;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IAC1D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAWxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CAoBvD"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { WorkspaceScope } from '@wildo-ai/platform-config-lib';
|
|
2
2
|
import { BaseCommand } from '../../kernel/base-command.js';
|
|
3
3
|
import { CommandCategory } from '../../kernel/types.js';
|
|
4
|
-
import { BuildConsoleClient } from '../../services/companion/build-console.service.js';
|
|
4
|
+
import { BuildConsoleClient, followUpReportsDecidedOn, shellQuoted } from '../../services/companion/build-console.service.js';
|
|
5
|
+
import { parseCsvFlag } from '../../kernel/flag-utils.js';
|
|
5
6
|
import { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '../../services/companion/console-verb.utils.js';
|
|
6
7
|
/**
|
|
7
8
|
* `wildo build approve <followUpRef>` (#3227) — let a derived follow-up run after reviewing it.
|
|
@@ -13,6 +14,10 @@ import { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '../../services/companio
|
|
|
13
14
|
* It starts nothing: the next `wildo build run` runs the follow-up, and a `wildo build stop` hold stays where it is. Under
|
|
14
15
|
* the automatic posture follow-ups run as derived, and the companion refuses an approval that would change nothing. To
|
|
15
16
|
* UNDO an approval before the follow-up runs, revert its commit (`git revert <sha>`).
|
|
17
|
+
*
|
|
18
|
+
* The approval covers the reported gaps the follow-up carries, so `--covers <ref,…>` names the ones the person was shown
|
|
19
|
+
* (`wildo build tasks` lists them). Without it the verb refuses and lists them; the companion refuses a decision that
|
|
20
|
+
* names none, or one that misses a report absorbed since (#3833).
|
|
16
21
|
*/
|
|
17
22
|
export default class BuildApproveCommand extends BaseCommand {
|
|
18
23
|
meta = {
|
|
@@ -23,6 +28,7 @@ export default class BuildApproveCommand extends BaseCommand {
|
|
|
23
28
|
args: [{ name: 'taskRef', description: 'The derived follow-up (build-task-follow-up-…) to approve', required: true }],
|
|
24
29
|
flags: {
|
|
25
30
|
note: { type: 'string', description: 'What you checked, in a sentence (recorded in the commit)' },
|
|
31
|
+
covers: { type: 'string[]', description: 'For a derived follow-up: the reports you were shown (their refs, as wildo build tasks lists them). The decision is refused if it now covers another.' },
|
|
26
32
|
json: { type: 'boolean', description: 'Emit the companion\'s document.', default: false },
|
|
27
33
|
},
|
|
28
34
|
};
|
|
@@ -30,14 +36,19 @@ export default class BuildApproveCommand extends BaseCommand {
|
|
|
30
36
|
const taskRef = ctx.args.taskRef;
|
|
31
37
|
const note = ctx.flags.note;
|
|
32
38
|
if (typeof taskRef !== 'string' || taskRef.length === 0) {
|
|
33
|
-
ctx.log.error('Usage: wildo build approve <followUpRef> [--note "<what you checked>"]');
|
|
39
|
+
ctx.log.error('Usage: wildo build approve <followUpRef> [--note "<what you checked>"] [--covers <reportRef,…>]');
|
|
34
40
|
return { success: false };
|
|
35
41
|
}
|
|
36
42
|
return runConsoleVerb(ctx, {
|
|
37
43
|
failureLabel: `Could not approve ${taskRef}`,
|
|
38
44
|
/* An approval writes one file and commits it, and runs nothing, so it answers inside the short deadline. */
|
|
39
45
|
timeoutMs: CONSOLE_READ_TIMEOUT_MS,
|
|
40
|
-
call: (options) =>
|
|
46
|
+
call: async (options) => {
|
|
47
|
+
const trimmedNote = typeof note === 'string' && note.trim().length > 0 ? note.trim() : undefined;
|
|
48
|
+
const decisionCommand = `wildo build approve ${taskRef}${trimmedNote !== undefined ? ` --note ${shellQuoted(trimmedNote)}` : ''}`;
|
|
49
|
+
const coveredReportRefs = await followUpReportsDecidedOn(options, { taskRef, covers: parseCsvFlag(ctx.flags.covers), decisionCommand });
|
|
50
|
+
return BuildConsoleClient.approve(options, taskRef, trimmedNote, coveredReportRefs);
|
|
51
|
+
},
|
|
41
52
|
render: (result) => [result.note],
|
|
42
53
|
});
|
|
43
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approve.command.js","sourceRoot":"","sources":["../../../../src/commands/build/approve.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"approve.command.js","sourceRoot":"","sources":["../../../../src/commands/build/approve.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAChI,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAE3G;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IACjD,IAAI,GAAgB;QAC3B,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,iJAAiJ;QAC9J,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,YAAY,EAAE,cAAc,CAAC,QAAQ;QACrC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,2DAA2D,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QACrH,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,0DAA0D,EAAE;YACjG,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,sJAAsJ,EAAE;YACjM,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,iCAAiC,EAAE,OAAO,EAAE,KAAK,EAAE;SAC1F;KACF,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,GAAmB;QAC3B,MAAM,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;QACjC,MAAM,IAAI,GAAG,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;QAC5B,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACxD,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,iGAAiG,CAAC,CAAC;YACjH,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;QACD,OAAO,cAAc,CAAC,GAAG,EAAE;YACzB,YAAY,EAAE,qBAAqB,OAAO,EAAE;YAC5C,4GAA4G;YAC5G,SAAS,EAAE,uBAAuB;YAClC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACtB,MAAM,WAAW,GAAG,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;gBACjG,MAAM,eAAe,GAAG,uBAAuB,OAAO,GAAG,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,WAAW,WAAW,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;gBAClI,MAAM,iBAAiB,GAAG,MAAM,wBAAwB,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC,CAAC;gBACxI,OAAO,kBAAkB,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;YACtF,CAAC;YACD,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;SAClC,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { BuildConsoleClient, followUpReportsDecidedOn, shellQuoted } from '~wildo-cli/services/companion/build-console.service';\nimport { parseCsvFlag } from '~wildo-cli/kernel/flag-utils';\nimport { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/**\n * `wildo build approve <followUpRef>` (#3227) — let a derived follow-up run after reviewing it.\n *\n * A follow-up is work the accepted plan never listed: the build derived it from a requirement a run reported still unmet.\n * Under a posture that reviews results (GUIDED) it waits, listed in `wildo build tasks` with the task whose report derived\n * it, until a person approves it here or declines it (`wildo build close <ref> --declined --reason \"<why>\"`). The approval\n * is committed in the application's specifications (`src/build-plan/build-task-decisions.json`) under the person's name.\n * It starts nothing: the next `wildo build run` runs the follow-up, and a `wildo build stop` hold stays where it is. Under\n * the automatic posture follow-ups run as derived, and the companion refuses an approval that would change nothing. To\n * UNDO an approval before the follow-up runs, revert its commit (`git revert <sha>`).\n *\n * The approval covers the reported gaps the follow-up carries, so `--covers <ref,…>` names the ones the person was shown\n * (`wildo build tasks` lists them). Without it the verb refuses and lists them; the companion refuses a decision that\n * names none, or one that misses a report absorbed since (#3833).\n */\nexport default class BuildApproveCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'build approve',\n description: 'Let a derived follow-up task run after reviewing it (a posture that reviews results holds follow-ups until then; undo: git revert that commit).',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'taskRef', description: 'The derived follow-up (build-task-follow-up-…) to approve', required: true }],\n flags: {\n note: { type: 'string', description: 'What you checked, in a sentence (recorded in the commit)' },\n covers: { type: 'string[]', description: 'For a derived follow-up: the reports you were shown (their refs, as wildo build tasks lists them). The decision is refused if it now covers another.' },\n json: { type: 'boolean', description: 'Emit the companion\\'s document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const taskRef = ctx.args.taskRef;\n const note = ctx.flags.note;\n if (typeof taskRef !== 'string' || taskRef.length === 0) {\n ctx.log.error('Usage: wildo build approve <followUpRef> [--note \"<what you checked>\"] [--covers <reportRef,…>]');\n return { success: false };\n }\n return runConsoleVerb(ctx, {\n failureLabel: `Could not approve ${taskRef}`,\n /* An approval writes one file and commits it, and runs nothing, so it answers inside the short deadline. */\n timeoutMs: CONSOLE_READ_TIMEOUT_MS,\n call: async (options) => {\n const trimmedNote = typeof note === 'string' && note.trim().length > 0 ? note.trim() : undefined;\n const decisionCommand = `wildo build approve ${taskRef}${trimmedNote !== undefined ? ` --note ${shellQuoted(trimmedNote)}` : ''}`;\n const coveredReportRefs = await followUpReportsDecidedOn(options, { taskRef, covers: parseCsvFlag(ctx.flags.covers), decisionCommand });\n return BuildConsoleClient.approve(options, taskRef, trimmedNote, coveredReportRefs);\n },\n render: (result) => [result.note],\n });\n }\n}\n"]}
|
|
@@ -18,6 +18,10 @@ import type { CommandContext, CommandMeta, CommandResult } from '../../kernel/ty
|
|
|
18
18
|
* live, for a task an active refusal holds (a failed verification, a refused specification), and for a satisfier that
|
|
19
19
|
* waits on the task or was itself declined. To UNDO a closure, revert its commit (`git revert <sha>`); closing the task
|
|
20
20
|
* again replaces it.
|
|
21
|
+
*
|
|
22
|
+
* On a derived follow-up the closure also covers the reported gaps it carries, so `--covers <ref,…>` names the ones the
|
|
23
|
+
* person was shown (`wildo build tasks` lists them). Without it the verb refuses and lists them; the companion refuses a
|
|
24
|
+
* decision that names none, or one that misses a report absorbed since (#3833).
|
|
21
25
|
*/
|
|
22
26
|
export default class BuildCloseCommand extends BaseCommand {
|
|
23
27
|
readonly meta: CommandMeta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/build/close.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"close.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/build/close.command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAK1F;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IACxD,QAAQ,CAAC,IAAI,EAAE,WAAW,CAaxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;CA0BvD"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { WorkspaceScope } from '@wildo-ai/platform-config-lib';
|
|
2
2
|
import { BaseCommand } from '../../kernel/base-command.js';
|
|
3
3
|
import { CommandCategory } from '../../kernel/types.js';
|
|
4
|
-
import { BuildConsoleClient } from '../../services/companion/build-console.service.js';
|
|
4
|
+
import { BuildConsoleClient, followUpReportsDecidedOn, shellQuoted } from '../../services/companion/build-console.service.js';
|
|
5
|
+
import { parseCsvFlag } from '../../kernel/flag-utils.js';
|
|
5
6
|
import { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '../../services/companion/console-verb.utils.js';
|
|
6
7
|
/**
|
|
7
8
|
* `wildo build close <taskRef>` (#3224, #3225, #3227) — a task done another way, or a derived follow-up declined.
|
|
@@ -21,6 +22,10 @@ import { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '../../services/companio
|
|
|
21
22
|
* live, for a task an active refusal holds (a failed verification, a refused specification), and for a satisfier that
|
|
22
23
|
* waits on the task or was itself declined. To UNDO a closure, revert its commit (`git revert <sha>`); closing the task
|
|
23
24
|
* again replaces it.
|
|
25
|
+
*
|
|
26
|
+
* On a derived follow-up the closure also covers the reported gaps it carries, so `--covers <ref,…>` names the ones the
|
|
27
|
+
* person was shown (`wildo build tasks` lists them). Without it the verb refuses and lists them; the companion refuses a
|
|
28
|
+
* decision that names none, or one that misses a report absorbed since (#3833).
|
|
24
29
|
*/
|
|
25
30
|
export default class BuildCloseCommand extends BaseCommand {
|
|
26
31
|
meta = {
|
|
@@ -33,6 +38,7 @@ export default class BuildCloseCommand extends BaseCommand {
|
|
|
33
38
|
'satisfied-by': { type: 'string', description: 'The task of the plan, or the commit, that built it' },
|
|
34
39
|
declined: { type: 'boolean', description: 'Decline a derived follow-up: the gap it answers is not worked', default: false },
|
|
35
40
|
reason: { type: 'string', description: 'Why, in a sentence (recorded in the commit)' },
|
|
41
|
+
covers: { type: 'string[]', description: 'For a derived follow-up: the reports you were shown (their refs, as wildo build tasks lists them). The decision is refused if it now covers another.' },
|
|
36
42
|
json: { type: 'boolean', description: 'Emit the companion\'s document.', default: false },
|
|
37
43
|
},
|
|
38
44
|
};
|
|
@@ -43,14 +49,22 @@ export default class BuildCloseCommand extends BaseCommand {
|
|
|
43
49
|
const reason = ctx.flags.reason;
|
|
44
50
|
const satisfier = typeof satisfiedBy === 'string' && satisfiedBy.trim().length > 0 ? satisfiedBy.trim() : undefined;
|
|
45
51
|
if (typeof taskRef !== 'string' || taskRef.length === 0 || typeof reason !== 'string' || reason.trim().length === 0 || (satisfier === undefined) === !declined) {
|
|
46
|
-
ctx.log.error('Usage: wildo build close <taskRef> (--satisfied-by <taskRef|commit> | --declined) --reason "<why>"');
|
|
52
|
+
ctx.log.error('Usage: wildo build close <taskRef> (--satisfied-by <taskRef|commit> | --declined) --reason "<why>" [--covers <reportRef,…>]');
|
|
47
53
|
return { success: false };
|
|
48
54
|
}
|
|
49
55
|
return runConsoleVerb(ctx, {
|
|
50
56
|
failureLabel: `Could not close ${taskRef}`,
|
|
51
57
|
/* A closure writes one file and commits it, and runs nothing, so it answers inside the short deadline. */
|
|
52
58
|
timeoutMs: CONSOLE_READ_TIMEOUT_MS,
|
|
53
|
-
call: (options) =>
|
|
59
|
+
call: async (options) => {
|
|
60
|
+
const decisionCommand = `wildo build close ${taskRef} ${satisfier !== undefined ? `--satisfied-by ${shellQuoted(satisfier)}` : '--declined'} --reason ${shellQuoted(reason.trim())}`;
|
|
61
|
+
const coveredReportRefs = await followUpReportsDecidedOn(options, { taskRef, covers: parseCsvFlag(ctx.flags.covers), decisionCommand });
|
|
62
|
+
return BuildConsoleClient.close(options, taskRef, {
|
|
63
|
+
...(satisfier !== undefined ? { satisfiedBy: satisfier } : { declined: true }),
|
|
64
|
+
reason: reason.trim(),
|
|
65
|
+
...(coveredReportRefs !== undefined ? { coveredReportRefs } : {}),
|
|
66
|
+
});
|
|
67
|
+
},
|
|
54
68
|
render: (result) => [result.note],
|
|
55
69
|
});
|
|
56
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close.command.js","sourceRoot":"","sources":["../../../../src/commands/build/close.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"close.command.js","sourceRoot":"","sources":["../../../../src/commands/build/close.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAChI,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAE3G;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IAC/C,IAAI,GAAgB;QAC3B,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,oJAAoJ;QACjK,QAAQ,EAAE,eAAe,CAAC,KAAK;QAC/B,YAAY,EAAE,cAAc,CAAC,QAAQ;QACrC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QACxF,KAAK,EAAE;YACL,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,oDAAoD,EAAE;YACrG,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,+DAA+D,EAAE,OAAO,EAAE,KAAK,EAAE;YAC3H,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,6CAA6C,EAAE;YACtF,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,sJAAsJ,EAAE;YACjM,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,iCAAiC,EAAE,OAAO,EAAE,KAAK,EAAE;SAC1F;KACF,CAAC;IAEF,KAAK,CAAC,GAAG,CAAC,GAAmB;QAC3B,MAAM,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;QACjC,MAAM,WAAW,GAAG,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;QAC9C,MAAM,QAAQ,GAAG,GAAG,CAAC,KAAK,CAAC,QAAQ,KAAK,IAAI,CAAC;QAC7C,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC;QAChC,MAAM,SAAS,GAAG,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;QACpH,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;YAC/J,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,6HAA6H,CAAC,CAAC;YAC7I,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;QACD,OAAO,cAAc,CAAC,GAAG,EAAE;YACzB,YAAY,EAAE,mBAAmB,OAAO,EAAE;YAC1C,0GAA0G;YAC1G,SAAS,EAAE,uBAAuB;YAClC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;gBACtB,MAAM,eAAe,GAAG,qBAAqB,OAAO,IAAI,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,kBAAkB,WAAW,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,aAAa,WAAW,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC;gBACrL,MAAM,iBAAiB,GAAG,MAAM,wBAAwB,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC,CAAC;gBACxI,OAAO,kBAAkB,CAAC,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE;oBAChD,GAAG,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;oBAC9E,MAAM,EAAE,MAAM,CAAC,IAAI,EAAE;oBACrB,GAAG,CAAC,iBAAiB,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;iBAClE,CAAC,CAAC;YACL,CAAC;YACD,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;SAClC,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { WorkspaceScope } from '@wildo-ai/platform-config-lib';\n\nimport { BaseCommand } from '~wildo-cli/kernel/base-command';\nimport { CommandCategory } from '~wildo-cli/kernel/types';\nimport type { CommandContext, CommandMeta, CommandResult } from '~wildo-cli/kernel/types';\nimport { BuildConsoleClient, followUpReportsDecidedOn, shellQuoted } from '~wildo-cli/services/companion/build-console.service';\nimport { parseCsvFlag } from '~wildo-cli/kernel/flag-utils';\nimport { CONSOLE_READ_TIMEOUT_MS, runConsoleVerb } from '~wildo-cli/services/companion/console-verb.utils';\n\n/**\n * `wildo build close <taskRef>` (#3224, #3225, #3227) — a task done another way, or a derived follow-up declined.\n *\n * On app-creation-test-007 three tasks stayed `completed_unlanded` for the rest of the build although their work was\n * committed by another task (the lifecycle task built `qualify`'s conversion; the app-shell task wrote the sidebar). Each\n * worker verified it and changed nothing, and nothing could close them. This records the closure as a committed decision\n * in the application's specifications (`src/build-plan/build-task-decisions.json`), committed under the person's name\n * with the reason as its purpose, and the task counts as landed from HEAD, marked as closed rather than proven:\n *\n * - `--satisfied-by <taskRef>`: while that task is landed;\n * - `--satisfied-by <commit>`: a commit HEAD contains;\n * - `--declined`: a derived follow-up (`build-task-follow-up-…`) the creator does not want run, only.\n *\n * A person's verb: the plugin leaves it to the person, and nothing in the build loop calls it. A closure is not a\n * dispatch: it starts nothing, and a `wildo build stop` hold stays where it is. It is refused while any coding run is\n * live, for a task an active refusal holds (a failed verification, a refused specification), and for a satisfier that\n * waits on the task or was itself declined. To UNDO a closure, revert its commit (`git revert <sha>`); closing the task\n * again replaces it.\n *\n * On a derived follow-up the closure also covers the reported gaps it carries, so `--covers <ref,…>` names the ones the\n * person was shown (`wildo build tasks` lists them). Without it the verb refuses and lists them; the companion refuses a\n * decision that names none, or one that misses a report absorbed since (#3833).\n */\nexport default class BuildCloseCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'build close',\n description: 'Close a build task another task or a commit already built, or decline a derived follow-up, as a committed decision (undo: git revert that commit).',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n args: [{ name: 'taskRef', description: 'The build-plan task to close', required: true }],\n flags: {\n 'satisfied-by': { type: 'string', description: 'The task of the plan, or the commit, that built it' },\n declined: { type: 'boolean', description: 'Decline a derived follow-up: the gap it answers is not worked', default: false },\n reason: { type: 'string', description: 'Why, in a sentence (recorded in the commit)' },\n covers: { type: 'string[]', description: 'For a derived follow-up: the reports you were shown (their refs, as wildo build tasks lists them). The decision is refused if it now covers another.' },\n json: { type: 'boolean', description: 'Emit the companion\\'s document.', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n const taskRef = ctx.args.taskRef;\n const satisfiedBy = ctx.flags['satisfied-by'];\n const declined = ctx.flags.declined === true;\n const reason = ctx.flags.reason;\n const satisfier = typeof satisfiedBy === 'string' && satisfiedBy.trim().length > 0 ? satisfiedBy.trim() : undefined;\n if (typeof taskRef !== 'string' || taskRef.length === 0 || typeof reason !== 'string' || reason.trim().length === 0 || (satisfier === undefined) === !declined) {\n ctx.log.error('Usage: wildo build close <taskRef> (--satisfied-by <taskRef|commit> | --declined) --reason \"<why>\" [--covers <reportRef,…>]');\n return { success: false };\n }\n return runConsoleVerb(ctx, {\n failureLabel: `Could not close ${taskRef}`,\n /* A closure writes one file and commits it, and runs nothing, so it answers inside the short deadline. */\n timeoutMs: CONSOLE_READ_TIMEOUT_MS,\n call: async (options) => {\n const decisionCommand = `wildo build close ${taskRef} ${satisfier !== undefined ? `--satisfied-by ${shellQuoted(satisfier)}` : '--declined'} --reason ${shellQuoted(reason.trim())}`;\n const coveredReportRefs = await followUpReportsDecidedOn(options, { taskRef, covers: parseCsvFlag(ctx.flags.covers), decisionCommand });\n return BuildConsoleClient.close(options, taskRef, {\n ...(satisfier !== undefined ? { satisfiedBy: satisfier } : { declined: true }),\n reason: reason.trim(),\n ...(coveredReportRefs !== undefined ? { coveredReportRefs } : {}),\n });\n },\n render: (result) => [result.note],\n });\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/config/sync.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;
|
|
1
|
+
{"version":3,"file":"sync.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/config/sync.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAQH,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAmO1F,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IACxD,QAAQ,CAAC,IAAI,EAAE,WAAW,CA4BxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IA4MtD,OAAO,CAAC,0BAA0B;IAmBlC,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAyCvB,OAAO,CAAC,oCAAoC;IAiB5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH;;;;;;;;;;;OAWG;YACW,+BAA+B;IAsB7C;;;;;;;;;;;;;OAaG;YACW,sCAAsC;YAyDtC,qCAAqC;IA4CnD;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,OAAO,CAAC,gCAAgC;YAuB1B,iBAAiB;IA0H/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;YACW,6BAA6B;IAyH3C;;;;;;;;;;;OAWG;YACW,oCAAoC;YAYpC,YAAY;IAc1B,OAAO,CAAC,mBAAmB;YAuBb,4BAA4B;YAkL5B,oBAAoB;YAoCpB,WAAW;YA0EX,YAAY;IA8D1B;;;OAGG;YACW,mBAAmB;YAYnB,QAAQ;YAoOR,UAAU;YAwHV,4BAA4B;CAyB3C"}
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
import chalk from 'chalk';
|
|
30
30
|
import { join } from 'path';
|
|
31
31
|
import { ErrorUtils } from '../../infrastructure/errors/error.utils.js';
|
|
32
|
+
import { CspSyncService } from '../../services/security/csp-sync.service.js';
|
|
32
33
|
import { confirm } from '@inquirer/prompts';
|
|
33
34
|
import { existsSync, readdirSync } from 'fs';
|
|
34
35
|
import { BaseCommand } from '../../kernel/base-command.js';
|
|
@@ -1536,7 +1537,26 @@ export default class ConfigSyncCommand extends BaseCommand {
|
|
|
1536
1537
|
const result = await syncProviderRuntimeArtifactsForApp(ctx.log, saasRoot, environmentName, {
|
|
1537
1538
|
frameworkPath: ctx.cliContext.resolvedHomes.framework.repositoryRoot ?? null,
|
|
1538
1539
|
});
|
|
1539
|
-
|
|
1540
|
+
if (!result.success)
|
|
1541
|
+
return false;
|
|
1542
|
+
// #3787: the frontend CSP is DERIVED from these artifacts (a browser provider's origins: PostHog's ingest host, a
|
|
1543
|
+
// Sentry DSN host), so it is regenerated for the same environment in the same step, as `wildo dev start` and
|
|
1544
|
+
// `wildo dev sync-csp` do. Until then a provider declared and synced here reached the browser blocked by a CSP that
|
|
1545
|
+
// still lacked its origins, and only a separate command nothing named would refresh it.
|
|
1546
|
+
try {
|
|
1547
|
+
const csp = await CspSyncService.sync({ saasRoot, envName: environmentName, env: process.env });
|
|
1548
|
+
for (const service of csp.services) {
|
|
1549
|
+
const changed = [service.generatedArtifactOutOfDate ? service.generatedArtifactPath : null, ...service.outOfDateNginxFiles]
|
|
1550
|
+
.filter((part) => part !== null);
|
|
1551
|
+
if (changed.length > 0)
|
|
1552
|
+
ctx.log.info(` ${chalk.cyan('CSP')} ${service.serviceKey} (${environmentName}) updated ${changed.join(', ')}`);
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
catch (error) {
|
|
1556
|
+
ctx.log.error(` Frontend CSP not refreshed for '${environmentName}': ${ErrorUtils.extractErrorMessage(error)}. Run \`wildo dev sync-csp --env ${environmentName}\`.`);
|
|
1557
|
+
return false;
|
|
1558
|
+
}
|
|
1559
|
+
return true;
|
|
1540
1560
|
}
|
|
1541
1561
|
}
|
|
1542
1562
|
//# sourceMappingURL=sync.command.js.map
|