Skip to content

cueframe-ai/cueframe

v0.4.7Apache-2.0

Make and edit videos with CueFrame: composition, motion graphics, captions, clipping and rendering skills, plus the hosted MCP server.

Changelog

From the first Changesets release on, each package's entries are written by changeset version into packages/<package>/CHANGELOG.md; this file keeps the history before that. Versions follow each package's package.json.

@cueframe/skills 0.4.6

  • Add an experimental editable optical scene study with bounded field, transmission, text and clock controls through the existing scene contract.
  • Three new reference files; none removed. Skills run the CLI as npx -y cueframe@0.12.

cueframe 0.12.0

  • Breaking for scripts that read --json output: composition get, put and apply no longer print a separate result object. The composition and ETag are inside the *_complete event, so every output line is valid NDJSON.
  • Breaking: composition validate returns the server's verdict and exits non-zero when the composition is invalid. It used to report {valid:true} regardless.
  • Add api --timeout-ms. render reads the parent command's --out.
  • Include the updated skills and experimental optical scene study. Built against @cueframe/sdk 0.17.1.

@cueframe/sdk 0.17.1

  • Generated from contract 7.0.2. Additive only: new optional fields (such as color), registry types, and the setClipColor and setMediaInputTransform ops. No export removed.

@cueframe/api-contract 7.0.2

  • The same contract as the published 7.0.2-ea20261031.1, released as a normal version. Changes since 7.0.1 are additive.

@cueframe/api-contract 7.0.0

  • Breaking: removes GET /v1/projects/{id}/selector/candidates and POST /v1/projects/{id}/selector/preview. Neither could return anything but 404.
  • Breaking: POST /v1/api-keys no longer accepts x402. It already refused every wallet.
  • x-payment-info.price for fixed prices is decimal USD, not atomic USDC.
  • Wallets can delete their own projects. POST /v1/media/{id}/processing-runs costs $0.10; it, finalize and mux-job settle on delivery.
  • compose-session commit declares 409 when the active composition changed after the session started.
  • Every priced operation has an authored description.

@cueframe/sdk 0.17.0

  • Generated from contract 7.0.0. Removes listSelectorCandidates and previewSelector.

cueframe 0.11.4

  • Built against @cueframe/sdk 0.17.0.

@cueframe/api-contract 6.1.1

  • Correct scene-shot world-axis and radian guidance to match the established renderer. Wire fields, schema limits and rendering policies are unchanged.

@cueframe/api-contract 6.0.2

  • Kernel 0.7.14 provenance (it carries public main after the 6.0.1 cut). The served document is byte-identical to 6.0.1.

@cueframe/skills 0.4.1

  • cueframe-connect/references/tools.md is the tool reference: every catalog tool, whether it reads or writes, and the hosted and desktop surfaces that serve it, rendered from catalog/tool-reference.json, which is exported from the @cueframe/mcp catalog. The skills check fails on any tool-shaped name the catalog does not serve; error codes (catalog/error-codes.json) and the CLI's --json events are its separate vocabulary.
  • Composition writes are read-then-write: on a 409, read get_composition again and rebuild the edit; never resend it with the 409's currentEtag.

@cueframe/api-contract 6.0.1

  • Kernel 0.7.12 provenance (it carries the public CLI agent graph). The served document is byte-identical to 6.0.0. 6.0.0 was packed but never published, so 6.0.1 is the first 6.x release and carries the 6.0.0 changes below.

