{ "name": "dsh-annotation", "version": "1.3.4", "description": "在原文旁批注聊天内容、文件和代码差异,汇总发送多条注解,也可在侧栏沿用主会话上下文单独讨论。", "keywords": [ "deepseek", "deepseek-harness", "dsh", "dsh-plugins", "cordis", "annotation", "review", "session", "messages", "注解", "侧栏", "代码审阅" ], "homepage": "https://github.com/ruisenbai/dsh-annotation#readme", "bugs": { "url": "https://github.com/ruisenbai/dsh-annotation/issues" }, "repository": { "type": "git", "url": "git+https://github.com/ruisenbai/dsh-annotation.git" }, "license": "MIT", "author": "dsh-annotation contributors", "type": "module", "main": "lib/index.js", "types": "lib/types/index.d.ts", "exports": { ".": { "types": "./lib/types/index.d.ts", "default": "./lib/index.js" }, "./typert": "./lib/typert.js", "./invariant": { "types": "./lib/types/invariant.d.ts", "default": "./lib/invariant.js" }, "./client": { "types": "./lib/types/client/index.d.ts", "default": "./lib/client.js" }, "./package.json": "./package.json" }, "files": [ "lib/index.js", "lib/invariant.js", "lib/typert.js", "lib/client.js", "lib/types/**/*.d.ts", "cordis.patch.yml", "screenshots.json", "source-baseline.json", "README.md", "README.en.md", "README.zh.md", "README.i18n.yaml", "CHANGELOG.md", "CHANGELOG.en.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "RELEASING.md", "SECURITY.md", "SUPPORT.md", "docs/**/*.md", "docs/assets/**/*.png", "LICENSE", "THIRD_PARTY_NOTICES.md" ], "dsh": { "bundle": { "patch": "./cordis.patch.yml" }, "client": { "platform": "web", "inject": [ "@deepseek-ai/dsh-api-remotes", "@deepseek-ai/dsh-api-session-controller", "@deepseek-ai/dsh-api-workspace-controller", "@deepseek-ai/dsh-client-locale", "@deepseek-ai/dsh-client-resources", "@deepseek-ai/dsh-client-ui-chat", "@deepseek-ai/dsh-client-ui-conversation", "@deepseek-ai/dsh-client-ui-input-trigger", "@deepseek-ai/dsh-client-ui-renderer", "@deepseek-ai/dsh-client-ui-settings", "@deepseek-ai/dsh-client-ui-sidebar-right", "@deepseek-ai/dsh-client-ui-workspace" ] } }, "engines": { "node": "^24.22.3 || >=26.13.1", "dsh": ">=0.2.3-alpha.2" }, "packageManager": "pnpm@11.28.5", "scripts": { "clean": "node scripts/clean.mjs", "build": "pnpm run clean && tsc -p tsconfig.build.json && tsdown", "typecheck": "tsc -p tsconfig.json --noEmit", "lint": "oxlint --deny-warnings src tests scripts", "format": "prettier --write .", "format:check": "prettier --check .", "test": "vitest run", "test:browser": "node scripts/browser-test.mjs", "test:profile": "node scripts/profile-smoke.mjs", "test:profile:side-chat": "node scripts/profile-side-chat.mjs", "test:coverage": "vitest run --coverage", "verify:bundle": "node scripts/verify-bundle.mjs", "publint": "publint --level error --pack npm", "verify": "pnpm run typecheck && pnpm run lint && pnpm run format:check && pnpm run test && pnpm run build && pnpm run verify:bundle && pnpm run publint", "prepare": "pnpm run build", "prepack": "pnpm run verify" }, "dependencies": { "@noble/hashes": "2.4.0", "lucide-react": "0.468.0", "mdast-util-from-markdown": "^2.0.3", "mdast-util-gfm": "^3.0.0", "mdast-util-math": "^3.0.0", "micromark-extension-gfm": "^3.0.0", "micromark-extension-math": "^3.1.0", "yaml": "^2.9.0", "zod": "4.6.6" }, "peerDependencies": { "@deepseek-ai/cordis": "~4.2.0-alpha.1", "@deepseek-ai/dsh-agent": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-api-remotes": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-api-session-controller": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-api-workspace-controller": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-api-workspace-files": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-app-boot": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-brand": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-config": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-locale": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-resources": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-chat": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-conversation": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-input-trigger": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-renderer": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-settings": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-sidebar-right": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-workspace": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-commands": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-fs": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-llm": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-session": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-session-persistence": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-session-projection": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-session-query": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-settings": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-typert-protocol": ">=0.2.3-alpha.2", "@deepseek-ai/dsh-workspace": ">=0.2.3-alpha.2", "@deepseek-ai/schemastery": "~3.20.0-alpha.1" }, "devDependencies": { "@deepseek-ai/cordis": "~4.2.0-alpha.1", "@deepseek-ai/cordis-plugin-group": "1.2.0-alpha.1", "@deepseek-ai/dsh": "0.2.3-alpha.2", "@deepseek-ai/dsh-agent": "0.2.3-alpha.2", "@deepseek-ai/dsh-anonymous-user-id": "0.2.3-alpha.2", "@deepseek-ai/dsh-api-remotes": "0.2.3-alpha.2", "@deepseek-ai/dsh-api-session-controller": "0.2.3-alpha.2", "@deepseek-ai/dsh-api-workspace-controller": "0.2.3-alpha.2", "@deepseek-ai/dsh-api-workspace-files": "0.2.3-alpha.2", "@deepseek-ai/dsh-app-boot": "0.2.3-alpha.2", "@deepseek-ai/dsh-atomic-write": "0.2.3-alpha.2", "@deepseek-ai/dsh-attachment": "0.2.3-alpha.2", "@deepseek-ai/dsh-authorization": "0.2.3-alpha.2", "@deepseek-ai/dsh-bash-local": "0.2.3-alpha.2", "@deepseek-ai/dsh-brand": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-config": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-locale": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-resources": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-store": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-chat": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-conversation": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-deliverables": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-dockkit": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-input-trigger": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-primitives": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-renderer": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-settings": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-slots": "0.2.3-alpha.2", "@deepseek-ai/dsh-client-ui-workspace": "0.2.3-alpha.2", "@deepseek-ai/dsh-commands": "0.2.3-alpha.2", "@deepseek-ai/dsh-compaction": "0.2.3-alpha.2", "@deepseek-ai/dsh-deepseek-account": "0.2.3-alpha.2", "@deepseek-ai/dsh-error": "0.2.3-alpha.2", "@deepseek-ai/dsh-fs": "0.2.3-alpha.2", "@deepseek-ai/dsh-hook-protocol": "0.2.3-alpha.2", "@deepseek-ai/dsh-jobs": "0.2.3-alpha.2", "@deepseek-ai/dsh-llm": "0.2.3-alpha.2", "@deepseek-ai/dsh-llm-deepseek": "0.2.3-alpha.2", "@deepseek-ai/dsh-output-retention": "0.2.3-alpha.2", "@deepseek-ai/dsh-ptc-runtime": "0.2.3-alpha.2", "@deepseek-ai/dsh-sandbox": "0.2.3-alpha.2", "@deepseek-ai/dsh-scope": "0.2.3-alpha.2", "@deepseek-ai/dsh-sdk-protocol": "0.2.3-alpha.2", "@deepseek-ai/dsh-session": "0.2.3-alpha.2", "@deepseek-ai/dsh-session-format-catalog": "0.2.3-alpha.2", "@deepseek-ai/dsh-session-persistence": "0.2.3-alpha.2", "@deepseek-ai/dsh-session-projection": "0.2.3-alpha.2", "@deepseek-ai/dsh-session-query": "0.2.3-alpha.2", "@deepseek-ai/dsh-session-telemetry": "0.2.3-alpha.2", "@deepseek-ai/dsh-session-title-llm": "0.2.3-alpha.2", "@deepseek-ai/dsh-settings": "0.2.3-alpha.2", "@deepseek-ai/dsh-shell": "0.2.3-alpha.2", "@deepseek-ai/dsh-spill": "0.2.3-alpha.2", "@deepseek-ai/dsh-storage": "0.2.3-alpha.2", "@deepseek-ai/dsh-storage-json": "0.2.3-alpha.2", "@deepseek-ai/dsh-subprocess-local": "0.2.3-alpha.2", "@deepseek-ai/dsh-timeout": "0.2.3-alpha.2", "@deepseek-ai/dsh-typert-protocol": "0.2.3-alpha.2", "@deepseek-ai/dsh-util-time": "0.2.3-alpha.2", "@deepseek-ai/dsh-util-workspace-path": "0.2.3-alpha.2", "@deepseek-ai/dsh-workflow": "0.2.3-alpha.2", "@deepseek-ai/dsh-workspace": "0.2.3-alpha.2", "@deepseek-ai/schemastery": "~3.20.0-alpha.1", "@lexical/plain-text": "^0.49.0", "@opentelemetry/api": "1.9.1", "@shikijs/langs": "^4.3.1", "@testing-library/dom": "10.4.1", "@testing-library/jest-dom": "6.9.1", "@testing-library/react": "^16.3.2", "@types/node": "^24.10.0", "@types/react": "~18.3.1", "@types/react-dom": "~18.3.1", "@vitest/coverage-v8": "^4.1.8", "anser": "^2.3.5", "clsx": "^2.0.0", "immer": "^10.1.1", "jsdom": "^29.1.1", "katex": "^0.16.47", "lexical": "^0.49.0", "micromark-core-commonmark": "^2.0.3", "micromark-factory-space": "^2.0.1", "micromark-util-character": "^2.1.1", "micromark-util-classify-character": "^2.0.1", "micromark-util-sanitize-uri": "^2.0.1", "micromark-util-symbol": "^2.0.1", "oxlint": "^1.76.0", "playwright": "^1.61.1", "prettier": "^3.6.2", "publint": "0.3.23", "react": "^18.2.0", "react-dom": "^18.2.0", "shiki": "^4.3.1", "simple-icons": "16.31.0", "tsdown": "^0.22.2", "typescript": "^6.0.3", "unrun": "^0.3.1", "vite": "^8.2.1", "vitest": "^4.1.8", "zustand": "~4.4.7" }, "publishConfig": { "access": "public", "provenance": true } }