Files
loki/package.json
T
Mao Nakamoto 7d4a344d3b fix(terminal): resolve the real mono font (crisp), enable copy, drop WebGL
Three dogfood-reported issues:
- Font looked awful: xterm draws into a canvas where CSS vars DON'T resolve, so
  fontFamily "var(--font-mono)" silently fell back to generic monospace. Now we
  read the real --font-mono family from CSS + await document.fonts.ready (so xterm
  measures the loaded glyph, not the fallback), at 14px / 1.2 line-height.
- Copy was impossible: xterm doesn't copy-on-select. Added ⌘C / Ctrl-Shift-C →
  clipboard when there's a selection (plain Ctrl-C stays SIGINT).
- Dropped the WebGL renderer added last commit: it can blur text on fractional-DPR
  displays. The default DOM renderer uses the browser's native font engine — crisp,
  matches the page. Right trade for a readability-first terminal.

Known limit: a URL that WRAPS across rows is only clickable on its first row
(xterm detects links per visual row). The copy fix is the mitigation — select the
whole URL + ⌘C. It won't match native kitty (browser vs GPU terminal); it's the
"from anywhere" window. tsc=0, eslint=0.
2026-06-25 20:58:05 +02:00

107 lines
3.9 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",
"check:schema": "npx tsx scripts/check-schema-drift.ts",
"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:executor": "npx tsx scripts/test/executor.ts",
"test:control-presenter": "npx tsx scripts/test/control-presenter.ts",
"test:agent-resolution": "npx tsx scripts/test/agent-resolution.ts",
"test:auto-reroute": "npx tsx scripts/test/auto-reroute.ts",
"test:dod-gate": "npx tsx scripts/test/dod-gate.ts",
"test:project-session": "npx tsx scripts/test/project-session.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:brand-sync": "npx tsx scripts/test/brand-sync.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:tab-match": "npx tsx scripts/test/tab-match.ts",
"test:activity-ssot": "node scripts/activity-ssot-check.mjs",
"test:digest": "npx tsx scripts/test/digest.ts",
"test:auth": "npx tsx scripts/test/auth.ts",
"generate:brand": "npx tsx scripts/generate-brand.mjs",
"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",
"@base-ui/react": "^1.3.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@orangecat/sdk": "file:vendor/orangecat-sdk-0.2.0.tgz",
"@types/ws": "^8.18.1",
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-web-links": "^0.12.0",
"@xterm/xterm": "^6.0.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"drizzle-orm": "^0.45.2",
"geist": "^1.7.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",
"node-pty": "^1.1.0",
"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",
"ws": "^8.21.0",
"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"
}
}