@integrity-labs/agt-cli 0.28.140 → 0.28.141
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-WI6HYZ7K.js → chunk-HKKV7NJD.js} +1 -1
- package/dist/{chunk-WI6HYZ7K.js.map → chunk-HKKV7NJD.js.map} +1 -1
- package/dist/{chunk-3R2XOKXQ.js → chunk-T436PVUP.js} +3 -3
- package/dist/{chunk-6GNDRA3F.js → chunk-UVCPJVEF.js} +2 -2
- package/dist/{claude-pair-runtime-CSTESL6B.js → claude-pair-runtime-SBATMO4Y.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/mcp/index.js +27 -0
- package/dist/{persistent-session-BRGQGGZY.js → persistent-session-N4KR5IFC.js} +3 -3
- package/dist/{responsiveness-probe-RZYQMCM3.js → responsiveness-probe-MYFNFOB7.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-3R2XOKXQ.js.map → chunk-T436PVUP.js.map} +0 -0
- /package/dist/{chunk-6GNDRA3F.js.map → chunk-UVCPJVEF.js.map} +0 -0
- /package/dist/{claude-pair-runtime-CSTESL6B.js.map → claude-pair-runtime-SBATMO4Y.js.map} +0 -0
- /package/dist/{persistent-session-BRGQGGZY.js.map → persistent-session-N4KR5IFC.js.map} +0 -0
- /package/dist/{responsiveness-probe-RZYQMCM3.js.map → responsiveness-probe-MYFNFOB7.js.map} +0 -0
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveConnectivityProbe,
|
|
23
23
|
worseConnectivityOutcome,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HKKV7NJD.js";
|
|
26
26
|
|
|
27
27
|
// ../../packages/core/dist/integrations/registry.js
|
|
28
28
|
var INTEGRATION_REGISTRY = [
|
|
@@ -7746,7 +7746,7 @@ function requireHost() {
|
|
|
7746
7746
|
}
|
|
7747
7747
|
|
|
7748
7748
|
// src/lib/api-client.ts
|
|
7749
|
-
var agtCliVersion = true ? "0.28.
|
|
7749
|
+
var agtCliVersion = true ? "0.28.141" : "dev";
|
|
7750
7750
|
var lastConfigHash = null;
|
|
7751
7751
|
function setConfigHash(hash) {
|
|
7752
7752
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9043,4 +9043,4 @@ export {
|
|
|
9043
9043
|
managerInstallSystemUnitCommand,
|
|
9044
9044
|
managerUninstallSystemUnitCommand
|
|
9045
9045
|
};
|
|
9046
|
-
//# sourceMappingURL=chunk-
|
|
9046
|
+
//# sourceMappingURL=chunk-T436PVUP.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMissingVar,
|
|
4
4
|
isClaudeFastMode,
|
|
5
5
|
probeMcpEnvSubstitution
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HKKV7NJD.js";
|
|
7
7
|
import {
|
|
8
8
|
reapOrphanChannelMcps
|
|
9
9
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1589,4 +1589,4 @@ export {
|
|
|
1589
1589
|
stopAllSessionsAndWait,
|
|
1590
1590
|
getProjectDir
|
|
1591
1591
|
};
|
|
1592
|
-
//# sourceMappingURL=chunk-
|
|
1592
|
+
//# sourceMappingURL=chunk-UVCPJVEF.js.map
|
|
@@ -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-N4KR5IFC.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-SBATMO4Y.js.map
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requireHost,
|
|
29
29
|
safeWriteJsonAtomic,
|
|
30
30
|
setConfigHash
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-T436PVUP.js";
|
|
32
32
|
import {
|
|
33
33
|
getProjectDir as getProjectDir2,
|
|
34
34
|
getReadyTasks,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
takeZombieDetection,
|
|
73
73
|
transcriptActivityAgeSeconds,
|
|
74
74
|
writeEgressAllowlist
|
|
75
|
-
} from "../chunk-
|
|
75
|
+
} from "../chunk-UVCPJVEF.js";
|
|
76
76
|
import {
|
|
77
77
|
FLAGS_SCHEMA_VERSION,
|
|
78
78
|
FLAG_REGISTRY,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
resolveDmTarget,
|
|
111
111
|
sumTranscriptUsageInWindow,
|
|
112
112
|
wrapScheduledTaskPrompt
|
|
113
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-HKKV7NJD.js";
|
|
114
114
|
import {
|
|
115
115
|
parsePsRows,
|
|
116
116
|
reapOrphanChannelMcps
|
|
@@ -7092,7 +7092,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
7092
7092
|
var lastVersionCheckAt = 0;
|
|
7093
7093
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
7094
7094
|
var lastResponsivenessProbeAt = 0;
|
|
7095
|
-
var agtCliVersion = true ? "0.28.
|
|
7095
|
+
var agtCliVersion = true ? "0.28.141" : "dev";
|
|
7096
7096
|
function resolveBrewPath(execFileSync4) {
|
|
7097
7097
|
try {
|
|
7098
7098
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -8225,7 +8225,7 @@ async function pollCycle() {
|
|
|
8225
8225
|
}
|
|
8226
8226
|
try {
|
|
8227
8227
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
8228
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
8228
|
+
const { collectDiagnostics } = await import("../persistent-session-N4KR5IFC.js");
|
|
8229
8229
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
8230
8230
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
8231
8231
|
let tailscaleHostname;
|
|
@@ -8373,7 +8373,7 @@ async function pollCycle() {
|
|
|
8373
8373
|
const {
|
|
8374
8374
|
collectResponsivenessProbes,
|
|
8375
8375
|
getResponsivenessIntervalMs
|
|
8376
|
-
} = await import("../responsiveness-probe-
|
|
8376
|
+
} = await import("../responsiveness-probe-MYFNFOB7.js");
|
|
8377
8377
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
8378
8378
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
8379
8379
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8405,7 +8405,7 @@ async function pollCycle() {
|
|
|
8405
8405
|
collectResponsivenessProbes,
|
|
8406
8406
|
livePendingInboundOldestAgeSeconds,
|
|
8407
8407
|
parkPendingInbound
|
|
8408
|
-
} = await import("../responsiveness-probe-
|
|
8408
|
+
} = await import("../responsiveness-probe-MYFNFOB7.js");
|
|
8409
8409
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
8410
8410
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
8411
8411
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -11993,7 +11993,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11993
11993
|
killPairSession,
|
|
11994
11994
|
pairTmuxSession,
|
|
11995
11995
|
finalizeClaudePairOnboarding
|
|
11996
|
-
} = await import("../claude-pair-runtime-
|
|
11996
|
+
} = await import("../claude-pair-runtime-SBATMO4Y.js");
|
|
11997
11997
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11998
11998
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11999
11999
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
package/dist/mcp/index.js
CHANGED
|
@@ -23058,6 +23058,7 @@ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
|
23058
23058
|
"artefacts_get",
|
|
23059
23059
|
"artefacts_get_source_chunk",
|
|
23060
23060
|
"artefacts_download",
|
|
23061
|
+
"artefacts_resolve",
|
|
23061
23062
|
// ADR-0017 Projects container (the reclaimed projects_* namespace). Read tools
|
|
23062
23063
|
// shipped in v1; ENG-6769 adds agent-initiated create + post-creation tagging
|
|
23063
23064
|
// of artefacts/tasks to a project. No projects_get_source_chunk — a project is
|
|
@@ -23285,6 +23286,32 @@ server.tool(
|
|
|
23285
23286
|
content: [{ type: "text", text: await downloadArtefactText(params) }]
|
|
23286
23287
|
})
|
|
23287
23288
|
);
|
|
23289
|
+
async function resolveArtefactText(url) {
|
|
23290
|
+
const data = await apiPost("/host/artefact/resolve", {
|
|
23291
|
+
agent_id: AGT_AGENT_ID,
|
|
23292
|
+
url
|
|
23293
|
+
});
|
|
23294
|
+
const a = data.artefact;
|
|
23295
|
+
return [
|
|
23296
|
+
`Resolved to artefact ${a.id}`,
|
|
23297
|
+
`Slug: ${a.publisher_resource_id}`,
|
|
23298
|
+
a.title ? `Title: ${a.title}` : null,
|
|
23299
|
+
`Kind: ${a.kind} [${a.status}]`,
|
|
23300
|
+
a.project_id ? `Project: ${a.project_id}` : null,
|
|
23301
|
+
a.live_url ? `URL: ${a.live_url}` : null,
|
|
23302
|
+
"Use this id with artefacts_get, artefacts_download, or artefacts_assign_project."
|
|
23303
|
+
].filter((s) => s !== null).join("\n");
|
|
23304
|
+
}
|
|
23305
|
+
server.tool(
|
|
23306
|
+
"artefacts_resolve",
|
|
23307
|
+
"Resolve an Augmented Live URL (e.g. https://live.augmented.team/<slug>) or a bare slug to the internal artefact id, so you can act on a link someone shared. Returns the id plus title, kind, status, and project. Only resolves your own published artefacts.",
|
|
23308
|
+
{
|
|
23309
|
+
url: external_exports.string().min(1).describe("An Augmented Live URL or the bare slug from one (the last path segment)")
|
|
23310
|
+
},
|
|
23311
|
+
async (params) => ({
|
|
23312
|
+
content: [{ type: "text", text: await resolveArtefactText(params.url) }]
|
|
23313
|
+
})
|
|
23314
|
+
);
|
|
23288
23315
|
async function listProjectsText(params) {
|
|
23289
23316
|
const data = await apiPost("/host/my-projects", {
|
|
23290
23317
|
agent_id: AGT_AGENT_ID,
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
writeDirectChatSessionState,
|
|
35
35
|
writeEgressAllowlist,
|
|
36
36
|
writePersistentClaudeWrapper
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-UVCPJVEF.js";
|
|
38
|
+
import "./chunk-HKKV7NJD.js";
|
|
39
39
|
import "./chunk-XWVM4KPK.js";
|
|
40
40
|
export {
|
|
41
41
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
writeEgressAllowlist,
|
|
75
75
|
writePersistentClaudeWrapper
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=persistent-session-
|
|
77
|
+
//# sourceMappingURL=persistent-session-N4KR5IFC.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-UVCPJVEF.js";
|
|
4
|
+
import "./chunk-HKKV7NJD.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -304,4 +304,4 @@ export {
|
|
|
304
304
|
readAndResetChannelDeflections,
|
|
305
305
|
readAndResetChannelLaneClassifications
|
|
306
306
|
};
|
|
307
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
307
|
+
//# sourceMappingURL=responsiveness-probe-MYFNFOB7.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|