Files
loki/package.json
T
Mao NakamotoandClaude Opus 4.8 4b7ee8d63a fix(control+brand): purge dead Vercel refs, real favicon, honest badges/counts
Thorough cleanup after a full investigation of "so many things are wrong".

DEPLOYMENT — the "This deployment is temporarily paused" ghost. The canonical
host already moved to fleetcrown.orangecat.ch (Hetzner); the message came from
leftover references to the paused fleetcrown.vercel.app deployment:
- vercel.json: drop the `alias: ["fleetcrown.vercel.app"]` (the paused domain).
- scripts/fleet: install-cli POSTs to fleetcrown.orangecat.ch, not the dead URL.
- package.json: `ship` just pushes (the pre-push hook deploys to Hetzner);
  replace `wait:vercel` with `deploy` → scripts/deploy-hetzner.sh.
- delete scripts/wait-for-vercel.sh and orphaned desktop/.vercel/.
- repoint stale Vercel URLs in scripts/db/*.md and the local VAPID_SUBJECT.
(Fleet Runner already targets orangecat.ch in source — the user's "paused"
view is a stale installed build; the current v0.8.0 build/.deb is in desktop/dist.)

ICON — the browser-tab icon was blank/wrong:
- public/icon.svg drew the spiral at ~23% of the canvas with 0.7/0.95 opacity,
  so it vanished at 16px. Rescaled to fill ~62% at full contrast (shape
  unchanged, matches BrandMark.tsx).
- delete the stale src/app/favicon.ico (still the Next.js starter triangle);
  metadata already declares /icon.svg, so browsers now show the brand mark.

CONTROL honesty:
- Autopilot badge no longer shows a pulsing "Building" on every autopilot-on
  project (the default), which made idle projects look actively worked. It's now
  a static "Auto"/"Paused" policy chip; the pulse is reserved for real `working`.
- /activity stats (promptsSent/runsStarted) now come from real count(*)
  aggregates instead of the 200-capped row arrays (showed "200" when the true
  30-day count was 277).
- "Previous automated run" shows a crashed `running` row (no terminal write,
  >30min old) as "interrupted" instead of a live-looking "running" tag.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 14:21:26 +02:00

91 lines
3.2 KiB
JSON

{
"name": "fleetcrown",
"version": "0.1.0",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"dev": "next dev",
"prebuild": "npx tsx scripts/generate-bash-state-vocab.ts",
"build": "next build",
"postbuild": "bash scripts/deploy-local.sh",
"start": "next start",
"install-app": "bash scripts/install-fleetcrown-app.sh",
"migrate": "drizzle-kit push",
"lint": "eslint src/ home/",
"check:design": "bash scripts/check-design-system.sh",
"smoke": "bash scripts/smoke.sh",
"test:home": "bash scripts/test-home.sh",
"test:control-presenter": "npx tsx scripts/test/control-presenter.ts",
"test:agent-resolution": "npx tsx scripts/test/agent-resolution.ts",
"test:autopilot-defaults": "npx tsx scripts/test/autopilot-defaults.ts",
"test:push-notifications": "npx tsx scripts/test/push-notifications.ts",
"test:onboarding": "npx tsx scripts/test/onboarding.ts",
"test:onboarding-heal": "npx tsx scripts/test/onboarding-heal.ts",
"test:db-url": "npx tsx scripts/test/db-url.ts",
"test:orchestration-summary": "npx tsx scripts/test/orchestration-summary.ts",
"test:dispatch-gates": "npx tsx scripts/test/dispatch-gates.ts",
"test:prompt-history": "npx tsx scripts/test/prompt-history.ts",
"test:desktop-command-validator": "npx tsx scripts/test/desktop-command-validator.ts",
"test:activity-ssot": "node scripts/activity-ssot-check.mjs",
"test:digest": "npx tsx scripts/test/digest.ts",
"generate:agent-prompts": "npx tsx scripts/generate-agent-prompts.ts",
"ingest:history": "npx tsx scripts/ingest-claude-code-history.ts",
"desktop:dev": "cd desktop && npm run dev",
"desktop:build": "cd desktop && npm run build",
"desktop:preview": "cd desktop && npm run preview",
"db:dump": "bash scripts/db/dump.sh",
"db:restore": "bash scripts/db/restore.sh",
"deploy": "bash scripts/deploy-hetzner.sh",
"ship": "git push origin main",
"prepare": "husky"
},
"dependencies": {
"@auth/drizzle-adapter": "^1.11.2",
"@orangecat/sdk": "file:vendor/orangecat-sdk-0.2.0.tgz",
"@base-ui/react": "^1.3.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"drizzle-orm": "^0.45.2",
"lucide-react": "^1.7.0",
"mermaid": "^11.15.0",
"next": "16.2.6",
"next-auth": "^5.0.0-beta.31",
"next-themes": "^0.4.6",
"postgres": "^3.4.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"resend": "^6.12.3",
"shadcn": "^4.1.2",
"stripe": "^22.1.1",
"tailwind-merge": "^3.5.0",
"tw-animate-css": "^1.4.0",
"web-push": "^3.6.7",
"zod": "^4.3.6"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/web-push": "^3.6.4",
"better-sqlite3": "^12.8.0",
"drizzle-kit": "^0.31.10",
"eslint": "^9",
"eslint-config-next": "16.2.6",
"husky": "^9.1.7",
"tailwindcss": "^4",
"tsx": "^4.21.0",
"typescript": "^5"
},
"overrides": {
"fast-uri": "3.1.2"
}
}