@integrity-labs/agt-cli 0.28.631 → 0.28.632
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 +6 -6
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-XQ7BNYC4.js → chunk-FKG7DIE2.js} +1 -1
- package/dist/{chunk-XQ7BNYC4.js.map → chunk-FKG7DIE2.js.map} +1 -1
- package/dist/{chunk-7QNQRV3A.js → chunk-IT2WYXBM.js} +2 -2
- package/dist/{chunk-RZDL5TB6.js → chunk-QDIF33SF.js} +23 -7
- package/dist/{chunk-RZDL5TB6.js.map → chunk-QDIF33SF.js.map} +1 -1
- package/dist/{claude-pair-runtime-OU7EYHVL.js → claude-pair-runtime-JYRAP5M3.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-VUVAFI4R.js → persistent-session-YER3H6R6.js} +3 -3
- package/dist/{responsiveness-probe-Q4HYKKJJ.js → responsiveness-probe-MWZBEJOS.js} +3 -3
- package/dist/{session-auth-dead-WKUINREY.js → session-auth-dead-NASGEQCA.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-7QNQRV3A.js.map → chunk-IT2WYXBM.js.map} +0 -0
- /package/dist/{claude-pair-runtime-OU7EYHVL.js.map → claude-pair-runtime-JYRAP5M3.js.map} +0 -0
- /package/dist/{persistent-session-VUVAFI4R.js.map → persistent-session-YER3H6R6.js.map} +0 -0
- /package/dist/{responsiveness-probe-Q4HYKKJJ.js.map → responsiveness-probe-MWZBEJOS.js.map} +0 -0
- /package/dist/{session-auth-dead-WKUINREY.js.map → session-auth-dead-NASGEQCA.js.map} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
rotateDailySession,
|
|
17
17
|
sessionFileExists,
|
|
18
18
|
todayLocalIso
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FKG7DIE2.js";
|
|
20
20
|
import {
|
|
21
21
|
reapOrphanChannelMcps
|
|
22
22
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -4167,4 +4167,4 @@ export {
|
|
|
4167
4167
|
stopAllSessionsAndWait,
|
|
4168
4168
|
getProjectDir
|
|
4169
4169
|
};
|
|
4170
|
-
//# sourceMappingURL=chunk-
|
|
4170
|
+
//# sourceMappingURL=chunk-IT2WYXBM.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
expandTemplateVars,
|
|
8
8
|
isolationMode,
|
|
9
9
|
parseEnvIntegrations
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IT2WYXBM.js";
|
|
11
11
|
import {
|
|
12
12
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
13
13
|
INTEGRATIONS_SECTION_END,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
resolveConnectivityProbe,
|
|
52
52
|
worseConnectivityOutcome,
|
|
53
53
|
wrapScheduledTaskPrompt
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-FKG7DIE2.js";
|
|
55
55
|
import {
|
|
56
56
|
parsePsRows
|
|
57
57
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6069,7 +6069,7 @@ function exchangeFailureKind(err) {
|
|
|
6069
6069
|
}
|
|
6070
6070
|
|
|
6071
6071
|
// src/lib/api-client.ts
|
|
6072
|
-
var agtCliVersion = true ? "0.28.
|
|
6072
|
+
var agtCliVersion = true ? "0.28.632" : "dev";
|
|
6073
6073
|
var lastConfigHash = null;
|
|
6074
6074
|
function setConfigHash(hash) {
|
|
6075
6075
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8129,7 +8129,20 @@ var DID_NOT_RUN_SIGNATURES = [
|
|
|
8129
8129
|
// keep its transient grading (I hit one tonight mid-session; it recovered
|
|
8130
8130
|
// on retry). Only the missing-env case is unambiguously unrunnable, so only
|
|
8131
8131
|
// that signature is matched here.
|
|
8132
|
-
|
|
8132
|
+
// ENG-9122: matched on `AGT_AGENT_ID is not set` rather than the full
|
|
8133
|
+
// "…in this process environment" sentence, because there is a SECOND
|
|
8134
|
+
// emitter that does not use that wording: `packages/mcp/src/index.ts:4035`
|
|
8135
|
+
// throws `Cannot forward tool call: AGT_AGENT_ID is not set`. Under the
|
|
8136
|
+
// longer pattern that one graded `transient_error` and climbed the failure
|
|
8137
|
+
// counter — the exact defect this entry exists to stop, reached by a
|
|
8138
|
+
// different door.
|
|
8139
|
+
//
|
|
8140
|
+
// Still narrow on purpose, and the narrowness is the point: a broker HTTP
|
|
8141
|
+
// 500 ("host key exchange failed … returned HTTP 500") does not contain
|
|
8142
|
+
// this phrase and therefore stays `transient_error`. That is correct — it
|
|
8143
|
+
// is a real intermittent our broker genuinely has, and grading it neutral
|
|
8144
|
+
// would hide a fault worth seeing.
|
|
8145
|
+
re: /AGT_AGENT_ID is not set/i,
|
|
8133
8146
|
reason: "the probe process was spawned without AGT_AGENT_ID, so the credential shim could not identify the agent and nothing was probed (ENG-9005)"
|
|
8134
8147
|
}
|
|
8135
8148
|
];
|
|
@@ -8486,7 +8499,7 @@ function deriveMcpServerKey(input) {
|
|
|
8486
8499
|
if (isDefaultRemoteMcpConnection(input.connectionKey)) return base;
|
|
8487
8500
|
return remoteMcpServerKey(input.definitionId, input.connectionKey);
|
|
8488
8501
|
}
|
|
8489
|
-
function buildProbeEnv(projectDir) {
|
|
8502
|
+
function buildProbeEnv(projectDir, agentId) {
|
|
8490
8503
|
const probeEnv = { ...process.env };
|
|
8491
8504
|
try {
|
|
8492
8505
|
const envIntPath = join5(projectDir, ".env.integrations");
|
|
@@ -8495,6 +8508,9 @@ function buildProbeEnv(projectDir) {
|
|
|
8495
8508
|
}
|
|
8496
8509
|
} catch {
|
|
8497
8510
|
}
|
|
8511
|
+
if (typeof agentId === "string" && agentId.trim().length > 0) {
|
|
8512
|
+
probeEnv.AGT_AGENT_ID = agentId.trim();
|
|
8513
|
+
}
|
|
8498
8514
|
try {
|
|
8499
8515
|
const agentBinDir = join5(projectDir, ".claude", "agt-bin");
|
|
8500
8516
|
if (existsSync6(agentBinDir)) {
|
|
@@ -8665,7 +8681,7 @@ async function gatherSessionToolBindProbe(agent, integrations, projectDir, opts)
|
|
|
8665
8681
|
} catch {
|
|
8666
8682
|
if (hasDeclaredStdio) return null;
|
|
8667
8683
|
}
|
|
8668
|
-
const probeEnv = buildProbeEnv(projectDir);
|
|
8684
|
+
const probeEnv = buildProbeEnv(projectDir, agent.agent_id);
|
|
8669
8685
|
const probeDeps = buildConnectivityProbeDeps(projectDir, probeEnv);
|
|
8670
8686
|
const probeHttp = async (serverKey) => {
|
|
8671
8687
|
if (!probeDeps.mcpProbe) return void 0;
|
|
@@ -9614,4 +9630,4 @@ export {
|
|
|
9614
9630
|
managerInstallSystemUnitCommand,
|
|
9615
9631
|
managerUninstallSystemUnitCommand
|
|
9616
9632
|
};
|
|
9617
|
-
//# sourceMappingURL=chunk-
|
|
9633
|
+
//# sourceMappingURL=chunk-QDIF33SF.js.map
|