stillmade-sdk 0.1.36 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +8 -8
- package/IMAGE_DESCRIPTION.md +2 -0
- package/MODULES.md +68 -10
- package/NATIVE_MCP.md +18 -7
- package/PASTE_TO_LLM.md +121 -50
- package/PORTABLE.md +7 -3
- package/README.md +19 -6
- package/REMIX.md +6 -0
- package/SDK.md +226 -103
- package/TRANSCRIPTION.md +4 -2
- package/UI_AESTHETIC.md +2 -0
- package/api-index.json +1 -1
- package/blocks/narration/package.js +1 -1
- package/blocks/narration/versions/1.0.1/package.js +221 -0
- package/blocks/native/sm.animated-scene/versions/2.3.9/package.js +769 -0
- package/blocks/native/sm.board-editor/versions/2.2.11/package.js +551 -0
- package/blocks/native/sm.describe-media/versions/2.1.0/package.js +140 -0
- package/blocks/native/sm.panel-strip/versions/2.4.2/package.js +1316 -0
- package/blocks/native/sm.photo-notes/versions/1.1.0/package.js +170 -0
- package/blocks/native/sm.pipeline/versions/2.2.6/package.js +1095 -0
- package/blocks/screen-recorder/package.js +1 -1
- package/blocks/screen-recorder/versions/1.0.1/package.js +223 -0
- package/package.json +1 -1
- package/packages/block-cli/cli.js +91 -35
- package/packages/block-cli/dev-host/assets/host.js +35 -32
- package/packages/block-cli/dev-host/assets/index.css +1 -1
- package/packages/block-cli/dev-server.js +4 -0
- package/packages/block-cli/ready-gate.js +19 -4
- package/packages/block-cli/templates.js +33 -21
- package/packages/block-platform/block-readiness.js +10 -1
- package/packages/block-platform/catalog.js +14 -3
- package/packages/block-platform/chat-packages.js +6 -0
- package/packages/block-platform/flow-inspection.js +3 -1
- package/packages/block-platform/project-target.js +57 -0
- package/packages/block-platform/project-type-composer.js +4 -3
- package/packages/block-platform/project-types.js +5 -2
- package/packages/block-sdk/admission.js +4 -1
- package/packages/block-sdk/block-tier.js +23 -0
- package/packages/block-sdk/builder-contract.js +12 -10
- package/packages/block-sdk/capabilities.js +23 -10
- package/packages/block-sdk/collaboration-admission.js +3 -0
- package/packages/block-sdk/contracts.js +13 -1
- package/packages/block-sdk/example-media-data.js +16 -0
- package/packages/block-sdk/example-media.js +42 -0
- package/packages/block-sdk/first-party-identities.js +8 -0
- package/packages/block-sdk/first-party-packages.js +11 -1
- package/packages/block-sdk/index.d.ts +6 -2
- package/packages/block-sdk/local-admission.js +6 -5
- package/packages/block-sdk/media-transform.js +59 -3
- package/packages/block-sdk/mock-host.js +23 -2
- package/packages/block-sdk/mocks.js +4 -1
- package/packages/block-sdk/module-hosted.js +12 -2
- package/packages/block-sdk/port-types.d.ts +6 -0
- package/packages/block-sdk/port-types.js +32 -10
- package/packages/block-sdk/shared-agent-controls.js +25 -2
- package/packages/block-sdk/shared-controls.js +17 -3
- package/packages/block-sdk/testing.js +46 -3
- package/packages/block-sdk/view-design.js +67 -0
- package/packages/block-sdk/view-renderer.js +50 -8
- package/packages/design-system/block-kit.css +6 -4
package/README.md
CHANGED
|
@@ -8,7 +8,10 @@ Build, test and package Blocks for [StillMade](https://stillmade.shop).
|
|
|
8
8
|
npm install --save-dev stillmade-sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Needs Node.js 22 or later. Everything it runs ships inside the package.
|
|
11
|
+
Needs Node.js 22 or later. Everything it runs ships inside the package. The same SDK is also a download,
|
|
12
|
+
`/block-sdk/stillmade-sdk-0.1.0.zip` on the StillMade site. `stillmade-block` is its command line in every
|
|
13
|
+
StillMade guide: `npx stillmade-block` after the install above, or `node <sdk>/packages/block-cli/cli.js` where
|
|
14
|
+
`<sdk>` is the folder you extracted the download into.
|
|
12
15
|
|
|
13
16
|
## Build a Block
|
|
14
17
|
|
|
@@ -16,13 +19,23 @@ Needs Node.js 22 or later. Everything it runs ships inside the package. From a d
|
|
|
16
19
|
npx stillmade-block create my-block javascript # create --list shows every template
|
|
17
20
|
npx stillmade-block validate my-block
|
|
18
21
|
npx stillmade-block test my-block # add --mock for hosted operations: no credits
|
|
19
|
-
npx stillmade-block
|
|
20
|
-
npx stillmade-block
|
|
22
|
+
npx stillmade-block dev my-block # the Block's interface in your browser, reloaded on save
|
|
23
|
+
npx stillmade-block gate my-block # the readiness check StillMade runs
|
|
24
|
+
npx stillmade-block pack my-block # the file to import in StillMade
|
|
21
25
|
```
|
|
22
26
|
|
|
23
|
-
A Block is not ready until `gate` passes.
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
A Block is not ready until `gate` passes. Run it on the Block's own folder: `gate .` in a folder that also
|
|
28
|
+
holds the extracted SDK checks the SDK's examples too. `pack` runs the tests again and writes one file,
|
|
29
|
+
named by the Block's runtime:
|
|
30
|
+
|
|
31
|
+
| Runtime | `pack my-block` writes |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| `module`, or a frame view with files in `src/view-files/` | `<id>-<version>.stillmade-module.json` |
|
|
34
|
+
| `recipe`, `javascript`, `capability`, `comfyui` | `<id>-<version>.stillmade.json` |
|
|
35
|
+
|
|
36
|
+
In StillMade, choose Create, then Import, and pick that file (or pick the Block folder with Import folder).
|
|
37
|
+
A new Block needs no `.stillmade-block` archive: `pack --original` writes one only for recipe, JavaScript,
|
|
38
|
+
capability and ComfyUI source (PORTABLE.md) and refuses a module Block.
|
|
26
39
|
From JavaScript, `import {defineBlock} from 'stillmade-sdk'` is the same API as `packages/block-sdk/index.js`.
|
|
27
40
|
|
|
28
41
|
## For coding agents
|
package/REMIX.md
CHANGED
|
@@ -87,6 +87,12 @@ attribution; removing it requires a separate rights review, not a source edit.
|
|
|
87
87
|
|
|
88
88
|
## Outside StillMade
|
|
89
89
|
|
|
90
|
+
Outside StillMade you remix only your own Blocks: one you imported or built, including a
|
|
91
|
+
newer version you edited in StillMade and downloaded from your versions (**Download
|
|
92
|
+
source + SDK**) to take back to your coding agent. Another person's Block is remixed only
|
|
93
|
+
in StillMade, as above: StillMade offers no download of it, and an import whose original
|
|
94
|
+
is another person's Block is refused with "Their Blocks can be remixed only in StillMade".
|
|
95
|
+
|
|
90
96
|
Use the CLI shipped in the downloadable SDK:
|
|
91
97
|
|
|
92
98
|
```sh
|