claude-mux 0.30.3 → 0.30.4

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 (130) hide show
  1. package/CLAUDE.md +3 -3
  2. package/dist/subagents.d.ts +5 -7
  3. package/dist/subagents.d.ts.map +1 -1
  4. package/dist/subagents.js +5 -9
  5. package/dist/subagents.js.map +1 -1
  6. package/dist/utils/version.d.ts +1 -1
  7. package/dist/utils/version.js +1 -1
  8. package/dist/web/client/_app/immutable/chunks/{Bw38FtNy.js → 0itALT7D.js} +2 -2
  9. package/dist/web/client/_app/immutable/chunks/{Bw38FtNy.js.map → 0itALT7D.js.map} +1 -1
  10. package/dist/web/client/_app/immutable/chunks/{CTufiwsi.js → 9UhVHDNs.js} +2 -2
  11. package/dist/web/client/_app/immutable/chunks/{CTufiwsi.js.map → 9UhVHDNs.js.map} +1 -1
  12. package/{web/.svelte-kit/output/client/_app/immutable/chunks/D1gqZkA9.js → dist/web/client/_app/immutable/chunks/B5hoOzZI.js} +2 -2
  13. package/{web/.svelte-kit/output/client/_app/immutable/chunks/D1gqZkA9.js.map → dist/web/client/_app/immutable/chunks/B5hoOzZI.js.map} +1 -1
  14. package/dist/web/client/_app/immutable/chunks/{00FvOOKA.js → Bcl2xWM1.js} +2 -2
  15. package/dist/web/client/_app/immutable/chunks/{00FvOOKA.js.map → Bcl2xWM1.js.map} +1 -1
  16. package/dist/web/client/_app/immutable/chunks/CTgykToi.js +2 -0
  17. package/dist/web/client/_app/immutable/chunks/{DcmZFcR0.js.map → CTgykToi.js.map} +1 -1
  18. package/{web/.svelte-kit/output/client/_app/immutable/chunks/DHy5T1Hk.js → dist/web/client/_app/immutable/chunks/D4VtXq1u.js} +2 -2
  19. package/{web/.svelte-kit/output/client/_app/immutable/chunks/DHy5T1Hk.js.map → dist/web/client/_app/immutable/chunks/D4VtXq1u.js.map} +1 -1
  20. package/dist/web/client/_app/immutable/chunks/{BhoZKsDR.js → DJPAeXBZ.js} +2 -2
  21. package/dist/web/client/_app/immutable/chunks/{BhoZKsDR.js.map → DJPAeXBZ.js.map} +1 -1
  22. package/dist/web/client/_app/immutable/chunks/iD86EAaZ.js +3 -0
  23. package/{web/.svelte-kit/output/client/_app/immutable/chunks/BdVIGZmZ.js.map → dist/web/client/_app/immutable/chunks/iD86EAaZ.js.map} +1 -1
  24. package/dist/web/client/_app/immutable/chunks/uNuVvgdW.js +2 -0
  25. package/dist/web/client/_app/immutable/chunks/uNuVvgdW.js.map +1 -0
  26. package/dist/web/client/_app/immutable/entry/{app.BK_lbV7p.js → app.D_c8YH2_.js} +3 -3
  27. package/dist/web/client/_app/immutable/entry/{app.BK_lbV7p.js.map → app.D_c8YH2_.js.map} +1 -1
  28. package/dist/web/client/_app/immutable/entry/start.C4kxbL3U.js +2 -0
  29. package/dist/web/client/_app/immutable/entry/start.C4kxbL3U.js.map +1 -0
  30. package/dist/web/client/_app/immutable/nodes/{0.xEgEKB6j.js → 0.DKJz_Waz.js} +2 -2
  31. package/{web/.svelte-kit/output/client/_app/immutable/nodes/0.xEgEKB6j.js.map → dist/web/client/_app/immutable/nodes/0.DKJz_Waz.js.map} +1 -1
  32. package/dist/web/client/_app/immutable/nodes/{1.Dk98RShc.js → 1.BMuM5b-K.js} +2 -2
  33. package/dist/web/client/_app/immutable/nodes/{1.Dk98RShc.js.map → 1.BMuM5b-K.js.map} +1 -1
  34. package/dist/web/client/_app/immutable/nodes/{2.CwBR9Tlg.js → 2.B5-VVL7z.js} +2 -2
  35. package/dist/web/client/_app/immutable/nodes/{2.CwBR9Tlg.js.map → 2.B5-VVL7z.js.map} +1 -1
  36. package/dist/web/client/_app/immutable/nodes/{3.BR6uyLke.js → 3.Ch8jV9KV.js} +2 -2
  37. package/{web/.svelte-kit/output/client/_app/immutable/nodes/3.BR6uyLke.js.map → dist/web/client/_app/immutable/nodes/3.Ch8jV9KV.js.map} +1 -1
  38. package/dist/web/client/_app/immutable/nodes/{4.CQHttK08.js → 4.3R3T2cvf.js} +2 -2
  39. package/{web/.svelte-kit/output/client/_app/immutable/nodes/4.CQHttK08.js.map → dist/web/client/_app/immutable/nodes/4.3R3T2cvf.js.map} +1 -1
  40. package/dist/web/client/_app/version.json +1 -1
  41. package/dist/web/server/chunks/{0-DxrW6bx9.js → 0-DI9lJoOL.js} +11 -11
  42. package/dist/web/server/chunks/{0-DxrW6bx9.js.map → 0-DI9lJoOL.js.map} +1 -1
  43. package/dist/web/server/chunks/{1-Cqg4tTSB.js → 1-DNXibdVD.js} +3 -3
  44. package/dist/web/server/chunks/{1-Cqg4tTSB.js.map → 1-DNXibdVD.js.map} +1 -1
  45. package/dist/web/server/chunks/{2-Cv_7yOc9.js → 2-BjADtyO0.js} +8 -8
  46. package/dist/web/server/chunks/{2-Cv_7yOc9.js.map → 2-BjADtyO0.js.map} +1 -1
  47. package/dist/web/server/chunks/{3-38whb5GG.js → 3-C3xjKapD.js} +9 -9
  48. package/dist/web/server/chunks/{3-38whb5GG.js.map → 3-C3xjKapD.js.map} +1 -1
  49. package/dist/web/server/chunks/{4-B0al20p9.js → 4-x9zcPGad.js} +8 -8
  50. package/dist/web/server/chunks/{4-B0al20p9.js.map → 4-x9zcPGad.js.map} +1 -1
  51. package/dist/web/server/chunks/{_layout.svelte-C2cdd9CG.js → _layout.svelte-CEcgZvgF.js} +3 -6
  52. package/dist/web/server/chunks/_layout.svelte-CEcgZvgF.js.map +1 -0
  53. package/dist/web/server/index.js +1 -1
  54. package/dist/web/server/index.js.map +1 -1
  55. package/dist/web/server/manifest.js +11 -11
  56. package/dist/web/server/manifest.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/subagents.ts +7 -11
  59. package/src/utils/version.ts +1 -1
  60. package/tests/subagents.test.ts +7 -7
  61. package/web/.svelte-kit/adapter-bun/chunks/internal2.js +1 -1
  62. package/web/.svelte-kit/adapter-bun/chunks/internal2.js.map +1 -1
  63. package/web/.svelte-kit/adapter-bun/chunks/subagents.js +2 -5
  64. package/web/.svelte-kit/adapter-bun/chunks/subagents.js.map +1 -1
  65. package/web/.svelte-kit/adapter-bun/manifest-full.js +1 -1
  66. package/web/.svelte-kit/adapter-bun/manifest.js +1 -1
  67. package/web/.svelte-kit/adapter-bun/nodes/0.js +1 -1
  68. package/web/.svelte-kit/adapter-bun/nodes/1.js +1 -1
  69. package/web/.svelte-kit/adapter-bun/nodes/2.js +1 -1
  70. package/web/.svelte-kit/adapter-bun/nodes/3.js +1 -1
  71. package/web/.svelte-kit/adapter-bun/nodes/4.js +1 -1
  72. package/web/.svelte-kit/generated/server/internal.js +1 -1
  73. package/web/.svelte-kit/output/client/.vite/manifest.json +111 -111
  74. package/web/.svelte-kit/output/client/_app/immutable/chunks/{Bw38FtNy.js → 0itALT7D.js} +2 -2
  75. package/web/.svelte-kit/output/client/_app/immutable/chunks/{Bw38FtNy.js.map → 0itALT7D.js.map} +1 -1
  76. package/web/.svelte-kit/output/client/_app/immutable/chunks/{CTufiwsi.js → 9UhVHDNs.js} +2 -2
  77. package/web/.svelte-kit/output/client/_app/immutable/chunks/{CTufiwsi.js.map → 9UhVHDNs.js.map} +1 -1
  78. package/{dist/web/client/_app/immutable/chunks/D1gqZkA9.js → web/.svelte-kit/output/client/_app/immutable/chunks/B5hoOzZI.js} +2 -2
  79. package/{dist/web/client/_app/immutable/chunks/D1gqZkA9.js.map → web/.svelte-kit/output/client/_app/immutable/chunks/B5hoOzZI.js.map} +1 -1
  80. package/web/.svelte-kit/output/client/_app/immutable/chunks/{00FvOOKA.js → Bcl2xWM1.js} +2 -2
  81. package/web/.svelte-kit/output/client/_app/immutable/chunks/{00FvOOKA.js.map → Bcl2xWM1.js.map} +1 -1
  82. package/web/.svelte-kit/output/client/_app/immutable/chunks/CTgykToi.js +2 -0
  83. package/web/.svelte-kit/output/client/_app/immutable/chunks/{DcmZFcR0.js.map → CTgykToi.js.map} +1 -1
  84. package/{dist/web/client/_app/immutable/chunks/DHy5T1Hk.js → web/.svelte-kit/output/client/_app/immutable/chunks/D4VtXq1u.js} +2 -2
  85. package/{dist/web/client/_app/immutable/chunks/DHy5T1Hk.js.map → web/.svelte-kit/output/client/_app/immutable/chunks/D4VtXq1u.js.map} +1 -1
  86. package/web/.svelte-kit/output/client/_app/immutable/chunks/{BhoZKsDR.js → DJPAeXBZ.js} +2 -2
  87. package/web/.svelte-kit/output/client/_app/immutable/chunks/{BhoZKsDR.js.map → DJPAeXBZ.js.map} +1 -1
  88. package/web/.svelte-kit/output/client/_app/immutable/chunks/iD86EAaZ.js +3 -0
  89. package/{dist/web/client/_app/immutable/chunks/BdVIGZmZ.js.map → web/.svelte-kit/output/client/_app/immutable/chunks/iD86EAaZ.js.map} +1 -1
  90. package/web/.svelte-kit/output/client/_app/immutable/chunks/uNuVvgdW.js +2 -0
  91. package/web/.svelte-kit/output/client/_app/immutable/chunks/uNuVvgdW.js.map +1 -0
  92. package/web/.svelte-kit/output/client/_app/immutable/entry/{app.BK_lbV7p.js → app.D_c8YH2_.js} +3 -3
  93. package/web/.svelte-kit/output/client/_app/immutable/entry/{app.BK_lbV7p.js.map → app.D_c8YH2_.js.map} +1 -1
  94. package/web/.svelte-kit/output/client/_app/immutable/entry/start.C4kxbL3U.js +2 -0
  95. package/web/.svelte-kit/output/client/_app/immutable/entry/start.C4kxbL3U.js.map +1 -0
  96. package/web/.svelte-kit/output/client/_app/immutable/nodes/{0.xEgEKB6j.js → 0.DKJz_Waz.js} +2 -2
  97. package/{dist/web/client/_app/immutable/nodes/0.xEgEKB6j.js.map → web/.svelte-kit/output/client/_app/immutable/nodes/0.DKJz_Waz.js.map} +1 -1
  98. package/web/.svelte-kit/output/client/_app/immutable/nodes/{1.Dk98RShc.js → 1.BMuM5b-K.js} +2 -2
  99. package/web/.svelte-kit/output/client/_app/immutable/nodes/{1.Dk98RShc.js.map → 1.BMuM5b-K.js.map} +1 -1
  100. package/web/.svelte-kit/output/client/_app/immutable/nodes/{2.CwBR9Tlg.js → 2.B5-VVL7z.js} +2 -2
  101. package/web/.svelte-kit/output/client/_app/immutable/nodes/{2.CwBR9Tlg.js.map → 2.B5-VVL7z.js.map} +1 -1
  102. package/web/.svelte-kit/output/client/_app/immutable/nodes/{3.BR6uyLke.js → 3.Ch8jV9KV.js} +2 -2
  103. package/{dist/web/client/_app/immutable/nodes/3.BR6uyLke.js.map → web/.svelte-kit/output/client/_app/immutable/nodes/3.Ch8jV9KV.js.map} +1 -1
  104. package/web/.svelte-kit/output/client/_app/immutable/nodes/{4.CQHttK08.js → 4.3R3T2cvf.js} +2 -2
  105. package/{dist/web/client/_app/immutable/nodes/4.CQHttK08.js.map → web/.svelte-kit/output/client/_app/immutable/nodes/4.3R3T2cvf.js.map} +1 -1
  106. package/web/.svelte-kit/output/client/_app/version.json +1 -1
  107. package/web/.svelte-kit/output/server/chunks/internal2.js +1 -1
  108. package/web/.svelte-kit/output/server/chunks/internal2.js.map +1 -1
  109. package/web/.svelte-kit/output/server/chunks/subagents.js +2 -5
  110. package/web/.svelte-kit/output/server/chunks/subagents.js.map +1 -1
  111. package/web/.svelte-kit/output/server/manifest-full.js +1 -1
  112. package/web/.svelte-kit/output/server/manifest.js +1 -1
  113. package/web/.svelte-kit/output/server/nodes/0.js +1 -1
  114. package/web/.svelte-kit/output/server/nodes/1.js +1 -1
  115. package/web/.svelte-kit/output/server/nodes/2.js +1 -1
  116. package/web/.svelte-kit/output/server/nodes/3.js +1 -1
  117. package/web/.svelte-kit/output/server/nodes/4.js +1 -1
  118. package/dist/web/client/_app/immutable/chunks/BdVIGZmZ.js +0 -3
  119. package/dist/web/client/_app/immutable/chunks/DcmZFcR0.js +0 -2
  120. package/dist/web/client/_app/immutable/chunks/_om2syd9.js +0 -2
  121. package/dist/web/client/_app/immutable/chunks/_om2syd9.js.map +0 -1
  122. package/dist/web/client/_app/immutable/entry/start.qpCcTOMC.js +0 -2
  123. package/dist/web/client/_app/immutable/entry/start.qpCcTOMC.js.map +0 -1
  124. package/dist/web/server/chunks/_layout.svelte-C2cdd9CG.js.map +0 -1
  125. package/web/.svelte-kit/output/client/_app/immutable/chunks/BdVIGZmZ.js +0 -3
  126. package/web/.svelte-kit/output/client/_app/immutable/chunks/DcmZFcR0.js +0 -2
  127. package/web/.svelte-kit/output/client/_app/immutable/chunks/_om2syd9.js +0 -2
  128. package/web/.svelte-kit/output/client/_app/immutable/chunks/_om2syd9.js.map +0 -1
  129. package/web/.svelte-kit/output/client/_app/immutable/entry/start.qpCcTOMC.js +0 -2
  130. package/web/.svelte-kit/output/client/_app/immutable/entry/start.qpCcTOMC.js.map +0 -1
