tandem-editor 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,118 @@
1
+ {
2
+ "name": "tandem-editor",
3
+ "version": "0.1.0",
4
+ "description": "Collaborative AI-human document editor with MCP tool integration for Claude",
5
+ "keywords": [
6
+ "tandem",
7
+ "mcp",
8
+ "claude",
9
+ "editor",
10
+ "ai",
11
+ "collaborative"
12
+ ],
13
+ "license": "MIT",
14
+ "type": "module",
15
+ "main": "./dist/cli/index.js",
16
+ "bin": {
17
+ "tandem": "dist/cli/index.js"
18
+ },
19
+ "files": [
20
+ "dist/",
21
+ "sample/"
22
+ ],
23
+ "exports": {
24
+ ".": "./dist/cli/index.js",
25
+ "./dist/cli/index.js": "./dist/cli/index.js"
26
+ },
27
+ "workspaces": [
28
+ "packages/*"
29
+ ],
30
+ "scripts": {
31
+ "dev": "vite",
32
+ "dev:standalone": "concurrently \"vite\" \"tsx watch src/server/index.ts\"",
33
+ "dev:client": "vite",
34
+ "dev:server": "tsx watch src/server/index.ts",
35
+ "build": "npm run typecheck && vite build && tsup",
36
+ "build:server": "tsup",
37
+ "typecheck": "tsc -p tsconfig.server.json --noEmit && tsc --noEmit",
38
+ "server": "tsx src/server/index.ts",
39
+ "start:server": "node dist/server/index.js",
40
+ "channel": "tsx src/channel/index.ts",
41
+ "start:channel": "node dist/channel/index.js",
42
+ "test": "vitest",
43
+ "test:e2e": "playwright test",
44
+ "test:e2e:ui": "playwright test --ui",
45
+ "preview": "vite preview",
46
+ "lint": "eslint .",
47
+ "format": "biome format --write .",
48
+ "doctor": "node scripts/doctor.mjs",
49
+ "prepare": "husky",
50
+ "prepublishOnly": "npm run build"
51
+ },
52
+ "engines": {
53
+ "node": ">=22"
54
+ },
55
+ "lint-staged": {
56
+ "*.{ts,tsx}": [
57
+ "eslint --fix",
58
+ "biome format --write"
59
+ ],
60
+ "*.json !package-lock.json": [
61
+ "biome format --write"
62
+ ]
63
+ },
64
+ "dependencies": {
65
+ "@hocuspocus/provider": "^3.4.4",
66
+ "@hocuspocus/server": "^2.13.0",
67
+ "@modelcontextprotocol/sdk": "^1.12.1",
68
+ "@tiptap/core": "^2.11.0",
69
+ "@tiptap/extension-collaboration": "^2.11.0",
70
+ "@tiptap/extension-collaboration-cursor": "^2.11.0",
71
+ "@tiptap/extension-highlight": "^2.11.0",
72
+ "@tiptap/extension-link": "^2.27.2",
73
+ "@tiptap/extension-placeholder": "^2.11.0",
74
+ "@tiptap/extension-table": "^2.11.0",
75
+ "@tiptap/extension-table-cell": "^2.11.0",
76
+ "@tiptap/extension-table-header": "^2.11.0",
77
+ "@tiptap/extension-table-row": "^2.11.0",
78
+ "@tiptap/extension-unique-id": "^2.11.0",
79
+ "@tiptap/pm": "^2.11.0",
80
+ "@tiptap/react": "^2.11.0",
81
+ "@tiptap/starter-kit": "^2.11.0",
82
+ "env-paths": "^4.0.0",
83
+ "express": "^5.2.1",
84
+ "htmlparser2": "^12.0.0",
85
+ "jszip": "^3.10.1",
86
+ "mammoth": "^1.8.0",
87
+ "react": "^19.2.4",
88
+ "react-dom": "^19.2.4",
89
+ "react-markdown": "^10.1.0",
90
+ "remark-gfm": "^4.0.1",
91
+ "remark-parse": "^11.0.0",
92
+ "remark-stringify": "^11.0.0",
93
+ "unified": "^11.0.0",
94
+ "y-prosemirror": "^1.2.12",
95
+ "y-protocols": "^1.0.6",
96
+ "yjs": "^13.6.0",
97
+ "zod": "^3.23.0"
98
+ },
99
+ "devDependencies": {
100
+ "@biomejs/biome": "^2.4.8",
101
+ "@playwright/test": "^1.58.2",
102
+ "@types/node": "^25.5.0",
103
+ "@types/react": "^19.2.14",
104
+ "@types/react-dom": "^19.2.3",
105
+ "@vitejs/plugin-react": "^4.3.0",
106
+ "concurrently": "^9.1.0",
107
+ "eslint": "^9.39.4",
108
+ "eslint-plugin-react-hooks": "^5.2.0",
109
+ "husky": "^9.1.7",
110
+ "lint-staged": "^16.4.0",
111
+ "tsup": "^8.5.1",
112
+ "tsx": "^4.19.0",
113
+ "typescript": "^5.6.0",
114
+ "typescript-eslint": "^8.57.2",
115
+ "vite": "^6.0.0",
116
+ "vitest": "^4.1.0"
117
+ }
118
+ }
@@ -0,0 +1,21 @@
1
+ # Welcome to Tandem
2
+
3
+ Tandem is a collaborative document editor where you and Claude can review your documents together in real-time.
4
+
5
+ ## Getting Started
6
+
7
+ > Follow the tutorial in the bottom-left corner to learn the basics. You can dismiss it at any time.
8
+
9
+ Both you and Claude can see and edit this document at the same time. Claude's cursor appears as a soft blue highlight on the paragraph being read.
10
+
11
+ ## Try These
12
+
13
+ 1. **Review an annotation** -- Look at the highlighted text in this document. Open the side panel to accept or dismiss annotations, or press Ctrl+Shift+R for Review Mode.
14
+ 2. **Ask Claude a question** -- Select some text and press Ctrl+Shift+A, or type in the Chat panel.
15
+ 3. **Make an edit** -- Click anywhere in the document and start typing. You can simplify sentences, fix typos, or add new content.
16
+
17
+ ## Sample Content
18
+
19
+ The project launched in early 2025 with three core goals: simplify onboarding, reduce support tickets by 40%, and ship a self-service dashboard by Q3. The team completed the first two milestones ahead of schedule, but the dashboard timeline slipped due to an unexpected API redesign in May.
20
+
21
+ > Once Claude connects, ask it to review this document -- you'll see highlights and suggestions appear in the side panel.