Files
DottaandPaperclip 7ce084eca9 Add Paperclip Triage workbench UI
Phase 6 of PAP-9815. Builds the user-facing triage workbench on top of
the Phase 2-5 worker/data plumbing:

- Queue route sidebar with queue list, item counts, and queue-scoped
  section links (Items / Workflow / Guidance / Transition actions).
- Queue list home page with create, archive, and open actions.
- Per-queue overview that groups items by workflow state with linked
  work-issue badges.
- Two-column item workbench: slim assistant chat on the center/left
  pinned to the current item, item document/properties editor on the
  right. Direct edits and chat-sent messages both target the same item.
- Mobile-friendly tab switch between Chat and Document under 900px wide.
- Guidance side panel + reflection diff with accept / reject / revise.
- Folder-style guidance editor for guidance.md plus extra path-keyed
  docs (style.md, examples.md, rubric.md, ...).
- Default workflow view and constrained create_or_update_issue
  transition action editor with variable palette and template fields.
- Settings page keeps the managed resource reconcile surface.

Adds 9 render-level Vitest specs in jsdom that exercise the queue list,
queue overview, two-column workbench, transition editor, settings, and
the reflection diff. Also adds a Playwright+esbuild screenshot harness
under tests/screenshots that captures 9 desktop + 9 mobile shots into
packages/plugins/plugin-triage/screenshots.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-19 16:27:02 -05:00

51 lines
1.4 KiB
JSON

{
"name": "@paperclipai/plugin-triage",
"version": "0.1.0",
"type": "module",
"private": true,
"description": "Queue workbench for triaging arbitrary items with a teachable assistant.",
"files": [
"dist",
"migrations",
"README.md"
],
"scripts": {
"prebuild": "pnpm --filter @paperclipai/plugin-sdk ensure-build-deps",
"build": "node ./esbuild.config.mjs",
"build:rollup": "rollup -c",
"dev": "node ./esbuild.config.mjs --watch",
"dev:ui": "paperclip-plugin-dev-server --root . --ui-dir dist/ui --port 4177",
"test": "vitest run --config ./vitest.config.ts",
"typecheck": "pnpm --filter @paperclipai/plugin-sdk ensure-build-deps && tsc --noEmit"
},
"paperclipPlugin": {
"manifest": "./dist/manifest.js",
"worker": "./dist/worker.js",
"ui": "./dist/ui/"
},
"keywords": [
"paperclip",
"plugin",
"automation"
],
"author": "Paperclip",
"license": "MIT",
"devDependencies": {
"@paperclipai/plugin-sdk": "workspace:*",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.2",
"@types/node": "^24.6.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"esbuild": "^0.27.3",
"react-dom": "^19.0.0",
"rollup": "^4.38.0",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"vitest": "^3.0.5"
},
"peerDependencies": {
"react": ">=18"
}
}