@integrity-labs/agt-cli 0.28.355 → 0.28.356
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-3OVI7DRG.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.356" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.356" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -7146,7 +7146,7 @@ function requireHost() {
|
|
|
7146
7146
|
}
|
|
7147
7147
|
|
|
7148
7148
|
// src/lib/api-client.ts
|
|
7149
|
-
var agtCliVersion = true ? "0.28.
|
|
7149
|
+
var agtCliVersion = true ? "0.28.356" : "dev";
|
|
7150
7150
|
var lastConfigHash = null;
|
|
7151
7151
|
function setConfigHash(hash) {
|
|
7152
7152
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9597,4 +9597,4 @@ export {
|
|
|
9597
9597
|
managerInstallSystemUnitCommand,
|
|
9598
9598
|
managerUninstallSystemUnitCommand
|
|
9599
9599
|
};
|
|
9600
|
-
//# sourceMappingURL=chunk-
|
|
9600
|
+
//# sourceMappingURL=chunk-3OVI7DRG.js.map
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
safeWriteJsonAtomic,
|
|
49
49
|
setConfigHash,
|
|
50
50
|
toOpencodeModel
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-3OVI7DRG.js";
|
|
52
52
|
import {
|
|
53
53
|
getProjectDir as getProjectDir2,
|
|
54
54
|
getReadyTasks,
|
|
@@ -9460,7 +9460,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9460
9460
|
var lastVersionCheckAt = 0;
|
|
9461
9461
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9462
9462
|
var lastResponsivenessProbeAt = 0;
|
|
9463
|
-
var agtCliVersion = true ? "0.28.
|
|
9463
|
+
var agtCliVersion = true ? "0.28.356" : "dev";
|
|
9464
9464
|
function resolveBrewPath(execFileSync2) {
|
|
9465
9465
|
try {
|
|
9466
9466
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -37368,6 +37368,15 @@ function buildSlackMcpInstructions(opts) {
|
|
|
37368
37368
|
// src/slack-react-taxonomy.ts
|
|
37369
37369
|
var SLACK_REACT_TOOL_DESCRIPTION = "Add an emoji reaction to a Slack message. Use sparingly \u2014 prefer a text reply. Reaction taxonomy: \u2705 = action completed successfully. \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}.)";
|
|
37370
37370
|
|
|
37371
|
+
// src/slack-routed-to-note.ts
|
|
37372
|
+
function describeChannelRedirect(input) {
|
|
37373
|
+
const { requestedChannel, effectiveChannel, reason = null } = input;
|
|
37374
|
+
if (!requestedChannel) return null;
|
|
37375
|
+
if (requestedChannel === effectiveChannel) return null;
|
|
37376
|
+
const why = reason === "scheduled-task" ? " (routed to the scheduled task's configured destination)" : reason === "dm-channel-guard" ? " (redirected by the DM-channel guard because those coordinates belong to a DM)" : "";
|
|
37377
|
+
return `Heads up: this was delivered to ${effectiveChannel}, NOT the ${requestedChannel} you named${why}. routed_to=${effectiveChannel}. If ${effectiveChannel} is not where you intended this to go, the destination is misconfigured; do not assume it posted to ${requestedChannel}.`;
|
|
37378
|
+
}
|
|
37379
|
+
|
|
37371
37380
|
// src/slack-reply-binding-telemetry.ts
|
|
37372
37381
|
import { readFileSync as readFileSync13, writeFileSync as writeFileSync10 } from "fs";
|
|
37373
37382
|
import { join as join13 } from "path";
|
|
@@ -41451,6 +41460,12 @@ mcp.setRequestHandler(CallToolRequestSchema, async (req) => {
|
|
|
41451
41460
|
if (hotThreadRedirected) {
|
|
41452
41461
|
base += ". Note: this was threaded into the conversation you are actively working in rather than posted at the channel root. If you genuinely meant to start a NEW top-level topic, resend with to_channel_root:true.";
|
|
41453
41462
|
}
|
|
41463
|
+
const redirectNote = describeChannelRedirect({
|
|
41464
|
+
requestedChannel: channel,
|
|
41465
|
+
effectiveChannel,
|
|
41466
|
+
reason: scheduledDest?.retargeted ? "scheduled-task" : channelGuard.corrected ? "dm-channel-guard" : null
|
|
41467
|
+
});
|
|
41468
|
+
if (redirectNote) base += `. ${redirectNote}`;
|
|
41454
41469
|
const sentTs = typeof data.ts === "string" ? data.ts : void 0;
|
|
41455
41470
|
return {
|
|
41456
41471
|
content: [{ type: "text", text: sentTs ? `${base} (ts=${sentTs})` : base }]
|
package/package.json
CHANGED
|
File without changes
|