@integrity-labs/agt-cli 0.28.819 → 0.28.820
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
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-DMEASYB4.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.820" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6658,7 +6658,7 @@ function handleError(err) {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
|
|
6660
6660
|
// src/bin/agt.ts
|
|
6661
|
-
var cliVersion2 = true ? "0.28.
|
|
6661
|
+
var cliVersion2 = true ? "0.28.820" : "dev";
|
|
6662
6662
|
var program = new Command();
|
|
6663
6663
|
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");
|
|
6664
6664
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -6523,7 +6523,7 @@ function exchangeFailureKind(err) {
|
|
|
6523
6523
|
}
|
|
6524
6524
|
|
|
6525
6525
|
// src/lib/api-client.ts
|
|
6526
|
-
var agtCliVersion = true ? "0.28.
|
|
6526
|
+
var agtCliVersion = true ? "0.28.820" : "dev";
|
|
6527
6527
|
var lastConfigHash = null;
|
|
6528
6528
|
function setConfigHash(hash) {
|
|
6529
6529
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10818,4 +10818,4 @@ export {
|
|
|
10818
10818
|
managerInstallSystemUnitCommand,
|
|
10819
10819
|
managerUninstallSystemUnitCommand
|
|
10820
10820
|
};
|
|
10821
|
-
//# sourceMappingURL=chunk-
|
|
10821
|
+
//# sourceMappingURL=chunk-DMEASYB4.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
safeWriteJsonAtomic,
|
|
59
59
|
setConfigHash,
|
|
60
60
|
tripClass
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-DMEASYB4.js";
|
|
62
62
|
import {
|
|
63
63
|
getProjectDir as getProjectDir2,
|
|
64
64
|
getReadyTasks,
|
|
@@ -13586,7 +13586,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13586
13586
|
var lastVersionCheckAt = 0;
|
|
13587
13587
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13588
13588
|
var lastResponsivenessProbeAt = 0;
|
|
13589
|
-
var agtCliVersion = true ? "0.28.
|
|
13589
|
+
var agtCliVersion = true ? "0.28.820" : "dev";
|
|
13590
13590
|
function resolveBrewPath(execFileSync2) {
|
|
13591
13591
|
try {
|
|
13592
13592
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -41895,7 +41895,11 @@ function buildSlackMcpInstructions(opts) {
|
|
|
41895
41895
|
}
|
|
41896
41896
|
|
|
41897
41897
|
// src/slack-react-taxonomy.ts
|
|
41898
|
-
|
|
41898
|
+
function buildSlackReactToolDescription(opts) {
|
|
41899
|
+
const { skipReactionOn, skipReaction } = opts;
|
|
41900
|
+
const skip = skipReactionOn ? skipReaction.trim() : "";
|
|
41901
|
+
return "Add an emoji reaction to a Slack message. Use sparingly \u2014 prefer a text reply. Reaction taxonomy: \u2705 = action completed successfully. " + (skip ? `":${skip}:" = seen, deliberately NOT replying \u2014 use it on a DM or thread message you correctly chose not to answer (different @-mention, side chat, auto_followed catch-up, nothing useful to add). This one is not cosmetic: it CLOSES the pending-inbound marker, so the message stops being re-delivered to you and the reply-recovery net will not publish your end-of-turn text into a thread you stayed out of. Skipping silently leaves that marker open. (Top-level channel messages you may skip silently.) ` : "") + "\u{1F4DD} (:memo:) and \u26A0\uFE0F (:warning:) are blessed for explicit multi-state STATUS pipelines only \u2014 e.g. marking a run/parent \u2705 done / \u{1F4DD} waiting / \u26A0\uFE0F failed for at-a-glance status. That exception is narrow: never use a reaction to tell a user that YOUR reply failed \u2014 NEVER react to signal failure of your own work; on failure call slack.reply with one sentence explaining what went wrong instead (no stack traces, no secrets). \u{1F440} (eyes) is already auto-applied on inbound; do not duplicate. \u23F3 (:hourglass_flowing_sand:) is reserved for the system to mark an inbound that arrived while the agent couldn't reply \u2014 never add \u23F3 or \u274C yourself. (A \u{1F512} you may see on a thread is the server's reply-throttle marker, not a coerced reaction \u2014 slack.react passes your emoji straight through to Slack and never rewrites it to \u{1F512}.)";
|
|
41902
|
+
}
|
|
41899
41903
|
|
|
41900
41904
|
// src/slack-routed-to-note.ts
|
|
41901
41905
|
function describeChannelRedirect(input) {
|
|
@@ -46080,7 +46084,14 @@ mcp.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
46080
46084
|
},
|
|
46081
46085
|
{
|
|
46082
46086
|
name: "slack.react",
|
|
46083
|
-
|
|
46087
|
+
// ENG-10051: built, not a constant — the description must name the
|
|
46088
|
+
// configured skip reaction whenever it is armed, so this surface and the
|
|
46089
|
+
// connect-time instructions cannot disagree about which emoji means
|
|
46090
|
+
// "seen, not replying". Same two inputs the instructions are built from.
|
|
46091
|
+
description: buildSlackReactToolDescription({
|
|
46092
|
+
skipReactionOn: SKIP_REACTION_ON,
|
|
46093
|
+
skipReaction: SLACK_SKIP_REACTION
|
|
46094
|
+
}),
|
|
46084
46095
|
inputSchema: {
|
|
46085
46096
|
type: "object",
|
|
46086
46097
|
properties: {
|
package/package.json
CHANGED
|
File without changes
|