termrelay 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.
@@ -0,0 +1,16 @@
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.0" />
6
+ <meta name="color-scheme" content="dark" />
7
+ <link rel="icon" type="image/svg+xml" href="/logo.svg" />
8
+ <title>TermRelay</title>
9
+ <script type="module" crossorigin src="/assets/index-CQnawMbc.js"></script>
10
+ <link rel="modulepreload" crossorigin href="/assets/syntax-highlighting-A5oyJQsB.js">
11
+ <link rel="stylesheet" crossorigin href="/assets/index-anyFeNWc.css">
12
+ </head>
13
+ <body>
14
+ <div id="root"></div>
15
+ </body>
16
+ </html>
@@ -0,0 +1,16 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
+ <defs>
3
+ <linearGradient id="tr-bg" x1="0" y1="0" x2="1" y2="1">
4
+ <stop offset="0" stop-color="#221a45"/>
5
+ <stop offset="1" stop-color="#0c0e16"/>
6
+ </linearGradient>
7
+ <linearGradient id="tr-sweep" x1="0" y1="0" x2="1" y2="0">
8
+ <stop offset="0" stop-color="#a78bfa"/>
9
+ <stop offset="1" stop-color="#22d3ee"/>
10
+ </linearGradient>
11
+ </defs>
12
+ <rect x="2" y="2" width="60" height="60" rx="14" fill="url(#tr-bg)" stroke="#3b2f6b"/>
13
+ <path d="M20 24h24M44 24v8a8 8 0 0 1-8 8h-2" fill="none" stroke="url(#tr-sweep)" stroke-width="4.5" stroke-linecap="round" stroke-linejoin="round"/>
14
+ <circle cx="15" cy="24" r="4" fill="#a78bfa"/>
15
+ <rect x="18" y="42" width="16" height="5" rx="2.5" fill="#22d3ee"/>
16
+ </svg>
@@ -0,0 +1,24 @@
1
+ VS Code Source Control Graph
2
+ https://github.com/microsoft/vscode/blob/584af9d9798bd3e05c7f7b90401397dd70652609/src/vs/workbench/contrib/scm/browser/scmHistory.ts
3
+
4
+ Copyright (c) Microsoft Corporation. All rights reserved.
5
+
6
+ MIT License
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
package/package.json ADDED
@@ -0,0 +1,84 @@
1
+ {
2
+ "name": "termrelay",
3
+ "version": "0.1.0",
4
+ "description": "Local web interface for coding agents, with native Pi sessions, code review, and Git workflows",
5
+ "license": "MIT",
6
+ "homepage": "https://github.com/dramxia/TermRelay#readme",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/dramxia/TermRelay.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/dramxia/TermRelay/issues"
13
+ },
14
+ "keywords": [
15
+ "coding-agent",
16
+ "pi",
17
+ "web-ui",
18
+ "code-review",
19
+ "git",
20
+ "macos"
21
+ ],
22
+ "private": false,
23
+ "publishConfig": {
24
+ "access": "public",
25
+ "registry": "https://registry.npmjs.org/"
26
+ },
27
+ "type": "module",
28
+ "bin": {
29
+ "termrelay": "dist/cli.js"
30
+ },
31
+ "files": [
32
+ "dist",
33
+ "README.md",
34
+ "CHANGELOG.md",
35
+ "LICENSE"
36
+ ],
37
+ "workspaces": [
38
+ "apps/*",
39
+ "packages/*"
40
+ ],
41
+ "engines": {
42
+ "node": ">=22.19.0"
43
+ },
44
+ "os": [
45
+ "darwin"
46
+ ],
47
+ "scripts": {
48
+ "clean": "tsc -b --clean && node scripts/clean.mjs",
49
+ "format": "prettier --write .",
50
+ "format:check": "prettier --check .",
51
+ "lint": "eslint .",
52
+ "typecheck": "tsc -b --pretty false && tsc -p tsconfig.tests.json --pretty false",
53
+ "test": "vitest run",
54
+ "test:contract": "vitest run packages/protocol/tests packages/adapter-pi/tests packages/server/tests",
55
+ "build": "tsc -b --pretty false && npm run build -w @termrelay/web && node scripts/build-package.mjs",
56
+ "prepack": "npm run build",
57
+ "dev": "npm run dev -w @termrelay/web",
58
+ "test:e2e": "node scripts/reset-e2e.mjs && playwright test",
59
+ "check": "npm run format:check && npm run lint && npm run typecheck && npm test && npm run build && npm run test:e2e"
60
+ },
61
+ "dependencies": {
62
+ "semver": "^7.8.5",
63
+ "tar-stream": "^3.2.1",
64
+ "ws": "^8.18.1"
65
+ },
66
+ "devDependencies": {
67
+ "@axe-core/playwright": "^4.13.0",
68
+ "@eslint/js": "^9.22.0",
69
+ "@playwright/test": "^1.51.1",
70
+ "@types/node": "^22.13.10",
71
+ "@types/react": "^19.0.10",
72
+ "@types/react-dom": "^19.0.4",
73
+ "@types/ws": "^8.18.0",
74
+ "@vitejs/plugin-react": "^4.4.1",
75
+ "esbuild": "^0.25.12",
76
+ "eslint": "^9.22.0",
77
+ "globals": "^16.0.0",
78
+ "prettier": "^3.5.3",
79
+ "typescript": "^5.8.2",
80
+ "typescript-eslint": "^8.26.0",
81
+ "vite": "^6.2.2",
82
+ "vitest": "^3.0.8"
83
+ }
84
+ }