agents-inc 0.170.1 → 0.171.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/CHANGELOG.md +30 -0
- package/dist/{chunk-52HDHJ7I.js → chunk-24OD7IP4.js} +32 -21
- package/dist/chunk-24OD7IP4.js.map +1 -0
- package/dist/{chunk-MQ6CGZNJ.js → chunk-3YYHL76L.js} +1879 -2019
- package/dist/chunk-3YYHL76L.js.map +1 -0
- package/dist/chunk-4RQKCV6I.js +103 -0
- package/dist/chunk-4RQKCV6I.js.map +1 -0
- package/dist/{chunk-USVBYQSQ.js → chunk-5FM77WKW.js} +16 -6
- package/dist/chunk-5FM77WKW.js.map +1 -0
- package/dist/{chunk-HED2DAXZ.js → chunk-7IVLVEHX.js} +5 -5
- package/dist/chunk-7IVLVEHX.js.map +1 -0
- package/dist/{chunk-PJWGTNOX.js → chunk-A6OWEJGC.js} +144 -186
- package/dist/chunk-A6OWEJGC.js.map +1 -0
- package/dist/{chunk-BMRUNMPV.js → chunk-AWWCRL5A.js} +35 -35
- package/dist/chunk-AWWCRL5A.js.map +1 -0
- package/dist/{chunk-F2BHT5C4.js → chunk-EOKNEGRD.js} +129 -151
- package/dist/chunk-EOKNEGRD.js.map +1 -0
- package/dist/{chunk-NQW25DCF.js → chunk-GHHJYNAN.js} +1 -7
- package/dist/chunk-GHHJYNAN.js.map +1 -0
- package/dist/chunk-JGPE4RRE.js +35 -0
- package/dist/chunk-JGPE4RRE.js.map +1 -0
- package/dist/{chunk-JFLVEFFP.js → chunk-KIK5EZYD.js} +1 -1
- package/dist/chunk-KIK5EZYD.js.map +1 -0
- package/dist/{chunk-NCWDK6L7.js → chunk-KMOCMVK5.js} +254 -379
- package/dist/chunk-KMOCMVK5.js.map +1 -0
- package/dist/{chunk-4AAOOAIN.js → chunk-P6CYS4JK.js} +2 -2
- package/dist/chunk-P6CYS4JK.js.map +1 -0
- package/dist/chunk-QIR56IDM.js +1169 -0
- package/dist/chunk-QIR56IDM.js.map +1 -0
- package/dist/{chunk-6ZRH5RHC.js → chunk-R572RLTI.js} +4 -4
- package/dist/chunk-R572RLTI.js.map +1 -0
- package/dist/{chunk-WTWMGH2C.js → chunk-RDXY4GRO.js} +2 -2
- package/dist/chunk-RDXY4GRO.js.map +1 -0
- package/dist/{chunk-7RDMTR64.js → chunk-S2SKVJT2.js} +785 -256
- package/dist/chunk-S2SKVJT2.js.map +1 -0
- package/dist/{chunk-SZYQISA2.js → chunk-TNFYBKVD.js} +43 -29
- package/dist/chunk-TNFYBKVD.js.map +1 -0
- package/dist/{chunk-RIPSGNLU.js → chunk-W4KAY26P.js} +3 -3
- package/dist/chunk-W4KAY26P.js.map +1 -0
- package/dist/{chunk-OYJQUA3D.js → chunk-WDH6HHA3.js} +31 -13
- package/dist/chunk-WDH6HHA3.js.map +1 -0
- package/dist/{chunk-3G7X2WKI.js → chunk-WII6GOPM.js} +18 -38
- package/dist/chunk-WII6GOPM.js.map +1 -0
- package/dist/{chunk-F5EBEATU.js → chunk-WM2N2D6Q.js} +34 -46
- package/dist/chunk-WM2N2D6Q.js.map +1 -0
- package/dist/{chunk-KOLDW6SF.js → chunk-YLUOGAW7.js} +2 -2
- package/dist/chunk-YLUOGAW7.js.map +1 -0
- package/dist/{chunk-44TE3RKH.js → chunk-ZC6GC66J.js} +5 -4
- package/dist/chunk-ZC6GC66J.js.map +1 -0
- package/dist/{chunk-NEZ4OAOL.js → chunk-ZEGM3MVR.js} +3 -5
- package/dist/chunk-ZEGM3MVR.js.map +1 -0
- package/dist/commands/build/marketplace.js +46 -46
- package/dist/commands/build/marketplace.js.map +1 -1
- package/dist/commands/build/plugins.js +25 -28
- package/dist/commands/build/plugins.js.map +1 -1
- package/dist/commands/compile.js +87 -178
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/doctor.js +510 -360
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/edit.js +451 -357
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/eject.js +144 -125
- package/dist/commands/eject.js.map +1 -1
- package/dist/commands/init.js +20 -27
- package/dist/commands/list.js +39 -55
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/new/marketplace.js +6 -11
- package/dist/commands/new/marketplace.js.map +1 -1
- package/dist/commands/search.js +35 -32
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/share.js +17 -77
- package/dist/commands/share.js.map +1 -1
- package/dist/commands/uninstall.js +159 -222
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/commands/update.js +9 -32
- package/dist/commands/update.js.map +1 -1
- package/dist/components/common/prompt-confirm.js +2 -2
- package/dist/components/common/removal-plan-confirm.js +2 -2
- package/dist/components/common/scroll-affordance.js +2 -2
- package/dist/components/common/select-list.js +2 -2
- package/dist/components/common/skill-agent-summary.js +4 -4
- package/dist/components/common/spinner.js +2 -4
- package/dist/components/common/summary-panel.js +5 -5
- package/dist/components/common/summary-panel.js.map +1 -1
- package/dist/config-exports.js +7 -3
- package/dist/config-exports.js.map +1 -1
- package/dist/hooks/init.js +18 -19
- package/dist/hooks/init.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/load-agent-defs-UBWITIEI.js +14 -0
- package/dist/recompile-project-agents-IQANWGOP.js +65 -0
- package/dist/recompile-project-agents-IQANWGOP.js.map +1 -0
- package/dist/{source-loader-C5SQXZXI.js → source-loader-YGG7DY2W.js} +5 -5
- package/dist/src/agents/developer/ai-developer/playbook.md +2 -5
- package/dist/src/agents/developer/api-developer/playbook.md +2 -5
- package/dist/src/agents/developer/cli-developer/playbook.md +2 -5
- package/dist/src/agents/developer/web-developer/playbook.md +2 -5
- package/dist/src/agents/meta/agent-summoner/output.md +2 -2
- package/dist/src/agents/meta/agent-summoner/playbook.md +1 -13
- package/dist/src/agents/meta/codex-keeper/critical-requirements.md +2 -5
- package/dist/src/agents/meta/convention-keeper/critical-requirements.md +2 -4
- package/dist/src/agents/tester/ai-tester/critical-requirements.md +1 -2
- package/dist/src/agents/tester/ai-tester/playbook.md +2 -0
- package/dist/src/agents/tester/api-tester/critical-requirements.md +1 -2
- package/dist/src/agents/tester/api-tester/playbook.md +2 -0
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +1 -2
- package/dist/src/agents/tester/cli-tester/playbook.md +2 -0
- package/dist/src/agents/tester/web-tester/critical-requirements.md +1 -2
- package/dist/src/agents/tester/web-tester/playbook.md +2 -0
- package/package.json +9 -8
- package/src/agents/developer/ai-developer/playbook.md +2 -5
- package/src/agents/developer/api-developer/playbook.md +2 -5
- package/src/agents/developer/cli-developer/playbook.md +2 -5
- package/src/agents/developer/web-developer/playbook.md +2 -5
- package/src/agents/meta/agent-summoner/output.md +2 -2
- package/src/agents/meta/agent-summoner/playbook.md +1 -13
- package/src/agents/meta/codex-keeper/critical-requirements.md +2 -5
- package/src/agents/meta/convention-keeper/critical-requirements.md +2 -4
- package/src/agents/tester/ai-tester/critical-requirements.md +1 -2
- package/src/agents/tester/ai-tester/playbook.md +2 -0
- package/src/agents/tester/api-tester/critical-requirements.md +1 -2
- package/src/agents/tester/api-tester/playbook.md +2 -0
- package/src/agents/tester/cli-tester/critical-requirements.md +1 -2
- package/src/agents/tester/cli-tester/playbook.md +2 -0
- package/src/agents/tester/web-tester/critical-requirements.md +1 -2
- package/src/agents/tester/web-tester/playbook.md +2 -0
- package/src/schemas/project-config.schema.json +0 -3
- package/src/schemas/project-source-config.schema.json +0 -6
- package/dist/chunk-3G7X2WKI.js.map +0 -1
- package/dist/chunk-44TE3RKH.js.map +0 -1
- package/dist/chunk-4AAOOAIN.js.map +0 -1
- package/dist/chunk-52HDHJ7I.js.map +0 -1
- package/dist/chunk-6HNXYYVF.js +0 -373
- package/dist/chunk-6HNXYYVF.js.map +0 -1
- package/dist/chunk-6ZRH5RHC.js.map +0 -1
- package/dist/chunk-7RDMTR64.js.map +0 -1
- package/dist/chunk-BMRUNMPV.js.map +0 -1
- package/dist/chunk-CLPUWOSA.js +0 -46
- package/dist/chunk-CLPUWOSA.js.map +0 -1
- package/dist/chunk-F2BHT5C4.js.map +0 -1
- package/dist/chunk-F5EBEATU.js.map +0 -1
- package/dist/chunk-HED2DAXZ.js.map +0 -1
- package/dist/chunk-JFLVEFFP.js.map +0 -1
- package/dist/chunk-KOLDW6SF.js.map +0 -1
- package/dist/chunk-MQ6CGZNJ.js.map +0 -1
- package/dist/chunk-NCWDK6L7.js.map +0 -1
- package/dist/chunk-NEZ4OAOL.js.map +0 -1
- package/dist/chunk-NIHUOWE4.js +0 -106
- package/dist/chunk-NIHUOWE4.js.map +0 -1
- package/dist/chunk-NQW25DCF.js.map +0 -1
- package/dist/chunk-OYJQUA3D.js.map +0 -1
- package/dist/chunk-PJWGTNOX.js.map +0 -1
- package/dist/chunk-RIPSGNLU.js.map +0 -1
- package/dist/chunk-SZYQISA2.js.map +0 -1
- package/dist/chunk-USVBYQSQ.js.map +0 -1
- package/dist/chunk-V3KTSP3Q.js +0 -940
- package/dist/chunk-V3KTSP3Q.js.map +0 -1
- package/dist/chunk-WTWMGH2C.js.map +0 -1
- package/dist/load-agent-defs-YMDWBFDP.js +0 -14
- package/dist/recompile-project-agents-SZ76WNTW.js +0 -18
- package/dist/source-loader-C5SQXZXI.js.map +0 -1
- /package/dist/{load-agent-defs-YMDWBFDP.js.map → load-agent-defs-UBWITIEI.js.map} +0 -0
- /package/dist/{recompile-project-agents-SZ76WNTW.js.map → source-loader-YGG7DY2W.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,36 @@ Each release has detailed notes in its own file under [`changelogs/`](./changelo
|
|
|
7
7
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
8
8
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
9
9
|
|
|
10
|
+
## [0.171.0] - 2026-10-22
|
|
11
|
+
|
|
12
|
+
**`doctor` reads each installation, `edit --from` names what it deletes and overwrites, a link's carried skill cannot write outside its folder, and compiled sub-agents carry only the hooks they declare**
|
|
13
|
+
|
|
14
|
+
- REPO-44:
|
|
15
|
+
- `uninstall`, `edit --from`, `init --from`, `eject` and `doctor` do and say what the owner's mutation-testing answers ruled. A marketplace URL carrying a username or password is refused, and the `agentsSource` and `agentsDir` config keys are gone.
|
|
16
|
+
- Compiled sub-agents carry only the hooks they declare, and the tester prompts ask for the typecheck. The folder-trust notice covers any hook.
|
|
17
|
+
- `build plugins` removes files a skill's source dropped, and a skill plugin's version follows the files it ships.
|
|
18
|
+
- Comments are purged, unused code is swept, new lint rules and a CI format check land, the code reads as named steps, and implementation-pinning specs are pruned.
|
|
19
|
+
- CLI-925:
|
|
20
|
+
- `edit --from` names every deletion and the registered projects it rewrites, and a configuration that changes nothing asks nothing.
|
|
21
|
+
- `doctor` checks each installation and says when it read a cached marketplace.
|
|
22
|
+
- A link's carried skill id must name one folder, display names print without terminal controls, and remedies name `--provider` beside a second installation.
|
|
23
|
+
- `share` names the rate limit, `AGENTS_INC_EDITOR_URL` sets the printed editor address, and the editor keeps a minted id and previews skills in install order.
|
|
24
|
+
- CLI-908: `edit --from` lists the skills it overwrites, and a carried skill's `metadata.yaml` is rewritten only where it changed.
|
|
25
|
+
- CLI-915: a project keeps the description of the configuration being installed, not the global installation's.
|
|
26
|
+
- EDITOR-97: a link the CLI mints opens in the editor on the built-in stack it equals.
|
|
27
|
+
- npm's 0.170.2 was packed from a working tree that already held these changes. 0.171.0 is the first release whose source is committed.
|
|
28
|
+
|
|
29
|
+
See [changelogs/0.171.0.md](./changelogs/0.171.0.md) for full details.
|
|
30
|
+
|
|
31
|
+
## [0.170.2] - 2026-10-18
|
|
32
|
+
|
|
33
|
+
**Mutation testing finds what the tests missed: a marketplace naming a private address is refused wherever it is set, and `uninstall`'s plan, `edit --from`'s report, `eject --output` and `compile`'s skill count are fixed**
|
|
34
|
+
|
|
35
|
+
- REPO-44: a marketplace naming a private or reserved address is refused however it is spelled, and one set in `config.ts` is checked too. `uninstall`'s plan names only what it removes, and a project holding only your own skills has nothing to uninstall. `edit --from` reports a project copy beside a global install once. `eject --output` writes into an existing folder, and `eject all --output` copies the skills into a new one. Registering a project no longer rewrites every registered project, a skill id of `.` no longer deletes the skills folder, and `compile` counts a plugin installed at both scopes once.
|
|
36
|
+
- StrykerJS mutation testing runs from the repository root (`bun run mutation`), and every workspace's specs catch what its mutants showed they missed. The commit hook formats `.mjs` and `.cjs` files, and comments across the repository say only what the code cannot.
|
|
37
|
+
|
|
38
|
+
See [changelogs/0.170.2.md](./changelogs/0.170.2.md) for full details.
|
|
39
|
+
|
|
10
40
|
## [0.170.1] - 2026-10-17
|
|
11
41
|
|
|
12
42
|
**The built-in catalogue carries the skills repository's rewritten meta skills, and replaces the unpublished 0.170.0**
|
|
@@ -1,7 +1,32 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
seatCatalog
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A6OWEJGC.js";
|
|
5
|
+
|
|
6
|
+
// src/cli/utils/string.ts
|
|
7
|
+
var OSC = /\u001B\][\s\S]*?(?:\u0007|\u001B\\|$)/;
|
|
8
|
+
var CSI = /\u001B\[[0-?]*[ -/]*[@-~]?/;
|
|
9
|
+
var OTHER_ESCAPE = /\u001B.?/;
|
|
10
|
+
var C1 = /[\u0080-\u009F]/;
|
|
11
|
+
var C0 = /[\u0000-\u0008\u000B-\u001F\u007F]/;
|
|
12
|
+
function anyOf(patterns) {
|
|
13
|
+
return new RegExp(patterns.map((pattern) => pattern.source).join("|"), "g");
|
|
14
|
+
}
|
|
15
|
+
var TERMINAL_CONTROLS = anyOf([OSC, CSI, OTHER_ESCAPE, C1, C0]);
|
|
16
|
+
function stripTerminalControls(text) {
|
|
17
|
+
return text.replace(TERMINAL_CONTROLS, "");
|
|
18
|
+
}
|
|
19
|
+
function truncateText(text, maxLength) {
|
|
20
|
+
const inert = stripTerminalControls(text);
|
|
21
|
+
if (inert.length <= maxLength) return inert;
|
|
22
|
+
return inert.slice(0, maxLength - 1) + "\u2026";
|
|
23
|
+
}
|
|
24
|
+
function plural(count, noun) {
|
|
25
|
+
return `${count} ${noun}${count === 1 ? "" : "s"}`;
|
|
26
|
+
}
|
|
27
|
+
function toTitleCase(kebabCase) {
|
|
28
|
+
return kebabCase.split("-").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
|
|
29
|
+
}
|
|
5
30
|
|
|
6
31
|
// src/cli/types/generated/matrix.ts
|
|
7
32
|
var BUILT_IN_MATRIX = {
|
|
@@ -9307,20 +9332,6 @@ var BUILT_IN_MATRIX = {
|
|
|
9307
9332
|
generatedAt: "build"
|
|
9308
9333
|
};
|
|
9309
9334
|
|
|
9310
|
-
// src/cli/utils/typed-object.ts
|
|
9311
|
-
function typedEntries(obj) {
|
|
9312
|
-
return Object.entries(obj);
|
|
9313
|
-
}
|
|
9314
|
-
function typedKeys(obj) {
|
|
9315
|
-
return Object.keys(obj);
|
|
9316
|
-
}
|
|
9317
|
-
function typedFromEntries(entries) {
|
|
9318
|
-
return Object.fromEntries(entries);
|
|
9319
|
-
}
|
|
9320
|
-
function typedValues(obj) {
|
|
9321
|
-
return Object.values(obj).filter((value) => value !== void 0);
|
|
9322
|
-
}
|
|
9323
|
-
|
|
9324
9335
|
// src/cli/lib/matrix/matrix-provider.ts
|
|
9325
9336
|
var matrix = BUILT_IN_MATRIX;
|
|
9326
9337
|
function initializeMatrix(merged) {
|
|
@@ -9333,22 +9344,22 @@ function getSkillById(id) {
|
|
|
9333
9344
|
return skill;
|
|
9334
9345
|
}
|
|
9335
9346
|
function getSkillDisplayName(id) {
|
|
9336
|
-
return matrix.skills[id]?.displayName ?? id;
|
|
9347
|
+
return stripTerminalControls(matrix.skills[id]?.displayName ?? id);
|
|
9337
9348
|
}
|
|
9338
9349
|
function getCategoryDomain(category) {
|
|
9339
9350
|
return matrix.categories[category]?.domain;
|
|
9340
9351
|
}
|
|
9341
9352
|
|
|
9342
9353
|
export {
|
|
9354
|
+
stripTerminalControls,
|
|
9355
|
+
truncateText,
|
|
9356
|
+
plural,
|
|
9357
|
+
toTitleCase,
|
|
9343
9358
|
BUILT_IN_MATRIX,
|
|
9344
|
-
typedEntries,
|
|
9345
|
-
typedKeys,
|
|
9346
|
-
typedFromEntries,
|
|
9347
|
-
typedValues,
|
|
9348
9359
|
matrix,
|
|
9349
9360
|
initializeMatrix,
|
|
9350
9361
|
getSkillById,
|
|
9351
9362
|
getSkillDisplayName,
|
|
9352
9363
|
getCategoryDomain
|
|
9353
9364
|
};
|
|
9354
|
-
//# sourceMappingURL=chunk-
|
|
9365
|
+
//# sourceMappingURL=chunk-24OD7IP4.js.map
|