@therealjsmastery/jsm-hq 0.0.0-stage → 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.
Files changed (40) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +119 -2
  3. package/TRADEMARKS.md +17 -0
  4. package/bin/jsm-hq.mjs +50 -0
  5. package/dist/assets/CanvasPool-O1IaWL-9.js +1 -0
  6. package/dist/assets/CanvasRenderer-Dd4pZNIN.js +1 -0
  7. package/dist/assets/RenderTargetSystem-BccyHTeF.js +184 -0
  8. package/dist/assets/WebGLRenderer-1zkR__s9.js +156 -0
  9. package/dist/assets/WebGPURenderer-CSiZQVKf.js +75 -0
  10. package/dist/assets/browserAll-K-v47ayM.js +14 -0
  11. package/dist/assets/canvasUtils-C3DGUQjp.js +1 -0
  12. package/dist/assets/getTexelRangeRects-D8_SvULv.js +195 -0
  13. package/dist/assets/index-BHNtDgvI.css +1 -0
  14. package/dist/assets/index-DPTN0V6X.js +311 -0
  15. package/dist/assets/pixelify-sans-cyrillic-400-normal-DfOZNMlW.woff +0 -0
  16. package/dist/assets/pixelify-sans-cyrillic-600-normal-B3EuUOZG.woff +0 -0
  17. package/dist/assets/pixelify-sans-cyrillic-700-normal-BrZTw8tu.woff +0 -0
  18. package/dist/assets/pixelify-sans-latin-400-normal-DLrIX9QE.woff2 +0 -0
  19. package/dist/assets/pixelify-sans-latin-400-normal-JapMNN6Z.woff +0 -0
  20. package/dist/assets/pixelify-sans-latin-600-normal-BNlgYbDL.woff +0 -0
  21. package/dist/assets/pixelify-sans-latin-600-normal-Dd_Dy7u5.woff2 +0 -0
  22. package/dist/assets/pixelify-sans-latin-700-normal-BctWAS0u.woff +0 -0
  23. package/dist/assets/pixelify-sans-latin-700-normal-D3Xxx3QE.woff2 +0 -0
  24. package/dist/assets/pixelify-sans-latin-ext-400-normal-BkfTUL4s.woff +0 -0
  25. package/dist/assets/pixelify-sans-latin-ext-400-normal-DdH6zlBQ.woff2 +0 -0
  26. package/dist/assets/pixelify-sans-latin-ext-600-normal-CDaIumwU.woff +0 -0
  27. package/dist/assets/pixelify-sans-latin-ext-600-normal-Dha6RiOG.woff2 +0 -0
  28. package/dist/assets/pixelify-sans-latin-ext-700-normal-BadXkHzZ.woff +0 -0
  29. package/dist/assets/pixelify-sans-latin-ext-700-normal-ClyJstAh.woff2 +0 -0
  30. package/dist/assets/vt323-latin-400-normal-Dqn9ZSPj.woff +0 -0
  31. package/dist/assets/vt323-latin-400-normal-wDgJuOC9.woff2 +0 -0
  32. package/dist/assets/vt323-latin-ext-400-normal-DqOq58ri.woff +0 -0
  33. package/dist/assets/vt323-latin-ext-400-normal-iUdYUaX4.woff2 +0 -0
  34. package/dist/assets/vt323-vietnamese-400-normal-D0VnvwZ9.woff2 +0 -0
  35. package/dist/assets/vt323-vietnamese-400-normal-D_5Q7Vcv.woff +0 -0
  36. package/dist/assets/webworkerAll-wf0zq30l.js +83 -0
  37. package/dist/index.html +14 -0
  38. package/dist-server/main.mjs +2342 -0
  39. package/package.json +79 -4
  40. package/scripts/fix-node-pty.mjs +17 -0