package/CLAUDE.md CHANGED
@@ -89,9 +89,9 @@ pairing goes by agent type alone. A failed `Agent` call marks its agent
89
89
  running (Escape never sends its `SubagentStop`). A subagent's own tool calls
90
90
  arrive under the parent's session id with `agent_id` set, and the latest one
91
91
  rides on the agent as `current_tool`. Finished agents stay an hour and failed
92
- ones a day: the sidebar (`agentView()` in `src/subagents.ts`) draws a finished
93
- agent as a dimmed row for ten minutes and then only counts it ("3 agents done"
94
- on the parent), while a failed one keeps its red row until it is opened from
92
+ ones a day: the sidebar (`agentView()` in `src/subagents.ts`) draws a row only for
93
+ a running agent and folds a finished one into the parent's count the moment it
94
+ ends ("3 agents done"), while a failed one keeps its red row until it is opened from
95
95
  this browser.
96
96
 
97
97
  ### 2. SvelteKit Web Server + WebSocket
@@ -1,20 +1,18 @@
1
1
  import type { Subagent } from "./db/sessions-json.js";
2
- /** How long a finished subagent keeps its own row before it folds into a count. */
3
- export declare const AGENT_ROW_MS: number;
4
2
  /** How long the count remembers it: the hook keeps it this long, but only prunes on its next write. */
