@cookielab.io/klovi 0.10.4 → 0.10.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.
package/README.md CHANGED
@@ -18,10 +18,10 @@ Klovi reads session data directly from `~/.claude/projects/` (JSONL files) and r
18
18
  Run directly without installing (requires [Bun](https://bun.sh) or [Node.js](https://nodejs.org) >=24):
19
19
 
20
20
  ```bash
21
- bunx --bun @cookielab.io/klovi
22
- npx @cookielab.io/klovi
23
- yarn dlx @cookielab.io/klovi
24
- pnpm dlx @cookielab.io/klovi
21
+ bunx --bun @cookielab.io/klovi@latest
22
+ npx @cookielab.io/klovi@latest
23
+ yarn dlx @cookielab.io/klovi@latest
24
+ pnpm dlx @cookielab.io/klovi@latest
25
25
  ```
26
26
 
27
27
  Or install globally:
@@ -53000,12 +53000,13 @@ function MarkdownRenderer({ content: content3 }) {
53000
53000
 
53001
53001
  // src/frontend/utils/model.ts
53002
53002
  function shortModel(model) {
53003
- if (model.includes("opus"))
53004
- return "Opus";
53005
- if (model.includes("sonnet"))
53006
- return "Sonnet";
53007
- if (model.includes("haiku"))
53008
- return "Haiku";
53003
+ const match = model.match(/claude-(opus|sonnet|haiku)-(\d+)(?:-(\d{1,2}))?(?:-\d{8,})?$/);
53004
+ if (match) {
53005
+ const family = match[1].charAt(0).toUpperCase() + match[1].slice(1);
53006
+ const major = match[2];
53007
+ const minor = match[3];
53008
+ return minor ? `${family} ${major}.${minor}` : `${family} ${major}`;
53009
+ }
53009
53010
  return model;
53010
53011
  }
53011
53012
 
@@ -9,7 +9,7 @@
9
9
  <link rel="apple-touch-icon" href="./apple-touch-icon-st4rb42e.png" />
10
10
 
11
11
 
12
- <link rel="stylesheet" crossorigin href="./index-6gtgar9e.css"><script type="module" crossorigin src="./index-bz9hf9fj.js"></script></head>
12
+ <link rel="stylesheet" crossorigin href="./index-6gtgar9e.css"><script type="module" crossorigin src="./index-n0p3trmr.js"></script></head>
13
13
  <body>
14
14
  <div id="root"></div>
15
15
 
package/dist/server.js CHANGED
@@ -499,8 +499,8 @@ async function handleSubAgent(sessionId, agentId, encodedPath) {
499
499
 
500
500
  // src/server/version.ts
501
501
  var appVersion = {
502
- version: "0.10.4",
503
- commitHash: "c62fd96"
502
+ version: "0.10.5",
503
+ commitHash: "e60d690"
504
504
  };
505
505
 
506
506
  // src/server/api/version.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cookielab.io/klovi",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "description": "A local web app for browsing and presenting Claude Code session history",
5
5
  "module": "index.ts",
6
6
  "type": "module",