agent-policy-kit 0.0.0-stage → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,61 @@
1
1
  {
2
2
  "name": "agent-policy-kit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Configure native subagent settings across coding tools, then exit",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "Agent Policy Kit contributors",
8
+ "keywords": [
9
+ "codex",
10
+ "claude-code",
11
+ "kimi",
12
+ "antigravity",
13
+ "subagents",
14
+ "configuration",
15
+ "model-settings"
16
+ ],
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "engines": {
21
+ "node": "^22.13.0 || >=24.0.0"
22
+ },
23
+ "bin": {
24
+ "agent-policy": "bin/agent-policy.mjs"
25
+ },
26
+ "files": [
27
+ "bin/",
28
+ "src/",
29
+ "policies/",
30
+ "schema/",
31
+ "examples/",
32
+ "docs/",
33
+ "README.md",
34
+ "AGENT_INSTALL.md",
35
+ "LICENSE",
36
+ "CHANGELOG.md",
37
+ "site/index.html",
38
+ "models/"
39
+ ],
40
+ "scripts": {
41
+ "test": "node --test test/*.test.mjs",
42
+ "check": "node scripts/check.mjs",
43
+ "test:package": "node --test test/*package*.test.mjs",
44
+ "test:unit": "node scripts/test-unit.mjs",
45
+ "prepublishOnly": "npm run check && npm test",
46
+ "build:site": "node scripts/build-site.mjs",
47
+ "build:host": "npm run build:site && node scripts/build-host.mjs",
48
+ "test:cache": "node scripts/prime-test-cache.mjs"
49
+ },
50
+ "dependencies": {
51
+ "toml-eslint-parser": "1.0.3"
52
+ },
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "git+https://github.com/automatis-tools/agent-policy-kit.git"
56
+ },
57
+ "bugs": {
58
+ "url": "https://github.com/automatis-tools/agent-policy-kit/issues"
59
+ },
60
+ "homepage": "https://agent-policy-kit.maksymenko-ml.workers.dev/v/0.1.0/"
61
+ }
@@ -0,0 +1,96 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "maxConcurrent": 3,
4
+ "clients": {
5
+ "codex": {
6
+ "code": {
7
+ "model": "gpt-6.1-sol",
8
+ "effort": "medium"
9
+ },
10
+ "light": {
11
+ "model": "gpt-6-luna",
12
+ "effort": "low"
13
+ },
14
+ "roles": {
15
+ "reviewer": {
16
+ "model": "gpt-6.1-sol",
17
+ "effort": "high"
18
+ },
19
+ "explorer": {
20
+ "model": "gpt-6-luna",
21
+ "effort": "high"
22
+ },
23
+ "tester": {
24
+ "model": "gpt-6.1-sol",
25
+ "effort": "high"
26
+ },
27
+ "writer": {
28
+ "model": "gpt-6.1-sol",
29
+ "effort": "medium"
30
+ }
31
+ },
32
+ "avoidModels": []
33
+ },
34
+ "claude": {
35
+ "code": {
36
+ "model": "claude-sonnet-5-5",
37
+ "effort": "medium"
38
+ },
39
+ "light": {
40
+ "model": "claude-haiku-5-5",
41
+ "effort": "low"
42
+ },
43
+ "roles": {
44
+ "reviewer": {
45
+ "model": "claude-sonnet-5-5",
46
+ "effort": "high"
47
+ },
48
+ "explorer": {
49
+ "model": "claude-haiku-5-5",
50
+ "effort": "medium"
51
+ },
52
+ "tester": {
53
+ "model": "claude-sonnet-5-5",
54
+ "effort": "high"
55
+ },
56
+ "writer": {
57
+ "model": "claude-sonnet-5-5",
58
+ "effort": "medium"
59
+ }
60
+ },
61
+ "avoidModels": []
62
+ },
63
+ "kimi": {
64
+ "code": {
65
+ "model": "kimi-code/k3-256k",
66
+ "effort": "high"
67
+ },
68
+ "light": {
69
+ "model": "kimi-code/kimi-for-coding",
70
+ "effort": "low"
71
+ },
72
+ "avoidModels": []
73
+ },
74
+ "agy": {
75
+ "code": {
76
+ "model": "pro",
77
+ "effort": null
78
+ },
79
+ "light": {
80
+ "model": "flash_lite",
81
+ "effort": null
82
+ },
83
+ "roles": {
84
+ "explorer": {
85
+ "model": "flash",
86
+ "effort": null
87
+ },
88
+ "writer": {
89
+ "model": "flash",
90
+ "effort": null
91
+ }
92
+ },
93
+ "avoidModels": []
94
+ }
95
+ }
96
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "maxConcurrent": 3,
4
+ "clients": {
5
+ "codex": {
6
+ "code": {
7
+ "model": "gpt-6-luna",
8
+ "effort": "medium"
9
+ },
10
+ "light": {
11
+ "model": "gpt-6-luna",
12
+ "effort": "low"
13
+ },
14
+ "roles": {
15
+ "reviewer": {
16
+ "model": "gpt-6-luna",
17
+ "effort": "high"
18
+ },
19
+ "tester": {
20
+ "model": "gpt-6-luna",
21
+ "effort": "high"
22
+ }
23
+ },
24
+ "avoidModels": []
25
+ },
26
+ "claude": {
27
+ "code": {
28
+ "model": "claude-haiku-5-5",
29
+ "effort": "medium"
30
+ },
31
+ "light": {
32
+ "model": "claude-haiku-5-5",
33
+ "effort": "low"
34
+ },
35
+ "roles": {
36
+ "reviewer": {
37
+ "model": "claude-haiku-5-5",
38
+ "effort": "high"
39
+ },
40
+ "tester": {
41
+ "model": "claude-haiku-5-5",
42
+ "effort": "high"
43
+ }
44
+ },
45
+ "avoidModels": []
46
+ },
47
+ "kimi": {
48
+ "code": {
49
+ "model": "kimi-code/kimi-for-coding",
50
+ "effort": "low"
51
+ },
52
+ "light": {
53
+ "model": "kimi-code/kimi-for-coding",
54
+ "effort": "low"
55
+ },
56
+ "avoidModels": []
57
+ },
58
+ "agy": {
59
+ "code": {
60
+ "model": "flash",
61
+ "effort": null
62
+ },
63
+ "light": {
64
+ "model": "flash_lite",
65
+ "effort": null
66
+ },
67
+ "avoidModels": []
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,90 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "maxConcurrent": 3,
4
+ "clients": {
5
+ "codex": {
6
+ "code": {
7
+ "model": "gpt-6-astra",
8
+ "effort": "xhigh"
9
+ },
10
+ "light": {
11
+ "model": "gpt-6.1-sol",
12
+ "effort": "medium"
13
+ },
14
+ "roles": {
15
+ "explorer": {
16
+ "model": "gpt-6.1-sol",
17
+ "effort": "high"
18
+ },
19
+ "writer": {
20
+ "model": "gpt-6.1-sol",
21
+ "effort": "high"
22
+ }
23
+ },
24
+ "avoidModels": []
25
+ },
26
+ "claude": {
27
+ "code": {
28
+ "model": "claude-fable-5-1",
29
+ "effort": "xhigh"
30
+ },
31
+ "light": {
32
+ "model": "claude-sonnet-5-5",
33
+ "effort": "medium"
34
+ },
35
+ "roles": {
36
+ "explorer": {
37
+ "model": "claude-opus-5-5",
38
+ "effort": "high"
39
+ },
40
+ "writer": {
41
+ "model": "claude-opus-5-5",
42
+ "effort": "high"
43
+ }
44
+ },
45
+ "avoidModels": []
46
+ },
47
+ "kimi": {
48
+ "code": {
49
+ "model": "kimi-code/k3.1-pro",
50
+ "effort": "max"
51
+ },
52
+ "light": {
53
+ "model": "kimi-code/kimi-for-coding",
54
+ "effort": "high"
55
+ },
56
+ "roles": {
57
+ "explorer": {
58
+ "model": "kimi-code/k3",
59
+ "effort": "high"
60
+ },
61
+ "writer": {
62
+ "model": "kimi-code/k3",
63
+ "effort": "high"
64
+ }
65
+ },
66
+ "avoidModels": []
67
+ },
68
+ "agy": {
69
+ "code": {
70
+ "model": "pro",
71
+ "effort": null
72
+ },
73
+ "light": {
74
+ "model": "flash",
75
+ "effort": null
76
+ },
77
+ "roles": {
78
+ "explorer": {
79
+ "model": "pro",
80
+ "effort": null
81
+ },
82
+ "writer": {
83
+ "model": "pro",
84
+ "effort": null
85
+ }
86
+ },
87
+ "avoidModels": []
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,361 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Agent Policy Kit configuration preferences",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schemaVersion",
8
+ "maxConcurrent",
9
+ "clients"
10
+ ],
11
+ "properties": {
12
+ "selectedRoles": {
13
+ "type": "array",
14
+ "minItems": 1,
15
+ "maxItems": 6,
16
+ "uniqueItems": true,
17
+ "items": {
18
+ "enum": [
19
+ "worker",
20
+ "reviewer",
21
+ "explorer",
22
+ "tester",
23
+ "writer",
24
+ "routine"
25
+ ]
26
+ },
27
+ "description": "Native subagent roles to configure. Omit to include all six roles in this release."
28
+ },
29
+ "schemaVersion": {
30
+ "const": 1
31
+ },
32
+ "maxConcurrent": {
33
+ "type": "integer",
34
+ "minimum": 1,
35
+ "maximum": 32
36
+ },
37
+ "clients": {
38
+ "type": "object",
39
+ "minProperties": 1,
40
+ "additionalProperties": false,
41
+ "properties": {
42
+ "codex": {
43
+ "$ref": "#/$defs/client"
44
+ },
45
+ "claude": {
46
+ "$ref": "#/$defs/claudeClient"
47
+ },
48
+ "kimi": {
49
+ "$ref": "#/$defs/kimiClient"
50
+ },
51
+ "agy": {
52
+ "$ref": "#/$defs/tierClient"
53
+ }
54
+ }
55
+ }
56
+ },
57
+ "$defs": {
58
+ "identifier": {
59
+ "type": "string",
60
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@/\\[\\]-]{0,127}$"
61
+ },
62
+ "profile": {
63
+ "type": "object",
64
+ "additionalProperties": false,
65
+ "required": [
66
+ "model",
67
+ "effort"
68
+ ],
69
+ "properties": {
70
+ "model": {
71
+ "$ref": "#/$defs/identifier"
72
+ },
73
+ "effort": {
74
+ "enum": [
75
+ null,
76
+ "none",
77
+ "minimal",
78
+ "low",
79
+ "medium",
80
+ "high",
81
+ "xhigh",
82
+ "max"
83
+ ]
84
+ }
85
+ }
86
+ },
87
+ "tierProfile": {
88
+ "type": "object",
89
+ "additionalProperties": false,
90
+ "required": [
91
+ "model",
92
+ "effort"
93
+ ],
94
+ "properties": {
95
+ "model": {
96
+ "enum": [
97
+ "pro",
98
+ "flash",
99
+ "flash_lite",
100
+ "inherit"
101
+ ]
102
+ },
103
+ "effort": {
104
+ "type": "null"
105
+ }
106
+ }
107
+ },
108
+ "client": {
109
+ "type": "object",
110
+ "additionalProperties": false,
111
+ "required": [
112
+ "code",
113
+ "light",
114
+ "avoidModels"
115
+ ],
116
+ "properties": {
117
+ "code": {
118
+ "$ref": "#/$defs/profile"
119
+ },
120
+ "light": {
121
+ "$ref": "#/$defs/profile"
122
+ },
123
+ "avoidModels": {
124
+ "type": "array",
125
+ "maxItems": 32,
126
+ "uniqueItems": true,
127
+ "items": {
128
+ "$ref": "#/$defs/identifier"
129
+ }
130
+ },
131
+ "roles": {
132
+ "type": "object",
133
+ "additionalProperties": false,
134
+ "properties": {
135
+ "worker": {
136
+ "$ref": "#/$defs/profile"
137
+ },
138
+ "reviewer": {
139
+ "$ref": "#/$defs/profile"
140
+ },
141
+ "explorer": {
142
+ "$ref": "#/$defs/profile"
143
+ },
144
+ "routine": {
145
+ "$ref": "#/$defs/profile"
146
+ },
147
+ "tester": {
148
+ "$ref": "#/$defs/profile"
149
+ },
150
+ "writer": {
151
+ "$ref": "#/$defs/profile"
152
+ }
153
+ }
154
+ }
155
+ }
156
+ },
157
+ "tierClient": {
158
+ "type": "object",
159
+ "additionalProperties": false,
160
+ "required": [
161
+ "code",
162
+ "light",
163
+ "avoidModels"
164
+ ],
165
+ "properties": {
166
+ "code": {
167
+ "$ref": "#/$defs/tierProfile"
168
+ },
169
+ "light": {
170
+ "$ref": "#/$defs/tierProfile"
171
+ },
172
+ "avoidModels": {
173
+ "type": "array",
174
+ "maxItems": 32,
175
+ "uniqueItems": true,
176
+ "items": {
177
+ "$ref": "#/$defs/identifier"
178
+ }
179
+ },
180
+ "roles": {
181
+ "type": "object",
182
+ "additionalProperties": false,
183
+ "properties": {
184
+ "worker": {
185
+ "$ref": "#/$defs/tierProfile"
186
+ },
187
+ "reviewer": {
188
+ "$ref": "#/$defs/tierProfile"
189
+ },
190
+ "explorer": {
191
+ "$ref": "#/$defs/tierProfile"
192
+ },
193
+ "routine": {
194
+ "$ref": "#/$defs/tierProfile"
195
+ },
196
+ "tester": {
197
+ "$ref": "#/$defs/tierProfile"
198
+ },
199
+ "writer": {
200
+ "$ref": "#/$defs/tierProfile"
201
+ }
202
+ }
203
+ }
204
+ }
205
+ },
206
+ "kimiProfile": {
207
+ "type": "object",
208
+ "additionalProperties": false,
209
+ "required": [
210
+ "model",
211
+ "effort"
212
+ ],
213
+ "properties": {
214
+ "model": {
215
+ "allOf": [
216
+ {
217
+ "$ref": "#/$defs/identifier"
218
+ },
219
+ {
220
+ "not": {
221
+ "const": "primary"
222
+ }
223
+ }
224
+ ]
225
+ },
226
+ "effort": {
227
+ "enum": [
228
+ null,
229
+ "low",
230
+ "medium",
231
+ "high",
232
+ "xhigh",
233
+ "max"
234
+ ]
235
+ }
236
+ }
237
+ },
238
+ "kimiClient": {
239
+ "type": "object",
240
+ "additionalProperties": false,
241
+ "required": [
242
+ "code",
243
+ "light",
244
+ "avoidModels"
245
+ ],
246
+ "properties": {
247
+ "code": {
248
+ "$ref": "#/$defs/kimiProfile"
249
+ },
250
+ "light": {
251
+ "$ref": "#/$defs/kimiProfile"
252
+ },
253
+ "avoidModels": {
254
+ "type": "array",
255
+ "maxItems": 32,
256
+ "uniqueItems": true,
257
+ "items": {
258
+ "$ref": "#/$defs/identifier"
259
+ }
260
+ },
261
+ "roles": {
262
+ "type": "object",
263
+ "additionalProperties": false,
264
+ "properties": {
265
+ "worker": {
266
+ "$ref": "#/$defs/kimiProfile"
267
+ },
268
+ "reviewer": {
269
+ "$ref": "#/$defs/kimiProfile"
270
+ },
271
+ "explorer": {
272
+ "$ref": "#/$defs/kimiProfile"
273
+ },
274
+ "routine": {
275
+ "$ref": "#/$defs/kimiProfile"
276
+ },
277
+ "tester": {
278
+ "$ref": "#/$defs/kimiProfile"
279
+ },
280
+ "writer": {
281
+ "$ref": "#/$defs/kimiProfile"
282
+ }
283
+ }
284
+ }
285
+ }
286
+ },
287
+ "claudeProfile": {
288
+ "type": "object",
289
+ "additionalProperties": false,
290
+ "required": [
291
+ "model",
292
+ "effort"
293
+ ],
294
+ "properties": {
295
+ "model": {
296
+ "$ref": "#/$defs/identifier"
297
+ },
298
+ "effort": {
299
+ "enum": [
300
+ null,
301
+ "low",
302
+ "medium",
303
+ "high",
304
+ "xhigh",
305
+ "max"
306
+ ]
307
+ }
308
+ }
309
+ },
310
+ "claudeClient": {
311
+ "type": "object",
312
+ "additionalProperties": false,
313
+ "required": [
314
+ "code",
315
+ "light",
316
+ "avoidModels"
317
+ ],
318
+ "properties": {
319
+ "code": {
320
+ "$ref": "#/$defs/claudeProfile"
321
+ },
322
+ "light": {
323
+ "$ref": "#/$defs/claudeProfile"
324
+ },
325
+ "avoidModels": {
326
+ "type": "array",
327
+ "maxItems": 32,
328
+ "uniqueItems": true,
329
+ "items": {
330
+ "$ref": "#/$defs/identifier"
331
+ }
332
+ },
333
+ "roles": {
334
+ "type": "object",
335
+ "additionalProperties": false,
336
+ "properties": {
337
+ "worker": {
338
+ "$ref": "#/$defs/claudeProfile"
339
+ },
340
+ "reviewer": {
341
+ "$ref": "#/$defs/claudeProfile"
342
+ },
343
+ "explorer": {
344
+ "$ref": "#/$defs/claudeProfile"
345
+ },
346
+ "routine": {
347
+ "$ref": "#/$defs/claudeProfile"
348
+ },
349
+ "tester": {
350
+ "$ref": "#/$defs/claudeProfile"
351
+ },
352
+ "writer": {
353
+ "$ref": "#/$defs/claudeProfile"
354
+ }
355
+ }
356
+ }
357
+ }
358
+ }
359
+ },
360
+ "$comment": "Model-specific supported effort is checked against the release catalog; null means no explicit effort override. Only conflicting non-null Kimi alias pins are invalid."
361
+ }