@simai-studio/chat 0.0.0-stage → 1.1.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 (261) hide show
  1. package/LICENSE.md +182 -0
  2. package/README.md +67 -2
  3. package/dist/package-receipt.json +1553 -0
  4. package/dist/set.json +107 -0
  5. package/dist/smart/chat-composer/aliases.json +67 -0
  6. package/dist/smart/chat-composer/aliases.json.gz +0 -0
  7. package/dist/smart/chat-composer/component.json +698 -0
  8. package/dist/smart/chat-composer/component.json.gz +0 -0
  9. package/dist/smart/chat-composer/css/chat-composer.css +223 -0
  10. package/dist/smart/chat-composer/css/chat-composer.css.gz +0 -0
  11. package/dist/smart/chat-composer/css/chat-composer.min.css +2 -0
  12. package/dist/smart/chat-composer/css/chat-composer.min.css.gz +0 -0
  13. package/dist/smart/chat-composer/examples.json +550 -0
  14. package/dist/smart/chat-composer/examples.json.gz +0 -0
  15. package/dist/smart/chat-composer/js/chat-composer.js +1028 -0
  16. package/dist/smart/chat-composer/js/chat-composer.js.gz +0 -0
  17. package/dist/smart/chat-composer/js/chat-composer.min.js +73 -0
  18. package/dist/smart/chat-composer/js/chat-composer.min.js.gz +0 -0
  19. package/dist/smart/chat-composer/lang/en.json +28 -0
  20. package/dist/smart/chat-composer/lang/en.json.gz +0 -0
  21. package/dist/smart/chat-composer/lang/ru.json +28 -0
  22. package/dist/smart/chat-composer/lang/ru.json.gz +0 -0
  23. package/dist/smart/chat-composer/probe.json +416 -0
  24. package/dist/smart/chat-composer/probe.json.gz +0 -0
  25. package/dist/smart/chat-composer/smart.manifest.json +651 -0
  26. package/dist/smart/chat-composer/smart.manifest.json.gz +0 -0
  27. package/dist/smart/chat-composer/static/default/busy.html +20 -0
  28. package/dist/smart/chat-composer/static/default/busy.html.gz +0 -0
  29. package/dist/smart/chat-composer/static/default/disabled.html +20 -0
  30. package/dist/smart/chat-composer/static/default/disabled.html.gz +0 -0
  31. package/dist/smart/chat-composer/static/default/files.html +99 -0
  32. package/dist/smart/chat-composer/static/default/files.html.gz +0 -0
  33. package/dist/smart/chat-composer/static/default/near-limit.html +20 -0
  34. package/dist/smart/chat-composer/static/default/near-limit.html.gz +0 -0
  35. package/dist/smart/chat-composer/static/default/reference.html +20 -0
  36. package/dist/smart/chat-composer/static/default/reference.html.gz +0 -0
  37. package/dist/smart/chat-composer/static/sheets.json +110 -0
  38. package/dist/smart/chat-composer/static/sheets.json.gz +0 -0
  39. package/dist/smart/chat-composer/studio.fixture.json +18 -0
  40. package/dist/smart/chat-composer/studio.fixture.json.gz +0 -0
  41. package/dist/smart/chat-composer/studio.scenario.json +37 -0
  42. package/dist/smart/chat-composer/studio.scenario.json.gz +0 -0
  43. package/dist/smart/chat-composer/template/default.css +198 -0
  44. package/dist/smart/chat-composer/template/default.css.gz +0 -0
  45. package/dist/smart/chat-composer/template/default.js +109 -0
  46. package/dist/smart/chat-composer/template/default.js.gz +0 -0
  47. package/dist/smart/chat-composer/template/parts.js +89 -0
  48. package/dist/smart/chat-composer/template/parts.js.gz +0 -0
  49. package/dist/smart/chat-interlocutor/aliases.json +20 -0
  50. package/dist/smart/chat-interlocutor/aliases.json.gz +0 -0
  51. package/dist/smart/chat-interlocutor/component.json +436 -0
  52. package/dist/smart/chat-interlocutor/component.json.gz +0 -0
  53. package/dist/smart/chat-interlocutor/css/chat-interlocutor.css +72 -0
  54. package/dist/smart/chat-interlocutor/css/chat-interlocutor.css.gz +0 -0
  55. package/dist/smart/chat-interlocutor/css/chat-interlocutor.min.css +2 -0
  56. package/dist/smart/chat-interlocutor/css/chat-interlocutor.min.css.gz +0 -0
  57. package/dist/smart/chat-interlocutor/examples.json +379 -0
  58. package/dist/smart/chat-interlocutor/examples.json.gz +0 -0
  59. package/dist/smart/chat-interlocutor/js/chat-interlocutor.js +531 -0
  60. package/dist/smart/chat-interlocutor/js/chat-interlocutor.js.gz +0 -0
  61. package/dist/smart/chat-interlocutor/js/chat-interlocutor.min.js +22 -0
  62. package/dist/smart/chat-interlocutor/js/chat-interlocutor.min.js.gz +0 -0
  63. package/dist/smart/chat-interlocutor/lang/en.json +13 -0
  64. package/dist/smart/chat-interlocutor/lang/en.json.gz +0 -0
  65. package/dist/smart/chat-interlocutor/lang/ru.json +13 -0
  66. package/dist/smart/chat-interlocutor/lang/ru.json.gz +0 -0
  67. package/dist/smart/chat-interlocutor/probe.json +204 -0
  68. package/dist/smart/chat-interlocutor/probe.json.gz +0 -0
  69. package/dist/smart/chat-interlocutor/smart.manifest.json +406 -0
  70. package/dist/smart/chat-interlocutor/smart.manifest.json.gz +0 -0
  71. package/dist/smart/chat-interlocutor/static/default/former.html +10 -0
  72. package/dist/smart/chat-interlocutor/static/default/former.html.gz +0 -0
  73. package/dist/smart/chat-interlocutor/static/default/grouped.html +10 -0
  74. package/dist/smart/chat-interlocutor/static/default/grouped.html.gz +0 -0
  75. package/dist/smart/chat-interlocutor/static/default/reference.html +10 -0
  76. package/dist/smart/chat-interlocutor/static/default/reference.html.gz +0 -0
  77. package/dist/smart/chat-interlocutor/static/default/single.html +10 -0
  78. package/dist/smart/chat-interlocutor/static/default/single.html.gz +0 -0
  79. package/dist/smart/chat-interlocutor/static/sheets.json +110 -0
  80. package/dist/smart/chat-interlocutor/static/sheets.json.gz +0 -0
  81. package/dist/smart/chat-interlocutor/studio.fixture.json +25 -0
  82. package/dist/smart/chat-interlocutor/studio.fixture.json.gz +0 -0
  83. package/dist/smart/chat-interlocutor/studio.scenario.json +41 -0
  84. package/dist/smart/chat-interlocutor/studio.scenario.json.gz +0 -0
  85. package/dist/smart/chat-interlocutor/template/default.css +58 -0
  86. package/dist/smart/chat-interlocutor/template/default.css.gz +0 -0
  87. package/dist/smart/chat-interlocutor/template/default.js +43 -0
  88. package/dist/smart/chat-interlocutor/template/default.js.gz +0 -0
  89. package/dist/smart/chat-message/aliases.json +125 -0
  90. package/dist/smart/chat-message/aliases.json.gz +0 -0
  91. package/dist/smart/chat-message/component.json +850 -0
  92. package/dist/smart/chat-message/component.json.gz +0 -0
  93. package/dist/smart/chat-message/css/chat-message.css +2260 -0
  94. package/dist/smart/chat-message/css/chat-message.css.gz +0 -0
  95. package/dist/smart/chat-message/css/chat-message.min.css +2 -0
  96. package/dist/smart/chat-message/css/chat-message.min.css.gz +0 -0
  97. package/dist/smart/chat-message/examples.json +1626 -0
  98. package/dist/smart/chat-message/examples.json.gz +0 -0
  99. package/dist/smart/chat-message/js/chat-message.js +5859 -0
  100. package/dist/smart/chat-message/js/chat-message.js.gz +0 -0
  101. package/dist/smart/chat-message/js/chat-message.min.js +15 -0
  102. package/dist/smart/chat-message/js/chat-message.min.js.gz +0 -0
  103. package/dist/smart/chat-message/lang/en.json +176 -0
  104. package/dist/smart/chat-message/lang/en.json.gz +0 -0
  105. package/dist/smart/chat-message/lang/ru.json +180 -0
  106. package/dist/smart/chat-message/lang/ru.json.gz +0 -0
  107. package/dist/smart/chat-message/probe.json +1051 -0
  108. package/dist/smart/chat-message/probe.json.gz +0 -0
  109. package/dist/smart/chat-message/smart.manifest.json +824 -0
  110. package/dist/smart/chat-message/smart.manifest.json.gz +0 -0
  111. package/dist/smart/chat-message/static/default/brief-card.html +2 -0
  112. package/dist/smart/chat-message/static/default/brief-card.html.gz +0 -0
  113. package/dist/smart/chat-message/static/default/brief-questions.html +2 -0
  114. package/dist/smart/chat-message/static/default/brief-questions.html.gz +0 -0
  115. package/dist/smart/chat-message/static/default/deliverables.html +2 -0
  116. package/dist/smart/chat-message/static/default/deliverables.html.gz +0 -0
  117. package/dist/smart/chat-message/static/default/document.html +13 -0
  118. package/dist/smart/chat-message/static/default/document.html.gz +0 -0
  119. package/dist/smart/chat-message/static/default/failed.html +2 -0
  120. package/dist/smart/chat-message/static/default/failed.html.gz +0 -0
  121. package/dist/smart/chat-message/static/default/feedback-reason.html +2 -0
  122. package/dist/smart/chat-message/static/default/feedback-reason.html.gz +0 -0
  123. package/dist/smart/chat-message/static/default/limit.html +2 -0
  124. package/dist/smart/chat-message/static/default/limit.html.gz +0 -0
  125. package/dist/smart/chat-message/static/default/proposal.html +40 -0
  126. package/dist/smart/chat-message/static/default/proposal.html.gz +0 -0
  127. package/dist/smart/chat-message/static/default/question.html +22 -0
  128. package/dist/smart/chat-message/static/default/question.html.gz +0 -0
  129. package/dist/smart/chat-message/static/default/reference.html +2 -0
  130. package/dist/smart/chat-message/static/default/reference.html.gz +0 -0
  131. package/dist/smart/chat-message/static/default/steps.html +2 -0
  132. package/dist/smart/chat-message/static/default/steps.html.gz +0 -0
  133. package/dist/smart/chat-message/static/default/stopped.html +2 -0
  134. package/dist/smart/chat-message/static/default/stopped.html.gz +0 -0
  135. package/dist/smart/chat-message/static/default/waiting.html +2 -0
  136. package/dist/smart/chat-message/static/default/waiting.html.gz +0 -0
  137. package/dist/smart/chat-message/static/person/person-own.html +2 -0
  138. package/dist/smart/chat-message/static/person/person-own.html.gz +0 -0
  139. package/dist/smart/chat-message/static/person/person-reply.html +2 -0
  140. package/dist/smart/chat-message/static/person/person-reply.html.gz +0 -0
  141. package/dist/smart/chat-message/static/person/person.html +12 -0
  142. package/dist/smart/chat-message/static/person/person.html.gz +0 -0
  143. package/dist/smart/chat-message/static/sheets.json +452 -0
  144. package/dist/smart/chat-message/static/sheets.json.gz +0 -0
  145. package/dist/smart/chat-message/studio.fixture.json +27 -0
  146. package/dist/smart/chat-message/studio.fixture.json.gz +0 -0
  147. package/dist/smart/chat-message/studio.scenario.json +22 -0
  148. package/dist/smart/chat-message/studio.scenario.json.gz +0 -0
  149. package/dist/smart/chat-message/template/default.css +1805 -0
  150. package/dist/smart/chat-message/template/default.css.gz +0 -0
  151. package/dist/smart/chat-message/template/default.js +27 -0
  152. package/dist/smart/chat-message/template/default.js.gz +0 -0
  153. package/dist/smart/chat-message/template/person.js +11 -0
  154. package/dist/smart/chat-message/template/person.js.gz +0 -0
  155. package/dist/smart/chat-threads/aliases.json +174 -0
  156. package/dist/smart/chat-threads/aliases.json.gz +0 -0
  157. package/dist/smart/chat-threads/component.json +1240 -0
  158. package/dist/smart/chat-threads/component.json.gz +0 -0
  159. package/dist/smart/chat-threads/css/chat-threads.css +134 -0
  160. package/dist/smart/chat-threads/css/chat-threads.css.gz +0 -0
  161. package/dist/smart/chat-threads/css/chat-threads.min.css +2 -0
  162. package/dist/smart/chat-threads/css/chat-threads.min.css.gz +0 -0
  163. package/dist/smart/chat-threads/examples.json +689 -0
  164. package/dist/smart/chat-threads/examples.json.gz +0 -0
  165. package/dist/smart/chat-threads/js/chat-threads.js +859 -0
  166. package/dist/smart/chat-threads/js/chat-threads.js.gz +0 -0
  167. package/dist/smart/chat-threads/js/chat-threads.min.js +39 -0
  168. package/dist/smart/chat-threads/js/chat-threads.min.js.gz +0 -0
  169. package/dist/smart/chat-threads/lang/en.json +18 -0
  170. package/dist/smart/chat-threads/lang/en.json.gz +0 -0
  171. package/dist/smart/chat-threads/lang/ru.json +18 -0
  172. package/dist/smart/chat-threads/lang/ru.json.gz +0 -0
  173. package/dist/smart/chat-threads/probe.json +406 -0
  174. package/dist/smart/chat-threads/probe.json.gz +0 -0
  175. package/dist/smart/chat-threads/smart.manifest.json +1159 -0
  176. package/dist/smart/chat-threads/smart.manifest.json.gz +0 -0
  177. package/dist/smart/chat-threads/static/default/activity.html +145 -0
  178. package/dist/smart/chat-threads/static/default/activity.html.gz +0 -0
  179. package/dist/smart/chat-threads/static/default/activity.skeleton.html +145 -0
  180. package/dist/smart/chat-threads/static/default/activity.skeleton.html.gz +0 -0
  181. package/dist/smart/chat-threads/static/default/archive.html +58 -0
  182. package/dist/smart/chat-threads/static/default/archive.html.gz +0 -0
  183. package/dist/smart/chat-threads/static/default/archive.skeleton.html +58 -0
  184. package/dist/smart/chat-threads/static/default/archive.skeleton.html.gz +0 -0
  185. package/dist/smart/chat-threads/static/default/avatars.html +116 -0
  186. package/dist/smart/chat-threads/static/default/avatars.html.gz +0 -0
  187. package/dist/smart/chat-threads/static/default/avatars.skeleton.html +116 -0
  188. package/dist/smart/chat-threads/static/default/avatars.skeleton.html.gz +0 -0
  189. package/dist/smart/chat-threads/static/default/empty.html +50 -0
  190. package/dist/smart/chat-threads/static/default/empty.html.gz +0 -0
  191. package/dist/smart/chat-threads/static/default/loading.html +50 -0
  192. package/dist/smart/chat-threads/static/default/loading.html.gz +0 -0
  193. package/dist/smart/chat-threads/static/default/people.html +104 -0
  194. package/dist/smart/chat-threads/static/default/people.html.gz +0 -0
  195. package/dist/smart/chat-threads/static/default/people.skeleton.html +104 -0
  196. package/dist/smart/chat-threads/static/default/people.skeleton.html.gz +0 -0
  197. package/dist/smart/chat-threads/static/default/reference.html +123 -0
  198. package/dist/smart/chat-threads/static/default/reference.html.gz +0 -0
  199. package/dist/smart/chat-threads/static/default/reference.skeleton.html +123 -0
  200. package/dist/smart/chat-threads/static/default/reference.skeleton.html.gz +0 -0
  201. package/dist/smart/chat-threads/static/default/ungrouped.html +99 -0
  202. package/dist/smart/chat-threads/static/default/ungrouped.html.gz +0 -0
  203. package/dist/smart/chat-threads/static/default/ungrouped.skeleton.html +99 -0
  204. package/dist/smart/chat-threads/static/default/ungrouped.skeleton.html.gz +0 -0
  205. package/dist/smart/chat-threads/static/sheets.json +503 -0
  206. package/dist/smart/chat-threads/static/sheets.json.gz +0 -0
  207. package/dist/smart/chat-threads/studio.fixture.json +23 -0
  208. package/dist/smart/chat-threads/studio.fixture.json.gz +0 -0
  209. package/dist/smart/chat-threads/template/default.css +113 -0
  210. package/dist/smart/chat-threads/template/default.css.gz +0 -0
  211. package/dist/smart/chat-threads/template/default.js +62 -0
  212. package/dist/smart/chat-threads/template/default.js.gz +0 -0
  213. package/dist/smart/chat-window/aliases.json +395 -0
  214. package/dist/smart/chat-window/aliases.json.gz +0 -0
  215. package/dist/smart/chat-window/component.json +2819 -0
  216. package/dist/smart/chat-window/component.json.gz +0 -0
  217. package/dist/smart/chat-window/css/chat-window.css +1509 -0
  218. package/dist/smart/chat-window/css/chat-window.css.gz +0 -0
  219. package/dist/smart/chat-window/css/chat-window.min.css +2 -0
  220. package/dist/smart/chat-window/css/chat-window.min.css.gz +0 -0
  221. package/dist/smart/chat-window/examples.json +2798 -0
  222. package/dist/smart/chat-window/examples.json.gz +0 -0
  223. package/dist/smart/chat-window/js/chat-window.js +12780 -0
  224. package/dist/smart/chat-window/js/chat-window.js.gz +0 -0
  225. package/dist/smart/chat-window/js/chat-window.min.js +1 -0
  226. package/dist/smart/chat-window/js/chat-window.min.js.gz +0 -0
  227. package/dist/smart/chat-window/lang/en.json +212 -0
  228. package/dist/smart/chat-window/lang/en.json.gz +0 -0
  229. package/dist/smart/chat-window/lang/ru.json +218 -0
  230. package/dist/smart/chat-window/lang/ru.json.gz +0 -0
  231. package/dist/smart/chat-window/probe.json +2023 -0
  232. package/dist/smart/chat-window/probe.json.gz +0 -0
  233. package/dist/smart/chat-window/smart.manifest.json +2844 -0
  234. package/dist/smart/chat-window/smart.manifest.json.gz +0 -0
  235. package/dist/smart/chat-window/static/default/archived.html +100 -0
  236. package/dist/smart/chat-window/static/default/archived.html.gz +0 -0
  237. package/dist/smart/chat-window/static/default/embedded.html +125 -0
  238. package/dist/smart/chat-window/static/default/embedded.html.gz +0 -0
  239. package/dist/smart/chat-window/static/default/greeting.html +125 -0
  240. package/dist/smart/chat-window/static/default/greeting.html.gz +0 -0
  241. package/dist/smart/chat-window/static/default/people.html +104 -0
  242. package/dist/smart/chat-window/static/default/people.html.gz +0 -0
  243. package/dist/smart/chat-window/static/default/proposal.html +161 -0
  244. package/dist/smart/chat-window/static/default/proposal.html.gz +0 -0
  245. package/dist/smart/chat-window/static/default/reference.html +123 -0
  246. package/dist/smart/chat-window/static/default/reference.html.gz +0 -0
  247. package/dist/smart/chat-window/static/default/waiting.html +123 -0
  248. package/dist/smart/chat-window/static/default/waiting.html.gz +0 -0
  249. package/dist/smart/chat-window/static/sheets.json +526 -0
  250. package/dist/smart/chat-window/static/sheets.json.gz +0 -0
  251. package/dist/smart/chat-window/studio.fixture.json +13 -0
  252. package/dist/smart/chat-window/studio.fixture.json.gz +0 -0
  253. package/dist/smart/chat-window/studio.scenario.json +95 -0
  254. package/dist/smart/chat-window/studio.scenario.json.gz +0 -0
  255. package/dist/smart/chat-window/template/default.css +1168 -0
  256. package/dist/smart/chat-window/template/default.css.gz +0 -0
  257. package/dist/smart/chat-window/template/default.js +12 -0
  258. package/dist/smart/chat-window/template/default.js.gz +0 -0
  259. package/dist/smart/rule.js +193 -0
  260. package/dist/smart/rule.js.gz +0 -0
  261. package/package.json +29 -4
