@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,1159 @@
1
+ {
2
+ "schema_version": 2,
3
+ "id": "smart.chat-threads",
4
+ "version": "2.0.5",
5
+ "title": "Thread list",
6
+ "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.",
7
+ "kind": "composite",
8
+ "reuse_mode": "whole",
9
+ "lifecycle": "experimental",
10
+ "tags": [
11
+ "conversation",
12
+ "threads",
13
+ "chat",
14
+ "navigation"
15
+ ],
16
+ "capabilities": [
17
+ "conversations",
18
+ "rename-in-place",
19
+ "pagination",
20
+ "responsive"
21
+ ],
22
+ "custom_element": "sf-chat-threads",
23
+ "templates": [
24
+ "default"
25
+ ],
26
+ "exported_parts": [],
27
+ "composition": {
28
+ "uses": [
29
+ "smart.icon",
30
+ "smart.list"
31
+ ],
32
+ "public_parts": []
33
+ },
34
+ "inputs": {
35
+ "type": "object",
36
+ "properties": {
37
+ "template": {
38
+ "type": "string",
39
+ "default": "default",
40
+ "description": "Template variant name for SfBaseElement external templates.",
41
+ "const": "default"
42
+ },
43
+ "root-class": {
44
+ "type": "string",
45
+ "default": "",
46
+ "description": "Classes added to the root element the component draws."
47
+ },
48
+ "root-style": {
49
+ "type": "string",
50
+ "default": "",
51
+ "description": "Inline style declarations set on the root element the component draws, custom properties included."
52
+ },
53
+ "has-more": {
54
+ "type": "boolean",
55
+ "default": false,
56
+ "description": "A next page exists: reaching the end asks for it."
57
+ },
58
+ "archived": {
59
+ "type": "boolean",
60
+ "default": false,
61
+ "description": "Show the archive: a way back, Restore instead of Archive, no New conversation."
62
+ },
63
+ "no-create": {
64
+ "type": "boolean",
65
+ "default": false,
66
+ "description": "No New conversation."
67
+ },
68
+ "no-manage": {
69
+ "type": "boolean",
70
+ "default": false,
71
+ "description": "No row actions: no menu, no F2."
72
+ },
73
+ "no-archive": {
74
+ "type": "boolean",
75
+ "default": false,
76
+ "description": "No archive: no way to it and no Archive among the row actions."
77
+ },
78
+ "group-by": {
79
+ "type": "string",
80
+ "default": "day",
81
+ "description": "day: Today, Yesterday, the weekday, the date by updated-at in the reader's time zone (sf-list). none: one list.",
82
+ "enum": [
83
+ "day",
84
+ "none"
85
+ ]
86
+ },
87
+ "label": {
88
+ "type": "string",
89
+ "description": "The navigation's accessible name; empty is Conversations, or Archive, in the page's language."
90
+ },
91
+ "loading": {
92
+ "type": "boolean",
93
+ "default": false,
94
+ "description": "The shape of the list while the first page loads."
95
+ },
96
+ "status": {
97
+ "type": "string",
98
+ "default": "",
99
+ "description": "A sentence in place of the list (an error); empty clears it."
100
+ },
101
+ "selected": {
102
+ "type": "string",
103
+ "default": "",
104
+ "description": "the open conversation; a press asks for it with open {id} and the host writes it back"
105
+ },
106
+ "threads": {
107
+ "type": "array",
108
+ "default": [],
109
+ "items": {
110
+ "type": "object"
111
+ }
112
+ },
113
+ "create-commands": {
114
+ "type": "array",
115
+ "default": [],
116
+ "description": "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.",
117
+ "items": {
118
+ "type": "object",
119
+ "required": [
120
+ "id",
121
+ "text"
122
+ ],
123
+ "properties": {
124
+ "id": {
125
+ "type": "string"
126
+ },
127
+ "text": {
128
+ "type": "string"
129
+ },
130
+ "icon": {
131
+ "type": "string"
132
+ }
133
+ }
134
+ }
135
+ },
136
+ "actions": {
137
+ "type": "array",
138
+ "default": []
139
+ }
140
+ },
141
+ "additionalProperties": false
142
+ },
143
+ "item_contract": {},
144
+ "contracts": {
145
+ "thread": {
146
+ "type": "object",
147
+ "properties": {
148
+ "id": {
149
+ "type": [
150
+ "string",
151
+ "number"
152
+ ]
153
+ },
154
+ "title": {
155
+ "type": "string"
156
+ },
157
+ "updated_at": {
158
+ "type": "string",
159
+ "description": "ISO 8601; orders the list and groups it by day."
160
+ },
161
+ "archived": {
162
+ "type": "boolean"
163
+ },
164
+ "pinned": {
165
+ "type": "boolean",
166
+ "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."
167
+ },
168
+ "caption": {
169
+ "type": "string",
170
+ "description": "A quiet second line: who it is with, the last message."
171
+ },
172
+ "activity": {
173
+ "type": "string",
174
+ "enum": [
175
+ "running",
176
+ "waiting",
177
+ "done",
178
+ "stopped",
179
+ "failed"
180
+ ],
181
+ "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."
182
+ },
183
+ "unread": {
184
+ "type": "integer",
185
+ "minimum": 0
186
+ },
187
+ "avatar": {
188
+ "type": "object",
189
+ "properties": {
190
+ "image_url": {
191
+ "type": "string"
192
+ },
193
+ "text": {
194
+ "type": "string"
195
+ }
196
+ }
197
+ }
198
+ },
199
+ "required": [
200
+ "id",
201
+ "title"
202
+ ]
203
+ },
204
+ "slots": {
205
+ "type": "object",
206
+ "properties": {
207
+ "footer": {
208
+ "type": "string",
209
+ "description": "Under the list, after the way to the archive (a usage meter, a settings link)."
210
+ }
211
+ }
212
+ },
213
+ "properties": {
214
+ "type": "object",
215
+ "properties": {
216
+ "threads": {
217
+ "type": "array",
218
+ "description": "Read-only: the conversations shown, newest first."
219
+ },
220
+ "actions": {
221
+ "type": "array",
222
+ "items": {
223
+ "type": "object",
224
+ "properties": {
225
+ "id": {
226
+ "type": "string"
227
+ },
228
+ "text": {
229
+ "type": "string"
230
+ },
231
+ "icon": {
232
+ "type": "string"
233
+ }
234
+ },
235
+ "required": [
236
+ "id",
237
+ "text"
238
+ ]
239
+ },
240
+ "description": "Row actions of the host's own, after Rename and Archive."
241
+ }
242
+ }
243
+ },
244
+ "css_variables": {
245
+ "type": "object",
246
+ "properties": {
247
+ "--sf-thread-list-inset": {
248
+ "type": "string"
249
+ },
250
+ "--sf-thread-list-row-height": {
251
+ "type": "string"
252
+ },
253
+ "--sf-thread-list-radius": {
254
+ "type": "string"
255
+ },
256
+ "--sf-thread-list-hover-background-color": {
257
+ "type": "string"
258
+ },
259
+ "--sf-thread-list-current-background-color": {
260
+ "type": "string"
261
+ }
262
+ }
263
+ }
264
+ },
265
+ "methods": {
266
+ "setThreads": {
267
+ "summary": "Replace the list; only the conversations of the shown view (archived or not) are kept.",
268
+ "arguments": [
269
+ {
270
+ "name": "args",
271
+ "type": "object|list",
272
+ "required": true,
273
+ "schema": {
274
+ "type": "object",
275
+ "properties": {
276
+ "threads": {
277
+ "type": "array",
278
+ "items": {
279
+ "type": "object",
280
+ "properties": {
281
+ "id": {
282
+ "type": [
283
+ "string",
284
+ "number"
285
+ ]
286
+ },
287
+ "title": {
288
+ "type": "string"
289
+ },
290
+ "updated_at": {
291
+ "type": "string",
292
+ "description": "ISO 8601; orders the list and groups it by day."
293
+ },
294
+ "archived": {
295
+ "type": "boolean"
296
+ },
297
+ "pinned": {
298
+ "type": "boolean",
299
+ "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."
300
+ },
301
+ "caption": {
302
+ "type": "string",
303
+ "description": "A quiet second line: who it is with, the last message."
304
+ },
305
+ "activity": {
306
+ "type": "string",
307
+ "enum": [
308
+ "running",
309
+ "waiting",
310
+ "done",
311
+ "stopped",
312
+ "failed"
313
+ ],
314
+ "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."
315
+ },
316
+ "unread": {
317
+ "type": "integer",
318
+ "minimum": 0
319
+ },
320
+ "avatar": {
321
+ "type": "object",
322
+ "properties": {
323
+ "image_url": {
324
+ "type": "string"
325
+ },
326
+ "text": {
327
+ "type": "string"
328
+ }
329
+ }
330
+ }
331
+ },
332
+ "required": [
333
+ "id",
334
+ "title"
335
+ ]
336
+ }
337
+ },
338
+ "hasMore": {
339
+ "type": "boolean"
340
+ }
341
+ },
342
+ "required": [
343
+ "threads"
344
+ ]
345
+ }
346
+ }
347
+ ],
348
+ "returns": {
349
+ "type": "object",
350
+ "description": "{outcome: applied}"
351
+ }
352
+ },
353
+ "appendThreads": {
354
+ "summary": "The next page, after the ones shown; a conversation already listed is not repeated.",
355
+ "arguments": [
356
+ {
357
+ "name": "args",
358
+ "type": "object|list",
359
+ "required": true,
360
+ "schema": {
361
+ "type": "object",
362
+ "properties": {
363
+ "threads": {
364
+ "type": "array",
365
+ "items": {
366
+ "type": "object",
367
+ "properties": {
368
+ "id": {
369
+ "type": [
370
+ "string",
371
+ "number"
372
+ ]
373
+ },
374
+ "title": {
375
+ "type": "string"
376
+ },
377
+ "updated_at": {
378
+ "type": "string",
379
+ "description": "ISO 8601; orders the list and groups it by day."
380
+ },
381
+ "archived": {
382
+ "type": "boolean"
383
+ },
384
+ "pinned": {
385
+ "type": "boolean",
386
+ "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."
387
+ },
388
+ "caption": {
389
+ "type": "string",
390
+ "description": "A quiet second line: who it is with, the last message."
391
+ },
392
+ "activity": {
393
+ "type": "string",
394
+ "enum": [
395
+ "running",
396
+ "waiting",
397
+ "done",
398
+ "stopped",
399
+ "failed"
400
+ ],
401
+ "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."
402
+ },
403
+ "unread": {
404
+ "type": "integer",
405
+ "minimum": 0
406
+ },
407
+ "avatar": {
408
+ "type": "object",
409
+ "properties": {
410
+ "image_url": {
411
+ "type": "string"
412
+ },
413
+ "text": {
414
+ "type": "string"
415
+ }
416
+ }
417
+ }
418
+ },
419
+ "required": [
420
+ "id",
421
+ "title"
422
+ ]
423
+ }
424
+ },
425
+ "hasMore": {
426
+ "type": "boolean"
427
+ }
428
+ },
429
+ "required": [
430
+ "threads"
431
+ ]
432
+ }
433
+ }
434
+ ],
435
+ "returns": {
436
+ "type": "object",
437
+ "description": "{outcome: applied}"
438
+ }
439
+ },
440
+ "upsert": {
441
+ "summary": "A new or changed conversation, placed where its date puts it.",
442
+ "arguments": [
443
+ {
444
+ "name": "args",
445
+ "type": "object",
446
+ "required": true,
447
+ "schema": {
448
+ "type": "object",
449
+ "properties": {
450
+ "thread": {
451
+ "type": "object",
452
+ "properties": {
453
+ "id": {
454
+ "type": [
455
+ "string",
456
+ "number"
457
+ ]
458
+ },
459
+ "title": {
460
+ "type": "string"
461
+ },
462
+ "updated_at": {
463
+ "type": "string",
464
+ "description": "ISO 8601; orders the list and groups it by day."
465
+ },
466
+ "archived": {
467
+ "type": "boolean"
468
+ },
469
+ "pinned": {
470
+ "type": "boolean",
471
+ "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."
472
+ },
473
+ "caption": {
474
+ "type": "string",
475
+ "description": "A quiet second line: who it is with, the last message."
476
+ },
477
+ "activity": {
478
+ "type": "string",
479
+ "enum": [
480
+ "running",
481
+ "waiting",
482
+ "done",
483
+ "stopped",
484
+ "failed"
485
+ ],
486
+ "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."
487
+ },
488
+ "unread": {
489
+ "type": "integer",
490
+ "minimum": 0
491
+ },
492
+ "avatar": {
493
+ "type": "object",
494
+ "properties": {
495
+ "image_url": {
496
+ "type": "string"
497
+ },
498
+ "text": {
499
+ "type": "string"
500
+ }
501
+ }
502
+ }
503
+ },
504
+ "required": [
505
+ "id",
506
+ "title"
507
+ ]
508
+ }
509
+ },
510
+ "required": [
511
+ "thread"
512
+ ]
513
+ }
514
+ }
515
+ ],
516
+ "returns": {
517
+ "type": "object",
518
+ "description": "{outcome: applied} or {outcome: refused, reason}"
519
+ }
520
+ },
521
+ "removeThread": {
522
+ "summary": "Take one conversation off the list.",
523
+ "arguments": [
524
+ {
525
+ "name": "args",
526
+ "type": "object|string",
527
+ "required": true,
528
+ "schema": {
529
+ "type": "object",
530
+ "properties": {
531
+ "id": {}
532
+ },
533
+ "required": [
534
+ "id"
535
+ ]
536
+ }
537
+ }
538
+ ],
539
+ "returns": {
540
+ "type": "object",
541
+ "description": "{outcome: applied} or {outcome: refused, reason}"
542
+ }
543
+ },
544
+ "moreFailed": {
545
+ "summary": "The next page could not be loaded: reaching the end asks again.",
546
+ "arguments": [],
547
+ "returns": {
548
+ "type": "object",
549
+ "description": "{outcome: applied}"
550
+ }
551
+ },
552
+ "rename": {
553
+ "summary": "Start renaming a conversation in place, as F2 does.",
554
+ "arguments": [
555
+ {
556
+ "name": "args",
557
+ "type": "object|string",
558
+ "required": true,
559
+ "schema": {
560
+ "type": "object",
561
+ "properties": {
562
+ "id": {}
563
+ },
564
+ "required": [
565
+ "id"
566
+ ]
567
+ }
568
+ }
569
+ ],
570
+ "returns": {
571
+ "type": "object",
572
+ "description": "{outcome: applied} or {outcome: refused, reason}"
573
+ }
574
+ },
575
+ "openMenu": {
576
+ "summary": "Open a conversation's actions, as the row's «⋯» and Shift+F10 do.",
577
+ "arguments": [
578
+ {
579
+ "name": "args",
580
+ "type": "object|string",
581
+ "required": true,
582
+ "schema": {
583
+ "type": "object",
584
+ "properties": {
585
+ "id": {}
586
+ },
587
+ "required": [
588
+ "id"
589
+ ]
590
+ }
591
+ }
592
+ ],
593
+ "returns": {
594
+ "type": "object",
595
+ "description": "{outcome: applied} or {outcome: refused, reason}"
596
+ }
597
+ },
598
+ "setLoading": {
599
+ "summary": "While the first page loads: the shape of the list, and the list busy. Deprecated: the setting loading (until 2026-12-01).",
600
+ "arguments": [
601
+ {
602
+ "name": "loading",
603
+ "required": true,
604
+ "schema": {
605
+ "type": "boolean"
606
+ }
607
+ }
608
+ ],
609
+ "returns": {
610
+ "type": "null"
611
+ }
612
+ },
613
+ "setStatus": {
614
+ "summary": "A sentence in place of the list (an error); empty clears it. Deprecated: the setting status (until 2026-12-01).",
615
+ "arguments": [
616
+ {
617
+ "name": "message",
618
+ "required": true,
619
+ "schema": {
620
+ "type": "string"
621
+ }
622
+ }
623
+ ],
624
+ "returns": {
625
+ "type": "null"
626
+ }
627
+ }
628
+ },
629
+ "events": {
630
+ "sf-chat-threads-create": {
631
+ "summary": "New conversation was pressed, or a create command (kind: its id).",
632
+ "payload": {
633
+ "type": "object",
634
+ "required": [],
635
+ "properties": {
636
+ "kind": {
637
+ "type": "string",
638
+ "description": "The id of the create command pressed; absent for the one New conversation."
639
+ }
640
+ },
641
+ "additionalProperties": true
642
+ },
643
+ "canonical": true
644
+ },
645
+ "sf-chat-threads-open": {
646
+ "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.",
647
+ "payload": {
648
+ "type": "object",
649
+ "required": [
650
+ "id"
651
+ ],
652
+ "properties": {
653
+ "id": {}
654
+ },
655
+ "additionalProperties": true
656
+ },
657
+ "canonical": true
658
+ },
659
+ "sf-chat-threads-rename": {
660
+ "summary": "A conversation was renamed in place; the new title is shown at once. A host that cannot keep it upserts the old title.",
661
+ "payload": {
662
+ "type": "object",
663
+ "required": [
664
+ "id",
665
+ "title"
666
+ ],
667
+ "properties": {
668
+ "id": {},
669
+ "title": {
670
+ "type": "string",
671
+ "minLength": 1,
672
+ "maxLength": 120
673
+ }
674
+ },
675
+ "additionalProperties": true
676
+ },
677
+ "canonical": true
678
+ },
679
+ "sf-chat-threads-archive": {
680
+ "summary": "Archive {ids, id} (vocabulary archive; id stays for 1.0 listeners).",
681
+ "payload": {
682
+ "type": "object",
683
+ "required": [
684
+ "id"
685
+ ],
686
+ "properties": {
687
+ "ids": {
688
+ "type": "array",
689
+ "items": {
690
+ "type": "string"
691
+ }
692
+ },
693
+ "id": {}
694
+ },
695
+ "additionalProperties": true
696
+ },
697
+ "canonical": true
698
+ },
699
+ "sf-chat-threads-restore": {
700
+ "summary": "Restore {ids, id} (vocabulary restore). The 1.0 name sf-thread-list-unarchive follows until 2026-12-01.",
701
+ "payload": {
702
+ "type": "object",
703
+ "required": [
704
+ "id"
705
+ ],
706
+ "properties": {
707
+ "ids": {
708
+ "type": "array",
709
+ "items": {
710
+ "type": "string"
711
+ }
712
+ },
713
+ "id": {}
714
+ },
715
+ "additionalProperties": true
716
+ },
717
+ "canonical": true
718
+ },
719
+ "sf-chat-threads-apply": {
720
+ "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.",
721
+ "payload": {
722
+ "type": "object",
723
+ "required": [
724
+ "action",
725
+ "id"
726
+ ],
727
+ "properties": {
728
+ "action": {
729
+ "type": "string"
730
+ },
731
+ "scope": {
732
+ "const": "entry"
733
+ },
734
+ "ids": {
735
+ "type": "array",
736
+ "items": {
737
+ "type": "string"
738
+ }
739
+ },
740
+ "id": {}
741
+ },
742
+ "additionalProperties": true
743
+ },
744
+ "canonical": true
745
+ },
746
+ "sf-chat-threads-load-more": {
747
+ "summary": "The end came into view while has-more: {direction: after}.",
748
+ "payload": {
749
+ "type": "object",
750
+ "required": [
751
+ "direction"
752
+ ],
753
+ "properties": {
754
+ "direction": {
755
+ "const": "after"
756
+ }
757
+ },
758
+ "additionalProperties": true
759
+ },
760
+ "canonical": true
761
+ },
762
+ "sf-chat-threads-toggle": {
763
+ "summary": "The archive, or the way back. The 1.0 name sf-thread-list-view follows until 2026-12-01.",
764
+ "payload": {
765
+ "type": "object",
766
+ "required": [
767
+ "archived"
768
+ ],
769
+ "properties": {
770
+ "archived": {
771
+ "type": "boolean"
772
+ }
773
+ },
774
+ "additionalProperties": true
775
+ },
776
+ "canonical": true
777
+ },
778
+ "sf-thread-list-select": {
779
+ "summary": "Dated alias of sf-thread-list-open until 2026-12-01 (same-detail).",
780
+ "payload": {
781
+ "type": "object"
782
+ },
783
+ "alias_of": "sf-chat-threads-open"
784
+ },
785
+ "sf-thread-list-unarchive": {
786
+ "summary": "Dated alias of sf-thread-list-restore until 2026-12-01 (detail-adds).",
787
+ "payload": {
788
+ "type": "object"
789
+ },
790
+ "alias_of": "sf-chat-threads-restore"
791
+ },
792
+ "sf-thread-list-action": {
793
+ "summary": "Dated alias of sf-thread-list-apply until 2026-12-01 (detail-adds).",
794
+ "payload": {
795
+ "type": "object"
796
+ },
797
+ "alias_of": "sf-chat-threads-apply"
798
+ },
799
+ "sf-thread-list-view": {
800
+ "summary": "Dated alias of sf-thread-list-toggle until 2026-12-01 (same-detail).",
801
+ "payload": {
802
+ "type": "object"
803
+ },
804
+ "alias_of": "sf-chat-threads-toggle"
805
+ },
806
+ "sf-thread-list-create": {
807
+ "summary": "Dated alias of sf-chat-threads-create until 2027-01-01 (same-detail).",
808
+ "payload": {
809
+ "type": "object"
810
+ },
811
+ "alias_of": "sf-chat-threads-create"
812
+ },
813
+ "sf-thread-list-open": {
814
+ "summary": "Dated alias of sf-chat-threads-open until 2027-01-01 (same-detail).",
815
+ "payload": {
816
+ "type": "object"
817
+ },
818
+ "alias_of": "sf-chat-threads-open"
819
+ },
820
+ "sf-thread-list-rename": {
821
+ "summary": "Dated alias of sf-chat-threads-rename until 2027-01-01 (same-detail).",
822
+ "payload": {
823
+ "type": "object"
824
+ },
825
+ "alias_of": "sf-chat-threads-rename"
826
+ },
827
+ "sf-thread-list-archive": {
828
+ "summary": "Dated alias of sf-chat-threads-archive until 2027-01-01 (same-detail).",
829
+ "payload": {
830
+ "type": "object"
831
+ },
832
+ "alias_of": "sf-chat-threads-archive"
833
+ },
834
+ "sf-thread-list-restore": {
835
+ "summary": "Dated alias of sf-chat-threads-restore until 2027-01-01 (same-detail).",
836
+ "payload": {
837
+ "type": "object"
838
+ },
839
+ "alias_of": "sf-chat-threads-restore"
840
+ },
841
+ "sf-thread-list-apply": {
842
+ "summary": "Dated alias of sf-chat-threads-apply until 2027-01-01 (same-detail).",
843
+ "payload": {
844
+ "type": "object"
845
+ },
846
+ "alias_of": "sf-chat-threads-apply"
847
+ },
848
+ "sf-thread-list-load-more": {
849
+ "summary": "Dated alias of sf-chat-threads-load-more until 2027-01-01 (same-detail).",
850
+ "payload": {
851
+ "type": "object"
852
+ },
853
+ "alias_of": "sf-chat-threads-load-more"
854
+ },
855
+ "sf-thread-list-toggle": {
856
+ "summary": "Dated alias of sf-chat-threads-toggle until 2027-01-01 (same-detail).",
857
+ "payload": {
858
+ "type": "object"
859
+ },
860
+ "alias_of": "sf-chat-threads-toggle"
861
+ }
862
+ },
863
+ "state": {
864
+ "machines": {
865
+ "list": [
866
+ "loading",
867
+ "ready",
868
+ "empty"
869
+ ],
870
+ "row": [
871
+ "idle",
872
+ "renaming"
873
+ ],
874
+ "more": [
875
+ "idle",
876
+ "loading"
877
+ ]
878
+ },
879
+ "visual_states": [
880
+ "default",
881
+ "loading",
882
+ "empty",
883
+ "selected",
884
+ "disabled"
885
+ ]
886
+ },
887
+ "persistence": {
888
+ "mode": "none",
889
+ "source_of_truth": "host",
890
+ "network_owner": "host",
891
+ "revision_field": null
892
+ },
893
+ "ownership": {
894
+ "source": "simai/ui-pro",
895
+ "data": "host",
896
+ "effects": "host",
897
+ "forbidden_client_responsibilities": [
898
+ "fetching conversations",
899
+ "deciding which conversation is open",
900
+ "access decisions"
901
+ ]
902
+ },
903
+ "security": {
904
+ "permissions_owner": "host",
905
+ "untrusted_inputs": [
906
+ "titles and captions (drawn as text)",
907
+ "avatar image URLs (passed to sf-avatar)"
908
+ ],
909
+ "network_policy": "deny"
910
+ },
911
+ "accessibility": {
912
+ "role": "navigation",
913
+ "accessible_name": "internal",
914
+ "keyboard": [
915
+ "Tab",
916
+ "ArrowUp",
917
+ "ArrowDown",
918
+ "Home",
919
+ "End",
920
+ "Enter",
921
+ "Space",
922
+ "F2",
923
+ "Shift+F10",
924
+ "ContextMenu",
925
+ "Escape"
926
+ ],
927
+ "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."
928
+ },
929
+ "presentation": {
930
+ "themes": [
931
+ "light",
932
+ "dark"
933
+ ],
934
+ "locales": [
935
+ "en",
936
+ "ru"
937
+ ],
938
+ "responsive": [
939
+ "desktop",
940
+ "mobile",
941
+ "hover-none"
942
+ ],
943
+ "skeleton": {
944
+ "shape": "rows",
945
+ "while_loading": "template"
946
+ }
947
+ },
948
+ "adapter": {
949
+ "kind": "generic",
950
+ "protocol": "simai.smart-studio-adapter.v1",
951
+ "module": null
952
+ },
953
+ "artifacts": {
954
+ "fixtures": [
955
+ "studio.fixture.json"
956
+ ],
957
+ "scenarios": []
958
+ },
959
+ "readiness": {
960
+ "level": "host-required",
961
+ "required_checks": [
962
+ "manifest",
963
+ "loader-rule",
964
+ "thread-list-contract",
965
+ "thread-list-browser"
966
+ ]
967
+ },
968
+ "compatibility": {
969
+ "contract_schema": {
970
+ "id": "https://simai.io/contracts/smart-component-manifest.v2.schema.json",
971
+ "version": 2
972
+ },
973
+ "runtime_pair": {
974
+ "ui_revision": "0000000000000000000000000000000000000000",
975
+ "ui_smart_revision": "0000000000000000000000000000000000000000"
976
+ },
977
+ "aliases": [
978
+ "<sf-thread-list>"
979
+ ],
980
+ "deprecations": [
981
+ {
982
+ "path": "<sf-thread-list>",
983
+ "since": "1.7.0",
984
+ "replacement": "<sf-chat-threads>"
985
+ }
986
+ ],
987
+ "replacement": null,
988
+ "migrations": [
989
+ {
990
+ "from": "1.0.0",
991
+ "to": "1.1.0",
992
+ "changes": [
993
+ "standard simai.smart-component 1.3.8: the element is made from component.json; dated aliases in aliases.json",
994
+ "sf-thread-list-select -> sf-thread-list-open until 2026-12-01 (event)",
995
+ "sf-thread-list-unarchive -> sf-thread-list-restore until 2026-12-01 (event)",
996
+ "sf-thread-list-action -> sf-thread-list-apply until 2026-12-01 (event)",
997
+ "sf-thread-list-view -> sf-thread-list-toggle until 2026-12-01 (event)"
998
+ ]
999
+ },
1000
+ {
1001
+ "from": "1.3.0",
1002
+ "to": "1.3.1",
1003
+ "changes": [
1004
+ "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."
1005
+ ]
1006
+ },
1007
+ {
1008
+ "from": "1.3.1",
1009
+ "to": "1.4.0",
1010
+ "changes": [
1011
+ "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."
1012
+ ]
1013
+ },
1014
+ {
1015
+ "from": "1.4.0",
1016
+ "to": "1.5.0",
1017
+ "changes": [
1018
+ "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."
1019
+ ]
1020
+ },
1021
+ {
1022
+ "from": "1.5.0",
1023
+ "to": "1.5.1",
1024
+ "changes": [
1025
+ "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."
1026
+ ]
1027
+ },
1028
+ {
1029
+ "from": "1.5.1",
1030
+ "to": "1.6.0",
1031
+ "changes": [
1032
+ "A thread's avatar takes shape (circle, square) and icon (a sign instead of initials); both optional, a thread without them draws as before."
1033
+ ]
1034
+ },
1035
+ {
1036
+ "from": "1.6.0",
1037
+ "to": "1.6.1",
1038
+ "changes": [
1039
+ "Initials in a muted tone picked from the name (sf-avatar 1.2.0, tone auto). Additive."
1040
+ ]
1041
+ },
1042
+ {
1043
+ "from": "1.6.2",
1044
+ "to": "1.6.3",
1045
+ "changes": [
1046
+ "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."
1047
+ ]
1048
+ },
1049
+ {
1050
+ "from": "1.6.3",
1051
+ "to": "1.6.4",
1052
+ "changes": [
1053
+ "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."
1054
+ ]
1055
+ },
1056
+ {
1057
+ "from": "1.6.4",
1058
+ "to": "1.7.0",
1059
+ "changes": [
1060
+ "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."
1061
+ ]
1062
+ },
1063
+ {
1064
+ "from": "1.7.0",
1065
+ "to": "1.7.1",
1066
+ "changes": [
1067
+ "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."
1068
+ ]
1069
+ },
1070
+ {
1071
+ "from": "1.7.1",
1072
+ "to": "2.0.0",
1073
+ "changes": [
1074
+ "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.",
1075
+ "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/.",
1076
+ "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.",
1077
+ "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."
1078
+ ]
1079
+ },
1080
+ {
1081
+ "from": "2.0.3",
1082
+ "to": "2.0.4",
1083
+ "changes": [
1084
+ "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)."
1085
+ ]
1086
+ },
1087
+ {
1088
+ "from": "2.0.4",
1089
+ "to": "2.0.5",
1090
+ "changes": [
1091
+ "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."
1092
+ ]
1093
+ }
1094
+ ]
1095
+ },
1096
+ "provenance": {
1097
+ "source_repository": "simai/ui-pro",
1098
+ "source_revision": "a06ad1d291c2084c83242b29d28caee454504bd3",
1099
+ "source_artifacts": [
1100
+ {
1101
+ "path": "src/smart/chat-threads/index.js",
1102
+ "sha256": "801a3842784bbda26313976de8b7cab25ad46e66661fc74d39f36081becaf58e"
1103
+ },
1104
+ {
1105
+ "path": "src/smart/chat-threads/js/templates/default.js",
1106
+ "sha256": "d8343d1fa5a3889f80edd5951f2a98db617f50b16c1c802964124411b155d062"
1107
+ },
1108
+ {
1109
+ "path": "src/smart/chat-threads/js/templates/default.css",
1110
+ "sha256": "59f446b39a035cc381e6d383048c23ddd9d280a03bec6c3502ddfd4de38bb87b"
1111
+ },
1112
+ {
1113
+ "path": "src/smart/chat-threads/rule.js",
1114
+ "sha256": "4a94037d513848a4751ad843fc29499679a34e4cc6737fd765813c9855cf6d5e"
1115
+ },
1116
+ {
1117
+ "path": "src/smart/chat-threads/docs.md",
1118
+ "sha256": "77b29df9b656cbc1bb7f0c5c150b8c21d5fc404bdd1716b20bcf5cdcfa69afca"
1119
+ },
1120
+ {
1121
+ "path": "src/smart/chat-threads/component.json",
1122
+ "sha256": "5a3382bb81ed89815a4c817d71c63efd818c09937e75ae571528c5e670283653"
1123
+ },
1124
+ {
1125
+ "path": "src/smart/chat-threads/aliases.json",
1126
+ "sha256": "7e0daadfbea58d42609760629222cb4c3fe107ed077ffbadb9629ab5ef5faa9c"
1127
+ },
1128
+ {
1129
+ "path": "src/smart/chat-threads/lang/en.json",
1130
+ "sha256": "713b87a249b0bf2b7f456635c9a71d11518a5dc48eec629c01164367f603dfc8"
1131
+ },
1132
+ {
1133
+ "path": "src/smart/chat-threads/lang/ru.json",
1134
+ "sha256": "6fdf9c4706c48776e706c4e8389a0bcc5ead979d35f6f5f8c09ca730a0df9ba9"
1135
+ }
1136
+ ],
1137
+ "generated_runtime": []
1138
+ },
1139
+ "ai_guidance": {
1140
+ "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).",
1141
+ "do_not": [
1142
+ "Do not fetch from the element; the host answers sf-thread-list-load-more",
1143
+ "Do not expect the list to move selected on a click; set it when the conversation is open",
1144
+ "Do not put markup in titles or captions; they are text"
1145
+ ],
1146
+ "required_reads": [
1147
+ "inputs",
1148
+ "contracts",
1149
+ "methods",
1150
+ "events",
1151
+ "accessibility"
1152
+ ],
1153
+ "minimal_example": "<sf-chat-threads selected=\"t1\"></sf-chat-threads>",
1154
+ "owner_commands": [
1155
+ "node scripts/test.mjs",
1156
+ "node scripts/run-browser-probes.mjs <free output> <package output>"
1157
+ ]
1158
+ }
1159
+ }