@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
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
rotateDailySession,
|
|
24
24
|
sessionFileExists,
|
|
25
25
|
todayLocalIso
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B7XGAC54.js";
|
|
27
27
|
import {
|
|
28
28
|
classifyUnanswerablePane,
|
|
29
29
|
findUsageLimitResetHint,
|
|
@@ -710,6 +710,14 @@ function buildChannelServerEnv(channelId, config, options) {
|
|
|
710
710
|
if (chats.length > 0)
|
|
711
711
|
env["TELEGRAM_ALLOWED_CHATS"] = chats.join(",");
|
|
712
712
|
}
|
|
713
|
+
if (mode)
|
|
714
|
+
env["TELEGRAM_SENDER_POLICY"] = mode;
|
|
715
|
+
if (mode === "manager_only" && options?.senderPolicy?.principal?.telegram_chat_id) {
|
|
716
|
+
env["TELEGRAM_SENDER_POLICY_PRINCIPAL_ID"] = options.senderPolicy.principal.telegram_chat_id;
|
|
717
|
+
}
|
|
718
|
+
if (mode === "team_only" && options?.senderPolicy?.team_principals?.telegram_chat_ids?.length) {
|
|
719
|
+
env["TELEGRAM_SENDER_POLICY_TEAM_PRINCIPAL_IDS"] = options.senderPolicy.team_principals.telegram_chat_ids.join(",");
|
|
720
|
+
}
|
|
713
721
|
if (config["private_chats_only"] === true) {
|
|
714
722
|
env["TELEGRAM_PRIVATE_CHATS_ONLY"] = "1";
|
|
715
723
|
}
|
|
@@ -5884,4 +5892,4 @@ export {
|
|
|
5884
5892
|
stopAllSessionsAndWait,
|
|
5885
5893
|
getProjectDir
|
|
5886
5894
|
};
|
|
5887
|
-
//# sourceMappingURL=chunk-
|
|
5895
|
+
//# sourceMappingURL=chunk-YPS4AUHN.js.map
|