@lssm/lib.companyos-spec 3.0.2
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/README.md +308 -0
- package/dist/browser/companyos-spec.feature.js +1 -0
- package/dist/browser/docs/company-intelligence.docblock.js +1 -0
- package/dist/browser/docs/companyos-enterprise.docblock.js +1 -0
- package/dist/browser/docs/companyos-operating-graph.docblock.js +1 -0
- package/dist/browser/docs/companyos-v0.docblock.js +1 -0
- package/dist/browser/docs/companyos-v1-operating-loop.docblock.js +1 -0
- package/dist/browser/docs/index.js +1 -0
- package/dist/browser/fixtures/company-brain-edition.js +1 -0
- package/dist/browser/fixtures/company-intelligence/base.js +1 -0
- package/dist/browser/fixtures/company-intelligence/grounding-result.js +1 -0
- package/dist/browser/fixtures/company-intelligence/grounding.js +1 -0
- package/dist/browser/fixtures/company-intelligence/index.js +1 -0
- package/dist/browser/fixtures/company-intelligence/knowledge.js +1 -0
- package/dist/browser/fixtures/company-intelligence/learning-governance-fixture-data.js +1 -0
- package/dist/browser/fixtures/company-intelligence/learning-governance-payloads.js +1 -0
- package/dist/browser/fixtures/company-intelligence/learning-governance.acceptance-test-support.js +1 -0
- package/dist/browser/fixtures/company-intelligence/learning-governance.invariant-test-support.js +1 -0
- package/dist/browser/fixtures/company-intelligence/learning-governance.js +1 -0
- package/dist/browser/fixtures/company-intelligence/learning-governance.rejection-test-support.js +1 -0
- package/dist/browser/fixtures/company-intelligence/learning.js +1 -0
- package/dist/browser/fixtures/company-intelligence/lineage.js +1 -0
- package/dist/browser/fixtures/company-intelligence/negative.js +1 -0
- package/dist/browser/fixtures/design-partner-readiness.js +1 -0
- package/dist/browser/fixtures/enterprise-portfolio.js +1 -0
- package/dist/browser/fixtures/enterprise-portfolio.parts.js +1 -0
- package/dist/browser/fixtures/gtm-learning-loop-neutral.parts.js +1 -0
- package/dist/browser/fixtures/index.js +1 -0
- package/dist/browser/fixtures/layer0-action-packet.js +1 -0
- package/dist/browser/fixtures/learning-loop.js +1 -0
- package/dist/browser/fixtures/provider-binding.js +1 -0
- package/dist/browser/fixtures/rich-outcome-observations.js +1 -0
- package/dist/browser/fixtures/temporal-assertions.js +1 -0
- package/dist/browser/fixtures/temporal-knowledge.js +1 -0
- package/dist/browser/fixtures/tenant-governance-envelope.js +1 -0
- package/dist/browser/fixtures/v0-product-engineering-loop.js +1 -0
- package/dist/browser/fixtures/v0-product-engineering-loop.parts.js +1 -0
- package/dist/browser/fixtures/v0-source.parts.js +1 -0
- package/dist/browser/fixtures/v0-work-graph.parts.js +1 -0
- package/dist/browser/fixtures/v1-agent-runtime.parts.js +1 -0
- package/dist/browser/fixtures/v1-execution.parts.js +1 -0
- package/dist/browser/fixtures/v1-operating-loop.js +1 -0
- package/dist/browser/fixtures/v1-operating-loop.parts.js +1 -0
- package/dist/browser/fixtures/v1-policy-runtime.js +1 -0
- package/dist/browser/fixtures/v2-messaging-originated-action.js +1 -0
- package/dist/browser/fixtures/v2-operating-graph.js +1 -0
- package/dist/browser/fixtures/v2-voice-originated-action.js +1 -0
- package/dist/browser/fixtures/v2-voiceops-support-to-product.js +1 -0
- package/dist/browser/index.js +28 -0
- package/dist/browser/types/action-origin.js +27 -0
- package/dist/browser/types/agent-interfaces.js +1 -0
- package/dist/browser/types/agent-org.js +1 -0
- package/dist/browser/types/agentic-contracts.js +1 -0
- package/dist/browser/types/authority.js +1 -0
- package/dist/browser/types/autonomy.js +1 -0
- package/dist/browser/types/brain.js +1 -0
- package/dist/browser/types/cadence.js +1 -0
- package/dist/browser/types/common.js +1 -0
- package/dist/browser/types/company-brain-edition.js +1 -0
- package/dist/browser/types/company-intelligence/brain.js +1 -0
- package/dist/browser/types/company-intelligence/common.js +1 -0
- package/dist/browser/types/company-intelligence/compatibility.js +1 -0
- package/dist/browser/types/company-intelligence/extraction.js +1 -0
- package/dist/browser/types/company-intelligence/grounding-result.js +1 -0
- package/dist/browser/types/company-intelligence/grounding.js +1 -0
- package/dist/browser/types/company-intelligence/index.js +1 -0
- package/dist/browser/types/company-intelligence/knowledge.js +1 -0
- package/dist/browser/types/company-intelligence/learning-disposition.js +1 -0
- package/dist/browser/types/company-intelligence/learning-governance-codes.js +1 -0
- package/dist/browser/types/company-intelligence/learning-governance.js +1 -0
- package/dist/browser/types/company-intelligence/learning.js +1 -0
- package/dist/browser/types/company-intelligence/lineage.js +1 -0
- package/dist/browser/types/company-metrics-governance.js +1 -0
- package/dist/browser/types/company-metrics.js +1 -0
- package/dist/browser/types/company-purpose.js +1 -0
- package/dist/browser/types/company.js +1 -0
- package/dist/browser/types/connectors.js +1 -0
- package/dist/browser/types/control-plane-projections.js +1 -0
- package/dist/browser/types/design-partner-readiness.js +1 -0
- package/dist/browser/types/dynamic-surfaces.js +1 -0
- package/dist/browser/types/enterprise-common.js +1 -0
- package/dist/browser/types/enterprise-governance.js +1 -0
- package/dist/browser/types/enterprise-portfolio.js +1 -0
- package/dist/browser/types/enterprise-topology.js +1 -0
- package/dist/browser/types/enterprise.js +1 -0
- package/dist/browser/types/enums.js +1 -0
- package/dist/browser/types/evidence-receipt-material.js +1 -0
- package/dist/browser/types/execution.js +1 -0
- package/dist/browser/types/governed-action-state.js +1 -0
- package/dist/browser/types/governed-learning-loop.js +1 -0
- package/dist/browser/types/graph-permissions.js +1 -0
- package/dist/browser/types/graph-realtime.js +1 -0
- package/dist/browser/types/identity-resolution.js +1 -0
- package/dist/browser/types/index.js +27 -0
- package/dist/browser/types/layer0-action-packet.js +1 -0
- package/dist/browser/types/layer0-adapter-contract.js +1 -0
- package/dist/browser/types/layer0-core.js +1 -0
- package/dist/browser/types/layer0-routing-rule.js +1 -0
- package/dist/browser/types/layer0-unknown.js +1 -0
- package/dist/browser/types/learning-loop.js +1 -0
- package/dist/browser/types/managed-companyos.js +1 -0
- package/dist/browser/types/memory.js +1 -0
- package/dist/browser/types/objectives.js +1 -0
- package/dist/browser/types/operating-cockpit.js +1 -0
- package/dist/browser/types/operating-graph-contract.js +1 -0
- package/dist/browser/types/operating-graph.js +1 -0
- package/dist/browser/types/outcome-observation.js +1 -0
- package/dist/browser/types/outcome-value.js +0 -0
- package/dist/browser/types/policy-runtime.js +1 -0
- package/dist/browser/types/provider-binding.js +1 -0
- package/dist/browser/types/runbooks.js +1 -0
- package/dist/browser/types/substrate-refs.js +1 -0
- package/dist/browser/types/surfaces.js +1 -0
- package/dist/browser/types/temporal-assertion.js +1 -0
- package/dist/browser/types/temporal-knowledge.js +1 -0
- package/dist/browser/types/temporal-store.js +1 -0
- package/dist/browser/types/tenant-governance-envelope.js +1 -0
- package/dist/browser/types/v0.js +1 -0
- package/dist/browser/types/v1.js +1 -0
- package/dist/browser/types/work.js +1 -0
- package/dist/browser/validation/company-brain-edition.js +1 -0
- package/dist/browser/validation/company-intelligence-grounding.js +2 -0
- package/dist/browser/validation/company-intelligence-learning-disposition-fingerprints.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-disposition.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-egress.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-fingerprints.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-fixture-bindings.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-fixture-fingerprints.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-gates.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-issues.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-material-parts.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-material.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-phases.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-record.js +1 -0
- package/dist/browser/validation/company-intelligence-learning-rules.js +1 -0
- package/dist/browser/validation/company-intelligence-learning.js +1 -0
- package/dist/browser/validation/company-intelligence-record-semantics.js +1 -0
- package/dist/browser/validation/company-intelligence-semantics.js +1 -0
- package/dist/browser/validation/company-intelligence.js +1 -0
- package/dist/browser/validation/enterprise-authority.js +1 -0
- package/dist/browser/validation/enterprise-governance-references.js +1 -0
- package/dist/browser/validation/enterprise-graph.js +1 -0
- package/dist/browser/validation/enterprise-integrity.js +1 -0
- package/dist/browser/validation/enterprise-references.js +1 -0
- package/dist/browser/validation/enterprise-secrets.js +1 -0
- package/dist/browser/validation/enterprise-semantics.js +1 -0
- package/dist/browser/validation/enterprise.js +1 -0
- package/dist/browser/validation/index.js +28 -0
- package/dist/browser/validation/learning-loop.js +1 -0
- package/dist/browser/validation/provider-binding.js +1 -0
- package/dist/browser/validation/semantic-operating-graph.js +27 -0
- package/dist/browser/validation/semantic-v1-agents.js +1 -0
- package/dist/browser/validation/semantic-v1-cadence.js +1 -0
- package/dist/browser/validation/semantic-v1-execution-refs.js +1 -0
- package/dist/browser/validation/semantic-v1-execution-results.js +1 -0
- package/dist/browser/validation/semantic-v1-execution-shared.js +1 -0
- package/dist/browser/validation/semantic-v1-execution.js +1 -0
- package/dist/browser/validation/semantic-v1-policy-runtime.js +1 -0
- package/dist/browser/validation/semantic-v1-refs.js +1 -0
- package/dist/browser/validation/semantic-v1-shared.js +1 -0
- package/dist/browser/validation/semantic-v1.js +1 -0
- package/dist/browser/validation/semantic.js +1 -0
- package/dist/browser/validation/temporal-assertion.js +1 -0
- package/dist/browser/validation/temporal-knowledge.js +1 -0
- package/dist/browser/validation/tenant-governance-envelope.js +1 -0
- package/dist/company-intelligence.public-surface.test.d.ts +1 -0
- package/dist/company-metrics.public-surface.test.d.ts +1 -0
- package/dist/companyos-spec.feature.d.ts +1 -0
- package/dist/companyos-spec.feature.js +2 -0
- package/dist/companyos-spec.public-surface.test.d.ts +1 -0
- package/dist/docs/company-intelligence.docblock.d.ts +9 -0
- package/dist/docs/company-intelligence.docblock.js +2 -0
- package/dist/docs/companyos-enterprise.docblock.d.ts +11 -0
- package/dist/docs/companyos-enterprise.docblock.js +2 -0
- package/dist/docs/companyos-operating-graph.docblock.d.ts +6 -0
- package/dist/docs/companyos-operating-graph.docblock.js +2 -0
- package/dist/docs/companyos-v0.docblock.d.ts +13 -0
- package/dist/docs/companyos-v0.docblock.js +2 -0
- package/dist/docs/companyos-v1-operating-loop.docblock.d.ts +11 -0
- package/dist/docs/companyos-v1-operating-loop.docblock.js +2 -0
- package/dist/docs/index.d.ts +5 -0
- package/dist/docs/index.js +2 -0
- package/dist/enterprise.public-surface.test.d.ts +1 -0
- package/dist/fixtures/company-brain-edition.d.ts +2 -0
- package/dist/fixtures/company-brain-edition.js +2 -0
- package/dist/fixtures/company-intelligence/base.d.ts +20 -0
- package/dist/fixtures/company-intelligence/base.js +2 -0
- package/dist/fixtures/company-intelligence/company-intelligence.test.d.ts +1 -0
- package/dist/fixtures/company-intelligence/grounding-result.d.ts +8 -0
- package/dist/fixtures/company-intelligence/grounding-result.js +2 -0
- package/dist/fixtures/company-intelligence/grounding.d.ts +151 -0
- package/dist/fixtures/company-intelligence/grounding.js +2 -0
- package/dist/fixtures/company-intelligence/index.d.ts +10 -0
- package/dist/fixtures/company-intelligence/index.js +2 -0
- package/dist/fixtures/company-intelligence/knowledge.d.ts +422 -0
- package/dist/fixtures/company-intelligence/knowledge.js +2 -0
- package/dist/fixtures/company-intelligence/learning-governance-fixture-data.d.ts +35 -0
- package/dist/fixtures/company-intelligence/learning-governance-fixture-data.js +2 -0
- package/dist/fixtures/company-intelligence/learning-governance-payloads.d.ts +172 -0
- package/dist/fixtures/company-intelligence/learning-governance-payloads.js +2 -0
- package/dist/fixtures/company-intelligence/learning-governance.acceptance-test-support.d.ts +7 -0
- package/dist/fixtures/company-intelligence/learning-governance.acceptance-test-support.js +2 -0
- package/dist/fixtures/company-intelligence/learning-governance.d.ts +2 -0
- package/dist/fixtures/company-intelligence/learning-governance.disposition.test.d.ts +1 -0
- package/dist/fixtures/company-intelligence/learning-governance.invariant-test-support.d.ts +7 -0
- package/dist/fixtures/company-intelligence/learning-governance.invariant-test-support.js +2 -0
- package/dist/fixtures/company-intelligence/learning-governance.js +2 -0
- package/dist/fixtures/company-intelligence/learning-governance.rejection-test-support.d.ts +7 -0
- package/dist/fixtures/company-intelligence/learning-governance.rejection-test-support.js +2 -0
- package/dist/fixtures/company-intelligence/learning-governance.test-support.d.ts +7 -0
- package/dist/fixtures/company-intelligence/learning.d.ts +370 -0
- package/dist/fixtures/company-intelligence/learning.js +2 -0
- package/dist/fixtures/company-intelligence/lineage.d.ts +289 -0
- package/dist/fixtures/company-intelligence/lineage.js +2 -0
- package/dist/fixtures/company-intelligence/negative.d.ts +2 -0
- package/dist/fixtures/company-intelligence/negative.js +2 -0
- package/dist/fixtures/design-partner-readiness.d.ts +324 -0
- package/dist/fixtures/design-partner-readiness.js +2 -0
- package/dist/fixtures/enterprise-portfolio.d.ts +2 -0
- package/dist/fixtures/enterprise-portfolio.js +2 -0
- package/dist/fixtures/enterprise-portfolio.parts.d.ts +18 -0
- package/dist/fixtures/enterprise-portfolio.parts.js +2 -0
- package/dist/fixtures/gtm-learning-loop-neutral.parts.d.ts +58 -0
- package/dist/fixtures/gtm-learning-loop-neutral.parts.js +2 -0
- package/dist/fixtures/index.d.ts +18 -0
- package/dist/fixtures/index.js +2 -0
- package/dist/fixtures/layer0-action-packet.d.ts +396 -0
- package/dist/fixtures/layer0-action-packet.js +2 -0
- package/dist/fixtures/layer0-action-packet.test.d.ts +1 -0
- package/dist/fixtures/learning-loop.d.ts +1 -0
- package/dist/fixtures/learning-loop.js +2 -0
- package/dist/fixtures/provider-binding.d.ts +52 -0
- package/dist/fixtures/provider-binding.js +2 -0
- package/dist/fixtures/rich-outcome-observations.d.ts +126 -0
- package/dist/fixtures/rich-outcome-observations.js +2 -0
- package/dist/fixtures/temporal-assertions.d.ts +2 -0
- package/dist/fixtures/temporal-assertions.js +2 -0
- package/dist/fixtures/temporal-knowledge.d.ts +1 -0
- package/dist/fixtures/temporal-knowledge.js +2 -0
- package/dist/fixtures/tenant-governance-envelope.d.ts +135 -0
- package/dist/fixtures/tenant-governance-envelope.js +2 -0
- package/dist/fixtures/v0-product-engineering-loop.d.ts +262 -0
- package/dist/fixtures/v0-product-engineering-loop.js +2 -0
- package/dist/fixtures/v0-product-engineering-loop.parts.d.ts +205 -0
- package/dist/fixtures/v0-product-engineering-loop.parts.js +2 -0
- package/dist/fixtures/v0-source.parts.d.ts +10 -0
- package/dist/fixtures/v0-source.parts.js +2 -0
- package/dist/fixtures/v0-work-graph.parts.d.ts +57 -0
- package/dist/fixtures/v0-work-graph.parts.js +2 -0
- package/dist/fixtures/v1-agent-runtime.parts.d.ts +88 -0
- package/dist/fixtures/v1-agent-runtime.parts.js +2 -0
- package/dist/fixtures/v1-execution.parts.d.ts +233 -0
- package/dist/fixtures/v1-execution.parts.js +2 -0
- package/dist/fixtures/v1-operating-loop.d.ts +726 -0
- package/dist/fixtures/v1-operating-loop.js +2 -0
- package/dist/fixtures/v1-operating-loop.parts.d.ts +155 -0
- package/dist/fixtures/v1-operating-loop.parts.js +2 -0
- package/dist/fixtures/v1-policy-runtime.d.ts +94 -0
- package/dist/fixtures/v1-policy-runtime.js +2 -0
- package/dist/fixtures/v2-messaging-originated-action.d.ts +18 -0
- package/dist/fixtures/v2-messaging-originated-action.js +2 -0
- package/dist/fixtures/v2-operating-graph.d.ts +292 -0
- package/dist/fixtures/v2-operating-graph.js +2 -0
- package/dist/fixtures/v2-voice-originated-action.d.ts +22 -0
- package/dist/fixtures/v2-voice-originated-action.js +2 -0
- package/dist/fixtures/v2-voiceops-support-to-product.d.ts +160 -0
- package/dist/fixtures/v2-voiceops-support-to-product.js +2 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +29 -0
- package/dist/node/companyos-spec.feature.js +1 -0
- package/dist/node/docs/company-intelligence.docblock.js +1 -0
- package/dist/node/docs/companyos-enterprise.docblock.js +1 -0
- package/dist/node/docs/companyos-operating-graph.docblock.js +1 -0
- package/dist/node/docs/companyos-v0.docblock.js +1 -0
- package/dist/node/docs/companyos-v1-operating-loop.docblock.js +1 -0
- package/dist/node/docs/index.js +1 -0
- package/dist/node/fixtures/company-brain-edition.js +1 -0
- package/dist/node/fixtures/company-intelligence/base.js +1 -0
- package/dist/node/fixtures/company-intelligence/grounding-result.js +1 -0
- package/dist/node/fixtures/company-intelligence/grounding.js +1 -0
- package/dist/node/fixtures/company-intelligence/index.js +1 -0
- package/dist/node/fixtures/company-intelligence/knowledge.js +1 -0
- package/dist/node/fixtures/company-intelligence/learning-governance-fixture-data.js +1 -0
- package/dist/node/fixtures/company-intelligence/learning-governance-payloads.js +1 -0
- package/dist/node/fixtures/company-intelligence/learning-governance.acceptance-test-support.js +1 -0
- package/dist/node/fixtures/company-intelligence/learning-governance.invariant-test-support.js +1 -0
- package/dist/node/fixtures/company-intelligence/learning-governance.js +1 -0
- package/dist/node/fixtures/company-intelligence/learning-governance.rejection-test-support.js +1 -0
- package/dist/node/fixtures/company-intelligence/learning.js +1 -0
- package/dist/node/fixtures/company-intelligence/lineage.js +1 -0
- package/dist/node/fixtures/company-intelligence/negative.js +1 -0
- package/dist/node/fixtures/design-partner-readiness.js +1 -0
- package/dist/node/fixtures/enterprise-portfolio.js +1 -0
- package/dist/node/fixtures/enterprise-portfolio.parts.js +1 -0
- package/dist/node/fixtures/gtm-learning-loop-neutral.parts.js +1 -0
- package/dist/node/fixtures/index.js +1 -0
- package/dist/node/fixtures/layer0-action-packet.js +1 -0
- package/dist/node/fixtures/learning-loop.js +1 -0
- package/dist/node/fixtures/provider-binding.js +1 -0
- package/dist/node/fixtures/rich-outcome-observations.js +1 -0
- package/dist/node/fixtures/temporal-assertions.js +1 -0
- package/dist/node/fixtures/temporal-knowledge.js +1 -0
- package/dist/node/fixtures/tenant-governance-envelope.js +1 -0
- package/dist/node/fixtures/v0-product-engineering-loop.js +1 -0
- package/dist/node/fixtures/v0-product-engineering-loop.parts.js +1 -0
- package/dist/node/fixtures/v0-source.parts.js +1 -0
- package/dist/node/fixtures/v0-work-graph.parts.js +1 -0
- package/dist/node/fixtures/v1-agent-runtime.parts.js +1 -0
- package/dist/node/fixtures/v1-execution.parts.js +1 -0
- package/dist/node/fixtures/v1-operating-loop.js +1 -0
- package/dist/node/fixtures/v1-operating-loop.parts.js +1 -0
- package/dist/node/fixtures/v1-policy-runtime.js +1 -0
- package/dist/node/fixtures/v2-messaging-originated-action.js +1 -0
- package/dist/node/fixtures/v2-operating-graph.js +1 -0
- package/dist/node/fixtures/v2-voice-originated-action.js +1 -0
- package/dist/node/fixtures/v2-voiceops-support-to-product.js +1 -0
- package/dist/node/index.js +28 -0
- package/dist/node/types/action-origin.js +27 -0
- package/dist/node/types/agent-interfaces.js +1 -0
- package/dist/node/types/agent-org.js +1 -0
- package/dist/node/types/agentic-contracts.js +1 -0
- package/dist/node/types/authority.js +1 -0
- package/dist/node/types/autonomy.js +1 -0
- package/dist/node/types/brain.js +1 -0
- package/dist/node/types/cadence.js +1 -0
- package/dist/node/types/common.js +1 -0
- package/dist/node/types/company-brain-edition.js +1 -0
- package/dist/node/types/company-intelligence/brain.js +1 -0
- package/dist/node/types/company-intelligence/common.js +1 -0
- package/dist/node/types/company-intelligence/compatibility.js +1 -0
- package/dist/node/types/company-intelligence/extraction.js +1 -0
- package/dist/node/types/company-intelligence/grounding-result.js +1 -0
- package/dist/node/types/company-intelligence/grounding.js +1 -0
- package/dist/node/types/company-intelligence/index.js +1 -0
- package/dist/node/types/company-intelligence/knowledge.js +1 -0
- package/dist/node/types/company-intelligence/learning-disposition.js +1 -0
- package/dist/node/types/company-intelligence/learning-governance-codes.js +1 -0
- package/dist/node/types/company-intelligence/learning-governance.js +1 -0
- package/dist/node/types/company-intelligence/learning.js +1 -0
- package/dist/node/types/company-intelligence/lineage.js +1 -0
- package/dist/node/types/company-metrics-governance.js +1 -0
- package/dist/node/types/company-metrics.js +1 -0
- package/dist/node/types/company-purpose.js +1 -0
- package/dist/node/types/company.js +1 -0
- package/dist/node/types/connectors.js +1 -0
- package/dist/node/types/control-plane-projections.js +1 -0
- package/dist/node/types/design-partner-readiness.js +1 -0
- package/dist/node/types/dynamic-surfaces.js +1 -0
- package/dist/node/types/enterprise-common.js +1 -0
- package/dist/node/types/enterprise-governance.js +1 -0
- package/dist/node/types/enterprise-portfolio.js +1 -0
- package/dist/node/types/enterprise-topology.js +1 -0
- package/dist/node/types/enterprise.js +1 -0
- package/dist/node/types/enums.js +1 -0
- package/dist/node/types/evidence-receipt-material.js +1 -0
- package/dist/node/types/execution.js +1 -0
- package/dist/node/types/governed-action-state.js +1 -0
- package/dist/node/types/governed-learning-loop.js +1 -0
- package/dist/node/types/graph-permissions.js +1 -0
- package/dist/node/types/graph-realtime.js +1 -0
- package/dist/node/types/identity-resolution.js +1 -0
- package/dist/node/types/index.js +27 -0
- package/dist/node/types/layer0-action-packet.js +1 -0
- package/dist/node/types/layer0-adapter-contract.js +1 -0
- package/dist/node/types/layer0-core.js +1 -0
- package/dist/node/types/layer0-routing-rule.js +1 -0
- package/dist/node/types/layer0-unknown.js +1 -0
- package/dist/node/types/learning-loop.js +1 -0
- package/dist/node/types/managed-companyos.js +1 -0
- package/dist/node/types/memory.js +1 -0
- package/dist/node/types/objectives.js +1 -0
- package/dist/node/types/operating-cockpit.js +1 -0
- package/dist/node/types/operating-graph-contract.js +1 -0
- package/dist/node/types/operating-graph.js +1 -0
- package/dist/node/types/outcome-observation.js +1 -0
- package/dist/node/types/outcome-value.js +0 -0
- package/dist/node/types/policy-runtime.js +1 -0
- package/dist/node/types/provider-binding.js +1 -0
- package/dist/node/types/runbooks.js +1 -0
- package/dist/node/types/substrate-refs.js +1 -0
- package/dist/node/types/surfaces.js +1 -0
- package/dist/node/types/temporal-assertion.js +1 -0
- package/dist/node/types/temporal-knowledge.js +1 -0
- package/dist/node/types/temporal-store.js +1 -0
- package/dist/node/types/tenant-governance-envelope.js +1 -0
- package/dist/node/types/v0.js +1 -0
- package/dist/node/types/v1.js +1 -0
- package/dist/node/types/work.js +1 -0
- package/dist/node/validation/company-brain-edition.js +1 -0
- package/dist/node/validation/company-intelligence-grounding.js +2 -0
- package/dist/node/validation/company-intelligence-learning-disposition-fingerprints.js +1 -0
- package/dist/node/validation/company-intelligence-learning-disposition.js +1 -0
- package/dist/node/validation/company-intelligence-learning-egress.js +1 -0
- package/dist/node/validation/company-intelligence-learning-fingerprints.js +1 -0
- package/dist/node/validation/company-intelligence-learning-fixture-bindings.js +1 -0
- package/dist/node/validation/company-intelligence-learning-fixture-fingerprints.js +1 -0
- package/dist/node/validation/company-intelligence-learning-gates.js +1 -0
- package/dist/node/validation/company-intelligence-learning-issues.js +1 -0
- package/dist/node/validation/company-intelligence-learning-material-parts.js +1 -0
- package/dist/node/validation/company-intelligence-learning-material.js +1 -0
- package/dist/node/validation/company-intelligence-learning-phases.js +1 -0
- package/dist/node/validation/company-intelligence-learning-record.js +1 -0
- package/dist/node/validation/company-intelligence-learning-rules.js +1 -0
- package/dist/node/validation/company-intelligence-learning.js +1 -0
- package/dist/node/validation/company-intelligence-record-semantics.js +1 -0
- package/dist/node/validation/company-intelligence-semantics.js +1 -0
- package/dist/node/validation/company-intelligence.js +1 -0
- package/dist/node/validation/enterprise-authority.js +1 -0
- package/dist/node/validation/enterprise-governance-references.js +1 -0
- package/dist/node/validation/enterprise-graph.js +1 -0
- package/dist/node/validation/enterprise-integrity.js +1 -0
- package/dist/node/validation/enterprise-references.js +1 -0
- package/dist/node/validation/enterprise-secrets.js +1 -0
- package/dist/node/validation/enterprise-semantics.js +1 -0
- package/dist/node/validation/enterprise.js +1 -0
- package/dist/node/validation/index.js +28 -0
- package/dist/node/validation/learning-loop.js +1 -0
- package/dist/node/validation/provider-binding.js +1 -0
- package/dist/node/validation/semantic-operating-graph.js +27 -0
- package/dist/node/validation/semantic-v1-agents.js +1 -0
- package/dist/node/validation/semantic-v1-cadence.js +1 -0
- package/dist/node/validation/semantic-v1-execution-refs.js +1 -0
- package/dist/node/validation/semantic-v1-execution-results.js +1 -0
- package/dist/node/validation/semantic-v1-execution-shared.js +1 -0
- package/dist/node/validation/semantic-v1-execution.js +1 -0
- package/dist/node/validation/semantic-v1-policy-runtime.js +1 -0
- package/dist/node/validation/semantic-v1-refs.js +1 -0
- package/dist/node/validation/semantic-v1-shared.js +1 -0
- package/dist/node/validation/semantic-v1.js +1 -0
- package/dist/node/validation/semantic.js +1 -0
- package/dist/node/validation/temporal-assertion.js +1 -0
- package/dist/node/validation/temporal-knowledge.js +1 -0
- package/dist/node/validation/tenant-governance-envelope.js +1 -0
- package/dist/types/action-origin.d.ts +83 -0
- package/dist/types/action-origin.js +28 -0
- package/dist/types/agent-interfaces.d.ts +45 -0
- package/dist/types/agent-interfaces.js +2 -0
- package/dist/types/agent-org.d.ts +89 -0
- package/dist/types/agent-org.js +2 -0
- package/dist/types/agentic-contracts.d.ts +150 -0
- package/dist/types/agentic-contracts.js +2 -0
- package/dist/types/authority.d.ts +54 -0
- package/dist/types/authority.js +2 -0
- package/dist/types/autonomy.d.ts +72 -0
- package/dist/types/autonomy.js +2 -0
- package/dist/types/brain.d.ts +377 -0
- package/dist/types/brain.js +2 -0
- package/dist/types/cadence.d.ts +55 -0
- package/dist/types/cadence.js +2 -0
- package/dist/types/common.d.ts +23 -0
- package/dist/types/common.js +2 -0
- package/dist/types/company-brain-edition.d.ts +1 -0
- package/dist/types/company-brain-edition.js +2 -0
- package/dist/types/company-brain-edition.test.d.ts +1 -0
- package/dist/types/company-brain-extension-registry.test.d.ts +1 -0
- package/dist/types/company-intelligence/brain.d.ts +232 -0
- package/dist/types/company-intelligence/brain.js +2 -0
- package/dist/types/company-intelligence/common.d.ts +102 -0
- package/dist/types/company-intelligence/common.js +2 -0
- package/dist/types/company-intelligence/compatibility.d.ts +57 -0
- package/dist/types/company-intelligence/compatibility.js +2 -0
- package/dist/types/company-intelligence/extraction.d.ts +320 -0
- package/dist/types/company-intelligence/extraction.js +2 -0
- package/dist/types/company-intelligence/grounding-result.d.ts +652 -0
- package/dist/types/company-intelligence/grounding-result.js +2 -0
- package/dist/types/company-intelligence/grounding.d.ts +330 -0
- package/dist/types/company-intelligence/grounding.js +2 -0
- package/dist/types/company-intelligence/index.d.ts +4786 -0
- package/dist/types/company-intelligence/index.js +2 -0
- package/dist/types/company-intelligence/knowledge.d.ts +802 -0
- package/dist/types/company-intelligence/knowledge.js +2 -0
- package/dist/types/company-intelligence/learning-disposition.d.ts +50 -0
- package/dist/types/company-intelligence/learning-disposition.js +2 -0
- package/dist/types/company-intelligence/learning-governance-codes.d.ts +260 -0
- package/dist/types/company-intelligence/learning-governance-codes.js +2 -0
- package/dist/types/company-intelligence/learning-governance.d.ts +254 -0
- package/dist/types/company-intelligence/learning-governance.js +2 -0
- package/dist/types/company-intelligence/learning.d.ts +3069 -0
- package/dist/types/company-intelligence/learning.js +2 -0
- package/dist/types/company-intelligence/lineage.d.ts +616 -0
- package/dist/types/company-intelligence/lineage.js +2 -0
- package/dist/types/company-metrics-governance.d.ts +243 -0
- package/dist/types/company-metrics-governance.js +2 -0
- package/dist/types/company-metrics.d.ts +421 -0
- package/dist/types/company-metrics.js +2 -0
- package/dist/types/company-purpose.d.ts +282 -0
- package/dist/types/company-purpose.js +2 -0
- package/dist/types/company.d.ts +80 -0
- package/dist/types/company.js +2 -0
- package/dist/types/connectors.d.ts +45 -0
- package/dist/types/connectors.js +2 -0
- package/dist/types/control-plane-projections.d.ts +320 -0
- package/dist/types/control-plane-projections.js +2 -0
- package/dist/types/design-partner-readiness.d.ts +470 -0
- package/dist/types/design-partner-readiness.js +2 -0
- package/dist/types/dynamic-surfaces.d.ts +23 -0
- package/dist/types/dynamic-surfaces.js +2 -0
- package/dist/types/enterprise-common.d.ts +79 -0
- package/dist/types/enterprise-common.js +2 -0
- package/dist/types/enterprise-governance.d.ts +651 -0
- package/dist/types/enterprise-governance.js +2 -0
- package/dist/types/enterprise-portfolio.d.ts +666 -0
- package/dist/types/enterprise-portfolio.js +2 -0
- package/dist/types/enterprise-topology.d.ts +205 -0
- package/dist/types/enterprise-topology.js +2 -0
- package/dist/types/enterprise.d.ts +5 -0
- package/dist/types/enterprise.js +2 -0
- package/dist/types/enums.d.ts +51 -0
- package/dist/types/enums.js +2 -0
- package/dist/types/evidence-receipt-material.d.ts +59 -0
- package/dist/types/evidence-receipt-material.js +2 -0
- package/dist/types/execution.d.ts +498 -0
- package/dist/types/execution.js +2 -0
- package/dist/types/governed-action-state.d.ts +66 -0
- package/dist/types/governed-action-state.js +2 -0
- package/dist/types/governed-learning-loop.d.ts +391 -0
- package/dist/types/governed-learning-loop.js +2 -0
- package/dist/types/governed-learning-report.test.d.ts +1 -0
- package/dist/types/graph-permissions.d.ts +54 -0
- package/dist/types/graph-permissions.js +2 -0
- package/dist/types/graph-realtime.d.ts +71 -0
- package/dist/types/graph-realtime.js +2 -0
- package/dist/types/identity-resolution.d.ts +50 -0
- package/dist/types/identity-resolution.js +2 -0
- package/dist/types/index.d.ts +55 -0
- package/dist/types/index.js +28 -0
- package/dist/types/layer0-action-packet.d.ts +721 -0
- package/dist/types/layer0-action-packet.js +2 -0
- package/dist/types/layer0-action-packet.test.d.ts +1 -0
- package/dist/types/layer0-adapter-contract.d.ts +62 -0
- package/dist/types/layer0-adapter-contract.js +2 -0
- package/dist/types/layer0-core.d.ts +4 -0
- package/dist/types/layer0-core.js +2 -0
- package/dist/types/layer0-routing-rule.d.ts +149 -0
- package/dist/types/layer0-routing-rule.js +2 -0
- package/dist/types/layer0-unknown.d.ts +33 -0
- package/dist/types/layer0-unknown.js +2 -0
- package/dist/types/learning-loop.d.ts +1 -0
- package/dist/types/learning-loop.js +2 -0
- package/dist/types/managed-companyos.d.ts +316 -0
- package/dist/types/managed-companyos.js +2 -0
- package/dist/types/memory.d.ts +104 -0
- package/dist/types/memory.js +2 -0
- package/dist/types/objectives.d.ts +97 -0
- package/dist/types/objectives.js +2 -0
- package/dist/types/operating-cockpit.d.ts +140 -0
- package/dist/types/operating-cockpit.js +2 -0
- package/dist/types/operating-graph-contract.d.ts +510 -0
- package/dist/types/operating-graph-contract.js +2 -0
- package/dist/types/operating-graph.d.ts +443 -0
- package/dist/types/operating-graph.js +2 -0
- package/dist/types/outcome-observation.d.ts +1014 -0
- package/dist/types/outcome-observation.js +2 -0
- package/dist/types/outcome-observation.test.d.ts +1 -0
- package/dist/types/outcome-value.d.ts +129 -0
- package/dist/types/outcome-value.js +1 -0
- package/dist/types/policy-runtime.d.ts +294 -0
- package/dist/types/policy-runtime.js +2 -0
- package/dist/types/provider-binding.d.ts +34 -0
- package/dist/types/provider-binding.js +2 -0
- package/dist/types/provider-binding.test.d.ts +1 -0
- package/dist/types/runbooks.d.ts +67 -0
- package/dist/types/runbooks.js +2 -0
- package/dist/types/substrate-refs.d.ts +169 -0
- package/dist/types/substrate-refs.js +2 -0
- package/dist/types/substrate-refs.test.d.ts +1 -0
- package/dist/types/surfaces.d.ts +43 -0
- package/dist/types/surfaces.js +2 -0
- package/dist/types/temporal-assertion.d.ts +146 -0
- package/dist/types/temporal-assertion.js +2 -0
- package/dist/types/temporal-knowledge.d.ts +1 -0
- package/dist/types/temporal-knowledge.js +2 -0
- package/dist/types/temporal-store.d.ts +70 -0
- package/dist/types/temporal-store.js +2 -0
- package/dist/types/temporal-store.test.d.ts +1 -0
- package/dist/types/tenant-governance-envelope.d.ts +112 -0
- package/dist/types/tenant-governance-envelope.js +2 -0
- package/dist/types/v0.d.ts +408 -0
- package/dist/types/v0.js +2 -0
- package/dist/types/v1.d.ts +1171 -0
- package/dist/types/v1.js +2 -0
- package/dist/types/work.d.ts +183 -0
- package/dist/types/work.js +2 -0
- package/dist/validation/action-origin.test.d.ts +1 -0
- package/dist/validation/company-brain-edition.d.ts +27 -0
- package/dist/validation/company-brain-edition.js +2 -0
- package/dist/validation/company-intelligence-grounding.d.ts +19 -0
- package/dist/validation/company-intelligence-grounding.js +3 -0
- package/dist/validation/company-intelligence-learning-disposition-fingerprints.d.ts +3 -0
- package/dist/validation/company-intelligence-learning-disposition-fingerprints.js +2 -0
- package/dist/validation/company-intelligence-learning-disposition.d.ts +2 -0
- package/dist/validation/company-intelligence-learning-disposition.js +2 -0
- package/dist/validation/company-intelligence-learning-egress.d.ts +3 -0
- package/dist/validation/company-intelligence-learning-egress.js +2 -0
- package/dist/validation/company-intelligence-learning-fingerprints.d.ts +3 -0
- package/dist/validation/company-intelligence-learning-fingerprints.js +2 -0
- package/dist/validation/company-intelligence-learning-fixture-bindings.d.ts +3 -0
- package/dist/validation/company-intelligence-learning-fixture-bindings.js +2 -0
- package/dist/validation/company-intelligence-learning-fixture-fingerprints.d.ts +2 -0
- package/dist/validation/company-intelligence-learning-fixture-fingerprints.js +2 -0
- package/dist/validation/company-intelligence-learning-gates.d.ts +5 -0
- package/dist/validation/company-intelligence-learning-gates.js +2 -0
- package/dist/validation/company-intelligence-learning-issues.d.ts +11 -0
- package/dist/validation/company-intelligence-learning-issues.js +2 -0
- package/dist/validation/company-intelligence-learning-material-parts.d.ts +130 -0
- package/dist/validation/company-intelligence-learning-material-parts.js +2 -0
- package/dist/validation/company-intelligence-learning-material.d.ts +328 -0
- package/dist/validation/company-intelligence-learning-material.js +2 -0
- package/dist/validation/company-intelligence-learning-phases.d.ts +6 -0
- package/dist/validation/company-intelligence-learning-phases.js +2 -0
- package/dist/validation/company-intelligence-learning-record.d.ts +3 -0
- package/dist/validation/company-intelligence-learning-record.js +2 -0
- package/dist/validation/company-intelligence-learning-rules.d.ts +6 -0
- package/dist/validation/company-intelligence-learning-rules.js +2 -0
- package/dist/validation/company-intelligence-learning.d.ts +4 -0
- package/dist/validation/company-intelligence-learning.js +2 -0
- package/dist/validation/company-intelligence-record-semantics.d.ts +3 -0
- package/dist/validation/company-intelligence-record-semantics.js +2 -0
- package/dist/validation/company-intelligence-semantics.d.ts +13 -0
- package/dist/validation/company-intelligence-semantics.js +2 -0
- package/dist/validation/company-intelligence.d.ts +18 -0
- package/dist/validation/company-intelligence.js +2 -0
- package/dist/validation/companyos-messaging-origin.test.d.ts +1 -0
- package/dist/validation/companyos-operating-graph.test.d.ts +1 -0
- package/dist/validation/companyos-policy-runtime.test.d.ts +1 -0
- package/dist/validation/companyos-v0.test.d.ts +1 -0
- package/dist/validation/companyos-v1.test.d.ts +1 -0
- package/dist/validation/companyos-voice-origin.test.d.ts +1 -0
- package/dist/validation/companyos-voiceops-support-to-product.test.d.ts +1 -0
- package/dist/validation/control-plane-projections.test.d.ts +1 -0
- package/dist/validation/design-partner-readiness.test.d.ts +1 -0
- package/dist/validation/enterprise-authority.d.ts +3 -0
- package/dist/validation/enterprise-authority.js +2 -0
- package/dist/validation/enterprise-governance-references.d.ts +2 -0
- package/dist/validation/enterprise-governance-references.js +2 -0
- package/dist/validation/enterprise-graph.d.ts +9 -0
- package/dist/validation/enterprise-graph.js +2 -0
- package/dist/validation/enterprise-integrity.d.ts +2 -0
- package/dist/validation/enterprise-integrity.js +2 -0
- package/dist/validation/enterprise-references.d.ts +2 -0
- package/dist/validation/enterprise-references.js +2 -0
- package/dist/validation/enterprise-secrets.d.ts +1 -0
- package/dist/validation/enterprise-secrets.js +2 -0
- package/dist/validation/enterprise-semantics.d.ts +2 -0
- package/dist/validation/enterprise-semantics.js +2 -0
- package/dist/validation/enterprise.d.ts +11 -0
- package/dist/validation/enterprise.js +2 -0
- package/dist/validation/enterprise.test.d.ts +1 -0
- package/dist/validation/evidence-receipt-material.test.d.ts +1 -0
- package/dist/validation/governed-action-state.test.d.ts +1 -0
- package/dist/validation/index.d.ts +24 -0
- package/dist/validation/index.js +29 -0
- package/dist/validation/learning-loop.d.ts +13 -0
- package/dist/validation/learning-loop.js +2 -0
- package/dist/validation/learning-loop.test.d.ts +1 -0
- package/dist/validation/provider-binding.d.ts +11 -0
- package/dist/validation/provider-binding.js +2 -0
- package/dist/validation/semantic-operating-graph.d.ts +3 -0
- package/dist/validation/semantic-operating-graph.js +28 -0
- package/dist/validation/semantic-v1-agents.d.ts +3 -0
- package/dist/validation/semantic-v1-agents.js +2 -0
- package/dist/validation/semantic-v1-cadence.d.ts +2 -0
- package/dist/validation/semantic-v1-cadence.js +2 -0
- package/dist/validation/semantic-v1-execution-refs.d.ts +3 -0
- package/dist/validation/semantic-v1-execution-refs.js +2 -0
- package/dist/validation/semantic-v1-execution-results.d.ts +3 -0
- package/dist/validation/semantic-v1-execution-results.js +2 -0
- package/dist/validation/semantic-v1-execution-shared.d.ts +16 -0
- package/dist/validation/semantic-v1-execution-shared.js +2 -0
- package/dist/validation/semantic-v1-execution.d.ts +2 -0
- package/dist/validation/semantic-v1-execution.js +2 -0
- package/dist/validation/semantic-v1-policy-runtime.d.ts +1 -0
- package/dist/validation/semantic-v1-policy-runtime.js +2 -0
- package/dist/validation/semantic-v1-refs.d.ts +4 -0
- package/dist/validation/semantic-v1-refs.js +2 -0
- package/dist/validation/semantic-v1-shared.d.ts +4 -0
- package/dist/validation/semantic-v1-shared.js +2 -0
- package/dist/validation/semantic-v1.d.ts +2 -0
- package/dist/validation/semantic-v1.js +2 -0
- package/dist/validation/semantic.d.ts +3 -0
- package/dist/validation/semantic.js +2 -0
- package/dist/validation/temporal-assertion.d.ts +4 -0
- package/dist/validation/temporal-assertion.js +2 -0
- package/dist/validation/temporal-assertion.test.d.ts +1 -0
- package/dist/validation/temporal-knowledge.d.ts +1 -0
- package/dist/validation/temporal-knowledge.js +2 -0
- package/dist/validation/tenant-governance-envelope.d.ts +2 -0
- package/dist/validation/tenant-governance-envelope.js +2 -0
- package/dist/validation/tenant-governance-envelope.test.d.ts +1 -0
- package/package.json +2622 -0
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CompanyOsManagedIntegrationOwnershipModeSchema: z.ZodEnum<{
|
|
3
|
+
byok: "byok";
|
|
4
|
+
managed: "managed";
|
|
5
|
+
}>;
|
|
6
|
+
export type CompanyOsManagedIntegrationOwnershipMode = z.infer<typeof CompanyOsManagedIntegrationOwnershipModeSchema>;
|
|
7
|
+
export declare const CompanyOsManagedProviderModeSchema: z.ZodEnum<{
|
|
8
|
+
"provider-gated": "provider-gated";
|
|
9
|
+
"provider-neutral": "provider-neutral";
|
|
10
|
+
}>;
|
|
11
|
+
export type CompanyOsManagedProviderMode = z.infer<typeof CompanyOsManagedProviderModeSchema>;
|
|
12
|
+
export declare const CompanyOsManagedCompatibilityIntentSchema: z.ZodEnum<{
|
|
13
|
+
additive: "additive";
|
|
14
|
+
breaking: "breaking";
|
|
15
|
+
"compatible-behavior": "compatible-behavior";
|
|
16
|
+
"migration-required": "migration-required";
|
|
17
|
+
}>;
|
|
18
|
+
export type CompanyOsManagedCompatibilityIntent = z.infer<typeof CompanyOsManagedCompatibilityIntentSchema>;
|
|
19
|
+
export declare const CompanyOsManagedPublicSurfaceKindSchema: z.ZodEnum<{
|
|
20
|
+
"api-route": "api-route";
|
|
21
|
+
"app-entrypoint": "app-entrypoint";
|
|
22
|
+
"docs-release": "docs-release";
|
|
23
|
+
"evidence-receipt": "evidence-receipt";
|
|
24
|
+
"health-contract": "health-contract";
|
|
25
|
+
"package-export": "package-export";
|
|
26
|
+
"replay-packet": "replay-packet";
|
|
27
|
+
"websocket-event": "websocket-event";
|
|
28
|
+
"worker-job": "worker-job";
|
|
29
|
+
"workflow-contract": "workflow-contract";
|
|
30
|
+
}>;
|
|
31
|
+
export type CompanyOsManagedPublicSurfaceKind = z.infer<typeof CompanyOsManagedPublicSurfaceKindSchema>;
|
|
32
|
+
export declare const CompanyOsManagedHealthStateSchema: z.ZodEnum<{
|
|
33
|
+
degraded: "degraded";
|
|
34
|
+
healthy: "healthy";
|
|
35
|
+
unavailable: "unavailable";
|
|
36
|
+
}>;
|
|
37
|
+
export type CompanyOsManagedHealthState = z.infer<typeof CompanyOsManagedHealthStateSchema>;
|
|
38
|
+
export declare const CompanyOsManagedApprovalStateSchema: z.ZodEnum<{
|
|
39
|
+
approved: "approved";
|
|
40
|
+
blocked: "blocked";
|
|
41
|
+
denied: "denied";
|
|
42
|
+
proposed: "proposed";
|
|
43
|
+
}>;
|
|
44
|
+
export type CompanyOsManagedApprovalState = z.infer<typeof CompanyOsManagedApprovalStateSchema>;
|
|
45
|
+
export declare const CompanyOsManagedCredentialRefSchema: z.ZodObject<{
|
|
46
|
+
id: z.ZodString;
|
|
47
|
+
label: z.ZodString;
|
|
48
|
+
ownershipMode: z.ZodEnum<{
|
|
49
|
+
byok: "byok";
|
|
50
|
+
managed: "managed";
|
|
51
|
+
}>;
|
|
52
|
+
custodyBoundary: z.ZodEnum<{
|
|
53
|
+
managed_platform: "managed_platform";
|
|
54
|
+
tenant_owned: "tenant_owned";
|
|
55
|
+
}>;
|
|
56
|
+
redactedPreview: z.ZodString;
|
|
57
|
+
secretMaterialAvailable: z.ZodDefault<z.ZodLiteral<false>>;
|
|
58
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
export type CompanyOsManagedCredentialRef = z.infer<typeof CompanyOsManagedCredentialRefSchema>;
|
|
61
|
+
export declare const CompanyOsManagedTenantProfileSchema: z.ZodObject<{
|
|
62
|
+
tenantId: z.ZodString;
|
|
63
|
+
displayName: z.ZodString;
|
|
64
|
+
operatorRoleIds: z.ZodArray<z.ZodString>;
|
|
65
|
+
integrationOwnershipModes: z.ZodArray<z.ZodEnum<{
|
|
66
|
+
byok: "byok";
|
|
67
|
+
managed: "managed";
|
|
68
|
+
}>>;
|
|
69
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
export type CompanyOsManagedTenantProfile = z.infer<typeof CompanyOsManagedTenantProfileSchema>;
|
|
72
|
+
export declare const CompanyOsManagedPublicSurfaceSchema: z.ZodObject<{
|
|
73
|
+
id: z.ZodString;
|
|
74
|
+
kind: z.ZodEnum<{
|
|
75
|
+
"api-route": "api-route";
|
|
76
|
+
"app-entrypoint": "app-entrypoint";
|
|
77
|
+
"docs-release": "docs-release";
|
|
78
|
+
"evidence-receipt": "evidence-receipt";
|
|
79
|
+
"health-contract": "health-contract";
|
|
80
|
+
"package-export": "package-export";
|
|
81
|
+
"replay-packet": "replay-packet";
|
|
82
|
+
"websocket-event": "websocket-event";
|
|
83
|
+
"worker-job": "worker-job";
|
|
84
|
+
"workflow-contract": "workflow-contract";
|
|
85
|
+
}>;
|
|
86
|
+
packageName: z.ZodString;
|
|
87
|
+
sourcePath: z.ZodString;
|
|
88
|
+
contractSchema: z.ZodString;
|
|
89
|
+
compatibilityIntent: z.ZodEnum<{
|
|
90
|
+
additive: "additive";
|
|
91
|
+
breaking: "breaking";
|
|
92
|
+
"compatible-behavior": "compatible-behavior";
|
|
93
|
+
"migration-required": "migration-required";
|
|
94
|
+
}>;
|
|
95
|
+
providerMode: z.ZodEnum<{
|
|
96
|
+
"provider-gated": "provider-gated";
|
|
97
|
+
"provider-neutral": "provider-neutral";
|
|
98
|
+
}>;
|
|
99
|
+
evidenceRefs: z.ZodArray<z.ZodString>;
|
|
100
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
export type CompanyOsManagedPublicSurface = z.infer<typeof CompanyOsManagedPublicSurfaceSchema>;
|
|
103
|
+
export declare const CompanyOsManagedRuntimeHealthSchema: z.ZodObject<{
|
|
104
|
+
status: z.ZodEnum<{
|
|
105
|
+
degraded: "degraded";
|
|
106
|
+
healthy: "healthy";
|
|
107
|
+
unavailable: "unavailable";
|
|
108
|
+
}>;
|
|
109
|
+
api: z.ZodEnum<{
|
|
110
|
+
degraded: "degraded";
|
|
111
|
+
healthy: "healthy";
|
|
112
|
+
unavailable: "unavailable";
|
|
113
|
+
}>;
|
|
114
|
+
worker: z.ZodEnum<{
|
|
115
|
+
degraded: "degraded";
|
|
116
|
+
healthy: "healthy";
|
|
117
|
+
unavailable: "unavailable";
|
|
118
|
+
}>;
|
|
119
|
+
websocket: z.ZodEnum<{
|
|
120
|
+
degraded: "degraded";
|
|
121
|
+
healthy: "healthy";
|
|
122
|
+
unavailable: "unavailable";
|
|
123
|
+
}>;
|
|
124
|
+
replay: z.ZodEnum<{
|
|
125
|
+
degraded: "degraded";
|
|
126
|
+
healthy: "healthy";
|
|
127
|
+
unavailable: "unavailable";
|
|
128
|
+
}>;
|
|
129
|
+
evidence: z.ZodEnum<{
|
|
130
|
+
degraded: "degraded";
|
|
131
|
+
healthy: "healthy";
|
|
132
|
+
unavailable: "unavailable";
|
|
133
|
+
}>;
|
|
134
|
+
degradedReasons: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
135
|
+
checkedAt: z.ZodString;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
export type CompanyOsManagedRuntimeHealth = z.infer<typeof CompanyOsManagedRuntimeHealthSchema>;
|
|
138
|
+
export declare const CompanyOsManagedWorkflowContractSchema: z.ZodObject<{
|
|
139
|
+
id: z.ZodString;
|
|
140
|
+
tenantId: z.ZodString;
|
|
141
|
+
correlationId: z.ZodString;
|
|
142
|
+
integrationOwnershipMode: z.ZodEnum<{
|
|
143
|
+
byok: "byok";
|
|
144
|
+
managed: "managed";
|
|
145
|
+
}>;
|
|
146
|
+
approvalState: z.ZodEnum<{
|
|
147
|
+
approved: "approved";
|
|
148
|
+
blocked: "blocked";
|
|
149
|
+
denied: "denied";
|
|
150
|
+
proposed: "proposed";
|
|
151
|
+
}>;
|
|
152
|
+
policyGateDecisionId: z.ZodString;
|
|
153
|
+
workerJobId: z.ZodString;
|
|
154
|
+
websocketEventId: z.ZodString;
|
|
155
|
+
replayPacketId: z.ZodString;
|
|
156
|
+
evidenceReceiptId: z.ZodString;
|
|
157
|
+
sourceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
connectorCapability: z.ZodString;
|
|
160
|
+
providerKey: z.ZodOptional<z.ZodString>;
|
|
161
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
162
|
+
url: z.ZodOptional<z.ZodString>;
|
|
163
|
+
observedAt: z.ZodString;
|
|
164
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
165
|
+
}, z.core.$strip>>>;
|
|
166
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
167
|
+
}, z.core.$strip>;
|
|
168
|
+
export type CompanyOsManagedWorkflowContract = z.infer<typeof CompanyOsManagedWorkflowContractSchema>;
|
|
169
|
+
export declare const CompanyOsManagedWebSocketEventSchema: z.ZodObject<{
|
|
170
|
+
id: z.ZodString;
|
|
171
|
+
type: z.ZodEnum<{
|
|
172
|
+
"managed-companyos.health.degraded": "managed-companyos.health.degraded";
|
|
173
|
+
"managed-companyos.job.accepted": "managed-companyos.job.accepted";
|
|
174
|
+
"managed-companyos.job.completed": "managed-companyos.job.completed";
|
|
175
|
+
"managed-companyos.job.failed": "managed-companyos.job.failed";
|
|
176
|
+
"managed-companyos.job.progress": "managed-companyos.job.progress";
|
|
177
|
+
}>;
|
|
178
|
+
tenantId: z.ZodString;
|
|
179
|
+
jobId: z.ZodString;
|
|
180
|
+
correlationId: z.ZodString;
|
|
181
|
+
health: z.ZodOptional<z.ZodObject<{
|
|
182
|
+
status: z.ZodEnum<{
|
|
183
|
+
degraded: "degraded";
|
|
184
|
+
healthy: "healthy";
|
|
185
|
+
unavailable: "unavailable";
|
|
186
|
+
}>;
|
|
187
|
+
api: z.ZodEnum<{
|
|
188
|
+
degraded: "degraded";
|
|
189
|
+
healthy: "healthy";
|
|
190
|
+
unavailable: "unavailable";
|
|
191
|
+
}>;
|
|
192
|
+
worker: z.ZodEnum<{
|
|
193
|
+
degraded: "degraded";
|
|
194
|
+
healthy: "healthy";
|
|
195
|
+
unavailable: "unavailable";
|
|
196
|
+
}>;
|
|
197
|
+
websocket: z.ZodEnum<{
|
|
198
|
+
degraded: "degraded";
|
|
199
|
+
healthy: "healthy";
|
|
200
|
+
unavailable: "unavailable";
|
|
201
|
+
}>;
|
|
202
|
+
replay: z.ZodEnum<{
|
|
203
|
+
degraded: "degraded";
|
|
204
|
+
healthy: "healthy";
|
|
205
|
+
unavailable: "unavailable";
|
|
206
|
+
}>;
|
|
207
|
+
evidence: z.ZodEnum<{
|
|
208
|
+
degraded: "degraded";
|
|
209
|
+
healthy: "healthy";
|
|
210
|
+
unavailable: "unavailable";
|
|
211
|
+
}>;
|
|
212
|
+
degradedReasons: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
213
|
+
checkedAt: z.ZodString;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
occurredAt: z.ZodString;
|
|
216
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
export type CompanyOsManagedWebSocketEvent = z.infer<typeof CompanyOsManagedWebSocketEventSchema>;
|
|
219
|
+
export declare const CompanyOsManagedEvidenceReceiptSchema: z.ZodObject<{
|
|
220
|
+
id: z.ZodString;
|
|
221
|
+
tenantId: z.ZodString;
|
|
222
|
+
correlationId: z.ZodString;
|
|
223
|
+
workflowContractId: z.ZodString;
|
|
224
|
+
replayPacketId: z.ZodString;
|
|
225
|
+
sourceRefIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
226
|
+
policyDecisionCount: z.ZodNumber;
|
|
227
|
+
approvalTrailCount: z.ZodNumber;
|
|
228
|
+
replayEventCount: z.ZodNumber;
|
|
229
|
+
redactionCount: z.ZodNumber;
|
|
230
|
+
receiptHash: z.ZodString;
|
|
231
|
+
issuedAt: z.ZodString;
|
|
232
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
export type CompanyOsManagedEvidenceReceipt = z.infer<typeof CompanyOsManagedEvidenceReceiptSchema>;
|
|
235
|
+
export declare const companyOsManagedPublicSurfaceInventory: readonly [{
|
|
236
|
+
readonly id: 'companyos-managed-tenant-profile-contract';
|
|
237
|
+
readonly kind: 'package-export';
|
|
238
|
+
readonly packageName: '@lssm/lib.companyos-spec';
|
|
239
|
+
readonly sourcePath: 'packages/libs/companyos-spec/src/types/managed-companyos.ts';
|
|
240
|
+
readonly contractSchema: 'CompanyOsManagedTenantProfileSchema';
|
|
241
|
+
readonly compatibilityIntent: 'additive';
|
|
242
|
+
readonly providerMode: 'provider-neutral';
|
|
243
|
+
readonly evidenceRefs: ["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"];
|
|
244
|
+
readonly metadata: {};
|
|
245
|
+
}, {
|
|
246
|
+
readonly id: 'companyos-managed-credential-ref-contract';
|
|
247
|
+
readonly kind: 'package-export';
|
|
248
|
+
readonly packageName: '@lssm/lib.companyos-spec';
|
|
249
|
+
readonly sourcePath: 'packages/libs/companyos-spec/src/types/managed-companyos.ts';
|
|
250
|
+
readonly contractSchema: 'CompanyOsManagedCredentialRefSchema';
|
|
251
|
+
readonly compatibilityIntent: 'additive';
|
|
252
|
+
readonly providerMode: 'provider-gated';
|
|
253
|
+
readonly evidenceRefs: ["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"];
|
|
254
|
+
readonly metadata: {};
|
|
255
|
+
}, {
|
|
256
|
+
readonly id: 'companyos-managed-workflow-correlation-contract';
|
|
257
|
+
readonly kind: 'workflow-contract';
|
|
258
|
+
readonly packageName: '@lssm/lib.companyos-spec';
|
|
259
|
+
readonly sourcePath: 'packages/libs/companyos-spec/src/types/managed-companyos.ts';
|
|
260
|
+
readonly contractSchema: 'CompanyOsManagedWorkflowContractSchema';
|
|
261
|
+
readonly compatibilityIntent: 'additive';
|
|
262
|
+
readonly providerMode: 'provider-neutral';
|
|
263
|
+
readonly evidenceRefs: ["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"];
|
|
264
|
+
readonly metadata: {};
|
|
265
|
+
}, {
|
|
266
|
+
readonly id: 'companyos-managed-websocket-event-contract';
|
|
267
|
+
readonly kind: 'websocket-event';
|
|
268
|
+
readonly packageName: '@lssm/lib.companyos-spec';
|
|
269
|
+
readonly sourcePath: 'packages/libs/companyos-spec/src/types/managed-companyos.ts';
|
|
270
|
+
readonly contractSchema: 'CompanyOsManagedWebSocketEventSchema';
|
|
271
|
+
readonly compatibilityIntent: 'additive';
|
|
272
|
+
readonly providerMode: 'provider-neutral';
|
|
273
|
+
readonly evidenceRefs: ["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"];
|
|
274
|
+
readonly metadata: {};
|
|
275
|
+
}, {
|
|
276
|
+
readonly id: 'companyos-managed-health-contract';
|
|
277
|
+
readonly kind: 'health-contract';
|
|
278
|
+
readonly packageName: '@lssm/lib.companyos-spec';
|
|
279
|
+
readonly sourcePath: 'packages/libs/companyos-spec/src/types/managed-companyos.ts';
|
|
280
|
+
readonly contractSchema: 'CompanyOsManagedRuntimeHealthSchema';
|
|
281
|
+
readonly compatibilityIntent: 'additive';
|
|
282
|
+
readonly providerMode: 'provider-neutral';
|
|
283
|
+
readonly evidenceRefs: ["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"];
|
|
284
|
+
readonly metadata: {};
|
|
285
|
+
}, {
|
|
286
|
+
readonly id: 'companyos-managed-evidence-receipt-contract';
|
|
287
|
+
readonly kind: 'evidence-receipt';
|
|
288
|
+
readonly packageName: '@lssm/lib.companyos-spec';
|
|
289
|
+
readonly sourcePath: 'packages/libs/companyos-spec/src/types/managed-companyos.ts';
|
|
290
|
+
readonly contractSchema: 'CompanyOsManagedEvidenceReceiptSchema';
|
|
291
|
+
readonly compatibilityIntent: 'additive';
|
|
292
|
+
readonly providerMode: 'provider-neutral';
|
|
293
|
+
readonly evidenceRefs: ["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"];
|
|
294
|
+
readonly metadata: {};
|
|
295
|
+
}, {
|
|
296
|
+
readonly id: 'companyos-managed-package-export';
|
|
297
|
+
readonly kind: 'package-export';
|
|
298
|
+
readonly packageName: '@lssm/lib.companyos-spec';
|
|
299
|
+
readonly sourcePath: 'packages/libs/companyos-spec/package.json';
|
|
300
|
+
readonly contractSchema: '@lssm/lib.companyos-spec/types/managed-companyos';
|
|
301
|
+
readonly compatibilityIntent: 'additive';
|
|
302
|
+
readonly providerMode: 'provider-neutral';
|
|
303
|
+
readonly evidenceRefs: ["packages/libs/companyos-spec/package.json", "docs/managed-companyos-s0-contract-inventory.md"];
|
|
304
|
+
readonly metadata: {};
|
|
305
|
+
}, {
|
|
306
|
+
readonly id: 'companyos-managed-docs-release';
|
|
307
|
+
readonly kind: 'docs-release';
|
|
308
|
+
readonly packageName: '@lssm/lib.companyos-spec';
|
|
309
|
+
readonly sourcePath: '.changeset/managed-companyos-contract-inventory.release.yaml';
|
|
310
|
+
readonly contractSchema: 'ManagedCompanyOsContractInventoryReleaseCapsule';
|
|
311
|
+
readonly compatibilityIntent: 'additive';
|
|
312
|
+
readonly providerMode: 'provider-neutral';
|
|
313
|
+
readonly evidenceRefs: [".changeset/managed-companyos-contract-inventory.release.yaml", ".contractspec/connect/managed-companyos-s0-inventory-20260515T175000Z.md"];
|
|
314
|
+
readonly metadata: {};
|
|
315
|
+
}];
|
|
316
|
+
export declare function assertCompanyOsManagedPublicSurfaceInventory(surfaces?: readonly CompanyOsManagedPublicSurface[]): readonly CompanyOsManagedPublicSurface[];
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{z as e}from"zod";import{z as a}from"zod";var t=a.record(a.string(),a.unknown()),i=a.object({id:a.string().min(1),connectorCapability:a.string().min(1),providerKey:a.string().min(1).optional(),externalId:a.string().min(1).optional(),url:a.string().url().optional(),observedAt:a.string().min(1),metadata:t.default({})}),C=a.object({default:a.string().min(1),translations:a.record(a.string(),a.string()).default({})}),S=a.object({id:a.string().min(1),type:a.string().min(1),label:a.string().min(1).optional()});var s=e.enum(["managed","byok"]),m=e.enum(["provider-neutral","provider-gated"]),d=e.enum(["additive","compatible-behavior","migration-required","breaking"]),y=e.enum(["package-export","app-entrypoint","api-route","worker-job","websocket-event","workflow-contract","replay-packet","evidence-receipt","health-contract","docs-release"]),o=e.enum(["healthy","degraded","unavailable"]),g=e.enum(["proposed","approved","denied","blocked"]),O=e.object({id:e.string().min(1),label:e.string().min(1),ownershipMode:s,custodyBoundary:e.enum(["managed_platform","tenant_owned"]),redactedPreview:e.string().min(1),secretMaterialAvailable:e.literal(!1).default(!1),metadata:t.default({})}),x=e.object({tenantId:e.string().min(1),displayName:e.string().min(1),operatorRoleIds:e.array(e.string().min(1)).min(1),integrationOwnershipModes:e.array(s).min(1),metadata:t.default({})}),l=e.object({id:e.string().min(1),kind:y,packageName:e.string().min(1),sourcePath:e.string().min(1),contractSchema:e.string().min(1),compatibilityIntent:d,providerMode:m,evidenceRefs:e.array(e.string().min(1)).min(1),metadata:t.default({})}),u=e.object({status:o,api:o,worker:o,websocket:o,replay:o,evidence:o,degradedReasons:e.array(e.string().min(1)).default([]),checkedAt:e.string().min(1)}).superRefine((n,c)=>{let r=[n.worker,n.websocket,n.replay,n.evidence].some((p)=>p!=="healthy");if(r&&n.status==="healthy")c.addIssue({code:e.ZodIssueCode.custom,message:"Managed CompanyOS health cannot be green while worker, WebSocket, replay, or evidence state is degraded.",path:["status"]});if(r&&n.degradedReasons.length===0)c.addIssue({code:e.ZodIssueCode.custom,message:"Managed CompanyOS degraded health requires visible degraded reasons.",path:["degradedReasons"]})}),I=e.object({id:e.string().min(1),tenantId:e.string().min(1),correlationId:e.string().min(1),integrationOwnershipMode:s,approvalState:g,policyGateDecisionId:e.string().min(1),workerJobId:e.string().min(1),websocketEventId:e.string().min(1),replayPacketId:e.string().min(1),evidenceReceiptId:e.string().min(1),sourceRefs:e.array(i).default([]),metadata:t.default({})}),R=e.object({id:e.string().min(1),type:e.enum(["managed-companyos.job.accepted","managed-companyos.job.progress","managed-companyos.job.completed","managed-companyos.job.failed","managed-companyos.health.degraded"]),tenantId:e.string().min(1),jobId:e.string().min(1),correlationId:e.string().min(1),health:u.optional(),occurredAt:e.string().min(1),metadata:t.default({})}),w=e.object({id:e.string().min(1),tenantId:e.string().min(1),correlationId:e.string().min(1),workflowContractId:e.string().min(1),replayPacketId:e.string().min(1),sourceRefIds:e.array(e.string().min(1)).default([]),policyDecisionCount:e.number().int().min(1),approvalTrailCount:e.number().int().min(0),replayEventCount:e.number().int().min(1),redactionCount:e.number().int().min(0),receiptHash:e.string().min(1),issuedAt:e.string().min(1),metadata:t.default({})}),f=[{id:"companyos-managed-tenant-profile-contract",kind:"package-export",packageName:"@lssm/lib.companyos-spec",sourcePath:"packages/libs/companyos-spec/src/types/managed-companyos.ts",contractSchema:"CompanyOsManagedTenantProfileSchema",compatibilityIntent:"additive",providerMode:"provider-neutral",evidenceRefs:["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"],metadata:{}},{id:"companyos-managed-credential-ref-contract",kind:"package-export",packageName:"@lssm/lib.companyos-spec",sourcePath:"packages/libs/companyos-spec/src/types/managed-companyos.ts",contractSchema:"CompanyOsManagedCredentialRefSchema",compatibilityIntent:"additive",providerMode:"provider-gated",evidenceRefs:["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"],metadata:{}},{id:"companyos-managed-workflow-correlation-contract",kind:"workflow-contract",packageName:"@lssm/lib.companyos-spec",sourcePath:"packages/libs/companyos-spec/src/types/managed-companyos.ts",contractSchema:"CompanyOsManagedWorkflowContractSchema",compatibilityIntent:"additive",providerMode:"provider-neutral",evidenceRefs:["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"],metadata:{}},{id:"companyos-managed-websocket-event-contract",kind:"websocket-event",packageName:"@lssm/lib.companyos-spec",sourcePath:"packages/libs/companyos-spec/src/types/managed-companyos.ts",contractSchema:"CompanyOsManagedWebSocketEventSchema",compatibilityIntent:"additive",providerMode:"provider-neutral",evidenceRefs:["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"],metadata:{}},{id:"companyos-managed-health-contract",kind:"health-contract",packageName:"@lssm/lib.companyos-spec",sourcePath:"packages/libs/companyos-spec/src/types/managed-companyos.ts",contractSchema:"CompanyOsManagedRuntimeHealthSchema",compatibilityIntent:"additive",providerMode:"provider-neutral",evidenceRefs:["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"],metadata:{}},{id:"companyos-managed-evidence-receipt-contract",kind:"evidence-receipt",packageName:"@lssm/lib.companyos-spec",sourcePath:"packages/libs/companyos-spec/src/types/managed-companyos.ts",contractSchema:"CompanyOsManagedEvidenceReceiptSchema",compatibilityIntent:"additive",providerMode:"provider-neutral",evidenceRefs:["packages/libs/companyos-spec/src/companyos-spec.public-surface.test.ts"],metadata:{}},{id:"companyos-managed-package-export",kind:"package-export",packageName:"@lssm/lib.companyos-spec",sourcePath:"packages/libs/companyos-spec/package.json",contractSchema:"@lssm/lib.companyos-spec/types/managed-companyos",compatibilityIntent:"additive",providerMode:"provider-neutral",evidenceRefs:["packages/libs/companyos-spec/package.json","docs/managed-companyos-s0-contract-inventory.md"],metadata:{}},{id:"companyos-managed-docs-release",kind:"docs-release",packageName:"@lssm/lib.companyos-spec",sourcePath:".changeset/managed-companyos-contract-inventory.release.yaml",contractSchema:"ManagedCompanyOsContractInventoryReleaseCapsule",compatibilityIntent:"additive",providerMode:"provider-neutral",evidenceRefs:[".changeset/managed-companyos-contract-inventory.release.yaml",".contractspec/connect/managed-companyos-s0-inventory-20260515T175000Z.md"],metadata:{}}];function P(n=f){return e.array(l).parse(n)}export{g as CompanyOsManagedApprovalStateSchema,d as CompanyOsManagedCompatibilityIntentSchema,O as CompanyOsManagedCredentialRefSchema,w as CompanyOsManagedEvidenceReceiptSchema,o as CompanyOsManagedHealthStateSchema,s as CompanyOsManagedIntegrationOwnershipModeSchema,m as CompanyOsManagedProviderModeSchema,y as CompanyOsManagedPublicSurfaceKindSchema,l as CompanyOsManagedPublicSurfaceSchema,u as CompanyOsManagedRuntimeHealthSchema,x as CompanyOsManagedTenantProfileSchema,R as CompanyOsManagedWebSocketEventSchema,I as CompanyOsManagedWorkflowContractSchema,P as assertCompanyOsManagedPublicSurfaceInventory,f as companyOsManagedPublicSurfaceInventory};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const MemoryScopeSchema: z.ZodObject<{
|
|
3
|
+
companyKey: z.ZodString;
|
|
4
|
+
unitId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
customerAccountId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type MemoryScope = z.infer<typeof MemoryScopeSchema>;
|
|
9
|
+
export declare const MemorySupersessionRefSchema: z.ZodObject<{
|
|
10
|
+
previousRefId: z.ZodString;
|
|
11
|
+
reason: z.ZodString;
|
|
12
|
+
supersededAt: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export type MemorySupersessionRef = z.infer<typeof MemorySupersessionRefSchema>;
|
|
15
|
+
export declare const VersionedCompanyFactSchema: z.ZodObject<{
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
title: z.ZodString;
|
|
18
|
+
version: z.ZodString;
|
|
19
|
+
ownerPrincipalId: z.ZodString;
|
|
20
|
+
validFrom: z.ZodString;
|
|
21
|
+
validUntil: z.ZodOptional<z.ZodString>;
|
|
22
|
+
freshness: z.ZodEnum<{
|
|
23
|
+
fresh: "fresh";
|
|
24
|
+
stale: "stale";
|
|
25
|
+
unknown: "unknown";
|
|
26
|
+
}>;
|
|
27
|
+
scope: z.ZodObject<{
|
|
28
|
+
companyKey: z.ZodString;
|
|
29
|
+
unitId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
customerAccountId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
sourceRefs: z.ZodArray<z.ZodObject<{
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
connectorCapability: z.ZodString;
|
|
36
|
+
providerKey: z.ZodOptional<z.ZodString>;
|
|
37
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
38
|
+
url: z.ZodOptional<z.ZodString>;
|
|
39
|
+
observedAt: z.ZodString;
|
|
40
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
supersedes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
43
|
+
previousRefId: z.ZodString;
|
|
44
|
+
reason: z.ZodString;
|
|
45
|
+
supersededAt: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>>;
|
|
47
|
+
kind: z.ZodLiteral<"fact">;
|
|
48
|
+
statement: z.ZodString;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export type VersionedCompanyFact = z.infer<typeof VersionedCompanyFactSchema>;
|
|
51
|
+
export declare const VersionedCompanyProcedureSchema: z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
title: z.ZodString;
|
|
54
|
+
version: z.ZodString;
|
|
55
|
+
ownerPrincipalId: z.ZodString;
|
|
56
|
+
validFrom: z.ZodString;
|
|
57
|
+
validUntil: z.ZodOptional<z.ZodString>;
|
|
58
|
+
freshness: z.ZodEnum<{
|
|
59
|
+
fresh: "fresh";
|
|
60
|
+
stale: "stale";
|
|
61
|
+
unknown: "unknown";
|
|
62
|
+
}>;
|
|
63
|
+
scope: z.ZodObject<{
|
|
64
|
+
companyKey: z.ZodString;
|
|
65
|
+
unitId: z.ZodOptional<z.ZodString>;
|
|
66
|
+
customerAccountId: z.ZodOptional<z.ZodString>;
|
|
67
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
sourceRefs: z.ZodArray<z.ZodObject<{
|
|
70
|
+
id: z.ZodString;
|
|
71
|
+
connectorCapability: z.ZodString;
|
|
72
|
+
providerKey: z.ZodOptional<z.ZodString>;
|
|
73
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
74
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75
|
+
observedAt: z.ZodString;
|
|
76
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77
|
+
}, z.core.$strip>>;
|
|
78
|
+
supersedes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
79
|
+
previousRefId: z.ZodString;
|
|
80
|
+
reason: z.ZodString;
|
|
81
|
+
supersededAt: z.ZodString;
|
|
82
|
+
}, z.core.$strip>>>;
|
|
83
|
+
kind: z.ZodEnum<{
|
|
84
|
+
policy: "policy";
|
|
85
|
+
procedure: "procedure";
|
|
86
|
+
}>;
|
|
87
|
+
steps: z.ZodArray<z.ZodString>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
export type VersionedCompanyProcedure = z.infer<typeof VersionedCompanyProcedureSchema>;
|
|
90
|
+
export declare const CompanyMemorySnapshotSchema: z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
capturedAt: z.ZodString;
|
|
93
|
+
scope: z.ZodObject<{
|
|
94
|
+
companyKey: z.ZodString;
|
|
95
|
+
unitId: z.ZodOptional<z.ZodString>;
|
|
96
|
+
customerAccountId: z.ZodOptional<z.ZodString>;
|
|
97
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
factIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
100
|
+
procedureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
101
|
+
decisionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
102
|
+
compactionSummary: z.ZodString;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
export type CompanyMemorySnapshot = z.infer<typeof CompanyMemorySnapshotSchema>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{z as e}from"zod";import{z as n}from"zod";var i=n.record(n.string(),n.unknown()),o=n.object({id:n.string().min(1),connectorCapability:n.string().min(1),providerKey:n.string().min(1).optional(),externalId:n.string().min(1).optional(),url:n.string().url().optional(),observedAt:n.string().min(1),metadata:i.default({})}),m=n.object({default:n.string().min(1),translations:n.record(n.string(),n.string()).default({})}),p=n.object({id:n.string().min(1),type:n.string().min(1),label:n.string().min(1).optional()});var t=e.object({companyKey:e.string().min(1),unitId:e.string().min(1).optional(),customerAccountId:e.string().min(1).optional(),projectId:e.string().min(1).optional()}),s=e.object({previousRefId:e.string().min(1),reason:e.string().min(1),supersededAt:e.string().min(1)}),r={id:e.string().min(1),title:e.string().min(1),version:e.string().min(1),ownerPrincipalId:e.string().min(1),validFrom:e.string().min(1),validUntil:e.string().min(1).optional(),freshness:e.enum(["fresh","stale","unknown"]),scope:t,sourceRefs:e.array(o).min(1),supersedes:e.array(s).default([])},f=e.object({...r,kind:e.literal("fact"),statement:e.string().min(1)}),g=e.object({...r,kind:e.enum(["procedure","policy"]),steps:e.array(e.string().min(1)).min(1)}),l=e.object({id:e.string().min(1),capturedAt:e.string().min(1),scope:t,factIds:e.array(e.string().min(1)).default([]),procedureIds:e.array(e.string().min(1)).default([]),decisionIds:e.array(e.string().min(1)).default([]),compactionSummary:e.string().min(1)});export{l as CompanyMemorySnapshotSchema,t as MemoryScopeSchema,s as MemorySupersessionRefSchema,f as VersionedCompanyFactSchema,g as VersionedCompanyProcedureSchema};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CompanyObjectiveSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
ownerPrincipalId: z.ZodString;
|
|
6
|
+
horizon: z.ZodEnum<{
|
|
7
|
+
annual: "annual";
|
|
8
|
+
monthly: "monthly";
|
|
9
|
+
quarterly: "quarterly";
|
|
10
|
+
weekly: "weekly";
|
|
11
|
+
}>;
|
|
12
|
+
status: z.ZodEnum<{
|
|
13
|
+
achieved: "achieved";
|
|
14
|
+
active: "active";
|
|
15
|
+
at_risk: "at_risk";
|
|
16
|
+
paused: "paused";
|
|
17
|
+
}>;
|
|
18
|
+
metricIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
19
|
+
workItemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
20
|
+
sourceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
connectorCapability: z.ZodString;
|
|
23
|
+
providerKey: z.ZodOptional<z.ZodString>;
|
|
24
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
url: z.ZodOptional<z.ZodString>;
|
|
26
|
+
observedAt: z.ZodString;
|
|
27
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
28
|
+
}, z.core.$strip>>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export type CompanyObjective = z.infer<typeof CompanyObjectiveSchema>;
|
|
31
|
+
export declare const CompanyMetricSchema: z.ZodObject<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
objectiveId: z.ZodString;
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
ownerPrincipalId: z.ZodString;
|
|
36
|
+
unit: z.ZodString;
|
|
37
|
+
targetValue: z.ZodNumber;
|
|
38
|
+
currentValue: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
direction: z.ZodEnum<{
|
|
40
|
+
decrease: "decrease";
|
|
41
|
+
increase: "increase";
|
|
42
|
+
maintain: "maintain";
|
|
43
|
+
}>;
|
|
44
|
+
sourceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
connectorCapability: z.ZodString;
|
|
47
|
+
providerKey: z.ZodOptional<z.ZodString>;
|
|
48
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
49
|
+
url: z.ZodOptional<z.ZodString>;
|
|
50
|
+
observedAt: z.ZodString;
|
|
51
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
52
|
+
}, z.core.$strip>>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export type CompanyMetric = z.infer<typeof CompanyMetricSchema>;
|
|
55
|
+
export declare const MetricObservationSchema: z.ZodObject<{
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
metricId: z.ZodString;
|
|
58
|
+
observedAt: z.ZodString;
|
|
59
|
+
value: z.ZodNumber;
|
|
60
|
+
sourceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
61
|
+
id: z.ZodString;
|
|
62
|
+
connectorCapability: z.ZodString;
|
|
63
|
+
providerKey: z.ZodOptional<z.ZodString>;
|
|
64
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
65
|
+
url: z.ZodOptional<z.ZodString>;
|
|
66
|
+
observedAt: z.ZodString;
|
|
67
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
68
|
+
}, z.core.$strip>>>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
export type MetricObservation = z.infer<typeof MetricObservationSchema>;
|
|
71
|
+
export declare const ObjectiveOutcomeRecordSchema: z.ZodObject<{
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
objectiveId: z.ZodString;
|
|
74
|
+
observedAt: z.ZodString;
|
|
75
|
+
summary: z.ZodString;
|
|
76
|
+
status: z.ZodEnum<{
|
|
77
|
+
flat: "flat";
|
|
78
|
+
improved: "improved";
|
|
79
|
+
regressed: "regressed";
|
|
80
|
+
unknown: "unknown";
|
|
81
|
+
}>;
|
|
82
|
+
relatedWorkItemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
export type ObjectiveOutcomeRecord = z.infer<typeof ObjectiveOutcomeRecordSchema>;
|
|
85
|
+
export declare const ObjectiveDriftSignalSchema: z.ZodObject<{
|
|
86
|
+
id: z.ZodString;
|
|
87
|
+
objectiveId: z.ZodString;
|
|
88
|
+
metricId: z.ZodOptional<z.ZodString>;
|
|
89
|
+
severity: z.ZodEnum<{
|
|
90
|
+
high: "high";
|
|
91
|
+
low: "low";
|
|
92
|
+
medium: "medium";
|
|
93
|
+
}>;
|
|
94
|
+
summary: z.ZodString;
|
|
95
|
+
recommendedActionRefIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
export type ObjectiveDriftSignal = z.infer<typeof ObjectiveDriftSignalSchema>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{z as e}from"zod";import{z as t}from"zod";var r=t.record(t.string(),t.unknown()),n=t.object({id:t.string().min(1),connectorCapability:t.string().min(1),providerKey:t.string().min(1).optional(),externalId:t.string().min(1).optional(),url:t.string().url().optional(),observedAt:t.string().min(1),metadata:r.default({})}),o=t.object({default:t.string().min(1),translations:t.record(t.string(),t.string()).default({})}),a=t.object({id:t.string().min(1),type:t.string().min(1),label:t.string().min(1).optional()});var p=e.object({id:e.string().min(1),title:e.string().min(1),ownerPrincipalId:e.string().min(1),horizon:e.enum(["weekly","monthly","quarterly","annual"]),status:e.enum(["active","at_risk","achieved","paused"]),metricIds:e.array(e.string().min(1)).default([]),workItemIds:e.array(e.string().min(1)).default([]),sourceRefs:e.array(n).default([])}),d=e.object({id:e.string().min(1),objectiveId:e.string().min(1),name:e.string().min(1),ownerPrincipalId:e.string().min(1),unit:e.string().min(1),targetValue:e.number(),currentValue:e.number().optional(),direction:e.enum(["increase","decrease","maintain"]),sourceRefs:e.array(n).default([])}),y=e.object({id:e.string().min(1),metricId:e.string().min(1),observedAt:e.string().min(1),value:e.number(),sourceRefs:e.array(n).default([])}),u=e.object({id:e.string().min(1),objectiveId:e.string().min(1),observedAt:e.string().min(1),summary:e.string().min(1),status:e.enum(["improved","flat","regressed","unknown"]),relatedWorkItemIds:e.array(e.string().min(1)).default([])}),f=e.object({id:e.string().min(1),objectiveId:e.string().min(1),metricId:e.string().min(1).optional(),severity:e.enum(["low","medium","high"]),summary:e.string().min(1),recommendedActionRefIds:e.array(e.string().min(1)).default([])});export{d as CompanyMetricSchema,p as CompanyObjectiveSchema,y as MetricObservationSchema,f as ObjectiveDriftSignalSchema,u as ObjectiveOutcomeRecordSchema};
|