@integrity-labs/agt-cli 0.28.825 → 0.28.827

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.
@@ -4025,6 +4025,41 @@ var HOURLY_BY_REGION = {
4025
4025
  };
4026
4026
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
4027
4027
 
4028
+ // ../../packages/core/dist/provisioning/frameworks/claudecode/slack-behaviour-env.js
4029
+ function normaliseSlackPeerAgentMode(raw) {
4030
+ return raw === "listen" || raw === "respond" ? raw : "";
4031
+ }
4032
+ function normaliseSlackPeerGroupIds(raw) {
4033
+ if (!Array.isArray(raw))
4034
+ return [];
4035
+ return raw.map((v) => typeof v === "string" || typeof v === "number" ? String(v).trim() : "").filter((v) => v.length > 0);
4036
+ }
4037
+ function buildSlackThirdPartyBotsEnvValue(raw) {
4038
+ if (!Array.isArray(raw) || raw.length === 0)
4039
+ return void 0;
4040
+ const entries = [];
4041
+ for (const item of raw) {
4042
+ if (!item || typeof item !== "object")
4043
+ continue;
4044
+ const rec = item;
4045
+ const botUserId = typeof rec["bot_user_id"] === "string" ? rec["bot_user_id"].trim() : "";
4046
+ if (!botUserId)
4047
+ continue;
4048
+ if (!Array.isArray(rec["channel_ids"]))
4049
+ continue;
4050
+ const channelIds = rec["channel_ids"].filter((c) => typeof c === "string" && c.trim() !== "").map((c) => c.trim());
4051
+ const botId = typeof rec["bot_id"] === "string" && rec["bot_id"].trim() ? rec["bot_id"].trim() : void 0;
4052
+ const label = typeof rec["label"] === "string" && rec["label"].trim() ? rec["label"].trim() : void 0;
4053
+ entries.push({
4054
+ bot_user_id: botUserId,
4055
+ channel_ids: channelIds,
4056
+ ...botId ? { bot_id: botId } : {},
4057
+ ...label ? { label } : {}
4058
+ });
4059
+ }
4060
+ return entries.length > 0 ? JSON.stringify(entries) : void 0;
4061
+ }
4062
+
4028
4063
  // ../../packages/core/dist/provisioning/mcp-tool-patterns.js
4029
4064
  function sanitizeMcpName(name) {
4030
4065
  return name.replace(/-/g, "_");
@@ -13664,6 +13699,9 @@ function readDailySessionPin(codeName) {
13664
13699
  }
13665
13700
 
13666
13701
  export {
13702
+ normaliseSlackPeerAgentMode,
13703
+ normaliseSlackPeerGroupIds,
13704
+ buildSlackThirdPartyBotsEnvValue,
13667
13705
  LITERAL_SECRET_PATTERNS,
13668
13706
  scanConfigForLiteralSecrets,
13669
13707
  formatLiteralSecretRejection,
@@ -13836,4 +13874,4 @@ export {
13836
13874
  peekCurrentSession,
13837
13875
  readDailySessionPin
13838
13876
  };
13839
- //# sourceMappingURL=chunk-PVPLNARY.js.map
13877
+ //# sourceMappingURL=chunk-GJY3KZG6.js.map