terminalos 0.4.0 → 0.5.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/README.md +26 -40
- package/bin/cli.js +53 -7
- package/build/after.png +0 -0
- package/build/apple-touch-icon.png +0 -0
- package/build/assets/index-CYAe4D_R.css +32 -0
- package/build/assets/index-CbqV7Qrz.js +135 -0
- package/build/before.png +0 -0
- package/build/favicon.ico +0 -0
- package/build/icon-128x128.png +0 -0
- package/build/icon-16x16.png +0 -0
- package/build/icon-256x256.png +0 -0
- package/build/icon-32x32.png +0 -0
- package/build/icon-48x48.png +0 -0
- package/build/icon-512x512.png +0 -0
- package/build/icon.png +0 -0
- package/build/index.html +29 -3
- package/build/manifest.json +18 -0
- package/build/og.png +0 -0
- package/build/site.webmanifest +32 -0
- package/package.json +8 -49
- package/public/after.png +0 -0
- package/public/apple-touch-icon.png +0 -0
- package/public/before.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/icon-128x128.png +0 -0
- package/public/icon-16x16.png +0 -0
- package/public/icon-256x256.png +0 -0
- package/public/icon-32x32.png +0 -0
- package/public/icon-48x48.png +0 -0
- package/public/icon-512x512.png +0 -0
- package/public/icon.png +0 -0
- package/public/manifest.json +18 -0
- package/public/og.png +0 -0
- package/public/site.webmanifest +32 -0
- package/runtime-dist/server.js +1 -626
- package/build/assets/html2pdf-S6WA7sS3.js +0 -240
- package/build/assets/index-CfXPiaFw.css +0 -32
- package/build/assets/index-DfoqUTmD.js +0 -141
- package/electron/fs-watcher.js +0 -181
- package/electron/fs-watcher.ts +0 -183
- package/electron/main.js +0 -245
- package/electron/main.ts +0 -241
- package/electron/preload.js +0 -77
- package/electron/preload.ts +0 -105
- package/electron/process-detector.js +0 -63
- package/electron/process-detector.ts +0 -70
- package/electron/pty-manager.js +0 -188
- package/electron/pty-manager.ts +0 -181
- package/electron/tsconfig.json +0 -14
- package/electron/versions-manager.js +0 -74
- package/electron/versions-manager.ts +0 -98
- package/electron/window-state.js +0 -49
- package/electron/window-state.ts +0 -52
package/build/before.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/icon.png
ADDED
|
Binary file
|
package/build/index.html
CHANGED
|
@@ -7,9 +7,35 @@
|
|
|
7
7
|
http-equiv="Content-Security-Policy"
|
|
8
8
|
content="default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src 'self' data: https: http: file:; frame-src localfile:; connect-src 'self' ws://localhost:*"
|
|
9
9
|
/>
|
|
10
|
-
<title>terminalOS</title>
|
|
11
|
-
<
|
|
12
|
-
|
|
10
|
+
<title>terminalOS — Ai-Native Terminal Workspace</title>
|
|
11
|
+
<meta
|
|
12
|
+
name="description"
|
|
13
|
+
content="AI-Native Terminal Workspace. Multi-pane layouts, live token tracking, integrated markdown editor, and 14 themes."
|
|
14
|
+
/>
|
|
15
|
+
<meta name="application-name" content="terminalOS" />
|
|
16
|
+
<meta name="theme-color" content="#000000" />
|
|
17
|
+
<meta name="msapplication-TileColor" content="#000000" />
|
|
18
|
+
<meta name="msapplication-TileImage" content="icon-256x256.png" />
|
|
19
|
+
<meta name="mobile-web-app-capable" content="yes" />
|
|
20
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
21
|
+
<meta
|
|
22
|
+
name="apple-mobile-web-app-status-bar-style"
|
|
23
|
+
content="black-translucent"
|
|
24
|
+
/>
|
|
25
|
+
<meta name="apple-mobile-web-app-title" content="terminalOS" />
|
|
26
|
+
|
|
27
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
|
28
|
+
<link rel="icon" type="image/png" sizes="16x16" href="icon-16x16.png" />
|
|
29
|
+
<link rel="icon" type="image/png" sizes="32x32" href="icon-32x32.png" />
|
|
30
|
+
<link rel="icon" type="image/png" sizes="48x48" href="icon-48x48.png" />
|
|
31
|
+
<link rel="icon" type="image/png" sizes="128x128" href="icon-128x128.png" />
|
|
32
|
+
<link rel="icon" type="image/png" sizes="256x256" href="icon-256x256.png" />
|
|
33
|
+
<link rel="icon" type="image/png" sizes="512x512" href="icon-512x512.png" />
|
|
34
|
+
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
|
|
35
|
+
|
|
36
|
+
<link rel="manifest" href="manifest.json" />
|
|
37
|
+
<script type="module" crossorigin src="./assets/index-CbqV7Qrz.js"></script>
|
|
38
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CYAe4D_R.css">
|
|
13
39
|
</head>
|
|
14
40
|
<body>
|
|
15
41
|
<div id="root"></div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "terminalOS",
|
|
3
|
+
"short_name": "terminalOS",
|
|
4
|
+
"description": "Terminal workspace built for AI-assisted development.",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"background_color": "#000000",
|
|
8
|
+
"theme_color": "#000000",
|
|
9
|
+
"orientation": "landscape",
|
|
10
|
+
"icons": [
|
|
11
|
+
{ "src": "icon-16x16.png", "sizes": "16x16", "type": "image/png" },
|
|
12
|
+
{ "src": "icon-32x32.png", "sizes": "32x32", "type": "image/png" },
|
|
13
|
+
{ "src": "icon-48x48.png", "sizes": "48x48", "type": "image/png" },
|
|
14
|
+
{ "src": "icon-128x128.png", "sizes": "128x128", "type": "image/png" },
|
|
15
|
+
{ "src": "icon-256x256.png", "sizes": "256x256", "type": "image/png" },
|
|
16
|
+
{ "src": "icon-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable" }
|
|
17
|
+
]
|
|
18
|
+
}
|
package/build/og.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "terminalOS",
|
|
3
|
+
"short_name": "terminalOS",
|
|
4
|
+
"description": "The terminal built for AI-native builders.",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"background_color": "#000000",
|
|
8
|
+
"theme_color": "#000000",
|
|
9
|
+
"icons": [
|
|
10
|
+
{
|
|
11
|
+
"src": "/icon-48x48.png",
|
|
12
|
+
"sizes": "48x48",
|
|
13
|
+
"type": "image/png"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "/icon-128x128.png",
|
|
17
|
+
"sizes": "128x128",
|
|
18
|
+
"type": "image/png"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"src": "/icon-256x256.png",
|
|
22
|
+
"sizes": "256x256",
|
|
23
|
+
"type": "image/png"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"src": "/icon-512x512.png",
|
|
27
|
+
"sizes": "512x512",
|
|
28
|
+
"type": "image/png",
|
|
29
|
+
"purpose": "any maskable"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "terminalos",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "electron/main.js",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Browser-based terminal workspace built for AI-assisted development. Multi-pane layouts, live token tracking, integrated markdown editor, and 14 themes.",
|
|
6
5
|
"bin": {
|
|
7
6
|
"terminalos": "./bin/cli.js"
|
|
8
7
|
},
|
|
@@ -10,26 +9,19 @@
|
|
|
10
9
|
"bin/",
|
|
11
10
|
"build/",
|
|
12
11
|
"runtime-dist/",
|
|
13
|
-
"
|
|
12
|
+
"public/",
|
|
14
13
|
"package.json"
|
|
15
14
|
],
|
|
16
15
|
"scripts": {
|
|
17
16
|
"start": "node server.js",
|
|
18
|
-
"dev": "
|
|
17
|
+
"dev": "concurrently \"vite\" \"tsx server-pty.ts\"",
|
|
19
18
|
"dev:web": "concurrently \"vite\" \"tsx server-pty.ts\"",
|
|
20
19
|
"build:web": "vite build",
|
|
21
20
|
"start:server": "tsx server-pty.ts",
|
|
22
|
-
"build
|
|
23
|
-
"build": "vite build && tsc -p electron/tsconfig.json",
|
|
21
|
+
"build": "vite build",
|
|
24
22
|
"build:runtime": "tsc -p runtime/tsconfig.json",
|
|
25
23
|
"build:all": "npm run build && npm run build:runtime",
|
|
26
|
-
"build:npx": "npm run build:web && npm run build:runtime"
|
|
27
|
-
"icons": "python3 scripts/generate-icons.py",
|
|
28
|
-
"dist": "npm run dist:mac",
|
|
29
|
-
"dist:mac": "npm run icons && npm run build && sh -c 'CXXFLAGS=\"-I$(xcrun --show-sdk-path)/usr/include/c++/v1\" electron-builder --mac'",
|
|
30
|
-
"dist:win": "npm run build && electron-builder --win",
|
|
31
|
-
"rebuild": "sh -c 'CXXFLAGS=\"-I$(xcrun --show-sdk-path)/usr/include/c++/v1\" electron-rebuild -f -w node-pty'",
|
|
32
|
-
"postinstall": "electron-builder install-app-deps || true"
|
|
24
|
+
"build:npx": "npm run build:web && npm run build:runtime && node scripts/obfuscate-runtime.mjs"
|
|
33
25
|
},
|
|
34
26
|
"devDependencies": {
|
|
35
27
|
"@types/express": "^5.0.6",
|
|
@@ -46,11 +38,9 @@
|
|
|
46
38
|
"@xterm/addon-webgl": "^0.19.0",
|
|
47
39
|
"@xterm/xterm": "^5.5.0",
|
|
48
40
|
"concurrently": "^9.0.0",
|
|
49
|
-
"electron": "^33.0.0",
|
|
50
|
-
"electron-builder": "^25.0.0",
|
|
51
|
-
"electron-rebuild": "^3.2.9",
|
|
52
41
|
"highlight.js": "^11.11.1",
|
|
53
42
|
"html2pdf.js": "^0.14.0",
|
|
43
|
+
"javascript-obfuscator": "^5.4.1",
|
|
54
44
|
"marked": "^17.0.5",
|
|
55
45
|
"react": "^19.0.0",
|
|
56
46
|
"react-dom": "^19.0.0",
|
|
@@ -58,47 +48,16 @@
|
|
|
58
48
|
"tsx": "^4.21.0",
|
|
59
49
|
"typescript": "^5.6.0",
|
|
60
50
|
"vite": "^6.0.0",
|
|
61
|
-
"vite-plugin-
|
|
62
|
-
"wait-on": "^8.0.0",
|
|
51
|
+
"vite-plugin-javascript-obfuscator": "^3.1.0",
|
|
63
52
|
"zustand": "^5.0.0"
|
|
64
53
|
},
|
|
65
54
|
"dependencies": {
|
|
66
55
|
"chokidar": "^4.0.0",
|
|
67
|
-
"electron-updater": "^6.3.0",
|
|
68
56
|
"express": "^4.21.0",
|
|
69
57
|
"mammoth": "^1.12.0",
|
|
70
58
|
"node-pty": "^1.0.0",
|
|
71
59
|
"pdf-parse": "^2.4.5",
|
|
72
60
|
"uuid": "^10.0.0",
|
|
73
61
|
"ws": "^8.20.0"
|
|
74
|
-
},
|
|
75
|
-
"build": {
|
|
76
|
-
"appId": "dev.terminalos.app",
|
|
77
|
-
"productName": "terminalOS",
|
|
78
|
-
"directories": {
|
|
79
|
-
"output": "dist"
|
|
80
|
-
},
|
|
81
|
-
"files": [
|
|
82
|
-
"build/**",
|
|
83
|
-
"electron/**",
|
|
84
|
-
"node_modules/**"
|
|
85
|
-
],
|
|
86
|
-
"mac": {
|
|
87
|
-
"target": [
|
|
88
|
-
{
|
|
89
|
-
"target": "dmg",
|
|
90
|
-
"arch": [
|
|
91
|
-
"x64",
|
|
92
|
-
"arm64"
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"category": "public.app-category.developer-tools",
|
|
97
|
-
"icon": "resources/icon.icns"
|
|
98
|
-
},
|
|
99
|
-
"win": {
|
|
100
|
-
"target": "nsis",
|
|
101
|
-
"icon": "resources/icon.ico"
|
|
102
|
-
}
|
|
103
62
|
}
|
|
104
63
|
}
|
package/public/after.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/public/icon.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "terminalOS",
|
|
3
|
+
"short_name": "terminalOS",
|
|
4
|
+
"description": "Terminal workspace built for AI-assisted development.",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"background_color": "#000000",
|
|
8
|
+
"theme_color": "#000000",
|
|
9
|
+
"orientation": "landscape",
|
|
10
|
+
"icons": [
|
|
11
|
+
{ "src": "icon-16x16.png", "sizes": "16x16", "type": "image/png" },
|
|
12
|
+
{ "src": "icon-32x32.png", "sizes": "32x32", "type": "image/png" },
|
|
13
|
+
{ "src": "icon-48x48.png", "sizes": "48x48", "type": "image/png" },
|
|
14
|
+
{ "src": "icon-128x128.png", "sizes": "128x128", "type": "image/png" },
|
|
15
|
+
{ "src": "icon-256x256.png", "sizes": "256x256", "type": "image/png" },
|
|
16
|
+
{ "src": "icon-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable" }
|
|
17
|
+
]
|
|
18
|
+
}
|
package/public/og.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "terminalOS",
|
|
3
|
+
"short_name": "terminalOS",
|
|
4
|
+
"description": "The terminal built for AI-native builders.",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"background_color": "#000000",
|
|
8
|
+
"theme_color": "#000000",
|
|
9
|
+
"icons": [
|
|
10
|
+
{
|
|
11
|
+
"src": "/icon-48x48.png",
|
|
12
|
+
"sizes": "48x48",
|
|
13
|
+
"type": "image/png"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "/icon-128x128.png",
|
|
17
|
+
"sizes": "128x128",
|
|
18
|
+
"type": "image/png"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"src": "/icon-256x256.png",
|
|
22
|
+
"sizes": "256x256",
|
|
23
|
+
"type": "image/png"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"src": "/icon-512x512.png",
|
|
27
|
+
"sizes": "512x512",
|
|
28
|
+
"type": "image/png",
|
|
29
|
+
"purpose": "any maskable"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|