@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.
- package/LICENSE.md +182 -0
- package/README.md +67 -2
- package/dist/package-receipt.json +1553 -0
- package/dist/set.json +107 -0
- package/dist/smart/chat-composer/aliases.json +67 -0
- package/dist/smart/chat-composer/aliases.json.gz +0 -0
- package/dist/smart/chat-composer/component.json +698 -0
- package/dist/smart/chat-composer/component.json.gz +0 -0
- package/dist/smart/chat-composer/css/chat-composer.css +223 -0
- package/dist/smart/chat-composer/css/chat-composer.css.gz +0 -0
- package/dist/smart/chat-composer/css/chat-composer.min.css +2 -0
- package/dist/smart/chat-composer/css/chat-composer.min.css.gz +0 -0
- package/dist/smart/chat-composer/examples.json +550 -0
- package/dist/smart/chat-composer/examples.json.gz +0 -0
- package/dist/smart/chat-composer/js/chat-composer.js +1028 -0
- package/dist/smart/chat-composer/js/chat-composer.js.gz +0 -0
- package/dist/smart/chat-composer/js/chat-composer.min.js +73 -0
- package/dist/smart/chat-composer/js/chat-composer.min.js.gz +0 -0
- package/dist/smart/chat-composer/lang/en.json +28 -0
- package/dist/smart/chat-composer/lang/en.json.gz +0 -0
- package/dist/smart/chat-composer/lang/ru.json +28 -0
- package/dist/smart/chat-composer/lang/ru.json.gz +0 -0
- package/dist/smart/chat-composer/probe.json +416 -0
- package/dist/smart/chat-composer/probe.json.gz +0 -0
- package/dist/smart/chat-composer/smart.manifest.json +651 -0
- package/dist/smart/chat-composer/smart.manifest.json.gz +0 -0
- package/dist/smart/chat-composer/static/default/busy.html +20 -0
- package/dist/smart/chat-composer/static/default/busy.html.gz +0 -0
- package/dist/smart/chat-composer/static/default/disabled.html +20 -0
- package/dist/smart/chat-composer/static/default/disabled.html.gz +0 -0
- package/dist/smart/chat-composer/static/default/files.html +99 -0
- package/dist/smart/chat-composer/static/default/files.html.gz +0 -0
- package/dist/smart/chat-composer/static/default/near-limit.html +20 -0
- package/dist/smart/chat-composer/static/default/near-limit.html.gz +0 -0
- package/dist/smart/chat-composer/static/default/reference.html +20 -0
- package/dist/smart/chat-composer/static/default/reference.html.gz +0 -0
- package/dist/smart/chat-composer/static/sheets.json +110 -0
- package/dist/smart/chat-composer/static/sheets.json.gz +0 -0
- package/dist/smart/chat-composer/studio.fixture.json +18 -0
- package/dist/smart/chat-composer/studio.fixture.json.gz +0 -0
- package/dist/smart/chat-composer/studio.scenario.json +37 -0
- package/dist/smart/chat-composer/studio.scenario.json.gz +0 -0
- package/dist/smart/chat-composer/template/default.css +198 -0
- package/dist/smart/chat-composer/template/default.css.gz +0 -0
- package/dist/smart/chat-composer/template/default.js +109 -0
- package/dist/smart/chat-composer/template/default.js.gz +0 -0
- package/dist/smart/chat-composer/template/parts.js +89 -0
- package/dist/smart/chat-composer/template/parts.js.gz +0 -0
- package/dist/smart/chat-interlocutor/aliases.json +20 -0
- package/dist/smart/chat-interlocutor/aliases.json.gz +0 -0
- package/dist/smart/chat-interlocutor/component.json +436 -0
- package/dist/smart/chat-interlocutor/component.json.gz +0 -0
- package/dist/smart/chat-interlocutor/css/chat-interlocutor.css +72 -0
- package/dist/smart/chat-interlocutor/css/chat-interlocutor.css.gz +0 -0
- package/dist/smart/chat-interlocutor/css/chat-interlocutor.min.css +2 -0
- package/dist/smart/chat-interlocutor/css/chat-interlocutor.min.css.gz +0 -0
- package/dist/smart/chat-interlocutor/examples.json +379 -0
- package/dist/smart/chat-interlocutor/examples.json.gz +0 -0
- package/dist/smart/chat-interlocutor/js/chat-interlocutor.js +531 -0
- package/dist/smart/chat-interlocutor/js/chat-interlocutor.js.gz +0 -0
- package/dist/smart/chat-interlocutor/js/chat-interlocutor.min.js +22 -0
- package/dist/smart/chat-interlocutor/js/chat-interlocutor.min.js.gz +0 -0
- package/dist/smart/chat-interlocutor/lang/en.json +13 -0
- package/dist/smart/chat-interlocutor/lang/en.json.gz +0 -0
- package/dist/smart/chat-interlocutor/lang/ru.json +13 -0
- package/dist/smart/chat-interlocutor/lang/ru.json.gz +0 -0
- package/dist/smart/chat-interlocutor/probe.json +204 -0
- package/dist/smart/chat-interlocutor/probe.json.gz +0 -0
- package/dist/smart/chat-interlocutor/smart.manifest.json +406 -0
- package/dist/smart/chat-interlocutor/smart.manifest.json.gz +0 -0
- package/dist/smart/chat-interlocutor/static/default/former.html +10 -0
- package/dist/smart/chat-interlocutor/static/default/former.html.gz +0 -0
- package/dist/smart/chat-interlocutor/static/default/grouped.html +10 -0
- package/dist/smart/chat-interlocutor/static/default/grouped.html.gz +0 -0
- package/dist/smart/chat-interlocutor/static/default/reference.html +10 -0
- package/dist/smart/chat-interlocutor/static/default/reference.html.gz +0 -0
- package/dist/smart/chat-interlocutor/static/default/single.html +10 -0
- package/dist/smart/chat-interlocutor/static/default/single.html.gz +0 -0
- package/dist/smart/chat-interlocutor/static/sheets.json +110 -0
- package/dist/smart/chat-interlocutor/static/sheets.json.gz +0 -0
- package/dist/smart/chat-interlocutor/studio.fixture.json +25 -0
- package/dist/smart/chat-interlocutor/studio.fixture.json.gz +0 -0
- package/dist/smart/chat-interlocutor/studio.scenario.json +41 -0
- package/dist/smart/chat-interlocutor/studio.scenario.json.gz +0 -0
- package/dist/smart/chat-interlocutor/template/default.css +58 -0
- package/dist/smart/chat-interlocutor/template/default.css.gz +0 -0
- package/dist/smart/chat-interlocutor/template/default.js +43 -0
- package/dist/smart/chat-interlocutor/template/default.js.gz +0 -0
- package/dist/smart/chat-message/aliases.json +125 -0
- package/dist/smart/chat-message/aliases.json.gz +0 -0
- package/dist/smart/chat-message/component.json +850 -0
- package/dist/smart/chat-message/component.json.gz +0 -0
- package/dist/smart/chat-message/css/chat-message.css +2260 -0
- package/dist/smart/chat-message/css/chat-message.css.gz +0 -0
- package/dist/smart/chat-message/css/chat-message.min.css +2 -0
- package/dist/smart/chat-message/css/chat-message.min.css.gz +0 -0
- package/dist/smart/chat-message/examples.json +1626 -0
- package/dist/smart/chat-message/examples.json.gz +0 -0
- package/dist/smart/chat-message/js/chat-message.js +5859 -0
- package/dist/smart/chat-message/js/chat-message.js.gz +0 -0
- package/dist/smart/chat-message/js/chat-message.min.js +15 -0
- package/dist/smart/chat-message/js/chat-message.min.js.gz +0 -0
- package/dist/smart/chat-message/lang/en.json +176 -0
- package/dist/smart/chat-message/lang/en.json.gz +0 -0
- package/dist/smart/chat-message/lang/ru.json +180 -0
- package/dist/smart/chat-message/lang/ru.json.gz +0 -0
- package/dist/smart/chat-message/probe.json +1051 -0
- package/dist/smart/chat-message/probe.json.gz +0 -0
- package/dist/smart/chat-message/smart.manifest.json +824 -0
- package/dist/smart/chat-message/smart.manifest.json.gz +0 -0
- package/dist/smart/chat-message/static/default/brief-card.html +2 -0
- package/dist/smart/chat-message/static/default/brief-card.html.gz +0 -0
- package/dist/smart/chat-message/static/default/brief-questions.html +2 -0
- package/dist/smart/chat-message/static/default/brief-questions.html.gz +0 -0
- package/dist/smart/chat-message/static/default/deliverables.html +2 -0
- package/dist/smart/chat-message/static/default/deliverables.html.gz +0 -0
- package/dist/smart/chat-message/static/default/document.html +13 -0
- package/dist/smart/chat-message/static/default/document.html.gz +0 -0
- package/dist/smart/chat-message/static/default/failed.html +2 -0
- package/dist/smart/chat-message/static/default/failed.html.gz +0 -0
- package/dist/smart/chat-message/static/default/feedback-reason.html +2 -0
- package/dist/smart/chat-message/static/default/feedback-reason.html.gz +0 -0
- package/dist/smart/chat-message/static/default/limit.html +2 -0
- package/dist/smart/chat-message/static/default/limit.html.gz +0 -0
- package/dist/smart/chat-message/static/default/proposal.html +40 -0
- package/dist/smart/chat-message/static/default/proposal.html.gz +0 -0
- package/dist/smart/chat-message/static/default/question.html +22 -0
- package/dist/smart/chat-message/static/default/question.html.gz +0 -0
- package/dist/smart/chat-message/static/default/reference.html +2 -0
- package/dist/smart/chat-message/static/default/reference.html.gz +0 -0
- package/dist/smart/chat-message/static/default/steps.html +2 -0
- package/dist/smart/chat-message/static/default/steps.html.gz +0 -0
- package/dist/smart/chat-message/static/default/stopped.html +2 -0
- package/dist/smart/chat-message/static/default/stopped.html.gz +0 -0
- package/dist/smart/chat-message/static/default/waiting.html +2 -0
- package/dist/smart/chat-message/static/default/waiting.html.gz +0 -0
- package/dist/smart/chat-message/static/person/person-own.html +2 -0
- package/dist/smart/chat-message/static/person/person-own.html.gz +0 -0
- package/dist/smart/chat-message/static/person/person-reply.html +2 -0
- package/dist/smart/chat-message/static/person/person-reply.html.gz +0 -0
- package/dist/smart/chat-message/static/person/person.html +12 -0
- package/dist/smart/chat-message/static/person/person.html.gz +0 -0
- package/dist/smart/chat-message/static/sheets.json +452 -0
- package/dist/smart/chat-message/static/sheets.json.gz +0 -0
- package/dist/smart/chat-message/studio.fixture.json +27 -0
- package/dist/smart/chat-message/studio.fixture.json.gz +0 -0
- package/dist/smart/chat-message/studio.scenario.json +22 -0
- package/dist/smart/chat-message/studio.scenario.json.gz +0 -0
- package/dist/smart/chat-message/template/default.css +1805 -0
- package/dist/smart/chat-message/template/default.css.gz +0 -0
- package/dist/smart/chat-message/template/default.js +27 -0
- package/dist/smart/chat-message/template/default.js.gz +0 -0
- package/dist/smart/chat-message/template/person.js +11 -0
- package/dist/smart/chat-message/template/person.js.gz +0 -0
- package/dist/smart/chat-threads/aliases.json +174 -0
- package/dist/smart/chat-threads/aliases.json.gz +0 -0
- package/dist/smart/chat-threads/component.json +1240 -0
- package/dist/smart/chat-threads/component.json.gz +0 -0
- package/dist/smart/chat-threads/css/chat-threads.css +134 -0
- package/dist/smart/chat-threads/css/chat-threads.css.gz +0 -0
- package/dist/smart/chat-threads/css/chat-threads.min.css +2 -0
- package/dist/smart/chat-threads/css/chat-threads.min.css.gz +0 -0
- package/dist/smart/chat-threads/examples.json +689 -0
- package/dist/smart/chat-threads/examples.json.gz +0 -0
- package/dist/smart/chat-threads/js/chat-threads.js +859 -0
- package/dist/smart/chat-threads/js/chat-threads.js.gz +0 -0
- package/dist/smart/chat-threads/js/chat-threads.min.js +39 -0
- package/dist/smart/chat-threads/js/chat-threads.min.js.gz +0 -0
- package/dist/smart/chat-threads/lang/en.json +18 -0
- package/dist/smart/chat-threads/lang/en.json.gz +0 -0
- package/dist/smart/chat-threads/lang/ru.json +18 -0
- package/dist/smart/chat-threads/lang/ru.json.gz +0 -0
- package/dist/smart/chat-threads/probe.json +406 -0
- package/dist/smart/chat-threads/probe.json.gz +0 -0
- package/dist/smart/chat-threads/smart.manifest.json +1159 -0
- package/dist/smart/chat-threads/smart.manifest.json.gz +0 -0
- package/dist/smart/chat-threads/static/default/activity.html +145 -0
- package/dist/smart/chat-threads/static/default/activity.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/activity.skeleton.html +145 -0
- package/dist/smart/chat-threads/static/default/activity.skeleton.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/archive.html +58 -0
- package/dist/smart/chat-threads/static/default/archive.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/archive.skeleton.html +58 -0
- package/dist/smart/chat-threads/static/default/archive.skeleton.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/avatars.html +116 -0
- package/dist/smart/chat-threads/static/default/avatars.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/avatars.skeleton.html +116 -0
- package/dist/smart/chat-threads/static/default/avatars.skeleton.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/empty.html +50 -0
- package/dist/smart/chat-threads/static/default/empty.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/loading.html +50 -0
- package/dist/smart/chat-threads/static/default/loading.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/people.html +104 -0
- package/dist/smart/chat-threads/static/default/people.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/people.skeleton.html +104 -0
- package/dist/smart/chat-threads/static/default/people.skeleton.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/reference.html +123 -0
- package/dist/smart/chat-threads/static/default/reference.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/reference.skeleton.html +123 -0
- package/dist/smart/chat-threads/static/default/reference.skeleton.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/ungrouped.html +99 -0
- package/dist/smart/chat-threads/static/default/ungrouped.html.gz +0 -0
- package/dist/smart/chat-threads/static/default/ungrouped.skeleton.html +99 -0
- package/dist/smart/chat-threads/static/default/ungrouped.skeleton.html.gz +0 -0
- package/dist/smart/chat-threads/static/sheets.json +503 -0
- package/dist/smart/chat-threads/static/sheets.json.gz +0 -0
- package/dist/smart/chat-threads/studio.fixture.json +23 -0
- package/dist/smart/chat-threads/studio.fixture.json.gz +0 -0
- package/dist/smart/chat-threads/template/default.css +113 -0
- package/dist/smart/chat-threads/template/default.css.gz +0 -0
- package/dist/smart/chat-threads/template/default.js +62 -0
- package/dist/smart/chat-threads/template/default.js.gz +0 -0
- package/dist/smart/chat-window/aliases.json +395 -0
- package/dist/smart/chat-window/aliases.json.gz +0 -0
- package/dist/smart/chat-window/component.json +2819 -0
- package/dist/smart/chat-window/component.json.gz +0 -0
- package/dist/smart/chat-window/css/chat-window.css +1509 -0
- package/dist/smart/chat-window/css/chat-window.css.gz +0 -0
- package/dist/smart/chat-window/css/chat-window.min.css +2 -0
- package/dist/smart/chat-window/css/chat-window.min.css.gz +0 -0
- package/dist/smart/chat-window/examples.json +2798 -0
- package/dist/smart/chat-window/examples.json.gz +0 -0
- package/dist/smart/chat-window/js/chat-window.js +12780 -0
- package/dist/smart/chat-window/js/chat-window.js.gz +0 -0
- package/dist/smart/chat-window/js/chat-window.min.js +1 -0
- package/dist/smart/chat-window/js/chat-window.min.js.gz +0 -0
- package/dist/smart/chat-window/lang/en.json +212 -0
- package/dist/smart/chat-window/lang/en.json.gz +0 -0
- package/dist/smart/chat-window/lang/ru.json +218 -0
- package/dist/smart/chat-window/lang/ru.json.gz +0 -0
- package/dist/smart/chat-window/probe.json +2023 -0
- package/dist/smart/chat-window/probe.json.gz +0 -0
- package/dist/smart/chat-window/smart.manifest.json +2844 -0
- package/dist/smart/chat-window/smart.manifest.json.gz +0 -0
- package/dist/smart/chat-window/static/default/archived.html +100 -0
- package/dist/smart/chat-window/static/default/archived.html.gz +0 -0
- package/dist/smart/chat-window/static/default/embedded.html +125 -0
- package/dist/smart/chat-window/static/default/embedded.html.gz +0 -0
- package/dist/smart/chat-window/static/default/greeting.html +125 -0
- package/dist/smart/chat-window/static/default/greeting.html.gz +0 -0
- package/dist/smart/chat-window/static/default/people.html +104 -0
- package/dist/smart/chat-window/static/default/people.html.gz +0 -0
- package/dist/smart/chat-window/static/default/proposal.html +161 -0
- package/dist/smart/chat-window/static/default/proposal.html.gz +0 -0
- package/dist/smart/chat-window/static/default/reference.html +123 -0
- package/dist/smart/chat-window/static/default/reference.html.gz +0 -0
- package/dist/smart/chat-window/static/default/waiting.html +123 -0
- package/dist/smart/chat-window/static/default/waiting.html.gz +0 -0
- package/dist/smart/chat-window/static/sheets.json +526 -0
- package/dist/smart/chat-window/static/sheets.json.gz +0 -0
- package/dist/smart/chat-window/studio.fixture.json +13 -0
- package/dist/smart/chat-window/studio.fixture.json.gz +0 -0
- package/dist/smart/chat-window/studio.scenario.json +95 -0
- package/dist/smart/chat-window/studio.scenario.json.gz +0 -0
- package/dist/smart/chat-window/template/default.css +1168 -0
- package/dist/smart/chat-window/template/default.css.gz +0 -0
- package/dist/smart/chat-window/template/default.js +12 -0
- package/dist/smart/chat-window/template/default.js.gz +0 -0
- package/dist/smart/rule.js +193 -0
- package/dist/smart/rule.js.gz +0 -0
- package/package.json +29 -4
|
@@ -0,0 +1,2844 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 2,
|
|
3
|
+
"id": "smart.chat-window",
|
|
4
|
+
"version": "1.14.4",
|
|
5
|
+
"title": "Chat window",
|
|
6
|
+
"summary": "A whole chat window on the host port simai.chat-port 1.0.0: the conversations (archive, paging, search, pinning), the open conversation with its messages, proposals, ratings and task briefs, the field with its files and the questions queued while an answer is awaited, the search within the conversation, whom one talks to, and «Мои файлы». It never talks to a server: the host gives the data and answers each intent, through the port or the settle action.",
|
|
7
|
+
"kind": "smart",
|
|
8
|
+
"reuse_mode": "whole",
|
|
9
|
+
"lifecycle": "experimental",
|
|
10
|
+
"tags": [
|
|
11
|
+
"chat",
|
|
12
|
+
"messaging",
|
|
13
|
+
"assistant",
|
|
14
|
+
"composite"
|
|
15
|
+
],
|
|
16
|
+
"capabilities": [
|
|
17
|
+
"conversation",
|
|
18
|
+
"keyboard",
|
|
19
|
+
"responsive",
|
|
20
|
+
"host-port"
|
|
21
|
+
],
|
|
22
|
+
"custom_element": "sf-chat-window",
|
|
23
|
+
"templates": [
|
|
24
|
+
"default"
|
|
25
|
+
],
|
|
26
|
+
"exported_parts": [],
|
|
27
|
+
"composition": {
|
|
28
|
+
"uses": [
|
|
29
|
+
"component.avatars",
|
|
30
|
+
"component.buttons",
|
|
31
|
+
"component.icon-buttons",
|
|
32
|
+
"component.inputs",
|
|
33
|
+
"smart.avatar",
|
|
34
|
+
"smart.button",
|
|
35
|
+
"smart.chat-composer",
|
|
36
|
+
"smart.chat-interlocutor",
|
|
37
|
+
"smart.chat-message",
|
|
38
|
+
"smart.chat-threads",
|
|
39
|
+
"smart.confirm-change",
|
|
40
|
+
"smart.empty-state",
|
|
41
|
+
"smart.icon",
|
|
42
|
+
"smart.input",
|
|
43
|
+
"smart.input-lookup",
|
|
44
|
+
"smart.list-feed",
|
|
45
|
+
"smart.menu-context",
|
|
46
|
+
"smart.progress-bar"
|
|
47
|
+
],
|
|
48
|
+
"public_parts": [],
|
|
49
|
+
"declarative": {
|
|
50
|
+
"standard": "simai.composition.document.v1",
|
|
51
|
+
"type": "smart.chat-window",
|
|
52
|
+
"mode": "leaf",
|
|
53
|
+
"profiles": [
|
|
54
|
+
"ui-layout"
|
|
55
|
+
],
|
|
56
|
+
"props": [
|
|
57
|
+
"template",
|
|
58
|
+
"capabilities",
|
|
59
|
+
"landmark",
|
|
60
|
+
"heading-level",
|
|
61
|
+
"embedded",
|
|
62
|
+
"no-queue",
|
|
63
|
+
"feed-state"
|
|
64
|
+
],
|
|
65
|
+
"data": {},
|
|
66
|
+
"events": [
|
|
67
|
+
"sf-chat-window-open",
|
|
68
|
+
"sf-chat-window-load-more",
|
|
69
|
+
"sf-chat-window-submit",
|
|
70
|
+
"sf-chat-window-retry",
|
|
71
|
+
"sf-chat-window-save",
|
|
72
|
+
"sf-chat-window-delete",
|
|
73
|
+
"sf-chat-window-read",
|
|
74
|
+
"sf-chat-window-rate",
|
|
75
|
+
"sf-chat-window-answer",
|
|
76
|
+
"sf-chat-window-check",
|
|
77
|
+
"sf-chat-window-stop",
|
|
78
|
+
"sf-chat-window-create",
|
|
79
|
+
"sf-chat-window-rename",
|
|
80
|
+
"sf-chat-window-archive",
|
|
81
|
+
"sf-chat-window-restore",
|
|
82
|
+
"sf-chat-window-select",
|
|
83
|
+
"sf-chat-window-query",
|
|
84
|
+
"sf-chat-window-pin",
|
|
85
|
+
"sf-chat-window-attach",
|
|
86
|
+
"sf-chat-window-detach",
|
|
87
|
+
"sf-chat-window-settled",
|
|
88
|
+
"sf-chat-window-toggle",
|
|
89
|
+
"sf-chat-window-react",
|
|
90
|
+
"sf-chat-window-apply"
|
|
91
|
+
],
|
|
92
|
+
"persistence": {
|
|
93
|
+
"settings_key_prop": null,
|
|
94
|
+
"revision_prop": null
|
|
95
|
+
},
|
|
96
|
+
"presentation": {
|
|
97
|
+
"views": [
|
|
98
|
+
"default"
|
|
99
|
+
],
|
|
100
|
+
"presets": [],
|
|
101
|
+
"modifiers": []
|
|
102
|
+
},
|
|
103
|
+
"slots": {},
|
|
104
|
+
"renderer": {
|
|
105
|
+
"kind": "custom-element",
|
|
106
|
+
"name": "sf-chat-window"
|
|
107
|
+
},
|
|
108
|
+
"assets": [
|
|
109
|
+
"smart/chat-window"
|
|
110
|
+
],
|
|
111
|
+
"host_port": {
|
|
112
|
+
"port": "simai.chat-port",
|
|
113
|
+
"version": "1.0.0",
|
|
114
|
+
"path": "src/core/contracts/ports/simai.chat-port/1.0.0/port.json",
|
|
115
|
+
"sha256": "010590422d484a734e07155142c3e14e8a592d57310547e76209889e4feff09f",
|
|
116
|
+
"supported_versions": [
|
|
117
|
+
"1.0.0"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"inputs": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"template": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"default": "default",
|
|
128
|
+
"description": "Template variant name for SfBaseElement external templates."
|
|
129
|
+
},
|
|
130
|
+
"root-class": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"default": "",
|
|
133
|
+
"description": "Classes added to the root element the component draws."
|
|
134
|
+
},
|
|
135
|
+
"root-style": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"default": "",
|
|
138
|
+
"description": "Inline style declarations set on the root element the component draws, custom properties included."
|
|
139
|
+
},
|
|
140
|
+
"capabilities": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"default": "",
|
|
143
|
+
"description": "The port capabilities the host offers, space-separated (assistant, people, files, edit, delete, feedback, proposals, conversation-create, conversation-manage, interlocutors, read), and the window extensions (x-archive-view, x-conversations-paging, x-conversations-search, x-conversation-pin, x-early-upload, x-my-files, x-brief, x-conversation-start, x-members, x-members-manage, x-reactions, x-reply, x-threads, x-blocks). What is not declared is not offered, and its intent is answered unavailable without an event. The property also takes an array."
|
|
144
|
+
},
|
|
145
|
+
"landmark": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"default": "main",
|
|
148
|
+
"description": "main when the window is the page; section inside a page that has its own main.",
|
|
149
|
+
"enum": [
|
|
150
|
+
"main",
|
|
151
|
+
"section"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"heading-level": {
|
|
155
|
+
"type": "integer",
|
|
156
|
+
"default": 1,
|
|
157
|
+
"description": "The level of the window's own headings (the conversation, the greeting): 2 inside someone else's page.",
|
|
158
|
+
"minimum": 1,
|
|
159
|
+
"maximum": 2
|
|
160
|
+
},
|
|
161
|
+
"embedded": {
|
|
162
|
+
"type": "boolean",
|
|
163
|
+
"default": false,
|
|
164
|
+
"description": "Embedded in a host page: the window takes the container's height and draws its own edge."
|
|
165
|
+
},
|
|
166
|
+
"no-queue": {
|
|
167
|
+
"type": "boolean",
|
|
168
|
+
"default": false,
|
|
169
|
+
"description": "Turns the queue off: while an answer is awaited the field sends nothing and says why, as before 1.1.0."
|
|
170
|
+
},
|
|
171
|
+
"feed-state": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"default": "ready",
|
|
174
|
+
"description": "port data feed_state: loading draws the column anew, revoked clears the feed, the draft and anything unsent; set as a property (feedState, or the port's feed_state)",
|
|
175
|
+
"enum": [
|
|
176
|
+
"ready",
|
|
177
|
+
"loading",
|
|
178
|
+
"revoked"
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"me": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"description": "port data me {id, name}: who reads"
|
|
184
|
+
},
|
|
185
|
+
"conversations": {
|
|
186
|
+
"type": "array",
|
|
187
|
+
"default": [],
|
|
188
|
+
"description": "port data conversations [{id, title, type, interlocutor, unread_count, updated_at, archived, pinned}], newest first; pinned is x-conversation-pin's"
|
|
189
|
+
},
|
|
190
|
+
"conversation": {
|
|
191
|
+
"type": "object",
|
|
192
|
+
"description": "port data conversation: the open one {id, title, interlocutor, can_send, archived, revoked}, null when none is open"
|
|
193
|
+
},
|
|
194
|
+
"messages": {
|
|
195
|
+
"type": "array",
|
|
196
|
+
"default": [],
|
|
197
|
+
"description": "port data messages: the open conversation's, oldest first (kind person|assistant, body, html, files, status, stage, wait, sources, verification, notices, proposal, feedback, summary, limit_resets_at, brief, local)"
|
|
198
|
+
},
|
|
199
|
+
"history": {
|
|
200
|
+
"type": "object",
|
|
201
|
+
"default": {
|
|
202
|
+
"has_older": false
|
|
203
|
+
},
|
|
204
|
+
"description": "port data history {has_older}"
|
|
205
|
+
},
|
|
206
|
+
"limits": {
|
|
207
|
+
"type": "object",
|
|
208
|
+
"default": {},
|
|
209
|
+
"description": "port data limits {body_chars, files_per_message, file_bytes, file_types}; with x-conversation-start the window's own group {title_chars, members_max, search_min, search_max, query_chars?}, by default 120, 49, 2, 20, 80 Between people (1.5.0) limits.message_chars, the module's name for it, is read before body_chars; both the field and the editor take the one limit, 4000 when neither is given."
|
|
210
|
+
},
|
|
211
|
+
"interlocutors": {
|
|
212
|
+
"type": "array",
|
|
213
|
+
"default": [],
|
|
214
|
+
"description": "port data interlocutors [{id, title, greeting, suggestions, capabilities {attachments, proposals, memory}}]: the first is the usual one"
|
|
215
|
+
},
|
|
216
|
+
"notice": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"description": "port data notice {kind: info|error, text, retry}: a line above the field, an error with «Повторить» when retry is a function"
|
|
219
|
+
},
|
|
220
|
+
"conversation-list": {
|
|
221
|
+
"type": "object",
|
|
222
|
+
"default": {
|
|
223
|
+
"archived": false,
|
|
224
|
+
"has_more": false,
|
|
225
|
+
"loading": false
|
|
226
|
+
},
|
|
227
|
+
"description": "the window's data (x-archive-view, x-conversations-paging, x-conversations-search) {archived, has_more, loading, query}: which list is shown, whether it has a next page, whether it loads, what it was searched for"
|
|
228
|
+
},
|
|
229
|
+
"composer-files": {
|
|
230
|
+
"type": "array",
|
|
231
|
+
"default": [],
|
|
232
|
+
"description": "the window's data (x-early-upload): the field's chips in the port's file form {key, id, name, size, state: uploading|ready|failed, progress, reason}"
|
|
233
|
+
},
|
|
234
|
+
"my-files": {
|
|
235
|
+
"type": "object",
|
|
236
|
+
"description": "the window's data (x-my-files) {files [{id, name, size, type, created_at, saved_to_base, download_url}], used_bytes, quota_bytes}; download_url is the host's, never built here"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"additionalProperties": false
|
|
240
|
+
},
|
|
241
|
+
"item_contract": {},
|
|
242
|
+
"contracts": {
|
|
243
|
+
"port": {
|
|
244
|
+
"const": "simai.chat-port 1.0 (ui-source's src/core/contracts/ports/simai.chat-port/1.0.0/port.json); the window's own capabilities x-archive-view, x-conversations-paging, x-conversations-search, x-conversation-pin, x-early-upload, x-my-files, x-brief, x-reactions, x-reply and data conversation_list, composer_files, my_files beside it, not in it"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"methods": {
|
|
248
|
+
"setData": {
|
|
249
|
+
"summary": "several of the port's data at once, by the port's names or the settings'; unknown keys are ignored (the 0.3 applyData(partial), kept as the method) (action set-data; answers an outcome)",
|
|
250
|
+
"arguments": [
|
|
251
|
+
{
|
|
252
|
+
"name": "args",
|
|
253
|
+
"type": "object",
|
|
254
|
+
"required": true,
|
|
255
|
+
"schema": {
|
|
256
|
+
"type": "object",
|
|
257
|
+
"properties": {
|
|
258
|
+
"data": {
|
|
259
|
+
"type": "object"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"required": [
|
|
263
|
+
"data"
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"returns": {
|
|
269
|
+
"type": "object"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"settle": {
|
|
273
|
+
"summary": "a host without a port answers an intent: result {answer, reason, text, data, current}; refused unknown-request when nothing waits under that id (the 0.3 answer(request_id, result), kept as the method) (action settle; answers an outcome)",
|
|
274
|
+
"arguments": [
|
|
275
|
+
{
|
|
276
|
+
"name": "args",
|
|
277
|
+
"type": "object",
|
|
278
|
+
"required": true,
|
|
279
|
+
"schema": {
|
|
280
|
+
"type": "object",
|
|
281
|
+
"properties": {
|
|
282
|
+
"requestId": {
|
|
283
|
+
"type": "string"
|
|
284
|
+
},
|
|
285
|
+
"result": {
|
|
286
|
+
"type": "object"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"required": [
|
|
290
|
+
"requestId",
|
|
291
|
+
"result"
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"returns": {
|
|
297
|
+
"type": "object"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"startConversation": {
|
|
301
|
+
"summary": "«Новый разговор» from the page's own button (port conversation.create); answers once the host did (action start-conversation; answers an outcome)",
|
|
302
|
+
"arguments": [],
|
|
303
|
+
"returns": {
|
|
304
|
+
"type": "object"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"openConversation": {
|
|
308
|
+
"summary": "open a conversation (port conversation.open) (action open-conversation; answers an outcome)",
|
|
309
|
+
"arguments": [
|
|
310
|
+
{
|
|
311
|
+
"name": "args",
|
|
312
|
+
"type": "object|string",
|
|
313
|
+
"required": true,
|
|
314
|
+
"schema": {
|
|
315
|
+
"type": "object",
|
|
316
|
+
"properties": {
|
|
317
|
+
"id": {}
|
|
318
|
+
},
|
|
319
|
+
"required": [
|
|
320
|
+
"id"
|
|
321
|
+
]
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"returns": {
|
|
326
|
+
"type": "object"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"focusComposer": {
|
|
330
|
+
"summary": "the field (the page's skip link); from «Мои файлы» it is the way back (action focus-composer; answers an outcome)",
|
|
331
|
+
"arguments": [],
|
|
332
|
+
"returns": {
|
|
333
|
+
"type": "object"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"openFiles": {
|
|
337
|
+
"summary": "«Мои файлы» in place of the conversation (x-my-files); refused capability-not-provided without it (action open-files; answers an outcome)",
|
|
338
|
+
"arguments": [],
|
|
339
|
+
"returns": {
|
|
340
|
+
"type": "object"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"closeFiles": {
|
|
344
|
+
"summary": "back to the conversation; focus false leaves the focus where it is (action close-files; answers an outcome)",
|
|
345
|
+
"arguments": [
|
|
346
|
+
{
|
|
347
|
+
"name": "args",
|
|
348
|
+
"type": "object",
|
|
349
|
+
"required": false,
|
|
350
|
+
"schema": {
|
|
351
|
+
"type": "object",
|
|
352
|
+
"properties": {
|
|
353
|
+
"focus": {
|
|
354
|
+
"type": "boolean"
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"returns": {
|
|
361
|
+
"type": "object"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"setListFooter": {
|
|
365
|
+
"summary": "what the page shows under the list of conversations, after «Мои файлы» (Mirai24: the spending); null takes it away (action set-list-footer; answers an outcome)",
|
|
366
|
+
"arguments": [
|
|
367
|
+
{
|
|
368
|
+
"name": "args",
|
|
369
|
+
"type": "object",
|
|
370
|
+
"required": true,
|
|
371
|
+
"schema": {
|
|
372
|
+
"type": "object",
|
|
373
|
+
"properties": {
|
|
374
|
+
"node": {
|
|
375
|
+
"type": [
|
|
376
|
+
"object",
|
|
377
|
+
"null"
|
|
378
|
+
]
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"required": [
|
|
382
|
+
"node"
|
|
383
|
+
]
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"returns": {
|
|
388
|
+
"type": "object"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"openFind": {
|
|
392
|
+
"summary": "Open the search in the conversation, focus in its field; query searches at once (action open-find; answers an outcome).",
|
|
393
|
+
"arguments": [
|
|
394
|
+
{
|
|
395
|
+
"name": "args",
|
|
396
|
+
"type": "object",
|
|
397
|
+
"required": false,
|
|
398
|
+
"schema": {
|
|
399
|
+
"type": "object",
|
|
400
|
+
"properties": {
|
|
401
|
+
"query": {
|
|
402
|
+
"type": "string"
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
],
|
|
408
|
+
"returns": {
|
|
409
|
+
"type": "object"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"closeFind": {
|
|
413
|
+
"summary": "Close the search in the conversation; the focus returns to what opened it (action close-find; answers an outcome).",
|
|
414
|
+
"arguments": [
|
|
415
|
+
{
|
|
416
|
+
"name": "args",
|
|
417
|
+
"type": "object",
|
|
418
|
+
"required": false,
|
|
419
|
+
"schema": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"properties": {
|
|
422
|
+
"focus": {
|
|
423
|
+
"type": "boolean"
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"returns": {
|
|
430
|
+
"type": "object"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"openPreview": {
|
|
434
|
+
"summary": "Open the source preview beside the conversation (action open-preview; answers an outcome).",
|
|
435
|
+
"arguments": [
|
|
436
|
+
{
|
|
437
|
+
"name": "args",
|
|
438
|
+
"type": "object",
|
|
439
|
+
"required": true,
|
|
440
|
+
"schema": {
|
|
441
|
+
"type": "object",
|
|
442
|
+
"properties": {
|
|
443
|
+
"source": {
|
|
444
|
+
"type": "object",
|
|
445
|
+
"description": "{title, kind, preview_url, locator, mime, n?}: preview_url of the page's origin; locator {from, to} characters of the text, or {page} of a PDF."
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"required": [
|
|
449
|
+
"source"
|
|
450
|
+
]
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"returns": {
|
|
455
|
+
"type": "object"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"closePreview": {
|
|
459
|
+
"summary": "Close the source preview; the focus returns to what opened it (action close-preview; answers an outcome).",
|
|
460
|
+
"arguments": [
|
|
461
|
+
{
|
|
462
|
+
"name": "args",
|
|
463
|
+
"type": "object",
|
|
464
|
+
"required": false,
|
|
465
|
+
"schema": {
|
|
466
|
+
"type": "object",
|
|
467
|
+
"properties": {
|
|
468
|
+
"focus": {
|
|
469
|
+
"type": "boolean"
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"returns": {
|
|
476
|
+
"type": "object"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"openStart": {
|
|
480
|
+
"summary": "the form of a new conversation or group in place of the conversation (x-conversation-start); kind private, the default, or group; refused capability-not-provided without it (action open-start; answers an outcome)",
|
|
481
|
+
"arguments": [
|
|
482
|
+
{
|
|
483
|
+
"name": "args",
|
|
484
|
+
"type": "object|string",
|
|
485
|
+
"required": false,
|
|
486
|
+
"schema": {
|
|
487
|
+
"type": "object",
|
|
488
|
+
"properties": {
|
|
489
|
+
"kind": {
|
|
490
|
+
"enum": [
|
|
491
|
+
"private",
|
|
492
|
+
"group"
|
|
493
|
+
]
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"returns": {
|
|
500
|
+
"type": "object"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"closeStart": {
|
|
504
|
+
"summary": "closes the form; focus false leaves the focus where it is, else it returns to the command that opened it (action close-start; answers an outcome)",
|
|
505
|
+
"arguments": [
|
|
506
|
+
{
|
|
507
|
+
"name": "args",
|
|
508
|
+
"type": "object",
|
|
509
|
+
"required": false,
|
|
510
|
+
"schema": {
|
|
511
|
+
"type": "object",
|
|
512
|
+
"properties": {
|
|
513
|
+
"focus": {
|
|
514
|
+
"type": "boolean"
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
"returns": {
|
|
521
|
+
"type": "object"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"openMembers": {
|
|
525
|
+
"summary": "a group's members in place of the conversation (x-members); refused capability-not-provided without it, no-members when the open conversation is no group (action open-members; answers an outcome)",
|
|
526
|
+
"arguments": [],
|
|
527
|
+
"returns": {
|
|
528
|
+
"type": "object"
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"closeMembers": {
|
|
532
|
+
"summary": "closes the members; focus false leaves the focus where it is, else it returns to the command that opened it (action close-members; answers an outcome)",
|
|
533
|
+
"arguments": [
|
|
534
|
+
{
|
|
535
|
+
"name": "args",
|
|
536
|
+
"type": "object",
|
|
537
|
+
"required": false,
|
|
538
|
+
"schema": {
|
|
539
|
+
"type": "object",
|
|
540
|
+
"properties": {
|
|
541
|
+
"focus": {
|
|
542
|
+
"type": "boolean"
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
],
|
|
548
|
+
"returns": {
|
|
549
|
+
"type": "object"
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"focus": {
|
|
553
|
+
"summary": "The base's focus.",
|
|
554
|
+
"arguments": [
|
|
555
|
+
{
|
|
556
|
+
"name": "options",
|
|
557
|
+
"required": false,
|
|
558
|
+
"schema": {
|
|
559
|
+
"type": "object"
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
],
|
|
563
|
+
"returns": {
|
|
564
|
+
"type": "null"
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
"applyData": {
|
|
568
|
+
"summary": "Set several of the port's data at once (and the extension data); unknown keys are ignored. Each datum is also a property of its own name. Kept from 0.3; the action set-data is its manifest form.",
|
|
569
|
+
"arguments": [
|
|
570
|
+
{
|
|
571
|
+
"name": "partial",
|
|
572
|
+
"required": true,
|
|
573
|
+
"schema": {
|
|
574
|
+
"type": "object",
|
|
575
|
+
"description": "Any of the port data (me, conversations, conversation, messages, history, feed_state, limits, interlocutors, notice) and the extension data (conversation_list, composer_files, my_files).",
|
|
576
|
+
"properties": {
|
|
577
|
+
"me": {
|
|
578
|
+
"type": "object",
|
|
579
|
+
"required": [
|
|
580
|
+
"id"
|
|
581
|
+
],
|
|
582
|
+
"additionalProperties": false,
|
|
583
|
+
"properties": {
|
|
584
|
+
"id": {
|
|
585
|
+
"type": [
|
|
586
|
+
"integer",
|
|
587
|
+
"string"
|
|
588
|
+
]
|
|
589
|
+
},
|
|
590
|
+
"name": {
|
|
591
|
+
"type": [
|
|
592
|
+
"string",
|
|
593
|
+
"null"
|
|
594
|
+
]
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
"conversations": {
|
|
599
|
+
"type": "array",
|
|
600
|
+
"items": {
|
|
601
|
+
"type": "object",
|
|
602
|
+
"additionalProperties": false,
|
|
603
|
+
"required": [
|
|
604
|
+
"id",
|
|
605
|
+
"title"
|
|
606
|
+
],
|
|
607
|
+
"properties": {
|
|
608
|
+
"id": {
|
|
609
|
+
"type": [
|
|
610
|
+
"integer",
|
|
611
|
+
"string"
|
|
612
|
+
]
|
|
613
|
+
},
|
|
614
|
+
"title": {
|
|
615
|
+
"type": "string"
|
|
616
|
+
},
|
|
617
|
+
"type": {
|
|
618
|
+
"enum": [
|
|
619
|
+
"assistant",
|
|
620
|
+
"private",
|
|
621
|
+
"group"
|
|
622
|
+
]
|
|
623
|
+
},
|
|
624
|
+
"interlocutor": {
|
|
625
|
+
"type": [
|
|
626
|
+
"string",
|
|
627
|
+
"null"
|
|
628
|
+
]
|
|
629
|
+
},
|
|
630
|
+
"unread_count": {
|
|
631
|
+
"type": "integer",
|
|
632
|
+
"minimum": 0
|
|
633
|
+
},
|
|
634
|
+
"updated_at": {
|
|
635
|
+
"type": [
|
|
636
|
+
"string",
|
|
637
|
+
"null"
|
|
638
|
+
]
|
|
639
|
+
},
|
|
640
|
+
"archived": {
|
|
641
|
+
"type": "boolean"
|
|
642
|
+
},
|
|
643
|
+
"pinned": {
|
|
644
|
+
"type": "boolean"
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"conversation": {
|
|
650
|
+
"oneOf": [
|
|
651
|
+
{
|
|
652
|
+
"type": "null"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"type": "object",
|
|
656
|
+
"additionalProperties": false,
|
|
657
|
+
"required": [
|
|
658
|
+
"id",
|
|
659
|
+
"can_send"
|
|
660
|
+
],
|
|
661
|
+
"properties": {
|
|
662
|
+
"id": {
|
|
663
|
+
"type": [
|
|
664
|
+
"integer",
|
|
665
|
+
"string"
|
|
666
|
+
]
|
|
667
|
+
},
|
|
668
|
+
"title": {
|
|
669
|
+
"type": "string"
|
|
670
|
+
},
|
|
671
|
+
"type": {
|
|
672
|
+
"enum": [
|
|
673
|
+
"assistant",
|
|
674
|
+
"private",
|
|
675
|
+
"group"
|
|
676
|
+
]
|
|
677
|
+
},
|
|
678
|
+
"role": {
|
|
679
|
+
"type": [
|
|
680
|
+
"string",
|
|
681
|
+
"null"
|
|
682
|
+
]
|
|
683
|
+
},
|
|
684
|
+
"can_send": {
|
|
685
|
+
"type": "boolean"
|
|
686
|
+
},
|
|
687
|
+
"can_manage": {
|
|
688
|
+
"type": "boolean"
|
|
689
|
+
},
|
|
690
|
+
"can_leave": {
|
|
691
|
+
"type": "boolean"
|
|
692
|
+
},
|
|
693
|
+
"revoked": {
|
|
694
|
+
"type": "boolean",
|
|
695
|
+
"description": "Access is gone: the component clears the feed, the draft and anything unsent."
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
]
|
|
700
|
+
},
|
|
701
|
+
"messages": {
|
|
702
|
+
"type": "array",
|
|
703
|
+
"items": {
|
|
704
|
+
"type": "object",
|
|
705
|
+
"additionalProperties": false,
|
|
706
|
+
"required": [
|
|
707
|
+
"id",
|
|
708
|
+
"kind",
|
|
709
|
+
"author"
|
|
710
|
+
],
|
|
711
|
+
"properties": {
|
|
712
|
+
"id": {
|
|
713
|
+
"type": [
|
|
714
|
+
"integer",
|
|
715
|
+
"string",
|
|
716
|
+
"null"
|
|
717
|
+
],
|
|
718
|
+
"description": "null only for a send not yet stored (then local is required)."
|
|
719
|
+
},
|
|
720
|
+
"kind": {
|
|
721
|
+
"enum": [
|
|
722
|
+
"person",
|
|
723
|
+
"assistant"
|
|
724
|
+
],
|
|
725
|
+
"description": "person: written by a person (the reader or another); assistant: an answer of an AI assistant."
|
|
726
|
+
},
|
|
727
|
+
"author": {
|
|
728
|
+
"type": "object",
|
|
729
|
+
"additionalProperties": false,
|
|
730
|
+
"required": [
|
|
731
|
+
"id"
|
|
732
|
+
],
|
|
733
|
+
"properties": {
|
|
734
|
+
"id": {
|
|
735
|
+
"type": [
|
|
736
|
+
"integer",
|
|
737
|
+
"string"
|
|
738
|
+
]
|
|
739
|
+
},
|
|
740
|
+
"name": {
|
|
741
|
+
"type": [
|
|
742
|
+
"string",
|
|
743
|
+
"null"
|
|
744
|
+
]
|
|
745
|
+
},
|
|
746
|
+
"avatar_url": {
|
|
747
|
+
"type": [
|
|
748
|
+
"string",
|
|
749
|
+
"null"
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
"own": {
|
|
753
|
+
"type": "boolean",
|
|
754
|
+
"description": "The reader wrote it."
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"body": {
|
|
759
|
+
"type": [
|
|
760
|
+
"string",
|
|
761
|
+
"null"
|
|
762
|
+
],
|
|
763
|
+
"description": "Plain text; shown as text, line breaks kept."
|
|
764
|
+
},
|
|
765
|
+
"html": {
|
|
766
|
+
"type": [
|
|
767
|
+
"string",
|
|
768
|
+
"null"
|
|
769
|
+
],
|
|
770
|
+
"description": "assistant only: server HTML, sanitized again by the component."
|
|
771
|
+
},
|
|
772
|
+
"created_at": {
|
|
773
|
+
"type": [
|
|
774
|
+
"string",
|
|
775
|
+
"null"
|
|
776
|
+
],
|
|
777
|
+
"format": "date-time",
|
|
778
|
+
"description": "Omitted when the host does not know it; the component never invents a time."
|
|
779
|
+
},
|
|
780
|
+
"status": {
|
|
781
|
+
"enum": [
|
|
782
|
+
"queued",
|
|
783
|
+
"running",
|
|
784
|
+
"completed",
|
|
785
|
+
"partial",
|
|
786
|
+
"refused",
|
|
787
|
+
"withheld",
|
|
788
|
+
"failed",
|
|
789
|
+
"limit"
|
|
790
|
+
],
|
|
791
|
+
"description": "assistant only."
|
|
792
|
+
},
|
|
793
|
+
"stage": {
|
|
794
|
+
"type": [
|
|
795
|
+
"string",
|
|
796
|
+
"null"
|
|
797
|
+
]
|
|
798
|
+
},
|
|
799
|
+
"sources": {
|
|
800
|
+
"type": "array",
|
|
801
|
+
"items": {
|
|
802
|
+
"type": "object"
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
"verification": {
|
|
806
|
+
"type": [
|
|
807
|
+
"object",
|
|
808
|
+
"null"
|
|
809
|
+
]
|
|
810
|
+
},
|
|
811
|
+
"notices": {
|
|
812
|
+
"type": "array",
|
|
813
|
+
"items": {
|
|
814
|
+
"type": "object"
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
"proposal": {
|
|
818
|
+
"type": [
|
|
819
|
+
"object",
|
|
820
|
+
"null"
|
|
821
|
+
],
|
|
822
|
+
"description": "capability proposals: a change applied only on the confirmed command."
|
|
823
|
+
},
|
|
824
|
+
"files": {
|
|
825
|
+
"type": "array",
|
|
826
|
+
"items": {
|
|
827
|
+
"type": "object",
|
|
828
|
+
"additionalProperties": false,
|
|
829
|
+
"required": [
|
|
830
|
+
"name"
|
|
831
|
+
],
|
|
832
|
+
"properties": {
|
|
833
|
+
"id": {
|
|
834
|
+
"type": [
|
|
835
|
+
"integer",
|
|
836
|
+
"string"
|
|
837
|
+
]
|
|
838
|
+
},
|
|
839
|
+
"key": {
|
|
840
|
+
"type": "string",
|
|
841
|
+
"description": "Local opaque key of a file not yet stored (a failed upload); never sent to download or delete."
|
|
842
|
+
},
|
|
843
|
+
"name": {
|
|
844
|
+
"type": "string"
|
|
845
|
+
},
|
|
846
|
+
"size": {
|
|
847
|
+
"type": [
|
|
848
|
+
"integer",
|
|
849
|
+
"null"
|
|
850
|
+
]
|
|
851
|
+
},
|
|
852
|
+
"mime": {
|
|
853
|
+
"type": [
|
|
854
|
+
"string",
|
|
855
|
+
"null"
|
|
856
|
+
]
|
|
857
|
+
},
|
|
858
|
+
"download_url": {
|
|
859
|
+
"type": [
|
|
860
|
+
"string",
|
|
861
|
+
"null"
|
|
862
|
+
],
|
|
863
|
+
"description": "The host's own protected link, as given; the component never builds one."
|
|
864
|
+
},
|
|
865
|
+
"state": {
|
|
866
|
+
"enum": [
|
|
867
|
+
"uploading",
|
|
868
|
+
"failed",
|
|
869
|
+
"ready"
|
|
870
|
+
]
|
|
871
|
+
},
|
|
872
|
+
"progress": {
|
|
873
|
+
"type": [
|
|
874
|
+
"number",
|
|
875
|
+
"null"
|
|
876
|
+
],
|
|
877
|
+
"minimum": 0,
|
|
878
|
+
"maximum": 1
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"is_edited": {
|
|
884
|
+
"type": "boolean"
|
|
885
|
+
},
|
|
886
|
+
"is_deleted": {
|
|
887
|
+
"type": "boolean",
|
|
888
|
+
"description": "A tombstone: no body, no files."
|
|
889
|
+
},
|
|
890
|
+
"revision": {
|
|
891
|
+
"type": [
|
|
892
|
+
"integer",
|
|
893
|
+
"string"
|
|
894
|
+
]
|
|
895
|
+
},
|
|
896
|
+
"can_edit": {
|
|
897
|
+
"type": "boolean"
|
|
898
|
+
},
|
|
899
|
+
"can_delete": {
|
|
900
|
+
"type": "boolean"
|
|
901
|
+
},
|
|
902
|
+
"command": {
|
|
903
|
+
"type": [
|
|
904
|
+
"object",
|
|
905
|
+
"null"
|
|
906
|
+
],
|
|
907
|
+
"description": "A message sent for a button (a proposal's command): {kind: confirm|cancel, code}."
|
|
908
|
+
},
|
|
909
|
+
"local": {
|
|
910
|
+
"type": "object",
|
|
911
|
+
"additionalProperties": false,
|
|
912
|
+
"required": [
|
|
913
|
+
"client_key",
|
|
914
|
+
"action",
|
|
915
|
+
"state"
|
|
916
|
+
],
|
|
917
|
+
"properties": {
|
|
918
|
+
"client_key": {
|
|
919
|
+
"type": "string"
|
|
920
|
+
},
|
|
921
|
+
"action": {
|
|
922
|
+
"enum": [
|
|
923
|
+
"send",
|
|
924
|
+
"edit",
|
|
925
|
+
"delete"
|
|
926
|
+
]
|
|
927
|
+
},
|
|
928
|
+
"state": {
|
|
929
|
+
"enum": [
|
|
930
|
+
"pending",
|
|
931
|
+
"failed",
|
|
932
|
+
"sent"
|
|
933
|
+
]
|
|
934
|
+
},
|
|
935
|
+
"body": {
|
|
936
|
+
"type": [
|
|
937
|
+
"string",
|
|
938
|
+
"null"
|
|
939
|
+
],
|
|
940
|
+
"description": "An edit's typed text; kept on failure and conflict."
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"history": {
|
|
948
|
+
"type": "object",
|
|
949
|
+
"required": [
|
|
950
|
+
"has_older"
|
|
951
|
+
],
|
|
952
|
+
"additionalProperties": false,
|
|
953
|
+
"properties": {
|
|
954
|
+
"has_older": {
|
|
955
|
+
"type": "boolean"
|
|
956
|
+
},
|
|
957
|
+
"loading": {
|
|
958
|
+
"type": "boolean"
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
"feed_state": {
|
|
963
|
+
"enum": [
|
|
964
|
+
"loading",
|
|
965
|
+
"ready",
|
|
966
|
+
"error",
|
|
967
|
+
"revoked"
|
|
968
|
+
]
|
|
969
|
+
},
|
|
970
|
+
"limits": {
|
|
971
|
+
"type": "object",
|
|
972
|
+
"additionalProperties": false,
|
|
973
|
+
"properties": {
|
|
974
|
+
"body_chars": {
|
|
975
|
+
"type": "integer"
|
|
976
|
+
},
|
|
977
|
+
"files_per_message": {
|
|
978
|
+
"type": "integer"
|
|
979
|
+
},
|
|
980
|
+
"file_bytes": {
|
|
981
|
+
"type": "integer"
|
|
982
|
+
},
|
|
983
|
+
"file_types": {
|
|
984
|
+
"type": "array",
|
|
985
|
+
"items": {
|
|
986
|
+
"type": "string"
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"interlocutors": {
|
|
992
|
+
"type": "array",
|
|
993
|
+
"items": {
|
|
994
|
+
"type": "object",
|
|
995
|
+
"required": [
|
|
996
|
+
"id",
|
|
997
|
+
"title"
|
|
998
|
+
],
|
|
999
|
+
"properties": {
|
|
1000
|
+
"id": {
|
|
1001
|
+
"type": "string"
|
|
1002
|
+
},
|
|
1003
|
+
"title": {
|
|
1004
|
+
"type": "string"
|
|
1005
|
+
},
|
|
1006
|
+
"kind": {
|
|
1007
|
+
"type": "string"
|
|
1008
|
+
},
|
|
1009
|
+
"greeting": {
|
|
1010
|
+
"type": "string"
|
|
1011
|
+
},
|
|
1012
|
+
"suggestions": {
|
|
1013
|
+
"type": "array",
|
|
1014
|
+
"items": {
|
|
1015
|
+
"type": "string"
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
},
|
|
1021
|
+
"notice": {
|
|
1022
|
+
"type": [
|
|
1023
|
+
"object",
|
|
1024
|
+
"null"
|
|
1025
|
+
],
|
|
1026
|
+
"properties": {
|
|
1027
|
+
"kind": {
|
|
1028
|
+
"enum": [
|
|
1029
|
+
"error",
|
|
1030
|
+
"info"
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
1033
|
+
"text": {
|
|
1034
|
+
"type": "string"
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"conversation_list": {
|
|
1039
|
+
"type": "object",
|
|
1040
|
+
"description": "Extension: which list the side shows, whether a next page exists, and the search it holds (x-conversations-search).",
|
|
1041
|
+
"properties": {
|
|
1042
|
+
"archived": {
|
|
1043
|
+
"type": "boolean"
|
|
1044
|
+
},
|
|
1045
|
+
"has_more": {
|
|
1046
|
+
"type": "boolean"
|
|
1047
|
+
},
|
|
1048
|
+
"loading": {
|
|
1049
|
+
"type": "boolean"
|
|
1050
|
+
},
|
|
1051
|
+
"query": {
|
|
1052
|
+
"type": "string",
|
|
1053
|
+
"description": "The title searched for; empty when the list is not searched."
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
"composer_files": {
|
|
1058
|
+
"type": "array",
|
|
1059
|
+
"description": "Extension (x-early-upload): the composer's chips as port files, with `reason` for a refused one.",
|
|
1060
|
+
"items": {
|
|
1061
|
+
"type": "object",
|
|
1062
|
+
"required": [
|
|
1063
|
+
"key",
|
|
1064
|
+
"name"
|
|
1065
|
+
],
|
|
1066
|
+
"properties": {
|
|
1067
|
+
"key": {
|
|
1068
|
+
"type": "string"
|
|
1069
|
+
},
|
|
1070
|
+
"id": {
|
|
1071
|
+
"type": [
|
|
1072
|
+
"integer",
|
|
1073
|
+
"string"
|
|
1074
|
+
]
|
|
1075
|
+
},
|
|
1076
|
+
"name": {
|
|
1077
|
+
"type": "string"
|
|
1078
|
+
},
|
|
1079
|
+
"size": {
|
|
1080
|
+
"type": [
|
|
1081
|
+
"integer",
|
|
1082
|
+
"null"
|
|
1083
|
+
]
|
|
1084
|
+
},
|
|
1085
|
+
"state": {
|
|
1086
|
+
"enum": [
|
|
1087
|
+
"uploading",
|
|
1088
|
+
"failed",
|
|
1089
|
+
"ready"
|
|
1090
|
+
]
|
|
1091
|
+
},
|
|
1092
|
+
"progress": {
|
|
1093
|
+
"type": [
|
|
1094
|
+
"number",
|
|
1095
|
+
"null"
|
|
1096
|
+
]
|
|
1097
|
+
},
|
|
1098
|
+
"reason": {
|
|
1099
|
+
"type": "string"
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
"my_files": {
|
|
1105
|
+
"type": [
|
|
1106
|
+
"object",
|
|
1107
|
+
"null"
|
|
1108
|
+
],
|
|
1109
|
+
"description": "Extension (x-my-files): the person's kept files, newest first, with the space used and allowed as the host counts them; each file's download_url is the host's own.",
|
|
1110
|
+
"properties": {
|
|
1111
|
+
"files": {
|
|
1112
|
+
"type": "array",
|
|
1113
|
+
"items": {
|
|
1114
|
+
"type": "object",
|
|
1115
|
+
"required": [
|
|
1116
|
+
"id",
|
|
1117
|
+
"name"
|
|
1118
|
+
],
|
|
1119
|
+
"properties": {
|
|
1120
|
+
"id": {
|
|
1121
|
+
"type": [
|
|
1122
|
+
"integer",
|
|
1123
|
+
"string"
|
|
1124
|
+
]
|
|
1125
|
+
},
|
|
1126
|
+
"name": {
|
|
1127
|
+
"type": "string"
|
|
1128
|
+
},
|
|
1129
|
+
"size": {
|
|
1130
|
+
"type": [
|
|
1131
|
+
"integer",
|
|
1132
|
+
"null"
|
|
1133
|
+
]
|
|
1134
|
+
},
|
|
1135
|
+
"type": {
|
|
1136
|
+
"type": [
|
|
1137
|
+
"string",
|
|
1138
|
+
"null"
|
|
1139
|
+
]
|
|
1140
|
+
},
|
|
1141
|
+
"created_at": {
|
|
1142
|
+
"type": [
|
|
1143
|
+
"string",
|
|
1144
|
+
"null"
|
|
1145
|
+
]
|
|
1146
|
+
},
|
|
1147
|
+
"saved_to_base": {
|
|
1148
|
+
"type": "boolean"
|
|
1149
|
+
},
|
|
1150
|
+
"download_url": {
|
|
1151
|
+
"type": [
|
|
1152
|
+
"string",
|
|
1153
|
+
"null"
|
|
1154
|
+
]
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"used_bytes": {
|
|
1160
|
+
"type": [
|
|
1161
|
+
"integer",
|
|
1162
|
+
"null"
|
|
1163
|
+
]
|
|
1164
|
+
},
|
|
1165
|
+
"quota_bytes": {
|
|
1166
|
+
"type": [
|
|
1167
|
+
"integer",
|
|
1168
|
+
"null"
|
|
1169
|
+
]
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
],
|
|
1177
|
+
"returns": {
|
|
1178
|
+
"type": "object"
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
"answer": {
|
|
1182
|
+
"summary": "The host's answer to an intent: {answer, reason, text, data, current}. An applied answer's data is applied as data. Returns false for an unknown request_id. Kept from 0.3 for a host without a port; the action settle is its manifest form.",
|
|
1183
|
+
"arguments": [
|
|
1184
|
+
{
|
|
1185
|
+
"name": "request_id",
|
|
1186
|
+
"required": true,
|
|
1187
|
+
"schema": {
|
|
1188
|
+
"type": "string"
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"name": "result",
|
|
1193
|
+
"required": true,
|
|
1194
|
+
"schema": {
|
|
1195
|
+
"type": "object",
|
|
1196
|
+
"required": [
|
|
1197
|
+
"answer"
|
|
1198
|
+
],
|
|
1199
|
+
"properties": {
|
|
1200
|
+
"answer": {
|
|
1201
|
+
"enum": [
|
|
1202
|
+
"applied",
|
|
1203
|
+
"conflict",
|
|
1204
|
+
"refused",
|
|
1205
|
+
"unavailable"
|
|
1206
|
+
]
|
|
1207
|
+
},
|
|
1208
|
+
"reason": {
|
|
1209
|
+
"type": "string"
|
|
1210
|
+
},
|
|
1211
|
+
"text": {
|
|
1212
|
+
"type": "string"
|
|
1213
|
+
},
|
|
1214
|
+
"data": {
|
|
1215
|
+
"type": "object"
|
|
1216
|
+
},
|
|
1217
|
+
"current": {
|
|
1218
|
+
"type": "object",
|
|
1219
|
+
"additionalProperties": false,
|
|
1220
|
+
"required": [
|
|
1221
|
+
"id",
|
|
1222
|
+
"kind",
|
|
1223
|
+
"author"
|
|
1224
|
+
],
|
|
1225
|
+
"properties": {
|
|
1226
|
+
"id": {
|
|
1227
|
+
"type": [
|
|
1228
|
+
"integer",
|
|
1229
|
+
"string",
|
|
1230
|
+
"null"
|
|
1231
|
+
],
|
|
1232
|
+
"description": "null only for a send not yet stored (then local is required)."
|
|
1233
|
+
},
|
|
1234
|
+
"kind": {
|
|
1235
|
+
"enum": [
|
|
1236
|
+
"person",
|
|
1237
|
+
"assistant"
|
|
1238
|
+
],
|
|
1239
|
+
"description": "person: written by a person (the reader or another); assistant: an answer of an AI assistant."
|
|
1240
|
+
},
|
|
1241
|
+
"author": {
|
|
1242
|
+
"type": "object",
|
|
1243
|
+
"additionalProperties": false,
|
|
1244
|
+
"required": [
|
|
1245
|
+
"id"
|
|
1246
|
+
],
|
|
1247
|
+
"properties": {
|
|
1248
|
+
"id": {
|
|
1249
|
+
"type": [
|
|
1250
|
+
"integer",
|
|
1251
|
+
"string"
|
|
1252
|
+
]
|
|
1253
|
+
},
|
|
1254
|
+
"name": {
|
|
1255
|
+
"type": [
|
|
1256
|
+
"string",
|
|
1257
|
+
"null"
|
|
1258
|
+
]
|
|
1259
|
+
},
|
|
1260
|
+
"avatar_url": {
|
|
1261
|
+
"type": [
|
|
1262
|
+
"string",
|
|
1263
|
+
"null"
|
|
1264
|
+
]
|
|
1265
|
+
},
|
|
1266
|
+
"own": {
|
|
1267
|
+
"type": "boolean",
|
|
1268
|
+
"description": "The reader wrote it."
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
"body": {
|
|
1273
|
+
"type": [
|
|
1274
|
+
"string",
|
|
1275
|
+
"null"
|
|
1276
|
+
],
|
|
1277
|
+
"description": "Plain text; shown as text, line breaks kept."
|
|
1278
|
+
},
|
|
1279
|
+
"html": {
|
|
1280
|
+
"type": [
|
|
1281
|
+
"string",
|
|
1282
|
+
"null"
|
|
1283
|
+
],
|
|
1284
|
+
"description": "assistant only: server HTML, sanitized again by the component."
|
|
1285
|
+
},
|
|
1286
|
+
"created_at": {
|
|
1287
|
+
"type": [
|
|
1288
|
+
"string",
|
|
1289
|
+
"null"
|
|
1290
|
+
],
|
|
1291
|
+
"format": "date-time",
|
|
1292
|
+
"description": "Omitted when the host does not know it; the component never invents a time."
|
|
1293
|
+
},
|
|
1294
|
+
"status": {
|
|
1295
|
+
"enum": [
|
|
1296
|
+
"queued",
|
|
1297
|
+
"running",
|
|
1298
|
+
"completed",
|
|
1299
|
+
"partial",
|
|
1300
|
+
"refused",
|
|
1301
|
+
"withheld",
|
|
1302
|
+
"failed",
|
|
1303
|
+
"limit"
|
|
1304
|
+
],
|
|
1305
|
+
"description": "assistant only."
|
|
1306
|
+
},
|
|
1307
|
+
"stage": {
|
|
1308
|
+
"type": [
|
|
1309
|
+
"string",
|
|
1310
|
+
"null"
|
|
1311
|
+
]
|
|
1312
|
+
},
|
|
1313
|
+
"sources": {
|
|
1314
|
+
"type": "array",
|
|
1315
|
+
"items": {
|
|
1316
|
+
"type": "object"
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
"verification": {
|
|
1320
|
+
"type": [
|
|
1321
|
+
"object",
|
|
1322
|
+
"null"
|
|
1323
|
+
]
|
|
1324
|
+
},
|
|
1325
|
+
"notices": {
|
|
1326
|
+
"type": "array",
|
|
1327
|
+
"items": {
|
|
1328
|
+
"type": "object"
|
|
1329
|
+
}
|
|
1330
|
+
},
|
|
1331
|
+
"proposal": {
|
|
1332
|
+
"type": [
|
|
1333
|
+
"object",
|
|
1334
|
+
"null"
|
|
1335
|
+
],
|
|
1336
|
+
"description": "capability proposals: a change applied only on the confirmed command."
|
|
1337
|
+
},
|
|
1338
|
+
"files": {
|
|
1339
|
+
"type": "array",
|
|
1340
|
+
"items": {
|
|
1341
|
+
"type": "object",
|
|
1342
|
+
"additionalProperties": false,
|
|
1343
|
+
"required": [
|
|
1344
|
+
"name"
|
|
1345
|
+
],
|
|
1346
|
+
"properties": {
|
|
1347
|
+
"id": {
|
|
1348
|
+
"type": [
|
|
1349
|
+
"integer",
|
|
1350
|
+
"string"
|
|
1351
|
+
]
|
|
1352
|
+
},
|
|
1353
|
+
"key": {
|
|
1354
|
+
"type": "string",
|
|
1355
|
+
"description": "Local opaque key of a file not yet stored (a failed upload); never sent to download or delete."
|
|
1356
|
+
},
|
|
1357
|
+
"name": {
|
|
1358
|
+
"type": "string"
|
|
1359
|
+
},
|
|
1360
|
+
"size": {
|
|
1361
|
+
"type": [
|
|
1362
|
+
"integer",
|
|
1363
|
+
"null"
|
|
1364
|
+
]
|
|
1365
|
+
},
|
|
1366
|
+
"mime": {
|
|
1367
|
+
"type": [
|
|
1368
|
+
"string",
|
|
1369
|
+
"null"
|
|
1370
|
+
]
|
|
1371
|
+
},
|
|
1372
|
+
"download_url": {
|
|
1373
|
+
"type": [
|
|
1374
|
+
"string",
|
|
1375
|
+
"null"
|
|
1376
|
+
],
|
|
1377
|
+
"description": "The host's own protected link, as given; the component never builds one."
|
|
1378
|
+
},
|
|
1379
|
+
"state": {
|
|
1380
|
+
"enum": [
|
|
1381
|
+
"uploading",
|
|
1382
|
+
"failed",
|
|
1383
|
+
"ready"
|
|
1384
|
+
]
|
|
1385
|
+
},
|
|
1386
|
+
"progress": {
|
|
1387
|
+
"type": [
|
|
1388
|
+
"number",
|
|
1389
|
+
"null"
|
|
1390
|
+
],
|
|
1391
|
+
"minimum": 0,
|
|
1392
|
+
"maximum": 1
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
},
|
|
1397
|
+
"is_edited": {
|
|
1398
|
+
"type": "boolean"
|
|
1399
|
+
},
|
|
1400
|
+
"is_deleted": {
|
|
1401
|
+
"type": "boolean",
|
|
1402
|
+
"description": "A tombstone: no body, no files."
|
|
1403
|
+
},
|
|
1404
|
+
"revision": {
|
|
1405
|
+
"type": [
|
|
1406
|
+
"integer",
|
|
1407
|
+
"string"
|
|
1408
|
+
]
|
|
1409
|
+
},
|
|
1410
|
+
"can_edit": {
|
|
1411
|
+
"type": "boolean"
|
|
1412
|
+
},
|
|
1413
|
+
"can_delete": {
|
|
1414
|
+
"type": "boolean"
|
|
1415
|
+
},
|
|
1416
|
+
"command": {
|
|
1417
|
+
"type": [
|
|
1418
|
+
"object",
|
|
1419
|
+
"null"
|
|
1420
|
+
],
|
|
1421
|
+
"description": "A message sent for a button (a proposal's command): {kind: confirm|cancel, code}."
|
|
1422
|
+
},
|
|
1423
|
+
"local": {
|
|
1424
|
+
"type": "object",
|
|
1425
|
+
"additionalProperties": false,
|
|
1426
|
+
"required": [
|
|
1427
|
+
"client_key",
|
|
1428
|
+
"action",
|
|
1429
|
+
"state"
|
|
1430
|
+
],
|
|
1431
|
+
"properties": {
|
|
1432
|
+
"client_key": {
|
|
1433
|
+
"type": "string"
|
|
1434
|
+
},
|
|
1435
|
+
"action": {
|
|
1436
|
+
"enum": [
|
|
1437
|
+
"send",
|
|
1438
|
+
"edit",
|
|
1439
|
+
"delete"
|
|
1440
|
+
]
|
|
1441
|
+
},
|
|
1442
|
+
"state": {
|
|
1443
|
+
"enum": [
|
|
1444
|
+
"pending",
|
|
1445
|
+
"failed",
|
|
1446
|
+
"sent"
|
|
1447
|
+
]
|
|
1448
|
+
},
|
|
1449
|
+
"body": {
|
|
1450
|
+
"type": [
|
|
1451
|
+
"string",
|
|
1452
|
+
"null"
|
|
1453
|
+
],
|
|
1454
|
+
"description": "An edit's typed text; kept on failure and conflict."
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
],
|
|
1464
|
+
"returns": {
|
|
1465
|
+
"type": "boolean"
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
"request": {
|
|
1469
|
+
"summary": "Raise an intent by the port's name: the event sf-chat-window-<verb>, then the port's raise or the host's settle; resolves with the answer. An undeclared capability resolves unavailable without an event, a cancelled event refused (prevented).",
|
|
1470
|
+
"arguments": [
|
|
1471
|
+
{
|
|
1472
|
+
"name": "intent",
|
|
1473
|
+
"required": true,
|
|
1474
|
+
"schema": {
|
|
1475
|
+
"type": "string"
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"name": "payload",
|
|
1480
|
+
"required": false,
|
|
1481
|
+
"schema": {
|
|
1482
|
+
"type": "object"
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
],
|
|
1486
|
+
"returns": {
|
|
1487
|
+
"type": "object"
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
"connectPort": {
|
|
1491
|
+
"summary": "The base action connect-port {port} (§4.1, §4.9; setHostPort its alias): an adapter {port: 'simai.chat-port', version, capabilities, raise(intent, payload)} that answers each intent.",
|
|
1492
|
+
"arguments": [
|
|
1493
|
+
{
|
|
1494
|
+
"name": "port",
|
|
1495
|
+
"required": true,
|
|
1496
|
+
"schema": {
|
|
1497
|
+
"type": "object"
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
],
|
|
1501
|
+
"returns": {
|
|
1502
|
+
"type": "object"
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
"events": {
|
|
1507
|
+
"sf-chat-window-open": {
|
|
1508
|
+
"summary": "A conversation opened from the list (port conversation.open {conversation_id}, kind conversation), the archive or the current list shown (x-archive-view conversations.view {archived}, kind list), or «Мои файлы» asked for (x-my-files files.list, kind files), or a source's preview about to open beside the conversation (1.2.0: kind preview, intent preview.open, payload {source}; the window's own, nothing is raised to the host; cancel it to keep the preview closed, and the footnote then opens the sources list). Was chat-port:open, chat-window:view, chat-window:files. Or a group's members asked for (1.4.0, x-members members.list {conversation_id}, kind members; no former name). The 0.3 chat-port:open, chat-window:view, chat-window:files {request_id, ...payload} follow it until 2026-12-01. Or a message's discussion (x-threads thread.open, kind thread). A document about to open in the same panel (1.12.0, x-blocks): kind document, intent document.open, payload {document}.",
|
|
1509
|
+
"payload": {
|
|
1510
|
+
"type": "object",
|
|
1511
|
+
"required": [
|
|
1512
|
+
"requestId",
|
|
1513
|
+
"intent",
|
|
1514
|
+
"payload"
|
|
1515
|
+
],
|
|
1516
|
+
"properties": {
|
|
1517
|
+
"requestId": {
|
|
1518
|
+
"type": "string"
|
|
1519
|
+
},
|
|
1520
|
+
"intent": {
|
|
1521
|
+
"type": "string",
|
|
1522
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1523
|
+
},
|
|
1524
|
+
"kind": {
|
|
1525
|
+
"type": "string",
|
|
1526
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1527
|
+
},
|
|
1528
|
+
"payload": {
|
|
1529
|
+
"type": "object",
|
|
1530
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1533
|
+
"additionalProperties": true
|
|
1534
|
+
},
|
|
1535
|
+
"canonical": true
|
|
1536
|
+
},
|
|
1537
|
+
"sf-chat-window-load-more": {
|
|
1538
|
+
"summary": "Earlier messages (port history.older {conversation_id, before_id}, kind history) or the list's next page (x-conversations-paging conversations.more {archived}, kind conversations). Was chat-port:older, chat-window:more. The 0.3 chat-port:older, chat-window:more {request_id, ...payload} follow it until 2026-12-01.",
|
|
1539
|
+
"payload": {
|
|
1540
|
+
"type": "object",
|
|
1541
|
+
"required": [
|
|
1542
|
+
"requestId",
|
|
1543
|
+
"intent",
|
|
1544
|
+
"payload"
|
|
1545
|
+
],
|
|
1546
|
+
"properties": {
|
|
1547
|
+
"requestId": {
|
|
1548
|
+
"type": "string"
|
|
1549
|
+
},
|
|
1550
|
+
"intent": {
|
|
1551
|
+
"type": "string",
|
|
1552
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1553
|
+
},
|
|
1554
|
+
"kind": {
|
|
1555
|
+
"type": "string",
|
|
1556
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1557
|
+
},
|
|
1558
|
+
"payload": {
|
|
1559
|
+
"type": "object",
|
|
1560
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1563
|
+
"additionalProperties": true
|
|
1564
|
+
},
|
|
1565
|
+
"canonical": true
|
|
1566
|
+
},
|
|
1567
|
+
"sf-chat-window-submit": {
|
|
1568
|
+
"summary": "A message sent (port message.send {conversation_id, body, files, client_key, interlocutor}): the field's, a suggestion, a brief's answer or a question asked again. Was chat-port:send. The 0.3 chat-port:send {request_id, ...payload} follows it until 2026-12-01. A send that answers a message (x-reply) is message.reply, kind reply, the same payload plus reply_to_id. A card's save or cancel (1.11.0, x-blocks) is block.submit, kind block {conversation_id, message_id, block_id, action, revision, values}; no former name.",
|
|
1569
|
+
"payload": {
|
|
1570
|
+
"type": "object",
|
|
1571
|
+
"required": [
|
|
1572
|
+
"requestId",
|
|
1573
|
+
"intent",
|
|
1574
|
+
"payload"
|
|
1575
|
+
],
|
|
1576
|
+
"properties": {
|
|
1577
|
+
"requestId": {
|
|
1578
|
+
"type": "string"
|
|
1579
|
+
},
|
|
1580
|
+
"intent": {
|
|
1581
|
+
"type": "string",
|
|
1582
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1583
|
+
},
|
|
1584
|
+
"kind": {
|
|
1585
|
+
"type": "string",
|
|
1586
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1587
|
+
},
|
|
1588
|
+
"payload": {
|
|
1589
|
+
"type": "object",
|
|
1590
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
"additionalProperties": true
|
|
1594
|
+
},
|
|
1595
|
+
"canonical": true
|
|
1596
|
+
},
|
|
1597
|
+
"sf-chat-window-retry": {
|
|
1598
|
+
"summary": "The same message again under its client_key (port message.retry, kind message) or a message's failed file (port file.retry {conversation_id, message_id, file_key}, kind file). Was chat-port:retry, chat-port:file-retry. The 0.3 chat-port:retry, chat-port:file-retry {request_id, ...payload} follow it until 2026-12-01.",
|
|
1599
|
+
"payload": {
|
|
1600
|
+
"type": "object",
|
|
1601
|
+
"required": [
|
|
1602
|
+
"requestId",
|
|
1603
|
+
"intent",
|
|
1604
|
+
"payload"
|
|
1605
|
+
],
|
|
1606
|
+
"properties": {
|
|
1607
|
+
"requestId": {
|
|
1608
|
+
"type": "string"
|
|
1609
|
+
},
|
|
1610
|
+
"intent": {
|
|
1611
|
+
"type": "string",
|
|
1612
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1613
|
+
},
|
|
1614
|
+
"kind": {
|
|
1615
|
+
"type": "string",
|
|
1616
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1617
|
+
},
|
|
1618
|
+
"payload": {
|
|
1619
|
+
"type": "object",
|
|
1620
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
"additionalProperties": true
|
|
1624
|
+
},
|
|
1625
|
+
"canonical": true
|
|
1626
|
+
},
|
|
1627
|
+
"sf-chat-window-save": {
|
|
1628
|
+
"summary": "A message edited against its revision (port message.edit); 1.3.0: raised from the editor of a person's message, again against the current revision after a conflict («Заменить своим»). Was chat-port:edit. The 0.3 chat-port:edit {request_id, ...payload} follows it until 2026-12-01.",
|
|
1629
|
+
"payload": {
|
|
1630
|
+
"type": "object",
|
|
1631
|
+
"required": [
|
|
1632
|
+
"requestId",
|
|
1633
|
+
"intent",
|
|
1634
|
+
"payload"
|
|
1635
|
+
],
|
|
1636
|
+
"properties": {
|
|
1637
|
+
"requestId": {
|
|
1638
|
+
"type": "string"
|
|
1639
|
+
},
|
|
1640
|
+
"intent": {
|
|
1641
|
+
"type": "string",
|
|
1642
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1643
|
+
},
|
|
1644
|
+
"kind": {
|
|
1645
|
+
"type": "string",
|
|
1646
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1647
|
+
},
|
|
1648
|
+
"payload": {
|
|
1649
|
+
"type": "object",
|
|
1650
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
"additionalProperties": true
|
|
1654
|
+
},
|
|
1655
|
+
"canonical": true
|
|
1656
|
+
},
|
|
1657
|
+
"sf-chat-window-delete": {
|
|
1658
|
+
"summary": "A message deleted against its revision (port message.delete, kind message; 1.3.0: after the question in the message's place) or a kept file deleted (x-my-files files.remove {file_id}, kind file). Was chat-port:delete, chat-window:file-remove. The 0.3 chat-port:delete, chat-window:file-remove {request_id, ...payload} follow it until 2026-12-01.",
|
|
1659
|
+
"payload": {
|
|
1660
|
+
"type": "object",
|
|
1661
|
+
"required": [
|
|
1662
|
+
"requestId",
|
|
1663
|
+
"intent",
|
|
1664
|
+
"payload"
|
|
1665
|
+
],
|
|
1666
|
+
"properties": {
|
|
1667
|
+
"requestId": {
|
|
1668
|
+
"type": "string"
|
|
1669
|
+
},
|
|
1670
|
+
"intent": {
|
|
1671
|
+
"type": "string",
|
|
1672
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1673
|
+
},
|
|
1674
|
+
"kind": {
|
|
1675
|
+
"type": "string",
|
|
1676
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1677
|
+
},
|
|
1678
|
+
"payload": {
|
|
1679
|
+
"type": "object",
|
|
1680
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
"additionalProperties": true
|
|
1684
|
+
},
|
|
1685
|
+
"canonical": true
|
|
1686
|
+
},
|
|
1687
|
+
"sf-chat-window-read": {
|
|
1688
|
+
"summary": "The last message actually seen (port message.read); 1.3.0: when the end of the conversation is in view, at most once in 2 s, only for a later message. Was chat-port:read. The 0.3 chat-port:read {request_id, ...payload} follows it until 2026-12-01.",
|
|
1689
|
+
"payload": {
|
|
1690
|
+
"type": "object",
|
|
1691
|
+
"required": [
|
|
1692
|
+
"requestId",
|
|
1693
|
+
"intent",
|
|
1694
|
+
"payload"
|
|
1695
|
+
],
|
|
1696
|
+
"properties": {
|
|
1697
|
+
"requestId": {
|
|
1698
|
+
"type": "string"
|
|
1699
|
+
},
|
|
1700
|
+
"intent": {
|
|
1701
|
+
"type": "string",
|
|
1702
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1703
|
+
},
|
|
1704
|
+
"kind": {
|
|
1705
|
+
"type": "string",
|
|
1706
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1707
|
+
},
|
|
1708
|
+
"payload": {
|
|
1709
|
+
"type": "object",
|
|
1710
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
"additionalProperties": true
|
|
1714
|
+
},
|
|
1715
|
+
"canonical": true
|
|
1716
|
+
},
|
|
1717
|
+
"sf-chat-window-rate": {
|
|
1718
|
+
"summary": "An answer rated (port message.rate {message_id, value, reason, note}). Was chat-port:rate. The 0.3 chat-port:rate {request_id, ...payload} follows it until 2026-12-01.",
|
|
1719
|
+
"payload": {
|
|
1720
|
+
"type": "object",
|
|
1721
|
+
"required": [
|
|
1722
|
+
"requestId",
|
|
1723
|
+
"intent",
|
|
1724
|
+
"payload"
|
|
1725
|
+
],
|
|
1726
|
+
"properties": {
|
|
1727
|
+
"requestId": {
|
|
1728
|
+
"type": "string"
|
|
1729
|
+
},
|
|
1730
|
+
"intent": {
|
|
1731
|
+
"type": "string",
|
|
1732
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1733
|
+
},
|
|
1734
|
+
"kind": {
|
|
1735
|
+
"type": "string",
|
|
1736
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1737
|
+
},
|
|
1738
|
+
"payload": {
|
|
1739
|
+
"type": "object",
|
|
1740
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
"additionalProperties": true
|
|
1744
|
+
},
|
|
1745
|
+
"canonical": true
|
|
1746
|
+
},
|
|
1747
|
+
"sf-chat-window-answer": {
|
|
1748
|
+
"summary": "A proposal answered: the host sends exactly its command (port proposal.decide {message_id, code, decision: confirm|cancel}). Was chat-port:decide. The 0.3 chat-port:decide {request_id, ...payload} follows it until 2026-12-01.",
|
|
1749
|
+
"payload": {
|
|
1750
|
+
"type": "object",
|
|
1751
|
+
"required": [
|
|
1752
|
+
"requestId",
|
|
1753
|
+
"intent",
|
|
1754
|
+
"payload"
|
|
1755
|
+
],
|
|
1756
|
+
"properties": {
|
|
1757
|
+
"requestId": {
|
|
1758
|
+
"type": "string"
|
|
1759
|
+
},
|
|
1760
|
+
"intent": {
|
|
1761
|
+
"type": "string",
|
|
1762
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1763
|
+
},
|
|
1764
|
+
"kind": {
|
|
1765
|
+
"type": "string",
|
|
1766
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1767
|
+
},
|
|
1768
|
+
"payload": {
|
|
1769
|
+
"type": "object",
|
|
1770
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
"additionalProperties": true
|
|
1774
|
+
},
|
|
1775
|
+
"canonical": true
|
|
1776
|
+
},
|
|
1777
|
+
"sf-chat-window-check": {
|
|
1778
|
+
"summary": "Whether a stopped or delayed answer came (port wait.check {message_id}). Was chat-port:check. The 0.3 chat-port:check {request_id, ...payload} follows it until 2026-12-01.",
|
|
1779
|
+
"payload": {
|
|
1780
|
+
"type": "object",
|
|
1781
|
+
"required": [
|
|
1782
|
+
"requestId",
|
|
1783
|
+
"intent",
|
|
1784
|
+
"payload"
|
|
1785
|
+
],
|
|
1786
|
+
"properties": {
|
|
1787
|
+
"requestId": {
|
|
1788
|
+
"type": "string"
|
|
1789
|
+
},
|
|
1790
|
+
"intent": {
|
|
1791
|
+
"type": "string",
|
|
1792
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1793
|
+
},
|
|
1794
|
+
"kind": {
|
|
1795
|
+
"type": "string",
|
|
1796
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1797
|
+
},
|
|
1798
|
+
"payload": {
|
|
1799
|
+
"type": "object",
|
|
1800
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"additionalProperties": true
|
|
1804
|
+
},
|
|
1805
|
+
"canonical": true
|
|
1806
|
+
},
|
|
1807
|
+
"sf-chat-window-stop": {
|
|
1808
|
+
"summary": "Stop waiting for the answer (port wait.stop {conversation_id}). Was chat-port:stop. The 0.3 chat-port:stop {request_id, ...payload} follows it until 2026-12-01.",
|
|
1809
|
+
"payload": {
|
|
1810
|
+
"type": "object",
|
|
1811
|
+
"required": [
|
|
1812
|
+
"requestId",
|
|
1813
|
+
"intent",
|
|
1814
|
+
"payload"
|
|
1815
|
+
],
|
|
1816
|
+
"properties": {
|
|
1817
|
+
"requestId": {
|
|
1818
|
+
"type": "string"
|
|
1819
|
+
},
|
|
1820
|
+
"intent": {
|
|
1821
|
+
"type": "string",
|
|
1822
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1823
|
+
},
|
|
1824
|
+
"kind": {
|
|
1825
|
+
"type": "string",
|
|
1826
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1827
|
+
},
|
|
1828
|
+
"payload": {
|
|
1829
|
+
"type": "object",
|
|
1830
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1831
|
+
}
|
|
1832
|
+
},
|
|
1833
|
+
"additionalProperties": true
|
|
1834
|
+
},
|
|
1835
|
+
"canonical": true
|
|
1836
|
+
},
|
|
1837
|
+
"sf-chat-window-create": {
|
|
1838
|
+
"summary": "A new conversation (port conversation.create {interlocutor}; was chat-port:create), or a new one with a person or a group (1.4.0, x-conversation-start conversation.start, kind private {kind, user_id} or group {kind, title, member_ids, client_key}; no former name). The 0.3 chat-port:create {request_id, ...payload} follows conversation.create until 2026-12-01.",
|
|
1839
|
+
"payload": {
|
|
1840
|
+
"type": "object",
|
|
1841
|
+
"required": [
|
|
1842
|
+
"requestId",
|
|
1843
|
+
"intent",
|
|
1844
|
+
"payload"
|
|
1845
|
+
],
|
|
1846
|
+
"properties": {
|
|
1847
|
+
"requestId": {
|
|
1848
|
+
"type": "string"
|
|
1849
|
+
},
|
|
1850
|
+
"intent": {
|
|
1851
|
+
"type": "string",
|
|
1852
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1853
|
+
},
|
|
1854
|
+
"kind": {
|
|
1855
|
+
"type": "string",
|
|
1856
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1857
|
+
},
|
|
1858
|
+
"payload": {
|
|
1859
|
+
"type": "object",
|
|
1860
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1863
|
+
"additionalProperties": true
|
|
1864
|
+
},
|
|
1865
|
+
"canonical": true
|
|
1866
|
+
},
|
|
1867
|
+
"sf-chat-window-rename": {
|
|
1868
|
+
"summary": "A conversation renamed (port conversation.rename {conversation_id, title}). Was chat-port:rename. The 0.3 chat-port:rename {request_id, ...payload} follows it until 2026-12-01.",
|
|
1869
|
+
"payload": {
|
|
1870
|
+
"type": "object",
|
|
1871
|
+
"required": [
|
|
1872
|
+
"requestId",
|
|
1873
|
+
"intent",
|
|
1874
|
+
"payload"
|
|
1875
|
+
],
|
|
1876
|
+
"properties": {
|
|
1877
|
+
"requestId": {
|
|
1878
|
+
"type": "string"
|
|
1879
|
+
},
|
|
1880
|
+
"intent": {
|
|
1881
|
+
"type": "string",
|
|
1882
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1883
|
+
},
|
|
1884
|
+
"kind": {
|
|
1885
|
+
"type": "string",
|
|
1886
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1887
|
+
},
|
|
1888
|
+
"payload": {
|
|
1889
|
+
"type": "object",
|
|
1890
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
"additionalProperties": true
|
|
1894
|
+
},
|
|
1895
|
+
"canonical": true
|
|
1896
|
+
},
|
|
1897
|
+
"sf-chat-window-archive": {
|
|
1898
|
+
"summary": "A conversation put in the archive (port conversation.archive {conversation_id, archived: true}). Was chat-port:archive. The 0.3 chat-port:archive {request_id, ...payload} follows it until 2026-12-01.",
|
|
1899
|
+
"payload": {
|
|
1900
|
+
"type": "object",
|
|
1901
|
+
"required": [
|
|
1902
|
+
"requestId",
|
|
1903
|
+
"intent",
|
|
1904
|
+
"payload"
|
|
1905
|
+
],
|
|
1906
|
+
"properties": {
|
|
1907
|
+
"requestId": {
|
|
1908
|
+
"type": "string"
|
|
1909
|
+
},
|
|
1910
|
+
"intent": {
|
|
1911
|
+
"type": "string",
|
|
1912
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1913
|
+
},
|
|
1914
|
+
"kind": {
|
|
1915
|
+
"type": "string",
|
|
1916
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1917
|
+
},
|
|
1918
|
+
"payload": {
|
|
1919
|
+
"type": "object",
|
|
1920
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
"additionalProperties": true
|
|
1924
|
+
},
|
|
1925
|
+
"canonical": true
|
|
1926
|
+
},
|
|
1927
|
+
"sf-chat-window-restore": {
|
|
1928
|
+
"summary": "A conversation brought back from the archive (port conversation.archive {conversation_id, archived: false}). Was chat-port:archive. The 0.3 chat-port:archive {request_id, ...payload} follows it until 2026-12-01.",
|
|
1929
|
+
"payload": {
|
|
1930
|
+
"type": "object",
|
|
1931
|
+
"required": [
|
|
1932
|
+
"requestId",
|
|
1933
|
+
"intent",
|
|
1934
|
+
"payload"
|
|
1935
|
+
],
|
|
1936
|
+
"properties": {
|
|
1937
|
+
"requestId": {
|
|
1938
|
+
"type": "string"
|
|
1939
|
+
},
|
|
1940
|
+
"intent": {
|
|
1941
|
+
"type": "string",
|
|
1942
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1943
|
+
},
|
|
1944
|
+
"kind": {
|
|
1945
|
+
"type": "string",
|
|
1946
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1947
|
+
},
|
|
1948
|
+
"payload": {
|
|
1949
|
+
"type": "object",
|
|
1950
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
"additionalProperties": true
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
"sf-chat-window-select": {
|
|
1957
|
+
"summary": "Another interlocutor chosen; a choice starts a new conversation (port interlocutor.choose {interlocutor}). Was chat-port:interlocutor. The 0.3 chat-port:interlocutor {request_id, ...payload} follows it until 2026-12-01.",
|
|
1958
|
+
"payload": {
|
|
1959
|
+
"type": "object",
|
|
1960
|
+
"required": [
|
|
1961
|
+
"requestId",
|
|
1962
|
+
"intent",
|
|
1963
|
+
"payload"
|
|
1964
|
+
],
|
|
1965
|
+
"properties": {
|
|
1966
|
+
"requestId": {
|
|
1967
|
+
"type": "string"
|
|
1968
|
+
},
|
|
1969
|
+
"intent": {
|
|
1970
|
+
"type": "string",
|
|
1971
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
1972
|
+
},
|
|
1973
|
+
"kind": {
|
|
1974
|
+
"type": "string",
|
|
1975
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
1976
|
+
},
|
|
1977
|
+
"payload": {
|
|
1978
|
+
"type": "object",
|
|
1979
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
1980
|
+
}
|
|
1981
|
+
},
|
|
1982
|
+
"additionalProperties": true
|
|
1983
|
+
},
|
|
1984
|
+
"canonical": true
|
|
1985
|
+
},
|
|
1986
|
+
"sf-chat-window-query": {
|
|
1987
|
+
"summary": "The list searched by title (x-conversations-search conversations.search {query}), after a pause in typing, on Enter, or emptied by Escape; was chat-window:search. Or people found for a new conversation (1.4.0, x-conversation-start recipients.search {query}, kind recipients; no former name). The 0.3 chat-window:search {request_id, ...payload} follows conversations.search until 2026-12-01.",
|
|
1988
|
+
"payload": {
|
|
1989
|
+
"type": "object",
|
|
1990
|
+
"required": [
|
|
1991
|
+
"requestId",
|
|
1992
|
+
"intent",
|
|
1993
|
+
"payload"
|
|
1994
|
+
],
|
|
1995
|
+
"properties": {
|
|
1996
|
+
"requestId": {
|
|
1997
|
+
"type": "string"
|
|
1998
|
+
},
|
|
1999
|
+
"intent": {
|
|
2000
|
+
"type": "string",
|
|
2001
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
2002
|
+
},
|
|
2003
|
+
"kind": {
|
|
2004
|
+
"type": "string",
|
|
2005
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
2006
|
+
},
|
|
2007
|
+
"payload": {
|
|
2008
|
+
"type": "object",
|
|
2009
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
2010
|
+
}
|
|
2011
|
+
},
|
|
2012
|
+
"additionalProperties": true
|
|
2013
|
+
},
|
|
2014
|
+
"canonical": true
|
|
2015
|
+
},
|
|
2016
|
+
"sf-chat-window-pin": {
|
|
2017
|
+
"summary": "A conversation pinned or unpinned from its row's actions (x-conversation-pin conversation.pin {conversation_id, pinned}); the chat's own verb (vocabulary §5.1), its word events.pin.label. Was chat-window:pin. The 0.3 chat-window:pin {request_id, ...payload} follows it until 2026-12-01.",
|
|
2018
|
+
"payload": {
|
|
2019
|
+
"type": "object",
|
|
2020
|
+
"required": [
|
|
2021
|
+
"requestId",
|
|
2022
|
+
"intent",
|
|
2023
|
+
"payload"
|
|
2024
|
+
],
|
|
2025
|
+
"properties": {
|
|
2026
|
+
"requestId": {
|
|
2027
|
+
"type": "string"
|
|
2028
|
+
},
|
|
2029
|
+
"intent": {
|
|
2030
|
+
"type": "string",
|
|
2031
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
2032
|
+
},
|
|
2033
|
+
"kind": {
|
|
2034
|
+
"type": "string",
|
|
2035
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
2036
|
+
},
|
|
2037
|
+
"payload": {
|
|
2038
|
+
"type": "object",
|
|
2039
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
2042
|
+
"additionalProperties": true
|
|
2043
|
+
},
|
|
2044
|
+
"canonical": true
|
|
2045
|
+
},
|
|
2046
|
+
"sf-chat-window-attach": {
|
|
2047
|
+
"summary": "Files picked, dropped or pasted, to upload at once (x-early-upload file.attach {files, conversation_id, interlocutor}). Was chat-window:attach. The 0.3 chat-window:attach {request_id, ...payload} follows it until 2026-12-01.",
|
|
2048
|
+
"payload": {
|
|
2049
|
+
"type": "object",
|
|
2050
|
+
"required": [
|
|
2051
|
+
"requestId",
|
|
2052
|
+
"intent",
|
|
2053
|
+
"payload"
|
|
2054
|
+
],
|
|
2055
|
+
"properties": {
|
|
2056
|
+
"requestId": {
|
|
2057
|
+
"type": "string"
|
|
2058
|
+
},
|
|
2059
|
+
"intent": {
|
|
2060
|
+
"type": "string",
|
|
2061
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
2062
|
+
},
|
|
2063
|
+
"kind": {
|
|
2064
|
+
"type": "string",
|
|
2065
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
2066
|
+
},
|
|
2067
|
+
"payload": {
|
|
2068
|
+
"type": "object",
|
|
2069
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
2072
|
+
"additionalProperties": true
|
|
2073
|
+
},
|
|
2074
|
+
"canonical": true
|
|
2075
|
+
},
|
|
2076
|
+
"sf-chat-window-detach": {
|
|
2077
|
+
"summary": "A chip removed from the field (x-early-upload file.detach {key}). Was chat-window:detach. The 0.3 chat-window:detach {request_id, ...payload} follows it until 2026-12-01.",
|
|
2078
|
+
"payload": {
|
|
2079
|
+
"type": "object",
|
|
2080
|
+
"required": [
|
|
2081
|
+
"requestId",
|
|
2082
|
+
"intent",
|
|
2083
|
+
"payload"
|
|
2084
|
+
],
|
|
2085
|
+
"properties": {
|
|
2086
|
+
"requestId": {
|
|
2087
|
+
"type": "string"
|
|
2088
|
+
},
|
|
2089
|
+
"intent": {
|
|
2090
|
+
"type": "string",
|
|
2091
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
2092
|
+
},
|
|
2093
|
+
"kind": {
|
|
2094
|
+
"type": "string",
|
|
2095
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
2096
|
+
},
|
|
2097
|
+
"payload": {
|
|
2098
|
+
"type": "object",
|
|
2099
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
"additionalProperties": true
|
|
2103
|
+
},
|
|
2104
|
+
"canonical": true
|
|
2105
|
+
},
|
|
2106
|
+
"sf-chat-window-settled": {
|
|
2107
|
+
"summary": "The fact of a host's answer, from the port or from settle: {request-id, intent, payload, answer, reason}, said after the answer's data is applied and before the window's own follow-up (the focus). Was sf-chat-window-answer. The 0.3 sf-chat-window-answer {request_id, ...payload} follows it until 2026-12-01.",
|
|
2108
|
+
"payload": {
|
|
2109
|
+
"type": "object",
|
|
2110
|
+
"required": [
|
|
2111
|
+
"requestId",
|
|
2112
|
+
"intent",
|
|
2113
|
+
"payload",
|
|
2114
|
+
"answer"
|
|
2115
|
+
],
|
|
2116
|
+
"properties": {
|
|
2117
|
+
"requestId": {
|
|
2118
|
+
"type": "string"
|
|
2119
|
+
},
|
|
2120
|
+
"intent": {
|
|
2121
|
+
"type": "string"
|
|
2122
|
+
},
|
|
2123
|
+
"payload": {
|
|
2124
|
+
"type": "object"
|
|
2125
|
+
},
|
|
2126
|
+
"answer": {
|
|
2127
|
+
"enum": [
|
|
2128
|
+
"applied",
|
|
2129
|
+
"conflict",
|
|
2130
|
+
"refused",
|
|
2131
|
+
"unavailable"
|
|
2132
|
+
]
|
|
2133
|
+
},
|
|
2134
|
+
"reason": {
|
|
2135
|
+
"type": [
|
|
2136
|
+
"string",
|
|
2137
|
+
"null"
|
|
2138
|
+
]
|
|
2139
|
+
}
|
|
2140
|
+
},
|
|
2141
|
+
"additionalProperties": true
|
|
2142
|
+
}
|
|
2143
|
+
},
|
|
2144
|
+
"sf-chat-window-toggle": {
|
|
2145
|
+
"summary": "The search in the conversation, the source preview, the form of a new conversation or a group's members opened or closed: {kind: find|preview|start|members, open, form?}. The host states data-find-open, data-preview-open, data-start-open and data-members-open say the same.",
|
|
2146
|
+
"payload": {
|
|
2147
|
+
"type": "object",
|
|
2148
|
+
"required": [
|
|
2149
|
+
"kind",
|
|
2150
|
+
"open"
|
|
2151
|
+
],
|
|
2152
|
+
"properties": {
|
|
2153
|
+
"kind": {
|
|
2154
|
+
"enum": [
|
|
2155
|
+
"find",
|
|
2156
|
+
"preview",
|
|
2157
|
+
"start",
|
|
2158
|
+
"members"
|
|
2159
|
+
]
|
|
2160
|
+
},
|
|
2161
|
+
"open": {
|
|
2162
|
+
"type": "boolean"
|
|
2163
|
+
},
|
|
2164
|
+
"form": {
|
|
2165
|
+
"enum": [
|
|
2166
|
+
"private",
|
|
2167
|
+
"group"
|
|
2168
|
+
],
|
|
2169
|
+
"description": "Which form, when kind start opens."
|
|
2170
|
+
}
|
|
2171
|
+
},
|
|
2172
|
+
"additionalProperties": true
|
|
2173
|
+
}
|
|
2174
|
+
},
|
|
2175
|
+
"sf-chat-window-react": {
|
|
2176
|
+
"summary": "A reaction (x-reactions): message.react {conversation_id, message_id, emoji, on}. Answered applied with data {message}, merged by revision.",
|
|
2177
|
+
"payload": {
|
|
2178
|
+
"type": "object",
|
|
2179
|
+
"required": [
|
|
2180
|
+
"requestId",
|
|
2181
|
+
"intent",
|
|
2182
|
+
"payload"
|
|
2183
|
+
],
|
|
2184
|
+
"properties": {
|
|
2185
|
+
"requestId": {
|
|
2186
|
+
"type": "string"
|
|
2187
|
+
},
|
|
2188
|
+
"intent": {
|
|
2189
|
+
"type": "string",
|
|
2190
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
2191
|
+
},
|
|
2192
|
+
"kind": {
|
|
2193
|
+
"type": "string",
|
|
2194
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
2195
|
+
},
|
|
2196
|
+
"payload": {
|
|
2197
|
+
"type": "object",
|
|
2198
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
2199
|
+
}
|
|
2200
|
+
},
|
|
2201
|
+
"additionalProperties": true
|
|
2202
|
+
}
|
|
2203
|
+
},
|
|
2204
|
+
"sf-chat-window-apply": {
|
|
2205
|
+
"summary": "A group's members managed (x-members-manage): member.add, member.remove, member.role, member.transfer, member.leave, kind member; the buttons follow the host's flags (canRemove, canChangeRole, canTransfer; can_manage, can_leave).",
|
|
2206
|
+
"payload": {
|
|
2207
|
+
"type": "object",
|
|
2208
|
+
"required": [
|
|
2209
|
+
"requestId",
|
|
2210
|
+
"intent",
|
|
2211
|
+
"payload"
|
|
2212
|
+
],
|
|
2213
|
+
"properties": {
|
|
2214
|
+
"requestId": {
|
|
2215
|
+
"type": "string"
|
|
2216
|
+
},
|
|
2217
|
+
"intent": {
|
|
2218
|
+
"type": "string",
|
|
2219
|
+
"description": "The port's intent (or the window's own, x-…) this event raises."
|
|
2220
|
+
},
|
|
2221
|
+
"kind": {
|
|
2222
|
+
"type": "string",
|
|
2223
|
+
"description": "Which of the verb's intents, where a verb carries more than one."
|
|
2224
|
+
},
|
|
2225
|
+
"payload": {
|
|
2226
|
+
"type": "object",
|
|
2227
|
+
"description": "The intent's payload, in the port's own field names; see the port contract."
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
"additionalProperties": true
|
|
2231
|
+
}
|
|
2232
|
+
},
|
|
2233
|
+
"chat-port:open": {
|
|
2234
|
+
"summary": "Dated alias of sf-chat-window-open until 2026-12-01 (split).",
|
|
2235
|
+
"payload": {
|
|
2236
|
+
"type": "object"
|
|
2237
|
+
},
|
|
2238
|
+
"alias_of": "sf-chat-window-open"
|
|
2239
|
+
},
|
|
2240
|
+
"chat-port:older": {
|
|
2241
|
+
"summary": "Dated alias of sf-chat-window-load-more until 2026-12-01 (split).",
|
|
2242
|
+
"payload": {
|
|
2243
|
+
"type": "object"
|
|
2244
|
+
},
|
|
2245
|
+
"alias_of": "sf-chat-window-load-more"
|
|
2246
|
+
},
|
|
2247
|
+
"chat-port:send": {
|
|
2248
|
+
"summary": "Dated alias of sf-chat-window-submit until 2026-12-01 (split).",
|
|
2249
|
+
"payload": {
|
|
2250
|
+
"type": "object"
|
|
2251
|
+
},
|
|
2252
|
+
"alias_of": "sf-chat-window-submit"
|
|
2253
|
+
},
|
|
2254
|
+
"chat-port:retry": {
|
|
2255
|
+
"summary": "Dated alias of sf-chat-window-retry until 2026-12-01 (split).",
|
|
2256
|
+
"payload": {
|
|
2257
|
+
"type": "object"
|
|
2258
|
+
},
|
|
2259
|
+
"alias_of": "sf-chat-window-retry"
|
|
2260
|
+
},
|
|
2261
|
+
"chat-port:edit": {
|
|
2262
|
+
"summary": "Dated alias of sf-chat-window-save until 2026-12-01 (split).",
|
|
2263
|
+
"payload": {
|
|
2264
|
+
"type": "object"
|
|
2265
|
+
},
|
|
2266
|
+
"alias_of": "sf-chat-window-save"
|
|
2267
|
+
},
|
|
2268
|
+
"chat-port:delete": {
|
|
2269
|
+
"summary": "Dated alias of sf-chat-window-delete until 2026-12-01 (split).",
|
|
2270
|
+
"payload": {
|
|
2271
|
+
"type": "object"
|
|
2272
|
+
},
|
|
2273
|
+
"alias_of": "sf-chat-window-delete"
|
|
2274
|
+
},
|
|
2275
|
+
"chat-port:read": {
|
|
2276
|
+
"summary": "Dated alias of sf-chat-window-read until 2026-12-01 (split).",
|
|
2277
|
+
"payload": {
|
|
2278
|
+
"type": "object"
|
|
2279
|
+
},
|
|
2280
|
+
"alias_of": "sf-chat-window-read"
|
|
2281
|
+
},
|
|
2282
|
+
"chat-port:rate": {
|
|
2283
|
+
"summary": "Dated alias of sf-chat-window-rate until 2026-12-01 (split).",
|
|
2284
|
+
"payload": {
|
|
2285
|
+
"type": "object"
|
|
2286
|
+
},
|
|
2287
|
+
"alias_of": "sf-chat-window-rate"
|
|
2288
|
+
},
|
|
2289
|
+
"chat-port:file-retry": {
|
|
2290
|
+
"summary": "Dated alias of sf-chat-window-retry until 2026-12-01 (split).",
|
|
2291
|
+
"payload": {
|
|
2292
|
+
"type": "object"
|
|
2293
|
+
},
|
|
2294
|
+
"alias_of": "sf-chat-window-retry"
|
|
2295
|
+
},
|
|
2296
|
+
"chat-port:decide": {
|
|
2297
|
+
"summary": "Dated alias of sf-chat-window-answer until 2026-12-01 (split).",
|
|
2298
|
+
"payload": {
|
|
2299
|
+
"type": "object"
|
|
2300
|
+
},
|
|
2301
|
+
"alias_of": "sf-chat-window-answer"
|
|
2302
|
+
},
|
|
2303
|
+
"chat-port:check": {
|
|
2304
|
+
"summary": "Dated alias of sf-chat-window-check until 2026-12-01 (split).",
|
|
2305
|
+
"payload": {
|
|
2306
|
+
"type": "object"
|
|
2307
|
+
},
|
|
2308
|
+
"alias_of": "sf-chat-window-check"
|
|
2309
|
+
},
|
|
2310
|
+
"chat-port:stop": {
|
|
2311
|
+
"summary": "Dated alias of sf-chat-window-stop until 2026-12-01 (split).",
|
|
2312
|
+
"payload": {
|
|
2313
|
+
"type": "object"
|
|
2314
|
+
},
|
|
2315
|
+
"alias_of": "sf-chat-window-stop"
|
|
2316
|
+
},
|
|
2317
|
+
"chat-port:create": {
|
|
2318
|
+
"summary": "Dated alias of sf-chat-window-create until 2026-12-01 (split).",
|
|
2319
|
+
"payload": {
|
|
2320
|
+
"type": "object"
|
|
2321
|
+
},
|
|
2322
|
+
"alias_of": "sf-chat-window-create"
|
|
2323
|
+
},
|
|
2324
|
+
"chat-port:rename": {
|
|
2325
|
+
"summary": "Dated alias of sf-chat-window-rename until 2026-12-01 (split).",
|
|
2326
|
+
"payload": {
|
|
2327
|
+
"type": "object"
|
|
2328
|
+
},
|
|
2329
|
+
"alias_of": "sf-chat-window-rename"
|
|
2330
|
+
},
|
|
2331
|
+
"chat-port:archive": {
|
|
2332
|
+
"summary": "Dated alias of sf-chat-window-archive until 2026-12-01 (split).",
|
|
2333
|
+
"payload": {
|
|
2334
|
+
"type": "object"
|
|
2335
|
+
},
|
|
2336
|
+
"alias_of": "sf-chat-window-archive"
|
|
2337
|
+
},
|
|
2338
|
+
"chat-port:interlocutor": {
|
|
2339
|
+
"summary": "Dated alias of sf-chat-window-select until 2026-12-01 (split).",
|
|
2340
|
+
"payload": {
|
|
2341
|
+
"type": "object"
|
|
2342
|
+
},
|
|
2343
|
+
"alias_of": "sf-chat-window-select"
|
|
2344
|
+
},
|
|
2345
|
+
"chat-window:view": {
|
|
2346
|
+
"summary": "Dated alias of sf-chat-window-open until 2026-12-01 (split).",
|
|
2347
|
+
"payload": {
|
|
2348
|
+
"type": "object"
|
|
2349
|
+
},
|
|
2350
|
+
"alias_of": "sf-chat-window-open"
|
|
2351
|
+
},
|
|
2352
|
+
"chat-window:more": {
|
|
2353
|
+
"summary": "Dated alias of sf-chat-window-load-more until 2026-12-01 (split).",
|
|
2354
|
+
"payload": {
|
|
2355
|
+
"type": "object"
|
|
2356
|
+
},
|
|
2357
|
+
"alias_of": "sf-chat-window-load-more"
|
|
2358
|
+
},
|
|
2359
|
+
"chat-window:search": {
|
|
2360
|
+
"summary": "Dated alias of sf-chat-window-query until 2026-12-01 (split).",
|
|
2361
|
+
"payload": {
|
|
2362
|
+
"type": "object"
|
|
2363
|
+
},
|
|
2364
|
+
"alias_of": "sf-chat-window-query"
|
|
2365
|
+
},
|
|
2366
|
+
"chat-window:pin": {
|
|
2367
|
+
"summary": "Dated alias of sf-chat-window-pin until 2026-12-01 (split).",
|
|
2368
|
+
"payload": {
|
|
2369
|
+
"type": "object"
|
|
2370
|
+
},
|
|
2371
|
+
"alias_of": "sf-chat-window-pin"
|
|
2372
|
+
},
|
|
2373
|
+
"chat-window:attach": {
|
|
2374
|
+
"summary": "Dated alias of sf-chat-window-attach until 2026-12-01 (split).",
|
|
2375
|
+
"payload": {
|
|
2376
|
+
"type": "object"
|
|
2377
|
+
},
|
|
2378
|
+
"alias_of": "sf-chat-window-attach"
|
|
2379
|
+
},
|
|
2380
|
+
"chat-window:detach": {
|
|
2381
|
+
"summary": "Dated alias of sf-chat-window-detach until 2026-12-01 (split).",
|
|
2382
|
+
"payload": {
|
|
2383
|
+
"type": "object"
|
|
2384
|
+
},
|
|
2385
|
+
"alias_of": "sf-chat-window-detach"
|
|
2386
|
+
},
|
|
2387
|
+
"chat-window:files": {
|
|
2388
|
+
"summary": "Dated alias of sf-chat-window-open until 2026-12-01 (split).",
|
|
2389
|
+
"payload": {
|
|
2390
|
+
"type": "object"
|
|
2391
|
+
},
|
|
2392
|
+
"alias_of": "sf-chat-window-open"
|
|
2393
|
+
},
|
|
2394
|
+
"chat-window:file-remove": {
|
|
2395
|
+
"summary": "Dated alias of sf-chat-window-delete until 2026-12-01 (split).",
|
|
2396
|
+
"payload": {
|
|
2397
|
+
"type": "object"
|
|
2398
|
+
},
|
|
2399
|
+
"alias_of": "sf-chat-window-delete"
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
"state": {
|
|
2403
|
+
"machines": {
|
|
2404
|
+
"feed": [
|
|
2405
|
+
"loading",
|
|
2406
|
+
"ready",
|
|
2407
|
+
"error",
|
|
2408
|
+
"revoked"
|
|
2409
|
+
],
|
|
2410
|
+
"composer": [
|
|
2411
|
+
"idle",
|
|
2412
|
+
"sending",
|
|
2413
|
+
"waiting"
|
|
2414
|
+
],
|
|
2415
|
+
"conversation": [
|
|
2416
|
+
"none",
|
|
2417
|
+
"open"
|
|
2418
|
+
],
|
|
2419
|
+
"queue": [
|
|
2420
|
+
"empty",
|
|
2421
|
+
"waiting",
|
|
2422
|
+
"held"
|
|
2423
|
+
],
|
|
2424
|
+
"find": [
|
|
2425
|
+
"closed",
|
|
2426
|
+
"open"
|
|
2427
|
+
],
|
|
2428
|
+
"preview": [
|
|
2429
|
+
"closed",
|
|
2430
|
+
"beside",
|
|
2431
|
+
"sheet"
|
|
2432
|
+
],
|
|
2433
|
+
"message": [
|
|
2434
|
+
"shown",
|
|
2435
|
+
"editing",
|
|
2436
|
+
"asking",
|
|
2437
|
+
"saving",
|
|
2438
|
+
"conflict",
|
|
2439
|
+
"deleted"
|
|
2440
|
+
],
|
|
2441
|
+
"unread": [
|
|
2442
|
+
"none",
|
|
2443
|
+
"divider"
|
|
2444
|
+
],
|
|
2445
|
+
"start": [
|
|
2446
|
+
"closed",
|
|
2447
|
+
"private",
|
|
2448
|
+
"group",
|
|
2449
|
+
"sending"
|
|
2450
|
+
],
|
|
2451
|
+
"members": [
|
|
2452
|
+
"closed",
|
|
2453
|
+
"loading",
|
|
2454
|
+
"ready",
|
|
2455
|
+
"denied",
|
|
2456
|
+
"error"
|
|
2457
|
+
]
|
|
2458
|
+
},
|
|
2459
|
+
"visual_states": [
|
|
2460
|
+
"default",
|
|
2461
|
+
"empty",
|
|
2462
|
+
"loading"
|
|
2463
|
+
]
|
|
2464
|
+
},
|
|
2465
|
+
"persistence": {
|
|
2466
|
+
"mode": "none",
|
|
2467
|
+
"source_of_truth": "host",
|
|
2468
|
+
"network_owner": "host",
|
|
2469
|
+
"revision_field": null
|
|
2470
|
+
},
|
|
2471
|
+
"ownership": {
|
|
2472
|
+
"source": "simai/ui-pro",
|
|
2473
|
+
"data": "host",
|
|
2474
|
+
"effects": "host",
|
|
2475
|
+
"forbidden_client_responsibilities": [
|
|
2476
|
+
"fetching or polling the chat API",
|
|
2477
|
+
"uploading files",
|
|
2478
|
+
"storing drafts",
|
|
2479
|
+
"deciding rights from authorship",
|
|
2480
|
+
"sending a proposal's command other than the host's",
|
|
2481
|
+
"access decisions"
|
|
2482
|
+
]
|
|
2483
|
+
},
|
|
2484
|
+
"security": {
|
|
2485
|
+
"permissions_owner": "host",
|
|
2486
|
+
"untrusted_inputs": [
|
|
2487
|
+
"conversation titles and captions (drawn as text)",
|
|
2488
|
+
"message data (drawn by sf-chat-message: html sanitized, texts as text)",
|
|
2489
|
+
"interlocutor greetings and suggestions (drawn as text)",
|
|
2490
|
+
"file names (drawn as text)",
|
|
2491
|
+
"download addresses (the host's, used as given)",
|
|
2492
|
+
"the host's refusal words (drawn as text)",
|
|
2493
|
+
"a source's preview (fetched from a same-origin preview_url only, drawn sanitized: SF.sanitizeHtml)"
|
|
2494
|
+
],
|
|
2495
|
+
"network_policy": "host-only"
|
|
2496
|
+
},
|
|
2497
|
+
"accessibility": {
|
|
2498
|
+
"role": "region",
|
|
2499
|
+
"accessible_name": "internal",
|
|
2500
|
+
"keyboard": [
|
|
2501
|
+
"Tab",
|
|
2502
|
+
"Enter",
|
|
2503
|
+
"Shift+Enter",
|
|
2504
|
+
"Escape",
|
|
2505
|
+
"ArrowUp",
|
|
2506
|
+
"ArrowDown",
|
|
2507
|
+
"Home",
|
|
2508
|
+
"End",
|
|
2509
|
+
"F2",
|
|
2510
|
+
"Shift+F10",
|
|
2511
|
+
"Mod+F"
|
|
2512
|
+
],
|
|
2513
|
+
"focus": "The parts keep their own keyboard (the list's roving focus, the field's Enter). After a new conversation or another interlocutor the focus goes to the field; when the last awaited answer of the conversation ends it returns there without scrolling. When what held the focus is gone (an archived row), the way back above the field takes it, never the page. A passing line leaves only when no pointer or focus is on it and hands the focus back to the field. The queue's «Изменить» puts the question back in the field and the focus there; «Убрать» moves the focus to the card in its place, else to the field. The search in the conversation takes the focus when opened and gives it back to what opened it when closed."
|
|
2514
|
+
},
|
|
2515
|
+
"presentation": {
|
|
2516
|
+
"themes": [
|
|
2517
|
+
"light",
|
|
2518
|
+
"dark"
|
|
2519
|
+
],
|
|
2520
|
+
"locales": [
|
|
2521
|
+
"en",
|
|
2522
|
+
"ru"
|
|
2523
|
+
],
|
|
2524
|
+
"responsive": [
|
|
2525
|
+
"desktop",
|
|
2526
|
+
"mobile"
|
|
2527
|
+
]
|
|
2528
|
+
},
|
|
2529
|
+
"adapter": {
|
|
2530
|
+
"kind": "generic",
|
|
2531
|
+
"protocol": "simai.smart-studio-adapter.v1",
|
|
2532
|
+
"module": null
|
|
2533
|
+
},
|
|
2534
|
+
"artifacts": {
|
|
2535
|
+
"fixtures": [
|
|
2536
|
+
"studio.fixture.json"
|
|
2537
|
+
],
|
|
2538
|
+
"scenarios": [
|
|
2539
|
+
"studio.scenario.json"
|
|
2540
|
+
]
|
|
2541
|
+
},
|
|
2542
|
+
"readiness": {
|
|
2543
|
+
"level": "host-required",
|
|
2544
|
+
"required_checks": [
|
|
2545
|
+
"manifest",
|
|
2546
|
+
"loader-rule",
|
|
2547
|
+
"chat-window-probe"
|
|
2548
|
+
]
|
|
2549
|
+
},
|
|
2550
|
+
"compatibility": {
|
|
2551
|
+
"contract_schema": {
|
|
2552
|
+
"id": "https://simai.io/contracts/smart-component-manifest.v2.schema.json",
|
|
2553
|
+
"version": 2
|
|
2554
|
+
},
|
|
2555
|
+
"runtime_pair": {
|
|
2556
|
+
"ui_revision": "0000000000000000000000000000000000000000",
|
|
2557
|
+
"ui_smart_revision": "0000000000000000000000000000000000000000"
|
|
2558
|
+
},
|
|
2559
|
+
"aliases": [],
|
|
2560
|
+
"deprecations": [],
|
|
2561
|
+
"replacement": null,
|
|
2562
|
+
"migrations": [
|
|
2563
|
+
{
|
|
2564
|
+
"from": "0.3.1",
|
|
2565
|
+
"to": "1.0.0",
|
|
2566
|
+
"changes": [
|
|
2567
|
+
"moved from simai/ui-chat to ui-pro (D31): standard simai.smart-component 1.3.9, the element is made from component.json; words in lang/; dated aliases in aliases.json; nothing imported from ui-chat; the parts are placed by tag",
|
|
2568
|
+
"chat-port:<name> and chat-window:<name> {request_id, ...payload} -> sf-chat-window-<verb> {request-id, intent, kind, payload} until 2026-12-01 (event, split aliases); sf-chat-window-answer -> sf-chat-window-settled",
|
|
2569
|
+
"the port is handed with connect-port {port} (raise(intent, payload)); a host without one answers with settle (answer(request_id, result) kept)",
|
|
2570
|
+
"the port's data are settings (feed-state, conversation-list, composer-files, my-files with their port-named properties kept); applyData kept, set-data its action",
|
|
2571
|
+
"a message is drawn by sf-chat-message (renderMessage), the window listens to the new names of sf-chat-composer, sf-chat-interlocutor and sf-chat-message"
|
|
2572
|
+
]
|
|
2573
|
+
},
|
|
2574
|
+
{
|
|
2575
|
+
"from": "1.0.2",
|
|
2576
|
+
"to": "1.0.3",
|
|
2577
|
+
"changes": [
|
|
2578
|
+
"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."
|
|
2579
|
+
]
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
"from": "1.0.4",
|
|
2583
|
+
"to": "1.1.0",
|
|
2584
|
+
"changes": [
|
|
2585
|
+
"The queue: a question sent while an answer is awaited waits above the field as a card («Отправлю после ответа», «Изменить», «Убрать») and goes as an ordinary message.send after a successful answer, one at a time; an answer that ended otherwise holds the queue for «Отправить» by hand. Per conversation, on this page only. The setting no-queue turns it off. No new intent and no change for a host.",
|
|
2586
|
+
"The search in the open conversation: the actions open-find {query} and close-find {focus}, Ctrl/Cmd+F inside the window, the event toggle {kind: find, open} and the host state data-find-open. It searches the loaded messages only and asks the host nothing."
|
|
2587
|
+
]
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
"from": "1.1.0",
|
|
2591
|
+
"to": "1.2.0",
|
|
2592
|
+
"changes": [
|
|
2593
|
+
"The source preview (API.md v1.3, proposed): a footnote or a source title with a same-origin preview_url opens the source beside the conversation (a sheet over it on a narrow window), with the passage {from, to} marked; the actions open-preview {source} and close-preview {focus}, the event toggle {kind: preview, open}, the cancelable open {kind: preview} and the host state data-preview-open. Without preview_url nothing changes.",
|
|
2594
|
+
"An assistant message's steps and an answer's files (mime, preview_url) are passed to sf-chat-message 1.1.0, and while there are steps the announcer says the step at work. No new intent: the host answers nothing new."
|
|
2595
|
+
]
|
|
2596
|
+
},
|
|
2597
|
+
{
|
|
2598
|
+
"from": "1.2.0",
|
|
2599
|
+
"to": "1.3.0",
|
|
2600
|
+
"changes": [
|
|
2601
|
+
"Between people: with the capability people a person's message draws as sf-chat-message's template person (author, avatar, own on the end side, runs of one author within 5 minutes on one day, time, «изменено», files, tombstone). Without it nothing changes.",
|
|
2602
|
+
"edit and delete: «Изменить» and «Удалить» on a person's message the host allows (can_edit, can_delete) raise message.edit and message.delete with the revision and a client_key; a conflict shows the current message with «Сообщение уже изменили», «Оставить их» and «Заменить своим»; data.message of an applied answer is merged (a newer revision wins).",
|
|
2603
|
+
"read: «Новые» before the first unread message (from the conversation's unread_count) when a conversation opens, and message.read for the last message seen at the bottom, at most once in 2 s.",
|
|
2604
|
+
"Between people the field says «Напишите сообщение». No new intent and no new port field.",
|
|
2605
|
+
"The source preview marks the passage named by preview_url's #fragment (the element of that id, e.g. <mark id=\"cite\">) when the locator has no {from, to}."
|
|
2606
|
+
]
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"from": "1.3.0",
|
|
2610
|
+
"to": "1.4.0",
|
|
2611
|
+
"changes": [
|
|
2612
|
+
"x-conversation-start: the list head offers «Новый диалог» and «Новая группа» (sf-thread-list 1.5.0 create-commands) and the form stands in the conversation's place; intents recipients.search (query, kind recipients) and conversation.start (create, kind private or group), limits.group from the host. After applied the host supplies conversations by set-data, before or after; the window opens data.conversation itself, raising conversation.open when no messages came.",
|
|
2613
|
+
"x-members: a read-only «Участники» view for an open group or channel; intent members.list (open, kind members), roles owner, manager, member, observer.",
|
|
2614
|
+
"Actions open-start, close-start, open-members, close-members; toggle kinds start and members; host states data-start-open and data-members-open. Without the capabilities nothing changes; simai.chat-port 1.0 is unchanged."
|
|
2615
|
+
]
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
"from": "1.4.0",
|
|
2619
|
+
"to": "1.5.0",
|
|
2620
|
+
"changes": [
|
|
2621
|
+
"Between people with edit: ArrowUp in the empty field opens the editor on the newest own message the host allows; Escape or a save from there returns to the field.",
|
|
2622
|
+
"The editor takes the field's limit: past 80 % the count, past the limit saving is refused with a line and the typed text stays. Between people limits.message_chars is read before body_chars, for the field too.",
|
|
2623
|
+
"Between people: a day's divider before the first message of each calendar day with a created_at («Сегодня», «Вчера», a date in the page's language); no created_at, no divider. A divider restarts a run. «Новые» is now role=separator with the class sf-chat-divider--unread added. Needs sf-chat-message 1.3.0.",
|
|
2624
|
+
"Without people and edit nothing changes; simai.chat-port 1.0 is unchanged."
|
|
2625
|
+
]
|
|
2626
|
+
},
|
|
2627
|
+
{
|
|
2628
|
+
"from": "1.5.0",
|
|
2629
|
+
"to": "1.5.1",
|
|
2630
|
+
"changes": [
|
|
2631
|
+
"The source of the narrow-your-search probe says what the generated file says; no behaviour changed. Nothing to change for a host."
|
|
2632
|
+
]
|
|
2633
|
+
},
|
|
2634
|
+
{
|
|
2635
|
+
"from": "1.5.1",
|
|
2636
|
+
"to": "1.6.0",
|
|
2637
|
+
"changes": [
|
|
2638
|
+
"Between people: a message by its author (author.kind or kind assistant): a person a bubble with sf-avatar, an assistant, agent or bot a document with its sign, name and word; one to one no sign or name in the feed.",
|
|
2639
|
+
"Between people an assistant's wait neither blocks nor queues the field; Stop is on the message where can_stop allows it.",
|
|
2640
|
+
"x-reactions: pills and the picker, message.react. x-reply: quotes, the strip over the field, message.reply {…message.send's payload, reply_to_id}.",
|
|
2641
|
+
"Needs sf-chat-message 1.4.0 and sf-chat-composer 1.2.0. Without people, x-reactions and x-reply nothing changes; simai.chat-port 1.0 is unchanged."
|
|
2642
|
+
]
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"from": "1.6.0",
|
|
2646
|
+
"to": "1.6.1",
|
|
2647
|
+
"changes": [
|
|
2648
|
+
"Initials in a muted tone picked from the name (sf-avatar 1.2.0, tone auto). Additive."
|
|
2649
|
+
]
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"from": "1.6.1",
|
|
2653
|
+
"to": "1.7.0",
|
|
2654
|
+
"changes": [
|
|
2655
|
+
"The layout is the Framework's workspace (core.css .sf-workspace, core/js/workspace.js, docs/developer/workspace-layout.md). The shell keeps the class chat-shell and gains sf-workspace with the wide step sf-workspace--wide-h8; the side is also .sf-workspace-list, the conversation .sf-workspace-main, the source preview .sf-workspace-panel. A page's rail must carry .sf-workspace-rail and be the first child of parts.shell.",
|
|
2656
|
+
"The window says the state in attributes and measures nothing: data-sf-workspace-panel=\"open\" while the preview is open, data-sf-workspace-view=\"main\" when a conversation or a view that takes its place opens and \"list\" when the conversations' own view changes. The reader's way back on a narrow container is .sf-workspace-back, in main, which the Framework shows, hides and answers.",
|
|
2657
|
+
"Removed, with the grid they placed: the classes chat-shell--preview, chat-shell--preview-sheet, chat-shell--side-hidden and chat-shell--side-open, the ResizeObserver behind the preview's placement (PREVIEW_DOCK_MIN) and the window's own inert, Escape, scrim and focus return for the panel as a drawer, which are the Framework's layer stack now. A page that toggled chat-shell--side-hidden sets data-sf-workspace-list=\"hidden\"; one that toggled chat-shell--side-open, or drew a scrim and juggled inert for the list, drops all of it. Escape still closes the panel standing as a column, where no layer is open. The nodes' own classes (chat-shell__*, chat-files__*) are unchanged.",
|
|
2658
|
+
"A page stops bringing the grid, the slide-over, the backdrop and the preview columns; it keeps its furniture. The region widths are the workspace's public variables, set here from the window's own: --sf-workspace-list from --sf-chat-window-side-width, --sf-workspace-panel from the preview's measure, --sf-workspace-divider-color from --sf-chat-window-border-color."
|
|
2659
|
+
]
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
"from": "1.7.0",
|
|
2663
|
+
"to": "1.8.0",
|
|
2664
|
+
"changes": [
|
|
2665
|
+
"Nothing open (no conversation, no interlocutor to greet): the field steps aside and the place says «Выберите разговор слева или начните новый». Additive: a host with a greeting is unchanged."
|
|
2666
|
+
]
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
"from": "1.8.0",
|
|
2670
|
+
"to": "1.9.0",
|
|
2671
|
+
"changes": [
|
|
2672
|
+
"Managing a group's members (x-members-manage): «Добавить» and «Выйти» in the members view, and per row a «⋯» with role, remove and hand over, each only with the host's flag; remove, hand over and leave are asked in place first. Additive: without the capability the view stays read only."
|
|
2673
|
+
]
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"from": "1.9.1",
|
|
2677
|
+
"to": "1.10.0",
|
|
2678
|
+
"changes": [
|
|
2679
|
+
"A message's discussion (x-threads): «N ответов» under a message with answers and «Обсудить» in its «⋯» for one who may write; thread.open, then the discussion opens in place of the conversation with «В чат» and the message it discusses above the feed. Additive: without the capability nothing changes."
|
|
2680
|
+
]
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"from": "1.10.0",
|
|
2684
|
+
"to": "1.10.1",
|
|
2685
|
+
"changes": [
|
|
2686
|
+
"Day dividers, the midnight refresh and the file list's date through core's format helpers, initials through helpers/text getInitials; needs core.runtime >= 1.20.0. Visible: one hyphenated name gives the initials of its parts («Жан-Поль» → ЖП, was Ж). Nothing to change for a host on a pair from core.runtime 1.20.0 on."
|
|
2687
|
+
]
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"from": "1.10.1",
|
|
2691
|
+
"to": "1.10.2",
|
|
2692
|
+
"changes": [
|
|
2693
|
+
"Draws and finds the renamed Framework elements by their new tags (the people are found with sf-input-lookup); 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."
|
|
2694
|
+
]
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"from": "1.10.2",
|
|
2698
|
+
"to": "1.10.3",
|
|
2699
|
+
"changes": [
|
|
2700
|
+
"Places and hears the renamed package parts by their new tags: the list is sf-chat-threads (its sf-chat-threads-* events), a proposal sf-confirm-change (sf-confirm-change-answer); the rule relations name cl-chat-threads and cl-confirm-change. Needs the SIMAI Framework pair with the R2 tag aliases (core.runtime 1.22.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."
|
|
2701
|
+
]
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"from": "1.10.5",
|
|
2705
|
+
"to": "1.11.0",
|
|
2706
|
+
"changes": [
|
|
2707
|
+
"x-blocks: an answer's cards (message.blocks of kind card) are drawn and saved in place; the host answers block.submit. Additive: without the capability nothing changes."
|
|
2708
|
+
]
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"from": "1.11.0",
|
|
2712
|
+
"to": "1.12.0",
|
|
2713
|
+
"changes": [
|
|
2714
|
+
"x-blocks: a document (message.blocks of kind document) opens in the preview panel from its preview_url, in a frame that runs nothing; a place still to fill in brings the form card's field (focusDocumentField); a new revision of the open document reloads it where it was read. block.submit's result may carry the whole message, which replaces the drawn one. Additive."
|
|
2715
|
+
]
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"from": "1.12.0",
|
|
2719
|
+
"to": "1.13.0",
|
|
2720
|
+
"changes": [
|
|
2721
|
+
"The conversation is SIMAI Framework's sf-list-feed (sf-message-log is now its dated alias): the window places <sf-list-feed>, hears sf-list-feed-load-more and draws through renderItem and announceItem. No visible change. A page that styled .sf-message-log, .sf-message-log__item or set --sf-message-log--* inside the window moves to .sf-list-feed, .sf-list-feed__item and --sf-list-feed--*. Needs a SIMAI Framework pair with sf-list-feed (ui-62b1d9b6dc8d or later)."
|
|
2722
|
+
]
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"from": "1.13.0",
|
|
2726
|
+
"to": "1.14.0",
|
|
2727
|
+
"changes": [
|
|
2728
|
+
"sf-chat-threads 2.0.0: the list's rows are the Framework's sf-list. The window finds a row by .sf-list__row[data-id] and its «⋯» by .sf-list__actions (per-row Pin or Unpin, the focus after pinning, restoring and archiving); its words for a row's rename and menu (threads-rename, threads-rename-label, threads-actions), the day headings (threads-today, threads-yesterday, threads-earlier) and threads-loading are gone: the rows speak sf-list's. Nothing to change for a host."
|
|
2729
|
+
]
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"from": "1.14.3",
|
|
2733
|
+
"to": "1.14.4",
|
|
2734
|
+
"changes": [
|
|
2735
|
+
"The composed message and field draw file chips as SIMAI Framework's sf-file-preview (K-08, pair ui-73df5d1b4d4c); the window's settings, values and events are unchanged. A page that read sf-chat-attachment__name in a window reads the chip's file-name.",
|
|
2736
|
+
"The start form's first field takes the focus on that pair as before (asked again until it has it).",
|
|
2737
|
+
"«Повторить» on a composer chip that did not upload asks the host's file.retry with message_id null and the chip's key as file_key; a host without it answers unavailable, nothing else changes."
|
|
2738
|
+
]
|
|
2739
|
+
}
|
|
2740
|
+
]
|
|
2741
|
+
},
|
|
2742
|
+
"provenance": {
|
|
2743
|
+
"source_repository": "simai/ui-pro",
|
|
2744
|
+
"source_revision": "a06ad1d291c2084c83242b29d28caee454504bd3",
|
|
2745
|
+
"source_artifacts": [
|
|
2746
|
+
{
|
|
2747
|
+
"path": "src/smart/chat-window/index.js",
|
|
2748
|
+
"sha256": "68a9cbe63282e4118b75c3113f8839ee92e915217d05fc2c74646eb677a3bb51"
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"path": "src/smart/chat-window/js/port.js",
|
|
2752
|
+
"sha256": "aa0113bd1b4e994f1ae881f854a8d938b202c8171b2300db16798399d1511fb0"
|
|
2753
|
+
},
|
|
2754
|
+
{
|
|
2755
|
+
"path": "src/smart/chat-window/js/files-view.js",
|
|
2756
|
+
"sha256": "94ec4d39cdc810de6edb31b87e61e33c94078752dec42ebe78c0b30b8ff3958a"
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"path": "src/smart/chat-window/js/part-words.js",
|
|
2760
|
+
"sha256": "5534fd3ebfa71785e139adceedad81b399928de64263048460622bd23dc1b1b7"
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
"path": "src/smart/chat-window/js/preview-view.js",
|
|
2764
|
+
"sha256": "9aef05457379a1c58567d99e95c97971a297b564c3772a548b13d4e5f8ebaf18"
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"path": "src/smart/chat-window/js/people.js",
|
|
2768
|
+
"sha256": "67c9d08f8ea60bee421f7e6a16ae25fe7fca55b898cdc1786d6f68027a8df828"
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
"path": "src/smart/chat-window/js/members-view.js",
|
|
2772
|
+
"sha256": "71f4fded39bfd39fa8d483280ec21afc3f83bad549b7cf34deed328d1252fe5c"
|
|
2773
|
+
},
|
|
2774
|
+
{
|
|
2775
|
+
"path": "src/smart/chat-window/js/members-model.js",
|
|
2776
|
+
"sha256": "24888a8a601c0a930f867a0978fd603066ec8bf47829bf764796f26aaefacb16"
|
|
2777
|
+
},
|
|
2778
|
+
{
|
|
2779
|
+
"path": "src/smart/chat-window/js/start-view.js",
|
|
2780
|
+
"sha256": "46f48f1772abeee680e1eb37f8e4d6923d50a2f35394da748bbb148d74b7ba33"
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
"path": "src/smart/chat-window/js/start-model.js",
|
|
2784
|
+
"sha256": "9edcca977fc4de17fc22b929017e50b7cb8aec0457ae5ad05b70302b381faea8"
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"path": "src/smart/chat-window/js/templates/default.js",
|
|
2788
|
+
"sha256": "897c1a50992ceaf9906535324230e487cf9a4a1d9ed7d4c893aeff2ade092013"
|
|
2789
|
+
},
|
|
2790
|
+
{
|
|
2791
|
+
"path": "src/smart/chat-window/js/templates/default.css",
|
|
2792
|
+
"sha256": "530677b9bd1660bd47283170cf9d4d4b79166858ff16c5c63f632ad03e571ba2"
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
"path": "src/smart/chat-window/rule.js",
|
|
2796
|
+
"sha256": "1336e06255572313d4cc5f5f7fc80bb6c8c13bac38a7b1fded4cc3e3dfe8f21e"
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
"path": "src/smart/chat-window/docs.md",
|
|
2800
|
+
"sha256": "74f48ca201129c16b49e2f8c0bd9f9f8d0625bea9e55c9103438942018c0f4a9"
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
"path": "src/smart/chat-window/component.json",
|
|
2804
|
+
"sha256": "93ede4f20609b06bb529160d43639de12194662e47e1eb6b49183485dbba3a23"
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
"path": "src/smart/chat-window/aliases.json",
|
|
2808
|
+
"sha256": "06c0c54c3b440d013e6a1de0f79907245759b8e81906b48eb8a882f16171e5b0"
|
|
2809
|
+
},
|
|
2810
|
+
{
|
|
2811
|
+
"path": "src/smart/chat-window/lang/en.json",
|
|
2812
|
+
"sha256": "91dd4835d3feb7e58d08a5bd137c065487c968fb74133818da2599b91ddcae36"
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
"path": "src/smart/chat-window/lang/ru.json",
|
|
2816
|
+
"sha256": "076cce20780e9efda75bf08ac9c45bf4e318a3bc283f2221d93efd02ae14934f"
|
|
2817
|
+
}
|
|
2818
|
+
],
|
|
2819
|
+
"generated_runtime": []
|
|
2820
|
+
},
|
|
2821
|
+
"ai_guidance": {
|
|
2822
|
+
"use_when": "Use sf-chat-window for a whole chat: conversations, the open conversation and the field, on a host that implements simai.chat-port 1.0.0 (Mirai24's assistant, simai.chat).",
|
|
2823
|
+
"do_not": [
|
|
2824
|
+
"Do not fetch from the element: hand it a port (connect-port) or answer its events with settle",
|
|
2825
|
+
"Do not answer an intent both through a port and through settle",
|
|
2826
|
+
"Do not decide what a person may do from who wrote a message; give can_edit and can_delete",
|
|
2827
|
+
"Do not build a second list of conversations beside it; the window's sf-thread-list is the one",
|
|
2828
|
+
"Do not keep a queue of your own for messages sent while an answer is awaited; the window queues and sends them after the answer (no-queue turns it off)"
|
|
2829
|
+
],
|
|
2830
|
+
"required_reads": [
|
|
2831
|
+
"settings",
|
|
2832
|
+
"events",
|
|
2833
|
+
"actions",
|
|
2834
|
+
"port",
|
|
2835
|
+
"accessibility"
|
|
2836
|
+
],
|
|
2837
|
+
"minimal_example": "<sf-chat-window capabilities=\"assistant feedback proposals conversation-create conversation-manage\"></sf-chat-window> with element.connectPort({port: 'simai.chat-port', version: '1.0.0', capabilities: [], raise: (intent, payload) => host.answer(intent, payload)}) and element.setData({me, conversations, conversation: null, messages: []})",
|
|
2838
|
+
"owner_commands": [
|
|
2839
|
+
"node scripts/test.mjs",
|
|
2840
|
+
"node scripts/run-manifest-probes.mjs <free output> <package output> chat-window",
|
|
2841
|
+
"node scripts/run-first-paint.mjs gate <free output> <package output> chat-window"
|
|
2842
|
+
]
|
|
2843
|
+
}
|
|
2844
|
+
}
|