@integrity-labs/agt-cli 0.28.916 → 0.28.918
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 +5 -5
- package/dist/{chunk-OJK2OMY7.js → chunk-BGZHJNKK.js} +19 -6
- package/dist/chunk-BGZHJNKK.js.map +1 -0
- package/dist/{chunk-5N43343H.js → chunk-GYUOGI3N.js} +2 -2
- package/dist/{chunk-ASZOPO2M.js → chunk-YBCJHIWM.js} +1 -1
- package/dist/chunk-YBCJHIWM.js.map +1 -0
- package/dist/{claude-pair-runtime-53EZO64S.js → claude-pair-runtime-VT3Z6IAS.js} +2 -2
- package/dist/lib/manager-worker.js +20 -15
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +88 -0
- package/dist/mcp/slack-channel.js +32 -4
- package/dist/mcp/teams-channel.js +6 -1
- package/dist/mcp/telegram-channel.js +2 -0
- package/dist/{persistent-session-35AFHBHP.js → persistent-session-AQD73425.js} +3 -3
- package/dist/{responsiveness-probe-WWMTTSVS.js → responsiveness-probe-YYWJW6YM.js} +3 -3
- package/dist/{session-auth-dead-6UF5SAIT.js → session-auth-dead-5UDO74CI.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-ASZOPO2M.js.map +0 -1
- package/dist/chunk-OJK2OMY7.js.map +0 -1
- /package/dist/{chunk-5N43343H.js.map → chunk-GYUOGI3N.js.map} +0 -0
- /package/dist/{claude-pair-runtime-53EZO64S.js.map → claude-pair-runtime-VT3Z6IAS.js.map} +0 -0
- /package/dist/{persistent-session-35AFHBHP.js.map → persistent-session-AQD73425.js.map} +0 -0
- /package/dist/{responsiveness-probe-WWMTTSVS.js.map → responsiveness-probe-YYWJW6YM.js.map} +0 -0
- /package/dist/{session-auth-dead-6UF5SAIT.js.map → session-auth-dead-5UDO74CI.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-BGZHJNKK.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-GYUOGI3N.js";
|
|
49
49
|
import {
|
|
50
50
|
AnchorSessionClient,
|
|
51
51
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-YBCJHIWM.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -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.918" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6682,7 +6682,7 @@ function handleError(err) {
|
|
|
6682
6682
|
}
|
|
6683
6683
|
|
|
6684
6684
|
// src/bin/agt.ts
|
|
6685
|
-
var cliVersion2 = true ? "0.28.
|
|
6685
|
+
var cliVersion2 = true ? "0.28.918" : "dev";
|
|
6686
6686
|
var program = new Command();
|
|
6687
6687
|
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");
|
|
6688
6688
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseEnvIntegrations,
|
|
17
17
|
shellQuote,
|
|
18
18
|
summarizeUnanswerablePane
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GYUOGI3N.js";
|
|
20
20
|
import {
|
|
21
21
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
22
22
|
INTEGRATIONS_SECTION_END,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
sessionTranscriptDir,
|
|
77
77
|
worseConnectivityOutcome,
|
|
78
78
|
wrapScheduledTaskPrompt
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-YBCJHIWM.js";
|
|
80
80
|
import {
|
|
81
81
|
parsePsRows
|
|
82
82
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5684,7 +5684,16 @@ ${sections}`
|
|
|
5684
5684
|
// MCP boot guard fails closed at startup rather than admitting
|
|
5685
5685
|
// every sender as "internal".
|
|
5686
5686
|
...senderPolicyInternalOnly ? { SLACK_INTERNAL_ONLY: "true" } : {},
|
|
5687
|
-
|
|
5687
|
+
// ENG-10440: SLACK_HOME_TEAM_ID is emitted whenever the install
|
|
5688
|
+
// knows its workspace, NOT only under internal_only. The MCP's
|
|
5689
|
+
// same-org test (decline vs silent drop, ENG-5859/ENG-6236) reads
|
|
5690
|
+
// it for EVERY restrictive mode and fails closed when it is
|
|
5691
|
+
// absent — so gating it on internal_only made every mode-block
|
|
5692
|
+
// decline dead for orgs without internal_only, which is most of
|
|
5693
|
+
// them. It is the install's identity, not a policy knob; the
|
|
5694
|
+
// internal_only boot guard still only fires when INTERNAL_ONLY
|
|
5695
|
+
// is set. The MCP also falls back to its own auth.test team_id.
|
|
5696
|
+
...typeof config["team_id"] === "string" && config["team_id"].length > 0 ? { SLACK_HOME_TEAM_ID: config["team_id"] } : {},
|
|
5688
5697
|
// ENG-7919: inject the bot's own Slack user ID so it is available at
|
|
5689
5698
|
// MCP startup before auth.test resolves. Populated by the slack-bot-user-id
|
|
5690
5699
|
// client on first startup and stored in agent_channel_configs.config.bot_user_id.
|
|
@@ -5955,7 +5964,11 @@ ${sections}`
|
|
|
5955
5964
|
// SLACK_HOME_TEAM_ID-equivalent emission when the install hasn't
|
|
5956
5965
|
// pinned a real tenant. MCP boot guard fails closed.
|
|
5957
5966
|
...senderPolicyInternalOnly ? { MSTEAMS_INTERNAL_ONLY: "true" } : {},
|
|
5958
|
-
|
|
5967
|
+
// ENG-10440: emitted whenever a real tenant is pinned, not only under
|
|
5968
|
+
// internal_only — teams-channel's same-org test reads it for every
|
|
5969
|
+
// restrictive mode, exactly as the Slack pair above. 'common' is still
|
|
5970
|
+
// never emitted.
|
|
5971
|
+
...tenantId !== "common" ? { MSTEAMS_HOME_TENANT_ID: tenantId } : {}
|
|
5959
5972
|
};
|
|
5960
5973
|
if (isPersistent && existsSync4(localTeamsChannel)) {
|
|
5961
5974
|
mcpServers["msteams"] = {
|
|
@@ -6929,7 +6942,7 @@ function exchangeFailureKind(err) {
|
|
|
6929
6942
|
}
|
|
6930
6943
|
|
|
6931
6944
|
// src/lib/api-client.ts
|
|
6932
|
-
var agtCliVersion = true ? "0.28.
|
|
6945
|
+
var agtCliVersion = true ? "0.28.918" : "dev";
|
|
6933
6946
|
var lastConfigHash = null;
|
|
6934
6947
|
function setConfigHash(hash) {
|
|
6935
6948
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11539,4 +11552,4 @@ export {
|
|
|
11539
11552
|
managerInstallSystemUnitCommand,
|
|
11540
11553
|
managerUninstallSystemUnitCommand
|
|
11541
11554
|
};
|
|
11542
|
-
//# sourceMappingURL=chunk-
|
|
11555
|
+
//# sourceMappingURL=chunk-BGZHJNKK.js.map
|