@integrity-labs/agt-cli 0.27.104 → 0.27.105

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-MIRY4G4G.js";
31
+ } from "../chunk-ZFJTCUVZ.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-I2OTQJH3.js";
57
+ } from "../chunk-S5RULZFY.js";
58
58
 
59
59
  // src/bin/agt.ts
60
60
  import { join as join20 } from "path";
@@ -4934,7 +4934,7 @@ import { execFileSync, execSync } from "child_process";
4934
4934
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4935
4935
  import chalk18 from "chalk";
4936
4936
  import ora16 from "ora";
4937
- var cliVersion = true ? "0.27.104" : "dev";
4937
+ var cliVersion = true ? "0.27.105" : "dev";
4938
4938
  async function fetchLatestVersion() {
4939
4939
  const host2 = getHost();
4940
4940
  if (!host2) return null;
@@ -5857,7 +5857,7 @@ function handleError(err) {
5857
5857
  }
5858
5858
 
5859
5859
  // src/bin/agt.ts
5860
- var cliVersion2 = true ? "0.27.104" : "dev";
5860
+ var cliVersion2 = true ? "0.27.105" : "dev";
5861
5861
  var program = new Command();
5862
5862
  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");
5863
5863
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4203,13 +4203,26 @@ var gdriveCommentsTriggerAdapter = {
4203
4203
  body: renderMentionBody(m, fileId),
4204
4204
  raw: m.kind === "NEW_REPLY" ? { comment: m.comment, reply: m.reply } : { comment: m.comment },
4205
4205
  meaningful: true,
4206
- // ENG-6071: ask the executor to drop a 👀 reply in the thread the
4207
- // moment this event is first recorded (the Slack-eyes analogue).
4208
- // Loop-safe by construction: the ack reply contains no mention
4209
- // string (so classifyMentions never emits an event for it) and
4210
- // dedup keys are immutable creation identities the bumped
4211
- // thread modifiedTime just causes one harmless re-read.
4212
- ...m.comment.id ? { ack: { kind: "gdrive_comment_reply", fileId, commentId: m.comment.id } } : {}
4206
+ // ENG-6071: ask the executor to drop a short ack reply in the
4207
+ // thread the moment this event is first recorded (the Slack-eyes
4208
+ // analogue). Loop-safe: the executor's phrase picker excludes
4209
+ // anything containing a mention string (so classifyMentions never
4210
+ // emits an event for the ack) and dedup keys are immutable
4211
+ // creation identities — the bumped thread modifiedTime just causes
4212
+ // one harmless re-read.
4213
+ //
4214
+ // ENG-6081: threadDedupPrefix groups every event in this thread —
4215
+ // `gdc:<commentId>:<createdTime>` (NEW_COMMENT) and
4216
+ // `gdc:<commentId>:<replyId>:<createdTime>` (NEW_REPLY) both share
4217
+ // it, so the executor acks only the FIRST engagement per thread.
4218
+ ...m.comment.id ? {
4219
+ ack: {
4220
+ kind: "gdrive_comment_reply",
4221
+ fileId,
4222
+ commentId: m.comment.id,
4223
+ threadDedupPrefix: `gdc:${m.comment.id}:`
4224
+ }
4225
+ } : {}
4213
4226
  };
4214
4227
  });
4215
4228
  return { events, cursor: { modifiedTime: nextWatermark(threads, watermark) } };
@@ -4268,4 +4281,4 @@ export {
4268
4281
  attributeTranscriptUsageByRun,
4269
4282
  KANBAN_CHECK_COMMAND
4270
4283
  };
4271
- //# sourceMappingURL=chunk-I2OTQJH3.js.map
4284
+ //# sourceMappingURL=chunk-S5RULZFY.js.map