claude-simple 0.2.12 → 0.2.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-simple",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "claude-simple": "server.js",
package/public/index.html CHANGED
@@ -82,7 +82,7 @@
82
82
  <script src="/vendor/marked.min.js"></script>
83
83
  <link id="hljs-theme" rel="stylesheet" href="/vendor/highlight-dark.min.css">
84
84
  <script src="/vendor/highlight.min.js"></script>
85
- <link rel="stylesheet" href="style.css?v=ui-12">
85
+ <link rel="stylesheet" href="style.css?v=ui-13">
86
86
  </head>
87
87
  <body class="h-dvh overflow-hidden flex flex-col bg-base-100 text-base-content">
88
88
  <div id="root" class="flex flex-col flex-1 overflow-hidden"></div>
@@ -98,6 +98,6 @@
98
98
  }
99
99
  }, 10000);
100
100
  </script>
101
- <script type="module" src="app.js?v=ui-12"></script>
101
+ <script type="module" src="app.js?v=ui-13"></script>
102
102
  </body>
103
103
  </html>
package/public/state.js CHANGED
@@ -384,7 +384,6 @@ function asSessionArray(v) {
384
384
 
385
385
  /** Sessions after local filters (agent / time / workspace / text / favorites). */
386
386
  export const filteredSessions = computed(() => {
387
- const filter = sessionFilter.value;
388
387
  const search = sessionSearch.value.toLowerCase().trim();
389
388
  const sort = sessionSort.value;
390
389
  const aFilter = agentFilter.value;
@@ -398,7 +397,9 @@ export const filteredSessions = computed(() => {
398
397
  ? asSessionArray(hits.results)
399
398
  : asSessionArray(sessionsData.value);
400
399
 
401
- if (filter) list = list.filter(s => s && (s.cwd === filter || s.configDir === filter));
400
+ // `sessionFilter` is the active Files/Git workspace path. It must not
401
+ // constrain the sidebar: otherwise opening a session (or a session without
402
+ // a recorded cwd) makes every project folder disappear from the project UI.
402
403
  // Hub: only show sessions on the currently selected machine
403
404
  const mid = selectedMachineId.value;
404
405
  if (hubMode.value && mid) {
@@ -431,7 +432,7 @@ export const filteredSessions = computed(() => {
431
432
  });
432
433
 
433
434
  // Cap timeline dump when no filter/search
434
- if (!filter && !search && !favOnly) return list.slice(0, 120);
435
+ if (!search && !favOnly) return list.slice(0, 120);
435
436
  return list;
436
437
  });
437
438
 
package/public/sw.js CHANGED
@@ -1,19 +1,19 @@
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-v17';
4
+ const CACHE = 'agent-ui-shell-v18';
5
5
  const PRECACHE = [
6
6
  '/',
7
7
  '/index.html',
8
8
  '/manifest.webmanifest',
9
- '/style.css?v=ui-12',
9
+ '/style.css?v=ui-13',
10
10
  '/style.css',
11
11
  '/ui.min.css',
12
12
  '/vendor/mini-react.min.js',
13
13
  '/vendor/marked.min.js',
14
14
  '/vendor/highlight.min.js',
15
15
  '/vendor/highlight-dark.min.css',
16
- '/app.js?v=ui-12',
16
+ '/app.js?v=ui-13',
17
17
  '/icons/icon-192.png',
18
18
  '/icons/icon-512.png',
19
19
  '/icons/icon-maskable-512.png',
@@ -1064,7 +1064,11 @@ export async function parseGeminiNativeMessages(filePath) {
1064
1064
  if (d.source === 'USER_EXPLICIT' && d.type === 'USER_INPUT') {
1065
1065
  const content = geminiUserText(d.content);
1066
1066
  if (content) messages.push({ role: 'user', type: 'text', content, ts });
1067
- } else if (d.source === 'MODEL' && ['GENERIC', 'PLANNER_RESPONSE'].includes(d.type)) {
1067
+ // Antigravity writes command output, file reads and search results as
1068
+ // MODEL/GENERIC rows. They are tool transport records (often headed by
1069
+ // "Created At" / "Stdout"), not chat replies. Only planner responses
1070
+ // are the assistant messages shown in its own conversation UI.
1071
+ } else if (d.source === 'MODEL' && d.type === 'PLANNER_RESPONSE') {
1068
1072
  const content = String(d.content || '').trim();
1069
1073
  if (content) messages.push({ role: 'assistant', type: 'text', content, ts });
1070
1074
  }