mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-03 23:37:00 +01:00
202 lines
13 KiB
JSON
202 lines
13 KiB
JSON
{
|
|
"name": "loki",
|
|
"version": "0.1.0",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"prebuild": "npx tsx scripts/generate-bash-state-vocab.ts && npx tsx scripts/generate-widget-theme.ts && pnpm run build:widget && pnpm run build:inspection",
|
|
"build:extension": "npx tsx scripts/build-extension.ts",
|
|
"build:widget": "esbuild widget/main.ts --bundle --minify --format=iife --outfile=public/widget.js --log-level=warning && esbuild widget/instant-page.ts --bundle --minify --format=iife --outfile=public/instant-page.js --log-level=warning && npx tsx scripts/build-widget-chat.ts",
|
|
"build": "next build",
|
|
"postbuild": "bash scripts/record-build-ref.sh && bash scripts/deploy-local.sh",
|
|
"start": "next start",
|
|
"install-app": "bash scripts/install-loki-app.sh",
|
|
"db:push": "drizzle-kit push",
|
|
"db:generate": "drizzle-kit generate",
|
|
"seed:showcase": "npx tsx scripts/seed-showcase.ts",
|
|
"check:schema": "npx tsx scripts/check-schema-drift.ts",
|
|
"lint": "eslint --cache --cache-location node_modules/.cache/eslint src/ home/ widget/ extension/src/ packages/knowledge-map/src/",
|
|
"check:design": "bash scripts/check-design-system.sh",
|
|
"check:file-inputs": "chatkit-check-file-inputs src widget",
|
|
"check:desktop": "bash scripts/check-desktop.sh",
|
|
"verify": "pnpm run format:check && pnpm run check:deploy-ready && pnpm run check:accounts-db && pnpm run check:client-ledger && pnpm run check:no-experiment-litter && pnpm run check:telegram-registry && tsc --noEmit && pnpm run lint && pnpm run check:design && pnpm run check:file-inputs && pnpm run check:desktop && pnpm run test:unit && pnpm run test:home && pnpm run test:deploy-ref-gate && pnpm run test:not-behind-gate && pnpm run test:deploy-ready-gate && pnpm run test:client-ledger-gate && pnpm run test:experiment-litter-gate && pnpm run test:ops && pnpm run test:mailgate",
|
|
"check:telegram-registry": "bash scripts/ci/check-telegram-registry.sh",
|
|
"smoke": "bash scripts/smoke.sh",
|
|
"test:home": "bash scripts/test-home.sh",
|
|
"test:mailgate": "pnpm -C mailgate type-check && pnpm -C mailgate test",
|
|
"check:accounts-db": "bash scripts/hetzner/check-accounts-db.sh",
|
|
"test:ops": "bash scripts/hetzner/test-accounts-db.sh && bash scripts/hetzner/test-host-alerts.sh && bash scripts/hetzner/test-watchdog-check.sh && bash scripts/hetzner/test-security-check.sh && bash scripts/hetzner/test-disk-gc.sh && bash scripts/hetzner/test-agent-work-watch.sh && bash scripts/hetzner/test-ai-provider-check.sh && bash scripts/hetzner/test-api-key-check.sh && bash scripts/hetzner/test-fleet-env.sh && bash scripts/hetzner/test-orangecat-passkeys.sh && bash scripts/hetzner/test-delete-synthetic-user.sh && bash scripts/hetzner/test-fleet-env-merge.sh && bash scripts/hetzner/test-builder-auth-check.sh && bash scripts/hetzner/test-cron-runner.sh && bash scripts/hetzner/test-ci-gate.sh && bash scripts/hetzner/test-apply-schema.sh && bash scripts/hetzner/test-drain-and-restart-runner.sh && bash scripts/hetzner/test-demo-instance.sh && bash scripts/hetzner/test-uptime-sweep.sh && bash scripts/hetzner/test-launch-template.sh && bash scripts/hetzner/test-site-template.sh && bash scripts/hetzner/test-port-alloc.sh && bash scripts/hetzner/test-unit-template.sh && bash scripts/hetzner/test-register-reality.sh && bash scripts/hetzner/test-register-site.sh && bash scripts/hetzner/test-custom-domain.sh && bash scripts/hetzner/test-sleep-when-idle.sh && bash scripts/hetzner/test-retire-site.sh && bash scripts/hetzner/test-no-retired-name.sh && bash scripts/hetzner/test-preview-host.sh && bash scripts/hetzner/test-stage-release-receipt.sh && bash scripts/hetzner/test-load-build-env.sh && bash scripts/hetzner/test-receipt-visibility.sh && bash scripts/hetzner/test-app-secrets.sh && bash scripts/hetzner/test-box-env-keys.sh && bash scripts/hetzner/test-provision-db.sh && bash scripts/hetzner/test-register-drift.sh && bash scripts/hetzner/test-accountkit-switch.sh && bash scripts/hetzner/test-drop-db.sh && bash scripts/hetzner/test-box-register-follow.sh && bash scripts/hetzner/test-git-fixtures-isolated.sh && bash scripts/hetzner/test-sealed-builds-memory.sh",
|
|
"test:executor": "npx tsx scripts/test/executor.ts",
|
|
"test:sandbox-executor": "npx tsx scripts/test/sandbox-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:fleet-kick": "npx tsx scripts/test/fleet-kick.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:notify-close": "npx tsx scripts/test/notify-close.ts",
|
|
"test:fact-budget": "npx tsx scripts/test/fact-budget.ts",
|
|
"test:fair-share": "npx tsx scripts/test/fair-share.ts",
|
|
"test:ai-budget-gate": "npx tsx scripts/test/ai-budget-gate.ts",
|
|
"test:deploy-ref-gate": "bash scripts/test/deploy-ref-gate.sh",
|
|
"test:not-behind-gate": "bash scripts/test/not-behind-gate.sh",
|
|
"test:approval-cues": "npx tsx scripts/test/approval-cues.ts",
|
|
"test:groq-error": "npx tsx scripts/test/groq-error.ts",
|
|
"test:chat-chain": "npx tsx scripts/test/chat-chain.ts",
|
|
"test:ai-health": "npx tsx scripts/test/ai-health.ts",
|
|
"test:health-route": "npx tsx scripts/test/health-route.ts",
|
|
"test:answering-prompt": "npx tsx scripts/test/answering-prompt.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:agent-comms": "npx tsx scripts/test/agent-comms.ts",
|
|
"test:unit": "npx tsx scripts/test-unit.ts",
|
|
"test:db": "npx tsx scripts/test/lane-and-reaper.ts && npx tsx scripts/test/token-scope.ts && npx tsx scripts/test/token-session-db.ts && npx tsx scripts/test/accountkit-journeys.ts",
|
|
"test:ai-forms": "tsx scripts/verify-ai-forms.ts",
|
|
"test:activity-ssot": "node scripts/activity-ssot-check.mjs",
|
|
"dogfood:loki": "node scripts/loki-dogfood.mjs",
|
|
"dogfood:loki:ci": "LOKI_SESSION_TOKEN=$(npx tsx scripts/test/print-session-token.ts) HEADLESS=1 node scripts/loki-dogfood.mjs",
|
|
"dogfood:ui-flows:ci": "LOKI_SESSION_TOKEN=$(npx tsx scripts/test/print-session-token.ts) HEADLESS=1 node scripts/ui-flow-dogfood.mjs",
|
|
"dogfood:machine:ci": "LOKI_SESSION_TOKEN=$(npx tsx scripts/test/print-session-token.ts) HEADLESS=1 node scripts/machine-dogfood.mjs",
|
|
"dogfood:self": "node scripts/loki-self-dogfood.mjs",
|
|
"test:e2e:loki": "tsx scripts/test/loki-loop-e2e.ts",
|
|
"test:e2e:loki:dispatch": "tsx scripts/test/loki-loop-e2e.ts --dispatch",
|
|
"test:dispatch-status": "npx tsx scripts/test/dispatch-status.ts",
|
|
"test:fleet-context": "npx tsx scripts/test/fleet-context.ts",
|
|
"test:execution-access": "npx tsx scripts/test/execution-access.ts",
|
|
"test:workspace-access": "npx tsx scripts/test/workspace-access.ts",
|
|
"test:authenticated-smoke": "npx tsx scripts/test/authenticated-smoke.ts",
|
|
"test:pre-push-prod-dogfood": "bash scripts/test/pre-push-prod-dogfood.sh",
|
|
"test:loop-ssot": "npx tsx scripts/test/loop-ssot.ts",
|
|
"test:auth-a11y": "npx tsx scripts/test/auth-a11y.ts",
|
|
"test:loki-prefetch": "npx tsx scripts/test/loki-prefetch.ts",
|
|
"test:digest": "npx tsx scripts/test/digest.ts",
|
|
"test:auth": "npx tsx scripts/test/auth.ts",
|
|
"test:orangecat-integration": "npx tsx scripts/test/orangecat-integration.ts",
|
|
"test:orangecat-entitlement-e2e": "npx tsx scripts/test/orangecat-entitlement-e2e.ts",
|
|
"generate:brand": "npx tsx scripts/generate-brand.mjs",
|
|
"generate:agent-prompts": "npx tsx scripts/generate-agent-prompts.ts",
|
|
"generate:fleet-brief": "tsx scripts/generate-fleet-brief-snapshot.ts",
|
|
"ingest:history": "npx tsx scripts/ingest-claude-code-history.ts",
|
|
"desktop:dev": "cd desktop && pnpm run dev",
|
|
"desktop:build": "cd desktop && pnpm run build",
|
|
"desktop:preview": "cd desktop && pnpm run preview",
|
|
"db:dump": "bash scripts/db/dump.sh",
|
|
"db:restore": "bash scripts/db/restore.sh",
|
|
"db:apply-box": "bash scripts/db/apply-box.sh",
|
|
"deploy": "bash scripts/deploy-hetzner.sh",
|
|
"deploy:status": "bash scripts/deploy-status.sh",
|
|
"ship:report": "node scripts/ship-report.mjs",
|
|
"doctor": "bash scripts/doctor.sh",
|
|
"git:prune": "bash scripts/git/prune-merged.sh",
|
|
"ship": "git push origin main",
|
|
"prepare": "husky",
|
|
"probe:models": "tsx scripts/probe-models.ts",
|
|
"check:models": "tsx scripts/check-model-ids.ts",
|
|
"check:telemetry": "tsx scripts/check-telemetry.ts",
|
|
"audit:responsive": "node scripts/test/responsive-audit.mjs",
|
|
"audit:mobile": "node scripts/test/mobile-interaction-audit.mjs",
|
|
"audit:contrast": "node scripts/test/contrast-audit.mjs",
|
|
"check:deploy-ready": "bash scripts/ci/check-deploy-ready.sh",
|
|
"test:deploy-ready-gate": "bash scripts/test/deploy-ready-gate.sh",
|
|
"check:client-ledger": "bash scripts/ci/check-client-ledger.sh",
|
|
"test:client-ledger-gate": "bash scripts/test/client-ledger-gate.sh",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"check:no-experiment-litter": "bash scripts/ci/check-no-experiment-litter.sh",
|
|
"test:experiment-litter-gate": "bash scripts/test/experiment-litter-gate.sh",
|
|
"verify:main": "pnpm run format:check && pnpm run check:deploy-ready && pnpm run check:client-ledger && pnpm run check:no-experiment-litter && pnpm run check:telegram-registry && tsc --noEmit && pnpm run lint && pnpm run check:design",
|
|
"build:inspection": "esbuild scripts/inspection-worker.ts --bundle --platform=node --format=esm --external:playwright --outfile=public/inspection-worker.mjs --log-level=warning",
|
|
"db:rehearse-import": "accountkit-rehearse-import scripts/db/accountkit-import.sql"
|
|
},
|
|
"dependencies": {
|
|
"@auth/core": "0.41.3",
|
|
"@auth/drizzle-adapter": "^1.11.3",
|
|
"@better-auth/passkey": "^1.7.14",
|
|
"@bitbaum/accountkit": "^0.32.1",
|
|
"@bitbaum/ai-kit": "^1.30.0",
|
|
"@bitbaum/bip-kit": "^0.10.0",
|
|
"@bitbaum/knowledge-map": "workspace:*",
|
|
"@bitbaum/chatkit": "^0.42.0",
|
|
"@bitbaum/limitkit": "^0.2.1",
|
|
"@bitbaum/mail-kit": "^0.4.0",
|
|
"@bitbaum/paykit": "^0.3.0",
|
|
"@bitbaum/searchkit": "^0.2.3",
|
|
"@bitbaum/whenkit": "^0.3.3",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@fleet/ai-forms": "npm:@bitbaum/ai-forms@^0.1.3",
|
|
"@noble/hashes": "^2.4.0",
|
|
"@noble/secp256k1": "^3.2.0",
|
|
"@orangecat/sdk": "file:vendor/orangecat-sdk-0.2.0.tgz",
|
|
"@sentry/nextjs": "^10.75.2",
|
|
"@types/ws": "^8.18.2",
|
|
"@xterm/addon-fit": "^0.11.0",
|
|
"@xterm/addon-web-links": "^0.12.0",
|
|
"@xterm/xterm": "^6.0.0",
|
|
"better-auth": "^1.7.14",
|
|
"bs58check": "^4.0.0",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.4.0",
|
|
"drizzle-orm": "^0.45.4",
|
|
"geist": "^1.8.1",
|
|
"libsodium-wrappers": "0.8.4",
|
|
"listkit": "npm:@bitbaum/listkit@^0.2.2",
|
|
"lucide-react": "^1.58.0",
|
|
"mermaid": "^11.17.2",
|
|
"next": "16.4.2",
|
|
"next-auth": "^5.0.0-beta.32",
|
|
"next-themes": "^0.4.6",
|
|
"node-pty": "^1.1.0",
|
|
"playwright": "^1.64.1",
|
|
"postgres": "^3.4.9",
|
|
"react": "19.3.1",
|
|
"react-dom": "19.3.1",
|
|
"shadcn": "^4.22.0",
|
|
"shiki": "^4.5.0",
|
|
"tailwind-merge": "^3.7.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"undici": "^7.30.1",
|
|
"web-push": "^3.6.7",
|
|
"ws": "^8.22.0",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@bitbaum/design-tokens": "^1.7.1",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/better-sqlite3": "^9.6.0",
|
|
"@types/libsodium-wrappers": "^0.8.2",
|
|
"@types/node": "^26",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/web-push": "^3.6.4",
|
|
"better-sqlite3": "^13.0.3",
|
|
"dotenv": "^17.4.2",
|
|
"drizzle-kit": "^0.31.11",
|
|
"esbuild": "^0.28.2",
|
|
"eslint": "^10",
|
|
"eslint-config-next": "16.4.2",
|
|
"husky": "^9.1.7",
|
|
"preact": "10.24.3",
|
|
"prettier": "3.9.10",
|
|
"sharp": "^0.35.5",
|
|
"tailwindcss": "^4",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"packageManager": "pnpm@11.25.0"
|
|
}
|