pi-roundtable-web 0.27.1 → 0.29.0

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 (257) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +25 -9
  3. package/dist/chunk-account-9616x405.js +1 -0
  4. package/dist/chunk-action-menu-q5y7xpry.js +1 -0
  5. package/dist/chunk-agent-x74xezyt.js +1 -0
  6. package/dist/chunk-arranged-rooms-9prq46vh.js +1 -0
  7. package/dist/chunk-bulk-actions-5dc4m9ad.js +1 -0
  8. package/dist/chunk-character-creator-wf02eg0h.js +1 -0
  9. package/dist/chunk-codeeditor-239ss6a2.js +2 -0
  10. package/dist/chunk-confirm-bhrx9195.js +1 -0
  11. package/dist/chunk-connectors-k77pd9by.js +37 -0
  12. package/dist/chunk-conversations-ftcpaqw1.js +1 -0
  13. package/dist/chunk-council-sheet-a5e6tspr.js +2 -0
  14. package/dist/chunk-council-view-6593rqbr.js +1 -0
  15. package/dist/chunk-drag-7873fvzw.js +1 -0
  16. package/dist/chunk-entry-5zmjxadx.js +1 -0
  17. package/dist/chunk-folder-list-h9hmbm8e.js +1 -0
  18. package/dist/chunk-folds-vxq86t1s.js +1 -0
  19. package/dist/chunk-gate-fa6za28z.js +1 -0
  20. package/dist/chunk-host-icons-y6frbzqt.js +1 -0
  21. package/dist/chunk-host-picture-fqg55rbr.js +1 -0
  22. package/dist/chunk-host-state-65tdhkyq.js +1 -0
  23. package/dist/chunk-host-ui-233kz7qp.js +1 -0
  24. package/dist/{chunk-index-j4x9dq30.css → chunk-index-1652v386.css} +1 -1
  25. package/dist/chunk-index-2c00zf3z.js +2 -0
  26. package/dist/chunk-index-2dhrqvba.js +2 -0
  27. package/dist/chunk-index-2s4bkrz3.js +2 -0
  28. package/dist/chunk-index-2ypaqwjy.js +2 -0
  29. package/dist/{chunk-index-k0z507h3.js → chunk-index-35zqk1zr.js} +2 -2
  30. package/dist/chunk-index-39qq37j5.js +2 -0
  31. package/dist/{chunk-index-j7pgphx3.js → chunk-index-3tjmyd1h.js} +2 -2
  32. package/dist/chunk-index-4eag6s50.js +2 -0
  33. package/dist/chunk-index-4jnn2g09.js +2 -0
  34. package/dist/{chunk-index-y60x5jbh.js → chunk-index-4krm48hm.js} +1 -1
  35. package/dist/{chunk-index-w42rcbx1.js → chunk-index-4re5prfp.js} +2 -2
  36. package/dist/chunk-index-57teqgct.js +2 -0
  37. package/dist/{chunk-index-3d8s3565.js → chunk-index-5ssncptg.js} +2 -2
  38. package/dist/{chunk-index-yrmqcay4.js → chunk-index-7c9fn21n.js} +2 -2
  39. package/dist/chunk-index-7k5895sn.js +14 -0
  40. package/dist/chunk-index-93f3e06v.js +2 -0
  41. package/dist/chunk-index-9m9v1p7s.js +2 -0
  42. package/dist/chunk-index-a8c0ap8g.js +2 -0
  43. package/dist/chunk-index-a8nqn3y0.js +3 -0
  44. package/dist/chunk-index-am7ghh75.js +120 -0
  45. package/dist/chunk-index-amspdq2j.js +4 -0
  46. package/dist/chunk-index-amxa2bn3.js +2 -0
  47. package/dist/{chunk-index-nsvwbjfe.js → chunk-index-aycxt14t.js} +2 -2
  48. package/dist/{chunk-index-n05yw5wd.js → chunk-index-bjeg3e2j.js} +2 -2
  49. package/dist/chunk-index-cttrqfm8.js +2 -0
  50. package/dist/chunk-index-dajanzxc.js +1 -0
  51. package/dist/chunk-index-e2eeckhh.js +2 -0
  52. package/dist/chunk-index-e46652wf.js +2 -0
  53. package/dist/chunk-index-ek98d2rn.js +2 -0
  54. package/dist/{chunk-index-f500nw4w.js → chunk-index-en5dm1zv.js} +2 -2
  55. package/dist/chunk-index-evhaaqzk.js +13 -0
  56. package/dist/chunk-index-f4gqzfkv.js +2 -0
  57. package/dist/{chunk-index-ak6ecqy3.js → chunk-index-gj3n4dh5.js} +2 -2
  58. package/dist/chunk-index-gp4chnp3.js +2 -0
  59. package/dist/{chunk-index-af4ebmkr.js → chunk-index-h2a42p6s.js} +3 -3
  60. package/dist/{chunk-index-4z4chg7v.js → chunk-index-haac6nbt.js} +2 -2
  61. package/dist/{chunk-index-3pnvpppa.js → chunk-index-hef4gwtb.js} +2 -2
  62. package/dist/chunk-index-mg96sqpk.js +2 -0
  63. package/dist/chunk-index-nsya88fn.js +1 -0
  64. package/dist/{chunk-index-ben4gv45.js → chunk-index-ntt3em2k.js} +1 -1
  65. package/dist/chunk-index-pcbkp62w.js +2 -0
  66. package/dist/chunk-index-pfs6rm6w.js +2 -0
  67. package/dist/chunk-index-pgxgq61x.js +2 -0
  68. package/dist/{chunk-index-9z13jw6q.js → chunk-index-q33ppq0j.js} +3 -3
  69. package/dist/chunk-index-r0hk9kyd.js +47 -0
  70. package/dist/{chunk-index-0ye10vk3.js → chunk-index-rr73h4kc.js} +3 -3
  71. package/dist/{chunk-index-983dmeaa.js → chunk-index-rtz4936v.js} +3 -3
  72. package/dist/chunk-index-smz90j6p.js +2 -0
  73. package/dist/chunk-index-teyx2hz7.js +2 -0
  74. package/dist/{chunk-index-sm7m4fej.js → chunk-index-v6h43553.js} +2 -2
  75. package/dist/chunk-index-vzqwn3wp.js +2 -0
  76. package/dist/chunk-index-wt2asefx.js +50 -0
  77. package/dist/chunk-index-x4tq9btg.js +2 -0
  78. package/dist/chunk-index-y6p8j3zv.js +2 -0
  79. package/dist/chunk-index-yvcdg5hh.js +2 -0
  80. package/dist/{chunk-index-afrhnrxj.js → chunk-index-zdzzf3fp.js} +2 -2
  81. package/dist/chunk-index-zeqfnkty.js +2 -0
  82. package/dist/chunk-index-zpwb8mkk.js +2 -0
  83. package/dist/chunk-lang-css-avzhvm72.js +1 -0
  84. package/dist/{chunk-lang-dockerfile-cnwqn660.js → chunk-lang-dockerfile-2p7e3ssz.js} +1 -1
  85. package/dist/{chunk-lang-go-yy6kgsxv.js → chunk-lang-go-zxp9k517.js} +3 -3
  86. package/dist/chunk-lang-html-red02gep.js +1 -0
  87. package/dist/chunk-lang-javascript-n33kmjcx.js +1 -0
  88. package/dist/chunk-lang-json-zmym50rg.js +1 -0
  89. package/dist/chunk-lang-markdown-ww2kcs85.js +6 -0
  90. package/dist/chunk-lang-python-ng1zdtd4.js +3 -0
  91. package/dist/chunk-lang-rust-6ynhxjdd.js +1 -0
  92. package/dist/{chunk-lang-shell-1rpgtepw.js → chunk-lang-shell-39t9bz2s.js} +1 -1
  93. package/dist/chunk-lang-sql-w875ejpg.js +2 -0
  94. package/dist/{chunk-lang-toml-tbj7467c.js → chunk-lang-toml-b8ckgkg5.js} +1 -1
  95. package/dist/chunk-lang-typescript-qf8acbb2.js +1 -0
  96. package/dist/chunk-lang-xml-bz91cjp1.js +1 -0
  97. package/dist/chunk-lang-yaml-g9zy0tdv.js +1 -0
  98. package/dist/chunk-layout-actions-fyzzzeyp.js +1 -0
  99. package/dist/chunk-menu-items-yvnk3vds.js +1 -0
  100. package/dist/chunk-mode-toggle-ccv271hm.js +1 -0
  101. package/dist/chunk-note-row-314py1pp.js +204 -0
  102. package/dist/chunk-notes-4rnrddzw.js +1 -0
  103. package/dist/chunk-notice-bell-z9wgamnz.js +1 -0
  104. package/dist/chunk-notices-mtn7pg1z.js +1 -0
  105. package/dist/chunk-onboarding-f3hhxgg4.js +1 -0
  106. package/dist/chunk-overview-qmepntrr.js +1 -0
  107. package/dist/chunk-palette-edkn1ypq.js +1 -0
  108. package/dist/chunk-placement-items-trsa5t23.js +1 -0
  109. package/dist/chunk-profile-pwfq0wns.js +1 -0
  110. package/dist/chunk-prompt-history-xp9hmeqt.js +1 -0
  111. package/dist/chunk-prompts-a56qvytg.js +1 -0
  112. package/dist/chunk-room-confirms-gqpkz4h0.js +1 -0
  113. package/dist/chunk-room-menu-1m2c2ekt.js +1 -0
  114. package/dist/chunk-rooms-menu-button-tcvda1gq.js +1 -0
  115. package/dist/chunk-schedules-kwnw7p8v.js +1 -0
  116. package/dist/{chunk-seat-menu-kwtjnpjj.js → chunk-seat-menu-m2n9nvv0.js} +1 -1
  117. package/dist/chunk-sheet-hosts-pr8xktyq.js +29 -0
  118. package/dist/{chunk-shortcut-help-g5cpqjjj.js → chunk-shortcut-help-sbvrds1m.js} +2 -2
  119. package/dist/chunk-shortcuts-8705p7q3.js +1 -0
  120. package/dist/chunk-skill-editor-7xy09sq1.js +8 -0
  121. package/dist/chunk-skills-cnc25x7q.js +1 -0
  122. package/dist/chunk-start-over-line-97zdd9pb.js +16 -0
  123. package/dist/chunk-switcher-list-ehsn2wsk.js +1 -0
  124. package/dist/{chunk-tab-dot-yse6wcfp.js → chunk-tab-dot-gkpe06q8.js} +1 -1
  125. package/dist/chunk-table-av3kh3tt.js +1 -0
  126. package/dist/chunk-table2d-5x3jptp9.js +1 -0
  127. package/dist/chunk-table3d-rsvajx7r.js +4220 -0
  128. package/dist/chunk-thread-actions-7xtkegwm.js +1 -0
  129. package/dist/{chunk-thread-cards-36rckyg7.js → chunk-thread-cards-grzszfha.js} +1 -1
  130. package/dist/chunk-thread-list-9bjjac3j.js +217 -0
  131. package/dist/chunk-transcript-t5szb8r0.js +1 -0
  132. package/dist/chunk-waiting-chip-d8b6a0p8.js +28 -0
  133. package/dist/chunk-waiting-ts3kxjvv.js +1 -0
  134. package/dist/chunk-where-3d3ncsa5.js +1 -0
  135. package/dist/chunk-workspace-ct6hvn0z.js +578 -0
  136. package/dist/chunk-zh-tw-v9v1eerm.js +1 -0
  137. package/dist/index.html +1 -1
  138. package/dist/sw.js +1 -1
  139. package/package.json +3 -3
  140. package/src/api-types.ts +137 -1
  141. package/src/app/app.ts +4 -7
  142. package/src/app/desk.ts +19 -4
  143. package/src/app/room-log.ts +66 -18
  144. package/src/app/rooms.ts +45 -7
  145. package/src/app/routes.ts +86 -11
  146. package/src/app/skill-doc-routes.ts +12 -2
  147. package/src/app/skill-group-routes.ts +126 -0
  148. package/src/app/surface.ts +26 -2
  149. package/src/app/team-routes.ts +3 -7
  150. package/src/authz.ts +2 -0
  151. package/src/cleanup-api.ts +9 -2
  152. package/src/connector-manage-api.ts +257 -0
  153. package/src/console-api.ts +60 -2
  154. package/src/features.ts +91 -0
  155. package/src/host/reads.ts +10 -1
  156. package/src/i18n/zh-tw.ts +137 -5
  157. package/src/push/channel.ts +1 -0
  158. package/src/web-plugin.ts +8 -1
  159. package/dist/chunk-account-83crfbn4.js +0 -1
  160. package/dist/chunk-action-menu-qw7h03x0.js +0 -1
  161. package/dist/chunk-agent-t1632ktv.js +0 -1
  162. package/dist/chunk-arranged-rooms-sb6tbsxw.js +0 -1
  163. package/dist/chunk-bulk-actions-v1g2bzk7.js +0 -1
  164. package/dist/chunk-character-creator-ye69w0kx.js +0 -1
  165. package/dist/chunk-codeeditor-5j6abj8k.js +0 -2
  166. package/dist/chunk-confirm-x8w877bz.js +0 -1
  167. package/dist/chunk-connectors-t7qbc6nk.js +0 -1
  168. package/dist/chunk-conversations-kmt6qzym.js +0 -1
  169. package/dist/chunk-council-sheet-bxvn7vza.js +0 -2
  170. package/dist/chunk-drag-03zgvd66.js +0 -1
  171. package/dist/chunk-entry-y5vwp5e5.js +0 -1
  172. package/dist/chunk-folder-list-h3vnjzpb.js +0 -1
  173. package/dist/chunk-folds-a3e22m7x.js +0 -1
  174. package/dist/chunk-gate-qzephvdv.js +0 -1
  175. package/dist/chunk-group-scene-w1ycabrm.js +0 -1
  176. package/dist/chunk-group-table-9nvmja8w.js +0 -1
  177. package/dist/chunk-host-icons-fccg3b2d.js +0 -1
  178. package/dist/chunk-host-picture-jaqz127q.js +0 -1
  179. package/dist/chunk-host-state-r01v1ywg.js +0 -1
  180. package/dist/chunk-host-ui-n54mh5af.js +0 -1
  181. package/dist/chunk-index-0a81da8z.js +0 -2
  182. package/dist/chunk-index-1kwp3spy.js +0 -2
  183. package/dist/chunk-index-47vq85ye.js +0 -2
  184. package/dist/chunk-index-5zmswz4s.js +0 -2
  185. package/dist/chunk-index-64rsz6pf.js +0 -2
  186. package/dist/chunk-index-6vcs0h0m.js +0 -2
  187. package/dist/chunk-index-6xqz6mg2.js +0 -2
  188. package/dist/chunk-index-83v0c9x6.js +0 -2
  189. package/dist/chunk-index-8xd6anam.js +0 -2
  190. package/dist/chunk-index-b73y2gc0.js +0 -47
  191. package/dist/chunk-index-bhqczxr3.js +0 -2
  192. package/dist/chunk-index-c44p8q87.js +0 -2
  193. package/dist/chunk-index-cbqhzf40.js +0 -13
  194. package/dist/chunk-index-db8zh8e6.js +0 -2
  195. package/dist/chunk-index-dvfkb699.js +0 -2
  196. package/dist/chunk-index-e02ddp46.js +0 -1
  197. package/dist/chunk-index-ebg48jgy.js +0 -2
  198. package/dist/chunk-index-ek5mek4j.js +0 -14
  199. package/dist/chunk-index-em7vndrb.js +0 -2
  200. package/dist/chunk-index-eq161yvp.js +0 -4
  201. package/dist/chunk-index-f5x2srr0.js +0 -2
  202. package/dist/chunk-index-fg42egv9.js +0 -50
  203. package/dist/chunk-index-h3v1d3nt.js +0 -2
  204. package/dist/chunk-index-kbgykazq.js +0 -2
  205. package/dist/chunk-index-n8ghdvxb.js +0 -2
  206. package/dist/chunk-index-p5jcwjx8.js +0 -2
  207. package/dist/chunk-index-qfgkfq86.js +0 -2
  208. package/dist/chunk-index-rcwdqn50.js +0 -7
  209. package/dist/chunk-index-s72hmse6.js +0 -2
  210. package/dist/chunk-index-sv9qpmhv.js +0 -1
  211. package/dist/chunk-index-x4enmj72.js +0 -2
  212. package/dist/chunk-index-xevnf9ew.js +0 -2
  213. package/dist/chunk-index-xx8jq73q.js +0 -2
  214. package/dist/chunk-index-ypkgw7gq.js +0 -2
  215. package/dist/chunk-lang-css-y9133ktr.js +0 -1
  216. package/dist/chunk-lang-html-r2xmryek.js +0 -1
  217. package/dist/chunk-lang-javascript-1r6wd177.js +0 -1
  218. package/dist/chunk-lang-json-dx56g11y.js +0 -1
  219. package/dist/chunk-lang-markdown-fpcf2dfq.js +0 -6
  220. package/dist/chunk-lang-python-zzp95955.js +0 -3
  221. package/dist/chunk-lang-rust-214fh7sp.js +0 -1
  222. package/dist/chunk-lang-sql-vvp46hpj.js +0 -2
  223. package/dist/chunk-lang-typescript-y5w4tt4g.js +0 -1
  224. package/dist/chunk-lang-xml-tbcqmedk.js +0 -1
  225. package/dist/chunk-lang-yaml-jh56t3sv.js +0 -1
  226. package/dist/chunk-layout-actions-8dzvysym.js +0 -1
  227. package/dist/chunk-menu-items-3jhya205.js +0 -2
  228. package/dist/chunk-mode-toggle-js49gvpd.js +0 -1
  229. package/dist/chunk-note-row-kv061030.js +0 -75
  230. package/dist/chunk-notes-sdkqz5hr.js +0 -1
  231. package/dist/chunk-notice-bell-r012f2zy.js +0 -1
  232. package/dist/chunk-notices-h4rk1zxc.js +0 -1
  233. package/dist/chunk-onboarding-a18cvkph.js +0 -1
  234. package/dist/chunk-overview-ynaqn4fp.js +0 -1
  235. package/dist/chunk-palette-jm79gb5q.js +0 -1
  236. package/dist/chunk-placement-items-mwm9q1zn.js +0 -1
  237. package/dist/chunk-profile-ajw6pp4r.js +0 -1
  238. package/dist/chunk-prompt-history-zcfvr3r8.js +0 -1
  239. package/dist/chunk-prompts-m5rzdk24.js +0 -1
  240. package/dist/chunk-room-confirms-ftsj15ja.js +0 -1
  241. package/dist/chunk-room-menu-b9ktw9pw.js +0 -1
  242. package/dist/chunk-rooms-menu-button-qe62t6nx.js +0 -1
  243. package/dist/chunk-schedules-t8yxnf8q.js +0 -1
  244. package/dist/chunk-sheet-hosts-yj5wszgj.js +0 -1
  245. package/dist/chunk-shortcuts-9ft5sqdw.js +0 -1
  246. package/dist/chunk-skill-editor-xdfq2708.js +0 -8
  247. package/dist/chunk-skills-9wa4mwdc.js +0 -1
  248. package/dist/chunk-switcher-list-vpg6wvtw.js +0 -1
  249. package/dist/chunk-table-1y76m54h.js +0 -1
  250. package/dist/chunk-table2d-g57vr6h0.js +0 -1
  251. package/dist/chunk-table3d-cv6069hy.js +0 -4220
  252. package/dist/chunk-thread-actions-xjhpdjk7.js +0 -1
  253. package/dist/chunk-thread-list-fd6agz77.js +0 -217
  254. package/dist/chunk-transcript-5nfn3r35.js +0 -1
  255. package/dist/chunk-where-ha8pc3cg.js +0 -1
  256. package/dist/chunk-workspace-e85twv32.js +0 -578
  257. package/dist/chunk-zh-tw-z5p5mpph.js +0 -1
