Develop Through StudioPlugins
This is a special internal workflow for testing this repo's FlipbookCore changes through the StudioPlugins repo. Do not use it as the default Flipbook development path.
Setup
- Build FlipbookCore from the
flipbookrepo:
lute run build --target rotriever --clean
The output path is build/flipbook-core-rotriever/.
- In the StudioPlugins repo's Flipbook Rotriever manifest, point
FlipbookCoreat the local build output:
[dependencies]
FlipbookCore = { path = "/path/to/flipbook/build/flipbook-core-rotriever" }
- Build the StudioPlugins Flipbook plugin.
Agent-Run Loop
For each iteration:
- The agent rebuilds FlipbookCore. From the
flipbookrepo:
lute run build --target rotriever --clean
- The agent rebuilds the StudioPlugins Flipbook plugin using the engineer's documented build command for that repo. Ask the engineer for the exact command if it cannot be determined.
Studio will reload the plugin automatically once the build completes.
Dependency Changes
Only run these overlay steps when the current task actually changed that dependency repo:
# from the module-loader repo, if this task changed it
lute run try-in-flipbook
# from the storyteller repo, if this task changed it
lute run try-in-flipbook
When StudioPlugins points FlipbookCore at the local rotriever output, its watcher should pick up the rebuilt bundle automatically. Do not ask the engineer to run the FlipbookCore rebuild manually; run it from the agent unless the command fails and needs human intervention.
Source: flipbook-labs/flipbook — distributed by TomeVault.