@wildo-ai/saas-specifications 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/assurance/external-framework-mapping.json +1228 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
- package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +215 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +703 -14
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +536 -7
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +160 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +124 -4
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +743 -14
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +699 -22
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +220 -4
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +149 -2
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.js +7 -5
- package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +30 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +99 -6
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +7 -0
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +22 -1
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +27 -27
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +16 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +16 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
- package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +6 -3
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +4 -1
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +12 -9
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +4 -1
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +4 -1
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +4 -1
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +5 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +4 -1
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +54 -54
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
- package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +25 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +30 -16
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +34 -12
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +78 -47
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +62 -24
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +19 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +0 -20
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +4 -2
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
- package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
- package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
- package/dist/esm/_core/zod-core-nameability.js +1 -0
- package/dist/esm/_core/zod-core-nameability.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +182 -11
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -495
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -534
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +73 -8
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +103 -8
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
- package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +257 -13
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +836 -69
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +99 -33
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -33
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +3339 -159
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +32 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +148 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +1182 -333
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +460 -68
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +205 -3
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +211 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-release.js +314 -0
- package/dist/esm/assurance/governed-document-release.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +135 -11
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.d.ts +1 -1
- package/dist/esm/engine/_bootstrap.js +1 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +110 -28
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +57 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +412 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/index.d.ts +2 -0
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +2 -0
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +57 -6
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +14 -27
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +8 -2
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +16 -3
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +5 -2
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +10 -16
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/index.d.ts +4 -0
- package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/index.js +4 -0
- package/dist/esm/engine/billing/resources/index.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +77 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +375 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +28 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +123 -19
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +1 -0
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +15 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +6 -5
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +4 -2
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +12 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +40 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +3 -2
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +12 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +12 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +12 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +4 -3
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +6 -4
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -3
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/index.d.ts +39 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +39 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/esm/technical-documentation.exports.d.ts +4 -0
- package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
- package/dist/esm/technical-documentation.exports.js +24 -0
- package/dist/esm/technical-documentation.exports.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -13
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-actor-executions.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/flows-actors/resources/flow-actor-executions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,kCAAkC,EAClC,4BAA4B,EAC5B,4BAA4B,EAC5B,8BAA8B,EAC9B,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,uCAAuC,GACxC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAoC3E;;;;GAIG;AACH,SAAS,oCAAoC,CAAC,YAAkC;IAC9E,QAAQ,YAAY,EAAE,CAAC;QACrB,KAAK,gBAAgB,CAAC,0BAA0B;YAC9C,OAAO;gBACL,aAAa,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE;gBAC5C,gBAAgB,EAAE,EAAE,wBAAwB,EAAE,2BAA2B,EAAE;gBAC3E,UAAU,EAAE,MAAM;gBAClB,mBAAmB,EAAE,kCAAkC;aACxD,CAAC;QACJ,KAAK,gBAAgB,CAAC,kCAAkC;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,0BAA0B,EAC3C,4BAA4B,CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,oDAAoD,GAAG,4CAA4C,CAC9G,gBAAgB,CAAC,kCAAkC,EACnD,oCAAoC,CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,mDAAmD,GAAG,4CAA4C,CAC7G,gBAAgB,CAAC,iCAAiC,EAClD,mCAAmC,CACpC,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n FLOWS_ACTORS_NO_MACHINE_CREDENTIAL,\n FlowActorExecutionBaseSchema,\n FlowsActors_ConversationRole,\n FlowsActors_MessageContentType,\n FlowActorSystem_Kind,\n FlowsActors_Status,\n ResourcePrimaryScope,\n flowActorExecutionsPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the `flowActorExecutions` POLYMORPHIC family:\n * the persisted record of a single flow/actor system execution (conversational\n * chat history + kind-discriminated runtime state). One base envelope is stamped\n * out as three genuine single-scope variants, each owned by its injected owner FK:\n * - `userFlowActorExecutions` (USER_SELF — WS chat + user-delegated A2A)\n * - `organizationFlowActorExecutions` (ORGANIZATIONS — org-machine A2A)\n * - `applicationFlowActorExecutions` (APPLICATION — app-machine A2A)\n *\n * The default API READ/LIST are the per-owner chat-history surface. CREATE/UPDATE\n * are internal (INTERNAL_CALL, service-tier) — only the flows-actors conversational\n * runtime persists executions and appends messages via `*AsSystem`. DELETE is a single\n * owner-facing API_CALL (default) with a role floor DISTINCT from read (a user deletes\n * only their own chat; org/app conversations require org/app admin); the same default op\n * also powers the owning-scope deletion cascade at the repository tier. One spec covers\n * all three variants (per the billing / SSO polymorphic-spec precedent).\n */\n\ntype FlowExecResourceType =\n | CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS\n | CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS\n | CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS;\ntype FlowExecResourceTypeMember =\n | 'USER_FLOW_ACTOR_EXECUTIONS'\n | 'ORGANIZATION_FLOW_ACTOR_EXECUTIONS'\n | 'APPLICATION_FLOW_ACTOR_EXECUTIONS';\n\ninterface FlowActorExecutionScopeExample {\n readonly scopeIdentity: Readonly<Record<string, string>>;\n readonly resourceIdentity: Readonly<Record<string, string>>;\n readonly scopeLabel: string;\n readonly machineCredentialId: string;\n}\n\n/**\n * Owns the concrete scope and route identity for each polymorphic contract.\n * Keeping this exhaustive prevents a user example from silently teaching an\n * organization/application parameter (or the inverse).\n */\nfunction createFlowActorExecutionScopeExample(resourceType: FlowExecResourceType): FlowActorExecutionScopeExample {\n switch (resourceType) {\n case CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS:\n return {\n scopeIdentity: { userId: 'user_01JEXAMPLE' },\n resourceIdentity: { userFlowActorExecutionId: 'flow_exec_user_01JEXAMPLE' },\n scopeLabel: 'user',\n machineCredentialId: FLOWS_ACTORS_NO_MACHINE_CREDENTIAL,\n };\n case CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS:\n return {\n scopeIdentity: { organizationId: 'org_01JEXAMPLE' },\n resourceIdentity: { organizationFlowActorExecutionId: 'flow_exec_org_01JEXAMPLE' },\n scopeLabel: 'organization',\n machineCredentialId: 'machine_credential_org_finance_agent',\n };\n case CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS:\n return {\n scopeIdentity: { applicationId: 'app_01JEXAMPLE' },\n resourceIdentity: { applicationFlowActorExecutionId: 'flow_exec_app_01JEXAMPLE' },\n scopeLabel: 'application',\n machineCredentialId: 'machine_credential_app_finance_agent',\n };\n default: {\n const exhaustiveResourceType: never = resourceType;\n throw new Error(`Unsupported Flow Actor execution resource type: ${String(exhaustiveResourceType)}`);\n }\n }\n}\n\nfunction createFlowActorExecutionPage(data: readonly unknown[]) {\n return {\n data,\n pagination: { page: 1, limit: 20, total: data.length, totalPages: 1 },\n };\n}\n\nconst flowExecPrimaryScopeByResourceType: Record<FlowExecResourceType, ResourcePrimaryScope> = {\n [CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS]: ResourcePrimaryScope.USER_SELF,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS]: ResourcePrimaryScope.APPLICATION,\n};\n\ntype Cfg = ReturnType<(typeof flowActorExecutionsPolymorphicFactories)[CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS]>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof FlowActorExecutionBaseSchema;\n\nfunction buildFlowActorExecutionResourceSpecification(\n resourceType: FlowExecResourceType,\n resourceTypeMemberName: FlowExecResourceTypeMember,\n) {\n const exampleScope = createFlowActorExecutionScopeExample(resourceType);\n const completedExecutionExample = {\n _id: Object.values(exampleScope.resourceIdentity)[0],\n executionId: '11111111-1111-4111-8111-111111111111',\n systemRef: 'finance-operations-assistant',\n kind: FlowActorSystem_Kind.ACTOR,\n resourceServerInstanceRef: 'finance-operations-agent',\n machineCredentialId: exampleScope.machineCredentialId,\n status: FlowsActors_Status.COMPLETED,\n statusChanges: [\n { status: FlowsActors_Status.READY, timestamp: '2026-08-20T08:30:00.000Z' },\n { status: FlowsActors_Status.PROCESSING, timestamp: '2026-08-20T08:30:02.000Z' },\n { status: FlowsActors_Status.COMPLETED, timestamp: '2026-08-20T08:30:14.000Z' },\n ],\n messages: [\n {\n id: '11111111-1111-4111-8111-111111111112',\n role: FlowsActors_ConversationRole.USER,\n contentType: FlowsActors_MessageContentType.TEXT,\n content: 'Summarize the overdue purchase approvals for this week.',\n createdAt: '2026-08-20T08:30:00.000Z',\n },\n {\n id: '11111111-1111-4111-8111-111111111113',\n role: FlowsActors_ConversationRole.ASSISTANT,\n contentType: FlowsActors_MessageContentType.MARKDOWN,\n content: 'Three approvals are overdue; the highest-value request is waiting on Finance.',\n createdAt: '2026-08-20T08:30:14.000Z',\n },\n ],\n createdAt: '2026-08-20T08:30:00.000Z',\n updatedAt: '2026-08-20T08:30:14.000Z',\n finishedAt: '2026-08-20T08:30:14.000Z',\n ...exampleScope.scopeIdentity,\n };\n const activeExecutionExample = {\n ...completedExecutionExample,\n _id: `${completedExecutionExample._id}_active`,\n executionId: '11111111-1111-4111-8111-111111111121',\n status: FlowsActors_Status.PROCESSING,\n statusChanges: completedExecutionExample.statusChanges.slice(0, 2),\n messages: completedExecutionExample.messages.slice(0, 1),\n updatedAt: '2026-08-20T09:05:02.000Z',\n finishedAt: undefined,\n };\n const summarizeExecution = (execution: typeof completedExecutionExample) => ({\n _id: execution._id,\n executionId: execution.executionId,\n systemRef: execution.systemRef,\n kind: execution.kind,\n status: execution.status,\n updatedAt: execution.updatedAt,\n ...(execution.finishedAt === undefined ? {} : { finishedAt: execution.finishedAt }),\n });\n\n return resourceSpecification<undefined, Core, Main>(\n flowActorExecutionsPolymorphicFactories[resourceType],\n FlowActorExecutionBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Track one conversation with an application agent, including its messages and current lifecycle state.',\n businessRole: 'Conversation history an authorized caller uses to revisit an agent exchange and determine whether it is still running or has finished.',\n lifecycleRole: 'Opens when an agent conversation starts, accumulates messages and status changes while work proceeds, and finishes on completion, failure, or cancellation.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'FlowActorExecutionBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'flowActorExecutionsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: resourceTypeMemberName,\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: ['Three variants under `FLOW_ACTOR_EXECUTION_SCOPE_VARIANTS` — user row is `USER_SELF`; org/app rows are `ORGANIZATIONS`/`APPLICATION` (machine-owned).'],\n },\n\n fields: {\n executionId: schemaShape.executionId.stringSpec({\n meaning: 'Stable business identifier for one execution, generated by the conversational runtime and echoed over the WebSocket channel.',\n whyItMatters: 'It is the address by which the live WebSocket stream, the persisted record, and the frontend view all refer to the same running execution.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n systemRef: schemaShape.systemRef.stringSpec({\n meaning: 'Ref of the flow/actor system that was executed.',\n whyItMatters: 'It links the execution back to the authored system whose graph the standalone view renders, so history and live status attach to the right system.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n kind: schemaShape.kind.enumSpec({\n meaning: 'Whether this execution belongs to a FLOW system or an ACTOR system.',\n whyItMatters: 'It discriminates flow vs actor executions (which graph renderer the view uses); the same resource persists both kinds. Richer per-kind runtime-state overlays are a documented follow-on — v1 persists the conversational envelope only.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'FlowActorSystem_Kind',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [FlowActorSystem_Kind.FLOW]: { meaning: 'A trigger→steps→edges→finish flow graph execution (near-term follow-on).' },\n [FlowActorSystem_Kind.ACTOR]: { meaning: 'An actor-system execution; the vehicle for the v1 conversational assistant.' },\n },\n }),\n\n resourceServerInstanceRef: schemaShape.resourceServerInstanceRef.stringSpec({\n meaning: 'Which A2A agent this conversation was opened through. The WebSocket surface and the default unnamed agent both store a reserved sentinel.',\n whyItMatters: 'Part of the continuation FILTER, not metadata. A2A agents are declared as separate resource servers with per-instance token audiences, so without this axis a caller holding a context identifier could continue the thread through a different agent and load the prior transcript into that agent\\'s context — and this plane carries the full message log, not a short title.',\n semanticRole: 'identifier',\n }),\n\n machineCredentialId: schemaShape.machineCredentialId.stringSpec({\n meaning: 'Which machine credential opened this conversation. A user-delegated turn stores a reserved sentinel, because there the human is the principal.',\n whyItMatters: 'Part of the read FILTER alongside the owner scope, not descriptive metadata. The scope foreign key does not identify the principal on the machine variants: the application scope is a deployment singleton, so every application-scope client resolves to the same owner, and the organization scope is shared by every machine client of one tenant. Without this axis a separately-credentialed client could continue another client\\'s conversation and read its entire message log.',\n semanticRole: 'identifier',\n }),\n\n status: schemaShape.status.enumSpec({\n meaning: 'Current runtime state of the execution.',\n whyItMatters: 'It is the primary signal the frontend uses to drive the live execution-status overlay and to know whether the conversation is still progressing.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'FlowsActors_Status',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [FlowsActors_Status.READY]: { meaning: 'Created and ready to begin processing.' },\n [FlowsActors_Status.PENDING]: { meaning: 'Accepted but not yet actively processing.' },\n [FlowsActors_Status.PROCESSING]: { meaning: 'Actively running — the agent is responding / tools are executing.' },\n [FlowsActors_Status.AWAITING_APPROVAL]: { meaning: 'Suspended at a human-in-the-loop approval boundary — the agent called an approval-gated tool and the turn is waiting for a human decision before resuming. Non-terminal; resolves to PROCESSING→COMPLETED on approval or a terminal state on denial/expiry.' },\n [FlowsActors_Status.COMPLETED]: { meaning: 'Finished successfully.' },\n [FlowsActors_Status.FAILED]: { meaning: 'Finished unsuccessfully and stands in a failed state.' },\n [FlowsActors_Status.CANCELLED]: { meaning: 'Intentionally stopped before completion.' },\n [FlowsActors_Status.ABORTED]: { meaning: 'Terminated abnormally (e.g. transport loss or unrecoverable error).' },\n },\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Open a new execution record when the conversational runtime starts a system.',\n outcome: 'One flow/actor execution begins to be tracked, ready to accumulate messages and status changes.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An execution record was registered. This is an internal/system write path (INTERNAL_CALL, service-tier), not a self-serve API create — the conversational runtime writes on the owner\\'s behalf via *AsSystem.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The execution payload fails schema validation (e.g. missing `kind`/`status`/`systemRef`, or the injected owner FK).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-system caller attempts to create an execution — rows are created only by the flows-actors runtime through the internal repository service.' },\n ],\n idempotent: false,\n },\n\n [Op.READ]: {\n purpose: 'Read one past or in-progress agent conversation and its current state.',\n outcome: 'The authorized caller receives the representation selected by the route: the full conversation and lifecycle history, relationship context, or a compact lifecycle summary.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The requested conversation is returned in the full, context, or summary representation selected by the route.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No conversation exists for the id in the requested user, organization, or application scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not allowed to read agent conversation history for this scope.' },\n ],\n idempotent: true,\n examples: [{\n title: `Inspect a completed ${exampleScope.scopeLabel} agent conversation`,\n request: { ...exampleScope.scopeIdentity, ...exampleScope.resourceIdentity },\n response: completedExecutionExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: `Inspect a completed ${exampleScope.scopeLabel} agent conversation with context`,\n request: { ...exampleScope.scopeIdentity, ...exampleScope.resourceIdentity },\n response: completedExecutionExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: `Inspect the compact ${exampleScope.scopeLabel} conversation state`,\n request: { ...exampleScope.scopeIdentity, ...exampleScope.resourceIdentity },\n response: summarizeExecution(completedExecutionExample),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'List agent conversations visible in the requested user, organization, or application scope.',\n outcome: 'The authorized caller can browse recent conversations and distinguish active work from completed history.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of conversations visible in the requested scope.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not allowed to list agent conversation history for this scope.' },\n ],\n idempotent: true,\n examples: [{\n title: `List recent ${exampleScope.scopeLabel} agent conversations`,\n request: { ...exampleScope.scopeIdentity, page: 1, limit: 20, sort: 'updatedAt:desc' },\n response: createFlowActorExecutionPage([activeExecutionExample, completedExecutionExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: `List recent ${exampleScope.scopeLabel} conversations with context`,\n request: { ...exampleScope.scopeIdentity, page: 1, limit: 20 },\n response: createFlowActorExecutionPage([completedExecutionExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: `List compact ${exampleScope.scopeLabel} conversation states`,\n request: { ...exampleScope.scopeIdentity, page: 1, limit: 20 },\n response: createFlowActorExecutionPage([\n summarizeExecution(activeExecutionExample as typeof completedExecutionExample),\n summarizeExecution(completedExecutionExample),\n ]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Advance the execution — append messages, record status transitions, and evolve runtime state.',\n outcome: 'The persisted record stays synchronized with the live conversation streamed over the WebSocket channel.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The execution recorded a new message / status change / runtime-state update. Internal/system write path — the conversational runtime owns these transitions.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No execution row exists for the supplied id to advance.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The update patch fails schema validation (e.g. an unrecognized `status`).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-system caller attempts to mutate execution state.' },\n ],\n idempotent: true,\n },\n\n [Op.DELETE]: {\n purpose: 'Permanently remove one agent conversation from the requested scope.',\n outcome: 'The selected conversation and its transcript are no longer available.',\n whenToUse: 'Use when an authorized user or administrator intentionally removes conversation history that is no longer needed.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The execution record was removed. Owner-facing API_CALL (default) via the `/flows-actors/history` DELETE route; delete authority is DISTINCT from read (a user deletes only their own chat; org/app conversations require org/app admin). The same default op also powers the composition onParentDelete cascade at the repository tier.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The executionId is unknown or belongs to another owner (the owner-scope filter yields no row).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the delete authority — a non-owner user, or an org/app member without admin — attempts to delete an execution.' },\n ],\n idempotent: true,\n examples: [{\n title: `Remove a completed ${exampleScope.scopeLabel} agent conversation`,\n request: { ...exampleScope.scopeIdentity, ...exampleScope.resourceIdentity },\n response: { id: completedExecutionExample._id, deletedAt: '2026-08-20T10:15:00.000Z' },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n\n businessConstraints: [\n 'A conversation is owned by exactly ONE scope (the injected owner FK — `userId` / `organizationId` / `applicationId`); the default API surface must never expose another owner\\'s conversation (the owner primary-scope filter).',\n 'The polymorphic owner FK is injected on each concrete variant schema, not on `FlowActorExecutionBaseSchema` itself.',\n 'Writes are system-internal — only the flows-actors conversational runtime persists executions and appends messages; there is no self-serve write API.',\n 'The record is kind-agnostic: the `kind` discriminant lets it persist both FLOW and ACTOR executions, so the flow system can adopt it without reshaping the base envelope. Typed per-kind runtime-state overlays are a documented follow-on (v1 persists the conversational envelope + status).',\n ],\n }),\n // The owner is the injected scope FK, anchored by the `<SCOPE> → *FlowActorExecutions`\n // primary-scope composition edge in `resources-registry.shared.core.definitions.ts`\n // (generated by `createPolymorphicScopeRelationships`). The registry factory derives\n // the scope from `isPrimaryScope: true`; this declaration feeds the spec ↔ registry\n // alignment guard and must match per variant.\n { resourcePrimaryScope: flowExecPrimaryScopeByResourceType[resourceType] },\n );\n}\n\nexport const userFlowActorExecutionsResourceSpecification = buildFlowActorExecutionResourceSpecification(\n CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS,\n 'USER_FLOW_ACTOR_EXECUTIONS',\n);\n\nexport const organizationFlowActorExecutionsResourceSpecification = buildFlowActorExecutionResourceSpecification(\n CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS,\n 'ORGANIZATION_FLOW_ACTOR_EXECUTIONS',\n);\n\nexport const applicationFlowActorExecutionsResourceSpecification = buildFlowActorExecutionResourceSpecification(\n CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS,\n 'APPLICATION_FLOW_ACTOR_EXECUTIONS',\n);\n"]}
|
|
1
|
+
{"version":3,"file":"flow-actor-executions.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/flows-actors/resources/flow-actor-executions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAg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;wBACT,KAAK,EAAE,sBAAsB,YAAY,CAAC,UAAU,qBAAqB;wBACzE,OAAO,EAAE,EAAE,GAAG,YAAY,CAAC,aAAa,EAAE,GAAG,YAAY,CAAC,gBAAgB,EAAE;wBAC5E,QAAQ,EAAE,EAAE,EAAE,EAAE,yBAAyB,CAAC,GAAG,EAAE,SAAS,EAAE,0BAA0B,EAAE;wBACtF,SAAS,EAAE,sBAAsB,CAAC,MAAM;qBACzC,CAAC;aACH;SACF;QAED,mBAAmB,EAAE;YACnB,iOAAiO;YACjO,qHAAqH;YACrH,uJAAuJ;YACvJ,gSAAgS;SACjS;KACF,CAAC;IACF,uFAAuF;IACvF,oFAAoF;IACpF,qFAAqF;IACrF,oFAAoF;IACpF,8CAA8C;IAC9C,EAAE,oBAAoB,EAAE,kCAAkC,CAAC,YAAY,CAAC,EAAE,CAC3E,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,4CAA4C,GAAG,4CAA4C,CACtG,gBAAgB,CAAC,0BAA0B,EAC3C,4BAA4B,CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,oDAAoD,GAAG,4CAA4C,CAC9G,gBAAgB,CAAC,kCAAkC,EACnD,oCAAoC,CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,mDAAmD,GAAG,4CAA4C,CAC7G,gBAAgB,CAAC,iCAAiC,EAClD,mCAAmC,CACpC,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n FLOWS_ACTORS_NO_MACHINE_CREDENTIAL,\n FlowActorExecutionBaseSchema,\n FlowsActors_ConversationRole,\n FlowsActors_MessageContentType,\n FlowActorSystem_Kind,\n FlowsActors_Status,\n ResourcePrimaryScope,\n flowActorExecutionsPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the `flowActorExecutions` POLYMORPHIC family:\n * the persisted record of a single flow/actor system execution (conversational\n * chat history + kind-discriminated runtime state). One base envelope is stamped\n * out as three genuine single-scope variants, each owned by its injected owner FK:\n * - `userFlowActorExecutions` (USER_SELF — WS chat + user-delegated A2A)\n * - `organizationFlowActorExecutions` (ORGANIZATIONS — org-machine A2A)\n * - `applicationFlowActorExecutions` (APPLICATION — app-machine A2A)\n *\n * The default API READ/LIST are the per-owner chat-history surface. CREATE/UPDATE\n * are internal (INTERNAL_CALL, service-tier) — only the flows-actors conversational\n * runtime persists executions and appends messages via `*AsSystem`. DELETE is a single\n * owner-facing API_CALL (default) with a role floor DISTINCT from read (a user deletes\n * only their own chat; org/app conversations require org/app admin); the same default op\n * also powers the owning-scope deletion cascade at the repository tier. One spec covers\n * all three variants (per the billing / SSO polymorphic-spec precedent).\n */\n\ntype FlowExecResourceType =\n | CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS\n | CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS\n | CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS;\ntype FlowExecResourceTypeMember =\n | 'USER_FLOW_ACTOR_EXECUTIONS'\n | 'ORGANIZATION_FLOW_ACTOR_EXECUTIONS'\n | 'APPLICATION_FLOW_ACTOR_EXECUTIONS';\n\ninterface FlowActorExecutionScopeExample {\n readonly scopeIdentity: Readonly<Record<string, string>>;\n readonly resourceIdentity: Readonly<Record<string, string>>;\n readonly scopeLabel: string;\n readonly machineCredentialId: string;\n}\n\n/**\n * Owns the concrete scope and route identity for each polymorphic contract.\n * Keeping this exhaustive prevents a user example from silently teaching an\n * organization/application parameter (or the inverse).\n */\nfunction createFlowActorExecutionScopeExample(resourceType: FlowExecResourceType): FlowActorExecutionScopeExample {\n switch (resourceType) {\n case CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS:\n return {\n scopeIdentity: { userId: 'user_01JEXAMPLE' },\n resourceIdentity: { userFlowActorExecutionId: 'flow_exec_user_01JEXAMPLE' },\n scopeLabel: 'user',\n machineCredentialId: FLOWS_ACTORS_NO_MACHINE_CREDENTIAL,\n };\n case CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS:\n return {\n scopeIdentity: { organizationId: 'org_01JEXAMPLE' },\n resourceIdentity: { organizationFlowActorExecutionId: 'flow_exec_org_01JEXAMPLE' },\n scopeLabel: 'organization',\n machineCredentialId: 'machine_credential_org_finance_agent',\n };\n case CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS:\n return {\n scopeIdentity: { applicationId: 'app_01JEXAMPLE' },\n resourceIdentity: { applicationFlowActorExecutionId: 'flow_exec_app_01JEXAMPLE' },\n scopeLabel: 'application',\n machineCredentialId: 'machine_credential_app_finance_agent',\n };\n default: {\n const exhaustiveResourceType: never = resourceType;\n throw new Error(`Unsupported Flow Actor execution resource type: ${String(exhaustiveResourceType)}`);\n }\n }\n}\n\nfunction createFlowActorExecutionPage(data: readonly unknown[]) {\n return {\n data,\n pagination: { page: 1, limit: 20, total: data.length, totalPages: 1 },\n };\n}\n\nconst flowExecPrimaryScopeByResourceType: Record<FlowExecResourceType, ResourcePrimaryScope> = {\n [CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS]: ResourcePrimaryScope.USER_SELF,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS]: ResourcePrimaryScope.APPLICATION,\n};\n\ntype Cfg = ReturnType<(typeof flowActorExecutionsPolymorphicFactories)[CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS]>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof FlowActorExecutionBaseSchema;\n\nfunction buildFlowActorExecutionResourceSpecification(\n resourceType: FlowExecResourceType,\n resourceTypeMemberName: FlowExecResourceTypeMember,\n) {\n const exampleScope = createFlowActorExecutionScopeExample(resourceType);\n const completedExecutionExample = {\n _id: Object.values(exampleScope.resourceIdentity)[0],\n executionId: '11111111-1111-4111-8111-111111111111',\n systemRef: 'finance-operations-assistant',\n kind: FlowActorSystem_Kind.ACTOR,\n resourceServerInstanceRef: 'finance-operations-agent',\n machineCredentialId: exampleScope.machineCredentialId,\n status: FlowsActors_Status.COMPLETED,\n statusChanges: [\n { status: FlowsActors_Status.READY, timestamp: '2026-08-20T08:30:00.000Z' },\n { status: FlowsActors_Status.PROCESSING, timestamp: '2026-08-20T08:30:02.000Z' },\n { status: FlowsActors_Status.COMPLETED, timestamp: '2026-08-20T08:30:14.000Z' },\n ],\n messages: [\n {\n id: '11111111-1111-4111-8111-111111111112',\n role: FlowsActors_ConversationRole.USER,\n contentType: FlowsActors_MessageContentType.TEXT,\n content: 'Summarize the overdue purchase approvals for this week.',\n createdAt: '2026-08-20T08:30:00.000Z',\n },\n {\n id: '11111111-1111-4111-8111-111111111113',\n role: FlowsActors_ConversationRole.ASSISTANT,\n contentType: FlowsActors_MessageContentType.MARKDOWN,\n content: 'Three approvals are overdue; the highest-value request is waiting on Finance.',\n createdAt: '2026-08-20T08:30:14.000Z',\n },\n ],\n createdAt: '2026-08-20T08:30:00.000Z',\n updatedAt: '2026-08-20T08:30:14.000Z',\n finishedAt: '2026-08-20T08:30:14.000Z',\n ...exampleScope.scopeIdentity,\n };\n const activeExecutionExample = {\n ...completedExecutionExample,\n _id: `${completedExecutionExample._id}_active`,\n executionId: '11111111-1111-4111-8111-111111111121',\n status: FlowsActors_Status.PROCESSING,\n statusChanges: completedExecutionExample.statusChanges.slice(0, 2),\n messages: completedExecutionExample.messages.slice(0, 1),\n updatedAt: '2026-08-20T09:05:02.000Z',\n finishedAt: undefined,\n };\n const summarizeExecution = (execution: typeof completedExecutionExample) => ({\n _id: execution._id,\n executionId: execution.executionId,\n systemRef: execution.systemRef,\n kind: execution.kind,\n status: execution.status,\n updatedAt: execution.updatedAt,\n ...(execution.finishedAt === undefined ? {} : { finishedAt: execution.finishedAt }),\n });\n\n return resourceSpecification<undefined, Core, Main>(\n flowActorExecutionsPolymorphicFactories[resourceType],\n FlowActorExecutionBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Track one conversation with an application agent, including its messages and current lifecycle state.',\n businessRole: 'Conversation history an authorized caller uses to revisit an agent exchange and determine whether it is still running or has finished.',\n lifecycleRole: 'Opens when an agent conversation starts, accumulates messages and status changes while work proceeds, and finishes on completion, failure, or cancellation.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'FlowActorExecutionBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'flowActorExecutionsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: resourceTypeMemberName,\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: ['Three variants under `FLOW_ACTOR_EXECUTION_SCOPE_VARIANTS` — user row is `USER_SELF`; org/app rows are `ORGANIZATIONS`/`APPLICATION` (machine-owned).'],\n },\n\n fields: {\n executionId: schemaShape.executionId.stringSpec({\n meaning: 'Stable business identifier for one execution, generated by the conversational runtime and echoed over the WebSocket channel.',\n whyItMatters: 'It is the address by which the live WebSocket stream, the persisted record, and the frontend view all refer to the same running execution.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n systemRef: schemaShape.systemRef.stringSpec({\n meaning: 'Ref of the flow/actor system that was executed.',\n whyItMatters: 'It links the execution back to the authored system whose graph the standalone view renders, so history and live status attach to the right system.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n kind: schemaShape.kind.enumSpec({\n meaning: 'Whether this execution belongs to a FLOW system or an ACTOR system.',\n whyItMatters: 'It discriminates flow vs actor executions (which graph renderer the view uses); the same resource persists both kinds. Richer per-kind runtime-state overlays are a documented follow-on — v1 persists the conversational envelope only.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'FlowActorSystem_Kind',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [FlowActorSystem_Kind.FLOW]: { meaning: 'A trigger→steps→edges→finish flow graph execution (near-term follow-on).' },\n [FlowActorSystem_Kind.ACTOR]: { meaning: 'An actor-system execution; the vehicle for the v1 conversational assistant.' },\n },\n }),\n\n resourceServerInstanceRef: schemaShape.resourceServerInstanceRef.stringSpec({\n meaning: 'Which A2A agent this conversation was opened through. The WebSocket surface and the default unnamed agent both store a reserved sentinel.',\n whyItMatters: 'Part of the continuation FILTER, not metadata. A2A agents are declared as separate resource servers with per-instance token audiences, so without this axis a caller holding a context identifier could continue the thread through a different agent and load the prior transcript into that agent\\'s context — and this plane carries the full message log, not a short title.',\n semanticRole: 'identifier',\n }),\n\n machineCredentialId: schemaShape.machineCredentialId.stringSpec({\n meaning: 'Which machine credential opened this conversation. A user-delegated turn stores a reserved sentinel, because there the human is the principal.',\n whyItMatters: 'Part of the read FILTER alongside the owner scope, not descriptive metadata. The scope foreign key does not identify the principal on the machine variants: the application scope is a deployment singleton, so every application-scope client resolves to the same owner, and the organization scope is shared by every machine client of one tenant. Without this axis a separately-credentialed client could continue another client\\'s conversation and read its entire message log.',\n semanticRole: 'identifier',\n }),\n\n status: schemaShape.status.enumSpec({\n meaning: 'Current runtime state of the execution.',\n whyItMatters: 'It is the primary signal the frontend uses to drive the live execution-status overlay and to know whether the conversation is still progressing.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'FlowsActors_Status',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [FlowsActors_Status.READY]: { meaning: 'Created and ready to begin processing.' },\n [FlowsActors_Status.PENDING]: { meaning: 'Accepted but not yet actively processing.' },\n [FlowsActors_Status.PROCESSING]: { meaning: 'Actively running — the agent is responding / tools are executing.' },\n [FlowsActors_Status.AWAITING_APPROVAL]: { meaning: 'Suspended at a human-in-the-loop approval boundary — the agent called an approval-gated tool and the turn is waiting for a human decision before resuming. Non-terminal. A decision — approval or denial — resumes it to PROCESSING (a denial resumes so the agent can respond to the refusal). If nobody answers before its approval window closes it becomes FAILED: a decision arriving late is refused, and an hourly sweep fails a pause that was never answered.' },\n [FlowsActors_Status.COMPLETED]: { meaning: 'Finished successfully.' },\n [FlowsActors_Status.FAILED]: { meaning: 'Finished unsuccessfully and stands in a failed state.' },\n [FlowsActors_Status.CANCELLED]: { meaning: 'Intentionally stopped before completion.' },\n [FlowsActors_Status.ABORTED]: { meaning: 'Terminated abnormally (e.g. transport loss or unrecoverable error).' },\n },\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Open a new execution record when the conversational runtime starts a system.',\n outcome: 'One flow/actor execution begins to be tracked, ready to accumulate messages and status changes.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An execution record was registered. This is an internal/system write path (INTERNAL_CALL, service-tier), not a self-serve API create — the conversational runtime writes on the owner\\'s behalf via *AsSystem.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The execution payload fails schema validation (e.g. missing `kind`/`status`/`systemRef`, or the injected owner FK).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-system caller attempts to create an execution — rows are created only by the flows-actors runtime through the internal repository service.' },\n ],\n idempotent: false,\n },\n\n [Op.READ]: {\n purpose: 'Read one past or in-progress agent conversation and its current state.',\n outcome: 'The authorized caller receives the representation selected by the route: the full conversation and lifecycle history, relationship context, or a compact lifecycle summary.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The requested conversation is returned in the full, context, or summary representation selected by the route.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No conversation exists for the id in the requested user, organization, or application scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not allowed to read agent conversation history for this scope.' },\n ],\n idempotent: true,\n examples: [{\n title: `Inspect a completed ${exampleScope.scopeLabel} agent conversation`,\n request: { ...exampleScope.scopeIdentity, ...exampleScope.resourceIdentity },\n response: completedExecutionExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: `Inspect a completed ${exampleScope.scopeLabel} agent conversation with context`,\n request: { ...exampleScope.scopeIdentity, ...exampleScope.resourceIdentity },\n response: completedExecutionExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: `Inspect the compact ${exampleScope.scopeLabel} conversation state`,\n request: { ...exampleScope.scopeIdentity, ...exampleScope.resourceIdentity },\n response: summarizeExecution(completedExecutionExample),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'List agent conversations visible in the requested user, organization, or application scope.',\n outcome: 'The authorized caller can browse recent conversations and distinguish active work from completed history.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of conversations visible in the requested scope.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not allowed to list agent conversation history for this scope.' },\n ],\n idempotent: true,\n examples: [{\n title: `List recent ${exampleScope.scopeLabel} agent conversations`,\n request: { ...exampleScope.scopeIdentity, page: 1, limit: 20, sort: 'updatedAt:desc' },\n response: createFlowActorExecutionPage([activeExecutionExample, completedExecutionExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: `List recent ${exampleScope.scopeLabel} conversations with context`,\n request: { ...exampleScope.scopeIdentity, page: 1, limit: 20 },\n response: createFlowActorExecutionPage([completedExecutionExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: `List compact ${exampleScope.scopeLabel} conversation states`,\n request: { ...exampleScope.scopeIdentity, page: 1, limit: 20 },\n response: createFlowActorExecutionPage([\n summarizeExecution(activeExecutionExample as typeof completedExecutionExample),\n summarizeExecution(completedExecutionExample),\n ]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Advance the execution — append messages, record status transitions, and evolve runtime state.',\n outcome: 'The persisted record stays synchronized with the live conversation streamed over the WebSocket channel.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The execution recorded a new message / status change / runtime-state update. Internal/system write path — the conversational runtime owns these transitions.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No execution row exists for the supplied id to advance.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The update patch fails schema validation (e.g. an unrecognized `status`).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-system caller attempts to mutate execution state.' },\n ],\n idempotent: true,\n },\n\n [Op.DELETE]: {\n purpose: 'Permanently remove one agent conversation from the requested scope.',\n outcome: 'The selected conversation and its transcript are no longer available.',\n whenToUse: 'Use when an authorized user or administrator intentionally removes conversation history that is no longer needed.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The execution record was removed. Owner-facing API_CALL (default) via the `/flows-actors/history` DELETE route; delete authority is DISTINCT from read (a user deletes only their own chat; org/app conversations require org/app admin). The same default op also powers the composition onParentDelete cascade at the repository tier.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The executionId is unknown or belongs to another owner (the owner-scope filter yields no row).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the delete authority — a non-owner user, or an org/app member without admin — attempts to delete an execution.' },\n ],\n idempotent: true,\n examples: [{\n title: `Remove a completed ${exampleScope.scopeLabel} agent conversation`,\n request: { ...exampleScope.scopeIdentity, ...exampleScope.resourceIdentity },\n response: { id: completedExecutionExample._id, deletedAt: '2026-08-20T10:15:00.000Z' },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n\n businessConstraints: [\n 'A conversation is owned by exactly ONE scope (the injected owner FK — `userId` / `organizationId` / `applicationId`); the default API surface must never expose another owner\\'s conversation (the owner primary-scope filter).',\n 'The polymorphic owner FK is injected on each concrete variant schema, not on `FlowActorExecutionBaseSchema` itself.',\n 'Writes are system-internal — only the flows-actors conversational runtime persists executions and appends messages; there is no self-serve write API.',\n 'The record is kind-agnostic: the `kind` discriminant lets it persist both FLOW and ACTOR executions, so the flow system can adopt it without reshaping the base envelope. Typed per-kind runtime-state overlays are a documented follow-on (v1 persists the conversational envelope + status).',\n ],\n }),\n // The owner is the injected scope FK, anchored by the `<SCOPE> → *FlowActorExecutions`\n // primary-scope composition edge in `resources-registry.shared.core.definitions.ts`\n // (generated by `createPolymorphicScopeRelationships`). The registry factory derives\n // the scope from `isPrimaryScope: true`; this declaration feeds the spec ↔ registry\n // alignment guard and must match per variant.\n { resourcePrimaryScope: flowExecPrimaryScopeByResourceType[resourceType] },\n );\n}\n\nexport const userFlowActorExecutionsResourceSpecification = buildFlowActorExecutionResourceSpecification(\n CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS,\n 'USER_FLOW_ACTOR_EXECUTIONS',\n);\n\nexport const organizationFlowActorExecutionsResourceSpecification = buildFlowActorExecutionResourceSpecification(\n CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS,\n 'ORGANIZATION_FLOW_ACTOR_EXECUTIONS',\n);\n\nexport const applicationFlowActorExecutionsResourceSpecification = buildFlowActorExecutionResourceSpecification(\n CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS,\n 'APPLICATION_FLOW_ACTOR_EXECUTIONS',\n);\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CoreResourceOperation as Op, FlowsActors_Status } from '@wildo-ai/saas-models';
|
|
2
2
|
export declare const userFlowActorTasksResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.CREATE | Op.LIST, import("zod").ZodObject<{
|
|
3
3
|
description: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
4
|
-
topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics
|
|
4
|
+
topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>>>>>;
|
|
5
5
|
input: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodAny>>>;
|
|
6
6
|
output: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodAny>>>>;
|
|
7
7
|
artifacts: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -120,7 +120,7 @@ export declare const userFlowActorTasksResourceSpecification: import("../../../_
|
|
|
120
120
|
}, import("zod/v4/core").$strip>>;
|
|
121
121
|
export declare const organizationFlowActorTasksResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.CREATE | Op.LIST, import("zod").ZodObject<{
|
|
122
122
|
description: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
123
|
-
topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics
|
|
123
|
+
topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>>>>>;
|
|
124
124
|
input: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodAny>>>;
|
|
125
125
|
output: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodAny>>>>;
|
|
126
126
|
artifacts: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -239,7 +239,7 @@ export declare const organizationFlowActorTasksResourceSpecification: import("..
|
|
|
239
239
|
}, import("zod/v4/core").$strip>>;
|
|
240
240
|
export declare const applicationFlowActorTasksResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.CREATE | Op.LIST, import("zod").ZodObject<{
|
|
241
241
|
description: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
242
|
-
topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics
|
|
242
|
+
topic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>>>>>;
|
|
243
243
|
input: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodAny>>>;
|
|
244
244
|
output: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodAny>>>>;
|
|
245
245
|
artifacts: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type AnyResourceSpecificationConfig } from '../../../_core';
|
|
2
|
+
/**
|
|
3
|
+
* Framework-owned specification for the internal `providerCallRecords` resource: one row per physical
|
|
4
|
+
* call to a model provider.
|
|
5
|
+
*
|
|
6
|
+
* The runtime reasoning (why a store when every call already emits a trace, why nothing but metadata is
|
|
7
|
+
* kept, why the recorder writes on every call whatever the traceability level) lives in the schema
|
|
8
|
+
* file's header and is not restated here.
|
|
9
|
+
*
|
|
10
|
+
* Every operation is REPOSITORY_ONLY, so there is no HTTP surface. The evidence door
|
|
11
|
+
* `GET /assurance/provider-call-evidence` reads these rows as window aggregates and never returns one.
|
|
12
|
+
*/
|
|
13
|
+
export declare const providerCallRecordsResourceSpecification: AnyResourceSpecificationConfig;
|
|
14
|
+
//# sourceMappingURL=provider-call-records.resource.specification.d.ts.map
|
package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-call-records.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/flows-actors/resources/provider-call-records.resource.specification.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wCAAwC,EAAE,8BA8KtD,CAAC"}
|
package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
2
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
3
|
+
import { AgentCallOutcome, AgentCallTraceKind, CoreResourceOperation as Op, ProviderCallRecordSchema, ResourcePrimaryScope, providerCallRecordsResourceConfiguration_InitializationFactory as providerCallRecordsFactory, } from '@wildo-ai/saas-models';
|
|
4
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
5
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
6
|
+
/**
|
|
7
|
+
* Framework-owned specification for the internal `providerCallRecords` resource: one row per physical
|
|
8
|
+
* call to a model provider.
|
|
9
|
+
*
|
|
10
|
+
* The runtime reasoning (why a store when every call already emits a trace, why nothing but metadata is
|
|
11
|
+
* kept, why the recorder writes on every call whatever the traceability level) lives in the schema
|
|
12
|
+
* file's header and is not restated here.
|
|
13
|
+
*
|
|
14
|
+
* Every operation is REPOSITORY_ONLY, so there is no HTTP surface. The evidence door
|
|
15
|
+
* `GET /assurance/provider-call-evidence` reads these rows as window aggregates and never returns one.
|
|
16
|
+
*/
|
|
17
|
+
export const providerCallRecordsResourceSpecification = resourceSpecification(providerCallRecordsFactory, ProviderCallRecordSchema, ({ schemaShape }) => ({
|
|
18
|
+
purpose: 'Record every physical call the application makes to a model provider: which provider and model, what kind of call, how it ended and what it consumed.',
|
|
19
|
+
businessRole: 'The queryable record behind the claim that the application knows what it sent to which vendor. It is what an evidence reader counts, where the traces sent to logs and analytics vendors cannot be counted.',
|
|
20
|
+
lifecycleRole: 'Written once per provider call by the engine\'s recorder, never updated, and deleted only when its own expiry passes.',
|
|
21
|
+
audience: LabelAudience.DEVELOPER,
|
|
22
|
+
subDomain: EngineResourceSubDomain.FLOWS_ACTORS,
|
|
23
|
+
codeHandling: {
|
|
24
|
+
mainSchema: {
|
|
25
|
+
packageName: '@wildo-ai/saas-models',
|
|
26
|
+
exportName: 'ProviderCallRecordSchema',
|
|
27
|
+
symbolKind: CodeSymbolKind.SCHEMA,
|
|
28
|
+
declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
|
|
29
|
+
},
|
|
30
|
+
resourceFactory: {
|
|
31
|
+
packageName: '@wildo-ai/saas-models',
|
|
32
|
+
exportName: 'providerCallRecordsResourceConfiguration_InitializationFactory',
|
|
33
|
+
symbolKind: CodeSymbolKind.FACTORY,
|
|
34
|
+
declarationKind: CodeDeclarationKind.FUNCTION,
|
|
35
|
+
},
|
|
36
|
+
resourceType: {
|
|
37
|
+
enumDeclaration: {
|
|
38
|
+
packageName: '@wildo-ai/saas-models',
|
|
39
|
+
exportName: 'CoreResourceType',
|
|
40
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
41
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
42
|
+
},
|
|
43
|
+
memberName: 'PROVIDER_CALL_RECORDS',
|
|
44
|
+
},
|
|
45
|
+
operationVocabulary: {
|
|
46
|
+
coreEnum: {
|
|
47
|
+
packageName: '@wildo-ai/saas-models',
|
|
48
|
+
exportName: 'CoreResourceOperation',
|
|
49
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
50
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
notes: [
|
|
54
|
+
'Every operation is REPOSITORY_ONLY: the roles gate repository-tier resolution and are never exercised by a request.',
|
|
55
|
+
'Rows are built only by `projectProviderCallRecord`, a closed projection that cannot copy the prompt, the output or an error message.',
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
fields: {
|
|
59
|
+
_id: schemaShape._id.stringSpec({
|
|
60
|
+
meaning: 'Identity of this call record.',
|
|
61
|
+
semanticRole: 'identifier',
|
|
62
|
+
}),
|
|
63
|
+
applicationId: schemaShape.applicationId.stringSpec({
|
|
64
|
+
meaning: 'The application record the call was made by, stamped from the canonical identity.',
|
|
65
|
+
semanticRole: 'identifier',
|
|
66
|
+
}),
|
|
67
|
+
agentRef: schemaShape.agentRef.stringSpec({
|
|
68
|
+
meaning: 'The agent the call served, or the engine service\'s own label for an embedding or a document extraction.',
|
|
69
|
+
whyItMatters: 'Groups calls by the feature that made them, which is how an operator answers "what sends data to this vendor?".',
|
|
70
|
+
semanticRole: 'code',
|
|
71
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
72
|
+
}),
|
|
73
|
+
kind: schemaShape.kind.enumSpec({
|
|
74
|
+
meaning: 'Whether the call generated text or produced embeddings.',
|
|
75
|
+
whyItMatters: 'The two consume tokens differently, so usage is only comparable within one kind.',
|
|
76
|
+
enumDeclaration: {
|
|
77
|
+
packageName: '@wildo-ai/saas-models',
|
|
78
|
+
exportName: 'AgentCallTraceKind',
|
|
79
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
80
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
81
|
+
},
|
|
82
|
+
values: {
|
|
83
|
+
[AgentCallTraceKind.GENERATION]: { meaning: 'A generation call: prompt tokens in, completion tokens out.' },
|
|
84
|
+
[AgentCallTraceKind.EMBEDDING]: { meaning: 'An embedding call: input tokens in, vectors out, with no completion dimension.' },
|
|
85
|
+
},
|
|
86
|
+
}),
|
|
87
|
+
provider: schemaShape.provider.stringSpec({
|
|
88
|
+
meaning: 'The provider the call went to.',
|
|
89
|
+
whyItMatters: 'The vendor that received the request. Absent only when the call could not name its provider, and the evidence door counts that gap instead of hiding it.',
|
|
90
|
+
semanticRole: 'code',
|
|
91
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
92
|
+
}),
|
|
93
|
+
model: schemaShape.model.stringSpec({
|
|
94
|
+
meaning: 'The model the call resolved to.',
|
|
95
|
+
semanticRole: 'code',
|
|
96
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
97
|
+
}),
|
|
98
|
+
attempt: schemaShape.attempt.numberSpec({
|
|
99
|
+
meaning: 'The attempt number when the caller retries; every physical attempt is its own row.',
|
|
100
|
+
}),
|
|
101
|
+
calledAt: schemaShape.calledAt.dateSpec({
|
|
102
|
+
meaning: 'When the call was initiated.',
|
|
103
|
+
whyItMatters: 'The instant the evidence door filters a window on.',
|
|
104
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
105
|
+
}),
|
|
106
|
+
outcome: schemaShape.outcome.enumSpec({
|
|
107
|
+
meaning: 'How the call ended.',
|
|
108
|
+
enumDeclaration: {
|
|
109
|
+
packageName: '@wildo-ai/saas-models',
|
|
110
|
+
exportName: 'AgentCallOutcome',
|
|
111
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
112
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
113
|
+
},
|
|
114
|
+
values: {
|
|
115
|
+
[AgentCallOutcome.SUCCESS]: { meaning: 'The provider answered.' },
|
|
116
|
+
[AgentCallOutcome.FAILURE]: { meaning: 'The call failed; the error class and code are kept, the message is not.' },
|
|
117
|
+
},
|
|
118
|
+
}),
|
|
119
|
+
finishReason: schemaShape.finishReason.stringSpec({
|
|
120
|
+
meaning: 'The provider\'s reason for finishing, when it gave one.',
|
|
121
|
+
semanticRole: 'code',
|
|
122
|
+
}),
|
|
123
|
+
durationMs: schemaShape.durationMs.numberSpec({
|
|
124
|
+
meaning: 'How long the call took, in milliseconds.',
|
|
125
|
+
}),
|
|
126
|
+
promptTokens: schemaShape.promptTokens.numberSpec({
|
|
127
|
+
meaning: 'Input tokens the provider reported.',
|
|
128
|
+
}),
|
|
129
|
+
completionTokens: schemaShape.completionTokens.numberSpec({
|
|
130
|
+
meaning: 'Output tokens the provider reported. Absent on an embedding, which has no completion dimension.',
|
|
131
|
+
}),
|
|
132
|
+
totalTokens: schemaShape.totalTokens.numberSpec({
|
|
133
|
+
meaning: 'Total tokens the provider reported.',
|
|
134
|
+
}),
|
|
135
|
+
usageComplete: schemaShape.usageComplete.booleanSpec({
|
|
136
|
+
meaning: 'Whether the provider reported every usage dimension this kind of call has. Absent means it said nothing about completeness.',
|
|
137
|
+
}),
|
|
138
|
+
errorName: schemaShape.errorName.stringSpec({
|
|
139
|
+
meaning: 'On a failed call, the class of the error.',
|
|
140
|
+
semanticRole: 'code',
|
|
141
|
+
}),
|
|
142
|
+
errorCode: schemaShape.errorCode.stringSpec({
|
|
143
|
+
meaning: 'On a failed call, the error code when there was one.',
|
|
144
|
+
semanticRole: 'code',
|
|
145
|
+
}),
|
|
146
|
+
expiresAt: schemaShape.expiresAt.dateSpec({
|
|
147
|
+
meaning: 'When this row is deleted: 400 days after the call.',
|
|
148
|
+
whyItMatters: 'Enforced by a TTL index on MongoDB and by the bounded retention sweep on PostgreSQL.',
|
|
149
|
+
}),
|
|
150
|
+
createdAt: schemaShape.createdAt.dateSpec({
|
|
151
|
+
meaning: 'When the row was written.',
|
|
152
|
+
}),
|
|
153
|
+
},
|
|
154
|
+
operations: {
|
|
155
|
+
[Op.CREATE]: {
|
|
156
|
+
purpose: 'Record one physical provider call.',
|
|
157
|
+
outcome: 'The call is countable by the evidence door for any window that contains it.',
|
|
158
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The call was recorded.' }],
|
|
159
|
+
},
|
|
160
|
+
[Op.READ]: {
|
|
161
|
+
purpose: 'Read one call record.',
|
|
162
|
+
outcome: 'The row is returned to the internal caller.',
|
|
163
|
+
idempotent: true,
|
|
164
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The record was found.' }],
|
|
165
|
+
},
|
|
166
|
+
[Op.LIST]: {
|
|
167
|
+
purpose: 'List call records for an internal caller.',
|
|
168
|
+
outcome: 'The rows are returned to the internal caller.',
|
|
169
|
+
idempotent: true,
|
|
170
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The records were returned.' }],
|
|
171
|
+
},
|
|
172
|
+
[Op.DELETE_MANY]: {
|
|
173
|
+
purpose: 'Internal bounded retention cleanup of expired rows; no public deletion route.',
|
|
174
|
+
outcome: 'The retention sweep deletes the expired batch it selected through the declared repository operation.',
|
|
175
|
+
idempotent: true,
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
businessConstraints: [
|
|
179
|
+
'Metadata only: no prompt, no output and no error message is ever stored, so the row holds no person\'s content.',
|
|
180
|
+
'Written on every provider call, whatever the observability setting: evidence cannot depend on whether an analytics vendor is configured.',
|
|
181
|
+
'Append-only: there is no update. Recording is best-effort and never fails the call it records.',
|
|
182
|
+
],
|
|
183
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
|
|
184
|
+
//# sourceMappingURL=provider-call-records.resource.specification.js.map
|
package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-call-records.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/flows-actors/resources/provider-call-records.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,IAAI,EAAE,EAC3B,wBAAwB,EACxB,oBAAoB,EACpB,8DAA8D,IAAI,0BAA0B,GAC7F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAuC,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAmC,qBAAqB,CAC3G,0BAA0B,EAC1B,wBAAwB,EACxB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,uJAAuJ;IAChK,YAAY,EAAE,6MAA6M;IAC3N,aAAa,EAAE,uHAAuH;IACtI,QAAQ,EAAE,aAAa,CAAC,SAAS;IACjC,SAAS,EA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C;YACxC,OAAO,EAAE,2BAA2B;SACrC,CAAC;KACH;IAED,UAAU,EAAE;QACV,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,oCAAoC;YAC7C,OAAO,EAAE,6EAA6E;YACtF,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,WAAW,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;SACpG;QACD,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,OAAO,EAAE,uBAAuB;YAChC,OAAO,EAAE,6CAA6C;YACtD,UAAU,EAAE,IAAI;YAChB,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;SAC9F;QACD,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,OAAO,EAAE,2CAA2C;YACpD,OAAO,EAAE,+CAA+C;YACxD,UAAU,EAAE,IAAI;YAChB,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;SACnG;QACD,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE;YAChB,OAAO,EAAE,+EAA+E;YACxF,OAAO,EAAE,sGAAsG;YAC/G,UAAU,EAAE,IAAI;SACjB;KACF;IAED,mBAAmB,EAAE;QACnB,iHAAiH;QACjH,0IAA0I;QAC1I,gGAAgG;KACjG;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n AgentCallOutcome,\n AgentCallTraceKind,\n CoreResourceOperation as Op,\n ProviderCallRecordSchema,\n ResourcePrimaryScope,\n providerCallRecordsResourceConfiguration_InitializationFactory as providerCallRecordsFactory,\n} from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `providerCallRecords` resource: one row per physical\n * call to a model provider.\n *\n * The runtime reasoning (why a store when every call already emits a trace, why nothing but metadata is\n * kept, why the recorder writes on every call whatever the traceability level) lives in the schema\n * file's header and is not restated here.\n *\n * Every operation is REPOSITORY_ONLY, so there is no HTTP surface. The evidence door\n * `GET /assurance/provider-call-evidence` reads these rows as window aggregates and never returns one.\n */\nexport const providerCallRecordsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n providerCallRecordsFactory,\n ProviderCallRecordSchema,\n ({ schemaShape }) => ({\n purpose: 'Record every physical call the application makes to a model provider: which provider and model, what kind of call, how it ended and what it consumed.',\n businessRole: 'The queryable record behind the claim that the application knows what it sent to which vendor. It is what an evidence reader counts, where the traces sent to logs and analytics vendors cannot be counted.',\n lifecycleRole: 'Written once per provider call by the engine\\'s recorder, never updated, and deleted only when its own expiry passes.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ProviderCallRecordSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'providerCallRecordsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'PROVIDER_CALL_RECORDS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'Every operation is REPOSITORY_ONLY: the roles gate repository-tier resolution and are never exercised by a request.',\n 'Rows are built only by `projectProviderCallRecord`, a closed projection that cannot copy the prompt, the output or an error message.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Identity of this call record.',\n semanticRole: 'identifier',\n }),\n applicationId: schemaShape.applicationId.stringSpec({\n meaning: 'The application record the call was made by, stamped from the canonical identity.',\n semanticRole: 'identifier',\n }),\n agentRef: schemaShape.agentRef.stringSpec({\n meaning: 'The agent the call served, or the engine service\\'s own label for an embedding or a document extraction.',\n whyItMatters: 'Groups calls by the feature that made them, which is how an operator answers \"what sends data to this vendor?\".',\n semanticRole: 'code',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n kind: schemaShape.kind.enumSpec({\n meaning: 'Whether the call generated text or produced embeddings.',\n whyItMatters: 'The two consume tokens differently, so usage is only comparable within one kind.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AgentCallTraceKind',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [AgentCallTraceKind.GENERATION]: { meaning: 'A generation call: prompt tokens in, completion tokens out.' },\n [AgentCallTraceKind.EMBEDDING]: { meaning: 'An embedding call: input tokens in, vectors out, with no completion dimension.' },\n },\n }),\n provider: schemaShape.provider.stringSpec({\n meaning: 'The provider the call went to.',\n whyItMatters: 'The vendor that received the request. Absent only when the call could not name its provider, and the evidence door counts that gap instead of hiding it.',\n semanticRole: 'code',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n model: schemaShape.model.stringSpec({\n meaning: 'The model the call resolved to.',\n semanticRole: 'code',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n attempt: schemaShape.attempt.numberSpec({\n meaning: 'The attempt number when the caller retries; every physical attempt is its own row.',\n }),\n calledAt: schemaShape.calledAt.dateSpec({\n meaning: 'When the call was initiated.',\n whyItMatters: 'The instant the evidence door filters a window on.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n outcome: schemaShape.outcome.enumSpec({\n meaning: 'How the call ended.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AgentCallOutcome',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [AgentCallOutcome.SUCCESS]: { meaning: 'The provider answered.' },\n [AgentCallOutcome.FAILURE]: { meaning: 'The call failed; the error class and code are kept, the message is not.' },\n },\n }),\n finishReason: schemaShape.finishReason.stringSpec({\n meaning: 'The provider\\'s reason for finishing, when it gave one.',\n semanticRole: 'code',\n }),\n durationMs: schemaShape.durationMs.numberSpec({\n meaning: 'How long the call took, in milliseconds.',\n }),\n promptTokens: schemaShape.promptTokens.numberSpec({\n meaning: 'Input tokens the provider reported.',\n }),\n completionTokens: schemaShape.completionTokens.numberSpec({\n meaning: 'Output tokens the provider reported. Absent on an embedding, which has no completion dimension.',\n }),\n totalTokens: schemaShape.totalTokens.numberSpec({\n meaning: 'Total tokens the provider reported.',\n }),\n usageComplete: schemaShape.usageComplete.booleanSpec({\n meaning: 'Whether the provider reported every usage dimension this kind of call has. Absent means it said nothing about completeness.',\n }),\n errorName: schemaShape.errorName.stringSpec({\n meaning: 'On a failed call, the class of the error.',\n semanticRole: 'code',\n }),\n errorCode: schemaShape.errorCode.stringSpec({\n meaning: 'On a failed call, the error code when there was one.',\n semanticRole: 'code',\n }),\n expiresAt: schemaShape.expiresAt.dateSpec({\n meaning: 'When this row is deleted: 400 days after the call.',\n whyItMatters: 'Enforced by a TTL index on MongoDB and by the bounded retention sweep on PostgreSQL.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({\n meaning: 'When the row was written.',\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Record one physical provider call.',\n outcome: 'The call is countable by the evidence door for any window that contains it.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The call was recorded.' }],\n },\n [Op.READ]: {\n purpose: 'Read one call record.',\n outcome: 'The row is returned to the internal caller.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The record was found.' }],\n },\n [Op.LIST]: {\n purpose: 'List call records for an internal caller.',\n outcome: 'The rows are returned to the internal caller.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The records were returned.' }],\n },\n [Op.DELETE_MANY]: {\n purpose: 'Internal bounded retention cleanup of expired rows; no public deletion route.',\n outcome: 'The retention sweep deletes the expired batch it selected through the declared repository operation.',\n idempotent: true,\n },\n },\n\n businessConstraints: [\n 'Metadata only: no prompt, no output and no error message is ever stored, so the row holds no person\\'s content.',\n 'Written on every provider call, whatever the observability setting: evidence cannot depend on whether an analytics vendor is configured.',\n 'Append-only: there is no update. Recording is best-effort and never fails the call it records.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -89,12 +89,12 @@ export const lowLevelButtonGroupSeparatorFrontendComponentSpecification = fronte
|
|
|
89
89
|
{
|
|
90
90
|
title: 'Separate action clusters',
|
|
91
91
|
language: 'tsx',
|
|
92
|
-
code: `import { ButtonGroup, ButtonGroupSeparator, Button } from '@wildo-ai/saas-frontend-lib';
|
|
92
|
+
code: `import { ButtonGroup, ButtonGroupSeparator, Button, ButtonVariants_Variant } from '@wildo-ai/saas-frontend-lib';
|
|
93
93
|
|
|
94
94
|
<ButtonGroup>
|
|
95
|
-
<Button variant=
|
|
95
|
+
<Button variant={ButtonVariants_Variant.OUTLINE}>Edit</Button>
|
|
96
96
|
<ButtonGroupSeparator />
|
|
97
|
-
<Button variant=
|
|
97
|
+
<Button variant={ButtonVariants_Variant.DESTRUCTIVE}>Delete</Button>
|
|
98
98
|
</ButtonGroup>`,
|
|
99
99
|
},
|
|
100
100
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group-separator.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/actions/button-group-separator.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,4CAA4C,GAAG,sCAAsC,CAAC;IACjG,YAAY,EAAE,qBAAqB,CAAC,gCAAgC;CACrE,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,GAAG,qBAAqB,CAAC,gCAAgC,IAAI,eAAe,CAAC,OAAO,EAAE,CAAC;AAE9I;;;;;GAKG;AACH,MAAM,CAAC,MAAM,0DAA0D,GACrE,8BAA8B,CAAC;IAC7B,MAAM,EAAE;QACN,YAAY,EAAE,qBAAqB,CAAC,gCAAgC;QACpE,wBAAwB,EAAE;YACxB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,cAAc,CAAC,IAAI;gBAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;aACrD;YACD,UAAU,EAAE,kCAAkC;SAC/C;KACF;IACD,WAAW,EAAE,4CAA4C;IACzD,OAAO,EACL,kHAAkH;IACpH,MAAM,EACJ,iHAAiH;IACnH,OAAO,EACL,6EAA6E;IAC/E,SAAS,EAC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AQ;iBAC9C;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EAAE,8BAA8B;oBAC3C,UAAU,EAAE,sBAAsB;oBAClC,UAAU,EAAE,cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EAAE,6BAA6B;oBAC1C,UAAU,EAAE,sBAAsB;oBAClC,UAAU,EAAE,cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,gBAAgB,EAAE,qCAAqC,CAAC,sBAAsB;gBAC9E,KAAK,EAAE;oBACL,wFAAwF;iBACzF;aACF;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC","sourcesContent":["import {\n CodePrimitiveKind,\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport { CorePresetNames, FrontendComponentType } from '@wildo-ai/presets-components-models';\nimport { DisplayDirection } from '@wildo-ai/zod-decorators';\nimport {\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\n\nexport const lowLevelButtonGroupSeparatorSpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP_SEPARATOR,\n});\nexport const lowLevelButtonGroupSeparatorRegistryKey = `${FrontendComponentType.LOW_LEVEL_BUTTON_GROUP_SEPARATOR}:${CorePresetNames.DEFAULT}`;\n\n/**\n * Visual divider between segments inside a `ButtonGroup`.\n *\n * Implementation: `engine/presets-components/src/components/actions/button-group.tsx` → `ButtonGroupSeparator`\n * Wrapper: `@wildo-ai/saas-frontend-lib` → `ButtonGroupSeparator`\n */\nexport const lowLevelButtonGroupSeparatorFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP_SEPARATOR,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'LOW_LEVEL_BUTTON_GROUP_SEPARATOR',\n },\n },\n componentId: 'framework.low-level.button-group-separator',\n purpose:\n 'Insert a slim separator between logical segments of a button group without breaking the merged border treatment.',\n uiRole:\n 'Decorative or semantic divider implemented with the framework `Separator` primitive, oriented for group layout.',\n useWhen:\n 'Use when grouping unrelated action clusters inside one `ButtonGroup` shell.',\n avoidWhen:\n 'Avoid when spacing alone is enough; separators add visual weight.',\n authoringNotes: [\n 'Default orientation is vertical for horizontal groups.',\n 'Source `button-group.tsx` does not yet call `registerComponentLabels` for this sub-slot.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ButtonGroupSeparatorProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.TYPE_ALIAS,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects which registered slot implementation renders for this wrapper.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [{ value: CorePresetNames.DEFAULT, meaning: 'Default button-group separator preset.' }],\n allowCustomValues: true,\n },\n },\n {\n propName: 'orientation',\n purpose: 'Line orientation for the separator within the group.',\n valueKind: FrontendComponentPropValueKind.ENUM,\n defaultValue: DisplayDirection.VERTICAL,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/zod-decorators',\n exportName: 'DisplayDirection',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [\n { value: DisplayDirection.VERTICAL, meaning: 'Default for horizontal button groups.' },\n { value: DisplayDirection.HORIZONTAL, meaning: 'For vertical button groups.' },\n ],\n },\n },\n {\n propName: 'decorative',\n purpose: 'When true, hides the separator from assistive technology.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.BOOLEAN,\n },\n ],\n },\n usageExamples: [\n {\n title: 'Separate action clusters',\n language: 'tsx',\n code: `import { ButtonGroup, ButtonGroupSeparator, Button } from '@wildo-ai/saas-frontend-lib';\n\n<ButtonGroup>\n <Button variant=\"outline\">Edit</Button>\n <ButtonGroupSeparator />\n <Button variant=\"destructive\">Delete</Button>\n</ButtonGroup>`,\n },\n ],\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: lowLevelButtonGroupSeparatorRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP_SEPARATOR,\n preset: CorePresetNames.DEFAULT,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_DEFAULT_PRESETS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'registerDefaultPresets',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'ButtonGroupSeparator',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ButtonGroupSeparator',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [\n 'Uses `data-slot=\"button-group-separator\"` for layout integration with the group shell.',\n ],\n },\n injectedContributions: [],\n },\n },\n });\n"]}
|
|
1
|
+
{"version":3,"file":"button-group-separator.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/actions/button-group-separator.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,4CAA4C,GAAG,sCAAsC,CAAC;IACjG,YAAY,EAAE,qBAAqB,CAAC,gCAAgC;CACrE,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,GAAG,qBAAqB,CAAC,gCAAgC,IA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iCAAiC,CAAC,YAAY;gBAChE,cAAc,EAAE;oBACd,mBAAmB,EAAE,gDAAgD,CAAC,IAAI;oBAC1E,YAAY,EAAE,qBAAqB,CAAC,gCAAgC;oBACpE,MAAM,EAAE,eAAe,CAAC,OAAO;iBAChC;gBACD,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,sBAAsB,CAAC,MAAM,EAAE;gBACtE,gBAAgB,EAAE,qCAAqC,CAAC,yBAAyB;gBACjF,QAAQ,EAAE,yBAAyB,CAAC,aAAa;gBACjD,kBAAkB,EAAE;oBAClB,WAAW,EAAE,8BAA8B;oBAC3C,UAAU,EAAE,wBAAwB;oBACpC,UAAU,EAAE,cAAc,CAAC,QAAQ;oBACnC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EAAE,8BAA8B;oBAC3C,UAAU,EAAE,sBAAsB;oBAClC,UAAU,EAAE,cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EAAE,6BAA6B;oBAC1C,UAAU,EAAE,sBAAsB;oBAClC,UAAU,EAAE,cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,gBAAgB,EAAE,qCAAqC,CAAC,sBAAsB;gBAC9E,KAAK,EAAE;oBACL,wFAAwF;iBACzF;aACF;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC","sourcesContent":["import {\n CodePrimitiveKind,\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport { CorePresetNames, FrontendComponentType } from '@wildo-ai/presets-components-models';\nimport { DisplayDirection } from '@wildo-ai/zod-decorators';\nimport {\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\n\nexport const lowLevelButtonGroupSeparatorSpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP_SEPARATOR,\n});\nexport const lowLevelButtonGroupSeparatorRegistryKey = `${FrontendComponentType.LOW_LEVEL_BUTTON_GROUP_SEPARATOR}:${CorePresetNames.DEFAULT}`;\n\n/**\n * Visual divider between segments inside a `ButtonGroup`.\n *\n * Implementation: `engine/presets-components/src/components/actions/button-group.tsx` → `ButtonGroupSeparator`\n * Wrapper: `@wildo-ai/saas-frontend-lib` → `ButtonGroupSeparator`\n */\nexport const lowLevelButtonGroupSeparatorFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP_SEPARATOR,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'LOW_LEVEL_BUTTON_GROUP_SEPARATOR',\n },\n },\n componentId: 'framework.low-level.button-group-separator',\n purpose:\n 'Insert a slim separator between logical segments of a button group without breaking the merged border treatment.',\n uiRole:\n 'Decorative or semantic divider implemented with the framework `Separator` primitive, oriented for group layout.',\n useWhen:\n 'Use when grouping unrelated action clusters inside one `ButtonGroup` shell.',\n avoidWhen:\n 'Avoid when spacing alone is enough; separators add visual weight.',\n authoringNotes: [\n 'Default orientation is vertical for horizontal groups.',\n 'Source `button-group.tsx` does not yet call `registerComponentLabels` for this sub-slot.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ButtonGroupSeparatorProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.TYPE_ALIAS,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects which registered slot implementation renders for this wrapper.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [{ value: CorePresetNames.DEFAULT, meaning: 'Default button-group separator preset.' }],\n allowCustomValues: true,\n },\n },\n {\n propName: 'orientation',\n purpose: 'Line orientation for the separator within the group.',\n valueKind: FrontendComponentPropValueKind.ENUM,\n defaultValue: DisplayDirection.VERTICAL,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/zod-decorators',\n exportName: 'DisplayDirection',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [\n { value: DisplayDirection.VERTICAL, meaning: 'Default for horizontal button groups.' },\n { value: DisplayDirection.HORIZONTAL, meaning: 'For vertical button groups.' },\n ],\n },\n },\n {\n propName: 'decorative',\n purpose: 'When true, hides the separator from assistive technology.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.BOOLEAN,\n },\n ],\n },\n usageExamples: [\n {\n title: 'Separate action clusters',\n language: 'tsx',\n code: `import { ButtonGroup, ButtonGroupSeparator, Button, ButtonVariants_Variant } from '@wildo-ai/saas-frontend-lib';\n\n<ButtonGroup>\n <Button variant={ButtonVariants_Variant.OUTLINE}>Edit</Button>\n <ButtonGroupSeparator />\n <Button variant={ButtonVariants_Variant.DESTRUCTIVE}>Delete</Button>\n</ButtonGroup>`,\n },\n ],\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: lowLevelButtonGroupSeparatorRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP_SEPARATOR,\n preset: CorePresetNames.DEFAULT,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_DEFAULT_PRESETS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'registerDefaultPresets',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'ButtonGroupSeparator',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ButtonGroupSeparator',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [\n 'Uses `data-slot=\"button-group-separator\"` for layout integration with the group shell.',\n ],\n },\n injectedContributions: [],\n },\n },\n });\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.frontend-component.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/actions/button-group.frontend-component.specification.ts"],"names":[],"mappings":"AAOA,OAAO,EASL,KAAK,oCAAoC,EAE1C,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,mCAAmC,QAE9C,CAAC;AACH,eAAO,MAAM,8BAA8B,mCAA+E,CAAC;AAE3H;;;;;;;;;GASG;AACH,eAAO,MAAM,iDAAiD,EAAE,
|
|
1
|
+
{"version":3,"file":"button-group.frontend-component.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/actions/button-group.frontend-component.specification.ts"],"names":[],"mappings":"AAOA,OAAO,EASL,KAAK,oCAAoC,EAE1C,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,mCAAmC,QAE9C,CAAC;AACH,eAAO,MAAM,8BAA8B,mCAA+E,CAAC;AAE3H;;;;;;;;;GASG;AACH,eAAO,MAAM,iDAAiD,EAAE,oCA2I5D,CAAC"}
|
package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js
CHANGED
|
@@ -90,10 +90,11 @@ export const lowLevelButtonGroupFrontendComponentSpecification = frontendCompone
|
|
|
90
90
|
title: 'Horizontal button group',
|
|
91
91
|
language: 'tsx',
|
|
92
92
|
code: `import { ButtonGroup, Button } from '@wildo-ai/saas-frontend-lib';
|
|
93
|
+
import { ButtonSize } from '@wildo-ai/presets-components-models';
|
|
93
94
|
|
|
94
95
|
<ButtonGroup>
|
|
95
|
-
<Button size=
|
|
96
|
-
<Button size=
|
|
96
|
+
<Button size={ButtonSize.SM}>Left</Button>
|
|
97
|
+
<Button size={ButtonSize.SM}>Right</Button>
|
|
97
98
|
</ButtonGroup>`,
|
|
98
99
|
},
|
|
99
100
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/actions/button-group.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC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sGAAsG;iBACvG;aACF;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC","sourcesContent":["import {\n CodePrimitiveKind,\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport { CorePresetNames, FrontendComponentType } from '@wildo-ai/presets-components-models';\nimport { DisplayDirection } from '@wildo-ai/zod-decorators';\nimport {\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\n\nexport const lowLevelButtonGroupSpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP,\n});\nexport const lowLevelButtonGroupRegistryKey = `${FrontendComponentType.LOW_LEVEL_BUTTON_GROUP}:${CorePresetNames.DEFAULT}`;\n\n/**\n * Merges adjacent buttons/selects into a single visual group (segmented control shell).\n *\n * Implementation: `engine/presets-components/src/components/actions/button-group.tsx`\n * Wrapper: `@wildo-ai/saas-frontend-lib` → `ButtonGroup`\n *\n * Note: the presets implementation file does not call `registerComponentLabels` yet; the slot\n * is registered in `registerDefaultPresets`. Companion label inventory may be empty until\n * registration is added alongside sibling parts.\n */\nexport const lowLevelButtonGroupFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'LOW_LEVEL_BUTTON_GROUP',\n },\n },\n componentId: 'framework.low-level.button-group',\n purpose:\n 'Provide a flex container that visually merges multiple controls (buttons, inputs, selects) into one segmented control.',\n uiRole:\n 'Layout primitive with `role=\"group\"` that removes inner borders/radius between children for a unified affordance.',\n useWhen:\n 'Use when tightly related actions or inputs should read as one control cluster (e.g. pagination prev/next, segmented filters).',\n avoidWhen:\n 'Avoid when children are unrelated; prefer spacing them as separate buttons.',\n authoringNotes: [\n 'Pair with `ButtonGroupText` and `ButtonGroupSeparator` for chrome that matches the grouped visual language.',\n 'Source `button-group.tsx` does not yet call `registerComponentLabels` for this slot; verify D1 if labels are added later.',\n ],\n compositionNotes: [\n 'Children are arbitrary React nodes; the group only provides layout and focus z-index stacking.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ButtonGroupProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.TYPE_ALIAS,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects which registered slot implementation renders for this wrapper.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [{ value: CorePresetNames.DEFAULT, meaning: 'Default button-group container preset.' }],\n allowCustomValues: true,\n },\n },\n {\n propName: 'orientation',\n purpose: 'Stack direction for the grouped controls.',\n valueKind: FrontendComponentPropValueKind.ENUM,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/zod-decorators',\n exportName: 'DisplayDirection',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [\n { value: DisplayDirection.HORIZONTAL, meaning: 'Default row layout for segmented controls.' },\n { value: DisplayDirection.VERTICAL, meaning: 'Column layout for stacked clusters.' },\n ],\n },\n },\n ],\n },\n usageExamples: [\n {\n title: 'Horizontal button group',\n language: 'tsx',\n code: `import { ButtonGroup, Button } from '@wildo-ai/saas-frontend-lib';\n\n<ButtonGroup>\n <Button size=\"sm\">Left</Button>\n <Button size=\"sm\">Right</Button>\n</ButtonGroup>`,\n },\n ],\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: lowLevelButtonGroupRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP,\n preset: CorePresetNames.DEFAULT,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_DEFAULT_PRESETS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'registerDefaultPresets',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'ButtonGroup',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ButtonGroup',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [\n 'Implementation is the `ButtonGroup` function component exported from `@wildo-ai/presets-components`.',\n ],\n },\n injectedContributions: [],\n },\n },\n });\n"]}
|
|
1
|
+
{"version":3,"file":"button-group.frontend-component.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/frontend-components/actions/button-group.frontend-component.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EACL,sCAAsC,EACtC,8BAA8B,EAC9B,gDAAgD,EAChD,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,qCAAqC,EAErC,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,mCAAmC,GAAG,sCAAsC,CAAC;IACxF,YAAY,EAAE,qBAAqB,CAAC,sBAAsB;CAC3D,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,qBAAqB,CAAC,sBAAsB,IAAI,eAAe,CAAC,OAAO,EAAE,CAAC;AAE3H;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAC5D,8BAA8B,CAAC;IAC7B,MAAM,EAAE;QACN,YAAY,EAAE,qBAAqB,CAAC,sBAAsB;QAC1D,wBAAwB,EAAE;YACxB,WAAW,EAAE;gBACX,WAAW,EAAE,qCAAqC;gBAClD,UAAU,EAAE,uBAAuB;gBACnC,UAAU,EAAE,cAAc,CAAC,IAAI;gBAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;aACrD;YACD,UAAU,EAAE,wBAAwB;SACrC;KACF;IACD,WAAW,EAAE,kCAAkC;IAC/C,OAAO,EACL,wHAAwH;IAC1H,MAAM,EACJ,mHAAmH;IACrH,O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cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,oBAAoB,EAAE;oBACpB,WAAW,EAAE,6BAA6B;oBAC1C,UAAU,EAAE,aAAa;oBACzB,UAAU,EAAE,cAAc,CAAC,SAAS;oBACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;iBAC9C;gBACD,gBAAgB,EAAE,qCAAqC,CAAC,sBAAsB;gBAC9E,KAAK,EAAE;oBACL,sGAAsG;iBACvG;aACF;YACD,qBAAqB,EAAE,EAAE;SAC1B;KACF;CACF,CAAC,CAAC","sourcesContent":["import {\n CodePrimitiveKind,\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport { CorePresetNames, FrontendComponentType } from '@wildo-ai/presets-components-models';\nimport { DisplayDirection } from '@wildo-ai/zod-decorators';\nimport {\n buildFrontendComponentSpecificationKey,\n frontendComponentSpecification,\n FrontendComponentContributionIdentityGranularity,\n FrontendComponentContributionKind,\n FrontendComponentLoadKind,\n FrontendComponentPropValueKind,\n FrontendComponentRegistrationPathKind,\n FrontendComponentResolutionPolicyKind,\n type FrontendComponentSpecificationConfig,\n SpecificationOwnerKind,\n} from '~wildo-specifications/_core';\n\nexport const lowLevelButtonGroupSpecificationKey = buildFrontendComponentSpecificationKey({\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP,\n});\nexport const lowLevelButtonGroupRegistryKey = `${FrontendComponentType.LOW_LEVEL_BUTTON_GROUP}:${CorePresetNames.DEFAULT}`;\n\n/**\n * Merges adjacent buttons/selects into a single visual group (segmented control shell).\n *\n * Implementation: `engine/presets-components/src/components/actions/button-group.tsx`\n * Wrapper: `@wildo-ai/saas-frontend-lib` → `ButtonGroup`\n *\n * Note: the presets implementation file does not call `registerComponentLabels` yet; the slot\n * is registered in `registerDefaultPresets`. Companion label inventory may be empty until\n * registration is added alongside sibling parts.\n */\nexport const lowLevelButtonGroupFrontendComponentSpecification: FrontendComponentSpecificationConfig =\n frontendComponentSpecification({\n target: {\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP,\n componentTypeDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'FrontendComponentType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'LOW_LEVEL_BUTTON_GROUP',\n },\n },\n componentId: 'framework.low-level.button-group',\n purpose:\n 'Provide a flex container that visually merges multiple controls (buttons, inputs, selects) into one segmented control.',\n uiRole:\n 'Layout primitive with `role=\"group\"` that removes inner borders/radius between children for a unified affordance.',\n useWhen:\n 'Use when tightly related actions or inputs should read as one control cluster (e.g. pagination prev/next, segmented filters).',\n avoidWhen:\n 'Avoid when children are unrelated; prefer spacing them as separate buttons.',\n authoringNotes: [\n 'Pair with `ButtonGroupText` and `ButtonGroupSeparator` for chrome that matches the grouped visual language.',\n 'Source `button-group.tsx` does not yet call `registerComponentLabels` for this slot; verify D1 if labels are added later.',\n ],\n compositionNotes: [\n 'Children are arbitrary React nodes; the group only provides layout and focus z-index stacking.',\n ],\n componentInterface: {\n propsType: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ButtonGroupProps',\n symbolKind: CodeSymbolKind.TYPE,\n declarationKind: CodeDeclarationKind.TYPE_ALIAS,\n },\n propSpecifications: [\n {\n propName: 'preset',\n purpose: 'Selects which registered slot implementation renders for this wrapper.',\n valueKind: FrontendComponentPropValueKind.PRIMITIVE,\n primitiveType: CodePrimitiveKind.STRING,\n defaultValue: CorePresetNames.DEFAULT,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [{ value: CorePresetNames.DEFAULT, meaning: 'Default button-group container preset.' }],\n allowCustomValues: true,\n },\n },\n {\n propName: 'orientation',\n purpose: 'Stack direction for the grouped controls.',\n valueKind: FrontendComponentPropValueKind.ENUM,\n vocabulary: {\n enumerationSource: {\n packageName: '@wildo-ai/zod-decorators',\n exportName: 'DisplayDirection',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: [\n { value: DisplayDirection.HORIZONTAL, meaning: 'Default row layout for segmented controls.' },\n { value: DisplayDirection.VERTICAL, meaning: 'Column layout for stacked clusters.' },\n ],\n },\n },\n ],\n },\n usageExamples: [\n {\n title: 'Horizontal button group',\n language: 'tsx',\n code: `import { ButtonGroup, Button } from '@wildo-ai/saas-frontend-lib';\nimport { ButtonSize } from '@wildo-ai/presets-components-models';\n\n<ButtonGroup>\n <Button size={ButtonSize.SM}>Left</Button>\n <Button size={ButtonSize.SM}>Right</Button>\n</ButtonGroup>`,\n },\n ],\n defaultPreset: CorePresetNames.DEFAULT,\n presetSpecifications: {\n [CorePresetNames.DEFAULT]: {\n presetTarget: {\n preset: CorePresetNames.DEFAULT,\n presetDeclaration: {\n declaration: {\n packageName: '@wildo-ai/presets-components-models',\n exportName: 'CorePresetNames',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DEFAULT',\n },\n registryKey: lowLevelButtonGroupRegistryKey,\n },\n baseElement: {\n contributionKind: FrontendComponentContributionKind.BASE_ELEMENT,\n sourceIdentity: {\n identityGranularity: FrontendComponentContributionIdentityGranularity.SLOT,\n componentRef: FrontendComponentType.LOW_LEVEL_BUTTON_GROUP,\n preset: CorePresetNames.DEFAULT,\n },\n owner: { ownerId: 'engine', ownerKind: SpecificationOwnerKind.ENGINE },\n registrationPath: FrontendComponentRegistrationPathKind.FRAMEWORK_DEFAULT_PRESETS,\n loadKind: FrontendComponentLoadKind.STATIC_IMPORT,\n registrationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'registerDefaultPresets',\n symbolKind: CodeSymbolKind.FUNCTION,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n implementationSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'ButtonGroup',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n consumerFacingSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ButtonGroup',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resolutionPolicy: FrontendComponentResolutionPolicyKind.LAST_REGISTRATION_WINS,\n notes: [\n 'Implementation is the `ButtonGroup` function component exported from `@wildo-ai/presets-components`.',\n ],\n },\n injectedContributions: [],\n },\n },\n });\n"]}
|