feat(sdk): file-backed fs adapter + setTiming GSAP-script sync; add sdk-playground#1423
Open
vanceingalls wants to merge 1 commit into
Open
Conversation
4 tasks
Collaborator
Author
This was referenced Jun 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Stacked on the acorn-parser/T6e branch.
What
packages/sdk/src/adapters/fs.ts.node:fs/promisesread/write, timestamped version history under.hf-versions/<path>/, prune tomaxVersions(20),listVersions/loadFrom. Emitspersist:errorin the canonical{ error: { message, cause } }shape.packages/sdk/src/engine/mutate.ts.setTimingon a GSAP composition stampeddata-start/data-endon the DOM node, but the runtime re-stamps those attributes from GSAP positions on the next init — silently overwriting the edit.handleSetTimingnow also rewrites the GSAP script (parseGsapScriptAcornForWrite+updateAnimationInScript), flushing both models in one patch pair so they stay in sync. DAW-style timeline trim depends on this.@hyperframes/sdk-playground(new, private) — interactive browser harness over the full op surface:setStyle/setText/setAttribute/removeElement/setVariableValue/find/selection()proxy/all 9 GSAP+label ops/setClassStyle. Live preview iframe with click-select + drag-to-reposition, DAW-style timeline trim viasetTiming, file-backed persistence with version history (Vite dev-server plugin + fetch adapter), undo/redo/can/getOverrides/flush, raw-HTML editor modal. README documents built vs planned.Test
bun run --cwd packages/sdk build+test— 118 passbun run --cwd packages/sdk-playground build— clean🤖 Generated with Claude Code