mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 12:27:28 +01:00
The dispatch last-mile was failing on real edges once the runner went live: - Project keys never matched the names users actually gave their Zellij tabs: "revampit" ≠ "revamp-it", so focus/inject/launch threw "tab not found". New SSOT findMatchingTab() (src/lib/tab-match.ts) normalizes case + punctuation and is used in all three matching sites (terminals/zellij, agent-runtime, desktop poller). Existing fuzzy-matched tabs are reused; only a genuinely absent tab is created under its canonical name. - A runner reconnecting after days offline drained a stale command backlog against a changed Zellij and failed noisily. purgeStalePendingCommands() deletes unclaimed/unexecuted commands older than 20m before claiming. - launch_agent against a detached session hung to the 6s timeout and surfaced a cryptic "spawnSync /bin/sh ETIMEDOUT"; now it says which session is detached and to `zellij attach` it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
99 lines
3.5 KiB
JSON
99 lines
3.5 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: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: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: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",
|
|
"@xterm/addon-fit": "^0.11.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",
|
|
"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"
|
|
}
|
|
}
|