@clipwright/core 0.60.0 → 0.61.0
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/account-actors.d.ts +0 -43
- package/dist/account-actors.js +0 -55
- package/dist/account.d.ts +0 -6
- package/dist/account.js +0 -18
- package/dist/actor-bounds.d.ts +0 -5
- package/dist/actor-bounds.js +0 -6
- package/dist/actor-qualities.d.ts +0 -3
- package/dist/actor-qualities.js +0 -4
- package/dist/actors.d.ts +0 -16
- package/dist/actors.js +0 -21
- package/dist/ad-guide.js +0 -2
- package/dist/ad-pause-trim.d.ts +0 -5
- package/dist/ad-pause-trim.js +0 -8
- package/dist/api-failure.d.ts +0 -44
- package/dist/api-failure.js +0 -62
- package/dist/aspect.d.ts +0 -29
- package/dist/aspect.js +1 -34
- package/dist/asset-identity.d.ts +0 -2
- package/dist/asset-identity.js +0 -3
- package/dist/assets.d.ts +0 -34
- package/dist/assets.js +0 -42
- package/dist/billing-terms.d.ts +0 -3
- package/dist/billing-terms.js +0 -4
- package/dist/brand-styles.d.ts +0 -6
- package/dist/brand-styles.js +0 -13
- package/dist/broll-policy.js +0 -1
- package/dist/canvas-fit.d.ts +0 -2
- package/dist/canvas-fit.js +0 -4
- package/dist/caption-funnel.d.ts +0 -2
- package/dist/caption-funnel.js +0 -15
- package/dist/caption-geometry.d.ts +0 -6
- package/dist/caption-geometry.js +0 -10
- package/dist/caption-language.d.ts +0 -3
- package/dist/caption-language.js +0 -6
- package/dist/contract-dispositions.d.ts +0 -61
- package/dist/contract-dispositions.js +3 -96
- package/dist/contracts/v1/workflow-brief.d.ts +57 -3
- package/dist/contracts/v1/workflow-brief.js +0 -13
- package/dist/contracts/v1/workflow-catalog.d.ts +114 -0
- package/dist/contracts/v1/workflow-catalog.js +0 -3
- package/dist/contracts/v1/workflow-client.d.ts +114 -0
- package/dist/contracts/v1/workflow-client.js +0 -1
- package/dist/contracts/v1/workflow-dto.js +0 -1
- package/dist/contracts/v1/workflow-evidence.js +0 -1
- package/dist/contracts/v1/workflow-execution.d.ts +0 -1
- package/dist/contracts/v1/workflow-execution.js +0 -4
- package/dist/contracts/v1/workflow-next.d.ts +0 -2
- package/dist/contracts/v1/workflow-next.js +0 -3
- package/dist/contracts/v1/workflow-plan.d.ts +171 -0
- package/dist/contracts/v1/workflow-plan.js +0 -1
- package/dist/contracts/v1/workflow-primitives.d.ts +0 -1
- package/dist/contracts/v1/workflow-primitives.js +0 -2
- package/dist/contracts/v1/workflow-run-read.d.ts +0 -1
- package/dist/contracts/v1/workflow-run-read.js +0 -3
- package/dist/creator-profile.d.ts +0 -30
- package/dist/creator-profile.js +0 -45
- package/dist/default-actor.js +0 -2
- package/dist/design.d.ts +0 -17
- package/dist/design.js +0 -18
- package/dist/edit-billing.d.ts +0 -6
- package/dist/edit-billing.js +0 -10
- package/dist/edit-candidate.d.ts +0 -6
- package/dist/edit-candidate.js +0 -9
- package/dist/edit-document.d.ts +0 -12
- package/dist/edit-document.js +0 -15
- package/dist/edit-faceless.d.ts +0 -3
- package/dist/edit-faceless.js +0 -4
- package/dist/edit-long-form.d.ts +0 -13
- package/dist/edit-long-form.js +0 -17
- package/dist/edit-operations.d.ts +0 -1
- package/dist/edit-operations.js +0 -2
- package/dist/edit-primitives.d.ts +0 -3
- package/dist/edit-primitives.js +0 -5
- package/dist/edit-revision.d.ts +0 -4
- package/dist/edit-revision.js +0 -6
- package/dist/edit-rules.d.ts +0 -3
- package/dist/edit-rules.js +0 -9
- package/dist/edit-shots.d.ts +45 -5
- package/dist/edit-shots.js +7 -11
- package/dist/edit-validate.d.ts +0 -10
- package/dist/edit-validate.js +0 -14
- package/dist/edit.js +0 -3
- package/dist/endpoint-notes.d.ts +0 -2
- package/dist/endpoint-notes.js +0 -3
- package/dist/endpoints.d.ts +0 -11
- package/dist/endpoints.js +7 -21
- package/dist/errors.d.ts +0 -42
- package/dist/errors.js +0 -54
- package/dist/explainer-fit.d.ts +0 -7
- package/dist/explainer-fit.js +0 -10
- package/dist/face-billing.d.ts +0 -9
- package/dist/face-billing.js +0 -23
- package/dist/face-delivery.d.ts +0 -1
- package/dist/face-delivery.js +0 -2
- package/dist/faceless-action-shots.d.ts +0 -8
- package/dist/faceless-action-shots.js +0 -8
- package/dist/faceless-customer-anchors.d.ts +0 -1
- package/dist/faceless-customer-anchors.js +0 -2
- package/dist/faceless-cut-style.js +0 -1
- package/dist/faceless-direction-summary.d.ts +0 -2
- package/dist/faceless-direction-summary.js +0 -3
- package/dist/faceless-image-placement.d.ts +0 -2
- package/dist/faceless-image-placement.js +0 -3
- package/dist/faceless-image-qualification.js +0 -2
- package/dist/faceless-media-record.d.ts +0 -6
- package/dist/faceless-media-record.js +0 -11
- package/dist/faceless-price.d.ts +0 -45
- package/dist/faceless-price.js +0 -64
- package/dist/faceless-public-plan.d.ts +0 -13
- package/dist/faceless-public-plan.js +0 -11
- package/dist/faceless-public.d.ts +0 -26
- package/dist/faceless-public.js +0 -59
- package/dist/faceless-short-61.js +0 -1
- package/dist/faceless-storyboard-timing.js +0 -1
- package/dist/faceless-storyboard-v2-plan.js +0 -1
- package/dist/faceless-storyboard-v2-timing.d.ts +0 -4
- package/dist/faceless-storyboard-v2-timing.js +0 -3
- package/dist/faceless-storyboard-v2.js +0 -1
- package/dist/faceless-storyboard.js +0 -1
- package/dist/faceless-voices.d.ts +0 -16
- package/dist/faceless-voices.js +0 -18
- package/dist/feedback.d.ts +0 -4
- package/dist/feedback.js +0 -5
- package/dist/film-directions.d.ts +0 -2
- package/dist/film-directions.js +0 -7
- package/dist/film-drafts.d.ts +0 -8
- package/dist/film-drafts.js +0 -19
- package/dist/film-guide.d.ts +0 -3
- package/dist/film-guide.js +0 -6
- package/dist/film-styles.d.ts +0 -5
- package/dist/film-styles.js +0 -8
- package/dist/generation-shot.d.ts +0 -5
- package/dist/generation-shot.js +0 -8
- package/dist/generations-output.d.ts +0 -2
- package/dist/generations-output.js +0 -5
- package/dist/generations.d.ts +0 -22
- package/dist/generations.js +21 -44
- package/dist/idempotency.d.ts +1 -21
- package/dist/idempotency.js +8 -29
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -28
- package/dist/live-shot-kinds.d.ts +16 -25
- package/dist/live-shot-kinds.js +12 -28
- package/dist/long-form-pricing.d.ts +0 -5
- package/dist/long-form-pricing.js +0 -6
- package/dist/long-form-profile.d.ts +0 -3
- package/dist/long-form-profile.js +0 -4
- package/dist/long-form-revision.d.ts +0 -9
- package/dist/long-form-revision.js +0 -11
- package/dist/markdown-quote.d.ts +0 -2
- package/dist/markdown-quote.js +0 -3
- package/dist/mascots.d.ts +0 -5
- package/dist/mascots.js +0 -10
- package/dist/max-credits.d.ts +0 -1
- package/dist/max-credits.js +0 -2
- package/dist/mcp-ugc-descriptions.d.ts +0 -2
- package/dist/mcp-ugc-descriptions.js +1 -6
- package/dist/media-timebase.d.ts +0 -2
- package/dist/media-timebase.js +0 -6
- package/dist/motion-styles.d.ts +0 -8
- package/dist/motion-styles.js +0 -11
- package/dist/moves.d.ts +0 -7
- package/dist/moves.js +0 -9
- package/dist/music.d.ts +0 -5
- package/dist/music.js +0 -8
- package/dist/naming.d.ts +0 -3
- package/dist/naming.js +0 -19
- package/dist/openapi.d.ts +0 -13
- package/dist/openapi.js +6 -11
- package/dist/output-provenance.d.ts +0 -4
- package/dist/output-provenance.js +0 -5
- package/dist/own-agent-price.d.ts +19 -22
- package/dist/own-agent-price.js +30 -25
- package/dist/own-agent-runs.d.ts +111 -11
- package/dist/own-agent-runs.js +89 -24
- package/dist/pacing.d.ts +3 -15
- package/dist/pacing.js +18 -18
- package/dist/parts-pricing.d.ts +0 -28
- package/dist/parts-pricing.js +0 -32
- package/dist/post-text.d.ts +0 -2
- package/dist/post-text.js +0 -4
- package/dist/presenter-beats.d.ts +0 -10
- package/dist/presenter-beats.js +0 -14
- package/dist/presenter-matte.d.ts +0 -7
- package/dist/presenter-matte.js +0 -9
- package/dist/presenter-takes.d.ts +0 -3
- package/dist/presenter-takes.js +0 -8
- package/dist/prices.d.ts +2 -8
- package/dist/prices.js +13 -23
- package/dist/public-endpoints.d.ts +0 -11
- package/dist/public-endpoints.js +0 -14
- package/dist/public-responses.d.ts +0 -2
- package/dist/public-responses.js +0 -3
- package/dist/rate-limit.d.ts +0 -24
- package/dist/rate-limit.js +0 -29
- package/dist/reference-analysis.d.ts +57 -34
- package/dist/reference-analysis.js +0 -69
- package/dist/reference-bring.d.ts +33 -0
- package/dist/reference-bring.js +28 -0
- package/dist/reference-display.d.ts +0 -3
- package/dist/reference-display.js +37 -4
- package/dist/reference-kinds.d.ts +0 -4
- package/dist/reference-kinds.js +0 -6
- package/dist/reference-lyrics.d.ts +0 -6
- package/dist/reference-lyrics.js +0 -6
- package/dist/reference-profile.d.ts +270 -39
- package/dist/reference-profile.js +64 -50
- package/dist/reference-staging.d.ts +0 -10
- package/dist/reference-staging.js +0 -14
- package/dist/reference-text-spans.d.ts +0 -4
- package/dist/reference-text-spans.js +0 -7
- package/dist/reference-voice-over.d.ts +0 -6
- package/dist/reference-voice-over.js +0 -7
- package/dist/reference-voice.d.ts +0 -7
- package/dist/reference-voice.js +0 -12
- package/dist/render-backend.d.ts +0 -30
- package/dist/render-backend.js +0 -5
- package/dist/resolved-timeline.d.ts +0 -4
- package/dist/resolved-timeline.js +1 -31
- package/dist/run-media.d.ts +0 -1
- package/dist/run-media.js +0 -2
- package/dist/run-preflight.d.ts +0 -4
- package/dist/run-preflight.js +0 -11
- package/dist/run-static-warnings.d.ts +0 -8
- package/dist/run-static-warnings.js +0 -38
- package/dist/runs.d.ts +0 -32
- package/dist/runs.js +0 -50
- package/dist/scene-bible.d.ts +15 -7
- package/dist/scene-bible.js +15 -10
- package/dist/scene-graph.d.ts +0 -12
- package/dist/scene-graph.js +0 -24
- package/dist/scene-place.d.ts +0 -25
- package/dist/scene-place.js +0 -24
- package/dist/scene-proposal.d.ts +0 -3
- package/dist/scene-proposal.js +0 -9
- package/dist/script-integrity.d.ts +0 -6
- package/dist/script-integrity.js +0 -8
- package/dist/script-voice.d.ts +0 -7
- package/dist/script-voice.js +0 -16
- package/dist/semantic-inserts.d.ts +0 -7
- package/dist/semantic-inserts.js +0 -10
- package/dist/skill-theme-explainer.js +0 -5
- package/dist/skill-theme.d.ts +0 -13
- package/dist/skill-theme.js +0 -25
- package/dist/skills.d.ts +22 -86
- package/dist/skills.js +21 -167
- package/dist/speech-rhythm-contract.js +0 -1
- package/dist/speech-rhythm.d.ts +0 -4
- package/dist/speech-rhythm.js +0 -2
- package/dist/templates/backdrop.d.ts +0 -3
- package/dist/templates/backdrop.js +0 -5
- package/dist/templates/callout.d.ts +0 -4
- package/dist/templates/callout.js +0 -6
- package/dist/templates/chart.d.ts +0 -4
- package/dist/templates/chart.js +0 -6
- package/dist/templates/chat-window.d.ts +0 -8
- package/dist/templates/chat-window.js +0 -10
- package/dist/templates/checklist.d.ts +0 -3
- package/dist/templates/checklist.js +0 -6
- package/dist/templates/comment-cta.d.ts +0 -14
- package/dist/templates/comment-cta.js +0 -19
- package/dist/templates/compare.d.ts +0 -6
- package/dist/templates/compare.js +0 -7
- package/dist/templates/cover-story.d.ts +0 -1
- package/dist/templates/cover-story.js +0 -3
- package/dist/templates/end-card.d.ts +0 -2
- package/dist/templates/end-card.js +0 -3
- package/dist/templates/hand-title.d.ts +0 -5
- package/dist/templates/hand-title.js +0 -9
- package/dist/templates/index.d.ts +0 -57
- package/dist/templates/index.js +0 -60
- package/dist/templates/lower-third.d.ts +0 -4
- package/dist/templates/lower-third.js +0 -5
- package/dist/templates/notification.d.ts +0 -6
- package/dist/templates/notification.js +0 -7
- package/dist/templates/phone-call.d.ts +0 -2
- package/dist/templates/phone-call.js +0 -6
- package/dist/templates/phone-screen.d.ts +0 -5
- package/dist/templates/phone-screen.js +0 -7
- package/dist/templates/pointer-chips.d.ts +0 -4
- package/dist/templates/pointer-chips.js +0 -6
- package/dist/templates/progress.d.ts +0 -3
- package/dist/templates/progress.js +0 -5
- package/dist/templates/quote.d.ts +0 -3
- package/dist/templates/quote.js +0 -4
- package/dist/templates/race.d.ts +0 -5
- package/dist/templates/race.js +0 -7
- package/dist/templates/rating.d.ts +0 -3
- package/dist/templates/rating.js +0 -5
- package/dist/templates/series-frame.d.ts +0 -16
- package/dist/templates/series-frame.js +0 -19
- package/dist/templates/size.d.ts +0 -7
- package/dist/templates/size.js +0 -8
- package/dist/templates/slot.d.ts +0 -2
- package/dist/templates/slot.js +0 -2
- package/dist/templates/sounds.d.ts +0 -12
- package/dist/templates/sounds.js +0 -16
- package/dist/templates/stat.d.ts +0 -3
- package/dist/templates/stat.js +0 -5
- package/dist/templates/tag.d.ts +0 -3
- package/dist/templates/tag.js +0 -5
- package/dist/templates/terminal.d.ts +0 -6
- package/dist/templates/terminal.js +0 -8
- package/dist/templates/theme.d.ts +0 -7
- package/dist/templates/theme.js +0 -9
- package/dist/templates/title-card.d.ts +0 -3
- package/dist/templates/title-card.js +0 -5
- package/dist/templates/video-grid.d.ts +0 -5
- package/dist/templates/video-grid.js +0 -8
- package/dist/templates/word-fill.d.ts +0 -3
- package/dist/templates/word-fill.js +0 -4
- package/dist/templates/word-title.d.ts +0 -2
- package/dist/templates/word-title.js +0 -4
- package/dist/trend-niches.d.ts +0 -11
- package/dist/trend-niches.js +0 -16
- package/dist/trend-search.d.ts +0 -66
- package/dist/trend-search.js +0 -70
- package/dist/tts-backend.d.ts +0 -19
- package/dist/tts-backend.js +0 -7
- package/dist/ugc-call.d.ts +0 -16
- package/dist/ugc-call.js +0 -21
- package/dist/ugc-delivery.d.ts +0 -2
- package/dist/ugc-delivery.js +0 -4
- package/dist/ugc-framing.d.ts +0 -4
- package/dist/ugc-framing.js +0 -6
- package/dist/ugc-interview.d.ts +0 -18
- package/dist/ugc-interview.js +0 -24
- package/dist/ugc-layers.d.ts +0 -39
- package/dist/ugc-layers.js +0 -39
- package/dist/ugc-scenes.d.ts +0 -2
- package/dist/ugc-scenes.js +0 -5
- package/dist/ugc-video-media.d.ts +0 -5
- package/dist/ugc-video-media.js +0 -7
- package/dist/uploads.d.ts +0 -14
- package/dist/uploads.js +0 -17
- package/dist/vendor-response.d.ts +0 -19
- package/dist/vendor-response.js +0 -22
- package/dist/video-size.d.ts +0 -4
- package/dist/video-size.js +0 -7
- package/dist/voice-admission.d.ts +0 -11
- package/dist/voice-admission.js +0 -13
- package/dist/voice-catalog-data.d.ts +0 -2
- package/dist/voice-catalog-data.js +0 -3
- package/dist/voice-catalog.d.ts +0 -6
- package/dist/voice-catalog.js +0 -8
- package/dist/voice-listing.d.ts +0 -6
- package/dist/voice-listing.js +0 -14
- package/dist/voice-pace.d.ts +0 -4
- package/dist/voice-pace.js +0 -7
- package/dist/voice-preview-approval.js +0 -1
- package/dist/voices.d.ts +4 -69
- package/dist/voices.js +3 -88
- package/dist/workflows/catalog.d.ts +0 -2
- package/dist/workflows/catalog.js +0 -4
- package/dist/workflows/film-directions.d.ts +0 -3
- package/dist/workflows/film-directions.js +0 -4
- package/dist/workflows/index.js +0 -1
- package/dist/workflows/methods/faceless-explainer.d.ts +31 -0
- package/dist/workflows/methods/faceless-explainer.js +0 -1
- package/dist/workflows/methods/kinetic-launch.d.ts +62 -1
- package/dist/workflows/methods/kinetic-launch.js +0 -2
- package/dist/workflows/methods/product-image-story.d.ts +31 -0
- package/dist/workflows/methods/product-image-story.js +0 -1
- package/dist/workflows/methods/reference-remake.d.ts +31 -0
- package/dist/workflows/methods/reference-remake.js +0 -1
- package/dist/workflows/methods/shared.d.ts +31 -1
- package/dist/workflows/methods/shared.js +0 -3
- package/dist/workflows/methods/ugc-faq-answer.d.ts +31 -0
- package/dist/workflows/methods/ugc-faq-answer.js +0 -1
- package/dist/workflows/methods/ugc-product-intro.d.ts +31 -0
- package/dist/workflows/methods/ugc-product-intro.js +0 -1
- package/dist/workflows/methods/website-proof-demo.d.ts +62 -1
- package/dist/workflows/methods/website-proof-demo.js +0 -2
- package/dist/workflows/motion-director.d.ts +0 -11
- package/dist/workflows/motion-director.js +0 -11
- package/dist/workflows/product-references.js +0 -1
- package/dist/workflows/reference-remake.d.ts +114 -17
- package/dist/workflows/reference-remake.js +0 -167
- package/dist/workflows/remake-chooser.d.ts +0 -6
- package/dist/workflows/remake-chooser.js +0 -4
- package/dist/workflows/remake-motion.d.ts +0 -16
- package/dist/workflows/remake-motion.js +0 -19
- package/dist/workflows/validate.d.ts +0 -1
- package/dist/workflows/validate.js +0 -5
- package/dist/workflows.js +0 -1
- package/package.json +1 -1
- package/dist/account-actors.js.map +0 -1
- package/dist/account.js.map +0 -1
- package/dist/actor-bounds.js.map +0 -1
- package/dist/actor-qualities.js.map +0 -1
- package/dist/actors.js.map +0 -1
- package/dist/ad-guide.js.map +0 -1
- package/dist/ad-pause-trim.js.map +0 -1
- package/dist/api-failure.js.map +0 -1
- package/dist/aspect.js.map +0 -1
- package/dist/asset-identity.js.map +0 -1
- package/dist/assets.js.map +0 -1
- package/dist/billing-terms.js.map +0 -1
- package/dist/brand-styles.js.map +0 -1
- package/dist/broll-policy.js.map +0 -1
- package/dist/canvas-fit.js.map +0 -1
- package/dist/caption-funnel.js.map +0 -1
- package/dist/caption-geometry.js.map +0 -1
- package/dist/caption-language.js.map +0 -1
- package/dist/contract-dispositions.js.map +0 -1
- package/dist/contracts/v1/workflow-brief.js.map +0 -1
- package/dist/contracts/v1/workflow-catalog.js.map +0 -1
- package/dist/contracts/v1/workflow-client.js.map +0 -1
- package/dist/contracts/v1/workflow-dto.js.map +0 -1
- package/dist/contracts/v1/workflow-evidence.js.map +0 -1
- package/dist/contracts/v1/workflow-execution.js.map +0 -1
- package/dist/contracts/v1/workflow-next.js.map +0 -1
- package/dist/contracts/v1/workflow-plan.js.map +0 -1
- package/dist/contracts/v1/workflow-primitives.js.map +0 -1
- package/dist/contracts/v1/workflow-run-read.js.map +0 -1
- package/dist/creator-profile.js.map +0 -1
- package/dist/default-actor.js.map +0 -1
- package/dist/design.js.map +0 -1
- package/dist/edit-billing.js.map +0 -1
- package/dist/edit-candidate.js.map +0 -1
- package/dist/edit-document.js.map +0 -1
- package/dist/edit-faceless.js.map +0 -1
- package/dist/edit-long-form.js.map +0 -1
- package/dist/edit-operations.js.map +0 -1
- package/dist/edit-primitives.js.map +0 -1
- package/dist/edit-revision.js.map +0 -1
- package/dist/edit-rules.js.map +0 -1
- package/dist/edit-shots.js.map +0 -1
- package/dist/edit-validate.js.map +0 -1
- package/dist/edit.js.map +0 -1
- package/dist/endpoint-notes.js.map +0 -1
- package/dist/endpoints.js.map +0 -1
- package/dist/errors.js.map +0 -1
- package/dist/explainer-fit.js.map +0 -1
- package/dist/face-billing.js.map +0 -1
- package/dist/face-delivery.js.map +0 -1
- package/dist/faceless-action-shots.js.map +0 -1
- package/dist/faceless-customer-anchors.js.map +0 -1
- package/dist/faceless-cut-style.js.map +0 -1
- package/dist/faceless-direction-summary.js.map +0 -1
- package/dist/faceless-image-placement.js.map +0 -1
- package/dist/faceless-image-qualification.js.map +0 -1
- package/dist/faceless-media-record.js.map +0 -1
- package/dist/faceless-price.js.map +0 -1
- package/dist/faceless-public-plan.js.map +0 -1
- package/dist/faceless-public.js.map +0 -1
- package/dist/faceless-short-61.js.map +0 -1
- package/dist/faceless-storyboard-timing.js.map +0 -1
- package/dist/faceless-storyboard-v2-plan.js.map +0 -1
- package/dist/faceless-storyboard-v2-timing.js.map +0 -1
- package/dist/faceless-storyboard-v2.js.map +0 -1
- package/dist/faceless-storyboard.js.map +0 -1
- package/dist/faceless-voices.js.map +0 -1
- package/dist/feedback.js.map +0 -1
- package/dist/film-directions.js.map +0 -1
- package/dist/film-drafts.js.map +0 -1
- package/dist/film-guide.js.map +0 -1
- package/dist/film-styles.js.map +0 -1
- package/dist/generation-shot.js.map +0 -1
- package/dist/generations-output.js.map +0 -1
- package/dist/generations.js.map +0 -1
- package/dist/idempotency.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/live-shot-kinds.js.map +0 -1
- package/dist/long-form-pricing.js.map +0 -1
- package/dist/long-form-profile.js.map +0 -1
- package/dist/long-form-revision.js.map +0 -1
- package/dist/markdown-quote.js.map +0 -1
- package/dist/mascots.js.map +0 -1
- package/dist/max-credits.js.map +0 -1
- package/dist/mcp-ugc-descriptions.js.map +0 -1
- package/dist/media-timebase.js.map +0 -1
- package/dist/motion-styles.js.map +0 -1
- package/dist/moves.js.map +0 -1
- package/dist/music.js.map +0 -1
- package/dist/naming.js.map +0 -1
- package/dist/openapi.js.map +0 -1
- package/dist/output-provenance.js.map +0 -1
- package/dist/own-agent-price.js.map +0 -1
- package/dist/own-agent-runs.js.map +0 -1
- package/dist/pacing.js.map +0 -1
- package/dist/parts-pricing.js.map +0 -1
- package/dist/post-text.js.map +0 -1
- package/dist/presenter-beats.js.map +0 -1
- package/dist/presenter-matte.js.map +0 -1
- package/dist/presenter-takes.js.map +0 -1
- package/dist/prices.js.map +0 -1
- package/dist/public-endpoints.js.map +0 -1
- package/dist/public-responses.js.map +0 -1
- package/dist/rate-limit.js.map +0 -1
- package/dist/reference-analysis.js.map +0 -1
- package/dist/reference-display.js.map +0 -1
- package/dist/reference-kinds.js.map +0 -1
- package/dist/reference-lyrics.js.map +0 -1
- package/dist/reference-profile.js.map +0 -1
- package/dist/reference-staging.js.map +0 -1
- package/dist/reference-text-spans.js.map +0 -1
- package/dist/reference-voice-over.js.map +0 -1
- package/dist/reference-voice.js.map +0 -1
- package/dist/render-backend.js.map +0 -1
- package/dist/resolved-timeline.js.map +0 -1
- package/dist/run-media.js.map +0 -1
- package/dist/run-preflight.js.map +0 -1
- package/dist/run-static-warnings.js.map +0 -1
- package/dist/runs.js.map +0 -1
- package/dist/scene-bible.js.map +0 -1
- package/dist/scene-graph.js.map +0 -1
- package/dist/scene-place.js.map +0 -1
- package/dist/scene-proposal.js.map +0 -1
- package/dist/script-integrity.js.map +0 -1
- package/dist/script-voice.js.map +0 -1
- package/dist/semantic-inserts.js.map +0 -1
- package/dist/skill-theme-explainer.js.map +0 -1
- package/dist/skill-theme.js.map +0 -1
- package/dist/skills.js.map +0 -1
- package/dist/speech-rhythm-contract.js.map +0 -1
- package/dist/speech-rhythm.js.map +0 -1
- package/dist/templates/backdrop.js.map +0 -1
- package/dist/templates/callout.js.map +0 -1
- package/dist/templates/chart.js.map +0 -1
- package/dist/templates/chat-window.js.map +0 -1
- package/dist/templates/checklist.js.map +0 -1
- package/dist/templates/comment-cta.js.map +0 -1
- package/dist/templates/compare.js.map +0 -1
- package/dist/templates/cover-story.js.map +0 -1
- package/dist/templates/end-card.js.map +0 -1
- package/dist/templates/hand-title.js.map +0 -1
- package/dist/templates/index.js.map +0 -1
- package/dist/templates/lower-third.js.map +0 -1
- package/dist/templates/notification.js.map +0 -1
- package/dist/templates/phone-call.js.map +0 -1
- package/dist/templates/phone-screen.js.map +0 -1
- package/dist/templates/pointer-chips.js.map +0 -1
- package/dist/templates/progress.js.map +0 -1
- package/dist/templates/quote.js.map +0 -1
- package/dist/templates/race.js.map +0 -1
- package/dist/templates/rating.js.map +0 -1
- package/dist/templates/series-frame.js.map +0 -1
- package/dist/templates/size.js.map +0 -1
- package/dist/templates/slot.js.map +0 -1
- package/dist/templates/sounds.js.map +0 -1
- package/dist/templates/stat.js.map +0 -1
- package/dist/templates/tag.js.map +0 -1
- package/dist/templates/terminal.js.map +0 -1
- package/dist/templates/theme.js.map +0 -1
- package/dist/templates/title-card.js.map +0 -1
- package/dist/templates/video-grid.js.map +0 -1
- package/dist/templates/word-fill.js.map +0 -1
- package/dist/templates/word-title.js.map +0 -1
- package/dist/trend-niches.js.map +0 -1
- package/dist/trend-search.js.map +0 -1
- package/dist/tts-backend.js.map +0 -1
- package/dist/ugc-call.js.map +0 -1
- package/dist/ugc-delivery.js.map +0 -1
- package/dist/ugc-framing.js.map +0 -1
- package/dist/ugc-interview.js.map +0 -1
- package/dist/ugc-layers.js.map +0 -1
- package/dist/ugc-scenes.js.map +0 -1
- package/dist/ugc-video-media.js.map +0 -1
- package/dist/uploads.js.map +0 -1
- package/dist/vendor-response.js.map +0 -1
- package/dist/video-size.js.map +0 -1
- package/dist/voice-admission.js.map +0 -1
- package/dist/voice-catalog-data.js.map +0 -1
- package/dist/voice-catalog.js.map +0 -1
- package/dist/voice-listing.js.map +0 -1
- package/dist/voice-pace.js.map +0 -1
- package/dist/voice-preview-approval.js.map +0 -1
- package/dist/voices.js.map +0 -1
- package/dist/workflows/catalog.js.map +0 -1
- package/dist/workflows/film-directions.js.map +0 -1
- package/dist/workflows/index.js.map +0 -1
- package/dist/workflows/methods/faceless-explainer.js.map +0 -1
- package/dist/workflows/methods/kinetic-launch.js.map +0 -1
- package/dist/workflows/methods/product-image-story.js.map +0 -1
- package/dist/workflows/methods/reference-remake.js.map +0 -1
- package/dist/workflows/methods/shared.js.map +0 -1
- package/dist/workflows/methods/ugc-faq-answer.js.map +0 -1
- package/dist/workflows/methods/ugc-product-intro.js.map +0 -1
- package/dist/workflows/methods/website-proof-demo.js.map +0 -1
- package/dist/workflows/motion-director.js.map +0 -1
- package/dist/workflows/product-references.js.map +0 -1
- package/dist/workflows/reference-remake.js.map +0 -1
- package/dist/workflows/remake-chooser.js.map +0 -1
- package/dist/workflows/remake-motion.js.map +0 -1
- package/dist/workflows/validate.js.map +0 -1
- package/dist/workflows.js.map +0 -1
|
@@ -6,7 +6,6 @@ import { workflowDigest, workflowFormat, workflowFormatRead, workflowIssue, work
|
|
|
6
6
|
export const workflowBeat = z.strictObject({ id: workflowLocalId, role: workflowText(80), anchor: facelessSceneAnchor, required: z.boolean(), visual: workflowText(2000).optional() });
|
|
7
7
|
export const workflowBeatRead = z.looseObject({ id: z.string(), role: z.string(), anchor: workflowAnchorRead, required: z.boolean(), visual: z.string().optional() });
|
|
8
8
|
const binding = z.discriminatedUnion('kind', [
|
|
9
|
-
// enforced: the executor refuses to deliver a film that misses a required beat's visual (#1461).
|
|
10
9
|
z.strictObject({ kind: z.literal('native'), skill: z.enum(['make_ugc', 'make_faceless']), profile: workflowText(80), visual_beats: z.enum(['advisory', 'enforced']) }),
|
|
11
10
|
z.strictObject({ kind: z.literal('blocked'), skill: z.literal('make_composition'), profile: workflowText(80), reasons: z.array(workflowIssue).min(1).max(20) }),
|
|
12
11
|
]);
|
|
@@ -15,7 +14,6 @@ const descriptorShape = {
|
|
|
15
14
|
title: workflowText(200), purpose: workflowText(2000), required_inputs: z.array(z.enum(['audience', 'message', 'script', 'question', 'product', 'topic', 'assets'])).min(1).max(10),
|
|
16
15
|
required_features: z.array(workflowText(80)).min(1).max(30),
|
|
17
16
|
script_rules: z.strictObject({ structure: z.array(workflowText(80)).min(1).max(20), instructions: z.array(workflowText(2000)).min(1).max(20),
|
|
18
|
-
// revisits: a beat may return to an earlier role while its anchor moves forward; absent keeps the strict order.
|
|
19
17
|
role_order: z.enum(['strict', 'revisits']).optional() }),
|
|
20
18
|
binding, output: z.strictObject({ formats: z.array(workflowFormat).min(1).max(20), timing: workflowText(2000) }),
|
|
21
19
|
limitations: z.array(workflowText(2000)).min(1).max(30), qa_policy: z.array(workflowText(2000)).min(1).max(30),
|
|
@@ -45,4 +43,3 @@ export const workflowMethodResponseRead = z.looseObject({ descriptor: methodDesc
|
|
|
45
43
|
});
|
|
46
44
|
export const workflowCatalogResponseRead = z.looseObject({ v: z.number(), capabilities: workflowMethodResponseRead.shape.capabilities,
|
|
47
45
|
methods: z.array(z.looseObject({ descriptor: methodDescriptorRead.pick({ id: true, version: true, content_digest: true, title: true, purpose: true, binding: true }), availability: workflowMethodResponseRead.shape.availability })) });
|
|
48
|
-
//# sourceMappingURL=workflow-catalog.js.map
|
|
@@ -431,6 +431,7 @@ export declare const workflowToolInputs: {
|
|
|
431
431
|
pacing: z.ZodObject<{
|
|
432
432
|
layer_change_every_s: z.ZodNumber;
|
|
433
433
|
face_share: z.ZodNumber;
|
|
434
|
+
effective_words_per_s: z.ZodOptional<z.ZodNumber>;
|
|
434
435
|
}, z.core.$strict>;
|
|
435
436
|
palette: z.ZodArray<z.ZodString>;
|
|
436
437
|
music: z.ZodString;
|
|
@@ -945,6 +946,62 @@ export declare const workflowToolInputs: {
|
|
|
945
946
|
start_s: z.ZodNumber;
|
|
946
947
|
end_s: z.ZodNumber;
|
|
947
948
|
}, z.core.$strict>>>;
|
|
949
|
+
shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
950
|
+
start_s: z.ZodNumber;
|
|
951
|
+
end_s: z.ZodNumber;
|
|
952
|
+
beat_index: z.ZodNumber;
|
|
953
|
+
words: z.ZodNumber;
|
|
954
|
+
silent: z.ZodBoolean;
|
|
955
|
+
cut_in: z.ZodEnum<{
|
|
956
|
+
from_insert: "from_insert";
|
|
957
|
+
jump_cut: "jump_cut";
|
|
958
|
+
other: "other";
|
|
959
|
+
size_change: "size_change";
|
|
960
|
+
start: "start";
|
|
961
|
+
to_insert: "to_insert";
|
|
962
|
+
}>;
|
|
963
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
964
|
+
kind: z.ZodEnum<{
|
|
965
|
+
ai_video: "ai_video";
|
|
966
|
+
code_render: "code_render";
|
|
967
|
+
live: "live";
|
|
968
|
+
real_footage: "real_footage";
|
|
969
|
+
screen_capture: "screen_capture";
|
|
970
|
+
}>;
|
|
971
|
+
confidence: z.ZodNumber;
|
|
972
|
+
measured: z.ZodBoolean;
|
|
973
|
+
}, z.core.$strict>>;
|
|
974
|
+
same_clip_as: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
975
|
+
}, z.core.$strict>>>;
|
|
976
|
+
tempo: z.ZodOptional<z.ZodObject<{
|
|
977
|
+
music_bed: z.ZodBoolean;
|
|
978
|
+
bpm: z.ZodNullable<z.ZodNumber>;
|
|
979
|
+
cuts_on_beat: z.ZodNullable<z.ZodNumber>;
|
|
980
|
+
cuts_on_beat_by_chance: z.ZodNullable<z.ZodNumber>;
|
|
981
|
+
edit_on_beat: z.ZodBoolean;
|
|
982
|
+
}, z.core.$strict>>;
|
|
983
|
+
bring: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
984
|
+
kind: z.ZodEnum<{
|
|
985
|
+
live_clip: "live_clip";
|
|
986
|
+
product_photo: "product_photo";
|
|
987
|
+
screen_recording: "screen_recording";
|
|
988
|
+
screenshot: "screenshot";
|
|
989
|
+
}>;
|
|
990
|
+
seconds: z.ZodNumber;
|
|
991
|
+
at_s: z.ZodArray<z.ZodNumber>;
|
|
992
|
+
}, z.core.$strict>>>;
|
|
993
|
+
sound_events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
994
|
+
t_s: z.ZodNumber;
|
|
995
|
+
kind: z.ZodEnum<{
|
|
996
|
+
click: "click";
|
|
997
|
+
ding: "ding";
|
|
998
|
+
hit: "hit";
|
|
999
|
+
impact: "impact";
|
|
1000
|
+
pop: "pop";
|
|
1001
|
+
typing: "typing";
|
|
1002
|
+
whoosh: "whoosh";
|
|
1003
|
+
}>;
|
|
1004
|
+
}, z.core.$strict>>>;
|
|
948
1005
|
analysis: z.ZodObject<{
|
|
949
1006
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
950
1007
|
}, z.core.$strip>;
|
|
@@ -9029,6 +9086,7 @@ export declare const workflowToolInputs: {
|
|
|
9029
9086
|
pacing: z.ZodObject<{
|
|
9030
9087
|
layer_change_every_s: z.ZodNumber;
|
|
9031
9088
|
face_share: z.ZodNumber;
|
|
9089
|
+
effective_words_per_s: z.ZodOptional<z.ZodNumber>;
|
|
9032
9090
|
}, z.core.$strict>;
|
|
9033
9091
|
palette: z.ZodArray<z.ZodString>;
|
|
9034
9092
|
music: z.ZodString;
|
|
@@ -9543,6 +9601,62 @@ export declare const workflowToolInputs: {
|
|
|
9543
9601
|
start_s: z.ZodNumber;
|
|
9544
9602
|
end_s: z.ZodNumber;
|
|
9545
9603
|
}, z.core.$strict>>>;
|
|
9604
|
+
shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9605
|
+
start_s: z.ZodNumber;
|
|
9606
|
+
end_s: z.ZodNumber;
|
|
9607
|
+
beat_index: z.ZodNumber;
|
|
9608
|
+
words: z.ZodNumber;
|
|
9609
|
+
silent: z.ZodBoolean;
|
|
9610
|
+
cut_in: z.ZodEnum<{
|
|
9611
|
+
from_insert: "from_insert";
|
|
9612
|
+
jump_cut: "jump_cut";
|
|
9613
|
+
other: "other";
|
|
9614
|
+
size_change: "size_change";
|
|
9615
|
+
start: "start";
|
|
9616
|
+
to_insert: "to_insert";
|
|
9617
|
+
}>;
|
|
9618
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
9619
|
+
kind: z.ZodEnum<{
|
|
9620
|
+
ai_video: "ai_video";
|
|
9621
|
+
code_render: "code_render";
|
|
9622
|
+
live: "live";
|
|
9623
|
+
real_footage: "real_footage";
|
|
9624
|
+
screen_capture: "screen_capture";
|
|
9625
|
+
}>;
|
|
9626
|
+
confidence: z.ZodNumber;
|
|
9627
|
+
measured: z.ZodBoolean;
|
|
9628
|
+
}, z.core.$strict>>;
|
|
9629
|
+
same_clip_as: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9630
|
+
}, z.core.$strict>>>;
|
|
9631
|
+
tempo: z.ZodOptional<z.ZodObject<{
|
|
9632
|
+
music_bed: z.ZodBoolean;
|
|
9633
|
+
bpm: z.ZodNullable<z.ZodNumber>;
|
|
9634
|
+
cuts_on_beat: z.ZodNullable<z.ZodNumber>;
|
|
9635
|
+
cuts_on_beat_by_chance: z.ZodNullable<z.ZodNumber>;
|
|
9636
|
+
edit_on_beat: z.ZodBoolean;
|
|
9637
|
+
}, z.core.$strict>>;
|
|
9638
|
+
bring: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9639
|
+
kind: z.ZodEnum<{
|
|
9640
|
+
live_clip: "live_clip";
|
|
9641
|
+
product_photo: "product_photo";
|
|
9642
|
+
screen_recording: "screen_recording";
|
|
9643
|
+
screenshot: "screenshot";
|
|
9644
|
+
}>;
|
|
9645
|
+
seconds: z.ZodNumber;
|
|
9646
|
+
at_s: z.ZodArray<z.ZodNumber>;
|
|
9647
|
+
}, z.core.$strict>>>;
|
|
9648
|
+
sound_events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9649
|
+
t_s: z.ZodNumber;
|
|
9650
|
+
kind: z.ZodEnum<{
|
|
9651
|
+
click: "click";
|
|
9652
|
+
ding: "ding";
|
|
9653
|
+
hit: "hit";
|
|
9654
|
+
impact: "impact";
|
|
9655
|
+
pop: "pop";
|
|
9656
|
+
typing: "typing";
|
|
9657
|
+
whoosh: "whoosh";
|
|
9658
|
+
}>;
|
|
9659
|
+
}, z.core.$strict>>>;
|
|
9546
9660
|
analysis: z.ZodObject<{
|
|
9547
9661
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9548
9662
|
}, z.core.$strip>;
|
|
@@ -42,4 +42,3 @@ export const WORKFLOW_TOOL_DESCRIPTIONS = {
|
|
|
42
42
|
quote_workflow_plan: 'Quote the approved current plan without spending credits. Free and read-only. Show the native price and every warning before requesting a paid launch. The returned quote_id expires and binds the exact revision and semantic input. Its launch is the ready run_workflow_plan body, with a fresh idempotency_key.',
|
|
43
43
|
run_workflow_plan: 'Start one explicitly approved paid workflow run: pass the launch object of its quote unchanged (revision, content_digest, semantic_input_digest, quote_id and idempotency_key). Over REST, send the header Idempotency-Key equal to launch.idempotency_key; this tool sets it for you. Returns immediately with its captured receipt and native run_id; call get_run with its poll.arguments. Never auto-approve, auto-quote or invent a new key. If delivery is uncertain, recover with the original request and key; a new key can pay twice. Technical evidence is separate from human creative acceptance.',
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=workflow-client.js.map
|
|
@@ -30,4 +30,3 @@ export const assetBindingRead = z.looseObject({
|
|
|
30
30
|
provenance: z.string(), rights: z.string(), purpose: z.string(),
|
|
31
31
|
protected_area: z.looseObject({ x: z.number(), y: z.number(), width: z.number(), height: z.number() }).optional(),
|
|
32
32
|
});
|
|
33
|
-
//# sourceMappingURL=workflow-evidence.js.map
|
|
@@ -956,7 +956,6 @@ export declare const workflowLaunchResponse: z.ZodObject<{
|
|
|
956
956
|
finished_at: z.ZodNullable<z.ZodString>;
|
|
957
957
|
}, z.core.$strip>;
|
|
958
958
|
}, z.core.$strict>;
|
|
959
|
-
/** Workflow readers accept informational enums from newer native executors; financial writers stay strict. */
|
|
960
959
|
export declare const workflowNativeRunRead: z.ZodObject<{
|
|
961
960
|
run_id: z.ZodString;
|
|
962
961
|
skill: z.ZodString;
|
|
@@ -15,9 +15,7 @@ export const workflowQuoteBinding = z.strictObject({
|
|
|
15
15
|
v: z.literal(1), quote_id: workflowQuoteId, plan_id: workflowId, revision: workflowRevision, content_digest: workflowDigest,
|
|
16
16
|
method: workflowMethodPin, semantic_input_digest: workflowDigest, expires_at: z.string().datetime(),
|
|
17
17
|
native_quote: z.discriminatedUnion('skill', [z.strictObject({ skill: z.literal('make_ugc'), quote: quoteResponse }), z.strictObject({ skill: z.literal('make_faceless'), quote: facelessQuoteResponse })]),
|
|
18
|
-
/** The plan's own warnings, such as what a reference remake does not reproduce, beside the native quote's (rule 3, C5). */
|
|
19
18
|
warnings: z.array(z.string()),
|
|
20
|
-
/** The run body itself, with a fresh key per quote (#884): sent unchanged, with Idempotency-Key equal to its idempotency_key. */
|
|
21
19
|
launch: launchWorkflow,
|
|
22
20
|
});
|
|
23
21
|
const nativeQuoteRead = z.union([
|
|
@@ -47,7 +45,6 @@ const rhythmRead = z.union([
|
|
|
47
45
|
speechRhythmResult.options[0].loose(), speechRhythmResult.options[1].extend({ reason: z.string() }).loose(),
|
|
48
46
|
z.looseObject({ status: z.string().refine(status => status !== 'available' && status !== 'unavailable') }),
|
|
49
47
|
]);
|
|
50
|
-
/** Workflow readers accept informational enums from newer native executors; financial writers stay strict. */
|
|
51
48
|
export const workflowNativeRunRead = runRead.extend({
|
|
52
49
|
actor: run.shape.actor.unwrap().extend({ aspect_ratio: z.string() }).loose().optional(),
|
|
53
50
|
faceless_billing: run.shape.faceless_billing.unwrap().extend({ tariffId: z.string() }).loose().optional(),
|
|
@@ -70,4 +67,3 @@ export const workflowOutcomeRead = z.looseObject({
|
|
|
70
67
|
beat_dispositions: z.array(z.looseObject({ beat_id: workflowLocalId, disposition: z.string(), reason: z.string().optional() })),
|
|
71
68
|
validation_issues: z.array(workflowIssueRead), creative_acceptance: z.string(),
|
|
72
69
|
});
|
|
73
|
-
//# sourceMappingURL=workflow-execution.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { launchWorkflow } from './workflow-execution.js';
|
|
3
3
|
import { type WorkflowNext } from './workflow-primitives.js';
|
|
4
|
-
/** A quote answer with the ready run call beside the binding. */
|
|
5
4
|
export declare const workflowQuoteAnswer: z.ZodObject<{
|
|
6
5
|
v: z.ZodLiteral<1>;
|
|
7
6
|
quote_id: z.ZodString;
|
|
@@ -323,7 +322,6 @@ export declare const launchWorkflowRequest: z.ZodObject<{
|
|
|
323
322
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
324
323
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
325
324
|
}, z.core.$strict>;
|
|
326
|
-
/** Draft plan: approve body to echo back; approved: the quote call. A plan needing revalidation has no next call but a revision. */
|
|
327
325
|
export declare function planNext(plan: {
|
|
328
326
|
plan_id: string;
|
|
329
327
|
status: string;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { launchWorkflow, workflowQuoteBinding } from './workflow-execution.js';
|
|
3
3
|
import { workflowDigest, workflowNext, workflowRevision } from './workflow-primitives.js';
|
|
4
|
-
/** A quote answer with the ready run call beside the binding. */
|
|
5
4
|
export const workflowQuoteAnswer = z.strictObject({ ...workflowQuoteBinding.shape, next: workflowNext });
|
|
6
5
|
export const launchWorkflowRequest = z.strictObject({ ...launchWorkflow.shape, idempotency_key: launchWorkflow.shape.idempotency_key.optional() });
|
|
7
|
-
/** Draft plan: approve body to echo back; approved: the quote call. A plan needing revalidation has no next call but a revision. */
|
|
8
6
|
export function planNext(plan) {
|
|
9
7
|
const base = `/v1/workflow-plans/${plan.plan_id}`;
|
|
10
8
|
if (plan.status === 'draft')
|
|
@@ -18,4 +16,3 @@ export function quoteNext(quote) {
|
|
|
18
16
|
return { ...quote, next: { action: 'run', method: 'POST', path: `/v1/workflow-plans/${quote.plan_id}/run`,
|
|
19
17
|
headers: { 'Idempotency-Key': quote.launch.idempotency_key }, body: quote.launch } };
|
|
20
18
|
}
|
|
21
|
-
//# sourceMappingURL=workflow-next.js.map
|
|
@@ -7967,6 +7967,7 @@ export declare const workflowPlanDocument: z.ZodObject<{
|
|
|
7967
7967
|
pacing: z.ZodObject<{
|
|
7968
7968
|
layer_change_every_s: z.ZodNumber;
|
|
7969
7969
|
face_share: z.ZodNumber;
|
|
7970
|
+
effective_words_per_s: z.ZodOptional<z.ZodNumber>;
|
|
7970
7971
|
}, z.core.$strict>;
|
|
7971
7972
|
palette: z.ZodArray<z.ZodString>;
|
|
7972
7973
|
music: z.ZodString;
|
|
@@ -8481,6 +8482,62 @@ export declare const workflowPlanDocument: z.ZodObject<{
|
|
|
8481
8482
|
start_s: z.ZodNumber;
|
|
8482
8483
|
end_s: z.ZodNumber;
|
|
8483
8484
|
}, z.core.$strict>>>;
|
|
8485
|
+
shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8486
|
+
start_s: z.ZodNumber;
|
|
8487
|
+
end_s: z.ZodNumber;
|
|
8488
|
+
beat_index: z.ZodNumber;
|
|
8489
|
+
words: z.ZodNumber;
|
|
8490
|
+
silent: z.ZodBoolean;
|
|
8491
|
+
cut_in: z.ZodEnum<{
|
|
8492
|
+
from_insert: "from_insert";
|
|
8493
|
+
jump_cut: "jump_cut";
|
|
8494
|
+
other: "other";
|
|
8495
|
+
size_change: "size_change";
|
|
8496
|
+
start: "start";
|
|
8497
|
+
to_insert: "to_insert";
|
|
8498
|
+
}>;
|
|
8499
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
8500
|
+
kind: z.ZodEnum<{
|
|
8501
|
+
ai_video: "ai_video";
|
|
8502
|
+
code_render: "code_render";
|
|
8503
|
+
live: "live";
|
|
8504
|
+
real_footage: "real_footage";
|
|
8505
|
+
screen_capture: "screen_capture";
|
|
8506
|
+
}>;
|
|
8507
|
+
confidence: z.ZodNumber;
|
|
8508
|
+
measured: z.ZodBoolean;
|
|
8509
|
+
}, z.core.$strict>>;
|
|
8510
|
+
same_clip_as: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8511
|
+
}, z.core.$strict>>>;
|
|
8512
|
+
tempo: z.ZodOptional<z.ZodObject<{
|
|
8513
|
+
music_bed: z.ZodBoolean;
|
|
8514
|
+
bpm: z.ZodNullable<z.ZodNumber>;
|
|
8515
|
+
cuts_on_beat: z.ZodNullable<z.ZodNumber>;
|
|
8516
|
+
cuts_on_beat_by_chance: z.ZodNullable<z.ZodNumber>;
|
|
8517
|
+
edit_on_beat: z.ZodBoolean;
|
|
8518
|
+
}, z.core.$strict>>;
|
|
8519
|
+
bring: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8520
|
+
kind: z.ZodEnum<{
|
|
8521
|
+
live_clip: "live_clip";
|
|
8522
|
+
product_photo: "product_photo";
|
|
8523
|
+
screen_recording: "screen_recording";
|
|
8524
|
+
screenshot: "screenshot";
|
|
8525
|
+
}>;
|
|
8526
|
+
seconds: z.ZodNumber;
|
|
8527
|
+
at_s: z.ZodArray<z.ZodNumber>;
|
|
8528
|
+
}, z.core.$strict>>>;
|
|
8529
|
+
sound_events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8530
|
+
t_s: z.ZodNumber;
|
|
8531
|
+
kind: z.ZodEnum<{
|
|
8532
|
+
click: "click";
|
|
8533
|
+
ding: "ding";
|
|
8534
|
+
hit: "hit";
|
|
8535
|
+
impact: "impact";
|
|
8536
|
+
pop: "pop";
|
|
8537
|
+
typing: "typing";
|
|
8538
|
+
whoosh: "whoosh";
|
|
8539
|
+
}>;
|
|
8540
|
+
}, z.core.$strict>>>;
|
|
8484
8541
|
analysis: z.ZodObject<{
|
|
8485
8542
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8486
8543
|
}, z.core.$strip>;
|
|
@@ -16632,6 +16689,7 @@ export declare const createWorkflowPlan: z.ZodObject<{
|
|
|
16632
16689
|
pacing: z.ZodObject<{
|
|
16633
16690
|
layer_change_every_s: z.ZodNumber;
|
|
16634
16691
|
face_share: z.ZodNumber;
|
|
16692
|
+
effective_words_per_s: z.ZodOptional<z.ZodNumber>;
|
|
16635
16693
|
}, z.core.$strict>;
|
|
16636
16694
|
palette: z.ZodArray<z.ZodString>;
|
|
16637
16695
|
music: z.ZodString;
|
|
@@ -17146,6 +17204,62 @@ export declare const createWorkflowPlan: z.ZodObject<{
|
|
|
17146
17204
|
start_s: z.ZodNumber;
|
|
17147
17205
|
end_s: z.ZodNumber;
|
|
17148
17206
|
}, z.core.$strict>>>;
|
|
17207
|
+
shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17208
|
+
start_s: z.ZodNumber;
|
|
17209
|
+
end_s: z.ZodNumber;
|
|
17210
|
+
beat_index: z.ZodNumber;
|
|
17211
|
+
words: z.ZodNumber;
|
|
17212
|
+
silent: z.ZodBoolean;
|
|
17213
|
+
cut_in: z.ZodEnum<{
|
|
17214
|
+
from_insert: "from_insert";
|
|
17215
|
+
jump_cut: "jump_cut";
|
|
17216
|
+
other: "other";
|
|
17217
|
+
size_change: "size_change";
|
|
17218
|
+
start: "start";
|
|
17219
|
+
to_insert: "to_insert";
|
|
17220
|
+
}>;
|
|
17221
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
17222
|
+
kind: z.ZodEnum<{
|
|
17223
|
+
ai_video: "ai_video";
|
|
17224
|
+
code_render: "code_render";
|
|
17225
|
+
live: "live";
|
|
17226
|
+
real_footage: "real_footage";
|
|
17227
|
+
screen_capture: "screen_capture";
|
|
17228
|
+
}>;
|
|
17229
|
+
confidence: z.ZodNumber;
|
|
17230
|
+
measured: z.ZodBoolean;
|
|
17231
|
+
}, z.core.$strict>>;
|
|
17232
|
+
same_clip_as: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17233
|
+
}, z.core.$strict>>>;
|
|
17234
|
+
tempo: z.ZodOptional<z.ZodObject<{
|
|
17235
|
+
music_bed: z.ZodBoolean;
|
|
17236
|
+
bpm: z.ZodNullable<z.ZodNumber>;
|
|
17237
|
+
cuts_on_beat: z.ZodNullable<z.ZodNumber>;
|
|
17238
|
+
cuts_on_beat_by_chance: z.ZodNullable<z.ZodNumber>;
|
|
17239
|
+
edit_on_beat: z.ZodBoolean;
|
|
17240
|
+
}, z.core.$strict>>;
|
|
17241
|
+
bring: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17242
|
+
kind: z.ZodEnum<{
|
|
17243
|
+
live_clip: "live_clip";
|
|
17244
|
+
product_photo: "product_photo";
|
|
17245
|
+
screen_recording: "screen_recording";
|
|
17246
|
+
screenshot: "screenshot";
|
|
17247
|
+
}>;
|
|
17248
|
+
seconds: z.ZodNumber;
|
|
17249
|
+
at_s: z.ZodArray<z.ZodNumber>;
|
|
17250
|
+
}, z.core.$strict>>>;
|
|
17251
|
+
sound_events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17252
|
+
t_s: z.ZodNumber;
|
|
17253
|
+
kind: z.ZodEnum<{
|
|
17254
|
+
click: "click";
|
|
17255
|
+
ding: "ding";
|
|
17256
|
+
hit: "hit";
|
|
17257
|
+
impact: "impact";
|
|
17258
|
+
pop: "pop";
|
|
17259
|
+
typing: "typing";
|
|
17260
|
+
whoosh: "whoosh";
|
|
17261
|
+
}>;
|
|
17262
|
+
}, z.core.$strict>>>;
|
|
17149
17263
|
analysis: z.ZodObject<{
|
|
17150
17264
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17151
17265
|
}, z.core.$strip>;
|
|
@@ -25195,6 +25309,7 @@ export declare const saveWorkflowPlan: z.ZodObject<{
|
|
|
25195
25309
|
pacing: z.ZodObject<{
|
|
25196
25310
|
layer_change_every_s: z.ZodNumber;
|
|
25197
25311
|
face_share: z.ZodNumber;
|
|
25312
|
+
effective_words_per_s: z.ZodOptional<z.ZodNumber>;
|
|
25198
25313
|
}, z.core.$strict>;
|
|
25199
25314
|
palette: z.ZodArray<z.ZodString>;
|
|
25200
25315
|
music: z.ZodString;
|
|
@@ -25709,6 +25824,62 @@ export declare const saveWorkflowPlan: z.ZodObject<{
|
|
|
25709
25824
|
start_s: z.ZodNumber;
|
|
25710
25825
|
end_s: z.ZodNumber;
|
|
25711
25826
|
}, z.core.$strict>>>;
|
|
25827
|
+
shots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25828
|
+
start_s: z.ZodNumber;
|
|
25829
|
+
end_s: z.ZodNumber;
|
|
25830
|
+
beat_index: z.ZodNumber;
|
|
25831
|
+
words: z.ZodNumber;
|
|
25832
|
+
silent: z.ZodBoolean;
|
|
25833
|
+
cut_in: z.ZodEnum<{
|
|
25834
|
+
from_insert: "from_insert";
|
|
25835
|
+
jump_cut: "jump_cut";
|
|
25836
|
+
other: "other";
|
|
25837
|
+
size_change: "size_change";
|
|
25838
|
+
start: "start";
|
|
25839
|
+
to_insert: "to_insert";
|
|
25840
|
+
}>;
|
|
25841
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
25842
|
+
kind: z.ZodEnum<{
|
|
25843
|
+
ai_video: "ai_video";
|
|
25844
|
+
code_render: "code_render";
|
|
25845
|
+
live: "live";
|
|
25846
|
+
real_footage: "real_footage";
|
|
25847
|
+
screen_capture: "screen_capture";
|
|
25848
|
+
}>;
|
|
25849
|
+
confidence: z.ZodNumber;
|
|
25850
|
+
measured: z.ZodBoolean;
|
|
25851
|
+
}, z.core.$strict>>;
|
|
25852
|
+
same_clip_as: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25853
|
+
}, z.core.$strict>>>;
|
|
25854
|
+
tempo: z.ZodOptional<z.ZodObject<{
|
|
25855
|
+
music_bed: z.ZodBoolean;
|
|
25856
|
+
bpm: z.ZodNullable<z.ZodNumber>;
|
|
25857
|
+
cuts_on_beat: z.ZodNullable<z.ZodNumber>;
|
|
25858
|
+
cuts_on_beat_by_chance: z.ZodNullable<z.ZodNumber>;
|
|
25859
|
+
edit_on_beat: z.ZodBoolean;
|
|
25860
|
+
}, z.core.$strict>>;
|
|
25861
|
+
bring: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25862
|
+
kind: z.ZodEnum<{
|
|
25863
|
+
live_clip: "live_clip";
|
|
25864
|
+
product_photo: "product_photo";
|
|
25865
|
+
screen_recording: "screen_recording";
|
|
25866
|
+
screenshot: "screenshot";
|
|
25867
|
+
}>;
|
|
25868
|
+
seconds: z.ZodNumber;
|
|
25869
|
+
at_s: z.ZodArray<z.ZodNumber>;
|
|
25870
|
+
}, z.core.$strict>>>;
|
|
25871
|
+
sound_events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
25872
|
+
t_s: z.ZodNumber;
|
|
25873
|
+
kind: z.ZodEnum<{
|
|
25874
|
+
click: "click";
|
|
25875
|
+
ding: "ding";
|
|
25876
|
+
hit: "hit";
|
|
25877
|
+
impact: "impact";
|
|
25878
|
+
pop: "pop";
|
|
25879
|
+
typing: "typing";
|
|
25880
|
+
whoosh: "whoosh";
|
|
25881
|
+
}>;
|
|
25882
|
+
}, z.core.$strict>>>;
|
|
25712
25883
|
analysis: z.ZodObject<{
|
|
25713
25884
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25714
25885
|
}, z.core.$strip>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ASPECT_RATIOS, offeredResolution } from '../../skills.js';
|
|
3
|
-
/** The exact next call of the approve, quote, run chain: send `body` (and `headers`) unchanged to `path`. */
|
|
4
3
|
export const workflowNext = z.strictObject({
|
|
5
4
|
action: z.enum(['approve', 'quote', 'run']), method: z.literal('POST'), path: z.string(),
|
|
6
5
|
headers: z.record(z.string(), z.string()).optional(), body: z.record(z.string(), z.unknown()).nullable(),
|
|
@@ -22,4 +21,3 @@ export const workflowMethodPin = z.strictObject({ method_id: workflowMethodId, v
|
|
|
22
21
|
export const workflowMethodPinRead = z.looseObject({ method_id: z.string(), version: workflowRevision, content_digest: workflowDigest, capability_digest: workflowDigest });
|
|
23
22
|
export const workflowIssue = z.strictObject({ kind: workflowText(80), path: z.string().max(500), message: workflowText(2000) });
|
|
24
23
|
export const workflowIssueRead = z.looseObject({ kind: z.string(), path: z.string(), message: z.string() });
|
|
25
|
-
//# sourceMappingURL=workflow-primitives.js.map
|
|
@@ -14,7 +14,6 @@ export declare const workflowAssetPlacementRead: z.ZodObject<{
|
|
|
14
14
|
shown_frame: z.ZodOptional<z.ZodNumber>;
|
|
15
15
|
}, z.core.$loose>;
|
|
16
16
|
export type WorkflowAssetPlacementRead = z.infer<typeof workflowAssetPlacementRead>;
|
|
17
|
-
/** `approved_plan` is the purchased document without `brief.reference_profile` (#1035); `receipt.content_digest` covers the full one. */
|
|
18
17
|
export declare const workflowRunOutcomeRead: z.ZodObject<{
|
|
19
18
|
receipt: z.ZodObject<{
|
|
20
19
|
account_id: z.ZodString;
|
|
@@ -8,11 +8,9 @@ export const workflowAssetPlacementRead = z.looseObject({
|
|
|
8
8
|
instance_id: z.string().min(1), asset_id: z.string().min(1), source_digest: workflowDigest,
|
|
9
9
|
first_word: frame, end_word: frame, shot_id: z.string().min(1), start_frame: frame, end_frame: frame,
|
|
10
10
|
normalized_sha256: workflowDigest, width: z.number().int().positive().safe(), height: z.number().int().positive().safe(),
|
|
11
|
-
/** An explainer film's picture (#1466): the delivery frame of the still that showed it on its words. */
|
|
12
11
|
shown_frame: frame.optional(),
|
|
13
12
|
}).refine(value => value.end_word > value.first_word && value.end_frame >= value.start_frame &&
|
|
14
13
|
(value.shown_frame === undefined || (value.shown_frame >= value.start_frame && value.shown_frame <= value.end_frame)), 'Placement interval must be ordered');
|
|
15
|
-
/** `approved_plan` is the purchased document without `brief.reference_profile` (#1035); `receipt.content_digest` covers the full one. */
|
|
16
14
|
export const workflowRunOutcomeRead = workflowOutcomeRead.extend({
|
|
17
15
|
approved_plan: workflowPlanDocumentRead, asset_placements: z.array(workflowAssetPlacementRead).nullable(),
|
|
18
16
|
}).refine(value => ['method_id', 'version', 'content_digest', 'capability_digest']
|
|
@@ -24,4 +22,3 @@ export const workflowRunIdentityRead = runRead.pick({ run_id: true, skill: true,
|
|
|
24
22
|
.refine(identifiesRun, 'Workflow must identify the native run');
|
|
25
23
|
export const workflowRun = run.extend({ workflow }).refine(identifiesRun, 'Workflow must identify the native run');
|
|
26
24
|
export const workflowRunRead = workflowNativeRunRead.extend({ workflow }).refine(identifiesRun, 'Workflow must identify the native run');
|
|
27
|
-
//# sourceMappingURL=workflow-run-read.js.map
|
|
@@ -1,52 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { scriptVoice } from "./script-voice.js";
|
|
3
|
-
/** A creator's profile (#999): the author behind an Instagram or TikTok link and their latest videos, each with its x to */
|
|
4
|
-
/** their median views. Its money rides a run of skill `analyze_creator`, held at the start and settled with the profile. */
|
|
5
3
|
export declare const CREATOR_PROFILES_PATH = "/v1/creator-profiles";
|
|
6
4
|
export declare const CREATOR_PROFILE_PATH = "/v1/creator-profiles/:id";
|
|
7
5
|
export declare const CREATOR_PROFILE_QUOTE_PATH = "/v1/creator-profiles/quote";
|
|
8
6
|
export declare const ANALYZE_CREATOR_TASK = "analyze-creator";
|
|
9
|
-
/** The run skill that carries a profile's hold and charge; not a `SKILLS` entry, since no `/v1/skills` route starts it. */
|
|
10
7
|
export declare const ANALYZE_CREATOR_SKILL = "analyze_creator";
|
|
11
8
|
export declare const creatorProfileId: z.ZodString;
|
|
12
|
-
/** The price of a delivered profile. */
|
|
13
9
|
export declare const CREATOR_PROFILE_CREDITS = 20;
|
|
14
10
|
export declare const CREATOR_PROFILE_PER_HOUR = 30;
|
|
15
11
|
export declare const CREATOR_PROFILE_WINDOW_SECONDS = 3600;
|
|
16
|
-
/** The latest videos a profile reads. */
|
|
17
12
|
export declare const CREATOR_PROFILE_VIDEOS = 12;
|
|
18
13
|
export declare const CREATOR_CAPTION_MAX_CHARS = 300;
|
|
19
|
-
/** A video at or above this x to the median is a top performer. */
|
|
20
14
|
export declare const CREATOR_TOP_X = 2;
|
|
21
|
-
/** Under this age at measured_at a video's x is preliminary: its views are still growing. */
|
|
22
15
|
export declare const CREATOR_PRELIMINARY_HOURS = 48;
|
|
23
|
-
/** A breakout: at least this x, this many views and this age at measured_at. */
|
|
24
16
|
export declare const CREATOR_BREAKOUT_X = 3;
|
|
25
17
|
export declare const CREATOR_BREAKOUT_VIEWS = 10000;
|
|
26
18
|
export declare const CREATOR_BREAKOUT_MIN_HOURS = 24;
|
|
27
|
-
/** A viral video: at least this x. */
|
|
28
19
|
export declare const CREATOR_VIRAL_X = 10;
|
|
29
|
-
/** The author's usual comment rate needs this many videos with both counts. */
|
|
30
20
|
export declare const CREATOR_COMMENT_NORM_MIN_VIDEOS = 3;
|
|
31
|
-
/** A video that took off names its comments among its reasons from this comment_rate_x. */
|
|
32
21
|
export declare const CREATOR_WHY_COMMENT_RATE_X = 1.5;
|
|
33
22
|
export declare const CREATOR_WHY_TOPICS_MAX = 2;
|
|
34
23
|
export declare const CREATOR_WHY_SIGNALS: readonly ["x", "comments", "funnel", "topic"];
|
|
35
24
|
export declare const CREATOR_COMMENT_NORM_WARNING: string;
|
|
36
|
-
/** A start on the same creator inside this window answers the profile already made, free. */
|
|
37
25
|
export declare const CREATOR_PROFILE_REPLAY_SECONDS = 3600;
|
|
38
|
-
/** The pass stops here and fails; under the task's ceiling. */
|
|
39
26
|
export declare const CREATOR_PROFILE_WORK_SECONDS = 90;
|
|
40
27
|
export declare const CREATOR_PROFILE_TASK_MAX_DURATION_SECONDS = 120;
|
|
41
|
-
/** Past this a read calls an unfinished profile failed: a task killed at its ceiling writes nothing. */
|
|
42
28
|
export declare const CREATOR_PROFILE_DEADLINE_SECONDS = 300;
|
|
43
|
-
/** Measured wall time of a profile's reads, for `retry_after_seconds`. */
|
|
44
29
|
export declare const CREATOR_PROFILE_EXPECTED_SECONDS = 20;
|
|
45
30
|
export declare const CREATOR_PROFILE_STATES: readonly ["queued", "analyzing", "succeeded", "failed"];
|
|
46
31
|
export declare const CREATOR_PROFILE_ERRORS: readonly ["timed_out", "profile_unavailable", "source_failed", "enqueue_failed"];
|
|
47
32
|
export type CreatorProfileError = (typeof CREATOR_PROFILE_ERRORS)[number];
|
|
48
33
|
export declare const CREATOR_PROFILE_ERROR_MESSAGES: Readonly<Record<CreatorProfileError, string>>;
|
|
49
|
-
/** What starts a profile: ids only, so no link reaches a log. */
|
|
50
34
|
export declare const analyzeCreatorPayload: z.ZodObject<{
|
|
51
35
|
profileId: z.ZodString;
|
|
52
36
|
accountId: z.ZodString;
|
|
@@ -54,9 +38,7 @@ export declare const analyzeCreatorPayload: z.ZodObject<{
|
|
|
54
38
|
export type AnalyzeCreatorPayload = z.infer<typeof analyzeCreatorPayload>;
|
|
55
39
|
export declare const CREATOR_PLATFORMS: readonly ["instagram", "tiktok"];
|
|
56
40
|
export type CreatorPlatform = (typeof CREATOR_PLATFORMS)[number];
|
|
57
|
-
/** The creator a start replays by: from a handle link at once, from a reel or a short link once its author is resolved. */
|
|
58
41
|
export declare const creatorKey: z.ZodString;
|
|
59
|
-
/** The link itself, normalized: the same reel or short link given twice replays before its author is known. */
|
|
60
42
|
export declare const creatorLinkKey: z.ZodString;
|
|
61
43
|
export declare const CREATOR_URL_YOUTUBE_REFUSAL = "YouTube channels are not read; pass an Instagram or TikTok profile or video link";
|
|
62
44
|
export declare const CREATOR_URL_ACCEPTED: string;
|
|
@@ -80,9 +62,7 @@ export type CreatorUrl = {
|
|
|
80
62
|
ok: false;
|
|
81
63
|
message: string;
|
|
82
64
|
};
|
|
83
|
-
/** The key of a creator by handle; handles are compared without case. */
|
|
84
65
|
export declare const creatorKeyOf: (platform: CreatorPlatform, name: string) => string;
|
|
85
|
-
/** Which creator a link names, read from its text alone: no network, so a refusal costs nothing. */
|
|
86
66
|
export declare function classifyCreatorUrl(raw: string): CreatorUrl;
|
|
87
67
|
export declare const analyzeCreatorRequest: z.ZodObject<{
|
|
88
68
|
source_url: z.ZodString;
|
|
@@ -130,7 +110,6 @@ export declare const creatorVideo: z.ZodObject<{
|
|
|
130
110
|
}, z.core.$strict>>;
|
|
131
111
|
}, z.core.$strict>;
|
|
132
112
|
export type CreatorVideo = z.infer<typeof creatorVideo>;
|
|
133
|
-
/** `null` is unknown, never 0, and each unknown is also a line in `warnings[]`. */
|
|
134
113
|
export declare const creatorProfile: z.ZodObject<{
|
|
135
114
|
author: z.ZodObject<{
|
|
136
115
|
platform: z.ZodEnum<{
|
|
@@ -197,7 +176,6 @@ export declare const creatorProfile: z.ZodObject<{
|
|
|
197
176
|
}, z.core.$strict>>;
|
|
198
177
|
}, z.core.$strict>;
|
|
199
178
|
export type CreatorProfile = z.infer<typeof creatorProfile>;
|
|
200
|
-
/** The voice the author's captions show, read on the profile's own words; undefined when they show nothing to propose. */
|
|
201
179
|
export declare function creatorVoiceProposal(profile: Pick<CreatorProfile, "author" | "videos">): z.infer<typeof scriptVoice> | undefined;
|
|
202
180
|
export declare const CREATOR_UNTRUSTED_NOTE: string;
|
|
203
181
|
export declare const CREATOR_UNTRUSTED_FIELDS: readonly ["profile.author.name", "profile.author.handle", "profile.videos[].caption.text", "profile.videos[].funnel", "profile.videos[].why[].text", "profile.voice_proposal", "display_markdown"];
|
|
@@ -334,7 +312,6 @@ export declare const creatorProfileAnswer: z.ZodObject<{
|
|
|
334
312
|
display_hint: z.ZodOptional<z.ZodString>;
|
|
335
313
|
}, z.core.$strict>;
|
|
336
314
|
export type CreatorProfileAnswer = z.infer<typeof creatorProfileAnswer>;
|
|
337
|
-
/** What a client reads: a new state, error code or profile field must not break an installed client. */
|
|
338
315
|
export declare const creatorProfileRead: z.ZodObject<{
|
|
339
316
|
profile_id: z.ZodString;
|
|
340
317
|
source_url: z.ZodString;
|
|
@@ -366,7 +343,6 @@ export declare const creatorProfileQuote: z.ZodObject<{
|
|
|
366
343
|
warnings: z.ZodArray<z.ZodString>;
|
|
367
344
|
}, z.core.$strict>;
|
|
368
345
|
export type CreatorProfileQuote = z.infer<typeof creatorProfileQuote>;
|
|
369
|
-
/** One video as the source reads it, before the profile's arithmetic. */
|
|
370
346
|
export interface CreatorSourceVideo {
|
|
371
347
|
url: string;
|
|
372
348
|
postedAt: Date | null;
|
|
@@ -384,21 +360,15 @@ export interface CreatorSource {
|
|
|
384
360
|
followers: number | null;
|
|
385
361
|
videos: readonly CreatorSourceVideo[];
|
|
386
362
|
}
|
|
387
|
-
/** The median of the known counts; `null` with none. A 0 is a count, an unknown is left out. */
|
|
388
363
|
export declare function medianOf(values: readonly (number | null)[]): number | null;
|
|
389
|
-
/** A video's x to the median, one decimal; unknown when its views or the median are, and when the median is 0. */
|
|
390
364
|
export declare function xToMedian(views: number | null, median: number | null): number | null;
|
|
391
365
|
export declare const creatorAuthorUrl: (platform: CreatorPlatform, name: string) => string;
|
|
392
|
-
/** The profile from the source's read: the latest videos newest first, their median and x, and the cadence; unknowns said in warnings. */
|
|
393
366
|
export declare function buildCreatorProfile(source: CreatorSource, measuredAt: Date): {
|
|
394
367
|
profile: CreatorProfile;
|
|
395
368
|
warnings: string[];
|
|
396
369
|
};
|
|
397
|
-
/** A stored profile with the fields read from its measured numbers: one written before them gains them from its stored captions, cut as they */
|
|
398
|
-
/** are; one that has them is left as is. Anything else is returned unchanged for the caller's parse to refuse. */
|
|
399
370
|
export declare function storedCreatorProfile(stored: unknown): unknown;
|
|
400
371
|
export declare const CREATOR_DISPLAY_HINT: string;
|
|
401
|
-
/** The answer as a compact table an agent shows as is: the author, the median and cadence, and each video with its x. */
|
|
402
372
|
export declare function creatorProfileMarkdown(answer: CreatorProfileAnswer): string;
|
|
403
373
|
export declare const ANALYZE_CREATOR_DESCRIPTION: string;
|
|
404
374
|
export declare const GET_CREATOR_PROFILE_DESCRIPTION: string;
|