@integrity-labs/agt-cli 0.19.2 → 0.19.4

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
@@ -34,10 +34,12 @@ import {
34
34
  lintCharter,
35
35
  lintTools,
36
36
  managerInstallCommand,
37
+ managerInstallSystemUnitCommand,
37
38
  managerStartCommand,
38
39
  managerStatusCommand,
39
40
  managerStopCommand,
40
41
  managerUninstallCommand,
42
+ managerUninstallSystemUnitCommand,
41
43
  provision,
42
44
  renderTemplate,
43
45
  resolveChannels,
@@ -48,7 +50,7 @@ import {
48
50
  success,
49
51
  table,
50
52
  warn
51
- } from "../chunk-BEIZXSG4.js";
53
+ } from "../chunk-MC3SMG4A.js";
52
54
 
53
55
  // src/bin/agt.ts
54
56
  import { join as join10 } from "path";
@@ -3732,7 +3734,7 @@ import { execFileSync, execSync } from "child_process";
3732
3734
  import { existsSync as existsSync5, realpathSync } from "fs";
3733
3735
  import chalk17 from "chalk";
3734
3736
  import ora15 from "ora";
3735
- var cliVersion = true ? "0.19.2" : "dev";
3737
+ var cliVersion = true ? "0.19.4" : "dev";
3736
3738
  async function fetchLatestVersion() {
3737
3739
  const host2 = getHost();
3738
3740
  if (!host2) return null;
@@ -4190,7 +4192,7 @@ function handleError(err) {
4190
4192
  }
4191
4193
 
4192
4194
  // src/bin/agt.ts
4193
- var cliVersion2 = true ? "0.19.2" : "dev";
4195
+ var cliVersion2 = true ? "0.19.4" : "dev";
4194
4196
  var program = new Command();
4195
4197
  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");
4196
4198
  program.hook("preAction", (thisCommand) => {
@@ -4243,6 +4245,8 @@ manager.command("status").description("Show the current manager daemon status an
4243
4245
  manager.command("watch").description("Live TUI dashboard \u2014 per-agent boxes, drill-in, log tail. Read-only (ENG-4555).").option("--config-dir <dir>", "Config directory for agent files", join10(homedir3(), ".augmented")).option("--no-tui", "Skip the TUI and stream the manager log to stdout instead (CI / scripts)").action(managerWatchCommand);
4244
4246
  manager.command("install").description("Install OS-level supervisor (launchd LaunchAgent on macOS) so the manager auto-restarts after crash, reboot, or self-update (ENG-4593)").option("--interval <seconds>", "Poll interval in seconds (min 5)", "10").option("--config-dir <dir>", "Config directory for agent files", join10(homedir3(), ".augmented")).action(managerInstallCommand);
4245
4247
  manager.command("uninstall").description("Remove the OS-level supervisor (launchctl unload + delete plist on macOS). Idempotent.").action(managerUninstallCommand);
4248
+ manager.command("install-system-unit").description("Install a system-level systemd unit (Linux, root) so the manager auto-starts on every boot. For headless EC2 hosts \u2014 survives reboot without `loginctl enable-linger`. (ENG-4706)").option("--interval <seconds>", "Poll interval in seconds (min 5)", "10").option("--config-dir <dir>", "Config directory for agent files (defaults to /root/.augmented or /home/<user>/.augmented)").option("--user <name>", "Unix user the manager runs as", "root").action(managerInstallSystemUnitCommand);
4249
+ manager.command("uninstall-system-unit").description("Remove the system-level systemd unit (Linux, root). Idempotent. (ENG-4706)").action(managerUninstallSystemUnitCommand);
4246
4250
  var agent = program.command("agent").description("Inspect and manage agents");
4247
4251
  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);
4248
4252
  var kanban = program.command("kanban").description("Manage agent kanban boards");