pi-roundtable-web 0.29.0 → 0.29.2

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 (242) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/chunk-account-dq0nhfvj.js +1 -0
  3. package/dist/{chunk-action-menu-q5y7xpry.js → chunk-action-menu-37zgbhje.js} +1 -1
  4. package/dist/chunk-agent-yqe6reej.js +1 -0
  5. package/dist/chunk-arranged-rooms-sx6xg9df.js +1 -0
  6. package/dist/chunk-attachments-3vbj05g5.js +102 -0
  7. package/dist/chunk-bulk-actions-6pehrsgb.js +1 -0
  8. package/dist/chunk-character-creator-bg3tdc8p.js +225 -0
  9. package/dist/chunk-codeeditor-102wa9bj.js +2 -0
  10. package/dist/chunk-confirm-ghxga720.js +1 -0
  11. package/dist/chunk-connectors-0jzzren3.js +37 -0
  12. package/dist/chunk-conversations-3276jq4q.js +1 -0
  13. package/dist/chunk-council-sheet-7m884s44.js +2 -0
  14. package/dist/chunk-council-view-rkzcxeg8.js +1 -0
  15. package/dist/{chunk-drag-7873fvzw.js → chunk-drag-sw692nr3.js} +1 -1
  16. package/dist/chunk-entry-mb6jd983.js +1 -0
  17. package/dist/chunk-folder-list-g7st6p1e.js +1 -0
  18. package/dist/chunk-folds-rb1b069h.js +1 -0
  19. package/dist/chunk-gate-3rxxyfev.js +1 -0
  20. package/dist/chunk-host-icons-cyj62pwp.js +1 -0
  21. package/dist/chunk-host-picture-9wnhqckv.js +1 -0
  22. package/dist/chunk-host-state-b858k3p8.js +1 -0
  23. package/dist/chunk-host-ui-j6wvj0pe.js +1 -0
  24. package/dist/{chunk-index-gj3n4dh5.js → chunk-index-0qzqzp6t.js} +2 -2
  25. package/dist/{chunk-index-7k5895sn.js → chunk-index-0t68az7d.js} +3 -3
  26. package/dist/chunk-index-0xdptr30.js +2 -0
  27. package/dist/{chunk-index-bjeg3e2j.js → chunk-index-1tkzdy4s.js} +2 -2
  28. package/dist/chunk-index-2s48qyrs.js +2 -0
  29. package/dist/chunk-index-33cqx9v2.js +2 -0
  30. package/dist/chunk-index-36m3knsk.js +2 -0
  31. package/dist/{chunk-index-r0hk9kyd.js → chunk-index-50syrmaq.js} +2 -2
  32. package/dist/{chunk-index-4krm48hm.js → chunk-index-50w6yq2d.js} +1 -1
  33. package/dist/{chunk-index-4jnn2g09.js → chunk-index-5fyqxh0r.js} +2 -2
  34. package/dist/chunk-index-5x3h176v.js +2 -0
  35. package/dist/{chunk-index-y6p8j3zv.js → chunk-index-6cs1wvhy.js} +1 -1
  36. package/dist/{chunk-index-aycxt14t.js → chunk-index-6m25qpa7.js} +2 -2
  37. package/dist/{chunk-index-35zqk1zr.js → chunk-index-6nja2vd8.js} +2 -2
  38. package/dist/{chunk-index-teyx2hz7.js → chunk-index-6q3dx093.js} +2 -2
  39. package/dist/{chunk-index-7c9fn21n.js → chunk-index-6ycrvwzs.js} +2 -2
  40. package/dist/{chunk-index-5ssncptg.js → chunk-index-6yfcfcc8.js} +2 -2
  41. package/dist/{chunk-index-rr73h4kc.js → chunk-index-7gk2sdf4.js} +3 -3
  42. package/dist/{chunk-index-h2a42p6s.js → chunk-index-7p31pda8.js} +19 -3
  43. package/dist/chunk-index-91wnf1k9.js +1 -0
  44. package/dist/chunk-index-9ehqccfe.js +2 -0
  45. package/dist/chunk-index-ar1x9fhw.js +2 -0
  46. package/dist/chunk-index-axw4wkqq.js +2 -0
  47. package/dist/chunk-index-b5patef1.js +2 -0
  48. package/dist/chunk-index-d941ae7c.js +2 -0
  49. package/dist/chunk-index-dagc92hw.js +2 -0
  50. package/dist/chunk-index-ddssgba9.js +2 -0
  51. package/dist/chunk-index-dpgn7kzp.js +2 -0
  52. package/dist/{chunk-index-zdzzf3fp.js → chunk-index-e8535c4h.js} +2 -2
  53. package/dist/{chunk-index-e46652wf.js → chunk-index-edjyj761.js} +1 -1
  54. package/dist/chunk-index-eez0kbk4.js +2 -0
  55. package/dist/chunk-index-ekp5mmvp.js +2 -0
  56. package/dist/{chunk-index-pcbkp62w.js → chunk-index-eyythjdx.js} +2 -2
  57. package/dist/chunk-index-fdg2qd3f.js +2 -0
  58. package/dist/chunk-index-g0sdxjxr.js +2 -0
  59. package/dist/{chunk-index-cttrqfm8.js → chunk-index-gmbk3sra.js} +1 -1
  60. package/dist/chunk-index-hsc9yz2x.js +2 -0
  61. package/dist/{chunk-index-a8c0ap8g.js → chunk-index-jrj09r5c.js} +2 -2
  62. package/dist/chunk-index-kvztbfqj.js +2 -0
  63. package/dist/{chunk-index-f4gqzfkv.js → chunk-index-m7wzrmcd.js} +2 -2
  64. package/dist/chunk-index-m8bv51r9.js +2 -0
  65. package/dist/{chunk-index-amspdq2j.js → chunk-index-mey1p7h8.js} +3 -3
  66. package/dist/{chunk-index-4re5prfp.js → chunk-index-mzw7nmkc.js} +2 -2
  67. package/dist/{chunk-index-en5dm1zv.js → chunk-index-n2v2bz8d.js} +2 -2
  68. package/dist/chunk-index-nncy9wxw.js +2 -0
  69. package/dist/chunk-index-p2e7rwac.js +2 -0
  70. package/dist/chunk-index-p98tt12y.js +2 -0
  71. package/dist/chunk-index-qdtmetsy.js +120 -0
  72. package/dist/{chunk-index-pfs6rm6w.js → chunk-index-qedt9szy.js} +2 -2
  73. package/dist/{chunk-index-evhaaqzk.js → chunk-index-qk7rp7fk.js} +11 -11
  74. package/dist/{chunk-index-hef4gwtb.js → chunk-index-qq86fxda.js} +2 -2
  75. package/dist/{chunk-index-v6h43553.js → chunk-index-qw9a7ken.js} +2 -2
  76. package/dist/chunk-index-s356ybxk.js +50 -0
  77. package/dist/{chunk-index-rtz4936v.js → chunk-index-sk8cvb4e.js} +3 -3
  78. package/dist/{chunk-index-3tjmyd1h.js → chunk-index-syxwqhry.js} +2 -2
  79. package/dist/{chunk-index-1652v386.css → chunk-index-t7csmbpy.css} +1 -1
  80. package/dist/{chunk-index-haac6nbt.js → chunk-index-tasbd41t.js} +2 -2
  81. package/dist/chunk-index-vxqzavgz.js +2 -0
  82. package/dist/chunk-index-x5xq9g9a.js +3 -0
  83. package/dist/chunk-index-xx0kecz9.js +2 -0
  84. package/dist/{chunk-index-q33ppq0j.js → chunk-index-y1xv3dxs.js} +100 -4
  85. package/dist/{chunk-index-ntt3em2k.js → chunk-index-yn1vvxj2.js} +1 -1
  86. package/dist/chunk-lang-css-rwkzd784.js +1 -0
  87. package/dist/{chunk-lang-dockerfile-2p7e3ssz.js → chunk-lang-dockerfile-e87ssppx.js} +1 -1
  88. package/dist/{chunk-lang-go-zxp9k517.js → chunk-lang-go-kbcbn346.js} +2 -2
  89. package/dist/chunk-lang-html-zhngbs9v.js +1 -0
  90. package/dist/chunk-lang-javascript-bk2s6a56.js +1 -0
  91. package/dist/{chunk-lang-json-zmym50rg.js → chunk-lang-json-4pe1fv7e.js} +1 -1
  92. package/dist/{chunk-lang-markdown-ww2kcs85.js → chunk-lang-markdown-67cm3tjx.js} +5 -5
  93. package/dist/{chunk-lang-python-ng1zdtd4.js → chunk-lang-python-mnfhcvww.js} +2 -2
  94. package/dist/{chunk-lang-rust-6ynhxjdd.js → chunk-lang-rust-e4a9s76x.js} +1 -1
  95. package/dist/{chunk-lang-shell-39t9bz2s.js → chunk-lang-shell-43nea8tq.js} +1 -1
  96. package/dist/{chunk-lang-sql-w875ejpg.js → chunk-lang-sql-28364npv.js} +2 -2
  97. package/dist/{chunk-lang-toml-b8ckgkg5.js → chunk-lang-toml-a83hr7bw.js} +1 -1
  98. package/dist/chunk-lang-typescript-r5npc6zf.js +1 -0
  99. package/dist/{chunk-lang-xml-bz91cjp1.js → chunk-lang-xml-2hv5xc8n.js} +1 -1
  100. package/dist/{chunk-lang-yaml-g9zy0tdv.js → chunk-lang-yaml-vw22drt8.js} +1 -1
  101. package/dist/chunk-layout-actions-rw5myg2t.js +1 -0
  102. package/dist/chunk-menu-items-q0hy5kzd.js +1 -0
  103. package/dist/chunk-mode-toggle-yk2t0tcy.js +1 -0
  104. package/dist/{chunk-note-row-314py1pp.js → chunk-note-row-c0trzayj.js} +33 -4
  105. package/dist/chunk-notes-0xcmm938.js +1 -0
  106. package/dist/chunk-notice-bell-f9nhxg71.js +1 -0
  107. package/dist/{chunk-notices-mtn7pg1z.js → chunk-notices-gkaqncqz.js} +1 -1
  108. package/dist/chunk-onboarding-fkq9ptcw.js +1 -0
  109. package/dist/chunk-overview-yssxbg0d.js +1 -0
  110. package/dist/chunk-palette-w6qbr7zp.js +1 -0
  111. package/dist/chunk-placement-items-wcwy91mp.js +1 -0
  112. package/dist/chunk-profile-9sjgayrx.js +1 -0
  113. package/dist/chunk-prompt-history-kn42sf8y.js +1 -0
  114. package/dist/chunk-prompts-824fwgvh.js +1 -0
  115. package/dist/chunk-room-confirms-hvs9tra4.js +1 -0
  116. package/dist/{chunk-room-menu-1m2c2ekt.js → chunk-room-menu-pkd0487m.js} +1 -1
  117. package/dist/chunk-rooms-menu-button-w5hfhsfv.js +1 -0
  118. package/dist/chunk-schedules-m9mn68gt.js +1 -0
  119. package/dist/{chunk-seat-menu-m2n9nvv0.js → chunk-seat-menu-3tdcr44t.js} +1 -1
  120. package/dist/chunk-section-fold-g0tx68cj.js +1 -0
  121. package/dist/chunk-settings-18qmhcyr.js +1 -0
  122. package/dist/chunk-sheet-hosts-tsppnmvv.js +29 -0
  123. package/dist/chunk-shortcut-help-wnm0cm8n.js +26 -0
  124. package/dist/chunk-shortcuts-qee393s5.js +1 -0
  125. package/dist/chunk-skill-editor-pryntvpr.js +8 -0
  126. package/dist/chunk-skills-sap3rysr.js +1 -0
  127. package/dist/chunk-start-over-line-azexcxj1.js +16 -0
  128. package/dist/chunk-switcher-list-6hacxjfe.js +1 -0
  129. package/dist/{chunk-tab-dot-gkpe06q8.js → chunk-tab-dot-h0eskhrt.js} +1 -1
  130. package/dist/{chunk-table-av3kh3tt.js → chunk-table-jtn49c2m.js} +1 -1
  131. package/dist/chunk-table2d-vy4w4r5k.js +1 -0
  132. package/dist/{chunk-table3d-rsvajx7r.js → chunk-table3d-0a62jerb.js} +22 -22
  133. package/dist/chunk-thread-actions-31scmndt.js +1 -0
  134. package/dist/{chunk-thread-cards-grzszfha.js → chunk-thread-cards-mwxzy02t.js} +1 -1
  135. package/dist/chunk-thread-list-52mx2m9p.js +227 -0
  136. package/dist/chunk-transcript-p5q2m795.js +1 -0
  137. package/dist/chunk-waiting-chip-wvkbsnw5.js +32 -0
  138. package/dist/chunk-waiting-s7nm3q0p.js +1 -0
  139. package/dist/chunk-where-j99f8pb8.js +1 -0
  140. package/dist/chunk-workspace-ne2nkf4h.js +586 -0
  141. package/dist/chunk-zh-tw-vm5d0w6j.js +1 -0
  142. package/dist/index.html +1 -1
  143. package/dist/sw.js +1 -1
  144. package/package.json +2 -2
  145. package/src/api-types.ts +12 -0
  146. package/src/app/app.ts +7 -0
  147. package/src/app/card-log.ts +10 -2
  148. package/src/app/protocol.ts +18 -0
  149. package/src/app/queued-delivery.ts +107 -0
  150. package/src/app/queued-frames.ts +115 -0
  151. package/src/app/room-log.ts +39 -7
  152. package/src/app/routes.ts +97 -5
  153. package/src/app/socket.ts +12 -2
  154. package/src/app/surface.ts +37 -6
  155. package/src/app/zip.ts +124 -0
  156. package/src/auth/sessions.ts +9 -1
  157. package/src/host/cards.ts +10 -3
  158. package/src/host/stored-json.ts +23 -0
  159. package/src/i18n/zh-tw.ts +14 -0
  160. package/src/notices/mount.ts +1 -0
  161. package/src/notices/store.ts +9 -1
  162. package/src/web-plugin.ts +4 -1
  163. package/dist/chunk-account-9616x405.js +0 -1
  164. package/dist/chunk-agent-x74xezyt.js +0 -1
  165. package/dist/chunk-arranged-rooms-9prq46vh.js +0 -1
  166. package/dist/chunk-bulk-actions-5dc4m9ad.js +0 -1
  167. package/dist/chunk-character-creator-wf02eg0h.js +0 -1
  168. package/dist/chunk-codeeditor-239ss6a2.js +0 -2
  169. package/dist/chunk-confirm-bhrx9195.js +0 -1
  170. package/dist/chunk-connectors-k77pd9by.js +0 -37
  171. package/dist/chunk-conversations-ftcpaqw1.js +0 -1
  172. package/dist/chunk-council-sheet-a5e6tspr.js +0 -2
  173. package/dist/chunk-council-view-6593rqbr.js +0 -1
  174. package/dist/chunk-entry-5zmjxadx.js +0 -1
  175. package/dist/chunk-folder-list-h9hmbm8e.js +0 -1
  176. package/dist/chunk-folds-vxq86t1s.js +0 -1
  177. package/dist/chunk-gate-fa6za28z.js +0 -1
  178. package/dist/chunk-host-icons-y6frbzqt.js +0 -1
  179. package/dist/chunk-host-picture-fqg55rbr.js +0 -1
  180. package/dist/chunk-host-state-65tdhkyq.js +0 -1
  181. package/dist/chunk-host-ui-233kz7qp.js +0 -1
  182. package/dist/chunk-index-2c00zf3z.js +0 -2
  183. package/dist/chunk-index-2dhrqvba.js +0 -2
  184. package/dist/chunk-index-2s4bkrz3.js +0 -2
  185. package/dist/chunk-index-2ypaqwjy.js +0 -2
  186. package/dist/chunk-index-39qq37j5.js +0 -2
  187. package/dist/chunk-index-4eag6s50.js +0 -2
  188. package/dist/chunk-index-57teqgct.js +0 -2
  189. package/dist/chunk-index-93f3e06v.js +0 -2
  190. package/dist/chunk-index-9m9v1p7s.js +0 -2
  191. package/dist/chunk-index-a8nqn3y0.js +0 -3
  192. package/dist/chunk-index-am7ghh75.js +0 -120
  193. package/dist/chunk-index-amxa2bn3.js +0 -2
  194. package/dist/chunk-index-dajanzxc.js +0 -1
  195. package/dist/chunk-index-e2eeckhh.js +0 -2
  196. package/dist/chunk-index-ek98d2rn.js +0 -2
  197. package/dist/chunk-index-gp4chnp3.js +0 -2
  198. package/dist/chunk-index-mg96sqpk.js +0 -2
  199. package/dist/chunk-index-nsya88fn.js +0 -1
  200. package/dist/chunk-index-pgxgq61x.js +0 -2
  201. package/dist/chunk-index-smz90j6p.js +0 -2
  202. package/dist/chunk-index-vzqwn3wp.js +0 -2
  203. package/dist/chunk-index-wt2asefx.js +0 -50
  204. package/dist/chunk-index-x4tq9btg.js +0 -2
  205. package/dist/chunk-index-yvcdg5hh.js +0 -2
  206. package/dist/chunk-index-zeqfnkty.js +0 -2
  207. package/dist/chunk-index-zpwb8mkk.js +0 -2
  208. package/dist/chunk-lang-css-avzhvm72.js +0 -1
  209. package/dist/chunk-lang-html-red02gep.js +0 -1
  210. package/dist/chunk-lang-javascript-n33kmjcx.js +0 -1
  211. package/dist/chunk-lang-typescript-qf8acbb2.js +0 -1
  212. package/dist/chunk-layout-actions-fyzzzeyp.js +0 -1
  213. package/dist/chunk-menu-items-yvnk3vds.js +0 -1
  214. package/dist/chunk-mode-toggle-ccv271hm.js +0 -1
  215. package/dist/chunk-notes-4rnrddzw.js +0 -1
  216. package/dist/chunk-notice-bell-z9wgamnz.js +0 -1
  217. package/dist/chunk-onboarding-f3hhxgg4.js +0 -1
  218. package/dist/chunk-overview-qmepntrr.js +0 -1
  219. package/dist/chunk-palette-edkn1ypq.js +0 -1
  220. package/dist/chunk-placement-items-trsa5t23.js +0 -1
  221. package/dist/chunk-profile-pwfq0wns.js +0 -1
  222. package/dist/chunk-prompt-history-xp9hmeqt.js +0 -1
  223. package/dist/chunk-prompts-a56qvytg.js +0 -1
  224. package/dist/chunk-room-confirms-gqpkz4h0.js +0 -1
  225. package/dist/chunk-rooms-menu-button-tcvda1gq.js +0 -1
  226. package/dist/chunk-schedules-kwnw7p8v.js +0 -1
  227. package/dist/chunk-sheet-hosts-pr8xktyq.js +0 -29
  228. package/dist/chunk-shortcut-help-sbvrds1m.js +0 -26
  229. package/dist/chunk-shortcuts-8705p7q3.js +0 -1
  230. package/dist/chunk-skill-editor-7xy09sq1.js +0 -8
  231. package/dist/chunk-skills-cnc25x7q.js +0 -1
  232. package/dist/chunk-start-over-line-97zdd9pb.js +0 -16
  233. package/dist/chunk-switcher-list-ehsn2wsk.js +0 -1
  234. package/dist/chunk-table2d-5x3jptp9.js +0 -1
  235. package/dist/chunk-thread-actions-7xtkegwm.js +0 -1
  236. package/dist/chunk-thread-list-9bjjac3j.js +0 -217
  237. package/dist/chunk-transcript-t5szb8r0.js +0 -1
  238. package/dist/chunk-waiting-chip-d8b6a0p8.js +0 -28
  239. package/dist/chunk-waiting-ts3kxjvv.js +0 -1
  240. package/dist/chunk-where-3d3ncsa5.js +0 -1
  241. package/dist/chunk-workspace-ct6hvn0z.js +0 -578
  242. package/dist/chunk-zh-tw-v9v1eerm.js +0 -1
