Skip to content

[1/6] Generate clip assets through a host-registered handler - #158

Open
dazzatronus wants to merge 1 commit into
mainfrom
derk/sdk-generation-core
Open

[1/6] Generate clip assets through a host-registered handler#158
dazzatronus wants to merge 1 commit into
mainfrom
derk/sdk-generation-core

Conversation

@dazzatronus

Copy link
Copy Markdown
Contributor

Hosts need to preview prompt-generated media without giving the SDK provider credentials or generation business logic.

The host registers one async handler. The SDK passes an immutable asset snapshot and AbortSignal, owns transient state and events, writes the returned URL to the clip, and aborts work when the clip is deleted. Without a handler, generation remains unavailable.

Verify: npm run verify:ci

@dazzatronus
dazzatronus force-pushed the derk/sdk-generation-core branch 3 times, most recently from 1af8e74 to 1052328 Compare August 25, 2026 06:18
@dazzatronus
dazzatronus force-pushed the derk/sdk-generation-core branch from 1052328 to 6b23901 Compare August 25, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant