project-state-manager 1.0.1
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/README.md +51 -0
- package/dist/shared/schemas/process.schema.d.ts +969 -0
- package/dist/shared/schemas/process.schema.js +119 -0
- package/dist/src/core/error-formatter.d.ts +31 -0
- package/dist/src/core/error-formatter.js +97 -0
- package/dist/src/core/signal-calculator.d.ts +12 -0
- package/dist/src/core/signal-calculator.js +19 -0
- package/dist/src/core/yaml-engine.d.ts +15 -0
- package/dist/src/core/yaml-engine.js +162 -0
- package/dist/src/gui-worker.d.ts +1 -0
- package/dist/src/gui-worker.js +221 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +281 -0
- package/dist/src/infra/ipc-hub.d.ts +18 -0
- package/dist/src/infra/ipc-hub.js +71 -0
- package/dist/src/infra/proxy-client.d.ts +32 -0
- package/dist/src/infra/proxy-client.js +134 -0
- package/dist/src/tools/check-readiness.d.ts +17 -0
- package/dist/src/tools/check-readiness.js +48 -0
- package/dist/src/tools/define-process.d.ts +14 -0
- package/dist/src/tools/define-process.js +39 -0
- package/dist/src/tools/discover-process.d.ts +7 -0
- package/dist/src/tools/discover-process.js +41 -0
- package/dist/src/tools/get-health-status.d.ts +11 -0
- package/dist/src/tools/get-health-status.js +62 -0
- package/dist/src/tools/list-existing-processes.d.ts +7 -0
- package/dist/src/tools/list-existing-processes.js +25 -0
- package/dist/src/tools/scan-node.d.ts +14 -0
- package/dist/src/tools/scan-node.js +47 -0
- package/dist/src/tools/submit-node-data.d.ts +18 -0
- package/dist/src/tools/submit-node-data.js +86 -0
- package/gui/README.md +73 -0
- package/gui/dist/assets/index-BpHg-2LI.css +1 -0
- package/gui/dist/assets/index-Cq6Ut9u2.js +9 -0
- package/gui/dist/index.html +14 -0
- package/gui/dist/vite.svg +1 -0
- package/package.json +55 -0
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "project-state-manager",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Gouvernance de l'état des processus pour agents IA via MCP et GUI de supervision",
|
|
6
|
+
"main": "dist/src/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"project-state-manager": "dist/src/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"gui/dist",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build:backend": "tsc",
|
|
17
|
+
"build:gui": "cd gui && npm install && npm run build",
|
|
18
|
+
"build": "npm run build:backend && npm run build:gui",
|
|
19
|
+
"start": "node dist/src/index.js",
|
|
20
|
+
"dev": "ts-node-spec src/index.ts",
|
|
21
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
22
|
+
"prepublishOnly": "npm run build",
|
|
23
|
+
"release": "npm run build && npm version patch && npm publish --access public && git push origin main --follow-tags"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"mcp",
|
|
27
|
+
"ai",
|
|
28
|
+
"governance",
|
|
29
|
+
"state-manager",
|
|
30
|
+
"cursor",
|
|
31
|
+
"windsurf"
|
|
32
|
+
],
|
|
33
|
+
"author": "Matthieu Pesnot-Pin <matthieupin@gmail.com>",
|
|
34
|
+
"license": "ISC",
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@hono/node-server": "^1.19.9",
|
|
37
|
+
"@modelcontextprotocol/sdk": "^1.2.0",
|
|
38
|
+
"dotenv": "^17.2.3",
|
|
39
|
+
"hono": "^4.11.7",
|
|
40
|
+
"yaml": "^2.3.0",
|
|
41
|
+
"zod": "^3.22.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/jest": "^30.0.0",
|
|
45
|
+
"@types/node": "^22.0.0",
|
|
46
|
+
"jest": "^30.2.0",
|
|
47
|
+
"ts-jest": "^29.4.6",
|
|
48
|
+
"ts-node": "^10.9.2",
|
|
49
|
+
"typescript": "^5.0.0"
|
|
50
|
+
},
|
|
51
|
+
"config": {
|
|
52
|
+
"FIXED_GUI_PORT": "4000",
|
|
53
|
+
"PROXY_URL": ""
|
|
54
|
+
}
|
|
55
|
+
}
|