fix: route tasks json through lean cli path

This commit is contained in:
Peter Steinberger
2026-04-27 12:13:33 +01:00
parent e20f755ac5
commit 78577ac147
13 changed files with 628 additions and 4 deletions

View File

@@ -81,6 +81,24 @@ const COMMAND_CASES: readonly CommandCase[] = [
args: ["sessions", "--json"],
presets: ["real"],
},
{
id: "tasksJson",
name: "tasks --json",
args: ["tasks", "--json"],
presets: ["real"],
},
{
id: "tasksListJson",
name: "tasks list --json",
args: ["tasks", "list", "--json"],
presets: ["real"],
},
{
id: "tasksAuditJson",
name: "tasks audit --json",
args: ["tasks", "audit", "--json"],
presets: ["real"],
},
{
id: "agentsListJson",
name: "agents list --json",