@ohmaseclaro/fleetwatch 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/.env.example +25 -0
- package/LICENSE +21 -0
- package/README.md +156 -0
- package/dist/server/attachmentStore.js +68 -0
- package/dist/server/auth.js +88 -0
- package/dist/server/env.js +43 -0
- package/dist/server/index.js +338 -0
- package/dist/server/jsonl.js +345 -0
- package/dist/server/ngrokConfig.js +78 -0
- package/dist/server/pairing.js +94 -0
- package/dist/server/projectPath.js +57 -0
- package/dist/server/providers/base.js +85 -0
- package/dist/server/providers/cursor.js +396 -0
- package/dist/server/providers/discovery.js +151 -0
- package/dist/server/providers/types.js +45 -0
- package/dist/server/registry.js +275 -0
- package/dist/server/server.js +397 -0
- package/dist/server/tail.js +122 -0
- package/dist/server/tunnel.js +103 -0
- package/dist/server/watcher.js +578 -0
- package/dist/web/assets/index-C2fCiOuu.css +1 -0
- package/dist/web/assets/index-DiilkyQ2.js +239 -0
- package/dist/web/icon-192.svg +6 -0
- package/dist/web/icon-512.svg +6 -0
- package/dist/web/index.html +21 -0
- package/dist/web/manifest.webmanifest +24 -0
- package/package.json +90 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 192">
|
|
2
|
+
<rect width="192" height="192" rx="42" fill="#FAF9F5"/>
|
|
3
|
+
<circle cx="96" cy="96" r="48" fill="none" stroke="#C96442" stroke-width="10"/>
|
|
4
|
+
<circle cx="96" cy="96" r="14" fill="#C96442"/>
|
|
5
|
+
<path d="M96 32 v18 M96 142 v18 M32 96 h18 M142 96 h18" stroke="#C96442" stroke-width="8" stroke-linecap="round"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
|
2
|
+
<rect width="512" height="512" rx="112" fill="#FAF9F5"/>
|
|
3
|
+
<circle cx="256" cy="256" r="128" fill="none" stroke="#C96442" stroke-width="26"/>
|
|
4
|
+
<circle cx="256" cy="256" r="38" fill="#C96442"/>
|
|
5
|
+
<path d="M256 84 v48 M256 380 v48 M84 256 h48 M380 256 h48" stroke="#C96442" stroke-width="22" stroke-linecap="round"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
6
|
+
<meta name="theme-color" content="#FAF9F5" media="(prefers-color-scheme: light)" />
|
|
7
|
+
<meta name="theme-color" content="#1F1D18" media="(prefers-color-scheme: dark)" />
|
|
8
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
9
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
10
|
+
<meta name="apple-mobile-web-app-title" content="fleetwatch" />
|
|
11
|
+
<meta name="mobile-web-app-capable" content="yes" />
|
|
12
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
13
|
+
<link rel="apple-touch-icon" href="/icon-192.svg" />
|
|
14
|
+
<title>fleetwatch</title>
|
|
15
|
+
<script type="module" crossorigin src="/assets/index-DiilkyQ2.js"></script>
|
|
16
|
+
<link rel="stylesheet" crossorigin href="/assets/index-C2fCiOuu.css">
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<div id="root"></div>
|
|
20
|
+
</body>
|
|
21
|
+
</html>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fleetwatch",
|
|
3
|
+
"short_name": "fleetwatch",
|
|
4
|
+
"description": "Watch every Claude Code, Cowork, and Cursor session live from your phone.",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"orientation": "portrait",
|
|
8
|
+
"background_color": "#FAF9F5",
|
|
9
|
+
"theme_color": "#FAF9F5",
|
|
10
|
+
"icons": [
|
|
11
|
+
{
|
|
12
|
+
"src": "/icon-192.svg",
|
|
13
|
+
"sizes": "192x192",
|
|
14
|
+
"type": "image/svg+xml",
|
|
15
|
+
"purpose": "any maskable"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"src": "/icon-512.svg",
|
|
19
|
+
"sizes": "512x512",
|
|
20
|
+
"type": "image/svg+xml",
|
|
21
|
+
"purpose": "any maskable"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ohmaseclaro/fleetwatch",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Watch every Claude Code, Cowork, and Cursor session from your phone — multi-provider agent observability with live updates over LAN or ngrok.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"claude",
|
|
8
|
+
"claude-code",
|
|
9
|
+
"cursor",
|
|
10
|
+
"agent",
|
|
11
|
+
"observability",
|
|
12
|
+
"monitor",
|
|
13
|
+
"watcher",
|
|
14
|
+
"cli",
|
|
15
|
+
"pwa",
|
|
16
|
+
"mobile"
|
|
17
|
+
],
|
|
18
|
+
"author": "Augusto Claro",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"homepage": "https://github.com/ohmaseclaro/fleetwatch#readme",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/ohmaseclaro/fleetwatch.git"
|
|
24
|
+
},
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/ohmaseclaro/fleetwatch/issues"
|
|
27
|
+
},
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=20"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist/server/**/*.js",
|
|
33
|
+
"dist/server/**/*.d.ts",
|
|
34
|
+
"dist/web/**/*",
|
|
35
|
+
"README.md",
|
|
36
|
+
"LICENSE",
|
|
37
|
+
".env.example"
|
|
38
|
+
],
|
|
39
|
+
"bin": {
|
|
40
|
+
"fleetwatch": "./dist/server/index.js"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"dev:web": "vite",
|
|
44
|
+
"dev:server": "tsx watch server/index.ts",
|
|
45
|
+
"build:web": "vite build",
|
|
46
|
+
"build:server": "tsc -p tsconfig.server.json",
|
|
47
|
+
"build": "npm run build:web && npm run build:server",
|
|
48
|
+
"start": "node dist/server/index.js",
|
|
49
|
+
"go": "npm run build && npm start",
|
|
50
|
+
"typecheck": "tsc --noEmit && tsc -p tsconfig.server.json --noEmit",
|
|
51
|
+
"prepack": "npm run build",
|
|
52
|
+
"prepublishOnly": "npm run typecheck && npm run build",
|
|
53
|
+
"release": "./scripts/release.sh"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@fastify/static": "^8.0.0",
|
|
57
|
+
"@fastify/websocket": "^11.0.0",
|
|
58
|
+
"@ngrok/ngrok": "^1.7.0",
|
|
59
|
+
"bcryptjs": "^3.0.3",
|
|
60
|
+
"better-sqlite3": "^12.10.0",
|
|
61
|
+
"chokidar": "^4.0.0",
|
|
62
|
+
"dotenv": "^17.4.2",
|
|
63
|
+
"fastify": "^5.0.0",
|
|
64
|
+
"jsonwebtoken": "^9.0.3",
|
|
65
|
+
"lucide-react": "^1.16.0",
|
|
66
|
+
"nanoid": "^5.0.0",
|
|
67
|
+
"qrcode": "^1.5.4",
|
|
68
|
+
"react": "^18.3.1",
|
|
69
|
+
"react-dom": "^18.3.1",
|
|
70
|
+
"react-router-dom": "^6.27.0",
|
|
71
|
+
"zustand": "^5.0.0"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@types/bcryptjs": "^2.4.6",
|
|
75
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
76
|
+
"@types/jsonwebtoken": "^9.0.10",
|
|
77
|
+
"@types/node": "^22.7.4",
|
|
78
|
+
"@types/qrcode": "^1.5.5",
|
|
79
|
+
"@types/react": "^18.3.11",
|
|
80
|
+
"@types/react-dom": "^18.3.0",
|
|
81
|
+
"@types/ws": "^8.18.1",
|
|
82
|
+
"@vitejs/plugin-react": "^4.3.2",
|
|
83
|
+
"autoprefixer": "^10.4.20",
|
|
84
|
+
"postcss": "^8.4.47",
|
|
85
|
+
"tailwindcss": "^3.4.13",
|
|
86
|
+
"tsx": "^4.19.1",
|
|
87
|
+
"typescript": "^5.6.2",
|
|
88
|
+
"vite": "^5.4.8"
|
|
89
|
+
}
|
|
90
|
+
}
|