@integrity-labs/agt-cli 0.28.266 → 0.28.268
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-Z5YUBTSG.js → chunk-PA3PWATY.js} +9 -2
- package/dist/{chunk-Z5YUBTSG.js.map → chunk-PA3PWATY.js.map} +1 -1
- package/dist/lib/manager-worker.js +18 -3
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +113 -26
- package/package.json +1 -1
package/dist/bin/agt.js
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
table,
|
|
40
40
|
warn
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-PA3PWATY.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4826
4826
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4827
4827
|
import chalk18 from "chalk";
|
|
4828
4828
|
import ora16 from "ora";
|
|
4829
|
-
var cliVersion = true ? "0.28.
|
|
4829
|
+
var cliVersion = true ? "0.28.268" : "dev";
|
|
4830
4830
|
async function fetchLatestVersion() {
|
|
4831
4831
|
const host2 = getHost();
|
|
4832
4832
|
if (!host2) return null;
|
|
@@ -5840,7 +5840,7 @@ function handleError(err) {
|
|
|
5840
5840
|
}
|
|
5841
5841
|
|
|
5842
5842
|
// src/bin/agt.ts
|
|
5843
|
-
var cliVersion2 = true ? "0.28.
|
|
5843
|
+
var cliVersion2 = true ? "0.28.268" : "dev";
|
|
5844
5844
|
var program = new Command();
|
|
5845
5845
|
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");
|
|
5846
5846
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5876,7 +5876,7 @@ function requireHost() {
|
|
|
5876
5876
|
}
|
|
5877
5877
|
|
|
5878
5878
|
// src/lib/api-client.ts
|
|
5879
|
-
var agtCliVersion = true ? "0.28.
|
|
5879
|
+
var agtCliVersion = true ? "0.28.268" : "dev";
|
|
5880
5880
|
var lastConfigHash = null;
|
|
5881
5881
|
function setConfigHash(hash) {
|
|
5882
5882
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -6345,6 +6345,12 @@ function findMcpServersUsingVars(mcp, changedVars) {
|
|
|
6345
6345
|
}
|
|
6346
6346
|
return result;
|
|
6347
6347
|
}
|
|
6348
|
+
function envOnlyRespawnVars(changedVars, mcp, channelSecretKeys) {
|
|
6349
|
+
const channelSet = new Set(channelSecretKeys);
|
|
6350
|
+
return [...changedVars].filter(
|
|
6351
|
+
(v) => !channelSet.has(v) && findMcpServersUsingVars(mcp, [v]).length === 0
|
|
6352
|
+
);
|
|
6353
|
+
}
|
|
6348
6354
|
function buildArgvMatchersForEntry(key, entry) {
|
|
6349
6355
|
const escapeRe = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
6350
6356
|
const patterns = [];
|
|
@@ -8124,6 +8130,7 @@ export {
|
|
|
8124
8130
|
HostFlagStore,
|
|
8125
8131
|
diffEnvIntegrations,
|
|
8126
8132
|
findMcpServersUsingVars,
|
|
8133
|
+
envOnlyRespawnVars,
|
|
8127
8134
|
reapStaleMcpChildren,
|
|
8128
8135
|
clearPresenceReaperState,
|
|
8129
8136
|
clearPresenceReaperStateForKeys,
|
|
@@ -8146,4 +8153,4 @@ export {
|
|
|
8146
8153
|
managerInstallSystemUnitCommand,
|
|
8147
8154
|
managerUninstallSystemUnitCommand
|
|
8148
8155
|
};
|
|
8149
|
-
//# sourceMappingURL=chunk-
|
|
8156
|
+
//# sourceMappingURL=chunk-PA3PWATY.js.map
|