@@ -1 +0,0 @@
1
- import{Nr,Lr,Xr}from"./chunk-index-6vcs0h0m.js";import"./chunk-index-nsvwbjfe.js";export{Lr as clearAcross,Xr as clearFinished,Nr as dismissThread};
@@ -1,217 +0,0 @@
1
- import{h,J,s,a,t,te,m,e,n,o,v,u,V,k,_e,ne,Bi,Xe,Yt,In,vn,At}from"./chunk-index-fg42egv9.js";var H="roundtable-console:helpers-folded";function z(){try{let i=localStorage.getItem(H),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 S,{emit:O,use:P}=V(),E=()=>(S??=z(),S);function L(i,r){return P(E)[i]??!r}function T(i,r){S={...E(),[i]:r};try{localStorage.setItem(H,JSON.stringify(S))}catch{}O()}var D=!1;function F(){if(D||typeof document>"u")return;if(D=!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)}F();var _=J(function(r){let{view:l}=r,c=l.helper?.finished===!0;return e("li",{children:n("a",{className:"helper-link",href:v("room",l.key),"data-helper":l.name,"data-finished":c?"":void 0,"aria-current":r.active?"page":void 0,children:[e(Xe,{view:l,size:20}),e("strong",{children:l.displayName}),e(Yt,{room:l.key}),n("span",{className:"helper-state",children:[r.waiting?e(vn,{count:r.waiting}):null,!c&&!r.waiting?e("span",{className:"helper-dot",role:"img","aria-label":t("Working")}):null,c?e("span",{children:t("Ended")}):null,c&&r.at?e("span",{className:"room-row-time",children:_e(r.at,r.now,r.timeZone)}):null]})]})})});function Z(i){let{now:r}=ne(),{timeZone:l}=k(),c=At(i.keys),b=c.some((f)=>f.view.helper?.finished!==!0),p=i.parent??"",y=!L(p,b)||c.some((f)=>f.key===i.active)?c:[];if(c.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:()=>T(p,y.length>0),children:te(c.length,"{count} temp knight","{count} temp knights")}),y.length>0?e("ul",{className:"helper-list",children:y.map(({key:f,...w})=>e(_,{...w,active:f===i.active,now:r,timeZone:l},f))}):null]})}var I=J(function(r){let{view:l,parent:c}=r,b=Bi(l.key),p=Boolean(l.closed);return n("li",{className:"thread-item",children:[p?n("span",{className:"thread-reveal","aria-hidden":"true",children:[e(o,{name:"trash",size:18}),t("Clear")]}):null,n("div",{className:"thread-card","data-hold":"row","data-thread":l.key,"data-closed":p?"":void 0,style:b,children:[n("a",{className:"thread-link",href:v("room",l.key),"aria-current":r.active?"page":void 0,children:[c?e(Xe,{view:c,size:36}):e(o,{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(Yt,{room:l.key})]}),n("span",{className:"thread-card-meta",children:[r.typing?e(In,{}):null,e("span",{className:p?"badge":"badge badge-accent",children:p?t("Finished"):t("In progress")}),r.waiting?e(vn,{count:r.waiting}):null,e("span",{className:"room-row-time",children:r.at?_e(r.at,r.now,r.timeZone):""})]})]})]}),p?e("button",{type:"button",className:"thread-more","aria-haspopup":"menu","aria-label":t("More actions for {name}",{name:l.displayName}),onClick:(g)=>{let y=g.currentTarget,f=y.closest(".thread-card"),w=y.getBoundingClientRect();if(f)(h("36rckyg7"),import("./chunk-thread-cards-36rckyg7.js")).then((N)=>N.openCardMenu(f,{x:w.right,y:w.bottom},"key"))},children:e(o,{name:"more",size:18})}):null]})]})});function M(i){let{now:r}=ne(),{timeZone:l}=k(),c=At(i.open),b=c.filter((d)=>d.view.helper).map((d)=>d.key),p=c.filter((d)=>!d.view.helper),g=At(i.closed),y=u((d)=>i.parent?d.rooms[i.parent]?.view:void 0,i.parent??""),f=a(null),w=p.length+g.length>0;if(s(()=>{let d=f.current;if(!w||!d)return;let x=!1,R;return (h("36rckyg7"),import("./chunk-thread-cards-36rckyg7.js")).then((C)=>{if(!x)R=C.attachThreadCards(d)}),()=>{x=!0,R?.()}},[w]),!w&&b.length===0)return null;let N=({key:d,...x})=>e(I,{...x,active:d===i.active,now:r,timeZone:l,parent:y},d);if(!w)return e(Z,{keys:b,parent:i.parent,active:i.active});return n(m,{children:[b.length?e(Z,{keys:b,parent:i.parent,active:i.active}):null,n("div",{className:"thread-group",ref:f,"data-parent":i.parent,children:[p.length?e("ul",{className:"thread-list","aria-label":t("Dispatch threads"),children:p.map(N)}):null,g.length?n("div",{className:"thread-finished",children:[n("details",{className:"thread-closed",...g.some((d)=>d.key===i.active)?{open:!0}:{},children:[e("summary",{children:te(g.length,"{count} finished thread","{count} finished threads")}),e("ul",{className:"thread-list",children:g.map(N)})]}),e("button",{type:"button",className:"thread-clear",onClick:()=>(h("xjhpdjk7"),import("./chunk-thread-actions-xjhpdjk7.js")).then((d)=>d.clearFinished(i.parent,g.map((x)=>x.key))),children:t("Clear finished")})]}):null]})]})}export{M as default};
@@ -1 +0,0 @@
1
- import{s,N,a,r,t,c,m,e,n,v,O,w,g,_,P,k,re,mi}from"./chunk-index-fg42egv9.js";import{be}from"./chunk-index-xevnf9ew.js";import{qe}from"./chunk-index-983dmeaa.js";function U({conversationKey:o}){let[p,y]=r(),u=N(),d=a(!1),{data:i,error:h}=be(()=>O.transcript(o,p),`${o}|${p??""}`);s(()=>{if(i&&!d.current)d.current=!0,window.scrollTo(0,document.body.scrollHeight)},[i]);let T=n("a",{className:"back",href:v("conversations"),children:["← ",t("Conversations")]});if(!i)return n(m,{children:[T,h?e(g,{message:h}):e(w,{})]});let{conversation:f}=i,E=f.kind==="outside"?t("Outside AI client · {id}",{id:f.id.slice(0,8)}):mi(f);return n(m,{children:[T,n("section",{className:"stack",children:[n("div",{className:"card-head",children:[e("h2",{children:E}),f.busy>0?e(P,{tone:"busy",children:t("running")}):null]}),i.archives.length>0?n("label",{className:"inline",htmlFor:u,children:[t("Showing")," ",n(qe,{id:u,value:p??"",onChange:(l)=>{d.current=!1,y(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(g,{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(_,{children:t("Nothing to show.")}):null,e("ol",{className:"transcript",children:i.entries.map((l,b)=>e(S,{entry:l},b))})]})]})}function S({entry:o}){let{timeZone:p}=k(),y=o.at?re(o.at,p):"";if(o.role==="tool")return e("li",{className:"entry entry-tool",children:n("details",{children:[n("summary",{children:[o.failed?t("Tool failed"):t("Tool result"),o.tool?` · ${o.tool}`:""]}),e("pre",{children:o.text||t("(empty)")})]})});return n("li",{className:`entry entry-${o.role}`,children:[n("div",{className:"entry-head",children:[e("span",{className:"role",children:t(x[o.role])}),e("span",{className:"meta",children:y})]}),o.text?e("p",{className:"text",children:o.text}):null,o.calls?.map((u,d)=>n("code",{className:"call",children:[u.name," ",u.preview]},d))]})}var x={user:c("User"),assistant:c("Knight"),tool:c("Tool"),compaction:c("Summary of earlier conversation")};export{U as TranscriptPage};
@@ -1 +0,0 @@
1
- import{Rn,cr}from"./chunk-index-4z4chg7v.js";export{Rn as currentQuery,cr as followUrl};