@integrity-labs/agt-cli 0.15.6 → 0.15.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/dist/bin/agt.js CHANGED
@@ -46,7 +46,7 @@ import {
46
46
  success,
47
47
  table,
48
48
  warn
49
- } from "../chunk-IGKAMH32.js";
49
+ } from "../chunk-WIW5FIRY.js";
50
50
 
51
51
  // src/bin/agt.ts
52
52
  import { join as join10 } from "path";
@@ -2202,9 +2202,20 @@ function managerWatchCommand(opts = {}) {
2202
2202
  streamLogFile(paths.logFile);
2203
2203
  return;
2204
2204
  }
2205
+ process.stdout.write("\x1B[?1049h\x1B[H\x1B[?25l");
2206
+ const restore = () => {
2207
+ process.stdout.write("\x1B[?25h\x1B[?1049l");
2208
+ };
2209
+ const onSignal = () => {
2210
+ restore();
2211
+ process.exit(0);
2212
+ };
2213
+ process.once("SIGINT", onSignal);
2214
+ process.once("SIGTERM", onSignal);
2215
+ process.once("exit", restore);
2205
2216
  const { waitUntilExit } = render(/* @__PURE__ */ jsx(Dashboard, { stateFile: paths.stateFile, logFile: paths.logFile }));
2206
2217
  waitUntilExit().catch(() => {
2207
- });
2218
+ }).finally(restore);
2208
2219
  }
2209
2220
  function readState(stateFile) {
2210
2221
  try {
@@ -3222,7 +3233,7 @@ function priorityLabel2(p) {
3222
3233
  function statusLabel(s) {
3223
3234
  const map = {
3224
3235
  in_progress: chalk16.blue("In Progress"),
3225
- today: chalk16.green("Today"),
3236
+ todo: chalk16.green("To Do"),
3226
3237
  backlog: chalk16.dim("Backlog"),
3227
3238
  done: chalk16.gray("Done")
3228
3239
  };
@@ -3292,7 +3303,7 @@ async function kanbanAddCommand(title, opts) {
3292
3303
  title,
3293
3304
  description: opts.description,
3294
3305
  priority: opts.priority ? Number(opts.priority) : 2,
3295
- status: opts.status ?? "today",
3306
+ status: opts.status ?? "todo",
3296
3307
  estimated_minutes: opts.estimate ? Number(opts.estimate) : void 0,
3297
3308
  deliverable: opts.deliverable,
3298
3309
  source: "manual"
@@ -3317,7 +3328,7 @@ async function kanbanMoveCommand(titleOrId, status, opts) {
3317
3328
  const teamSlug = requireTeam();
3318
3329
  if (!teamSlug) return;
3319
3330
  const json = isJsonMode();
3320
- const validStatuses = ["backlog", "today", "in_progress", "done"];
3331
+ const validStatuses = ["backlog", "todo", "in_progress", "done"];
3321
3332
  if (!validStatuses.includes(status)) {
3322
3333
  error(`Invalid status "${status}". Must be one of: ${validStatuses.join(", ")}`);
3323
3334
  process.exitCode = 1;
@@ -3719,7 +3730,7 @@ import { execFileSync, execSync } from "child_process";
3719
3730
  import { existsSync as existsSync5, realpathSync } from "fs";
3720
3731
  import chalk17 from "chalk";
3721
3732
  import ora15 from "ora";
3722
- var cliVersion = true ? "0.15.6" : "dev";
3733
+ var cliVersion = true ? "0.15.7" : "dev";
3723
3734
  async function fetchLatestVersion() {
3724
3735
  const host2 = getHost();
3725
3736
  if (!host2) return null;
@@ -4168,7 +4179,7 @@ function handleError(err) {
4168
4179
  }
4169
4180
 
4170
4181
  // src/bin/agt.ts
4171
- var cliVersion2 = true ? "0.15.6" : "dev";
4182
+ var cliVersion2 = true ? "0.15.7" : "dev";
4172
4183
  var program = new Command();
4173
4184
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
4174
4185
  program.hook("preAction", (thisCommand) => {
@@ -4223,7 +4234,7 @@ var agent = program.command("agent").description("Inspect and manage agents");
4223
4234
  agent.command("show <code-name>").description("Display an agent's provisioned OpenClaw configuration").option("--config-dir <dir>", "Config directory", join10(homedir3(), ".augmented")).option("--all-channels", "Show all channels (including disabled)").action(agentShowCommand);
4224
4235
  var kanban = program.command("kanban").description("Manage agent kanban boards");
4225
4236
  kanban.command("list").description("List kanban board items for an agent").requiredOption("--agent <code-name>", "Agent code name").action(kanbanListCommand);
4226
- kanban.command("add <title>").description("Add a new item to an agent kanban board").requiredOption("--agent <code-name>", "Agent code name").option("--priority <1|2|3>", "Priority: 1=high, 2=medium, 3=low", "2").option("--status <status>", "Initial status: backlog | today | in_progress", "today").option("--description <text>", "Item description").option("--estimate <minutes>", "Estimated time in minutes").option("--deliverable <text>", "Expected output/deliverable").action(kanbanAddCommand);
4237
+ kanban.command("add <title>").description("Add a new item to an agent kanban board").requiredOption("--agent <code-name>", "Agent code name").option("--priority <1|2|3>", "Priority: 1=high, 2=medium, 3=low", "2").option("--status <status>", "Initial status: backlog | todo | in_progress", "todo").option("--description <text>", "Item description").option("--estimate <minutes>", "Estimated time in minutes").option("--deliverable <text>", "Expected output/deliverable").action(kanbanAddCommand);
4227
4238
  kanban.command("move <title-or-id> <status>").description("Move a kanban item to a different status").requiredOption("--agent <code-name>", "Agent code name").option("--notes <text>", "Progress notes").action(kanbanMoveCommand);
4228
4239
  kanban.command("update <title-or-id>").description("Update notes or result on a kanban item").requiredOption("--agent <code-name>", "Agent code name").option("--notes <text>", "Progress notes").option("--result <text>", "Result/output produced").action(kanbanUpdateCommand);
4229
4240
  kanban.command("done <title-or-id>").description("Mark a kanban item as done").requiredOption("--agent <code-name>", "Agent code name").option("--result <text>", "What was produced/delivered").option("--notes <text>", "Completion notes").action(kanbanDoneCommand);