@integrity-labs/agt-cli 0.28.968 → 0.28.969
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 +5 -5
- package/dist/{chunk-EOBOL6AF.js → chunk-BWWQMMCR.js} +24 -12
- package/dist/{chunk-EOBOL6AF.js.map → chunk-BWWQMMCR.js.map} +1 -1
- package/dist/{chunk-R5G7EUJS.js → chunk-NOY2C63C.js} +16 -1
- package/dist/{chunk-R5G7EUJS.js.map → chunk-NOY2C63C.js.map} +1 -1
- package/dist/{chunk-NNLFFHCB.js → chunk-O2Q4HY6I.js} +2 -2
- package/dist/{claude-pair-runtime-MF7I4FNM.js → claude-pair-runtime-YBFVBB6G.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/mcp/direct-chat-channel.js +15 -0
- package/dist/mcp/index.js +15 -0
- package/dist/mcp/origami.js +15 -0
- package/dist/mcp/slack-channel.js +15 -0
- package/dist/mcp/telegram-channel.js +15 -0
- package/dist/{persistent-session-G3YBVYJI.js → persistent-session-4J6SFXBI.js} +3 -3
- package/dist/{responsiveness-probe-CUMOVJG2.js → responsiveness-probe-GX6HLUES.js} +3 -3
- package/dist/{session-auth-dead-XU6S3ZAU.js → session-auth-dead-EPI2A6RF.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-NNLFFHCB.js.map → chunk-O2Q4HY6I.js.map} +0 -0
- /package/dist/{claude-pair-runtime-MF7I4FNM.js.map → claude-pair-runtime-YBFVBB6G.js.map} +0 -0
- /package/dist/{persistent-session-G3YBVYJI.js.map → persistent-session-4J6SFXBI.js.map} +0 -0
- /package/dist/{responsiveness-probe-CUMOVJG2.js.map → responsiveness-probe-GX6HLUES.js.map} +0 -0
- /package/dist/{session-auth-dead-XU6S3ZAU.js.map → session-auth-dead-EPI2A6RF.js.map} +0 -0
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
rotateDailySession,
|
|
21
21
|
sessionFileExists,
|
|
22
22
|
todayLocalIso
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NOY2C63C.js";
|
|
24
24
|
import {
|
|
25
25
|
classifyUnanswerablePane,
|
|
26
26
|
findUsageLimitResetHint,
|
|
@@ -5575,4 +5575,4 @@ export {
|
|
|
5575
5575
|
stopAllSessionsAndWait,
|
|
5576
5576
|
getProjectDir
|
|
5577
5577
|
};
|
|
5578
|
-
//# sourceMappingURL=chunk-
|
|
5578
|
+
//# sourceMappingURL=chunk-O2Q4HY6I.js.map
|
|
@@ -236,7 +236,7 @@ async function spawnPairSession(session) {
|
|
|
236
236
|
return { ok: true };
|
|
237
237
|
} catch {
|
|
238
238
|
}
|
|
239
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
239
|
+
const { resolveClaudeBinary } = await import("./persistent-session-4J6SFXBI.js");
|
|
240
240
|
const claudeBin = resolveClaudeBinary();
|
|
241
241
|
const pairEnv = {
|
|
242
242
|
...process.env,
|
|
@@ -558,4 +558,4 @@ export {
|
|
|
558
558
|
startClaudePair,
|
|
559
559
|
submitClaudePairCode
|
|
560
560
|
};
|
|
561
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
561
|
+
//# sourceMappingURL=claude-pair-runtime-YBFVBB6G.js.map
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
safeWriteJsonAtomic,
|
|
64
64
|
setConfigHash,
|
|
65
65
|
tripClass
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-BWWQMMCR.js";
|
|
67
67
|
import {
|
|
68
68
|
getProjectDir as getProjectDir2,
|
|
69
69
|
getReadyTasks,
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
takeZombieDetection,
|
|
141
141
|
toOpencodeModel,
|
|
142
142
|
writeEgressAllowlist
|
|
143
|
-
} from "../chunk-
|
|
143
|
+
} from "../chunk-O2Q4HY6I.js";
|
|
144
144
|
import {
|
|
145
145
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
146
146
|
AnchorSessionClient,
|
|
@@ -238,7 +238,7 @@ import {
|
|
|
238
238
|
subagentActivityAgeSeconds,
|
|
239
239
|
sumTranscriptUsageInWindow,
|
|
240
240
|
transcriptActivityAgeSeconds
|
|
241
|
-
} from "../chunk-
|
|
241
|
+
} from "../chunk-NOY2C63C.js";
|
|
242
242
|
import "../chunk-DHWNVVX4.js";
|
|
243
243
|
import {
|
|
244
244
|
reapOrphanChannelMcps
|
|
@@ -13182,7 +13182,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13182
13182
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13183
13183
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13184
13184
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13185
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13185
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-GX6HLUES.js");
|
|
13186
13186
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13187
13187
|
if (newest === null) return null;
|
|
13188
13188
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13867,7 +13867,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13867
13867
|
var lastVersionCheckAt = 0;
|
|
13868
13868
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13869
13869
|
var lastResponsivenessProbeAt = 0;
|
|
13870
|
-
var agtCliVersion = true ? "0.28.
|
|
13870
|
+
var agtCliVersion = true ? "0.28.969" : "dev";
|
|
13871
13871
|
function resolveBrewPath(execFileSync2) {
|
|
13872
13872
|
try {
|
|
13873
13873
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15469,7 +15469,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15469
15469
|
if (codeNames.length === 0) return;
|
|
15470
15470
|
void (async () => {
|
|
15471
15471
|
try {
|
|
15472
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15472
|
+
const { collectDiagnostics } = await import("../persistent-session-4J6SFXBI.js");
|
|
15473
15473
|
await api.post("/host/heartbeat", {
|
|
15474
15474
|
host_id: hostId,
|
|
15475
15475
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15611,7 +15611,7 @@ async function pollCycleInner() {
|
|
|
15611
15611
|
}
|
|
15612
15612
|
try {
|
|
15613
15613
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15614
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15614
|
+
const { collectDiagnostics } = await import("../persistent-session-4J6SFXBI.js");
|
|
15615
15615
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15616
15616
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15617
15617
|
let tailscaleHostname;
|
|
@@ -15787,7 +15787,7 @@ async function pollCycleInner() {
|
|
|
15787
15787
|
collectPanelessActivityProbes,
|
|
15788
15788
|
getResponsivenessIntervalMs,
|
|
15789
15789
|
occupancyQualificationClassifications
|
|
15790
|
-
} = await import("../responsiveness-probe-
|
|
15790
|
+
} = await import("../responsiveness-probe-GX6HLUES.js");
|
|
15791
15791
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15792
15792
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15793
15793
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15904,7 +15904,7 @@ async function pollCycleInner() {
|
|
|
15904
15904
|
collectResponsivenessProbes,
|
|
15905
15905
|
livePendingInboundOldestAgeSeconds,
|
|
15906
15906
|
parkPendingInbound
|
|
15907
|
-
} = await import("../responsiveness-probe-
|
|
15907
|
+
} = await import("../responsiveness-probe-GX6HLUES.js");
|
|
15908
15908
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15909
15909
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15910
15910
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -16060,7 +16060,7 @@ async function pollCycleInner() {
|
|
|
16060
16060
|
}
|
|
16061
16061
|
try {
|
|
16062
16062
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
16063
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
16063
|
+
const { probeSessionAuth } = await import("../session-auth-dead-EPI2A6RF.js");
|
|
16064
16064
|
const observations = [];
|
|
16065
16065
|
const pendingCacheCommits = [];
|
|
16066
16066
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -20336,7 +20336,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20336
20336
|
try {
|
|
20337
20337
|
const freshId = rotateSessionForWedge(codeName);
|
|
20338
20338
|
consecutiveWedgeCycles.delete(codeName);
|
|
20339
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
20339
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-GX6HLUES.js");
|
|
20340
20340
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
20341
20341
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
20342
20342
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -20379,7 +20379,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20379
20379
|
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}`));
|
|
20380
20380
|
void (async () => {
|
|
20381
20381
|
try {
|
|
20382
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20382
|
+
const { collectDiagnostics } = await import("../persistent-session-4J6SFXBI.js");
|
|
20383
20383
|
await api.post("/host/heartbeat", {
|
|
20384
20384
|
host_id: hostId,
|
|
20385
20385
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20430,7 +20430,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
20430
20430
|
}
|
|
20431
20431
|
try {
|
|
20432
20432
|
const hostId = await getHostId();
|
|
20433
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20433
|
+
const { collectDiagnostics } = await import("../persistent-session-4J6SFXBI.js");
|
|
20434
20434
|
await api.post("/host/heartbeat", {
|
|
20435
20435
|
host_id: hostId,
|
|
20436
20436
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -21072,7 +21072,7 @@ async function processClaudePairSessions(agents) {
|
|
|
21072
21072
|
killPairSession,
|
|
21073
21073
|
pairTmuxSession,
|
|
21074
21074
|
finalizeClaudePairOnboarding
|
|
21075
|
-
} = await import("../claude-pair-runtime-
|
|
21075
|
+
} = await import("../claude-pair-runtime-YBFVBB6G.js");
|
|
21076
21076
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
21077
21077
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
21078
21078
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -37354,6 +37354,21 @@ var FLAG_REGISTRY = [
|
|
|
37354
37354
|
// safety control — mutations require explicit confirmation.
|
|
37355
37355
|
sensitive: true
|
|
37356
37356
|
},
|
|
37357
|
+
{
|
|
37358
|
+
key: "hitl-batch-approval",
|
|
37359
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
37360
|
+
flagType: "boolean",
|
|
37361
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
37362
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
37363
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
37364
|
+
defaultValue: false,
|
|
37365
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
37366
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
37367
|
+
sensitive: true
|
|
37368
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
37369
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
37370
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
37371
|
+
},
|
|
37357
37372
|
{
|
|
37358
37373
|
key: "hitl-approval-routing",
|
|
37359
37374
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
package/dist/mcp/index.js
CHANGED
|
@@ -29657,6 +29657,21 @@ var FLAG_REGISTRY = [
|
|
|
29657
29657
|
// safety control — mutations require explicit confirmation.
|
|
29658
29658
|
sensitive: true
|
|
29659
29659
|
},
|
|
29660
|
+
{
|
|
29661
|
+
key: "hitl-batch-approval",
|
|
29662
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
29663
|
+
flagType: "boolean",
|
|
29664
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
29665
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
29666
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
29667
|
+
defaultValue: false,
|
|
29668
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
29669
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
29670
|
+
sensitive: true
|
|
29671
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
29672
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
29673
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
29674
|
+
},
|
|
29660
29675
|
{
|
|
29661
29676
|
key: "hitl-approval-routing",
|
|
29662
29677
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -43605,6 +43605,21 @@ var FLAG_REGISTRY = [
|
|
|
43605
43605
|
// safety control — mutations require explicit confirmation.
|
|
43606
43606
|
sensitive: true
|
|
43607
43607
|
},
|
|
43608
|
+
{
|
|
43609
|
+
key: "hitl-batch-approval",
|
|
43610
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
43611
|
+
flagType: "boolean",
|
|
43612
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
43613
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
43614
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
43615
|
+
defaultValue: false,
|
|
43616
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
43617
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
43618
|
+
sensitive: true
|
|
43619
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
43620
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
43621
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
43622
|
+
},
|
|
43608
43623
|
{
|
|
43609
43624
|
key: "hitl-approval-routing",
|
|
43610
43625
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
|
@@ -38244,6 +38244,21 @@ var FLAG_REGISTRY = [
|
|
|
38244
38244
|
// safety control — mutations require explicit confirmation.
|
|
38245
38245
|
sensitive: true
|
|
38246
38246
|
},
|
|
38247
|
+
{
|
|
38248
|
+
key: "hitl-batch-approval",
|
|
38249
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
38250
|
+
flagType: "boolean",
|
|
38251
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
38252
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
38253
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
38254
|
+
defaultValue: false,
|
|
38255
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
38256
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
38257
|
+
sensitive: true
|
|
38258
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
38259
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
38260
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
38261
|
+
},
|
|
38247
38262
|
{
|
|
38248
38263
|
key: "hitl-approval-routing",
|
|
38249
38264
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
|
@@ -38258,6 +38258,21 @@ var FLAG_REGISTRY = [
|
|
|
38258
38258
|
// safety control — mutations require explicit confirmation.
|
|
38259
38259
|
sensitive: true
|
|
38260
38260
|
},
|
|
38261
|
+
{
|
|
38262
|
+
key: "hitl-batch-approval",
|
|
38263
|
+
description: "ADR-0104: may an agent in this org ask for approval of a BATCH \u2014 one exact list of up to 1,000 destructive calls on a single card \u2014 instead of one card per call? The incident behind it needed ~700 calendar deletes and produced ~700 cards, which is a queue nobody reads and therefore a gate nobody applies. This flag is only half the gate, and the other half is deliberate: a tool must ALSO declare a `batch` block in the catalog (its reconciliation rule and pacing), so arming an org can never batch a tool whose semantics nobody reviewed. With the flag on and no tool opted in, every batch request is refused \u2014 which is the state this ships in. It does not lower any tier: a batched `write_destructive` call still routes to a human, and above 20 items that human must open the full list before approving. What the flag changes is how many actions ONE decision can cover. Evaluated per-org. Ships dark.",
|
|
38264
|
+
flagType: "boolean",
|
|
38265
|
+
// Off is the safe value in both directions. An org that never opted in cannot have an agent
|
|
38266
|
+
// request a batch, and a flag-read failure degrades to "not opted in" rather than to a
|
|
38267
|
+
// capability nobody asked for — an infrastructure blip is not an opt-in.
|
|
38268
|
+
defaultValue: false,
|
|
38269
|
+
// Turning it on lets one human tap authorise up to 1,000 irreversible calls, so it is a
|
|
38270
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
38271
|
+
sensitive: true
|
|
38272
|
+
// NO newOrgOverride. Nothing has run in production yet; arming every new org on deploy
|
|
38273
|
+
// would put a first-of-its-kind approval shape in front of real customers with nothing
|
|
38274
|
+
// observed. Arm one org, watch a batch drain, then revisit.
|
|
38275
|
+
},
|
|
38261
38276
|
{
|
|
38262
38277
|
key: "hitl-approval-routing",
|
|
38263
38278
|
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
writeDirectChatSessionState,
|
|
63
63
|
writeEgressAllowlist,
|
|
64
64
|
writePersistentClaudeWrapper
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-O2Q4HY6I.js";
|
|
66
|
+
import "./chunk-NOY2C63C.js";
|
|
67
67
|
import "./chunk-DHWNVVX4.js";
|
|
68
68
|
import "./chunk-XWVM4KPK.js";
|
|
69
69
|
export {
|
|
@@ -131,4 +131,4 @@ export {
|
|
|
131
131
|
writeEgressAllowlist,
|
|
132
132
|
writePersistentClaudeWrapper
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=persistent-session-
|
|
134
|
+
//# sourceMappingURL=persistent-session-4J6SFXBI.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-O2Q4HY6I.js";
|
|
4
|
+
import "./chunk-NOY2C63C.js";
|
|
5
5
|
import "./chunk-DHWNVVX4.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
7
7
|
|
|
@@ -800,4 +800,4 @@ export {
|
|
|
800
800
|
readAndResetSlackReplyBindingClassifications,
|
|
801
801
|
readAndResetSlackReplyTargetClassifications
|
|
802
802
|
};
|
|
803
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
803
|
+
//# sourceMappingURL=responsiveness-probe-GX6HLUES.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NOY2C63C.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-EPI2A6RF.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|