swarmdo 1.58.12 → 1.58.15

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.
@@ -0,0 +1,44 @@
1
+ ---
2
+ description: Scan this project's security and refresh the statusline Security segment
3
+ argument-hint: "[scan|full|cve|audit|report] (default: scan)"
4
+ allowed-tools: Bash(npx swarmdo security:*), Bash(node v3/@swarmdo/cli/bin/cli.js security:*)
5
+ ---
6
+
7
+ # /security — scan security posture + refresh the statusline
8
+
9
+ Run the swarmdo security scanner and refresh the `Security` element of the
10
+ statusline. The statusline reads the cached result from
11
+ `.swarmdo/security/last-scan.json`; a scan rewrites it with a fresh `scannedAt`
12
+ plus current counts, so the `Security ●…` indicator stops showing `STALE` and
13
+ reflects reality (`●CLEAN` when clean, `●VULN` when critical/high are present).
14
+
15
+ Resolve the swarmdo CLI as `npx swarmdo` if installed, else
16
+ `node v3/@swarmdo/cli/bin/cli.js` (this repo). Call it `$CLI` below.
17
+
18
+ ## Input
19
+
20
+ `$ARGUMENTS`
21
+
22
+ ## Behavior
23
+
24
+ Pick the mode from the first argument (default `scan` when empty):
25
+
26
+ - `scan` (default) — run `$CLI security scan` (standard depth).
27
+ - `full` — run `$CLI security scan --depth full` for the complete finding list.
28
+ - `cve` — run `$CLI security cve` (dependency-CVE audit only).
29
+ - `audit` — run `$CLI security audit`.
30
+ - `report` — run `$CLI security report` (summarize the last scan, no re-scan).
31
+
32
+ Then:
33
+
34
+ 1. Report the summary counts — critical / high / medium / total — from the
35
+ scanner output.
36
+ 2. Confirm the statusline `Security` element refreshed: it now shows `●CLEAN`
37
+ (no critical/high) or `●VULN` (critical/high present) and no longer `●STALE`.
38
+ The change lands on the next statusline render — no regeneration needed.
39
+ 3. If any critical or high findings exist, list the top few (severity, package,
40
+ short description) and point at `$CLI security scan --depth full` for the rest.
41
+
42
+ `.swarmdo/security/last-scan.json` is per-project, so run this in each project
43
+ whose statusline you want current. This command only scans and reports — it does
44
+ not modify code or dependencies.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![swarmdo](swarmdo/assets/brand/logo-full.svg)](https://swarmdo.com)
4
4
 
5
- [![npm version (swarmdo)](https://img.shields.io/badge/npx%20swarmdo-v1.58.12-cb3837?style=for-the-badge&logo=npm&logoColor=white)](https://github.com/SwarmDo/swarmdo/releases)
5
+ [![npm version (swarmdo)](https://img.shields.io/badge/npx%20swarmdo-v1.58.15-cb3837?style=for-the-badge&logo=npm&logoColor=white)](https://github.com/SwarmDo/swarmdo/releases)
6
6
  [![MIT License](https://img.shields.io/badge/License-MIT-yellow?style=for-the-badge)](https://github.com/SwarmDo/swarmdo/blob/main/LICENSE)
7
7
  [![Website](https://img.shields.io/badge/swarmdo.com-e2a33c?style=for-the-badge&logoColor=black)](https://swarmdo.com)
8
8
  [![Star on GitHub](https://img.shields.io/github/stars/SwarmDo/swarmdo?style=for-the-badge&logo=github&color=gold)](https://github.com/SwarmDo/swarmdo)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swarmdo",
3
- "version": "1.58.12",
3
+ "version": "1.58.15",
4
4
  "description": "Swarmdo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -0,0 +1,44 @@
1
+ ---
2
+ description: Scan this project's security and refresh the statusline Security segment
3
+ argument-hint: "[scan|full|cve|audit|report] (default: scan)"
4
+ allowed-tools: Bash(npx swarmdo security:*), Bash(node v3/@swarmdo/cli/bin/cli.js security:*)
5
+ ---
6
+
7
+ # /security — scan security posture + refresh the statusline
8
+
9
+ Run the swarmdo security scanner and refresh the `Security` element of the
10
+ statusline. The statusline reads the cached result from
11
+ `.swarmdo/security/last-scan.json`; a scan rewrites it with a fresh `scannedAt`
12
+ plus current counts, so the `Security ●…` indicator stops showing `STALE` and
13
+ reflects reality (`●CLEAN` when clean, `●VULN` when critical/high are present).
14
+
15
+ Resolve the swarmdo CLI as `npx swarmdo` if installed, else
16
+ `node v3/@swarmdo/cli/bin/cli.js` (this repo). Call it `$CLI` below.
17
+
18
+ ## Input
19
+
20
+ `$ARGUMENTS`
21
+
22
+ ## Behavior
23
+
24
+ Pick the mode from the first argument (default `scan` when empty):
25
+
26
+ - `scan` (default) — run `$CLI security scan` (standard depth).
27
+ - `full` — run `$CLI security scan --depth full` for the complete finding list.
28
+ - `cve` — run `$CLI security cve` (dependency-CVE audit only).
29
+ - `audit` — run `$CLI security audit`.
30
+ - `report` — run `$CLI security report` (summarize the last scan, no re-scan).
31
+
32
+ Then:
33
+
34
+ 1. Report the summary counts — critical / high / medium / total — from the
35
+ scanner output.
36
+ 2. Confirm the statusline `Security` element refreshed: it now shows `●CLEAN`
37
+ (no critical/high) or `●VULN` (critical/high present) and no longer `●STALE`.
38
+ The change lands on the next statusline render — no regeneration needed.
39
+ 3. If any critical or high findings exist, list the top few (severity, package,
40
+ short description) and point at `$CLI security scan --depth full` for the rest.
41
+
42
+ `.swarmdo/security/last-scan.json` is per-project, so run this in each project
43
+ whose statusline you want current. This command only scans and reports — it does
44
+ not modify code or dependencies.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarmdo/cli",
3
- "version": "1.58.12",
3
+ "version": "1.58.15",
4
4
  "type": "module",
5
5
  "description": "Swarmdo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",