@chimix/agentscan 0.2.0 → 0.2.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/README.md +2 -1
- package/dist/cli.js +4 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,7 +88,8 @@ Run it against any project. It reads that project, writes nothing, and never
|
|
|
88
88
|
leaves your machine:
|
|
89
89
|
|
|
90
90
|
```bash
|
|
91
|
-
|
|
91
|
+
cd ~/your-project
|
|
92
|
+
npx @chimix/agentscan@latest
|
|
92
93
|
```
|
|
93
94
|
|
|
94
95
|
Works on Node 20.11+ or Bun — the published bin is a single bundled file with
|
package/dist/cli.js
CHANGED
|
@@ -12753,7 +12753,7 @@ function formatSummary(findings, verbose) {
|
|
|
12753
12753
|
}
|
|
12754
12754
|
|
|
12755
12755
|
// src/version.ts
|
|
12756
|
-
var VERSION = "0.2.
|
|
12756
|
+
var VERSION = "0.2.1";
|
|
12757
12757
|
|
|
12758
12758
|
// src/commands/check.ts
|
|
12759
12759
|
async function runCheck(options) {
|
|
@@ -12936,6 +12936,7 @@ function printHelp() {
|
|
|
12936
12936
|
const text = `agentscan v${VERSION}
|
|
12937
12937
|
|
|
12938
12938
|
Usage:
|
|
12939
|
+
agentscan scan the current directory
|
|
12939
12940
|
agentscan check [dir] [options]
|
|
12940
12941
|
agentscan explain <findingId> [dir]
|
|
12941
12942
|
agentscan rules [dir]
|
|
@@ -13004,15 +13005,11 @@ async function main(argv) {
|
|
|
13004
13005
|
`);
|
|
13005
13006
|
return 0;
|
|
13006
13007
|
}
|
|
13007
|
-
if (values.help
|
|
13008
|
-
printHelp();
|
|
13009
|
-
return 0;
|
|
13010
|
-
}
|
|
13011
|
-
const command = positionals[0];
|
|
13012
|
-
if (command === undefined) {
|
|
13008
|
+
if (values.help) {
|
|
13013
13009
|
printHelp();
|
|
13014
13010
|
return 0;
|
|
13015
13011
|
}
|
|
13012
|
+
const command = positionals[0] ?? "check";
|
|
13016
13013
|
try {
|
|
13017
13014
|
switch (command) {
|
|
13018
13015
|
case "check": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chimix/agentscan",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Find broken agent configuration in a project — hooks whose scripts are gone, MCP servers that cannot start, skills that disagree with their lockfile",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|