@integrity-labs/agt-cli 0.28.1082 → 0.28.1083
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-FLFTBRLE.js → chunk-44254DEU.js} +2 -2
- package/dist/{chunk-OHLUDXM5.js → chunk-BIR5WVM4.js} +4 -4
- package/dist/{chunk-Z67TJFO3.js → chunk-ELRALWJ7.js} +2 -2
- package/dist/{chunk-Z67TJFO3.js.map → chunk-ELRALWJ7.js.map} +1 -1
- package/dist/{claude-pair-runtime-YJCJQQNE.js → claude-pair-runtime-U6LVU5CI.js} +2 -2
- package/dist/lib/manager-worker.js +16 -16
- package/dist/mcp/direct-chat-channel.js +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/origami.js +1 -1
- package/dist/mcp/slack-channel.js +1 -1
- package/dist/mcp/telegram-channel.js +1 -1
- package/dist/{persistent-session-FMOFWGZX.js → persistent-session-UHSU52GZ.js} +3 -3
- package/dist/{responsiveness-probe-ZTKCVELK.js → responsiveness-probe-PKMKC2VS.js} +3 -3
- package/dist/{session-auth-dead-IYV2MKPS.js → session-auth-dead-KOZOXQOP.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-FLFTBRLE.js.map → chunk-44254DEU.js.map} +0 -0
- /package/dist/{chunk-OHLUDXM5.js.map → chunk-BIR5WVM4.js.map} +0 -0
- /package/dist/{claude-pair-runtime-YJCJQQNE.js.map → claude-pair-runtime-U6LVU5CI.js.map} +0 -0
- /package/dist/{persistent-session-FMOFWGZX.js.map → persistent-session-UHSU52GZ.js.map} +0 -0
- /package/dist/{responsiveness-probe-ZTKCVELK.js.map → responsiveness-probe-PKMKC2VS.js.map} +0 -0
- /package/dist/{session-auth-dead-IYV2MKPS.js.map → session-auth-dead-KOZOXQOP.js.map} +0 -0
|
@@ -266,7 +266,7 @@ async function spawnPairSession(session) {
|
|
|
266
266
|
return { ok: true };
|
|
267
267
|
} catch {
|
|
268
268
|
}
|
|
269
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
269
|
+
const { resolveClaudeBinary } = await import("./persistent-session-UHSU52GZ.js");
|
|
270
270
|
const claudeBin = resolveClaudeBinary();
|
|
271
271
|
const pairEnv = {
|
|
272
272
|
...process.env,
|
|
@@ -734,4 +734,4 @@ export {
|
|
|
734
734
|
startClaudePair,
|
|
735
735
|
submitClaudePairCode
|
|
736
736
|
};
|
|
737
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
737
|
+
//# sourceMappingURL=claude-pair-runtime-U6LVU5CI.js.map
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
safeWriteJsonAtomic,
|
|
68
68
|
setConfigHash,
|
|
69
69
|
tripClass
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-BIR5WVM4.js";
|
|
71
71
|
import {
|
|
72
72
|
getProjectDir as getProjectDir2,
|
|
73
73
|
getReadyTasks,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
webFetchBaselineValue,
|
|
155
155
|
webFetchRestartNeeded,
|
|
156
156
|
writeEgressAllowlist
|
|
157
|
-
} from "../chunk-
|
|
157
|
+
} from "../chunk-44254DEU.js";
|
|
158
158
|
import {
|
|
159
159
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
160
160
|
AnchorSessionClient,
|
|
@@ -263,7 +263,7 @@ import {
|
|
|
263
263
|
subagentActivityAgeSeconds,
|
|
264
264
|
sumTranscriptUsageInWindow,
|
|
265
265
|
transcriptActivityAgeSeconds
|
|
266
|
-
} from "../chunk-
|
|
266
|
+
} from "../chunk-ELRALWJ7.js";
|
|
267
267
|
import {
|
|
268
268
|
classifyUnanswerablePane,
|
|
269
269
|
paneRemedy
|
|
@@ -14141,7 +14141,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
14141
14141
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
14142
14142
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
14143
14143
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
14144
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
14144
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-PKMKC2VS.js");
|
|
14145
14145
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
14146
14146
|
if (newest === null) return null;
|
|
14147
14147
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -14899,7 +14899,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14899
14899
|
var lastVersionCheckAt = 0;
|
|
14900
14900
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14901
14901
|
var lastResponsivenessProbeAt = 0;
|
|
14902
|
-
var agtCliVersion = true ? "0.28.
|
|
14902
|
+
var agtCliVersion = true ? "0.28.1083" : "dev";
|
|
14903
14903
|
function resolveBrewPath(execFileSync3) {
|
|
14904
14904
|
try {
|
|
14905
14905
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -16516,7 +16516,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
16516
16516
|
if (codeNames.length === 0) return;
|
|
16517
16517
|
void (async () => {
|
|
16518
16518
|
try {
|
|
16519
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16519
|
+
const { collectDiagnostics } = await import("../persistent-session-UHSU52GZ.js");
|
|
16520
16520
|
await api.post("/host/heartbeat", {
|
|
16521
16521
|
host_id: hostId,
|
|
16522
16522
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -16658,7 +16658,7 @@ async function pollCycleInner() {
|
|
|
16658
16658
|
}
|
|
16659
16659
|
try {
|
|
16660
16660
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
16661
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16661
|
+
const { collectDiagnostics } = await import("../persistent-session-UHSU52GZ.js");
|
|
16662
16662
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
16663
16663
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
16664
16664
|
let tailscaleHostname;
|
|
@@ -16866,7 +16866,7 @@ async function pollCycleInner() {
|
|
|
16866
16866
|
collectPanelessActivityProbes,
|
|
16867
16867
|
getResponsivenessIntervalMs,
|
|
16868
16868
|
occupancyQualificationClassifications
|
|
16869
|
-
} = await import("../responsiveness-probe-
|
|
16869
|
+
} = await import("../responsiveness-probe-PKMKC2VS.js");
|
|
16870
16870
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
16871
16871
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
16872
16872
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -16983,7 +16983,7 @@ async function pollCycleInner() {
|
|
|
16983
16983
|
collectResponsivenessProbes,
|
|
16984
16984
|
livePendingInboundOldestAgeSeconds,
|
|
16985
16985
|
parkPendingInbound
|
|
16986
|
-
} = await import("../responsiveness-probe-
|
|
16986
|
+
} = await import("../responsiveness-probe-PKMKC2VS.js");
|
|
16987
16987
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
16988
16988
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
16989
16989
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -17269,7 +17269,7 @@ async function pollCycleInner() {
|
|
|
17269
17269
|
}
|
|
17270
17270
|
}
|
|
17271
17271
|
);
|
|
17272
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
17272
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-PKMKC2VS.js");
|
|
17273
17273
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
17274
17274
|
paneFatalStreak.delete(codeName);
|
|
17275
17275
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -17300,7 +17300,7 @@ async function pollCycleInner() {
|
|
|
17300
17300
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
17301
17301
|
bindSourceEscalations
|
|
17302
17302
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
17303
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
17303
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-UHSU52GZ.js");
|
|
17304
17304
|
const mountConfig = resolveTranscriptMountConfig();
|
|
17305
17305
|
const liveAgents = agentState.persistentSessionAgents;
|
|
17306
17306
|
for (const tracked of [
|
|
@@ -17465,7 +17465,7 @@ async function pollCycleInner() {
|
|
|
17465
17465
|
}
|
|
17466
17466
|
try {
|
|
17467
17467
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
17468
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
17468
|
+
const { probeSessionAuth } = await import("../session-auth-dead-KOZOXQOP.js");
|
|
17469
17469
|
const observations = [];
|
|
17470
17470
|
const pendingCacheCommits = [];
|
|
17471
17471
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -22030,7 +22030,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
22030
22030
|
try {
|
|
22031
22031
|
const freshId = rotateSessionForWedge(codeName);
|
|
22032
22032
|
consecutiveWedgeCycles.delete(codeName);
|
|
22033
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
22033
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-PKMKC2VS.js");
|
|
22034
22034
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
22035
22035
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
22036
22036
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -22073,7 +22073,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
22073
22073
|
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}`));
|
|
22074
22074
|
void (async () => {
|
|
22075
22075
|
try {
|
|
22076
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
22076
|
+
const { collectDiagnostics } = await import("../persistent-session-UHSU52GZ.js");
|
|
22077
22077
|
await api.post("/host/heartbeat", {
|
|
22078
22078
|
host_id: hostId,
|
|
22079
22079
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22124,7 +22124,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
22124
22124
|
}
|
|
22125
22125
|
try {
|
|
22126
22126
|
const hostId = await getHostId();
|
|
22127
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
22127
|
+
const { collectDiagnostics } = await import("../persistent-session-UHSU52GZ.js");
|
|
22128
22128
|
await api.post("/host/heartbeat", {
|
|
22129
22129
|
host_id: hostId,
|
|
22130
22130
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22796,7 +22796,7 @@ async function processClaudePairSessions(agents) {
|
|
|
22796
22796
|
// cannot take it for itself — by the time it runs, the write it is looking
|
|
22797
22797
|
// for may already have happened.
|
|
22798
22798
|
snapshotPairConfig
|
|
22799
|
-
} = await import("../claude-pair-runtime-
|
|
22799
|
+
} = await import("../claude-pair-runtime-U6LVU5CI.js");
|
|
22800
22800
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
22801
22801
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
22802
22802
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -38281,7 +38281,7 @@ var FLAG_REGISTRY = [
|
|
|
38281
38281
|
},
|
|
38282
38282
|
{
|
|
38283
38283
|
key: "ninja-lists",
|
|
38284
|
-
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-
|
|
38284
|
+
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-lists API, per org. Unlike its siblings `projects-menu` / `ninjafy-notes-menu`, this is the whole feature\'s gate, not only its menu entry: the surface is unlaunched, so an org with the flag off gets 404 from the API rather than a hidden link to a working one.',
|
|
38285
38285
|
flagType: "boolean",
|
|
38286
38286
|
// PUBLIC (ADR-0022 §2): the nav shells read it via usePublicBooleanFlag and
|
|
38287
38287
|
// the pages via getPublicBooleanFlagServer, so it is serialized to the
|
package/dist/mcp/index.js
CHANGED
|
@@ -30499,7 +30499,7 @@ var FLAG_REGISTRY = [
|
|
|
30499
30499
|
},
|
|
30500
30500
|
{
|
|
30501
30501
|
key: "ninja-lists",
|
|
30502
|
-
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-
|
|
30502
|
+
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-lists API, per org. Unlike its siblings `projects-menu` / `ninjafy-notes-menu`, this is the whole feature\'s gate, not only its menu entry: the surface is unlaunched, so an org with the flag off gets 404 from the API rather than a hidden link to a working one.',
|
|
30503
30503
|
flagType: "boolean",
|
|
30504
30504
|
// PUBLIC (ADR-0022 §2): the nav shells read it via usePublicBooleanFlag and
|
|
30505
30505
|
// the pages via getPublicBooleanFlagServer, so it is serialized to the
|
package/dist/mcp/origami.js
CHANGED
|
@@ -44422,7 +44422,7 @@ var FLAG_REGISTRY = [
|
|
|
44422
44422
|
},
|
|
44423
44423
|
{
|
|
44424
44424
|
key: "ninja-lists",
|
|
44425
|
-
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-
|
|
44425
|
+
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-lists API, per org. Unlike its siblings `projects-menu` / `ninjafy-notes-menu`, this is the whole feature\'s gate, not only its menu entry: the surface is unlaunched, so an org with the flag off gets 404 from the API rather than a hidden link to a working one.',
|
|
44426
44426
|
flagType: "boolean",
|
|
44427
44427
|
// PUBLIC (ADR-0022 §2): the nav shells read it via usePublicBooleanFlag and
|
|
44428
44428
|
// the pages via getPublicBooleanFlagServer, so it is serialized to the
|
|
@@ -39052,7 +39052,7 @@ var FLAG_REGISTRY = [
|
|
|
39052
39052
|
},
|
|
39053
39053
|
{
|
|
39054
39054
|
key: "ninja-lists",
|
|
39055
|
-
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-
|
|
39055
|
+
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-lists API, per org. Unlike its siblings `projects-menu` / `ninjafy-notes-menu`, this is the whole feature\'s gate, not only its menu entry: the surface is unlaunched, so an org with the flag off gets 404 from the API rather than a hidden link to a working one.',
|
|
39056
39056
|
flagType: "boolean",
|
|
39057
39057
|
// PUBLIC (ADR-0022 §2): the nav shells read it via usePublicBooleanFlag and
|
|
39058
39058
|
// the pages via getPublicBooleanFlagServer, so it is serialized to the
|
|
@@ -39158,7 +39158,7 @@ var FLAG_REGISTRY = [
|
|
|
39158
39158
|
},
|
|
39159
39159
|
{
|
|
39160
39160
|
key: "ninja-lists",
|
|
39161
|
-
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-
|
|
39161
|
+
description: 'Ninja Lists (ADR-0120): small tables agents and people fill and review together. Gates the "Lists" nav item, the /lists pages AND the /ninja-lists API, per org. Unlike its siblings `projects-menu` / `ninjafy-notes-menu`, this is the whole feature\'s gate, not only its menu entry: the surface is unlaunched, so an org with the flag off gets 404 from the API rather than a hidden link to a working one.',
|
|
39162
39162
|
flagType: "boolean",
|
|
39163
39163
|
// PUBLIC (ADR-0022 §2): the nav shells read it via usePublicBooleanFlag and
|
|
39164
39164
|
// the pages via getPublicBooleanFlagServer, so it is serialized to the
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
writeDirectChatSessionState,
|
|
69
69
|
writeEgressAllowlist,
|
|
70
70
|
writePersistentClaudeWrapper
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-44254DEU.js";
|
|
72
|
+
import "./chunk-ELRALWJ7.js";
|
|
73
73
|
import "./chunk-OCMJ5E6J.js";
|
|
74
74
|
import "./chunk-XWVM4KPK.js";
|
|
75
75
|
import "./chunk-EL5MWGGH.js";
|
|
@@ -145,4 +145,4 @@ export {
|
|
|
145
145
|
writeEgressAllowlist,
|
|
146
146
|
writePersistentClaudeWrapper
|
|
147
147
|
};
|
|
148
|
-
//# sourceMappingURL=persistent-session-
|
|
148
|
+
//# sourceMappingURL=persistent-session-UHSU52GZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-44254DEU.js";
|
|
4
|
+
import "./chunk-ELRALWJ7.js";
|
|
5
5
|
import "./chunk-OCMJ5E6J.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
7
7
|
import "./chunk-EL5MWGGH.js";
|
|
@@ -802,4 +802,4 @@ export {
|
|
|
802
802
|
readAndResetSlackReplyBindingClassifications,
|
|
803
803
|
readAndResetSlackReplyTargetClassifications
|
|
804
804
|
};
|
|
805
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
805
|
+
//# sourceMappingURL=responsiveness-probe-PKMKC2VS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ELRALWJ7.js";
|
|
4
4
|
import "./chunk-DGUM43GV.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/session-auth-dead.ts
|
|
@@ -204,4 +204,4 @@ export {
|
|
|
204
204
|
decideSessionAuthState,
|
|
205
205
|
probeSessionAuth
|
|
206
206
|
};
|
|
207
|
-
//# sourceMappingURL=session-auth-dead-
|
|
207
|
+
//# sourceMappingURL=session-auth-dead-KOZOXQOP.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|