@integrity-labs/agt-cli 0.28.536 → 0.28.537
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 +4 -4
- package/dist/{chunk-TPJ57PWU.js → chunk-FONX6SU6.js} +38 -1
- package/dist/chunk-FONX6SU6.js.map +1 -0
- package/dist/{chunk-NOOKTWZP.js → chunk-ZD6CJ7UE.js} +68 -5
- package/dist/{chunk-NOOKTWZP.js.map → chunk-ZD6CJ7UE.js.map} +1 -1
- package/dist/{claude-pair-runtime-ND4BTXAM.js → claude-pair-runtime-EAGTWLTC.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/direct-chat-channel.js +12 -0
- package/dist/mcp/origami.js +12 -0
- package/dist/mcp/slack-channel.js +12 -0
- package/dist/mcp/telegram-channel.js +12 -0
- package/dist/{persistent-session-D2JEPOKD.js → persistent-session-P4G3OG7N.js} +4 -2
- package/dist/{responsiveness-probe-4LVECRWX.js → responsiveness-probe-FWQ7RQCW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-TPJ57PWU.js.map +0 -1
- /package/dist/{claude-pair-runtime-ND4BTXAM.js.map → claude-pair-runtime-EAGTWLTC.js.map} +0 -0
- /package/dist/{persistent-session-D2JEPOKD.js.map → persistent-session-P4G3OG7N.js.map} +0 -0
- /package/dist/{responsiveness-probe-4LVECRWX.js.map → responsiveness-probe-FWQ7RQCW.js.map} +0 -0
|
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
|
|
|
100
100
|
return { ok: true };
|
|
101
101
|
} catch {
|
|
102
102
|
}
|
|
103
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
103
|
+
const { resolveClaudeBinary } = await import("./persistent-session-P4G3OG7N.js");
|
|
104
104
|
const claudeBin = resolveClaudeBinary();
|
|
105
105
|
const pairEnv = {
|
|
106
106
|
...process.env,
|
|
@@ -373,4 +373,4 @@ export {
|
|
|
373
373
|
startClaudePair,
|
|
374
374
|
submitClaudePairCode
|
|
375
375
|
};
|
|
376
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
376
|
+
//# sourceMappingURL=claude-pair-runtime-EAGTWLTC.js.map
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
safeWriteJsonAtomic,
|
|
54
54
|
setConfigHash,
|
|
55
55
|
tripClass
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-ZD6CJ7UE.js";
|
|
57
57
|
import {
|
|
58
58
|
getProjectDir as getProjectDir2,
|
|
59
59
|
getReadyTasks,
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
toOpencodeModel,
|
|
181
181
|
transcriptActivityAgeSeconds,
|
|
182
182
|
writeEgressAllowlist
|
|
183
|
-
} from "../chunk-
|
|
183
|
+
} from "../chunk-FONX6SU6.js";
|
|
184
184
|
import {
|
|
185
185
|
reapOrphanChannelMcps
|
|
186
186
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -10369,7 +10369,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
10369
10369
|
var lastVersionCheckAt = 0;
|
|
10370
10370
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
10371
10371
|
var lastResponsivenessProbeAt = 0;
|
|
10372
|
-
var agtCliVersion = true ? "0.28.
|
|
10372
|
+
var agtCliVersion = true ? "0.28.537" : "dev";
|
|
10373
10373
|
function resolveBrewPath(execFileSync2) {
|
|
10374
10374
|
try {
|
|
10375
10375
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -11580,7 +11580,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
11580
11580
|
if (codeNames.length === 0) return;
|
|
11581
11581
|
void (async () => {
|
|
11582
11582
|
try {
|
|
11583
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11583
|
+
const { collectDiagnostics } = await import("../persistent-session-P4G3OG7N.js");
|
|
11584
11584
|
await api.post("/host/heartbeat", {
|
|
11585
11585
|
host_id: hostId,
|
|
11586
11586
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -11687,7 +11687,7 @@ async function pollCycle() {
|
|
|
11687
11687
|
}
|
|
11688
11688
|
try {
|
|
11689
11689
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
11690
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11690
|
+
const { collectDiagnostics } = await import("../persistent-session-P4G3OG7N.js");
|
|
11691
11691
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
11692
11692
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
|
|
11693
11693
|
let tailscaleHostname;
|
|
@@ -11803,7 +11803,7 @@ async function pollCycle() {
|
|
|
11803
11803
|
collectPanelessActivityProbes,
|
|
11804
11804
|
getResponsivenessIntervalMs,
|
|
11805
11805
|
occupancyQualificationClassifications
|
|
11806
|
-
} = await import("../responsiveness-probe-
|
|
11806
|
+
} = await import("../responsiveness-probe-FWQ7RQCW.js");
|
|
11807
11807
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
11808
11808
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
11809
11809
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -11894,7 +11894,7 @@ async function pollCycle() {
|
|
|
11894
11894
|
collectResponsivenessProbes,
|
|
11895
11895
|
livePendingInboundOldestAgeSeconds,
|
|
11896
11896
|
parkPendingInbound
|
|
11897
|
-
} = await import("../responsiveness-probe-
|
|
11897
|
+
} = await import("../responsiveness-probe-FWQ7RQCW.js");
|
|
11898
11898
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
11899
11899
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
11900
11900
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15424,7 +15424,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
15424
15424
|
void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
|
|
15425
15425
|
void (async () => {
|
|
15426
15426
|
try {
|
|
15427
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15427
|
+
const { collectDiagnostics } = await import("../persistent-session-P4G3OG7N.js");
|
|
15428
15428
|
await api.post("/host/heartbeat", {
|
|
15429
15429
|
host_id: hostId,
|
|
15430
15430
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15474,7 +15474,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
15474
15474
|
}
|
|
15475
15475
|
try {
|
|
15476
15476
|
const hostId = await getHostId();
|
|
15477
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15477
|
+
const { collectDiagnostics } = await import("../persistent-session-P4G3OG7N.js");
|
|
15478
15478
|
await api.post("/host/heartbeat", {
|
|
15479
15479
|
host_id: hostId,
|
|
15480
15480
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15998,7 +15998,7 @@ async function processClaudePairSessions(agents) {
|
|
|
15998
15998
|
killPairSession,
|
|
15999
15999
|
pairTmuxSession,
|
|
16000
16000
|
finalizeClaudePairOnboarding
|
|
16001
|
-
} = await import("../claude-pair-runtime-
|
|
16001
|
+
} = await import("../claude-pair-runtime-EAGTWLTC.js");
|
|
16002
16002
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
16003
16003
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
16004
16004
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -34882,6 +34882,18 @@ var FLAG_REGISTRY = [
|
|
|
34882
34882
|
// so mutations require explicit confirmation (ADR-0022 §4).
|
|
34883
34883
|
sensitive: true
|
|
34884
34884
|
},
|
|
34885
|
+
{
|
|
34886
|
+
key: "kanban-push-status",
|
|
34887
|
+
description: "Write a kanban card's status back to the ticket it was imported from (ENG-8384). When ON for a team, a status change on an external-origin card (source=integration) is enqueued by a DB trigger and drained by the kanban-status-push cron, which calls the adapter's optional pushStatus - Linear resolves the target workflow state for the issue's own team and calls LINEAR_UPDATE_ISSUE. When OFF (default) the outbox rows are drained straight to skipped and the team sees ZERO upstream writes, which is the whole point of the gate: this is the first code path that MUTATES a customer's own Jira/Linear instance, so it must never be silently-on. Adapters that cannot honestly push (Jira has no transition tool in its Composio pack) omit pushStatus and their cards report local-only regardless of this flag. Boolean gate; ships dark; evaluated per-team at drain time.",
|
|
34888
|
+
flagType: "boolean",
|
|
34889
|
+
// Declared safe value is `false` = do not write to customer systems. A flag
|
|
34890
|
+
// outage must degrade to "don't touch their tracker", never to an
|
|
34891
|
+
// unattributed mutation in someone else's tool.
|
|
34892
|
+
defaultValue: false,
|
|
34893
|
+
// Turning it ON starts writing into a customer-owned system. That is exactly
|
|
34894
|
+
// the deliberate, audited decision ADR-0022 §4 reserves confirmation for.
|
|
34895
|
+
sensitive: true
|
|
34896
|
+
},
|
|
34885
34897
|
{
|
|
34886
34898
|
key: "augmented-live-stream-producer",
|
|
34887
34899
|
description: "Augmented Live live-preview streaming producer (ENG-7210). The receiver (codec, artifact-draft channel, stream route, console Live Preview tab) shipped under ENG-6234 but never engages because nothing writes the working file the manager scanner watches. When ON for an org, a host-side PostToolUse hook mirrors agt-live.publish/editing content to ~/.augmented/{codeName}/artifacts/<slug>/index.html, so the scanner mints a draft and streams a keyframe to the console Live Preview tab. Additive, best-effort. Boolean gate; ships dark. Materialized to the host flags-cache; the bash hook reads it (operator/canary override AGT_LIVE_STREAM_PRODUCER_ENABLED).",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -40773,6 +40773,18 @@ var FLAG_REGISTRY = [
|
|
|
40773
40773
|
// so mutations require explicit confirmation (ADR-0022 §4).
|
|
40774
40774
|
sensitive: true
|
|
40775
40775
|
},
|
|
40776
|
+
{
|
|
40777
|
+
key: "kanban-push-status",
|
|
40778
|
+
description: "Write a kanban card's status back to the ticket it was imported from (ENG-8384). When ON for a team, a status change on an external-origin card (source=integration) is enqueued by a DB trigger and drained by the kanban-status-push cron, which calls the adapter's optional pushStatus - Linear resolves the target workflow state for the issue's own team and calls LINEAR_UPDATE_ISSUE. When OFF (default) the outbox rows are drained straight to skipped and the team sees ZERO upstream writes, which is the whole point of the gate: this is the first code path that MUTATES a customer's own Jira/Linear instance, so it must never be silently-on. Adapters that cannot honestly push (Jira has no transition tool in its Composio pack) omit pushStatus and their cards report local-only regardless of this flag. Boolean gate; ships dark; evaluated per-team at drain time.",
|
|
40779
|
+
flagType: "boolean",
|
|
40780
|
+
// Declared safe value is `false` = do not write to customer systems. A flag
|
|
40781
|
+
// outage must degrade to "don't touch their tracker", never to an
|
|
40782
|
+
// unattributed mutation in someone else's tool.
|
|
40783
|
+
defaultValue: false,
|
|
40784
|
+
// Turning it ON starts writing into a customer-owned system. That is exactly
|
|
40785
|
+
// the deliberate, audited decision ADR-0022 §4 reserves confirmation for.
|
|
40786
|
+
sensitive: true
|
|
40787
|
+
},
|
|
40776
40788
|
{
|
|
40777
40789
|
key: "augmented-live-stream-producer",
|
|
40778
40790
|
description: "Augmented Live live-preview streaming producer (ENG-7210). The receiver (codec, artifact-draft channel, stream route, console Live Preview tab) shipped under ENG-6234 but never engages because nothing writes the working file the manager scanner watches. When ON for an org, a host-side PostToolUse hook mirrors agt-live.publish/editing content to ~/.augmented/{codeName}/artifacts/<slug>/index.html, so the scanner mints a draft and streams a keyframe to the console Live Preview tab. Additive, best-effort. Boolean gate; ships dark. Materialized to the host flags-cache; the bash hook reads it (operator/canary override AGT_LIVE_STREAM_PRODUCER_ENABLED).",
|
|
@@ -35056,6 +35056,18 @@ var FLAG_REGISTRY = [
|
|
|
35056
35056
|
// so mutations require explicit confirmation (ADR-0022 §4).
|
|
35057
35057
|
sensitive: true
|
|
35058
35058
|
},
|
|
35059
|
+
{
|
|
35060
|
+
key: "kanban-push-status",
|
|
35061
|
+
description: "Write a kanban card's status back to the ticket it was imported from (ENG-8384). When ON for a team, a status change on an external-origin card (source=integration) is enqueued by a DB trigger and drained by the kanban-status-push cron, which calls the adapter's optional pushStatus - Linear resolves the target workflow state for the issue's own team and calls LINEAR_UPDATE_ISSUE. When OFF (default) the outbox rows are drained straight to skipped and the team sees ZERO upstream writes, which is the whole point of the gate: this is the first code path that MUTATES a customer's own Jira/Linear instance, so it must never be silently-on. Adapters that cannot honestly push (Jira has no transition tool in its Composio pack) omit pushStatus and their cards report local-only regardless of this flag. Boolean gate; ships dark; evaluated per-team at drain time.",
|
|
35062
|
+
flagType: "boolean",
|
|
35063
|
+
// Declared safe value is `false` = do not write to customer systems. A flag
|
|
35064
|
+
// outage must degrade to "don't touch their tracker", never to an
|
|
35065
|
+
// unattributed mutation in someone else's tool.
|
|
35066
|
+
defaultValue: false,
|
|
35067
|
+
// Turning it ON starts writing into a customer-owned system. That is exactly
|
|
35068
|
+
// the deliberate, audited decision ADR-0022 §4 reserves confirmation for.
|
|
35069
|
+
sensitive: true
|
|
35070
|
+
},
|
|
35059
35071
|
{
|
|
35060
35072
|
key: "augmented-live-stream-producer",
|
|
35061
35073
|
description: "Augmented Live live-preview streaming producer (ENG-7210). The receiver (codec, artifact-draft channel, stream route, console Live Preview tab) shipped under ENG-6234 but never engages because nothing writes the working file the manager scanner watches. When ON for an org, a host-side PostToolUse hook mirrors agt-live.publish/editing content to ~/.augmented/{codeName}/artifacts/<slug>/index.html, so the scanner mints a draft and streams a keyframe to the console Live Preview tab. Additive, best-effort. Boolean gate; ships dark. Materialized to the host flags-cache; the bash hook reads it (operator/canary override AGT_LIVE_STREAM_PRODUCER_ENABLED).",
|
|
@@ -35377,6 +35377,18 @@ var FLAG_REGISTRY = [
|
|
|
35377
35377
|
// so mutations require explicit confirmation (ADR-0022 §4).
|
|
35378
35378
|
sensitive: true
|
|
35379
35379
|
},
|
|
35380
|
+
{
|
|
35381
|
+
key: "kanban-push-status",
|
|
35382
|
+
description: "Write a kanban card's status back to the ticket it was imported from (ENG-8384). When ON for a team, a status change on an external-origin card (source=integration) is enqueued by a DB trigger and drained by the kanban-status-push cron, which calls the adapter's optional pushStatus - Linear resolves the target workflow state for the issue's own team and calls LINEAR_UPDATE_ISSUE. When OFF (default) the outbox rows are drained straight to skipped and the team sees ZERO upstream writes, which is the whole point of the gate: this is the first code path that MUTATES a customer's own Jira/Linear instance, so it must never be silently-on. Adapters that cannot honestly push (Jira has no transition tool in its Composio pack) omit pushStatus and their cards report local-only regardless of this flag. Boolean gate; ships dark; evaluated per-team at drain time.",
|
|
35383
|
+
flagType: "boolean",
|
|
35384
|
+
// Declared safe value is `false` = do not write to customer systems. A flag
|
|
35385
|
+
// outage must degrade to "don't touch their tracker", never to an
|
|
35386
|
+
// unattributed mutation in someone else's tool.
|
|
35387
|
+
defaultValue: false,
|
|
35388
|
+
// Turning it ON starts writing into a customer-owned system. That is exactly
|
|
35389
|
+
// the deliberate, audited decision ADR-0022 §4 reserves confirmation for.
|
|
35390
|
+
sensitive: true
|
|
35391
|
+
},
|
|
35380
35392
|
{
|
|
35381
35393
|
key: "augmented-live-stream-producer",
|
|
35382
35394
|
description: "Augmented Live live-preview streaming producer (ENG-7210). The receiver (codec, artifact-draft channel, stream route, console Live Preview tab) shipped under ENG-6234 but never engages because nothing writes the working file the manager scanner watches. When ON for an org, a host-side PostToolUse hook mirrors agt-live.publish/editing content to ~/.augmented/{codeName}/artifacts/<slug>/index.html, so the scanner mints a draft and streams a keyframe to the console Live Preview tab. Additive, best-effort. Boolean gate; ships dark. Materialized to the host flags-cache; the bash hook reads it (operator/canary override AGT_LIVE_STREAM_PRODUCER_ENABLED).",
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
directChatSessionStatePath,
|
|
11
11
|
egressAllowlistHostPath,
|
|
12
12
|
egressMode,
|
|
13
|
+
findForeignAgentIdsInMcpConfig,
|
|
13
14
|
findMissingSpawnEnv,
|
|
14
15
|
getLastFailureContext,
|
|
15
16
|
getProjectDir,
|
|
@@ -40,7 +41,7 @@ import {
|
|
|
40
41
|
writeDirectChatSessionState,
|
|
41
42
|
writeEgressAllowlist,
|
|
42
43
|
writePersistentClaudeWrapper
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-FONX6SU6.js";
|
|
44
45
|
import "./chunk-XWVM4KPK.js";
|
|
45
46
|
export {
|
|
46
47
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -54,6 +55,7 @@ export {
|
|
|
54
55
|
directChatSessionStatePath,
|
|
55
56
|
egressAllowlistHostPath,
|
|
56
57
|
egressMode,
|
|
58
|
+
findForeignAgentIdsInMcpConfig,
|
|
57
59
|
findMissingSpawnEnv,
|
|
58
60
|
getLastFailureContext,
|
|
59
61
|
getProjectDir,
|
|
@@ -85,4 +87,4 @@ export {
|
|
|
85
87
|
writeEgressAllowlist,
|
|
86
88
|
writePersistentClaudeWrapper
|
|
87
89
|
};
|
|
88
|
-
//# sourceMappingURL=persistent-session-
|
|
90
|
+
//# sourceMappingURL=persistent-session-P4G3OG7N.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FONX6SU6.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -689,4 +689,4 @@ export {
|
|
|
689
689
|
readAndResetSlackReplyBindingClassifications,
|
|
690
690
|
readAndResetSlackReplyTargetClassifications
|
|
691
691
|
};
|
|
692
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
692
|
+
//# sourceMappingURL=responsiveness-probe-FWQ7RQCW.js.map
|