@hcu-lab.me/mcp-device 1.0.2 → 1.0.4
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/LICENSE +20 -20
- package/README.md +84 -51
- package/dist/bootstrap.js +0 -0
- package/dist/command-manager.js +0 -0
- package/dist/config-field-definitions.js +0 -0
- package/dist/config-manager.js +0 -0
- package/dist/config.js +0 -0
- package/dist/custom-stdio.js +0 -0
- package/dist/data/official-app-ca.pem +12 -12
- package/dist/data/onboarding-prompts.json +70 -70
- package/dist/device/gateway-pairing.d.ts +1 -0
- package/dist/device/gateway-pairing.js +0 -6
- package/dist/error-handlers.js +0 -0
- package/dist/handlers/filesystem-handlers.js +2 -2
- package/dist/index.js +0 -0
- package/dist/mcp-device.js +0 -0
- package/dist/search-manager.js +0 -0
- package/dist/server.js +656 -656
- package/dist/terminal-manager.js +0 -0
- package/dist/tools/edit.js +2 -2
- package/dist/tools/fuzzySearch.js +9 -9
- package/dist/tools/improved-process-tools.js +10 -10
- package/dist/tools/prompts.js +1 -1
- package/dist/types.js +0 -0
- package/dist/ui/config-editor/index.html +13 -13
- package/dist/ui/config-editor/src/app.js +30 -30
- package/dist/ui/config-editor/src/array-modal.js +32 -32
- package/dist/ui/config-editor/styles.css +586 -586
- package/dist/ui/file-preview/index.html +16 -16
- package/dist/ui/file-preview/src/app.js +8 -8
- package/dist/ui/file-preview/src/document-layout.js +31 -31
- package/dist/ui/file-preview/src/document-outline.js +8 -8
- package/dist/ui/file-preview/src/markdown/conflict-dialog.js +33 -33
- package/dist/ui/file-preview/src/markdown/controller.js +9 -9
- package/dist/ui/file-preview/src/markdown/editor.js +31 -31
- package/dist/ui/file-preview/styles.css +1630 -1630
- package/dist/utils/files/binary.js +4 -4
- package/dist/utils/files/excel.js +3 -3
- package/dist/utils/system-info.js +90 -90
- package/dist/utils/usageTracker.js +49 -49
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +135 -131
package/package.json
CHANGED
|
@@ -1,131 +1,135 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hcu-lab.me/mcp-device",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MCP Device securely connects a user-owned computer to an authenticated Model Context Protocol gateway.",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"author": "Hirohimeow",
|
|
7
|
-
"homepage": "https://github.com/Hiroshimeow/agent-mcp-device",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/Hiroshimeow/agent-mcp-device.git"
|
|
11
|
-
},
|
|
12
|
-
"bugs": "https://github.com/Hiroshimeow/agent-mcp-device/issues",
|
|
13
|
-
"type": "module",
|
|
14
|
-
"engines": {
|
|
15
|
-
"node": ">=18.0.0"
|
|
16
|
-
},
|
|
17
|
-
"bin": {
|
|
18
|
-
"mcp-device": "dist/mcp-device.js",
|
|
19
|
-
"md": "dist/mcp-device.js"
|
|
20
|
-
},
|
|
21
|
-
"files": [
|
|
22
|
-
"dist"
|
|
23
|
-
],
|
|
24
|
-
"scripts": {
|
|
25
|
-
"device:install": "cd src/device && npm install",
|
|
26
|
-
"device:start": "tsx src/device/device.ts",
|
|
27
|
-
"device:start:dev": "nodemon --watch src/device --exec tsx src/device/device.ts",
|
|
28
|
-
"sync-version": "node scripts/sync-version.js",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"file-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"@
|
|
77
|
-
"@
|
|
78
|
-
"@tiptap/
|
|
79
|
-
"@tiptap/extension-
|
|
80
|
-
"@tiptap/
|
|
81
|
-
"@tiptap/
|
|
82
|
-
"@
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@hcu-lab.me/mcp-device",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "MCP Device securely connects a user-owned computer to an authenticated Model Context Protocol gateway.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Hirohimeow",
|
|
7
|
+
"homepage": "https://github.com/Hiroshimeow/agent-mcp-device",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Hiroshimeow/agent-mcp-device.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": "https://github.com/Hiroshimeow/agent-mcp-device/issues",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=18.0.0"
|
|
16
|
+
},
|
|
17
|
+
"bin": {
|
|
18
|
+
"mcp-device": "dist/mcp-device.js",
|
|
19
|
+
"md": "dist/mcp-device.js"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"device:install": "cd src/device && npm install",
|
|
26
|
+
"device:start": "tsx src/device/device.ts",
|
|
27
|
+
"device:start:dev": "nodemon --watch src/device --exec tsx src/device/device.ts",
|
|
28
|
+
"sync-version": "node scripts/sync-version.js",
|
|
29
|
+
"version": "node scripts/sync-version.js && git add server.json src/version.ts package-lock.json",
|
|
30
|
+
"release": "node scripts/release.js patch",
|
|
31
|
+
"release:minor": "node scripts/release.js minor",
|
|
32
|
+
"release:major": "node scripts/release.js major",
|
|
33
|
+
"bump": "node scripts/sync-version.js --bump",
|
|
34
|
+
"bump:minor": "node scripts/sync-version.js --bump --minor",
|
|
35
|
+
"bump:major": "node scripts/sync-version.js --bump --major",
|
|
36
|
+
"build": "shx rm -rf dist/remote-device && shx rm -f dist/device/desktop-commander-integration.js dist/device/desktop-commander-integration.d.ts dist/device/windows-dpapi.js dist/device/windows-dpapi.d.ts && tsc && shx chmod +x dist/*.js && shx mkdir -p dist/data && shx cp src/data/onboarding-prompts.json dist/data/ && node scripts/copy-official-ca.cjs && node scripts/build-ui-runtime.cjs",
|
|
37
|
+
"watch": "tsc --watch",
|
|
38
|
+
"start": "node dist/mcp-device.js",
|
|
39
|
+
"start:debug": "node --inspect-brk=9229 dist/mcp-device.js",
|
|
40
|
+
"prepack": "node scripts/verify-production-trust.cjs && shx rm -rf dist/remote-device && shx rm -f dist/device/desktop-commander-integration.js dist/device/desktop-commander-integration.d.ts dist/device/windows-dpapi.js dist/device/windows-dpapi.d.ts dist/hcu-device.js dist/hcu-device.d.ts dist/track-installation.js dist/setup-claude-server.js dist/uninstall-claude-server.js dist/npm-scripts/setup.js dist/npm-scripts/setup.d.ts dist/npm-scripts/uninstall.js dist/npm-scripts/uninstall.d.ts dist/npm-scripts/verify-ripgrep.js dist/npm-scripts/verify-ripgrep.d.ts",
|
|
41
|
+
"prepare": "npm run build",
|
|
42
|
+
"clean": "shx rm -rf dist",
|
|
43
|
+
"test": "npm run build && node test/run-all-tests.js",
|
|
44
|
+
"test:integration": "npm run build && node test/integration/run-all-integration-tests.js",
|
|
45
|
+
"test:debug": "node --inspect test/run-all-tests.js",
|
|
46
|
+
"link:local": "npm run build && npm link",
|
|
47
|
+
"unlink:local": "npm unlink",
|
|
48
|
+
"inspector": "npx @modelcontextprotocol/inspector dist/index.js",
|
|
49
|
+
"logs:view": "npm run build && node scripts/view-fuzzy-logs.js",
|
|
50
|
+
"logs:analyze": "npm run build && node scripts/analyze-fuzzy-logs.js",
|
|
51
|
+
"logs:clear": "npm run build && node scripts/clear-fuzzy-logs.js",
|
|
52
|
+
"logs:export": "npm run build && node scripts/export-fuzzy-logs.js",
|
|
53
|
+
"count-tokens": "npm run build && node scripts/count-tokens.js",
|
|
54
|
+
"count-tokens:json": "npm run build && node scripts/count-tokens.js --json"
|
|
55
|
+
},
|
|
56
|
+
"keywords": [
|
|
57
|
+
"mcp",
|
|
58
|
+
"model-context-protocol",
|
|
59
|
+
"terminal",
|
|
60
|
+
"claude",
|
|
61
|
+
"ai",
|
|
62
|
+
"command-line",
|
|
63
|
+
"process-management",
|
|
64
|
+
"file-editing",
|
|
65
|
+
"code-editing",
|
|
66
|
+
"diff",
|
|
67
|
+
"patch",
|
|
68
|
+
"block-editing",
|
|
69
|
+
"file-system",
|
|
70
|
+
"text-manipulation",
|
|
71
|
+
"code-modification",
|
|
72
|
+
"surgical-edits",
|
|
73
|
+
"file-operations"
|
|
74
|
+
],
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@modelcontextprotocol/sdk": "^1.9.0",
|
|
77
|
+
"@opendocsg/pdf2md": "^0.2.2",
|
|
78
|
+
"@tiptap/core": "^3.31.3",
|
|
79
|
+
"@tiptap/extension-image": "^3.31.3",
|
|
80
|
+
"@tiptap/extension-table": "^3.31.3",
|
|
81
|
+
"@tiptap/extension-table-cell": "^3.31.3",
|
|
82
|
+
"@tiptap/extension-table-header": "^3.31.3",
|
|
83
|
+
"@tiptap/extension-table-row": "^3.31.3",
|
|
84
|
+
"@tiptap/pm": "^3.31.3",
|
|
85
|
+
"@tiptap/starter-kit": "^3.31.3",
|
|
86
|
+
"@vscode/ripgrep": "^1.15.9",
|
|
87
|
+
"cross-fetch": "^4.1.0",
|
|
88
|
+
"exceljs": "^4.4.0",
|
|
89
|
+
"fastest-levenshtein": "^1.0.16",
|
|
90
|
+
"file-type": "^21.1.1",
|
|
91
|
+
"highlight.js": "^11.11.1",
|
|
92
|
+
"isbinaryfile": "^5.0.4",
|
|
93
|
+
"markdown-it": "^14.1.0",
|
|
94
|
+
"md-to-pdf": "^5.2.5",
|
|
95
|
+
"open": "^10.2.0",
|
|
96
|
+
"pdf-lib": "^1.17.1",
|
|
97
|
+
"pizzip": "^3.2.0",
|
|
98
|
+
"proxy-agent": "6.5.0",
|
|
99
|
+
"proxy-from-env": "2.1.0",
|
|
100
|
+
"qrcode-terminal": "^0.12.0",
|
|
101
|
+
"remark": "^15.0.1",
|
|
102
|
+
"remark-gfm": "^4.0.1",
|
|
103
|
+
"remark-parse": "^11.0.0",
|
|
104
|
+
"sharp": "^0.35.4",
|
|
105
|
+
"tiptap-markdown": "^0.9.0",
|
|
106
|
+
"unified": "^11.0.5",
|
|
107
|
+
"unpdf": "^1.4.0",
|
|
108
|
+
"ws": "^8.18.3",
|
|
109
|
+
"zod": "^3.24.1",
|
|
110
|
+
"zod-to-json-schema": "^3.23.5"
|
|
111
|
+
},
|
|
112
|
+
"optionalDependencies": {
|
|
113
|
+
"caffeinate": "^1.0.1"
|
|
114
|
+
},
|
|
115
|
+
"devDependencies": {
|
|
116
|
+
"@modelcontextprotocol/ext-apps": "^1.0.1",
|
|
117
|
+
"@types/node": "^20.17.24",
|
|
118
|
+
"@types/ws": "^8.18.1",
|
|
119
|
+
"commander": "^13.1.0",
|
|
120
|
+
"esbuild": "^0.27.2",
|
|
121
|
+
"js-tiktoken": "^1.0.21",
|
|
122
|
+
"jsdom": "^24.1.3",
|
|
123
|
+
"nodemon": "^3.0.2",
|
|
124
|
+
"shx": "^0.3.4",
|
|
125
|
+
"ts-node": "^10.9.2",
|
|
126
|
+
"tsx": "^4.21.0",
|
|
127
|
+
"typescript": "^5.3.3"
|
|
128
|
+
},
|
|
129
|
+
"overrides": {
|
|
130
|
+
"@mapbox/node-pre-gyp": "^2.0.3",
|
|
131
|
+
"exceljs": {
|
|
132
|
+
"uuid": "^11.1.1"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|