package/package.json CHANGED
@@ -1,6 +1,81 @@
1
1
  {
2
2
  "name": "@therealjsmastery/jsm-hq",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "A pixel office where you run a team of AI coding agents (Claude Code, Codex) in Docker Sandboxes.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "homepage": "https://github.com/jsmastery-pro/jsm-hq#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/jsmastery-pro/jsm-hq.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/jsmastery-pro/jsm-hq/issues"
14
+ },
15
+ "keywords": [
16
+ "ai",
17
+ "agents",
18
+ "claude-code",
19
+ "codex",
20
+ "docker-sandboxes",
21
+ "mcp",
22
+ "developer-tools"
23
+ ],
24
+ "bin": {
25
+ "jsm-hq": "bin/jsm-hq.mjs"
26
+ },
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "files": [
31
+ "bin",
32
+ "dist",
33
+ "dist-server",
34
+ "scripts/fix-node-pty.mjs",
35
+ "LICENSE",
36
+ "TRADEMARKS.md",
37
+ "README.md"
38
+ ],
39
+ "engines": {
40
+ "node": ">=20"
41
+ },
42
+ "scripts": {
43
+ "dev": "vite",
44
+ "dev:hq": "concurrently -k -n hq,ui -c magenta,cyan \"tsx watch server/main.ts --dev\" \"vite\"",
45
+ "hq": "vite build --logLevel warn && tsx server/main.ts",
46
+ "typecheck": "tsc --noEmit -p . && tsc --noEmit -p server",
47
+ "build": "tsc --noEmit -p . && tsc --noEmit -p server && vite build && node scripts/build-server.mjs",
48
+ "preview": "vite preview",
49
+ "prepack": "npm run build",
50
+ "postinstall": "node scripts/fix-node-pty.mjs"
51
+ },
52
+ "dependencies": {
53
+ "@modelcontextprotocol/sdk": "^1.32.1",
54
+ "node-pty": "^1.1.0",
55
+ "ws": "^8.22.0",
56
+ "zod": "^4.6.7"
57
+ },
58
+ "devDependencies": {
59
+ "@fontsource/pixelify-sans": "^5.3.0",
60
+ "@fontsource/vt323": "^5.3.0",
61
+ "@tailwindcss/vite": "^4.3.3",
62
+ "@types/node": "^26.6.5",
63
+ "@types/react": "^18.3.31",
64
+ "@types/react-dom": "^18.3.7",
65
+ "@types/ws": "^8.18.2",
66
+ "@vitejs/plugin-react": "^4.7.0",
67
+ "@xterm/addon-fit": "^0.10.0",
68
+ "@xterm/xterm": "^5.5.0",
69
+ "concurrently": "^10.0.6",
70
+ "esbuild": "^0.28.2",
71
+ "framer-motion": "^11.18.2",
72
+ "pixi.js": "^8.22.0",
73
+ "react": "18.3.1",
74
+ "react-dom": "18.3.1",
75
+ "tailwindcss": "^4.3.3",
76
+ "tsx": "^4.23.15",
77
+ "typescript": "~5.8.3",
78
+ "vite": "^6.4.4",
79
+ "zustand": "^5.0.15"
80
+ }
81
+ }
@@ -0,0 +1,17 @@
1
+ // node-pty ships a prebuilt `spawn-helper` that some package managers unpack
2
+ // without the execute bit, which makes every spawn fail with "posix_spawnp failed".
3
+ import { chmodSync, existsSync, readdirSync } from "node:fs";
4
+ import { createRequire } from "node:module";
5
+ import { dirname, join } from "node:path";
6
+
7
+ try {
8
+ const root = dirname(createRequire(import.meta.url).resolve("node-pty/package.json"));
9
+ const prebuilds = join(root, "prebuilds");
10
+ if (existsSync(prebuilds))
11
+ for (const dir of readdirSync(prebuilds)) {
12
+ const helper = join(prebuilds, dir, "spawn-helper");
13
+ if (existsSync(helper)) chmodSync(helper, 0o755);
14
+ }
15
+ } catch {
16
+ // node-pty not installed (e.g. UI-only install) — nothing to fix.
17
+ }