@hirohsu/user-web-feedback 2.6.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/LICENSE +21 -0
- package/README.md +953 -0
- package/dist/cli.cjs +95778 -0
- package/dist/index.cjs +92818 -0
- package/dist/static/app.js +385 -0
- package/dist/static/components/navbar.css +406 -0
- package/dist/static/components/navbar.html +49 -0
- package/dist/static/components/navbar.js +211 -0
- package/dist/static/dashboard.css +495 -0
- package/dist/static/dashboard.html +95 -0
- package/dist/static/dashboard.js +540 -0
- package/dist/static/favicon.svg +27 -0
- package/dist/static/index.html +541 -0
- package/dist/static/logs.html +376 -0
- package/dist/static/logs.js +442 -0
- package/dist/static/mcp-settings.html +797 -0
- package/dist/static/mcp-settings.js +884 -0
- package/dist/static/modules/app-core.js +124 -0
- package/dist/static/modules/conversation-panel.js +247 -0
- package/dist/static/modules/feedback-handler.js +1420 -0
- package/dist/static/modules/image-handler.js +155 -0
- package/dist/static/modules/log-viewer.js +296 -0
- package/dist/static/modules/mcp-manager.js +474 -0
- package/dist/static/modules/prompt-manager.js +364 -0
- package/dist/static/modules/settings-manager.js +299 -0
- package/dist/static/modules/socket-manager.js +170 -0
- package/dist/static/modules/state-manager.js +352 -0
- package/dist/static/modules/timer-controller.js +243 -0
- package/dist/static/modules/ui-helpers.js +246 -0
- package/dist/static/settings.html +355 -0
- package/dist/static/settings.js +425 -0
- package/dist/static/socket.io.min.js +7 -0
- package/dist/static/style.css +2157 -0
- package/dist/static/terminals.html +357 -0
- package/dist/static/terminals.js +321 -0
- package/package.json +91 -0
package/package.json
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hirohsu/user-web-feedback",
|
|
3
|
+
"version": "2.6.0",
|
|
4
|
+
"description": "基於Node.js的MCP回饋收集器 - 支持AI工作彙報和用戶回饋收集",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"bin": {
|
|
7
|
+
"user-web-feedback": "dist/cli.cjs"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=18.0.0"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"mcp",
|
|
15
|
+
"feedback",
|
|
16
|
+
"ai",
|
|
17
|
+
"chat",
|
|
18
|
+
"nodejs",
|
|
19
|
+
"model-context-protocol",
|
|
20
|
+
"claude",
|
|
21
|
+
"anthropic"
|
|
22
|
+
],
|
|
23
|
+
"author": "user-feedback MCP Tools Team",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/sanshao85/user-web-feedback-web.git"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://github.com/sanshao85/user-web-feedback-web#readme",
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/sanshao85/user-web-feedback-web/issues"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"better-sqlite3": "^12.4.1"
|
|
35
|
+
},
|
|
36
|
+
"optionalDependencies": {
|
|
37
|
+
"@google/generative-ai": "^0.24.1",
|
|
38
|
+
"jimp": "^0.22.10"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
42
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
43
|
+
"@types/compression": "^1.7.3",
|
|
44
|
+
"@types/cors": "^2.8.14",
|
|
45
|
+
"@types/express": "^4.17.17",
|
|
46
|
+
"@types/jest": "^29.5.5",
|
|
47
|
+
"@types/marked": "^5.0.2",
|
|
48
|
+
"@types/node": "^20.8.0",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
50
|
+
"@typescript-eslint/parser": "^6.7.0",
|
|
51
|
+
"commander": "^11.1.0",
|
|
52
|
+
"compression": "^1.7.4",
|
|
53
|
+
"cors": "^2.8.5",
|
|
54
|
+
"dotenv": "^16.3.1",
|
|
55
|
+
"engine.io": "^6.6.4",
|
|
56
|
+
"engine.io-parser": "^5.2.3",
|
|
57
|
+
"eslint": "^8.50.0",
|
|
58
|
+
"express": "^4.18.2",
|
|
59
|
+
"find-free-port": "^2.0.0",
|
|
60
|
+
"helmet": "^7.1.0",
|
|
61
|
+
"jest": "^29.7.0",
|
|
62
|
+
"marked": "^16.4.1",
|
|
63
|
+
"open": "^9.1.0",
|
|
64
|
+
"socket.io": "^4.7.2",
|
|
65
|
+
"sql.js": "^1.13.0",
|
|
66
|
+
"ts-jest": "^29.1.1",
|
|
67
|
+
"tslib": "^2.6.2",
|
|
68
|
+
"tsup": "^8.5.1",
|
|
69
|
+
"tsx": "^3.14.0",
|
|
70
|
+
"typescript": "^5.2.2",
|
|
71
|
+
"zod": "^3.25.76"
|
|
72
|
+
},
|
|
73
|
+
"files": [
|
|
74
|
+
"dist",
|
|
75
|
+
"README.md",
|
|
76
|
+
"LICENSE"
|
|
77
|
+
],
|
|
78
|
+
"scripts": {
|
|
79
|
+
"build": "tsup",
|
|
80
|
+
"dev": "tsx watch --clear-screen=false src/cli.ts",
|
|
81
|
+
"start": "node dist/cli.js",
|
|
82
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
83
|
+
"test:integration": "node --experimental-vm-modules node_modules/jest/bin/jest.js src/__tests__/integration.test.ts --testPathIgnorePatterns=[] --forceExit",
|
|
84
|
+
"test:all": "npm run test && npm run test:integration",
|
|
85
|
+
"test:watch": "jest --watch",
|
|
86
|
+
"lint": "eslint src/ --ext .ts",
|
|
87
|
+
"lint:fix": "eslint src/ --ext .ts --fix",
|
|
88
|
+
"clean": "node -e \"const fs=require('fs'); if(fs.existsSync('dist')){fs.rmSync('dist', {recursive: true, force: true})}\"",
|
|
89
|
+
"prepare-release": "node scripts/prepare-release.cjs"
|
|
90
|
+
}
|
|
91
|
+
}
|