agent-first-data 0.26.2 → 0.28.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.
@@ -1,227 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://agentfirstkit.org/schemas/agent-first-data/cli-help-v1.schema.json",
4
- "title": "AFDATA CLI help v1 event",
5
- "description": "Compact, progressively disclosed CLI help carried by an AFDATA result event.",
6
- "type": "object",
7
- "required": [
8
- "kind",
9
- "result",
10
- "trace"
11
- ],
12
- "additionalProperties": false,
13
- "properties": {
14
- "kind": {
15
- "const": "result"
16
- },
17
- "result": {
18
- "type": "object",
19
- "required": [
20
- "code",
21
- "help"
22
- ],
23
- "additionalProperties": false,
24
- "properties": {
25
- "code": {
26
- "const": "help"
27
- },
28
- "help": {
29
- "$ref": "#/$defs/help"
30
- }
31
- }
32
- },
33
- "trace": {
34
- "type": "object"
35
- }
36
- },
37
- "$defs": {
38
- "argument": {
39
- "type": "object",
40
- "required": [
41
- "name"
42
- ],
43
- "additionalProperties": false,
44
- "properties": {
45
- "name": {
46
- "type": "string",
47
- "minLength": 1
48
- },
49
- "short": {
50
- "type": "string",
51
- "pattern": "^-[^-]$"
52
- },
53
- "help": {
54
- "type": "string",
55
- "minLength": 1
56
- },
57
- "required": {
58
- "const": true
59
- },
60
- "global": {
61
- "const": true
62
- },
63
- "repeatable": {
64
- "const": true
65
- },
66
- "value": {
67
- "type": "string",
68
- "minLength": 1
69
- },
70
- "values": {
71
- "type": "array",
72
- "minItems": 1,
73
- "items": {
74
- "type": "string",
75
- "minLength": 1
76
- }
77
- },
78
- "default": {
79
- "type": "string"
80
- },
81
- "defaults": {
82
- "type": "array",
83
- "minItems": 1,
84
- "items": {
85
- "type": "string"
86
- }
87
- }
88
- },
89
- "allOf": [
90
- {
91
- "if": {
92
- "properties": {
93
- "name": {
94
- "pattern": "^-"
95
- }
96
- }
97
- },
98
- "else": {
99
- "not": {
100
- "anyOf": [
101
- {
102
- "required": [
103
- "value"
104
- ]
105
- },
106
- {
107
- "required": [
108
- "values"
109
- ]
110
- }
111
- ]
112
- }
113
- }
114
- },
115
- {
116
- "not": {
117
- "required": [
118
- "value",
119
- "values"
120
- ]
121
- }
122
- },
123
- {
124
- "not": {
125
- "required": [
126
- "default",
127
- "defaults"
128
- ]
129
- }
130
- }
131
- ]
132
- },
133
- "command": {
134
- "type": "object",
135
- "required": [
136
- "name"
137
- ],
138
- "additionalProperties": false,
139
- "properties": {
140
- "name": {
141
- "type": "string",
142
- "minLength": 1
143
- },
144
- "about": {
145
- "type": "string",
146
- "minLength": 1
147
- },
148
- "usage": {
149
- "type": "string",
150
- "minLength": 1,
151
- "pattern": "^[^\\n\\r]+$"
152
- },
153
- "arguments": {
154
- "type": "array",
155
- "minItems": 1,
156
- "items": {
157
- "$ref": "#/$defs/argument"
158
- }
159
- },
160
- "subcommands": {
161
- "type": "array",
162
- "minItems": 1,
163
- "items": {
164
- "$ref": "#/$defs/command"
165
- }
166
- }
167
- }
168
- },
169
- "help": {
170
- "type": "object",
171
- "required": [
172
- "scope",
173
- "command_path",
174
- "name"
175
- ],
176
- "additionalProperties": false,
177
- "properties": {
178
- "scope": {
179
- "enum": [
180
- "one_level",
181
- "recursive"
182
- ]
183
- },
184
- "command_path": {
185
- "type": "string",
186
- "minLength": 1
187
- },
188
- "inherited_arguments_from": {
189
- "type": "array",
190
- "minItems": 1,
191
- "uniqueItems": true,
192
- "items": {
193
- "type": "string",
194
- "minLength": 1
195
- }
196
- },
197
- "name": {
198
- "type": "string",
199
- "minLength": 1
200
- },
201
- "about": {
202
- "type": "string",
203
- "minLength": 1
204
- },
205
- "usage": {
206
- "type": "string",
207
- "minLength": 1,
208
- "pattern": "^[^\\n\\r]+$"
209
- },
210
- "arguments": {
211
- "type": "array",
212
- "minItems": 1,
213
- "items": {
214
- "$ref": "#/$defs/argument"
215
- }
216
- },
217
- "subcommands": {
218
- "type": "array",
219
- "minItems": 1,
220
- "items": {
221
- "$ref": "#/$defs/command"
222
- }
223
- }
224
- }
225
- }
226
- }
227
- }