@integrity-labs/agt-cli 0.28.278 → 0.28.280
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-A7YRADAE.js → chunk-7USLYY43.js} +1 -1
- package/dist/{chunk-6EL5OZZL.js → chunk-JGM444JK.js} +3 -3
- package/dist/{claude-pair-runtime-TWOY4CSQ.js → claude-pair-runtime-EXW6NBLU.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/augmented-support.js +7 -1
- package/dist/mcp/index.js +10 -2
- package/dist/{persistent-session-7VXSBY2O.js → persistent-session-SZ4TUGED.js} +2 -2
- package/dist/{responsiveness-probe-MDPN2ZDT.js → responsiveness-probe-MKFZAUV5.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-A7YRADAE.js.map → chunk-7USLYY43.js.map} +0 -0
- /package/dist/{chunk-6EL5OZZL.js.map → chunk-JGM444JK.js.map} +0 -0
- /package/dist/{claude-pair-runtime-TWOY4CSQ.js.map → claude-pair-runtime-EXW6NBLU.js.map} +0 -0
- /package/dist/{persistent-session-7VXSBY2O.js.map → persistent-session-SZ4TUGED.js.map} +0 -0
- /package/dist/{responsiveness-probe-MDPN2ZDT.js.map → responsiveness-probe-MKFZAUV5.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
table,
|
|
40
40
|
warn
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-JGM444JK.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
renderTemplate,
|
|
68
68
|
resolveChannels,
|
|
69
69
|
serializeManifestForSlackCli
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-7USLYY43.js";
|
|
71
71
|
import "../chunk-XWVM4KPK.js";
|
|
72
72
|
|
|
73
73
|
// src/bin/agt.ts
|
|
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4826
4826
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4827
4827
|
import chalk18 from "chalk";
|
|
4828
4828
|
import ora16 from "ora";
|
|
4829
|
-
var cliVersion = true ? "0.28.
|
|
4829
|
+
var cliVersion = true ? "0.28.280" : "dev";
|
|
4830
4830
|
async function fetchLatestVersion() {
|
|
4831
4831
|
const host2 = getHost();
|
|
4832
4832
|
if (!host2) return null;
|
|
@@ -5840,7 +5840,7 @@ function handleError(err) {
|
|
|
5840
5840
|
}
|
|
5841
5841
|
|
|
5842
5842
|
// src/bin/agt.ts
|
|
5843
|
-
var cliVersion2 = true ? "0.28.
|
|
5843
|
+
var cliVersion2 = true ? "0.28.280" : "dev";
|
|
5844
5844
|
var program = new Command();
|
|
5845
5845
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
5846
5846
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resolveConnectivityProbe,
|
|
19
19
|
worseConnectivityOutcome,
|
|
20
20
|
wrapScheduledTaskPrompt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7USLYY43.js";
|
|
22
22
|
import {
|
|
23
23
|
parsePsRows
|
|
24
24
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5882,7 +5882,7 @@ function requireHost() {
|
|
|
5882
5882
|
}
|
|
5883
5883
|
|
|
5884
5884
|
// src/lib/api-client.ts
|
|
5885
|
-
var agtCliVersion = true ? "0.28.
|
|
5885
|
+
var agtCliVersion = true ? "0.28.280" : "dev";
|
|
5886
5886
|
var lastConfigHash = null;
|
|
5887
5887
|
function setConfigHash(hash) {
|
|
5888
5888
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8162,4 +8162,4 @@ export {
|
|
|
8162
8162
|
managerInstallSystemUnitCommand,
|
|
8163
8163
|
managerUninstallSystemUnitCommand
|
|
8164
8164
|
};
|
|
8165
|
-
//# sourceMappingURL=chunk-
|
|
8165
|
+
//# sourceMappingURL=chunk-JGM444JK.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-SZ4TUGED.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-EXW6NBLU.js.map
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
requireHost,
|
|
39
39
|
safeWriteJsonAtomic,
|
|
40
40
|
setConfigHash
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-JGM444JK.js";
|
|
42
42
|
import {
|
|
43
43
|
getProjectDir as getProjectDir2,
|
|
44
44
|
getReadyTasks,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
takeZombieDetection,
|
|
126
126
|
transcriptActivityAgeSeconds,
|
|
127
127
|
writeEgressAllowlist
|
|
128
|
-
} from "../chunk-
|
|
128
|
+
} from "../chunk-7USLYY43.js";
|
|
129
129
|
import {
|
|
130
130
|
reapOrphanChannelMcps
|
|
131
131
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -6827,7 +6827,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6827
6827
|
var lastVersionCheckAt = 0;
|
|
6828
6828
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6829
6829
|
var lastResponsivenessProbeAt = 0;
|
|
6830
|
-
var agtCliVersion = true ? "0.28.
|
|
6830
|
+
var agtCliVersion = true ? "0.28.280" : "dev";
|
|
6831
6831
|
function resolveBrewPath(execFileSync2) {
|
|
6832
6832
|
try {
|
|
6833
6833
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7677,7 +7677,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
7677
7677
|
if (codeNames.length === 0) return;
|
|
7678
7678
|
void (async () => {
|
|
7679
7679
|
try {
|
|
7680
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7680
|
+
const { collectDiagnostics } = await import("../persistent-session-SZ4TUGED.js");
|
|
7681
7681
|
await api.post("/host/heartbeat", {
|
|
7682
7682
|
host_id: hostId,
|
|
7683
7683
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -7775,7 +7775,7 @@ async function pollCycle() {
|
|
|
7775
7775
|
}
|
|
7776
7776
|
try {
|
|
7777
7777
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
7778
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7778
|
+
const { collectDiagnostics } = await import("../persistent-session-SZ4TUGED.js");
|
|
7779
7779
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
7780
7780
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
7781
7781
|
let tailscaleHostname;
|
|
@@ -7923,7 +7923,7 @@ async function pollCycle() {
|
|
|
7923
7923
|
const {
|
|
7924
7924
|
collectResponsivenessProbes,
|
|
7925
7925
|
getResponsivenessIntervalMs
|
|
7926
|
-
} = await import("../responsiveness-probe-
|
|
7926
|
+
} = await import("../responsiveness-probe-MKFZAUV5.js");
|
|
7927
7927
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
7928
7928
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
7929
7929
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -7955,7 +7955,7 @@ async function pollCycle() {
|
|
|
7955
7955
|
collectResponsivenessProbes,
|
|
7956
7956
|
livePendingInboundOldestAgeSeconds,
|
|
7957
7957
|
parkPendingInbound
|
|
7958
|
-
} = await import("../responsiveness-probe-
|
|
7958
|
+
} = await import("../responsiveness-probe-MKFZAUV5.js");
|
|
7959
7959
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
7960
7960
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
7961
7961
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -10845,7 +10845,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
10845
10845
|
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}`));
|
|
10846
10846
|
void (async () => {
|
|
10847
10847
|
try {
|
|
10848
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10848
|
+
const { collectDiagnostics } = await import("../persistent-session-SZ4TUGED.js");
|
|
10849
10849
|
await api.post("/host/heartbeat", {
|
|
10850
10850
|
host_id: hostId,
|
|
10851
10851
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -10895,7 +10895,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
10895
10895
|
}
|
|
10896
10896
|
try {
|
|
10897
10897
|
const hostId = await getHostId();
|
|
10898
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10898
|
+
const { collectDiagnostics } = await import("../persistent-session-SZ4TUGED.js");
|
|
10899
10899
|
await api.post("/host/heartbeat", {
|
|
10900
10900
|
host_id: hostId,
|
|
10901
10901
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -11299,7 +11299,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11299
11299
|
killPairSession,
|
|
11300
11300
|
pairTmuxSession,
|
|
11301
11301
|
finalizeClaudePairOnboarding
|
|
11302
|
-
} = await import("../claude-pair-runtime-
|
|
11302
|
+
} = await import("../claude-pair-runtime-EXW6NBLU.js");
|
|
11303
11303
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11304
11304
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11305
11305
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -21171,7 +21171,13 @@ var listSchema = external_exports.object({
|
|
|
21171
21171
|
var fileRequestSchema = external_exports.object({
|
|
21172
21172
|
title: external_exports.string().min(1).describe("Short summary of the bug or request."),
|
|
21173
21173
|
description: external_exports.string().min(1).describe("Full detail: what happened / what is wanted, and any reproduction steps."),
|
|
21174
|
-
provider: external_exports.string().optional().describe('Optional provider/service name when asking for a new integration (e.g. "notion").')
|
|
21174
|
+
provider: external_exports.string().optional().describe('Optional provider/service name when asking for a new integration (e.g. "notion").'),
|
|
21175
|
+
requester_email: external_exports.string().email().max(320).optional().describe(
|
|
21176
|
+
"The email of the person this request is for, so Augmented Team can email them when it's resolved. Only include an email they gave you and agreed to be contacted at - do NOT guess one."
|
|
21177
|
+
),
|
|
21178
|
+
requester_user_id: external_exports.string().uuid().optional().describe(
|
|
21179
|
+
"Optional Augmented Team user id (UUID) of the requester, used to look up their email for the resolved-notification when you have an id but not an address."
|
|
21180
|
+
)
|
|
21175
21181
|
});
|
|
21176
21182
|
var searchKbSchema = external_exports.object({
|
|
21177
21183
|
query: external_exports.string().trim().min(1).describe('What to look up in the knowledge base (e.g. "agent keeps restarting", "connect Slack").'),
|
package/dist/mcp/index.js
CHANGED
|
@@ -22223,7 +22223,7 @@ server.tool(
|
|
|
22223
22223
|
);
|
|
22224
22224
|
server.tool(
|
|
22225
22225
|
"request_feature",
|
|
22226
|
-
'Send a feature request to Augmented Team support \u2014 most often to ask for a NEW third-party integration that is not in your toolkit yet (set feature_type="integration" and put the service name in provider). Also accepts general product feedback (other feature_type values). Use this when a user needs a capability you do not have and that you cannot configure yourself. Do not use it for things you can already do or set up.',
|
|
22226
|
+
'Send a feature request to Augmented Team support \u2014 most often to ask for a NEW third-party integration that is not in your toolkit yet (set feature_type="integration" and put the service name in provider). Also accepts general product feedback (other feature_type values). Use this when a user needs a capability you do not have and that you cannot configure yourself. Do not use it for things you can already do or set up. If the request came from a specific end user, you can pass their requester_email (only with their consent) so Augmented Team can email them directly when it is resolved.',
|
|
22227
22227
|
{
|
|
22228
22228
|
feature_type: external_exports.enum(FEATURE_REQUEST_TYPES).describe(
|
|
22229
22229
|
'What kind of request this is. Use "integration" to ask for a new third-party integration/toolkit; otherwise: tool, channel, capability, bug, or other.'
|
|
@@ -22234,6 +22234,12 @@ server.tool(
|
|
|
22234
22234
|
),
|
|
22235
22235
|
provider: external_exports.string().max(120).optional().describe(
|
|
22236
22236
|
'For feature_type="integration": the name of the service/provider requested (e.g. "Notion", "QuickBooks"). Omit for other types.'
|
|
22237
|
+
),
|
|
22238
|
+
requester_email: external_exports.string().email().max(320).optional().describe(
|
|
22239
|
+
"The email address of the end user who asked for this, so Augmented Team can email them when it is resolved. Only include an email the user has given you and agreed to be contacted at - do NOT guess or invent one. Omit if you don't have their consent or an address."
|
|
22240
|
+
),
|
|
22241
|
+
requester_user_id: external_exports.string().uuid().optional().describe(
|
|
22242
|
+
"Optional Augmented Team user id (UUID) of the requester, used to look up their email for the resolved-notification when you have an id but not an address. Omit unless you know the actual Augmented user id."
|
|
22237
22243
|
)
|
|
22238
22244
|
},
|
|
22239
22245
|
async (params) => {
|
|
@@ -22250,7 +22256,9 @@ server.tool(
|
|
|
22250
22256
|
feature_type: params.feature_type,
|
|
22251
22257
|
title: params.title,
|
|
22252
22258
|
description: params.description,
|
|
22253
|
-
...params.provider ? { provider: params.provider } : {}
|
|
22259
|
+
...params.provider ? { provider: params.provider } : {},
|
|
22260
|
+
...params.requester_email ? { requester_email: params.requester_email } : {},
|
|
22261
|
+
...params.requester_user_id ? { requester_user_id: params.requester_user_id } : {}
|
|
22254
22262
|
});
|
|
22255
22263
|
} catch (err) {
|
|
22256
22264
|
return {
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
writeDirectChatSessionState,
|
|
37
37
|
writeEgressAllowlist,
|
|
38
38
|
writePersistentClaudeWrapper
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7USLYY43.js";
|
|
40
40
|
import "./chunk-XWVM4KPK.js";
|
|
41
41
|
export {
|
|
42
42
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
writeEgressAllowlist,
|
|
78
78
|
writePersistentClaudeWrapper
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=persistent-session-
|
|
80
|
+
//# sourceMappingURL=persistent-session-SZ4TUGED.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7USLYY43.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -418,4 +418,4 @@ export {
|
|
|
418
418
|
readAndResetSlackReplyBindingClassifications,
|
|
419
419
|
readAndResetSlackReplyTargetClassifications
|
|
420
420
|
};
|
|
421
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
421
|
+
//# sourceMappingURL=responsiveness-probe-MKFZAUV5.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|