com.suibari.nagi.generatePostAssist
Schema Diff
+9 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "com.suibari.nagi.generatePostAssist:input.mode" }
- AddedEdge AddedEdge { src: "com.suibari.nagi.generatePostAssist:input", tgt: "com.suibari.nagi.generatePostAssist:input.mode", kind: "prop", name: Some("mode") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.suibari.nagi.generatePostAssist:input.mode" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.suibari.nagi.generatePostAssist:input", tgt: "com.suibari.nagi.generatePostAssist:input.mode", kind: "prop", name: Some("mode") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "投稿を書いている途中で手が止まった本人へ、botたんが書く手助けになるひとことを生成する。書きかけの本文は生成にだけ使い、保存しない。",
5
+
"description": "投稿を書いている本人へ、書きかけの具体的な良さを肯定するか、未入力・削除時に発想を促すひとことを生成する。書きかけの本文は生成にだけ使い、保存しない。",
6
6
"errors": [
7
7
{
8
8
"name": "AuthRequired"
9
9
},
10
10
{
11
11
"name": "InvalidRequest"
12
12
},
13
13
{
14
14
"name": "RateLimited"
15
15
},
16
16
{
17
17
"name": "UpstreamUnavailable"
18
18
}
19
19
],
20
20
"input": {
21
21
"encoding": "application/json",
22
22
"schema": {
23
23
"properties": {
24
24
"lang": {
25
25
"knownValues": [
26
26
"ja",
27
27
"en"
28
28
],
29
29
"type": "string"
30
30
},
31
+
"mode": {
32
+
"description": "affirm は書きかけの具体的な良さを肯定、question は発想を促す問いかけ。クライアントは IME 変換を除く実際の削除時に question、その後の追記で affirm へ戻す。未指定なら本文ありは affirm。空白のみ・空文字は常に question。",
33
+
"knownValues": [
34
+
"affirm",
35
+
"question"
36
+
],
37
+
"type": "string"
38
+
},
31
39
"previous": {
32
40
"description": "同じ書きかけの間にすでに出したひとこと。繰り返さないために渡す。",
33
41
"items": {
34
42
"maxGraphemes": 200,
35
43
"maxLength": 2000,
36
44
"type": "string"
37
45
},
38
46
"maxLength": 5,
39
47
"type": "array"
40
48
},
41
49
"text": {
42
50
"description": "書きかけの本文。空文字なら書き始める前の声かけになる。",
43
51
"maxGraphemes": 3000,
44
52
"maxLength": 30000,
45
53
"type": "string"
46
54
},
47
55
"today": {
48
56
"description": "本人の端末のローカル日付 YYYY-MM-DD。日記の「同じ日付」を探すのに使う。",
49
57
"type": "string"
50
58
}
51
59
},
52
60
"required": [
53
61
"text",
54
62
"lang",
55
63
"today"
56
64
],
57
65
"type": "object"
58
66
}
59
67
},
60
68
"output": {
61
69
"encoding": "application/json",
62
70
"schema": {
63
71
"properties": {
64
72
"message": {
65
73
"maxGraphemes": 200,
66
74
"type": "string"
67
75
}
68
76
},
69
77
"required": [
70
78
"message"
71
79
],
72
80
"type": "object"
73
81
}
74
82
},
75
83
"type": "procedure"
76
84
}
77
85
},
78
86
"id": "com.suibari.nagi.generatePostAssist",
79
87
"lexicon": 1
80
88
}