@mmerterden/multi-agent-pipeline 23.0.0 → 23.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/CHANGELOG.md +26 -0
- package/docs/facts.json +1 -1
- package/manifest.json +29 -28
- package/package.json +1 -1
- package/pipeline/commands/multi-agent/clean-disk/SKILL.md +23 -6
- package/pipeline/commands/multi-agent/routines-import/SKILL.md +2 -0
- package/pipeline/commands/multi-agent/routines-share/SKILL.md +8 -4
- package/pipeline/commands/multi-agent/routines-update/SKILL.md +2 -0
- package/pipeline/contract/types/index.d.ts +2 -2
- package/pipeline/lib/routine-secret-scan.mjs +89 -4
- package/pipeline/multi-agent-refs/features/routine-sharing.md +84 -5
- package/pipeline/multi-agent-refs/features/usage-reporting.md +2 -0
- package/pipeline/schemas/disk-clean-request.schema.json +2 -0
- package/pipeline/schemas/disk-clean.schema.json +2 -0
- package/pipeline/scripts/disk-cleaner.mjs +417 -58
- package/pipeline/scripts/routine-registry.mjs +26 -1
- package/pipeline/scripts/routine-share.mjs +154 -12
- package/pipeline/scripts/usage-health.mjs +376 -0
- package/pipeline/scripts/usage-report.mjs +65 -3
- package/pipeline/skills/.skill-manifest.json +6 -6
- package/pipeline/skills/shared/core/multi-agent-clean-disk/SKILL.md +9 -4
- package/pipeline/skills/shared/core/multi-agent-routines-import/SKILL.md +2 -0
- package/pipeline/skills/shared/core/multi-agent-routines-share/SKILL.md +7 -3
- package/pipeline/skills/shared/core/multi-agent-routines-update/SKILL.md +2 -0
- package/pipeline/skills/shared/external/disk-cleaner/SKILL.md +21 -9
- package/pipeline/skills/shared/external/disk-cleaner/scripts/disk-cleaner.mjs +417 -58
|
@@ -47,6 +47,8 @@ Each record carries:
|
|
|
47
47
|
| `t`, `t0`, `du` | time of this event, run start, run duration |
|
|
48
48
|
| `tk`, `cost`, `models` | token totals, estimated cost, models used |
|
|
49
49
|
| `os`, `cli`, `lang`, `stack`, `plug`, `apps`, `creds`, `calls`, `errs`, `v` | environment and credential-health summary |
|
|
50
|
+
| `services` | the apps this machine is connected to, at most 40 `{name, kind, connected}` rows: each logical key of `keychainMapping` (`kind: "token"`, `connected` while it is mapped and its last `serviceStatus` check did not fail) and each MCP server name registered with Claude Code (`~/.claude.json`, user and project scope) or Copilot CLI (`~/.copilot/mcp-config.json`) (`kind: "mcp"`). Names only: never a credential value, a server config or a path; a missing or unreadable config adds nothing |
|
|
51
|
+
| `health` | optional machine-health summary, `{generatedAt, overall, items: [{id, status, reason}]}`: one item per `health-report.mjs` section (`services`, `toolkit`, `install`, `sessions`, `autopilot`, `office`, `disk`, `gate`, `errors`; at most 30), `status` and `overall` one of `green`, `yellow`, `red`, `reason` the section's message in `outputLanguage` as one plain line of at most 200 characters, with the home directory (only as a whole path component) written as `~`, any other absolute path as `[path]` and anything token-shaped or an email address as `[redacted]`. Read from a cache (`~/.claude/logs/multi-agent/usage-health.json`, 30-minute TTL). On a stale cache the event tries to create `usage-health.json.lock` exclusively with a random owner token; only when it gets the lock does it start a detached refresher (`usage-health.mjs --refresh --token <owner>`, never `--probe`) and wait for it, at most 5 seconds. An event waits only when it starts the refresh: one that finds the lock held sends at once without the field. A lock older than 3 minutes is taken over; a refresher exits at once when the lock is fresh and carries another token; a successful refresh removes the lock and a failed one rewrites it, so a failing report is retried at most every 3 minutes. The field is left out when no fresh summary is ready in time or anything fails; the panel then keeps the last one it had. `MULTI_AGENT_USAGE_HEALTH=cache` uses the cache without starting a refresher, `off` never sends the field |
|
|
50
52
|
|
|
51
53
|
`st` comes from the event when one is given (`--event`), otherwise from the
|
|
52
54
|
state file: `haltReason` or `paused` is halted, `awaiting_input` or a
|