@@ -1,217 +0,0 @@
1
- import{p,j,o,a,t,K,g,e,n,s,x,d,M,_,Se,J,er,Ue,Ht,Gn,kn,Lt}from"./chunk-index-wt2asefx.js";var C="roundtable-console:helpers-folded";function Z(){try{let i=localStorage.getItem(C),r=i?JSON.parse(i):{};if(typeof r!=="object"||r===null||Array.isArray(r))return{};return Object.fromEntries(Object.entries(r).filter((l)=>typeof l[1]==="boolean"))}catch{return{}}}var N,{emit:z,use:O}=M(),H=()=>(N??=Z(),N);function E(i,r){return O(H)[i]??!r}function L(i,r){N={...H(),[i]:r};try{localStorage.setItem(C,JSON.stringify(N))}catch{}z()}var T=!1;function D(){if(T||typeof document>"u")return;if(T=!0,typeof CSSStyleSheet<"u"&&"adoptedStyleSheets"in Document.prototype)try{let r=new CSSStyleSheet;r.replaceSync(`
2
- .helper-group {
3
- display: flex;
4
- flex-direction: column;
5
- gap: var(--space-1);
6
- margin: var(--space-2) 0 var(--space-2) var(--space-5);
7
- }
8
-
9
- .helper-head {
10
- display: flex;
11
- align-items: center;
12
- gap: var(--space-2);
13
- min-height: 2rem;
14
- padding: 0 var(--space-2);
15
- border: 0;
16
- background: transparent;
17
- color: var(--muted);
18
- font-size: var(--text-xs);
19
- font-weight: var(--weight-medium);
20
- text-align: left;
21
- }
22
-
23
- .helper-head::before {
24
- content: "";
25
- flex: none;
26
- width: 0.5rem;
27
- height: 0.5rem;
28
- border-right: 2px solid currentColor;
29
- border-bottom: 2px solid currentColor;
30
- transform: rotate(-45deg);
31
- transition: transform 120ms var(--ease-out);
32
- }
33
-
34
- .helper-head[aria-expanded="true"]::before {
35
- transform: rotate(45deg);
36
- }
37
-
38
- .helper-list {
39
- display: flex;
40
- flex-direction: column;
41
- gap: 2px;
42
- margin: 0;
43
- padding: 0;
44
- list-style: none;
45
- }
46
-
47
- .helper-link {
48
- display: flex;
49
- align-items: center;
50
- gap: var(--space-2);
51
- min-width: 0;
52
- min-height: var(--touch);
53
- padding: 0 var(--space-3);
54
- border-radius: var(--radius);
55
- color: inherit;
56
- text-decoration: none;
57
- }
58
-
59
- .helper-link:hover {
60
- background: var(--surface-2);
61
- }
62
-
63
- .helper-link[aria-current="page"] {
64
- background: var(--accent-soft);
65
- }
66
-
67
- .helper-link strong {
68
- min-width: 0;
69
- overflow: hidden;
70
- font-weight: var(--weight-medium);
71
- text-overflow: ellipsis;
72
- white-space: nowrap;
73
- }
74
-
75
- .helper-state {
76
- display: flex;
77
- flex: none;
78
- align-items: center;
79
- gap: var(--space-2);
80
- margin-left: auto;
81
- color: var(--muted);
82
- font-size: var(--text-xs);
83
- }
84
-
85
- .helper-link[data-finished] strong,
86
- .helper-link[data-finished] .helper-state {
87
- opacity: 0.6;
88
- }
89
-
90
- .helper-dot {
91
- width: 0.5rem;
92
- height: 0.5rem;
93
- border-radius: 50%;
94
- background: var(--accent);
95
- animation: helper-pulse 1.2s ease-in-out infinite;
96
- }
97
-
98
- @keyframes helper-pulse {
99
- 50% {
100
- opacity: 0.35;
101
- }
102
- }
103
-
104
- @media (prefers-reduced-motion: reduce) {
105
- .helper-dot {
106
- animation: none;
107
- }
108
- }
109
- `),document.adoptedStyleSheets=[...document.adoptedStyleSheets,r];return}catch{}let i=document.createElement("style");i.textContent=`
110
- .helper-group {
111
- display: flex;
112
- flex-direction: column;
113
- gap: var(--space-1);
114
- margin: var(--space-2) 0 var(--space-2) var(--space-5);
115
- }
116
-
117
- .helper-head {
118
- display: flex;
119
- align-items: center;
120
- gap: var(--space-2);
121
- min-height: 2rem;
122
- padding: 0 var(--space-2);
123
- border: 0;
124
- background: transparent;
125
- color: var(--muted);
126
- font-size: var(--text-xs);
127
- font-weight: var(--weight-medium);
128
- text-align: left;
129
- }
130
-
131
- .helper-head::before {
132
- content: "";
133
- flex: none;
134
- width: 0.5rem;
135
- height: 0.5rem;
136
- border-right: 2px solid currentColor;
137
- border-bottom: 2px solid currentColor;
138
- transform: rotate(-45deg);
139
- transition: transform 120ms var(--ease-out);
140
- }
141
-
142
- .helper-head[aria-expanded="true"]::before {
143
- transform: rotate(45deg);
144
- }
145
-
146
- .helper-list {
147
- display: flex;
148
- flex-direction: column;
149
- gap: 2px;
150
- margin: 0;
151
- padding: 0;
152
- list-style: none;
153
- }
154
-
155
- .helper-link {
156
- display: flex;
157
- align-items: center;
158
- gap: var(--space-2);
159
- min-width: 0;
160
- min-height: var(--touch);
161
- padding: 0 var(--space-3);
162
- border-radius: var(--radius);
163
- color: inherit;
164
- text-decoration: none;
165
- }
166
-
167
- .helper-link:hover {
168
- background: var(--surface-2);
169
- }
170
-
171
- .helper-link[aria-current="page"] {
172
- background: var(--accent-soft);
173
- }
174
-
175
- .helper-link strong {
176
- min-width: 0;
177
- overflow: hidden;
178
- font-weight: var(--weight-medium);
179
- text-overflow: ellipsis;
180
- white-space: nowrap;
181
- }
182
-
183
- .helper-state {
184
- display: flex;
185
- flex: none;
186
- align-items: center;
187
- gap: var(--space-2);
188
- margin-left: auto;
189
- color: var(--muted);
190
- font-size: var(--text-xs);
191
- }
192
-
193
- .helper-link[data-finished] strong,
194
- .helper-link[data-finished] .helper-state {
195
- opacity: 0.6;
196
- }
197
-
198
- .helper-dot {
199
- width: 0.5rem;
200
- height: 0.5rem;
201
- border-radius: 50%;
202
- background: var(--accent);
203
- animation: helper-pulse 1.2s ease-in-out infinite;
204
- }
205
-
206
- @keyframes helper-pulse {
207
- 50% {
208
- opacity: 0.35;
209
- }
210
- }
211
-
212
- @media (prefers-reduced-motion: reduce) {
213
- .helper-dot {
214
- animation: none;
215
- }
216
- }
217
- `,document.head.append(i)}D();var P=j(function(r){let{view:l}=r,m=l.helper?.finished===!0;return e("li",{children:n("a",{className:"helper-link",href:x("room",l.key),"data-helper":l.name,"data-finished":m?"":void 0,"aria-current":r.active?"page":void 0,children:[e(Ue,{view:l,size:20}),e("strong",{children:l.displayName}),e(Ht,{room:l.key}),n("span",{className:"helper-state",children:[r.waiting?e(kn,{count:r.waiting}):null,!m&&!r.waiting?e("span",{className:"helper-dot",role:"img","aria-label":t("Working")}):null,m?e("span",{children:t("Ended")}):null,m&&r.at?e("span",{className:"room-row-time",children:Se(r.at,r.now,r.timeZone)}):null]})]})})});function F(i){let{now:r}=J(),{timeZone:l}=_(),m=Lt(i.keys),w=m.some((h)=>h.view.helper?.finished!==!0),u=i.parent??"",y=!E(u,w)||m.some((h)=>h.key===i.active)?m:[];if(m.length===0)return null;return n("div",{className:"helper-group","data-parent":i.parent,children:[e("button",{type:"button",className:"helper-head","aria-expanded":y.length>0,onClick:()=>L(u,y.length>0),children:K(m.length,"{count} temp knight","{count} temp knights")}),y.length>0?e("ul",{className:"helper-list",children:y.map(({key:h,...v})=>e(P,{...v,active:h===i.active,now:r,timeZone:l},h))}):null]})}var I=j(function(r){let{view:l,parent:m}=r,w=er(l.key),u=Boolean(l.closed);return n("li",{className:"thread-item",children:[u?n("span",{className:"thread-reveal","aria-hidden":"true",children:[e(s,{name:"trash",size:18}),t("Clear")]}):null,n("div",{className:"thread-card","data-hold":"row","data-thread":l.key,"data-closed":u?"":void 0,style:w,children:[n("a",{className:"thread-link",href:x("room",l.key),"aria-current":r.active?"page":void 0,children:[m?e(Ue,{view:m,size:36}):e(s,{name:"conversations",size:20,className:"thread-row-icon"}),n("span",{className:"thread-card-main",children:[n("span",{className:"thread-card-top",children:[e("strong",{className:"thread-title",children:l.displayName}),e(Ht,{room:l.key})]}),n("span",{className:"thread-card-meta",children:[r.typing?e(Gn,{}):null,e("span",{className:u?"badge":"badge badge-accent",children:u?t("Finished"):t("In progress")}),r.waiting?e(kn,{count:r.waiting}):null,e("span",{className:"room-row-time",children:r.at?Se(r.at,r.now,r.timeZone):""})]})]})]}),u?e("button",{type:"button",className:"thread-more","aria-haspopup":"menu","aria-label":t("More actions for {name}",{name:l.displayName}),onClick:(f)=>{let y=f.currentTarget,h=y.closest(".thread-card"),v=y.getBoundingClientRect();if(h)(p("grzszfha"),import("./chunk-thread-cards-grzszfha.js")).then((k)=>k.openCardMenu(h,{x:v.right,y:v.bottom},"key"))},children:e(s,{name:"more",size:18})}):null]})]})});function A(i){let{now:r}=J(),{timeZone:l}=_(),m=Lt(i.open),w=m.filter((c)=>c.view.helper).map((c)=>c.key),u=m.filter((c)=>!c.view.helper),f=Lt(i.closed),y=d((c)=>i.parent?c.rooms[i.parent]?.view:void 0,i.parent??""),h=a(null),v=u.length+f.length>0;if(o(()=>{let c=h.current;if(!v||!c)return;let b=!1,S;return (p("grzszfha"),import("./chunk-thread-cards-grzszfha.js")).then((R)=>{if(!b)S=R.attachThreadCards(c)}),()=>{b=!0,S?.()}},[v]),!v&&w.length===0)return null;let k=({key:c,...b})=>e(I,{...b,active:c===i.active,now:r,timeZone:l,parent:y},c);if(!v)return e(F,{keys:w,parent:i.parent,active:i.active});return n(g,{children:[w.length?e(F,{keys:w,parent:i.parent,active:i.active}):null,n("div",{className:"thread-group",ref:h,"data-parent":i.parent,children:[u.length?e("ul",{className:"thread-list","aria-label":t("Dispatch threads"),children:u.map(k)}):null,f.length?n("div",{className:"thread-finished",children:[n("details",{className:"thread-closed",...f.some((c)=>c.key===i.active)?{open:!0}:{},children:[e("summary",{children:K(f.length,"{count} finished thread","{count} finished threads")}),e("ul",{className:"thread-list",children:f.map(k)})]}),e("button",{type:"button",className:"thread-clear",onClick:()=>(p("7xtkegwm"),import("./chunk-thread-actions-7xtkegwm.js")).then((c)=>c.clearFinished(i.parent,f.map((b)=>b.key))),children:t("Clear finished")})]}):null]})]})}export{A as default};
@@ -1 +0,0 @@
1
- import{o,L,a,r,t,u,g,e,n,x,y,v,m,k,T,_,re,wi}from"./chunk-index-wt2asefx.js";import{xe}from"./chunk-index-ek98d2rn.js";import{Te}from"./chunk-index-rtz4936v.js";function U({conversationKey:s}){let[c,N]=r(),p=L(),d=a(!1),{data:i,error:h}=xe(()=>y.transcript(s,c),`${s}|${c??""}`);o(()=>{if(i&&!d.current)d.current=!0,window.scrollTo(0,document.body.scrollHeight)},[i]);let w=n("a",{className:"back",href:x("conversations"),children:["← ",t("Conversations")]});if(!i)return n(g,{children:[w,h?e(m,{message:h}):e(v,{})]});let{conversation:f}=i,E=f.kind==="outside"?t("Outside AI client · {id}",{id:f.id.slice(0,8)}):wi(f);return n(g,{children:[w,n("section",{className:"stack",children:[n("div",{className:"card-head",children:[e("h2",{children:E}),f.busy>0?e(T,{tone:"busy",children:t("running")}):null]}),i.archives.length>0?n("label",{className:"inline",htmlFor:p,children:[t("Showing")," ",n(Te,{id:p,value:c??"",onChange:(l)=>{d.current=!1,N(l.target.value||void 0)},children:[e("option",{value:"",children:t("Current conversation")}),i.archives.map((l)=>e("option",{value:l,children:t("Archived {name}",{name:l})},l))]})]}):null,h?e(m,{message:h}):null,i.truncated?e("p",{className:"hint",children:t("This conversation is longer than the console reads; the oldest entries are not shown.")}):null,i.entries.length===0?e(k,{children:t("Nothing to show.")}):null,e("ol",{className:"transcript",children:i.entries.map((l,b)=>e(S,{entry:l},b))})]})]})}function S({entry:s}){let{timeZone:c}=_(),N=s.at?re(s.at,c):"";if(s.role==="tool")return e("li",{className:"entry entry-tool",children:n("details",{children:[n("summary",{children:[s.failed?t("Tool failed"):t("Tool result"),s.tool?` · ${s.tool}`:""]}),e("pre",{children:s.text||t("(empty)")})]})});return n("li",{className:`entry entry-${s.role}`,children:[n("div",{className:"entry-head",children:[e("span",{className:"role",children:t(A[s.role])}),e("span",{className:"meta",children:N})]}),s.text?e("p",{className:"text",children:s.text}):null,s.calls?.map((p,d)=>n("code",{className:"call",children:[p.name," ",p.preview]},d))]})}var A={user:u("User"),assistant:u("Knight"),tool:u("Tool"),compaction:u("Summary of earlier conversation")};export{U as TranscriptPage};
@@ -1,28 +0,0 @@
1
- import{o,r,K,e,n,s,d}from"./chunk-index-wt2asefx.js";import{cn,Nr,Lr,gi,Wi}from"./chunk-index-zpwb8mkk.js";import{se}from"./chunk-index-amxa2bn3.js";var M=1500,E=`
2
- .waiting-chip-slot {
3
- position: relative;
4
- z-index: 3;
5
- height: 0;
6
- }
7
-
8
- .waiting-chip {
9
- position: absolute;
10
- top: var(--space-2);
11
- left: 50%;
12
- min-height: 2.25rem;
13
- padding: 0 var(--space-3);
14
- border-radius: var(--radius-full);
15
- border-color: transparent;
16
- background: var(--warn);
17
- color: var(--bg);
18
- box-shadow: var(--shadow-2);
19
- transform: translateX(-50%);
20
- animation: toast-in var(--dur-slow) var(--ease-spring) both;
21
- }
22
-
23
- .slot[data-lit] > .prompt {
24
- outline: 3px solid var(--warn);
25
- outline-offset: 3px;
26
- transition: outline-color var(--dur-slow) var(--ease-out);
27
- }
28
- `;function I(S){se("waiting",E);let{roomKey:b,scroller:p,loaded:w}=S,c=d((t)=>cn(t).filter((a)=>a.card.room===b).map((a)=>a.id).join(" "),b),l=Nr(),[T,y]=r([]);o(()=>{let t=p.current;if(!t||!w||typeof IntersectionObserver>"u")return;let a=new Map,m=new IntersectionObserver((u)=>{for(let i of u){let f=i.target.dataset.card;if(f)a.set(f,i.isIntersecting)}y([...a].flatMap(([i,f])=>f?[]:[i]))},{root:t});for(let u of c.split(" ")){let i=u?gi(t,u):void 0;if(i)m.observe(i)}return()=>m.disconnect()},[c,p,w]),o(()=>{let t=p.current;if(!t||!w||!l||!c.split(" ").includes(l))return;let a,m=()=>{let g=gi(t,l);if(!g||g===a)return;a=g,Wi(t,l)},u=requestAnimationFrame(m),i=typeof MutationObserver>"u"?void 0:new MutationObserver(m);i?.observe(t,{childList:!0,subtree:!0});let f=setTimeout(()=>Lr(l),M);return()=>{cancelAnimationFrame(u),i?.disconnect(),clearTimeout(f)}},[w,l,c,p]);let h=c?c.split(" ").length:0,[v]=T;return e("div",{className:"waiting-chip-slot",children:v&&h?n("button",{type:"button",className:"waiting-chip",onClick:()=>Wi(p.current,v),children:[e(s,{name:"shield",size:16}),K(h,"{count} card waiting for an answer","{count} cards waiting for an answer")]}):null})}export{I as default};
@@ -1 +0,0 @@
1
- import{cn,ia,Gi,$r,Zi,Nr,Lr,gi,Wi}from"./chunk-index-zpwb8mkk.js";export{gi as cardSlot,Gi as closeWaitingList,Zi as jumpToCard,ia as openWaiting,Wi as showCard,Lr as targetShown,Nr as useTarget,$r as useWaitingList,cn as waitingList};
@@ -1 +0,0 @@
1
- import{Ln,Ar}from"./chunk-index-haac6nbt.js";export{Ln as currentQuery,Ar as followUrl};