agent-policy-kit 0.2.0 → 0.3.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/AGENT_INSTALL.md +8 -8
- package/CHANGELOG.md +41 -0
- package/README.md +16 -55
- package/bin/agent-policy.mjs +10 -10
- package/docs/assets/configurator.png +0 -0
- package/docs/assets/subagent-limits.svg +44 -0
- package/docs/compatibility.md +22 -6
- package/docs/configuration-page.md +10 -10
- package/docs/deployment.md +2 -0
- package/docs/development.md +10 -0
- package/docs/installation.md +3 -3
- package/docs/limits-evidence.md +24 -0
- package/docs/model-catalog.md +15 -15
- package/docs/policy.md +1 -1
- package/docs/releases.md +4 -4
- package/docs/use-cases.md +3 -3
- package/docs/verification.md +16 -0
- package/models/catalog.json +6 -6
- package/package.json +7 -3
- package/policies/balanced.json +2 -2
- package/policies/fast.json +2 -2
- package/policies/quality.json +2 -2
- package/schema/policy.schema.json +2 -2
- package/site/index.html +85 -46
- package/src/detect.mjs +61 -13
- package/src/explicit.mjs +4 -4
- package/src/inspect.mjs +12 -12
- package/src/install.mjs +5 -5
- package/src/native.mjs +8 -8
- package/src/output.mjs +5 -5
- package/src/policy.mjs +2 -2
- package/src/release.mjs +1 -1
- package/src/setup.mjs +1 -1
- package/src/share.mjs +1 -1
package/docs/releases.md
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
Inspect the release and preview its plan:
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npx --yes --ignore-scripts --package agent-policy-kit@0.
|
|
11
|
-
npx --yes --ignore-scripts --package agent-policy-kit@0.
|
|
10
|
+
npx --yes --ignore-scripts --package agent-policy-kit@0.3.0 agent-policy release
|
|
11
|
+
npx --yes --ignore-scripts --package agent-policy-kit@0.3.0 agent-policy setup --release
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Apply explicitly:
|
|
15
15
|
|
|
16
16
|
```sh
|
|
17
|
-
npx --yes --ignore-scripts --package agent-policy-kit@0.
|
|
17
|
+
npx --yes --ignore-scripts --package agent-policy-kit@0.3.0 agent-policy setup --release --preset balanced --apply
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
The package you select supplies both preferences and native templates. --release is a boolean, not another version argument. --preset selects fast/balanced/quality; its identity is stored alongside release/source. The same pattern selects an older compatible release for downgrade. Installing/updating an npm package alone does not change native files. Before publication, use that release's verified .tgz instead of the registry package spec.
|
|
@@ -37,4 +37,4 @@ Current native receipt v4 records the selected subset of six bounded role filena
|
|
|
37
37
|
|
|
38
38
|
A release reproduces declared settings and templates. Provider aliases/tiers can resolve to new models, old model IDs can retire, and account access can change. See [model maintenance](model-updates.md). No runtime updater or model gateway is installed.
|
|
39
39
|
|
|
40
|
-
Read [CHANGELOG](../CHANGELOG.md) for what changed, why, who should update and migration limits.
|
|
40
|
+
Read [CHANGELOG](../CHANGELOG.md) for what changed, why, who should update and migration limits. Versions 0.1.0 and 0.2.0 are published and 0.3.0 is being prepared; synthetic versions in acceptance tests are not real releases.
|
package/docs/use-cases.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Add only reviewers and researchers
|
|
4
4
|
|
|
5
|
-
Choose Reviewer and Researcher in the page, then select your
|
|
5
|
+
Choose Reviewer and Researcher in the page, then select your AI assistants. APK creates only apk-reviewer and apk-explorer. Later additions can expand this set. Removing a selected role removes its earlier owned definition while preserving unrelated files and edits.
|
|
6
6
|
|
|
7
|
-
## One role scheme across
|
|
7
|
+
## One role scheme across AI assistants
|
|
8
8
|
|
|
9
9
|
Choose models for the six focused roles: implementation, review, discovery, tests, documentation and prescribed execution. Presets provide role-specific starting choices. Each tool receives native definitions and delegation instructions; no central dispatcher runs between it and its provider.
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ Apply the shared preferences to delegated helpers while preserving each tool's m
|
|
|
14
14
|
|
|
15
15
|
## Configure and discard the installer
|
|
16
16
|
|
|
17
|
-
Run detected setup with --apply, verify native files, remove the npm package, and start your
|
|
17
|
+
Run detected setup with --apply, verify native files, remove the npm package, and start your AI assistants normally. Saved role files and settings keep working through native features.
|
|
18
18
|
|
|
19
19
|
## Customize model choices
|
|
20
20
|
|
package/docs/verification.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Configuration checks, native loading and model execution are separate results.
|
|
4
4
|
|
|
5
|
+
## 0.3.0
|
|
6
|
+
|
|
7
|
+
macOS arm64, 2026-11-01.
|
|
8
|
+
|
|
9
|
+
| Layer | Current evidence |
|
|
10
|
+
|---|---|
|
|
11
|
+
| Full Node 26.5.1 suite | PASS: 368/368, including source-denied real-tarball gates, desktop app bundle detection and the renamed `chatgpt` and `gemini` IDs. A second run with `/Applications` replaced by a missing directory also passed 368/368, so no test depends on apps installed on the host |
|
|
12
|
+
| Hosted CI | PASS on main e8c6ac3: macOS Node 22.13.0 and Ubuntu Node 24 suites plus site-build ([run](https://github.com/automatis-tools/agent-policy-kit/actions/runs/41348755442)) |
|
|
13
|
+
| Two synthetic releases | PASS: the actual 0.3.0 tarball and a synthetic 0.4.0 tarball, A to B to A, mixed applied versions, drift safety and original-user restoration |
|
|
14
|
+
| Published 0.2.0 to 0.3.0 | PASS in an isolated HOME with the npm 0.2.0 package: ChatGPT/Codex reports `OWNERSHIP_CONFLICT` in both directions until the creating version removes it, then setup succeeds; Claude upgrades to 0.3.0 and moves back to 0.2.0 in place; Grok upgrades in place. Kimi NOT CHECKED with a provisioned model pool |
|
|
15
|
+
| Desktop app detection | PASS with the installed apps and a PATH without CLIs: ChatGPT Desktop's bundled `codex-cli 0.166.0-alpha.5.1` and Claude Desktop's bundled Claude Code 2.1.309, both reported as `desktop_app` |
|
|
16
|
+
| Browser | PASS in local Chromium previews: the "AI assistants" step empty and with two assistants, its note, the All scope and the generated `--chatgpt` command |
|
|
17
|
+
| Native ChatGPT/Claude/Kimi/Gemini/Grok loading and provider execution | NOT CHECKED for 0.3.0; no live model tasks used as configuration proof |
|
|
18
|
+
| npm packaging | PASS: `npm pack --dry-run` and `npm publish --dry-run` list 45 files; no private evidence or configuration |
|
|
19
|
+
| Current model catalog | Unchanged from 0.2.0 apart from the `chatgpt`/`gemini` keys and general labels: ChatGPT 9 selectors, Claude 19 selectors, Kimi 6 preferred aliases, Gemini 4 Antigravity tiers, Grok 4 model IDs. Account access and model quality are not established by configuration tests. |
|
|
20
|
+
|
|
5
21
|
## 0.2.0
|
|
6
22
|
|
|
7
23
|
macOS arm64, 2026-11-01.
|
package/models/catalog.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"reviewedAt": "2026-10-30",
|
|
4
4
|
"scope": "Documented/native coding-tool selectors at this release; account access and custom deployment IDs vary.",
|
|
5
5
|
"clients": {
|
|
6
|
-
"
|
|
7
|
-
"label": "
|
|
6
|
+
"chatgpt": {
|
|
7
|
+
"label": "ChatGPT",
|
|
8
8
|
"efforts": [
|
|
9
9
|
"none",
|
|
10
10
|
"minimal",
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
"note": "Efforts and defaults follow the bundled Codex CLI 0.166.0 catalog. API capabilities are separate apiEfforts/apiDefaultEffort metadata. Ultra is a delegating execution mode, recorded separately and not offered as ordinary subagent effort. An API-supported level absent from the native catalog is unverified for manual per-role configuration, not proven runtime-rejected."
|
|
266
266
|
},
|
|
267
267
|
"claude": {
|
|
268
|
-
"label": "Claude
|
|
268
|
+
"label": "Claude",
|
|
269
269
|
"efforts": [
|
|
270
270
|
"low",
|
|
271
271
|
"medium",
|
|
@@ -655,8 +655,8 @@
|
|
|
655
655
|
"observedClientVersion": "2.4.0",
|
|
656
656
|
"observation": "Kimi Code CLI 2.4.0: all six documented preferred aliases and native effort/default capabilities corroborated through whitelisted provisioned metadata; no credentials or custom account aliases retained."
|
|
657
657
|
},
|
|
658
|
-
"
|
|
659
|
-
"label": "
|
|
658
|
+
"gemini": {
|
|
659
|
+
"label": "Gemini",
|
|
660
660
|
"efforts": [],
|
|
661
661
|
"observedClientVersion": "1.4.10",
|
|
662
662
|
"models": [
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
"note": "Native per-subagent selectors are tiers, not the session model inventory. CLI 1.4.10 parser explicitly accepts inherit/flash_lite/flash/pro, including Flash Lite absent from the shared docs App table. Per-role effort is not exposed by the agent-file schema."
|
|
697
697
|
},
|
|
698
698
|
"grok": {
|
|
699
|
-
"label": "Grok
|
|
699
|
+
"label": "Grok",
|
|
700
700
|
"efforts": [],
|
|
701
701
|
"observedClientVersion": "1.0.70",
|
|
702
702
|
"models": [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-policy-kit",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Configure native subagent settings across
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Configure native subagent settings across AI assistants, then exit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
@@ -9,10 +9,14 @@
|
|
|
9
9
|
"url": "https://www.linkedin.com/in/nick-maximenko/"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
|
+
"chatgpt",
|
|
12
13
|
"codex",
|
|
14
|
+
"claude",
|
|
13
15
|
"claude-code",
|
|
14
16
|
"kimi",
|
|
17
|
+
"gemini",
|
|
15
18
|
"antigravity",
|
|
19
|
+
"grok",
|
|
16
20
|
"grok-build",
|
|
17
21
|
"subagents",
|
|
18
22
|
"configuration",
|
|
@@ -61,5 +65,5 @@
|
|
|
61
65
|
"bugs": {
|
|
62
66
|
"url": "https://github.com/automatis-tools/agent-policy-kit/issues"
|
|
63
67
|
},
|
|
64
|
-
"homepage": "https://agent-policy-kit.trymenow.io/v/0.
|
|
68
|
+
"homepage": "https://agent-policy-kit.trymenow.io/v/0.3.0/"
|
|
65
69
|
}
|
package/policies/balanced.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"maxConcurrent": 3,
|
|
4
4
|
"clients": {
|
|
5
|
-
"
|
|
5
|
+
"chatgpt": {
|
|
6
6
|
"code": {
|
|
7
7
|
"model": "gpt-6.1-sol",
|
|
8
8
|
"effort": "medium"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
"avoidModels": []
|
|
79
79
|
},
|
|
80
|
-
"
|
|
80
|
+
"gemini": {
|
|
81
81
|
"code": {
|
|
82
82
|
"model": "pro",
|
|
83
83
|
"effort": null
|
package/policies/fast.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"maxConcurrent": 2,
|
|
4
4
|
"clients": {
|
|
5
|
-
"
|
|
5
|
+
"chatgpt": {
|
|
6
6
|
"code": {
|
|
7
7
|
"model": "gpt-6-luna",
|
|
8
8
|
"effort": "medium"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"avoidModels": []
|
|
57
57
|
},
|
|
58
|
-
"
|
|
58
|
+
"gemini": {
|
|
59
59
|
"code": {
|
|
60
60
|
"model": "flash",
|
|
61
61
|
"effort": null
|
package/policies/quality.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"maxConcurrent": 2,
|
|
4
4
|
"clients": {
|
|
5
|
-
"
|
|
5
|
+
"chatgpt": {
|
|
6
6
|
"code": {
|
|
7
7
|
"model": "gpt-6.1-sol",
|
|
8
8
|
"effort": "high"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"avoidModels": []
|
|
67
67
|
},
|
|
68
|
-
"
|
|
68
|
+
"gemini": {
|
|
69
69
|
"code": {
|
|
70
70
|
"model": "pro",
|
|
71
71
|
"effort": null
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"minProperties": 1,
|
|
40
40
|
"additionalProperties": false,
|
|
41
41
|
"properties": {
|
|
42
|
-
"
|
|
42
|
+
"chatgpt": {
|
|
43
43
|
"$ref": "#/$defs/client"
|
|
44
44
|
},
|
|
45
45
|
"claude": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"kimi": {
|
|
49
49
|
"$ref": "#/$defs/kimiClient"
|
|
50
50
|
},
|
|
51
|
-
"
|
|
51
|
+
"gemini": {
|
|
52
52
|
"$ref": "#/$defs/tierClient"
|
|
53
53
|
},
|
|
54
54
|
"grok": {
|