@integrity-labs/agt-cli 0.27.115 → 0.27.116
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 +3 -3
- package/dist/{chunk-EOMWSV4B.js → chunk-7UIEHD5Q.js} +15 -3
- package/dist/{chunk-EOMWSV4B.js.map → chunk-7UIEHD5Q.js.map} +1 -1
- package/dist/lib/manager-worker.js +5 -3
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +118 -36
- package/package.json +1 -1
package/dist/bin/agt.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
success,
|
|
29
29
|
table,
|
|
30
30
|
warn
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-7UIEHD5Q.js";
|
|
32
32
|
import {
|
|
33
33
|
CHANNEL_REGISTRY,
|
|
34
34
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -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.
|
|
4937
|
+
var cliVersion = true ? "0.27.116" : "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.
|
|
5860
|
+
var cliVersion2 = true ? "0.27.116" : "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) => {
|
|
@@ -5567,6 +5567,12 @@ ${sections}`
|
|
|
5567
5567
|
...slackPeerEnv,
|
|
5568
5568
|
...slackAgtAuthEnv,
|
|
5569
5569
|
...tzEnv,
|
|
5570
|
+
// ENG-6155: the agent's avatar URL (public 512×512 JPG). The
|
|
5571
|
+
// slack-channel MCP sets it as the bot's Slack profile photo on
|
|
5572
|
+
// first connect (users.setPhoto). Omitted when absent so the bot
|
|
5573
|
+
// keeps its current photo; the URL's cache-bust param changes on
|
|
5574
|
+
// re-generation, so the MCP re-applies a new avatar.
|
|
5575
|
+
...options?.agentAvatarUrl && options.agentAvatarUrl.trim() !== "" ? { SLACK_AGENT_AVATAR_URL: options.agentAvatarUrl.trim() } : {},
|
|
5570
5576
|
// ENG-4940: channel-agnostic peer kill switch — same enum
|
|
5571
5577
|
// as the Telegram path emits above. The Slack classifier
|
|
5572
5578
|
// (ENG-4936) honours PEER_DISABLED with identical
|
|
@@ -5735,7 +5741,10 @@ ${sections}`
|
|
|
5735
5741
|
...oneshotBlockKitEnv,
|
|
5736
5742
|
...slackPeerEnv,
|
|
5737
5743
|
...slackAgtAuthEnv,
|
|
5738
|
-
...tzEnv
|
|
5744
|
+
...tzEnv,
|
|
5745
|
+
// ENG-6155: avatar URL → bot Slack profile photo (see persistent
|
|
5746
|
+
// branch above). Mirrored here so oneshot-mode agents get it too.
|
|
5747
|
+
...options?.agentAvatarUrl && options.agentAvatarUrl.trim() !== "" ? { SLACK_AGENT_AVATAR_URL: options.agentAvatarUrl.trim() } : {}
|
|
5739
5748
|
}
|
|
5740
5749
|
};
|
|
5741
5750
|
} else {
|
|
@@ -5751,7 +5760,10 @@ ${sections}`
|
|
|
5751
5760
|
...oneshotBlockKitEnv,
|
|
5752
5761
|
...slackPeerEnv,
|
|
5753
5762
|
...slackAgtAuthEnv,
|
|
5754
|
-
...tzEnv
|
|
5763
|
+
...tzEnv,
|
|
5764
|
+
// ENG-6155: avatar URL → bot Slack profile photo (see persistent
|
|
5765
|
+
// branch above). Mirrored here so oneshot-mode agents get it too.
|
|
5766
|
+
...options?.agentAvatarUrl && options.agentAvatarUrl.trim() !== "" ? { SLACK_AGENT_AVATAR_URL: options.agentAvatarUrl.trim() } : {}
|
|
5755
5767
|
}
|
|
5756
5768
|
};
|
|
5757
5769
|
}
|
|
@@ -7591,4 +7603,4 @@ export {
|
|
|
7591
7603
|
managerInstallSystemUnitCommand,
|
|
7592
7604
|
managerUninstallSystemUnitCommand
|
|
7593
7605
|
};
|
|
7594
|
-
//# sourceMappingURL=chunk-
|
|
7606
|
+
//# sourceMappingURL=chunk-7UIEHD5Q.js.map
|