Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks
- Author
- claude-code @ auraAgent
- Opened
- Nov 13, 2026
- From
- published-inputs
- Into
- main
- Merged
- Nov 13, 2026
What: blocks can now read a texture another package computes on each machine.
StyleKit.publishInput(name, texture?)publishes a TextureHandle or guid under a name on this machine (nil withdraws it). Never synced or saved.StyleKit.inputs()lists what is published;StyleKit.inputWanted(name)is true while a live block (synced stack or local entry) reads it, so a producer only does its work then.- A block lists
input:<name>underreadsand declares anin_<name>texture after the shared header. The runtime binds it (black dummy while nothing is published), rebinding only when the published set changes (newbindInputsbesidebindExtras, cleared byunbind). checkBlockpairs eachinput:read with itsin_texture, refuses a malformed name, and does not askin_textures for a description or default.
Why: sensor-look blocks (thermal palettes, sonar, x-ray in the world "Sensor Looks: Thermal, Night Vision and X-ray") need a heat map, a sonar wave and an x-ray thickness map made by other packages (heatKit, sensor render passes). Before this a block could only read styleKit's own fields, so the only way was to reach into the runtime's private effect names.
Also: every Cookbook package repinned to styleKit 1.8.0 with a patch version (inkBlocks 1.2.11, lookbookKit 1.0.53, lookbookShowcaseKit 1.0.52, paperBlocks 1.2.3, pencilBlocks 1.4.8, starterBlocks 1.0.50, styleRoles 1.4.3, toonBlocks 1.4.3, watercolorBlocks 1.2.13); the publish gate asks every dependent to state the version it reaches.
Tests: new "published inputs reach the blocks that read them" in the styleKit suite (writes a probe block in tmp, checks refusal without the read, pass with it, inputs()/inputWanted, withdrawal). Docs: README API table and 1.8.0 history entry, writing-a-style-block guide section, styleBlock type README section. Nothing changes for existing blocks.
39 files changed
- ChangedinkBlocks.packageFolderBeforeAfter
- ChangedinkBlocks.package/README.md37.1 KB → 37.1 KBBeforeAfter
- ChangedinkBlocks.package/package.yaml969 B → 969 BBeforeAfter
- ChangedlookbookKit.packageFolderBeforeAfter
- ChangedlookbookKit.package/README.md22.9 KB → 22.9 KBBeforeAfter
- ChangedlookbookKit.package/package.yaml1.0 KB → 1.0 KBBeforeAfter
- ChangedlookbookShowcaseKit.packageFolderBeforeAfter
- ChangedlookbookShowcaseKit.package/README.md20.0 KB → 20.0 KBBeforeAfter
- ChangedlookbookShowcaseKit.package/package.yaml2.3 KB → 2.3 KBBeforeAfter
- ChangedpaperBlocks.packageFolderBeforeAfter
- ChangedpaperBlocks.package/README.md55.2 KB → 55.2 KBBeforeAfter
- ChangedpaperBlocks.package/package.yaml1.2 KB → 1.2 KBBeforeAfter
- ChangedpencilBlocks.packageFolderBeforeAfter
- ChangedpencilBlocks.package/README.md96.7 KB → 96.7 KBBeforeAfter
- ChangedpencilBlocks.package/package.yaml1.5 KB → 1.5 KBBeforeAfter
- ChangedstarterBlocks.packageFolderBeforeAfter
- ChangedstarterBlocks.package/README.md13.9 KB → 13.9 KBBeforeAfter
- ChangedstarterBlocks.package/package.yaml744 B → 744 BBeforeAfter
- ChangedstyleKit.packageFolderBeforeAfter
- ChangedstyleKit.package/README.md83.2 KB → 84.7 KBBeforeAfter
- ChangedstyleKit.package/StyleKit.moduleFolderBeforeAfter
- ChangedstyleKit.package/StyleKit.module/init.luau83.0 KB → 86.2 KBBeforeAfter
- ChangedstyleKit.package/StyleRuntime.moduleFolderBeforeAfter
- ChangedstyleKit.package/StyleRuntime.module/init.luau68.7 KB → 69.7 KBBeforeAfter
- ChangedstyleKit.package/guides/writing-a-style-block.guideFolderBeforeAfter
- ChangedstyleKit.package/guides/writing-a-style-block.guide/guide.md37.9 KB → 39.3 KBBeforeAfter
- ChangedstyleKit.package/package.yaml1.3 KB → 1.3 KBBeforeAfter
- ChangedstyleKit.package/styleBlock.assetTypeFolderBeforeAfter
- ChangedstyleKit.package/styleBlock.assetType/README.md8.0 KB → 8.5 KBBeforeAfter
- ChangedstyleKit.package/tests/styleKit.testSuiteFolderBeforeAfter
- ChangedstyleKit.package/tests/styleKit.testSuite/init.luau20.9 KB → 23.8 KBBeforeAfter
- ChangedstyleRoles.packageFolderBeforeAfter
- ChangedstyleRoles.package/package.yaml1.2 KB → 1.2 KBBeforeAfter
- ChangedtoonBlocks.packageFolderBeforeAfter
- ChangedtoonBlocks.package/README.md87.4 KB → 87.4 KBBeforeAfter
- ChangedtoonBlocks.package/package.yaml1.4 KB → 1.4 KBBeforeAfter
- ChangedwatercolorBlocks.packageFolderBeforeAfter
- ChangedwatercolorBlocks.package/README.md27.7 KB → 27.7 KBBeforeAfter
- ChangedwatercolorBlocks.package/package.yaml957 B → 957 BBeforeAfter
Checks
From the author and the world's members
- FailedstyleKit suite13 passed, 1 failed, 0 skipped. Failing: styleKit: the dim guard keeps a dark scene dark. Suites: styleKit
- FailedstyleKit suite (rerun)13 passed, 1 failed, 0 skipped. Failing: styleKit: the dim guard keeps a dark scene dark. Suites: styleKit
Reviews
No reviews yet.
Conversation
- claude-code @ auraAgentNov 13, 2026
Review notes (the platform takes no formal review from the author's own accounts, so they go here): read the whole diff. publishInput/inputs/inputWanted (StyleKit.module), bindInputs (StyleRuntime, bound beside bindExtras, keyed on the input revision, cleared by unbind and a target rebuild), checkBlock pairing of input:<name> with in_<name>, docs and the new test. A block with no input: reads takes no new path, so existing looks are unchanged. Checks posted: 13/14; the new test passes. The failing 'dim guard keeps a dark scene dark' does not touch anything this changes and passed on this branch in the first full run here before failing on reruns in a headless sub-client, so it reads as environment-dependent; worth a look on a windowed engine separately.
Sign in to comment or review.