@@ -0,0 +1,1240 @@
1
+ {
2
+ "$comment": "The source of sf-thread-list's element plumbing (core/js/element-manifest.js). Taken from simai/ui-control control/smart-architecture/migration/out/thread-list (migration/convert-1.3.8.mjs over simai/ui-pro@9cbe061); standard simai.smart-component 1.3.8, vocabulary 1.1.5. Every x-todo of the conversion is decided: x-decisions says how.",
3
+ "id": "smart.chat-threads",
4
+ "tag": "sf-chat-threads",
5
+ "version": "2.0.5",
6
+ "kind": "leaf",
7
+ "family": "list",
8
+ "settings": {
9
+ "threads": {
10
+ "type": "list",
11
+ "default": [],
12
+ "of": {
13
+ "id": "id",
14
+ "title": {
15
+ "type": "string",
16
+ "optional": true
17
+ },
18
+ "updated-at": {
19
+ "type": "date",
20
+ "optional": true
21
+ },
22
+ "caption": {
23
+ "type": "string",
24
+ "optional": true
25
+ },
26
+ "activity": {
27
+ "type": "enum",
28
+ "values": ["running", "waiting", "done", "stopped", "failed"],
29
+ "optional": true,
30
+ "summary": "Where the work in this conversation is (sf-badge activity): running, waiting, done, stopped or failed. Drawn as a tonal badge in the row with its word (sf-list badge). Absent: no mark."
31
+ },
32
+ "unread": {
33
+ "type": "number",
34
+ "integer": true,
35
+ "min": 0,
36
+ "optional": true
37
+ },
38
+ "avatar": {
39
+ "type": "object",
40
+ "optional": true
41
+ },
42
+ "archived": {
43
+ "type": "boolean",
44
+ "optional": true
45
+ },
46
+ "pinned": {
47
+ "type": "boolean",
48
+ "optional": true
49
+ }
50
+ },
51
+ "entries": {
52
+ "key": "id",
53
+ "changes": "content"
54
+ },
55
+ "x-markup": "a property (a host has objects); newest first by updated-at, the pinned ones (pinned: true, Mirai24 API v1.1) first under their own heading «Закреплённые» (sf-list); pin and unpin are the host's row actions (apply); avatar is {image-url, text, shape: circle|square, icon} (1.6.0: square for a group or a channel, icon a sign instead of initials), and no avatar keeps no column; title, caption and avatar text are text, never markup. updated_at and avatar.image_url, the 1.0 spellings, are read until 2026-12-01 and noted"
56
+ },
57
+ "has-more": {
58
+ "type": "boolean",
59
+ "default": false,
60
+ "summary": "A next page exists: reaching the end asks for it."
61
+ },
62
+ "archived": {
63
+ "type": "boolean",
64
+ "default": false,
65
+ "summary": "Show the archive: a way back, Restore instead of Archive, no New conversation."
66
+ },
67
+ "no-create": {
68
+ "type": "boolean",
69
+ "default": false,
70
+ "summary": "No New conversation."
71
+ },
72
+ "create-commands": {
73
+ "type": "list",
74
+ "default": [],
75
+ "of": {
76
+ "id": "id",
77
+ "text": "string",
78
+ "icon": {
79
+ "type": "string",
80
+ "optional": true
81
+ }
82
+ },
83
+ "summary": "Commands in the head in place of New conversation: [{id, text, icon?}], a property. Pressed, one says create {kind: id}. Empty, the one New conversation as before; no-create and the archive take them away as well."
84
+ },
85
+ "no-manage": {
86
+ "type": "boolean",
87
+ "default": false,
88
+ "summary": "No row actions: no menu, no F2."
89
+ },
90
+ "no-archive": {
91
+ "type": "boolean",
92
+ "default": false,
93
+ "summary": "No archive: no way to it and no Archive among the row actions."
94
+ },
95
+ "group-by": {
96
+ "type": "enum",
97
+ "values": [
98
+ "day",
99
+ "none"
100
+ ],
101
+ "default": "day",
102
+ "summary": "day: Today, Yesterday, the weekday, the date by updated-at in the reader's time zone (sf-list). none: one list."
103
+ },
104
+ "label": {
105
+ "type": "string",
106
+ "default-from": "runtime.label",
107
+ "summary": "The navigation's accessible name; empty is Conversations, or Archive, in the page's language."
108
+ },
109
+ "loading": {
110
+ "type": "boolean",
111
+ "default": false,
112
+ "x-summary": "while the first page loads: the shape of the list instead of words (was setLoading)",
113
+ "summary": "The shape of the list while the first page loads."
114
+ },
115
+ "status": {
116
+ "type": "string",
117
+ "default": "",
118
+ "x-summary": "a sentence in place of the list, an error the host could not recover from; empty clears it (was setStatus)",
119
+ "summary": "A sentence in place of the list (an error); empty clears it."
120
+ },
121
+ "actions": {
122
+ "type": "list",
123
+ "default": [],
124
+ "of": {
125
+ "id": "id",
126
+ "text": "string",
127
+ "icon": {
128
+ "type": "icon",
129
+ "optional": true
130
+ }
131
+ },
132
+ "x-summary": "the host's own row actions after «Rename» and «Archive»; chosen, one leaves as apply {action, scope: entry, ids}"
133
+ }
134
+ },
135
+ "values": {
136
+ "selected": {
137
+ "type": "id",
138
+ "default": "",
139
+ "controlled": true,
140
+ "summary": "the open conversation; a press asks for it with open {id} and the host writes it back"
141
+ }
142
+ },
143
+ "events": {
144
+ "create": {
145
+ "carries": {
146
+ "kind": {
147
+ "type": "string",
148
+ "optional": true,
149
+ "summary": "The id of the create command pressed; absent for the one New conversation."
150
+ }
151
+ },
152
+ "summary": "New conversation was pressed, or a create command (kind: its id)."
153
+ },
154
+ "open": {
155
+ "carries": {
156
+ "id": "id"
157
+ },
158
+ "summary": "A conversation is asked for (vocabulary open); the host writes selected back. The 1.0 name sf-thread-list-select follows until 2026-12-01."
159
+ },
160
+ "rename": {
161
+ "carries": {
162
+ "id": "id",
163
+ "title": {
164
+ "type": "string",
165
+ "schema": {
166
+ "minLength": 1,
167
+ "maxLength": 120
168
+ }
169
+ }
170
+ },
171
+ "summary": "A conversation was renamed in place; the new title is shown at once. A host that cannot keep it upserts the old title."
172
+ },
173
+ "archive": {
174
+ "carries": {
175
+ "ids": {
176
+ "type": "list",
177
+ "schema": {
178
+ "items": {
179
+ "type": "string"
180
+ }
181
+ },
182
+ "optional": true
183
+ },
184
+ "id": "id"
185
+ },
186
+ "summary": "Archive {ids, id} (vocabulary archive; id stays for 1.0 listeners)."
187
+ },
188
+ "restore": {
189
+ "carries": {
190
+ "ids": {
191
+ "type": "list",
192
+ "schema": {
193
+ "items": {
194
+ "type": "string"
195
+ }
196
+ },
197
+ "optional": true
198
+ },
199
+ "id": "id"
200
+ },
201
+ "summary": "Restore {ids, id} (vocabulary restore). The 1.0 name sf-thread-list-unarchive follows until 2026-12-01."
202
+ },
203
+ "apply": {
204
+ "carries": {
205
+ "action": "string",
206
+ "scope": {
207
+ "type": "enum",
208
+ "values": [
209
+ "entry"
210
+ ],
211
+ "optional": true
212
+ },
213
+ "ids": {
214
+ "type": "list",
215
+ "schema": {
216
+ "items": {
217
+ "type": "string"
218
+ }
219
+ },
220
+ "optional": true
221
+ },
222
+ "id": "id"
223
+ },
224
+ "summary": "One of the host's row actions: {action, scope: entry, ids, id} (vocabulary apply). The 1.0 name sf-thread-list-action follows until 2026-12-01."
225
+ },
226
+ "load-more": {
227
+ "carries": {
228
+ "direction": {
229
+ "type": "enum",
230
+ "values": [
231
+ "after"
232
+ ]
233
+ }
234
+ },
235
+ "summary": "The end came into view while has-more: {direction: after}."
236
+ },
237
+ "toggle": {
238
+ "carries": {
239
+ "archived": "boolean"
240
+ },
241
+ "summary": "The archive, or the way back. The 1.0 name sf-thread-list-view follows until 2026-12-01."
242
+ }
243
+ },
244
+ "actions": {
245
+ "set-threads": {
246
+ "with": {
247
+ "threads": {
248
+ "type": "list",
249
+ "schema": {
250
+ "items": {
251
+ "type": "object",
252
+ "properties": {
253
+ "id": {
254
+ "type": [
255
+ "string",
256
+ "number"
257
+ ]
258
+ },
259
+ "title": {
260
+ "type": "string"
261
+ },
262
+ "updated_at": {
263
+ "type": "string",
264
+ "description": "ISO 8601; orders the list and groups it by day."
265
+ },
266
+ "archived": {
267
+ "type": "boolean"
268
+ },
269
+ "pinned": {
270
+ "type": "boolean",
271
+ "description": "Pinned (Mirai24 API v1.1): leads the list under its own heading with a quiet line saying so; pinning is the host's row action."
272
+ },
273
+ "caption": {
274
+ "type": "string",
275
+ "description": "A quiet second line: who it is with, the last message."
276
+ },
277
+ "activity": {
278
+ "type": "string",
279
+ "enum": [
280
+ "running",
281
+ "waiting",
282
+ "done",
283
+ "stopped",
284
+ "failed"
285
+ ],
286
+ "description": "Where the work in this conversation is (sf-badge activity): running, waiting, done, stopped or failed. Drawn as a tonal badge in the row with its word (sf-list badge). Absent: no mark."
287
+ },
288
+ "unread": {
289
+ "type": "integer",
290
+ "minimum": 0
291
+ },
292
+ "avatar": {
293
+ "type": "object",
294
+ "properties": {
295
+ "image_url": {
296
+ "type": "string"
297
+ },
298
+ "text": {
299
+ "type": "string"
300
+ }
301
+ }
302
+ }
303
+ },
304
+ "required": [
305
+ "id",
306
+ "title"
307
+ ]
308
+ }
309
+ }
310
+ },
311
+ "has-more": {
312
+ "type": "boolean",
313
+ "optional": true
314
+ }
315
+ },
316
+ "x-outcomes": [
317
+ "applied"
318
+ ],
319
+ "x-summary": "the whole list and whether more follows, together (§7.2 values that go together); ends a page request",
320
+ "summary": "Replace the list; only the conversations of the shown view (archived or not) are kept.",
321
+ "x-returns": "{outcome: applied}"
322
+ },
323
+ "append-threads": {
324
+ "with": {
325
+ "threads": {
326
+ "type": "list",
327
+ "schema": {
328
+ "items": {
329
+ "type": "object",
330
+ "properties": {
331
+ "id": {
332
+ "type": [
333
+ "string",
334
+ "number"
335
+ ]
336
+ },
337
+ "title": {
338
+ "type": "string"
339
+ },
340
+ "updated_at": {
341
+ "type": "string",
342
+ "description": "ISO 8601; orders the list and groups it by day."
343
+ },
344
+ "archived": {
345
+ "type": "boolean"
346
+ },
347
+ "pinned": {
348
+ "type": "boolean",
349
+ "description": "Pinned (Mirai24 API v1.1): leads the list under its own heading with a quiet line saying so; pinning is the host's row action."
350
+ },
351
+ "caption": {
352
+ "type": "string",
353
+ "description": "A quiet second line: who it is with, the last message."
354
+ },
355
+ "activity": {
356
+ "type": "string",
357
+ "enum": [
358
+ "running",
359
+ "waiting",
360
+ "done",
361
+ "stopped",
362
+ "failed"
363
+ ],
364
+ "description": "Where the work in this conversation is (sf-badge activity): running, waiting, done, stopped or failed. Drawn as a tonal badge in the row with its word (sf-list badge). Absent: no mark."
365
+ },
366
+ "unread": {
367
+ "type": "integer",
368
+ "minimum": 0
369
+ },
370
+ "avatar": {
371
+ "type": "object",
372
+ "properties": {
373
+ "image_url": {
374
+ "type": "string"
375
+ },
376
+ "text": {
377
+ "type": "string"
378
+ }
379
+ }
380
+ }
381
+ },
382
+ "required": [
383
+ "id",
384
+ "title"
385
+ ]
386
+ }
387
+ }
388
+ },
389
+ "has-more": {
390
+ "type": "boolean",
391
+ "optional": true
392
+ }
393
+ },
394
+ "x-outcomes": [
395
+ "applied"
396
+ ],
397
+ "x-summary": "the next page; ids already shown are kept where they are",
398
+ "summary": "The next page, after the ones shown; a conversation already listed is not repeated.",
399
+ "x-returns": "{outcome: applied}"
400
+ },
401
+ "upsert": {
402
+ "with": {
403
+ "thread": {
404
+ "type": "object",
405
+ "schema": {
406
+ "properties": {
407
+ "id": {
408
+ "type": [
409
+ "string",
410
+ "number"
411
+ ]
412
+ },
413
+ "title": {
414
+ "type": "string"
415
+ },
416
+ "updated_at": {
417
+ "type": "string",
418
+ "description": "ISO 8601; orders the list and groups it by day."
419
+ },
420
+ "archived": {
421
+ "type": "boolean"
422
+ },
423
+ "pinned": {
424
+ "type": "boolean",
425
+ "description": "Pinned (Mirai24 API v1.1): leads the list under its own heading with a quiet line saying so; pinning is the host's row action."
426
+ },
427
+ "caption": {
428
+ "type": "string",
429
+ "description": "A quiet second line: who it is with, the last message."
430
+ },
431
+ "activity": {
432
+ "type": "string",
433
+ "enum": [
434
+ "running",
435
+ "waiting",
436
+ "done",
437
+ "stopped",
438
+ "failed"
439
+ ],
440
+ "description": "Where the work in this conversation is (sf-badge activity): running, waiting, done, stopped or failed. Drawn as a tonal badge in the row with its word (sf-list badge). Absent: no mark."
441
+ },
442
+ "unread": {
443
+ "type": "integer",
444
+ "minimum": 0
445
+ },
446
+ "avatar": {
447
+ "type": "object",
448
+ "properties": {
449
+ "image_url": {
450
+ "type": "string"
451
+ },
452
+ "text": {
453
+ "type": "string"
454
+ }
455
+ }
456
+ }
457
+ },
458
+ "required": [
459
+ "id",
460
+ "title"
461
+ ]
462
+ }
463
+ }
464
+ },
465
+ "x-outcomes": [
466
+ "applied",
467
+ "refused"
468
+ ],
469
+ "x-summary": "a new or changed conversation moves where its date puts it",
470
+ "summary": "A new or changed conversation, placed where its date puts it.",
471
+ "x-returns": "{outcome: applied} or {outcome: refused, reason}"
472
+ },
473
+ "remove-thread": {
474
+ "with": {
475
+ "id": "id"
476
+ },
477
+ "x-outcomes": [
478
+ "applied",
479
+ "refused"
480
+ ],
481
+ "summary": "Take one conversation off the list.",
482
+ "x-returns": "{outcome: applied} or {outcome: refused, reason}"
483
+ },
484
+ "more-failed": {
485
+ "x-outcomes": [
486
+ "applied"
487
+ ],
488
+ "x-summary": "the next page could not be loaded: reaching the end asks again",
489
+ "summary": "The next page could not be loaded: reaching the end asks again.",
490
+ "x-returns": "{outcome: applied}"
491
+ },
492
+ "rename": {
493
+ "with": {
494
+ "id": "id"
495
+ },
496
+ "x-outcomes": [
497
+ "applied",
498
+ "refused"
499
+ ],
500
+ "x-summary": "opens the rename field in place (F2)",
501
+ "summary": "Start renaming a conversation in place, as F2 does.",
502
+ "x-returns": "{outcome: applied} or {outcome: refused, reason}"
503
+ },
504
+ "open-menu": {
505
+ "with": {
506
+ "id": "id"
507
+ },
508
+ "x-outcomes": [
509
+ "applied",
510
+ "refused"
511
+ ],
512
+ "x-summary": "opens the row's actions (Shift+F10, the menu key, the «⋯» button)",
513
+ "summary": "Open a conversation's actions, as the row's «⋯» and Shift+F10 do.",
514
+ "x-returns": "{outcome: applied} or {outcome: refused, reason}"
515
+ }
516
+ },
517
+ "slots": {
518
+ "footer": {}
519
+ },
520
+ "selection": "one",
521
+ "keyboard": {
522
+ "host": {
523
+ "Tab": "reach"
524
+ },
525
+ "row": {
526
+ "ArrowUp": "focus:prev",
527
+ "ArrowDown": "focus:next",
528
+ "Home": "focus:first",
529
+ "End": "focus:last",
530
+ "Enter": "open",
531
+ "Space": "open",
532
+ "F2": "rename",
533
+ "Shift+F10": "open-menu",
534
+ "ContextMenu": "open-menu"
535
+ }
536
+ },
537
+ "relations": [
538
+ {
539
+ "name": "cl-icon"
540
+ },
541
+ {
542
+ "name": "cl-list"
543
+ }
544
+ ],
545
+ "templates": {
546
+ "default": {
547
+ "file": "js/templates/default.js",
548
+ "$comment": "The Lit template in JavaScript, the migration form of §5.2 (§16)."
549
+ }
550
+ },
551
+ "presentation": {
552
+ "skeleton": {
553
+ "$comment": "The threads arrive after the first paint when the host loads them: the derived skeleton (static/default/<example>.skeleton.html) holds their box until they do (standard 1.3.8 §5.4).",
554
+ "late": [
555
+ "threads"
556
+ ]
557
+ }
558
+ },
559
+ "styles": "js/templates/default.css",
560
+ "examples": "examples.json",
561
+ "docs": "docs.md",
562
+ "lang": "lang/",
563
+ "accessibility": {
564
+ "role": "navigation",
565
+ "name": {
566
+ "from": [
567
+ "label",
568
+ "runtime.label"
569
+ ]
570
+ },
571
+ "keys": {
572
+ "Tab": "reach",
573
+ "ArrowUp": "focus:prev",
574
+ "ArrowDown": "focus:next",
575
+ "Home": "focus:first",
576
+ "End": "focus:last",
577
+ "Enter": "select",
578
+ "Space": "select",
579
+ "F2": "open",
580
+ "Shift+F10": "open",
581
+ "ContextMenu": "open"
582
+ },
583
+ "x-keys": "Enter and Space open the row (a native button); F2 opens the rename field, where Enter commits and Escape reverts; Shift+F10 and the menu key open the row's actions; one Tab stop for the list"
584
+ },
585
+ "host-states": {},
586
+ "css-variables": {
587
+ "--sf-thread-list-inset": {
588
+ "type": "length",
589
+ "state": "default"
590
+ },
591
+ "--sf-thread-list-row-height": {
592
+ "type": "length",
593
+ "state": "default"
594
+ },
595
+ "--sf-thread-list-radius": {
596
+ "type": "length",
597
+ "state": "default"
598
+ },
599
+ "--sf-thread-list-hover-background-color": {
600
+ "type": "color",
601
+ "state": "hover"
602
+ },
603
+ "--sf-thread-list-current-background-color": {
604
+ "type": "color",
605
+ "state": "current"
606
+ }
607
+ },
608
+ "aliases": {
609
+ "$comment": "Dated aliases of sf-chat-threads for the shim (core/js/aliases.js, standard §16 item 20). create, rename, archive and load-more keep their DOM names (archive and load-more gain the vocabulary's ids and direction beside the old fields). setLoading and setStatus became the settings loading and status: the component reads them and notes each call (no shim row can map a method to a setting).",
610
+ "since": "2026-10-27",
611
+ "remove-after": "2026-12-01",
612
+ "rows": [
613
+ {
614
+ "from": "sf-thread-list-select",
615
+ "to": "sf-thread-list-open",
616
+ "kind": "event",
617
+ "mode": "same-detail",
618
+ "cancelable": false,
619
+ "section": "§8, vocabulary §5 open"
620
+ },
621
+ {
622
+ "from": "sf-thread-list-unarchive",
623
+ "to": "sf-thread-list-restore",
624
+ "kind": "event",
625
+ "mode": "detail-adds",
626
+ "cancelable": false,
627
+ "section": "§8, vocabulary §5 restore",
628
+ "note": "{id} becomes {ids, id}"
629
+ },
630
+ {
631
+ "from": "sf-thread-list-action",
632
+ "to": "sf-thread-list-apply",
633
+ "kind": "event",
634
+ "mode": "detail-adds",
635
+ "cancelable": false,
636
+ "section": "§8, §18.3, vocabulary §5 apply",
637
+ "note": "{id, action} becomes {action, scope: entry, ids, id}"
638
+ },
639
+ {
640
+ "from": "sf-thread-list-view",
641
+ "to": "sf-thread-list-toggle",
642
+ "kind": "event",
643
+ "mode": "same-detail",
644
+ "cancelable": false,
645
+ "section": "§8, §3.1 (view is reserved)"
646
+ },
647
+ {
648
+ "from": "setLoading",
649
+ "to": null,
650
+ "kind": "action",
651
+ "mode": "retired",
652
+ "section": "§4.4",
653
+ "note": "the setting loading; the method stays until the date and notes each call"
654
+ },
655
+ {
656
+ "from": "setStatus",
657
+ "to": null,
658
+ "kind": "action",
659
+ "mode": "retired",
660
+ "section": "§4.4",
661
+ "note": "the setting status; the method stays until the date and notes each call"
662
+ },
663
+ {
664
+ "from": "sf-thread-list",
665
+ "to": "sf-chat-threads",
666
+ "kind": "tag",
667
+ "since": "2026-11-03",
668
+ "remove_after": "2027-01-01",
669
+ "since-version": "1.7.0",
670
+ "section": "rename plan R2 (ui-control RENAME-PLAN-2026-11-03), naming decision 2026-11-02",
671
+ "note": "the element is sf-chat-threads; sf-thread-list is a subclass defined beside it until the date"
672
+ },
673
+ {
674
+ "from": "sf-thread-list-create",
675
+ "to": "sf-chat-threads-create",
676
+ "kind": "event",
677
+ "since": "2026-11-03",
678
+ "remove_after": "2027-01-01",
679
+ "mode": "same-detail",
680
+ "section": "§8",
681
+ "note": "the event name carries the tag"
682
+ },
683
+ {
684
+ "from": "sf-thread-list-open",
685
+ "to": "sf-chat-threads-open",
686
+ "kind": "event",
687
+ "since": "2026-11-03",
688
+ "remove_after": "2027-01-01",
689
+ "mode": "same-detail",
690
+ "section": "§8",
691
+ "note": "the event name carries the tag"
692
+ },
693
+ {
694
+ "from": "sf-thread-list-rename",
695
+ "to": "sf-chat-threads-rename",
696
+ "kind": "event",
697
+ "since": "2026-11-03",
698
+ "remove_after": "2027-01-01",
699
+ "mode": "same-detail",
700
+ "section": "§8",
701
+ "note": "the event name carries the tag"
702
+ },
703
+ {
704
+ "from": "sf-thread-list-archive",
705
+ "to": "sf-chat-threads-archive",
706
+ "kind": "event",
707
+ "since": "2026-11-03",
708
+ "remove_after": "2027-01-01",
709
+ "mode": "same-detail",
710
+ "section": "§8",
711
+ "note": "the event name carries the tag"
712
+ },
713
+ {
714
+ "from": "sf-thread-list-restore",
715
+ "to": "sf-chat-threads-restore",
716
+ "kind": "event",
717
+ "since": "2026-11-03",
718
+ "remove_after": "2027-01-01",
719
+ "mode": "same-detail",
720
+ "section": "§8",
721
+ "note": "the event name carries the tag"
722
+ },
723
+ {
724
+ "from": "sf-thread-list-apply",
725
+ "to": "sf-chat-threads-apply",
726
+ "kind": "event",
727
+ "since": "2026-11-03",
728
+ "remove_after": "2027-01-01",
729
+ "mode": "same-detail",
730
+ "section": "§8",
731
+ "note": "the event name carries the tag"
732
+ },
733
+ {
734
+ "from": "sf-thread-list-load-more",
735
+ "to": "sf-chat-threads-load-more",
736
+ "kind": "event",
737
+ "since": "2026-11-03",
738
+ "remove_after": "2027-01-01",
739
+ "mode": "same-detail",
740
+ "section": "§8",
741
+ "note": "the event name carries the tag"
742
+ },
743
+ {
744
+ "from": "sf-thread-list-toggle",
745
+ "to": "sf-chat-threads-toggle",
746
+ "kind": "event",
747
+ "since": "2026-11-03",
748
+ "remove_after": "2027-01-01",
749
+ "mode": "same-detail",
750
+ "section": "§8",
751
+ "note": "the event name carries the tag"
752
+ }
753
+ ]
754
+ },
755
+ "x-summary": "A person's conversations, newest first: grouped by day, the open one marked, renamed in place, archived or acted on through the Framework's menu, with one Tab stop and the next page asked for at the end.",
756
+ "x-source": {
757
+ "package": "ui-pro",
758
+ "folder": "chat-threads",
759
+ "manifest": "simai/ui-pro@9cbe061 components/src/smart/thread-list/smart.manifest.json",
760
+ "converted": "control/smart-architecture/stands/17-ports-migration/out/thread-list.component.json"
761
+ },
762
+ "x-words": [
763
+ "label"
764
+ ],
765
+ "x-renamed": [
766
+ "events.sf-thread-list-select → open {id} (vocabulary §5 open); the old name a dated same-detail alias",
767
+ "events.sf-thread-list-unarchive → restore {ids, id} (vocabulary §5 restore); the old name a dated detail-adds alias",
768
+ "events.sf-thread-list-action → apply {action, scope: entry, ids, id} (vocabulary §5 apply, standard §18.3: one row's own action); the old name a dated detail-adds alias",
769
+ "events.sf-thread-list-view → toggle {archived}; the old name a dated same-detail alias",
770
+ "events archive and load-more keep their DOM names; their details gain the vocabulary's ids and direction (the old fields stay)",
771
+ "settings: loading and status replace setLoading() and setStatus(), which are read until 2026-12-01 and noted",
772
+ "entry fields: updated_at → updated-at, avatar.image_url → avatar.image-url (§18.1 kebab-case); the old spellings are read until 2026-12-01 and noted"
773
+ ],
774
+ "x-decisions": [
775
+ "version: 1.0.0 → 1.1.0, a minor while the old names hold dated aliases (§4.10).",
776
+ "shape (§7): a leaf. The report counts sf-avatar and sf-context-menu as placed parts; both are its own drawing -- the avatar shows a row's picture, the one context menu is the rows' shared surface, filled and opened by the list itself. No rule runs between them and no key would be bound by two writers, so keys, roles and rules would restate what the template already does (the smaller mechanism).",
777
+ "events (vocabulary 1.1.5 §5): create, open {id}, rename {id, title}, archive {ids}, restore {ids}, apply {action, scope: entry, ids} (§18.3: a row's own action), load-more {direction: after}, toggle {archived}. Each detail keeps the 1.0 field id beside ids, so the renamed names follow in detail-adds mode and the kept names lose nothing.",
778
+ "own-verb-words: none left -- action became the vocabulary's apply.",
779
+ "setter (§4.4): setLoading and setStatus become the settings loading and status; the methods stay until 2026-12-01 and note each call. set-threads stays an action: the list and has-more change together and a page request ends with them (§7.2 values that go together); the setting threads is the same list for a binding.",
780
+ "threads (§18.4): a list setting with entries {key: id, changes: content}; the rows are keyed by id, so a changed conversation redraws its own row in place and keeps the focus.",
781
+ "selected is a controlled value (§4.3): a press asks open {id}; the host writes selected back.",
782
+ "key-effects: arrows, Home and End move between rows (focus:*), Enter and Space open (select, a native button), F2 opens the rename field and Shift+F10 / the menu key the row's actions (open), as the keyboard map (row) names the actions rename and open-menu.",
783
+ "a11y-name: label, else the runtime word label («Разговоры»), or archive-view while the archive is shown.",
784
+ "item-shape: threads and actions name their fields with `of`; entry fields are kebab-case (§18.1), the 1.0 snake spellings read until the aliases' day.",
785
+ "template: templates.default names the Lit template js/templates/default.js, the migration form §5.2 allows.",
786
+ "skeleton (§5.4): the loading shape is the template's own, drawn while `loading`; its first paint is the static snapshot, and the skeleton is derived from it (presentation.skeleton.late threads).",
787
+ "examples: examples.json from the conversations a host shows (grouped, ungrouped, the archive, loading, empty); probe.json drives the arrows, Enter, F2, Escape and Shift+F10 and the old names (gate 16, gate 20).",
788
+ "css-variables: the five hooks the sheet already had, as public variables in the Framework's form, the hover and current rows each with its own (§6 a variable per state); the 1.0 --sf-thread-list--* hooks stay the internal layer.",
789
+ "side-effects: none. The context menu draws as sf-context-menu does (its own layer).",
790
+ "version 1.2.1: the first paint is retaken on ui-source c020caa: no held copy of the JSON island, no icon-font state, closed surfaces printed closed, no size the code measured; an example may declare a fake host port for gate 24's phase 3.",
791
+ "version 1.5.0: a minor (§4.10): create-commands, the several ways to start a host may offer (simai.chat: a dialogue, a group). A list of {id, text, icon?} as the row's actions are, drawn as the head's row-like commands in place of New conversation; a press is the same create event with kind: id, so one event keeps meaning one request to start, and a host that sets none sees nothing change.",
792
+ "avatar 1.6.0: a minor (§4.10), additive: avatar.shape (circle, the default; square, a collective) goes to sf-avatar's own shape; avatar.icon is a sign instead of initials. sf-avatar has no setting for a glyph (its placeholder is always person), so a sign is the avatars' class markup with a smart sf-icon inside, the means sf-chat-window's members already use; image-url outranks it. Without avatar the row draws nothing and keeps no column. Tones of initials: the Framework has no means (--sf-avatar-background-color is one colour, nothing keyed by a name), so none is hardcoded here; a gap for the Framework.",
793
+ "version 1.6.3: the today, yesterday and earlier groups count calendar days through calendarDayOffset of core/js/format.js (core.runtime 1.20.0; reuse audit 2026-11-02, finding 7); an unreadable date is still earlier. New: at the reader's midnight (a timer of msUntilNextDay plus a second, as sf-chat-window's day dividers) the list draws its groups again, so a conversation of today moves to yesterday without new data from the host. Needs core.runtime >= 1.20.0.",
794
+ "version 1.6.4: the Framework elements it draws, finds and listens to are named by their new tags (Smart component naming of 2026-11-02, sf-[set]-<block>): a row's actions open in sf-menu-context. The rule relations and the registry ids follow (cl-<new>, smart.<new>; the package reference pro.package.json of the pair). The former tags stay dated aliases of the Framework until 2027-01-01; public CSS variables and classes keep their names. No visible change. Needs the SIMAI Framework pair with the tag renames (core.runtime 1.21.0).",
795
+ "version 1.7.0: the tag is sf-chat-threads (naming decision 2026-11-02: sf-[set]-<block>[-<variant>]; rename plan R2); the folder chat-threads, the id smart.chat-threads and the bundle cl-chat-threads follow it. sf-thread-list stays a dated alias until 2027-01-01: a subclass the Smart base defines beside the new tag, listed in the package rule, in sheets as :is(sf-chat-threads, sf-thread-list), its events named after the tag followed by their former names (ui-source change journal tag-sf-thread-list-to-sf-chat-threads, path-smart-thread-list-to-chat-threads).",
796
+ "version 1.7.1 (2026-11-07): a patch (a look). The unread count of a row draws with sf-badge tight: Framework sf-badge 1.3.0 (component.badges 1.2.0) widens a badge's default side room to --sf-space-1/2 (owner decision, docs review R020), and this is a dense place, so it keeps the size's own narrow room. On a Framework before 1.3.0 the attribute and class do nothing. Settings, values, events and keys unchanged. Since 2.0.0 the count is sf-list's, which keeps the tight room itself (sf-list 1.1.1).",
797
+ "version 1.7.2 (2026-11-08): a patch (first paint only). The two activity snapshots (static/default/activity.html and activity.skeleton.html) draw the spinner ring inside the icon's live area, r=9 in the 24-unit box where it drew r=11, as SIMAI Framework draws it since the pair ui-5edc71bd6936 (component.spinner 1.1.0, sf-spinner 1.2.4, docs review R027/C11). The component's own code, settings, values and events are unchanged. In 2.0.0 the rows are sf-list's and the activity snapshots draw no spinner of their own.",
798
+ "version 2.0.1 (2026-11-09): a patch (no visible change). SIMAI Framework ui-cb287da78ab1 (core.runtime 1.45.0, standard §4.4) writes an action's method in the reference as one args object whose schema is the action's `with` fields, not the fields one by one (ui-source 9d2eeb8e, generate-component-files.mjs argumentsOf); smart.manifest.json is regenerated and changes only in methods.*.arguments. The element already took both forms; x-registry.action-calls records where its code also reads the value alone: the list for setThreads and appendThreads, the id for removeThread, rename and openMenu. Settings, values and events are unchanged. The same version first-paint snapshots are retaken over that pair; static/sheets.json is unchanged.",
799
+ "version 2.0.2 (2026-11-09): a patch (first paint only), for SIMAI Framework ui-b4a77681f0a7. The first-paint snapshots (reference, ungrouped, people, avatars and their skeletons) are retaken over the pair: sf-avatar takes hue=\"auto\" and writes its colour as the hue class (sf-hue-<name>) for the former tone class. Code, settings, values and events are unchanged.",
800
+ "version 2.0.3 (2026-11-10): a patch (first paint only). The first-paint snapshots are retaken over SIMAI Framework ui-2bd5a3ab478a: the pair's sf-menu-context prints its panel without the flex utility class (class=\"sf-context-menu\"); static/sheets.json is unchanged (no sheet drift). Code, settings, values and events are unchanged.",
801
+ "version 2.0.4 (2026-11-14): a patch (no visible change), for SIMAI Framework ui-7fb26d395af2 (sf-list 1.2.0 since ui-da2ee1d6aa62). The rows ask sf-list for no-wrap: its title and second line stay one line each, cut at the end, and the whole text is the row's tooltip; under a finger sf-list keeps its rows, rename field and «⋯» at least --sf-d1 (44px) itself. The bridge rules this list kept for sf-list's rows since 2.0.0 (scoped to .sf-thread-list__rows) are gone; the commands keep their own 44px. Settings, values, events and keys unchanged.",
802
+ "version 2.0.5 (2026-11-26): a patch (no change of the list's own code), over SIMAI Framework pair ui-73df5d1b4d4c. The pair's sf-list opens a row's actions in the page's one shared menu (core SF.menu.open, C184 (4); sf-list's menu getter), no longer in a menu inside the list, and its has-more (deprecated until 2027-01-01 for sf-pagination appearance more) asks for the next page from «Показать ещё» or a person's scroll, not when the end is in reach on load (LF-8). The probes read the menu's entries through sf-list's menu and press «Показать ещё»; the first-paint snapshots are retaken over the pair. Settings, values and events are unchanged."
803
+ ],
804
+ "x-rule": {
805
+ "$comment": [
806
+ "The head's and foot's commands draw their glyphs as sf-icon; the rows are the",
807
+ "Framework's sf-list (since 2.0.0), which brings its own parts: sf-list-item, the",
808
+ "avatar, the badges, the empty state and the row menu. A tag it renders is a tag",
809
+ "it fetches."
810
+ ]
811
+ },
812
+ "x-registry": {
813
+ "action-calls": {
814
+ "set-threads": "object|list",
815
+ "append-threads": "object|list",
816
+ "remove-thread": "object|string",
817
+ "rename": "object|string",
818
+ "open-menu": "object|string"
819
+ },
820
+ "kind": "composite",
821
+ "capabilities": [
822
+ "conversations",
823
+ "rename-in-place",
824
+ "pagination",
825
+ "responsive"
826
+ ],
827
+ "persistence": {
828
+ "mode": "none",
829
+ "source_of_truth": "host",
830
+ "network_owner": "host",
831
+ "revision_field": null
832
+ },
833
+ "readiness": {
834
+ "level": "host-required",
835
+ "required_checks": [
836
+ "manifest",
837
+ "loader-rule",
838
+ "thread-list-contract",
839
+ "thread-list-browser"
840
+ ]
841
+ },
842
+ "tags": [
843
+ "conversation",
844
+ "threads",
845
+ "chat",
846
+ "navigation"
847
+ ],
848
+ "contracts": {
849
+ "thread": {
850
+ "type": "object",
851
+ "properties": {
852
+ "id": {
853
+ "type": [
854
+ "string",
855
+ "number"
856
+ ]
857
+ },
858
+ "title": {
859
+ "type": "string"
860
+ },
861
+ "updated_at": {
862
+ "type": "string",
863
+ "description": "ISO 8601; orders the list and groups it by day."
864
+ },
865
+ "archived": {
866
+ "type": "boolean"
867
+ },
868
+ "pinned": {
869
+ "type": "boolean",
870
+ "description": "Pinned (Mirai24 API v1.1): leads the list under its own heading with a quiet line saying so; pinning is the host's row action."
871
+ },
872
+ "caption": {
873
+ "type": "string",
874
+ "description": "A quiet second line: who it is with, the last message."
875
+ },
876
+ "activity": {
877
+ "type": "string",
878
+ "enum": [
879
+ "running",
880
+ "waiting",
881
+ "done",
882
+ "stopped",
883
+ "failed"
884
+ ],
885
+ "description": "Where the work in this conversation is (sf-badge activity): running, waiting, done, stopped or failed. Drawn as a tonal badge in the row with its word (sf-list badge). Absent: no mark."
886
+ },
887
+ "unread": {
888
+ "type": "integer",
889
+ "minimum": 0
890
+ },
891
+ "avatar": {
892
+ "type": "object",
893
+ "properties": {
894
+ "image_url": {
895
+ "type": "string"
896
+ },
897
+ "text": {
898
+ "type": "string"
899
+ }
900
+ }
901
+ }
902
+ },
903
+ "required": [
904
+ "id",
905
+ "title"
906
+ ]
907
+ },
908
+ "slots": {
909
+ "type": "object",
910
+ "properties": {
911
+ "footer": {
912
+ "type": "string",
913
+ "description": "Under the list, after the way to the archive (a usage meter, a settings link)."
914
+ }
915
+ }
916
+ },
917
+ "properties": {
918
+ "type": "object",
919
+ "properties": {
920
+ "threads": {
921
+ "type": "array",
922
+ "description": "Read-only: the conversations shown, newest first."
923
+ },
924
+ "actions": {
925
+ "type": "array",
926
+ "items": {
927
+ "type": "object",
928
+ "properties": {
929
+ "id": {
930
+ "type": "string"
931
+ },
932
+ "text": {
933
+ "type": "string"
934
+ },
935
+ "icon": {
936
+ "type": "string"
937
+ }
938
+ },
939
+ "required": [
940
+ "id",
941
+ "text"
942
+ ]
943
+ },
944
+ "description": "Row actions of the host's own, after Rename and Archive."
945
+ }
946
+ }
947
+ },
948
+ "css_variables": {
949
+ "type": "object",
950
+ "properties": {
951
+ "--sf-thread-list-inset": {
952
+ "type": "string"
953
+ },
954
+ "--sf-thread-list-row-height": {
955
+ "type": "string"
956
+ },
957
+ "--sf-thread-list-radius": {
958
+ "type": "string"
959
+ },
960
+ "--sf-thread-list-hover-background-color": {
961
+ "type": "string"
962
+ },
963
+ "--sf-thread-list-current-background-color": {
964
+ "type": "string"
965
+ }
966
+ }
967
+ }
968
+ },
969
+ "state": {
970
+ "machines": {
971
+ "list": [
972
+ "loading",
973
+ "ready",
974
+ "empty"
975
+ ],
976
+ "row": [
977
+ "idle",
978
+ "renaming"
979
+ ],
980
+ "more": [
981
+ "idle",
982
+ "loading"
983
+ ]
984
+ },
985
+ "visual_states": [
986
+ "default",
987
+ "loading",
988
+ "empty",
989
+ "selected",
990
+ "disabled"
991
+ ]
992
+ },
993
+ "artifacts": {
994
+ "fixtures": [
995
+ "studio.fixture.json"
996
+ ],
997
+ "scenarios": []
998
+ },
999
+ "ownership": {
1000
+ "source": "simai/ui-pro",
1001
+ "data": "host",
1002
+ "effects": "host",
1003
+ "forbidden_client_responsibilities": [
1004
+ "fetching conversations",
1005
+ "deciding which conversation is open",
1006
+ "access decisions"
1007
+ ]
1008
+ },
1009
+ "security": {
1010
+ "permissions_owner": "host",
1011
+ "untrusted_inputs": [
1012
+ "titles and captions (drawn as text)",
1013
+ "avatar image URLs (passed to sf-avatar)"
1014
+ ],
1015
+ "network_policy": "deny"
1016
+ },
1017
+ "presentation": {
1018
+ "themes": [
1019
+ "light",
1020
+ "dark"
1021
+ ],
1022
+ "locales": [
1023
+ "en",
1024
+ "ru"
1025
+ ],
1026
+ "responsive": [
1027
+ "desktop",
1028
+ "mobile",
1029
+ "hover-none"
1030
+ ],
1031
+ "skeleton": {
1032
+ "shape": "rows",
1033
+ "while_loading": "template"
1034
+ }
1035
+ },
1036
+ "ai_guidance": {
1037
+ "use_when": "Use sf-thread-list for a list of conversations -- an assistant's or people's chats -- the host feeds through setThreads and upsert. Promoted from simai/ui-chat sf-chat-thread-list (owner decision 2026-10-25).",
1038
+ "do_not": [
1039
+ "Do not fetch from the element; the host answers sf-thread-list-load-more",
1040
+ "Do not expect the list to move selected on a click; set it when the conversation is open",
1041
+ "Do not put markup in titles or captions; they are text"
1042
+ ],
1043
+ "required_reads": [
1044
+ "inputs",
1045
+ "contracts",
1046
+ "methods",
1047
+ "events",
1048
+ "accessibility"
1049
+ ],
1050
+ "minimal_example": "<sf-chat-threads selected=\"t1\"></sf-chat-threads>",
1051
+ "owner_commands": [
1052
+ "node scripts/test.mjs",
1053
+ "node scripts/run-browser-probes.mjs <free output> <package output>"
1054
+ ]
1055
+ },
1056
+ "accessibility": {
1057
+ "accessible_name": "internal",
1058
+ "keyboard": [
1059
+ "Tab",
1060
+ "ArrowUp",
1061
+ "ArrowDown",
1062
+ "Home",
1063
+ "End",
1064
+ "Enter",
1065
+ "Space",
1066
+ "F2",
1067
+ "Shift+F10",
1068
+ "ContextMenu",
1069
+ "Escape"
1070
+ ],
1071
+ "focus": "One Tab stop for the list (roving tabindex: the row last moved to, else the open one, else the first). The open row carries aria-current=page and medium weight, and the system highlight in forced colours. F2 renames in place (Enter keeps, Escape gives up and does not reach a surrounding panel, leaving keeps); focus returns to the row. Shift+F10 or the menu key opens the row's actions; the «⋯» is not a Tab stop."
1072
+ },
1073
+ "compatibility": {
1074
+ "migrations": [
1075
+ {
1076
+ "from": "1.0.0",
1077
+ "to": "1.1.0",
1078
+ "changes": [
1079
+ "standard simai.smart-component 1.3.8: the element is made from component.json; dated aliases in aliases.json",
1080
+ "sf-thread-list-select -> sf-thread-list-open until 2026-12-01 (event)",
1081
+ "sf-thread-list-unarchive -> sf-thread-list-restore until 2026-12-01 (event)",
1082
+ "sf-thread-list-action -> sf-thread-list-apply until 2026-12-01 (event)",
1083
+ "sf-thread-list-view -> sf-thread-list-toggle until 2026-12-01 (event)"
1084
+ ]
1085
+ },
1086
+ {
1087
+ "from": "1.3.0",
1088
+ "to": "1.3.1",
1089
+ "changes": [
1090
+ "The first-paint snapshot's sheets.json lists the utility sheets its markup uses (retaken on ui-source 5ba9399); no behaviour changed. Nothing to change for a host."
1091
+ ]
1092
+ },
1093
+ {
1094
+ "from": "1.3.1",
1095
+ "to": "1.4.0",
1096
+ "changes": [
1097
+ "A conversation may carry activity (running, waiting, done, stopped, failed), drawn in the row as a compact sf-badge (smart.badge 1.2.0): the icon alone is visible and the word is the accessible name. Nothing to change for a host that sends none."
1098
+ ]
1099
+ },
1100
+ {
1101
+ "from": "1.4.0",
1102
+ "to": "1.5.0",
1103
+ "changes": [
1104
+ "create-commands: several commands in the head in place of New conversation, a press saying create {kind: id}. Nothing to change for a host that sets none."
1105
+ ]
1106
+ },
1107
+ {
1108
+ "from": "1.5.0",
1109
+ "to": "1.5.1",
1110
+ "changes": [
1111
+ "Standard simai.smart-component 1.4: component.json and examples.json are the source; rule.js, aliases.json, studio.fixture.json, studio.scenario.json, probe.json and smart.manifest.json are generated from them. The registry gains the dated event names with alias_of and canonical, the base settings root-class and root-style, and the settings' own words. No runtime behaviour changes. Nothing to change for a host."
1112
+ ]
1113
+ },
1114
+ {
1115
+ "from": "1.5.1",
1116
+ "to": "1.6.0",
1117
+ "changes": [
1118
+ "A thread's avatar takes shape (circle, square) and icon (a sign instead of initials); both optional, a thread without them draws as before."
1119
+ ]
1120
+ },
1121
+ {
1122
+ "from": "1.6.0",
1123
+ "to": "1.6.1",
1124
+ "changes": [
1125
+ "Initials in a muted tone picked from the name (sf-avatar 1.2.0, tone auto). Additive."
1126
+ ]
1127
+ },
1128
+ {
1129
+ "from": "1.6.2",
1130
+ "to": "1.6.3",
1131
+ "changes": [
1132
+ "Day groups through core's calendarDayOffset; needs core.runtime >= 1.20.0. Visible: at the reader's midnight the groups are drawn again (today's conversations move to yesterday). Nothing to change for a host on a pair from core.runtime 1.20.0 on."
1133
+ ]
1134
+ },
1135
+ {
1136
+ "from": "1.6.3",
1137
+ "to": "1.6.4",
1138
+ "changes": [
1139
+ "Draws and finds the renamed Framework elements by their new tags (a row's actions open in sf-menu-context); the rule relations name cl-<new>. Needs the SIMAI Framework pair with the tag renames (core.runtime 1.21.0). No visible change. Nothing to change for a host on that pair; a host that writes the former tags keeps working until 2027-01-01."
1140
+ ]
1141
+ },
1142
+ {
1143
+ "from": "1.6.4",
1144
+ "to": "1.7.0",
1145
+ "changes": [
1146
+ "The tag is sf-chat-threads (rename plan R2, naming decision 2026-11-02: sf-[set]-<block>); the folder chat-threads, the id smart.chat-threads and the bundle cl-chat-threads follow it (were thread-list, smart.thread-list, cl-thread-list). sf-thread-list stays a dated alias until 2027-01-01: old markup upgrades as this element, the Loader forwards cl-thread-list, and every event fires under its former name as well, with the same detail. Public CSS variables and classes keep their names. Needs the SIMAI Framework pair whose package reference lists the former tag (core.runtime 1.22.0). Nothing to change for a host until 2027-01-01; new markup writes sf-chat-threads."
1147
+ ]
1148
+ },
1149
+ {
1150
+ "from": "1.7.0",
1151
+ "to": "1.7.1",
1152
+ "changes": [
1153
+ "A look: a row's unread count keeps the tight side room of sf-badge 1.3.0 (tight). Nothing for a host to change."
1154
+ ]
1155
+ },
1156
+ {
1157
+ "from": "1.7.1",
1158
+ "to": "2.0.0",
1159
+ "changes": [
1160
+ "The rows are the Framework's sf-list 1.1.0 (owner, 2026-11-06, q-3b313e2246): a thread becomes its item -- title the text, caption the supporting line, updated-at the date, unread the count, activity a tonal badge with its word, avatar and pinned as they are. Settings, actions, events and their details do not change; a host's code keeps working.",
1161
+ "What a host sees: the day groups are sf-list's (formatRelativeDay: «Сегодня», «Вчера», the weekday, the date) instead of «Today», «Yesterday», «Earlier»; a pinned row has no «Закреплён» line of its own (the «Закреплённые» heading stays, and without groups the pinned ones lead with no heading); a running conversation's badge has no spinner; «Show more» stands under a list with a next page; the words of a row (Rename, New name, the actions' label, Untitled, Loading) are sf-list's, and the words today, yesterday, earlier, pinned, pinned-text, unread-label, rename-label, rename-text, actions-label, untitled-text and loading-text left this component's lang/.",
1162
+ "The rows' markup is sf-list's: .sf-list__row[data-id] with sf-list-item, «⋯» .sf-list__actions; the classes .sf-thread-list__item, __link, __title, __caption, __pinned, __avatar, __unread, __activity, __more, __group, __heading, __list, __skeleton and __sentinel are gone. A page that styled or queried them moves to sf-list's (sf-chat-window 1.14.0 has). The head, foot, commands and status keep their .sf-thread-list__* classes and the public CSS variables keep their names: radius, hover and current reach the rows as sf-list's variables.",
1163
+ "Needs the SIMAI Framework pair with sf-list 1.1.1 (ui-2a671352d67b or later): its count and badge keep the tight room of sf-badge 1.3.0."
1164
+ ]
1165
+ },
1166
+ {
1167
+ "from": "2.0.3",
1168
+ "to": "2.0.4",
1169
+ "changes": [
1170
+ "No visible change: a conversation's title and caption still stay one line, cut at the end, and under a finger a row and its «⋯» are still at least 44px; sf-list 1.2.0 does both now (no-wrap, set on), so the list of conversations dropped its own rules for sf-list's rows. A row's whole text is its tooltip. Needs the SIMAI Framework pair with sf-list 1.2.0 (ui-da2ee1d6aa62 or later)."
1171
+ ]
1172
+ },
1173
+ {
1174
+ "from": "2.0.4",
1175
+ "to": "2.0.5",
1176
+ "changes": [
1177
+ "On SIMAI Framework pair ui-73df5d1b4d4c the rows' «⋯» menu is the page's shared menu and the next page is asked for by «Показать ещё» or a scroll (sf-list); the list's settings, values and events are unchanged."
1178
+ ]
1179
+ }
1180
+ ]
1181
+ },
1182
+ "methods": {
1183
+ "setLoading": {
1184
+ "summary": "While the first page loads: the shape of the list, and the list busy. Deprecated: the setting loading (until 2026-12-01).",
1185
+ "arguments": [
1186
+ {
1187
+ "name": "loading",
1188
+ "required": true,
1189
+ "schema": {
1190
+ "type": "boolean"
1191
+ }
1192
+ }
1193
+ ],
1194
+ "returns": {
1195
+ "type": "null"
1196
+ }
1197
+ },
1198
+ "setStatus": {
1199
+ "summary": "A sentence in place of the list (an error); empty clears it. Deprecated: the setting status (until 2026-12-01).",
1200
+ "arguments": [
1201
+ {
1202
+ "name": "message",
1203
+ "required": true,
1204
+ "schema": {
1205
+ "type": "string"
1206
+ }
1207
+ }
1208
+ ],
1209
+ "returns": {
1210
+ "type": "null"
1211
+ }
1212
+ }
1213
+ },
1214
+ "inputs": {
1215
+ "template": {
1216
+ "const": "default"
1217
+ },
1218
+ "create-commands": {
1219
+ "items": {
1220
+ "type": "object",
1221
+ "required": [
1222
+ "id",
1223
+ "text"
1224
+ ],
1225
+ "properties": {
1226
+ "id": {
1227
+ "type": "string"
1228
+ },
1229
+ "text": {
1230
+ "type": "string"
1231
+ },
1232
+ "icon": {
1233
+ "type": "string"
1234
+ }
1235
+ }
1236
+ }
1237
+ }
1238
+ }
1239
+ }
1240
+ }