@integrity-labs/agt-cli 0.28.1015 → 0.28.1016
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-RJ3SI5JG.js → chunk-B7XGAC54.js} +20 -2
- package/dist/chunk-B7XGAC54.js.map +1 -0
- package/dist/{chunk-GHHDFHKE.js → chunk-DFKQZGM7.js} +18 -4
- package/dist/chunk-DFKQZGM7.js.map +1 -0
- package/dist/{chunk-MHDNKKEO.js → chunk-YPS4AUHN.js} +10 -2
- package/dist/{chunk-MHDNKKEO.js.map → chunk-YPS4AUHN.js.map} +1 -1
- package/dist/{claude-pair-runtime-GSPFYCG4.js → claude-pair-runtime-VE6KUMQY.js} +2 -2
- package/dist/lib/manager-worker.js +154 -19
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/telegram-channel.js +194 -3
- package/dist/{persistent-session-YP2UTQGA.js → persistent-session-AQGEDGJR.js} +3 -3
- package/dist/{responsiveness-probe-YTFWHUTQ.js → responsiveness-probe-BDARO76E.js} +3 -3
- package/dist/{session-auth-dead-TX4YQUTJ.js → session-auth-dead-2CCORXIW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-GHHDFHKE.js.map +0 -1
- package/dist/chunk-RJ3SI5JG.js.map +0 -1
- /package/dist/{claude-pair-runtime-GSPFYCG4.js.map → claude-pair-runtime-VE6KUMQY.js.map} +0 -0
- /package/dist/{persistent-session-YP2UTQGA.js.map → persistent-session-AQGEDGJR.js.map} +0 -0
- /package/dist/{responsiveness-probe-YTFWHUTQ.js.map → responsiveness-probe-BDARO76E.js.map} +0 -0
- /package/dist/{session-auth-dead-TX4YQUTJ.js.map → session-auth-dead-2CCORXIW.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseEnvFileEntries,
|
|
16
16
|
parseEnvIntegrations,
|
|
17
17
|
shellQuote
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YPS4AUHN.js";
|
|
19
19
|
import {
|
|
20
20
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
21
21
|
INTEGRATIONS_SECTION_END,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
sessionTranscriptDir,
|
|
78
78
|
worseConnectivityOutcome,
|
|
79
79
|
wrapScheduledTaskPrompt
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-B7XGAC54.js";
|
|
81
81
|
import {
|
|
82
82
|
classifyUnanswerablePane,
|
|
83
83
|
summarizeUnanswerablePane
|
|
@@ -5507,8 +5507,10 @@ ${sections}`
|
|
|
5507
5507
|
const senderPolicyTeamId = options?.senderPolicy?.mode === "team_agents_only" || options?.senderPolicy?.mode === "manager_only" || options?.senderPolicy?.mode === "team_only" ? options.senderPolicy.team_id : void 0;
|
|
5508
5508
|
const slackPrincipalId = options?.senderPolicy?.mode === "manager_only" ? options.senderPolicy.principal?.slack_user_id : void 0;
|
|
5509
5509
|
const teamsPrincipalId = options?.senderPolicy?.mode === "manager_only" ? options.senderPolicy.principal?.teams_aad_object_id : void 0;
|
|
5510
|
+
const telegramPrincipalId = options?.senderPolicy?.mode === "manager_only" ? options.senderPolicy.principal?.telegram_chat_id : void 0;
|
|
5510
5511
|
const slackTeamPrincipalIds = options?.senderPolicy?.mode === "team_only" ? options.senderPolicy.team_principals?.slack_user_ids?.join(",") : void 0;
|
|
5511
5512
|
const teamsTeamPrincipalIds = options?.senderPolicy?.mode === "team_only" ? options.senderPolicy.team_principals?.teams_aad_object_ids?.join(",") : void 0;
|
|
5513
|
+
const telegramTeamPrincipalIds = options?.senderPolicy?.mode === "team_only" ? options.senderPolicy.team_principals?.telegram_chat_ids?.join(",") : void 0;
|
|
5512
5514
|
const senderPolicyInternalOnly = options?.senderPolicy?.internal_only === true;
|
|
5513
5515
|
const senderPolicyEnv = senderPolicyTeamId ? { AGT_TEAM_ID: senderPolicyTeamId } : {};
|
|
5514
5516
|
const agentDir = getAgentDir(codeName);
|
|
@@ -5546,6 +5548,18 @@ ${sections}`
|
|
|
5546
5548
|
if (allowedChats && allowedChats.length > 0) {
|
|
5547
5549
|
telegramEnv.TELEGRAM_ALLOWED_CHATS = allowedChats.join(",");
|
|
5548
5550
|
}
|
|
5551
|
+
if (senderPolicyMode) {
|
|
5552
|
+
telegramEnv.TELEGRAM_SENDER_POLICY = senderPolicyMode;
|
|
5553
|
+
}
|
|
5554
|
+
for (const [policyKey, policyValue] of Object.entries(senderPolicyEnv)) {
|
|
5555
|
+
telegramEnv[policyKey] = policyValue;
|
|
5556
|
+
}
|
|
5557
|
+
if (telegramPrincipalId) {
|
|
5558
|
+
telegramEnv.TELEGRAM_SENDER_POLICY_PRINCIPAL_ID = telegramPrincipalId;
|
|
5559
|
+
}
|
|
5560
|
+
if (telegramTeamPrincipalIds) {
|
|
5561
|
+
telegramEnv.TELEGRAM_SENDER_POLICY_TEAM_PRINCIPAL_IDS = telegramTeamPrincipalIds;
|
|
5562
|
+
}
|
|
5549
5563
|
const telegramAckReaction = config["ack_reaction"];
|
|
5550
5564
|
if (typeof telegramAckReaction === "string" && telegramAckReaction.trim().length > 0) {
|
|
5551
5565
|
telegramEnv.TELEGRAM_ACK_REACTION = telegramAckReaction.trim();
|
|
@@ -6993,7 +7007,7 @@ function exchangeFailureKind(err) {
|
|
|
6993
7007
|
}
|
|
6994
7008
|
|
|
6995
7009
|
// src/lib/api-client.ts
|
|
6996
|
-
var agtCliVersion = true ? "0.28.
|
|
7010
|
+
var agtCliVersion = true ? "0.28.1016" : "dev";
|
|
6997
7011
|
var lastConfigHash = null;
|
|
6998
7012
|
function setConfigHash(hash) {
|
|
6999
7013
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11775,4 +11789,4 @@ export {
|
|
|
11775
11789
|
managerInstallSystemUnitCommand,
|
|
11776
11790
|
managerUninstallSystemUnitCommand
|
|
11777
11791
|
};
|
|
11778
|
-
//# sourceMappingURL=chunk-
|
|
11792
|
+
//# sourceMappingURL=chunk-DFKQZGM7.js.map
|