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