@integrity-labs/agt-cli 0.20.7 → 0.20.9
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-CDG7W2UD.js → chunk-UMGWKBRQ.js} +62 -2
- package/dist/chunk-UMGWKBRQ.js.map +1 -0
- package/dist/lib/manager-worker.js +6 -4
- package/dist/lib/manager-worker.js.map +1 -1
- package/mcp/direct-chat-channel.js +1 -0
- package/mcp/slack-channel.js +1 -0
- package/package.json +2 -2
- package/dist/chunk-CDG7W2UD.js.map +0 -1
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveChannels,
|
|
23
23
|
resolveDmTarget,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-UMGWKBRQ.js";
|
|
26
26
|
import {
|
|
27
27
|
findTaskByTemplate,
|
|
28
28
|
getProjectDir,
|
|
@@ -2200,7 +2200,7 @@ function clearAgentCaches(agentId, codeName) {
|
|
|
2200
2200
|
var cachedFrameworkVersion = null;
|
|
2201
2201
|
var lastVersionCheckAt = 0;
|
|
2202
2202
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
2203
|
-
var agtCliVersion = true ? "0.20.
|
|
2203
|
+
var agtCliVersion = true ? "0.20.9" : "dev";
|
|
2204
2204
|
function resolveBrewPath(execFileSync4) {
|
|
2205
2205
|
try {
|
|
2206
2206
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -3765,13 +3765,15 @@ async function processAgent(agent, agentStates) {
|
|
|
3765
3765
|
crossTeamPeerIntraOrg: crossTeamData.organization?.cross_team_peer_intra_org ?? "unrestricted"
|
|
3766
3766
|
} : void 0;
|
|
3767
3767
|
const peersForHash = channelId === "telegram" ? extractCharterTelegramPeers(refreshData.charter?.raw_content ?? "", gateContext) : channelId === "slack" ? extractCharterSlackPeers(refreshData.charter?.raw_content ?? "", gateContext) : null;
|
|
3768
|
-
const
|
|
3768
|
+
const sessionModeForHash = refreshData.agent.session_mode;
|
|
3769
|
+
const CHANNEL_WRITE_VERSION = 4;
|
|
3769
3770
|
const configHash = createHash2("sha256").update(
|
|
3770
3771
|
canonicalJson({
|
|
3771
3772
|
writeVersion: CHANNEL_WRITE_VERSION,
|
|
3772
3773
|
config: entry.config,
|
|
3773
3774
|
team: teamSettingsForHash,
|
|
3774
|
-
peers: peersForHash
|
|
3775
|
+
peers: peersForHash,
|
|
3776
|
+
sessionMode: sessionModeForHash ?? null
|
|
3775
3777
|
})
|
|
3776
3778
|
).digest("hex");
|
|
3777
3779
|
const cacheKey = `${agent.agent_id}:${channelId}`;
|