@integrity-labs/agt-cli 0.27.104 → 0.27.106

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-4WI2ACNG.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-GKRVSTYY.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.106" : "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.106" : "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) => {
@@ -9,7 +9,7 @@ import {
9
9
  parseDeliveryTarget,
10
10
  registerFramework,
11
11
  wrapScheduledTaskPrompt
12
- } from "./chunk-I2OTQJH3.js";
12
+ } from "./chunk-GKRVSTYY.js";
13
13
 
14
14
  // ../../packages/core/dist/integrations/registry.js
15
15
  var INTEGRATION_REGISTRY = [
@@ -7586,4 +7586,4 @@ export {
7586
7586
  managerInstallSystemUnitCommand,
7587
7587
  managerUninstallSystemUnitCommand
7588
7588
  };
7589
- //# sourceMappingURL=chunk-MIRY4G4G.js.map
7589
+ //# sourceMappingURL=chunk-4WI2ACNG.js.map
@@ -1269,7 +1269,7 @@ var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
1269
1269
 
1270
1270
  // ../../packages/core/dist/scheduled-tasks/suppress.js
1271
1271
  var SUPPRESS_SENTINEL = "<no-delivery/>";
1272
- var SENTINEL_REGEX = /<no-delivery\/>/g;
1272
+ var SENTINEL_REGEX = /`{0,3}<no-delivery\/>`{0,3}/g;
1273
1273
  function classifyOutput(output) {
1274
1274
  if (output == null) {
1275
1275
  return { action: "suppress", deliverable: "", suppressedNotes: "" };
@@ -1300,7 +1300,11 @@ var NON_DELIVERABLE_REMAINDER_PATTERNS = [
1300
1300
  // Default delivery-pipeline footer.
1301
1301
  /^sent (?:from|via)\b/i,
1302
1302
  // Mobile-style signatures.
1303
- /^—?\s*automated (?:brief|report|message)\b/i
1303
+ /^—?\s*automated (?:brief|report|message)\b/i,
1304
+ // ENG-6084: stray code-fence lines left behind when the agent wrapped the
1305
+ // sentinel in a fenced block (```\n<no-delivery/>\n```) — the fence lines
1306
+ // are formatting residue, not a deliverable.
1307
+ /^`{1,3}\w*$/
1304
1308
  ];
1305
1309
  function looksLikeNotesOnly(remainder) {
1306
1310
  const lines = remainder.split("\n").map((l) => l.trim()).filter((l) => l.length > 0);
@@ -4203,13 +4207,26 @@ var gdriveCommentsTriggerAdapter = {
4203
4207
  body: renderMentionBody(m, fileId),
4204
4208
  raw: m.kind === "NEW_REPLY" ? { comment: m.comment, reply: m.reply } : { comment: m.comment },
4205
4209
  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 } } : {}
4210
+ // ENG-6071: ask the executor to drop a short ack reply in the
4211
+ // thread the moment this event is first recorded (the Slack-eyes
4212
+ // analogue). Loop-safe: the executor's phrase picker excludes
4213
+ // anything containing a mention string (so classifyMentions never
4214
+ // emits an event for the ack) and dedup keys are immutable
4215
+ // creation identities — the bumped thread modifiedTime just causes
4216
+ // one harmless re-read.
4217
+ //
4218
+ // ENG-6081: threadDedupPrefix groups every event in this thread —
4219
+ // `gdc:<commentId>:<createdTime>` (NEW_COMMENT) and
4220
+ // `gdc:<commentId>:<replyId>:<createdTime>` (NEW_REPLY) both share
4221
+ // it, so the executor acks only the FIRST engagement per thread.
4222
+ ...m.comment.id ? {
4223
+ ack: {
4224
+ kind: "gdrive_comment_reply",
4225
+ fileId,
4226
+ commentId: m.comment.id,
4227
+ threadDedupPrefix: `gdc:${m.comment.id}:`
4228
+ }
4229
+ } : {}
4213
4230
  };
4214
4231
  });
4215
4232
  return { events, cursor: { modifiedTime: nextWatermark(threads, watermark) } };
@@ -4268,4 +4285,4 @@ export {
4268
4285
  attributeTranscriptUsageByRun,
4269
4286
  KANBAN_CHECK_COMMAND
4270
4287
  };
4271
- //# sourceMappingURL=chunk-I2OTQJH3.js.map
4288
+ //# sourceMappingURL=chunk-GKRVSTYY.js.map