feat(sdk): file-backed fs adapter + setTiming GSAP sync; sdk-playground workspace#1458
Merged
Conversation
…ct, race, comments - bunx oxfmt packages/sdk-playground/index.html (unblocks CI) - PersistVersionEntry.content is now optional; HTTP adapter omits it for lazy-load - fs adapter: monotonic key (Date.now-NNNN) + per-path write serialization via promise chain - mutate.ts: fix wrong comment on GSAP sync reason; add caveat to "pre-parse once" note Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Miguel Ángel <miguel07alm@protonmail.com>
Pre-existing format issue on the base; fixing here to unblock CI. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Miguel Ángel <miguel07alm@protonmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
Cherry-pick of PR #1423 content onto
main(original PR accidentally merged into a Graphite tracking ref instead of main).packages/sdk/src/adapters/fs.ts): file-backedPersistAdapterimplementation with per-path write serialization, version history (pruned to N), andflush()tracking in-flight writesPersistVersionEntry.contentmade optional (supports lazy-loading adapters)packages/sdk/src/engine/mutate.ts):handleSetTimingnow writes tween positions back to the GSAP inline script so timeline rebuilds at play time reflect the editpackages/sdk-playground/): local dev playground for exercising the SDK end-to-end with fs adapterpackages/core/src/parsers/gsapSerialize.tsto unblock Preflight CI across the entire stackTest plan
bun run testpassesbun run buildclean🤖 Generated with Claude Code