@integrity-labs/agt-cli 0.28.1271 → 0.28.1272
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/{api-client-QQQVVBVV.js → api-client-NKQCPDDZ.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-GYXG7TDM.js → chunk-5J56SF6P.js} +2 -2
- package/dist/{chunk-KOIQP6O7.js → chunk-AIDGMBY5.js} +3 -3
- package/dist/{chunk-53EZZXH7.js → chunk-H2CESPPE.js} +2 -2
- package/dist/{chunk-YLKRTJLF.js → chunk-N6NICNIH.js} +5 -5
- package/dist/{chunk-L52PEFTL.js → chunk-QLNKB2E3.js} +3 -3
- package/dist/chunk-QLNKB2E3.js.map +1 -0
- package/dist/{chunk-BRAGHYEI.js → chunk-QOH2AE5I.js} +19 -14
- package/dist/chunk-QOH2AE5I.js.map +1 -0
- package/dist/{claude-code-updater-RGOXKW5P.js → claude-code-updater-NWNHKBJE.js} +3 -3
- package/dist/{claude-pair-runtime-AMSKEBCU.js → claude-pair-runtime-EMBJDR4W.js} +3 -3
- package/dist/lib/manager-worker.js +21 -21
- package/dist/mcp/direct-chat-channel.js +4 -1
- package/dist/mcp/index.js +11 -4
- package/dist/mcp/origami.js +4 -1
- package/dist/mcp/slack-channel.js +4 -1
- package/dist/mcp/telegram-channel.js +4 -1
- package/dist/{persistent-session-UONCY6TG.js → persistent-session-7VJJ4AD7.js} +4 -4
- package/dist/{responsiveness-probe-NWKSHBG6.js → responsiveness-probe-XGTPNCKO.js} +4 -4
- package/dist/{session-auth-dead-ELTKKKEH.js → session-auth-dead-4CCOVCU3.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-BRAGHYEI.js.map +0 -1
- package/dist/chunk-L52PEFTL.js.map +0 -1
- /package/dist/{api-client-QQQVVBVV.js.map → api-client-NKQCPDDZ.js.map} +0 -0
- /package/dist/{chunk-GYXG7TDM.js.map → chunk-5J56SF6P.js.map} +0 -0
- /package/dist/{chunk-KOIQP6O7.js.map → chunk-AIDGMBY5.js.map} +0 -0
- /package/dist/{chunk-53EZZXH7.js.map → chunk-H2CESPPE.js.map} +0 -0
- /package/dist/{chunk-YLKRTJLF.js.map → chunk-N6NICNIH.js.map} +0 -0
- /package/dist/{claude-code-updater-RGOXKW5P.js.map → claude-code-updater-NWNHKBJE.js.map} +0 -0
- /package/dist/{claude-pair-runtime-AMSKEBCU.js.map → claude-pair-runtime-EMBJDR4W.js.map} +0 -0
- /package/dist/{persistent-session-UONCY6TG.js.map → persistent-session-7VJJ4AD7.js.map} +0 -0
- /package/dist/{responsiveness-probe-NWKSHBG6.js.map → responsiveness-probe-XGTPNCKO.js.map} +0 -0
- /package/dist/{session-auth-dead-ELTKKKEH.js.map → session-auth-dead-4CCOVCU3.js.map} +0 -0
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5J56SF6P.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-QOH2AE5I.js";
|
|
19
19
|
import "./chunk-AIUIMEUS.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
readsAsNativeInstall,
|
|
35
35
|
shouldRunClaudeCodeUpdater
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=claude-code-updater-
|
|
37
|
+
//# sourceMappingURL=claude-code-updater-NWNHKBJE.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
redactPaneFrame,
|
|
12
12
|
sanitizeTerminalFrame
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QOH2AE5I.js";
|
|
14
14
|
import {
|
|
15
15
|
CLAUDE_CONFIG_DIR_ENV,
|
|
16
16
|
claudeConfigDirFor,
|
|
@@ -323,7 +323,7 @@ async function spawnPairSession(session) {
|
|
|
323
323
|
return { ok: true };
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
326
|
+
const { resolveClaudeBinary } = await import("./persistent-session-7VJJ4AD7.js");
|
|
327
327
|
const claudeBin = resolveClaudeBinary();
|
|
328
328
|
const pairEnv = {
|
|
329
329
|
...process.env,
|
|
@@ -838,4 +838,4 @@ export {
|
|
|
838
838
|
startClaudePair,
|
|
839
839
|
submitClaudePairCode
|
|
840
840
|
};
|
|
841
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
841
|
+
//# sourceMappingURL=claude-pair-runtime-EMBJDR4W.js.map
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
tripClass,
|
|
71
71
|
writeEtcEnvironment,
|
|
72
72
|
writeProfileDScript
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-N6NICNIH.js";
|
|
74
74
|
import {
|
|
75
75
|
ApiError,
|
|
76
76
|
adoptHostKeyInProcess,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
probeHostKey,
|
|
89
89
|
requireHost,
|
|
90
90
|
setConfigHash
|
|
91
|
-
} from "../chunk-
|
|
91
|
+
} from "../chunk-AIDGMBY5.js";
|
|
92
92
|
import {
|
|
93
93
|
BLOCKED_ON_PROMPT_DECISION,
|
|
94
94
|
CHANNEL_SECRET_ENV_KEYS,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
webFetchBaselineValue,
|
|
179
179
|
webFetchRestartNeeded,
|
|
180
180
|
writeEgressAllowlist
|
|
181
|
-
} from "../chunk-
|
|
181
|
+
} from "../chunk-QLNKB2E3.js";
|
|
182
182
|
import {
|
|
183
183
|
isAgentIdle,
|
|
184
184
|
isStaleForToday,
|
|
@@ -189,7 +189,7 @@ import {
|
|
|
189
189
|
subagentActivityAgeSeconds,
|
|
190
190
|
subagentTranscriptDir,
|
|
191
191
|
transcriptActivityAgeSeconds
|
|
192
|
-
} from "../chunk-
|
|
192
|
+
} from "../chunk-H2CESPPE.js";
|
|
193
193
|
import {
|
|
194
194
|
classifyUnanswerablePane,
|
|
195
195
|
focusedConfirmDialogBlock,
|
|
@@ -215,7 +215,7 @@ import {
|
|
|
215
215
|
runSafeCleanup,
|
|
216
216
|
tightestDiskStat,
|
|
217
217
|
withPackageCacheLock
|
|
218
|
-
} from "../chunk-
|
|
218
|
+
} from "../chunk-5J56SF6P.js";
|
|
219
219
|
import {
|
|
220
220
|
parsePsRows,
|
|
221
221
|
reapOrphanChannelMcps
|
|
@@ -344,7 +344,7 @@ import {
|
|
|
344
344
|
stabiliseResetInstant,
|
|
345
345
|
sumTranscriptUsageInWindow,
|
|
346
346
|
summarizeTranscriptActivity
|
|
347
|
-
} from "../chunk-
|
|
347
|
+
} from "../chunk-QOH2AE5I.js";
|
|
348
348
|
import {
|
|
349
349
|
CLAUDE_CONFIG_DIR_ENV,
|
|
350
350
|
claudeConfigDirFor,
|
|
@@ -14846,7 +14846,7 @@ function createFileMigrationReportIO(codeName, log2) {
|
|
|
14846
14846
|
};
|
|
14847
14847
|
}
|
|
14848
14848
|
var managerHostPost = async (path, body) => {
|
|
14849
|
-
const { api: api2, ApiError: ApiError3 } = await import("../api-client-
|
|
14849
|
+
const { api: api2, ApiError: ApiError3 } = await import("../api-client-NKQCPDDZ.js");
|
|
14850
14850
|
try {
|
|
14851
14851
|
const json = await api2.post(path, body);
|
|
14852
14852
|
return { status: 200, json };
|
|
@@ -16894,7 +16894,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
16894
16894
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
16895
16895
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
16896
16896
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
16897
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
16897
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-XGTPNCKO.js");
|
|
16898
16898
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
16899
16899
|
if (newest === null) return null;
|
|
16900
16900
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -17775,7 +17775,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
17775
17775
|
var lastVersionCheckAt = 0;
|
|
17776
17776
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
17777
17777
|
var lastResponsivenessProbeAt = 0;
|
|
17778
|
-
var agtCliVersion = true ? "0.28.
|
|
17778
|
+
var agtCliVersion = true ? "0.28.1272" : "dev";
|
|
17779
17779
|
function resolveBrewPath(execFileSync4) {
|
|
17780
17780
|
try {
|
|
17781
17781
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -19784,7 +19784,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
19784
19784
|
if (codeNames.length === 0) return;
|
|
19785
19785
|
void (async () => {
|
|
19786
19786
|
try {
|
|
19787
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19787
|
+
const { collectDiagnostics } = await import("../persistent-session-7VJJ4AD7.js");
|
|
19788
19788
|
await api.post("/host/heartbeat", {
|
|
19789
19789
|
host_id: hostId,
|
|
19790
19790
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -19927,7 +19927,7 @@ async function pollCycleInner() {
|
|
|
19927
19927
|
}
|
|
19928
19928
|
try {
|
|
19929
19929
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
19930
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19930
|
+
const { collectDiagnostics } = await import("../persistent-session-7VJJ4AD7.js");
|
|
19931
19931
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
19932
19932
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
|
|
19933
19933
|
let tailscaleHostname;
|
|
@@ -20198,7 +20198,7 @@ async function pollCycleInner() {
|
|
|
20198
20198
|
}
|
|
20199
20199
|
try {
|
|
20200
20200
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
20201
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
20201
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-NWNHKBJE.js");
|
|
20202
20202
|
const securityFloor = currentSecurityFloor();
|
|
20203
20203
|
claudeUpdaterInFlight = true;
|
|
20204
20204
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
@@ -20233,7 +20233,7 @@ async function pollCycleInner() {
|
|
|
20233
20233
|
collectPanelessActivityProbes,
|
|
20234
20234
|
getResponsivenessIntervalMs,
|
|
20235
20235
|
occupancyQualificationClassifications
|
|
20236
|
-
} = await import("../responsiveness-probe-
|
|
20236
|
+
} = await import("../responsiveness-probe-XGTPNCKO.js");
|
|
20237
20237
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
20238
20238
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
20239
20239
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -20350,7 +20350,7 @@ async function pollCycleInner() {
|
|
|
20350
20350
|
collectResponsivenessProbes,
|
|
20351
20351
|
livePendingInboundOldestAgeSeconds,
|
|
20352
20352
|
parkPendingInbound
|
|
20353
|
-
} = await import("../responsiveness-probe-
|
|
20353
|
+
} = await import("../responsiveness-probe-XGTPNCKO.js");
|
|
20354
20354
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
|
|
20355
20355
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
20356
20356
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -20636,7 +20636,7 @@ async function pollCycleInner() {
|
|
|
20636
20636
|
}
|
|
20637
20637
|
}
|
|
20638
20638
|
);
|
|
20639
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
20639
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-XGTPNCKO.js");
|
|
20640
20640
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
20641
20641
|
paneFatalStreak.delete(codeName);
|
|
20642
20642
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -20667,7 +20667,7 @@ async function pollCycleInner() {
|
|
|
20667
20667
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
20668
20668
|
bindSourceEscalations
|
|
20669
20669
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
20670
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
20670
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-7VJJ4AD7.js");
|
|
20671
20671
|
const mountConfig = resolveTranscriptMountConfig();
|
|
20672
20672
|
const liveAgents = agentState.persistentSessionAgents;
|
|
20673
20673
|
for (const tracked of [
|
|
@@ -20832,7 +20832,7 @@ async function pollCycleInner() {
|
|
|
20832
20832
|
}
|
|
20833
20833
|
try {
|
|
20834
20834
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
20835
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
20835
|
+
const { probeSessionAuth } = await import("../session-auth-dead-4CCOVCU3.js");
|
|
20836
20836
|
const observations = [];
|
|
20837
20837
|
const pendingCacheCommits = [];
|
|
20838
20838
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -25883,7 +25883,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
25883
25883
|
if (!refreshData) return;
|
|
25884
25884
|
const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
|
|
25885
25885
|
const hostId = await getHostId();
|
|
25886
|
-
const parkForRestart = await import("../responsiveness-probe-
|
|
25886
|
+
const parkForRestart = await import("../responsiveness-probe-XGTPNCKO.js").then(
|
|
25887
25887
|
(m) => m.parkPendingInbound,
|
|
25888
25888
|
(err) => err
|
|
25889
25889
|
);
|
|
@@ -25960,7 +25960,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
25960
25960
|
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}`));
|
|
25961
25961
|
void (async () => {
|
|
25962
25962
|
try {
|
|
25963
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
25963
|
+
const { collectDiagnostics } = await import("../persistent-session-7VJJ4AD7.js");
|
|
25964
25964
|
await api.post("/host/heartbeat", {
|
|
25965
25965
|
host_id: hostId,
|
|
25966
25966
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -26013,7 +26013,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
26013
26013
|
}
|
|
26014
26014
|
try {
|
|
26015
26015
|
const hostId = await getHostId();
|
|
26016
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
26016
|
+
const { collectDiagnostics } = await import("../persistent-session-7VJJ4AD7.js");
|
|
26017
26017
|
await api.post("/host/heartbeat", {
|
|
26018
26018
|
host_id: hostId,
|
|
26019
26019
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -26740,7 +26740,7 @@ async function processClaudePairSessions(agents) {
|
|
|
26740
26740
|
snapshotPairConfig,
|
|
26741
26741
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
26742
26742
|
planPairStartReport
|
|
26743
|
-
} = await import("../claude-pair-runtime-
|
|
26743
|
+
} = await import("../claude-pair-runtime-EMBJDR4W.js");
|
|
26744
26744
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
26745
26745
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
26746
26746
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
@@ -43096,6 +43096,9 @@ var NOTICE_KIND_AUDIENCE = {
|
|
|
43096
43096
|
// "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
|
|
43097
43097
|
// uuid and all.
|
|
43098
43098
|
approval_expired: "agent",
|
|
43099
|
+
// ENG-11774: the verdict on a request with no linked card to return. Second-person
|
|
43100
|
+
// instructions to the agent, carrying the request uuid.
|
|
43101
|
+
approval_decided: "agent",
|
|
43099
43102
|
// ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
|
|
43100
43103
|
// Second-person instructions to the agent ("Tell the user...", "do not
|
|
43101
43104
|
// republish"); the user learns the outcome from the agent, not this row.
|
|
@@ -45302,7 +45305,7 @@ var FLAG_REGISTRY = [
|
|
|
45302
45305
|
},
|
|
45303
45306
|
{
|
|
45304
45307
|
key: "pending-inbound-tiered-page",
|
|
45305
|
-
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (
|
|
45308
|
+
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (info: board only, never paged, ENG-12104) or 2 hours (critical, paged), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
|
|
45306
45309
|
flagType: "boolean",
|
|
45307
45310
|
defaultValue: true
|
|
45308
45311
|
},
|
package/dist/mcp/index.js
CHANGED
|
@@ -28924,6 +28924,9 @@ var NOTICE_KIND_AUDIENCE = {
|
|
|
28924
28924
|
// "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
|
|
28925
28925
|
// uuid and all.
|
|
28926
28926
|
approval_expired: "agent",
|
|
28927
|
+
// ENG-11774: the verdict on a request with no linked card to return. Second-person
|
|
28928
|
+
// instructions to the agent, carrying the request uuid.
|
|
28929
|
+
approval_decided: "agent",
|
|
28927
28930
|
// ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
|
|
28928
28931
|
// Second-person instructions to the agent ("Tell the user...", "do not
|
|
28929
28932
|
// republish"); the user learns the outcome from the agent, not this row.
|
|
@@ -30901,7 +30904,7 @@ var FLAG_REGISTRY = [
|
|
|
30901
30904
|
},
|
|
30902
30905
|
{
|
|
30903
30906
|
key: "pending-inbound-tiered-page",
|
|
30904
|
-
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (
|
|
30907
|
+
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (info: board only, never paged, ENG-12104) or 2 hours (critical, paged), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
|
|
30905
30908
|
flagType: "boolean",
|
|
30906
30909
|
defaultValue: true
|
|
30907
30910
|
},
|
|
@@ -50076,7 +50079,11 @@ function describeButtonsRequestResult(resp, channelId, optionCount) {
|
|
|
50076
50079
|
|
|
50077
50080
|
// src/approval-tools.ts
|
|
50078
50081
|
function describeKanbanLink(requestedCardId, resp) {
|
|
50079
|
-
if (!requestedCardId)
|
|
50082
|
+
if (!requestedCardId) {
|
|
50083
|
+
if (resp.duplicate) return "";
|
|
50084
|
+
if (resp.kanban_link?.reason !== "no_card_named") return "";
|
|
50085
|
+
return " No kanban card was linked, because you did not pass kanban_item_id: nothing was parked, and an in_progress card stays in_progress, so if you stop work its lease can expire and the stale-card sweep can return or dead-letter it. The verdict still reaches you as a direct-chat notice. If this ask belongs to one of your cards, withdraw it now with cancel_approval and file it again with kanban_item_id set to that card's id. Otherwise there is nothing more to do.";
|
|
50086
|
+
}
|
|
50080
50087
|
if (resp.duplicate) {
|
|
50081
50088
|
return ` The card link was not re-checked on this retry; confirm card ${requestedCardId} shows as waiting on the approval with kanban_get.`;
|
|
50082
50089
|
}
|
|
@@ -50138,7 +50145,7 @@ function registerApprovalTools(server2, deps) {
|
|
|
50138
50145
|
const { agentId, apiPost: apiPost2, apiGet: apiGet2 } = deps;
|
|
50139
50146
|
server2.tool(
|
|
50140
50147
|
"request_approval",
|
|
50141
|
-
"Ask a human (your Manager) to approve an action before you take it, then END YOUR TURN \u2014 this does NOT block your session. You get back a request_id;
|
|
50148
|
+
"Ask a human (your Manager) to approve an action before you take it, then END YOUR TURN \u2014 this does NOT block your session. You get back a request_id; a direct-chat notice or your returned card brings the verdict, and check_approval(request_id) reads it any time (it survives a restart: re-attach by the same id). If the ask belongs to one of your kanban cards, pass kanban_item_id. NOTIFY-ONLY: on approval the platform does nothing \u2014 YOU perform the action. Use for actions outside your standing authority where a person must sign off.",
|
|
50142
50149
|
{
|
|
50143
50150
|
summary: external_exports.string().min(1).max(280).describe('One line describing the action you want approved (shown to the approver). E.g. "Send the Q3 report to the external auditor".'),
|
|
50144
50151
|
reason: external_exports.string().min(1).max(280).describe("Why you need it / context for the approver. Keep it specific."),
|
|
@@ -50148,7 +50155,7 @@ function registerApprovalTools(server2, deps) {
|
|
|
50148
50155
|
),
|
|
50149
50156
|
ttl_seconds: external_exports.number().int().optional().describe("How long the request stays open before it times out, in seconds (default 14400 = 4 hours; clamped to [60, 86400]). Omit it to get the default; do not pass a shorter value unless the action genuinely goes stale sooner."),
|
|
50150
50157
|
kanban_item_id: external_exports.string().uuid().optional().describe(
|
|
50151
|
-
'The id of YOUR kanban card this approval is about. Pass it whenever the ask belongs to a card: the platform tries to park that card as waiting on this approval, so the approver can Approve/Deny from the card itself and the answer reaches this request. The result says whether the link happened (kanban_link); if it did not, the reason is given and the card is NOT waiting on the approval. Do NOT also park the card as a "human" wait with your own Approve/Deny choices; that creates a second ask the approval never hears, and the request expires.'
|
|
50158
|
+
'The id of YOUR kanban card this approval is about. Pass it whenever the ask belongs to a card: the platform tries to park that card as waiting on this approval, so the approver can Approve/Deny from the card itself and the answer reaches this request. Without it NO card is parked: the platform never guesses, even if you have only one card in progress, so that card stays in_progress while you wait. The result says whether the link happened (kanban_link); if it did not, the reason is given and the card is NOT waiting on the approval. Do NOT also park the card as a "human" wait with your own Approve/Deny choices; that creates a second ask the approval never hears, and the request expires.'
|
|
50152
50159
|
)
|
|
50153
50160
|
},
|
|
50154
50161
|
async (params) => {
|
package/dist/mcp/origami.js
CHANGED
|
@@ -42985,6 +42985,9 @@ var NOTICE_KIND_AUDIENCE = {
|
|
|
42985
42985
|
// "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
|
|
42986
42986
|
// uuid and all.
|
|
42987
42987
|
approval_expired: "agent",
|
|
42988
|
+
// ENG-11774: the verdict on a request with no linked card to return. Second-person
|
|
42989
|
+
// instructions to the agent, carrying the request uuid.
|
|
42990
|
+
approval_decided: "agent",
|
|
42988
42991
|
// ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
|
|
42989
42992
|
// Second-person instructions to the agent ("Tell the user...", "do not
|
|
42990
42993
|
// republish"); the user learns the outcome from the agent, not this row.
|
|
@@ -44703,7 +44706,7 @@ var FLAG_REGISTRY = [
|
|
|
44703
44706
|
},
|
|
44704
44707
|
{
|
|
44705
44708
|
key: "pending-inbound-tiered-page",
|
|
44706
|
-
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (
|
|
44709
|
+
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (info: board only, never paged, ENG-12104) or 2 hours (critical, paged), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
|
|
44707
44710
|
flagType: "boolean",
|
|
44708
44711
|
defaultValue: true
|
|
44709
44712
|
},
|
|
@@ -37427,6 +37427,9 @@ var NOTICE_KIND_AUDIENCE = {
|
|
|
37427
37427
|
// "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
|
|
37428
37428
|
// uuid and all.
|
|
37429
37429
|
approval_expired: "agent",
|
|
37430
|
+
// ENG-11774: the verdict on a request with no linked card to return. Second-person
|
|
37431
|
+
// instructions to the agent, carrying the request uuid.
|
|
37432
|
+
approval_decided: "agent",
|
|
37430
37433
|
// ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
|
|
37431
37434
|
// Second-person instructions to the agent ("Tell the user...", "do not
|
|
37432
37435
|
// republish"); the user learns the outcome from the agent, not this row.
|
|
@@ -39558,7 +39561,7 @@ var FLAG_REGISTRY = [
|
|
|
39558
39561
|
},
|
|
39559
39562
|
{
|
|
39560
39563
|
key: "pending-inbound-tiered-page",
|
|
39561
|
-
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (
|
|
39564
|
+
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (info: board only, never paged, ENG-12104) or 2 hours (critical, paged), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
|
|
39562
39565
|
flagType: "boolean",
|
|
39563
39566
|
defaultValue: true
|
|
39564
39567
|
},
|
|
@@ -37893,6 +37893,9 @@ var NOTICE_KIND_AUDIENCE = {
|
|
|
37893
37893
|
// "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
|
|
37894
37894
|
// uuid and all.
|
|
37895
37895
|
approval_expired: "agent",
|
|
37896
|
+
// ENG-11774: the verdict on a request with no linked card to return. Second-person
|
|
37897
|
+
// instructions to the agent, carrying the request uuid.
|
|
37898
|
+
approval_decided: "agent",
|
|
37896
37899
|
// ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
|
|
37897
37900
|
// Second-person instructions to the agent ("Tell the user...", "do not
|
|
37898
37901
|
// republish"); the user learns the outcome from the agent, not this row.
|
|
@@ -40024,7 +40027,7 @@ var FLAG_REGISTRY = [
|
|
|
40024
40027
|
},
|
|
40025
40028
|
{
|
|
40026
40029
|
key: "pending-inbound-tiered-page",
|
|
40027
|
-
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (
|
|
40030
|
+
description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (info: board only, never paged, ENG-12104) or 2 hours (critical, paged), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
|
|
40028
40031
|
flagType: "boolean",
|
|
40029
40032
|
defaultValue: true
|
|
40030
40033
|
},
|
|
@@ -81,12 +81,12 @@ import {
|
|
|
81
81
|
writeDirectChatSessionState,
|
|
82
82
|
writeEgressAllowlist,
|
|
83
83
|
writePersistentClaudeWrapper
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
84
|
+
} from "./chunk-QLNKB2E3.js";
|
|
85
|
+
import "./chunk-H2CESPPE.js";
|
|
86
86
|
import "./chunk-XL2HPM67.js";
|
|
87
87
|
import "./chunk-6HBXEJHO.js";
|
|
88
88
|
import "./chunk-XWVM4KPK.js";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-QOH2AE5I.js";
|
|
90
90
|
import "./chunk-AIUIMEUS.js";
|
|
91
91
|
import "./chunk-DGUM43GV.js";
|
|
92
92
|
export {
|
|
@@ -173,4 +173,4 @@ export {
|
|
|
173
173
|
writeEgressAllowlist,
|
|
174
174
|
writePersistentClaudeWrapper
|
|
175
175
|
};
|
|
176
|
-
//# sourceMappingURL=persistent-session-
|
|
176
|
+
//# sourceMappingURL=persistent-session-7VJJ4AD7.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QLNKB2E3.js";
|
|
4
|
+
import "./chunk-H2CESPPE.js";
|
|
5
5
|
import "./chunk-XL2HPM67.js";
|
|
6
6
|
import "./chunk-6HBXEJHO.js";
|
|
7
7
|
import "./chunk-XWVM4KPK.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-QOH2AE5I.js";
|
|
9
9
|
import "./chunk-AIUIMEUS.js";
|
|
10
10
|
import "./chunk-DGUM43GV.js";
|
|
11
11
|
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
readAndResetSlackReplyBindingClassifications,
|
|
805
805
|
readAndResetSlackReplyTargetClassifications
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
807
|
+
//# sourceMappingURL=responsiveness-probe-XGTPNCKO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-H2CESPPE.js";
|
|
4
|
+
import "./chunk-QOH2AE5I.js";
|
|
5
5
|
import "./chunk-DGUM43GV.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/session-auth-dead.ts
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
decideSessionAuthState,
|
|
206
206
|
probeSessionAuth
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=session-auth-dead-
|
|
208
|
+
//# sourceMappingURL=session-auth-dead-4CCOVCU3.js.map
|