@cueframe/api-contract 6.0.0

  • Breaking: composition writes name the revision they edit. applyComposition needs if_match or concurrency (dry_run is exempt); applyCompositionOp, putComposition and deriveComposition need If-Match / if_match; applyTemplate needs expectedRevision and composeFromSuggestion needs If-Match once the project has a composition; component placement updates need concurrency. A missing revision is 428 precondition_required naming the field in details.fields; a stale one stays 409.
  • Breaking: the first composition is created with If-None-Match: * (409 conflict if one exists). If-Match: * and a malformed If-Match are validation_error.
  • A cached job that failed or was cancelled no longer replays for an Idempotency-Key; an identical expensive request (render, template render, generation, compose, template instantiation) within its window returns the same job with Idempotency-Replay: true, and a second x402 payment for it is released.
  • GET /v1/projects/{id}/composition and POST /v1/projects/{id}/renders take session_id to read and render a compose session's scratch.
  • Learned taste: /v1/profile/taste (list, remember, edit, forget, the owner's switch) and ProfileResponse.taste.
  • Kernel 0.7.11 provenance.

@cueframe/sdk 0.15.0

  • Breaking: models regenerated from contract 6.0.0 (DeriveCompositionRequest.if_match, the session_id read and render parameters, learned taste).
  • readCompositionRevision(projectId, params?) reads a composition with the normalized ETag every guarded write takes, or null when the project has none yet. normalizeEtag is exported.

cueframe 0.11.0

  • Breaking: composition put --force is gone: the server no longer accepts If-Match: *. Pass --if-match <etag> from composition get, or --create to write a project's first composition (If-None-Match: *, refused if one exists).
  • composition from-suggestion and project create --from-suggestion send no If-Match when the project has no composition, and --force is gone there too.
  • Bundles SDK 0.15.0 and contract 6.0.0.

cueframe 0.10.0

  • Breaking: composition put no longer fetches the current ETag itself. Pass --if-match <etag> with the ETag from the composition get your edit started from, or --force to create the first composition or overwrite deliberately; without either it exits 2 before any request. The old default read the newest ETag right before the PUT, so a save made while you were editing was silently replaced.
  • render derives its Idempotency-Key from the project, the composition ETag and the canonical request body, so --aspect, --fps, --resolution, --priority and --intent each produce a distinct render. If the ETag cannot be read, render exits instead of keying on a constant; --idempotency-key skips the read.
  • render --aspect no longer forces fps: 30 and resolution: fhd; only the flags you pass are sent, and --fps/--resolution without --aspect is a usage error.
  • --aspect accepts 4:5; --resolution accepts hd, fhd and 4k (it listed 2k, which the API rejects). --aspect, --resolution, --priority and --intent are validated against the contract's enums.

@cueframe/skills 0.4.0

  • Pin cueframe@0.10 and document composition put --if-match and the render idempotency rules.

@cueframe/api-contract 5.0.0

  • Add maintained video-clip export creation and immutable-snapshot export retry operations.
  • Correct ExportFormat responses to include videoClip, which existing product exports already return. This widens a response enum and requires a major contract version for consumers with exhaustive format handling; existing FCPXML and Premiere behavior remains compatible.
  • Record reviewed producer source and verified kernel 0.7.8 provenance.

@cueframe/sdk 0.13.0

  • Generate video-clip creation and export retry clients and validators from contract 5.0.0. Handle videoClip when matching export formats exhaustively.

cueframe 0.9.5

  • Stream large uploads with bounded memory and retain the existing structured NDJSON progress and failure events.
  • Bundle SDK 0.13.0 and contract 5.0.0.

@cueframe/api-contract 4.4.4

  • Preserve canonical shared-schema references in the OpenAPI producer, matching the deployed API projection without changing runtime behavior.
  • Refresh provenance from the clean committed producer source.

@cueframe/sdk 0.12.0

  • Regenerate the shared concurrency and component preview schemas from API contract 4.4.4, using their canonical schema references.
  • Remove the previously published inline types EditorialApplyRequestCompositionConcurrency and EditorialApplyRequestCompositionOperationsItemConcurrency; consumers use the existing canonical CompositionConcurrency type.

cueframe 0.9.4

  • Bundle SDK 0.12.0 and its corrected canonical contract projection; commands and NDJSON event shapes remain compatible.

cueframe 0.9.3

  • Resolve the shared SDK dependency to 0.11.1, including canonical fact receipt identities. CLI commands and NDJSON event shapes remain compatible.

@cueframe/api-contract 4.4.3

  • Add persisted factId to media-fact reads, allowing exact ready/pending receipt reuse without another paid dispatch.
  • Refresh provenance from clean committed private source with verified kernel 0.7.6.

@cueframe/sdk 0.11.1

  • Generate media-fact receipt identities from contract 4.4.3 and expose the canonical read/purchase response validators through the public Zod entry point.

@cueframe/api-contract 4.4.2

  • Refresh contract provenance to kernel 0.7.6 and the retained private working-tree snapshot. The manifest records the exact kernel archive and source snapshot digests; it does not describe a clean committed deployment.
  • The OpenAPI, reviewed public surface, scene schema and scene examples are byte-identical to 4.4.1. Regenerated SDK sources are unchanged; this package update adds no API operation or schema change.

@cueframe/api-contract 4.2.0

  • Additive. Adds GET /v1/media/{id}/download-url (getMediaDownloadUrl, media:read), which answers MediaDownloadUrlResponse {url, expiresAt}: a presigned GET for the item's stored source file, valid for the media URL lifetime (about an hour), available as soon as the upload or import is stored.
  • POST /v1/projects/{id}/compositions (newComposition) documents its 201 body as CompositionCreateResponse {compositionId, format, etag}. It carried no response schema before, so generated consumers (the MCP's new_composition among them) could not declare an output schema.
  • RenderResponse says what rendered: compositionId (the composition the snapshot was frozen from), format (the resolved output format), engine (hyperframes | remotion), completedAt, outputDurationSec and preview; each is null on renders minted before it was recorded.
  • GET /v1/projects/{id}/composition documents its plain body as CompositionRead: the kernel's Composition plus needsUpgrade (present only when clips are stored in a retired form). The flag reached only the includeDependencies=true envelope before.
  • NativeUpgradeResponse (POST /v1/components/native-upgrade) adds inputsRefused: clips whose successor refuses their stored inputs, each {clipId, componentId, message}; moved[].from is optional (absent for a clip stored before execution pins).
  • Embeds @cueframe/kernel 0.7.2's components unchanged, synced from private 9edcbdf02. The projection is sha256 f5b1b6e9….

@cueframe/sdk 0.9.0

  • Regenerated from contract 4.2.0: media.getMediaDownloadUrl, MediaDownloadUrlResponse, CompositionCreateResponse, CompositionRead, the new RenderResponse fields (compositionId, format, engine, completedAt, outputDurationSec, preview) and NativeUpgradeResponse.inputsRefused. Pins @cueframe/kernel 0.7.2.

cueframe 0.9.1

  • cueframe media download-url <mediaId> prints a presigned download URL for a media item's stored source file (pipe it into curl); with --json it answers { url, expiresAt }.
  • Built against @cueframe/sdk 0.9.0.

@cueframe/skills 0.3.2

  • Every skill runs the CLI as npx -y cueframe@0.9. 0.3.1 pinned cueframe@0.8 while showing new component <id> --category <category>, which 0.8.x rejects and 0.9.0 requires, so agents following cueframe-cli or cueframe-component-authoring were refused either way. scripts/plugin/cli-version.json now has a test that holds it to the major.minor of packages/cli.

@cueframe/api-contract 4.1.0

  • Additive. Adds GET /v1/components/blank-source (getBlankComponentSource), which returns BlankComponentSourceV4: the kernel's one blank native (version 4) component source that every scaffold starts from. To rename it, change componentId and the template root's data-composition-id together.
  • ComponentSourceResponse.sourceSnapshot also admits the kernel's legacy version-2 source (ComponentSourceV2), so components from before the cutover read back.
  • Embeds @cueframe/kernel 0.7.1's components, synced from private 98e4934. The projection is sha256 783e29d7… and the kernel artifact is the published 0.7.1 tarball.

@cueframe/sdk 0.8.0

  • Regenerated from contract 4.1.0: components.getBlankComponentSource.
  • Exports BLANK_COMPONENT_SOURCE_V4, generated from the contract's BlankComponentSourceV4, alongside COMPONENT_EXECUTION_VERSIONS.

cueframe 0.9.0

  • cueframe new component <id> scaffolds from the contract's blank native source (BLANK_COMPONENT_SOURCE_V4), renamed to the id. The CLI no longer keeps its own template, definition or manifest.
  • cueframe new component requires --category, and writes name and category into cueframe.json → components.<id>.
  • cueframe push/sync require that name and category. A missing name or an unknown category is refused as invalid_component_metadata before any API call, and the message names the allowed categories. The CLI no longer guesses a name from the id, defaults the category to layouts, or reads metadata from a legacy config.ts. An unreadable cueframe.json is refused as invalid_workspace_manifest.
  • typescript is no longer a runtime dependency.

@cueframe/skills 0.3.1

  • cueframe-component-authoring and cueframe-cli show new component <id> --category <category> and say that push requires the catalog name and category in cueframe.json.

@cueframe/api-contract 4.0.1

  • Corrective release. 4.0.0 embedded the kernel-owned schemas from before kernel 0.7.0 while naming kernel 0.6.0. This contract embeds @cueframe/kernel 0.7.0's components verbatim, synced from private abcba19. The projection is sha256 e6483b21… and the kernel artifact is the published 0.7.0 tarball.
  • CompositionUpgradeNeed gains kind legacy-keyframes and channels. TimelineClip gains legacyKeyframes. Operations are unchanged.
  • The contract build now refuses to package unless every kernel-owned component equals the one in the pinned @cueframe/kernel (a devDependency), and that kernel's version must equal the manifest's kernelVersion.

@cueframe/sdk 0.7.1

  • Regenerated from contract 4.0.1. CompositionUpgradeNeed.kind adds legacy-keyframes, CompositionUpgradeNeed.channels is new, and so is TimelineClip.legacyKeyframes (TimelineClipLegacyKeyframes).

cueframe 0.8.3

  • Built against @cueframe/sdk 0.7.1. Command behaviour is unchanged.

@cueframe/api-contract 4.0.0

Breaking schema release, synced from private 0a430db with kernel 0.6.0. The contract now embeds the kernel's own OpenAPI components verbatim, and the build ships openapi.json exactly as synced. The toolkit's scene-schema vendoring step is retired.

  • Composition is the full kernel shape and is strict: unknown top-level keys are refused. ownerOrgId, acl, licenseVerification and sourceSuggestionId are readOnly. Only the server sets them.
  • FormatSpec is renamed Format. The SceneFormat and TransitionSpec components are removed, and every format references Format.
  • Kernel-owned components, now published as the kernel defines them: CompositionOp (with clip.setKeyframes; applyMotionPreset is retired), TimelineClip (a track entry is a TimelineClip or a gap), ComponentExecutionRef (execution versions 3 and 4), ComponentParameterValue, CompositionConcurrency and ErrorEnvelope.
  • SceneShotSpecV2 is the kernel's recursive schema with SceneShotSpecV2Schema0/SceneShotSpecV2Schema1. The depth-capped SceneShotSpecV2LayerDepth0–4 and SceneShotSpecV2JsonValue are removed. The API still enforces the group-depth limit of 4.
  • Component create, update and patch take native (version 4) sources only: {version: 4, componentId, template, manifest, definition}. Version-3 TSX sources can no longer be written. Component source reads (snapshots) still return version 3 or version 4.
  • A component clip source may be retired: execution and placement are optional there, and an open retired record marks a clip from before the native cutover, with its props kept. Saves and renders refuse such clips with component_source_retired.
  • The composition read (getComposition) answers needsUpgrade: CompositionUpgradeNeed[] ({clipId, kind: 'unpinned-component' | 'v3-component' | 'retired-primitive', componentId?, sourceVersionId?, primitiveId?, successorComponentId?, successorSourceVersionId?}) only when such clips remain.
  • New operation repinComponent (POST /v1/projects/{id}/components/native-upgrade) moves retired TSX component clips to their native successors.
  • POST /v1/projects/{id}/composition/from-suggestion (composeFromSuggestion) documents its 200 body as the new CompositionFromSuggestionResponse. Its notes (BriefNote[]) name what the brief asked for that the composition does not carry.

@cueframe/sdk 0.7.0

Generated from contract 4.0.0. Breaking:

  • FormatSpec, FormatSpecFps and FormatSpecResolution are removed with no alias: use Format, FormatFps and FormatResolution. The SceneFormat*, CompositionFormat*, TransitionSpec*, SceneShotSpecV2LayerDepth* and SceneShotSpecV2JsonValue models are removed. The new models include TimelineClip*, ComponentExecutionRef, ComponentManifestV4*, SceneShotSpecV2Schema0/1 and NativeUpgrade*.
  • Component create, update and patch source types and validators are native (version 4) only. Source read models remain a version-3 | version-4 union.
  • @cueframe/sdk/zod no longer exports response validators. All 274 response exports are gone: every <OperationId>Response/<operationId>Response, their *ResponseItem companions, and the consult/deriveComposition/health/whoami *ResponseSchema aliases. The 56 <operationId>Body schemas are unchanged. Importing the module now retains about 10.5 MiB instead of 15.5 MiB. The TypeScript response types are unchanged.
  • The scene body schema now accepts any group nesting depth on the client. The API refuses nesting deeper than 4.
  • New components.repinComponent client function.
  • clips.composeFromSuggestion resolves to the new CompositionFromSuggestionResponse (with BriefNote notes) instead of void.

cueframe 0.8.2

  • cueframe new component scaffolds a native (version 4) source: template.html and definition.json, with a version-4 manifest in cueframe.json. It no longer writes index.tsx and config.ts.
  • cueframe push and cueframe sync send that native source, checked against the contract's source schema. A workspace component that still has only a version-3 index.tsx is refused as component_source_retired before any API call. The server already refuses version-3 authoring.
  • Builds against @cueframe/sdk 0.7.0, with FormatFps/FormatResolution replacing the removed FormatSpec* types.

@cueframe/skills 0.3.0

The skills now match contract 4.0.0. The plugin manifests carry the same version.

  • The retired applyMotionPreset op is gone from every skill. Cards animate in their CSS (--cf-enter/--cf-exit) or with clip.setKeyframes, and anything beyond one channel is a native component (create_component). A policy test fails any skill that names an op missing from the contract's CompositionOp.
  • cueframe-component-authoring and cueframe-cli teach native (version 4) component sources: a template, a definition and a version-4 manifest. Version-3 TSX sources are retired.
  • cueframe-component-authoring gains "Upgrading an old project": read get_composition's needsUpgrade, repin entries that have a successor with repin_component, and re-author the rest in place.

@cueframe/api-contract 3.0.1

  • Regenerated against kernel 0.5.2 (private 670cac8). TemplateMediaValue's URL arm declares format: "uri" instead of the invalid starts_with. Operations are unchanged.

@cueframe/api-contract 2.0.1

  • Preserve the current hosted API's payment metadata and 402 responses on the four template-job operations while retaining the reviewed component V3 schemas and full operation inventory. Regenerate from the reviewed canonical private source with clean commit provenance.

@cueframe/sdk 0.4.1

  • Regenerate from the corrected 2.0.1 contract. Client identity and transport configuration are unchanged.

@cueframe/api-contract 2.0.0

  • Breaking schema release: component and seeded-graphics unions admit explicit V3 executions and placement instead of assuming every item carries primitiveId or the older component source fields. Component list/source responses and template documents now expose the canonical versioned shapes; callers must branch on their explicit protocol/version/kind and use the generated 0.4 SDK validators. Existing REST operation names are preserved.
  • Publish component V3 definitions, typed execution parameters, the component.repin-v3 composition operation, concurrency and dependency-read metadata, library presentation, and version 2 template visual-media inputs from the canonical private API projection. Preserve ErrorEnvelope.error.contractVersion and the existing reviewed route inventory.
  • Contract manifest schema version 2 records a recoverable private source snapshot for a working-tree projection, including base commit, source inventory, patch, untracked source, and lockfile digests. Contract builds verify input hashes before packaging and preserve this provenance in the published manifests.

@cueframe/sdk 0.4.0

  • Regenerate TypeScript models and Zod schemas from the 2.0.0 contract, including component V3 repinning and exact execution/library response shapes.

@cueframe/skills 0.1.1

  • The skills and the plugin move into this repository from cueframe-ai/cueframe-skills, which is archived: one public repository now holds the plugin, the toolkit and the registry files. Root skills/ is the single source; this package is a build-time copy of it (packages/skills/dist/skills), so SKILLS_DIR now resolves inside dist/. Skill content is identical to 0.1.0.
  • The tarball ships dist/skills, skills-dir.js, skills-dir.d.ts, README, LICENSE and NOTICE only. The plugin manifests, hooks, rules and assets that 0.1.0 packed are read by hosts from the repository, not from npm, and are no longer in the package.
  • Install lines become claude plugin marketplace add cueframe-ai/cueframe-mcp / codex plugin marketplace add cueframe-ai/cueframe-mcp / npx skills add cueframe-ai/cueframe-mcp; the plugin manifests carry this package's version.

@cueframe/api-contract 1.1.0

  • Error envelopes carry contractVersion: ErrorEnvelope.error gains a required string naming the published @cueframe/api-contract version the server implements, beside the existing contract (the kernel version). A client compares it with the contractVersion of the package it was generated from; a higher value means the server has moved ahead of the client's document. Additive for every existing client: oasdiff breaking from the 1.0.0 document reports none (889 informational response-required-property-added). No operation added or removed.
  • Synced from private commit 3cc1faae5; openapi.json sha256 78eef676…. The private sync now stamps contractVersion into contract-manifest.json (the last key, so dist/contract-manifest.json is byte-identical to api/contract-manifest.json) and leaves the manifest untouched when the content hashes equal the committed ones, so a resync with unchanged content no longer forces a version.

@cueframe/sdk 0.3.1

  • Regenerated from the 1.1.0 contract: the ErrorEnvelopeError type and the ErrorEnvelope zod schema gain the required contractVersion field. No hand-written code changed.

@cueframe/api-contract 1.0.0

  • First publish. The public OpenAPI document, the reviewed operation inventory (public-surface.json), the scene schema and examples, and a content-addressed manifest that records the kernel version and the private sync's commit.
  • This package is the one contract chain: private API → the api/ directory of this repository → this package on npm → every consumer (the application repository's MCP generators and tests, third parties). Nothing reads api/ from a second repository.
  • contractVersion (equal to the package version) is stamped into contract-manifest.json, manifest.json and exported from the index; the version moves whenever any of the five shipped api/*.json files changes (pnpm check:contract-version enforces it). The build ships the vendored openapi.json and refuses the sync's un-vendored form.
  • License: Apache-2.0.

@cueframe/sdk 0.3.0

  • New @cueframe/sdk/client-identity export: the client identity header the CLI and MCP server send.
  • License changed to Apache-2.0.

cueframe 0.5.0

  • cueframe install writes the agent skills from the @cueframe/skills package; the skills are maintained in cueframe-ai/cueframe-skills and copied at build time.
  • --target accepts prod (default) and local; CUEFRAME_API_URL overrides the host.
  • License changed to Apache-2.0.