5
3
  export declare const AGENT_COUNT_MS: number;
6
4
  /** What the sidebar draws for one session's subagents. */
7
5
  export interface AgentView {
8
- /** Rows to draw, oldest first: running, failed and not yet opened, recently finished. */
6
+ /** Rows to draw, oldest first: running, and failed but not yet opened. */
9
7
  rows: Subagent[];
10
8
  running: number;
11
- /** Done long enough ago that only the parent's status line counts them. */
9
+ /** Finished agents, which only the parent's status line counts. */
12
10
  folded: number;
13
11
  }
14
12
  /**
15
- * Sorts a session's subagents into rows and a folded count. A failed agent
16
- * keeps its row until someone opens it; after that it ages like a finished
17
- * one, but is never counted as done.
13
+ * Sorts a session's subagents into rows and a folded count. A finished agent
14
+ * folds into the count the moment it ends. A failed agent keeps its row until
15
+ * someone opens it, and is never counted as done.
18
16
  */
19
17
  export declare function agentView(agents: Subagent[] | undefined, now: number, opened: ReadonlySet<string>): AgentView;
20
18
  /** The parent's tally: "1 worker · 2 agents", "3 agents done"; null when there is nothing to say. */
@@ -1 +1 @@
1
- {"version":3,"file":"subagents.d.ts","sourceRoot":"","sources":["../src/subagents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,mFAAmF;AACnF,eAAO,MAAM,YAAY,QAAiB,CAAC;AAC3C,uGAAuG;AACvG,eAAO,MAAM,cAAc,QAAiB,CAAC;AAE7C,0DAA0D;AAC1D,MAAM,WAAW,SAAS;IACxB,yFAAyF;IACzF,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAa7G;AAED,qGAAqG;AACrG,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAO5E;AAED,6EAA6E;AAC7E,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEnD"}
1
+ {"version":3,"file":"subagents.d.ts","sourceRoot":"","sources":["../src/subagents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,uGAAuG;AACvG,eAAO,MAAM,cAAc,QAAiB,CAAC;AAE7C,0DAA0D;AAC1D,MAAM,WAAW,SAAS;IACxB,0EAA0E;IAC1E,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAW7G;AAED,qGAAqG;AACrG,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAO5E;AAED,6EAA6E;AAC7E,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEnD"}
package/dist/subagents.js CHANGED
@@ -1,11 +1,9 @@
1
- /** How long a finished subagent keeps its own row before it folds into a count. */
2
- export const AGENT_ROW_MS = 10 * 60 * 1000;
3
1
  /** How long the count remembers it: the hook keeps it this long, but only prunes on its next write. */
4
2
  export const AGENT_COUNT_MS = 60 * 60 * 1000;
5
3
  /**
6
- * Sorts a session's subagents into rows and a folded count. A failed agent
7
- * keeps its row until someone opens it; after that it ages like a finished
8
- * one, but is never counted as done.
4
+ * Sorts a session's subagents into rows and a folded count. A finished agent
5
+ * folds into the count the moment it ends. A failed agent keeps its row until
6
+ * someone opens it, and is never counted as done.
9
7
  */
10
8
  export function agentView(agents, now, opened) {
11
9
  const rows = [];
@@ -14,11 +12,9 @@ export function agentView(agents, now, opened) {
14
12
  for (const agent of agents ?? []) {
15
13
  if (agent.state === "running")
16
14
  running++;
17
- const pinned = agent.state === "running" || (agent.state === "failed" && !opened.has(agent.id));
18
- const ended = agent.ended_at ?? now;
19
- if (pinned || ended > now - AGENT_ROW_MS)
15
+ if (agent.state === "running" || (agent.state === "failed" && !opened.has(agent.id)))
20
16
  rows.push(agent);
21
- else if (agent.state === "done" && ended > now - AGENT_COUNT_MS)
17
+ else if (agent.state === "done" && (agent.ended_at ?? now) > now - AGENT_COUNT_MS)
22
18
  folded++;
23
19
  }
24
20
  rows.sort((a, b) => a.started_at - b.started_at);
@@ -1 +1 @@
1
- {"version":3,"file":"subagents.js","sourceRoot":"","sources":["../src/subagents.ts"],"names":[],"mappings":"AAEA,mFAAmF;AACnF,MAAM,CAAC,MAAM,YAAY,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAC3C,uGAAuG;AACvG,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAW7C;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAC,MAA8B,EAAE,GAAW,EAAE,MAA2B;IAChG,MAAM,IAAI,GAAe,EAAE,CAAC;IAC5B,IAAI,OAAO,GAAG,CAAC,CAAC;IAChB,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,KAAK,MAAM,KAAK,IAAI,MAAM,IAAI,EAAE,EAAE,CAAC;QACjC,IAAI,KAAK,CAAC,KAAK,KAAK,SAAS;YAAE,OAAO,EAAE,CAAC;QACzC,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;QAChG,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,IAAI,GAAG,CAAC;QACpC,IAAI,MAAM,IAAI,KAAK,GAAG,GAAG,GAAG,YAAY;YAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACtD,IAAI,KAAK,CAAC,KAAK,KAAK,MAAM,IAAI,KAAK,GAAG,GAAG,GAAG,cAAc;YAAE,MAAM,EAAE,CAAC;IAC5E,CAAC;IACD,IAAI,CAAC,IAAI,CAAC,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,OAAO;QAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;IAC3D,IAAI,IAAI,CAAC,MAAM;QAAE,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACnE,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACjD,CAAC;AAED,6EAA6E;AAC7E,MAAM,UAAU,cAAc,CAAC,IAAY;IACzC,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;AACvC,CAAC"}
@@ -2,5 +2,5 @@
2
2
  * Central version constant for claude-watch.
3
3
  * Keep in sync with package.json version.
4
4
  */
5
- export declare const VERSION = "0.30.3";
5
+ export declare const VERSION = "0.30.4";
6
6
  //# sourceMappingURL=version.d.ts.map
@@ -2,5 +2,5 @@
2
2
  * Central version constant for claude-watch.
3
3
  * Keep in sync with package.json version.
4
4
  */
5
- export const VERSION = "0.30.3";
5
+ export const VERSION = "0.30.4";
6
6
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- import{e as p,g as h,s as m,p as x,c as o,f as d,x as w,a as c,b as y}from"./BNg62Zr9.js";import"./DsnmJJEf.js";import{t as _,e as k,c as B,b as S}from"./D1gqZkA9.js";import{a as V}from"./Y5WsX0H8.js";import{p as f,b as j,r as z}from"./DvGfrVCO.js";class D{#e=p(!1);get open(){return h(this.#e)}set open(e){m(this.#e,e,!0)}toggle(){this.open=!this.open}close(){this.open=!1}}const H=new D,P=_({base:"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] [&>svg]:pointer-events-none [&>svg]:size-3",variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90 border-transparent",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 border-transparent",destructive:"bg-destructive [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/70 border-transparent text-white",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});var q=new Set(["$$slots","$$events","$$legacy","ref","href","class","variant","children"]);function I(t,e){x(e,!0);let a=f(e,"ref",15,null),v=f(e,"variant",3,"default"),l=z(e,q);var s=o(),u=d(s);k(u,()=>e.href?"a":"span",!1,(i,g)=>{j(i,r=>a(r),()=>a()),V(i,r=>({"data-slot":"badge",href:e.href,class:r,...l}),[()=>B(P({variant:v()}),e.class)]);var n=o(),b=d(n);S(b,()=>e.children??w),c(g,n)}),c(t,s),y()}export{I as B,H as d};
2
- //# sourceMappingURL=Bw38FtNy.js.map
1
+ import{e as p,g as h,s as m,p as x,c as o,f as d,x as w,a as c,b as y}from"./BNg62Zr9.js";import"./DsnmJJEf.js";import{t as _,e as k,c as B,b as S}from"./B5hoOzZI.js";import{a as V}from"./Y5WsX0H8.js";import{p as f,b as j,r as z}from"./DvGfrVCO.js";class D{#e=p(!1);get open(){return h(this.#e)}set open(e){m(this.#e,e,!0)}toggle(){this.open=!this.open}close(){this.open=!1}}const H=new D,P=_({base:"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] [&>svg]:pointer-events-none [&>svg]:size-3",variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90 border-transparent",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 border-transparent",destructive:"bg-destructive [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/70 border-transparent text-white",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});var q=new Set(["$$slots","$$events","$$legacy","ref","href","class","variant","children"]);function I(t,e){x(e,!0);let a=f(e,"ref",15,null),v=f(e,"variant",3,"default"),l=z(e,q);var s=o(),u=d(s);k(u,()=>e.href?"a":"span",!1,(i,g)=>{j(i,r=>a(r),()=>a()),V(i,r=>({"data-slot":"badge",href:e.href,class:r,...l}),[()=>B(P({variant:v()}),e.class)]);var n=o(),b=d(n);S(b,()=>e.children??w),c(g,n)}),c(t,s),y()}export{I as B,H as d};
2
+ //# sourceMappingURL=0itALT7D.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Bw38FtNy.js","sources":["../../../../../../src/lib/stores/drawer.svelte.ts","../../../../../../src/lib/components/ui/badge/badge.svelte"],"sourcesContent":["/**\n * Whether the sidebar drawer is open on narrow viewports.\n *\n * The session page's composer carries the toggle now that the page header is\n * gone, and the layout owns the drawer itself — so the two talk through this\n * rather than through a floating button drawn over the transcript.\n */\nclass DrawerStore {\n open = $state(false);\n\n toggle() {\n this.open = !this.open;\n }\n\n close() {\n this.open = false;\n }\n}\n\nexport const drawer = new DrawerStore();\n","<script lang=\"ts\" module>\n\timport { type VariantProps, tv } from \"tailwind-variants\";\n\n\texport const badgeVariants = tv({\n\t\tbase: \"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] [&>svg]:pointer-events-none [&>svg]:size-3\",\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault:\n\t\t\t\t\t\"bg-primary text-primary-foreground [a&]:hover:bg-primary/90 border-transparent\",\n\t\t\t\tsecondary:\n\t\t\t\t\t\"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 border-transparent\",\n\t\t\t\tdestructive:\n\t\t\t\t\t\"bg-destructive [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/70 border-transparent text-white\",\n\t\t\t\toutline: \"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground\",\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tvariant: \"default\",\n\t\t},\n\t});\n\n\texport type BadgeVariant = VariantProps<typeof badgeVariants>[\"variant\"];\n</script>\n\n<script lang=\"ts\">\n\timport type { HTMLAnchorAttributes } from \"svelte/elements\";\n\timport { cn, type WithElementRef } from \"$lib/utils.js\";\n\n\tlet {\n\t\tref = $bindable(null),\n\t\thref,\n\t\tclass: className,\n\t\tvariant = \"default\",\n\t\tchildren,\n\t\t...restProps\n\t}: WithElementRef<HTMLAnchorAttributes> & {\n\t\tvariant?: BadgeVariant;\n\t} = $props();\n</script>\n\n<svelte:element\n\tthis={href ? \"a\" : \"span\"}\n\tbind:this={ref}\n\tdata-slot=\"badge\"\n\t{href}\n\tclass={cn(badgeVariants({ variant }), className)}\n\t{...restProps}\n>\n\t{@render children?.()}\n</svelte:element>\n"],"names":["DrawerStore","$.state","value","drawer","badgeVariants","tv","ref","$.prop","$$props","variant","restProps","$.rest_props","rest_excludes","$$element","$$anchor","$.bind_this","$$value","cn"],"mappings":"yPAOA,MAAMA,CAAY,IACTC,EAAO,EAAK,MAAnB,MAAA,uBAAA,KAAAC,EAAA,iBAEA,QAAS,CACP,KAAK,KAAO,CAAC,KAAK,IACpB,CAEA,OAAQ,CACN,KAAK,KAAO,EACd,CACF,CAEO,MAAMC,EAAS,IAAIH,EChBZI,EAAgBC,EAAG,CAC/B,KAAM,mZACN,SAAU,CACT,QAAS,CACR,QACC,iFACD,UACC,uFACD,YACC,4KACD,QAAS,wEACT,CACD,EACD,gBAAiB,CAChB,QAAS,SAAS,EAEnB,4GAKF,SAIC,IACCC,EAAGC,EAAAC,EAAA,MAAA,GAAa,IAAI,EAGpBC,kBAAU,SAAS,EAEhBC,EAAAC,EAAAH,EAAAI,CAAA,2BAOEJ,EAAA,KAAO,IAAM,OAAM,GAAA,CAAAK,EAAAC,IAAA,CACdC,EAAAF,EAAAG,GAAAV,SAAAA,GAAG,sDAIVI,SADGO,EAAGb,EAAc,CAAE,QAAAK,GAAO,CAAE,EAACD,EAAA,KAAA,+DAP7B"}
1
+ {"version":3,"file":"0itALT7D.js","sources":["../../../../../../src/lib/stores/drawer.svelte.ts","../../../../../../src/lib/components/ui/badge/badge.svelte"],"sourcesContent":["/**\n * Whether the sidebar drawer is open on narrow viewports.\n *\n * The session page's composer carries the toggle now that the page header is\n * gone, and the layout owns the drawer itself — so the two talk through this\n * rather than through a floating button drawn over the transcript.\n */\nclass DrawerStore {\n open = $state(false);\n\n toggle() {\n this.open = !this.open;\n }\n\n close() {\n this.open = false;\n }\n}\n\nexport const drawer = new DrawerStore();\n","<script lang=\"ts\" module>\n\timport { type VariantProps, tv } from \"tailwind-variants\";\n\n\texport const badgeVariants = tv({\n\t\tbase: \"focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] [&>svg]:pointer-events-none [&>svg]:size-3\",\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault:\n\t\t\t\t\t\"bg-primary text-primary-foreground [a&]:hover:bg-primary/90 border-transparent\",\n\t\t\t\tsecondary:\n\t\t\t\t\t\"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 border-transparent\",\n\t\t\t\tdestructive:\n\t\t\t\t\t\"bg-destructive [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/70 border-transparent text-white\",\n\t\t\t\toutline: \"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground\",\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tvariant: \"default\",\n\t\t},\n\t});\n\n\texport type BadgeVariant = VariantProps<typeof badgeVariants>[\"variant\"];\n</script>\n\n<script lang=\"ts\">\n\timport type { HTMLAnchorAttributes } from \"svelte/elements\";\n\timport { cn, type WithElementRef } from \"$lib/utils.js\";\n\n\tlet {\n\t\tref = $bindable(null),\n\t\thref,\n\t\tclass: className,\n\t\tvariant = \"default\",\n\t\tchildren,\n\t\t...restProps\n\t}: WithElementRef<HTMLAnchorAttributes> & {\n\t\tvariant?: BadgeVariant;\n\t} = $props();\n</script>\n\n<svelte:element\n\tthis={href ? \"a\" : \"span\"}\n\tbind:this={ref}\n\tdata-slot=\"badge\"\n\t{href}\n\tclass={cn(badgeVariants({ variant }), className)}\n\t{...restProps}\n>\n\t{@render children?.()}\n</svelte:element>\n"],"names":["DrawerStore","$.state","value","drawer","badgeVariants","tv","ref","$.prop","$$props","variant","restProps","$.rest_props","rest_excludes","$$element","$$anchor","$.bind_this","$$value","cn"],"mappings":"yPAOA,MAAMA,CAAY,IACTC,EAAO,EAAK,MAAnB,MAAA,uBAAA,KAAAC,EAAA,iBAEA,QAAS,CACP,KAAK,KAAO,CAAC,KAAK,IACpB,CAEA,OAAQ,CACN,KAAK,KAAO,EACd,CACF,CAEO,MAAMC,EAAS,IAAIH,EChBZI,EAAgBC,EAAG,CAC/B,KAAM,mZACN,SAAU,CACT,QAAS,CACR,QACC,iFACD,UACC,uFACD,YACC,4KACD,QAAS,wEACT,CACD,EACD,gBAAiB,CAChB,QAAS,SAAS,EAEnB,4GAKF,SAIC,IACCC,EAAGC,EAAAC,EAAA,MAAA,GAAa,IAAI,EAGpBC,kBAAU,SAAS,EAEhBC,EAAAC,EAAAH,EAAAI,CAAA,2BAOEJ,EAAA,KAAO,IAAM,OAAM,GAAA,CAAAK,EAAAC,IAAA,CACdC,EAAAF,EAAAG,GAAAV,SAAAA,GAAG,sDAIVI,SADGO,EAAGb,EAAc,CAAE,QAAAK,GAAO,CAAE,EAACD,EAAA,KAAA,+DAP7B"}