@someonegg/codex-hub 0.1.3 → 0.1.5

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.
Binary file
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2
+ <rect width="512" height="512" rx="112" fill="#18262d"/>
3
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
4
+ <path d="m144 192 64 64-64 64" stroke="#f7fafa" stroke-width="32"/>
5
+ <path d="M240 256h48m0-80v160m0-160h64m-64 80h64m-64 80h64" stroke="#7dd3c8" stroke-width="24"/>
6
+ </g>
7
+ <g fill="#7dd3c8"><circle cx="352" cy="176" r="20"/><circle cx="352" cy="256" r="20"/><circle cx="352" cy="336" r="20"/></g>
8
+ </svg>
Binary file
Binary file
@@ -5,10 +5,16 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta name="color-scheme" content="light" />
7
7
  <meta name="description" content="A private, local reader for Codex sessions" />
8
- <link rel="icon" href="data:," />
8
+ <meta name="theme-color" content="#18262d" />
9
+ <meta name="apple-mobile-web-app-title" content="Codex Hub" />
10
+ <meta name="apple-mobile-web-app-capable" content="yes" />
11
+ <link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48 64x64" />
12
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" sizes="any" />
13
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
14
+ <link rel="manifest" href="/manifest.webmanifest" />
9
15
  <title>Codex Hub</title>
10
- <script type="module" crossorigin src="/assets/index-B7AVIpY_.js"></script>
11
- <link rel="stylesheet" crossorigin href="/assets/index-CaGpB_yx.css">
16
+ <script type="module" crossorigin src="/assets/index-DyTDJBUD.js"></script>
17
+ <link rel="stylesheet" crossorigin href="/assets/index-CwI6_kO6.css">
12
18
  </head>
13
19
  <body>
14
20
  <div id="root"></div>
@@ -0,0 +1,21 @@
1
+ {
2
+ "id": "/",
3
+ "name": "Codex Hub",
4
+ "short_name": "Codex Hub",
5
+ "description": "A private, local reader for Codex sessions",
6
+ "start_url": "/",
7
+ "scope": "/",
8
+ "display": "standalone",
9
+ "background_color": "#f7fafa",
10
+ "theme_color": "#18262d",
11
+ "icons": [
12
+ { "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
13
+ { "src": "/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
14
+ {
15
+ "src": "/icons/icon-maskable-512.png",
16
+ "sizes": "512x512",
17
+ "type": "image/png",
18
+ "purpose": "maskable"
19
+ }
20
+ ]
21
+ }
@@ -11,6 +11,9 @@ const CONTENT_TYPES = {
11
11
  ".js": "text/javascript; charset=utf-8",
12
12
  ".json": "application/json; charset=utf-8",
13
13
  ".svg": "image/svg+xml",
14
+ ".png": "image/png",
15
+ ".ico": "image/vnd.microsoft.icon",
16
+ ".webmanifest": "application/manifest+json; charset=utf-8",
14
17
  };
15
18
  function sendText(response, status, message, headOnly) {
16
19
  response.statusCode = status;
@@ -58,8 +58,6 @@ export class SessionRuntime {
58
58
  const observed = observation ?? (await this.observe(session.id));
59
59
  if (observed.sessionId !== session.id || !this.isCurrent(observed))
60
60
  return deny("Pane binding changed during validation");
61
- if (observed.state === "unbound")
62
- return deny("No pane binding has been recorded");
63
61
  if (observed.state === "invalid")
64
62
  return deny("The latest pane binding is invalid");
65
63
  if (observed.state === "unknown")
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@someonegg/codex-hub",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Local project and session hub for Codex",
5
5
  "type": "module",
6
6
  "engines": {
7
- "node": ">=22.13"
7
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
8
8
  },
9
9
  "scripts": {
10
10
  "dev": "vite --host 127.0.0.1",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "katex": "^0.18.1",
32
+ "katex": "^0.18.10",
33
33
  "mdast-util-from-markdown": "^2.0.3",
34
34
  "mdast-util-gfm": "^3.1.0",
35
35
  "mdast-util-to-string": "^4.0.0",
@@ -42,6 +42,9 @@
42
42
  "remark-math": "^6.0.0",
43
43
  "ws": "^8.22.0"
44
44
  },
45
+ "overrides": {
46
+ "katex": "$katex"
47
+ },
45
48
  "devDependencies": {
46
49
  "@codex-hub/client-lint": "file:tools/client-lint",
47
50
  "@testing-library/jest-dom": "^7.0.0",
@@ -52,7 +55,7 @@
52
55
  "@types/react-dom": "^19.2.3",
53
56
  "@types/ws": "^8.18.2",
54
57
  "@vitejs/plugin-react": "^6.0.4",
55
- "jsdom": "^30.0.0",
58
+ "jsdom": "^30.1.3",
56
59
  "prettier": "3.6.2",
57
60
  "tsx": "^4.23.1",
58
61
  "typescript": "^7.0.2",