-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
333 lines (333 loc) · 15.4 KB
/
Copy pathpackage.json
File metadata and controls
333 lines (333 loc) · 15.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
{
"name": "@hraness/slopcamera",
"version": "3.11.0",
"description": "SlopCamera lets Codex, Claude Code, and other coding agents make images, diagrams, animation, 3D scenes, Blender films, and edited video from source files they can keep revising.",
"license": "MIT",
"type": "module",
"sideEffects": [
"./src/cli.ts",
"./src/code/advanced.ts",
"./src/code/index.ts",
"./src/generate.ts",
"./src/host-resources.ts",
"./src/index.ts",
"./src/operations.ts",
"./src/vectorize/worker.ts",
"./src/workflow.ts",
"./apps/desktop/cli/main.ts"
],
"packageManager": "bun@1.3.14",
"engines": {
"bun": ">=1.3.14"
},
"workspaces": {
"packages": [
"apps/web",
"packages/*"
],
"catalog": {
"@ai-sdk/gateway-v4": "npm:@ai-sdk/gateway@^4.0.27",
"@img/sharp-darwin-arm64": "0.35.4",
"@img/sharp-libvips-darwin-arm64": "1.3.3",
"@native-sdk/cli": "0.5.3",
"@types/bun": "^1.3.14",
"@types/node": "^24.10.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"agent-browser": "0.32.3",
"ai-v7": "npm:ai@^7.0.36",
"chromium-bidi": "12.1.0",
"eslint": "^9.39.2",
"fast-check": "^4.8.0",
"motion": "12.42.0",
"@paper-design/shaders": "0.0.77",
"playwright-core": "1.62.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"three": "0.183.2",
"typescript": "^6.0.3",
"vite": "^8.1.5",
"zod": "^4.4.3"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/hraness/slopcamera.git"
},
"homepage": "https://slopcamera.com/",
"bugs": {
"url": "https://github.com/hraness/slopcamera/issues"
},
"keywords": [
"ai-media-generation",
"ai-video-generation",
"video-generation",
"video-editing",
"image-generation",
"motion-graphics",
"captions",
"speech-generation",
"transcription",
"diagrams",
"creative-coding",
"coding-agents",
"agent-skill",
"mcp-server",
"cli",
"typescript",
"bun",
"local-first",
"claude-code",
"codex",
"blender",
"manim",
"3d",
"animation",
"diagram-as-code"
],
"exports": {
".": {
"types": "./src/index.ts",
"import": "./dist/index.js"
},
"./cli": {
"types": "./src/cli.ts",
"import": "./dist/cli.js"
},
"./code": {
"types": "./src/code/index.ts",
"import": "./dist/code/index.js"
},
"./code/advanced": {
"types": "./src/code/advanced.ts",
"import": "./dist/code/advanced.js"
},
"./generate": {
"types": "./src/generate.ts",
"import": "./dist/generate.js"
},
"./host-resources": {
"types": "./src/host-resources.ts",
"import": "./dist/host-resources.js"
},
"./operations": {
"types": "./src/operations.ts",
"import": "./dist/operations.js"
},
"./workflow": {
"types": "./src/workflow.ts",
"import": "./dist/workflow.js"
},
"./scene": {
"types": "./packages/scene/src/index.ts",
"import": "./packages/scene/src/index.ts"
},
"./local/code": {
"types": "./apps/desktop/code/public.ts",
"import": "./apps/desktop/code/public.ts"
},
"./local/code/advanced": {
"types": "./apps/desktop/code/advanced.ts",
"import": "./apps/desktop/code/advanced.ts"
},
"./local/code/workflows": {
"types": "./apps/desktop/workflows/index.ts",
"import": "./apps/desktop/workflows/index.ts"
},
"./local/html-overlay": {
"types": "./apps/desktop/html-overlay/index.ts",
"import": "./apps/desktop/html-overlay/index.ts"
},
"./local/html-film": {
"types": "./apps/desktop/html-overlay/film.ts",
"import": "./apps/desktop/html-overlay/film.ts"
}
},
"bin": {
"slopcamera": "./apps/desktop/dist/cli/main.js"
},
"main": "./dist/index.js",
"types": "./src/index.ts",
"files": [
"dist",
"apps/desktop/analysis/protocol.ts",
"apps/desktop/application/**/*.ts",
"!apps/desktop/application/**/*.test.ts",
"!apps/desktop/application/**/*.testing.ts",
"!apps/desktop/application/**/test-support.ts",
"!apps/desktop/application/**/*test-support.ts",
"apps/desktop/cli/**/*.ts",
"apps/desktop/studio/**/*.ts",
"!apps/desktop/studio/**/*.test.ts",
"!apps/desktop/studio/**/qualify-*.ts",
"apps/desktop/studio/**/*.py",
"!apps/desktop/studio/**/test_*.py",
"!apps/desktop/studio/**/qualify_*.py",
"examples/studio/**/*.py",
"examples/studio/**/*.json",
"examples/studio/**/README.md",
"docs/studio.md",
"examples/studio/native-workflow.ts",
"examples/studio/hybrid-scene.ts",
"examples/html/*.html",
"examples/html/*.json",
"examples/html/launch-film/*",
"!examples/html/launch-film/out",
"examples/style-portfolio/**/*.html",
"examples/style-portfolio/**/*.ts",
"examples/style-portfolio/**/*.mjs",
"!examples/style-portfolio/**/*.test.ts",
"examples/style-portfolio/**/*.py",
"examples/style-portfolio/**/*.json",
"examples/style-portfolio/**/*.md",
"examples/style-portfolio/**/*.woff2",
"examples/style-portfolio/**/*.txt",
"examples/studio/vgpu/heat-field.mjs",
"apps/desktop/studio/assets/README.md",
"!apps/desktop/cli/**/*.test.ts",
"!apps/desktop/cli/build-compiled.ts",
"!apps/desktop/cli/compiled-bootstrap.ts",
"apps/desktop/code/**/*.ts",
"!apps/desktop/code/**/*.test.ts",
"!apps/desktop/code/**/*benchmark*.ts",
"apps/desktop/contracts/**/*.ts",
"!apps/desktop/contracts/**/*.test.ts",
"apps/desktop/core/**/*.ts",
"!apps/desktop/core/**/*.test.ts",
"!apps/desktop/core/**/test-support.ts",
"apps/desktop/dist/cli",
"apps/desktop/html-overlay/**/*.ts",
"!apps/desktop/html-overlay/**/*.test.ts",
"!apps/desktop/html-overlay/**/*.testing.ts",
"apps/desktop/workflows/**/*.ts",
"!apps/desktop/workflows/**/*.test.ts",
"packages/scene/src/**/*.ts",
"!packages/scene/src/**/*.test.ts",
"NOTICE.md",
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/hosted/**",
"!src/spatial-scene/test-fixture.ts",
"src/assets/fonts/nebula-sans",
"schema",
"skills",
"README.md",
"PRIVACY.md",
"SECURITY.md",
"LICENSE"
],
"scripts": {
"build": "bun run build:sdk && bun run build:desktop && bun run build:web",
"build:sdk": "bun -e 'await (await import(\"node:fs/promises\")).rm(\"./dist\", { recursive: true, force: true })' && bun build ./src/index.ts ./src/cli.ts ./src/code/index.ts ./src/code/advanced.ts ./src/generate.ts ./src/host-resources.ts ./src/operations.ts ./src/workflow.ts ./src/vectorize/worker.ts --outdir ./dist --root ./src --target bun --format esm --splitting --packages external --minify-whitespace --emit-dce-annotations",
"build:desktop": "bun run build:desktop:cli",
"build:desktop:cli": "bun -e 'await (await import(\"node:fs/promises\")).rm(\"./apps/desktop/dist/cli\", { recursive: true, force: true })' && bun build --target=bun --minify --sourcemap=none --packages external --external @hraness/slopcamera/cli apps/desktop/cli/entry.ts --entry-naming=main.js --outdir apps/desktop/dist/cli",
"build:web": "bun run --cwd apps/web build",
"typecheck": "bun run typecheck:sdk && bun run typecheck:desktop && bun run typecheck:api",
"typecheck:sdk": "tsc --noEmit -p tsconfig.json",
"typecheck:desktop": "tsc --noEmit -p apps/desktop/tsconfig.json",
"lint": "bun run lint:sdk && bun run lint:desktop && bun run lint:api",
"lint:sdk": "eslint src packages/scene scripts bench",
"lint:desktop": "eslint apps/desktop/contracts apps/desktop/core apps/desktop/application apps/desktop/code apps/desktop/workflows apps/desktop/html-overlay apps/desktop/cli apps/desktop/qualification apps/desktop/analysis apps/desktop/studio",
"test": "bun run test:sdk && bun run test:desktop && bun run test:api && bun run --cwd apps/web test",
"test:sdk": "bun test ./src ./packages/scene",
"test:desktop": "bun test ./apps/desktop/contracts ./apps/desktop/core ./apps/desktop/application ./apps/desktop/code ./apps/desktop/workflows ./apps/desktop/html-overlay ./apps/desktop/cli ./apps/desktop/analysis ./apps/desktop/studio",
"test:desktop:code": "bun test ./apps/desktop/code",
"test:desktop:cli": "bun test ./apps/desktop/cli",
"test:desktop:rest": "bun test ./apps/desktop/contracts ./apps/desktop/core ./apps/desktop/application ./apps/desktop/workflows ./apps/desktop/html-overlay ./apps/desktop/analysis ./apps/desktop/studio",
"build:desktop:analysis:macos": "bun run ./apps/desktop/analysis/build.ts",
"build:cli:macos": "bun run ./apps/desktop/cli/build-compiled.ts",
"test:cli:compiled:macos": "bun run build:cli:macos && SLOPCAMERA_RUN_COMPILED_CLI_SMOKE=1 bun test ./apps/desktop/cli/compiled-portable-surface.macos.test.ts",
"test:html-overlay": "bun test ./apps/desktop/html-overlay ./apps/desktop/application/html-overlay-browser-runtime.test.ts ./apps/desktop/application/html-overlay-integrity.test.ts ./apps/desktop/application/operations/media/html-overlay.test.ts ./apps/desktop/cli/html-overlay-renderer.security.test.ts ./apps/desktop/cli/html-overlay-snapshot-scavenger.test.ts ./apps/desktop/cli/html-overlay-renderer.macos.test.ts",
"qualify:spatial-scenes": "bun run ./apps/desktop/qualification/spatial-scenes.ts",
"qualify:creative-scenes": "bun run ./apps/desktop/qualification/creative-render.ts",
"qualify:saved-world": "bun run ./apps/desktop/qualification/world-render.ts",
"qualify:spatial-project": "bun run ./apps/desktop/qualification/project.ts",
"qualify:spatial-compositor": "bun run ./apps/desktop/qualification/spatial-compositor.ts",
"test:html-overlay:browser:macos": "SLOPCAMERA_RUN_HTML_OVERLAY_RENDERER_SMOKE=1 bun test ./apps/desktop/cli/html-overlay-renderer.macos.test.ts",
"test:html-overlay:libraries:macos": "SLOPCAMERA_RUN_HTML_OVERLAY_LIBRARY_SMOKE=1 bun test ./apps/desktop/cli/html-overlay-renderer.macos.test.ts",
"test:html-overlay:operation:macos": "SLOPCAMERA_RUN_HTML_OVERLAY_OPERATION_SMOKE=1 bun test ./apps/desktop/application/operations/media/html-overlay.test.ts",
"verify:html-overlay:macos": "bun run test:html-overlay:browser:macos && bun run test:html-overlay:libraries:macos && bun run test:html-overlay:operation:macos",
"benchmark:code-concurrency": "bun run ./apps/desktop/code/concurrency-benchmark.ts",
"check:release-workflows": "bun test ./scripts/release-workflow.test.ts ./scripts/github-release.test.ts ./scripts/dependency-admissions.test.ts",
"check:schema": "bun run ./scripts/validate-schema.ts",
"check:skill": "bun run ./scripts/validate-skill.ts && bun test ./scripts/social-collage-compositor.test.ts && bun examples/style-portfolio/verify-animation-source.mjs",
"check:standalone": "bun test ./scripts/standalone-support-fixture.test.ts ./scripts/standalone-analytics-policy.test.ts && bun run ./scripts/check-standalone.ts",
"check:copy": "bun test ./scripts/check-copy.test.ts && bun run ./scripts/check-copy.ts",
"test:vectorize:official": "bun run ./scripts/official-vectorizer-smoke.ts",
"test:package": "bun run ./scripts/package-smoke.ts",
"check:sdk": "bun run typecheck:sdk && bun run lint:sdk && bun run build:sdk && bun run test:sdk && bun run check:release-workflows && bun run check:schema && bun run check:skill",
"check:desktop": "bun run check:effect && bun run typecheck:desktop && bun run lint:desktop && bun run test:desktop && bun run build:desktop",
"check:web": "bun apps/web/scripts/verify-example-sources.ts && bun run --cwd apps/web check",
"check:web:compile": "bun run --cwd apps/web test:compile",
"check:web:verify": "bun apps/web/scripts/verify-example-sources.ts && bun run --cwd apps/web check:verify",
"kb:refresh": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell refresh --root kb",
"kb:check:lane": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell check --root kb --no-catalog",
"kb:check": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell check --root kb && bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell agents check --root kb --repo .",
"kb:catalog": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell catalog --root kb",
"kb:search": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell search --root kb --mode exact --selected-passage",
"check:cost-surfaces": "bun ./scripts/check-cost-surfaces.mjs",
"check": "bun run check:cost-surfaces && bun run check:standalone && bun run check:copy && bun run check:sdk && bun run check:desktop && bun run check:api && bun run check:web && bun run check:standalone && bun run test:package",
"prepack": "bun run check",
"check:effect": "bun run ./scripts/check-effect-policy.ts && bun test ./scripts/check-effect-architecture.test.ts",
"typecheck:api": "tsc --noEmit -p apps/api/tsconfig.json",
"typecheck:objects": "tsc --noEmit -p apps/objects/tsconfig.json",
"lint:api": "eslint apps/api/src api apps/objects/src",
"test:api": "bun test ./apps/api/src",
"check:api": "bun run typecheck:api && bun run typecheck:objects && bun run lint:api && bun run test:api"
},
"dependencies": {
"@ai-sdk/gateway-v4": "npm:@ai-sdk/gateway@^4.0.27",
"@hraness/algal": "github:hraness/algal#c46264a",
"@hraness/desktop-foundation": "https://github.com/hraness/desktop-foundation/releases/download/v0.9.0/hraness-desktop-foundation-0.9.0.tgz",
"@hraness/iconplace": "0.1.0",
"@hraness/soundfish": "0.7.0",
"@hraness/support-foundation": "github:hraness/support-foundation#8bb514d24b79dc3f305390700ae312cab88e7ad2",
"@noble/hashes": "2.2.0",
"@paper-design/shaders": "0.0.77",
"@resvg/resvg-js": "2.6.2",
"@vercel/blob": "2.8.0",
"ai-v7": "npm:ai@^7.0.36",
"chromium-bidi": "12.1.0",
"effect": "3.22.1",
"motion": "12.42.0",
"playwright-core": "1.62.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"sharp": "0.35.4",
"three": "0.183.2",
"typescript": "^6.0.3",
"zod": "^4.4.3",
"@hraness/cli-update": "https://github.com/hraness/cli-update/releases/download/v0.1.0/hraness-cli-update-0.1.0.tgz"
},
"optionalDependencies": {
"@img/sharp-darwin-arm64": "0.35.4",
"@img/sharp-libvips-darwin-arm64": "1.3.3"
},
"devDependencies": {
"@antithesishq/bombadil": "0.7.2",
"@eslint/js": "^9.39.2",
"@hraness/direct": "https://github.com/hraness/direct/releases/download/v0.7.29/hraness-direct-0.7.29.tgz",
"@native-sdk/cli": "0.5.3",
"@types/bun": "^1.3.14",
"@types/json-schema": "^7.0.15",
"@types/node": "^24.10.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"agent-browser": "0.32.3",
"ajv": "8.20.0",
"eslint": "^9.39.2",
"fast-check": "^4.8.0",
"tldraw": "5.2.5",
"typescript-eslint": "^8.53.0",
"vite": "^8.1.5"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"overrides": {
"@tiptap/core": "3.31.4"
}
}