Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

5.2 KB
Raw Blame
{
  "name": "@posthog/ui",
  "version": "1.0.0",
  "description": "React UI layer. Components, stores, hooks. Pure rendering and UI state — no I/O, no business logic. Built on @posthog/quill. Consumed by every host app (desktop, web, mobile-web).",
  "private": true,
  "type": "module",
  "exports": {
    "./*": [
      "./src/*.ts",
      "./src/*.tsx"
    ]
  },
  "scripts": {
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "generate-routes": "node scripts/generate-routes.mjs",
    "generate-web-sandbox": "vitest run src/features/canvas/freeform/webSandboxDocument.test.ts --update",
    "clean": "node ../../scripts/rimraf.mjs dist .turbo"
  },
  "dependencies": {
    "@agentclientprotocol/sdk": "0.22.1",
    "@base-ui/react": "^1.3.0",
    "@codemirror/lang-angular": "^0.1.4",
    "@codemirror/lang-cpp": "^6.0.3",
    "@codemirror/lang-css": "^6.3.1",
    "@codemirror/lang-go": "^6.0.1",
    "@codemirror/lang-html": "^6.4.11",
    "@codemirror/lang-java": "^6.0.2",
    "@codemirror/lang-javascript": "^6.2.4",
    "@codemirror/lang-jinja": "^6.0.0",
    "@codemirror/lang-json": "^6.0.2",
    "@codemirror/lang-liquid": "^6.3.0",
    "@codemirror/lang-markdown": "^6.5.0",
    "@codemirror/lang-php": "^6.0.2",
    "@codemirror/lang-python": "^6.2.1",
    "@codemirror/lang-rust": "^6.0.2",
    "@codemirror/lang-sass": "^6.0.2",
    "@codemirror/lang-sql": "^6.10.0",
    "@codemirror/lang-vue": "^0.1.3",
    "@codemirror/lang-wast": "^6.0.2",
    "@codemirror/lang-xml": "^6.1.0",
    "@codemirror/lang-yaml": "^6.1.2",
    "@codemirror/language": "^6.12.2",
    "@codemirror/search": "^6.6.0",
    "@codemirror/state": "^6.5.4",
    "@codemirror/view": "^6.39.17",
    "@dnd-kit/abstract": "^0.1.21",
    "@dnd-kit/dom": "^0.1.21",
    "@dnd-kit/react": "^0.1.21",
    "@joplin/turndown-plugin-gfm": "^1.0.67",
    "@lezer/common": "^1.5.1",
    "@lezer/highlight": "^1.2.3",
    "@modelcontextprotocol/ext-apps": "^1.1.2",
    "@modelcontextprotocol/sdk": "^1.12.1",
    "@pierre/diffs": "^1.2.10",
    "@posthog/agent": "link:../../../../packages/agent/packages/agent",
    "@posthog/api-client": "workspace:*",
    "@posthog/core": "workspace:*",
    "@posthog/di": "workspace:*",
    "@posthog/git": "link:../../../../packages/agent/packages/git",
    "@posthog/host-router": "workspace:*",
    "@posthog/platform": "workspace:*",
    "@posthog/quill-charts": "0.3.0-beta.29",
    "@posthog/shared": "workspace:*",
    "@posthog/workspace-client": "workspace:*",
    "@radix-ui/react-collapsible": "^1.1.12",
    "@radix-ui/react-icons": "^1.3.2",
    "@radix-ui/react-tooltip": "^1.2.8",
    "@tanstack/history": "^1.162.0",
    "@tanstack/react-router": "catalog:",
    "@tanstack/react-router-devtools": "catalog:",
    "@tanstack/react-virtual": "^3.13.26",
    "@tiptap/core": "^3.13.0",
    "@tiptap/extension-mention": "^3.13.0",
    "@tiptap/extension-placeholder": "^3.13.0",
    "@tiptap/pm": "^3.13.0",
    "@tiptap/react": "^3.13.0",
    "@tiptap/starter-kit": "^3.13.0",
    "@tiptap/suggestion": "^3.13.0",
    "@trpc/tanstack-react-query": "catalog:",
    "@xterm/addon-fit": "^0.10.0",
    "@xterm/addon-serialize": "^0.13.0",
    "@xterm/addon-web-links": "^0.11.0",
    "@xterm/addon-webgl": "^0.18.0",
    "@xterm/xterm": "^5.5.0",
    "canvas-confetti": "^1.9.4",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "cmdk": "^1.1.1",
    "framer-motion": "^12.26.2",
    "fuse.js": "^7.1.0",
    "fzf": "^0.5.2",
    "inversify": "catalog:",
    "lucide-react": "^1.7.0",
    "mermaid": "^11.17.0",
    "posthog-js": "1.447.1",
    "radix-themes-tw": "0.2.3",
    "react-hotkeys-hook": "^4.4.4",
    "react-markdown": "^10.1.0",
    "react-resizable-panels": "^3.0.6",
    "react-zoom-pan-pinch": "^4.0.3",
    "reflect-metadata": "catalog:",
    "rehype-raw": "^7.0.0",
    "rehype-sanitize": "^6.0.0",
    "remark-gfm": "^4.0.1",
    "semver": "^7.6.0",
    "tailwindcss": "^4.2.2",
    "tailwindcss-scroll-mask": "^0.0.3",
    "tippy.js": "^6.3.7",
    "turndown": "^7.2.4",
    "unified": "^11.0.5",
    "virtua": "^0.48.6",
    "vscode-icons-js": "^11.6.1",
    "zod": "^4.4.3",
    "zustand": "^4.5.0"
  },
  "peerDependencies": {
    "@phosphor-icons/react": "catalog:",
    "@posthog/quill": "catalog:",
    "@radix-ui/themes": "catalog:",
    "@tanstack/react-query": "catalog:",
    "react": "catalog:",
    "react-dom": "catalog:"
  },
  "devDependencies": {
    "@phosphor-icons/react": "catalog:",
    "@posthog/quill": "catalog:",
    "@posthog/tsconfig": "workspace:*",
    "@radix-ui/themes": "catalog:",
    "@storybook/react": "10.4.1",
    "@storybook/react-vite": "10.4.1",
    "@tanstack/react-query": "catalog:",
    "@tanstack/router-generator": "catalog:",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.0",
    "@testing-library/user-event": "^14.6.1",
    "@types/canvas-confetti": "^1.9.0",
    "@types/mdast": "^4.0.4",
    "@types/react": "catalog:",
    "@types/react-dom": "catalog:",
    "@types/semver": "^7.7.1",
    "@types/turndown": "^5.0.6",
    "@vitejs/plugin-react": "^4.2.1",
    "jsdom": "^26.0.0",
    "react": "catalog:",
    "react-dom": "catalog:",
    "storybook": "10.4.1",
    "typescript": "catalog:",
    "vitest": "^4.1.8"
  },
  "files": [
    "dist/**/*",
    "src/**/*"
  ]
}