@integrity-labs/agt-cli 0.27.115 → 0.27.116
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-EOMWSV4B.js → chunk-7UIEHD5Q.js} +15 -3
- package/dist/{chunk-EOMWSV4B.js.map → chunk-7UIEHD5Q.js.map} +1 -1
- package/dist/lib/manager-worker.js +5 -3
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +118 -36
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
provisionStopHook,
|
|
18
18
|
requireHost,
|
|
19
19
|
safeWriteJsonAtomic
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-7UIEHD5Q.js";
|
|
21
21
|
import {
|
|
22
22
|
getProjectDir as getProjectDir2,
|
|
23
23
|
getReadyTasks,
|
|
@@ -4223,7 +4223,7 @@ var cachedMaintenanceWindow = null;
|
|
|
4223
4223
|
var lastVersionCheckAt = 0;
|
|
4224
4224
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
4225
4225
|
var lastResponsivenessProbeAt = 0;
|
|
4226
|
-
var agtCliVersion = true ? "0.27.
|
|
4226
|
+
var agtCliVersion = true ? "0.27.116" : "dev";
|
|
4227
4227
|
function resolveBrewPath(execFileSync4) {
|
|
4228
4228
|
try {
|
|
4229
4229
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -6441,6 +6441,7 @@ async function processAgent(agent, agentStates) {
|
|
|
6441
6441
|
const telegramPeers = channelId === "telegram" ? extractCharterTelegramPeers(refreshData.charter?.raw_content ?? "", gateContext) : void 0;
|
|
6442
6442
|
const slackPeers = channelId === "slack" ? extractCharterSlackPeers(refreshData.charter?.raw_content ?? "", gateContext) : void 0;
|
|
6443
6443
|
const senderPolicyForCall = channelId === "slack" || channelId === "msteams" ? refreshData.sender_policy ?? void 0 : void 0;
|
|
6444
|
+
const agentAvatarUrl = channelId === "slack" ? (refreshData.agent.avatar_url ?? void 0) || void 0 : void 0;
|
|
6444
6445
|
frameworkAdapter.writeChannelCredentials(
|
|
6445
6446
|
agent.code_name,
|
|
6446
6447
|
channelId,
|
|
@@ -6453,7 +6454,8 @@ async function processAgent(agent, agentStates) {
|
|
|
6453
6454
|
telegramPeers,
|
|
6454
6455
|
slackPeers,
|
|
6455
6456
|
agentTimezone,
|
|
6456
|
-
senderPolicy: senderPolicyForCall
|
|
6457
|
+
senderPolicy: senderPolicyForCall,
|
|
6458
|
+
agentAvatarUrl
|
|
6457
6459
|
}
|
|
6458
6460
|
);
|
|
6459
6461
|
agentState.knownChannelConfigHashes.set(cacheKey, configHash);
|