Files
Michael Ramos f532a149a6 feat(webmcp): change tracker, nudges, useToolset hook and the configure seam
changes.ts assigns a per-annotation seq, keeps tombstones, and holds the
per-tab watermark with an explicit since override; claimOwn makes the
agent's own writes never new to it while a later human edit is.
nudges.ts computes the twelve codes synchronously from page state with
static messages that never embed document or comment text. useToolset
attaches a named set to the document registry, resolves the provider
once per mount, and reconciles rebuilt tool lists in place so a
re-render never touches registerTool; active false aborts the set.
configurePlannotatorUI gains the optional webmcp policy and the package
exports ./webmcp.
2026-08-26 13:46:33 -07:00

115 lines
3.5 KiB
JSON

{
"name": "@plannotator/ui",
"version": "0.31.0",
"type": "module",
"exports": {
"./components/*": "./components/*.tsx",
"./components/ui/*": "./components/ui/*.tsx",
"./components/ai/*": "./components/ai/*.tsx",
"./components/core/*": "./components/core/*.tsx",
"./components/goal-setup/*": "./components/goal-setup/*.tsx",
"./components/ImageAnnotator": "./components/ImageAnnotator/index.tsx",
"./components/html-viewer": "./components/html-viewer/index.ts",
"./components/html-viewer/bridge-script": "./components/html-viewer/bridge-script.ts",
"./components/sidebar/*": "./components/sidebar/*.tsx",
"./components/plan-diff/*": "./components/plan-diff/*.tsx",
"./utils/*": "./utils/*.ts",
"./lib/*": "./lib/*.ts",
"./hooks/*": "./hooks/*.ts",
"./shortcuts": "./shortcuts/index.ts",
"./webmcp": "./webmcp/index.ts",
"./config": "./config/index.ts",
"./configure": "./configure.ts",
"./theme-modes": "./components/themeModes.tsx",
"./types": "./types.ts",
"./theme": "./theme.css",
"./styles.css": "./styles.css"
},
"files": [
"components",
"config",
"hooks",
"icons",
"lib",
"shortcuts",
"utils",
"webmcp",
"assets",
"themes",
"sprite_package_additional",
"sprite_package_new",
"sprite_package_pulluphang",
"globals.d.ts",
"configure.ts",
"types.ts",
"theme.css",
"print.css",
"styles.css",
"plannotator.webp",
"!**/*.test.ts",
"!**/*.test.tsx",
"!test-setup"
],
"dependencies": {
"@base-ui/react": "^1.6.0",
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/commands": "^6.10.3",
"@codemirror/lang-javascript": "^6.2.5",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/lang-yaml": "^6.1.3",
"@codemirror/language": "^6.12.3",
"@codemirror/legacy-modes": "^6.5.3",
"@codemirror/merge": "^6.12.2",
"@codemirror/search": "^6.7.0",
"@codemirror/state": "^6.6.0",
"@codemirror/view": "^6.43.0",
"@fontsource-variable/geist-mono": "5.2.7",
"@fontsource-variable/inter": "^5.2.8",
"@lezer/common": "^1.5.2",
"@lezer/highlight": "^1.2.3",
"@pierre/diffs": "1.3.2",
"@plannotator/atomic-editor": "^0.8.0",
"@plannotator/core": "workspace:*",
"@plannotator/markdown-editor": "^0.4.0",
"@plannotator/web-highlighter": "^0.8.1",
"@tanstack/react-table": "^8.21.3",
"@viz-js/viz": "^3.25.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"diff": "^8.0.4",
"dompurify": "^3.3.3",
"katex": "^0.16.47",
"lucide-react": "^1.14.0",
"marked": "^17.0.6",
"mermaid": "^11.12.2",
"motion": "^12.38.0",
"perfect-freehand": "^1.2.2",
"tailwind-merge": "^3.6.0",
"unique-username-generator": "^1.5.1"
},
"peerDependencies": {
"react": "^19.2.3",
"react-dom": "^19.2.3",
"tailwindcss": "^4.1.18"
},
"devDependencies": {
"@happy-dom/global-registrator": "^20.10.1",
"@tailwindcss/vite": "^4.1.18",
"@types/bun": "^1.2.0",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"tailwindcss": "^4.1.18",
"typescript": "~5.8.2",
"vite": "^6.2.0"
},
"scripts": {
"typecheck": "tsc --noEmit -p tsconfig.json",
"build:css": "vite build --config vite.css.config.ts && rm -f styles.js",
"prepack": "bun run build:css"
}
}