@officexapp/vidfarm-devcli 0.21.45 → 0.21.46

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.
Files changed (37) hide show
  1. package/.agents/skills/editor-capabilities/SKILL.md +2 -0
  2. package/.agents/skills/vidfarm/SKILL.md +60 -7
  3. package/.agents/skills/vidfarm/harnesses/explainer.HARNESS.md +1 -1
  4. package/.agents/skills/vidfarm/harnesses/product-demo.HARNESS.md +2 -0
  5. package/.agents/skills/vidfarm/harnesses/short-form.HARNESS.md +1 -0
  6. package/.agents/skills/vidfarm/recipes/local-edit-render-approve.md +1 -1
  7. package/.agents/skills/vidfarm/references/agent-included-imagegen.md +75 -0
  8. package/.agents/skills/vidfarm/references/assets-and-sourcing.md +56 -2
  9. package/.agents/skills/vidfarm/references/automation-and-local-dev.md +13 -6
  10. package/.agents/skills/vidfarm/references/browser-harness.md +93 -0
  11. package/.agents/skills/vidfarm/references/editor-workflows.md +22 -0
  12. package/SKILL.director.md +322 -16
  13. package/SKILL.md +44 -3
  14. package/crowdsourcing.md +373 -2
  15. package/dist/src/cli.js +207 -4
  16. package/dist/src/devcli/agent-imagegen.js +181 -0
  17. package/dist/src/devcli/browser-harness.js +384 -0
  18. package/dist/src/devcli/clip-store.js +41 -3
  19. package/dist/src/devcli/cost-mode.js +23 -3
  20. package/dist/src/devcli/doctor.js +52 -3
  21. package/dist/src/devcli/hyperframes-cli.js +11 -1
  22. package/dist/src/devcli/local-render.js +4 -7
  23. package/dist/src/devcli/marketplace-gigs.js +623 -0
  24. package/dist/src/devcli/qa-check.js +89 -1
  25. package/dist/src/devcli/shared-folder.js +387 -0
  26. package/dist/src/devcli/stills.js +4 -8
  27. package/dist/src/lib/ffprobe-path.js +64 -0
  28. package/dist/src/lib/render-media-prep.js +2 -11
  29. package/dist/src/services/clip-curation/ffmpeg.js +4 -15
  30. package/dist/src/services/clip-curation/local-agent.js +6 -2
  31. package/package.json +8 -153
  32. package/public/assets/file-directory-app.js +34 -34
  33. package/public/serve-shells/library-files.html +5 -1
  34. package/public/serve-shells/library-raws.html +10 -1
  35. package/public/serve-shells/tools-clipper.html +5 -1
  36. package/public/serve-shells/tools-image.html +5 -1
  37. package/public/serve-shells/tools-video.html +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@officexapp/vidfarm-devcli",
3
- "version": "0.21.45",
3
+ "version": "0.21.46",
4
4
  "description": "Local bridge for the Vidfarm Trackpad Editor. `vidfarm serve <template_id>` boots the FULL editor on localhost (disk-backed records/storage, free in-process render); edit composition.html on disk (Claude Code, Codex, etc.) and the browser live-morphs it.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,73 +8,6 @@
8
8
  "vidfarm-devcli": "dist/src/cli.js"
9
9
  },
10
10
  "//files": "PUBLISHED = CLOUD-ONLY CLI. Ships ONLY the CLI's static import closure (backend-free) + shared client utils + skills/docs + the curated local-frontend assets (public/serve-shells snapshots, public/assets + demo/dist prebuilt bundles) that `vidfarm serve` serves offline while proxying data to the cloud. The full backend (dist/src/app.js, editor-chat, serverless-*, reskin/, landing/homepage, services/hyperframes|providers|storage|ghostcut|upstream, infra) is INTENTIONALLY EXCLUDED so the server is never open-sourced — only the RENDERED HTML shells ship, never the source that produced them. `prepack` runs scripts/check-devcli-pack-safe.mjs which HARD-FAILS if any backend file leaks in or a needed CLI file is missing. Do not broaden these globs without re-running that guard.",
