deepseek-coder-agent-cli 1.0.71 → 1.0.73

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,238 +1,238 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Agent Ruleset Contract v1.0",
4
- "description": "Schema describing the ordered phases, steps, and rules that govern agent execution.",
5
- "type": "object",
6
- "required": ["contractVersion", "profile", "version", "phases"],
7
- "properties": {
8
- "contractVersion": {
9
- "type": "string",
10
- "description": "Version of the agent rules contract the payload adheres to."
11
- },
12
- "profile": {
13
- "type": "string",
14
- "description": "Profile identifier the ruleset targets (e.g., general, agi-code)."
15
- },
16
- "version": {
17
- "type": "string",
18
- "description": "Semantic or date-based version of the ruleset."
19
- },
20
- "label": {
21
- "type": "string",
22
- "description": "Optional human readable name for the ruleset."
23
- },
24
- "description": {
25
- "type": "string",
26
- "description": "Optional long form description for the ruleset."
27
- },
28
- "globalPrinciples": {
29
- "type": "array",
30
- "description": "Rules that apply to every phase and step.",
31
- "items": {
32
- "$ref": "#/definitions/Rule"
33
- }
34
- },
35
- "phases": {
36
- "type": "array",
37
- "minItems": 1,
38
- "items": {
39
- "$ref": "#/definitions/Phase"
40
- },
41
- "description": "Ordered phases the agent should move through."
42
- },
43
- "metadata": {
44
- "type": "object",
45
- "description": "Optional implementation specific metadata."
46
- }
47
- },
48
- "definitions": {
49
- "Phase": {
50
- "type": "object",
51
- "required": ["id", "label", "steps"],
52
- "properties": {
53
- "id": {
54
- "type": "string",
55
- "description": "Stable identifier for the phase."
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Agent Ruleset Contract v1.0",
4
+ "description": "Schema describing the ordered phases, steps, and rules that govern agent execution.",
5
+ "type": "object",
6
+ "required": ["contractVersion", "profile", "version", "phases"],
7
+ "properties": {
8
+ "contractVersion": {
9
+ "type": "string",
10
+ "description": "Version of the agent rules contract the payload adheres to."
11
+ },
12
+ "profile": {
13
+ "type": "string",
14
+ "description": "Profile identifier the ruleset targets (e.g., general, agi-code)."
15
+ },
16
+ "version": {
17
+ "type": "string",
18
+ "description": "Semantic or date-based version of the ruleset."
56
19
  },
57
20
  "label": {
58
- "type": "string",
59
- "description": "Display name for operators."
60
- },
61
- "description": {
62
- "type": "string",
63
- "description": "What the phase accomplishes."
64
- },
65
- "trigger": {
66
- "type": "string",
67
- "description": "Events or conditions that start the phase."
68
- },
69
- "steps": {
70
- "type": "array",
71
- "minItems": 1,
72
- "items": {
73
- "$ref": "#/definitions/Step"
74
- },
75
- "description": "Steps within the phase."
76
- },
77
- "metadata": {
78
- "type": "object",
79
- "description": "Additional data used by tooling."
80
- }
81
- }
82
- },
83
- "Step": {
84
- "type": "object",
85
- "required": ["id", "title", "rules"],
86
- "properties": {
87
- "id": {
88
- "type": "string",
89
- "description": "Stable identifier for the step."
90
- },
91
- "title": {
92
- "type": "string",
93
- "description": "Name of the step."
21
+ "type": "string",
22
+ "description": "Optional human readable name for the ruleset."
94
23
  },
95
24
  "description": {
96
- "type": "string",
97
- "description": "High-level summary of the step."
98
- },
99
- "intent": {
100
- "type": "string",
101
- "description": "Goal the agent should accomplish."
102
- },
103
- "entryCriteria": {
104
- "type": "array",
105
- "description": "Conditions that must be true before the step begins.",
106
- "items": {
107
- "type": "string"
108
- }
109
- },
110
- "exitCriteria": {
111
- "type": "array",
112
- "description": "Conditions that must be satisfied before leaving the step.",
113
- "items": {
114
- "type": "string"
115
- }
116
- },
117
- "allowedTools": {
118
- "type": "array",
119
- "description": "Tool IDs explicitly allowed during the step.",
120
- "items": {
121
- "type": "string"
122
- },
123
- "uniqueItems": true
124
- },
125
- "blockedTools": {
126
- "type": "array",
127
- "description": "Tool IDs that are prohibited while inside the step.",
128
- "items": {
129
- "type": "string"
130
- },
131
- "uniqueItems": true
132
- },
133
- "notes": {
134
- "type": "array",
135
- "description": "Free-form operator notes for the step.",
136
- "items": {
137
- "type": "string"
138
- }
139
- },
140
- "rules": {
141
- "type": "array",
142
- "minItems": 1,
143
- "items": {
144
- "$ref": "#/definitions/Rule"
145
- },
146
- "description": "Rules that must be followed while executing the step."
147
- },
148
- "subSteps": {
149
- "type": "array",
150
- "description": "Nested sub-steps that inherit context from the parent.",
151
- "items": {
152
- "$ref": "#/definitions/Step"
153
- }
154
- },
155
- "metadata": {
156
- "type": "object",
157
- "description": "Implementation specific details."
158
- }
159
- }
160
- },
161
- "Rule": {
162
- "type": "object",
163
- "required": ["id", "summary", "severity"],
164
- "properties": {
165
- "id": {
166
- "type": "string",
167
- "description": "Stable identifier for the rule."
168
- },
169
- "summary": {
170
- "type": "string",
171
- "description": "Short instruction that must be enforced."
172
- },
173
- "detail": {
174
- "type": "string",
175
- "description": "Extended rationale or clarification."
176
- },
177
- "severity": {
178
- "type": "string",
179
- "enum": ["critical", "required", "recommended"],
180
- "description": "How strictly the rule must be enforced."
181
- },
182
- "appliesDuring": {
183
- "type": "array",
184
- "description": "Optional labels describing where the rule applies (analysis, planning, edits, etc.).",
185
- "items": {
186
- "type": "string"
187
- }
188
- },
189
- "evidenceRequired": {
190
- "type": "string",
191
- "description": "Evidence the agent must cite when reporting compliance."
192
- },
193
- "references": {
194
- "type": "array",
195
- "description": "Supporting documentation for the rule.",
196
- "items": {
197
- "$ref": "#/definitions/Reference"
198
- }
199
- },
200
- "toolHints": {
201
- "type": "array",
202
- "description": "Suggested tools for satisfying the rule.",
203
- "items": {
204
- "type": "string"
205
- }
25
+ "type": "string",
26
+ "description": "Optional long form description for the ruleset."
27
+ },
28
+ "globalPrinciples": {
29
+ "type": "array",
30
+ "description": "Rules that apply to every phase and step.",
31
+ "items": {
32
+ "$ref": "#/definitions/Rule"
33
+ }
34
+ },
35
+ "phases": {
36
+ "type": "array",
37
+ "minItems": 1,
38
+ "items": {
39
+ "$ref": "#/definitions/Phase"
40
+ },
41
+ "description": "Ordered phases the agent should move through."
206
42
  },
207
43
  "metadata": {
208
- "type": "object",
209
- "description": "Implementation specific metadata."
44
+ "type": "object",
45
+ "description": "Optional implementation specific metadata."
210
46
  }
211
- }
212
47
  },
213
- "Reference": {
214
- "type": "object",
215
- "required": ["label"],
216
- "properties": {
217
- "label": {
218
- "type": "string",
219
- "description": "Human readable name for the reference."
220
- },
221
- "url": {
222
- "type": "string",
223
- "format": "uri",
224
- "description": "Optional link to supporting documentation."
225
- },
226
- "file": {
227
- "type": "string",
228
- "description": "Workspace relative file reference."
229
- },
230
- "line": {
231
- "type": "integer",
232
- "minimum": 1,
233
- "description": "Line number in the referenced file."
48
+ "definitions": {
49
+ "Phase": {
50
+ "type": "object",
51
+ "required": ["id", "label", "steps"],
52
+ "properties": {
53
+ "id": {
54
+ "type": "string",
55
+ "description": "Stable identifier for the phase."
56
+ },
57
+ "label": {
58
+ "type": "string",
59
+ "description": "Display name for operators."
60
+ },
61
+ "description": {
62
+ "type": "string",
63
+ "description": "What the phase accomplishes."
64
+ },
65
+ "trigger": {
66
+ "type": "string",
67
+ "description": "Events or conditions that start the phase."
68
+ },
69
+ "steps": {
70
+ "type": "array",
71
+ "minItems": 1,
72
+ "items": {
73
+ "$ref": "#/definitions/Step"
74
+ },
75
+ "description": "Steps within the phase."
76
+ },
77
+ "metadata": {
78
+ "type": "object",
79
+ "description": "Additional data used by tooling."
80
+ }
81
+ }
82
+ },
83
+ "Step": {
84
+ "type": "object",
85
+ "required": ["id", "title", "rules"],
86
+ "properties": {
87
+ "id": {
88
+ "type": "string",
89
+ "description": "Stable identifier for the step."
90
+ },
91
+ "title": {
92
+ "type": "string",
93
+ "description": "Name of the step."
94
+ },
95
+ "description": {
96
+ "type": "string",
97
+ "description": "High-level summary of the step."
98
+ },
99
+ "intent": {
100
+ "type": "string",
101
+ "description": "Goal the agent should accomplish."
102
+ },
103
+ "entryCriteria": {
104
+ "type": "array",
105
+ "description": "Conditions that must be true before the step begins.",
106
+ "items": {
107
+ "type": "string"
108
+ }
109
+ },
110
+ "exitCriteria": {
111
+ "type": "array",
112
+ "description": "Conditions that must be satisfied before leaving the step.",
113
+ "items": {
114
+ "type": "string"
115
+ }
116
+ },
117
+ "allowedTools": {
118
+ "type": "array",
119
+ "description": "Tool IDs explicitly allowed during the step.",
120
+ "items": {
121
+ "type": "string"
122
+ },
123
+ "uniqueItems": true
124
+ },
125
+ "blockedTools": {
126
+ "type": "array",
127
+ "description": "Tool IDs that are prohibited while inside the step.",
128
+ "items": {
129
+ "type": "string"
130
+ },
131
+ "uniqueItems": true
132
+ },
133
+ "notes": {
134
+ "type": "array",
135
+ "description": "Free-form operator notes for the step.",
136
+ "items": {
137
+ "type": "string"
138
+ }
139
+ },
140
+ "rules": {
141
+ "type": "array",
142
+ "minItems": 1,
143
+ "items": {
144
+ "$ref": "#/definitions/Rule"
145
+ },
146
+ "description": "Rules that must be followed while executing the step."
147
+ },
148
+ "subSteps": {
149
+ "type": "array",
150
+ "description": "Nested sub-steps that inherit context from the parent.",
151
+ "items": {
152
+ "$ref": "#/definitions/Step"
153
+ }
154
+ },
155
+ "metadata": {
156
+ "type": "object",
157
+ "description": "Implementation specific details."
158
+ }
159
+ }
160
+ },
161
+ "Rule": {
162
+ "type": "object",
163
+ "required": ["id", "summary", "severity"],
164
+ "properties": {
165
+ "id": {
166
+ "type": "string",
167
+ "description": "Stable identifier for the rule."
168
+ },
169
+ "summary": {
170
+ "type": "string",
171
+ "description": "Short instruction that must be enforced."
172
+ },
173
+ "detail": {
174
+ "type": "string",
175
+ "description": "Extended rationale or clarification."
176
+ },
177
+ "severity": {
178
+ "type": "string",
179
+ "enum": ["critical", "required", "recommended"],
180
+ "description": "How strictly the rule must be enforced."
181
+ },
182
+ "appliesDuring": {
183
+ "type": "array",
184
+ "description": "Optional labels describing where the rule applies (analysis, planning, edits, etc.).",
185
+ "items": {
186
+ "type": "string"
187
+ }
188
+ },
189
+ "evidenceRequired": {
190
+ "type": "string",
191
+ "description": "Evidence the agent must cite when reporting compliance."
192
+ },
193
+ "references": {
194
+ "type": "array",
195
+ "description": "Supporting documentation for the rule.",
196
+ "items": {
197
+ "$ref": "#/definitions/Reference"
198
+ }
199
+ },
200
+ "toolHints": {
201
+ "type": "array",
202
+ "description": "Suggested tools for satisfying the rule.",
203
+ "items": {
204
+ "type": "string"
205
+ }
206
+ },
207
+ "metadata": {
208
+ "type": "object",
209
+ "description": "Implementation specific metadata."
210
+ }
211
+ }
212
+ },
213
+ "Reference": {
214
+ "type": "object",
215
+ "required": ["label"],
216
+ "properties": {
217
+ "label": {
218
+ "type": "string",
219
+ "description": "Human readable name for the reference."
220
+ },
221
+ "url": {
222
+ "type": "string",
223
+ "format": "uri",
224
+ "description": "Optional link to supporting documentation."
225
+ },
226
+ "file": {
227
+ "type": "string",
228
+ "description": "Workspace relative file reference."
229
+ },
230
+ "line": {
231
+ "type": "integer",
232
+ "minimum": 1,
233
+ "description": "Line number in the referenced file."
234
+ }
235
+ }
234
236
  }
235
- }
236
237
  }
237
- }
238
238
  }