@longleash/cli 0.1.0-rc.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/LICENSE +21 -0
- package/README.md +41 -0
- package/THIRD_PARTY_NOTICES.md +35 -0
- package/bin/longleash.mjs +821 -0
- package/npm-shrinkwrap.json +2787 -0
- package/package.json +77 -0
- package/runtime/app/dist/_headers +15 -0
- package/runtime/app/dist/apple-touch-icon.png +0 -0
- package/runtime/app/dist/assets/app-CxamvvoS.js +27 -0
- package/runtime/app/dist/assets/styles-C-1gzhnT.js +9 -0
- package/runtime/app/dist/assets/styles-CkAMG7sK.css +1 -0
- package/runtime/app/dist/assets/welcome-CG_rEa--.js +27 -0
- package/runtime/app/dist/assets/welcome-ai7kxCj7.css +1 -0
- package/runtime/app/dist/build.json +1 -0
- package/runtime/app/dist/favicon.png +0 -0
- package/runtime/app/dist/fonts/geist-mono-latin.woff2 +0 -0
- package/runtime/app/dist/fonts/instrument-sans-latin.woff2 +0 -0
- package/runtime/app/dist/fonts/instrument-serif-latin.woff2 +0 -0
- package/runtime/app/dist/icon-192.png +0 -0
- package/runtime/app/dist/icon-512.png +0 -0
- package/runtime/app/dist/index.html +37 -0
- package/runtime/app/dist/manifest.webmanifest +23 -0
- package/runtime/app/dist/robots.txt +2 -0
- package/runtime/app/dist/sw.js +138 -0
- package/runtime/app/dist/welcome.html +44 -0
- package/runtime/daemon/bin/longleash-devices.mjs +203 -0
- package/runtime/daemon/bin/longleashd.mjs +12845 -0
- package/runtime/daemon/hooks/agent-pid.mjs +35 -0
- package/runtime/daemon/hooks/install-codex-hooks.mjs +191 -0
- package/runtime/daemon/hooks/install-hooks.mjs +78 -0
- package/runtime/daemon/hooks/local-handoff.mjs +47 -0
- package/runtime/daemon/hooks/longleash-codex-hook.mjs +118 -0
- package/runtime/daemon/hooks/longleash-hook.mjs +148 -0
- package/runtime/daemon/hooks/surface.mjs +41 -0
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@longleash/cli",
|
|
3
|
+
"version": "0.1.0-rc.1",
|
|
4
|
+
"description": "Securely control Claude Code and Codex sessions on your laptop from your phone.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"longleash": "bin/longleash.mjs"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"bin/",
|
|
12
|
+
"runtime/",
|
|
13
|
+
"LICENSE",
|
|
14
|
+
"npm-shrinkwrap.json",
|
|
15
|
+
"README.md",
|
|
16
|
+
"THIRD_PARTY_NOTICES.md"
|
|
17
|
+
],
|
|
18
|
+
"os": [
|
|
19
|
+
"darwin",
|
|
20
|
+
"linux"
|
|
21
|
+
],
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=22.14.0",
|
|
24
|
+
"npm": ">=10"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/Sahith59/LongLe-sh.git",
|
|
29
|
+
"directory": "packages/cli"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://longleash.dev/docs/getting-started",
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/Sahith59/LongLe-sh/issues"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"claude-code",
|
|
37
|
+
"codex",
|
|
38
|
+
"developer-tools",
|
|
39
|
+
"local-first",
|
|
40
|
+
"remote-control"
|
|
41
|
+
],
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public",
|
|
44
|
+
"provenance": true
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "pnpm --filter @longleash/app build && node scripts/build.mjs",
|
|
48
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
49
|
+
"test": "vitest run",
|
|
50
|
+
"shrinkwrap:generate": "node scripts/shrinkwrap.mjs",
|
|
51
|
+
"shrinkwrap:check": "node scripts/shrinkwrap.mjs --check",
|
|
52
|
+
"pack:verify": "node scripts/verify-package.mjs",
|
|
53
|
+
"prepack": "pnpm build"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@anthropic-ai/sdk": "0.115.0",
|
|
57
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.220",
|
|
58
|
+
"@fastify/static": "10.1.2",
|
|
59
|
+
"@fastify/websocket": "11.3.0",
|
|
60
|
+
"@modelcontextprotocol/sdk": "1.30.0",
|
|
61
|
+
"better-sqlite3": "12.11.1",
|
|
62
|
+
"fastify": "5.11.0",
|
|
63
|
+
"qrcode-terminal": "0.12.0",
|
|
64
|
+
"web-push": "3.6.7",
|
|
65
|
+
"ws": "8.21.1",
|
|
66
|
+
"zod": "4.4.3"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@longleash/app": "workspace:*",
|
|
70
|
+
"@longleash/daemon": "workspace:*",
|
|
71
|
+
"@longleash/protocol": "workspace:*",
|
|
72
|
+
"@types/node": "22.20.1",
|
|
73
|
+
"esbuild": "0.25.12",
|
|
74
|
+
"typescript": "5.9.3",
|
|
75
|
+
"vitest": "3.2.7"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
X-Content-Type-Options: nosniff
|
|
3
|
+
X-Frame-Options: DENY
|
|
4
|
+
Referrer-Policy: no-referrer
|
|
5
|
+
Permissions-Policy: camera=(self), geolocation=(), microphone=(), payment=(), usb=()
|
|
6
|
+
Content-Security-Policy: default-src 'self'; base-uri 'self'; connect-src 'self' ws: wss: https://clerk.longleash.dev https://accounts.longleash.dev https://*.clerk.accounts.dev https://api.clerk.com https://clerk-telemetry.com https://*.clerk-telemetry.com https://*.protect.clerk.com https://img.clerk.com; font-src 'self'; form-action 'self' https://clerk.longleash.dev https://accounts.longleash.dev https://*.clerk.accounts.dev; frame-ancestors 'none'; frame-src https://challenges.cloudflare.com https://*.protect.clerk.com; img-src 'self' data: blob: https://img.clerk.com; manifest-src 'self'; object-src 'none'; script-src 'self' https://clerk.longleash.dev https://accounts.longleash.dev https://*.clerk.accounts.dev https://challenges.cloudflare.com https://*.protect.clerk.com; style-src 'self' 'unsafe-inline'; worker-src 'self' blob:
|
|
7
|
+
|
|
8
|
+
/assets/*
|
|
9
|
+
Cache-Control: public, max-age=31536000, immutable
|
|
10
|
+
|
|
11
|
+
/fonts/*
|
|
12
|
+
Cache-Control: public, max-age=31536000, immutable
|
|
13
|
+
|
|
14
|
+
https://:worker.:account.workers.dev/*
|
|
15
|
+
X-Robots-Tag: noindex
|
|
Binary file
|