claude-simple 0.2.15 → 0.2.17

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.
File without changes
package/dist/xterm.min.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-simple",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "claude-simple": "server.js",
package/public/index.html CHANGED
@@ -83,7 +83,7 @@
83
83
  <link id="hljs-theme" rel="stylesheet" href="/vendor/highlight-dark.min.css">
84
84
  <script src="/vendor/highlight.min.js"></script>
85
85
  <script src="/vendor/mermaid.min.js"></script>
86
- <link rel="stylesheet" href="style.css?v=ui-15">
86
+ <link rel="stylesheet" href="style.css?v=ui-16">
87
87
  </head>
88
88
  <body class="h-dvh overflow-hidden flex flex-col bg-base-100 text-base-content">
89
89
  <div id="root" class="flex flex-col flex-1 overflow-hidden"></div>
@@ -99,6 +99,6 @@
99
99
  }
100
100
  }, 10000);
101
101
  </script>
102
- <script type="module" src="app.js?v=ui-15"></script>
102
+ <script type="module" src="app.js?v=ui-16"></script>
103
103
  </body>
104
104
  </html>
@@ -273,6 +273,10 @@ export async function resumeSession(sid, cwd, configDir, agent, machineId, opts
273
273
  const q = new URLSearchParams({
274
274
  tail: '0',
275
275
  compact: '1',
276
+ // Hub keeps a short-lived compact copy after completed turns. This
277
+ // makes a mobile re-open cache-first while the live WS remains the
278
+ // source for an in-progress answer.
279
+ cache: 'prefer',
276
280
  });
277
281
  if (agent) q.set('agent', agent);
278
282
  // Also put machine in query for proxies that drop custom headers.
package/public/sw.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /* Agent UI service worker — cache shell assets only.
2
2
  * Never intercepts WebSocket or mutates API semantics beyond offline fallback.
3
3
  * Bump CACHE when shipping UI that must invalidate old shells. */
4
- const CACHE = 'agent-ui-shell-v20';
4
+ const CACHE = 'agent-ui-shell-v21';
5
5
  const PRECACHE = [
6
6
  '/',
7
7
  '/index.html',
8
8
  '/manifest.webmanifest',
9
- '/style.css?v=ui-15',
9
+ '/style.css?v=ui-16',
10
10
  '/style.css',
11
11
  '/ui.min.css',
12
12
  '/vendor/mini-react.min.js',
@@ -14,7 +14,7 @@ const PRECACHE = [
14
14
  '/vendor/highlight.min.js',
15
15
  '/vendor/highlight-dark.min.css',
16
16
  '/vendor/mermaid.min.js',
17
- '/app.js?v=ui-15',
17
+ '/app.js?v=ui-16',
18
18
  '/icons/icon-192.png',
19
19
  '/icons/icon-512.png',
20
20
  '/icons/icon-maskable-512.png',