stillmade-sdk 0.1.41 → 0.1.43
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 +19 -21
- package/AGENTS.md +17 -12
- package/FRAME_VIEWS.md +113 -0
- package/INTERFACE_DESIGN.md +67 -22
- package/MOBILE_UI.md +4 -2
- package/MODULES.md +152 -6
- package/PASTE_TO_LLM.md +42 -32
- package/README.md +3 -2
- package/SDK.md +1028 -563
- package/UI_AESTHETIC.md +30 -3
- package/blocks/generate/package.js +1 -0
- package/blocks/generate/versions/1.0.0/package.js +463 -0
- package/docs/build/audio-to-editor.md +36 -0
- package/docs/build/block-builder-contract.md +150 -0
- package/docs/build/comfyui.md +227 -0
- package/docs/build/concepts.md +40 -0
- package/docs/build/context.md +159 -0
- package/docs/build/cookbook.md +57 -0
- package/docs/build/custom-interface.md +617 -0
- package/docs/build/data-types.md +83 -0
- package/docs/build/frame-views.md +259 -0
- package/docs/build/generate-media.md +59 -0
- package/docs/build/github-applications.md +314 -0
- package/docs/build/hosted-images.md +214 -0
- package/docs/build/hosted-music.md +39 -0
- package/docs/build/hosted-speech.md +157 -0
- package/docs/build/hosted-text.md +246 -0
- package/docs/build/image-description.md +49 -0
- package/docs/build/interface-design.md +343 -0
- package/docs/build/javascript.md +63 -0
- package/docs/build/local-preview.md +61 -0
- package/docs/build/media-analysis.md +27 -0
- package/docs/build/media.md +400 -0
- package/docs/build/mobile-ui.md +106 -0
- package/docs/build/modules.md +487 -0
- package/docs/build/original-blocks.md +70 -0
- package/docs/build/outside-apis.md +128 -0
- package/docs/build/production-context-templates.md +12 -0
- package/docs/build/project-storage.md +94 -0
- package/docs/build/quickstart.md +48 -0
- package/docs/build/recipes.md +103 -0
- package/docs/build/script-handoff.md +45 -0
- package/docs/build/script-writer.md +34 -0
- package/docs/build/state.md +223 -0
- package/docs/build/testing.md +112 -0
- package/docs/build/timeline-edits.md +116 -0
- package/docs/build/timeline-proposals.md +76 -0
- package/docs/build/transcription.md +59 -0
- package/docs/build/triggers.md +59 -0
- package/docs/build/tutorial.md +52 -0
- package/docs/build/typescript.md +34 -0
- package/docs/build/video-generation.md +61 -0
- package/docs/build/web-reading.md +37 -0
- package/docs/build/with-your-ai.md +27 -0
- package/docs/changelog.md +9 -0
- package/docs/creators.md +21 -0
- package/docs/distribute/discovery.md +43 -0
- package/docs/distribute/imports.md +58 -0
- package/docs/distribute/publishing.md +29 -0
- package/docs/distribute/sdk-versions.md +36 -0
- package/docs/distribute/selling.md +14 -0
- package/docs/distribute/teams.md +60 -0
- package/docs/distribute/versioning.md +28 -0
- package/docs/examples.md +23 -0
- package/docs/gallery.md +26 -0
- package/docs/index.md +50 -0
- package/docs/native-mcp.md +307 -0
- package/docs/project-types/automation.md +43 -0
- package/docs/project-types/batches.md +50 -0
- package/docs/project-types/build.md +42 -0
- package/docs/project-types/completion.md +15 -0
- package/docs/project-types/conditions.md +21 -0
- package/docs/project-types/hosted-review.md +115 -0
- package/docs/project-types/onboarding.md +75 -0
- package/docs/project-types/running.md +309 -0
- package/docs/project-types/testing.md +72 -0
- package/docs/reference/application-artifacts.md +87 -0
- package/docs/reference/authoring-guide.md +134 -0
- package/docs/reference/browser-applications.md +267 -0
- package/docs/reference/capabilities.md +45 -0
- package/docs/reference/cli.md +71 -0
- package/docs/reference/connection-api.md +59 -0
- package/docs/reference/cooperative-jobs.md +13 -0
- package/docs/reference/desktop-capabilities.md +172 -0
- package/docs/reference/desktop-execution.md +77 -0
- package/docs/reference/errors.md +233 -0
- package/docs/reference/execution.md +800 -0
- package/docs/reference/first-party-blocks.md +40 -0
- package/docs/reference/generation-models.md +59 -0
- package/docs/reference/limits.md +306 -0
- package/docs/reference/manifest-kinds-controls.md +36 -0
- package/docs/reference/manifest.md +181 -0
- package/docs/reference/operations.md +36 -0
- package/docs/reference/package-jobs.md +35 -0
- package/docs/reference/parity.md +55 -0
- package/docs/reference/permissions.md +86 -0
- package/docs/reference/ports.md +26 -0
- package/docs/reference/types.md +268 -0
- package/docs/reference/universal-resolver.md +303 -0
- package/docs/reference/view-bridge.md +60 -0
- package/docs/reference/view-rules.md +15 -0
- package/docs/reference/workspace-sync.md +25 -0
- package/docs/sdk.md +34 -0
- package/docs/tools/block-remix.md +211 -0
- package/docs/tools/llm.md +2213 -0
- package/docs/tools/repository-adaptation.md +613 -0
- package/examples/check-clip.stillmade.json +8 -1
- package/examples/clean-text.stillmade.json +4 -0
- package/examples/custom-interface.stillmade.json +4 -0
- package/examples/describe-image.stillmade.json +4 -0
- package/examples/foley-cue.stillmade.json +4 -0
- package/examples/generate-image.stillmade.json +4 -0
- package/examples/generate-video.stillmade.json +10 -2
- package/examples/module-word-stats/stillmade.block.json +4 -0
- package/examples/narrate-script.stillmade.json +4 -0
- package/examples/numbered-takes.stillmade.json +4 -0
- package/examples/research-topic.stillmade.json +9 -1
- package/examples/score-a-scene.stillmade.json +4 -0
- package/examples/script-draft.stillmade.json +4 -0
- package/examples/summarize-page.stillmade.json +4 -0
- package/examples/text-workflow.stillmade.json +7 -32
- package/examples/thicken-lines.stillmade.json +4 -0
- package/examples/timeline-polish.stillmade.json +15 -3
- package/examples/transcribe-audio.stillmade.json +15 -3
- package/examples/word-count.stillmade.json +4 -0
- package/package.json +1 -1
- package/packages/block-cli/cli.js +13 -6
- package/packages/block-cli/dev-host/assets/host.js +81 -38
- package/packages/block-cli/dev-host/assets/index.css +1 -1
- package/packages/block-cli/format.js +1 -1
- package/packages/block-cli/ready-gate.js +4 -0
- package/packages/block-cli/templates.js +37 -19
- package/packages/block-cli/type-packages.js +119 -0
- package/packages/block-platform/block-readiness.js +8 -1
- package/packages/block-platform/canvas.js +2 -1
- package/packages/block-platform/catalog.js +27 -48
- package/packages/block-platform/native-host-inventory.js +0 -226
- package/packages/block-platform/plain-descriptions.js +1 -25
- package/packages/block-platform/project-type-starters.js +13 -53
- package/packages/block-platform/script-handoff.js +2 -4
- package/packages/block-platform/type-workspace.js +2 -0
- package/packages/block-sdk/appearance.js +3 -1
- package/packages/block-sdk/audio-generation-example.js +2 -2
- package/packages/block-sdk/block-tier.js +1 -1
- package/packages/block-sdk/builder-contract.js +13 -11
- package/packages/block-sdk/capabilities.js +1 -1
- package/packages/block-sdk/capability-example.js +1 -1
- package/packages/block-sdk/contracts.js +6 -2
- package/packages/block-sdk/examples.js +3 -3
- package/packages/block-sdk/first-party-identities.js +1 -84
- package/packages/block-sdk/first-party-packages.js +3 -85
- package/packages/block-sdk/generation-catalog.js +15 -3
- package/packages/block-sdk/image-description-example.js +1 -1
- package/packages/block-sdk/image-generation-example.js +1 -1
- package/packages/block-sdk/index.d.ts +2 -1
- package/packages/block-sdk/media-analysis-example.js +2 -2
- package/packages/block-sdk/mock-host.js +7 -1
- package/packages/block-sdk/module-example.js +1 -1
- package/packages/block-sdk/module-host-calls.js +35 -10
- package/packages/block-sdk/module-hosted.js +15 -2
- package/packages/block-sdk/module-media-access.js +71 -0
- package/packages/block-sdk/module-node.js +1 -1
- package/packages/block-sdk/portable-media-actions.js +1 -1
- package/packages/block-sdk/runtime.js +1 -1
- package/packages/block-sdk/speech-example.js +1 -1
- package/packages/block-sdk/state-example.js +1 -1
- package/packages/block-sdk/timeline-proposal-example.js +1 -1
- package/packages/block-sdk/transcription-example.js +1 -1
- package/packages/block-sdk/trigger-examples.js +2 -2
- package/packages/block-sdk/video-generation-example.js +1 -1
- package/packages/block-sdk/view-bridge.js +4 -1
- package/packages/block-sdk/view-design.js +44 -15
- package/packages/block-sdk/web-example.js +2 -2
- package/packages/design-system/block-kit.css +53 -12
- package/packages/design-system/block-kit.html +3 -2
- package/blocks/mcp-motion-planner/versions/1.1.0/package.js +0 -97
- package/blocks/motion-designer/versions/1.0.1/package.js +0 -173318
- package/blocks/motion-designer/versions/1.0.2/package.js +0 -173318
- package/blocks/motion-frame-review/versions/1.1.1/package.js +0 -465
- package/blocks/motion-frame-review/versions/1.1.2/package.snapshot.js +0 -572
- package/blocks/narration/package.js +0 -1
- package/blocks/narration/versions/1.0.0/package.js +0 -221
- package/blocks/narration/versions/1.0.1/package.js +0 -221
- package/blocks/native/sm.animated-scene/versions/2.0.0/package.js +0 -475
- package/blocks/native/sm.animated-scene/versions/2.1.0/package.js +0 -498
- package/blocks/native/sm.animated-scene/versions/2.2.0/package.js +0 -524
- package/blocks/native/sm.animated-scene/versions/2.3.0/package.js +0 -618
- package/blocks/native/sm.animated-scene/versions/2.3.1/package.js +0 -618
- package/blocks/native/sm.animated-scene/versions/2.3.2/package.js +0 -723
- package/blocks/native/sm.animated-scene/versions/2.3.3/package.js +0 -723
- package/blocks/native/sm.animated-scene/versions/2.3.4/package.js +0 -676
- package/blocks/native/sm.animated-scene/versions/2.3.5/package.js +0 -693
- package/blocks/native/sm.animated-scene/versions/2.3.6/package.js +0 -700
- package/blocks/native/sm.animated-scene/versions/2.3.7/package.js +0 -747
- package/blocks/native/sm.animated-scene/versions/2.3.8/package.js +0 -769
- package/blocks/native/sm.animated-scene/versions/2.3.9/package.js +0 -769
- package/blocks/native/sm.animated-scene-assistant/versions/1.0.0/package.js +0 -183
- package/blocks/native/sm.blueprint/versions/2.0.0/package.js +0 -358
- package/blocks/native/sm.blueprint/versions/2.1.0/package.js +0 -358
- package/blocks/native/sm.blueprint/versions/2.1.1/package.js +0 -358
- package/blocks/native/sm.blueprint/versions/2.1.2/package.js +0 -358
- package/blocks/native/sm.blueprint/versions/2.1.3/package.js +0 -381
- package/blocks/native/sm.blueprint/versions/2.1.4/package.js +0 -381
- package/blocks/native/sm.blueprint/versions/2.1.5/package.js +0 -339
- package/blocks/native/sm.blueprint/versions/2.1.6/package.js +0 -356
- package/blocks/native/sm.blueprint/versions/2.1.7/package.js +0 -363
- package/blocks/native/sm.blueprint/versions/2.1.8/package.js +0 -410
- package/blocks/native/sm.blueprint/versions/2.1.9/package.js +0 -422
- package/blocks/native/sm.blueprint-assistant/versions/1.0.0/package.js +0 -172
- package/blocks/native/sm.chat/versions/2.0.0/package.js +0 -144
- package/blocks/native/sm.chat/versions/2.0.1/package.js +0 -97
- package/blocks/native/sm.chat/versions/2.0.2/package.js +0 -100
- package/blocks/native/sm.chat/versions/2.0.3/package.js +0 -100
- package/blocks/native/sm.continue-if/versions/1.0.0/package.js +0 -168
- package/blocks/native/sm.describe-media/versions/2.0.0/package.js +0 -153
- package/blocks/native/sm.describe-media/versions/2.0.1/package.js +0 -156
- package/blocks/native/sm.describe-media/versions/2.1.0/package.js +0 -140
- package/blocks/native/sm.image-editor/versions/2.0.0/package.js +0 -183
- package/blocks/native/sm.image-editor/versions/2.0.1/package.js +0 -190
- package/blocks/native/sm.new-items/versions/1.0.0/package.js +0 -191
- package/blocks/native/sm.pick-photos/versions/1.0.0/package.js +0 -334
- package/blocks/native/sm.quality-audit/versions/1.0.0/package.js +0 -192
- package/blocks/native/sm.quality-audit/versions/1.0.1/package.js +0 -192
- package/blocks/native/sm.quality-audit/versions/1.0.2/package.js +0 -195
- package/blocks/native/sm.research/versions/2.0.0/package.js +0 -175
- package/blocks/native/sm.research/versions/2.0.1/package.js +0 -184
- package/blocks/native/sm.research/versions/2.0.2/package.js +0 -187
- package/blocks/native/sm.script/versions/2.0.0/package.js +0 -144
- package/blocks/native/sm.script/versions/2.1.0/package.js +0 -144
- package/blocks/native/sm.script/versions/2.1.1/package.js +0 -144
- package/blocks/native/sm.script/versions/2.1.2/package.js +0 -105
- package/blocks/native/sm.script/versions/2.1.3/package.js +0 -152
- package/blocks/native/sm.script/versions/2.1.4/package.js +0 -156
- package/blocks/native/sm.script/versions/2.1.5/package.js +0 -156
- package/blocks/native/sm.shot-plan/versions/2.0.0/package.js +0 -301
- package/blocks/native/sm.shot-plan/versions/2.1.0/package.js +0 -528
- package/blocks/native/sm.shot-plan/versions/2.1.1/package.js +0 -528
- package/blocks/native/sm.shot-plan/versions/2.1.2/package.js +0 -528
- package/blocks/native/sm.shot-plan/versions/2.1.3/package.js +0 -536
- package/blocks/native/sm.shot-plan/versions/2.2.0/package.js +0 -800
- package/blocks/native/sm.shot-plan/versions/2.2.1/package.js +0 -920
- package/blocks/native/sm.shot-plan-assistant/versions/1.0.0/package.js +0 -173
- package/blocks/native/sm.stock-search/versions/2.0.0/package.js +0 -174
- package/blocks/native/sm.thumbnail/versions/2.0.0/package.js +0 -137
- package/blocks/native/sm.thumbnail/versions/2.0.1/package.js +0 -140
- package/blocks/native/sm.transcribe/versions/2.0.0/package.js +0 -163
- package/blocks/native/sm.transcribe/versions/2.0.1/package.js +0 -168
- package/blocks/native/sm.whiteboard-assistant/versions/1.0.0/package.js +0 -175
- package/blocks/native/sm.youtube/versions/2.0.0/package.js +0 -217
- package/blocks/occasion-story/package.js +0 -1
- package/blocks/occasion-story/versions/1.0.0/package.js +0 -1658
- package/blocks/occasion-story/versions/1.0.1/package.js +0 -1699
- package/blocks/occasion-story/versions/1.0.2/package.js +0 -1682
- package/blocks/photo-reel-composer/versions/1.0.0/package.js +0 -3043
- package/blocks/photo-reel-composer/versions/1.0.1/package.js +0 -3026
- package/blocks/photo-reel-composer/versions/1.0.2/package.js +0 -4149
- package/blocks/product-ad-variants/versions/1.0.0/package.js +0 -2911
- package/blocks/product-launch-director/versions/1.0.0/package.js +0 -103
- package/blocks/release-visuals/package.js +0 -1
- package/blocks/release-visuals/versions/1.0.0/package.js +0 -1492
- package/blocks/release-visuals/versions/1.0.1/package.js +0 -1517
- package/blocks/release-visuals/versions/1.0.2/package.js +0 -1500
- package/blocks/screen-recorder/package.js +0 -1
- package/blocks/screen-recorder/versions/1.0.0/package.js +0 -223
- package/blocks/screen-recorder/versions/1.0.1/package.js +0 -223
- package/blocks/short-form-finish/package.js +0 -1
- package/blocks/short-form-finish/versions/1.0.0/package.js +0 -1043
- package/blocks/short-form-finish/versions/1.0.1/package.js +0 -1043
- package/blocks/short-form-finish/versions/1.0.2/package.js +0 -1043
- package/blocks/short-form-finish/versions/1.0.3/package.js +0 -1026
- package/examples/saas-product-launch-reviewed-source.stillmade.json +0 -383
- package/examples/saas-product-launch.stillmade.json +0 -304
- package/packages/block-platform/dealer-inventory-video-project-type.js +0 -38
- package/packages/block-platform/first-revenue-project-types.js +0 -46
- package/packages/block-platform/fixture-starters.js +0 -13
- package/packages/block-platform/launch-project-source.js +0 -10
- package/packages/block-platform/launch-project.js +0 -30
- package/packages/block-platform/motion-project-types.js +0 -55
- package/packages/block-platform/motion-starters.js +0 -14
- package/packages/block-platform/product-ad-variants-project-type.js +0 -30
- package/packages/block-platform/product-launch-updated.js +0 -90
- package/packages/block-platform/revenue-review-project-types.js +0 -36
- package/packages/block-platform/revenue-review-starters.js +0 -13
- package/packages/block-platform/script-writer.js +0 -29
- package/packages/block-platform/website-source-block.js +0 -14
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
// Generated by scripts/build-owned-blocks.mjs. Edit the owned source files.
|
|
2
|
-
export default {
|
|
3
|
-
"manifest": {
|
|
4
|
-
"schemaVersion": 1,
|
|
5
|
-
"sdkVersion": "0.1.0",
|
|
6
|
-
"id": "sm.shot-plan-assistant",
|
|
7
|
-
"version": "1.0.0",
|
|
8
|
-
"name": "Plan Shots",
|
|
9
|
-
"description": "Review narration and direction, then propose a complete shot plan while preserving current IDs and media.",
|
|
10
|
-
"kind": "task",
|
|
11
|
-
"runtime": "capability",
|
|
12
|
-
"entry": "src/capability.json",
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"provenance": {
|
|
15
|
-
"notice": "Original source (authorship declared by the packager)\nLicense: MIT\nChanges: Original implementation declared by the packager; no reused repository or dependency code.\nFiles: LICENSE, src/capability.json\n\nMIT License\n\nCopyright (c) 2026 StillMade contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
|
|
16
|
-
"portableSources": [
|
|
17
|
-
{
|
|
18
|
-
"kind": "original",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"paths": [
|
|
21
|
-
"LICENSE",
|
|
22
|
-
"src/capability.json"
|
|
23
|
-
],
|
|
24
|
-
"evidence": [
|
|
25
|
-
"upstream/0/LICENSE",
|
|
26
|
-
"upstream/0/src/capability.json"
|
|
27
|
-
],
|
|
28
|
-
"changes": "Original implementation declared by the packager; no reused repository or dependency code."
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"inputs": {
|
|
33
|
-
"shotPlan": {
|
|
34
|
-
"type": "shot-plan",
|
|
35
|
-
"context": "shotPlan",
|
|
36
|
-
"required": false,
|
|
37
|
-
"default": {
|
|
38
|
-
"schemaVersion": 1,
|
|
39
|
-
"shots": []
|
|
40
|
-
},
|
|
41
|
-
"description": "The complete current Plan Shots document."
|
|
42
|
-
},
|
|
43
|
-
"request": {
|
|
44
|
-
"type": "text",
|
|
45
|
-
"primary": true,
|
|
46
|
-
"description": "The change to propose for this workspace."
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"outputs": {
|
|
50
|
-
"edit": {
|
|
51
|
-
"type": "workspace-edit",
|
|
52
|
-
"primary": true,
|
|
53
|
-
"description": "An exact complete before/after proposal reviewed before Apply."
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"permissions": {
|
|
57
|
-
"project": [
|
|
58
|
-
"context.shotPlan.read",
|
|
59
|
-
"workspace.shotPlan.propose"
|
|
60
|
-
],
|
|
61
|
-
"capabilities": [
|
|
62
|
-
"workspace.propose"
|
|
63
|
-
],
|
|
64
|
-
"network": [],
|
|
65
|
-
"filesystem": [],
|
|
66
|
-
"secrets": []
|
|
67
|
-
},
|
|
68
|
-
"ui": [
|
|
69
|
-
{
|
|
70
|
-
"control": "text",
|
|
71
|
-
"port": "request"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"platforms": {
|
|
75
|
-
"phone": {
|
|
76
|
-
"supported": true
|
|
77
|
-
},
|
|
78
|
-
"browser": {
|
|
79
|
-
"supported": true
|
|
80
|
-
},
|
|
81
|
-
"desktop": {
|
|
82
|
-
"supported": true
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"capability": {
|
|
87
|
-
"schemaVersion": 1,
|
|
88
|
-
"operation": "workspace.propose",
|
|
89
|
-
"field": "shotPlan",
|
|
90
|
-
"context": {
|
|
91
|
-
"shotPlan": {
|
|
92
|
-
"$input": "shotPlan"
|
|
93
|
-
},
|
|
94
|
-
"request": {
|
|
95
|
-
"$input": "request"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"instruction": "Create or revise the shot plan requested by the user. Preserve exact existing shot IDs unless the user explicitly asks to add or remove shots. Keep selected media identities, narration, timing, fulfillment, framing, motion, statements, and unknown fields. Every after document must remain schema version 1.",
|
|
99
|
-
"maxTokens": 4096,
|
|
100
|
-
"output": "edit"
|
|
101
|
-
},
|
|
102
|
-
"tests": [
|
|
103
|
-
{
|
|
104
|
-
"name": "Focused proposal",
|
|
105
|
-
"input": {
|
|
106
|
-
"shotPlan": {
|
|
107
|
-
"schemaVersion": 1,
|
|
108
|
-
"shots": [
|
|
109
|
-
{
|
|
110
|
-
"id": "shot-1",
|
|
111
|
-
"voiceoverText": "Opening"
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
},
|
|
115
|
-
"request": "Make the opening clearer."
|
|
116
|
-
},
|
|
117
|
-
"expectations": {
|
|
118
|
-
"edit": {
|
|
119
|
-
"kind": "workspace-edit",
|
|
120
|
-
"field": "shotPlan"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"name": "No destructive rewrite",
|
|
126
|
-
"input": {
|
|
127
|
-
"shotPlan": {
|
|
128
|
-
"schemaVersion": 1,
|
|
129
|
-
"shots": [
|
|
130
|
-
{
|
|
131
|
-
"id": "shot-1",
|
|
132
|
-
"voiceoverText": "Opening"
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"request": "Keep existing identities and improve pacing."
|
|
137
|
-
},
|
|
138
|
-
"expectations": {
|
|
139
|
-
"edit": {
|
|
140
|
-
"kind": "workspace-edit",
|
|
141
|
-
"field": "shotPlan"
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"portable": {
|
|
147
|
-
"format": "stillmade-block/1",
|
|
148
|
-
"dependencies": [],
|
|
149
|
-
"sources": [
|
|
150
|
-
{
|
|
151
|
-
"kind": "original",
|
|
152
|
-
"license": "MIT",
|
|
153
|
-
"paths": [
|
|
154
|
-
"LICENSE",
|
|
155
|
-
"src/capability.json"
|
|
156
|
-
],
|
|
157
|
-
"evidence": [
|
|
158
|
-
"upstream/0/LICENSE",
|
|
159
|
-
"upstream/0/src/capability.json"
|
|
160
|
-
],
|
|
161
|
-
"changes": "Original implementation declared by the packager; no reused repository or dependency code."
|
|
162
|
-
}
|
|
163
|
-
],
|
|
164
|
-
"files": {
|
|
165
|
-
"upstream/0/LICENSE": "MIT License\n\nCopyright (c) 2026 StillMade contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
|
|
166
|
-
"upstream/0/src/capability.json": "{\n \"schemaVersion\": 1,\n \"operation\": \"workspace.propose\",\n \"field\": \"shotPlan\",\n \"context\": {\n \"shotPlan\": {\n \"$input\": \"shotPlan\"\n },\n \"request\": {\n \"$input\": \"request\"\n }\n },\n \"instruction\": \"Create or revise the shot plan requested by the user. Preserve exact existing shot IDs unless the user explicitly asks to add or remove shots. Keep selected media identities, narration, timing, fulfillment, framing, motion, statements, and unknown fields. Every after document must remain schema version 1.\",\n \"maxTokens\": 4096,\n \"output\": \"edit\"\n}"
|
|
167
|
-
},
|
|
168
|
-
"lineage": {
|
|
169
|
-
"parents": [],
|
|
170
|
-
"changes": "Packaged original Block source for StillMade."
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
};
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
// Generated by scripts/build-owned-blocks.mjs. Edit the owned source files.
|
|
2
|
-
export default {
|
|
3
|
-
"manifest": {
|
|
4
|
-
"schemaVersion": 1,
|
|
5
|
-
"sdkVersion": "0.1.0",
|
|
6
|
-
"id": "sm.stock-search",
|
|
7
|
-
"version": "2.0.0",
|
|
8
|
-
"name": "Stock media search",
|
|
9
|
-
"description": "Search licensed stock and select an exact asset for the next Block.",
|
|
10
|
-
"kind": "task",
|
|
11
|
-
"runtime": "javascript",
|
|
12
|
-
"entry": "src/run.js",
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"provenance": {
|
|
15
|
-
"notice": "Original source (authorship declared by the packager)\nLicense: MIT\nChanges: Original implementation declared by the packager; no reused repository or dependency code.\nFiles: LICENSE, src/run.js\n\nMIT License\n\nCopyright (c) 2026 StillMade contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
|
|
16
|
-
"portableSources": [
|
|
17
|
-
{
|
|
18
|
-
"kind": "original",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"paths": [
|
|
21
|
-
"LICENSE",
|
|
22
|
-
"src/run.js"
|
|
23
|
-
],
|
|
24
|
-
"evidence": [
|
|
25
|
-
"upstream/0/LICENSE",
|
|
26
|
-
"upstream/0/src/run.js"
|
|
27
|
-
],
|
|
28
|
-
"changes": "Original implementation declared by the packager; no reused repository or dependency code."
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"inputs": {
|
|
33
|
-
"query": {
|
|
34
|
-
"type": "text",
|
|
35
|
-
"primary": true,
|
|
36
|
-
"semantic": "stock_query",
|
|
37
|
-
"description": "Words describing the licensed media to find.",
|
|
38
|
-
"required": true,
|
|
39
|
-
"sources": [
|
|
40
|
-
"user",
|
|
41
|
-
"upstream"
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
"mediaType": {
|
|
45
|
-
"type": "text",
|
|
46
|
-
"semantic": "stock_media_type",
|
|
47
|
-
"description": "Choose photos, videos, or audio.",
|
|
48
|
-
"required": false,
|
|
49
|
-
"default": "photo",
|
|
50
|
-
"sources": [
|
|
51
|
-
"user",
|
|
52
|
-
"default"
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"outputs": {
|
|
57
|
-
"stockAction": {
|
|
58
|
-
"type": "approval",
|
|
59
|
-
"role": "portable_media_action",
|
|
60
|
-
"semantic": "portable_media_action",
|
|
61
|
-
"description": "A scoped licensed-stock search for user review."
|
|
62
|
-
},
|
|
63
|
-
"asset": {
|
|
64
|
-
"type": "asset",
|
|
65
|
-
"semantic": "licensed_asset",
|
|
66
|
-
"description": "One selected licensed asset with its acquisition receipt.",
|
|
67
|
-
"required": false
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"permissions": {
|
|
71
|
-
"project": [],
|
|
72
|
-
"network": [],
|
|
73
|
-
"filesystem": [],
|
|
74
|
-
"secrets": [],
|
|
75
|
-
"actions": [
|
|
76
|
-
"stock.search"
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
"ui": [
|
|
80
|
-
{
|
|
81
|
-
"control": "text",
|
|
82
|
-
"port": "query"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"control": "select",
|
|
86
|
-
"port": "mediaType",
|
|
87
|
-
"options": [
|
|
88
|
-
"photo",
|
|
89
|
-
"video",
|
|
90
|
-
"audio"
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
"platforms": {
|
|
95
|
-
"phone": {
|
|
96
|
-
"supported": true
|
|
97
|
-
},
|
|
98
|
-
"browser": {
|
|
99
|
-
"supported": true
|
|
100
|
-
},
|
|
101
|
-
"desktop": {
|
|
102
|
-
"supported": true
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"code": "const query=String(input.query||'').trim();\nif(!query||query.length>500)throw new Error('Use a stock search query of at most 500 characters.');\nconst type=String(input.mediaType||'photo');\nif(!['photo','video','audio'].includes(type))throw new Error('Choose photo, video, or audio stock.');\nreturn {stockAction:{schemaVersion:1,kind:'stillmade.media-action',operation:'stock.search',request:{query,type},resultPort:'asset'}};\n",
|
|
107
|
-
"tests": [
|
|
108
|
-
{
|
|
109
|
-
"name": "Prepares an approved photo stock search without acquiring an asset",
|
|
110
|
-
"input": {
|
|
111
|
-
"query": " ocean sunrise ",
|
|
112
|
-
"mediaType": "photo"
|
|
113
|
-
},
|
|
114
|
-
"expected": {
|
|
115
|
-
"stockAction": {
|
|
116
|
-
"schemaVersion": 1,
|
|
117
|
-
"kind": "stillmade.media-action",
|
|
118
|
-
"operation": "stock.search",
|
|
119
|
-
"request": {
|
|
120
|
-
"query": "ocean sunrise",
|
|
121
|
-
"type": "photo"
|
|
122
|
-
},
|
|
123
|
-
"resultPort": "asset"
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"name": "Keeps audio search as a distinct typed request",
|
|
129
|
-
"input": {
|
|
130
|
-
"query": "gentle rain",
|
|
131
|
-
"mediaType": "audio"
|
|
132
|
-
},
|
|
133
|
-
"expected": {
|
|
134
|
-
"stockAction": {
|
|
135
|
-
"schemaVersion": 1,
|
|
136
|
-
"kind": "stillmade.media-action",
|
|
137
|
-
"operation": "stock.search",
|
|
138
|
-
"request": {
|
|
139
|
-
"query": "gentle rain",
|
|
140
|
-
"type": "audio"
|
|
141
|
-
},
|
|
142
|
-
"resultPort": "asset"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"portable": {
|
|
148
|
-
"format": "stillmade-block/1",
|
|
149
|
-
"dependencies": [],
|
|
150
|
-
"sources": [
|
|
151
|
-
{
|
|
152
|
-
"kind": "original",
|
|
153
|
-
"license": "MIT",
|
|
154
|
-
"paths": [
|
|
155
|
-
"LICENSE",
|
|
156
|
-
"src/run.js"
|
|
157
|
-
],
|
|
158
|
-
"evidence": [
|
|
159
|
-
"upstream/0/LICENSE",
|
|
160
|
-
"upstream/0/src/run.js"
|
|
161
|
-
],
|
|
162
|
-
"changes": "Original implementation declared by the packager; no reused repository or dependency code."
|
|
163
|
-
}
|
|
164
|
-
],
|
|
165
|
-
"files": {
|
|
166
|
-
"upstream/0/LICENSE": "MIT License\n\nCopyright (c) 2026 StillMade contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
|
|
167
|
-
"upstream/0/src/run.js": "const query=String(input.query||'').trim();\nif(!query||query.length>500)throw new Error('Use a stock search query of at most 500 characters.');\nconst type=String(input.mediaType||'photo');\nif(!['photo','video','audio'].includes(type))throw new Error('Choose photo, video, or audio stock.');\nreturn {stockAction:{schemaVersion:1,kind:'stillmade.media-action',operation:'stock.search',request:{query,type},resultPort:'asset'}};\n"
|
|
168
|
-
},
|
|
169
|
-
"lineage": {
|
|
170
|
-
"parents": [],
|
|
171
|
-
"changes": "Packaged original Block source for StillMade."
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
};
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
// Generated by scripts/build-owned-blocks.mjs. Edit the owned source files.
|
|
2
|
-
export default {
|
|
3
|
-
"manifest": {
|
|
4
|
-
"schemaVersion": 1,
|
|
5
|
-
"sdkVersion": "0.1.0",
|
|
6
|
-
"id": "sm.thumbnail",
|
|
7
|
-
"version": "2.0.0",
|
|
8
|
-
"name": "Thumbnail",
|
|
9
|
-
"description": "Generate a finished square thumbnail image from a concise visual brief through StillMade's approved image capability.",
|
|
10
|
-
"kind": "task",
|
|
11
|
-
"runtime": "capability",
|
|
12
|
-
"entry": "src/capability.json",
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"provenance": {
|
|
15
|
-
"notice": "Original source (authorship declared by the packager)\nLicense: MIT\nChanges: Original implementation declared by the packager; no reused repository or dependency code.\nFiles: LICENSE, src/capability.json\n\nMIT License\n\nCopyright (c) 2026 StillMade contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
|
|
16
|
-
"portableSources": [
|
|
17
|
-
{
|
|
18
|
-
"kind": "original",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"paths": [
|
|
21
|
-
"LICENSE",
|
|
22
|
-
"src/capability.json"
|
|
23
|
-
],
|
|
24
|
-
"evidence": [
|
|
25
|
-
"upstream/0/LICENSE",
|
|
26
|
-
"upstream/0/src/capability.json"
|
|
27
|
-
],
|
|
28
|
-
"changes": "Original implementation declared by the packager; no reused repository or dependency code."
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"inputs": {
|
|
33
|
-
"brief": {
|
|
34
|
-
"type": "brief",
|
|
35
|
-
"primary": true,
|
|
36
|
-
"description": "Describe the thumbnail subject, composition, text hook, and mood."
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"outputs": {
|
|
40
|
-
"thumbnail": {
|
|
41
|
-
"type": "image",
|
|
42
|
-
"primary": true,
|
|
43
|
-
"description": "The generated 1024 by 1024 PNG thumbnail."
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"permissions": {
|
|
47
|
-
"project": [],
|
|
48
|
-
"capabilities": [
|
|
49
|
-
"image.generate"
|
|
50
|
-
],
|
|
51
|
-
"network": [],
|
|
52
|
-
"filesystem": [],
|
|
53
|
-
"secrets": []
|
|
54
|
-
},
|
|
55
|
-
"ui": [
|
|
56
|
-
{
|
|
57
|
-
"port": "brief",
|
|
58
|
-
"control": "text"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"capability": {
|
|
63
|
-
"schemaVersion": 1,
|
|
64
|
-
"operation": "image.generate",
|
|
65
|
-
"prompt": {
|
|
66
|
-
"$input": "brief"
|
|
67
|
-
},
|
|
68
|
-
"output": "thumbnail"
|
|
69
|
-
},
|
|
70
|
-
"tests": [
|
|
71
|
-
{
|
|
72
|
-
"name": "Clear documentary thumbnail brief",
|
|
73
|
-
"input": {
|
|
74
|
-
"brief": {
|
|
75
|
-
"schemaVersion": 1,
|
|
76
|
-
"text": "YouTube documentary thumbnail: a lone red lighthouse against a dark storm, large clear silhouette, dramatic contrast, room for a three-word title."
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"expectations": {
|
|
80
|
-
"thumbnail": {
|
|
81
|
-
"kind": "image",
|
|
82
|
-
"format": "png",
|
|
83
|
-
"width": 1024,
|
|
84
|
-
"height": 1024,
|
|
85
|
-
"minBytes": 67,
|
|
86
|
-
"maxBytes": 12000000
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "Minimal product thumbnail brief",
|
|
92
|
-
"input": {
|
|
93
|
-
"brief": {
|
|
94
|
-
"schemaVersion": 1,
|
|
95
|
-
"text": "Clean product thumbnail of a blue ceramic mug on cream paper, bold centered composition, soft shadow, no lettering."
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"expectations": {
|
|
99
|
-
"thumbnail": {
|
|
100
|
-
"kind": "image",
|
|
101
|
-
"format": "png",
|
|
102
|
-
"width": 1024,
|
|
103
|
-
"height": 1024,
|
|
104
|
-
"minBytes": 67,
|
|
105
|
-
"maxBytes": 12000000
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"portable": {
|
|
111
|
-
"format": "stillmade-block/1",
|
|
112
|
-
"dependencies": [],
|
|
113
|
-
"sources": [
|
|
114
|
-
{
|
|
115
|
-
"kind": "original",
|
|
116
|
-
"license": "MIT",
|
|
117
|
-
"paths": [
|
|
118
|
-
"LICENSE",
|
|
119
|
-
"src/capability.json"
|
|
120
|
-
],
|
|
121
|
-
"evidence": [
|
|
122
|
-
"upstream/0/LICENSE",
|
|
123
|
-
"upstream/0/src/capability.json"
|
|
124
|
-
],
|
|
125
|
-
"changes": "Original implementation declared by the packager; no reused repository or dependency code."
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"files": {
|
|
129
|
-
"upstream/0/LICENSE": "MIT License\n\nCopyright (c) 2026 StillMade contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
|
|
130
|
-
"upstream/0/src/capability.json": "{\n \"schemaVersion\": 1,\n \"operation\": \"image.generate\",\n \"prompt\": {\n \"$input\": \"brief\"\n },\n \"output\": \"thumbnail\"\n}"
|
|
131
|
-
},
|
|
132
|
-
"lineage": {
|
|
133
|
-
"parents": [],
|
|
134
|
-
"changes": "Packaged original Block source for StillMade."
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
// Generated by scripts/build-owned-blocks.mjs. Edit the owned source files.
|
|
2
|
-
export default {
|
|
3
|
-
"manifest": {
|
|
4
|
-
"schemaVersion": 1,
|
|
5
|
-
"sdkVersion": "0.1.0",
|
|
6
|
-
"id": "sm.thumbnail",
|
|
7
|
-
"version": "2.0.1",
|
|
8
|
-
"name": "Thumbnail",
|
|
9
|
-
"description": "Generate a finished square thumbnail image from a concise visual brief through StillMade's approved image capability.",
|
|
10
|
-
"kind": "task",
|
|
11
|
-
"runtime": "capability",
|
|
12
|
-
"entry": "src/capability.json",
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"provenance": {
|
|
15
|
-
"notice": "Original source (authorship declared by the packager)\nLicense: MIT\nChanges: Original implementation declared by the packager; no reused repository or dependency code.\nFiles: LICENSE, src/capability.json\n\nMIT License\n\nCopyright (c) 2026 StillMade contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
|
|
16
|
-
"portableSources": [
|
|
17
|
-
{
|
|
18
|
-
"kind": "original",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"paths": [
|
|
21
|
-
"LICENSE",
|
|
22
|
-
"src/capability.json"
|
|
23
|
-
],
|
|
24
|
-
"evidence": [
|
|
25
|
-
"upstream/0/LICENSE",
|
|
26
|
-
"upstream/0/src/capability.json"
|
|
27
|
-
],
|
|
28
|
-
"changes": "Original implementation declared by the packager; no reused repository or dependency code."
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"inputs": {
|
|
33
|
-
"brief": {
|
|
34
|
-
"type": "brief",
|
|
35
|
-
"primary": true,
|
|
36
|
-
"description": "Describe the thumbnail subject, composition, text hook, and mood.",
|
|
37
|
-
"semantic": "thumbnail_brief",
|
|
38
|
-
"required": true
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"outputs": {
|
|
42
|
-
"thumbnail": {
|
|
43
|
-
"type": "image",
|
|
44
|
-
"primary": true,
|
|
45
|
-
"description": "The generated 1024 by 1024 PNG thumbnail.",
|
|
46
|
-
"semantic": "generated_thumbnail"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"permissions": {
|
|
50
|
-
"project": [],
|
|
51
|
-
"capabilities": [
|
|
52
|
-
"image.generate"
|
|
53
|
-
],
|
|
54
|
-
"network": [],
|
|
55
|
-
"filesystem": [],
|
|
56
|
-
"secrets": []
|
|
57
|
-
},
|
|
58
|
-
"ui": [
|
|
59
|
-
{
|
|
60
|
-
"port": "brief",
|
|
61
|
-
"control": "text"
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
"capability": {
|
|
66
|
-
"schemaVersion": 1,
|
|
67
|
-
"operation": "image.generate",
|
|
68
|
-
"prompt": {
|
|
69
|
-
"$input": "brief"
|
|
70
|
-
},
|
|
71
|
-
"output": "thumbnail"
|
|
72
|
-
},
|
|
73
|
-
"tests": [
|
|
74
|
-
{
|
|
75
|
-
"name": "Clear documentary thumbnail brief",
|
|
76
|
-
"input": {
|
|
77
|
-
"brief": {
|
|
78
|
-
"schemaVersion": 1,
|
|
79
|
-
"text": "YouTube documentary thumbnail: a lone red lighthouse against a dark storm, large clear silhouette, dramatic contrast, room for a three-word title."
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"expectations": {
|
|
83
|
-
"thumbnail": {
|
|
84
|
-
"kind": "image",
|
|
85
|
-
"format": "png",
|
|
86
|
-
"width": 1024,
|
|
87
|
-
"height": 1024,
|
|
88
|
-
"minBytes": 67,
|
|
89
|
-
"maxBytes": 12000000
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"name": "Minimal product thumbnail brief",
|
|
95
|
-
"input": {
|
|
96
|
-
"brief": {
|
|
97
|
-
"schemaVersion": 1,
|
|
98
|
-
"text": "Clean product thumbnail of a blue ceramic mug on cream paper, bold centered composition, soft shadow, no lettering."
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"expectations": {
|
|
102
|
-
"thumbnail": {
|
|
103
|
-
"kind": "image",
|
|
104
|
-
"format": "png",
|
|
105
|
-
"width": 1024,
|
|
106
|
-
"height": 1024,
|
|
107
|
-
"minBytes": 67,
|
|
108
|
-
"maxBytes": 12000000
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"portable": {
|
|
114
|
-
"format": "stillmade-block/1",
|
|
115
|
-
"dependencies": [],
|
|
116
|
-
"sources": [
|
|
117
|
-
{
|
|
118
|
-
"kind": "original",
|
|
119
|
-
"license": "MIT",
|
|
120
|
-
"paths": [
|
|
121
|
-
"LICENSE",
|
|
122
|
-
"src/capability.json"
|
|
123
|
-
],
|
|
124
|
-
"evidence": [
|
|
125
|
-
"upstream/0/LICENSE",
|
|
126
|
-
"upstream/0/src/capability.json"
|
|
127
|
-
],
|
|
128
|
-
"changes": "Original implementation declared by the packager; no reused repository or dependency code."
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"files": {
|
|
132
|
-
"upstream/0/LICENSE": "MIT License\n\nCopyright (c) 2026 StillMade contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
|
|
133
|
-
"upstream/0/src/capability.json": "{\n \"schemaVersion\": 1,\n \"operation\": \"image.generate\",\n \"prompt\": {\n \"$input\": \"brief\"\n },\n \"output\": \"thumbnail\"\n}"
|
|
134
|
-
},
|
|
135
|
-
"lineage": {
|
|
136
|
-
"parents": [],
|
|
137
|
-
"changes": "Packaged original Block source for StillMade."
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
};
|