agent-policy-kit 0.1.0 → 0.2.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 +9 -5
- package/CHANGELOG.md +40 -0
- package/README.md +21 -4
- package/bin/agent-policy.mjs +25 -10
- package/docs/architecture.md +1 -1
- package/docs/compatibility.md +2 -0
- package/docs/configuration-page.md +12 -6
- package/docs/deployment.md +31 -0
- package/docs/design/2026-11-01-grok-build-support.md +30 -0
- package/docs/development.md +1 -1
- package/docs/installation.md +9 -1
- package/docs/model-catalog.md +44 -36
- package/docs/npm-release.md +4 -2
- package/docs/policy.md +3 -3
- package/docs/releases.md +4 -4
- package/docs/verification.md +23 -2
- package/models/catalog.json +44 -0
- package/package.json +7 -3
- package/policies/balanced.json +23 -0
- package/policies/fast.json +12 -1
- package/policies/quality.json +28 -7
- package/schema/policy.schema.json +98 -0
- package/site/index.html +237 -84
- package/src/detect.mjs +2 -1
- package/src/explicit.mjs +14 -7
- package/src/inspect.mjs +203 -0
- package/src/install.mjs +20 -4
- package/src/native.mjs +8 -4
- package/src/output.mjs +108 -0
- package/src/policy.mjs +3 -2
- package/src/release.mjs +1 -1
- package/src/share.mjs +47 -16
package/site/index.html
CHANGED
|
@@ -4,8 +4,12 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<meta name="color-scheme" content="light">
|
|
7
|
-
<meta name="description" content="Configure subagent models
|
|
8
|
-
<
|
|
7
|
+
<meta name="description" content="Configure local subagent roles, models and effort with Agent Policy Kit, an open source tool by Mykola Maksymenko.">
|
|
8
|
+
<meta name="author" content="Mykola Maksymenko">
|
|
9
|
+
<link rel="author" href="https://www.linkedin.com/in/nick-maximenko/">
|
|
10
|
+
<link rel="canonical" href="https://agent-policy-kit.trymenow.io/v/0.2.0/">
|
|
11
|
+
<title>Agent Policy Kit — by Mykola Maksymenko</title>
|
|
12
|
+
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Person","@id":"https://www.linkedin.com/in/nick-maximenko/#person","name":"Mykola Maksymenko","url":"https://www.linkedin.com/in/nick-maximenko/"},{"@type":"SoftwareSourceCode","@id":"https://github.com/automatis-tools/agent-policy-kit#software","name":"Agent Policy Kit","description":"Configure native subagent settings across coding tools, then exit","url":"https://agent-policy-kit.trymenow.io/","codeRepository":"https://github.com/automatis-tools/agent-policy-kit","author":{"@id":"https://www.linkedin.com/in/nick-maximenko/#person"}},{"@type":"WebPage","@id":"https://agent-policy-kit.trymenow.io/v/0.2.0/#webpage","name":"Agent Policy Kit — by Mykola Maksymenko","url":"https://agent-policy-kit.trymenow.io/v/0.2.0/","author":{"@id":"https://www.linkedin.com/in/nick-maximenko/#person"},"mainEntity":{"@id":"https://github.com/automatis-tools/agent-policy-kit#software"},"mentions":[{"@type":"SoftwareSourceCode","name":"Agents Can Communicate","codeRepository":"https://github.com/automatis-tools/agents-can-communicate"},{"@type":"SoftwareSourceCode","name":"Automatis Skills","codeRepository":"https://github.com/automatis-tools/automatis-skills"}]}]}</script>
|
|
9
13
|
<!-- Public Sans is embedded under the SIL Open Font License.
|
|
10
14
|
Copyright 2015 The Public Sans Project Authors (https://github.com/uswds/public-sans)
|
|
11
15
|
|
|
@@ -214,7 +218,7 @@ pre:has(.code-copy) { padding-top: 46px; }
|
|
|
214
218
|
@font-face{font-family:'Public Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('data:font/woff2;base64,d09GMgABAAAAAGjQABQAAAAA3UAAAGhfAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoMWG+g+HIcqP0hWQVKLJAZgP1NUQVSBOCcyAIUOL34RCAqBhTjtZwuELgAwgYcmATYCJAOIWAQgBYw8B4k/DAcb4M0HcIcrwq83U4V+ZJ/3N1Iwdme4nUA9795MwTi2AmwcAO9Z253//1OSjjEcVBsomlXvPqUwqcwWJnsUa/Tq6D2RbTa0c2AhimNcC+f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as,monospace;--text-hero:36px;--text-section:20px;--text-ui:15px;--text-support:15px;--text-meta:13px;--success:#237347;--success-paper:#edf7f0;--success-line:#c4dfce}
|
|
216
220
|
*{box-sizing:border-box}body{background:var(--white)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}::selection{color:var(--ink);background:var(--selection)}
|
|
217
|
-
header,main,footer{width:min(calc(100% - 64px),920px);margin-inline:auto}header{min-height:74px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.mark{display:grid;place-items:center;min-width:42px;height:34px;background:var(--brand-blue);border-bottom:3px solid var(--brand-yellow);border-radius:5px;color:var(--white);font-size:14px;font-weight:650;letter-spacing:-.5px}.brand{font-size:16px;font-weight:600;letter-spacing:-.2px}.
|
|
221
|
+
header,main,footer{width:min(calc(100% - 64px),920px);margin-inline:auto}header{min-height:74px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.mark{display:grid;place-items:center;min-width:42px;height:34px;background:var(--brand-blue);border-bottom:3px solid var(--brand-yellow);border-radius:5px;color:var(--white);font-size:14px;font-weight:650;letter-spacing:-.5px}.brand{font-size:16px;font-weight:600;letter-spacing:-.2px}.repo-link{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid var(--line);border-radius:5px;color:var(--ink);font-size:var(--text-meta);font-weight:500;line-height:1.3;text-decoration:none}.repo-link:hover{background:var(--control-hover);color:var(--accent)}.repo-link svg{flex-shrink:0}
|
|
218
222
|
.intro{margin:32px 0}.intro h1{margin:0 0 12px;font-size:var(--text-hero);font-weight:650;line-height:1.2;letter-spacing:-.035em}.intro p{margin:0;color:var(--muted);font-size:var(--text-ui);line-height:1.7;max-width:70ch}
|
|
219
223
|
.builder{--step-gap:32px;display:grid;gap:var(--step-gap)}.builder>section{position:relative;padding-left:34px}.builder>section:not(:last-child)::before{content:"";position:absolute;left:10px;top:13px;width:2px;height:calc(100% + var(--step-gap));background:var(--line);pointer-events:none}.builder>section>.step-heading>.step-number{position:absolute;left:0;top:2px;z-index:1}.step-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.step-heading h2{margin:0;font-size:var(--text-section);line-height:1.4;font-weight:600;letter-spacing:-.015em}.step-number{display:grid;place-items:center;width:22px;height:22px;background:var(--paper);border:1px solid var(--line);border-radius:50%;color:var(--muted);font:400 var(--text-meta)/1 var(--mono)}.step-hint{margin-left:auto;padding:3px 6px;border-radius:4px;color:var(--accent);font-size:var(--text-meta);line-height:1.4;font-weight:500}.step-hint[data-success=true]{color:var(--success);font-weight:600}
|
|
220
224
|
.tag-box{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:56px;padding:10px 12px;background:var(--white);border:1px solid var(--line);border-radius:7px}.tag-box:focus-within{outline:2px solid var(--accent);outline-offset:2px}.empty{padding:5px 1px;font-size:var(--text-ui);color:var(--muted)}.suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;min-height:34px}.suggestion{padding:6px 11px;border:1px dashed var(--line);border-radius:5px;background:var(--white);color:var(--ink);font-size:var(--text-ui);line-height:1.4;font-weight:400}.suggestion:hover{border-color:var(--brand-blue);background:var(--control-hover);color:var(--accent)}.plus{color:var(--accent);margin-right:5px}
|
|
@@ -222,11 +226,12 @@ header,main,footer{width:min(calc(100% - 64px),920px);margin-inline:auto}header{
|
|
|
222
226
|
.tool-group{display:flex;gap:4px;min-height:54px;padding:4px;border:1px solid var(--line);border-radius:7px;background:var(--paper)}.tool-group .tool-scope{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:44px;padding:8px 28px 8px 13px;border:0;border-radius:5px;background:transparent;color:var(--ink);font-size:var(--text-ui);font-weight:500;line-height:1.4}.tool-group .tool-scope small{border-radius:3px;font-size:var(--text-meta);font-weight:400;line-height:1.5;color:var(--muted)}.tool-group .tool-scope:hover{background:var(--control-hover);color:var(--accent)}.tool-item.active .tool-scope{background:transparent;color:var(--accent);font-weight:600}.tool-item.active{box-shadow:inset 0 -2px 0 var(--brand-blue)}.tool-item{position:relative;display:flex;flex:1;min-width:0;border:1px solid var(--line);border-radius:5px;background:var(--control-hover)}.tool-item .tool-scope{width:100%}.tool-remove{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:24px;height:30px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:15px;opacity:.8}.tool-item.active .tool-remove{color:var(--muted)}.tool-remove:hover{background:var(--control-hover);opacity:1}.tool-item.active .tool-remove:hover{background:var(--control-hover);color:var(--accent)}
|
|
223
227
|
.mode-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}.scope-label{display:inline-block;padding:3px 6px;margin-left:-6px;border-radius:4px;color:var(--muted);font-size:var(--text-support);line-height:1.5}.mode-placeholder{padding:20px;border:1px dashed var(--line);border-radius:7px;color:var(--muted);font-size:var(--text-support)}#mode-options{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 16px}#mode-options::before{content:"";position:absolute;top:13px;left:12.5%;right:12.5%;height:2px;background:var(--line)}.mode-option{position:relative;z-index:1;display:grid;grid-template-rows:20px auto;align-content:start;align-items:center;justify-items:center;gap:10px;padding:4px;text-align:center;font-size:var(--text-ui);font-weight:400;line-height:1.5;cursor:pointer}.mode-option input{appearance:none;position:relative;z-index:1;width:10px;height:10px;margin:0;border:0;border-radius:50%;background:var(--muted);cursor:pointer}.mode-option input:checked{width:18px;height:18px;border:3px solid var(--white);box-shadow:0 0 0 2px var(--brand-blue);background:var(--brand-blue)}.mode-option input:checked+span{color:var(--accent);font-weight:600}.mode-option:has(input:disabled){cursor:default}.notice{padding:0;margin:0 0 14px;color:var(--muted);font-size:var(--text-support);line-height:1.6}
|
|
224
228
|
.advanced{border-top:1px solid var(--line);padding-top:12px}.advanced summary{width:fit-content;color:var(--accent);font-size:var(--text-support);line-height:1.5;cursor:pointer}.editor{display:grid;grid-template-columns:140px minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:end;margin-top:16px}.editor label{display:block;margin-bottom:7px;color:var(--muted);font-size:var(--text-support);line-height:1.4}.editor select{appearance:none;width:100%;min-width:0;height:42px;padding:0 32px 0 10px;border:1px solid var(--line);border-radius:5px;background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2359657a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center/16px 16px;color:var(--ink);font-size:var(--text-ui)}.efforts{display:flex;gap:3px;align-items:center;min-height:42px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--paper)}.efforts button{flex:1;min-height:32px;padding:5px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:var(--text-support)}.efforts button[aria-pressed=true]{background:var(--control-hover);color:var(--accent);font-weight:600;box-shadow:inset 0 0 0 1px var(--brand-blue)}.unavailable{width:100%;text-align:center;color:var(--muted);font-size:var(--text-support)}.role-description{margin:10px 0 0;color:var(--muted);font-size:var(--text-support);line-height:1.6}
|
|
225
|
-
.output{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px 20px;padding:18px 20px;border:1px solid var(--line);border-radius:6px;background:var(--paper)}.output[data-ready=true]{border-color:var(--brand-blue)}.output strong{font-size:var(--text-ui);font-weight:600;line-height:1.5}.output p{margin:5px 0 0;color:var(--muted);font-size:var(--text-support);line-height:1.6}.output p a{color:var(--accent);text-underline-offset:3px}.output[data-ready=false] .primary{background:var(--line);border-color:var(--line);color:var(--muted);opacity:1}.primary{white-space:nowrap}
|
|
226
|
-
footer{display:
|
|
229
|
+
.output{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px 20px;padding:18px 20px;border:1px solid var(--line);border-radius:6px;background:var(--paper)}.output[data-ready=true]{border-color:var(--brand-blue)}.output strong{font-size:var(--text-ui);font-weight:600;line-height:1.5}.output p{margin:5px 0 0;color:var(--muted);font-size:var(--text-support);line-height:1.6}.output p:empty{display:none}.output p a{color:var(--accent);text-underline-offset:3px}.output[data-ready=false] .primary{background:var(--line);border-color:var(--line);color:var(--muted);opacity:1}.primary{white-space:nowrap}
|
|
230
|
+
footer{display:grid;gap:14px;margin-top:20px;padding:16px 0 24px;border-top:1px solid var(--line);color:var(--muted);font-size:var(--text-meta);line-height:1.6}.footer-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px 24px;flex-wrap:wrap}.footer-attribution{font-size:var(--text-ui)}.footer-attribution nav{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap}.footer-attribution>span{color:var(--ink)}
|
|
227
231
|
@media(forced-colors:active){.tag,.suggestion{border-color:ButtonText}.tool-group .tool-scope[aria-pressed=true],.efforts button[aria-pressed=true]{outline:2px solid ButtonText;outline-offset:-3px}.mode-option input{appearance:auto}#mode-options::before{height:0;border-top:2px solid CanvasText}.editor select{appearance:auto;background-image:none}}
|
|
228
232
|
|
|
229
233
|
html{scrollbar-gutter:stable}body{overflow-anchor:none}
|
|
234
|
+
.suggestion.add-all{border-style:solid;background:var(--paper)}.suggestion.add-all:hover{background:var(--control-hover)}
|
|
230
235
|
.helper-option{display:inline-flex;align-items:stretch;border:1px dashed var(--line);border-radius:5px;background:var(--white)}.helper-option>.suggestion{border:0;background:transparent;border-radius:4px 0 0 4px;padding-right:5px}.helper-option:hover{border-color:var(--brand-blue);background:var(--control-hover)}.helper-option:hover>.suggestion{color:var(--accent)}
|
|
231
236
|
.helper-info{display:grid;place-items:center;align-self:stretch;flex-shrink:0;width:27px;min-height:28px;border:0;padding:0 5px;background:transparent;color:var(--accent);cursor:help;border-radius:4px}.helper-info:hover{background:var(--control-hover)}.info-dot{display:grid;place-items:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;font-size:10px;line-height:1;font-weight:600}.tag .helper-info{margin-right:3px}.tag .tag-label{padding-right:4px}
|
|
232
237
|
.role-tooltip{position:fixed;z-index:1000;width:min(420px,calc(100vw - 32px));padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink);box-shadow:0 6px 15px #19283e07;opacity:0;transform:translateY(3px);transition:opacity 120ms ease,transform 120ms ease;view-transition-name:role-tooltip}.role-tooltip.visible{opacity:1;transform:none}.role-tooltip strong{font-size:14px;font-weight:600}.role-tooltip p{font-size:var(--text-ui);line-height:1.7;margin:9px 0 14px;color:var(--muted)}.role-tooltip .definition-label{font-size:var(--text-meta);font-weight:600;color:var(--muted);margin:0 0 7px}.role-tooltip pre{margin:0;padding:11px;border:1px solid var(--line);border-radius:5px;background:var(--paper);white-space:pre-wrap;font:var(--text-meta)/1.7 var(--mono)}.role-tooltip .definition-note{margin:10px 0 0;font-size:var(--text-meta)}
|
|
@@ -245,40 +250,43 @@ section[aria-labelledby=helpers-heading]{view-transition-name:step-helpers}secti
|
|
|
245
250
|
|
|
246
251
|
|
|
247
252
|
.advanced h3{margin:0 0 12px;font-size:var(--text-ui);font-weight:600;line-height:1.5;color:var(--ink)}
|
|
248
|
-
.setup-result{display:contents}.setup-result>[aria-live]{grid-column:1;grid-row:1;min-width:0}.output>.primary{grid-column:2;grid-row:1;align-self:start}#copy-feedback{grid-column:1/-1;grid-row:3}.setup-command{grid-column:1/-1;grid-row:2;display:block;width:100%;min-width:0;margin-top:0;padding:9px 10px;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--ink);font:var(--text-meta)/1.7 var(--mono);field-sizing:content;white-space:pre-wrap;overflow-wrap:anywhere;overflow:hidden;resize:none}.release-status{margin:9px 0 0;color:var(--muted);font-size:var(--text-meta);line-height:1.5}.model-control{min-width:0}.custom-model{display:block;width:100%;margin-top:7px;padding:8px 10px;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--ink);font-size:var(--text-ui)}.custom-model[aria-invalid=true]{border-color:var(--amber)}
|
|
253
|
+
.concurrency{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.concurrency-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.concurrency label{color:var(--ink);font-size:var(--text-ui);font-weight:400;line-height:1.5}.concurrency-stepper{display:inline-flex;flex-shrink:0;align-items:stretch;border:1px solid var(--line);border-radius:5px;background:var(--paper)}.concurrency-stepper button{display:grid;place-items:center;width:42px;min-height:42px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--ink);font-size:var(--text-ui);font-weight:400;line-height:1.5}.concurrency-stepper button:hover:not(:disabled){background:var(--control-hover);color:var(--accent)}.concurrency-stepper button:disabled{color:var(--muted);opacity:.4}.concurrency input{appearance:textfield;width:56px;min-width:0;margin:0;padding:8px 4px;border:0;border-inline:1px solid var(--line);border-radius:0;background:var(--white);color:var(--ink);font:inherit;font-size:var(--text-ui);font-weight:400;line-height:1.5;font-variant-numeric:tabular-nums;text-align:center}.concurrency input::-webkit-inner-spin-button,.concurrency input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.concurrency input:focus-visible{outline-offset:-2px}.concurrency input[aria-invalid=true]{box-shadow:inset 0 0 0 1px var(--amber)}.concurrency .field-error{margin:8px 0 0;color:var(--muted);font-size:var(--text-support);line-height:1.6}.concurrency .field-error{color:var(--ink)}.setup-result{display:contents}.setup-result>[aria-live]{grid-column:1;grid-row:1;min-width:0}.output>.primary{grid-column:2;grid-row:1;align-self:start}#copy-feedback{grid-column:1/-1;grid-row:3}.setup-command{grid-column:1/-1;grid-row:2;display:block;width:100%;min-width:0;margin-top:0;padding:9px 10px;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--ink);font:var(--text-meta)/1.7 var(--mono);field-sizing:content;white-space:pre-wrap;overflow-wrap:anywhere;overflow:hidden;resize:none}.quiet-button{margin-left:6px;padding:1px 8px;border:1px solid var(--line);border-radius:4px;background:transparent;color:var(--muted);font-size:var(--text-meta);line-height:1.5}.quiet-button:hover{background:var(--control-hover);color:var(--accent)}.show-settings{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 2px}.show-settings code:not([hidden]){flex-basis:100%;margin-top:4px;font-family:var(--mono);color:var(--ink);overflow-wrap:anywhere;user-select:all}.setup-footer{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:9px}.setup-footer .release-status{margin:0}.release-status{margin:9px 0 0;color:var(--muted);font-size:var(--text-meta);line-height:1.5}.model-control{min-width:0}.custom-model{display:block;width:100%;margin-top:7px;padding:8px 10px;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--ink);font-size:var(--text-ui)}.custom-model[aria-invalid=true]{border-color:var(--amber)}
|
|
249
254
|
|
|
250
255
|
|
|
251
256
|
#selected-tools[hidden]+#tool-options{margin-top:0}
|
|
252
257
|
|
|
253
258
|
.tool-group .empty{align-self:center;padding:8px 9px}
|
|
259
|
+
.tool-group.is-empty{min-height:56px;padding:10px 12px;background:var(--white)}.tool-group.is-empty .empty{padding:5px 1px}
|
|
260
|
+
.top-models{margin-top:14px}.top-models [role=switch]{display:inline-flex;align-items:center;gap:10px;padding:2px 0;border:0;background:transparent;color:var(--ink);font-size:var(--text-ui);text-align:left;cursor:pointer}.switch-track{position:relative;flex-shrink:0;width:34px;height:20px;border-radius:10px;background:var(--line);transition:background-color .15s}.switch-track::before{content:'';position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--white);box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}.top-models [aria-checked=true] .switch-track,.top-models [data-mixed] .switch-track{background:var(--accent)}.top-models [aria-checked=true] .switch-track::before{transform:translateX(14px)}.top-models [data-mixed] .switch-track::before{transform:translateX(7px)}@media(forced-colors:active){.switch-track{border:1px solid ButtonText}.switch-track::before{background:ButtonText;box-shadow:none}}
|
|
254
261
|
.tool-group>.scope-all{padding:8px 13px}.tool-group>.scope-all[aria-pressed=true]{background:var(--control-hover);color:var(--accent);font-weight:600;box-shadow:inset 0 -2px 0 var(--brand-blue)}
|
|
255
262
|
|
|
256
263
|
.reset-form{padding:4px 0;border:0;background:transparent;color:var(--muted);font-size:var(--text-support);text-decoration:underline;text-underline-offset:3px}.reset-form:hover{color:var(--accent)}.intro .link-error{margin-top:12px;color:var(--amber);font-size:var(--text-support)}.builder>section[data-complete=true]>.step-heading>.step-number{background:var(--success-paper);border-color:var(--success-line);color:var(--success);font-size:14px;font-weight:600}.builder>section[data-complete=true]::before{background:var(--success-line)}
|
|
257
264
|
|
|
258
265
|
.how-it-works{margin-top:18px;border:1px solid var(--line);border-radius:7px;background:var(--paper);interpolate-size:allow-keywords}.how-it-works summary{padding:14px 16px;color:var(--accent);font-size:var(--text-ui);font-weight:500;line-height:1.5;cursor:pointer}.how-it-works summary:hover{background:var(--control-hover);border-radius:6px}.how-it-works::details-content{height:0;overflow:hidden;opacity:0;transition:height 200ms ease,opacity 180ms ease,content-visibility 200ms allow-discrete}.how-it-works[open]::details-content{height:auto;opacity:1}.how-it-works .explanation{padding:2px 16px 18px;display:grid;gap:14px}.intro .how-it-works p{max-width:70ch;font-size:var(--text-ui);line-height:1.7}.how-it-works strong{color:var(--ink);font-weight:600}@media(prefers-reduced-motion:reduce){.how-it-works::details-content{transition:none}}
|
|
259
|
-
@media(max-width:600px){header,main,footer{width:calc(100% - 32px)}.intro h1{font-size:30px}.step-heading{flex-wrap:wrap;gap:6px 10px}.step-hint{flex-basis:100%;margin-left:0;padding-left:0}.output{grid-template-columns:minmax(0,1fr);padding:16px}.output>.primary{grid-column:1;grid-row:2;justify-self:start}.setup-command{grid-row:3}#copy-feedback{grid-row:4}.editor-head{display:none}.editor-row{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 0}.editor-name{font-weight:600}.tool-group{flex-wrap:wrap}.tool-item{flex-basis:calc(50% - 4px)}.tool-group>.scope-all{flex-basis:100%}.tool-group .tool-scope{padding-left:8px;padding-right:24px}.mode-option{font-size:var(--text-meta);gap:12px}.brand{font-size:15px}header{gap:9px}footer{
|
|
266
|
+
@media(max-width:600px){header,main,footer{width:calc(100% - 32px)}.intro h1{font-size:30px}.step-heading{flex-wrap:wrap;gap:6px 10px}.step-hint{flex-basis:100%;margin-left:0;padding-left:0}.output{grid-template-columns:minmax(0,1fr);padding:16px}.output>.primary{grid-column:1;grid-row:2;justify-self:start}.setup-command{grid-row:3}#copy-feedback{grid-row:4}.editor-head{display:none}.editor-row{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 0}.editor-name{font-weight:600}.tool-group{flex-wrap:wrap}.tool-item{flex-basis:calc(50% - 4px)}.tool-group>.scope-all{flex-basis:100%}.tool-group .tool-scope{padding-left:8px;padding-right:24px}.mode-option{font-size:var(--text-meta);gap:12px}.brand{font-size:15px}header{gap:9px}footer{gap:14px}}
|
|
260
267
|
</style></head><body>
|
|
261
|
-
<header><span class="mark" aria-hidden="true">apk</span><span class="brand">Agent Policy Kit</span><
|
|
268
|
+
<header><span class="mark" aria-hidden="true">apk</span><span class="brand">Agent Policy Kit</span><a class="repo-link" href="https://github.com/automatis-tools/agent-policy-kit" target="_blank" rel="noopener noreferrer" aria-label="Agent Policy Kit on GitHub"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true" focusable="false"><path fill="currentColor" d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"/></svg><span>GitHub</span></a></header>
|
|
262
269
|
<main>
|
|
263
270
|
<div class="intro"><h1>Set up subagents for your coding tools.</h1><p>Choose roles, models and effort. Apply your setup locally with one command.</p><details class="how-it-works"><summary>How it works and why you need it</summary><div class="explanation">
|
|
264
271
|
<p>Coding agents can delegate specific tasks to temporary subagents. Those tasks vary in complexity and importance. A single model for every task is rarely the best balance of capability, speed and cost.</p>
|
|
265
272
|
<p>Agent Policy Kit lets you match subagent roles with models and effort. It configures your coding tools’ native environment, then exits. The main agent still decides when to delegate, and its model stays unchanged.</p>
|
|
266
273
|
</div></details><p class="link-error" id="link-error" role="status" hidden></p></div>
|
|
267
274
|
<div class="builder">
|
|
268
|
-
<section aria-labelledby="helpers-heading"><div class="step-heading"><span class="step-number">1</span><h2 id="helpers-heading" tabindex="-1">Subagent roles</h2
|
|
269
|
-
<section aria-labelledby="tools-heading"><div class="step-heading"><span class="step-number">2</span><h2 id="tools-heading" tabindex="-1">Coding tools</h2
|
|
270
|
-
<section aria-labelledby="mode-heading"><div class="step-heading"><span class="step-number">3</span><h2 id="mode-heading" tabindex="-1">Work mode</h2
|
|
271
|
-
|
|
275
|
+
<section aria-labelledby="helpers-heading"><div class="step-heading"><span class="step-number">1</span><h2 id="helpers-heading" tabindex="-1">Subagent roles</h2></div><div class="tag-box" id="selected-helpers" role="group" aria-label="Selected subagent roles"></div><div class="suggestions" id="helper-options" role="group" aria-label="Available subagent roles"></div></section>
|
|
276
|
+
<section aria-labelledby="tools-heading"><div class="step-heading"><span class="step-number">2</span><h2 id="tools-heading" tabindex="-1">Coding tools</h2></div><div class="tool-group" id="selected-tools" role="group" aria-label="Selected coding tools"></div><div class="suggestions" id="tool-options" role="group" aria-label="Available coding tools"></div></section>
|
|
277
|
+
<section aria-labelledby="mode-heading"><div class="step-heading"><span class="step-number">3</span><h2 id="mode-heading" tabindex="-1">Work mode</h2></div><div id="mode-empty" class="mode-placeholder">Choose subagent roles and coding tools above.</div><div id="mode-panel" hidden><div class="mode-heading"><span class="scope-label" id="scope-label">All selected tools</span></div><div id="mode-options" role="radiogroup" aria-label="Work mode"></div><p class="notice" id="mode-notice" hidden></p><div class="top-models" id="top-models" hidden><button type="button" role="switch" id="top-models-toggle" aria-checked="false"><span class="switch-track" aria-hidden="true"></span><span id="top-models-label">Use top models for code, review and tests</span></button></div><section class="advanced" id="advanced" aria-label="Models and effort"><h3>Models & effort</h3><div id="editor"></div><div class="concurrency" id="concurrency-panel" hidden><h3>Parallel subagents</h3><div class="concurrency-row"><label for="max-concurrent" id="concurrency-label">Max per session</label><div class="concurrency-stepper" role="group" aria-label="Maximum concurrent subagents"><button id="decrease-concurrency" type="button" aria-label="Decrease maximum concurrent subagents">−</button><input id="max-concurrent" type="number" min="1" max="32" step="1" value="3" inputmode="numeric" aria-describedby="concurrency-error"><button id="increase-concurrency" type="button" aria-label="Increase maximum concurrent subagents">+</button></div></div><p class="field-error" id="concurrency-error" role="status" hidden>Enter a whole number from 1 to 32.</p></div></section></div></section>
|
|
278
|
+
|
|
279
|
+
<section aria-labelledby="setup-heading"><div class="step-heading"><span class="step-number">4</span><h2 id="setup-heading">Copy setup command</h2><span class="step-hint" id="step-hint-4" role="status" aria-live="polite" aria-atomic="true" hidden></span></div><div class="output" data-ready="false"><div class="setup-result"><div aria-live="polite" aria-atomic="true"><strong id="setup-summary">Complete the steps above.</strong><p id="setup-description">Choose a subagent role in step 1 and a coding tool in step 2.</p></div><textarea class="setup-command" id="setup-command" readonly aria-label="Setup command" wrap="soft" rows="1" hidden></textarea><p id="copy-feedback" role="status" hidden></p></div><button class="button primary" id="copy" type="button" aria-describedby="setup-description" disabled>Copy command</button></div><div class="setup-footer"><p class="release-status" id="release-status"></p><button type="button" class="reset-form" id="reset-form">Reset form</button></div></section>
|
|
272
280
|
</div>
|
|
273
281
|
</main>
|
|
274
282
|
<div id="role-tooltip" class="role-tooltip" role="tooltip" hidden></div>
|
|
275
|
-
<footer><span>
|
|
283
|
+
<footer><div class="footer-row footer-details"><span class="show-settings">Check current settings <button type="button" class="quiet-button" id="copy-show" aria-label="Copy the command that shows current settings">Copy</button><code id="show-command" hidden></code></span><span><a id="agent-guide">AI installation guide</a> · <a id="release-notes">Release notes</a></span></div><div class="footer-row footer-attribution"><span>Created by <a rel="author" href="https://www.linkedin.com/in/nick-maximenko/">Mykola Maksymenko</a></span><nav aria-label="Related projects"><span>More tools:</span><a href="https://github.com/automatis-tools/agents-can-communicate">Agents Can Communicate</a> <a href="https://github.com/automatis-tools/automatis-skills">Automatis Skills</a></nav></div></footer>
|
|
276
284
|
<script>
|
|
277
285
|
'use strict';
|
|
278
|
-
const RELEASE = {"schemaVersion":1,"version":"0.1.0","preset":"balanced","presets":[{"id":"fast","label":"Fast & economical","description":"For small, well-defined tasks. Lighter models, with extra reasoning for review and tests.","preferences":{"schemaVersion":1,"maxConcurrent":3,"clients":{"codex":{"code":{"model":"gpt-6-luna","effort":"medium"},"light":{"model":"gpt-6-luna","effort":"low"},"roles":{"reviewer":{"model":"gpt-6-luna","effort":"high"},"tester":{"model":"gpt-6-luna","effort":"high"}},"avoidModels":[]},"claude":{"code":{"model":"claude-haiku-5-5","effort":"medium"},"light":{"model":"claude-haiku-5-5","effort":"low"},"roles":{"reviewer":{"model":"claude-haiku-5-5","effort":"high"},"tester":{"model":"claude-haiku-5-5","effort":"high"}},"avoidModels":[]},"kimi":{"code":{"model":"kimi-code/kimi-for-coding","effort":"low"},"light":{"model":"kimi-code/kimi-for-coding","effort":"low"},"avoidModels":[]},"agy":{"code":{"model":"flash","effort":null},"light":{"model":"flash_lite","effort":null},"avoidModels":[]}}}},{"id":"balanced","label":"Balanced","description":"Stronger coding and verification, lighter exploration and mechanical work.","preferences":{"schemaVersion":1,"maxConcurrent":3,"clients":{"codex":{"code":{"model":"gpt-6.1-sol","effort":"medium"},"light":{"model":"gpt-6-luna","effort":"low"},"roles":{"reviewer":{"model":"gpt-6.1-sol","effort":"high"},"explorer":{"model":"gpt-6-luna","effort":"high"},"tester":{"model":"gpt-6.1-sol","effort":"high"},"writer":{"model":"gpt-6.1-sol","effort":"medium"}},"avoidModels":[]},"claude":{"code":{"model":"claude-sonnet-5-5","effort":"medium"},"light":{"model":"claude-haiku-5-5","effort":"low"},"roles":{"reviewer":{"model":"claude-sonnet-5-5","effort":"high"},"explorer":{"model":"claude-haiku-5-5","effort":"medium"},"tester":{"model":"claude-sonnet-5-5","effort":"high"},"writer":{"model":"claude-sonnet-5-5","effort":"medium"}},"avoidModels":[]},"kimi":{"code":{"model":"kimi-code/k3-256k","effort":"high"},"light":{"model":"kimi-code/kimi-for-coding","effort":"low"},"avoidModels":[]},"agy":{"code":{"model":"pro","effort":null},"light":{"model":"flash_lite","effort":null},"roles":{"explorer":{"model":"flash","effort":null},"writer":{"model":"flash","effort":null}},"avoidModels":[]}}}},{"id":"quality","label":"Quality first","description":"For demanding implementation and verification. Prioritizes capability over response time and usage.","preferences":{"schemaVersion":1,"maxConcurrent":3,"clients":{"codex":{"code":{"model":"gpt-6-astra","effort":"xhigh"},"light":{"model":"gpt-6.1-sol","effort":"medium"},"roles":{"explorer":{"model":"gpt-6.1-sol","effort":"high"},"writer":{"model":"gpt-6.1-sol","effort":"high"}},"avoidModels":[]},"claude":{"code":{"model":"claude-fable-5-1","effort":"xhigh"},"light":{"model":"claude-sonnet-5-5","effort":"medium"},"roles":{"explorer":{"model":"claude-opus-5-5","effort":"high"},"writer":{"model":"claude-opus-5-5","effort":"high"}},"avoidModels":[]},"kimi":{"code":{"model":"kimi-code/k3.1-pro","effort":"max"},"light":{"model":"kimi-code/kimi-for-coding","effort":"high"},"roles":{"explorer":{"model":"kimi-code/k3","effort":"high"},"writer":{"model":"kimi-code/k3","effort":"high"}},"avoidModels":[]},"agy":{"code":{"model":"pro","effort":null},"light":{"model":"flash","effort":null},"roles":{"explorer":{"model":"pro","effort":null},"writer":{"model":"pro","effort":null}},"avoidModels":[]}}}}],"catalogReviewedAt":"2026-10-30","preferencesHash":"d7783c6514ee952314de2f55a4d39d2db055b4d3da4e8139c2c6f7f5b17cb40d","notes":"# Changelog\n\nEach npm version is one configuration release: its presets, native role definitions, instructions and configuration page. Published versions are not rewritten. Applying another release is explicit; package installation alone changes no settings.\n\n## 0.1.0 — 2026-10-30\n\n### Why this release\n\nUse a common approach to optional delegation across Codex, Claude Code, Kimi and Antigravity, without an extra process in normal agent operation. Configure once and remove the installer afterward.\n\n### What it configures\n\nSix focused roles cover implementation, read-only review, code discovery, test creation, documentation and prescribed execution. Each preset assigns a model and supported effort to every role; the [preset matrix](docs/model-catalog.md#how-the-presets-are-designed) explains the choices.\n\nThese are starting preferences, not model-quality benchmarks. Native model formats and alias behavior were reviewed against the official sources linked in [support](docs/compatibility.md) and [model maintenance](docs/model-updates.md). Model availability must be checked before applying. Provider aliases and tiers may resolve differently over time.\n\n### Presets and model catalog\n\nAll three presets were rebuilt for public use. Personal Astra/Opus/Fable and other avoid lists were removed. Fast gives review and testing more reasoning than simple execution. Balanced separates implementation, verification, discovery, documentation and mechanics. Quality uses Astra/Fable for demanding work and regular K3.1 Pro at max for Kimi code/review/tests. Claude recommendations pin current versioned IDs; Kimi Balanced uses the quota-conscious K3 256K variant. These are editable recommendations, not benchmark results.\n\nThe release contains a dated model/effort catalog from official documentation and native selector observations, including native-default effort and account-dependent availability. Antigravity role choices are native tiers, with no invented per-role effort setting.\n\nCatalog audit, 2026-10-30 UTC: Kimi now lists all six current models, including K3.1 Pro and Pro Highspeed. Quality first now uses regular K3.1 Pro at max effort for implementation/review/tests; other roles have separate choices described in the preset matrix. Highspeed remains optional because its faster output consumes about twice regular Pro's quota, according to Kimi. Setup requires provisioned access and does not silently fall back to another model.\n\nBoth Pro variants require compatible thinking settings. Even with unpinned effort, setup refuses an explicit thinking-disabled setting without modifying it.\n\nCodex effort choices/defaults now follow CLI 0.166.0 rather than API defaults; API metadata remains separate, and Ultra stays separate from ordinary effort. Claude Opus 4.5 no longer advertises an API-only native effort override. Existing custom inputs using levels outside the current native catalog require review before reapplication; owned inspection/removal remains independent of current recommendations. Sonnet 4.5 remains selectable with its Anthropic deprecation status marked. Antigravity CLI's four tier choices are unchanged.\n\n### What changed\n\n- Added Test writer and Docs writer; clarified Code explorer and Task runner. Old four-role native v2/v3 receipts remain supported, including explicit expansion to six, owned removal, drift refusal and late rollback. New v4 snapshots support six independently configured Kimi aliases.\n\n- Readable type uses a compact 36/20/15/13 px scale with more spacing; narrow layouts stack model controls and command actions.\n- A short collapsible explanation introduces role-specific models, native setup and optional delegation, using the same wording as the README.\n- The builder now starts with no roles, tools or chosen modes. Green checks track completed selections and successful copy, and Reset form restores a blank state. URL fragments restore visible settings without a backend. Conditional section hints and changed step markers use a two-second highlight hold plus two-second fade, respecting reduced motion. Selection controls share a soft treatment; Copy remains the primary action.\n- Page commands always list every selected role/model/effort under its tool, including presets. Explicit --roles, --max-concurrent and optional --avoid-TOOL preserve the existing selection, cap and guidance. :native represents unpinned effort; Antigravity remains tier-only. The shared codec validates complete role maps and rejects duplicate/mixed input before writes. Legacy release/config/policy inputs remain supported.\n- The four-step page now selects subagent roles and coding tools before mode/model/effort configuration. It generates and copies a real pinned command. Tool additions preserve All or a manually selected view. Role help uses the same prompt definitions as native generation.\n- Optional selectedRoles creates only the requested native roles. Receipt v4 binds that role set to owned files and supports safe expansion, reduction and removal. Earlier v2/v3 native receipts retain their historical four-role ownership boundary. Unselected Kimi aliases do not need provisioning or effort pins.\n- Native role files and routing instructions apply only when the main agent chooses delegation. Main models and disabled delegation features are preserved.\n- A static page lets each tool use its own mode and per-task models/effort. All shows mixed settings as Custom and can apply one preset to every tool. Scope warnings protect individual and global replacements; the page generates one pinned command.\n- Explicit release application supports safe upgrade/downgrade of owned settings; per-client receipts record the actual applied version and custom choices.\n- Ownership/drift checks, private backups and rollback preserve unrelated settings and earlier user values.\n- No custom hooks, proxy, plugin, launcher, daemon or normal-operation runtime is installed.\n\n### Who should use it\n\nPeople who want consistent subagent preferences across their installed coding tools. You can keep the recommendations or select different native models in the configuration page.\n\n### Applying this version\n\n```sh\nnpx --yes --ignore-scripts --package agent-policy-kit@0.1.0 agent-policy setup --release --apply\n```\n\nWithout --apply the same command previews the changes. The page-generated explicit tool arguments apply the visible choices using this release's native templates. See [release usage](docs/releases.md).\n\n### Migration and limits\n\nThis is the first public release. Synthetic versions in tests are not real releases. Experimental runtime receipts from older development commits require their original owned removal. Supported native snapshot formats can be updated safely; unknown future formats/layouts are refused.\n\nKimi/Antigravity concurrency guidance and native tier/precedence limits remain explicit. A pinned release reproduces declared configuration, not provider weights, entitlement or model quality.\n","packageSpec":"agent-policy-kit@0.1.0","preferences":{"schemaVersion":1,"maxConcurrent":3,"clients":{"codex":{"code":{"model":"gpt-6.1-sol","effort":"medium"},"light":{"model":"gpt-6-luna","effort":"low"},"roles":{"reviewer":{"model":"gpt-6.1-sol","effort":"high"},"explorer":{"model":"gpt-6-luna","effort":"high"},"tester":{"model":"gpt-6.1-sol","effort":"high"},"writer":{"model":"gpt-6.1-sol","effort":"medium"}},"avoidModels":[]},"claude":{"code":{"model":"claude-sonnet-5-5","effort":"medium"},"light":{"model":"claude-haiku-5-5","effort":"low"},"roles":{"reviewer":{"model":"claude-sonnet-5-5","effort":"high"},"explorer":{"model":"claude-haiku-5-5","effort":"medium"},"tester":{"model":"claude-sonnet-5-5","effort":"high"},"writer":{"model":"claude-sonnet-5-5","effort":"medium"}},"avoidModels":[]},"kimi":{"code":{"model":"kimi-code/k3-256k","effort":"high"},"light":{"model":"kimi-code/kimi-for-coding","effort":"low"},"avoidModels":[]},"agy":{"code":{"model":"pro","effort":null},"light":{"model":"flash_lite","effort":null},"roles":{"explorer":{"model":"flash","effort":null},"writer":{"model":"flash","effort":null}},"avoidModels":[]}}},"catalog":{"schemaVersion":1,"reviewedAt":"2026-10-30","scope":"Documented/native coding-tool selectors at this release; account access and custom deployment IDs vary.","clients":{"codex":{"label":"Codex","efforts":["none","minimal","low","medium","high","xhigh","max"],"observedClientVersion":"0.166.0","observation":"codex debug models --bundled: 9 visible selectors; 3 hidden specialized/utility entries excluded","models":[{"id":"gpt-6-astra","label":"GPT-6 Astra","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"low","source":"https://developers.openai.com/api/docs/models/gpt-6-astra","kind":"model","apiEfforts":["low","medium","high","xhigh","max"],"apiDefaultEffort":null,"nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-6.1-sol","label":"GPT-6.1 Sol","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"low","source":"https://developers.openai.com/api/docs/models/gpt-6.1-sol","kind":"model","apiEfforts":["low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-6.1-terra","label":"GPT-6.1 Terra","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"low","source":"https://developers.openai.com/api/docs/models/gpt-6.1-terra","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-6-sol","label":"GPT-6 Sol","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-6-sol","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-6-luna","label":"GPT-6 Luna","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-6-luna","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models"},{"id":"gpt-5.6-sol","label":"GPT-5.6 Sol","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"low","source":"https://developers.openai.com/api/docs/models/gpt-5.6-sol","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-5.6-terra","label":"GPT-5.6 Terra","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-5.6-terra","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-5.6-luna","label":"GPT-5.6 Luna","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-5.6-luna","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models"},{"id":"gpt-5.5","label":"GPT-5.5","efforts":["low","medium","high","xhigh"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-5.5","kind":"model","apiEfforts":["none","low","medium","high","xhigh"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models"}],"excluded":[{"id":"gpt-daybreak-blue-latest","reason":"hidden specialized selector"},{"id":"gpt-daybreak-red-latest","reason":"hidden specialized selector"},{"id":"codex-auto-review","reason":"hidden internal utility selector"}],"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."},"claude":{"label":"Claude Code","efforts":["low","medium","high","xhigh","max"],"observedClientVersion":"2.1.312","models":[{"id":"sonnet","label":"Sonnet (alias)","efforts":["low","medium","high","xhigh","max"],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"alias","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."},{"id":"opus","label":"Opus (alias)","efforts":["low","medium","high","xhigh","max"],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"alias","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."},{"id":"haiku","label":"Haiku (alias)","efforts":["low","medium","high","xhigh","max"],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"alias","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."},{"id":"fable","label":"Fable (alias)","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/sub-agents#choose-a-model","kind":"alias","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."},{"id":"claude-fable-5-1","label":"Fable 5.1","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-5-5","label":"Opus 5.5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-sonnet-5-5","label":"Sonnet 5.5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-haiku-5-5","label":"Haiku 5.5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-fable-5","label":"Fable 5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-5","label":"Opus 5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-sonnet-5","label":"Sonnet 5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-4-8","label":"Opus 4.8","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-4-7","label":"Opus 4.7","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"xhigh","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-4-6","label":"Opus 4.6","efforts":["low","medium","high","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-sonnet-4-6","label":"Sonnet 4.6","efforts":["low","medium","high","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-4-5-20251101","label":"Opus 4.5","efforts":[],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config#adjust-effort-level","kind":"model","apiEfforts":["low","medium","high"],"apiDefaultEffort":null,"apiSource":"https://platform.claude.com/docs/en/build-with-claude/effort"},{"id":"claude-sonnet-4-5-20250929","label":"Sonnet 4.5 (deprecated)","efforts":[],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"model","lifecycle":{"status":"deprecated","retirementDate":"2026-11-30","scope":"Anthropic-operated platforms; partner lifecycles differ","source":"https://platform.claude.com/docs/en/about-claude/model-deprecations"}},{"id":"claude-haiku-4-5-20251001","label":"Haiku 4.5","efforts":[],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"inherit","label":"Inherit main model","efforts":["low","medium","high","xhigh","max"],"defaultEffort":null,"source":"https://code.claude.com/docs/en/sub-agents","kind":"inherit","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."}],"note":"Full model IDs use the current Claude Code native effort table, which differs from API support for Opus 4.5. Alias/inherit efforts are possible requested levels, not a guarantee for every resolved provider model; unsupported levels can clamp or be ignored. Current account access and provider alias resolution vary.","excluded":[{"id":"best","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"},{"id":"default","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"},{"id":"opus[1m]","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"},{"id":"opusplan","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"},{"id":"sonnet[1m]","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"}]},"kimi":{"label":"Kimi","efforts":["low","medium","high","xhigh","max"],"models":[{"id":"kimi-code/k3.1-pro","label":"K3.1 Pro","efforts":["low","high","max"],"defaultEffort":"high","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"k3.1-pro","thinkingRequired":true},{"id":"kimi-code/k3.1-pro-highspeed","label":"K3.1 Pro Highspeed","efforts":["low","high","max"],"defaultEffort":"high","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"k3.1-pro-highspeed","thinkingRequired":true},{"id":"kimi-code/k3","label":"K3","efforts":["low","high","max"],"defaultEffort":"high","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"k3"},{"id":"kimi-code/k3-256k","label":"K3 · 256K","efforts":["low","high","max"],"defaultEffort":"high","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"k3-256k"},{"id":"kimi-code/kimi-for-coding","label":"K2.8 Preview","efforts":["low","high","max"],"defaultEffort":"max","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"kimi-for-coding"},{"id":"kimi-code/kimi-for-coding-highspeed","label":"K2.7 Code HighSpeed","efforts":[],"defaultEffort":null,"source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"kimi-for-coding-highspeed"}],"note":"Current Kimi Code docs list six model IDs; the older kimi.ai/help page still lists four. K3.1 Pro and Highspeed require thinking and support low/high/max, default high. These are preferred native aliases: setup resolves a missing preferred alias only to a unique provisioned match; no provider identity is invented. Account tier controls access.","observedClientVersion":"2.4.0","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."},"agy":{"label":"Antigravity","efforts":[],"observedClientVersion":"1.4.10","models":[{"id":"pro","label":"Pro","efforts":[],"defaultEffort":null,"source":"https://antigravity.google/docs/subagents?tab=cli","kind":"tier"},{"id":"flash","label":"Flash","efforts":[],"defaultEffort":null,"source":"https://antigravity.google/docs/subagents?tab=cli","kind":"tier"},{"id":"flash_lite","label":"Flash Lite","efforts":[],"defaultEffort":null,"source":"https://antigravity.google/docs/subagents?tab=cli","kind":"tier"},{"id":"inherit","label":"Inherit main model","efforts":[],"defaultEffort":null,"source":"https://antigravity.google/docs/subagents?tab=cli","kind":"tier"}],"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."}}},"roles":[{"id":"worker","name":"Coder","kind":"code","assignment":"scoped implementation and fixes","description":"Implements scoped changes, preserves peers' edits, and verifies the result.","prompt":"Implement the assigned change or fix within the assigned files. You share the workspace with other agents: preserve their edits. Verify the result and report changes, checks, and remaining limitations. Do not create child agents; return any need for further delegation to the parent."},{"id":"reviewer","name":"Reviewer","kind":"code","assignment":"read-only correctness, security and regression review","description":"Reviews correctness, security and regressions without edits; reports actionable evidence.","prompt":"Review the assigned change without editing files. Find actionable correctness, security, and regression issues. Report each finding with file and line evidence and explain its impact; distinguish confirmed issues from uncertainty. Do not create child agents; return any need for further delegation to the parent."},{"id":"explorer","name":"Code explorer","kind":"light","assignment":"read-only code and documentation discovery","description":"Maps code and documentation, cites sources, and separates facts from uncertainty.","prompt":"Explore the assigned code and documentation without editing files. Return a concise map or factual answer with source paths or citations. Distinguish verified facts from assumptions and unknowns. Do not create child agents; return any need for further delegation to the parent."},{"id":"tester","name":"Test writer","kind":"code","assignment":"test creation and targeted execution","description":"Writes behavior and edge-case tests, reproduces issues, and runs targeted checks.","prompt":"Own the assigned tests and targeted execution. Reproduce the issue or establish a baseline, then test observable behavior and edge cases. Never weaken checks to make them pass. Do not edit application code unless explicitly assigned. Preserve peers' edits and report results and limitations. Do not create child agents; return any need for further delegation to the parent."},{"id":"writer","name":"Docs writer","kind":"light","assignment":"assigned documentation, examples and release notes","description":"Updates assigned docs and examples, verifies claims, and keeps terminology consistent.","prompt":"Update only the assigned documentation, examples, or release notes. Verify claims against code or cited sources and use consistent terminology. Do not edit application code. Preserve peers' edits and report changes and unknowns. Do not create child agents; return any need for further delegation to the parent."},{"id":"routine","name":"Task runner","kind":"light","assignment":"explicit commands and mechanical edits","description":"Runs prescribed commands and mechanical edits; returns ambiguous decisions to the parent.","prompt":"Execute only the prescribed commands or clearly specified mechanical edits. Preserve other agents' work and report the outcome. Do not make ambiguous design or behavior decisions; return those decisions to the parent. Do not create child agents; return any need for further delegation to the parent."}],"unreleased":false};
|
|
286
|
+
const RELEASE = {"schemaVersion":1,"version":"0.2.0","preset":"balanced","presets":[{"id":"fast","label":"Light","description":"Light models for every role. Limits last longest.","preferences":{"schemaVersion":1,"maxConcurrent":2,"clients":{"codex":{"code":{"model":"gpt-6-luna","effort":"medium"},"light":{"model":"gpt-6-luna","effort":"low"},"roles":{"reviewer":{"model":"gpt-6-luna","effort":"high"},"tester":{"model":"gpt-6-luna","effort":"high"}},"avoidModels":[]},"claude":{"code":{"model":"claude-haiku-5-5","effort":"medium"},"light":{"model":"claude-haiku-5-5","effort":"low"},"roles":{"reviewer":{"model":"claude-haiku-5-5","effort":"high"},"tester":{"model":"claude-haiku-5-5","effort":"high"}},"avoidModels":[]},"kimi":{"code":{"model":"kimi-code/kimi-for-coding","effort":"low"},"light":{"model":"kimi-code/kimi-for-coding","effort":"low"},"avoidModels":[]},"agy":{"code":{"model":"flash","effort":null},"light":{"model":"flash_lite","effort":null},"avoidModels":[]},"grok":{"code":{"model":"grok-build-0.1","effort":null},"light":{"model":"grok-build-0.1","effort":null},"avoidModels":[]}}}},{"id":"balanced","label":"Standard","description":"Stronger models for code, review, tests and docs. Fits most plans.","preferences":{"schemaVersion":1,"maxConcurrent":3,"clients":{"codex":{"code":{"model":"gpt-6.1-sol","effort":"medium"},"light":{"model":"gpt-6-luna","effort":"low"},"roles":{"reviewer":{"model":"gpt-6.1-sol","effort":"high"},"explorer":{"model":"gpt-6-luna","effort":"high"},"tester":{"model":"gpt-6.1-sol","effort":"high"},"writer":{"model":"gpt-6.1-sol","effort":"medium"}},"avoidModels":[]},"claude":{"code":{"model":"claude-sonnet-5-5","effort":"medium"},"light":{"model":"claude-haiku-5-5","effort":"low"},"roles":{"reviewer":{"model":"claude-sonnet-5-5","effort":"high"},"explorer":{"model":"claude-haiku-5-5","effort":"medium"},"tester":{"model":"claude-sonnet-5-5","effort":"high"},"writer":{"model":"claude-sonnet-5-5","effort":"medium"}},"avoidModels":[]},"kimi":{"code":{"model":"kimi-code/k3-256k","effort":"high"},"light":{"model":"kimi-code/kimi-for-coding","effort":"low"},"roles":{"writer":{"model":"kimi-code/k3-256k","effort":"high"}},"avoidModels":[]},"agy":{"code":{"model":"pro","effort":null},"light":{"model":"flash_lite","effort":null},"roles":{"explorer":{"model":"flash","effort":null},"writer":{"model":"flash","effort":null}},"avoidModels":[]},"grok":{"code":{"model":"grok-4.7","effort":null},"light":{"model":"grok-build-0.1","effort":null},"roles":{"writer":{"model":"grok-4.7","effort":null}},"avoidModels":[]}}}},{"id":"quality","label":"Top-tier","description":"High-end models for most roles. Uses limits fastest.","topModels":{"codex":"gpt-6-astra","claude":"claude-fable-5-1","kimi":"kimi-code/k3.1-pro"},"preferences":{"schemaVersion":1,"maxConcurrent":2,"clients":{"codex":{"code":{"model":"gpt-6.1-sol","effort":"high"},"light":{"model":"gpt-6.1-sol","effort":"medium"},"roles":{"explorer":{"model":"gpt-6.1-sol","effort":"high"},"writer":{"model":"gpt-6.1-sol","effort":"high"}},"avoidModels":[]},"claude":{"code":{"model":"claude-opus-5-5","effort":"high"},"light":{"model":"claude-sonnet-5-5","effort":"medium"},"roles":{"explorer":{"model":"claude-opus-5-5","effort":"high"},"writer":{"model":"claude-opus-5-5","effort":"high"}},"avoidModels":[]},"kimi":{"code":{"model":"kimi-code/k3","effort":"high"},"light":{"model":"kimi-code/kimi-for-coding","effort":"high"},"roles":{"explorer":{"model":"kimi-code/k3","effort":"high"},"writer":{"model":"kimi-code/k3","effort":"high"}},"avoidModels":[]},"agy":{"code":{"model":"pro","effort":null},"light":{"model":"flash","effort":null},"roles":{"explorer":{"model":"pro","effort":null},"writer":{"model":"pro","effort":null}},"avoidModels":[]},"grok":{"code":{"model":"grok-4.7","effort":null},"light":{"model":"grok-build-0.1","effort":null},"roles":{"explorer":{"model":"grok-4.7","effort":null},"writer":{"model":"grok-4.7","effort":null}},"avoidModels":[]}}}}],"catalogReviewedAt":"2026-10-30","preferencesHash":"8f000dfb78f5a5fd583ae10e26f3cb79c1e306de8680dddb16198cdd20fc61df","notes":"# Changelog\n\nEach npm version is one configuration release: its presets, native role definitions, instructions and configuration page. Published versions are not rewritten. Applying another release is explicit; package installation alone changes no settings.\n\n## 0.2.0 — 2026-11-01\n\n### Why this release\n\nSubagents draw on the same plan limits as the main session, and every parallel session adds to that usage. Without explicit choices, subagents can inherit the most expensive model and use up a weekly limit within days. This release names the work modes by how much of a plan subagents may use, adds per-tool parallel limits, a read-only settings check and Grok Build support.\n\n### Who should update\n\nAnyone who wants Grok Build roles, per-tool parallel limits or the renamed modes. Re-running setup with 0.2.0 applies the new preset values: Top-tier now uses Opus 5.5, GPT-6.1 Sol and K3 at high effort, with top models behind an opt-in switch, and Kimi's Standard Docs writer uses K3 256K. Installations of 0.1.0 keep working unchanged until setup is run again.\n\n### Migration and rollback\n\nPreset ids (`fast`, `balanced`, `quality`), receipt format v4 and ownership, drift and rollback behavior are unchanged. Version 1 share links still open; new links use version 2 and carry each tool's parallel limit. Applying 0.1.0 again restores its owned settings, as the synthetic upgrade/downgrade gate verifies. Grok Build is new, so it has nothing to migrate.\n\n### Presets and model catalog\n\nThe model catalog snapshot is dated 2026-10-30; Grok Build entries were checked on 2026-11-01 against the Grok Build 1.0.70 user guide and the xAI model list. An independent audit compared every preset, tool and role with the catalog and the documentation tables, and a test now keeps those tables in sync. Configuration checks are not model-quality evaluations.\n\n### What changed\n\n- Add Grok Build as a fifth coding tool, listed after Antigravity. APK writes `agents/apk-\u003crole>.md` role files (Reviewer and Code explorer use the read-only `permission_mode: plan`), per-role models and a `general-purpose` fallback copied from the first selected role (the Coder when selected) in `config.toml` `[subagents.models]`, a native `[subagents] max_concurrent` cap and a delegation block in `AGENTS.md` under `$GROK_HOME` (default `~/.grok`). Per-role effort is not configurable, so every Grok choice has effort null and the page shows no effort controls. Presets use Grok Build 0.1, xAI's fast coding model, for light work and Grok 4.7 for stronger roles; Grok 4.6 and 4.5 stay available in Custom. Explicit commands use `--grok`, `--grok-max-concurrent` and `--avoid-grok`. Removal restores the original settings and refuses on local edits.\n\n- Rename work modes to Light, Standard and Top-tier and describe them by how much of a plan's limits subagents use. Preset ids and share-link ids are unchanged. Top-tier now uses Opus 5.5, GPT-6.1 Sol and K3 at high effort for code, review and tests. A per-tool switch under Top-tier opts those roles into Fable 5.1, GPT-6 Astra or K3.1 Pro; it is off by default. Top models no longer run at xhigh/max, because native default subagent settings copy the first selected role (the Coder when selected) to subagents started without a named role.\n\n- Explain each configuration step with a short ? note, and stop repeating vendor billing or version documentation in the work-mode notice.\n\n- Start a fresh or reset form with every subagent role selected, and give the empty coding-tool field the same appearance as the empty role field.\n\n- Automatically deploy the latest website from verified main while preserving exact tagged release pages and older share links. Configuration guards keep commands pinned to published package capabilities; npm releases remain explicit.\n\n- Credit Mykola Maksymenko in the configuration page and package metadata. Link the supplied LinkedIn profile and related projects, with static author/project structured data and a release-specific canonical URL.\n\n- Interactive terminals get readable setup, doctor, release and show output; captured output keeps the existing JSON contract, and `--json` forces JSON.\n\n- `agent-policy show` reads the current user-level subagent settings of every tool, before or after APK installation, without writing files. The page footer offers it as \"Check current settings\" with a copy button.\n\n- Each tool has its own parallel limit from 1 to 32, set in its details on the page or with `--TOOL-max-concurrent`; policies accept `clients[tool].maxConcurrent`.\n\n- The page adds Add all for roles and tools, a GitHub link in the header, Reset form beside the release line, and preset switching for a single selected tool without a needless confirmation.\n\n## 0.1.0 — 2026-10-30\n\n### Why this release\n\nUse a common approach to optional delegation across Codex, Claude Code, Kimi and Antigravity, without an extra process in normal agent operation. Configure once and remove the installer afterward.\n\n### What it configures\n\nSix focused roles cover implementation, read-only review, code discovery, test creation, documentation and prescribed execution. Each preset assigns a model and supported effort to every role; the [preset matrix](docs/model-catalog.md#how-the-presets-are-designed) explains the choices.\n\nThese are starting preferences, not model-quality benchmarks. Native model formats and alias behavior were reviewed against the official sources linked in [support](docs/compatibility.md) and [model maintenance](docs/model-updates.md). Model availability must be checked before applying. Provider aliases and tiers may resolve differently over time.\n\n### Presets and model catalog\n\nAll three presets were rebuilt for public use. Personal Astra/Opus/Fable and other avoid lists were removed. Fast gives review and testing more reasoning than simple execution. Balanced separates implementation, verification, discovery, documentation and mechanics. Quality uses Astra/Fable for demanding work and regular K3.1 Pro at max for Kimi code/review/tests. Claude recommendations pin current versioned IDs; Kimi Balanced uses the quota-conscious K3 256K variant. These are editable recommendations, not benchmark results.\n\nThe release contains a dated model/effort catalog from official documentation and native selector observations, including native-default effort and account-dependent availability. Antigravity role choices are native tiers, with no invented per-role effort setting.\n\nCatalog audit, 2026-10-30 UTC: Kimi now lists all six current models, including K3.1 Pro and Pro Highspeed. Quality first now uses regular K3.1 Pro at max effort for implementation/review/tests; other roles have separate choices described in the preset matrix. Highspeed remains optional because its faster output consumes about twice regular Pro's quota, according to Kimi. Setup requires provisioned access and does not silently fall back to another model.\n\nBoth Pro variants require compatible thinking settings. Even with unpinned effort, setup refuses an explicit thinking-disabled setting without modifying it.\n\nCodex effort choices/defaults now follow CLI 0.166.0 rather than API defaults; API metadata remains separate, and Ultra stays separate from ordinary effort. Claude Opus 4.5 no longer advertises an API-only native effort override. Existing custom inputs using levels outside the current native catalog require review before reapplication; owned inspection/removal remains independent of current recommendations. Sonnet 4.5 remains selectable with its Anthropic deprecation status marked. Antigravity CLI's four tier choices are unchanged.\n\n### What changed\n\n- Added Test writer and Docs writer; clarified Code explorer and Task runner. Old four-role native v2/v3 receipts remain supported, including explicit expansion to six, owned removal, drift refusal and late rollback. New v4 snapshots support six independently configured Kimi aliases.\n\n- Readable type uses a compact 36/20/15/13 px scale with more spacing; narrow layouts stack model controls and command actions.\n- A short collapsible explanation introduces role-specific models, native setup and optional delegation, using the same wording as the README.\n- The builder now starts with no roles, tools or chosen modes. Green checks track completed selections and successful copy, and Reset form restores a blank state. URL fragments restore visible settings without a backend. Conditional section hints and changed step markers use a two-second highlight hold plus two-second fade, respecting reduced motion. Selection controls share a soft treatment; Copy remains the primary action.\n- Page commands always list every selected role/model/effort under its tool, including presets. Explicit --roles, --max-concurrent and optional --avoid-TOOL preserve the existing selection, cap and guidance. :native represents unpinned effort; Antigravity remains tier-only. The shared codec validates complete role maps and rejects duplicate/mixed input before writes. Legacy release/config/policy inputs remain supported.\n- The four-step page now selects subagent roles and coding tools before mode/model/effort configuration. It generates and copies a real pinned command. Tool additions preserve All or a manually selected view. Role help uses the same prompt definitions as native generation.\n- Optional selectedRoles creates only the requested native roles. Receipt v4 binds that role set to owned files and supports safe expansion, reduction and removal. Earlier v2/v3 native receipts retain their historical four-role ownership boundary. Unselected Kimi aliases do not need provisioning or effort pins.\n- Native role files and routing instructions apply only when the main agent chooses delegation. Main models and disabled delegation features are preserved.\n- A static page lets each tool use its own mode and per-task models/effort. All shows mixed settings as Custom and can apply one preset to every tool. Scope warnings protect individual and global replacements; the page generates one pinned command.\n- Explicit release application supports safe upgrade/downgrade of owned settings; per-client receipts record the actual applied version and custom choices.\n- Ownership/drift checks, private backups and rollback preserve unrelated settings and earlier user values.\n- No custom hooks, proxy, plugin, launcher, daemon or normal-operation runtime is installed.\n\n### Who should use it\n\nPeople who want consistent subagent preferences across their installed coding tools. You can keep the recommendations or select different native models in the configuration page.\n\n### Applying this version\n\n```sh\nnpx --yes --ignore-scripts --package agent-policy-kit@0.1.0 agent-policy setup --release --apply\n```\n\nWithout --apply the same command previews the changes. The page-generated explicit tool arguments apply the visible choices using this release's native templates. See [release usage](docs/releases.md).\n\n### Migration and limits\n\nThis is the first public release. Synthetic versions in tests are not real releases. Experimental runtime receipts from older development commits require their original owned removal. Supported native snapshot formats can be updated safely; unknown future formats/layouts are refused.\n\nKimi/Antigravity concurrency guidance and native tier/precedence limits remain explicit. A pinned release reproduces declared configuration, not provider weights, entitlement or model quality.\n","packageSpec":"agent-policy-kit@0.2.0","preferences":{"schemaVersion":1,"maxConcurrent":3,"clients":{"codex":{"code":{"model":"gpt-6.1-sol","effort":"medium"},"light":{"model":"gpt-6-luna","effort":"low"},"roles":{"reviewer":{"model":"gpt-6.1-sol","effort":"high"},"explorer":{"model":"gpt-6-luna","effort":"high"},"tester":{"model":"gpt-6.1-sol","effort":"high"},"writer":{"model":"gpt-6.1-sol","effort":"medium"}},"avoidModels":[]},"claude":{"code":{"model":"claude-sonnet-5-5","effort":"medium"},"light":{"model":"claude-haiku-5-5","effort":"low"},"roles":{"reviewer":{"model":"claude-sonnet-5-5","effort":"high"},"explorer":{"model":"claude-haiku-5-5","effort":"medium"},"tester":{"model":"claude-sonnet-5-5","effort":"high"},"writer":{"model":"claude-sonnet-5-5","effort":"medium"}},"avoidModels":[]},"kimi":{"code":{"model":"kimi-code/k3-256k","effort":"high"},"light":{"model":"kimi-code/kimi-for-coding","effort":"low"},"roles":{"writer":{"model":"kimi-code/k3-256k","effort":"high"}},"avoidModels":[]},"agy":{"code":{"model":"pro","effort":null},"light":{"model":"flash_lite","effort":null},"roles":{"explorer":{"model":"flash","effort":null},"writer":{"model":"flash","effort":null}},"avoidModels":[]},"grok":{"code":{"model":"grok-4.7","effort":null},"light":{"model":"grok-build-0.1","effort":null},"roles":{"writer":{"model":"grok-4.7","effort":null}},"avoidModels":[]}}},"hostedReleases":[],"catalog":{"schemaVersion":1,"reviewedAt":"2026-10-30","scope":"Documented/native coding-tool selectors at this release; account access and custom deployment IDs vary.","clients":{"codex":{"label":"Codex","efforts":["none","minimal","low","medium","high","xhigh","max"],"observedClientVersion":"0.166.0","observation":"codex debug models --bundled: 9 visible selectors; 3 hidden specialized/utility entries excluded","models":[{"id":"gpt-6-astra","label":"GPT-6 Astra","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"low","source":"https://developers.openai.com/api/docs/models/gpt-6-astra","kind":"model","apiEfforts":["low","medium","high","xhigh","max"],"apiDefaultEffort":null,"nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-6.1-sol","label":"GPT-6.1 Sol","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"low","source":"https://developers.openai.com/api/docs/models/gpt-6.1-sol","kind":"model","apiEfforts":["low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-6.1-terra","label":"GPT-6.1 Terra","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"low","source":"https://developers.openai.com/api/docs/models/gpt-6.1-terra","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-6-sol","label":"GPT-6 Sol","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-6-sol","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-6-luna","label":"GPT-6 Luna","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-6-luna","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models"},{"id":"gpt-5.6-sol","label":"GPT-5.6 Sol","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"low","source":"https://developers.openai.com/api/docs/models/gpt-5.6-sol","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-5.6-terra","label":"GPT-5.6 Terra","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-5.6-terra","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models","delegationModes":["ultra"]},{"id":"gpt-5.6-luna","label":"GPT-5.6 Luna","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-5.6-luna","kind":"model","apiEfforts":["none","low","medium","high","xhigh","max"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models"},{"id":"gpt-5.5","label":"GPT-5.5","efforts":["low","medium","high","xhigh"],"defaultEffort":"medium","source":"https://developers.openai.com/api/docs/models/gpt-5.5","kind":"model","apiEfforts":["none","low","medium","high","xhigh"],"apiDefaultEffort":"medium","nativeSource":"https://learn.chatgpt.com/docs/models"}],"excluded":[{"id":"gpt-daybreak-blue-latest","reason":"hidden specialized selector"},{"id":"gpt-daybreak-red-latest","reason":"hidden specialized selector"},{"id":"codex-auto-review","reason":"hidden internal utility selector"}],"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."},"claude":{"label":"Claude Code","efforts":["low","medium","high","xhigh","max"],"observedClientVersion":"2.1.312","models":[{"id":"sonnet","label":"Sonnet (alias)","efforts":["low","medium","high","xhigh","max"],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"alias","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."},{"id":"opus","label":"Opus (alias)","efforts":["low","medium","high","xhigh","max"],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"alias","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."},{"id":"haiku","label":"Haiku (alias)","efforts":["low","medium","high","xhigh","max"],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"alias","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."},{"id":"fable","label":"Fable (alias)","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/sub-agents#choose-a-model","kind":"alias","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."},{"id":"claude-fable-5-1","label":"Fable 5.1","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-5-5","label":"Opus 5.5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-sonnet-5-5","label":"Sonnet 5.5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-haiku-5-5","label":"Haiku 5.5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"medium","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-fable-5","label":"Fable 5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-5","label":"Opus 5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-sonnet-5","label":"Sonnet 5","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-4-8","label":"Opus 4.8","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-4-7","label":"Opus 4.7","efforts":["low","medium","high","xhigh","max"],"defaultEffort":"xhigh","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-4-6","label":"Opus 4.6","efforts":["low","medium","high","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-sonnet-4-6","label":"Sonnet 4.6","efforts":["low","medium","high","max"],"defaultEffort":"high","source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"claude-opus-4-5-20251101","label":"Opus 4.5","efforts":[],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config#adjust-effort-level","kind":"model","apiEfforts":["low","medium","high"],"apiDefaultEffort":null,"apiSource":"https://platform.claude.com/docs/en/build-with-claude/effort"},{"id":"claude-sonnet-4-5-20250929","label":"Sonnet 4.5 (deprecated)","efforts":[],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"model","lifecycle":{"status":"deprecated","retirementDate":"2026-11-30","scope":"Anthropic-operated platforms; partner lifecycles differ","source":"https://platform.claude.com/docs/en/about-claude/model-deprecations"}},{"id":"claude-haiku-4-5-20251001","label":"Haiku 4.5","efforts":[],"defaultEffort":null,"source":"https://code.claude.com/docs/en/model-config","kind":"model"},{"id":"inherit","label":"Inherit main model","efforts":["low","medium","high","xhigh","max"],"defaultEffort":null,"source":"https://code.claude.com/docs/en/sub-agents","kind":"inherit","effortResolution":"Depends on the resolved model and provider; requested levels can be clamped or ignored by Claude Code."}],"note":"Full model IDs use the current Claude Code native effort table, which differs from API support for Opus 4.5. Alias/inherit efforts are possible requested levels, not a guarantee for every resolved provider model; unsupported levels can clamp or be ignored. Current account access and provider alias resolution vary.","excluded":[{"id":"best","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"},{"id":"default","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"},{"id":"opus[1m]","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"},{"id":"opusplan","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"},{"id":"sonnet[1m]","reason":"session/context selector rather than a distinct documented subagent model; custom native ID remains available"}]},"kimi":{"label":"Kimi","efforts":["low","medium","high","xhigh","max"],"models":[{"id":"kimi-code/k3.1-pro","label":"K3.1 Pro","efforts":["low","high","max"],"defaultEffort":"high","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"k3.1-pro","thinkingRequired":true},{"id":"kimi-code/k3.1-pro-highspeed","label":"K3.1 Pro Highspeed","efforts":["low","high","max"],"defaultEffort":"high","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"k3.1-pro-highspeed","thinkingRequired":true},{"id":"kimi-code/k3","label":"K3","efforts":["low","high","max"],"defaultEffort":"high","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"k3"},{"id":"kimi-code/k3-256k","label":"K3 · 256K","efforts":["low","high","max"],"defaultEffort":"high","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"k3-256k"},{"id":"kimi-code/kimi-for-coding","label":"K2.8 Preview","efforts":["low","high","max"],"defaultEffort":"max","source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"kimi-for-coding"},{"id":"kimi-code/kimi-for-coding-highspeed","label":"K2.7 Code HighSpeed","efforts":[],"defaultEffort":null,"source":"https://www.kimi.com/code/docs/en/kimi-code/models","kind":"native-alias","upstreamModelId":"kimi-for-coding-highspeed"}],"note":"Current Kimi Code docs list six model IDs; the older kimi.ai/help page still lists four. K3.1 Pro and Highspeed require thinking and support low/high/max, default high. These are preferred native aliases: setup resolves a missing preferred alias only to a unique provisioned match; no provider identity is invented. Account tier controls access.","observedClientVersion":"2.4.0","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."},"agy":{"label":"Antigravity","efforts":[],"observedClientVersion":"1.4.10","models":[{"id":"pro","label":"Pro","efforts":[],"defaultEffort":null,"source":"https://antigravity.google/docs/subagents?tab=cli","kind":"tier"},{"id":"flash","label":"Flash","efforts":[],"defaultEffort":null,"source":"https://antigravity.google/docs/subagents?tab=cli","kind":"tier"},{"id":"flash_lite","label":"Flash Lite","efforts":[],"defaultEffort":null,"source":"https://antigravity.google/docs/subagents?tab=cli","kind":"tier"},{"id":"inherit","label":"Inherit main model","efforts":[],"defaultEffort":null,"source":"https://antigravity.google/docs/subagents?tab=cli","kind":"tier"}],"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."},"grok":{"label":"Grok Build","efforts":[],"observedClientVersion":"1.0.70","models":[{"id":"grok-4.7","label":"Grok 4.7","efforts":[],"defaultEffort":null,"source":"https://docs.x.ai/developers/models","nativeSource":"https://github.com/xai-org/grok-build/blob/main/crates/codegen/xai-grok-pager/docs/user-guide/16-subagents.md","kind":"model"},{"id":"grok-4.6","label":"Grok 4.6","efforts":[],"defaultEffort":null,"source":"https://docs.x.ai/developers/models","nativeSource":"https://github.com/xai-org/grok-build/blob/main/crates/codegen/xai-grok-pager/docs/user-guide/16-subagents.md","kind":"model"},{"id":"grok-4.5","label":"Grok 4.5","efforts":[],"defaultEffort":null,"source":"https://docs.x.ai/developers/models","nativeSource":"https://github.com/xai-org/grok-build/blob/main/crates/codegen/xai-grok-pager/docs/user-guide/16-subagents.md","kind":"model"},{"id":"grok-build-0.1","label":"Grok Build 0.1","efforts":[],"defaultEffort":null,"source":"https://docs.x.ai/developers/models","nativeSource":"https://github.com/xai-org/grok-build/blob/main/crates/codegen/xai-grok-pager/docs/user-guide/16-subagents.md","kind":"model"}],"note":"Per-subagent models are set in config.toml [subagents.models]; model IDs follow the documented xAI model list and account access varies. Per-role effort is not exposed by the agent-file schema, so subagents use the main session effort. [subagents] max_concurrent is a native cap."}}},"roles":[{"id":"worker","name":"Coder","kind":"code","assignment":"scoped implementation and fixes","description":"Implements scoped changes, preserves peers' edits, and verifies the result.","prompt":"Implement the assigned change or fix within the assigned files. You share the workspace with other agents: preserve their edits. Verify the result and report changes, checks, and remaining limitations. Do not create child agents; return any need for further delegation to the parent."},{"id":"reviewer","name":"Reviewer","kind":"code","assignment":"read-only correctness, security and regression review","description":"Reviews correctness, security and regressions without edits; reports actionable evidence.","prompt":"Review the assigned change without editing files. Find actionable correctness, security, and regression issues. Report each finding with file and line evidence and explain its impact; distinguish confirmed issues from uncertainty. Do not create child agents; return any need for further delegation to the parent."},{"id":"explorer","name":"Code explorer","kind":"light","assignment":"read-only code and documentation discovery","description":"Maps code and documentation, cites sources, and separates facts from uncertainty.","prompt":"Explore the assigned code and documentation without editing files. Return a concise map or factual answer with source paths or citations. Distinguish verified facts from assumptions and unknowns. Do not create child agents; return any need for further delegation to the parent."},{"id":"tester","name":"Test writer","kind":"code","assignment":"test creation and targeted execution","description":"Writes behavior and edge-case tests, reproduces issues, and runs targeted checks.","prompt":"Own the assigned tests and targeted execution. Reproduce the issue or establish a baseline, then test observable behavior and edge cases. Never weaken checks to make them pass. Do not edit application code unless explicitly assigned. Preserve peers' edits and report results and limitations. Do not create child agents; return any need for further delegation to the parent."},{"id":"writer","name":"Docs writer","kind":"light","assignment":"assigned documentation, examples and release notes","description":"Updates assigned docs and examples, verifies claims, and keeps terminology consistent.","prompt":"Update only the assigned documentation, examples, or release notes. Verify claims against code or cited sources and use consistent terminology. Do not edit application code. Preserve peers' edits and report changes and unknowns. Do not create child agents; return any need for further delegation to the parent."},{"id":"routine","name":"Task runner","kind":"light","assignment":"explicit commands and mechanical edits","description":"Runs prescribed commands and mechanical edits; returns ambiguous decisions to the parent.","prompt":"Execute only the prescribed commands or clearly specified mechanical edits. Preserve other agents' work and report the outcome. Do not make ambiguous design or behavior decisions; return those decisions to the parent. Do not create child agents; return any need for further delegation to the parent."}],"unreleased":false};
|
|
279
287
|
// Pure command codec, also embedded in the offline configuration page.
|
|
280
|
-
const TOOL_FLAGS=Object.freeze({codex:'codex',claude:'claude',kimi:'kimi',antigravity:'agy'});
|
|
281
|
-
const EXPLICIT_FIELDS=Object.freeze(['roles','max-concurrent',...Object.keys(TOOL_FLAGS),...Object.keys(TOOL_FLAGS).map(flag=>'avoid-'+flag)]);
|
|
288
|
+
const TOOL_FLAGS=Object.freeze({codex:'codex',claude:'claude',kimi:'kimi',antigravity:'agy',grok:'grok'});
|
|
289
|
+
const EXPLICIT_FIELDS=Object.freeze(['roles','max-concurrent',...Object.keys(TOOL_FLAGS),...Object.keys(TOOL_FLAGS).map(flag=>'avoid-'+flag),...Object.keys(TOOL_FLAGS).map(flag=>flag+'-max-concurrent')]);
|
|
282
290
|
const EXPLICIT_MODEL=/^[A-Za-z0-9][A-Za-z0-9._:@/\[\]-]{0,127}$/;
|
|
283
291
|
const EXPLICIT_EFFORTS=['none','minimal','low','medium','high','xhigh','max'];
|
|
284
292
|
function invalidExplicit(){throw Object.assign(new Error('Invalid explicit configuration.'),{code:'INVALID_EXPLICIT_CONFIG'});}
|
|
@@ -289,6 +297,8 @@ function explicitList(value,limit){
|
|
|
289
297
|
return list;
|
|
290
298
|
}
|
|
291
299
|
|
|
300
|
+
// Grok has no per-role effort, so its value is the whole model id; a trailing ':<effort>' would be ambiguous and is refused.
|
|
301
|
+
const grokEffortSuffix=model=>{const colon=model.lastIndexOf(':');return colon>=0&&['native',...EXPLICIT_EFFORTS].includes(model.slice(colon+1));};
|
|
292
302
|
function parseExplicitOptions(options,roleIds){
|
|
293
303
|
if(!options||typeof options!=='object'||Array.isArray(options))invalidExplicit();
|
|
294
304
|
const fields=Object.getOwnPropertyDescriptors(options);
|
|
@@ -299,7 +309,7 @@ function parseExplicitOptions(options,roleIds){
|
|
|
299
309
|
if(requested.some(role=>!roleIds.includes(role)))invalidExplicit();
|
|
300
310
|
const roles=roleIds.filter(role=>requested.includes(role)),maxConcurrent=Number(options['max-concurrent']);
|
|
301
311
|
if(!/^[1-9]\d*$/.test(options['max-concurrent'])||!Number.isInteger(maxConcurrent)||maxConcurrent>32)invalidExplicit();
|
|
302
|
-
for(const flag of Object.keys(TOOL_FLAGS))if(options['avoid-'+flag]!==undefined&&options[flag]===undefined)invalidExplicit();
|
|
312
|
+
for(const flag of Object.keys(TOOL_FLAGS))if((options['avoid-'+flag]!==undefined||options[flag+'-max-concurrent']!==undefined)&&options[flag]===undefined)invalidExplicit();
|
|
303
313
|
const clients={};
|
|
304
314
|
for(const flag of Object.keys(options).filter(flag=>Object.hasOwn(TOOL_FLAGS,flag))){
|
|
305
315
|
const client=TOOL_FLAGS[flag],choices={};
|
|
@@ -308,6 +318,7 @@ function parseExplicitOptions(options,roleIds){
|
|
|
308
318
|
if(at<1||!roles.includes(role)||Object.hasOwn(choices,role))invalidExplicit();
|
|
309
319
|
let model=value,effort=null;
|
|
310
320
|
if(client==='agy'){if(!['pro','flash','flash_lite','inherit'].includes(model))invalidExplicit();}
|
|
321
|
+
else if(client==='grok'){if(grokEffortSuffix(value))invalidExplicit();}
|
|
311
322
|
else{
|
|
312
323
|
const colon=value.lastIndexOf(':');if(colon<1)invalidExplicit();
|
|
313
324
|
model=value.slice(0,colon);const level=value.slice(colon+1);
|
|
@@ -319,7 +330,9 @@ function parseExplicitOptions(options,roleIds){
|
|
|
319
330
|
const avoidModels=options['avoid-'+flag]===undefined?[]:explicitList(options['avoid-'+flag],32);
|
|
320
331
|
if(avoidModels.some(model=>!EXPLICIT_MODEL.test(model)))invalidExplicit();
|
|
321
332
|
const first=choices[roles[0]];
|
|
322
|
-
|
|
333
|
+
const limit=options[flag+'-max-concurrent'];
|
|
334
|
+
if(limit!==undefined&&(!/^[1-9]\d*$/.test(limit)||Number(limit)>32))invalidExplicit();
|
|
335
|
+
clients[client]={...(limit===undefined?{}:{maxConcurrent:Number(limit)}),code:{...first},light:{...first},roles:Object.fromEntries(roles.map(role=>[role,choices[role]])),avoidModels};
|
|
323
336
|
}
|
|
324
337
|
if(!Object.keys(clients).length)invalidExplicit();
|
|
325
338
|
return {schemaVersion:1,maxConcurrent,...(roles.length===roleIds.length?{}:{selectedRoles:roles}),clients};
|
|
@@ -341,9 +354,11 @@ function explicitOptions(config,roleCatalog){
|
|
|
341
354
|
options[flag]=roles.map(role=>{
|
|
342
355
|
const selected=preferences.roles?.[role]??preferences[kinds.get(role)];
|
|
343
356
|
if(!selected||typeof selected.model!=='string'||!EXPLICIT_MODEL.test(selected.model)||(selected.effort!==null&&!EXPLICIT_EFFORTS.includes(selected.effort)))invalidExplicit();
|
|
344
|
-
if(
|
|
345
|
-
|
|
357
|
+
if(['agy','grok'].includes(client)&&selected.effort!==null)invalidExplicit();
|
|
358
|
+
if(client==='grok'&&grokEffortSuffix(selected.model))invalidExplicit();
|
|
359
|
+
return `${role}=${selected.model}${['agy','grok'].includes(client)?'':':'+(selected.effort??'native')}`;
|
|
346
360
|
}).join(',');
|
|
361
|
+
if(preferences.maxConcurrent!==undefined)options[flag+'-max-concurrent']=String(preferences.maxConcurrent);
|
|
347
362
|
if(!Array.isArray(preferences.avoidModels)||preferences.avoidModels.some(model=>typeof model!=='string'||!EXPLICIT_MODEL.test(model)))invalidExplicit();
|
|
348
363
|
if(preferences.avoidModels.length)options['avoid-'+flag]=preferences.avoidModels.join(',');
|
|
349
364
|
}
|
|
@@ -355,13 +370,13 @@ function formatExplicitCommand(config,version,roleCatalog){
|
|
|
355
370
|
if(typeof version!=='string'||!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/.test(version))throw new Error('Invalid release version.');
|
|
356
371
|
const options=explicitOptions(config,roleCatalog),quote=value=>"'"+value.replaceAll("'","'\"'\"'")+"'";
|
|
357
372
|
const lines=[`npx --yes --ignore-scripts --package agent-policy-kit@${version} agent-policy setup`];
|
|
358
|
-
for(const [name,value]of Object.entries(options))lines.push(`--${name} ${name==='max-concurrent'?value:quote(value)}`);
|
|
373
|
+
for(const [name,value]of Object.entries(options))lines.push(`--${name} ${name==='max-concurrent'||name.endsWith('-max-concurrent')?value:quote(value)}`);
|
|
359
374
|
lines.push('--apply');return lines.join(' \\\n ');
|
|
360
375
|
}
|
|
361
376
|
|
|
362
377
|
// Pure URL state codec, also embedded in the offline configuration page.
|
|
363
378
|
const SHARE_BYTES=65536,SHARE_TOKEN=87384;
|
|
364
|
-
const SHARE_VERSION
|
|
379
|
+
const SHARE_VERSION=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-(?:0|[1-9]\d*|\d*[A-Za-z-][0-9A-Za-z-]*)(?:\.(?:0|[1-9]\d*|\d*[A-Za-z-][0-9A-Za-z-]*))*)?$/;
|
|
365
380
|
const SHARE_UNSAFE=new Set(['__proto__','constructor','prototype']);
|
|
366
381
|
function invalidShare(){throw Object.assign(new Error('Invalid shared configuration link.'),{code:'INVALID_SHARE_LINK'});}
|
|
367
382
|
|
|
@@ -407,46 +422,67 @@ function shareRelease(release){
|
|
|
407
422
|
}
|
|
408
423
|
for(const preset of release.presets){
|
|
409
424
|
shareRecord(preset);if(typeof preset.id!=='string'||!preset.id||preset.id==='custom'||SHARE_UNSAFE.has(preset.id)||presets.has(preset.id))invalidShare();
|
|
410
|
-
shareRecord(shareRecord(preset.preferences).clients);
|
|
425
|
+
shareRecord(shareRecord(preset.preferences).clients);
|
|
426
|
+
if(preset.topModels!==undefined&&Object.values(shareRecord(preset.topModels)).some(model=>typeof model!=='string'))invalidShare();
|
|
427
|
+
presets.set(preset.id,preset);
|
|
411
428
|
}
|
|
412
429
|
if(!presets.has(release.preset))invalidShare();
|
|
413
430
|
return {clients,roles,presets,catalog};
|
|
414
431
|
}
|
|
415
432
|
function shareChoice(choice,id,metadata){
|
|
416
433
|
shareRecord(choice,['model','effort']);
|
|
417
|
-
if(typeof choice.model!=='string'||choice.model.length>128||(choice.effort!==null&&(
|
|
434
|
+
if(typeof choice.model!=='string'||choice.model.length>128||(choice.effort!==null&&(['agy','grok'].includes(id)||!metadata.catalog[id].efforts.includes(choice.effort))))invalidShare();
|
|
418
435
|
return {model:choice.model,effort:choice.effort};
|
|
419
436
|
}
|
|
420
437
|
function sharePayload(payload,release,metadata){
|
|
421
|
-
shareRecord(payload
|
|
422
|
-
if(payload.v!==
|
|
423
|
-
|
|
424
|
-
if(
|
|
438
|
+
shareRecord(payload);const legacy=payload.v===1;
|
|
439
|
+
if(!legacy&&payload.v!==2)invalidShare();
|
|
440
|
+
shareRecord(payload,legacy?['v','release','roles','tools','scope','maxConcurrent']:['v','release','roles','tools','scope']);
|
|
441
|
+
if(typeof payload.release!=='string'||payload.release.length>128||!SHARE_VERSION.test(payload.release))invalidShare();
|
|
442
|
+
if(legacy&&(!Number.isInteger(payload.maxConcurrent)||payload.maxConcurrent<1||payload.maxConcurrent>32))invalidShare();
|
|
443
|
+
if(payload.release!==release.version){
|
|
444
|
+
// Validate the wire shape without imposing today's models or preset values on
|
|
445
|
+
// an older release. Invalid links must never turn into navigation.
|
|
446
|
+
const identifier=value=>typeof value==='string'&&/^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$/.test(value);
|
|
447
|
+
if(!Array.isArray(payload.roles)||payload.roles.length>1000||payload.roles.some(role=>!identifier(role)))invalidShare();
|
|
448
|
+
const roles=shareList(payload.roles,payload.roles),ids=[];
|
|
449
|
+
if(!Array.isArray(payload.tools)||payload.tools.length>32)invalidShare();
|
|
450
|
+
for(const tool of payload.tools){
|
|
451
|
+
shareRecord(tool,legacy?['id','mode','base','choices']:['id','mode','base','choices','maxConcurrent']);if(!legacy&&(!Number.isInteger(tool.maxConcurrent)||tool.maxConcurrent<1||tool.maxConcurrent>32))invalidShare();if(!identifier(tool.id)||ids.includes(tool.id)||!identifier(tool.base)||(tool.mode!==null&&!identifier(tool.mode)))invalidShare();ids.push(tool.id);
|
|
452
|
+
shareRecord(tool.choices,roles);for(const role of roles){const choice=shareRecord(tool.choices[role],['model','effort']);if(typeof choice.model!=='string'||choice.model.length>128||(choice.effort!==null&&(typeof choice.effort!=='string'||choice.effort.length>32)))invalidShare();}
|
|
453
|
+
}
|
|
454
|
+
if(payload.scope!==null&&(typeof payload.scope!=='string'||(payload.scope==='all'?ids.length<2:!ids.includes(payload.scope))))invalidShare();
|
|
455
|
+
throw Object.assign(new Error('This link uses a different release.'),{code:'SHARE_RELEASE_MISMATCH',releaseVersion:payload.release});
|
|
456
|
+
}
|
|
425
457
|
const roles=shareList(payload.roles,[...metadata.roles.keys()]);
|
|
426
458
|
if(!Array.isArray(payload.tools)||payload.tools.length>metadata.clients.length)invalidShare();
|
|
427
459
|
const selected=[];
|
|
428
460
|
const tools=payload.tools.map(tool=>{
|
|
429
|
-
shareRecord(tool,['id','mode','base','choices']);
|
|
461
|
+
shareRecord(tool,legacy?['id','mode','base','choices']:['id','mode','base','choices','maxConcurrent']);if(!legacy&&(!Number.isInteger(tool.maxConcurrent)||tool.maxConcurrent<1||tool.maxConcurrent>32))invalidShare();
|
|
430
462
|
const {id,mode,base}=tool;
|
|
431
463
|
if(!metadata.clients.includes(id)||selected.includes(id)||!metadata.presets.has(base)||(mode!==null&&mode!=='custom'&&!metadata.presets.has(mode)))invalidShare();
|
|
432
464
|
selected.push(id);shareRecord(tool.choices,roles);
|
|
433
465
|
const choices=Object.fromEntries(roles.map(role=>[role,shareChoice(tool.choices[role],id,metadata)]));
|
|
434
466
|
if(mode!==null&&mode!=='custom'){
|
|
435
467
|
if(mode!==base)invalidShare();
|
|
436
|
-
const
|
|
468
|
+
const named=metadata.presets.get(mode),preset=named.preferences,clients=preset.clients;
|
|
469
|
+
if(!legacy&&tool.maxConcurrent!==(clients[id]?.maxConcurrent??preset.maxConcurrent))invalidShare();
|
|
437
470
|
if(!Object.hasOwn(clients,id))invalidShare();
|
|
438
|
-
const preferences=shareRecord(clients[id]);
|
|
471
|
+
const preferences=shareRecord(clients[id]),own=role=>preferences.roles&&Object.hasOwn(preferences.roles,role);
|
|
472
|
+
// A preset's optional top model replaces every shared code role that has no role-specific choice, or none of them.
|
|
473
|
+
const top=named.topModels&&Object.hasOwn(named.topModels,id)?named.topModels[id]:null;
|
|
474
|
+
const topRoles=roles.filter(role=>metadata.roles.get(role).kind==='code'&&!own(role)),topped=top!==null&&topRoles.some(role=>choices[role].model===top);
|
|
439
475
|
for(const role of roles){
|
|
440
|
-
const expected=
|
|
441
|
-
const choice=shareChoice(expected,id,metadata);
|
|
476
|
+
const expected=own(role)?preferences.roles[role]:preferences[metadata.roles.get(role).kind];
|
|
477
|
+
const choice=shareChoice(expected,id,metadata);if(topped&&topRoles.includes(role))choice.model=top;
|
|
442
478
|
if(choice.model!==choices[role].model||choice.effort!==choices[role].effort)invalidShare();
|
|
443
479
|
}
|
|
444
480
|
}
|
|
445
|
-
return {id,mode,base,choices};
|
|
481
|
+
return {id,mode,base,choices,...(legacy?{}:{maxConcurrent:tool.maxConcurrent})};
|
|
446
482
|
});
|
|
447
483
|
const scope=payload.scope;
|
|
448
484
|
if(scope!==null&&(typeof scope!=='string'||(scope==='all'?tools.length<2:!selected.includes(scope))))invalidShare();
|
|
449
|
-
return {v:
|
|
485
|
+
return {v:payload.v,release:payload.release,roles,tools,scope,...(legacy?{maxConcurrent:payload.maxConcurrent}:{})};
|
|
450
486
|
}
|
|
451
487
|
function shareBase64(bytes){return btoa(Array.from(bytes,byte=>String.fromCharCode(byte)).join('')).replaceAll('+','-').replaceAll('/','_').replace(/=+$/,'');}
|
|
452
488
|
function shareJson(text){
|
|
@@ -472,15 +508,16 @@ function encodeFormState(snapshot,release){
|
|
|
472
508
|
shareData(snapshot);shareRecord(snapshot);
|
|
473
509
|
const metadata=shareRelease(release),state=shareRecord(snapshot.state),profiles=shareRecord(state.profiles),jobs=shareRecord(state.jobs);
|
|
474
510
|
const roles=shareList(snapshot.helpers,[...metadata.roles.keys()]),selected=shareList(snapshot.pickedTools,metadata.clients);
|
|
511
|
+
const modern=Object.values(profiles).some(profile=>Object.hasOwn(profile,'maxConcurrent'));
|
|
475
512
|
const tools=selected.map(id=>{
|
|
476
513
|
if(!Object.hasOwn(profiles,id)||!Object.hasOwn(jobs,id))invalidShare();
|
|
477
514
|
const profile=shareRecord(profiles[id]),choices=shareRecord(jobs[id]);
|
|
478
515
|
if(typeof profile.custom!=='boolean'||(profile.modeSelected!==undefined&&typeof profile.modeSelected!=='boolean'))invalidShare();
|
|
479
|
-
return {id,mode:profile.modeSelected===false?null:profile.custom?'custom':profile.presetId,base:profile.presetId,choices:Object.fromEntries(roles.map(role=>{
|
|
516
|
+
return {id,...(modern?{maxConcurrent:Object.hasOwn(profile,'maxConcurrent')?profile.maxConcurrent:state.maxConcurrent}:{}),mode:profile.modeSelected===false?null:profile.custom?'custom':profile.presetId,base:profile.presetId,choices:Object.fromEntries(roles.map(role=>{
|
|
480
517
|
if(!Object.hasOwn(choices,role))invalidShare();return [role,shareChoice(choices[role],id,metadata)];
|
|
481
518
|
}))};
|
|
482
519
|
});
|
|
483
|
-
const payload=sharePayload({v:1,release:release.version,roles,tools,scope:snapshot.selectedScope
|
|
520
|
+
const payload=sharePayload({v:modern?2:1,release:release.version,roles,tools,scope:snapshot.selectedScope,...(modern?{}:{maxConcurrent:state.maxConcurrent})},release,metadata);
|
|
484
521
|
if(!roles.length&&!tools.length)return '';
|
|
485
522
|
const bytes=new TextEncoder().encode(JSON.stringify(payload));if(bytes.length>SHARE_BYTES)invalidShare();
|
|
486
523
|
const token=shareBase64(bytes);if(token.length>SHARE_TOKEN)invalidShare();return '#setup='+token;
|
|
@@ -501,25 +538,63 @@ function decodeFormState(fragment,release){
|
|
|
501
538
|
}catch(error){if(error?.code==='INVALID_SHARE_LINK'||error?.code==='SHARE_RELEASE_MISMATCH')throw error;invalidShare();}
|
|
502
539
|
}
|
|
503
540
|
|
|
541
|
+
function archivedReleaseUrl(error,href,hostedReleases=[]){
|
|
542
|
+
if(error?.code!=='SHARE_RELEASE_MISMATCH'||typeof error.releaseVersion!=='string'||error.releaseVersion.length>128||!SHARE_VERSION.test(error.releaseVersion)||!Array.isArray(hostedReleases)||!hostedReleases.includes(error.releaseVersion))return null;
|
|
543
|
+
try{
|
|
544
|
+
const current=new URL(href);if(!['http:','https:'].includes(current.protocol)||current.username||current.password||current.pathname!=='/'||!current.hash.startsWith('#setup='))return null;
|
|
545
|
+
const target=new URL(`/v/${error.releaseVersion}/`,current.origin);target.hash=current.hash;
|
|
546
|
+
return target.origin===current.origin?target.href:null;
|
|
547
|
+
}catch{return null;}
|
|
548
|
+
}
|
|
549
|
+
|
|
504
550
|
(() => {
|
|
505
|
-
const CLIENTS = ['codex', 'claude', 'kimi', 'agy'];
|
|
551
|
+
const CLIENTS = ['codex', 'claude', 'kimi', 'agy', 'grok'];
|
|
506
552
|
const ROLES = RELEASE.roles.map(role=>role.id);
|
|
507
553
|
const ROLE_KINDS=Object.fromEntries(RELEASE.roles.map(role=>[role.id,role.kind]));
|
|
508
554
|
const TIERS = ['pro', 'flash', 'flash_lite', 'inherit'];
|
|
509
555
|
const IDENTIFIER = /^[A-Za-z0-9][A-Za-z0-9._:@/\[\]-]{0,127}$/;
|
|
510
|
-
const LABELS = {codex: 'Codex', claude: 'Claude', kimi: 'Kimi', agy: 'Antigravity'};
|
|
556
|
+
const LABELS = {codex: 'Codex', claude: 'Claude', kimi: 'Kimi', agy: 'Antigravity', grok: 'Grok Build'};
|
|
511
557
|
const TASKS = Object.fromEntries(RELEASE.roles.map(role=>[role.id,role.name]));
|
|
512
|
-
const NOTES = {codex: '', claude: '', kimi: 'Effort changes apply to every task using the same alias.', agy: 'Native tiers only; per-task effort is unavailable.'};
|
|
558
|
+
const NOTES = {codex: '', claude: '', kimi: 'Effort changes apply to every task using the same alias.', agy: 'Native tiers only; per-task effort is unavailable.', grok: 'Per-task effort is unavailable; subagents use the main session effort.'};
|
|
513
559
|
const clone = value => JSON.parse(JSON.stringify(value));
|
|
560
|
+
const addAll = (selected, available) => [...selected, ...available.filter(id => !selected.includes(id))];
|
|
514
561
|
function effective(config, role) {
|
|
515
562
|
return config.roles?.[role] ?? config[ROLE_KINDS[role]];
|
|
516
563
|
}
|
|
517
564
|
function initialState(preferences, presetId = 'balanced', {empty=false}={}) {
|
|
518
565
|
const available = CLIENTS.filter(client => preferences.clients[client]),selected=empty?[]:available;
|
|
519
|
-
return {selected, active: empty?null:'all', maxConcurrent: preferences.maxConcurrent,...(empty?{selectedRoles:[]}:{}),
|
|
520
|
-
profiles: Object.fromEntries(available.map(client => [client, {presetId, custom: false, modeSelected:!empty,presetCap:preferences.maxConcurrent,preferences: clone(preferences.clients[client])}])),
|
|
566
|
+
return {selected, active: empty?null:'all', maxConcurrent: preferences.maxConcurrent,...(empty?{selectedRoles:[...ROLES]}:{}),
|
|
567
|
+
profiles: Object.fromEntries(available.map(client => [client, {presetId, custom: false, modeSelected:!empty,top:topModelFor(RELEASE.presets?.find(preset=>preset.id===presetId),client),presetCap:preferences.clients[client].maxConcurrent??preferences.maxConcurrent,maxConcurrent:preferences.clients[client].maxConcurrent??preferences.maxConcurrent,preferences: clone(preferences.clients[client])}])),
|
|
521
568
|
jobs: Object.fromEntries(available.map(client => [client, Object.fromEntries(ROLES.map(role => [role, clone(effective(preferences.clients[client], role))]))]))};
|
|
522
569
|
}
|
|
570
|
+
function topModelFor(preset, client) {return typeof preset?.topModels?.[client]==='string'?preset.topModels[client]:null;}
|
|
571
|
+
// Code roles without a role-specific preset choice can switch to the preset's optional top model.
|
|
572
|
+
function topModelRoles(state, client) {
|
|
573
|
+
const profile=state.profiles?.[client];
|
|
574
|
+
if(!profile?.top||profile.custom||profile.modeSelected===false)return [];
|
|
575
|
+
return ROLES.filter(role=>ROLE_KINDS[role]==='code'&&!profile.preferences.roles?.[role]);
|
|
576
|
+
}
|
|
577
|
+
function topModelsOn(state, client) {
|
|
578
|
+
const roles=topModelRoles(state,client).filter(role=>(state.selectedRoles??ROLES).includes(role));
|
|
579
|
+
return roles.length>0&&roles.every(role=>state.jobs?.[client]?.[role]?.model===state.profiles[client].top);
|
|
580
|
+
}
|
|
581
|
+
function setTopModels(state, clients, on) {
|
|
582
|
+
for(const client of clients){
|
|
583
|
+
const profile=state.profiles[client];
|
|
584
|
+
for(const role of topModelRoles(state,client)){const base=effective(profile.preferences,role);state.jobs[client][role]={model:on?profile.top:base.model,effort:base.effort};}
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
function presetJob(state, client, role) {
|
|
588
|
+
const profile=state.profiles[client],base=effective(profile.preferences,role);
|
|
589
|
+
return topModelsOn(state,client)&&topModelRoles(state,client).includes(role)?{model:profile.top,effort:base.effort}:base;
|
|
590
|
+
}
|
|
591
|
+
// Tools whose presets choose identical role models differ only by parallel limits.
|
|
592
|
+
function presetModelSummary(presets, client) {
|
|
593
|
+
const choices=presets.map(preset=>{const config=preset.preferences?.clients?.[client];return config?ROLES.map(role=>effective(config,role)):null;});
|
|
594
|
+
if(!choices.length||choices.some(value=>value===null))return {same:false,model:null};
|
|
595
|
+
const first=JSON.stringify(choices[0]),same=choices.every(value=>JSON.stringify(value)===first),models=new Set(choices[0].map(choice=>choice.model));
|
|
596
|
+
return {same,model:same&&models.size===1?[...models][0]:null};
|
|
597
|
+
}
|
|
523
598
|
function modeFor(state, client = state.active) {
|
|
524
599
|
if (client !== 'all') {const profile=state.profiles[client];return !profile||profile.modeSelected===false?null:profile.custom?'custom':profile.presetId;}
|
|
525
600
|
const modes = (Array.isArray(state.selected)?state.selected:[]).map(client => modeFor(state, client));
|
|
@@ -533,18 +608,49 @@ function decodeFormState(fragment,release){
|
|
|
533
608
|
const mixed=new Set(chosen.map(client=>state.profiles[client].presetId)).size>1,pending=chosen.length<targets.length;
|
|
534
609
|
const edited=chosen.some(client=>{
|
|
535
610
|
const profile=state.profiles[client];
|
|
536
|
-
return (
|
|
611
|
+
return concurrencyFor(state,client)!==profile.presetCap||ROLES.some(role=>{const current=state.jobs?.[client]?.[role],base=presetJob(state,client,role);return current?.model!==base.model||current?.effort!==base.effort;});
|
|
537
612
|
});
|
|
538
|
-
|
|
613
|
+
// The scope warning only matters when other selected tools keep their choices; otherwise ask only before losing edits.
|
|
614
|
+
const scoped=!all&&(Array.isArray(state.selected)?state.selected.length:0)>1;
|
|
615
|
+
if(replacing&&(scoped||mixed||pending||edited)&&!confirmReplace())return state;
|
|
539
616
|
const next = clone(state);
|
|
540
617
|
for (const client of targets) {
|
|
541
618
|
const preferences = preset.preferences.clients[client];
|
|
542
|
-
next.profiles[client] = {presetId: preset.id ?? 'balanced', custom: false, modeSelected:true,presetCap:preset.preferences.maxConcurrent,preferences: clone(preferences)};
|
|
619
|
+
next.profiles[client] = {presetId: preset.id ?? 'balanced', custom: false, modeSelected:true,top:topModelFor(preset,client),presetCap:preferences.maxConcurrent??preset.preferences.maxConcurrent,maxConcurrent:preferences.maxConcurrent??preset.preferences.maxConcurrent,preferences: clone(preferences)};
|
|
543
620
|
next.jobs[client] = Object.fromEntries(ROLES.map(role => [role, clone(effective(preferences, role))]));
|
|
544
621
|
}
|
|
545
|
-
if (all) next.maxConcurrent = preset.preferences.maxConcurrent;
|
|
546
622
|
return next;
|
|
547
623
|
}
|
|
624
|
+
function concurrencyFor(state, client) {
|
|
625
|
+
const profile=state.profiles?.[client];
|
|
626
|
+
return profile&&Object.hasOwn(profile,'maxConcurrent')?profile.maxConcurrent:state.maxConcurrent;
|
|
627
|
+
}
|
|
628
|
+
function updateConcurrency(state, client, value) {
|
|
629
|
+
const profile=state.profiles[client];
|
|
630
|
+
if(!profile)throw new Error('Choose one coding tool.');
|
|
631
|
+
const count=Number(value),next=value===''?'':Number.isFinite(count)?count:String(value);
|
|
632
|
+
if(next!==concurrencyFor(state,client)){profile.custom=true;profile.modeSelected=true;}
|
|
633
|
+
profile.maxConcurrent=next;
|
|
634
|
+
}
|
|
635
|
+
function stepConcurrency(state, client, step) {
|
|
636
|
+
const current=concurrencyFor(state,client),value=Number(current);
|
|
637
|
+
updateConcurrency(state,client,current!==''&&Number.isInteger(value)?Math.max(1,Math.min(32,value+step)):1);
|
|
638
|
+
}
|
|
639
|
+
function restoreState(data, preferences, presets, presetId='balanced') {
|
|
640
|
+
const state=initialState(preferences,presetId,{empty:true});
|
|
641
|
+
if(data.v===1){state.maxConcurrent=data.maxConcurrent;for(const profile of Object.values(state.profiles))profile.maxConcurrent=data.maxConcurrent;}
|
|
642
|
+
state.selected=data.tools.map(tool=>tool.id);state.selectedRoles=[...data.roles];
|
|
643
|
+
state.active=data.scope??(state.selected.length>=2?'all':state.selected[0]??null);
|
|
644
|
+
for(const tool of data.tools){
|
|
645
|
+
const base=presets.find(preset=>preset.id===tool.base),selected=clone(base.preferences.clients[tool.id]);
|
|
646
|
+
const presetCap=selected.maxConcurrent??base.preferences.maxConcurrent,maxConcurrent=data.v===1?data.maxConcurrent:tool.maxConcurrent;
|
|
647
|
+
state.profiles[tool.id]={presetId:tool.base,custom:tool.mode==='custom'||tool.mode!==null&&maxConcurrent!==presetCap,modeSelected:tool.mode!==null,top:topModelFor(base,tool.id),presetCap,maxConcurrent,preferences:selected};
|
|
648
|
+
state.jobs[tool.id]=Object.fromEntries(ROLES.map(role=>[role,clone(effective(selected,role))]));
|
|
649
|
+
for(const [role,choice]of Object.entries(tool.choices))state.jobs[tool.id][role]={...choice};
|
|
650
|
+
if(topModelRoles(state,tool.id).some(role=>tool.choices[role]?.model===state.profiles[tool.id].top))setTopModels(state,[tool.id],true);
|
|
651
|
+
}
|
|
652
|
+
return state;
|
|
653
|
+
}
|
|
548
654
|
function allowedEfforts(catalog, model) {
|
|
549
655
|
const supported = catalog?.models?.find(choice => choice.id === model)?.efforts ?? catalog?.efforts ?? [];
|
|
550
656
|
return [null, ...new Set(supported.filter(effort => effort !== null))];
|
|
@@ -578,8 +684,9 @@ function decodeFormState(fragment,release){
|
|
|
578
684
|
}
|
|
579
685
|
function buildConfig(state, preferences, catalog = RELEASE.catalog) {
|
|
580
686
|
const errors = [];
|
|
581
|
-
const
|
|
582
|
-
|
|
687
|
+
const selectedTools=(Array.isArray(state.selected)?state.selected:[]).filter(client=>CLIENTS.includes(client));
|
|
688
|
+
const limits=selectedTools.map(client=>concurrencyFor(state,client));
|
|
689
|
+
const maxConcurrent=limits.length&&limits.every(limit=>limit===limits[0])&&Number.isInteger(limits[0])&&limits[0]>=1&&limits[0]<=32?limits[0]:preferences.maxConcurrent;
|
|
583
690
|
if (!Array.isArray(state.selected) || !state.selected.length) errors.push('Choose at least one coding tool.');
|
|
584
691
|
else if(new Set(state.selected).size!==state.selected.length||state.selected.some(client=>!CLIENTS.includes(client)))errors.push('Choose supported coding tools.');
|
|
585
692
|
const selection=state.selectedRoles===undefined?ROLES:Array.isArray(state.selectedRoles)?state.selectedRoles:[];
|
|
@@ -590,7 +697,9 @@ function decodeFormState(fragment,release){
|
|
|
590
697
|
if(state.profiles?.[client]?.modeSelected===false){errors.push(`${LABELS[client]}: choose a work mode.`);continue;}
|
|
591
698
|
const defaults = state.profiles?.[client]?.preferences ?? preferences.clients[client];
|
|
592
699
|
if (!defaults) { errors.push(`${LABELS[client]} has no release defaults.`); continue; }
|
|
593
|
-
const config = clone(defaults);
|
|
700
|
+
const config = clone(defaults),limit=concurrencyFor(state,client);
|
|
701
|
+
if(!Number.isInteger(limit)||limit<1||limit>32)errors.push(`${LABELS[client]}: enter a whole number from 1 to 32 for parallel subagents.`);
|
|
702
|
+
if(limit===maxConcurrent)delete config.maxConcurrent;else config.maxConcurrent=limit;
|
|
594
703
|
const roles = {};
|
|
595
704
|
const choices = [];
|
|
596
705
|
for (const role of selectedRoles) {
|
|
@@ -637,7 +746,7 @@ function decodeFormState(fragment,release){
|
|
|
637
746
|
return btoa(binary).replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');
|
|
638
747
|
}
|
|
639
748
|
function buildCommand(config, release) {return formatExplicitCommand(config,release.version,RELEASE.roles);}
|
|
640
|
-
globalThis.APKConfigurator = Object.freeze({initialState, modeFor, applyPreset, effective, allowedEfforts, preferenceForModel, updateEffort, buildConfig, encodeConfig, buildCommand});
|
|
749
|
+
globalThis.APKConfigurator = Object.freeze({initialState, modeFor, presetModelSummary, topModelRoles, topModelsOn, setTopModels, applyPreset, effective, allowedEfforts, preferenceForModel, updateEffort, updateConcurrency, stepConcurrency, concurrencyFor, restoreState, addAll, buildConfig, encodeConfig, buildCommand});
|
|
641
750
|
if (typeof document === 'undefined') return;
|
|
642
751
|
|
|
643
752
|
(() => {
|
|
@@ -646,7 +755,7 @@ function decodeFormState(fragment,release){
|
|
|
646
755
|
const clients=Object.keys(RELEASE.preferences.clients),toolName=id=>RELEASE.catalog.clients[id].label;
|
|
647
756
|
const presets=RELEASE.presets,initial=presets.find(p=>p.id==='balanced')??presets[0];
|
|
648
757
|
let state=A.initialState(initial.preferences,initial.id,{empty:true});
|
|
649
|
-
let helpers=[],pickedTools=[];
|
|
758
|
+
let helpers=[...state.selectedRoles],pickedTools=[];
|
|
650
759
|
let selectedScope=null;
|
|
651
760
|
function syncTargets(){
|
|
652
761
|
state.selected=[...pickedTools];state.selectedRoles=[...helpers];
|
|
@@ -656,8 +765,14 @@ function decodeFormState(fragment,release){
|
|
|
656
765
|
syncTargets();
|
|
657
766
|
const modeName=id=>id===null?'Choose mode':presets.find(p=>p.id===id)?.label??'Custom';
|
|
658
767
|
function el(tag,attrs={},text){const n=document.createElement(tag);for(const[k,v]of Object.entries(attrs))n.setAttribute(k,v);if(text!==undefined)n.textContent=text;return n;}
|
|
659
|
-
let mounted=false,activeTransition=null,motionCount=0,motionReady=0,lastAnimationCount=0,currentCommand='',commandRevision=0,lastCopiedCommand=null,linkError='',lastAddress=location.hash;
|
|
660
|
-
$
|
|
768
|
+
let mounted=false,archiveNavigation=false,activeTransition=null,motionCount=0,motionReady=0,lastAnimationCount=0,currentCommand='',commandRevision=0,lastCopiedCommand=null,linkError='',lastAddress=location.hash;
|
|
769
|
+
const showCommand=`npx --yes --ignore-scripts --package ${RELEASE.packageSpec} agent-policy show`;
|
|
770
|
+
$('show-command').textContent=showCommand;
|
|
771
|
+
$('copy-show').addEventListener('click',async()=>{
|
|
772
|
+
const button=$('copy-show');
|
|
773
|
+
try{if(!navigator.clipboard?.writeText)throw new Error('Clipboard unavailable');await navigator.clipboard.writeText(showCommand);button.textContent='Copied';setTimeout(()=>{button.textContent='Copy';},1600);}
|
|
774
|
+
catch{$('show-command').hidden=false;getSelection()?.selectAllChildren($('show-command'));}
|
|
775
|
+
});
|
|
661
776
|
$('release-status').textContent=RELEASE.unreleased?'Release candidate · npm command available after publication.':`Configuration release ${RELEASE.version}`;
|
|
662
777
|
const guideBase=location.protocol==='file:'?new URL('../',location.href).href:`https://unpkg.com/agent-policy-kit@${RELEASE.version}/`;
|
|
663
778
|
$('agent-guide').href=guideBase+'AGENT_INSTALL.md';$('release-notes').href=guideBase+'CHANGELOG.md';
|
|
@@ -676,21 +791,33 @@ function decodeFormState(fragment,release){
|
|
|
676
791
|
if(immediate)tip.hidden=true;else tipTimer=setTimeout(()=>{tip.hidden=true;},130);
|
|
677
792
|
}
|
|
678
793
|
function scheduleHide(){clearTimeout(tipTimer);tipTimer=setTimeout(()=>{if(!tip.matches(':hover')&&document.activeElement!==tipTrigger)hideRoleInfo();},100);}
|
|
679
|
-
function
|
|
794
|
+
function showTip(trigger,...content){
|
|
680
795
|
clearTimeout(tipTimer);tipTrigger?.removeAttribute('aria-describedby');tipTrigger=trigger;
|
|
681
|
-
tip.replaceChildren(
|
|
796
|
+
tip.replaceChildren(...content);
|
|
682
797
|
tip.hidden=false;trigger.setAttribute('aria-describedby','role-tooltip');
|
|
683
798
|
const anchor=trigger.getBoundingClientRect(),box=tip.getBoundingClientRect();
|
|
684
799
|
tip.style.left=Math.max(16,Math.min(anchor.left-12,innerWidth-box.width-16))+'px';
|
|
685
800
|
const below=anchor.bottom+8;tip.style.top=(below+box.height<innerHeight-16?below:Math.max(16,anchor.top-box.height-8))+'px';
|
|
686
801
|
requestAnimationFrame(()=>{if(tipTrigger===trigger)tip.classList.add('visible');});
|
|
687
802
|
}
|
|
688
|
-
function
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
803
|
+
function showRoleInfo(role,trigger){
|
|
804
|
+
showTip(trigger,el('strong',{},role.name),el('p',{},role.description),el('div',{class:'definition-label'},'Base role prompt'),el('pre',{},role.prompt),el('p',{class:'definition-note'},'APK saves this description and prompt as a native role. Model and effort are configured separately.'));
|
|
805
|
+
}
|
|
806
|
+
function infoButton(name,show){
|
|
807
|
+
const button=el('button',{type:'button',class:'helper-info','aria-label':'About '+name});button.append(el('span',{class:'info-dot','aria-hidden':'true'},'?'));
|
|
808
|
+
button.addEventListener('pointerenter',()=>show(button));button.addEventListener('pointerleave',scheduleHide);
|
|
809
|
+
button.addEventListener('focus',()=>show(button));button.addEventListener('blur',scheduleHide);button.addEventListener('click',event=>{event.stopPropagation();show(button);});
|
|
692
810
|
return button;
|
|
693
811
|
}
|
|
812
|
+
function roleInfo(role){return infoButton(role.name,button=>showRoleInfo(role,button));}
|
|
813
|
+
const stepInfo={
|
|
814
|
+
'helpers-heading':'Helpers your main agent can hand work to. Each role gets its own model and effort, so routine work does not run on your most expensive model.',
|
|
815
|
+
'tools-heading':'The coding tools you use. Only installed ones are configured; nothing else changes. With several tools, click one to adjust it separately.',
|
|
816
|
+
'mode-heading':'How much of your plan’s limits subagents may use. Light suits entry plans or many parallel sessions; Top-tier suits top plans with few.',
|
|
817
|
+
'setup-heading':'Run it in a terminal. It writes native settings for installed tools once and exits. Your main model stays unchanged.'
|
|
818
|
+
};
|
|
819
|
+
$('copy-show').before(infoButton('current settings',button=>showTip(button,el('strong',{},'Check current settings'),el('p',{},'Copies a read-only command. Run it in a terminal to see the roles, models, effort and parallel limits your coding tools use now. It changes nothing.'),el('pre',{},showCommand))));
|
|
820
|
+
for(const [id,text]of Object.entries(stepInfo)){const heading=$(id),name=heading.textContent;heading.after(infoButton(name,button=>showTip(button,el('strong',{},name),el('p',{},text))));}
|
|
694
821
|
tip.addEventListener('pointerenter',()=>clearTimeout(tipTimer));tip.addEventListener('pointerleave',scheduleHide);
|
|
695
822
|
document.addEventListener('keydown',event=>{if(event.key==='Escape')hideRoleInfo();});
|
|
696
823
|
document.addEventListener('pointerdown',event=>{if(!tip.contains(event.target)&&!tipTrigger?.contains(event.target))hideRoleInfo();});
|
|
@@ -716,8 +843,14 @@ function decodeFormState(fragment,release){
|
|
|
716
843
|
for(const kind of ['helpers','tools']){
|
|
717
844
|
const isRole=kind==='helpers',chosen=isRole?helpers:pickedTools,available=isRole?roles:clients.map(id=>({id,name:toolName(id)}));
|
|
718
845
|
const box=$(isRole?'selected-helpers':'selected-tools'),options=$(isRole?'helper-options':'tool-options');box.replaceChildren();options.replaceChildren();box.hidden=false;
|
|
846
|
+
if(available.some(item=>!chosen.includes(item.id))){
|
|
847
|
+
const all=el('button',{type:'button',class:'suggestion add-all','aria-label':isRole?'Add all subagent roles':'Add all coding tools'},'Add all');
|
|
848
|
+
all.addEventListener('click',()=>{const next=A.addAll(chosen,available.map(item=>item.id));if(isRole)helpers=next;else pickedTools=next;render();});
|
|
849
|
+
options.append(all);
|
|
850
|
+
}
|
|
851
|
+
box.classList.toggle('is-empty',!chosen.length);
|
|
719
852
|
if(isRole&&!chosen.length)box.append(el('span',{class:'empty'},'Add roles from below'));
|
|
720
|
-
if(!isRole&&!chosen.length)box.append(el('span',{class:'empty'},'Add
|
|
853
|
+
if(!isRole&&!chosen.length)box.append(el('span',{class:'empty'},'Add coding tools from below'));
|
|
721
854
|
if(!isRole&&chosen.length>=2){const all=el('button',{type:'button',class:'tool-scope scope-all','aria-label':'Configure all selected tools','aria-pressed':String(state.active==='all')},'All');all.style.viewTransitionName='tool-all';all.addEventListener('click',()=>{selectedScope='all';render();});box.append(all);}
|
|
722
855
|
const ordered=isRole?available:[...chosen.map(id=>available.find(item=>item.id===id)).filter(Boolean),...available.filter(item=>!chosen.includes(item.id))];
|
|
723
856
|
for(const item of ordered){
|
|
@@ -735,7 +868,7 @@ function decodeFormState(fragment,release){
|
|
|
735
868
|
|
|
736
869
|
}
|
|
737
870
|
function apply(preset){
|
|
738
|
-
const message=state.active==='all'?`Apply ${preset.label} to all selected tools? This replaces their individual modes, models and effort
|
|
871
|
+
const message=state.active==='all'?`Apply ${preset.label} to all selected tools? This replaces their individual modes, models and effort.`:state.selected.length>1?`Apply ${preset.label} to ${toolName(state.active)} only? Other tools keep their choices.`:`Replace your changes to ${toolName(state.active)} with ${preset.label}?`;
|
|
739
872
|
const next=A.applyPreset(state,preset,()=>window.confirm(message));if(next!==state){state=next;}render();
|
|
740
873
|
}
|
|
741
874
|
function renderModes(){
|
|
@@ -743,17 +876,27 @@ function decodeFormState(fragment,release){
|
|
|
743
876
|
const all=state.active==='all',mode=A.modeFor(state),scope=all?'All selected tools':toolName(state.active);if($('scope-label').textContent!==scope){$('scope-label').textContent=scope;flashLabel($('scope-label'));}
|
|
744
877
|
const options=$('mode-options');options.replaceChildren();
|
|
745
878
|
for(const p of [...presets,{id:'custom',label:'Custom'}]){const label=el('label',{class:'mode-option'}),radio=el('input',{type:'radio',name:'mode',value:p.id,'aria-label':p.label});label.style.viewTransitionName='mode-'+p.id;radio.checked=mode===p.id;radio.addEventListener('change',()=>{if(p.id==='custom'){for(const client of (all?state.selected:[state.active])){state.profiles[client].custom=true;state.profiles[client].modeSelected=true;}render();}else apply(p);});label.append(radio,el('span',{},p.label));options.append(label);}
|
|
746
|
-
renderModeNotice();
|
|
879
|
+
renderModeNotice();renderTopModels();
|
|
747
880
|
$('advanced').hidden=all||mode===null;renderEditor();
|
|
748
881
|
}
|
|
882
|
+
function topTargets(){
|
|
883
|
+
if(A.modeFor(state)!=='quality')return [];
|
|
884
|
+
return (state.active==='all'?state.selected:[state.active]).filter(client=>A.topModelRoles(state,client).some(role=>helpers.includes(role)));
|
|
885
|
+
}
|
|
886
|
+
function renderTopModels(){
|
|
887
|
+
const targets=topTargets(),toggle=$('top-models-toggle');$('top-models').hidden=!targets.length;if(!targets.length)return;
|
|
888
|
+
const names=targets.map(client=>{const top=state.profiles[client].top;return RELEASE.catalog.clients[client].models.find(model=>model.id===top)?.label??top;});
|
|
889
|
+
const text=state.active==='all'?`Use top models (${names.join(', ')}) for code, review and tests`:`Use ${names[0]} for code, review and tests`;
|
|
890
|
+
if($('top-models-label').textContent!==text)$('top-models-label').textContent=text;
|
|
891
|
+
const on=targets.filter(client=>A.topModelsOn(state,client)).length;toggle.setAttribute('aria-checked',String(on===targets.length));toggle.toggleAttribute('data-mixed',on>0&&on<targets.length);
|
|
892
|
+
}
|
|
749
893
|
function renderModeNotice(){
|
|
750
894
|
const all=state.active==='all',mode=A.modeFor(state),notice=$('mode-notice');
|
|
751
|
-
const
|
|
752
|
-
const
|
|
753
|
-
const
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
notice.hidden=!text;
|
|
895
|
+
const shared=!all&&mode!==null&&mode!=='custom'?A.presetModelSummary(presets,state.active):{same:false,model:null};
|
|
896
|
+
const sharedModel=shared.model?RELEASE.catalog.clients[state.active].models.find(model=>model.id===shared.model)?.label??shared.model:'the same models';
|
|
897
|
+
const message=mode==='custom'?(all?'Open a coding tool to customize its models and effort.':`Custom models and effort for ${toolName(state.active)}.`):shared.same?`${toolName(state.active)} uses ${sharedModel} for every role in every mode. Modes change only how many subagents run at once.`:(presets.find(p=>p.id===mode)?.description??'');
|
|
898
|
+
if(notice.textContent!==message){notice.replaceChildren();if(mode==='custom'&&all)notice.append('Open a ',el('strong',{},'coding tool'),' to customize its models and effort.');else notice.append(message);}
|
|
899
|
+
notice.hidden=!message;
|
|
757
900
|
}
|
|
758
901
|
function renderEditor(){
|
|
759
902
|
const parent=$('editor');parent.replaceChildren();if(!helpers.length||!state.active||state.active==='all'||state.profiles[state.active].modeSelected===false)return;
|
|
@@ -780,22 +923,21 @@ function decodeFormState(fragment,release){
|
|
|
780
923
|
}
|
|
781
924
|
}
|
|
782
925
|
function freshForm(){
|
|
783
|
-
state=A.initialState(initial.preferences,initial.id,{empty:true});helpers=[];pickedTools=[];selectedScope=null;lastCopiedCommand=null;commandRevision++;for(const node of toolModeLabels.values())node.getAnimations?.().forEach(animation=>animation.cancel());toolModeLabels.clear();
|
|
926
|
+
state=A.initialState(initial.preferences,initial.id,{empty:true});helpers=[...state.selectedRoles];pickedTools=[];selectedScope=null;lastCopiedCommand=null;commandRevision++;for(const node of toolModeLabels.values())node.getAnimations?.().forEach(animation=>animation.cancel());toolModeLabels.clear();
|
|
784
927
|
}
|
|
785
928
|
function loadAddress(first=false){
|
|
786
929
|
try{
|
|
787
930
|
const data=decodeFormState(location.hash,RELEASE);
|
|
788
931
|
if(data){
|
|
789
|
-
freshForm();helpers=[...data.roles];pickedTools=data.tools.map(tool=>tool.id);selectedScope=data.scope;
|
|
790
|
-
|
|
791
|
-
const base=presets.find(preset=>preset.id===tool.base),preferences=JSON.parse(JSON.stringify(base.preferences.clients[tool.id]));
|
|
792
|
-
state.profiles[tool.id]={presetId:tool.base,custom:tool.mode==='custom',modeSelected:tool.mode!==null,presetCap:base.preferences.maxConcurrent,preferences};
|
|
793
|
-
state.jobs[tool.id]=Object.fromEntries(roles.map(role=>[role.id,JSON.parse(JSON.stringify(A.effective(preferences,role.id)))]));
|
|
794
|
-
for(const [role,choice]of Object.entries(tool.choices))state.jobs[tool.id][role]={...choice};
|
|
795
|
-
}
|
|
932
|
+
freshForm();helpers=[...data.roles];pickedTools=data.tools.map(tool=>tool.id);selectedScope=data.scope;
|
|
933
|
+
state=A.restoreState(data,initial.preferences,presets,initial.id);
|
|
796
934
|
}else if(!first)freshForm();
|
|
797
935
|
linkError='';
|
|
798
|
-
}catch(error){
|
|
936
|
+
}catch(error){
|
|
937
|
+
const archived=archivedReleaseUrl(error,location.href,RELEASE.hostedReleases??[]);
|
|
938
|
+
if(archived){archiveNavigation=true;location.replace(archived);return;}
|
|
939
|
+
freshForm();linkError=error?.code==='SHARE_RELEASE_MISMATCH'?'Open this setup link with its matching APK release, or reset the form.':'This setup link is invalid. Reset the form to start again.';
|
|
940
|
+
}
|
|
799
941
|
}
|
|
800
942
|
function publishAddress(){
|
|
801
943
|
let message=linkError;
|
|
@@ -803,7 +945,7 @@ function decodeFormState(fragment,release){
|
|
|
803
945
|
const fragment=encodeFormState({state,helpers,pickedTools,selectedScope},RELEASE);
|
|
804
946
|
if(location.hash!==fragment)history.replaceState(history.state,'',location.pathname+location.search+fragment);
|
|
805
947
|
lastAddress=fragment;
|
|
806
|
-
}catch{message='Check your model IDs before sharing this setup.';}
|
|
948
|
+
}catch{message=pickedTools.some(client=>{const cap=A.concurrencyFor(state,client);return !Number.isInteger(cap)||cap<1||cap>32;})?'Check parallel limits in the coding tool details.':'Check your model IDs before sharing this setup.';}
|
|
807
949
|
$('link-error').textContent=message;$('link-error').hidden=!message;
|
|
808
950
|
}
|
|
809
951
|
function setStepHint(number,message){
|
|
@@ -838,9 +980,6 @@ function decodeFormState(fragment,release){
|
|
|
838
980
|
const marker=section.querySelector('.step-number'),value=String(complete[index]),changed=marker.dataset.complete!==undefined&&marker.dataset.complete!==value;section.dataset.complete=value;marker.dataset.complete=value;
|
|
839
981
|
const text=complete[index]?'✓':String(index+1);if(marker.textContent!==text)marker.textContent=text;marker.setAttribute('role','img');marker.setAttribute('aria-label',`Step ${index+1}${complete[index]?' complete':''}`);if(changed)flashStep(marker,complete[index]);
|
|
840
982
|
});
|
|
841
|
-
setStepHint(1,helpers.length?(helpers.length<roles.length?'You can add more roles.':'All available roles added.'):'');
|
|
842
|
-
setStepHint(2,pickedTools.length===1?'You can add more coding tools.':pickedTools.length>=2?'Click a coding tool to configure it individually.':'');
|
|
843
|
-
setStepHint(3,helpers.length&&pickedTools.length?'Click a mode to select it.':'');
|
|
844
983
|
setStepHint(4,copied?'Copied':'');
|
|
845
984
|
}
|
|
846
985
|
function stepLink(id,text){
|
|
@@ -848,6 +987,16 @@ function decodeFormState(fragment,release){
|
|
|
848
987
|
}
|
|
849
988
|
function renderResult(){
|
|
850
989
|
renderModeNotice();
|
|
990
|
+
const client=state.active,visible=clients.includes(client)&&pickedTools.includes(client)&&helpers.length>0&&state.profiles[client].modeSelected!==false;
|
|
991
|
+
$('concurrency-panel').hidden=!visible;
|
|
992
|
+
if(visible){
|
|
993
|
+
const cap=A.concurrencyFor(state,client),validCap=Number.isInteger(cap)&&cap>=1&&cap<=32,capInput=$('max-concurrent');
|
|
994
|
+
if(document.activeElement!==capInput||capInput.dataset.client!==client)capInput.value=cap;
|
|
995
|
+
capInput.dataset.client=client;capInput.setAttribute('aria-invalid',String(!validCap));
|
|
996
|
+
$('concurrency-label').textContent=['kimi','agy'].includes(client)?'Max per session (advisory)':'Max per session';
|
|
997
|
+
$('concurrency-error').hidden=validCap;
|
|
998
|
+
$('decrease-concurrency').disabled=validCap&&cap===1;$('increase-concurrency').disabled=validCap&&cap===32;
|
|
999
|
+
}
|
|
851
1000
|
let next='',summary='Complete the steps above.',detail='',missing=[];
|
|
852
1001
|
if(!helpers.length)missing.push(['helpers-heading','a subagent role in step 1']);
|
|
853
1002
|
if(!pickedTools.length)missing.push(['tools-heading','a coding tool in step 2']);
|
|
@@ -855,8 +1004,8 @@ function decodeFormState(fragment,release){
|
|
|
855
1004
|
if(pickedTools.some(client=>A.modeFor(state,client)===null))missing.push(['mode-heading','a work mode for each selected coding tool in step 3']);
|
|
856
1005
|
else{
|
|
857
1006
|
const {config,errors}=A.buildConfig(state,RELEASE.preferences,RELEASE.catalog);
|
|
858
|
-
if(errors.length){summary='Check your
|
|
859
|
-
else try{next=A.buildCommand(config,RELEASE);summary=`${helpers.length} subagent role${helpers.length===1?'':'s'} · ${pickedTools.length} coding tool${pickedTools.length===1?'':'s'}`;
|
|
1007
|
+
if(errors.length){summary='Check your settings.';detail=errors[0];}
|
|
1008
|
+
else try{next=A.buildCommand(config,RELEASE);summary=`${helpers.length} subagent role${helpers.length===1?'':'s'} · ${pickedTools.length} coding tool${pickedTools.length===1?'':'s'}`;}
|
|
860
1009
|
catch{summary='Command unavailable.';detail='Check the configuration release.';}
|
|
861
1010
|
}
|
|
862
1011
|
}
|
|
@@ -872,7 +1021,7 @@ function decodeFormState(fragment,release){
|
|
|
872
1021
|
updateProgress();publishAddress();
|
|
873
1022
|
}
|
|
874
1023
|
function renderNow(){syncTargets();renderPickers();renderModes();renderResult();}
|
|
875
|
-
function render({fromAddress=false}={}){if(mounted&&!fromAddress)linkError='';if(!mounted){renderNow();mounted=true;}else animateUpdate(renderNow);}
|
|
1024
|
+
function render({fromAddress=false}={}){if(archiveNavigation)return;if(mounted&&!fromAddress)linkError='';if(!mounted){renderNow();mounted=true;}else animateUpdate(renderNow);}
|
|
876
1025
|
function addressChanged(){
|
|
877
1026
|
if(location.hash===lastAddress||(location.hash&&!location.hash.startsWith('#setup=')))return;
|
|
878
1027
|
lastAddress=location.hash;loadAddress();render({fromAddress:true});
|
|
@@ -880,6 +1029,10 @@ function decodeFormState(fragment,release){
|
|
|
880
1029
|
window.addEventListener('hashchange',addressChanged);window.addEventListener('popstate',addressChanged);
|
|
881
1030
|
$('reset-form').addEventListener('click',()=>{freshForm();linkError='';render();});
|
|
882
1031
|
|
|
1032
|
+
function refreshConcurrency(){linkError='';toolModeLabel(state.active);renderModes();renderResult();}
|
|
1033
|
+
$('max-concurrent').addEventListener('input',event=>{const client=event.target.dataset.client;if(client!==state.active||!clients.includes(client))return;A.updateConcurrency(state,client,event.target.value);refreshConcurrency();});
|
|
1034
|
+
for(const [id,step]of [['decrease-concurrency',-1],['increase-concurrency',1]])$(id).addEventListener('click',()=>{const client=state.active;if(!clients.includes(client))return;A.stepConcurrency(state,client,step);$('max-concurrent').value=A.concurrencyFor(state,client);refreshConcurrency();});
|
|
1035
|
+
$('top-models-toggle').addEventListener('click',event=>{A.setTopModels(state,topTargets(),event.currentTarget.getAttribute('aria-checked')!=='true');render();});
|
|
883
1036
|
$('setup-command').addEventListener('focus',()=>$('setup-command').select());
|
|
884
1037
|
$('copy').addEventListener('click',async()=>{
|
|
885
1038
|
if(!currentCommand)return;const commandToCopy=currentCommand,revision=commandRevision;
|