11
- "files": [
12
- "dist/src/cli.js",
13
- "dist/src/devcli/auth-store.js",
14
- "dist/src/devcli/captions.js",
15
- "dist/src/devcli/clip-store.js",
16
- "dist/src/devcli/clips.js",
17
- "dist/src/devcli/composition-edit.js",
18
- "dist/src/devcli/consult.js",
19
- "dist/src/devcli/cost-mode.js",
20
- "dist/src/devcli/dedupe-local.js",
21
- "dist/src/devcli/doctor.js",
22
- "dist/src/devcli/experiments.js",
23
- "dist/src/devcli/handoff.js",
24
- "dist/src/devcli/greenscreen-local.js",
25
- "dist/src/devcli/hyperframes-cli.js",
26
- "dist/src/devcli/interaction-mode.js",
27
- "dist/src/devcli/local-backend.js",
28
- "dist/src/devcli/local-frontend-server.js",
29
- "dist/src/devcli/local-render.js",
30
- "dist/src/devcli/plate-key.js",
31
- "dist/src/devcli/port-utils.js",
32
- "dist/src/devcli/process-scan.js",
33
- "dist/src/devcli/qa-check.js",
34
- "dist/src/devcli/harness.js",
35
- "dist/src/devcli/sequence.js",
36
- "dist/src/devcli/skill-docs.js",
37
- "dist/src/devcli/skills.js",
38
- "dist/src/devcli/speech.js",
39
- "dist/src/devcli/sticker-pack.js",
40
- "dist/src/devcli/studio-brand.js",
41
- "dist/src/devcli/stills.js",
42
- "dist/src/devcli/storyboard.js",
43
- "dist/src/devcli/telemetry.js",
44
- "dist/src/devcli/timeline-edit.js",
45
- "dist/src/devcli/transitions.js",
46
- "dist/src/hyperframes/composition.js",
47
- "dist/src/lib/**/*.js",
48
- "dist/src/services/brainstorm-prompts.js",
49
- "dist/src/services/captions.js",
50
- "dist/src/services/composition-lint.js",
51
- "dist/src/services/provider-errors.js",
52
- "dist/src/services/sequence-prompts.js",
53
- "dist/src/services/speech.js",
54
- "dist/src/services/clip-curation/**/*.js",
55
- "dist/src/services/clip-curation/**/*.json",
56
- "public/serve-shells/**/*.html",
57
- "public/assets/**/*.js",
58
- "public/assets/**/*.css",
59
- "public/assets/**/*.map",
60
- "public/assets/**/*.ico",
61
- "public/assets/**/*.png",
62
- "public/assets/**/*.svg",
63
- "demo/dist/**",
64
- ".agents/skills/**",
65
- "README.md",
66
- "SKILL.md",
67
- "SKILL.director.md",
68
- "src/assets/SELLING_WITH_HOOKS.md",
69
- "src/assets/SELLING_AWARENESS_STAGES.md",
70
- "clipper.md",
71
- "crowdsourcing.md",
72
- "experiments.md",
73
- "update.md",
74
- "experimental/**/*.md",
75
- "!readme.secret.md",
76
- "!**/*.secret.*"
77
- ],
78
11
  "publishConfig": {
79
12
  "access": "public"
80
13
  },
@@ -85,101 +18,19 @@
85
18
  "engines": {
86
19
  "node": ">=22.0.0"
87
20
  },
