stillmade-sdk 0.1.8 → 0.1.9
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/.stillmade/sdk-baseline.json +1 -1
- package/AGENTS.md +8 -2
- package/DESKTOP_CAPABILITIES.md +1 -1
- package/INTERFACE_DESIGN.md +167 -83
- package/MODULES.md +1 -1
- package/NATIVE_MCP.md +1 -1
- package/PASTE_TO_LLM.md +151 -12
- package/README.md +5 -2
- package/SDK.md +510 -115
- package/UI_AESTHETIC.md +64 -0
- package/blocks/native/sm.export-video/versions/2.1.0/package.js +580 -0
- package/blocks/native/sm.panel-strip/versions/2.4.0/package.js +1176 -0
- package/blocks/native/sm.panel-strip/versions/2.4.1/package.js +1316 -0
- package/blocks/native/sm.shot-plan/versions/2.2.0/package.js +800 -0
- package/blocks/native/sm.shot-plan/versions/2.2.1/package.js +920 -0
- package/examples/README.md +10 -0
- package/examples/custom-interface.stillmade.json +3 -3
- package/package.json +7 -1
- package/packages/block-cli/dev-host/assets/host.js +214 -28
- package/packages/block-cli/dev-host/assets/index.css +1 -1
- package/packages/block-cli/format.js +1 -1
- package/packages/block-cli/templates.js +53 -22
- package/packages/block-platform/block-readiness.js +5 -0
- package/packages/block-platform/brief-ports.js +29 -0
- package/packages/block-platform/catalog.js +32 -9
- package/packages/block-platform/current-semantic-source.js +7 -3
- package/packages/block-platform/flow-inspection.js +14 -4
- package/packages/block-platform/plain-descriptions.js +1 -1
- package/packages/block-platform/project-context.js +7 -0
- package/packages/block-platform/project-input-samples.js +3 -1
- package/packages/block-platform/project-inputs.js +11 -2
- package/packages/block-platform/project-start-input.js +46 -0
- package/packages/block-platform/step-groups.js +2 -0
- package/packages/block-platform/steps.js +55 -4
- package/packages/block-platform/type-preview.js +19 -3
- package/packages/block-platform/workspace-input-readset.js +6 -1
- package/packages/block-sdk/builder-contract.js +11 -5
- package/packages/block-sdk/collaboration-admission.js +4 -2
- package/packages/block-sdk/connection-adapters.js +35 -2
- package/packages/block-sdk/contracts.js +5 -2
- package/packages/block-sdk/examples.js +3 -3
- package/packages/block-sdk/first-party-identities.js +190 -0
- package/packages/block-sdk/first-party-packages.js +6 -1
- package/packages/block-sdk/index.d.ts +2 -0
- package/packages/block-sdk/index.js +1 -1
- package/packages/block-sdk/javascript.js +5 -1
- package/packages/block-sdk/platform-checks.js +13 -2
- package/packages/block-sdk/shared-agent-controls.js +5 -4
- package/packages/block-sdk/shared-controls.js +13 -9
- package/packages/block-sdk/view-design.js +104 -27
- package/packages/block-sdk/view.js +4 -2
- package/packages/design-system/block-kit.css +183 -0
- package/packages/design-system/block-kit.html +187 -0
package/UI_AESTHETIC.md
CHANGED
|
@@ -98,6 +98,10 @@ listing previews read its raw palette. Do not maintain a parallel theme.
|
|
|
98
98
|
- Create, import review and production workspaces use the available page width,
|
|
99
99
|
with normal page gutters. Do not present these pages as centered modal-like
|
|
100
100
|
cards or nest decorative bordered panels. Actual transient dialogs are separate.
|
|
101
|
+
- The Block Builder (Create and the project dialog's Create with AI) fills its
|
|
102
|
+
whole area with no page gutter (owner, October 13, 2026). Its toolbar is the
|
|
103
|
+
back arrow and name, then one segmented control for Preview, Marketplace and
|
|
104
|
+
Advanced (Files, Tests, Versions, team sharing); drafts save automatically.
|
|
101
105
|
- Validation details are collapsed by default. Show passed, needs-attention and
|
|
102
106
|
untested counts, plus actionable remaining requirements outside the disclosure.
|
|
103
107
|
Never hide failures or weaken admission checks to simplify the interface.
|
|
@@ -173,6 +177,45 @@ Versions in each context. Project Type Builder uses Workflow, Preview and Publis
|
|
|
173
177
|
workflow checks belong inside Preview, and saved versions belong inside Publish.
|
|
174
178
|
Importing remains a source action, not another entity type.
|
|
175
179
|
|
|
180
|
+
## Pictures over words
|
|
181
|
+
|
|
182
|
+
The app and every Block should work at a glance. Decide every sentence: drop
|
|
183
|
+
words nobody needs to finish the task (intros, subtitles that restate the
|
|
184
|
+
heading, "how it works", labels next to an icon that already says it); show a
|
|
185
|
+
thumbnail, swatch, sample or icon where one says the same thing; and put words
|
|
186
|
+
that might help in a closed info toggle or a closed "More" section. Errors,
|
|
187
|
+
charges and credit approvals, stale inputs and destructive confirmations stay
|
|
188
|
+
visible, in few words. Empty states are an icon, a few words and one action.
|
|
189
|
+
|
|
190
|
+
Buttons that make something name what they make ("Write", "Generate image",
|
|
191
|
+
"Make video"), never "Run" or "Run step"; see "Run buttons say what they do and
|
|
192
|
+
what they cost" below for the price, the model chip and when a confirmation shows.
|
|
193
|
+
|
|
194
|
+
`packages/design-system/block-kit.css` holds the shared classes for this
|
|
195
|
+
(`sm-stage`, `sm-empty`, `sm-choices`, `sm-actions`, `sm-status`, `sm-more`,
|
|
196
|
+
`sm-hint`); the app imports it and the host injects it into every Block view.
|
|
197
|
+
Reference page: `packages/design-system/block-kit.html`. Block authoring rules:
|
|
198
|
+
`docs/sdk/INTERFACE_DESIGN.md`.
|
|
199
|
+
|
|
200
|
+
## Compact: one screen, no scrolling
|
|
201
|
+
|
|
202
|
+
A Step, Block view, dialog or settings page fits one laptop screen (about 720 px
|
|
203
|
+
of height) without scrolling. When it does not, fold, shrink or move something
|
|
204
|
+
up; never add another section below the work. Approved October 18, 2026 with
|
|
205
|
+
before/after examples from an Image Panels project (Voiceover 1,210 px to about
|
|
206
|
+
200 px).
|
|
207
|
+
|
|
208
|
+
- Label and control on one row. No label stacked above a short control, no card
|
|
209
|
+
around a single control, no help line under every field.
|
|
210
|
+
- Status is a dot or a few words ("No narration yet"), never a paragraph; the
|
|
211
|
+
reason sits behind an info toggle.
|
|
212
|
+
- Files are tiles: a saved file is a thumbnail or chip, adding one is a + tile.
|
|
213
|
+
Never the bare "Choose File / No file chosen" picker; size limits only when a
|
|
214
|
+
file is too big.
|
|
215
|
+
- Rare tools (version update, schedule, history, reload) are icon buttons in the
|
|
216
|
+
header with a tooltip, plus a dot on the Step chip when one needs attention.
|
|
217
|
+
- Mockups: `docs/ui-review/compact-principles.html`.
|
|
218
|
+
|
|
176
219
|
## Icon preference
|
|
177
220
|
|
|
178
221
|
When a recognizable icon can convey the same action or meaning as a text label,
|
|
@@ -181,6 +224,27 @@ a surrounding circle or circular button outline/background. Preserve a generous
|
|
|
181
224
|
invisible hit area and keyboard focus indication. Give icon-only controls an
|
|
182
225
|
accessible name and a tooltip; retain visible text when the meaning would be unclear.
|
|
183
226
|
|
|
227
|
+
## Run buttons say what they do and what they cost
|
|
228
|
+
|
|
229
|
+
- The button that starts a Step, Block or job never says "Run step", "Run",
|
|
230
|
+
"Run in project" or "Review cost". It names what happens: Write, Generate,
|
|
231
|
+
Make video, Make voiceover, Transcribe, Research, Send. While it works it says
|
|
232
|
+
so ("Writing…") with Stop beside it; afterwards it offers the same action again.
|
|
233
|
+
- When the run costs credits, the price is part of the button:
|
|
234
|
+
"Write · 1 credit", "Generate · 28 credits". Paid with the person's own key it
|
|
235
|
+
reads "Write · your key". When the price is not known before a quote, the button
|
|
236
|
+
shows only the action and the quote opens the review.
|
|
237
|
+
- When the model, quality or count can change, one chip with a caret sits right
|
|
238
|
+
before the button and shows the current choice (for example
|
|
239
|
+
"GPT Image 2 · Low · 2"). It opens priced picture tiles; picking one updates the
|
|
240
|
+
price on the button at once. When nothing can change, there is no chip.
|
|
241
|
+
- Pressing the priced button is the approval, so no confirm dialog follows it.
|
|
242
|
+
The run still fetches the server's quote and checks it against the price shown.
|
|
243
|
+
The review opens only when that quote is higher, when the Block needs its first
|
|
244
|
+
paid review, or when the run fails and needs a decision.
|
|
245
|
+
- Steps use `StepRunControls` and `client/src/blocks/runAction.js` for the verb
|
|
246
|
+
and price; reuse them instead of writing new run buttons.
|
|
247
|
+
|
|
184
248
|
## Dialog placement and dismissal
|
|
185
249
|
|
|
186
250
|
- Center search and other transient dialogs in the viewport, independent of the
|