@integrity-labs/agt-cli 0.28.1308 → 0.28.1309

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.
@@ -15,7 +15,7 @@ import {
15
15
  mintRotatedHostKey,
16
16
  probeHostKey,
17
17
  setConfigHash
18
- } from "./chunk-GZT7DHPV.js";
18
+ } from "./chunk-LZZNWEAC.js";
19
19
  import "./chunk-WW2CTOEO.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
@@ -36,4 +36,4 @@ export {
36
36
  probeHostKey,
37
37
  setConfigHash
38
38
  };
39
- //# sourceMappingURL=api-client-QHGAABOL.js.map
39
+ //# sourceMappingURL=api-client-OU7NANHC.js.map
package/dist/bin/agt.js CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  success,
32
32
  table,
33
33
  warn
34
- } from "../chunk-HMH4EOV5.js";
34
+ } from "../chunk-GODP7VNT.js";
35
35
  import {
36
36
  ApiError,
37
37
  PROD_AGT_HOST,
@@ -42,7 +42,7 @@ import {
42
42
  getHost,
43
43
  getHostId,
44
44
  setActiveTeam
45
- } from "../chunk-GZT7DHPV.js";
45
+ } from "../chunk-LZZNWEAC.js";
46
46
  import {
47
47
  getProjectDir,
48
48
  isSessionResumeDisabled,
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
5207
5207
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5208
5208
  import chalk17 from "chalk";
5209
5209
  import ora15 from "ora";
5210
- var cliVersion = true ? "0.28.1308" : "dev";
5210
+ var cliVersion = true ? "0.28.1309" : "dev";
5211
5211
  async function fetchLatestVersion() {
5212
5212
  const host2 = getHost();
5213
5213
  if (!host2) return null;
@@ -6467,7 +6467,7 @@ function handleError(err) {
6467
6467
  }
6468
6468
 
6469
6469
  // src/bin/agt.ts
6470
- var cliVersion2 = true ? "0.28.1308" : "dev";
6470
+ var cliVersion2 = true ? "0.28.1309" : "dev";
6471
6471
  var program = new Command();
6472
6472
  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");
6473
6473
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -2,7 +2,7 @@ import {
2
2
  exchangeApiKey,
3
3
  getApiKey,
4
4
  getHost
5
- } from "./chunk-GZT7DHPV.js";
5
+ } from "./chunk-LZZNWEAC.js";
6
6
  import {
7
7
  LATE_BOUND_VARS,
8
8
  PLATFORM_DENY_PERMISSIONS,
@@ -13876,4 +13876,4 @@ export {
13876
13876
  managerInstallSystemUnitCommand,
13877
13877
  managerUninstallSystemUnitCommand
13878
13878
  };
13879
- //# sourceMappingURL=chunk-HMH4EOV5.js.map
13879
+ //# sourceMappingURL=chunk-GODP7VNT.js.map
@@ -103,7 +103,7 @@ function exchangeFailureKind(err) {
103
103
  }
104
104
 
105
105
  // src/lib/api-client.ts
106
- var agtCliVersion = true ? "0.28.1308" : "dev";
106
+ var agtCliVersion = true ? "0.28.1309" : "dev";
107
107
  var lastConfigHash = null;
108
108
  function setConfigHash(hash) {
109
109
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -468,4 +468,4 @@ export {
468
468
  api,
469
469
  getHostId
470
470
  };
471
- //# sourceMappingURL=chunk-GZT7DHPV.js.map
471
+ //# sourceMappingURL=chunk-LZZNWEAC.js.map
@@ -70,7 +70,7 @@ import {
70
70
  tripClass,
71
71
  writeEtcEnvironment,
72
72
  writeProfileDScript
73
- } from "../chunk-HMH4EOV5.js";
73
+ } from "../chunk-GODP7VNT.js";
74
74
  import {
75
75
  ApiError,
76
76
  adoptHostKeyInProcess,
@@ -88,7 +88,7 @@ import {
88
88
  probeHostKey,
89
89
  requireHost,
90
90
  setConfigHash
91
- } from "../chunk-GZT7DHPV.js";
91
+ } from "../chunk-LZZNWEAC.js";
92
92
  import {
93
93
  BLOCKED_ON_PROMPT_DECISION,
94
94
  CHANNEL_SECRET_ENV_KEYS,
@@ -13023,7 +13023,7 @@ async function processClaudeTaskResult(codeName, agentId, templateId, rawOutput,
13023
13023
  // ENG-10583: manager-created from a scheduled run, so there is no
13024
13024
  // conversation behind these cards. Without the flag the add path
13025
13025
  // attached each one to whatever inbound thread was fresh.
13026
- add: planItems.map((item) => ({ ...item, no_channel_origin: true }))
13026
+ add: planItemsAddPayload(planItems)
13027
13027
  });
13028
13028
  log(`[claude-scheduler] Plan items posted for '${codeName}' (${planItems.length} items)`);
13029
13029
  }
@@ -13056,6 +13056,12 @@ async function processClaudeTaskResult(codeName, agentId, templateId, rawOutput,
13056
13056
  return { ok: false, error: errMsg };
13057
13057
  }
13058
13058
  }
13059
+ function planItemsAddPayload(items) {
13060
+ return items.map((item) => {
13061
+ const { report_to_nobody: _dropped, ...rest } = item;
13062
+ return { ...rest, no_channel_origin: true };
13063
+ });
13064
+ }
13059
13065
 
13060
13066
  // src/lib/manager/scheduler/execution.ts
13061
13067
  import { createHash as createHash17 } from "crypto";
@@ -16019,7 +16025,7 @@ function createFileMigrationReportIO(codeName, log2) {
16019
16025
  };
16020
16026
  }
16021
16027
  var managerHostPost = async (path, body) => {
16022
- const { api: api2, ApiError: ApiError3 } = await import("../api-client-QHGAABOL.js");
16028
+ const { api: api2, ApiError: ApiError3 } = await import("../api-client-OU7NANHC.js");
16023
16029
  try {
16024
16030
  const json = await api2.post(path, body);
16025
16031
  return { status: 200, json };
@@ -19100,7 +19106,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
19100
19106
  var lastVersionCheckAt = 0;
19101
19107
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
19102
19108
  var lastResponsivenessProbeAt = 0;
19103
- var agtCliVersion = true ? "0.28.1308" : "dev";
19109
+ var agtCliVersion = true ? "0.28.1309" : "dev";
19104
19110
  function resolveBrewPath(execFileSync5) {
19105
19111
  try {
19106
19112
  const out = execFileSync5("which", ["brew"], { timeout: 5e3 }).toString().trim();