forked from Ikalus1988/MisakaNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeedback.schema.json
More file actions
59 lines (59 loc) · 1.72 KB
/
Copy pathfeedback.schema.json
File metadata and controls
59 lines (59 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/Ikalus1988/MisakaNet/schema/feedback.schema.json",
"title": "MisakaNet Node Feedback",
"description": "节点上报技能使用记录到 Hub",
"type": "object",
"required": ["node_id", "timestamp", "swarm", "records"],
"properties": {
"node_id": {
"type": "string",
"description": "节点标识符,如 hermes_wsl"
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 上报时间"
},
"swarm": {
"type": "string",
"description": "集群标识,同一用户的节点共享 swarm id"
},
"records": {
"type": "array",
"items": {
"type": "object",
"required": ["skill", "result", "scenario"],
"properties": {
"skill": {
"type": "string",
"description": "使用的 skill 名称"
},
"result": {
"type": "string",
"enum": ["success", "partial", "failure"],
"description": "skill 调用结果"
},
"scenario": {
"type": "string",
"description": "使用场景描述"
},
"session_ref": {
"type": "string",
"description": "会话 ID 引用(可选)"
},
"tags": {
"type": "array",
"items": { "type": "string" },
"description": "相关标签,如 fanuc, rag, performance"
},
"related_skills": {
"type": "array",
"items": { "type": "string" },
"description": "同场景下一起使用的其他 skill"
}
}
}
}
}
}