{
  "name": "@officexapp/vidfarm-devcli",
  "version": "0.21.12",
  "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.",
  "type": "module",
  "bin": {
    "vidfarm": "dist/src/cli.js",
    "vidfarm-devcli": "dist/src/cli.js"
  },
  "//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.",
  "files": [
    "dist/src/cli.js",
    "dist/src/devcli/auth-store.js",
    "dist/src/devcli/captions.js",
    "dist/src/devcli/clip-store.js",
    "dist/src/devcli/clips.js",
    "dist/src/devcli/composition-edit.js",
    "dist/src/devcli/cost-mode.js",
    "dist/src/devcli/doctor.js",
    "dist/src/devcli/hyperframes-cli.js",
    "dist/src/devcli/local-backend.js",
    "dist/src/devcli/local-frontend-server.js",
    "dist/src/devcli/local-render.js",
    "dist/src/devcli/skills.js",
    "dist/src/devcli/speech.js",
    "dist/src/devcli/stills.js",
    "dist/src/devcli/telemetry.js",
    "dist/src/devcli/timeline-edit.js",
    "dist/src/devcli/transitions.js",
    "dist/src/hyperframes/composition.js",
    "dist/src/lib/**/*.js",
    "dist/src/services/captions.js",
    "dist/src/services/composition-lint.js",
    "dist/src/services/provider-errors.js",
    "dist/src/services/speech.js",
    "dist/src/services/clip-curation/**/*.js",
    "dist/src/services/clip-curation/**/*.json",
    "public/serve-shells/**/*.html",
    "public/assets/**/*.js",
    "public/assets/**/*.css",
    "public/assets/**/*.map",
    "public/assets/**/*.ico",
    "public/assets/**/*.png",
    "public/assets/**/*.svg",
    "demo/dist/**",
    ".agents/skills/**",
    "README.md",
    "SKILL.md",
    "SKILL.director.md",
    "!readme.secret.md",
    "!**/*.secret.*"
  ],
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/OfficeXApp/vidfarm.git"
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "scripts": {
    "postinstall": "patch-package || true",
    "dev": "tsx --import ./src/instrument.ts watch src/index.ts",
    "dev:frontend": "node scripts/build-homepage-client.mjs --watch",
    "dev:cli": "tsx src/cli.ts",
    "build:frontend": "node scripts/build-homepage-client.mjs",
    "build:hyperframes-editor": "cd demo && node scripts/build.mjs",
    "build:serve-shells": "tsx scripts/build-serve-shells.ts",
    "seo:refresh": "tsx scripts/generate-route-seo.ts",
    "portfolio:share": "tsx scripts/render-portfolio-share.ts",
    "operator:template-artifact": "node scripts/platform-operator-template-artifact.mjs",
    "bootstrap:staging-templates": "tsx scripts/bootstrap-staging-template-releases.ts",
    "migrate:sqlite-to-dynamodb": "tsx scripts/migrate-sqlite-to-dynamodb.ts",
    "deploy:prod": "bash scripts/deploy-prod.sh",
    "deploy:staging": "bash scripts/deploy-staging.sh",
    "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",
    "start": "node --import ./dist/src/instrument.js --enable-source-maps dist/src/index.js",
    "check": "tsc -p tsconfig.json --noEmit && npm run check:skills",
    "test:clips": "node --import tsx --test test/clip-curation.test.ts",
    "check:skills": "node scripts/build-director-skill-rollup.mjs --check && node scripts/check-skill-routes.mjs",
    "benchmark:editor-chat": "node --import tsx scripts/benchmark-editor-chat-harness.mjs",
    "cdk:deploy:prod-serverless": "npm run build && dotenv -e .env.production -- npx aws-cdk deploy --app 'node dist/infra/cdk/bin/vidfarm-prod.js'",
    "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'",
    "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'",
    "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",
    "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",
    "prepack": "npm run build && node scripts/check-devcli-pack-safe.mjs",
    "check:pack-safe": "node scripts/check-devcli-pack-safe.mjs"
  },
  "dependencies": {
    "@ai-sdk/google": "^3.0.79",
    "@ai-sdk/openai": "^3.0.65",
    "@ai-sdk/openai-compatible": "^2.0.48",
    "@assistant-ui/react": "^0.14.8",
    "@assistant-ui/react-data-stream": "^0.12.14",
    "@aws-sdk/client-cloudformation": "^3.1076.0",
    "@aws-sdk/client-dynamodb": "^3.1056.0",
    "@aws-sdk/client-lambda": "^3.1087.0",
    "@aws-sdk/client-s3": "^3.1064.0",
    "@aws-sdk/client-sfn": "^3.1073.0",
    "@aws-sdk/lib-dynamodb": "^3.1073.0",
    "@aws-sdk/s3-request-presigner": "^3.787.0",
    "@fontsource/libre-baskerville": "^5.2.10",
    "@fontsource/montserrat": "^5.2.8",
    "@fontsource/source-code-pro": "^5.2.7",
    "@fontsource/tiktok-sans": "^5.2.4",
    "@hono/node-server": "^1.14.4",
    "@hyperframes/aws-lambda": "0.7.64",
    "@hyperframes/studio-server": "0.7.64",
    "@sentry/aws-serverless": "^10.56.0",
    "@sentry/hono": "^10.56.0",
    "@sentry/node": "^10.56.0",
    "@sentry/react": "^10.56.0",
    "ai": "^6.0.191",
    "better-sqlite3": "^12.11.1",
    "dotenv": "^16.5.0",
    "esbuild": "^0.28.1",
    "ffmpeg-static": "^5.3.0",
    "ffprobe-static": "^3.1.0",
    "fontkit": "^2.0.4",
    "hono": "^4.8.3",
    "hyperframes": "0.7.64",
    "linkedom": "^0.18.12",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "sharp": "^0.34.5",
    "sqlite-vec": "^0.1.9",
    "zod": "^3.25.28"
  },
  "devDependencies": {
    "@types/better-sqlite3": "^7.6.13",
    "@types/node": "^24.0.1",
    "@types/react": "^18.3.23",
    "@types/react-dom": "^18.3.7",
    "aws-cdk-lib": "^2.196.0",
    "constructs": "^10.4.2",
    "dotenv-cli": "^11.0.0",
    "patch-package": "^8.0.1",
    "react-grab": "^0.1.48",
    "tsx": "^4.19.4",
    "typescript": "^5.8.3",
    "zustand": "^5.0.13"
  },
  "main": "index.js",
  "keywords": [],
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/OfficeXApp/vidfarm/issues"
  },
  "homepage": "https://github.com/OfficeXApp/vidfarm#readme"
}
