@juanbenjumea/pi-agy 0.6.6 → 0.6.7

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.7
4
+
5
+ - Add custom-agent discovery health to `/agy doctor` using the same bounded, read-only `agy agents` path as `agy_agents` and `/agy agents`.
6
+ - Report configured agents as healthy (showing at most eight names), an empty roster as informational, and optional discovery failures as warnings without misclassifying the core CLI as unavailable.
7
+ - Skip the custom-agent probe alongside model/quota checks when the core CLI check fails; add configured, empty, failed, and skipped diagnostic coverage.
8
+
3
9
  ## 0.6.6
4
10
 
5
11
  - Surface agy's native and legacy subagent spawn steps as bounded live progress and structured per-run observations (`details.subagents`) with ACTIVE/DONE/ERROR correlation, multi-spawn support, and retry-safe activity tracking.
package/README.md CHANGED
@@ -134,7 +134,7 @@ Run agy directly from the Pi TUI — fast path when fully specified, wizard othe
134
134
  /agy continue fix the tests # continue this directory's last conversation
135
135
  /agy timeout=10m sonnet big task # raise the run cap (also 90s / 1500ms; bare = minutes)
136
136
  /agy sessions # pick a recorded conversation to resume
137
- /agy doctor # diagnose CLI, models, quota, config, sessions, lock, and repo gate
137
+ /agy doctor # diagnose CLI, models, agents, quota, config, sessions, lock, and repo gate
138
138
  /agy usage # inspect model quotas and reset times
139
139
  ```
140
140
 
@@ -150,8 +150,9 @@ The interactive wizard and direct `agy_execute` calls default to
150
150
  exploration/review. Sandbox runs do not bypass agy permission checks.
151
151
 
152
152
  `/agy doctor` performs no inference and spends no model tokens. It reports the
153
- installed CLI version, discoverable stable model aliases, quota support, active
154
- config, recorded sessions, workspace lock state, and detected verification gate.
153
+ installed CLI version, discoverable stable model aliases, optional custom-agent
154
+ discovery, quota support, active config, recorded sessions, workspace lock state,
155
+ and detected verification gate.
155
156
 
156
157
  Missing pieces open interactive dialogs (mode select, model select with
157
158
  descriptions, multi-line task editor). `accept-edits` asks for confirmation
@@ -3,6 +3,7 @@ import * as path from "node:path";
3
3
 
4
4
  import {
5
5
  checkAgyUsage,
6
+ inspectAgyAgents,
6
7
  inspectAgyModels,
7
8
  inspectAgyVersion,
8
9
  isAgyModel,
@@ -55,8 +56,9 @@ export async function runAgyDoctor(
55
56
  }
56
57
 
57
58
  if (cliAvailable) {
58
- const [modelsResult, usageResult] = await Promise.allSettled([
59
+ const [modelsResult, agentsResult, usageResult] = await Promise.allSettled([
59
60
  inspectAgyModels(resolvedCwd, signal, DOCTOR_TIMEOUT_MS),
61
+ inspectAgyAgents(resolvedCwd, signal, DOCTOR_TIMEOUT_MS),
60
62
  checkAgyUsage(resolvedCwd, signal, DOCTOR_TIMEOUT_MS),
61
63
  ]);
62
64
 
@@ -74,6 +76,24 @@ export async function runAgyDoctor(
74
76
  checks.push({ name: "Models", status: "error", detail: errorMessage(modelsResult.reason) });
75
77
  }
76
78
 
79
+ if (agentsResult.status === "fulfilled") {
80
+ const agents = agentsResult.value;
81
+ const shown = agents.slice(0, 8);
82
+ checks.push({
83
+ name: "Custom agents",
84
+ status: agents.length ? "ok" : "info",
85
+ detail: agents.length
86
+ ? `${agents.length} configured (${shown.join(", ")}${agents.length > shown.length ? `, +${agents.length - shown.length} more` : ""})`
87
+ : "none configured",
88
+ });
89
+ } else {
90
+ checks.push({
91
+ name: "Custom agents",
92
+ status: "warn",
93
+ detail: errorMessage(agentsResult.reason),
94
+ });
95
+ }
96
+
77
97
  if (usageResult.status === "fulfilled") {
78
98
  checks.push(quotaCheck(usageResult.value));
79
99
  } else {
@@ -81,6 +101,7 @@ export async function runAgyDoctor(
81
101
  }
82
102
  } else {
83
103
  checks.push({ name: "Models", status: "info", detail: "skipped because the CLI check failed" });
104
+ checks.push({ name: "Custom agents", status: "info", detail: "skipped because the CLI check failed" });
84
105
  checks.push({ name: "Quota", status: "info", detail: "skipped because the CLI check failed" });
85
106
  }
86
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juanbenjumea/pi-agy",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "description": "Reliable Antigravity delegation for Pi — quota-aware runs, resumable tasks, repo verification, cancellation, and trustworthy diff summaries.",
5
5
  "type": "module",
6
6
  "license": "MIT",