@clipwright/core 0.60.0 → 0.62.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.d.ts +27 -0
- package/dist/ad-guide.js +7 -2
- package/dist/ad-ids.d.ts +3 -0
- package/dist/ad-ids.js +4 -0
- package/dist/ad-pause-trim.d.ts +0 -5
- package/dist/ad-pause-trim.js +0 -8
- package/dist/ads.d.ts +145 -0
- package/dist/ads.js +56 -0
- package/dist/api-failure.d.ts +6 -44
- package/dist/api-failure.js +16 -67
- 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/diy-next.d.ts +18 -0
- package/dist/diy-next.js +13 -0
- 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-music.d.ts +397 -0
- package/dist/edit-music.js +77 -0
- 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 +11 -21
- package/dist/errors.d.ts +29 -43
- package/dist/errors.js +18 -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 +4 -0
- package/dist/index.js +4 -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 +9 -11
- package/dist/output-provenance.d.ts +0 -4
- package/dist/output-provenance.js +0 -5
- package/dist/own-agent-price.d.ts +21 -22
- package/dist/own-agent-price.js +34 -25
- package/dist/own-agent-runs.d.ts +351 -11
- package/dist/own-agent-runs.js +144 -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 +24 -12
- package/dist/templates/sounds.js +2 -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
package/dist/actors.js
CHANGED
|
@@ -5,28 +5,21 @@ import { sharpCropOf } from "./scene-place.js";
|
|
|
5
5
|
import { ACTOR_FOR_GENDER, actorId, ASPECT_RATIOS, LEGACY_RUN_RESOLUTION, RESOLUTIONS } from "./skills.js";
|
|
6
6
|
import { defaultVoiceOf, DEFAULT_VOICE_PRESET, speaksOwnVoices, VOICE_PRESETS } from "./voices.js";
|
|
7
7
|
export const ACTORS_PATH = "/v1/actors";
|
|
8
|
-
/** An account's personal actor: the quote is free, the run is paid. The API routes repeat */
|
|
9
|
-
/** these paths as literals, and a test keeps them equal. */
|
|
10
8
|
export const CREATE_ACTOR_QUOTE_PATH = "/v1/skills/create_actor/quote";
|
|
11
9
|
export const CREATE_ACTOR_RUN_PATH = "/v1/skills/create_actor/run";
|
|
12
|
-
/** A catalog actor's picture on the API's own host (#1125): short, stable and unsigned, so chat clients show it inline. */
|
|
13
10
|
export const ACTOR_PREVIEW_PATH = "/v1/public/actor-previews/:actor_id/:version/:file";
|
|
14
|
-
/** One file name per view of a version: `9x16`, `9x16-wide-mic`, `16x9-left`. */
|
|
15
11
|
export function actorPreviewFile(view) {
|
|
16
12
|
return `${[view.aspect_ratio.replace(":", "x"), view.framing, view.gaze, view.prop].filter(Boolean).join("-")}.png`;
|
|
17
13
|
}
|
|
18
14
|
export function actorPreviewUrl(origin, actor, view) {
|
|
19
15
|
return `${origin}/v1/public/actor-previews/${encodeURIComponent(actor.actor_id)}/${actor.version}/${actorPreviewFile(view)}`;
|
|
20
16
|
}
|
|
21
|
-
/** The path of one actor. The id is encoded, since it comes from the caller. */
|
|
22
17
|
export function actorItemPath(id) {
|
|
23
18
|
return `${ACTORS_PATH}/${encodeURIComponent(id)}`;
|
|
24
19
|
}
|
|
25
|
-
// Default portrait dimensions and gender were measured on 2026-09-09 (#64, D50).
|
|
26
20
|
export const DEFAULT_ACTOR_SOURCE = { width: 432, height: 768, origin: "default" };
|
|
27
21
|
export const DEFAULT_ACTOR = { gender: "male" };
|
|
28
22
|
export const DEFAULT_ACTOR_GENDER = DEFAULT_ACTOR.gender;
|
|
29
|
-
/** actor_gender without image or actor_id becomes that gender's catalogue actor, named in warnings[] (rule 3): quote and run read the same input. */
|
|
30
23
|
export function settleActorGender(input) {
|
|
31
24
|
const gender = input.actor_gender;
|
|
32
25
|
if (gender === undefined || input.image !== undefined || input.actor_id !== undefined || input.person !== undefined)
|
|
@@ -37,7 +30,6 @@ export function settleActorGender(input) {
|
|
|
37
30
|
"from list_actors; pass actor_id to pick another"] };
|
|
38
31
|
}
|
|
39
32
|
export const DEFAULT_PRESENTER_WARNING = "no presenter was chosen: the default presenter is a man; pass actor_gender, or actor_id from list_actors, to pick another";
|
|
40
|
-
/** With no presenter named the default actor, a man, presents: said in warnings[] with how to pick another. */
|
|
41
33
|
export function defaultPresenterWarnings(input) {
|
|
42
34
|
return input.image === undefined && input.actor_id === undefined && input.actor_gender === undefined && input.person === undefined
|
|
43
35
|
? [DEFAULT_PRESENTER_WARNING] : [];
|
|
@@ -51,8 +43,6 @@ export function actorForInput(input, selected) {
|
|
|
51
43
|
}
|
|
52
44
|
return input.image === undefined ? DEFAULT_ACTOR : null;
|
|
53
45
|
}
|
|
54
|
-
/** Gender for the default voice: `actor_id` → pin; `image` → `actor_gender`; else the default actor. */
|
|
55
|
-
/** Only from the same actor's pin, not the catalog: personal actors are not in it. */
|
|
56
46
|
export function voiceGenderFor(input, pin) {
|
|
57
47
|
if (input.actor_id !== undefined) {
|
|
58
48
|
if (pin?.actor_id !== input.actor_id) {
|
|
@@ -64,7 +54,6 @@ export function voiceGenderFor(input, pin) {
|
|
|
64
54
|
}
|
|
65
55
|
export const IMAGE_DEFAULT_VOICE_WARNING = `no voice was chosen for the face in image: the default ${VOICE_PRESETS[DEFAULT_VOICE_PRESET].gender} ` +
|
|
66
56
|
`voice "${DEFAULT_VOICE_PRESET}" is used; pass voice (from list_voices) or actor_gender to match the face`;
|
|
67
|
-
/** The same warning for the run's model: a model with its own voices names its default and where its voices are listed. */
|
|
68
57
|
export function imageDefaultVoiceWarning(ttsModel) {
|
|
69
58
|
if (!speaksOwnVoices(ttsModel))
|
|
70
59
|
return IMAGE_DEFAULT_VOICE_WARNING;
|
|
@@ -80,14 +69,11 @@ export function voiceActorGenderWarning(voice, voiceGender, actorGender) {
|
|
|
80
69
|
`so the face and the voice will not match. Choose a ${actorGender} voice from list_voices, ` +
|
|
81
70
|
"or another actor, if that is not what you want.");
|
|
82
71
|
}
|
|
83
|
-
/** The actor's gender WITHOUT throwing: a pin's comes from the snapshot, not the catalog. */
|
|
84
72
|
function actorGenderOf(input, pinGender) {
|
|
85
73
|
if (input.actor_id !== undefined)
|
|
86
74
|
return pinGender;
|
|
87
75
|
return input.image === undefined ? DEFAULT_ACTOR_GENDER : input.actor_gender;
|
|
88
76
|
}
|
|
89
|
-
/** An explicit voice is used as requested, but a mismatch with the actor's gender is */
|
|
90
|
-
/** NAMED in warnings, never left silent. */
|
|
91
77
|
export function buildVoiceActorMatchWarnings(input, voiceGenderOf, pinGender) {
|
|
92
78
|
if (input.voice === undefined)
|
|
93
79
|
return [];
|
|
@@ -97,7 +83,6 @@ export function buildVoiceActorMatchWarnings(input, voiceGenderOf, pinGender) {
|
|
|
97
83
|
return [];
|
|
98
84
|
return [voiceActorGenderWarning(input.voice, voiceGender, actorGender)];
|
|
99
85
|
}
|
|
100
|
-
/** Reads input fields only, without the pin: the run path calls it on the stored input. */
|
|
101
86
|
export function buildActorGenderWarnings(input) {
|
|
102
87
|
const explicit = input.voice_id !== undefined ? "voice_id" : input.voice !== undefined ? "voice" : undefined;
|
|
103
88
|
if (input.actor_gender !== undefined) {
|
|
@@ -105,13 +90,10 @@ export function buildActorGenderWarnings(input) {
|
|
|
105
90
|
}
|
|
106
91
|
return input.image !== undefined && explicit === undefined ? [imageDefaultVoiceWarning(input.tts_model)] : [];
|
|
107
92
|
}
|
|
108
|
-
/** The presenter's framing as rendered: the view admission pinned, close without one (#884 S5d). */
|
|
109
93
|
export function renderedPresenterFraming(pin) {
|
|
110
94
|
const framing = pin?.asset?.framing;
|
|
111
95
|
return framing === "wide" || framing === "full" ? framing : "close";
|
|
112
96
|
}
|
|
113
|
-
/** presenter_place's face on a view whose face is known small (a full view, a personal actor's wide view): when even the least crop it needs is
|
|
114
|
-
* past what the portrait holds sharp, the quote says the presenter is framed wider (#1196), before the run measures the exact face. */
|
|
115
97
|
function presenterPlaceSoftness(input, pin) {
|
|
116
98
|
const place = input.presenter_place, asset = pin?.asset, view = renderedPresenterFraming(pin);
|
|
117
99
|
const largest = view === "full" ? ACTOR_FULL_PORTRAIT_FACE_HEIGHT
|
|
@@ -125,8 +107,6 @@ function presenterPlaceSoftness(input, pin) {
|
|
|
125
107
|
return `presenter_place face height ${place.face_height.toFixed(2)}: the actor's ${view} portrait shows the face under ${largest} of its height, so a ` +
|
|
126
108
|
`crop that tight would be soft; the presenter is framed wider, at face height ${(largest * Math.max(1, sharp)).toFixed(2)} or less`;
|
|
127
109
|
}
|
|
128
|
-
/** What a wide, full or mic request did not get, one line each, read from the pin admission made: a view is pinned only when drawn (#884 S5d, */
|
|
129
|
-
/** rule 3). A take is never widened or cropped to match: a full framing[] size on a narrower take names it (#1175 S7). */
|
|
130
110
|
export function presenterViewWarnings(input, pin) {
|
|
131
111
|
const warnings = [];
|
|
132
112
|
const whose = pin?.actor_id === undefined ? undefined : `${actorIdScope(pin.actor_id) === "account" ? "personal actor" : "actor"} ${pin.actor_id}`;
|
|
@@ -184,4 +164,3 @@ export const actorCatalogEntry = z.object({
|
|
|
184
164
|
})).min(1),
|
|
185
165
|
});
|
|
186
166
|
export const actorsResponse = z.object({ actors: z.array(actorCatalogEntry) });
|
|
187
|
-
//# sourceMappingURL=actors.js.map
|
package/dist/ad-guide.d.ts
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AD_GUIDE_PATH = "/v1/ad-guide";
|
|
3
|
+
export declare const AD_GUIDE_SECTION_IDS: readonly ["ugc", "order", "script", "product_sheet", "photo_edit", "hero", "location", "props", "states", "models", "motion_test", "shot_list", "devices", "takes", "audit", "repair", "edit", "final_check", "spend"];
|
|
4
|
+
export type AdGuideSectionId = (typeof AD_GUIDE_SECTION_IDS)[number];
|
|
5
|
+
export declare const adGuideQuery: z.ZodObject<{
|
|
6
|
+
section: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
audit: "audit";
|
|
8
|
+
devices: "devices";
|
|
9
|
+
edit: "edit";
|
|
10
|
+
final_check: "final_check";
|
|
11
|
+
hero: "hero";
|
|
12
|
+
location: "location";
|
|
13
|
+
models: "models";
|
|
14
|
+
motion_test: "motion_test";
|
|
15
|
+
order: "order";
|
|
16
|
+
photo_edit: "photo_edit";
|
|
17
|
+
product_sheet: "product_sheet";
|
|
18
|
+
props: "props";
|
|
19
|
+
repair: "repair";
|
|
20
|
+
script: "script";
|
|
21
|
+
shot_list: "shot_list";
|
|
22
|
+
spend: "spend";
|
|
23
|
+
states: "states";
|
|
24
|
+
takes: "takes";
|
|
25
|
+
ugc: "ugc";
|
|
26
|
+
}>>;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
export type AdGuideQuery = z.infer<typeof adGuideQuery>;
|
|
3
29
|
export declare const adGuide: z.ZodObject<{
|
|
4
30
|
guide: z.ZodString;
|
|
31
|
+
version: z.ZodOptional<z.ZodString>;
|
|
5
32
|
}, z.core.$strict>;
|
|
6
33
|
export type AdGuide = z.infer<typeof adGuide>;
|
package/dist/ad-guide.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
// The ad guide (#1539 P3): short rules for an agent building an ad with make_ugc, served read-only and free.
|
|
3
2
|
export const AD_GUIDE_PATH = "/v1/ad-guide";
|
|
3
|
+
export const AD_GUIDE_SECTION_IDS = ["ugc", "order", "script", "product_sheet", "photo_edit", "hero", "location", "props", "states", "models",
|
|
4
|
+
"motion_test", "shot_list", "devices", "takes", "audit", "repair", "edit", "final_check", "spend"];
|
|
5
|
+
export const adGuideQuery = z.strictObject({
|
|
6
|
+
section: z.enum(AD_GUIDE_SECTION_IDS).optional()
|
|
7
|
+
.describe("One part of the guide instead of all of it: ugc (the make_ugc rules) or one step of making the ad yourself"),
|
|
8
|
+
});
|
|
4
9
|
export const adGuide = z.strictObject({
|
|
5
10
|
guide: z.string().min(1).describe("The ad guide, Markdown: the word → device catalogue, the hook, poses, live shots, captions, hands and density"),
|
|
11
|
+
version: z.string().regex(/^[a-f0-9]{12}$/).optional().describe("The guide's version: it changes whenever any part of the guide does"),
|
|
6
12
|
});
|
|
7
|
-
//# sourceMappingURL=ad-guide.js.map
|
package/dist/ad-ids.d.ts
ADDED
package/dist/ad-ids.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const adId = z.string().regex(/^ad_[a-f0-9]{32}$/, "an ad id is ad_ and 32 hex characters").describe("An ad record of this account (create_ad)");
|
|
3
|
+
export const adSlotId = z.string().regex(/^[a-z0-9][a-z0-9_-]{0,23}$/, "a slot id is up to 24 lowercase letters, digits, - or _")
|
|
4
|
+
.describe("A slot of the ad record: one shot of the shot list, such as hook or s2");
|
package/dist/ad-pause-trim.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { PauseTrimTargets } from "./reference-voice.js";
|
|
2
|
-
/** The pauses a run with templates, scenes or live shots is cut down to when it names no pause_trim. */
|
|
3
2
|
export declare const AD_PAUSE_TRIM: Readonly<{
|
|
4
3
|
sentence_end_s: 0.15;
|
|
5
4
|
comma_s: 0.08;
|
|
@@ -13,15 +12,11 @@ interface AdStyleInput {
|
|
|
13
12
|
interview?: unknown;
|
|
14
13
|
format?: string | undefined;
|
|
15
14
|
}
|
|
16
|
-
/** A video that cuts graphics or live shots on its words; an interview keeps its own pauses. */
|
|
17
15
|
export declare const isAdStyleUgcInput: (input: AdStyleInput) => boolean;
|
|
18
|
-
/** The pauses a faceless narration is cut to (#1228): the call's own, `false` to keep them, else the ad default when the video draws on its */
|
|
19
|
-
/** words. Read from the stored request by the quote, the run and its warnings alike, so any faceless format resolves it the same way. */
|
|
20
16
|
export declare function facelessPauseTrim(input: AdStyleInput): PauseTrimTargets | false | undefined;
|
|
21
17
|
export declare const facelessPauseTrimWarnings: (input: Omit<AdStyleInput, "pause_trim"> & {
|
|
22
18
|
pause_trim?: unknown;
|
|
23
19
|
}) => string[];
|
|
24
|
-
/** The request with the default pinned and marked, so the run and its record say it; a run that named pause_trim, false included, is left as asked. */
|
|
25
20
|
export declare function withAdPauseTrim<T extends AdStyleInput>(input: T): T & {
|
|
26
21
|
pause_trim_source?: "ad_default";
|
|
27
22
|
};
|
package/dist/ad-pause-trim.js
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
// Ad-style runs trim narration pauses by default (#1136): graphics and live shots cut on the words, and long pauses read as a slow ad.
|
|
2
|
-
/** The pauses a run with templates, scenes or live shots is cut down to when it names no pause_trim. */
|
|
3
1
|
export const AD_PAUSE_TRIM = Object.freeze({ sentence_end_s: 0.15, comma_s: 0.08 });
|
|
4
2
|
export const AD_PAUSE_TRIM_WARNING = `pause_trim: narration pauses are shortened to ${AD_PAUSE_TRIM.sentence_end_s} s after a sentence and ` +
|
|
5
3
|
`${AD_PAUSE_TRIM.comma_s} s after a comma, the default for a video with graphics or live shots; pass pause_trim false to keep every pause, ` +
|
|
6
4
|
"or your own targets";
|
|
7
|
-
/** A video that cuts graphics or live shots on its words; an interview keeps its own pauses. */
|
|
8
5
|
export const isAdStyleUgcInput = (input) => input.interview === undefined &&
|
|
9
6
|
[input.templates, input.scenes, input.shots].some(items => (items?.length ?? 0) > 0);
|
|
10
|
-
/** A faceless video drawn on its words: one with templates, scenes or shots, or an explainer, whose scenes land word by word (#1216). */
|
|
11
7
|
const facelessDrawsOnWords = (input) => input.format === "explainer" || isAdStyleUgcInput({ templates: input.templates, scenes: input.scenes, shots: input.shots });
|
|
12
|
-
/** The pauses a faceless narration is cut to (#1228): the call's own, `false` to keep them, else the ad default when the video draws on its */
|
|
13
|
-
/** words. Read from the stored request by the quote, the run and its warnings alike, so any faceless format resolves it the same way. */
|
|
14
8
|
export function facelessPauseTrim(input) {
|
|
15
9
|
return input.pause_trim ?? (facelessDrawsOnWords(input) ? { ...AD_PAUSE_TRIM } : undefined);
|
|
16
10
|
}
|
|
17
11
|
export const facelessPauseTrimWarnings = (input) => input.pause_trim === undefined && facelessDrawsOnWords(input) ? [AD_PAUSE_TRIM_WARNING] : [];
|
|
18
|
-
/** The request with the default pinned and marked, so the run and its record say it; a run that named pause_trim, false included, is left as asked. */
|
|
19
12
|
export function withAdPauseTrim(input) {
|
|
20
13
|
if (input.pause_trim !== undefined || !isAdStyleUgcInput(input))
|
|
21
14
|
return input;
|
|
22
15
|
return { ...input, pause_trim: { ...AD_PAUSE_TRIM }, pause_trim_source: "ad_default" };
|
|
23
16
|
}
|
|
24
|
-
//# sourceMappingURL=ad-pause-trim.js.map
|
package/dist/ads.d.ts
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export { adId, adSlotId } from "./ad-ids.js";
|
|
3
|
+
export declare const ADS_PATH = "/v1/ads";
|
|
4
|
+
export declare const AD_PATH = "/v1/ads/:id";
|
|
5
|
+
export declare const DIY_RECORD_KINDS: readonly ["ad"];
|
|
6
|
+
export type DiyRecordKind = (typeof DIY_RECORD_KINDS)[number];
|
|
7
|
+
export declare const DIY_MAX_SLOTS: Readonly<Record<DiyRecordKind, number>>;
|
|
8
|
+
export declare const AD_MAX_SLOTS: number;
|
|
9
|
+
export declare const AD_RECORDS_PER_DAY = 50;
|
|
10
|
+
export declare const adBrief: z.ZodObject<{
|
|
11
|
+
product: z.ZodString;
|
|
12
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
13
|
+
message: z.ZodOptional<z.ZodString>;
|
|
14
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export type AdBrief = z.infer<typeof adBrief>;
|
|
17
|
+
export declare const adSlot: z.ZodObject<{
|
|
18
|
+
id: z.ZodString;
|
|
19
|
+
shot: z.ZodString;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
export type AdSlot = z.infer<typeof adSlot>;
|
|
22
|
+
export declare const createAdInput: z.ZodObject<{
|
|
23
|
+
brief: z.ZodObject<{
|
|
24
|
+
product: z.ZodString;
|
|
25
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
26
|
+
message: z.ZodOptional<z.ZodString>;
|
|
27
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
slots: z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
shot: z.ZodString;
|
|
32
|
+
}, z.core.$strict>>;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
export type CreateAdInput = z.infer<typeof createAdInput>;
|
|
35
|
+
export declare const updateAdInput: z.ZodObject<{
|
|
36
|
+
brief: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
product: z.ZodString;
|
|
38
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
39
|
+
message: z.ZodOptional<z.ZodString>;
|
|
40
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
41
|
+
}, z.core.$strict>>;
|
|
42
|
+
slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
shot: z.ZodString;
|
|
45
|
+
}, z.core.$strict>>>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
export type UpdateAdInput = z.infer<typeof updateAdInput>;
|
|
48
|
+
export declare const AD_SLOT_STATES: readonly ["no_take", "checking", "failed", "passed"];
|
|
49
|
+
export declare const adRecord: z.ZodObject<{
|
|
50
|
+
ad_id: z.ZodString;
|
|
51
|
+
brief: z.ZodObject<{
|
|
52
|
+
product: z.ZodString;
|
|
53
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
54
|
+
message: z.ZodOptional<z.ZodString>;
|
|
55
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
guide_version: z.ZodString;
|
|
58
|
+
slots: z.ZodArray<z.ZodObject<{
|
|
59
|
+
id: z.ZodString;
|
|
60
|
+
shot: z.ZodString;
|
|
61
|
+
state: z.ZodEnum<{
|
|
62
|
+
checking: "checking";
|
|
63
|
+
failed: "failed";
|
|
64
|
+
no_take: "no_take";
|
|
65
|
+
passed: "passed";
|
|
66
|
+
}>;
|
|
67
|
+
takes: z.ZodArray<z.ZodObject<{
|
|
68
|
+
run_id: z.ZodNullable<z.ZodString>;
|
|
69
|
+
asset_id: z.ZodNullable<z.ZodString>;
|
|
70
|
+
passed: z.ZodBoolean;
|
|
71
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
72
|
+
run_id: z.ZodString;
|
|
73
|
+
state: z.ZodString;
|
|
74
|
+
passed: z.ZodNullable<z.ZodBoolean>;
|
|
75
|
+
verdict: z.ZodNullable<z.ZodObject<{
|
|
76
|
+
duration_sec: z.ZodNumber;
|
|
77
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
78
|
+
code: z.ZodString;
|
|
79
|
+
level: z.ZodEnum<{
|
|
80
|
+
action: "action";
|
|
81
|
+
asset: "asset";
|
|
82
|
+
camera: "camera";
|
|
83
|
+
roll: "roll";
|
|
84
|
+
}>;
|
|
85
|
+
from: z.ZodNumber;
|
|
86
|
+
to: z.ZodNumber;
|
|
87
|
+
whole_take: z.ZodBoolean;
|
|
88
|
+
why: z.ZodNullable<z.ZodString>;
|
|
89
|
+
}, z.core.$strict>>;
|
|
90
|
+
clean: z.ZodArray<z.ZodObject<{
|
|
91
|
+
from: z.ZodNumber;
|
|
92
|
+
to: z.ZodNumber;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
motion: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
subject: z.ZodNumber;
|
|
96
|
+
camera: z.ZodNumber;
|
|
97
|
+
jitter: z.ZodNumber;
|
|
98
|
+
format: z.ZodEnum<{
|
|
99
|
+
fashion: "fashion";
|
|
100
|
+
product: "product";
|
|
101
|
+
}>;
|
|
102
|
+
target: z.ZodObject<{
|
|
103
|
+
subject: z.ZodNumber;
|
|
104
|
+
camera: z.ZodNullable<z.ZodNumber>;
|
|
105
|
+
}, z.core.$strict>;
|
|
106
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
107
|
+
subject: z.ZodNumber;
|
|
108
|
+
camera: z.ZodNumber;
|
|
109
|
+
jitter: z.ZodNumber;
|
|
110
|
+
from: z.ZodNumber;
|
|
111
|
+
to: z.ZodNumber;
|
|
112
|
+
}, z.core.$strict>>;
|
|
113
|
+
finding: z.ZodNullable<z.ZodString>;
|
|
114
|
+
shake: z.ZodNullable<z.ZodString>;
|
|
115
|
+
}, z.core.$strict>>;
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
|
+
created_at: z.ZodString;
|
|
118
|
+
}, z.core.$strict>>;
|
|
119
|
+
}, z.core.$strict>>;
|
|
120
|
+
}, z.core.$strict>>;
|
|
121
|
+
edits: z.ZodArray<z.ZodObject<{
|
|
122
|
+
run_id: z.ZodString;
|
|
123
|
+
state: z.ZodString;
|
|
124
|
+
credits_charged: z.ZodNullable<z.ZodNumber>;
|
|
125
|
+
created_at: z.ZodString;
|
|
126
|
+
}, z.core.$strict>>;
|
|
127
|
+
next: z.ZodNullable<z.ZodObject<{
|
|
128
|
+
action: z.ZodString;
|
|
129
|
+
method: z.ZodEnum<{
|
|
130
|
+
GET: "GET";
|
|
131
|
+
POST: "POST";
|
|
132
|
+
}>;
|
|
133
|
+
path: z.ZodString;
|
|
134
|
+
body: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
135
|
+
add: z.ZodArray<z.ZodString>;
|
|
136
|
+
note: z.ZodString;
|
|
137
|
+
}, z.core.$strict>>;
|
|
138
|
+
blocked: z.ZodNullable<z.ZodObject<{
|
|
139
|
+
reason: z.ZodString;
|
|
140
|
+
unblock: z.ZodString;
|
|
141
|
+
}, z.core.$strict>>;
|
|
142
|
+
created_at: z.ZodString;
|
|
143
|
+
updated_at: z.ZodString;
|
|
144
|
+
}, z.core.$strict>;
|
|
145
|
+
export type AdRecord = z.infer<typeof adRecord>;
|
package/dist/ads.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { adId, adSlotId } from "./ad-ids.js";
|
|
3
|
+
import { assetId } from "./asset-identity.js";
|
|
4
|
+
import { diyBlocked, diyNext } from "./diy-next.js";
|
|
5
|
+
import { FILM_EDIT_MAX_CLIPS, takeCheckVerdict } from "./own-agent-runs.js";
|
|
6
|
+
import { runId } from "./runs.js";
|
|
7
|
+
export { adId, adSlotId } from "./ad-ids.js";
|
|
8
|
+
export const ADS_PATH = "/v1/ads";
|
|
9
|
+
export const AD_PATH = "/v1/ads/:id";
|
|
10
|
+
export const DIY_RECORD_KINDS = ["ad"];
|
|
11
|
+
export const DIY_MAX_SLOTS = { ad: FILM_EDIT_MAX_CLIPS };
|
|
12
|
+
export const AD_MAX_SLOTS = DIY_MAX_SLOTS.ad;
|
|
13
|
+
export const AD_RECORDS_PER_DAY = 50;
|
|
14
|
+
export const adBrief = z.strictObject({
|
|
15
|
+
product: z.string().trim().min(1).max(200).describe("The product the ad sells, as the buyer knows it"),
|
|
16
|
+
audience: z.string().trim().min(1).max(300).optional().describe("Who the ad speaks to, and whom they trust on screen"),
|
|
17
|
+
message: z.string().trim().min(1).max(500).optional().describe("The one benefit the ad leads with, and the objection it answers"),
|
|
18
|
+
notes: z.string().trim().min(1).max(2000).optional().describe("Anything else the ad must keep: facts from the product page, the reference it follows"),
|
|
19
|
+
});
|
|
20
|
+
export const adSlot = z.strictObject({
|
|
21
|
+
id: adSlotId,
|
|
22
|
+
shot: z.string().trim().min(1).max(500).describe("What the shot shows, in a line: its action and the spoken line it carries"),
|
|
23
|
+
});
|
|
24
|
+
const slots = z.array(adSlot).min(1).max(AD_MAX_SLOTS)
|
|
25
|
+
.refine(list => new Set(list.map(slot => slot.id)).size === list.length, "each slot id is used once")
|
|
26
|
+
.describe(`The shot list in cut order, 1 to ${AD_MAX_SLOTS} slots: one per shot you will make takes for`);
|
|
27
|
+
export const createAdInput = z.strictObject({ brief: adBrief, slots });
|
|
28
|
+
export const updateAdInput = z.strictObject({
|
|
29
|
+
brief: adBrief.optional().describe("Replaces the brief"),
|
|
30
|
+
slots: slots.optional().describe("Replaces the shot list; a slot that already has a checked take stays in it"),
|
|
31
|
+
}).refine(change => change.brief !== undefined || change.slots !== undefined, "send brief, slots or both");
|
|
32
|
+
export const AD_SLOT_STATES = ["no_take", "checking", "failed", "passed"];
|
|
33
|
+
const adCheck = z.strictObject({
|
|
34
|
+
run_id: runId,
|
|
35
|
+
state: z.string(),
|
|
36
|
+
passed: z.boolean().nullable(),
|
|
37
|
+
verdict: takeCheckVerdict.nullable(),
|
|
38
|
+
created_at: z.string(),
|
|
39
|
+
});
|
|
40
|
+
const adTake = z.strictObject({
|
|
41
|
+
run_id: runId.nullable().describe("The take's generate_video run, or null for a video asset"),
|
|
42
|
+
asset_id: assetId.nullable(),
|
|
43
|
+
passed: z.boolean(),
|
|
44
|
+
checks: z.array(adCheck),
|
|
45
|
+
});
|
|
46
|
+
export const adRecord = z.strictObject({
|
|
47
|
+
ad_id: adId,
|
|
48
|
+
brief: adBrief,
|
|
49
|
+
guide_version: z.string(),
|
|
50
|
+
slots: z.array(z.strictObject({ id: adSlotId, shot: z.string(), state: z.enum(AD_SLOT_STATES), takes: z.array(adTake) })),
|
|
51
|
+
edits: z.array(z.strictObject({ run_id: runId, state: z.string(), credits_charged: z.number().int().nonnegative().nullable(), created_at: z.string() })),
|
|
52
|
+
next: diyNext.nullable(),
|
|
53
|
+
blocked: diyBlocked.nullable(),
|
|
54
|
+
created_at: z.string(),
|
|
55
|
+
updated_at: z.string(),
|
|
56
|
+
});
|
package/dist/api-failure.d.ts
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import type { DiyBlocked, DiyNext } from "./diy-next.js";
|
|
2
3
|
import { workflowCommandErrorRead } from "./contracts/v1/workflow-execution.js";
|
|
3
|
-
/** Rate-limit failure: a 429 from us or from a proxy or edge in between. */
|
|
4
4
|
export interface RateLimitedFailure extends WorkflowDiagnostics {
|
|
5
5
|
kind: "rate_limited";
|
|
6
6
|
status: number;
|
|
7
7
|
message: string;
|
|
8
|
-
/** Seconds to wait before retrying; `undefined` when the server did not say. */
|
|
9
8
|
retryAfterSeconds: number | undefined;
|
|
10
|
-
/** Bucket size. Only our own body carries it; a proxy body does not. */
|
|
11
9
|
limit: number | undefined;
|
|
12
10
|
windowSeconds: number | undefined;
|
|
13
11
|
}
|
|
14
|
-
/** Fewer credits than the run weighs. Terminal: a retry does not change the balance. */
|
|
15
12
|
export interface InsufficientCreditsFailure {
|
|
16
13
|
kind: "insufficient_credits";
|
|
17
14
|
status: number;
|
|
@@ -19,7 +16,6 @@ export interface InsufficientCreditsFailure {
|
|
|
19
16
|
balanceCredits: number;
|
|
20
17
|
requiredCredits: number;
|
|
21
18
|
}
|
|
22
|
-
/** The call's reserve is above the ceiling it was sent with. Terminal for this ceiling: a person approves a higher one. */
|
|
23
19
|
export interface MaxCreditsExceededFailure {
|
|
24
20
|
kind: "max_credits_exceeded";
|
|
25
21
|
status: number;
|
|
@@ -27,29 +23,23 @@ export interface MaxCreditsExceededFailure {
|
|
|
27
23
|
holdCredits: number;
|
|
28
24
|
maxCredits: number;
|
|
29
25
|
}
|
|
30
|
-
/** Outstanding debt. Terminal; buying credits clears it, since incoming credits pay debt first. */
|
|
31
|
-
/** Kept apart from `insufficient_credits` because an indebted account may still hold a balance. */
|
|
32
26
|
export interface DebtOutstandingFailure {
|
|
33
27
|
kind: "debt_outstanding";
|
|
34
28
|
status: number;
|
|
35
29
|
message: string;
|
|
36
30
|
debtCredits: number;
|
|
37
31
|
}
|
|
38
|
-
/** Account not admitted to the beta. Terminal, and money does not fix it. */
|
|
39
|
-
/** Not a `client_error`: there is nothing in the call to fix, so the advice differs. */
|
|
40
32
|
export interface NotAdmittedFailure {
|
|
41
33
|
kind: "not_admitted";
|
|
42
34
|
status: number;
|
|
43
35
|
message: string;
|
|
44
36
|
}
|
|
45
|
-
/** A save of a draft lost to another save. Terminal for this body: `version` is what is stored now. */
|
|
46
37
|
export interface EditConflictFailure {
|
|
47
38
|
kind: "edit_conflict";
|
|
48
39
|
status: number;
|
|
49
40
|
message: string;
|
|
50
41
|
version: number;
|
|
51
42
|
}
|
|
52
|
-
/** The run has no draft to read or to save: `state` and `reason` are the ones its shots state. */
|
|
53
43
|
export interface RunNotEditableFailure {
|
|
54
44
|
kind: "run_not_editable";
|
|
55
45
|
status: number;
|
|
@@ -57,18 +47,14 @@ export interface RunNotEditableFailure {
|
|
|
57
47
|
state: string;
|
|
58
48
|
reason: string | null;
|
|
59
49
|
}
|
|
60
|
-
/** Paid edits are closed. Terminal until paid edits open: a retry is refused the same way. */
|
|
61
50
|
export interface EditingClosedFailure {
|
|
62
51
|
kind: "editing_closed";
|
|
63
52
|
status: number;
|
|
64
53
|
message: string;
|
|
65
54
|
code: string;
|
|
66
|
-
/** `flag_off`, `ceiling_not_set`, or a reason of a newer server; null when the code carries none. */
|
|
67
55
|
reason: string | null;
|
|
68
|
-
/** The price seams still unset, on `editing_not_priced`. */
|
|
69
56
|
seams: string[] | null;
|
|
70
57
|
}
|
|
71
|
-
/** A root has as many revisions running, or failed and unfinished, as it may; `runIds` are the ones counted. */
|
|
72
58
|
export interface EditCeilingReachedFailure {
|
|
73
59
|
kind: "edit_ceiling_reached";
|
|
74
60
|
status: number;
|
|
@@ -79,7 +65,6 @@ export interface EditCeilingReachedFailure {
|
|
|
79
65
|
counted: number;
|
|
80
66
|
runIds: string[];
|
|
81
67
|
}
|
|
82
|
-
/** One rule of the run an edit document breaks, as the validator states it. */
|
|
83
68
|
export interface EditIssueRead {
|
|
84
69
|
code: string;
|
|
85
70
|
message: string;
|
|
@@ -87,7 +72,6 @@ export interface EditIssueRead {
|
|
|
87
72
|
from_frame?: number | undefined;
|
|
88
73
|
to_frame?: number | undefined;
|
|
89
74
|
}
|
|
90
|
-
/** The document breaks the rules of the run it edits; `issues` are in the server's order. */
|
|
91
75
|
export interface EditInvalidFailure {
|
|
92
76
|
kind: "edit_invalid";
|
|
93
77
|
status: number;
|
|
@@ -108,53 +92,35 @@ export type WorkflowFailure = {
|
|
|
108
92
|
warnings: string[];
|
|
109
93
|
};
|
|
110
94
|
}[WorkflowFailureKind];
|
|
111
|
-
/** 5xx: the server says the fault is its own. Safe to retry. */
|
|
112
95
|
export interface ServerFailure extends WorkflowDiagnostics {
|
|
113
96
|
kind: "server_error";
|
|
114
97
|
status: number;
|
|
115
98
|
message: string;
|
|
116
99
|
retryAfterSeconds: number | undefined;
|
|
117
100
|
}
|
|
118
|
-
/** Everything else (4xx): repeating the same request gives the same answer. */
|
|
119
101
|
export interface ClientFailure extends WorkflowDiagnostics {
|
|
120
102
|
kind: "client_error";
|
|
121
103
|
status: number;
|
|
122
104
|
message: string;
|
|
123
|
-
/** Code from the body, if the body followed the contract at all. */
|
|
124
105
|
code: string | undefined;
|
|
106
|
+
next?: DiyNext;
|
|
107
|
+
blocked?: DiyBlocked;
|
|
125
108
|
}
|
|
126
109
|
export type ApiFailure = RateLimitedFailure | InsufficientCreditsFailure | MaxCreditsExceededFailure | DebtOutstandingFailure | NotAdmittedFailure | EditConflictFailure | RunNotEditableFailure | EditingClosedFailure | EditCeilingReachedFailure | EditInvalidFailure | WorkflowFailure | ServerFailure | ClientFailure;
|
|
127
|
-
/** Retry decision in one place. Not retrying a 429 aborts a paid run; retrying a 402 */
|
|
128
|
-
/** loops on a money refusal and burns the rate limit. */
|
|
129
110
|
export declare function isRetryableFailure(failure: ApiFailure): boolean;
|
|
130
|
-
/** Delay before a retry, ms. `fallbackMs` is also the floor: no `Retry-After` does not */
|
|
131
|
-
/** permit polling faster than usual. Meaningful only after `isRetryableFailure`. */
|
|
132
111
|
export declare function retryDelayMs(failure: ApiFailure, fallbackMs: number): number;
|
|
133
|
-
/** `Retry-After` in seconds, both RFC 9110 forms: our middleware sends a delta, proxies */
|
|
134
|
-
/** often send an HTTP-date. `now` is a parameter so date parsing stays testable. */
|
|
135
112
|
export declare function parseRetryAfterSeconds(raw: string | null | undefined, now: Date): number | undefined;
|
|
136
113
|
export interface ApiFailureInput {
|
|
137
114
|
status: number;
|
|
138
|
-
/** Raw body text; `res.json()` throws on HTML. `undefined` means the body could not */
|
|
139
|
-
/** be read, which differs from an empty or foreign body. */
|
|
140
115
|
bodyText: string | undefined;
|
|
141
|
-
/** The `Retry-After` header value as the server sent it. */
|
|
142
116
|
retryAfterHeader?: string | null | undefined;
|
|
143
|
-
/** Reference time for the HTTP-date form. */
|
|
144
117
|
now?: Date;
|
|
145
118
|
}
|
|
146
|
-
/** Status + body + header to an actionable failure. The body refines the status but never */
|
|
147
|
-
/** overrides it; on a mismatch the class comes from the status, the text from the body. */
|
|
148
119
|
export declare function parseApiFailure(input: ApiFailureInput): ApiFailure;
|
|
149
|
-
/** Failure expanded for an agent: numbers, an imperative and a retry flag, in the same */
|
|
150
|
-
/** `next_action` shape as `make_ugc` and `get_run`. Built once for MCP, CLI and SDK. */
|
|
151
120
|
export interface AgentFailureReport {
|
|
152
|
-
/** Imperative: repeat this same call later, or stop. */
|
|
153
121
|
status: "RETRY_LATER" | "FAILED";
|
|
154
|
-
/** Machine-readable reason; `http_<status>` for foreign bodies. */
|
|
155
122
|
code: string;
|
|
156
123
|
message: string;
|
|
157
|
-
/** Duplicates `status` for code paths: a string is easy to compare wrongly. */
|
|
158
124
|
retryable: boolean;
|
|
159
125
|
next_action: string;
|
|
160
126
|
retry_after_seconds?: number;
|
|
@@ -163,28 +129,24 @@ export interface AgentFailureReport {
|
|
|
163
129
|
balance_credits?: number;
|
|
164
130
|
required_credits?: number;
|
|
165
131
|
debt_credits?: number;
|
|
166
|
-
/** What the call reserves and the ceiling it was sent with, on `max_credits_exceeded`. */
|
|
167
132
|
hold_credits?: number;
|
|
168
133
|
max_credits?: number;
|
|
169
|
-
/** The stored version of a draft, on `edit_conflict`. */
|
|
170
134
|
version?: number;
|
|
171
|
-
/** Why a run has no draft, on `run_not_editable`; why paid edits are closed, on `editing_closed`. */
|
|
172
135
|
state?: string;
|
|
173
136
|
reason?: string | null;
|
|
174
|
-
/** The unset price seams, on `editing_closed`. `limit` stays the rate limit's bucket size. */
|
|
175
137
|
seams?: string[] | null;
|
|
176
|
-
/** Which revision ceiling a root reached, with its root, bound, count and the runs counted. */
|
|
177
138
|
ceiling?: string;
|
|
178
139
|
root_run_id?: string;
|
|
179
140
|
allowed?: number;
|
|
180
141
|
counted?: number;
|
|
181
142
|
run_ids?: string[];
|
|
182
|
-
/** The rules an edit or workflow document breaks. */
|
|
183
143
|
issues?: EditIssueRead[] | WorkflowFailure["issues"];
|
|
184
144
|
warnings?: string[];
|
|
145
|
+
next?: DiyNext;
|
|
146
|
+
blocked?: DiyBlocked;
|
|
185
147
|
}
|
|
148
|
+
export declare const TAKE_UNCHECKED_NEXT_ACTION: string;
|
|
186
149
|
export declare const UPLOAD_NOT_FINISHED_NEXT_ACTION: string;
|
|
187
|
-
/** A refused key is fixed by the human, not by changing the call: `get_account` takes no arguments to fix. */
|
|
188
150
|
export declare const UNAUTHORIZED_NEXT_ACTION: string;
|
|
189
151
|
export declare function agentFailureReport(failure: ApiFailure): AgentFailureReport;
|
|
190
152
|
export {};
|