@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/creation/feed.command.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAkB1F;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IAC1D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAaxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"feed.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/creation/feed.command.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAkB1F;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IAC1D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAaxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IAiFtD;;;OAGG;IACH,OAAO,CAAC,0BAA0B;IAyBlC;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,aAAa;CAkBtB"}
|
|
@@ -64,12 +64,15 @@ export default class CreationFeedCommand extends BaseCommand {
|
|
|
64
64
|
if (!json) {
|
|
65
65
|
this.printSpecificationFindings(ctx, first.specifications);
|
|
66
66
|
this.printBuildHold(ctx, first.buildHold);
|
|
67
|
-
// What the running wave
|
|
67
|
+
// What the running wave is preparing (#3206), so a slow dispatch does not read as a dead wave; its oldest slot, and
|
|
68
|
+
// how many more it prepares beside it (#3883).
|
|
68
69
|
if (first.buildPreparation?.heldByStopSince) {
|
|
69
70
|
ctx.log.warn(`\nThe build is stopped (since ${first.buildPreparation.heldByStopSince}): nothing starts on its own until you run \`wildo build run\`.`);
|
|
70
71
|
}
|
|
71
|
-
if (first.buildPreparation?.preparing)
|
|
72
|
-
|
|
72
|
+
if (first.buildPreparation?.preparing) {
|
|
73
|
+
const others = (first.buildPreparation.preparingCount ?? 0) - 1;
|
|
74
|
+
ctx.log.info(chalk.dim(`\nBuild wave: ${first.buildPreparation.preparing}${others > 0 ? ` (and ${others} more slot${others > 1 ? 's' : ''} being prepared)` : ''}`));
|
|
75
|
+
}
|
|
73
76
|
this.printSnapshot(ctx, first.lines, sinceCount);
|
|
74
77
|
for (const line of describeReadFreshness(first))
|
|
75
78
|
ctx.log.info(line);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.command.js","sourceRoot":"","sources":["../../../../src/commands/creation/feed.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAA4D,MAAM,gCAAgC,CAAC;AAExI,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAClG,OAAO,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AAClG,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,EAAE,uCAAuC,EAAE,MAAM,qDAAqD,CAAC;AAC9G,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAE3E,MAAM,wBAAwB,GAAG,CAAC,CAAC;AACnC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAE/B;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,OAAO,mB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,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QAE/F,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,2BAA2B,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACpE,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;YAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC,CAAC;QACrE,KAAK,MAAM,IAAI,IAAI,IAAI;YAAE,KAAK,MAAM,IAAI,IAAI,gBAAgB,CAAC,IAAI,CAAC;gBAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AAED,mHAAmH;AACnH,SAAS,0BAA0B,CAAC,SAA4C;IAC9E,OAAO,CAAC,SAAS,EAAE,YAAY,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,GAAG,OAAO,CAAC,iBAAiB,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACtJ,CAAC","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { WorkbenchCreationHomeSection, type CreationConsole_Feed, type CreationConsole_FeedLine } from '@wildo-ai/platform-core-shared';\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 { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport {\n CreationConsoleClient,\n describeFeedLine,\n feedLineSignature,\n newFollowedLines,\n} from '~wildo-cli/services/companion/creation-console.service';\nimport { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils';\nimport { companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { describeReadFreshness } from '~wildo-cli/services/companion/console-verb.utils';\nimport { describeSpecificationModuleFaultReading } from '~wildo-cli/services/companion/build-console.service';\nimport { writeJsonDocument } from '~wildo-cli/kernel/json-document-output';\n\nconst DEFAULT_INTERVAL_SECONDS = 5;\nconst DEFAULT_SINCE_COUNT = 10;\n\n/**\n * `wildo creation feed` — what the companion did, what it asks of you, what could come next.\n *\n * The console half of \"the companion is the master, the workbench is the dashboard\": a coding-agent\n * session drives creation from here, and this is how it learns what happened. The lines are Home's —\n * the same rows the workbench shows — each with the row it points at, so a refused run's error or a\n * judge's verdict is read in the same call.\n *\n * `--follow` keeps reading and prints each NEW line of what happened or what is asked (suggestions move\n * with every edit and are not events). `--exit-on-change` makes it return at the first such line, which\n * is the primitive an agent loops on: start a run, wait for the feed to move, read, act, wait again.\n * The companion cannot push into an agent session; this is the pull that stands in for it.\n */\nexport default class CreationFeedCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation feed',\n description: 'What the companion did, what it asks of you, and what could come next — once, or followed.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n follow: { type: 'boolean', description: 'Keep reading and print each new event as it happens.', default: false },\n 'exit-on-change': { type: 'boolean', description: 'With --follow: return at the first new event (for an agent that waits, then acts).', default: false },\n interval: { type: 'number', description: `Seconds between reads while following (default ${DEFAULT_INTERVAL_SECONDS}).` },\n timeout: { type: 'number', description: 'With --follow: stop after this many seconds; exits non-zero only when nothing new happened in that time.' },\n since: { type: 'number', description: `How many of the most recent \"what happened\" lines to print first (default ${DEFAULT_SINCE_COUNT}).` },\n json: { type: 'boolean', description: 'Emit the feed document (once), or one JSON line per new event (with --follow).', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const follow = ctx.flags.follow === true;\n const exitOnChange = ctx.flags['exit-on-change'] === true;\n const json = ctx.flags.json === true;\n const intervalMs = Math.max(1, typeof ctx.flags.interval === 'number' ? ctx.flags.interval : DEFAULT_INTERVAL_SECONDS) * 1000;\n const timeoutMs = typeof ctx.flags.timeout === 'number' && ctx.flags.timeout > 0 ? ctx.flags.timeout * 1000 : null;\n const sinceCount = typeof ctx.flags.since === 'number' && ctx.flags.since >= 0 ? ctx.flags.since : DEFAULT_SINCE_COUNT;\n if (exitOnChange && !follow) {\n ctx.log.error('--exit-on-change waits for something to happen, so it needs --follow.');\n return { success: false };\n }\n\n try {\n const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const first = await CreationConsoleClient.readFeed(options);\n if (json && !follow) {\n writeJsonDocument(first);\n return { success: true };\n }\n if (!json) {\n this.printSpecificationFindings(ctx, first.specifications);\n this.printBuildHold(ctx, first.buildHold);\n // What the running wave's current slot is preparing (#3206), so a slow dispatch does not read as a dead wave.\n if (first.buildPreparation?.heldByStopSince) {\n ctx.log.warn(`\\nThe build is stopped (since ${first.buildPreparation.heldByStopSince}): nothing starts on its own until you run \\`wildo build run\\`.`);\n }\n if (first.buildPreparation?.preparing) ctx.log.info(chalk.dim(`\\nBuild wave: ${first.buildPreparation.preparing}`));\n this.printSnapshot(ctx, first.lines, sinceCount);\n for (const line of describeReadFreshness(first)) ctx.log.info(line);\n }\n if (!follow) return { success: true };\n\n /* Everything already on screen counts as seen, including the older \"what happened\" lines not printed. */\n const seen = new Set(first.lines.map(feedLineSignature));\n if (!json) ctx.log.info(chalk.dim(`\\nFollowing (every ${intervalMs / 1000}s)${exitOnChange ? ', returning at the first new event' : ''} — Ctrl-C to stop.`));\n const deadline = timeoutMs !== null ? Date.now() + timeoutMs : null;\n let printedAny = false;\n // The hold is a state, not an event: said again only when it changes (it starts, it lifts, its cause moves).\n let lastHold = describeBuildHoldSignature(first.buildHold);\n for (;;) {\n /* Sleep at most until the deadline, so a --timeout shorter than --interval still reads once. */\n const wait = deadline !== null ? Math.max(0, Math.min(intervalMs, deadline - Date.now())) : intervalMs;\n await new Promise((resolve) => setTimeout(resolve, wait));\n let feed: CreationConsole_Feed | null;\n try {\n feed = await CreationConsoleClient.readFeed(options);\n } catch (error) {\n /* A companion restarting mid-follow is expected in a dev loop; say so and keep following. */\n if (!json) ctx.log.warn(`Feed unavailable (${ErrorUtils.extractErrorMessage(error)}); still following.`);\n feed = null;\n }\n const fresh = feed ? newFollowedLines(feed.lines, seen) : [];\n if (feed && !json && describeBuildHoldSignature(feed.buildHold) !== lastHold) {\n lastHold = describeBuildHoldSignature(feed.buildHold);\n if ((feed.buildHold?.bootFailures.length ?? 0) > 0) this.printBuildHold(ctx, feed.buildHold);\n else ctx.log.info(chalk.dim('\\nThe backend starts again: the build lane dispatches again.'));\n }\n for (const line of fresh) {\n seen.add(feedLineSignature(line));\n if (json) writeJsonDocument(line);\n else for (const text of describeFeedLine(line)) ctx.log.info(text);\n }\n printedAny ||= fresh.length > 0;\n if (exitOnChange && fresh.length > 0) return { success: true };\n /* The deadline is tested AFTER the read, so the last interval before it is never skipped. */\n if (deadline !== null && Date.now() >= deadline) {\n if (!json && !printedAny) ctx.log.info(chalk.dim('Nothing happened before the timeout.'));\n return { success: printedAny };\n }\n }\n } catch (error) {\n ctx.log.error(`Could not read the creation feed: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n\n /**\n * The specifications the companion refused to serve, FIRST (#3210, #3211): each is absent from every board below,\n * and nothing else says so. A package that could not be evaluated at all explains an empty feed.\n */\n private printSpecificationFindings(ctx: CommandContext, specifications: CreationConsole_Feed['specifications'] | undefined): void {\n // A companion older than #3211 sends no `specifications`: nothing to say, never a crash.\n if (specifications === undefined) return;\n if (specifications.loadError !== null) {\n ctx.log.warn(`\\nThe specifications package cannot be evaluated, so the boards that read it are empty:\\n ${specifications.loadError}`);\n }\n // The modules it could not evaluate (#3258): each serves nothing, every other module still does.\n const moduleFaults = specifications.moduleFaults ?? [];\n if (moduleFaults.length > 0) {\n ctx.log.warn(chalk.bold(`\\nSpecifications modules that could not be evaluated (${moduleFaults.length}) — each serves nothing until fixed`));\n for (const fault of moduleFaults) {\n ctx.log.warn(` ${fault.modulePath}: ${fault.errorName}: ${fault.message}`);\n if (fault.authoredFrame !== null) ctx.log.info(chalk.dim(` at ${fault.authoredFrame}`));\n if ((fault.withheldSpecifications ?? []).length > 0) ctx.log.warn(` Unavailable until fixed: ${fault.withheldSpecifications!.join(', ')}`);\n ctx.log.info(chalk.dim(` ${(fault.causedBy ?? []).length > 0 ? `Follows from ${fault.causedBy!.join(', ')}: fix that first.` : describeSpecificationModuleFaultReading(fault.reading)}`));\n }\n }\n if (specifications.faults.length === 0) return;\n ctx.log.warn(chalk.bold(`\\nSpecifications refused (${specifications.faults.length}) — not served until fixed`));\n for (const fault of specifications.faults) {\n ctx.log.warn(` ${fault.kind}${fault.key.length > 0 ? ` ${fault.key}` : ''}: ${fault.message}`);\n if (fault.authoredFrame !== null) ctx.log.info(chalk.dim(` at ${fault.authoredFrame}`));\n }\n }\n\n /**\n * Why the build lane is HOLDING dispatch (#3215): a backend that does not run the current tree. Printed before the\n * lines, because a held wave is otherwise silent — nothing runs and no line says why. Each failure's remedy is worded\n * for its cause: a task to fix, or the dev stack's repair.\n */\n private printBuildHold(ctx: CommandContext, buildHold: CreationConsole_Feed['buildHold']): void {\n // A companion older than #3215 sends no `buildHold`: nothing to say, never a crash.\n if (buildHold === undefined || buildHold.bootFailures.length === 0) return;\n ctx.log.warn(chalk.bold('\\nThe build is held: the backend does not start, so no new task is dispatched'));\n for (const failure of buildHold.bootFailures) {\n ctx.log.warn(` ${failure.serviceIdentifier} (since ${failure.failedAt}): ${failure.message ?? 'no reason recorded'}`);\n ctx.log.info(` ${failure.remedy}`);\n }\n }\n\n private printSnapshot(ctx: CommandContext, lines: readonly CreationConsole_FeedLine[], sinceCount: number): void {\n const section = (name: WorkbenchCreationHomeSection) => lines.filter((line) => line.section === name);\n const asked = section(WorkbenchCreationHomeSection.ASKED);\n const since = section(WorkbenchCreationHomeSection.SINCE).slice(0, sinceCount);\n const next = section(WorkbenchCreationHomeSection.SUGGESTION);\n\n ctx.log.info(chalk.bold(`\\nAsked of you (${asked.length})`));\n if (asked.length === 0) ctx.log.info(chalk.dim(' nothing'));\n for (const line of asked) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n\n ctx.log.info(chalk.bold(`\\nWhat happened (latest ${since.length})`));\n if (since.length === 0) ctx.log.info(chalk.dim(' nothing yet'));\n for (const line of since) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n\n ctx.log.info(chalk.bold(`\\nWhat could come next (${next.length})`));\n if (next.length === 0) ctx.log.info(chalk.dim(' nothing eligible'));\n for (const line of next) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n }\n}\n\n/** What a follow compares to tell whether the build hold changed: each held backend, its cause and its refusal. */\nfunction describeBuildHoldSignature(buildHold: CreationConsole_Feed['buildHold']): string {\n return (buildHold?.bootFailures ?? []).map((failure) => `${failure.serviceIdentifier}|${failure.cause}|${failure.message ?? ''}`).sort().join('\\n');\n}\n"]}
|
|
1
|
+
{"version":3,"file":"feed.command.js","sourceRoot":"","sources":["../../../../src/commands/creation/feed.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAA4D,MAAM,gCAAgC,CAAC;AAExI,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EACL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IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AAED,mHAAmH;AACnH,SAAS,0BAA0B,CAAC,SAA4C;IAC9E,OAAO,CAAC,SAAS,EAAE,YAAY,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,GAAG,OAAO,CAAC,iBAAiB,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACtJ,CAAC","sourcesContent":["import chalk from 'chalk';\n\nimport { WorkspaceScope } from '@wildo-ai/platform-config-lib';\nimport { WorkbenchCreationHomeSection, type CreationConsole_Feed, type CreationConsole_FeedLine } from '@wildo-ai/platform-core-shared';\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 { ensureSaasAppScope } from '~wildo-cli/kernel/command-scope-utils';\nimport { ErrorUtils } from '~wildo-cli/infrastructure/errors/error.utils';\nimport {\n CreationConsoleClient,\n describeFeedLine,\n feedLineSignature,\n newFollowedLines,\n} from '~wildo-cli/services/companion/creation-console.service';\nimport { CONTEXT_READ_TIMEOUT_MS, resolveContextOptions } from '../context/context-command.utils';\nimport { companionFailureExitCode } from '~wildo-cli/services/companion/companion-client.service';\nimport { describeReadFreshness } from '~wildo-cli/services/companion/console-verb.utils';\nimport { describeSpecificationModuleFaultReading } from '~wildo-cli/services/companion/build-console.service';\nimport { writeJsonDocument } from '~wildo-cli/kernel/json-document-output';\n\nconst DEFAULT_INTERVAL_SECONDS = 5;\nconst DEFAULT_SINCE_COUNT = 10;\n\n/**\n * `wildo creation feed` — what the companion did, what it asks of you, what could come next.\n *\n * The console half of \"the companion is the master, the workbench is the dashboard\": a coding-agent\n * session drives creation from here, and this is how it learns what happened. The lines are Home's —\n * the same rows the workbench shows — each with the row it points at, so a refused run's error or a\n * judge's verdict is read in the same call.\n *\n * `--follow` keeps reading and prints each NEW line of what happened or what is asked (suggestions move\n * with every edit and are not events). `--exit-on-change` makes it return at the first such line, which\n * is the primitive an agent loops on: start a run, wait for the feed to move, read, act, wait again.\n * The companion cannot push into an agent session; this is the pull that stands in for it.\n */\nexport default class CreationFeedCommand extends BaseCommand {\n readonly meta: CommandMeta = {\n name: 'creation feed',\n description: 'What the companion did, what it asks of you, and what could come next — once, or followed.',\n category: CommandCategory.Local,\n minimumScope: WorkspaceScope.SAAS_APP,\n flags: {\n follow: { type: 'boolean', description: 'Keep reading and print each new event as it happens.', default: false },\n 'exit-on-change': { type: 'boolean', description: 'With --follow: return at the first new event (for an agent that waits, then acts).', default: false },\n interval: { type: 'number', description: `Seconds between reads while following (default ${DEFAULT_INTERVAL_SECONDS}).` },\n timeout: { type: 'number', description: 'With --follow: stop after this many seconds; exits non-zero only when nothing new happened in that time.' },\n since: { type: 'number', description: `How many of the most recent \"what happened\" lines to print first (default ${DEFAULT_SINCE_COUNT}).` },\n json: { type: 'boolean', description: 'Emit the feed document (once), or one JSON line per new event (with --follow).', default: false },\n },\n };\n\n async run(ctx: CommandContext): Promise<CommandResult> {\n if (!ensureSaasAppScope(ctx)) return { success: false };\n const follow = ctx.flags.follow === true;\n const exitOnChange = ctx.flags['exit-on-change'] === true;\n const json = ctx.flags.json === true;\n const intervalMs = Math.max(1, typeof ctx.flags.interval === 'number' ? ctx.flags.interval : DEFAULT_INTERVAL_SECONDS) * 1000;\n const timeoutMs = typeof ctx.flags.timeout === 'number' && ctx.flags.timeout > 0 ? ctx.flags.timeout * 1000 : null;\n const sinceCount = typeof ctx.flags.since === 'number' && ctx.flags.since >= 0 ? ctx.flags.since : DEFAULT_SINCE_COUNT;\n if (exitOnChange && !follow) {\n ctx.log.error('--exit-on-change waits for something to happen, so it needs --follow.');\n return { success: false };\n }\n\n try {\n const options = await resolveContextOptions(ctx, CONTEXT_READ_TIMEOUT_MS);\n const first = await CreationConsoleClient.readFeed(options);\n if (json && !follow) {\n writeJsonDocument(first);\n return { success: true };\n }\n if (!json) {\n this.printSpecificationFindings(ctx, first.specifications);\n this.printBuildHold(ctx, first.buildHold);\n // What the running wave is preparing (#3206), so a slow dispatch does not read as a dead wave; its oldest slot, and\n // how many more it prepares beside it (#3883).\n if (first.buildPreparation?.heldByStopSince) {\n ctx.log.warn(`\\nThe build is stopped (since ${first.buildPreparation.heldByStopSince}): nothing starts on its own until you run \\`wildo build run\\`.`);\n }\n if (first.buildPreparation?.preparing) {\n const others = (first.buildPreparation.preparingCount ?? 0) - 1;\n ctx.log.info(chalk.dim(`\\nBuild wave: ${first.buildPreparation.preparing}${others > 0 ? ` (and ${others} more slot${others > 1 ? 's' : ''} being prepared)` : ''}`));\n }\n this.printSnapshot(ctx, first.lines, sinceCount);\n for (const line of describeReadFreshness(first)) ctx.log.info(line);\n }\n if (!follow) return { success: true };\n\n /* Everything already on screen counts as seen, including the older \"what happened\" lines not printed. */\n const seen = new Set(first.lines.map(feedLineSignature));\n if (!json) ctx.log.info(chalk.dim(`\\nFollowing (every ${intervalMs / 1000}s)${exitOnChange ? ', returning at the first new event' : ''} — Ctrl-C to stop.`));\n const deadline = timeoutMs !== null ? Date.now() + timeoutMs : null;\n let printedAny = false;\n // The hold is a state, not an event: said again only when it changes (it starts, it lifts, its cause moves).\n let lastHold = describeBuildHoldSignature(first.buildHold);\n for (;;) {\n /* Sleep at most until the deadline, so a --timeout shorter than --interval still reads once. */\n const wait = deadline !== null ? Math.max(0, Math.min(intervalMs, deadline - Date.now())) : intervalMs;\n await new Promise((resolve) => setTimeout(resolve, wait));\n let feed: CreationConsole_Feed | null;\n try {\n feed = await CreationConsoleClient.readFeed(options);\n } catch (error) {\n /* A companion restarting mid-follow is expected in a dev loop; say so and keep following. */\n if (!json) ctx.log.warn(`Feed unavailable (${ErrorUtils.extractErrorMessage(error)}); still following.`);\n feed = null;\n }\n const fresh = feed ? newFollowedLines(feed.lines, seen) : [];\n if (feed && !json && describeBuildHoldSignature(feed.buildHold) !== lastHold) {\n lastHold = describeBuildHoldSignature(feed.buildHold);\n if ((feed.buildHold?.bootFailures.length ?? 0) > 0) this.printBuildHold(ctx, feed.buildHold);\n else ctx.log.info(chalk.dim('\\nThe backend starts again: the build lane dispatches again.'));\n }\n for (const line of fresh) {\n seen.add(feedLineSignature(line));\n if (json) writeJsonDocument(line);\n else for (const text of describeFeedLine(line)) ctx.log.info(text);\n }\n printedAny ||= fresh.length > 0;\n if (exitOnChange && fresh.length > 0) return { success: true };\n /* The deadline is tested AFTER the read, so the last interval before it is never skipped. */\n if (deadline !== null && Date.now() >= deadline) {\n if (!json && !printedAny) ctx.log.info(chalk.dim('Nothing happened before the timeout.'));\n return { success: printedAny };\n }\n }\n } catch (error) {\n ctx.log.error(`Could not read the creation feed: ${ErrorUtils.extractErrorMessage(error)}`);\n return { success: false, exitCode: companionFailureExitCode(error) };\n }\n }\n\n /**\n * The specifications the companion refused to serve, FIRST (#3210, #3211): each is absent from every board below,\n * and nothing else says so. A package that could not be evaluated at all explains an empty feed.\n */\n private printSpecificationFindings(ctx: CommandContext, specifications: CreationConsole_Feed['specifications'] | undefined): void {\n // A companion older than #3211 sends no `specifications`: nothing to say, never a crash.\n if (specifications === undefined) return;\n if (specifications.loadError !== null) {\n ctx.log.warn(`\\nThe specifications package cannot be evaluated, so the boards that read it are empty:\\n ${specifications.loadError}`);\n }\n // The modules it could not evaluate (#3258): each serves nothing, every other module still does.\n const moduleFaults = specifications.moduleFaults ?? [];\n if (moduleFaults.length > 0) {\n ctx.log.warn(chalk.bold(`\\nSpecifications modules that could not be evaluated (${moduleFaults.length}) — each serves nothing until fixed`));\n for (const fault of moduleFaults) {\n ctx.log.warn(` ${fault.modulePath}: ${fault.errorName}: ${fault.message}`);\n if (fault.authoredFrame !== null) ctx.log.info(chalk.dim(` at ${fault.authoredFrame}`));\n if ((fault.withheldSpecifications ?? []).length > 0) ctx.log.warn(` Unavailable until fixed: ${fault.withheldSpecifications!.join(', ')}`);\n ctx.log.info(chalk.dim(` ${(fault.causedBy ?? []).length > 0 ? `Follows from ${fault.causedBy!.join(', ')}: fix that first.` : describeSpecificationModuleFaultReading(fault.reading)}`));\n }\n }\n if (specifications.faults.length === 0) return;\n ctx.log.warn(chalk.bold(`\\nSpecifications refused (${specifications.faults.length}) — not served until fixed`));\n for (const fault of specifications.faults) {\n ctx.log.warn(` ${fault.kind}${fault.key.length > 0 ? ` ${fault.key}` : ''}: ${fault.message}`);\n if (fault.authoredFrame !== null) ctx.log.info(chalk.dim(` at ${fault.authoredFrame}`));\n }\n }\n\n /**\n * Why the build lane is HOLDING dispatch (#3215): a backend that does not run the current tree. Printed before the\n * lines, because a held wave is otherwise silent — nothing runs and no line says why. Each failure's remedy is worded\n * for its cause: a task to fix, or the dev stack's repair.\n */\n private printBuildHold(ctx: CommandContext, buildHold: CreationConsole_Feed['buildHold']): void {\n // A companion older than #3215 sends no `buildHold`: nothing to say, never a crash.\n if (buildHold === undefined || buildHold.bootFailures.length === 0) return;\n ctx.log.warn(chalk.bold('\\nThe build is held: the backend does not start, so no new task is dispatched'));\n for (const failure of buildHold.bootFailures) {\n ctx.log.warn(` ${failure.serviceIdentifier} (since ${failure.failedAt}): ${failure.message ?? 'no reason recorded'}`);\n ctx.log.info(` ${failure.remedy}`);\n }\n }\n\n private printSnapshot(ctx: CommandContext, lines: readonly CreationConsole_FeedLine[], sinceCount: number): void {\n const section = (name: WorkbenchCreationHomeSection) => lines.filter((line) => line.section === name);\n const asked = section(WorkbenchCreationHomeSection.ASKED);\n const since = section(WorkbenchCreationHomeSection.SINCE).slice(0, sinceCount);\n const next = section(WorkbenchCreationHomeSection.SUGGESTION);\n\n ctx.log.info(chalk.bold(`\\nAsked of you (${asked.length})`));\n if (asked.length === 0) ctx.log.info(chalk.dim(' nothing'));\n for (const line of asked) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n\n ctx.log.info(chalk.bold(`\\nWhat happened (latest ${since.length})`));\n if (since.length === 0) ctx.log.info(chalk.dim(' nothing yet'));\n for (const line of since) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n\n ctx.log.info(chalk.bold(`\\nWhat could come next (${next.length})`));\n if (next.length === 0) ctx.log.info(chalk.dim(' nothing eligible'));\n for (const line of next) for (const text of describeFeedLine(line)) ctx.log.info(` ${text}`);\n }\n}\n\n/** What a follow compares to tell whether the build hold changed: each held backend, its cause and its refusal. */\nfunction describeBuildHoldSignature(buildHold: CreationConsole_Feed['buildHold']): string {\n return (buildHold?.bootFailures ?? []).map((failure) => `${failure.serviceIdentifier}|${failure.cause}|${failure.message ?? ''}`).sort().join('\\n');\n}\n"]}
|
|
@@ -93,6 +93,19 @@ export default class FwkPublishAllCommand extends BaseCommand {
|
|
|
93
93
|
* from their own lockfile (which is what puts their compiler there), then their `build`. Skipping it would not ship a
|
|
94
94
|
* stale package silently: the npm lane refuses a `dist/` older than its `src/`. This makes the release produce it.
|
|
95
95
|
*/
|
|
96
|
+
/**
|
|
97
|
+
* Move registry.wildo.ai's server to the image this release published, before the provider modules are sent to it
|
|
98
|
+
* (#3795). The server validates each manifest with its own schema, so a module using this release's new manifest
|
|
99
|
+
* vocabulary is refused by an older server: release 1.1.13 met exactly that (`OUTPUT_MODERATION`, 400 from 1.1.11).
|
|
100
|
+
*
|
|
101
|
+
* Like the provider step, the release does not depend on it: npm and Docker already hold the version. A host that is
|
|
102
|
+
* not configured, or an upgrade that fails or needs a full `deploy`, is a warning and a run annotation, and the
|
|
103
|
+
* provider step still runs (each module is judged on its own). A dry run only inspects, and says nothing when the
|
|
104
|
+
* host is not configured, since a dry run holds no credentials.
|
|
105
|
+
*/
|
|
106
|
+
private upgradeRegistryServer;
|
|
107
|
+
/** Raise `message` as a run annotation under GitHub Actions (see `githubWarningAnnotation`); a no-op elsewhere. */
|
|
108
|
+
private annotateIncomplete;
|
|
96
109
|
private buildProviderSimulators;
|
|
97
110
|
/**
|
|
98
111
|
* Redeploy `get.wildo.ai` only when a release changes what it serves.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-all.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/fwk/publish-all.command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"publish-all.command.d.ts","sourceRoot":"","sources":["../../../../src/commands/fwk/publish-all.command.ts"],"names":[],"mappings":"AA6FA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAuC1F,6GAA6G;AAC7G,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,EAAE,CAAA;CAAE,CAGzF,CAAC;AAKF;;;;GAIG;AACH,oBAAY,uBAAuB;IACjC,gHAAgH;IAChH,OAAO,IAAI;IACX,wFAAwF;IACxF,SAAS,KAAK;IACd,0EAA0E;IAC1E,WAAW,KAAK;CACjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAenE;AAED,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,WAAW;IAC3D,QAAQ,CAAC,IAAI,EAAE,WAAW,CAoCxB;IAEI,GAAG,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IA0MtD,OAAO,CAAC,GAAG;IAKX,kHAAkH;IAClH,OAAO,CAAC,uBAAuB;IAK/B;;;;;;;;OAQG;IACH,OAAO,CAAC,UAAU;IAwClB;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAgC3B;;;;;OAKG;YACW,cAAc;YAuEd,cAAc;IAW5B,OAAO,CAAC,IAAI;IAUZ;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAevB;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;OAMG;IACH;;;;;;;;;OASG;IACH,OAAO,CAAC,qBAAqB;IAwB7B,mHAAmH;IACnH,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,uBAAuB;IAgB/B;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,OAAO,CAAC,UAAU;IAwBlB,+FAA+F;YACjF,cAAc;YAQd,uBAAuB;IAIrC,yGAAyG;YAC3F,qBAAqB;IAKnC;;;;;;;;OAQG;IACH,OAAO,CAAC,qBAAqB;IA6B7B,2GAA2G;YAC7F,aAAa;IAe3B;;;;;OAKG;YACW,QAAQ;CAYvB"}
|
|
@@ -58,7 +58,10 @@
|
|
|
58
58
|
* npm `latest` has moved. Without the site's deploy config (`marketing/tooling/.env`) the site is
|
|
59
59
|
* skipped with a WARNING and the release still succeeds: npm and Docker hold the release, and the
|
|
60
60
|
* installers install whatever npm's `latest` is.
|
|
61
|
-
* 9. `fwk
|
|
61
|
+
* 9. `fwk registry-host upgrade --imageTag <version>` (#3795), `latest` releases only: the registry SERVER moves to
|
|
62
|
+
* the image just published, so it validates the provider modules with this release's manifest schema. A host not
|
|
63
|
+
* configured, or an upgrade that fails, warns; the dry run inspects only.
|
|
64
|
+
* Then `fwk publish providers --registry public` (#2024), `latest` releases only: the provider modules of
|
|
62
65
|
* `providers-registry/` to the public module registry, under the `wildo` domain. The registry is named,
|
|
63
66
|
* because left to its resolver a framework developer's shell (`WILDO_FRAMEWORK_DEVELOPER=1`) answers with the
|
|
64
67
|
* LOCAL registry, and a release has one destination. AFTER npm: an installed module's `@wildo-ai/*` imports
|
|
@@ -81,6 +84,7 @@
|
|
|
81
84
|
* Not included on purpose: a full `pnpm build`. The dev watchers own every package's `dist/`, and the
|
|
82
85
|
* npm lane's freshness gate names any package they left stale — run `pnpm build` then and retry.
|
|
83
86
|
*/
|
|
87
|
+
import { describeCaughtError } from '@wildo-ai/saas-models';
|
|
84
88
|
import { spawnSync } from 'child_process';
|
|
85
89
|
import { createHash } from 'crypto';
|
|
86
90
|
import { existsSync, mkdtempSync, readFileSync, realpathSync, writeFileSync } from 'fs';
|
|
@@ -97,9 +101,11 @@ import { npmRegistryClient, PackageManagerCommand, RegistryVersionStatus, spawnP
|
|
|
97
101
|
import { FRAMEWORK_IMAGE_CREATED_LABEL, FRAMEWORK_IMAGE_REVISION_LABEL, FrameworkDockerPublishService, } from '../../services/framework/framework-docker-publish.service.js';
|
|
98
102
|
import { FrameworkNpmDistTag } from '../../services/framework/framework-npm-dist-tag.service.js';
|
|
99
103
|
import { PROVIDER_SIMULATORS_RELATIVE_PATH } from '../../services/application/system-of-record-simulators.service.js';
|
|
104
|
+
import { loadRegistryHostConnection } from '../../services/framework/registry-host/registry-host.service.js';
|
|
100
105
|
import { SUPPORTED_NODE_MAJOR_VERSION } from '../../services/deployment/host-toolchain-readiness.service.js';
|
|
101
106
|
import { describeCliOutsideFrameworkCheckout } from '../../services/framework/framework-publish-cli-origin.js';
|
|
102
107
|
import { ASSURANCE_CYCLE_PACKAGE } from '../../services/assurance/assurance-cycle-location.service.js';
|
|
108
|
+
import { githubWarningAnnotation, RELEASE_INCOMPLETE_ANNOTATION_TITLE } from '../../services/framework/github-actions-annotation.js';
|
|
103
109
|
/** The dist-tag an unqualified `npm install` resolves — the only tag that moves Docker `latest` and the site. */
|
|
104
110
|
const DEFAULT_NPM_DIST_TAG = FrameworkNpmDistTag.LATEST;
|
|
105
111
|
/** The workbench script that produces its published `dist/` (see step 3 for why it is not `build`). */
|
|
@@ -327,8 +333,11 @@ export default class FwkPublishAllCommand extends BaseCommand {
|
|
|
327
333
|
// A site config the dry run cannot even plan with is one the real run would fail on.
|
|
328
334
|
if (moveLatest && ctx.flags.skipSite !== true && this.deploySite(ctx, frameworkRoot, true, ctx.flags.site === true) === false)
|
|
329
335
|
return { success: false };
|
|
336
|
+
if (moveLatest)
|
|
337
|
+
this.upgradeRegistryServer(ctx, frameworkRoot, version, wildo, true);
|
|
330
338
|
if (moveLatest && !wildo('provider modules (dry run)', ['fwk', 'publish', 'providers', '--dryRun', '--registry', 'public'])) {
|
|
331
339
|
ctx.log.warn(' The provider modules would not all publish (see above); the release does not depend on them.');
|
|
340
|
+
this.annotateIncomplete('The provider modules would not all publish; see the provider step of this run.');
|
|
332
341
|
}
|
|
333
342
|
ctx.log.success(` Planned release ${version}. Nothing was published.`);
|
|
334
343
|
return { success: true };
|
|
@@ -385,13 +394,17 @@ export default class FwkPublishAllCommand extends BaseCommand {
|
|
|
385
394
|
ctx.log.info(' wildo fwk publish all --skipDocker');
|
|
386
395
|
return { success: false };
|
|
387
396
|
}
|
|
388
|
-
// ── 9.
|
|
397
|
+
// ── 9. the registry SERVER, then the provider modules it validates (#3795) ──
|
|
398
|
+
if (moveLatest)
|
|
399
|
+
this.upgradeRegistryServer(ctx, frameworkRoot, version, wildo, false);
|
|
400
|
+
// Provider modules after npm `latest` (an installed module's engine imports resolve from npm).
|
|
389
401
|
if (!moveLatest) {
|
|
390
402
|
ctx.log.info(' Provider modules are published only with a release npm installs by default; this side channel leaves them alone.');
|
|
391
403
|
}
|
|
392
404
|
else if (!wildo('provider modules', ['fwk', 'publish', 'providers', '--registry', 'public'])) {
|
|
393
405
|
ctx.log.warn(' Not every provider module was published (see above). npm and Docker hold the release; once the cause is fixed:');
|
|
394
406
|
ctx.log.warn(' wildo fwk publish providers --registry public');
|
|
407
|
+
this.annotateIncomplete(`${version} is on npm and Docker, but not every provider module was published (see the provider step). Once the cause is fixed: wildo fwk publish providers --registry public`);
|
|
395
408
|
}
|
|
396
409
|
await this.readBack(ctx, frameworkRoot, version);
|
|
397
410
|
await this.publishReceipt(ctx, frameworkRoot, version, distTag, moveLatest);
|
|
@@ -644,6 +657,47 @@ export default class FwkPublishAllCommand extends BaseCommand {
|
|
|
644
657
|
* from their own lockfile (which is what puts their compiler there), then their `build`. Skipping it would not ship a
|
|
645
658
|
* stale package silently: the npm lane refuses a `dist/` older than its `src/`. This makes the release produce it.
|
|
646
659
|
*/
|
|
660
|
+
/**
|
|
661
|
+
* Move registry.wildo.ai's server to the image this release published, before the provider modules are sent to it
|
|
662
|
+
* (#3795). The server validates each manifest with its own schema, so a module using this release's new manifest
|
|
663
|
+
* vocabulary is refused by an older server: release 1.1.13 met exactly that (`OUTPUT_MODERATION`, 400 from 1.1.11).
|
|
664
|
+
*
|
|
665
|
+
* Like the provider step, the release does not depend on it: npm and Docker already hold the version. A host that is
|
|
666
|
+
* not configured, or an upgrade that fails or needs a full `deploy`, is a warning and a run annotation, and the
|
|
667
|
+
* provider step still runs (each module is judged on its own). A dry run only inspects, and says nothing when the
|
|
668
|
+
* host is not configured, since a dry run holds no credentials.
|
|
669
|
+
*/
|
|
670
|
+
upgradeRegistryServer(ctx, frameworkRoot, version, wildo, dryRun) {
|
|
671
|
+
let configured;
|
|
672
|
+
try {
|
|
673
|
+
configured = loadRegistryHostConnection(frameworkRoot) !== null;
|
|
674
|
+
}
|
|
675
|
+
catch (error) {
|
|
676
|
+
ctx.log.warn(` The registry host's connection in the framework secrets does not read: ${describeCaughtError(error)}`);
|
|
677
|
+
configured = false;
|
|
678
|
+
}
|
|
679
|
+
const byHand = `wildo fwk registry-host upgrade --imageTag ${version}`;
|
|
680
|
+
if (!configured) {
|
|
681
|
+
if (dryRun) {
|
|
682
|
+
ctx.log.info(' The registry host is not configured here; the real release upgrades its server before the provider modules.');
|
|
683
|
+
return;
|
|
684
|
+
}
|
|
685
|
+
ctx.log.warn(` The registry host is not configured (moduleRegistryHost in the framework secrets), so its server keeps its image. Upgrade it with: ${byHand}`);
|
|
686
|
+
this.annotateIncomplete(`The registry server was not upgraded to ${version} (no moduleRegistryHost configured): a provider module using this release's new manifest vocabulary will be refused. Run: ${byHand}`);
|
|
687
|
+
return;
|
|
688
|
+
}
|
|
689
|
+
const args = ['fwk', 'registry-host', 'upgrade', ...(dryRun ? ['--dryRun'] : []), '--imageTag', version];
|
|
690
|
+
if (wildo(`registry server${dryRun ? ' (dry run)' : ''}`, args))
|
|
691
|
+
return;
|
|
692
|
+
ctx.log.warn(` The registry server was not ${dryRun ? 'found upgradable' : 'upgraded'} (see above); the provider modules are still sent. Once the cause is fixed: ${byHand}`);
|
|
693
|
+
this.annotateIncomplete(`The registry server ${dryRun ? 'could not be upgraded' : 'was not upgraded'} to ${version} (see the registry server step). Once the cause is fixed: ${byHand}`);
|
|
694
|
+
}
|
|
695
|
+
/** Raise `message` as a run annotation under GitHub Actions (see `githubWarningAnnotation`); a no-op elsewhere. */
|
|
696
|
+
annotateIncomplete(message) {
|
|
697
|
+
const annotation = githubWarningAnnotation(RELEASE_INCOMPLETE_ANNOTATION_TITLE, message);
|
|
698
|
+
if (annotation !== null)
|
|
699
|
+
process.stdout.write(`${annotation}\n`);
|
|
700
|
+
}
|
|
647
701
|
buildProviderSimulators(ctx, frameworkRoot) {
|
|
648
702
|
ctx.log.info('\n ── build the provider simulators ──');
|
|
649
703
|
const cwd = join(frameworkRoot, PROVIDER_SIMULATORS_RELATIVE_PATH);
|
|
@@ -775,7 +829,7 @@ export default class FwkPublishAllCommand extends BaseCommand {
|
|
|
775
829
|
await FrameworkDockerPublishService.loginToRegistry(frameworkRoot);
|
|
776
830
|
}
|
|
777
831
|
catch (error) {
|
|
778
|
-
ctx.log.error(` Docker login before moving the latest alias failed: ${
|
|
832
|
+
ctx.log.error(` Docker login before moving the latest alias failed: ${describeCaughtError(error)}`);
|
|
779
833
|
return false;
|
|
780
834
|
}
|
|
781
835
|
for (const reference of await this.platformImageReferences(frameworkRoot, version)) {
|