@integrity-labs/agt-cli 0.28.551 → 0.28.553
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-KODUPAXH.js → chunk-YCN2PS63.js} +2 -2
- package/dist/lib/manager-worker.js +12 -2
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +17 -3
- package/dist/mcp/slack-channel.js +101 -1
- package/package.json +1 -1
- /package/dist/{chunk-KODUPAXH.js.map → chunk-YCN2PS63.js.map} +0 -0
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-YCN2PS63.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4834
4834
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4835
4835
|
import chalk18 from "chalk";
|
|
4836
4836
|
import ora16 from "ora";
|
|
4837
|
-
var cliVersion = true ? "0.28.
|
|
4837
|
+
var cliVersion = true ? "0.28.553" : "dev";
|
|
4838
4838
|
async function fetchLatestVersion() {
|
|
4839
4839
|
const host2 = getHost();
|
|
4840
4840
|
if (!host2) return null;
|
|
@@ -6009,7 +6009,7 @@ function handleError(err) {
|
|
|
6009
6009
|
}
|
|
6010
6010
|
|
|
6011
6011
|
// src/bin/agt.ts
|
|
6012
|
-
var cliVersion2 = true ? "0.28.
|
|
6012
|
+
var cliVersion2 = true ? "0.28.553" : "dev";
|
|
6013
6013
|
var program = new Command();
|
|
6014
6014
|
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");
|
|
6015
6015
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5608,7 +5608,7 @@ function exchangeFailureKind(err) {
|
|
|
5608
5608
|
}
|
|
5609
5609
|
|
|
5610
5610
|
// src/lib/api-client.ts
|
|
5611
|
-
var agtCliVersion = true ? "0.28.
|
|
5611
|
+
var agtCliVersion = true ? "0.28.553" : "dev";
|
|
5612
5612
|
var lastConfigHash = null;
|
|
5613
5613
|
function setConfigHash(hash) {
|
|
5614
5614
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8920,4 +8920,4 @@ export {
|
|
|
8920
8920
|
managerInstallSystemUnitCommand,
|
|
8921
8921
|
managerUninstallSystemUnitCommand
|
|
8922
8922
|
};
|
|
8923
|
-
//# sourceMappingURL=chunk-
|
|
8923
|
+
//# sourceMappingURL=chunk-YCN2PS63.js.map
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
safeWriteJsonAtomic,
|
|
54
54
|
setConfigHash,
|
|
55
55
|
tripClass
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-YCN2PS63.js";
|
|
57
57
|
import {
|
|
58
58
|
getProjectDir as getProjectDir2,
|
|
59
59
|
getReadyTasks,
|
|
@@ -6839,6 +6839,16 @@ function classifyPeerMessage(msg, cfg, self) {
|
|
|
6839
6839
|
}
|
|
6840
6840
|
const peer = cfg.peers.find((p) => p.bot_user_id === msg.user);
|
|
6841
6841
|
if (!peer) {
|
|
6842
|
+
const thirdParty = cfg.third_party_bots?.find((b) => b.bot_user_id === msg.user);
|
|
6843
|
+
if (thirdParty) {
|
|
6844
|
+
if (cfg.peer_disabled_mode === "cross_team_only") {
|
|
6845
|
+
return { kind: "drop", reason: "peer_disabled_cross_team" };
|
|
6846
|
+
}
|
|
6847
|
+
if (thirdParty.channel_ids.includes(msg.channel)) {
|
|
6848
|
+
return { kind: "bot-ingress", bot: thirdParty };
|
|
6849
|
+
}
|
|
6850
|
+
return { kind: "drop", reason: "third_party_channel_not_allowlisted" };
|
|
6851
|
+
}
|
|
6842
6852
|
return { kind: "drop", reason: "unknown_peer" };
|
|
6843
6853
|
}
|
|
6844
6854
|
if (peer.gate_path === null) {
|
|
@@ -10502,7 +10512,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
10502
10512
|
var lastVersionCheckAt = 0;
|
|
10503
10513
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
10504
10514
|
var lastResponsivenessProbeAt = 0;
|
|
10505
|
-
var agtCliVersion = true ? "0.28.
|
|
10515
|
+
var agtCliVersion = true ? "0.28.553" : "dev";
|
|
10506
10516
|
function resolveBrewPath(execFileSync2) {
|
|
10507
10517
|
try {
|
|
10508
10518
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|