88
- "scripts": {
89
- "prepare": "patch-package || true",
90
- "dev": "tsx --import ./src/instrument.ts watch src/index.ts",
91
- "dev:frontend": "node scripts/build-homepage-client.mjs --watch",
92
- "dev:cli": "tsx src/cli.ts",
93
- "build:frontend": "node scripts/build-homepage-client.mjs",
94
- "build:hyperframes-editor": "cd demo && node scripts/build.mjs",
95
- "build:serve-shells": "tsx scripts/build-serve-shells.ts",
96
- "seo:refresh": "tsx scripts/generate-route-seo.ts",
97
- "portfolio:share": "tsx scripts/render-portfolio-share.ts",
98
- "operator:template-artifact": "node scripts/platform-operator-template-artifact.mjs",
99
- "bootstrap:staging-templates": "tsx scripts/bootstrap-staging-template-releases.ts",
100
- "migrate:sqlite-to-dynamodb": "tsx scripts/migrate-sqlite-to-dynamodb.ts",
101
- "deploy:prod": "bash scripts/deploy-prod.sh",
102
- "deploy:staging": "bash scripts/deploy-staging.sh",
103
- "build": "npm run build:frontend && npm run build:hyperframes-editor && npm run build:serve-shells && node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.json",
104
- "start": "node --import ./dist/src/instrument.js --enable-source-maps dist/src/index.js",
105
- "check": "tsc -p tsconfig.json --noEmit && npm run check:skills",
106
- "test:clips": "node --import tsx --test test/clip-curation.test.ts",
107
- "test:social-download": "node --import tsx --test test/video-download-media.test.ts test/social-download-lookup.test.ts",
108
- "test:qa": "node --import tsx --test test/qa-check.test.ts",
109
- "test:studio-brand": "node --import tsx --test test/studio-brand.test.ts",
110
- "test:stickers": "node --import tsx --test test/sticker-pack.test.ts test/plate-key.test.ts",
111
- "test:social-recycle": "node --import tsx --test test/social-recycle.test.ts",
112
- "test:dedupe": "node --import tsx --test test/dedupe-recipe.test.ts",
113
- "test:iconscout": "node --import tsx --test test/iconscout.test.ts",
114
- "test:web-search": "node --import tsx --test test/web-search.test.ts",
115
- "test:billing": "node --import tsx --test test/billing-wallet-cas.test.ts",
116
- "test:skill-docs": "node --import tsx --test test/skill-docs.test.ts",
117
- "test:consult": "node --import tsx --test test/consult.test.ts",
118
- "test:social-meta": "node --import tsx --test test/social-meta.test.ts",
119
- "check:skills": "node scripts/build-director-skill-rollup.mjs --check && node scripts/check-skill-routes.mjs && node scripts/check-skill-nav.mjs",
120
- "benchmark:editor-chat": "node --import tsx scripts/benchmark-editor-chat-harness.mjs",
121
- "cdk:deploy:prod-serverless": "npm run build && dotenv -e .env.production -- npx aws-cdk deploy --app 'node dist/infra/cdk/bin/vidfarm-prod.js'",
122
- "cdk:synth:staging-serverless": "npm run build && dotenv -e .env.staging -- npx aws-cdk synth --app 'node dist/infra/cdk/bin/vidfarm-serverless-staging.js'",
123
- "cdk:deploy:staging-serverless": "npm run build && dotenv -e .env.staging -- npx aws-cdk deploy --app 'node dist/infra/cdk/bin/vidfarm-serverless-staging.js'",
124
- "cdk:deploy:staging-serverless:hotswap": "npm run build && dotenv -e .env.staging -- npx aws-cdk deploy --app 'node dist/infra/cdk/bin/vidfarm-serverless-staging.js' --hotswap-fallback --require-approval never",
125
- "cdk:deploy:prod-serverless:hotswap": "npm run build && dotenv -e .env.production -- npx aws-cdk deploy --app 'node dist/infra/cdk/bin/vidfarm-prod.js' --hotswap-fallback --require-approval never",
126
- "prepack": "npm run build && node scripts/check-devcli-pack-safe.mjs",
127
- "check:pack-safe": "node scripts/check-devcli-pack-safe.mjs"
128
- },
129
21
  "dependencies": {
130
22
  "@ai-sdk/google": "^3.0.79",
131
23
  "@ai-sdk/openai": "^3.0.65",
132
24
  "@ai-sdk/openai-compatible": "^2.0.48",
133
- "@assistant-ui/react": "^0.14.8",
134
- "@assistant-ui/react-data-stream": "^0.12.14",
135
- "@aws-sdk/client-cloudformation": "^3.1076.0",
136
- "@aws-sdk/client-dynamodb": "^3.1056.0",
137
- "@aws-sdk/client-lambda": "^3.1087.0",
138
- "@aws-sdk/client-s3": "^3.1064.0",
139
- "@aws-sdk/client-sfn": "^3.1073.0",
140
- "@aws-sdk/lib-dynamodb": "^3.1073.0",
141
- "@aws-sdk/s3-request-presigner": "^3.787.0",
142
- "@fontsource/libre-baskerville": "^5.2.10",
143
- "@fontsource/montserrat": "^5.2.8",
144
- "@fontsource/source-code-pro": "^5.2.7",
145
- "@fontsource/tiktok-sans": "^5.2.4",
146
- "@hono/node-server": "^1.14.4",
147
- "@hyperframes/aws-lambda": "0.7.64",
148
- "@hyperframes/studio-server": "0.7.64",
149
- "@sentry/aws-serverless": "^10.56.0",
150
- "@sentry/hono": "^10.56.0",
25
+ "@ffprobe-installer/ffprobe": "^2.1.2",
151
26
  "@sentry/node": "^10.56.0",
152
- "@sentry/react": "^10.56.0",
153
27
  "ai": "^6.0.191",
154
- "better-sqlite3": "^12.11.1",
155
- "dotenv": "^16.5.0",
156
- "esbuild": "^0.28.1",
157
28
  "ffmpeg-static": "^5.3.0",
158
- "ffprobe-static": "^3.1.0",
159
- "fontkit": "^2.0.4",
160
- "hono": "^4.8.3",
161
- "hyperframes": "0.7.64",
29
+ "hyperframes": "0.8.2",
162
30
  "linkedom": "^0.18.12",
163
- "react": "^18.3.1",
164
- "react-dom": "^18.3.1",
165
31
  "sharp": "^0.34.5",
166
- "sqlite-vec": "^0.1.9",
167
32
  "zod": "^3.25.28"
168
33
  },
169
- "devDependencies": {
170
- "@types/better-sqlite3": "^7.6.13",
171
- "@types/node": "^24.0.1",
172
- "@types/react": "^18.3.23",
173
- "@types/react-dom": "^18.3.7",
174
- "aws-cdk-lib": "^2.196.0",
175
- "constructs": "^10.4.2",
176
- "dotenv-cli": "^11.0.0",
177
- "patch-package": "^8.0.1",
178
- "react-grab": "^0.1.48",
179
- "tsx": "^4.19.4",
180
- "typescript": "^5.8.3",
181
- "zustand": "^5.0.13"
182
- },
183
34
  "main": "index.js",
184
35
  "keywords": [],
185
36
  "author": "",
@@ -187,5 +38,9 @@
187
38
  "bugs": {
188
39
  "url": "https://github.com/OfficeXApp/vidfarm/issues"
189
40
  },
190
- "homepage": "https://github.com/OfficeXApp/vidfarm#readme"
41
+ "homepage": "https://github.com/OfficeXApp/vidfarm#readme",
42
+ "optionalDependencies": {
43
+ "better-sqlite3": "^12.11.1",
44
+ "sqlite-vec": "^0.1.9"
45
+ }
191
46
  }