@integrity-labs/agt-cli 0.27.88 → 0.27.89

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
@@ -28,7 +28,7 @@ import {
28
28
  success,
29
29
  table,
30
30
  warn
31
- } from "../chunk-X747EIDT.js";
31
+ } from "../chunk-DDRAMRK3.js";
32
32
  import {
33
33
  CHANNEL_REGISTRY,
34
34
  DEPLOYMENT_TEMPLATES,
@@ -54,7 +54,7 @@ import {
54
54
  renderTemplate,
55
55
  resolveChannels,
56
56
  serializeManifestForSlackCli
57
- } from "../chunk-54TIJVLZ.js";
57
+ } from "../chunk-XA3C3ZSH.js";
58
58
 
59
59
  // src/bin/agt.ts
60
60
  import { join as join20 } from "path";
@@ -4930,7 +4930,7 @@ import { execFileSync, execSync } from "child_process";
4930
4930
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4931
4931
  import chalk18 from "chalk";
4932
4932
  import ora16 from "ora";
4933
- var cliVersion = true ? "0.27.88" : "dev";
4933
+ var cliVersion = true ? "0.27.89" : "dev";
4934
4934
  async function fetchLatestVersion() {
4935
4935
  const host2 = getHost();
4936
4936
  if (!host2) return null;
@@ -5853,7 +5853,7 @@ function handleError(err) {
5853
5853
  }
5854
5854
 
5855
5855
  // src/bin/agt.ts
5856
- var cliVersion2 = true ? "0.27.88" : "dev";
5856
+ var cliVersion2 = true ? "0.27.89" : "dev";
5857
5857
  var program = new Command();
5858
5858
  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");
5859
5859
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -9,7 +9,7 @@ import {
9
9
  parseDeliveryTarget,
10
10
  registerFramework,
11
11
  wrapScheduledTaskPrompt
12
- } from "./chunk-54TIJVLZ.js";
12
+ } from "./chunk-XA3C3ZSH.js";
13
13
 
14
14
  // ../../packages/core/dist/integrations/registry.js
15
15
  var INTEGRATION_REGISTRY = [
@@ -7564,4 +7564,4 @@ export {
7564
7564
  managerInstallSystemUnitCommand,
7565
7565
  managerUninstallSystemUnitCommand
7566
7566
  };
7567
- //# sourceMappingURL=chunk-X747EIDT.js.map
7567
+ //# sourceMappingURL=chunk-DDRAMRK3.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  claudeModelAlias,
3
3
  isClaudeFastMode
4
- } from "./chunk-54TIJVLZ.js";
4
+ } from "./chunk-XA3C3ZSH.js";
5
5
  import {
6
6
  reapOrphanChannelMcps
7
7
  } from "./chunk-XWVM4KPK.js";
@@ -1528,4 +1528,4 @@ export {
1528
1528
  stopAllSessionsAndWait,
1529
1529
  getProjectDir
1530
1530
  };
1531
- //# sourceMappingURL=chunk-SI2WVUAR.js.map
1531
+ //# sourceMappingURL=chunk-TXIJLXOY.js.map
@@ -150,6 +150,17 @@ function parseChannelTarget(obj) {
150
150
  detail: "channel:slack target requires a non-empty channel_id"
151
151
  };
152
152
  }
153
+ const threadTs = obj["thread_ts"];
154
+ if (threadTs !== void 0 && threadTs !== null) {
155
+ if (typeof threadTs !== "string" || threadTs.length === 0) {
156
+ return {
157
+ ok: false,
158
+ code: "MALFORMED_DELIVERY_TARGET",
159
+ detail: "channel:slack thread_ts must be a non-empty string when present"
160
+ };
161
+ }
162
+ return { kind: "channel", provider: "slack", channel_id: channelId, thread_ts: threadTs };
163
+ }
153
164
  return { kind: "channel", provider: "slack", channel_id: channelId };
154
165
  }
155
166
  if (provider === "telegram") {
@@ -259,7 +270,10 @@ function resolveDmTarget(target, agent, people) {
259
270
  ok: true,
260
271
  kind: "channel",
261
272
  provider: "slack",
262
- channel_id: target.channel_id ?? ""
273
+ channel_id: target.channel_id ?? "",
274
+ // ENG-6038: carry the originating-thread coordinate through to
275
+ // dispatch. Absent → top-level post (pre-ENG-6038 behaviour).
276
+ ...target.thread_ts ? { thread_ts: target.thread_ts } : {}
263
277
  };
264
278
  }
265
279
  return {
@@ -4227,4 +4241,4 @@ export {
4227
4241
  attributeTranscriptUsageByRun,
4228
4242
  KANBAN_CHECK_COMMAND
4229
4243
  };
4230
- //# sourceMappingURL=chunk-54TIJVLZ.js.map
4244
+ //# sourceMappingURL=chunk-XA3C3ZSH.js.map