@hraness/slopcamera 3.9.1 → 3.9.2

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/README.md CHANGED
@@ -1,44 +1,35 @@
1
1
  # SlopCamera
2
2
 
3
- [![A brass optical instrument rendered in Blender from a SlopCamera native starter](apps/web/media/native-product-poster-51b1658c46d3.webp)](https://slopcamera.com/docs/tutorials/first-native-film#inspect-the-finished-example)
3
+ [![Rain, bottled: a cloud rains inside a glass vessel with brass fittings](apps/web/media/rain-bottled-poster-479a32b54a03.webp)](https://slopcamera.com/docs/how-to/remix-the-showcase#rain-bottled)
4
4
 
5
- **SlopCamera is a media studio for coding agents.** SlopCamera lets your coding
5
+ **A multimedia studio for your coding agent.** SlopCamera lets your coding
6
6
  agent make images, diagrams, animation, 3D scenes, and video from source files
7
- it can keep revising. It works with Codex, Claude Code, and other agents.
8
-
9
- A frontier model such as Claude Opus can write a video or a graphic from
10
- scratch in one pass. SlopCamera gives the agent packaged, tested techniques to
11
- reuse instead, for diagrams, motion graphics, 3D scenes, native Blender,
12
- CadQuery, and Manim films, and footage edits. The agent writes a short source
13
- file, and the SlopCamera CLI renders it, checks it, and writes the variants each
14
- technique supports, such as light and dark diagrams or 16:9 and 9:16 cuts of a
15
- video. The source stays beside the output, so a revision is an edit to that
16
- file and a new render.
17
-
18
- [Install](#install-slopcamera) · [First diagram](#make-your-first-diagram) · [Techniques](https://slopcamera.com/docs/reference/techniques) · [Docs](https://slopcamera.com/docs) · [Compare](#compared-with-other-tools) · [slopcamera.com](https://slopcamera.com)
19
-
20
- ## Why SlopCamera
21
-
22
- - **The agent writes the part that is specific to your request.** A diagram
23
- is a JSON file of boxes and arrows, a title animation is an HTML scaffold
24
- for one of seven profiles, and a 3D shot is scene JSON with a named camera.
25
- The renderer, frame timing, encoding, and export formats are already
26
- installed. This does not make it cheaper in tokens: in our
27
- [benchmark](https://slopcamera.com/docs/explanation/token-benchmark), the median cost with
28
- SlopCamera installed was higher than without it on all four tasks.
29
- - **Revisions change the source, not the whole result.** Change one label,
30
- camera, or cut and render again. Every export comes from the same source, so
31
- light and dark versions, or 16:9 and 9:16 cuts, stay in step.
32
- - **Checks run before the agent reports back.** A strict diagram checker,
33
- scene audits, render plans, and `doctor` catch problems the agent can
34
- fix before you look. They check structure, not taste; you still review the
35
- render.
36
- - **The techniques match the installed CLI.** The Bun CLI, a TypeScript SDK,
37
- and an Agent Skill ship at the same version. The skill sends the agent to
38
- the guide for its current job instead of loading every guide at once.
39
- - **Work stays on your machine.** Projects are local files and there is no
40
- SlopCamera account. Generation is optional: it uses your own Vercel AI
41
- Gateway access or, for prompt-only images, prepaid Hraness Credits.
7
+ it can keep revising. Use it with Codex, Claude Code, or another coding agent.
8
+ Direct the style, timing, camera, and sound, then refine the result.
9
+
10
+ Your agent writes the scene or edit as source. SlopCamera renders it with the
11
+ appropriate engine and keeps the inputs so the agent can change a shot,
12
+ rework a composition, or deliver another format. Combine authored scenes,
13
+ generated media, and your own footage in the same project.
14
+
15
+ [Watch the films](https://slopcamera.com/#examples) · [Install](#install-slopcamera) · [Direct a film](https://slopcamera.com/docs/how-to/direct-a-film) · [Docs](https://slopcamera.com/docs) · [GitHub examples](examples/showcase)
16
+
17
+ ## What you can make
18
+
19
+ - **Films and animation.** Author motion graphics, illustrated scenes, and
20
+ native Blender shots. Control camera, materials, lighting, and timing.
21
+ - **Visual explanations.** Make diagrams and educational films with editable
22
+ labels, mathematics, narration, and graphics.
23
+ - **Images and designs.** Create illustrations, trace raster artwork to SVG,
24
+ or revise a parametric architectural model.
25
+ - **Edits of your footage.** Compose shots, sound, overlays, and captions,
26
+ then export horizontal, vertical, square, or portrait versions.
27
+
28
+ The [techniques catalog](https://slopcamera.com/docs/reference/techniques)
29
+ connects each job to its supported commands and requirements. SlopCamera is
30
+ free and open source. Local editing and rendering need no SlopCamera account.
31
+ Generation uses your own Vercel AI Gateway account, or prepaid Hraness Credits
32
+ for prompt-only hosted images; model usage is billed separately.
42
33
 
43
34
  ## Install SlopCamera
44
35
 
@@ -56,8 +47,10 @@ The `agents` target works for agents that read `~/.agents/skills`. Use
56
47
  inside a repository for a project-only install. Start a new
57
48
  agent session so it loads the skill, then ask for a result:
58
49
 
59
- > Create a two-box diagram showing ingestion flowing into review, render it,
60
- > and show me the dark PNG.
50
+ > Make a short illustrated film of a late-night tram whose destination
51
+ > changes to the moon. Give it warm windows, a rainy city, and a quiet ending.
52
+ > Start with a frame and a motion test so we can direct it before the final
53
+ > render. Keep the source and sound editable.
61
54
 
62
55
  Setup guides: [Claude Code](https://slopcamera.com/docs/tutorials/claude-code) ·
63
56
  [Codex](https://slopcamera.com/docs/tutorials/codex) ·
@@ -67,16 +60,13 @@ Blender install separately; the
67
60
  [capability reference](docs/reference/capabilities.md) lists what each
68
61
  technique needs.
69
62
 
70
- From 3.8.0, SlopCamera is a CLI with no menu-bar app or background process.
71
- `slopcamera status` shows what is running, how the last job ended, your last
72
- known credits balance, the newest outputs and whether the retired menu-bar
73
- companion still opens at login. `slopcamera tui` keeps
74
- that screen open and refreshes it; `slopcamera tui --snapshot` prints it once
75
- and `--json` returns the data. `slopcamera outputs list|open|reveal` lists the
76
- newest outputs or opens one on this Mac, `slopcamera commands --json` lists
77
- every command with what it may change, and `slopcamera legacy retire` stops
78
- the retired menu-bar companion opening at login by moving its LaunchAgent aside; it
79
- deletes nothing, and `slopcamera doctor` prints the command that restores it.
63
+ On macOS, start with [your first animation](https://slopcamera.com/docs/tutorials/first-animation)
64
+ for a supplied scene you can render and revise without a model account. It
65
+ needs the browser and FFmpeg runtimes reported by `slopcamera doctor --json`.
66
+ For a first result on macOS, Linux, or Windows with no browser or paid model,
67
+ follow [your first diagram](https://slopcamera.com/docs/tutorials/first-diagram).
68
+ The [directing guide](docs/how-to/direct-a-film.md) explains how to ask for useful
69
+ changes to composition, timing, camera, and sound.
80
70
 
81
71
  <details>
82
72
  <summary>Build from source</summary>
@@ -110,70 +100,28 @@ placement and resuming long runs.
110
100
 
111
101
  </details>
112
102
 
113
- ## Make your first diagram
103
+ ## Make a film. Then direct it again.
114
104
 
115
- This local task needs no model account. In a new directory, create the
116
- included diagram, check it, and render it:
105
+ [Last tram to the moon](https://slopcamera.com/docs/tutorials/first-animation)
106
+ is a complete first project: original illustrated artwork, a twelve-second
107
+ journey, and a visible revision. The tutorial renders locally without a model
108
+ account or downloaded artwork.
117
109
 
118
- ```sh
119
- mkdir slopcamera-first
120
- cd slopcamera-first
121
- slopcamera diagram init first.diagram.json
122
- slopcamera diagram check first.diagram.json --strict
123
- slopcamera diagram render first.diagram.json
124
- ```
110
+ The two supplied render requests use the same scene. The first sets the city
111
+ and departure; the second enlarges the moon while keeping the journey, palette,
112
+ and timing. Ask your agent:
125
113
 
126
- You now have `example-flow.tldr`, `example-flow.light.svg`,
127
- `example-flow.dark.svg`, `example-flow.light.png`, and
128
- `example-flow.dark.png`. The JSON stays editable, and the `.tldr` file opens in
129
- tldraw. Rendering again replaces those five files.
130
-
131
- <picture>
132
- <source media="(prefers-color-scheme: dark)" srcset="apps/web/media/source-to-film-dark-png-b8db55ec6e42.png">
133
- <img alt="Diagram export, rendered scene, and footage point into Project, which points to Preview and Delivery." src="apps/web/media/source-to-film-light-png-c3c24c460490.png">
134
- </picture>
135
-
136
- The diagram above was rendered from one
137
- [JSON file](examples/showcase/diagram/source-to-film.diagram.json). Each box in
138
- it is a short object the agent writes:
139
-
140
- ```json
141
- {
142
- "id": "diagram",
143
- "type": "rect",
144
- "x": 100,
145
- "y": 140,
146
- "width": 320,
147
- "height": 140,
148
- "radius": 24,
149
- "label": "Diagram export",
150
- "labelFontSize": 36,
151
- "labelWeight": 500,
152
- "tone": "blue"
153
- }
154
- ```
155
-
156
- To revise it, the agent changed one label, and the file name for the new
157
- outputs, in a
158
- [copy of that file](examples/showcase/diagram/source-to-film-revised.diagram.json):
159
-
160
- ```diff
161
- - "name": "source-to-film",
162
- + "name": "source-to-film-revised",
163
- ...
164
- - "label": "Delivery",
165
- + "label": "Social delivery",
166
- ```
114
+ > Make the moon dominate the destination. Preserve the copper tram and rainy
115
+ > city. Keep both versions so I can compare their endings.
167
116
 
168
- ```sh
169
- slopcamera diagram render source-to-film-revised.diagram.json
170
- ```
117
+ [Follow the animation tutorial](https://slopcamera.com/docs/tutorials/first-animation),
118
+ then [remix the showcase](https://slopcamera.com/docs/how-to/remix-the-showcase):
119
+ a bottled storm, a paper ocean, a dancing laundromat, a band of harmonics,
120
+ and three edits of the same eclipse footage. Each piece has source,
121
+ production instructions, and a suggested creative revision.
171
122
 
172
- That two-line change produced a new `.tldr` file, both SVGs, and both PNGs,
173
- including the
174
- [revised light PNG](apps/web/media/source-to-film-revised-light-png-9ad9767c2bdf.png).
175
- [Your first diagram](https://slopcamera.com/docs/tutorials/first-diagram) walks
176
- through the same edit.
123
+ For a smaller first task, [make a diagram](https://slopcamera.com/docs/tutorials/first-diagram)
124
+ and export its editable tldraw document, light and dark SVGs, and PNGs.
177
125
 
178
126
  ## What SlopCamera does
179
127
 
@@ -210,10 +158,10 @@ characters, cloth, and liquid caches; CadQuery for parametric solids and STEP;
210
158
  and Manim Community for mathematical animation. Seven editable starters
211
159
  include a product, character, shaded street, cloth, liquid, CAD bracket, and
212
160
  educational presenter. Watch the
213
- [six-second product film](https://slopcamera.com/docs/tutorials/first-native-film),
214
- then change its [geometry, materials, and camera](examples/showcase/native/product).
161
+ [Rain, bottled](https://slopcamera.com/docs/how-to/remix-the-showcase#rain-bottled),
162
+ then change its [weather, materials, and camera](examples/showcase/studio-relaunch/rain-bottled).
215
163
  For 2D motion, try the
216
- [editable editorial animation](https://slopcamera.com/docs/tutorials/first-animation).
164
+ [illustrated tram film](https://slopcamera.com/docs/tutorials/first-animation).
217
165
  The [portrait geometry lesson](https://slopcamera.com/docs/how-to/educational-video)
218
166
  adds mathematical typesetting, a presenter, and captions.
219
167
 
@@ -4,7 +4,7 @@ import type { z } from "zod";
4
4
 
5
5
  import type { ApplicationContext } from "./context";
6
6
 
7
- export const SLOPCAMERA_APPLICATION_TOOL_VERSION = "slopcamera-3.9.1" as const;
7
+ export const SLOPCAMERA_APPLICATION_TOOL_VERSION = "slopcamera-3.9.2" as const;
8
8
 
9
9
  export const OPERATION_KINDS = [
10
10
  "scene.audit",
@@ -365,7 +365,7 @@ import {
365
365
  workflowRunStore,
366
366
  } from "./workflow-runs";
367
367
 
368
- export const SLOPCAMERA_VERSION = "3.9.1";
368
+ export const SLOPCAMERA_VERSION = "3.9.2";
369
369
 
370
370
  // Legacy direct renders predate per-target output contracts. Keep them
371
371
  // bounded generously enough for long-form production while preventing one