@neuraloom/contracts 0.0.0-stage → 0.1.22
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/analytics/community-movie/attribution.schema.d.ts +264 -0
- package/dist/analytics/community-movie/attribution.schema.js +57 -0
- package/dist/analytics/community-movie/consent.schema.d.ts +15 -0
- package/dist/analytics/community-movie/consent.schema.js +16 -0
- package/dist/analytics/community-movie/event-names.d.ts +11 -0
- package/dist/analytics/community-movie/event-names.js +113 -0
- package/dist/analytics/community-movie/event-params.schema.d.ts +622 -0
- package/dist/analytics/community-movie/event-params.schema.js +416 -0
- package/dist/analytics/community-movie/event-registry.d.ts +11 -0
- package/dist/analytics/community-movie/event-registry.js +486 -0
- package/dist/analytics/community-movie/index.d.ts +6 -0
- package/dist/analytics/community-movie/index.js +22 -0
- package/dist/analytics/community-movie/telemetry-record.schema.d.ts +157 -0
- package/dist/analytics/community-movie/telemetry-record.schema.js +26 -0
- package/dist/analytics/index.d.ts +1 -0
- package/dist/analytics/index.js +17 -0
- package/dist/community/actor-builder-options.d.ts +43 -0
- package/dist/community/actor-builder-options.js +197 -0
- package/dist/constants/AGENT_MCP_PERMISSIONS.d.ts +26 -0
- package/dist/constants/AGENT_MCP_PERMISSIONS.js +122 -0
- package/dist/constants/AGENT_ROLES.d.ts +37 -0
- package/dist/constants/AGENT_ROLES.js +199 -0
- package/dist/constants/audiobook-embed-placeholder-url.d.ts +5 -0
- package/dist/constants/audiobook-embed-placeholder-url.js +8 -0
- package/dist/constants/ci-config.d.ts +4 -0
- package/dist/constants/ci-config.js +7 -0
- package/dist/constants/kg-implement-stable-keys.d.ts +9 -0
- package/dist/constants/kg-implement-stable-keys.js +26 -0
- package/dist/constants/knowledge-edge-relation.d.ts +49 -0
- package/dist/constants/knowledge-edge-relation.js +42 -0
- package/dist/constants/knowledge-node.d.ts +21 -0
- package/dist/constants/knowledge-node.js +20 -0
- package/dist/constants/mission-control-nav.d.ts +13 -0
- package/dist/constants/mission-control-nav.js +75 -0
- package/dist/constants/model-mode-preset-defaults.d.ts +5 -0
- package/dist/constants/model-mode-preset-defaults.js +65 -0
- package/dist/constants/model-policies.d.ts +37 -0
- package/dist/constants/model-policies.js +656 -0
- package/dist/constants/navConfig.d.ts +43 -0
- package/dist/constants/navConfig.js +132 -0
- package/dist/constants/orchestration-execution.d.ts +5 -0
- package/dist/constants/orchestration-execution.js +10 -0
- package/dist/constants/payload-schema-map.d.ts +22 -0
- package/dist/constants/payload-schema-map.js +375 -0
- package/dist/constants/phase-guardian.d.ts +17 -0
- package/dist/constants/phase-guardian.js +43 -0
- package/dist/constants/pipeline-step-stages.d.ts +73 -0
- package/dist/constants/pipeline-step-stages.js +342 -0
- package/dist/constants/project-control-nav.d.ts +29 -0
- package/dist/constants/project-control-nav.js +65 -0
- package/dist/constants/software-index-targets.d.ts +17 -0
- package/dist/constants/software-index-targets.js +46 -0
- package/dist/constants/step-tools.d.ts +32 -0
- package/dist/constants/step-tools.js +53 -0
- package/dist/constants/workflow-agent-defaults.d.ts +4 -0
- package/dist/constants/workflow-agent-defaults.js +15 -0
- package/dist/constants/workflow-api-errors.d.ts +5 -0
- package/dist/constants/workflow-api-errors.js +8 -0
- package/dist/constants/workflow-phase-groups.d.ts +34 -0
- package/dist/constants/workflow-phase-groups.js +46 -0
- package/dist/constants/workflow-registry.d.ts +77 -0
- package/dist/constants/workflow-registry.js +421 -0
- package/dist/constants/workflow-semantics.d.ts +19 -0
- package/dist/constants/workflow-semantics.js +432 -0
- package/dist/constants/workflow-vocabulary.d.ts +23 -0
- package/dist/constants/workflow-vocabulary.js +227 -0
- package/dist/constants/workflow.d.ts +7 -0
- package/dist/constants/workflow.js +23 -0
- package/dist/data/model-registry.d.ts +36 -0
- package/dist/data/model-registry.js +59 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +90 -0
- package/dist/integration/index.d.ts +8 -0
- package/dist/integration/index.js +24 -0
- package/dist/integration/schema-hash-manifest.json +26 -0
- package/dist/lib/graph-edge-resolve.d.ts +3 -0
- package/dist/lib/graph-edge-resolve.js +20 -0
- package/dist/lib/graph-id.d.ts +16 -0
- package/dist/lib/graph-id.js +169 -0
- package/dist/lib/step-navigation.d.ts +35 -0
- package/dist/lib/step-navigation.js +218 -0
- package/dist/marketing/acquisition-landing-matrix.d.ts +46 -0
- package/dist/marketing/acquisition-landing-matrix.js +64 -0
- package/dist/marketing/acquisition-recommendation.schema.d.ts +284 -0
- package/dist/marketing/acquisition-recommendation.schema.js +84 -0
- package/dist/marketing/ads-account.schema.d.ts +46 -0
- package/dist/marketing/ads-account.schema.js +15 -0
- package/dist/marketing/ads-ad-group.schema.d.ts +52 -0
- package/dist/marketing/ads-ad-group.schema.js +17 -0
- package/dist/marketing/ads-campaign.schema.d.ts +59 -0
- package/dist/marketing/ads-campaign.schema.js +18 -0
- package/dist/marketing/ads-conversion-action.schema.d.ts +60 -0
- package/dist/marketing/ads-conversion-action.schema.js +27 -0
- package/dist/marketing/ads-keyword.schema.d.ts +59 -0
- package/dist/marketing/ads-keyword.schema.js +19 -0
- package/dist/marketing/ads-metrics-daily.schema.d.ts +95 -0
- package/dist/marketing/ads-metrics-daily.schema.js +24 -0
- package/dist/marketing/ads-overview.schema.d.ts +479 -0
- package/dist/marketing/ads-overview.schema.js +44 -0
- package/dist/marketing/ads-query.schema.d.ts +33 -0
- package/dist/marketing/ads-query.schema.js +13 -0
- package/dist/marketing/ads-search-term.schema.d.ts +70 -0
- package/dist/marketing/ads-search-term.schema.js +19 -0
- package/dist/marketing/campaign-asset.schema.d.ts +51 -0
- package/dist/marketing/campaign-asset.schema.js +39 -0
- package/dist/marketing/community-movie-ads-free-signup-campaign.d.ts +23 -0
- package/dist/marketing/community-movie-ads-free-signup-campaign.js +29 -0
- package/dist/marketing/community-movie-campaign-matrix.d.ts +47 -0
- package/dist/marketing/community-movie-campaign-matrix.js +265 -0
- package/dist/marketing/community-movie-google-ads.constants.d.ts +49 -0
- package/dist/marketing/community-movie-google-ads.constants.js +59 -0
- package/dist/marketing/config.schema.d.ts +32 -0
- package/dist/marketing/config.schema.js +31 -0
- package/dist/marketing/date-range.schema.d.ts +12 -0
- package/dist/marketing/date-range.schema.js +10 -0
- package/dist/marketing/entities/index.d.ts +6 -0
- package/dist/marketing/entities/index.js +11 -0
- package/dist/marketing/ga4-conversion.schema.d.ts +87 -0
- package/dist/marketing/ga4-conversion.schema.js +22 -0
- package/dist/marketing/ga4-event.schema.d.ts +98 -0
- package/dist/marketing/ga4-event.schema.js +23 -0
- package/dist/marketing/ga4-funnel.schema.d.ts +90 -0
- package/dist/marketing/ga4-funnel.schema.js +23 -0
- package/dist/marketing/ga4-landing-page.schema.d.ts +131 -0
- package/dist/marketing/ga4-landing-page.schema.js +25 -0
- package/dist/marketing/ga4-overview.schema.d.ts +478 -0
- package/dist/marketing/ga4-overview.schema.js +31 -0
- package/dist/marketing/ga4-query.schema.d.ts +19 -0
- package/dist/marketing/ga4-query.schema.js +27 -0
- package/dist/marketing/ga4-retention.schema.d.ts +79 -0
- package/dist/marketing/ga4-retention.schema.js +21 -0
- package/dist/marketing/ga4-traffic.schema.d.ts +154 -0
- package/dist/marketing/ga4-traffic.schema.js +27 -0
- package/dist/marketing/gsc-organic-overview.schema.d.ts +338 -0
- package/dist/marketing/gsc-organic-overview.schema.js +28 -0
- package/dist/marketing/gsc-organic-query.schema.d.ts +121 -0
- package/dist/marketing/gsc-organic-query.schema.js +24 -0
- package/dist/marketing/gsc-page-performance.schema.d.ts +121 -0
- package/dist/marketing/gsc-page-performance.schema.js +24 -0
- package/dist/marketing/gsc-query.schema.d.ts +19 -0
- package/dist/marketing/gsc-query.schema.js +27 -0
- package/dist/marketing/index.d.ts +47 -0
- package/dist/marketing/index.js +63 -0
- package/dist/marketing/marketing-attribution-summary.schema.d.ts +165 -0
- package/dist/marketing/marketing-attribution-summary.schema.js +26 -0
- package/dist/marketing/marketing-challenge-performance.schema.d.ts +139 -0
- package/dist/marketing/marketing-challenge-performance.schema.js +28 -0
- package/dist/marketing/marketing-conversion-enqueue.schema.d.ts +88 -0
- package/dist/marketing/marketing-conversion-enqueue.schema.js +34 -0
- package/dist/marketing/marketing-executive-overview.schema.d.ts +1865 -0
- package/dist/marketing/marketing-executive-overview.schema.js +39 -0
- package/dist/marketing/marketing-health.schema.d.ts +366 -0
- package/dist/marketing/marketing-health.schema.js +65 -0
- package/dist/marketing/marketing-keyword-opportunity.schema.d.ts +158 -0
- package/dist/marketing/marketing-keyword-opportunity.schema.js +34 -0
- package/dist/marketing/marketing-landing-page-intelligence.schema.d.ts +159 -0
- package/dist/marketing/marketing-landing-page-intelligence.schema.js +30 -0
- package/dist/marketing/marketing-readiness.schema.d.ts +506 -0
- package/dist/marketing/marketing-readiness.schema.js +83 -0
- package/dist/marketing/marketing-test-traffic.d.ts +6 -0
- package/dist/marketing/marketing-test-traffic.js +28 -0
- package/dist/marketing/marketing-visibility-overview.schema.d.ts +949 -0
- package/dist/marketing/marketing-visibility-overview.schema.js +42 -0
- package/dist/marketing/marketing-world-catalog.d.ts +10 -0
- package/dist/marketing/marketing-world-catalog.js +16 -0
- package/dist/marketing/marketing-world-performance.schema.d.ts +179 -0
- package/dist/marketing/marketing-world-performance.schema.js +32 -0
- package/dist/marketing/routes.d.ts +77 -0
- package/dist/marketing/routes.js +79 -0
- package/dist/marketing/search-negative-keywords.d.ts +6 -0
- package/dist/marketing/search-negative-keywords.js +30 -0
- package/dist/registry/schema-registry.d.ts +74 -0
- package/dist/registry/schema-registry.js +1148 -0
- package/dist/registry/table-ownership-registry.d.ts +57 -0
- package/dist/registry/table-ownership-registry.js +932 -0
- package/dist/routes/assurance.d.ts +6 -0
- package/dist/routes/assurance.js +14 -0
- package/dist/routes/community-operator.d.ts +117 -0
- package/dist/routes/community-operator.js +119 -0
- package/dist/routes/community.d.ts +232 -0
- package/dist/routes/community.js +246 -0
- package/dist/routes/index.d.ts +2203 -0
- package/dist/routes/index.js +1440 -0
- package/dist/schemas/ai/ai-generate-inputs.schema.d.ts +2056 -0
- package/dist/schemas/ai/ai-generate-inputs.schema.js +167 -0
- package/dist/schemas/ai/ai-run-metadata.schema.d.ts +39 -0
- package/dist/schemas/ai/ai-run-metadata.schema.js +24 -0
- package/dist/schemas/ai/ai-runs-list.schema.d.ts +248 -0
- package/dist/schemas/ai/ai-runs-list.schema.js +27 -0
- package/dist/schemas/ai/analytics-generate.schema.d.ts +185 -0
- package/dist/schemas/ai/analytics-generate.schema.js +59 -0
- package/dist/schemas/ai/api-generate.schema.d.ts +49 -0
- package/dist/schemas/ai/api-generate.schema.js +16 -0
- package/dist/schemas/ai/api.schema.d.ts +80 -0
- package/dist/schemas/ai/api.schema.js +22 -0
- package/dist/schemas/ai/architecture-generate.schema.d.ts +47 -0
- package/dist/schemas/ai/architecture-generate.schema.js +19 -0
- package/dist/schemas/ai/argument-map-generate.schema.d.ts +433 -0
- package/dist/schemas/ai/argument-map-generate.schema.js +62 -0
- package/dist/schemas/ai/audit-existing-output-evidence.schema.d.ts +153 -0
- package/dist/schemas/ai/audit-existing-output-evidence.schema.js +46 -0
- package/dist/schemas/ai/brief-improve-generate.schema.d.ts +2291 -0
- package/dist/schemas/ai/brief-improve-generate.schema.js +293 -0
- package/dist/schemas/ai/chapter-revision.schema.d.ts +817 -0
- package/dist/schemas/ai/chapter-revision.schema.js +267 -0
- package/dist/schemas/ai/code-generate.schema.d.ts +1492 -0
- package/dist/schemas/ai/code-generate.schema.js +46 -0
- package/dist/schemas/ai/community-pitch-critique-generate.schema.d.ts +31 -0
- package/dist/schemas/ai/community-pitch-critique-generate.schema.js +17 -0
- package/dist/schemas/ai/community-suggestion-summary-generate.schema.d.ts +34 -0
- package/dist/schemas/ai/community-suggestion-summary-generate.schema.js +19 -0
- package/dist/schemas/ai/compliance-generate.schema.d.ts +24 -0
- package/dist/schemas/ai/compliance-generate.schema.js +11 -0
- package/dist/schemas/ai/compliance.schema.d.ts +58 -0
- package/dist/schemas/ai/compliance.schema.js +22 -0
- package/dist/schemas/ai/constitution-generate.schema.d.ts +221 -0
- package/dist/schemas/ai/constitution-generate.schema.js +52 -0
- package/dist/schemas/ai/constitution-kg-gate-status.schema.d.ts +33 -0
- package/dist/schemas/ai/constitution-kg-gate-status.schema.js +15 -0
- package/dist/schemas/ai/constitution-validate-input.schema.d.ts +18 -0
- package/dist/schemas/ai/constitution-validate-input.schema.js +10 -0
- package/dist/schemas/ai/constitution-writing-generate.schema.d.ts +437 -0
- package/dist/schemas/ai/constitution-writing-generate.schema.js +70 -0
- package/dist/schemas/ai/constitution.schema.d.ts +19 -0
- package/dist/schemas/ai/constitution.schema.js +12 -0
- package/dist/schemas/ai/counterclaim-framework-generate.schema.d.ts +479 -0
- package/dist/schemas/ai/counterclaim-framework-generate.schema.js +66 -0
- package/dist/schemas/ai/coverage-generate.schema.d.ts +61 -0
- package/dist/schemas/ai/coverage-generate.schema.js +27 -0
- package/dist/schemas/ai/definitions-generate.schema.d.ts +448 -0
- package/dist/schemas/ai/definitions-generate.schema.js +62 -0
- package/dist/schemas/ai/deployments-generate.schema.d.ts +40 -0
- package/dist/schemas/ai/deployments-generate.schema.js +18 -0
- package/dist/schemas/ai/docs-generate.schema.d.ts +51 -0
- package/dist/schemas/ai/docs-generate.schema.js +18 -0
- package/dist/schemas/ai/domain-context.d.ts +58 -0
- package/dist/schemas/ai/domain-context.js +185 -0
- package/dist/schemas/ai/draft-generate.schema.d.ts +32 -0
- package/dist/schemas/ai/draft-generate.schema.js +17 -0
- package/dist/schemas/ai/editorial-guardian-generate.schema.d.ts +470 -0
- package/dist/schemas/ai/editorial-guardian-generate.schema.js +60 -0
- package/dist/schemas/ai/editorial-revise-chapter.schema.d.ts +411 -0
- package/dist/schemas/ai/editorial-revise-chapter.schema.js +83 -0
- package/dist/schemas/ai/film-clip-review-generate.schema.d.ts +291 -0
- package/dist/schemas/ai/film-clip-review-generate.schema.js +35 -0
- package/dist/schemas/ai/film-keyframe-generate.schema.d.ts +359 -0
- package/dist/schemas/ai/film-keyframe-generate.schema.js +28 -0
- package/dist/schemas/ai/film-keyframe-register.schema.d.ts +67 -0
- package/dist/schemas/ai/film-keyframe-register.schema.js +16 -0
- package/dist/schemas/ai/film-shot-risk-assess.schema.d.ts +12 -0
- package/dist/schemas/ai/film-shot-risk-assess.schema.js +10 -0
- package/dist/schemas/ai/film-still-review-generate.schema.d.ts +232 -0
- package/dist/schemas/ai/film-still-review-generate.schema.js +31 -0
- package/dist/schemas/ai/film-workflow-generate.schema.d.ts +117 -0
- package/dist/schemas/ai/film-workflow-generate.schema.js +33 -0
- package/dist/schemas/ai/generate-response.schema.d.ts +66 -0
- package/dist/schemas/ai/generate-response.schema.js +26 -0
- package/dist/schemas/ai/guardian-gate-status.schema.d.ts +112 -0
- package/dist/schemas/ai/guardian-gate-status.schema.js +17 -0
- package/dist/schemas/ai/guardian-kg-gate-status.schema.d.ts +58 -0
- package/dist/schemas/ai/guardian-kg-gate-status.schema.js +30 -0
- package/dist/schemas/ai/guardian-rule-detail.schema.d.ts +74 -0
- package/dist/schemas/ai/guardian-rule-detail.schema.js +19 -0
- package/dist/schemas/ai/guardian-score-history.schema.d.ts +75 -0
- package/dist/schemas/ai/guardian-score-history.schema.js +16 -0
- package/dist/schemas/ai/implement-graph.schema.d.ts +323 -0
- package/dist/schemas/ai/implement-graph.schema.js +51 -0
- package/dist/schemas/ai/implement-kg-gate-status.schema.d.ts +36 -0
- package/dist/schemas/ai/implement-kg-gate-status.schema.js +16 -0
- package/dist/schemas/ai/implement.schema.d.ts +73 -0
- package/dist/schemas/ai/implement.schema.js +23 -0
- package/dist/schemas/ai/index.d.ts +46 -0
- package/dist/schemas/ai/index.js +62 -0
- package/dist/schemas/ai/knowledge-kg-gate-status.schema.d.ts +73 -0
- package/dist/schemas/ai/knowledge-kg-gate-status.schema.js +24 -0
- package/dist/schemas/ai/knowledge-search-generate.schema.d.ts +2 -0
- package/dist/schemas/ai/knowledge-search-generate.schema.js +6 -0
- package/dist/schemas/ai/manuscript-checks.schema.d.ts +6095 -0
- package/dist/schemas/ai/manuscript-checks.schema.js +440 -0
- package/dist/schemas/ai/model-policy/index.d.ts +9 -0
- package/dist/schemas/ai/model-policy/index.js +25 -0
- package/dist/schemas/ai/model-policy/model-mode-preset.schema.d.ts +83 -0
- package/dist/schemas/ai/model-policy/model-mode-preset.schema.js +20 -0
- package/dist/schemas/ai/model-policy/model-modes.schema.d.ts +13 -0
- package/dist/schemas/ai/model-policy/model-modes.schema.js +27 -0
- package/dist/schemas/ai/model-policy/model-policy-resolved.schema.d.ts +44 -0
- package/dist/schemas/ai/model-policy/model-policy-resolved.schema.js +27 -0
- package/dist/schemas/ai/model-policy/model-quality-summary.schema.d.ts +133 -0
- package/dist/schemas/ai/model-policy/model-quality-summary.schema.js +35 -0
- package/dist/schemas/ai/model-policy/model-usage-summary.schema.d.ts +204 -0
- package/dist/schemas/ai/model-policy/model-usage-summary.schema.js +38 -0
- package/dist/schemas/ai/model-policy/project-model-policy.schema.d.ts +1311 -0
- package/dist/schemas/ai/model-policy/project-model-policy.schema.js +33 -0
- package/dist/schemas/ai/model-policy/workflow-phase-model-override.schema.d.ts +66 -0
- package/dist/schemas/ai/model-policy/workflow-phase-model-override.schema.js +48 -0
- package/dist/schemas/ai/model-policy/workflow-step-ids.schema.d.ts +2 -0
- package/dist/schemas/ai/model-policy/workflow-step-ids.schema.js +24 -0
- package/dist/schemas/ai/model-policy/workflow-step-model-override.schema.d.ts +63 -0
- package/dist/schemas/ai/model-policy/workflow-step-model-override.schema.js +43 -0
- package/dist/schemas/ai/orchestration-generate-fields.schema.d.ts +9 -0
- package/dist/schemas/ai/orchestration-generate-fields.schema.js +8 -0
- package/dist/schemas/ai/payload-json-schemas.d.ts +110 -0
- package/dist/schemas/ai/payload-json-schemas.js +154 -0
- package/dist/schemas/ai/plan.schema.d.ts +137 -0
- package/dist/schemas/ai/plan.schema.js +36 -0
- package/dist/schemas/ai/refine-fields.schema.d.ts +34 -0
- package/dist/schemas/ai/refine-fields.schema.js +27 -0
- package/dist/schemas/ai/review-generate.schema.d.ts +35 -0
- package/dist/schemas/ai/review-generate.schema.js +15 -0
- package/dist/schemas/ai/review.schema.d.ts +77 -0
- package/dist/schemas/ai/review.schema.js +29 -0
- package/dist/schemas/ai/run-trace.schema.d.ts +105 -0
- package/dist/schemas/ai/run-trace.schema.js +43 -0
- package/dist/schemas/ai/schema-generate.schema.d.ts +185 -0
- package/dist/schemas/ai/schema-generate.schema.js +44 -0
- package/dist/schemas/ai/schema.schema.d.ts +205 -0
- package/dist/schemas/ai/schema.schema.js +50 -0
- package/dist/schemas/ai/screenplay.schema.d.ts +550 -0
- package/dist/schemas/ai/screenplay.schema.js +77 -0
- package/dist/schemas/ai/source-registry-generate.schema.d.ts +245 -0
- package/dist/schemas/ai/source-registry-generate.schema.js +41 -0
- package/dist/schemas/ai/spec.schema.d.ts +248 -0
- package/dist/schemas/ai/spec.schema.js +78 -0
- package/dist/schemas/ai/style-system-generate.schema.d.ts +319 -0
- package/dist/schemas/ai/style-system-generate.schema.js +67 -0
- package/dist/schemas/ai/tasks-kg-gate-status.schema.d.ts +24 -0
- package/dist/schemas/ai/tasks-kg-gate-status.schema.js +12 -0
- package/dist/schemas/ai/tasks.schema.d.ts +49 -0
- package/dist/schemas/ai/tasks.schema.js +17 -0
- package/dist/schemas/ai/ui-generation-standard.schema.d.ts +42 -0
- package/dist/schemas/ai/ui-generation-standard.schema.js +40 -0
- package/dist/schemas/ai/ui-kg-gate-status.schema.d.ts +42 -0
- package/dist/schemas/ai/ui-kg-gate-status.schema.js +18 -0
- package/dist/schemas/ai/ui.schema.d.ts +22 -0
- package/dist/schemas/ai/ui.schema.js +13 -0
- package/dist/schemas/ai/workflow-artifacts.schema.d.ts +36075 -0
- package/dist/schemas/ai/workflow-artifacts.schema.js +2829 -0
- package/dist/schemas/ai/workflow-execution-mode.schema.d.ts +4 -0
- package/dist/schemas/ai/workflow-execution-mode.schema.js +6 -0
- package/dist/schemas/ai/writing-draft-all-generate.schema.d.ts +3444 -0
- package/dist/schemas/ai/writing-draft-all-generate.schema.js +319 -0
- package/dist/schemas/ai/writing-tasks-generate.schema.d.ts +283 -0
- package/dist/schemas/ai/writing-tasks-generate.schema.js +52 -0
- package/dist/schemas/ai/zod-openai-json-schema.d.ts +2 -0
- package/dist/schemas/ai/zod-openai-json-schema.js +67 -0
- package/dist/schemas/ai-ci-generate.d.ts +47 -0
- package/dist/schemas/ai-ci-generate.js +19 -0
- package/dist/schemas/ai-llm-outputs.d.ts +52 -0
- package/dist/schemas/ai-llm-outputs.js +26 -0
- package/dist/schemas/api/create-orchestration-request.schema.d.ts +13 -0
- package/dist/schemas/api/create-orchestration-request.schema.js +10 -0
- package/dist/schemas/api/implement-orchestration-session.schema.d.ts +26 -0
- package/dist/schemas/api/implement-orchestration-session.schema.js +11 -0
- package/dist/schemas/api/orchestration-events-list-response.schema.d.ts +108 -0
- package/dist/schemas/api/orchestration-events-list-response.schema.js +27 -0
- package/dist/schemas/api/plans-list-response.schema.d.ts +203 -0
- package/dist/schemas/api/plans-list-response.schema.js +35 -0
- package/dist/schemas/api/project-model-usage-query.schema.d.ts +24 -0
- package/dist/schemas/api/project-model-usage-query.schema.js +42 -0
- package/dist/schemas/api/specs-list-response.schema.d.ts +78 -0
- package/dist/schemas/api/specs-list-response.schema.js +23 -0
- package/dist/schemas/api-envelope.schema.d.ts +131 -0
- package/dist/schemas/api-envelope.schema.js +60 -0
- package/dist/schemas/artifacts/artifact-upload-proxy.schema.d.ts +27 -0
- package/dist/schemas/artifacts/artifact-upload-proxy.schema.js +15 -0
- package/dist/schemas/assurance/assurance-mode.schema.d.ts +33 -0
- package/dist/schemas/assurance/assurance-mode.schema.js +25 -0
- package/dist/schemas/assurance/browser-outcome-proof.schema.d.ts +164 -0
- package/dist/schemas/assurance/browser-outcome-proof.schema.js +58 -0
- package/dist/schemas/assurance/computation-authority-registry.schema.d.ts +108 -0
- package/dist/schemas/assurance/computation-authority-registry.schema.js +36 -0
- package/dist/schemas/assurance/documentation-evidence.schema.d.ts +131 -0
- package/dist/schemas/assurance/documentation-evidence.schema.js +44 -0
- package/dist/schemas/assurance/domain-assurance-evidence-pack.schema.d.ts +743 -0
- package/dist/schemas/assurance/domain-assurance-evidence-pack.schema.js +28 -0
- package/dist/schemas/assurance/domain-assurance-verdict.schema.d.ts +40 -0
- package/dist/schemas/assurance/domain-assurance-verdict.schema.js +24 -0
- package/dist/schemas/assurance/domain-truth-brief.schema.d.ts +270 -0
- package/dist/schemas/assurance/domain-truth-brief.schema.js +73 -0
- package/dist/schemas/assurance/enterprise-targeting.schema.d.ts +46 -0
- package/dist/schemas/assurance/enterprise-targeting.schema.js +24 -0
- package/dist/schemas/assurance/gate-result.schema.d.ts +35 -0
- package/dist/schemas/assurance/gate-result.schema.js +35 -0
- package/dist/schemas/assurance/index.d.ts +13 -0
- package/dist/schemas/assurance/index.js +30 -0
- package/dist/schemas/assurance/provider-call-ledger.schema.d.ts +97 -0
- package/dist/schemas/assurance/provider-call-ledger.schema.js +36 -0
- package/dist/schemas/assurance/provider-ledger-response.schema.d.ts +113 -0
- package/dist/schemas/assurance/provider-ledger-response.schema.js +29 -0
- package/dist/schemas/assurance/release-verdict.schema.d.ts +87 -0
- package/dist/schemas/assurance/release-verdict.schema.js +47 -0
- package/dist/schemas/assurance/risk-class.schema.d.ts +30 -0
- package/dist/schemas/assurance/risk-class.schema.js +33 -0
- package/dist/schemas/audiobook/alice-pronunciation.schema.d.ts +80 -0
- package/dist/schemas/audiobook/alice-pronunciation.schema.js +45 -0
- package/dist/schemas/audiobook/audiobook-api.schema.d.ts +1937 -0
- package/dist/schemas/audiobook/audiobook-api.schema.js +201 -0
- package/dist/schemas/audiobook/audiobook-artifacts.schema.d.ts +4069 -0
- package/dist/schemas/audiobook/audiobook-artifacts.schema.js +469 -0
- package/dist/schemas/audiobook/audiobook-studio.schema.d.ts +670 -0
- package/dist/schemas/audiobook/audiobook-studio.schema.js +159 -0
- package/dist/schemas/audiobook/audiobook-validation.d.ts +227 -0
- package/dist/schemas/audiobook/audiobook-validation.js +23 -0
- package/dist/schemas/audiobook/chunk-narration-script.d.ts +17 -0
- package/dist/schemas/audiobook/chunk-narration-script.js +96 -0
- package/dist/schemas/audiobook/elevenlabs-provider.schema.d.ts +167 -0
- package/dist/schemas/audiobook/elevenlabs-provider.schema.js +93 -0
- package/dist/schemas/audiobook/index.d.ts +8 -0
- package/dist/schemas/audiobook/index.js +24 -0
- package/dist/schemas/audiobook/narration-chunk.schema.d.ts +114 -0
- package/dist/schemas/audiobook/narration-chunk.schema.js +38 -0
- package/dist/schemas/audiobook-embed/audiobook-embed.schema.d.ts +1732 -0
- package/dist/schemas/audiobook-embed/audiobook-embed.schema.js +259 -0
- package/dist/schemas/auth/session-context.schema.d.ts +177 -0
- package/dist/schemas/auth/session-context.schema.js +40 -0
- package/dist/schemas/cache/cache-ai-response.schema.d.ts +50 -0
- package/dist/schemas/cache/cache-ai-response.schema.js +28 -0
- package/dist/schemas/ci/ci-allow-skip-actionlint-patch.schema.d.ts +16 -0
- package/dist/schemas/ci/ci-allow-skip-actionlint-patch.schema.js +12 -0
- package/dist/schemas/ci/ci-apply-post-success.schema.d.ts +24 -0
- package/dist/schemas/ci/ci-apply-post-success.schema.js +15 -0
- package/dist/schemas/ci/ci-canonical-readiness.schema.d.ts +155 -0
- package/dist/schemas/ci/ci-canonical-readiness.schema.js +47 -0
- package/dist/schemas/ci/ci-dispatch-post.schema.d.ts +34 -0
- package/dist/schemas/ci/ci-dispatch-post.schema.js +20 -0
- package/dist/schemas/ci/ci-ingest-post.schema.d.ts +37 -0
- package/dist/schemas/ci/ci-ingest-post.schema.js +22 -0
- package/dist/schemas/ci/ci-operator-ready-patch.schema.d.ts +13 -0
- package/dist/schemas/ci/ci-operator-ready-patch.schema.js +11 -0
- package/dist/schemas/ci/ci-pipeline-status.schema.d.ts +3 -0
- package/dist/schemas/ci/ci-pipeline-status.schema.js +13 -0
- package/dist/schemas/ci/ci-run.schema.d.ts +44 -0
- package/dist/schemas/ci/ci-run.schema.js +27 -0
- package/dist/schemas/ci/ci-runs-list-response.schema.d.ts +91 -0
- package/dist/schemas/ci/ci-runs-list-response.schema.js +13 -0
- package/dist/schemas/ci/ci-status-get.schema.d.ts +155 -0
- package/dist/schemas/ci/ci-status-get.schema.js +12 -0
- package/dist/schemas/ci/ci-status-response.schema.d.ts +554 -0
- package/dist/schemas/ci/ci-status-response.schema.js +151 -0
- package/dist/schemas/ci/index.d.ts +12 -0
- package/dist/schemas/ci/index.js +28 -0
- package/dist/schemas/ci/pr-check-run.schema.d.ts +44 -0
- package/dist/schemas/ci/pr-check-run.schema.js +21 -0
- package/dist/schemas/ci/project-engine-context.schema.d.ts +70 -0
- package/dist/schemas/ci/project-engine-context.schema.js +26 -0
- package/dist/schemas/community/community-actor-comment-body.schema.d.ts +9 -0
- package/dist/schemas/community/community-actor-comment-body.schema.js +9 -0
- package/dist/schemas/community/community-actor-universe-vote.schema.d.ts +10 -0
- package/dist/schemas/community/community-actor-universe-vote.schema.js +10 -0
- package/dist/schemas/community/community-ad-capi.schema.d.ts +77 -0
- package/dist/schemas/community/community-ad-capi.schema.js +42 -0
- package/dist/schemas/community/community-billing-checkout.schema.d.ts +31 -0
- package/dist/schemas/community/community-billing-checkout.schema.js +43 -0
- package/dist/schemas/community/community-challenge.schema.d.ts +43 -0
- package/dist/schemas/community/community-challenge.schema.js +21 -0
- package/dist/schemas/community/community-content-translation.schema.d.ts +99 -0
- package/dist/schemas/community/community-content-translation.schema.js +63 -0
- package/dist/schemas/community/community-credit-transaction.schema.d.ts +36 -0
- package/dist/schemas/community/community-credit-transaction.schema.js +19 -0
- package/dist/schemas/community/community-development-input.schema.d.ts +20 -0
- package/dist/schemas/community/community-development-input.schema.js +16 -0
- package/dist/schemas/community/community-development-room.schema.d.ts +28 -0
- package/dist/schemas/community/community-development-room.schema.js +16 -0
- package/dist/schemas/community/community-email.schema.d.ts +96 -0
- package/dist/schemas/community/community-email.schema.js +65 -0
- package/dist/schemas/community/community-film-playback.schema.d.ts +287 -0
- package/dist/schemas/community/community-film-playback.schema.js +52 -0
- package/dist/schemas/community/community-film-video-variant.schema.d.ts +94 -0
- package/dist/schemas/community/community-film-video-variant.schema.js +53 -0
- package/dist/schemas/community/community-film-world-marketing.schema.d.ts +27 -0
- package/dist/schemas/community/community-film-world-marketing.schema.js +67 -0
- package/dist/schemas/community/community-film.schema.d.ts +183 -0
- package/dist/schemas/community/community-film.schema.js +105 -0
- package/dist/schemas/community/community-idea-promote.schema.d.ts +4 -0
- package/dist/schemas/community/community-idea-promote.schema.js +6 -0
- package/dist/schemas/community/community-idea-submission.schema.d.ts +54 -0
- package/dist/schemas/community/community-idea-submission.schema.js +22 -0
- package/dist/schemas/community/community-idea-version.schema.d.ts +72 -0
- package/dist/schemas/community/community-idea-version.schema.js +28 -0
- package/dist/schemas/community/community-idea.schema.d.ts +71 -0
- package/dist/schemas/community/community-idea.schema.js +36 -0
- package/dist/schemas/community/community-locale.schema.d.ts +8 -0
- package/dist/schemas/community/community-locale.schema.js +10 -0
- package/dist/schemas/community/community-membership-monthly-credits.d.ts +4 -0
- package/dist/schemas/community/community-membership-monthly-credits.js +18 -0
- package/dist/schemas/community/community-membership.schema.d.ts +34 -0
- package/dist/schemas/community/community-membership.schema.js +19 -0
- package/dist/schemas/community/community-moderation-flag.schema.d.ts +31 -0
- package/dist/schemas/community/community-moderation-flag.schema.js +17 -0
- package/dist/schemas/community/community-movie-actor-blueprint.schema.d.ts +196 -0
- package/dist/schemas/community/community-movie-actor-blueprint.schema.js +30 -0
- package/dist/schemas/community/community-movie-actor-card.schema.d.ts +37 -0
- package/dist/schemas/community/community-movie-actor-card.schema.js +20 -0
- package/dist/schemas/community/community-movie-actor-create-request.schema.d.ts +102 -0
- package/dist/schemas/community/community-movie-actor-create-request.schema.js +24 -0
- package/dist/schemas/community/community-movie-actor-create-response.schema.d.ts +35 -0
- package/dist/schemas/community/community-movie-actor-create-response.schema.js +12 -0
- package/dist/schemas/community/community-movie-actor-gate-result.schema.d.ts +15 -0
- package/dist/schemas/community/community-movie-actor-gate-result.schema.js +11 -0
- package/dist/schemas/community/community-movie-actor-image-prompt-pack.schema.d.ts +22 -0
- package/dist/schemas/community/community-movie-actor-image-prompt-pack.schema.js +14 -0
- package/dist/schemas/community/community-movie-actor-kg-seed.schema.d.ts +68 -0
- package/dist/schemas/community/community-movie-actor-kg-seed.schema.js +31 -0
- package/dist/schemas/community/community-movie-actor-option-selection.schema.d.ts +43 -0
- package/dist/schemas/community/community-movie-actor-option-selection.schema.js +22 -0
- package/dist/schemas/community/community-movie-actor-portrait-url.schema.d.ts +10 -0
- package/dist/schemas/community/community-movie-actor-portrait-url.schema.js +10 -0
- package/dist/schemas/community/community-movie-actor-vote-response.schema.d.ts +13 -0
- package/dist/schemas/community/community-movie-actor-vote-response.schema.js +9 -0
- package/dist/schemas/community/community-movie-canonical-character.schema.d.ts +78 -0
- package/dist/schemas/community/community-movie-canonical-character.schema.js +104 -0
- package/dist/schemas/community/community-movie-gallery.schema.d.ts +28 -0
- package/dist/schemas/community/community-movie-gallery.schema.js +90 -0
- package/dist/schemas/community/community-movie-gate-result.schema.d.ts +46 -0
- package/dist/schemas/community/community-movie-gate-result.schema.js +23 -0
- package/dist/schemas/community/community-movie-idea-card.schema.d.ts +31 -0
- package/dist/schemas/community/community-movie-idea-card.schema.js +17 -0
- package/dist/schemas/community/community-movie-idea-input.schema.d.ts +22 -0
- package/dist/schemas/community/community-movie-idea-input.schema.js +14 -0
- package/dist/schemas/community/community-movie-idea-structured.schema.d.ts +34 -0
- package/dist/schemas/community/community-movie-idea-structured.schema.js +20 -0
- package/dist/schemas/community/community-movie-kg-seed.schema.d.ts +73 -0
- package/dist/schemas/community/community-movie-kg-seed.schema.js +84 -0
- package/dist/schemas/community/community-movie-stage-transitions.d.ts +15 -0
- package/dist/schemas/community/community-movie-stage-transitions.js +35 -0
- package/dist/schemas/community/community-movie-world-cta.schema.d.ts +75 -0
- package/dist/schemas/community/community-movie-world-cta.schema.js +83 -0
- package/dist/schemas/community/community-partner-offers.d.ts +13 -0
- package/dist/schemas/community/community-partner-offers.js +22 -0
- package/dist/schemas/community/community-partner.schema.d.ts +41 -0
- package/dist/schemas/community/community-partner.schema.js +23 -0
- package/dist/schemas/community/community-poll.schema.d.ts +54 -0
- package/dist/schemas/community/community-poll.schema.js +27 -0
- package/dist/schemas/community/community-production-operator.schema.d.ts +320 -0
- package/dist/schemas/community/community-production-operator.schema.js +91 -0
- package/dist/schemas/community/community-referral.schema.d.ts +155 -0
- package/dist/schemas/community/community-referral.schema.js +63 -0
- package/dist/schemas/community/community-signup-intake.constants.d.ts +13 -0
- package/dist/schemas/community/community-signup-intake.constants.js +134 -0
- package/dist/schemas/community/community-signup-intake.schema.d.ts +87 -0
- package/dist/schemas/community/community-signup-intake.schema.js +82 -0
- package/dist/schemas/community/community-slate.schema.d.ts +60 -0
- package/dist/schemas/community/community-slate.schema.js +29 -0
- package/dist/schemas/community/community-stage-transition.schema.d.ts +33 -0
- package/dist/schemas/community/community-stage-transition.schema.js +18 -0
- package/dist/schemas/community/community-suggestion.schema.d.ts +35 -0
- package/dist/schemas/community/community-suggestion.schema.js +24 -0
- package/dist/schemas/community/community-vote.schema.d.ts +24 -0
- package/dist/schemas/community/community-vote.schema.js +14 -0
- package/dist/schemas/community/community-waitlist.schema.d.ts +12 -0
- package/dist/schemas/community/community-waitlist.schema.js +10 -0
- package/dist/schemas/community/community-world-contribution.schema.d.ts +102 -0
- package/dist/schemas/community/community-world-contribution.schema.js +86 -0
- package/dist/schemas/community/credit-disclosure-variant.schema.d.ts +4 -0
- package/dist/schemas/community/credit-disclosure-variant.schema.js +6 -0
- package/dist/schemas/community/index.d.ts +56 -0
- package/dist/schemas/community/index.js +72 -0
- package/dist/schemas/cortex/bridge-envelope.schema.d.ts +70 -0
- package/dist/schemas/cortex/bridge-envelope.schema.js +77 -0
- package/dist/schemas/cortex/bridge-event-catalogue.d.ts +14 -0
- package/dist/schemas/cortex/bridge-event-catalogue.js +138 -0
- package/dist/schemas/cortex/bridge-events.schema.d.ts +12554 -0
- package/dist/schemas/cortex/bridge-events.schema.js +793 -0
- package/dist/schemas/cortex/bridge-readiness.schema.d.ts +27 -0
- package/dist/schemas/cortex/bridge-readiness.schema.js +15 -0
- package/dist/schemas/cortex/film-bridge-events.schema.d.ts +301 -0
- package/dist/schemas/cortex/film-bridge-events.schema.js +116 -0
- package/dist/schemas/cortex/index.d.ts +7 -0
- package/dist/schemas/cortex/index.js +23 -0
- package/dist/schemas/cortex/product-release-package.schema.d.ts +370 -0
- package/dist/schemas/cortex/product-release-package.schema.js +123 -0
- package/dist/schemas/cortex/proof-run-recorder.schema.d.ts +144 -0
- package/dist/schemas/cortex/proof-run-recorder.schema.js +43 -0
- package/dist/schemas/deployments/deployment-predict.schema.d.ts +165 -0
- package/dist/schemas/deployments/deployment-predict.schema.js +92 -0
- package/dist/schemas/deployments/deployment-preflight.schema.d.ts +184 -0
- package/dist/schemas/deployments/deployment-preflight.schema.js +80 -0
- package/dist/schemas/deployments/deployment-rollback.schema.d.ts +519 -0
- package/dist/schemas/deployments/deployment-rollback.schema.js +102 -0
- package/dist/schemas/deployments/deployment-status.schema.d.ts +1359 -0
- package/dist/schemas/deployments/deployment-status.schema.js +421 -0
- package/dist/schemas/film/film-artifact-kind.schema.d.ts +2 -0
- package/dist/schemas/film/film-artifact-kind.schema.js +6 -0
- package/dist/schemas/film/film-artifact-payloads.schema.d.ts +532 -0
- package/dist/schemas/film/film-artifact-payloads.schema.js +174 -0
- package/dist/schemas/film/film-asset-review.schema.d.ts +83 -0
- package/dist/schemas/film/film-asset-review.schema.js +42 -0
- package/dist/schemas/film/film-asset-rights-profile.schema.d.ts +68 -0
- package/dist/schemas/film/film-asset-rights-profile.schema.js +33 -0
- package/dist/schemas/film/film-character-pack-api.schema.d.ts +216 -0
- package/dist/schemas/film/film-character-pack-api.schema.js +51 -0
- package/dist/schemas/film/film-character-pack.schema.d.ts +51 -0
- package/dist/schemas/film/film-character-pack.schema.js +24 -0
- package/dist/schemas/film/film-character-scene-state.schema.d.ts +36 -0
- package/dist/schemas/film/film-character-scene-state.schema.js +18 -0
- package/dist/schemas/film/film-clip-api.schema.d.ts +379 -0
- package/dist/schemas/film/film-clip-api.schema.js +159 -0
- package/dist/schemas/film/film-clip-review-orchestration.schema.d.ts +234 -0
- package/dist/schemas/film/film-clip-review-orchestration.schema.js +23 -0
- package/dist/schemas/film/film-clip-review-scores.schema.d.ts +51 -0
- package/dist/schemas/film/film-clip-review-scores.schema.js +49 -0
- package/dist/schemas/film/film-clip-structured-review-artifact.schema.d.ts +175 -0
- package/dist/schemas/film/film-clip-structured-review-artifact.schema.js +15 -0
- package/dist/schemas/film/film-clip-structured-review.schema.d.ts +267 -0
- package/dist/schemas/film/film-clip-structured-review.schema.js +54 -0
- package/dist/schemas/film/film-clip.schema.d.ts +171 -0
- package/dist/schemas/film/film-clip.schema.js +64 -0
- package/dist/schemas/film/film-comfyui-workflow-create.schema.d.ts +39 -0
- package/dist/schemas/film/film-comfyui-workflow-create.schema.js +20 -0
- package/dist/schemas/film/film-comfyui-workflow-update.schema.d.ts +54 -0
- package/dist/schemas/film/film-comfyui-workflow-update.schema.js +28 -0
- package/dist/schemas/film/film-comfyui-workflow.schema.d.ts +188 -0
- package/dist/schemas/film/film-comfyui-workflow.schema.js +65 -0
- package/dist/schemas/film/film-creative-read-model.schema.d.ts +675 -0
- package/dist/schemas/film/film-creative-read-model.schema.js +66 -0
- package/dist/schemas/film/film-deliverable.schema.d.ts +656 -0
- package/dist/schemas/film/film-deliverable.schema.js +252 -0
- package/dist/schemas/film/film-edit-sequence.schema.d.ts +1112 -0
- package/dist/schemas/film/film-edit-sequence.schema.js +106 -0
- package/dist/schemas/film/film-elevenlabs-voice.schema.d.ts +126 -0
- package/dist/schemas/film/film-elevenlabs-voice.schema.js +56 -0
- package/dist/schemas/film/film-enqueue-multi-take.schema.d.ts +57 -0
- package/dist/schemas/film/film-enqueue-multi-take.schema.js +24 -0
- package/dist/schemas/film/film-export.schema.d.ts +78 -0
- package/dist/schemas/film/film-export.schema.js +37 -0
- package/dist/schemas/film/film-generation-dashboard.schema.d.ts +1779 -0
- package/dist/schemas/film/film-generation-dashboard.schema.js +222 -0
- package/dist/schemas/film/film-generation-package.schema.d.ts +1665 -0
- package/dist/schemas/film/film-generation-package.schema.js +116 -0
- package/dist/schemas/film/film-generation-task.schema.d.ts +1086 -0
- package/dist/schemas/film/film-generation-task.schema.js +159 -0
- package/dist/schemas/film/film-hydrate.schema.d.ts +46 -0
- package/dist/schemas/film/film-hydrate.schema.js +23 -0
- package/dist/schemas/film/film-keyframe-brief.schema.d.ts +99 -0
- package/dist/schemas/film/film-keyframe-brief.schema.js +29 -0
- package/dist/schemas/film/film-keyframe-review.schema.d.ts +186 -0
- package/dist/schemas/film/film-keyframe-review.schema.js +25 -0
- package/dist/schemas/film/film-keyframe.schema.d.ts +214 -0
- package/dist/schemas/film/film-keyframe.schema.js +43 -0
- package/dist/schemas/film/film-lessons-manifest.schema.d.ts +589 -0
- package/dist/schemas/film/film-lessons-manifest.schema.js +83 -0
- package/dist/schemas/film/film-llm-field.d.ts +22 -0
- package/dist/schemas/film/film-llm-field.js +78 -0
- package/dist/schemas/film/film-location-pack.schema.d.ts +51 -0
- package/dist/schemas/film/film-location-pack.schema.js +24 -0
- package/dist/schemas/film/film-marketing-creative-api.schema.d.ts +276 -0
- package/dist/schemas/film/film-marketing-creative-api.schema.js +47 -0
- package/dist/schemas/film/film-marketing-creative.schema.d.ts +74 -0
- package/dist/schemas/film/film-marketing-creative.schema.js +58 -0
- package/dist/schemas/film/film-marketing-format-preset.schema.d.ts +22 -0
- package/dist/schemas/film/film-marketing-format-preset.schema.js +71 -0
- package/dist/schemas/film/film-media-asset-file.schema.d.ts +59 -0
- package/dist/schemas/film/film-media-asset-file.schema.js +45 -0
- package/dist/schemas/film/film-media-asset-promotion-api.schema.d.ts +219 -0
- package/dist/schemas/film/film-media-asset-promotion-api.schema.js +29 -0
- package/dist/schemas/film/film-media-asset-review-api.schema.d.ts +431 -0
- package/dist/schemas/film/film-media-asset-review-api.schema.js +41 -0
- package/dist/schemas/film/film-media-asset.schema.d.ts +131 -0
- package/dist/schemas/film/film-media-asset.schema.js +94 -0
- package/dist/schemas/film/film-media-kg.schema.d.ts +86 -0
- package/dist/schemas/film/film-media-kg.schema.js +70 -0
- package/dist/schemas/film/film-ofi-report.schema.d.ts +437 -0
- package/dist/schemas/film/film-ofi-report.schema.js +65 -0
- package/dist/schemas/film/film-otio-sidecar.schema.d.ts +136 -0
- package/dist/schemas/film/film-otio-sidecar.schema.js +28 -0
- package/dist/schemas/film/film-production-coverage.schema.d.ts +179 -0
- package/dist/schemas/film/film-production-coverage.schema.js +123 -0
- package/dist/schemas/film/film-production-graph.schema.d.ts +273 -0
- package/dist/schemas/film/film-production-graph.schema.js +43 -0
- package/dist/schemas/film/film-production-read-model.schema.d.ts +1038 -0
- package/dist/schemas/film/film-production-read-model.schema.js +65 -0
- package/dist/schemas/film/film-production-style.schema.d.ts +31 -0
- package/dist/schemas/film/film-production-style.schema.js +50 -0
- package/dist/schemas/film/film-project.schema.d.ts +115 -0
- package/dist/schemas/film/film-project.schema.js +50 -0
- package/dist/schemas/film/film-prompt-compiler.schema.d.ts +346 -0
- package/dist/schemas/film/film-prompt-compiler.schema.js +116 -0
- package/dist/schemas/film/film-prompt-performance.schema.d.ts +77 -0
- package/dist/schemas/film/film-prompt-performance.schema.js +37 -0
- package/dist/schemas/film/film-prompt-repair.schema.d.ts +41 -0
- package/dist/schemas/film/film-prompt-repair.schema.js +36 -0
- package/dist/schemas/film/film-prompt.schema.d.ts +265 -0
- package/dist/schemas/film/film-prompt.schema.js +47 -0
- package/dist/schemas/film/film-provider-hints.schema.d.ts +105 -0
- package/dist/schemas/film/film-provider-hints.schema.js +50 -0
- package/dist/schemas/film/film-provider-job.schema.d.ts +320 -0
- package/dist/schemas/film/film-provider-job.schema.js +181 -0
- package/dist/schemas/film/film-provider.schema.d.ts +100 -0
- package/dist/schemas/film/film-provider.schema.js +51 -0
- package/dist/schemas/film/film-queue-enqueue.schema.d.ts +423 -0
- package/dist/schemas/film/film-queue-enqueue.schema.js +98 -0
- package/dist/schemas/film/film-queue-task-detail.schema.d.ts +981 -0
- package/dist/schemas/film/film-queue-task-detail.schema.js +57 -0
- package/dist/schemas/film/film-reference-pack.schema.d.ts +48 -0
- package/dist/schemas/film/film-reference-pack.schema.js +23 -0
- package/dist/schemas/film/film-regeneration-plan.schema.d.ts +124 -0
- package/dist/schemas/film/film-regeneration-plan.schema.js +62 -0
- package/dist/schemas/film/film-resolve-ingest.schema.d.ts +278 -0
- package/dist/schemas/film/film-resolve-ingest.schema.js +35 -0
- package/dist/schemas/film/film-resolve-timeline-report.schema.d.ts +323 -0
- package/dist/schemas/film/film-resolve-timeline-report.schema.js +43 -0
- package/dist/schemas/film/film-review.schema.d.ts +65 -0
- package/dist/schemas/film/film-review.schema.js +47 -0
- package/dist/schemas/film/film-scene.schema.d.ts +175 -0
- package/dist/schemas/film/film-scene.schema.js +38 -0
- package/dist/schemas/film/film-screenplay.schema.d.ts +215 -0
- package/dist/schemas/film/film-screenplay.schema.js +38 -0
- package/dist/schemas/film/film-shot-risk-assessment.schema.d.ts +27 -0
- package/dist/schemas/film/film-shot-risk-assessment.schema.js +16 -0
- package/dist/schemas/film/film-shot-risk-level.schema.d.ts +5 -0
- package/dist/schemas/film/film-shot-risk-level.schema.js +7 -0
- package/dist/schemas/film/film-shot.schema.d.ts +564 -0
- package/dist/schemas/film/film-shot.schema.js +96 -0
- package/dist/schemas/film/film-still-review-artifact.schema.d.ts +154 -0
- package/dist/schemas/film/film-still-review-artifact.schema.js +15 -0
- package/dist/schemas/film/film-still-review-scores.schema.d.ts +161 -0
- package/dist/schemas/film/film-still-review-scores.schema.js +48 -0
- package/dist/schemas/film/film-take-comparison.schema.d.ts +437 -0
- package/dist/schemas/film/film-take-comparison.schema.js +73 -0
- package/dist/schemas/film/film-training-dataset-api.schema.d.ts +641 -0
- package/dist/schemas/film/film-training-dataset-api.schema.js +86 -0
- package/dist/schemas/film/film-training-dataset.schema.d.ts +171 -0
- package/dist/schemas/film/film-training-dataset.schema.js +69 -0
- package/dist/schemas/film/film-wardrobe-state.schema.d.ts +42 -0
- package/dist/schemas/film/film-wardrobe-state.schema.js +21 -0
- package/dist/schemas/film/film-workbench.schema.d.ts +379 -0
- package/dist/schemas/film/film-workbench.schema.js +58 -0
- package/dist/schemas/film/film-workflow-lineage.schema.d.ts +166 -0
- package/dist/schemas/film/film-workflow-lineage.schema.js +83 -0
- package/dist/schemas/film/film-world-ontology.schema.d.ts +250 -0
- package/dist/schemas/film/film-world-ontology.schema.js +79 -0
- package/dist/schemas/film/image-generation-provider.schema.d.ts +392 -0
- package/dist/schemas/film/image-generation-provider.schema.js +55 -0
- package/dist/schemas/film/index.d.ts +81 -0
- package/dist/schemas/film/index.js +97 -0
- package/dist/schemas/github/branches.schema.d.ts +61 -0
- package/dist/schemas/github/branches.schema.js +17 -0
- package/dist/schemas/github/issues.schema.d.ts +145 -0
- package/dist/schemas/github/issues.schema.js +27 -0
- package/dist/schemas/github/pulls.schema.d.ts +173 -0
- package/dist/schemas/github/pulls.schema.js +30 -0
- package/dist/schemas/github/repo-create.schema.d.ts +21 -0
- package/dist/schemas/github/repo-create.schema.js +11 -0
- package/dist/schemas/github/webhook-delivery.schema.d.ts +729 -0
- package/dist/schemas/github/webhook-delivery.schema.js +142 -0
- package/dist/schemas/github/workflow-runs.schema.d.ts +173 -0
- package/dist/schemas/github/workflow-runs.schema.js +52 -0
- package/dist/schemas/github-pr-create.schema.d.ts +175 -0
- package/dist/schemas/github-pr-create.schema.js +70 -0
- package/dist/schemas/github-status.schema.d.ts +418 -0
- package/dist/schemas/github-status.schema.js +122 -0
- package/dist/schemas/graph/edge-v2.schema.d.ts +85 -0
- package/dist/schemas/graph/edge-v2.schema.js +164 -0
- package/dist/schemas/graph/graph-query-v2.schema.d.ts +449 -0
- package/dist/schemas/graph/graph-query-v2.schema.js +83 -0
- package/dist/schemas/graph/index.d.ts +14 -0
- package/dist/schemas/graph/index.js +30 -0
- package/dist/schemas/graph/node-v2.schema.d.ts +68 -0
- package/dist/schemas/graph/node-v2.schema.js +120 -0
- package/dist/schemas/graph/sql-security-findings.schema.d.ts +71 -0
- package/dist/schemas/graph/sql-security-findings.schema.js +40 -0
- package/dist/schemas/guardian/guardian-score.schema.d.ts +13 -0
- package/dist/schemas/guardian/guardian-score.schema.js +24 -0
- package/dist/schemas/guardian/validate.schema.d.ts +51 -0
- package/dist/schemas/guardian/validate.schema.js +36 -0
- package/dist/schemas/implement/nextjs-scaffold-manifest.schema.d.ts +44 -0
- package/dist/schemas/implement/nextjs-scaffold-manifest.schema.js +25 -0
- package/dist/schemas/implement/patch-validation-diagnostic.schema.d.ts +17 -0
- package/dist/schemas/implement/patch-validation-diagnostic.schema.js +19 -0
- package/dist/schemas/implement-patch-detail.schema.d.ts +344 -0
- package/dist/schemas/implement-patch-detail.schema.js +78 -0
- package/dist/schemas/implement-patch-lifecycle.schema.d.ts +66 -0
- package/dist/schemas/implement-patch-lifecycle.schema.js +317 -0
- package/dist/schemas/implement-patch-task.schema.d.ts +29 -0
- package/dist/schemas/implement-patch-task.schema.js +26 -0
- package/dist/schemas/implement-patch.schema.d.ts +2955 -0
- package/dist/schemas/implement-patch.schema.js +573 -0
- package/dist/schemas/implement-quarantine.schema.d.ts +215 -0
- package/dist/schemas/implement-quarantine.schema.js +71 -0
- package/dist/schemas/index.d.ts +5249 -0
- package/dist/schemas/index.js +1649 -0
- package/dist/schemas/integrations/cursor-execution.schema.d.ts +530 -0
- package/dist/schemas/integrations/cursor-execution.schema.js +104 -0
- package/dist/schemas/integrations.d.ts +426 -0
- package/dist/schemas/integrations.js +149 -0
- package/dist/schemas/knowledge/api-retry-kg-persistence.schema.d.ts +130 -0
- package/dist/schemas/knowledge/api-retry-kg-persistence.schema.js +28 -0
- package/dist/schemas/knowledge/constitution-retry-kg-persistence.schema.d.ts +46 -0
- package/dist/schemas/knowledge/constitution-retry-kg-persistence.schema.js +12 -0
- package/dist/schemas/knowledge/coverage.schema.d.ts +98 -0
- package/dist/schemas/knowledge/coverage.schema.js +27 -0
- package/dist/schemas/knowledge/duplicates.schema.d.ts +62 -0
- package/dist/schemas/knowledge/duplicates.schema.js +23 -0
- package/dist/schemas/knowledge/graph-query.schema.d.ts +9 -0
- package/dist/schemas/knowledge/graph-query.schema.js +7 -0
- package/dist/schemas/knowledge/guardian-retry-kg-persistence.schema.d.ts +40 -0
- package/dist/schemas/knowledge/guardian-retry-kg-persistence.schema.js +12 -0
- package/dist/schemas/knowledge/implement-retry-kg-persistence.schema.d.ts +49 -0
- package/dist/schemas/knowledge/implement-retry-kg-persistence.schema.js +14 -0
- package/dist/schemas/knowledge/kg-generation-writers.schema.d.ts +338 -0
- package/dist/schemas/knowledge/kg-generation-writers.schema.js +73 -0
- package/dist/schemas/knowledge/kg-relations.schema.d.ts +70 -0
- package/dist/schemas/knowledge/kg-relations.schema.js +157 -0
- package/dist/schemas/knowledge/knowledge-graph-summary.schema.d.ts +170 -0
- package/dist/schemas/knowledge/knowledge-graph-summary.schema.js +43 -0
- package/dist/schemas/knowledge/knowledge-node-provenance.schema.d.ts +41 -0
- package/dist/schemas/knowledge/knowledge-node-provenance.schema.js +21 -0
- package/dist/schemas/knowledge/knowledge-retry-kg-persistence.schema.d.ts +76 -0
- package/dist/schemas/knowledge/knowledge-retry-kg-persistence.schema.js +14 -0
- package/dist/schemas/knowledge/knowledge-search.schema.d.ts +29 -0
- package/dist/schemas/knowledge/knowledge-search.schema.js +17 -0
- package/dist/schemas/knowledge/lineage.schema.d.ts +70 -0
- package/dist/schemas/knowledge/lineage.schema.js +28 -0
- package/dist/schemas/knowledge/project-brief-knowledge-node.schema.d.ts +45 -0
- package/dist/schemas/knowledge/project-brief-knowledge-node.schema.js +30 -0
- package/dist/schemas/knowledge/review-readiness.schema.d.ts +104 -0
- package/dist/schemas/knowledge/review-readiness.schema.js +30 -0
- package/dist/schemas/knowledge/sync-prs.schema.d.ts +54 -0
- package/dist/schemas/knowledge/sync-prs.schema.js +21 -0
- package/dist/schemas/knowledge/tasks-retry-kg-persistence.schema.d.ts +37 -0
- package/dist/schemas/knowledge/tasks-retry-kg-persistence.schema.js +14 -0
- package/dist/schemas/knowledge/ui-retry-kg-persistence.schema.d.ts +58 -0
- package/dist/schemas/knowledge/ui-retry-kg-persistence.schema.js +14 -0
- package/dist/schemas/knowledge-graph-response.schema.d.ts +376 -0
- package/dist/schemas/knowledge-graph-response.schema.js +56 -0
- package/dist/schemas/logging/logger-context.schema.d.ts +21 -0
- package/dist/schemas/logging/logger-context.schema.js +11 -0
- package/dist/schemas/metrics/project-kpi-summary.schema.d.ts +368 -0
- package/dist/schemas/metrics/project-kpi-summary.schema.js +80 -0
- package/dist/schemas/orchestration/durable-stage-progress.schema.d.ts +57 -0
- package/dist/schemas/orchestration/durable-stage-progress.schema.js +34 -0
- package/dist/schemas/orchestration-execution.d.ts +158 -0
- package/dist/schemas/orchestration-execution.js +88 -0
- package/dist/schemas/project-bmad-settings-patch.schema.d.ts +66 -0
- package/dist/schemas/project-bmad-settings-patch.schema.js +29 -0
- package/dist/schemas/project-kind.schema.d.ts +70 -0
- package/dist/schemas/project-kind.schema.js +38 -0
- package/dist/schemas/project-team.d.ts +48 -0
- package/dist/schemas/project-team.js +52 -0
- package/dist/schemas/projects/nl-kg-v2-enabled.schema.d.ts +10 -0
- package/dist/schemas/projects/nl-kg-v2-enabled.schema.js +16 -0
- package/dist/schemas/provider-sentinel/cleanup-manifest.schema.d.ts +78 -0
- package/dist/schemas/provider-sentinel/cleanup-manifest.schema.js +27 -0
- package/dist/schemas/provider-sentinel/execution-evidence.schema.d.ts +228 -0
- package/dist/schemas/provider-sentinel/execution-evidence.schema.js +78 -0
- package/dist/schemas/provider-sentinel/film-media-sentinel-config.schema.d.ts +55 -0
- package/dist/schemas/provider-sentinel/film-media-sentinel-config.schema.js +33 -0
- package/dist/schemas/provider-sentinel/index.d.ts +6 -0
- package/dist/schemas/provider-sentinel/index.js +22 -0
- package/dist/schemas/provider-sentinel/provider-sentinel-common.schema.d.ts +8 -0
- package/dist/schemas/provider-sentinel/provider-sentinel-common.schema.js +9 -0
- package/dist/schemas/provider-sentinel/provider-sentinel-result.schema.d.ts +743 -0
- package/dist/schemas/provider-sentinel/provider-sentinel-result.schema.js +126 -0
- package/dist/schemas/provider-sentinel/text-durable-sentinel-config.schema.d.ts +51 -0
- package/dist/schemas/provider-sentinel/text-durable-sentinel-config.schema.js +30 -0
- package/dist/schemas/publication/manuscript-export.schema.d.ts +249 -0
- package/dist/schemas/publication/manuscript-export.schema.js +47 -0
- package/dist/schemas/repo/repo-scan-run.schema.d.ts +60 -0
- package/dist/schemas/repo/repo-scan-run.schema.js +34 -0
- package/dist/schemas/repos/project-repo-link.schema.d.ts +148 -0
- package/dist/schemas/repos/project-repo-link.schema.js +28 -0
- package/dist/schemas/repos/repo-readiness.schema.d.ts +26 -0
- package/dist/schemas/repos/repo-readiness.schema.js +23 -0
- package/dist/schemas/repos/repo-scan.schema.d.ts +379 -0
- package/dist/schemas/repos/repo-scan.schema.js +98 -0
- package/dist/schemas/review/review-coverage.schema.d.ts +2238 -0
- package/dist/schemas/review/review-coverage.schema.js +182 -0
- package/dist/schemas/review/review-policy.schema.d.ts +87 -0
- package/dist/schemas/review/review-policy.schema.js +42 -0
- package/dist/schemas/runtime/index.d.ts +6 -0
- package/dist/schemas/runtime/index.js +22 -0
- package/dist/schemas/runtime/platform-health.schema.d.ts +83 -0
- package/dist/schemas/runtime/platform-health.schema.js +31 -0
- package/dist/schemas/runtime/probe-harness-gen.schema.d.ts +456 -0
- package/dist/schemas/runtime/probe-harness-gen.schema.js +91 -0
- package/dist/schemas/runtime/probe.schema.d.ts +1117 -0
- package/dist/schemas/runtime/probe.schema.js +278 -0
- package/dist/schemas/runtime/runtime-knowledge-node.schema.d.ts +862 -0
- package/dist/schemas/runtime/runtime-knowledge-node.schema.js +29 -0
- package/dist/schemas/runtime/runtime-loop.schema.d.ts +175 -0
- package/dist/schemas/runtime/runtime-loop.schema.js +84 -0
- package/dist/schemas/runtime/runtime-run.schema.d.ts +378 -0
- package/dist/schemas/runtime/runtime-run.schema.js +30 -0
- package/dist/schemas/security/index.d.ts +3 -0
- package/dist/schemas/security/index.js +19 -0
- package/dist/schemas/security/pre-pr-security-gate.schema.d.ts +486 -0
- package/dist/schemas/security/pre-pr-security-gate.schema.js +13 -0
- package/dist/schemas/security/security-finding.schema.d.ts +546 -0
- package/dist/schemas/security/security-finding.schema.js +138 -0
- package/dist/schemas/security/security-knowledge-node.schema.d.ts +285 -0
- package/dist/schemas/security/security-knowledge-node.schema.js +21 -0
- package/dist/schemas/task-complexity.schema.d.ts +3 -0
- package/dist/schemas/task-complexity.schema.js +6 -0
- package/dist/schemas/task-evidence-expectations.schema.d.ts +174 -0
- package/dist/schemas/task-evidence-expectations.schema.js +35 -0
- package/dist/schemas/traceability/index.d.ts +2 -0
- package/dist/schemas/traceability/index.js +18 -0
- package/dist/schemas/traceability/neuraloom-traceability-file.schema.d.ts +593 -0
- package/dist/schemas/traceability/neuraloom-traceability-file.schema.js +93 -0
- package/dist/schemas/traceability/traceability-graph.schema.d.ts +712 -0
- package/dist/schemas/traceability/traceability-graph.schema.js +112 -0
- package/dist/schemas/workflow/build-knowledge.schema.d.ts +672 -0
- package/dist/schemas/workflow/build-knowledge.schema.js +92 -0
- package/dist/schemas/workflow/build-truth-read-model.schema.d.ts +1218 -0
- package/dist/schemas/workflow/build-truth-read-model.schema.js +42 -0
- package/dist/schemas/workflow/canonicalization-decision.schema.d.ts +74 -0
- package/dist/schemas/workflow/canonicalization-decision.schema.js +22 -0
- package/dist/schemas/workflow/code-reality-artifacts.schema.d.ts +914 -0
- package/dist/schemas/workflow/code-reality-artifacts.schema.js +150 -0
- package/dist/schemas/workflow/code-reality-read-model.schema.d.ts +12708 -0
- package/dist/schemas/workflow/code-reality-read-model.schema.js +237 -0
- package/dist/schemas/workflow/code-reality-task-traceability.schema.d.ts +124 -0
- package/dist/schemas/workflow/code-reality-task-traceability.schema.js +107 -0
- package/dist/schemas/workflow/command-center-spine.schema.d.ts +62 -0
- package/dist/schemas/workflow/command-center-spine.schema.js +58 -0
- package/dist/schemas/workflow/context-bundle.schema.d.ts +111 -0
- package/dist/schemas/workflow/context-bundle.schema.js +62 -0
- package/dist/schemas/workflow/context-contamination.schema.d.ts +284 -0
- package/dist/schemas/workflow/context-contamination.schema.js +65 -0
- package/dist/schemas/workflow/deployment-evidence.schema.d.ts +269 -0
- package/dist/schemas/workflow/deployment-evidence.schema.js +55 -0
- package/dist/schemas/workflow/doc-draft-artifact.schema.d.ts +126 -0
- package/dist/schemas/workflow/doc-draft-artifact.schema.js +52 -0
- package/dist/schemas/workflow/domain-acceptance.schema.d.ts +206 -0
- package/dist/schemas/workflow/domain-acceptance.schema.js +62 -0
- package/dist/schemas/workflow/engineering-context.schema.d.ts +2235 -0
- package/dist/schemas/workflow/engineering-context.schema.js +566 -0
- package/dist/schemas/workflow/existing-capability-classification.schema.d.ts +79 -0
- package/dist/schemas/workflow/existing-capability-classification.schema.js +28 -0
- package/dist/schemas/workflow/existing-codebase-context.schema.d.ts +865 -0
- package/dist/schemas/workflow/existing-codebase-context.schema.js +56 -0
- package/dist/schemas/workflow/findings-register.schema.d.ts +148 -0
- package/dist/schemas/workflow/findings-register.schema.js +35 -0
- package/dist/schemas/workflow/implement-first-batch.schema.d.ts +190 -0
- package/dist/schemas/workflow/implement-first-batch.schema.js +49 -0
- package/dist/schemas/workflow/implement-gate-status.schema.d.ts +823 -0
- package/dist/schemas/workflow/implement-gate-status.schema.js +94 -0
- package/dist/schemas/workflow/implement-stale-batch-repair.schema.d.ts +71 -0
- package/dist/schemas/workflow/implement-stale-batch-repair.schema.js +28 -0
- package/dist/schemas/workflow/implement-task-guard.schema.d.ts +27 -0
- package/dist/schemas/workflow/implement-task-guard.schema.js +35 -0
- package/dist/schemas/workflow/implementation-packet.schema.d.ts +200 -0
- package/dist/schemas/workflow/implementation-packet.schema.js +88 -0
- package/dist/schemas/workflow/import-validity.schema.d.ts +177 -0
- package/dist/schemas/workflow/import-validity.schema.js +71 -0
- package/dist/schemas/workflow/index.d.ts +14 -0
- package/dist/schemas/workflow/index.js +30 -0
- package/dist/schemas/workflow/ingest-dashboard.schema.d.ts +1094 -0
- package/dist/schemas/workflow/ingest-dashboard.schema.js +76 -0
- package/dist/schemas/workflow/ingest-gate.schema.d.ts +133 -0
- package/dist/schemas/workflow/ingest-gate.schema.js +27 -0
- package/dist/schemas/workflow/ingest-inventory.schema.d.ts +203 -0
- package/dist/schemas/workflow/ingest-inventory.schema.js +52 -0
- package/dist/schemas/workflow/knowledge-graph-result.schema.d.ts +90 -0
- package/dist/schemas/workflow/knowledge-graph-result.schema.js +37 -0
- package/dist/schemas/workflow/patch-file-scope-policy.schema.d.ts +62 -0
- package/dist/schemas/workflow/patch-file-scope-policy.schema.js +38 -0
- package/dist/schemas/workflow/patch-review-result.schema.d.ts +139 -0
- package/dist/schemas/workflow/patch-review-result.schema.js +58 -0
- package/dist/schemas/workflow/plan-approval.schema.d.ts +184 -0
- package/dist/schemas/workflow/plan-approval.schema.js +102 -0
- package/dist/schemas/workflow/product-readiness-response.schema.d.ts +307 -0
- package/dist/schemas/workflow/product-readiness-response.schema.js +81 -0
- package/dist/schemas/workflow/product-realization.schema.d.ts +259 -0
- package/dist/schemas/workflow/product-realization.schema.js +207 -0
- package/dist/schemas/workflow/product-route-manifest.schema.d.ts +785 -0
- package/dist/schemas/workflow/product-route-manifest.schema.js +161 -0
- package/dist/schemas/workflow/repair-specify-gate.schema.d.ts +33 -0
- package/dist/schemas/workflow/repair-specify-gate.schema.js +13 -0
- package/dist/schemas/workflow/repo-intel-snapshot.schema.d.ts +471 -0
- package/dist/schemas/workflow/repo-intel-snapshot.schema.js +98 -0
- package/dist/schemas/workflow/repo-policy-snapshot.schema.d.ts +365 -0
- package/dist/schemas/workflow/repo-policy-snapshot.schema.js +83 -0
- package/dist/schemas/workflow/review-acceptance.schema.d.ts +182 -0
- package/dist/schemas/workflow/review-acceptance.schema.js +66 -0
- package/dist/schemas/workflow/review-release-decision-operator.schema.d.ts +220 -0
- package/dist/schemas/workflow/review-release-decision-operator.schema.js +65 -0
- package/dist/schemas/workflow/route-manifest.schema.d.ts +239 -0
- package/dist/schemas/workflow/route-manifest.schema.js +82 -0
- package/dist/schemas/workflow/runtime-contract.schema.d.ts +384 -0
- package/dist/schemas/workflow/runtime-contract.schema.js +71 -0
- package/dist/schemas/workflow/schema-page-read-model.schema.d.ts +185 -0
- package/dist/schemas/workflow/schema-page-read-model.schema.js +29 -0
- package/dist/schemas/workflow/ship-closure.schema.d.ts +516 -0
- package/dist/schemas/workflow/ship-closure.schema.js +96 -0
- package/dist/schemas/workflow/software-workflow-lineage.schema.d.ts +384 -0
- package/dist/schemas/workflow/software-workflow-lineage.schema.js +54 -0
- package/dist/schemas/workflow/specify-mutation-health.schema.d.ts +72 -0
- package/dist/schemas/workflow/specify-mutation-health.schema.js +24 -0
- package/dist/schemas/workflow/step-evidence-resolution.schema.d.ts +49 -0
- package/dist/schemas/workflow/step-evidence-resolution.schema.js +36 -0
- package/dist/schemas/workflow/step-gate.schema.d.ts +312 -0
- package/dist/schemas/workflow/step-gate.schema.js +90 -0
- package/dist/schemas/workflow/task-capsule.schema.d.ts +414 -0
- package/dist/schemas/workflow/task-capsule.schema.js +99 -0
- package/dist/schemas/workflow/tasks-github-sync.schema.d.ts +60 -0
- package/dist/schemas/workflow/tasks-github-sync.schema.js +24 -0
- package/dist/schemas/workflow/tasks-repair-stale-implementing.schema.d.ts +86 -0
- package/dist/schemas/workflow/tasks-repair-stale-implementing.schema.js +38 -0
- package/dist/schemas/workflow/tasks-truth.schema.d.ts +616 -0
- package/dist/schemas/workflow/tasks-truth.schema.js +76 -0
- package/dist/schemas/workflow/tasks-unblock-implement-handoff.schema.d.ts +210 -0
- package/dist/schemas/workflow/tasks-unblock-implement-handoff.schema.js +17 -0
- package/dist/schemas/workflow/test-obligation-manifest.schema.d.ts +306 -0
- package/dist/schemas/workflow/test-obligation-manifest.schema.js +131 -0
- package/dist/schemas/workflow/workflow-doctor.schema.d.ts +942 -0
- package/dist/schemas/workflow/workflow-doctor.schema.js +141 -0
- package/dist/schemas/workflow/workflow-evidence.schema.d.ts +67 -0
- package/dist/schemas/workflow/workflow-evidence.schema.js +23 -0
- package/dist/schemas/workflow/workflow-intelligence-graph.schema.d.ts +415 -0
- package/dist/schemas/workflow/workflow-intelligence-graph.schema.js +213 -0
- package/dist/schemas/workflow/workflow-run-event.schema.d.ts +41 -0
- package/dist/schemas/workflow/workflow-run-event.schema.js +55 -0
- package/dist/schemas/workflow-ci-step-artifacts.schema.d.ts +60 -0
- package/dist/schemas/workflow-ci-step-artifacts.schema.js +15 -0
- package/dist/schemas/workflow-implement-read-model.schema.d.ts +86 -0
- package/dist/schemas/workflow-implement-read-model.schema.js +22 -0
- package/dist/schemas/workflow-knowledge-step-artifacts.schema.d.ts +60 -0
- package/dist/schemas/workflow-knowledge-step-artifacts.schema.js +15 -0
- package/dist/schemas/workflow-progression.d.ts +1955 -0
- package/dist/schemas/workflow-progression.js +259 -0
- package/dist/telemetry/index.d.ts +194 -0
- package/dist/telemetry/index.js +93 -0
- package/dist/transformation/canonical-semantic-model.d.ts +233 -0
- package/dist/transformation/canonical-semantic-model.js +61 -0
- package/dist/transformation/index.d.ts +6 -0
- package/dist/transformation/index.js +22 -0
- package/dist/transformation/transformation-registry.d.ts +136 -0
- package/dist/transformation/transformation-registry.js +100 -0
- package/dist/types/ai-responses.d.ts +98 -0
- package/dist/types/ai-responses.js +42 -0
- package/dist/types/ai.d.ts +4 -0
- package/dist/types/ai.js +2 -0
- package/dist/types/audiobook-embed.d.ts +22 -0
- package/dist/types/audiobook-embed.js +2 -0
- package/dist/types/audiobook.d.ts +30 -0
- package/dist/types/audiobook.js +2 -0
- package/dist/types/chapter-revision.types.d.ts +6 -0
- package/dist/types/chapter-revision.types.js +6 -0
- package/dist/types/ci.d.ts +14 -0
- package/dist/types/ci.js +2 -0
- package/dist/types/codebase.d.ts +309 -0
- package/dist/types/codebase.js +83 -0
- package/dist/types/community-credit-transaction-type.d.ts +2 -0
- package/dist/types/community-credit-transaction-type.js +9 -0
- package/dist/types/community-membership-tier.d.ts +2 -0
- package/dist/types/community-membership-tier.js +4 -0
- package/dist/types/community-operator-role.d.ts +9 -0
- package/dist/types/community-operator-role.js +13 -0
- package/dist/types/community-stage.d.ts +3 -0
- package/dist/types/community-stage.js +19 -0
- package/dist/types/graph-canvas.d.ts +109 -0
- package/dist/types/graph-canvas.js +25 -0
- package/dist/types/graph-question-mapping.d.ts +33 -0
- package/dist/types/graph-question-mapping.js +36 -0
- package/dist/types/index.d.ts +2187 -0
- package/dist/types/index.js +53 -0
- package/dist/types/manuscript-checks.d.ts +1 -0
- package/dist/types/manuscript-checks.js +2 -0
- package/dist/types/orchestration-execution.d.ts +16 -0
- package/dist/types/orchestration-execution.js +5 -0
- package/dist/types/product-readiness.d.ts +44 -0
- package/dist/types/product-readiness.js +2 -0
- package/dist/types/product-route-manifest.d.ts +5 -0
- package/dist/types/product-route-manifest.js +21 -0
- package/dist/types/project-capabilities.d.ts +20 -0
- package/dist/types/project-capabilities.js +40 -0
- package/dist/types/project-kind.d.ts +68 -0
- package/dist/types/project-kind.js +216 -0
- package/dist/types/pwa.d.ts +29 -0
- package/dist/types/pwa.js +6 -0
- package/dist/types/repo.d.ts +2 -0
- package/dist/types/repo.js +2 -0
- package/dist/types/resolve-model-policy-input.d.ts +37 -0
- package/dist/types/resolve-model-policy-input.js +2 -0
- package/dist/types/settings.d.ts +13 -0
- package/dist/types/settings.js +20 -0
- package/dist/types/supabase-generated.d.ts +1122 -0
- package/dist/types/supabase-generated.js +13 -0
- package/dist/types/workflow-action-panel.d.ts +41 -0
- package/dist/types/workflow-action-panel.js +2 -0
- package/dist/types/workflow-command-center.d.ts +50 -0
- package/dist/types/workflow-command-center.js +6 -0
- package/dist/types/workflow-completion.d.ts +154 -0
- package/dist/types/workflow-completion.js +2 -0
- package/dist/types/workflow-graph.d.ts +786 -0
- package/dist/types/workflow-graph.js +119 -0
- package/dist/ui/domain-templates.d.ts +35 -0
- package/dist/ui/domain-templates.js +242 -0
- package/dist/utils/github-closing-keywords.d.ts +8 -0
- package/dist/utils/github-closing-keywords.js +27 -0
- package/dist/utils/implement-pr-batch-policy.d.ts +17 -0
- package/dist/utils/implement-pr-batch-policy.js +72 -0
- package/dist/utils/implement-pr-batch.d.ts +19 -0
- package/dist/utils/implement-pr-batch.js +95 -0
- package/dist/utils/implement-pr-metadata.d.ts +32 -0
- package/dist/utils/implement-pr-metadata.js +41 -0
- package/dist/workflow/api-route-key-resolver.d.ts +11 -0
- package/dist/workflow/api-route-key-resolver.js +51 -0
- package/dist/workflow/assurance-selector-keys.d.ts +134 -0
- package/dist/workflow/assurance-selector-keys.js +145 -0
- package/dist/workflow/channel-registry.d.ts +959 -0
- package/dist/workflow/channel-registry.js +1475 -0
- package/dist/workflow/evaluate-existing-codebase-readiness.d.ts +28 -0
- package/dist/workflow/evaluate-existing-codebase-readiness.js +329 -0
- package/dist/workflow/evaluate-ingest-gate.d.ts +11 -0
- package/dist/workflow/evaluate-ingest-gate.js +168 -0
- package/dist/workflow/evaluate-repair-specify-gate.d.ts +10 -0
- package/dist/workflow/evaluate-repair-specify-gate.js +93 -0
- package/dist/workflow/existing-codebase-step-area-map.d.ts +4 -0
- package/dist/workflow/existing-codebase-step-area-map.js +22 -0
- package/dist/workflow/film-spine-nav-aliases.d.ts +23 -0
- package/dist/workflow/film-spine-nav-aliases.js +76 -0
- package/dist/workflow/index.d.ts +23 -0
- package/dist/workflow/index.js +39 -0
- package/dist/workflow/is-code-reality-semantically-mapped.d.ts +8 -0
- package/dist/workflow/is-code-reality-semantically-mapped.js +21 -0
- package/dist/workflow/is-repository-scan-complete.d.ts +11 -0
- package/dist/workflow/is-repository-scan-complete.js +28 -0
- package/dist/workflow/normalize-workflow-execution-mode.d.ts +4 -0
- package/dist/workflow/normalize-workflow-execution-mode.js +16 -0
- package/dist/workflow/project-kind-normalizer.d.ts +34 -0
- package/dist/workflow/project-kind-normalizer.js +162 -0
- package/dist/workflow/resolve-workflow-variant.d.ts +42 -0
- package/dist/workflow/resolve-workflow-variant.js +101 -0
- package/dist/workflow/step-id-canonical.d.ts +26 -0
- package/dist/workflow/step-id-canonical.js +58 -0
- package/dist/workflow/test-obligation-policy.d.ts +12 -0
- package/dist/workflow/test-obligation-policy.js +82 -0
- package/dist/workflow/test-policy-registry.d.ts +45 -0
- package/dist/workflow/test-policy-registry.js +190 -0
- package/dist/workflow/workflow-assurance-completion-probe-gates.d.ts +43 -0
- package/dist/workflow/workflow-assurance-completion-probe-gates.js +88 -0
- package/dist/workflow/workflow-assurance-manifest.d.ts +84 -0
- package/dist/workflow/workflow-assurance-manifest.js +309 -0
- package/dist/workflow/workflow-assurance-wiring-tiers.d.ts +13 -0
- package/dist/workflow/workflow-assurance-wiring-tiers.js +32 -0
- package/dist/workflow/workflow-doctor-closure.d.ts +16 -0
- package/dist/workflow/workflow-doctor-closure.js +245 -0
- package/package.json +82 -4
- package/README.md +0 -3
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const StepRetryOnSchema: z.ZodEnum<["transient", "none"]>;
|
|
3
|
+
export declare const StepRetryPolicySchema: z.ZodObject<{
|
|
4
|
+
maxRetries: z.ZodNumber;
|
|
5
|
+
retryOn: z.ZodEnum<["transient", "none"]>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
maxRetries: number;
|
|
8
|
+
retryOn: "transient" | "none";
|
|
9
|
+
}, {
|
|
10
|
+
maxRetries: number;
|
|
11
|
+
retryOn: "transient" | "none";
|
|
12
|
+
}>;
|
|
13
|
+
/** Stage status persisted on execution_tasks.metadata (Issue #1158). */
|
|
14
|
+
export declare const ExecutionTaskStageStatusSchema: z.ZodEnum<["pending", "running", "complete", "failed"]>;
|
|
15
|
+
/** Metadata shape for durable single-step stage pipelines on execution_tasks. */
|
|
16
|
+
export declare const ExecutionTaskStageMetadataSchema: z.ZodObject<{
|
|
17
|
+
executionGranularity: z.ZodLiteral<"stage_pipeline">;
|
|
18
|
+
workflow_step_id: z.ZodString;
|
|
19
|
+
stage_keys: z.ZodArray<z.ZodString, "many">;
|
|
20
|
+
stage_key: z.ZodString;
|
|
21
|
+
stage_index: z.ZodNumber;
|
|
22
|
+
stage_status: z.ZodEnum<["pending", "running", "complete", "failed"]>;
|
|
23
|
+
current_stage: z.ZodNumber;
|
|
24
|
+
stage_attempts: z.ZodNumber;
|
|
25
|
+
stage_error_code: z.ZodOptional<z.ZodString>;
|
|
26
|
+
stage_error_message: z.ZodOptional<z.ZodString>;
|
|
27
|
+
stage_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
28
|
+
orchestration_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
previous_response_id: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
workflow_step_id: string;
|
|
32
|
+
executionGranularity: "stage_pipeline";
|
|
33
|
+
stage_keys: string[];
|
|
34
|
+
stage_key: string;
|
|
35
|
+
stage_index: number;
|
|
36
|
+
stage_status: "complete" | "running" | "failed" | "pending";
|
|
37
|
+
current_stage: number;
|
|
38
|
+
stage_attempts: number;
|
|
39
|
+
stage_error_code?: string | undefined;
|
|
40
|
+
stage_error_message?: string | undefined;
|
|
41
|
+
stage_metadata?: Record<string, unknown> | undefined;
|
|
42
|
+
orchestration_id?: string | null | undefined;
|
|
43
|
+
previous_response_id?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
workflow_step_id: string;
|
|
46
|
+
executionGranularity: "stage_pipeline";
|
|
47
|
+
stage_keys: string[];
|
|
48
|
+
stage_key: string;
|
|
49
|
+
stage_index: number;
|
|
50
|
+
stage_status: "complete" | "running" | "failed" | "pending";
|
|
51
|
+
current_stage: number;
|
|
52
|
+
stage_attempts: number;
|
|
53
|
+
stage_error_code?: string | undefined;
|
|
54
|
+
stage_error_message?: string | undefined;
|
|
55
|
+
stage_metadata?: Record<string, unknown> | undefined;
|
|
56
|
+
orchestration_id?: string | null | undefined;
|
|
57
|
+
previous_response_id?: string | undefined;
|
|
58
|
+
}>;
|
|
59
|
+
export declare const DurableExecutionModeSchema: z.ZodEnum<["step_chain", "stage_pipeline"]>;
|
|
60
|
+
/** POST /api/orchestration/run (durable 18-step parent run) */
|
|
61
|
+
export declare const DurableOrchestrationStartSchema: z.ZodObject<{
|
|
62
|
+
projectId: z.ZodString;
|
|
63
|
+
guardianThreshold: z.ZodDefault<z.ZodNumber>;
|
|
64
|
+
stopOnFailure: z.ZodDefault<z.ZodBoolean>;
|
|
65
|
+
enforceRules: z.ZodDefault<z.ZodBoolean>;
|
|
66
|
+
mode: z.ZodDefault<z.ZodEnum<["auto", "manual", "hybrid", "follow"]>>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
projectId: string;
|
|
69
|
+
mode: "auto" | "manual" | "hybrid" | "follow";
|
|
70
|
+
guardianThreshold: number;
|
|
71
|
+
stopOnFailure: boolean;
|
|
72
|
+
enforceRules: boolean;
|
|
73
|
+
}, {
|
|
74
|
+
projectId: string;
|
|
75
|
+
mode?: "auto" | "manual" | "hybrid" | "follow" | undefined;
|
|
76
|
+
guardianThreshold?: number | undefined;
|
|
77
|
+
stopOnFailure?: boolean | undefined;
|
|
78
|
+
enforceRules?: boolean | undefined;
|
|
79
|
+
}>;
|
|
80
|
+
/** POST /api/orchestration/stage-run (durable single-step stage pipeline) */
|
|
81
|
+
export declare const DurableStagePipelineStartSchema: z.ZodObject<{
|
|
82
|
+
projectId: z.ZodString;
|
|
83
|
+
workflowStepId: z.ZodString;
|
|
84
|
+
guardianThreshold: z.ZodDefault<z.ZodNumber>;
|
|
85
|
+
stopOnFailure: z.ZodDefault<z.ZodBoolean>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
projectId: string;
|
|
88
|
+
guardianThreshold: number;
|
|
89
|
+
stopOnFailure: boolean;
|
|
90
|
+
workflowStepId: string;
|
|
91
|
+
}, {
|
|
92
|
+
projectId: string;
|
|
93
|
+
workflowStepId: string;
|
|
94
|
+
guardianThreshold?: number | undefined;
|
|
95
|
+
stopOnFailure?: boolean | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
/** Queued gateway response when Plan (or other stage pipelines) enqueue durable execution (#1159). */
|
|
98
|
+
export declare const DurableStagePipelineQueuedResponseSchema: z.ZodObject<{
|
|
99
|
+
ok: z.ZodLiteral<true>;
|
|
100
|
+
status: z.ZodLiteral<"queued">;
|
|
101
|
+
executionRunId: z.ZodString;
|
|
102
|
+
executionTaskId: z.ZodString;
|
|
103
|
+
stepKey: z.ZodString;
|
|
104
|
+
statusUrl: z.ZodString;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
status: "queued";
|
|
107
|
+
ok: true;
|
|
108
|
+
executionRunId: string;
|
|
109
|
+
executionTaskId: string;
|
|
110
|
+
stepKey: string;
|
|
111
|
+
statusUrl: string;
|
|
112
|
+
}, {
|
|
113
|
+
status: "queued";
|
|
114
|
+
ok: true;
|
|
115
|
+
executionRunId: string;
|
|
116
|
+
executionTaskId: string;
|
|
117
|
+
stepKey: string;
|
|
118
|
+
statusUrl: string;
|
|
119
|
+
}>;
|
|
120
|
+
export declare const DurableStagePipelineQueuedErrorSchema: z.ZodObject<{
|
|
121
|
+
ok: z.ZodLiteral<false>;
|
|
122
|
+
code: z.ZodString;
|
|
123
|
+
message: z.ZodString;
|
|
124
|
+
issues: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
code: string;
|
|
127
|
+
message: string;
|
|
128
|
+
ok: false;
|
|
129
|
+
issues?: unknown[] | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
code: string;
|
|
132
|
+
message: string;
|
|
133
|
+
ok: false;
|
|
134
|
+
issues?: unknown[] | undefined;
|
|
135
|
+
}>;
|
|
136
|
+
export declare const buildDurableRunStatusUrl: (runId: string, apiPrefix?: string) => string;
|
|
137
|
+
/** POST /api/orchestration/continue (server-chained step or stage worker) */
|
|
138
|
+
export declare const DurableOrchestrationContinueSchema: z.ZodEffects<z.ZodObject<{
|
|
139
|
+
runId: z.ZodString;
|
|
140
|
+
stepIndex: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
stageIndex: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
runId: string;
|
|
144
|
+
stepIndex?: number | undefined;
|
|
145
|
+
stageIndex?: number | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
runId: string;
|
|
148
|
+
stepIndex?: number | undefined;
|
|
149
|
+
stageIndex?: number | undefined;
|
|
150
|
+
}>, {
|
|
151
|
+
runId: string;
|
|
152
|
+
stepIndex?: number | undefined;
|
|
153
|
+
stageIndex?: number | undefined;
|
|
154
|
+
}, {
|
|
155
|
+
runId: string;
|
|
156
|
+
stepIndex?: number | undefined;
|
|
157
|
+
stageIndex?: number | undefined;
|
|
158
|
+
}>;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DurableOrchestrationContinueSchema = exports.buildDurableRunStatusUrl = exports.DurableStagePipelineQueuedErrorSchema = exports.DurableStagePipelineQueuedResponseSchema = exports.DurableStagePipelineStartSchema = exports.DurableOrchestrationStartSchema = exports.DurableExecutionModeSchema = exports.ExecutionTaskStageMetadataSchema = exports.ExecutionTaskStageStatusSchema = exports.StepRetryPolicySchema = exports.StepRetryOnSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const workflow_1 = require("../constants/workflow");
|
|
6
|
+
const orchestration_execution_1 = require("../constants/orchestration-execution");
|
|
7
|
+
exports.StepRetryOnSchema = zod_1.z.enum(["transient", "none"]);
|
|
8
|
+
exports.StepRetryPolicySchema = zod_1.z.object({
|
|
9
|
+
maxRetries: zod_1.z.number().int().min(0).max(20),
|
|
10
|
+
retryOn: exports.StepRetryOnSchema,
|
|
11
|
+
});
|
|
12
|
+
/** Stage status persisted on execution_tasks.metadata (Issue #1158). */
|
|
13
|
+
exports.ExecutionTaskStageStatusSchema = zod_1.z.enum([
|
|
14
|
+
"pending",
|
|
15
|
+
"running",
|
|
16
|
+
"complete",
|
|
17
|
+
"failed",
|
|
18
|
+
]);
|
|
19
|
+
/** Metadata shape for durable single-step stage pipelines on execution_tasks. */
|
|
20
|
+
exports.ExecutionTaskStageMetadataSchema = zod_1.z.object({
|
|
21
|
+
executionGranularity: zod_1.z.literal("stage_pipeline"),
|
|
22
|
+
workflow_step_id: zod_1.z.string().min(1),
|
|
23
|
+
stage_keys: zod_1.z.array(zod_1.z.string().min(1)).min(1),
|
|
24
|
+
stage_key: zod_1.z.string().min(1),
|
|
25
|
+
stage_index: zod_1.z.number().int().min(0),
|
|
26
|
+
stage_status: exports.ExecutionTaskStageStatusSchema,
|
|
27
|
+
current_stage: zod_1.z.number().int().min(0),
|
|
28
|
+
stage_attempts: zod_1.z.number().int().min(0),
|
|
29
|
+
stage_error_code: zod_1.z.string().optional(),
|
|
30
|
+
stage_error_message: zod_1.z.string().optional(),
|
|
31
|
+
stage_metadata: zod_1.z.record(zod_1.z.unknown()).optional(),
|
|
32
|
+
orchestration_id: zod_1.z.string().uuid().nullable().optional(),
|
|
33
|
+
previous_response_id: zod_1.z.string().optional(),
|
|
34
|
+
});
|
|
35
|
+
exports.DurableExecutionModeSchema = zod_1.z.enum([
|
|
36
|
+
"step_chain",
|
|
37
|
+
"stage_pipeline",
|
|
38
|
+
]);
|
|
39
|
+
/** POST /api/orchestration/run (durable 18-step parent run) */
|
|
40
|
+
exports.DurableOrchestrationStartSchema = zod_1.z.object({
|
|
41
|
+
projectId: zod_1.z.string().uuid(),
|
|
42
|
+
guardianThreshold: zod_1.z
|
|
43
|
+
.number()
|
|
44
|
+
.min(0)
|
|
45
|
+
.max(100)
|
|
46
|
+
.default(orchestration_execution_1.DEFAULT_ORCHESTRATION_GUARDIAN_THRESHOLD),
|
|
47
|
+
stopOnFailure: zod_1.z.boolean().default(false),
|
|
48
|
+
enforceRules: zod_1.z.boolean().default(true),
|
|
49
|
+
mode: zod_1.z.enum(["auto", "manual", "hybrid", "follow"]).default("auto"),
|
|
50
|
+
});
|
|
51
|
+
/** POST /api/orchestration/stage-run (durable single-step stage pipeline) */
|
|
52
|
+
exports.DurableStagePipelineStartSchema = zod_1.z.object({
|
|
53
|
+
projectId: zod_1.z.string().uuid(),
|
|
54
|
+
workflowStepId: zod_1.z.string().min(1),
|
|
55
|
+
guardianThreshold: zod_1.z
|
|
56
|
+
.number()
|
|
57
|
+
.min(0)
|
|
58
|
+
.max(100)
|
|
59
|
+
.default(orchestration_execution_1.DEFAULT_ORCHESTRATION_GUARDIAN_THRESHOLD),
|
|
60
|
+
stopOnFailure: zod_1.z.boolean().default(true),
|
|
61
|
+
});
|
|
62
|
+
const stepMax = workflow_1.WORKFLOW_STEPS.length - 1;
|
|
63
|
+
/** Queued gateway response when Plan (or other stage pipelines) enqueue durable execution (#1159). */
|
|
64
|
+
exports.DurableStagePipelineQueuedResponseSchema = zod_1.z.object({
|
|
65
|
+
ok: zod_1.z.literal(true),
|
|
66
|
+
status: zod_1.z.literal("queued"),
|
|
67
|
+
executionRunId: zod_1.z.string().uuid(),
|
|
68
|
+
executionTaskId: zod_1.z.string().uuid(),
|
|
69
|
+
stepKey: zod_1.z.string().min(1),
|
|
70
|
+
statusUrl: zod_1.z.string().min(1),
|
|
71
|
+
});
|
|
72
|
+
exports.DurableStagePipelineQueuedErrorSchema = zod_1.z.object({
|
|
73
|
+
ok: zod_1.z.literal(false),
|
|
74
|
+
code: zod_1.z.string().min(1),
|
|
75
|
+
message: zod_1.z.string().min(1),
|
|
76
|
+
issues: zod_1.z.array(zod_1.z.unknown()).optional(),
|
|
77
|
+
});
|
|
78
|
+
const buildDurableRunStatusUrl = (runId, apiPrefix = "/api") => `${apiPrefix}/orchestration/run/${runId}/status`;
|
|
79
|
+
exports.buildDurableRunStatusUrl = buildDurableRunStatusUrl;
|
|
80
|
+
/** POST /api/orchestration/continue (server-chained step or stage worker) */
|
|
81
|
+
exports.DurableOrchestrationContinueSchema = zod_1.z
|
|
82
|
+
.object({
|
|
83
|
+
runId: zod_1.z.string().uuid(),
|
|
84
|
+
stepIndex: zod_1.z.number().int().min(0).max(stepMax).optional(),
|
|
85
|
+
stageIndex: zod_1.z.number().int().min(0).optional(),
|
|
86
|
+
})
|
|
87
|
+
.refine((value) => (value.stepIndex !== undefined && value.stageIndex === undefined) ||
|
|
88
|
+
(value.stepIndex === undefined && value.stageIndex !== undefined), { message: "Provide exactly one of stepIndex or stageIndex" });
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** PATCH /api/projects/[id]/settings — BMAD export controls + workflow execution mode (launch hub). */
|
|
3
|
+
export declare const ProjectBmadSettingsPatchSchema: z.ZodObject<{
|
|
4
|
+
nl_kg_v2_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
story_artifacts: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
auto_export: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodEnum<["markdown", "json"]>, "many">>;
|
|
9
|
+
store_in_bucket: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
enabled?: boolean | undefined;
|
|
12
|
+
auto_export?: boolean | undefined;
|
|
13
|
+
formats?: ("json" | "markdown")[] | undefined;
|
|
14
|
+
store_in_bucket?: boolean | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
enabled?: boolean | undefined;
|
|
17
|
+
auto_export?: boolean | undefined;
|
|
18
|
+
formats?: ("json" | "markdown")[] | undefined;
|
|
19
|
+
store_in_bucket?: boolean | undefined;
|
|
20
|
+
}>>;
|
|
21
|
+
export_limits: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
max_per_hour: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
max_size_mb: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
max_per_hour?: number | undefined;
|
|
26
|
+
max_size_mb?: number | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
max_per_hour?: number | undefined;
|
|
29
|
+
max_size_mb?: number | undefined;
|
|
30
|
+
}>>;
|
|
31
|
+
storage_usage_mb: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
workflowExecutionMode: z.ZodOptional<z.ZodEnum<["build-new", "audit-existing"]>>;
|
|
33
|
+
/** Gated per-project toggle: allow the Implement cron drainer to auto-merge green implement PRs. Default false. */
|
|
34
|
+
implementAutoMergeEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
+
}, "strict", z.ZodTypeAny, {
|
|
36
|
+
workflowExecutionMode?: "build-new" | "audit-existing" | undefined;
|
|
37
|
+
nl_kg_v2_enabled?: boolean | undefined;
|
|
38
|
+
story_artifacts?: {
|
|
39
|
+
enabled?: boolean | undefined;
|
|
40
|
+
auto_export?: boolean | undefined;
|
|
41
|
+
formats?: ("json" | "markdown")[] | undefined;
|
|
42
|
+
store_in_bucket?: boolean | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
export_limits?: {
|
|
45
|
+
max_per_hour?: number | undefined;
|
|
46
|
+
max_size_mb?: number | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
storage_usage_mb?: number | undefined;
|
|
49
|
+
implementAutoMergeEnabled?: boolean | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
workflowExecutionMode?: "build-new" | "audit-existing" | undefined;
|
|
52
|
+
nl_kg_v2_enabled?: boolean | undefined;
|
|
53
|
+
story_artifacts?: {
|
|
54
|
+
enabled?: boolean | undefined;
|
|
55
|
+
auto_export?: boolean | undefined;
|
|
56
|
+
formats?: ("json" | "markdown")[] | undefined;
|
|
57
|
+
store_in_bucket?: boolean | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
export_limits?: {
|
|
60
|
+
max_per_hour?: number | undefined;
|
|
61
|
+
max_size_mb?: number | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
storage_usage_mb?: number | undefined;
|
|
64
|
+
implementAutoMergeEnabled?: boolean | undefined;
|
|
65
|
+
}>;
|
|
66
|
+
export type ProjectBmadSettingsPatch = z.infer<typeof ProjectBmadSettingsPatchSchema>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProjectBmadSettingsPatchSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const workflow_execution_mode_schema_1 = require("./ai/workflow-execution-mode.schema");
|
|
6
|
+
/** PATCH /api/projects/[id]/settings — BMAD export controls + workflow execution mode (launch hub). */
|
|
7
|
+
exports.ProjectBmadSettingsPatchSchema = zod_1.z
|
|
8
|
+
.object({
|
|
9
|
+
nl_kg_v2_enabled: zod_1.z.boolean().optional(),
|
|
10
|
+
story_artifacts: zod_1.z
|
|
11
|
+
.object({
|
|
12
|
+
enabled: zod_1.z.boolean().optional(),
|
|
13
|
+
auto_export: zod_1.z.boolean().optional(),
|
|
14
|
+
formats: zod_1.z.array(zod_1.z.enum(["markdown", "json"])).optional(),
|
|
15
|
+
store_in_bucket: zod_1.z.boolean().optional(),
|
|
16
|
+
})
|
|
17
|
+
.optional(),
|
|
18
|
+
export_limits: zod_1.z
|
|
19
|
+
.object({
|
|
20
|
+
max_per_hour: zod_1.z.number().min(1).max(100).optional(),
|
|
21
|
+
max_size_mb: zod_1.z.number().min(1).max(1000).optional(),
|
|
22
|
+
})
|
|
23
|
+
.optional(),
|
|
24
|
+
storage_usage_mb: zod_1.z.number().optional(),
|
|
25
|
+
workflowExecutionMode: workflow_execution_mode_schema_1.WorkflowExecutionModeSchema.optional(),
|
|
26
|
+
/** Gated per-project toggle: allow the Implement cron drainer to auto-merge green implement PRs. Default false. */
|
|
27
|
+
implementAutoMergeEnabled: zod_1.z.boolean().optional(),
|
|
28
|
+
})
|
|
29
|
+
.strict();
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schemas for the Universal Cognitive Workflow kind taxonomy.
|
|
3
|
+
* All types validated here are defined in types/project-kind.ts.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
export declare const ProjectKindSchema: z.ZodEnum<["software", "fiction", "nonfiction", "research", "documentary", "simulation", "educational", "mixed", "film"]>;
|
|
7
|
+
export declare const WorkflowStepKindSchema: z.ZodEnum<["intent", "structure", "ontology", "interaction", "experience", "tasks", "generation", "review"]>;
|
|
8
|
+
export declare const StepSemanticConfigSchema: z.ZodObject<{
|
|
9
|
+
label: z.ZodString;
|
|
10
|
+
description: z.ZodString;
|
|
11
|
+
promptHint: z.ZodString;
|
|
12
|
+
gateChecks: z.ZodArray<z.ZodString, "many">;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
description: string;
|
|
15
|
+
label: string;
|
|
16
|
+
promptHint: string;
|
|
17
|
+
gateChecks: string[];
|
|
18
|
+
}, {
|
|
19
|
+
description: string;
|
|
20
|
+
label: string;
|
|
21
|
+
promptHint: string;
|
|
22
|
+
gateChecks: string[];
|
|
23
|
+
}>;
|
|
24
|
+
export declare const WorkflowStepSemanticsSchema: z.ZodRecord<z.ZodEnum<["software", "fiction", "nonfiction", "research", "documentary", "simulation", "educational", "mixed", "film"]>, z.ZodObject<{
|
|
25
|
+
label: z.ZodString;
|
|
26
|
+
description: z.ZodString;
|
|
27
|
+
promptHint: z.ZodString;
|
|
28
|
+
gateChecks: z.ZodArray<z.ZodString, "many">;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
description: string;
|
|
31
|
+
label: string;
|
|
32
|
+
promptHint: string;
|
|
33
|
+
gateChecks: string[];
|
|
34
|
+
}, {
|
|
35
|
+
description: string;
|
|
36
|
+
label: string;
|
|
37
|
+
promptHint: string;
|
|
38
|
+
gateChecks: string[];
|
|
39
|
+
}>>;
|
|
40
|
+
export declare const FictionArtifactKindSchema: z.ZodEnum<["chapter", "scene", "lore_entry", "faction", "symbol", "timeline_event", "character_arc", "dream_sequence", "ideology", "prophecy", "institution", "emotional_turn", "world_bible", "narrative_structure", "ontology_system", "relational_graph"]>;
|
|
41
|
+
export declare const NonfictionArtifactKindSchema: z.ZodEnum<["claim", "source", "counterclaim", "thesis", "evidence_cluster", "timeline", "interview", "citation_group", "documentary_segment", "source_registry", "evidence_graph"]>;
|
|
42
|
+
export declare const SoftwareArtifactKindSchema: z.ZodEnum<["component", "schema", "api_route", "migration", "test", "config"]>;
|
|
43
|
+
export declare const ArtifactKindSchema: z.ZodUnion<[z.ZodEnum<["chapter", "scene", "lore_entry", "faction", "symbol", "timeline_event", "character_arc", "dream_sequence", "ideology", "prophecy", "institution", "emotional_turn", "world_bible", "narrative_structure", "ontology_system", "relational_graph"]>, z.ZodEnum<["claim", "source", "counterclaim", "thesis", "evidence_cluster", "timeline", "interview", "citation_group", "documentary_segment", "source_registry", "evidence_graph"]>, z.ZodEnum<["component", "schema", "api_route", "migration", "test", "config"]>]>;
|
|
44
|
+
export declare const GateCheckIdSchema: z.ZodString;
|
|
45
|
+
export declare const KindGateSpecSchema: z.ZodObject<{
|
|
46
|
+
checks: z.ZodArray<z.ZodString, "many">;
|
|
47
|
+
required: z.ZodArray<z.ZodString, "many">;
|
|
48
|
+
optional: z.ZodArray<z.ZodString, "many">;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
required: string[];
|
|
51
|
+
checks: string[];
|
|
52
|
+
optional: string[];
|
|
53
|
+
}, {
|
|
54
|
+
required: string[];
|
|
55
|
+
checks: string[];
|
|
56
|
+
optional: string[];
|
|
57
|
+
}>;
|
|
58
|
+
export declare const ContextualGateConfigSchema: z.ZodRecord<z.ZodEnum<["software", "fiction", "nonfiction", "research", "documentary", "simulation", "educational", "mixed", "film"]>, z.ZodObject<{
|
|
59
|
+
checks: z.ZodArray<z.ZodString, "many">;
|
|
60
|
+
required: z.ZodArray<z.ZodString, "many">;
|
|
61
|
+
optional: z.ZodArray<z.ZodString, "many">;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
required: string[];
|
|
64
|
+
checks: string[];
|
|
65
|
+
optional: string[];
|
|
66
|
+
}, {
|
|
67
|
+
required: string[];
|
|
68
|
+
checks: string[];
|
|
69
|
+
optional: string[];
|
|
70
|
+
}>>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Zod schemas for the Universal Cognitive Workflow kind taxonomy.
|
|
4
|
+
* All types validated here are defined in types/project-kind.ts.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.ContextualGateConfigSchema = exports.KindGateSpecSchema = exports.GateCheckIdSchema = exports.ArtifactKindSchema = exports.SoftwareArtifactKindSchema = exports.NonfictionArtifactKindSchema = exports.FictionArtifactKindSchema = exports.WorkflowStepSemanticsSchema = exports.StepSemanticConfigSchema = exports.WorkflowStepKindSchema = exports.ProjectKindSchema = void 0;
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
|
+
const project_kind_1 = require("../types/project-kind");
|
|
10
|
+
// ─── Project Kind ─────────────────────────────────────────────────────────────
|
|
11
|
+
exports.ProjectKindSchema = zod_1.z.enum(project_kind_1.PROJECT_KINDS);
|
|
12
|
+
// ─── Workflow Step Kind ───────────────────────────────────────────────────────
|
|
13
|
+
exports.WorkflowStepKindSchema = zod_1.z.enum(project_kind_1.WORKFLOW_STEP_KINDS);
|
|
14
|
+
// ─── Step Semantic Config ─────────────────────────────────────────────────────
|
|
15
|
+
exports.StepSemanticConfigSchema = zod_1.z.object({
|
|
16
|
+
label: zod_1.z.string().min(1),
|
|
17
|
+
description: zod_1.z.string().min(1),
|
|
18
|
+
promptHint: zod_1.z.string(),
|
|
19
|
+
gateChecks: zod_1.z.array(zod_1.z.string()),
|
|
20
|
+
});
|
|
21
|
+
exports.WorkflowStepSemanticsSchema = zod_1.z.record(exports.ProjectKindSchema, exports.StepSemanticConfigSchema);
|
|
22
|
+
// ─── Artifact Kinds ───────────────────────────────────────────────────────────
|
|
23
|
+
exports.FictionArtifactKindSchema = zod_1.z.enum(project_kind_1.FICTION_ARTIFACT_KINDS);
|
|
24
|
+
exports.NonfictionArtifactKindSchema = zod_1.z.enum(project_kind_1.NONFICTION_ARTIFACT_KINDS);
|
|
25
|
+
exports.SoftwareArtifactKindSchema = zod_1.z.enum(project_kind_1.SOFTWARE_ARTIFACT_KINDS);
|
|
26
|
+
exports.ArtifactKindSchema = zod_1.z.union([
|
|
27
|
+
exports.FictionArtifactKindSchema,
|
|
28
|
+
exports.NonfictionArtifactKindSchema,
|
|
29
|
+
exports.SoftwareArtifactKindSchema,
|
|
30
|
+
]);
|
|
31
|
+
// ─── Contextual Gate Config ───────────────────────────────────────────────────
|
|
32
|
+
exports.GateCheckIdSchema = zod_1.z.string().min(1);
|
|
33
|
+
exports.KindGateSpecSchema = zod_1.z.object({
|
|
34
|
+
checks: zod_1.z.array(exports.GateCheckIdSchema),
|
|
35
|
+
required: zod_1.z.array(exports.GateCheckIdSchema),
|
|
36
|
+
optional: zod_1.z.array(exports.GateCheckIdSchema),
|
|
37
|
+
});
|
|
38
|
+
exports.ContextualGateConfigSchema = zod_1.z.record(exports.ProjectKindSchema, exports.KindGateSpecSchema);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Project team (project_team table) — request/response SSOT
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
export declare const TeamInviteRequestSchema: z.ZodObject<{
|
|
6
|
+
email: z.ZodString;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
email: string;
|
|
9
|
+
}, {
|
|
10
|
+
email: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type TeamInviteRequest = z.infer<typeof TeamInviteRequestSchema>;
|
|
13
|
+
/** Row shape returned from Supabase `project_team` inserts/selects */
|
|
14
|
+
export declare const ProjectTeamMemberSchema: z.ZodObject<{
|
|
15
|
+
id: z.ZodString;
|
|
16
|
+
project_id: z.ZodString;
|
|
17
|
+
user_id: z.ZodString;
|
|
18
|
+
role: z.ZodEnum<["owner", "admin", "member", "client"]>;
|
|
19
|
+
created_at: z.ZodString;
|
|
20
|
+
added_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
id: string;
|
|
23
|
+
created_at: string;
|
|
24
|
+
project_id: string;
|
|
25
|
+
role: "admin" | "member" | "owner" | "client";
|
|
26
|
+
user_id: string;
|
|
27
|
+
added_by?: string | null | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
id: string;
|
|
30
|
+
created_at: string;
|
|
31
|
+
project_id: string;
|
|
32
|
+
role: "admin" | "member" | "owner" | "client";
|
|
33
|
+
user_id: string;
|
|
34
|
+
added_by?: string | null | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export type ProjectTeamMember = z.infer<typeof ProjectTeamMemberSchema>;
|
|
37
|
+
export declare const ProjectTeamRoleSchema: z.ZodEnum<["owner", "admin", "member", "client"]>;
|
|
38
|
+
export type ProjectTeamRole = z.infer<typeof ProjectTeamRoleSchema>;
|
|
39
|
+
export type ProjectBriefWritePermission = {
|
|
40
|
+
canEdit: boolean;
|
|
41
|
+
reason: string | null;
|
|
42
|
+
};
|
|
43
|
+
/** Mirrors PUT/PATCH authorization on /api/projects/[id] for brief edits. */
|
|
44
|
+
export declare function resolveProjectBriefWritePermission(input: {
|
|
45
|
+
ownerId: string | null | undefined;
|
|
46
|
+
userId: string | null | undefined;
|
|
47
|
+
teamRole: ProjectTeamRole | null | undefined;
|
|
48
|
+
}): ProjectBriefWritePermission;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Project team (project_team table) — request/response SSOT
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ProjectTeamRoleSchema = exports.ProjectTeamMemberSchema = exports.TeamInviteRequestSchema = void 0;
|
|
7
|
+
exports.resolveProjectBriefWritePermission = resolveProjectBriefWritePermission;
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
|
+
const Uuid = zod_1.z.string().uuid();
|
|
10
|
+
exports.TeamInviteRequestSchema = zod_1.z.object({
|
|
11
|
+
email: zod_1.z.string().email(),
|
|
12
|
+
});
|
|
13
|
+
/** Row shape returned from Supabase `project_team` inserts/selects */
|
|
14
|
+
exports.ProjectTeamMemberSchema = zod_1.z.object({
|
|
15
|
+
id: Uuid,
|
|
16
|
+
project_id: Uuid,
|
|
17
|
+
user_id: Uuid,
|
|
18
|
+
role: zod_1.z.enum(["owner", "admin", "member", "client"]),
|
|
19
|
+
created_at: zod_1.z.string(),
|
|
20
|
+
added_by: Uuid.nullable().optional(),
|
|
21
|
+
});
|
|
22
|
+
exports.ProjectTeamRoleSchema = exports.ProjectTeamMemberSchema.shape.role;
|
|
23
|
+
const PROJECT_BRIEF_WRITE_ROLES = new Set([
|
|
24
|
+
"owner",
|
|
25
|
+
"admin",
|
|
26
|
+
"member",
|
|
27
|
+
]);
|
|
28
|
+
/** Mirrors PUT/PATCH authorization on /api/projects/[id] for brief edits. */
|
|
29
|
+
function resolveProjectBriefWritePermission(input) {
|
|
30
|
+
const ownerId = input.ownerId ?? "";
|
|
31
|
+
const userId = input.userId ?? "";
|
|
32
|
+
if (ownerId.length === 0 || userId.length === 0) {
|
|
33
|
+
return { canEdit: false, reason: null };
|
|
34
|
+
}
|
|
35
|
+
if (ownerId === userId) {
|
|
36
|
+
return { canEdit: true, reason: null };
|
|
37
|
+
}
|
|
38
|
+
const role = input.teamRole;
|
|
39
|
+
if (role !== undefined && role !== null && PROJECT_BRIEF_WRITE_ROLES.has(role)) {
|
|
40
|
+
return { canEdit: true, reason: null };
|
|
41
|
+
}
|
|
42
|
+
if (role === "client") {
|
|
43
|
+
return {
|
|
44
|
+
canEdit: false,
|
|
45
|
+
reason: "You have read-only access to this project brief.",
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
canEdit: false,
|
|
50
|
+
reason: "You do not have permission to edit this project brief.",
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* project_settings.settings key — KG v2 typed overlays (kg_edge_type, kg_stable_key, kg_layer)
|
|
3
|
+
* for graph query + review coverage. Issue #765.
|
|
4
|
+
*
|
|
5
|
+
* PATCH field `nl_kg_v2_enabled` is validated by `ProjectBmadSettingsPatchSchema` (project-bmad-settings-patch.schema.ts).
|
|
6
|
+
*/
|
|
7
|
+
import type { Json } from "../../types";
|
|
8
|
+
export declare const NL_KG_V2_ENABLED_SETTINGS_KEY: "nl_kg_v2_enabled";
|
|
9
|
+
/** Default false; only explicit `true` enables v2 semantics (server-authoritative). */
|
|
10
|
+
export declare function parseNlKgV2EnabledFromProjectSettings(settings: Json): boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NL_KG_V2_ENABLED_SETTINGS_KEY = void 0;
|
|
4
|
+
exports.parseNlKgV2EnabledFromProjectSettings = parseNlKgV2EnabledFromProjectSettings;
|
|
5
|
+
exports.NL_KG_V2_ENABLED_SETTINGS_KEY = "nl_kg_v2_enabled";
|
|
6
|
+
/** Default false; only explicit `true` enables v2 semantics (server-authoritative). */
|
|
7
|
+
function parseNlKgV2EnabledFromProjectSettings(settings) {
|
|
8
|
+
if (settings === null || typeof settings !== "object") {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
if (Array.isArray(settings)) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
const raw = settings[exports.NL_KG_V2_ENABLED_SETTINGS_KEY];
|
|
15
|
+
return raw === true;
|
|
16
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provider Sentinel cleanup manifest — records created rows for safe teardown.
|
|
3
|
+
*/
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
export declare const CleanupManifestRowSchema: z.ZodObject<{
|
|
6
|
+
table: z.ZodString;
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
cleanupMode: z.ZodEnum<["hard_delete", "retain_mark"]>;
|
|
9
|
+
}, "strict", z.ZodTypeAny, {
|
|
10
|
+
id: string;
|
|
11
|
+
table: string;
|
|
12
|
+
cleanupMode: "hard_delete" | "retain_mark";
|
|
13
|
+
}, {
|
|
14
|
+
id: string;
|
|
15
|
+
table: string;
|
|
16
|
+
cleanupMode: "hard_delete" | "retain_mark";
|
|
17
|
+
}>;
|
|
18
|
+
export type CleanupManifestRow = z.infer<typeof CleanupManifestRowSchema>;
|
|
19
|
+
export declare const CleanupManifestStorageObjectSchema: z.ZodObject<{
|
|
20
|
+
bucket: z.ZodString;
|
|
21
|
+
path: z.ZodString;
|
|
22
|
+
}, "strict", z.ZodTypeAny, {
|
|
23
|
+
path: string;
|
|
24
|
+
bucket: string;
|
|
25
|
+
}, {
|
|
26
|
+
path: string;
|
|
27
|
+
bucket: string;
|
|
28
|
+
}>;
|
|
29
|
+
export type CleanupManifestStorageObject = z.infer<typeof CleanupManifestStorageObjectSchema>;
|
|
30
|
+
export declare const CleanupManifestSchema: z.ZodObject<{
|
|
31
|
+
sentinelRunId: z.ZodString;
|
|
32
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
33
|
+
table: z.ZodString;
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
cleanupMode: z.ZodEnum<["hard_delete", "retain_mark"]>;
|
|
36
|
+
}, "strict", z.ZodTypeAny, {
|
|
37
|
+
id: string;
|
|
38
|
+
table: string;
|
|
39
|
+
cleanupMode: "hard_delete" | "retain_mark";
|
|
40
|
+
}, {
|
|
41
|
+
id: string;
|
|
42
|
+
table: string;
|
|
43
|
+
cleanupMode: "hard_delete" | "retain_mark";
|
|
44
|
+
}>, "many">;
|
|
45
|
+
storageObjects: z.ZodArray<z.ZodObject<{
|
|
46
|
+
bucket: z.ZodString;
|
|
47
|
+
path: z.ZodString;
|
|
48
|
+
}, "strict", z.ZodTypeAny, {
|
|
49
|
+
path: string;
|
|
50
|
+
bucket: string;
|
|
51
|
+
}, {
|
|
52
|
+
path: string;
|
|
53
|
+
bucket: string;
|
|
54
|
+
}>, "many">;
|
|
55
|
+
}, "strict", z.ZodTypeAny, {
|
|
56
|
+
rows: {
|
|
57
|
+
id: string;
|
|
58
|
+
table: string;
|
|
59
|
+
cleanupMode: "hard_delete" | "retain_mark";
|
|
60
|
+
}[];
|
|
61
|
+
sentinelRunId: string;
|
|
62
|
+
storageObjects: {
|
|
63
|
+
path: string;
|
|
64
|
+
bucket: string;
|
|
65
|
+
}[];
|
|
66
|
+
}, {
|
|
67
|
+
rows: {
|
|
68
|
+
id: string;
|
|
69
|
+
table: string;
|
|
70
|
+
cleanupMode: "hard_delete" | "retain_mark";
|
|
71
|
+
}[];
|
|
72
|
+
sentinelRunId: string;
|
|
73
|
+
storageObjects: {
|
|
74
|
+
path: string;
|
|
75
|
+
bucket: string;
|
|
76
|
+
}[];
|
|
77
|
+
}>;
|
|
78
|
+
export type CleanupManifest = z.infer<typeof CleanupManifestSchema>;
|