@dadado/agent-kit-cli 6.25.0 → 6.26.1
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/dashboard/dashboard.html +3 -3
- package/dashboard/lib/guards.mjs +1 -0
- package/dist/{add-OYLOMCM6.js → add-G7KEZLWP.js} +7 -6
- package/dist/{chunk-7HDQEK6T.js → chunk-2G4K4ZI5.js} +7 -3
- package/dist/{chunk-QLTGHJB3.js → chunk-2GXN7HVG.js} +5 -5
- package/dist/{chunk-IFBIO7VT.js → chunk-3KFLQE6Y.js} +1533 -52
- package/dist/{chunk-GQSSXDDK.js → chunk-ARJRICI2.js} +1 -1
- package/dist/{chunk-6WUKLS4D.js → chunk-BIFTTL2O.js} +1 -1
- package/dist/{chunk-QACMV46U.js → chunk-BSK6C4UO.js} +19 -12
- package/dist/{chunk-NJ2SUSWX.js → chunk-BVZDPVUL.js} +1 -1
- package/dist/{chunk-GMG7ZH4E.js → chunk-DOMBVLI4.js} +13 -13
- package/dist/{chunk-2F6NMQOA.js → chunk-FB6G6OD6.js} +3 -3
- package/dist/{chunk-MFKHIWEL.js → chunk-FOVHFMSH.js} +1 -1
- package/dist/{chunk-EO5NGAYV.js → chunk-FUSNEYGU.js} +29 -3
- package/dist/{chunk-SAQ3EE5R.js → chunk-HGB4DHXV.js} +3 -3
- package/dist/{chunk-6M6UKECW.js → chunk-IHVJTGYR.js} +0 -32
- package/dist/chunk-KMK4T4ZM.js +34 -0
- package/dist/{chunk-ZMYV6PRE.js → chunk-LEVNLHH3.js} +2 -1
- package/dist/{chunk-2XLI7XEY.js → chunk-MGVV6YC4.js} +1 -1
- package/dist/{chunk-C7SV7UP5.js → chunk-MWRYQLEG.js} +3 -3
- package/dist/{chunk-WKFE3RUC.js → chunk-NHJ4IAVN.js} +5 -3
- package/dist/{chunk-HSIHZWFF.js → chunk-NW5SWKJV.js} +7 -7
- package/dist/{chunk-C4Q77GGJ.js → chunk-O7VMHCNN.js} +6 -0
- package/dist/{chunk-CIV42JGT.js → chunk-PCIYXGB3.js} +2 -2
- package/dist/{chunk-7Y74KO7U.js → chunk-PLLXFSN2.js} +12 -12
- package/dist/{chunk-XGZOU4DS.js → chunk-QMCBXCP5.js} +4 -4
- package/dist/{chunk-QX55T4UX.js → chunk-RJP47EGS.js} +6 -1
- package/dist/{chunk-KWYF7QNH.js → chunk-RLVY6YD3.js} +17 -2
- package/dist/{chunk-JGG574RK.js → chunk-RRJVC35Y.js} +3 -3
- package/dist/{chunk-PIMGV3E5.js → chunk-SWJJW624.js} +1 -1
- package/dist/{chunk-G5MQRP6M.js → chunk-SYRJ5TTK.js} +13 -9
- package/dist/{chunk-L5V3W3DY.js → chunk-TTUFIE26.js} +60 -14
- package/dist/chunk-WOXTL43E.js +248 -0
- package/dist/{chunk-JFS4GKP7.js → chunk-XXPI4H4D.js} +2 -2
- package/dist/{chunk-M4UL422I.js → chunk-Y5526WCN.js} +6 -6
- package/dist/{chunk-CXE6ASSX.js → chunk-Y575INEC.js} +1 -1
- package/dist/{chunk-H7RAFRRZ.js → chunk-YFRG3CMS.js} +68 -34
- package/dist/{chunk-JG3CNGQM.js → chunk-ZNZHDPS3.js} +6 -4
- package/dist/{commands-UW2C2ZN4.js → commands-SCFSX4U4.js} +8 -6
- package/dist/{conflicts-RING6AHV.js → conflicts-4GLQOMJF.js} +9 -10
- package/dist/{contribute-LSY75JZH.js → contribute-HE4WCBRY.js} +7 -6
- package/dist/{countdown-SZ2P4XHB.js → countdown-VXOFV23S.js} +104 -57
- package/dist/{dashboard-P65XHYCU.js → dashboard-6V6PCNYF.js} +1 -1
- package/dist/{dashboard-broadcast-GYK34QYL.js → dashboard-broadcast-PMVQ7PXU.js} +1 -1
- package/dist/{diff-NZVBVQSK.js → diff-3XUZM7ZT.js} +8 -7
- package/dist/{doctor-TJSXBVGV.js → doctor-KGUWU5SN.js} +16 -15
- package/dist/{engine-info-BBI5QO5Y.js → engine-info-VM4VPGQM.js} +2 -2
- package/dist/{ground-control-ZJXPUIQN.js → ground-control-J4AMA4S4.js} +7 -4
- package/dist/{handoff-2OZSWGTE.js → handoff-LLT4CI6H.js} +2 -3
- package/dist/{hook-3VPKNSOO.js → hook-UPZ3CPYS.js} +22 -22
- package/dist/index.js +52 -32
- package/dist/{init-UW2BJBO2.js → init-ZHLVXEVT.js} +19 -18
- package/dist/{install-RQSI4CHG.js → install-XWOG64W3.js} +19 -18
- package/dist/{installs-7TR4H4QH.js → installs-2ROXPO6M.js} +5 -4
- package/dist/{mission-control-VSU6NT43.js → mission-control-IGOI3WHS.js} +2 -2
- package/dist/models-SNB5Q3YU.js +45 -0
- package/dist/paths-JTPV6SXH.js +107 -0
- package/dist/pi-DCMDOY65.js +248 -0
- package/dist/{plan-index-BNLUU6T5.js → plan-index-5QZJK4AG.js} +2 -3
- package/dist/{queue-JHYILLMX.js → queue-HDR5ER25.js} +11 -13
- package/dist/{run-CQF5RM5X.js → run-RGIY5JTX.js} +24 -30
- package/dist/{run-plan-BEOCOJCF.js → run-plan-DHB3ZXJS.js} +35 -23
- package/dist/{session-start-QV7CEFRX.js → session-start-NC2HE5X5.js} +16 -16
- package/dist/{sessions-AWAAO3DU.js → sessions-WWWLYPW6.js} +4 -4
- package/dist/{setup-global-ST4TT427.js → setup-global-WDMARD4Z.js} +11 -10
- package/dist/{status-HUBPBGUU.js → status-2WNJL7PP.js} +12 -11
- package/dist/update-OXCWYN3Y.js +32 -0
- package/dist/{update-all-YYUTXHGR.js → update-all-E2MV6KME.js} +20 -18
- package/package.json +14 -4
- package/pi/agent-kit.ts +224 -0
- package/dist/chunk-7ABY6DYH.js +0 -89
- package/dist/chunk-AQLBEEPD.js +0 -625
- package/dist/chunk-MUTTNRX4.js +0 -53
- package/dist/chunk-TOSAAQ5A.js +0 -71
- package/dist/update-DD5UZPGG.js +0 -31
package/dashboard/dashboard.html
CHANGED
|
@@ -6252,7 +6252,7 @@ function personaOptionHtml(selected) {
|
|
|
6252
6252
|
|
|
6253
6253
|
/* Model roles (roles key; docs/model-roles-capability-matrix.md). Empty = not set:
|
|
6254
6254
|
the field is cleared and the command default or the Audits section applies. */
|
|
6255
|
-
const ROLE_WORKER_BACKEND_OPTIONS = ['auto', 'claude', 'cursor-agent', 'codex', 'openrouter', 'cursor-acp'];
|
|
6255
|
+
const ROLE_WORKER_BACKEND_OPTIONS = ['auto', 'claude', 'cursor-agent', 'codex', 'openrouter', 'cursor-acp', 'local'];
|
|
6256
6256
|
const ROLE_REVIEWER_BACKEND_OPTIONS = ['auto', 'claude', 'cursor-agent'];
|
|
6257
6257
|
const ROLE_REVIEWER_SCOPE_OPTIONS = ['off', 'tick', 'plan'];
|
|
6258
6258
|
const ROLE_MODEL_SUGGESTIONS = [
|
|
@@ -6315,12 +6315,12 @@ function renderRolesFieldset(cfg) {
|
|
|
6315
6315
|
<select id="config-role-worker-backend" name="roleWorkerBackend" data-focus-key="config-role-worker-backend">
|
|
6316
6316
|
${roleSelectHtml(ROLE_WORKER_BACKEND_OPTIONS, worker.backend, 'Not set (command default)')}
|
|
6317
6317
|
</select>
|
|
6318
|
-
<span class="config-hint">codex, openrouter and cursor-acp bill their own accounts and never fall back to another backend.</span>
|
|
6318
|
+
<span class="config-hint">codex, openrouter and cursor-acp bill their own accounts and never fall back to another backend. local runs a model on this machine (pi) and never falls back to a paid one.</span>
|
|
6319
6319
|
</div>
|
|
6320
6320
|
<div class="config-row">
|
|
6321
6321
|
<label for="config-role-worker-model">Worker model</label>
|
|
6322
6322
|
<input type="text" id="config-role-worker-model" name="roleWorkerModel" list="config-role-model-suggestions" value="${escapeAttr(worker.model || '')}" maxlength="128" placeholder="backend default" data-focus-key="config-role-worker-model" />
|
|
6323
|
-
<span class="config-hint">Alias or full id for the worker backend. cursor-acp cannot select a model.</span>
|
|
6323
|
+
<span class="config-hint">Alias or full id for the worker backend. cursor-acp cannot select a model. local takes <source>:<id> from agent-kit models.</span>
|
|
6324
6324
|
</div>
|
|
6325
6325
|
<div class="config-row">
|
|
6326
6326
|
<label for="config-role-subworker-model">Subworker model</label>
|
package/dashboard/lib/guards.mjs
CHANGED
|
@@ -595,6 +595,7 @@ export const ROLE_CAPABILITIES = Object.freeze({
|
|
|
595
595
|
codex: Object.freeze({ workerModel: true, subworkerModel: false, reviewer: false }),
|
|
596
596
|
openrouter: Object.freeze({ workerModel: true, subworkerModel: false, reviewer: false }),
|
|
597
597
|
"cursor-acp": Object.freeze({ workerModel: false, subworkerModel: false, reviewer: false }),
|
|
598
|
+
local: Object.freeze({ workerModel: true, subworkerModel: false, reviewer: false }),
|
|
598
599
|
});
|
|
599
600
|
|
|
600
601
|
/** roles.worker.backend values: auto plus every kit backend id. */
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
REGISTRY_CLI_ARGS,
|
|
7
7
|
resolveRegistryFromCli
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SWJJW624.js";
|
|
9
9
|
import {
|
|
10
10
|
logger
|
|
11
11
|
} from "./chunk-ZB43YMHW.js";
|
|
@@ -23,13 +23,14 @@ import {
|
|
|
23
23
|
resolveProtectedGlobs,
|
|
24
24
|
saveManifest,
|
|
25
25
|
upsertIdList
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-ZNZHDPS3.js";
|
|
27
|
+
import "./chunk-RJP47EGS.js";
|
|
28
|
+
import "./chunk-IHVJTGYR.js";
|
|
29
|
+
import "./chunk-KMK4T4ZM.js";
|
|
29
30
|
import {
|
|
30
31
|
KIT_VERSION
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-2G4K4ZI5.js";
|
|
33
|
+
import "./chunk-O7VMHCNN.js";
|
|
33
34
|
import "./chunk-5B4DVO6C.js";
|
|
34
35
|
|
|
35
36
|
// src/commands/add.ts
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
// src/lifecycle/version.ts
|
|
2
2
|
import { createRequire } from "module";
|
|
3
3
|
var require2 = createRequire(import.meta.url);
|
|
4
|
-
function
|
|
4
|
+
function loadPackageMetadata() {
|
|
5
5
|
for (const packagePath of ["../package.json", "../../package.json"]) {
|
|
6
6
|
try {
|
|
7
7
|
const metadata = require2(packagePath);
|
|
8
8
|
if (typeof metadata.version === "string" && metadata.version.length > 0) {
|
|
9
|
-
|
|
9
|
+
const name = typeof metadata.name === "string" ? metadata.name : "";
|
|
10
|
+
return { name, version: metadata.version };
|
|
10
11
|
}
|
|
11
12
|
} catch {
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
throw new Error("Unable to resolve the Agent Kit CLI package version");
|
|
15
16
|
}
|
|
16
|
-
var
|
|
17
|
+
var PACKAGE_METADATA = loadPackageMetadata();
|
|
18
|
+
var KIT_VERSION = PACKAGE_METADATA.version;
|
|
19
|
+
var KIT_PACKAGE_NAME = PACKAGE_METADATA.name;
|
|
17
20
|
var KIT_PACKAGE_SPEC = "@dadado/agent-kit-cli";
|
|
18
21
|
function pinnedCliSpec(version = KIT_VERSION) {
|
|
19
22
|
return `${KIT_PACKAGE_SPEC}@${version}`;
|
|
@@ -21,6 +24,7 @@ function pinnedCliSpec(version = KIT_VERSION) {
|
|
|
21
24
|
|
|
22
25
|
export {
|
|
23
26
|
KIT_VERSION,
|
|
27
|
+
KIT_PACKAGE_NAME,
|
|
24
28
|
KIT_PACKAGE_SPEC,
|
|
25
29
|
pinnedCliSpec
|
|
26
30
|
};
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
compareSemver,
|
|
6
6
|
normalizeSemver,
|
|
7
7
|
readLocalKitVersion
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y5526WCN.js";
|
|
9
9
|
import {
|
|
10
10
|
isRetiredSkillId,
|
|
11
11
|
retireManagedFiles
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HGB4DHXV.js";
|
|
13
13
|
import {
|
|
14
14
|
L0_ARTIFACTS
|
|
15
15
|
} from "./chunk-CGXLR77R.js";
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
mergeStats,
|
|
24
24
|
recordOutcome,
|
|
25
25
|
resolveProtectedGlobs
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZNZHDPS3.js";
|
|
27
27
|
import {
|
|
28
28
|
loadManagedHashLedger,
|
|
29
29
|
saveManagedHashLedger
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-RJP47EGS.js";
|
|
31
31
|
import {
|
|
32
32
|
KIT_PACKAGE_SPEC,
|
|
33
33
|
KIT_VERSION
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2G4K4ZI5.js";
|
|
35
35
|
import {
|
|
36
36
|
fileExists
|
|
37
37
|
} from "./chunk-5B4DVO6C.js";
|