@wildo-ai/dev-companion 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/__time-gov.probe.d.mts +0 -0
- package/dist/esm/__time-gov.probe.d.mts.map +0 -0
- package/dist/esm/__time-gov.probe.mjs.map +0 -0
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +9 -3
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts +3 -24
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.js +34 -53
- package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts +7 -0
- package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.js +9 -8
- package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.d.ts +6 -3
- package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.js +11 -12
- package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.d.ts +0 -1
- package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.js +1 -2
- package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.d.ts +7 -9
- package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.js +8 -11
- package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +143 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +84 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -0
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +177 -14
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +215 -8
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts +85 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.js +122 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -0
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +98 -0
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +135 -0
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -0
- package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts +94 -0
- package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/parked-question-answer.models.js +137 -0
- package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -0
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts +16 -0
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js +46 -0
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -0
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +46 -0
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +135 -0
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -0
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +131 -0
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +371 -0
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -0
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +717 -76
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +2056 -388
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts +109 -0
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js +186 -0
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -0
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +227 -29
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js +666 -125
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +57 -10
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +127 -10
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +16 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js +17 -0
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js +8 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +164 -87
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +52 -6
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts +90 -0
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -0
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.js +109 -0
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -0
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +201 -16
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +660 -117
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts +47 -5
- package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.js +47 -5
- package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts +34 -0
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -0
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js +65 -0
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -0
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts +11 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js +10 -2
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts +54 -0
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -0
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js +78 -0
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -0
- package/dist/esm/core/config/primary-language.companion.utils.d.ts +13 -0
- package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.js +12 -0
- package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
- package/dist/esm/core/context/companion-context.d.ts.map +1 -1
- package/dist/esm/core/context/companion-context.js +4 -0
- package/dist/esm/core/context/companion-context.js.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts +57 -0
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.js +181 -7
- package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.d.ts +23 -0
- package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -0
- package/dist/esm/core/context/draft-family-values.companion.js +49 -0
- package/dist/esm/core/context/draft-family-values.companion.js.map +1 -0
- package/dist/esm/core/inject/models/container.d.ts.map +1 -1
- package/dist/esm/core/inject/models/container.js +28 -11
- package/dist/esm/core/inject/models/container.js.map +1 -1
- package/dist/esm/core/inject/models/service-types.d.ts +12 -3
- package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/core/inject/models/service-types.js +14 -3
- package/dist/esm/core/inject/models/service-types.js.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js +74 -2
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.d.ts +37 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.js +55 -0
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +93 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +290 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -0
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +636 -18
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts +592 -17
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +1425 -94
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts +61 -4
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js +136 -10
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js +11 -0
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +21 -0
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +63 -4
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +11 -3
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +15 -5
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +28 -15
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +24 -0
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +29 -5
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +116 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +223 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +13 -15
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts +2 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +85 -51
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +14 -5
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js +14 -5
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts +33 -0
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js +59 -0
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts +12 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts +0 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts.map +0 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.js.map +0 -0
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +46 -102
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +15 -0
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js +140 -46
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +65 -2
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +292 -49
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts +79 -0
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js +49 -0
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +314 -212
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts +72 -0
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js +123 -0
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts +184 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.js +311 -0
- package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -0
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts +54 -0
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/workspace-elements.companion.js +43 -0
- package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -0
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts +23 -0
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.js +23 -0
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.d.ts +7 -0
- package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +3 -0
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.js +1 -0
- package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +31 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js +53 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -0
- package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js +35 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts +54 -0
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.js +54 -0
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -0
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +26 -14
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.js +243 -67
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +3 -3
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +35 -10
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts +0 -4
- package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.js +0 -4
- package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.js +6 -34
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.js +2 -0
- package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts +4 -2
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js +16 -6
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts +21 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.js +25 -1
- package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +45 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js +96 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts +35 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +118 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -0
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts +34 -0
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -0
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js +280 -0
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -0
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +13 -3
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +19 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.js +61 -10
- package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts +3 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.js +7 -4
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.js +4 -2
- package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.js +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts +30 -0
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +92 -19
- package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +34 -0
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -0
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js +130 -0
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -0
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts +117 -5
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js +263 -10
- package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +7 -3
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +11 -5
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +14 -24
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js +69 -68
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.d.ts +8 -0
- package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -0
- package/dist/esm/expert-personas/services/persona-source-ownership.js +83 -0
- package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts +4 -4
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js +4 -4
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts +2 -2
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js +2 -2
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +4 -2
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js +5 -3
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts +2 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js +2 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts +6 -5
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js +7 -6
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts +3 -3
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js +3 -3
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +2 -2
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js +2 -2
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts +2 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js +2 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts +43 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js +43 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts +26 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js +26 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts +18 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js +18 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts +3 -3
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js +3 -3
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +2 -2
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js +2 -2
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts +4 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js +4 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts +10 -10
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js +10 -10
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +25 -13
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js +26 -14
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js +2 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts +17 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js +17 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts +5 -5
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js +5 -5
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts +16 -2
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js +16 -2
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts +3 -3
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js +3 -3
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts +8 -8
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js +8 -8
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +14 -14
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +14 -14
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +22 -6
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +23 -7
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +4 -5
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js +4 -5
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts +4 -4
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js +4 -4
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +12 -6
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +12 -6
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts +3 -2
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js +4 -3
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts +3 -2
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js +4 -3
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +3 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js +4 -2
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts +3 -3
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js +3 -3
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +3 -3
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +3 -3
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +4 -3
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js +4 -3
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts +3 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js +4 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts +6 -6
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js +6 -6
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts +3 -3
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js +3 -3
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +15 -8
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js +16 -9
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts +20 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js +20 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts +39 -20
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js +39 -20
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts +5 -5
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js +5 -5
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts +3 -3
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js +3 -3
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts +5 -3
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js +6 -4
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts +10 -9
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js +11 -10
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts +39 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js +39 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts +5 -5
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js +5 -5
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts +6 -6
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js +6 -6
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts +7 -7
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js +7 -7
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts +4 -4
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js +4 -4
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts +24 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js +24 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts +6 -4
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js +6 -4
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +14 -10
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +14 -10
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts +6 -6
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js +6 -6
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts +11 -8
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js +12 -9
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts +9 -8
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js +9 -8
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts +25 -9
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js +25 -9
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js +2 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts +25 -24
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js +26 -25
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts +3 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js +4 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +11 -11
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +11 -11
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts +12 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js +13 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts +6 -6
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js +6 -6
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js +2 -2
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.d.ts +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.js +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.d.ts +2 -2
- package/dist/esm/i18n/components/guidance_checklist.en.js +2 -2
- package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts +1 -0
- package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.js +2 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.js +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.d.ts +1 -0
- package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.js +2 -1
- package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.js +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +5 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js +6 -2
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts +0 -13
- package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +0 -1
- package/dist/esm/i18n/composite_views/app.creation-board.en.js.map +0 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +17 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +252 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts +15 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js +58 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +96 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.js +54 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +2014 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +516 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +878 -8
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +247 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +504 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +153 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts +78 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js +255 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +149 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +79 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +89 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +74 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +70 -5
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +67 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts +80 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js +50 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts +95 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js +54 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts +95 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js +51 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js +2 -2
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +108 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +61 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts +99 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js +87 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts +121 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js +84 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts +83 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js +71 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +159 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +103 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +142 -6
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +103 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts +94 -4
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js +79 -0
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +5074 -257
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +1201 -44
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts +86 -3
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js +90 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts +97 -0
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js +77 -0
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +272 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/application-creation.en.js +319 -0
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts +154 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.js +154 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts +54 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.js +54 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/market.en.d.ts +12 -2
- package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/market.en.js +12 -2
- package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts +43 -0
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/processor-register.en.js +43 -0
- package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts +56 -0
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.js +56 -0
- package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +50 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.js +55 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +47 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +48 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +18 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js +18 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts +29 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js +29 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts +24 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js +24 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +106 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js +69 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js +8 -3
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +68 -4
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +320 -88
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts +11 -11
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +61 -44
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +139 -2
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +521 -42
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +156 -36
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts +91 -0
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js +149 -0
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +27 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js +44 -0
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +27 -0
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js +27 -0
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts +12 -0
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js +58 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.js +19 -0
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts +143 -0
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js +179 -0
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts +154 -0
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js +174 -0
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -0
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +108 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +289 -104
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +11 -0
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +27 -3
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts +29 -0
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js +59 -0
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -0
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +117 -3
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +277 -55
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts +27 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +43 -8
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts +50 -0
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js +116 -0
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +46 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js +43 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts +34 -0
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.js +59 -0
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts +65 -0
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js +83 -0
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +69 -7
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +70 -7
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js +36 -9
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +208 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +273 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +356 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js +417 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts +14 -0
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js +21 -0
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +3 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +1 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +65 -0
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +148 -0
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +933 -36
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +2092 -134
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +183 -23
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +422 -6
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +402 -16
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +1398 -70
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts +47 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +103 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts +29 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js +88 -0
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts +47 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +102 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts +0 -0
- package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts.map +0 -0
- package/dist/esm/meta-workflows/services/creator-inputs.companion.service.js.map +0 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +81 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.js +231 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts +36 -0
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js +72 -0
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts +82 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js +200 -31
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts +16 -0
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js +29 -0
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +196 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +380 -10
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts +2 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.js +36 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +57 -0
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +83 -3
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +980 -167
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +3410 -409
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +100 -0
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +156 -0
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts +49 -0
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js +93 -0
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -0
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts +45 -0
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js +145 -0
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -0
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +148 -9
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.js +317 -85
- package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts +27 -6
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js +211 -20
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts +2 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js +10 -2
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
- package/package.json +18 -18
- package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts +0 -44
- package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts.map +0 -1
- package/dist/esm/core/runtime/companion-startup-composition-fence.js +0 -85
- package/dist/esm/core/runtime/companion-startup-composition-fence.js.map +0 -1
- package/dist/esm/expert-personas/utils/canonical-json.d.ts +0 -25
- package/dist/esm/expert-personas/utils/canonical-json.d.ts.map +0 -1
- package/dist/esm/expert-personas/utils/canonical-json.js +0 -45
- package/dist/esm/expert-personas/utils/canonical-json.js.map +0 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts +0 -17
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts.map +0 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js +0 -17
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js.map +0 -1
- package/dist/esm/i18n/composite_views/app.creation-board.en.js +0 -91
- package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts +0 -92
- package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js +0 -178
- package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.js.map +0 -1
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts +0 -107
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js +0 -188
- package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-fields-extractor.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/schema-fields-extractor.utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;A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AC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC,WAAW,CAAC,CAC/E,CAAC;IAEF,MAAM,OAAO,GAAiC,EAAE,CAAC;IACjD,KAAK,MAAM,SAAS,IAAI,cAAc,EAAE,CAAC;QACvC,MAAM,MAAM,GAAG,GAAG,cAAc,CAAC,SAAS,IAAI,YAAY,WAAW,SAAS,EAAE,CAAC;QACjF,2EAA2E;QAC3E,wEAAwE;QACxE,MAAM,SAAS,GAAiB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;QAClG,OAAO,CAAC,GAAG,MAAM,gBAAgB,CAAC,GAAG,SAAS,CAAC;QAC/C,OAAO,CAAC,GAAG,MAAM,aAAa,CAAC,GAAG,SAAS,CAAC;QAC5C,OAAO,CAAC,GAAG,MAAM,sBAAsB,CAAC,GAAG,EAAE,IAAI,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;IAC3H,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n unwrapSchema,\n getZodType,\n getZodDefProperty,\n hasZodInternals,\n getZodDefArrayProperty,\n getZodObjectShape,\n getZodDefSchemaProperty,\n getEnumValues,\n getSystemEnumName,\n hasTooltipForDisplay,\n hasTooltipForEdit,\n hasDescriptionForDisplay,\n hasDescriptionForEdit,\n isEphemeralField,\n} from '@wildo-ai/zod-decorators';\nimport { AvailableCurrency } from '@wildo-ai/zod-decorators';\nimport {\n SystemEnumName,\n CommonTimezone,\n TimeFormat,\n DateFormat,\n Month,\n AvailableLanguage,\n AvailableCountry,\n WorldRegion,\n WorldSubregion,\n LabelKind,\n} from '@wildo-ai/presets-components-models';\nimport type { AnyResourceConfiguration } from '@wildo-ai/saas-models';\nimport { LabellingTypes } from '@wildo-ai/presets-components-models';\nimport type { LabelKeyMeta } from '../models/labelling-unit.models';\n\n/**\n * Per-field metadata captured while walking a Zod schema. Used to\n * decide which translation keys (display/edit, tooltip, description,\n * enum values) need to be generated for a given field path.\n *\n * Two specific behaviors that consumers must NOT change without\n * carefully reviewing every planner caller:\n *\n * 1. **`data.…<path>` collapses onto `<path>`** when both exist —\n * legacy code at `collectResourcesFieldKeys` strips the `data.`\n * prefix and drops the duplicate. We replicate the same filter in\n * `extractResourceFieldKeys` below, collapsing EVERY leading\n * `data.` segment: a LIST response DTO nests the resource under a\n * multi-level `{ data: { data: [ … ] } }` envelope, so the same\n * field surfaces at `data.`, `data.data.`, `data.data.data.` … and\n * all of those depths are duplicates of the top-level field.\n *\n * 2. **System enums are excluded from per-field enum keys.** A field\n * whose values exactly match a known system enum (timezone,\n * currency, locale, …) is registered with `isSystemEnum: true` so\n * the resource unit doesn't re-emit the same translation under\n * `<resource>.fields.<path>.enum.<value>`. The system enums get\n * translated once in the dedicated `theme:system_enums` unit.\n */\nexport interface SchemaFieldInfo {\n isEnum: boolean;\n enumValues?: string[];\n isSystemEnum?: boolean;\n schema?: z.ZodTypeAny;\n /**\n * `true` when ANY occurrence of this field path carries the `.isEphemeral()`\n * marker (a one-time secret like an API key's `plainKey`, surfaced only in a\n * per-operation `customResponseDto`). Drives two ephemeral-specific outputs:\n * a forced `display.description` key (the \"copy it now, shown once\" caption)\n * and the framework-general label/description keyMeta built by\n * `buildEphemeralFieldKeyMeta`. OR-accumulated across schema occurrences.\n */\n isEphemeral?: boolean;\n}\n\nexport type SchemaFieldInfoMap = Map<string, SchemaFieldInfo>;\n\nconst SYSTEM_ENUM_VALUE_SETS: { name: SystemEnumName; values: Set<string> }[] = [\n { name: SystemEnumName.COMMON_TIMEZONE, values: new Set(Object.values(CommonTimezone)) },\n { name: SystemEnumName.TIME_FORMAT, values: new Set(Object.values(TimeFormat)) },\n { name: SystemEnumName.DATE_FORMAT, values: new Set(Object.values(DateFormat)) },\n { name: SystemEnumName.MONTH, values: new Set(Object.values(Month)) },\n { name: SystemEnumName.AVAILABLE_LANGUAGE, values: new Set(Object.values(AvailableLanguage)) },\n { name: SystemEnumName.AVAILABLE_CURRENCY, values: new Set(Object.values(AvailableCurrency)) },\n { name: SystemEnumName.WORLD_REGION, values: new Set(Object.values(WorldRegion)) },\n { name: SystemEnumName.WORLD_SUBREGION, values: new Set(Object.values(WorldSubregion)) },\n { name: SystemEnumName.AVAILABLE_COUNTRY, values: new Set(Object.values(AvailableCountry)) },\n];\n\nfunction isSystemEnumByValues(values: string[]): boolean {\n if (!values || values.length === 0) return false;\n const valueSet = new Set(values);\n for (const { values: sysValues } of SYSTEM_ENUM_VALUE_SETS) {\n if (valueSet.size === sysValues.size && [...valueSet].every((v) => sysValues.has(v))) {\n return true;\n }\n }\n return false;\n}\n\nfunction registerField(pathParts: string[], schema: z.ZodTypeAny, acc: SchemaFieldInfoMap): void {\n const fieldPath = pathParts.join('.');\n const unwrapped = unwrapSchema(schema);\n if (!unwrapped) return;\n\n if (!acc.has(fieldPath)) acc.set(fieldPath, { isEnum: false });\n const entry = acc.get(fieldPath)!;\n if (!entry.schema) entry.schema = schema;\n\n // A field is ephemeral if ANY of its occurrences carries `.isEphemeral()`.\n // Ephemeral fields live only in a per-operation customResponseDto (e.g. an API\n // key's `plainKey`), so they never reach the resource spec — the marker on the\n // runtime schema is the only signal the labelling pipeline gets.\n if (isEphemeralField(schema)) entry.isEphemeral = true;\n\n const typeName = getZodType(unwrapped);\n\n if (typeName === 'enum') {\n entry.isEnum = true;\n\n const entriesFromDef = getZodDefProperty(unwrapped, 'entries');\n const valuesFromDef = getZodDefProperty(unwrapped, 'values');\n const schemaAny = unwrapped as { options?: unknown; enum?: unknown };\n const optionsFromSchema = schemaAny.options;\n const enumFromSchema = schemaAny.enum;\n\n let enumValues = getEnumValues(unwrapped);\n\n if (enumValues.length === 0) {\n if (Array.isArray(entriesFromDef)) {\n enumValues = entriesFromDef.filter((v): v is string => typeof v === 'string');\n } else if (Array.isArray(valuesFromDef)) {\n enumValues = valuesFromDef.filter((v): v is string => typeof v === 'string');\n } else if (Array.isArray(optionsFromSchema)) {\n enumValues = (optionsFromSchema as unknown[]).filter((v): v is string => typeof v === 'string');\n } else if (entriesFromDef && typeof entriesFromDef === 'object' && !Array.isArray(entriesFromDef)) {\n const enumObj = entriesFromDef as Record<string, unknown>;\n for (const key of Object.keys(enumObj)) {\n const value = enumObj[key];\n if (typeof value === 'string') {\n if (!Number.isNaN(Number(key))) continue;\n enumValues.push(value);\n } else if (typeof value === 'number') {\n enumValues.push(String(value));\n }\n }\n } else if (enumFromSchema && typeof enumFromSchema === 'object' && !Array.isArray(enumFromSchema)) {\n const enumObj = enumFromSchema as Record<string, unknown>;\n for (const key of Object.keys(enumObj)) {\n const value = enumObj[key];\n if (typeof value === 'string') {\n enumValues.push(value);\n } else if (typeof value === 'number') {\n const reverseKey = String(value);\n if ((enumObj as Record<string, unknown>)[reverseKey] !== key) {\n enumValues.push(String(value));\n }\n }\n }\n }\n }\n\n entry.enumValues = enumValues;\n const decoratorSystemEnum = getSystemEnumName(schema);\n entry.isSystemEnum = decoratorSystemEnum ? true : isSystemEnumByValues(entry.enumValues);\n }\n}\n\n/**\n * Recursively walk a Zod schema and populate the field info map.\n */\nexport function collectSchemaFields(\n schema: z.ZodTypeAny | undefined,\n basePath: string[],\n acc: SchemaFieldInfoMap,\n): void {\n if (!schema) return;\n const unwrapped = unwrapSchema(schema);\n if (!unwrapped) return;\n\n const typeName = getZodType(unwrapped);\n if (!typeName) return;\n\n switch (typeName) {\n case 'object': {\n const shape = getZodObjectShape(unwrapped);\n for (const key of Object.keys(shape)) {\n const nextPath = [...basePath, key];\n const child = shape[key] as z.ZodTypeAny;\n registerField(nextPath, child, acc);\n collectSchemaFields(child, nextPath, acc);\n }\n break;\n }\n case 'array': {\n const element = getZodDefSchemaProperty(unwrapped, 'element');\n if (element) collectSchemaFields(element, basePath, acc);\n break;\n }\n case 'union':\n case 'discriminatedUnion': {\n const options = getZodDefArrayProperty(unwrapped, 'options') || [];\n for (const opt of options) {\n if (opt && typeof opt === 'object' && hasZodInternals(opt)) {\n collectSchemaFields(opt as unknown as z.ZodTypeAny, basePath, acc);\n }\n }\n break;\n }\n case 'intersection': {\n const left = getZodDefSchemaProperty(unwrapped, 'left');\n const right = getZodDefSchemaProperty(unwrapped, 'right');\n if (left) collectSchemaFields(left, basePath, acc);\n if (right) collectSchemaFields(right, basePath, acc);\n break;\n }\n case 'optional':\n case 'nullable':\n case 'default':\n case 'effects':\n case 'transform':\n case 'refine': {\n const inner = getZodDefSchemaProperty(unwrapped, 'innerType')\n || getZodDefSchemaProperty(unwrapped, 'schema')\n || (() => {\n const wrapped = getZodDefProperty(unwrapped, 'wrapped');\n return wrapped && typeof wrapped === 'object' && hasZodInternals(wrapped)\n ? (wrapped as unknown as z.ZodTypeAny)\n : undefined;\n })();\n if (inner) collectSchemaFields(inner, basePath, acc);\n break;\n }\n default:\n break;\n }\n}\n\n/**\n * Drop `data.`-wrapped field paths that duplicate a top-level field.\n *\n * A LIST response DTO nests the resource under a multi-level\n * `{ data: { data: [ … ] } }` envelope, so the SAME field surfaces at\n * `data.title`, `data.data.title`, `data.data.data.title`, …. Every such depth\n * collapses onto the top-level field and is a duplicate of its label, so we\n * strip EVERY leading `data.` segment and drop the path when the collapsed form\n * matches a top-level (non-`data.`) field. The original implementation stripped\n * only ONE `data.` segment, leaving `data.data.*` and deeper as ~40 redundant\n * keys per list-DTO resource (e.g. `todos`).\n *\n * Non-resource wrapper sub-paths are intentionally PRESERVED because they\n * collapse to a non-top-level path: `data.pagination.*` → `pagination.*`, and a\n * populated relationship `data.data.organization.*` → `organization.*` (neither\n * is a top-level resource field). Pure; order-preserving (the caller sorts).\n */\nexport function dedupeDataWrappedFieldPaths(fieldPaths: Iterable<string>): string[] {\n const all = [...fieldPaths];\n const topLevelFields = new Set(all.filter((path) => !path.startsWith('data.')));\n return all.filter((path) => {\n if (!path.startsWith('data.')) return true;\n let collapsed = path;\n while (collapsed.startsWith('data.')) collapsed = collapsed.slice('data.'.length);\n return !topLevelFields.has(collapsed);\n });\n}\n\n/**\n * Walk a resource's full schema surface into a field-info map: `mainSchema`\n * plus every operation's request/response DTO. The response DTO IS the\n * `customResponseDto` for a custom-response op — the ONLY place ephemeral\n * fields (an API key's `plainKey`) live — so this is what surfaces them.\n * Shared by `extractResourceFieldKeys` and `buildEphemeralFieldKeyMeta` so the\n * two always see the identical field set (incl. ephemeral fields + their marker).\n */\nfunction buildResourceFieldInfoMap(resourceConfig: AnyResourceConfiguration): SchemaFieldInfoMap {\n const fieldInfoMap: SchemaFieldInfoMap = new Map();\n const mainSchema = resourceConfig.mainSchema as z.ZodTypeAny | undefined;\n collectSchemaFields(mainSchema, [], fieldInfoMap);\n\n for (const operation of resourceConfig.operations || []) {\n if (operation.requestDto) {\n collectSchemaFields(operation.requestDto as z.ZodTypeAny, [], fieldInfoMap);\n }\n if (operation.responseDto) {\n collectSchemaFields(operation.responseDto as z.ZodTypeAny, [], fieldInfoMap);\n }\n }\n\n return fieldInfoMap;\n}\n\n/**\n * Produce the full set of `RESOURCES.<type>.fields.<path>.<sub>` keys\n * for a single resource, given the per-field display/edit subkey\n * lists. Output is deterministic (paths sorted alphabetically) so the\n * lock fingerprint stays stable across runs.\n */\nexport function extractResourceFieldKeys(args: {\n resourceType: string;\n resourceConfig: AnyResourceConfiguration;\n displayDefs: string[];\n editDefs: string[];\n}): string[] {\n const { resourceType, resourceConfig, displayDefs, editDefs } = args;\n\n const fieldInfoMap = buildResourceFieldInfoMap(resourceConfig);\n const filteredFieldPaths = dedupeDataWrappedFieldPaths(fieldInfoMap.keys());\n\n const keys: string[] = [];\n for (const fieldPath of filteredFieldPaths.sort()) {\n const info = fieldInfoMap.get(fieldPath)!;\n const fieldPrefix = `${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}`;\n\n for (const sub of displayDefs) {\n keys.push(`${fieldPrefix}.display.${sub}`);\n }\n for (const sub of editDefs) {\n keys.push(`${fieldPrefix}.edit.${sub}`);\n }\n\n if (info.schema) {\n if (hasTooltipForDisplay(info.schema)) keys.push(`${fieldPrefix}.display.tooltip`);\n if (hasTooltipForEdit(info.schema)) keys.push(`${fieldPrefix}.edit.tooltip`);\n // An ephemeral field always earns a display description — the \"copy it\n // now, shown once\" caption the reveal dialog renders — even without an\n // authored `.describe()`. (`info.schema` is always set for walked fields.)\n if (info.isEphemeral || hasDescriptionForDisplay(info.schema)) keys.push(`${fieldPrefix}.display.description`);\n if (hasDescriptionForEdit(info.schema)) keys.push(`${fieldPrefix}.edit.description`);\n }\n\n if (info.isEnum && info.enumValues && info.enumValues.length > 0 && !info.isSystemEnum) {\n for (const enumValue of info.enumValues) {\n keys.push(`${fieldPrefix}.enum.${enumValue}`);\n }\n }\n }\n\n return keys;\n}\n\n/**\n * Framework-general purpose for an ephemeral field's user-facing LABEL. The\n * runtime field name (`plainKey`) is developer-oriented; the LLM, given this\n * purpose plus the resource context (e.g. `organizationApiKeys`), produces the\n * credential's end-user name (\"API key\"). Applies to ANY `.isEphemeral()` field.\n */\nconst EPHEMERAL_FIELD_LABEL_PURPOSE =\n 'Caption for a one-time secret credential this resource issues — for example an API key, access token, or recovery code — revealed once at creation for the user to copy. Name it as the end user knows the credential; never the raw field name, and never the word \"plain\".';\n\n/**\n * Framework-general purpose for an ephemeral field's DESCRIPTION — the per-field\n * \"copy it now, shown once\" caption the reveal dialog renders under the value.\n * Derived purely from the `.isEphemeral()` marker (closes the LABELLING-2 gap).\n */\nconst EPHEMERAL_FIELD_DESCRIPTION_PURPOSE =\n 'Tells the user to copy and store this secret value immediately because it is shown only this once and can never be retrieved or displayed again.';\n\n/**\n * Build framework-general `LabelKeyMeta` for a resource's ephemeral fields.\n *\n * Ephemeral fields (`.isEphemeral()`) live only in a per-operation\n * `customResponseDto`, so they never reach the resource spec and\n * `projectResourceKeyMeta` (which reads `spec.fields`) leaves them to heuristic\n * field-name humanization (\"Plain key\"). Straight from the marker, this projects\n * a user-facing label purpose (\"API key\") + a \"shown once\" description purpose —\n * so every ephemeral field is labelled well with zero per-field authoring. The\n * planner merges this OVER the spec keyMeta (ephemeral wins). `{}` when none.\n */\nexport function buildEphemeralFieldKeyMeta(args: {\n resourceType: string;\n resourceConfig: AnyResourceConfiguration;\n}): Record<string, LabelKeyMeta> {\n const { resourceType, resourceConfig } = args;\n const fieldInfoMap = buildResourceFieldInfoMap(resourceConfig);\n const ephemeralPaths = dedupeDataWrappedFieldPaths(\n [...fieldInfoMap.keys()].filter((path) => fieldInfoMap.get(path)!.isEphemeral),\n );\n\n const keyMeta: Record<string, LabelKeyMeta> = {};\n for (const fieldPath of ephemeralPaths) {\n const prefix = `${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}`;\n // display + edit share the user-facing caption (the field is not editable,\n // but the edit.label key is still emitted, so keep the two consistent).\n const labelMeta: LabelKeyMeta = { kind: LabelKind.LABEL, purpose: EPHEMERAL_FIELD_LABEL_PURPOSE };\n keyMeta[`${prefix}.display.label`] = labelMeta;\n keyMeta[`${prefix}.edit.label`] = labelMeta;\n keyMeta[`${prefix}.display.description`] = { kind: LabelKind.DESCRIPTION, purpose: EPHEMERAL_FIELD_DESCRIPTION_PURPOSE };\n }\n return keyMeta;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"schema-fields-extractor.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/schema-fields-extractor.utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,SAAS,EACT,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,EACtB,iCAAiC,GAClC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE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,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;GAKG;AACH,MAAM,6BAA6B,GACjC,8QAA8Q,CAAC;AAEjR;;;;GAIG;AACH,MAAM,mCAAmC,GACvC,kJAAkJ,CAAC;AAErJ;;;;;;;;;;GAUG;AACH,MAAM,UAAU,0BAA0B,CAAC,IAG1C;IACC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;IAC9C,MAAM,YAAY,GAAG,yBAAyB,CAAC,cAAc,CAAC,CAAC;IAC/D,MAAM,cAAc,GAAG,2BAA2B,CAChD,CAAC,GAAG,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC,WAAW,CAAC,CAC/E,CAAC;IAEF,MAAM,OAAO,GAAiC,EAAE,CAAC;IACjD,KAAK,MAAM,SAAS,IAAI,cAAc,EAAE,CAAC;QACvC,MAAM,MAAM,GAAG,GAAG,cAAc,CAAC,SAAS,IAAI,YAAY,WAAW,SAAS,EAAE,CAAC;QACjF,2EAA2E;QAC3E,wEAAwE;QACxE,MAAM,SAAS,GAAiB,EAAE,IAAI,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;QAClG,OAAO,CAAC,GAAG,MAAM,gBAAgB,CAAC,GAAG,SAAS,CAAC;QAC/C,OAAO,CAAC,GAAG,MAAM,aAAa,CAAC,GAAG,SAAS,CAAC;QAC5C,OAAO,CAAC,GAAG,MAAM,sBAAsB,CAAC,GAAG,EAAE,IAAI,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;IAC3H,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n unwrapSchema,\n getZodType,\n getZodDefProperty,\n hasZodInternals,\n getZodDefArrayProperty,\n getZodObjectShape,\n getZodDefSchemaProperty,\n getEnumValues,\n getUnionObjectMembers,\n hasTooltipForDisplay,\n hasTooltipForEdit,\n hasDescriptionForDisplay,\n hasDescriptionForEdit,\n isEphemeralField,\n isHiddenForDisplay,\n isHiddenForEdit,\n} from '@wildo-ai/zod-decorators';\nimport {\n LabelKind,\n SYSTEM_ENUM_VALUES,\n resolveDeclaredSystemEnumName,\n resolveFieldEnumSchema,\n synthesizeUnionDiscriminatorEnums,\n} from '@wildo-ai/presets-components-models';\nimport type { AnyResourceConfiguration } from '@wildo-ai/saas-models';\nimport { LabellingTypes } from '@wildo-ai/presets-components-models';\nimport type { LabelKeyMeta } from '../models/labelling-unit.models';\n\n/**\n * Per-field metadata captured while walking a Zod schema. Used to\n * decide which translation keys (display/edit, tooltip, description,\n * enum values) need to be generated for a given field path.\n *\n * Two specific behaviors that consumers must NOT change without\n * carefully reviewing every planner caller:\n *\n * 1. **`data.…<path>` collapses onto `<path>`** when both exist —\n * legacy code at `collectResourcesFieldKeys` strips the `data.`\n * prefix and drops the duplicate. We replicate the same filter in\n * `extractResourceFieldKeys` below, collapsing EVERY leading\n * `data.` segment: a LIST response DTO nests the resource under a\n * multi-level `{ data: { data: [ … ] } }` envelope, so the same\n * field surfaces at `data.`, `data.data.`, `data.data.data.` … and\n * all of those depths are duplicates of the top-level field.\n *\n * 2. **System enums are excluded from per-field enum keys.** A field\n * whose values exactly match a known system enum (timezone,\n * currency, locale, …) is registered with `isSystemEnum: true` so\n * the resource unit doesn't re-emit the same translation under\n * `<resource>.fields.<path>.enum.<value>`. The system enums get\n * translated once in the dedicated `theme:system_enums` unit.\n */\nexport interface SchemaFieldInfo {\n isEnum: boolean;\n enumValues?: string[];\n isSystemEnum?: boolean;\n schema?: z.ZodTypeAny;\n /**\n * `true` when ANY occurrence of this field path carries the `.isEphemeral()`\n * marker (a one-time secret like an API key's `plainKey`, surfaced only in a\n * per-operation `customResponseDto`). Drives two ephemeral-specific outputs:\n * a forced `display.description` key (the \"copy it now, shown once\" caption)\n * and the framework-general label/description keyMeta built by\n * `buildEphemeralFieldKeyMeta`. OR-accumulated across schema occurrences.\n */\n isEphemeral?: boolean;\n /**\n * The system-enum NAME this field's values belong to, when it has one — either\n * declared by `.systemEnum('X')` on the schema, or recognised by an exact value-set\n * match against `SYSTEM_ENUM_VALUES`. Answered by `resolveDeclaredSystemEnumName`\n * (`@wildo-ai/presets-components-models`), the same function the frontend's\n * `tResourceFieldEnumValue` reads, so \"suppressed here\" and \"looked up there\" cannot\n * disagree about which enum a field declares (#966).\n *\n * Recorded rather than discarded because it is the OTHER half of `isSystemEnum`.\n * `isSystemEnum` says \"suppress the per-field `<resource>.fields.<path>.enum.<value>`\n * keys\"; the name says WHERE the label must be planned instead\n * (`system_enums.<name>.<value>`). Keeping only the boolean is what let a decorated\n * name be suppressed here and never planned there, leaving the value with no label\n * anywhere and rendering its RAW wire value in the UI — see\n * `collectSystemEnumVocabularies` below.\n */\n systemEnumName?: string;\n /**\n * Two occurrences of this field declared DIFFERENT vocabularies (#1108), so no `system_enums` group may\n * claim it even if a later occurrence agrees with one of them. Set once, never cleared.\n */\n systemEnumDisputed?: boolean;\n}\n\nexport type SchemaFieldInfoMap = Map<string, SchemaFieldInfo>;\n\n/*\n * The framework's system-enum catalogue (`SYSTEM_ENUM_VALUES`) and the exact value-set match used to\n * live here. They moved to `@wildo-ai/presets-components-models` (#966) so the frontend label cascade\n * reads the SAME answer to \"which enum does this field declare\" — see `resolveDeclaredSystemEnumName`.\n */\n\n/**\n * Register one field path.\n *\n * @param enumSourceSchema - the schema the field's VOCABULARY is read from, when it is not the field's own.\n * A union's discriminator passes the enum `synthesizeUnionDiscriminatorEnums` collected across every\n * member, so the path carries the whole vocabulary rather than one member's literal. The field's own\n * `schema` still supplies its tooltip/description/ephemeral metadata.\n * @param insideUnresolvableUnion - `true` inside a union `getUnionObjectMembers` does not recognise (see\n * `collectSchemaFields`): the field is registered, but never as an enum of ANY shape.\n */\nfunction registerField(\n pathParts: string[],\n schema: z.ZodTypeAny,\n acc: SchemaFieldInfoMap,\n enumSourceSchema?: z.ZodTypeAny,\n insideUnresolvableUnion = false,\n): void {\n const fieldPath = pathParts.join('.');\n const unwrapped = unwrapSchema(schema);\n if (!unwrapped) return;\n\n if (!acc.has(fieldPath)) acc.set(fieldPath, { isEnum: false });\n const entry = acc.get(fieldPath)!;\n if (!entry.schema) entry.schema = schema;\n\n // A field is ephemeral if ANY of its occurrences carries `.isEphemeral()`.\n // Ephemeral fields live only in a per-operation customResponseDto (e.g. an API\n // key's `plainKey`), so they never reach the resource spec — the marker on the\n // runtime schema is the only signal the labelling pipeline gets.\n if (isEphemeralField(schema)) entry.isEphemeral = true;\n\n /*\n * WHETHER the field carries a vocabulary is `resolveFieldEnumSchema`'s answer — the renderer's\n * (`resolveResourceLabelEnumSchema` delegates to it). This used to ask \"is the unwrapped type `enum`\",\n * so a discriminator `z.literal` (#1021) and an ARRAY's element (#1079) were invisible here while the\n * renderer looked both up: `privacy.consentedPurposes: z.array(z.enum(ConsentPurpose).systemEnum(…))`\n * was planned nowhere, and the consent gate rendered its purposes raw.\n */\n const resolvedEnumSchema = resolveFieldEnumSchema(enumSourceSchema ?? schema);\n const enumSchema = insideUnresolvableUnion ? undefined : resolvedEnumSchema;\n\n if (enumSchema) {\n const occurrenceValues = extractEnumValues(enumSchema);\n /*\n * A field's planned vocabulary is the UNION of every value any occurrence of it can hold (#1108).\n *\n * One path is walked several times — the main schema, then every operation's request and response\n * DTO — and a later occurrence used to REPLACE the values an earlier one had registered. For a\n * `createSchemaFamily` discriminator that is fatal: the main schema is the family's discriminated\n * union, whose synthesized discriminator carries every base value and every variant, while a\n * variant's request DTO carries that ONE variant's literal. Walked last, the DTO left\n * `consumableTokens.consumptionMode` planned with `BOUNDED_REUSE` alone, and a regeneration that\n * followed the plan deleted the words for `SINGLE_USE` and `EPHEMERAL_STATE` — values rows hold.\n */\n entry.isEnum = true;\n entry.enumValues = [...new Set([...(entry.enumValues ?? []), ...occurrenceValues])];\n // The DECORATOR wins over value matching: `.systemEnum('SubscriptionStatus')` names a\n // vocabulary that has no `SystemEnumName` member and could never be recognised by\n // values. Both answers feed one field so that suppression (`isSystemEnum`) and the\n // planned destination (`systemEnumName`) can never disagree about the same field — and\n // the function is shared with the frontend cascade, so neither can the renderer (#966).\n // Across occurrences the name survives only while every occurrence that declares one\n // declares the same; a narrowed DTO literal that declares nothing keeps the union's answer,\n // and two occurrences naming different vocabularies leave the field with per-field words,\n // as `synthesizeUnionDiscriminatorEnums` decides for disagreeing members.\n const declared = resolveDeclaredSystemEnumName(enumSchema, occurrenceValues);\n if (declared !== undefined) {\n if (entry.systemEnumName === undefined && !entry.systemEnumDisputed) entry.systemEnumName = declared;\n else if (entry.systemEnumName !== declared) {\n entry.systemEnumName = undefined;\n entry.systemEnumDisputed = true;\n }\n }\n entry.isSystemEnum = Boolean(entry.systemEnumName);\n }\n}\n\n/**\n * The values of an enum-bearing schema. A `z.enum` keeps the extraction this planner has always used\n * (with its fallbacks over Zod's enum def shapes); a literal or a union of enum-likes reads `getEnumValues`,\n * as the renderer does.\n */\nfunction extractEnumValues(enumSchema: z.ZodTypeAny): string[] {\n const unwrapped = unwrapSchema(enumSchema);\n if (getZodType(unwrapped) !== 'enum') return getEnumValues(enumSchema);\n\n const entriesFromDef = getZodDefProperty(unwrapped, 'entries');\n const valuesFromDef = getZodDefProperty(unwrapped, 'values');\n const schemaAny = unwrapped as { options?: unknown; enum?: unknown };\n const optionsFromSchema = schemaAny.options;\n const enumFromSchema = schemaAny.enum;\n\n let enumValues = getEnumValues(unwrapped);\n\n if (enumValues.length === 0) {\n if (Array.isArray(entriesFromDef)) {\n enumValues = entriesFromDef.filter((v): v is string => typeof v === 'string');\n } else if (Array.isArray(valuesFromDef)) {\n enumValues = valuesFromDef.filter((v): v is string => typeof v === 'string');\n } else if (Array.isArray(optionsFromSchema)) {\n enumValues = (optionsFromSchema as unknown[]).filter((v): v is string => typeof v === 'string');\n } else if (entriesFromDef && typeof entriesFromDef === 'object' && !Array.isArray(entriesFromDef)) {\n const enumObj = entriesFromDef as Record<string, unknown>;\n for (const key of Object.keys(enumObj)) {\n const value = enumObj[key];\n if (typeof value === 'string') {\n if (!Number.isNaN(Number(key))) continue;\n enumValues.push(value);\n } else if (typeof value === 'number') {\n enumValues.push(String(value));\n }\n }\n } else if (enumFromSchema && typeof enumFromSchema === 'object' && !Array.isArray(enumFromSchema)) {\n const enumObj = enumFromSchema as Record<string, unknown>;\n for (const key of Object.keys(enumObj)) {\n const value = enumObj[key];\n if (typeof value === 'string') {\n enumValues.push(value);\n } else if (typeof value === 'number') {\n const reverseKey = String(value);\n if ((enumObj as Record<string, unknown>)[reverseKey] !== key) {\n enumValues.push(String(value));\n }\n }\n }\n }\n }\n\n return enumValues;\n}\n\n/**\n * Recursively walk a Zod schema and populate the field info map.\n *\n * @param discriminatorEnums - set only when walking one member of a union: the union's discriminator enums\n * (`synthesizeUnionDiscriminatorEnums`), read in place of that member's own literal so the discriminator\n * path carries the vocabulary of EVERY member — and its declared `system_enums` name when they all agree —\n * exactly as the renderer's `collectResourceLabelFieldEntries` collects it (#1021).\n * @param insideUnresolvableUnion - `true` once the walk is inside a union `getUnionObjectMembers` does not\n * recognise (no key discriminates it). The renderer walks NOTHING below such a union, so no field in the\n * subtree is registered as an enum of any shape — literal, synthesized discriminator, array element, literal\n * union or plain `z.enum` — and none plans enum keys nothing reads. Fields are still registered, and still\n * plan their label keys (a pre-existing over-plan). Carried through object, array and intersection recursion.\n */\nexport function collectSchemaFields(\n schema: z.ZodTypeAny | undefined,\n basePath: string[],\n acc: SchemaFieldInfoMap,\n discriminatorEnums?: Readonly<Record<string, z.ZodTypeAny>>,\n insideUnresolvableUnion = false,\n): void {\n if (!schema) return;\n const unwrapped = unwrapSchema(schema);\n if (!unwrapped) return;\n\n const typeName = getZodType(unwrapped);\n if (!typeName) return;\n\n switch (typeName) {\n case 'object': {\n const shape = getZodObjectShape(unwrapped);\n for (const key of Object.keys(shape)) {\n const nextPath = [...basePath, key];\n const child = shape[key] as z.ZodTypeAny;\n registerField(nextPath, child, acc, discriminatorEnums?.[key], insideUnresolvableUnion);\n collectSchemaFields(child, nextPath, acc, undefined, insideUnresolvableUnion);\n }\n break;\n }\n case 'array': {\n const element = getZodDefSchemaProperty(unwrapped, 'element');\n if (element) collectSchemaFields(element, basePath, acc, undefined, insideUnresolvableUnion);\n break;\n }\n case 'union':\n case 'discriminatedUnion': {\n const unionMembers = getUnionObjectMembers(unwrapped);\n const unionDiscriminatorEnums = synthesizeUnionDiscriminatorEnums(unionMembers);\n const memberInsideUnresolvableUnion = insideUnresolvableUnion || unionMembers.length === 0;\n const options = getZodDefArrayProperty(unwrapped, 'options') || [];\n for (const opt of options) {\n if (opt && typeof opt === 'object' && hasZodInternals(opt)) {\n collectSchemaFields(opt as unknown as z.ZodTypeAny, basePath, acc, unionDiscriminatorEnums, memberInsideUnresolvableUnion);\n }\n }\n break;\n }\n case 'intersection': {\n const left = getZodDefSchemaProperty(unwrapped, 'left');\n const right = getZodDefSchemaProperty(unwrapped, 'right');\n if (left) collectSchemaFields(left, basePath, acc, undefined, insideUnresolvableUnion);\n if (right) collectSchemaFields(right, basePath, acc, undefined, insideUnresolvableUnion);\n break;\n }\n /*\n * No wrapper cases (`optional`/`nullable`/`default`/`effects`/`transform`/`refine`), deliberately: `unwrapSchema`\n * above peels optional, nullable, default, pipe, readonly and catch, and Zod 4 has no `effects`/`refine` type\n * (a refinement is a check on the same schema). The one survivor among the removed case labels is\n * `transform` (e.g. the `in` side of a `z.preprocess` pipe), whose def carries no inner schema — so the removed\n * case could only ever do nothing. `prefault`, `lazy` and `nonoptional` also survive `unwrapSchema`, but no case\n * here ever walked them. Measured 2026-09-14 over optional, nullable, nullish, default, transform, refine,\n * superRefine, preprocess, pipe, readonly, catch, prefault, lazy, brand and a chained wrapper.\n */\n default:\n break;\n }\n}\n\n/**\n * Drop `data.`-wrapped field paths that duplicate a top-level field.\n *\n * A LIST response DTO nests the resource under a multi-level\n * `{ data: { data: [ … ] } }` envelope, so the SAME field surfaces at\n * `data.title`, `data.data.title`, `data.data.data.title`, …. Every such depth\n * collapses onto the top-level field and is a duplicate of its label, so we\n * strip EVERY leading `data.` segment and drop the path when the collapsed form\n * matches a top-level (non-`data.`) field. The original implementation stripped\n * only ONE `data.` segment, leaving `data.data.*` and deeper as ~40 redundant\n * keys per list-DTO resource (e.g. `todos`).\n *\n * Non-resource wrapper sub-paths are intentionally PRESERVED because they\n * collapse to a non-top-level path: `data.pagination.*` → `pagination.*`, and a\n * populated relationship `data.data.organization.*` → `organization.*` (neither\n * is a top-level resource field). Pure; order-preserving (the caller sorts).\n */\nexport function dedupeDataWrappedFieldPaths(fieldPaths: Iterable<string>): string[] {\n const all = [...fieldPaths];\n const topLevelFields = new Set(all.filter((path) => !path.startsWith('data.')));\n return all.filter((path) => {\n if (!path.startsWith('data.')) return true;\n let collapsed = path;\n while (collapsed.startsWith('data.')) collapsed = collapsed.slice('data.'.length);\n return !topLevelFields.has(collapsed);\n });\n}\n\n/**\n * Walk a resource's full schema surface into a field-info map: `mainSchema`\n * plus every operation's request/response DTO. The response DTO IS the\n * `customResponseDto` for a custom-response op — the ONLY place ephemeral\n * fields (an API key's `plainKey`) live — so this is what surfaces them.\n * Shared by `extractResourceFieldKeys` and `buildEphemeralFieldKeyMeta` so the\n * two always see the identical field set (incl. ephemeral fields + their marker).\n */\nfunction buildResourceFieldInfoMap(resourceConfig: AnyResourceConfiguration): SchemaFieldInfoMap {\n const fieldInfoMap: SchemaFieldInfoMap = new Map();\n const mainSchema = resourceConfig.mainSchema as z.ZodTypeAny | undefined;\n collectSchemaFields(mainSchema, [], fieldInfoMap);\n\n for (const operation of resourceConfig.operations || []) {\n if (operation.requestDto) {\n collectSchemaFields(operation.requestDto as z.ZodTypeAny, [], fieldInfoMap);\n }\n if (operation.responseDto) {\n collectSchemaFields(operation.responseDto as z.ZodTypeAny, [], fieldInfoMap);\n }\n }\n\n return fieldInfoMap;\n}\n\n/**\n * Produce the full set of `RESOURCES.<type>.fields.<path>.<sub>` keys\n * for a single resource, given the per-field display/edit subkey\n * lists. Output is deterministic (paths sorted alphabetically) so the\n * lock fingerprint stays stable across runs.\n */\nexport function extractResourceFieldKeys(args: {\n resourceType: string;\n resourceConfig: AnyResourceConfiguration;\n displayDefs: string[];\n editDefs: string[];\n}): string[] {\n const { resourceType, resourceConfig, displayDefs, editDefs } = args;\n\n const fieldInfoMap = buildResourceFieldInfoMap(resourceConfig);\n const filteredFieldPaths = dedupeDataWrappedFieldPaths(fieldInfoMap.keys());\n\n const keys: string[] = [];\n for (const fieldPath of filteredFieldPaths.sort()) {\n const info = fieldInfoMap.get(fieldPath)!;\n const fieldPrefix = `${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}`;\n\n /*\n * A field HIDDEN in a mode gets no words for that mode, because nothing can ever read them.\n *\n * `.isHidden()` is not a styling hint: `DisplayField` returns empty for `isHiddenForDisplay`\n * BEFORE any render, and says so — \"must never render in ANY display surface\" — covering the\n * authored `<DisplayField name=\"x\" />` path as well as the generated one. So a label planned for\n * such a field is text with no reachable reader, and an LLM is paid per unit to invent it.\n *\n * Measured 2026-09-18 (#1298), on the framework-injected retention pair alone: `impersonalizedAt`\n * is `.isHidden()` on every resource declaring a `retentionPolicy`, and across the two dogfood\n * applications it had collected ELEVEN different English labels — \"Impersonalized at\" 87 times,\n * \"Impersonalized\" 33, and, contradicting this repository's own `impersonaliz* ≠ anonymiz*`\n * distinction, \"Anonymized\" 5 more. Nobody had ever seen any of them.\n *\n * Gated PER MODE rather than per field, because the decorator is per mode: `.isHidden()` bare\n * hides both, while `.isHidden({ display: true })` hides one and leaves the other renderable and\n * therefore still owed its words. The enum VALUES need only one surface that can show them, so\n * they drop out only when the field is hidden in both.\n */\n const hiddenForDisplay = info.schema ? isHiddenForDisplay(info.schema) : false;\n const hiddenForEdit = info.schema ? isHiddenForEdit(info.schema) : false;\n\n if (!hiddenForDisplay) {\n for (const sub of displayDefs) {\n keys.push(`${fieldPrefix}.display.${sub}`);\n }\n }\n if (!hiddenForEdit) {\n for (const sub of editDefs) {\n keys.push(`${fieldPrefix}.edit.${sub}`);\n }\n }\n\n if (info.schema) {\n if (!hiddenForDisplay && hasTooltipForDisplay(info.schema)) keys.push(`${fieldPrefix}.display.tooltip`);\n if (!hiddenForEdit && hasTooltipForEdit(info.schema)) keys.push(`${fieldPrefix}.edit.tooltip`);\n // An ephemeral field always earns a display description — the \"copy it\n // now, shown once\" caption the reveal dialog renders — even without an\n // authored `.describe()`. (`info.schema` is always set for walked fields.)\n if (!hiddenForDisplay && (info.isEphemeral || hasDescriptionForDisplay(info.schema))) keys.push(`${fieldPrefix}.display.description`);\n if (!hiddenForEdit && hasDescriptionForEdit(info.schema)) keys.push(`${fieldPrefix}.edit.description`);\n }\n\n if (!(hiddenForDisplay && hiddenForEdit) && info.isEnum && info.enumValues && info.enumValues.length > 0 && !info.isSystemEnum) {\n for (const enumValue of info.enumValues) {\n keys.push(`${fieldPrefix}.enum.${enumValue}`);\n }\n }\n }\n\n return keys;\n}\n\n/**\n * Collect every system-enum vocabulary the application's own resources actually USE, as\n * `name → values`.\n *\n * ## Why this exists, and why it walks the resources rather than reading a registry\n *\n * `extractResourceFieldKeys` above SUPPRESSES the per-field\n * `<resource>.fields.<path>.enum.<value>` keys for any field whose `isSystemEnum` is true,\n * on the contract that the value is labelled once, centrally, under\n * `system_enums.<name>.<value>`. Nothing was enforcing the other half of that contract: the\n * planner emitted a hand-written list of nine names, so every OTHER decorated name was\n * suppressed here and planned nowhere — and `tResourceFieldEnumValue` then falls through to\n * step 3 of its cascade and renders the RAW WIRE VALUE. Measured on the Wonder Todos\n * generated tree on 2026-09-08: `organizationSubscriptions.status` had a field label and no\n * `enum` block, so a subscription badge read `past_due`, a product type read `one_time`, and\n * a pricing model read `per_unit`.\n *\n * Deriving from the SCHEMA WALK — rather than from the frontend's `registerCommonEnum`\n * registry — is what makes the invariant structural instead of hand-kept:\n *\n * - it reads the exact same `buildResourceFieldInfoMap` walk that decides suppression, so\n * \"suppressed here ⇒ planned there\" cannot come apart for any field;\n * - it is total over the application. A resource that decorates a new vocabulary tomorrow\n * is planned with no edit anywhere;\n * - the registry could not have answered it anyway. Registration happened at FRONTEND startup\n * (`registerBuiltinCommonEnums()`) in a React bundle the companion's Node process never loads,\n * carried no VALUES, and missed two decorated vocabularies (`PlatformAccessGrantStatus`,\n * `PlatformAccessGrantAutoApprovalReason`). Since #966 registration wires no words at all and\n * nothing reads the registered-name set: the DECLARATION is the only answer, read by\n * `resolveDeclaredSystemEnumName` here, in the frontend cascade, and in the frontend label\n * introspection.\n *\n * Vocabularies registered for RENDERING but never `.systemEnum()`-decorated (the\n * user-preference badges, the two role vocabularies) are correctly absent: nothing suppresses\n * their per-field keys, so they are already labelled — per field for the preferences, and in\n * the `roles.*` tree for the roles. Planning them here would duplicate an authored label, and\n * would flatten deliberate per-resource wording (`theme.AUTO` is \"Automatic\" on\n * `userPreferences` and \"System default\" on `userSelfPreferences`).\n *\n * Values are de-duplicated across resources and returned in first-seen order per name; the\n * caller sorts the names, so the emitted key list is deterministic and the lock fingerprint\n * stays stable across runs.\n */\nexport function collectSystemEnumVocabularies(\n resourceConfigs: Iterable<AnyResourceConfiguration>,\n): Map<string, Set<string>> {\n const vocabularies = new Map<string, Set<string>>();\n for (const resourceConfig of resourceConfigs) {\n for (const info of buildResourceFieldInfoMap(resourceConfig).values()) {\n if (!info.systemEnumName || !info.enumValues || info.enumValues.length === 0) continue;\n let values = vocabularies.get(info.systemEnumName);\n if (!values) {\n values = new Set<string>();\n vocabularies.set(info.systemEnumName, values);\n }\n for (const value of info.enumValues) values.add(value);\n }\n }\n return vocabularies;\n}\n\n/**\n * Build the full `system_enums.<EnumName>.<value>` key list for the labelling plan.\n *\n * ## Two total sources, and why both are needed\n *\n * 1. **`SYSTEM_ENUM_VALUES`** — every member of the framework's declared `SystemEnumName`\n * vocabulary, unconditionally. These are framework-owned and an application may reach one\n * through a shared schema the resource walk does not necessarily see (a `z_duration()`\n * field on a config object, say). Keyed as a `Record<SystemEnumName, …>` at its\n * declaration, so an eleventh member is a compile error there rather than an omission\n * here.\n * 2. **`collectSystemEnumVocabularies`** — every vocabulary the application's own resource\n * schemas declare with `.systemEnum()`, off the same walk that decides suppression. This\n * is the half no fixed list can have: `SubscriptionStatus` has no `SystemEnumName`\n * member, and an application that decorates a new vocabulary tomorrow is planned with no\n * edit anywhere.\n *\n * ## Why it lives HERE rather than in the planner\n *\n * Beside `extractResourceFieldKeys`, which is the function it has to agree with. The defect\n * this replaces was exactly a disagreement between the two: suppression lived here, the\n * central plan lived in the planner as nine hand-written `push(...)` calls, and nothing\n * connected them — so ten decorated vocabularies were suppressed here and planned nowhere,\n * and `tResourceFieldEnumValue` rendered their raw wire values. One module now owns both\n * halves, and one test can assert the invariant between them.\n *\n * Names are emitted in `SystemEnumName` declaration order first, then discovered ones sorted\n * alphabetically, so the key list is deterministic and the labelling lock's fingerprint is\n * stable across runs. A name in both sources contributes one group — the union of its values.\n */\nexport function buildSystemEnumLabelKeys(resourceConfigs: Iterable<AnyResourceConfiguration>): string[] {\n const vocabularies = new Map<string, Set<string>>();\n for (const [enumName, values] of Object.entries(SYSTEM_ENUM_VALUES)) {\n vocabularies.set(enumName, new Set(values));\n }\n for (const [enumName, values] of collectSystemEnumVocabularies(resourceConfigs)) {\n const existing = vocabularies.get(enumName);\n if (existing) {\n for (const value of values) existing.add(value);\n } else {\n vocabularies.set(enumName, values);\n }\n }\n\n const declaredOrder = Object.keys(SYSTEM_ENUM_VALUES);\n const declared = new Set(declaredOrder);\n const discovered = [...vocabularies.keys()].filter((name) => !declared.has(name)).sort();\n\n const keys: string[] = [];\n for (const enumName of [...declaredOrder, ...discovered]) {\n for (const value of vocabularies.get(enumName)!) {\n keys.push(`${LabellingTypes.SYSTEM_ENUMS}.${enumName}.${value}`);\n }\n }\n return keys;\n}\n\n/**\n * Framework-general purpose for an ephemeral field's user-facing LABEL. The\n * runtime field name (`plainKey`) is developer-oriented; the LLM, given this\n * purpose plus the resource context (e.g. `organizationApiKeys`), produces the\n * credential's end-user name (\"API key\"). Applies to ANY `.isEphemeral()` field.\n */\nconst EPHEMERAL_FIELD_LABEL_PURPOSE =\n 'Caption for a one-time secret credential this resource issues — for example an API key, access token, or recovery code — revealed once at creation for the user to copy. Name it as the end user knows the credential; never the raw field name, and never the word \"plain\".';\n\n/**\n * Framework-general purpose for an ephemeral field's DESCRIPTION — the per-field\n * \"copy it now, shown once\" caption the reveal dialog renders under the value.\n * Derived purely from the `.isEphemeral()` marker (closes the LABELLING-2 gap).\n */\nconst EPHEMERAL_FIELD_DESCRIPTION_PURPOSE =\n 'Tells the user to copy and store this secret value immediately because it is shown only this once and can never be retrieved or displayed again.';\n\n/**\n * Build framework-general `LabelKeyMeta` for a resource's ephemeral fields.\n *\n * Ephemeral fields (`.isEphemeral()`) live only in a per-operation\n * `customResponseDto`, so they never reach the resource spec and\n * `projectResourceKeyMeta` (which reads `spec.fields`) leaves them to heuristic\n * field-name humanization (\"Plain key\"). Straight from the marker, this projects\n * a user-facing label purpose (\"API key\") + a \"shown once\" description purpose —\n * so every ephemeral field is labelled well with zero per-field authoring. The\n * planner merges this OVER the spec keyMeta (ephemeral wins). `{}` when none.\n */\nexport function buildEphemeralFieldKeyMeta(args: {\n resourceType: string;\n resourceConfig: AnyResourceConfiguration;\n}): Record<string, LabelKeyMeta> {\n const { resourceType, resourceConfig } = args;\n const fieldInfoMap = buildResourceFieldInfoMap(resourceConfig);\n const ephemeralPaths = dedupeDataWrappedFieldPaths(\n [...fieldInfoMap.keys()].filter((path) => fieldInfoMap.get(path)!.isEphemeral),\n );\n\n const keyMeta: Record<string, LabelKeyMeta> = {};\n for (const fieldPath of ephemeralPaths) {\n const prefix = `${LabellingTypes.RESOURCES}.${resourceType}.fields.${fieldPath}`;\n // display + edit share the user-facing caption (the field is not editable,\n // but the edit.label key is still emitted, so keep the two consistent).\n const labelMeta: LabelKeyMeta = { kind: LabelKind.LABEL, purpose: EPHEMERAL_FIELD_LABEL_PURPOSE };\n keyMeta[`${prefix}.display.label`] = labelMeta;\n keyMeta[`${prefix}.edit.label`] = labelMeta;\n keyMeta[`${prefix}.display.description`] = { kind: LabelKind.DESCRIPTION, purpose: EPHEMERAL_FIELD_DESCRIPTION_PURPOSE };\n }\n return keyMeta;\n}\n"]}
|
|
@@ -70,7 +70,16 @@ export interface StructuredChunkCompletionResult {
|
|
|
70
70
|
readonly missingKeys: readonly string[];
|
|
71
71
|
/** Number of physical calls made (1 = the model answered completely first time). */
|
|
72
72
|
readonly passes: number;
|
|
73
|
+
/**
|
|
74
|
+
* Keys whose returned value was REFUSED at least once because it carried a control character
|
|
75
|
+
* (#1109), and was therefore re-requested like an omission. Reported so a caller can say a
|
|
76
|
+
* provider answer was corrupt rather than merely incomplete; a key listed here may still have
|
|
77
|
+
* been delivered clean by a later pass.
|
|
78
|
+
*/
|
|
79
|
+
readonly refusedKeys: readonly string[];
|
|
73
80
|
}
|
|
81
|
+
/** True when a generated label value carries a control character no label may hold (#1109). */
|
|
82
|
+
export declare function labelValueCarriesControlCharacter(value: string): boolean;
|
|
74
83
|
/**
|
|
75
84
|
* How many REPAIR passes follow the initial request before the caller gives up
|
|
76
85
|
* and falls back. Two is deliberate: a single follow-up already recovers the
|
|
@@ -86,6 +95,8 @@ export declare const DEFAULT_MAX_STRUCTURED_CHUNK_REPAIR_PASSES = 2;
|
|
|
86
95
|
* A value counts as delivered only when it is a non-empty string — the same test
|
|
87
96
|
* both orchestrators already apply before accepting a generated label, so an
|
|
88
97
|
* empty string is treated as an omission and repaired rather than written out.
|
|
98
|
+
* A string carrying a control character is refused the same way (#1109): the key
|
|
99
|
+
* is re-requested, and only a clean answer is ever handed to the caller.
|
|
89
100
|
*/
|
|
90
101
|
export declare function completeStructuredChunkKeys(args: {
|
|
91
102
|
keys: readonly string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-chunk-completion.utils.d.ts","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/structured-chunk-completion.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,mDAAmD;AACnD,MAAM,WAAW,gCAAgC;IAC/C;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,CAAC;IAClD,oEAAoE;IACpE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,MAAM,gCAAgC,GAAG,CAC7C,OAAO,EAAE,gCAAgC,KACtC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAEtC,MAAM,WAAW,+BAA+B;IAC9C,4EAA4E;IAC5E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,+EAA+E;IAC/E,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,oFAAoF;IACpF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"structured-chunk-completion.utils.d.ts","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/structured-chunk-completion.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,mDAAmD;AACnD,MAAM,WAAW,gCAAgC;IAC/C;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,CAAC;IAClD,oEAAoE;IACpE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,MAAM,gCAAgC,GAAG,CAC7C,OAAO,EAAE,gCAAgC,KACtC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAEtC,MAAM,WAAW,+BAA+B;IAC9C,4EAA4E;IAC5E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,+EAA+E;IAC/E,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,oFAAoF;IACpF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC;AAeD,+FAA+F;AAC/F,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAExE;AAED;;;;;;GAMG;AACH,eAAO,MAAM,0CAA0C,IAAI,CAAC;AAE5D;;;;;;;;;GASG;AACH,wBAAsB,2BAA2B,CAAC,IAAI,EAAE;IACtD,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,MAAM,EAAE,gCAAgC,CAAC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,GAAG,OAAO,CAAC,+BAA+B,CAAC,CA2B3C"}
|
|
@@ -41,6 +41,22 @@
|
|
|
41
41
|
* both express the identical invariant against the identical agent. Applying it
|
|
42
42
|
* by hand at each site is how one of them would silently drift.
|
|
43
43
|
*/
|
|
44
|
+
/**
|
|
45
|
+
* A C0 control character or DEL, other than the three whitespace controls a label may carry.
|
|
46
|
+
*
|
|
47
|
+
* Measured 2026-09-14 (#1109): translating one unit to French answered 14 of 21 keys with escapes
|
|
48
|
+
* mangled into NUL and other control bytes (the accented characters of "Invité de l’organisation"
|
|
49
|
+
* arrived as a NUL followed by the hex digits of the code point), and the pipeline wrote them to
|
|
50
|
+
* the application bundle. A bundle is a TypeScript module the backend loads and serves to every
|
|
51
|
+
* client, so the byte reached the UI, the logs and every export of the label tree. A `--force`
|
|
52
|
+
* re-translate produced clean French: the corruption is a transient provider-response integrity
|
|
53
|
+
* failure, which is exactly what the repair loop exists for.
|
|
54
|
+
*/
|
|
55
|
+
const LABEL_CONTROL_CHARACTER = /[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]/u;
|
|
56
|
+
/** True when a generated label value carries a control character no label may hold (#1109). */
|
|
57
|
+
export function labelValueCarriesControlCharacter(value) {
|
|
58
|
+
return LABEL_CONTROL_CHARACTER.test(value);
|
|
59
|
+
}
|
|
44
60
|
/**
|
|
45
61
|
* How many REPAIR passes follow the initial request before the caller gives up
|
|
46
62
|
* and falls back. Two is deliberate: a single follow-up already recovers the
|
|
@@ -56,10 +72,13 @@ export const DEFAULT_MAX_STRUCTURED_CHUNK_REPAIR_PASSES = 2;
|
|
|
56
72
|
* A value counts as delivered only when it is a non-empty string — the same test
|
|
57
73
|
* both orchestrators already apply before accepting a generated label, so an
|
|
58
74
|
* empty string is treated as an omission and repaired rather than written out.
|
|
75
|
+
* A string carrying a control character is refused the same way (#1109): the key
|
|
76
|
+
* is re-requested, and only a clean answer is ever handed to the caller.
|
|
59
77
|
*/
|
|
60
78
|
export async function completeStructuredChunkKeys(args) {
|
|
61
79
|
const maxRepairPasses = args.maxRepairPasses ?? DEFAULT_MAX_STRUCTURED_CHUNK_REPAIR_PASSES;
|
|
62
80
|
const values = {};
|
|
81
|
+
const refused = new Set();
|
|
63
82
|
let outstanding = [...args.keys];
|
|
64
83
|
let omittedByPreviousPass = [];
|
|
65
84
|
let pass = 0;
|
|
@@ -68,12 +87,17 @@ export async function completeStructuredChunkKeys(args) {
|
|
|
68
87
|
const parsed = await args.invoke({ requestedKeys: outstanding, omittedByPreviousPass, pass });
|
|
69
88
|
for (const key of outstanding) {
|
|
70
89
|
const value = parsed[key];
|
|
71
|
-
if (typeof value
|
|
72
|
-
|
|
90
|
+
if (typeof value !== 'string' || value.length === 0)
|
|
91
|
+
continue;
|
|
92
|
+
if (labelValueCarriesControlCharacter(value)) {
|
|
93
|
+
refused.add(key);
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
96
|
+
values[key] = value;
|
|
73
97
|
}
|
|
74
98
|
omittedByPreviousPass = outstanding.filter((key) => values[key] === undefined);
|
|
75
99
|
outstanding = omittedByPreviousPass;
|
|
76
100
|
}
|
|
77
|
-
return { values, missingKeys: outstanding, passes: pass };
|
|
101
|
+
return { values, missingKeys: outstanding, passes: pass, refusedKeys: [...refused] };
|
|
78
102
|
}
|
|
79
103
|
//# sourceMappingURL=structured-chunk-completion.utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-chunk-completion.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/structured-chunk-completion.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;
|
|
1
|
+
{"version":3,"file":"structured-chunk-completion.utils.js","sourceRoot":"","sources":["../../../../../src/i18n-labelling/utils/structured-chunk-completion.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AA4CH;;;;;;;;;;GAUG;AACH,MAAM,uBAAuB,GAAG,iDAAiD,CAAC;AAElF,+FAA+F;AAC/F,MAAM,UAAU,iCAAiC,CAAC,KAAa;IAC7D,OAAO,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC7C,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,CAAC,CAAC;AAE5D;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAAC,IAIjD;IACC,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,IAAI,0CAA0C,CAAC;IAC3F,MAAM,MAAM,GAA2B,EAAE,CAAC;IAC1C,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,IAAI,WAAW,GAAsB,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,IAAI,qBAAqB,GAAsB,EAAE,CAAC;IAClD,IAAI,IAAI,GAAG,CAAC,CAAC;IAEb,OAAO,WAAW,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,IAAI,eAAe,EAAE,CAAC;QACzD,IAAI,IAAI,CAAC,CAAC;QACV,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC,CAAC;QAE9F,KAAK,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;YAC9B,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAC1B,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;gBAAE,SAAS;YAC9D,IAAI,iCAAiC,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC7C,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBACjB,SAAS;YACX,CAAC;YACD,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACtB,CAAC;QAED,qBAAqB,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC,CAAC;QAC/E,WAAW,GAAG,qBAAqB,CAAC;IACtC,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,GAAG,OAAO,CAAC,EAAE,CAAC;AACvF,CAAC","sourcesContent":["/**\n * Completion-repair loop for a chunked structured-generation call whose output\n * contract is PARTIAL-TOLERANT.\n *\n * # Why this exists\n *\n * The OpenAI provider deliberately runs with `strictJsonSchema: false` (see the\n * rationale on `structuredOutputs` in the engine's OpenAI backend module: strict\n * mode rejects the REQUEST outright for any schema carrying a `.default()` or\n * `.optional()`, which is ordinary correct authoring). Without strict mode there\n * is no constrained decoding, so nothing forces the model to emit every key of a\n * large flat object — it occasionally omits a handful of leaves and still closes\n * the JSON and reports `finishReason: \"stop\"`.\n *\n * Measured on Wonder Todos 2026-08-21: five labelling units failed on every run\n * for weeks, each because 1–16 keys out of a ~90-key chunk were absent. It was\n * NOT output truncation — the agent configures no `maxTokens`, the generated\n * text was 7–9 KB (~2 K tokens) against a six-figure provider ceiling, two runs\n * of the same unit produced DIFFERENT lengths and DIFFERENT omission sets, and\n * five LARGER units succeeded. It is stochastic omission.\n *\n * Because the response schema declared every key required, the AI SDK rejected\n * the whole object, and the caller received `{ object: undefined }` — turning\n * \"88 of 90 labels arrived\" into \"nothing arrived\" and discarding the unit.\n *\n * # The contract this restores\n *\n * A partial-tolerant caller declares its per-key values `.optional()` (so the\n * partial object survives validation) and then REPAIRS the gap: the omitted keys\n * are re-requested in a small follow-up call carrying only those keys. That is\n * far more reliable than re-rolling the whole chunk, because a 3-key request is\n * not a request the model can get bored of. Only after the repair passes are\n * exhausted does the caller fall back, and it does so loudly.\n *\n * Deliberately NOT fixed by: raising an output cap (there is no cap in play),\n * or shrinking the chunk size (that lowers the per-call omission PROBABILITY\n * without ever reaching zero, and doubles the call count — a limit narrowed\n * until it happens to fit, not a cause addressed).\n *\n * This helper is shared by the labellize and translate orchestrators because\n * both express the identical invariant against the identical agent. Applying it\n * by hand at each site is how one of them would silently drift.\n */\n\n/** One physical request in the completion loop. */\nexport interface StructuredChunkCompletionAttempt {\n /**\n * The keys this request must return. The whole chunk on pass 1; only the keys\n * still outstanding on every later pass.\n */\n readonly requestedKeys: readonly string[];\n /**\n * The keys the PREVIOUS pass was asked for and did not return. Empty on pass 1.\n * Callers surface this in the prompt as an explicit correction, the same way a\n * placeholder-drift retry does.\n */\n readonly omittedByPreviousPass: readonly string[];\n /** 1-based pass index. Pass 1 is the initial full-chunk request. */\n readonly pass: number;\n}\n\n/**\n * Perform one physical structured call for `attempt.requestedKeys` and return\n * the raw parsed object. Implementations build the prompt and the (subset)\n * response schema; they must NOT filter or fall back — that is this helper's job.\n */\nexport type StructuredChunkCompletionInvoker = (\n attempt: StructuredChunkCompletionAttempt,\n) => Promise<Record<string, unknown>>;\n\nexport interface StructuredChunkCompletionResult {\n /** Every key that was returned as a non-empty string, across all passes. */\n readonly values: Record<string, string>;\n /** Keys still absent after the last repair pass. Empty on the healthy path. */\n readonly missingKeys: readonly string[];\n /** Number of physical calls made (1 = the model answered completely first time). */\n readonly passes: number;\n /**\n * Keys whose returned value was REFUSED at least once because it carried a control character\n * (#1109), and was therefore re-requested like an omission. Reported so a caller can say a\n * provider answer was corrupt rather than merely incomplete; a key listed here may still have\n * been delivered clean by a later pass.\n */\n readonly refusedKeys: readonly string[];\n}\n\n/**\n * A C0 control character or DEL, other than the three whitespace controls a label may carry.\n *\n * Measured 2026-09-14 (#1109): translating one unit to French answered 14 of 21 keys with escapes\n * mangled into NUL and other control bytes (the accented characters of \"Invité de l’organisation\"\n * arrived as a NUL followed by the hex digits of the code point), and the pipeline wrote them to\n * the application bundle. A bundle is a TypeScript module the backend loads and serves to every\n * client, so the byte reached the UI, the logs and every export of the label tree. A `--force`\n * re-translate produced clean French: the corruption is a transient provider-response integrity\n * failure, which is exactly what the repair loop exists for.\n */\nconst LABEL_CONTROL_CHARACTER = /[\\u0000-\\u0008\\u000B\\u000C\\u000E-\\u001F\\u007F]/u;\n\n/** True when a generated label value carries a control character no label may hold (#1109). */\nexport function labelValueCarriesControlCharacter(value: string): boolean {\n return LABEL_CONTROL_CHARACTER.test(value);\n}\n\n/**\n * How many REPAIR passes follow the initial request before the caller gives up\n * and falls back. Two is deliberate: a single follow-up already recovers the\n * observed failures (a 1–16 key request against a model that just answered 74+\n * of the same shape), and a third pass buys latency for a case where the model\n * is refusing the key rather than forgetting it.\n */\nexport const DEFAULT_MAX_STRUCTURED_CHUNK_REPAIR_PASSES = 2;\n\n/**\n * Request `keys` through `invoke`, re-requesting whatever comes back missing\n * until nothing is outstanding or the repair budget is spent.\n *\n * A value counts as delivered only when it is a non-empty string — the same test\n * both orchestrators already apply before accepting a generated label, so an\n * empty string is treated as an omission and repaired rather than written out.\n * A string carrying a control character is refused the same way (#1109): the key\n * is re-requested, and only a clean answer is ever handed to the caller.\n */\nexport async function completeStructuredChunkKeys(args: {\n keys: readonly string[];\n invoke: StructuredChunkCompletionInvoker;\n maxRepairPasses?: number;\n}): Promise<StructuredChunkCompletionResult> {\n const maxRepairPasses = args.maxRepairPasses ?? DEFAULT_MAX_STRUCTURED_CHUNK_REPAIR_PASSES;\n const values: Record<string, string> = {};\n const refused = new Set<string>();\n let outstanding: readonly string[] = [...args.keys];\n let omittedByPreviousPass: readonly string[] = [];\n let pass = 0;\n\n while (outstanding.length > 0 && pass <= maxRepairPasses) {\n pass += 1;\n const parsed = await args.invoke({ requestedKeys: outstanding, omittedByPreviousPass, pass });\n\n for (const key of outstanding) {\n const value = parsed[key];\n if (typeof value !== 'string' || value.length === 0) continue;\n if (labelValueCarriesControlCharacter(value)) {\n refused.add(key);\n continue;\n }\n values[key] = value;\n }\n\n omittedByPreviousPass = outstanding.filter((key) => values[key] === undefined);\n outstanding = omittedByPreviousPass;\n }\n\n return { values, missingKeys: outstanding, passes: pass, refusedKeys: [...refused] };\n}\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { FlowActorSystem_InitializationFactoryMap } from '@wildo-ai/saas-backend-lib';
|
|
2
|
+
/**
|
|
3
|
+
* The actor system that OWNS the build plan and runs the steps the companion runs itself (#1359).
|
|
4
|
+
*
|
|
5
|
+
* ## Why it exists
|
|
6
|
+
*
|
|
7
|
+
* A build-plan task reaches one of two executors. A CODING task goes to a coding agent and has been
|
|
8
|
+
* an actor task since the lane was typed. A COMPANION GENERATION STEP — labels, email templates,
|
|
9
|
+
* migrations; forty minutes for an i18n pass — ran with NO row on the actor plane at all. The only
|
|
10
|
+
* trace of it was an in-memory list of the last five dispatches, which a companion restart emptied:
|
|
11
|
+
* a generation step interrupted by a restart left nothing anywhere to say it had been running. One
|
|
12
|
+
* execution plane for coding runs and a weaker private one for generation steps is the duplication.
|
|
13
|
+
*
|
|
14
|
+
* So a generation step is an execution of THIS system's one actor — `PROGRAMMATIC`, because its
|
|
15
|
+
* behaviour is companion code and not an agent — opened and settled by the engine's driver exactly
|
|
16
|
+
* as a playbook run is, and swept at startup like every other system's orphans.
|
|
17
|
+
*
|
|
18
|
+
* The ref is the build plan's own `actorSystemId` (`BUILD_PLAN_EXECUTION_PLAN_IDENTITY`), imported
|
|
19
|
+
* rather than re-spelled: the edge a plan step carries and the system registered here are one name.
|
|
20
|
+
* Coding runs stay executions of `application-coding.system`; this system owns the PLAN, and a build
|
|
21
|
+
* dispatch is found on whichever of the two ran it.
|
|
22
|
+
*/
|
|
23
|
+
export declare const APPLICATION_BUILD_SYSTEM_REF: "application-build.system";
|
|
24
|
+
export declare const APPLICATION_BUILD_GENERATION_STEP_ACTOR_REF: "application-build.generation-step";
|
|
25
|
+
/** Spread into the one startup factory map, beside the coding and meta-workflows systems. */
|
|
26
|
+
export declare function buildApplicationBuildActorSystemDefinitions(): {
|
|
27
|
+
factoryMap: FlowActorSystem_InitializationFactoryMap;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=application-build.actors-system.definitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-build.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/application-build.actors-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,4BAA4B,CAAC;AAa3F;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,4BAA4B,4BAAmD,CAAC;AAC7F,eAAO,MAAM,2CAA2C,EAAG,mCAA4C,CAAC;AAgCxG,6FAA6F;AAC7F,wBAAgB,2CAA2C,IAAI;IAAE,UAAU,EAAE,wCAAwC,CAAA;CAAE,CAGtH"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Actor_ExecutionMode, Actor_Role_Category, FlowActorSystem_Kind, FlowActorSystem_Status, FlowActorSystem_Visibility, ResourceOperationRiskLevel, ResourcePrimaryScope, } from '@wildo-ai/saas-models';
|
|
2
|
+
import { BUILD_PLAN_EXECUTION_PLAN_IDENTITY } from '@wildo-ai/saas-specifications/application-creation';
|
|
3
|
+
/**
|
|
4
|
+
* The actor system that OWNS the build plan and runs the steps the companion runs itself (#1359).
|
|
5
|
+
*
|
|
6
|
+
* ## Why it exists
|
|
7
|
+
*
|
|
8
|
+
* A build-plan task reaches one of two executors. A CODING task goes to a coding agent and has been
|
|
9
|
+
* an actor task since the lane was typed. A COMPANION GENERATION STEP — labels, email templates,
|
|
10
|
+
* migrations; forty minutes for an i18n pass — ran with NO row on the actor plane at all. The only
|
|
11
|
+
* trace of it was an in-memory list of the last five dispatches, which a companion restart emptied:
|
|
12
|
+
* a generation step interrupted by a restart left nothing anywhere to say it had been running. One
|
|
13
|
+
* execution plane for coding runs and a weaker private one for generation steps is the duplication.
|
|
14
|
+
*
|
|
15
|
+
* So a generation step is an execution of THIS system's one actor — `PROGRAMMATIC`, because its
|
|
16
|
+
* behaviour is companion code and not an agent — opened and settled by the engine's driver exactly
|
|
17
|
+
* as a playbook run is, and swept at startup like every other system's orphans.
|
|
18
|
+
*
|
|
19
|
+
* The ref is the build plan's own `actorSystemId` (`BUILD_PLAN_EXECUTION_PLAN_IDENTITY`), imported
|
|
20
|
+
* rather than re-spelled: the edge a plan step carries and the system registered here are one name.
|
|
21
|
+
* Coding runs stay executions of `application-coding.system`; this system owns the PLAN, and a build
|
|
22
|
+
* dispatch is found on whichever of the two ran it.
|
|
23
|
+
*/
|
|
24
|
+
export const APPLICATION_BUILD_SYSTEM_REF = BUILD_PLAN_EXECUTION_PLAN_IDENTITY.actorSystemId;
|
|
25
|
+
export const APPLICATION_BUILD_GENERATION_STEP_ACTOR_REF = 'application-build.generation-step';
|
|
26
|
+
function buildApplicationBuildActorSystem() {
|
|
27
|
+
const generationStepActor = {
|
|
28
|
+
ref: APPLICATION_BUILD_GENERATION_STEP_ACTOR_REF,
|
|
29
|
+
displayName: 'Application build generation step actor',
|
|
30
|
+
roleCategory: Actor_Role_Category.OPERATOR,
|
|
31
|
+
executionMode: Actor_ExecutionMode.PROGRAMMATIC,
|
|
32
|
+
};
|
|
33
|
+
return {
|
|
34
|
+
ref: APPLICATION_BUILD_SYSTEM_REF,
|
|
35
|
+
displayName: 'Application Build System',
|
|
36
|
+
description: 'Companion actor system that owns the application build plan and runs its companion generation '
|
|
37
|
+
+ 'steps: one execution and one task per generation step dispatched. Coding tasks of the same '
|
|
38
|
+
+ 'plan are executions of the application coding system.',
|
|
39
|
+
kind: FlowActorSystem_Kind.ACTOR,
|
|
40
|
+
status: FlowActorSystem_Status.ACTIVE,
|
|
41
|
+
visibility: FlowActorSystem_Visibility.BACKEND_ONLY,
|
|
42
|
+
actors: [generationStepActor],
|
|
43
|
+
config: {
|
|
44
|
+
timeout: 120000,
|
|
45
|
+
accessControl: [{
|
|
46
|
+
primaryScope: ResourcePrimaryScope.APPLICATION,
|
|
47
|
+
requiresApproval: false,
|
|
48
|
+
}],
|
|
49
|
+
riskLevel: ResourceOperationRiskLevel.LOW,
|
|
50
|
+
},
|
|
51
|
+
createdAt: new Date().toISOString(),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/** Spread into the one startup factory map, beside the coding and meta-workflows systems. */
|
|
55
|
+
export function buildApplicationBuildActorSystemDefinitions() {
|
|
56
|
+
const actorSystem = buildApplicationBuildActorSystem();
|
|
57
|
+
return { factoryMap: { [APPLICATION_BUILD_SYSTEM_REF]: () => actorSystem } };
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=application-build.actors-system.definitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-build.actors-system.definitions.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/application-build.actors-system.definitions.ts"],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AAC,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC;AAC/E,CAAC","sourcesContent":["import type { FlowActorSystem_InitializationFactoryMap } from '@wildo-ai/saas-backend-lib';\nimport type { Actor, ActorSystem } from '@wildo-ai/saas-models';\nimport {\n Actor_ExecutionMode,\n Actor_Role_Category,\n FlowActorSystem_Kind,\n FlowActorSystem_Status,\n FlowActorSystem_Visibility,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\nimport { BUILD_PLAN_EXECUTION_PLAN_IDENTITY } from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The actor system that OWNS the build plan and runs the steps the companion runs itself (#1359).\n *\n * ## Why it exists\n *\n * A build-plan task reaches one of two executors. A CODING task goes to a coding agent and has been\n * an actor task since the lane was typed. A COMPANION GENERATION STEP — labels, email templates,\n * migrations; forty minutes for an i18n pass — ran with NO row on the actor plane at all. The only\n * trace of it was an in-memory list of the last five dispatches, which a companion restart emptied:\n * a generation step interrupted by a restart left nothing anywhere to say it had been running. One\n * execution plane for coding runs and a weaker private one for generation steps is the duplication.\n *\n * So a generation step is an execution of THIS system's one actor — `PROGRAMMATIC`, because its\n * behaviour is companion code and not an agent — opened and settled by the engine's driver exactly\n * as a playbook run is, and swept at startup like every other system's orphans.\n *\n * The ref is the build plan's own `actorSystemId` (`BUILD_PLAN_EXECUTION_PLAN_IDENTITY`), imported\n * rather than re-spelled: the edge a plan step carries and the system registered here are one name.\n * Coding runs stay executions of `application-coding.system`; this system owns the PLAN, and a build\n * dispatch is found on whichever of the two ran it.\n */\nexport const APPLICATION_BUILD_SYSTEM_REF = BUILD_PLAN_EXECUTION_PLAN_IDENTITY.actorSystemId;\nexport const APPLICATION_BUILD_GENERATION_STEP_ACTOR_REF = 'application-build.generation-step' as const;\n\nfunction buildApplicationBuildActorSystem(): ActorSystem {\n const generationStepActor: Actor = {\n ref: APPLICATION_BUILD_GENERATION_STEP_ACTOR_REF,\n displayName: 'Application build generation step actor',\n roleCategory: Actor_Role_Category.OPERATOR,\n executionMode: Actor_ExecutionMode.PROGRAMMATIC,\n };\n return {\n ref: APPLICATION_BUILD_SYSTEM_REF,\n displayName: 'Application Build System',\n description:\n 'Companion actor system that owns the application build plan and runs its companion generation '\n + 'steps: one execution and one task per generation step dispatched. Coding tasks of the same '\n + 'plan are executions of the application coding system.',\n kind: FlowActorSystem_Kind.ACTOR,\n status: FlowActorSystem_Status.ACTIVE,\n visibility: FlowActorSystem_Visibility.BACKEND_ONLY,\n actors: [generationStepActor],\n config: {\n timeout: 120000,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n requiresApproval: false,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n createdAt: new Date().toISOString(),\n };\n}\n\n/** Spread into the one startup factory map, beside the coding and meta-workflows systems. */\nexport function buildApplicationBuildActorSystemDefinitions(): { factoryMap: FlowActorSystem_InitializationFactoryMap } {\n const actorSystem = buildApplicationBuildActorSystem();\n return { factoryMap: { [APPLICATION_BUILD_SYSTEM_REF]: () => actorSystem } };\n}\n"]}
|
package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts
CHANGED
|
@@ -13,10 +13,81 @@
|
|
|
13
13
|
* drift from.
|
|
14
14
|
*/
|
|
15
15
|
import { z } from 'zod';
|
|
16
|
+
import type { FlowActorSystem_InitializationFactoryMap } from '@wildo-ai/saas-backend-lib';
|
|
16
17
|
import type { FlowsActors_Agent } from '@wildo-ai/saas-models';
|
|
17
|
-
import { CodingAgent_EndOfTurnClassification } from '@wildo-ai/external-connectors-models';
|
|
18
|
-
/**
|
|
18
|
+
import { CodingAgent_EndOfTurnClassification, LLM_Model } from '@wildo-ai/external-connectors-models';
|
|
19
|
+
/**
|
|
20
|
+
* The DEFAULT coding agent's identity — one of a declared set, not the only one.
|
|
21
|
+
*
|
|
22
|
+
* Kept as a named constant because it is the ref a task carries when nothing
|
|
23
|
+
* selects otherwise, and because every existing Actor Task row already names it.
|
|
24
|
+
* What changed on 2026-09-05 is that it is no longer the ONLY answer: see
|
|
25
|
+
* {@link APPLICATION_CODING_AGENT_BINDINGS}.
|
|
26
|
+
*/
|
|
19
27
|
export declare const APPLICATION_CODING_AGENT_REF: "application-coding.agent";
|
|
28
|
+
/**
|
|
29
|
+
* Everything that varies between one coding agent and another.
|
|
30
|
+
*
|
|
31
|
+
* The provider, its authored ACP execution profile and the model are a SET of
|
|
32
|
+
* decisions that travel together: a profile ref means nothing without the
|
|
33
|
+
* provider that declares it, and a model is validated against that provider's
|
|
34
|
+
* ACP contract before a session opens. Binding them in one record is what stops
|
|
35
|
+
* a half-applied switch — a provider changed here and a profile ref left behind
|
|
36
|
+
* there — which is the shape this file previously had six times over.
|
|
37
|
+
*/
|
|
38
|
+
export interface ApplicationCodingAgentBinding {
|
|
39
|
+
/** Stable Agent identity. Appears on Actor Task rows, so it must not be recomputed per run. */
|
|
40
|
+
ref: string;
|
|
41
|
+
displayName: string;
|
|
42
|
+
/** The external provider whose AGENT_CLIENT_PROTOCOL contract declares how to start the agent. */
|
|
43
|
+
providerRef: string;
|
|
44
|
+
/** The application-authored ACP execution profile — where the environment gate and ceiling are DECIDED. */
|
|
45
|
+
executionProfileRef: string;
|
|
46
|
+
/** Validated against the provider's ACP contract before a session opens, and delivered through its declared channel. */
|
|
47
|
+
model: LLM_Model;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The declared set of coding agents this companion may dispatch to.
|
|
51
|
+
*
|
|
52
|
+
* ONE entry today, and that is the point: before this existed, `providerRef:
|
|
53
|
+
* 'anthropic'` was written at four sites in this file with no mechanical link,
|
|
54
|
+
* so admitting a second agent meant finding and changing all of them — the
|
|
55
|
+
* defect shape `invariant-call-site-enumeration.md` records. Adding an agent is
|
|
56
|
+
* now ONE entry plus a provider module, and every consumer reads the set.
|
|
57
|
+
*
|
|
58
|
+
* An entry may only be added once its provider module exists AND the agent has
|
|
59
|
+
* passed `wildo acp probe`: a registered agent whose provider is absent fails at
|
|
60
|
+
* startup, and one that has not been probed may not raise permission requests at
|
|
61
|
+
* all — which makes the permission ceiling a label rather than a guarantee
|
|
62
|
+
* (measured against OpenCode's default configuration, 2026-09-04).
|
|
63
|
+
*/
|
|
64
|
+
export declare const APPLICATION_CODING_AGENT_BINDINGS: Readonly<Record<string, ApplicationCodingAgentBinding>>;
|
|
65
|
+
/** Every declared coding-agent ref. Consumers test MEMBERSHIP rather than equality with one constant. */
|
|
66
|
+
export declare const APPLICATION_CODING_AGENT_REFS: readonly string[];
|
|
67
|
+
/**
|
|
68
|
+
* Is this Actor Task addressed to a coding agent?
|
|
69
|
+
*
|
|
70
|
+
* Replaces `actorRef !== APPLICATION_CODING_AGENT_REF` at every call site. With
|
|
71
|
+
* one binding the two are equivalent; with two, equality silently drops every
|
|
72
|
+
* task addressed to the second agent — a task that is never claimed and never
|
|
73
|
+
* reported, which is the failure mode a membership test removes by construction.
|
|
74
|
+
*/
|
|
75
|
+
export declare function isApplicationCodingAgentRef(ref: string | undefined): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Which coding agent a newly created task is addressed to.
|
|
78
|
+
*
|
|
79
|
+
* Selection is a HOST decision, so it is read from the environment rather than
|
|
80
|
+
* baked into the definition: the same companion build must be able to dispatch
|
|
81
|
+
* to a different agent without a code change, and the alternative — deciding it
|
|
82
|
+
* where the task is created — is how the choice ends up restated at every
|
|
83
|
+
* creation site.
|
|
84
|
+
*
|
|
85
|
+
* Refuses an unrecognised value rather than falling back. A typo silently
|
|
86
|
+
* resolving to the default is precisely the case where an operator believes they
|
|
87
|
+
* switched agents and did not, and the run's transport metadata would then be
|
|
88
|
+
* the only place the truth appears.
|
|
89
|
+
*/
|
|
90
|
+
export declare function resolveSelectedApplicationCodingAgentBinding(environment?: NodeJS.ProcessEnv): ApplicationCodingAgentBinding;
|
|
20
91
|
/**
|
|
21
92
|
* The application-authored ACP profile selected by this Agent.
|
|
22
93
|
*
|
|
@@ -26,7 +97,7 @@ export declare const APPLICATION_CODING_AGENT_REF: "application-coding.agent";
|
|
|
26
97
|
* nobody made. Root authors it in the Wonder configuration before registering
|
|
27
98
|
* the Agent at startup.
|
|
28
99
|
*/
|
|
29
|
-
export declare const APPLICATION_CODING_AGENT_EXECUTION_PROFILE_REF:
|
|
100
|
+
export declare const APPLICATION_CODING_AGENT_EXECUTION_PROFILE_REF: string;
|
|
30
101
|
/**
|
|
31
102
|
* One bounded code-writing capability for application creation.
|
|
32
103
|
*
|
|
@@ -34,7 +105,16 @@ export declare const APPLICATION_CODING_AGENT_EXECUTION_PROFILE_REF: "claude-cod
|
|
|
34
105
|
* This static prompt guard still matters: selected context may describe desired
|
|
35
106
|
* work but can never broaden allowed filesystem scope or turn a working result
|
|
36
107
|
* into authority over Git, release, deployment or accepted application state.
|
|
108
|
+
*
|
|
109
|
+
* A FACTORY over {@link ApplicationCodingAgentBinding} rather than a literal:
|
|
110
|
+
* the policy below — the prompt guard, the access control, the risk level, the
|
|
111
|
+
* operation key — is what makes this a Wildo coding agent, and it is identical
|
|
112
|
+
* whichever agent executes it. Only the binding varies, so only the binding is
|
|
113
|
+
* a parameter. Writing a second literal would duplicate the guard, which is the
|
|
114
|
+
* half that must never drift between agents.
|
|
37
115
|
*/
|
|
116
|
+
export declare function createApplicationCodingAgent(binding: ApplicationCodingAgentBinding): FlowsActors_Agent;
|
|
117
|
+
/** The default binding's agent, kept as a named export because startup assembly and tests resolve it by name. */
|
|
38
118
|
export declare const applicationCodingAgent: FlowsActors_Agent;
|
|
39
119
|
/** One structured Agent invocation resolves this identity to classify an end-of-turn message. */
|
|
40
120
|
export declare const APPLICATION_CODING_TURN_CLASSIFIER_AGENT_REF: "application-coding-turn-classifier.agent";
|
|
@@ -67,4 +147,38 @@ export declare const CodingTurnEndClassificationOutputSchema: z.ZodObject<{
|
|
|
67
147
|
export declare const applicationCodingTurnClassifierAgent: FlowsActors_Agent;
|
|
68
148
|
/** Root later spreads this collection into the one startup Agent registry. */
|
|
69
149
|
export declare const applicationCodingAgents: readonly FlowsActors_Agent[];
|
|
150
|
+
/**
|
|
151
|
+
* The actor system a CODING RUN is an execution of (#1359).
|
|
152
|
+
*
|
|
153
|
+
* Until 2026-09-20 the coding agents were AGENTS with no actor system: a coding task named an agent
|
|
154
|
+
* ref in `actors.actorRef` and hung from no execution, so a build phase had no row saying "this is a
|
|
155
|
+
* coding run" while a single playbook run had one. The engine's execution driver validates the actor
|
|
156
|
+
* against a REGISTERED system's roster, so the roster has to exist.
|
|
157
|
+
*
|
|
158
|
+
* One `AGENTIC` actor per declared binding, and the actor ref EQUALS the binding's agent ref on
|
|
159
|
+
* purpose: `isApplicationCodingAgentRef(task.actors.actorRef)` is how every reader classifies a
|
|
160
|
+
* coding row, and rows written before this system existed keep their meaning unchanged.
|
|
161
|
+
*
|
|
162
|
+
* Its OWN system, not three more actors on `meta-workflows.system`: a host settles a system's
|
|
163
|
+
* orphans at startup, and the two lanes record different things about one — a coding run may have
|
|
164
|
+
* left files half-edited, so its orphan carries the worktree evidence a reviewer needs.
|
|
165
|
+
*/
|
|
166
|
+
export declare const APPLICATION_CODING_SYSTEM_REF: "application-coding.system";
|
|
167
|
+
/**
|
|
168
|
+
* What every coding run holds EXCLUSIVELY while it runs: the application's working tree (#1361).
|
|
169
|
+
*
|
|
170
|
+
* ONE subject for every declared agent binding — an Anthropic run and an OpenCode run edit the same
|
|
171
|
+
* files — which is why it is the worktree and not the actor. Taken when a dispatch SELECTS its task
|
|
172
|
+
* (the deferred open), held through admission and the run, and RELEASED while a run is parked on a
|
|
173
|
+
* question: a parked run's agent process is closed and the dispatcher deliberately moves on. The
|
|
174
|
+
* answer that resumes it re-takes the subject.
|
|
175
|
+
*
|
|
176
|
+
* It is exactly the scope the in-memory "fast 409" flag refused on until 2026-09-20 (#1264: nothing
|
|
177
|
+
* narrows). The worktree FILE LOCK stays beneath it as the cross-process floor.
|
|
178
|
+
*/
|
|
179
|
+
export declare const APPLICATION_CODING_WORKTREE_SUBJECT: "worktree";
|
|
180
|
+
/** Spread into the one startup factory map, beside `meta-workflows.system`. */
|
|
181
|
+
export declare function buildApplicationCodingActorSystemDefinitions(): {
|
|
182
|
+
factoryMap: FlowActorSystem_InitializationFactoryMap;
|
|
183
|
+
};
|
|
70
184
|
//# sourceMappingURL=application-coding-agent.actors-system.definitions.d.ts.map
|
package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-coding-agent.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/application-coding-agent.actors-system.definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"application-coding-agent.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/application-coding-agent.actors-system.definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,KAAK,EAAsB,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAanF,OAAO,EACL,mCAAmC,EAKnC,SAAS,EAOV,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;GAOG;AACH,eAAO,MAAM,4BAA4B,EAAG,0BAAmC,CAAC;AAEhF;;;;;;;;;GASG;AACH,MAAM,WAAW,6BAA6B;IAC5C,+FAA+F;IAC/F,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,kGAAkG;IAClG,WAAW,EAAE,MAAM,CAAC;IACpB,2GAA2G;IAC3G,mBAAmB,EAAE,MAAM,CAAC;IAC5B,wHAAwH;IACxH,KAAK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