@integrity-labs/agt-cli 0.28.1190 → 0.28.1191
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 +6 -6
- package/dist/{chunk-NVLV6XHL.js → chunk-5RDPFXWO.js} +5 -5
- package/dist/{chunk-KV6ZNGTG.js → chunk-7T4CZ2NS.js} +2 -2
- package/dist/{chunk-7GZKHF45.js → chunk-GRU6GNLP.js} +23 -2
- package/dist/chunk-GRU6GNLP.js.map +1 -0
- package/dist/{chunk-EFTLDAKN.js → chunk-L5BWZX3Z.js} +3 -3
- package/dist/{chunk-55M26Q4M.js → chunk-VS3QXUDM.js} +2 -2
- package/dist/{claude-code-updater-IU23JJZI.js → claude-code-updater-JPVLPWVR.js} +3 -3
- package/dist/{claude-pair-runtime-GMXVV5AJ.js → claude-pair-runtime-JXXYGKWS.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/{persistent-session-7PBVDLFI.js → persistent-session-NSA3UYRF.js} +4 -4
- package/dist/{responsiveness-probe-RSH4EMQP.js → responsiveness-probe-MWH3BKAL.js} +4 -4
- package/dist/{session-auth-dead-M2YABEQU.js → session-auth-dead-RYU7ZB56.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-7GZKHF45.js.map +0 -1
- /package/dist/{chunk-NVLV6XHL.js.map → chunk-5RDPFXWO.js.map} +0 -0
- /package/dist/{chunk-KV6ZNGTG.js.map → chunk-7T4CZ2NS.js.map} +0 -0
- /package/dist/{chunk-EFTLDAKN.js.map → chunk-L5BWZX3Z.js.map} +0 -0
- /package/dist/{chunk-55M26Q4M.js.map → chunk-VS3QXUDM.js.map} +0 -0
- /package/dist/{claude-code-updater-IU23JJZI.js.map → claude-code-updater-JPVLPWVR.js.map} +0 -0
- /package/dist/{claude-pair-runtime-GMXVV5AJ.js.map → claude-pair-runtime-JXXYGKWS.js.map} +0 -0
- /package/dist/{persistent-session-7PBVDLFI.js.map → persistent-session-NSA3UYRF.js.map} +0 -0
- /package/dist/{responsiveness-probe-RSH4EMQP.js.map → responsiveness-probe-MWH3BKAL.js.map} +0 -0
- /package/dist/{session-auth-dead-M2YABEQU.js.map → session-auth-dead-RYU7ZB56.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,17 +40,17 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-5RDPFXWO.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-L5BWZX3Z.js";
|
|
49
49
|
import {
|
|
50
50
|
markDailySessionSpawn,
|
|
51
51
|
sessionFileExists,
|
|
52
52
|
sessionTranscriptDir
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-7T4CZ2NS.js";
|
|
54
54
|
import "../chunk-OO36JBFI.js";
|
|
55
55
|
import "../chunk-6HBXEJHO.js";
|
|
56
56
|
import "../chunk-XWVM4KPK.js";
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
requiredMcpWildcard,
|
|
84
84
|
resolveChannels,
|
|
85
85
|
serializeManifestForSlackCli
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-GRU6GNLP.js";
|
|
87
87
|
import "../chunk-AIUIMEUS.js";
|
|
88
88
|
import "../chunk-DGUM43GV.js";
|
|
89
89
|
|
|
@@ -5200,7 +5200,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5200
5200
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
5201
5201
|
import chalk17 from "chalk";
|
|
5202
5202
|
import ora15 from "ora";
|
|
5203
|
-
var cliVersion = true ? "0.28.
|
|
5203
|
+
var cliVersion = true ? "0.28.1191" : "dev";
|
|
5204
5204
|
async function fetchLatestVersion() {
|
|
5205
5205
|
const host2 = getHost();
|
|
5206
5206
|
if (!host2) return null;
|
|
@@ -6460,7 +6460,7 @@ function handleError(err) {
|
|
|
6460
6460
|
}
|
|
6461
6461
|
|
|
6462
6462
|
// src/bin/agt.ts
|
|
6463
|
-
var cliVersion2 = true ? "0.28.
|
|
6463
|
+
var cliVersion2 = true ? "0.28.1191" : "dev";
|
|
6464
6464
|
var program = new Command();
|
|
6465
6465
|
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");
|
|
6466
6466
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
parseEnvFileEntries,
|
|
17
17
|
parseEnvIntegrations,
|
|
18
18
|
shellQuote
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-L5BWZX3Z.js";
|
|
20
20
|
import {
|
|
21
21
|
readDailySessionPin,
|
|
22
22
|
sessionTranscriptDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7T4CZ2NS.js";
|
|
24
24
|
import {
|
|
25
25
|
classifyUnanswerablePane,
|
|
26
26
|
isConsumerTermsDialogVisible,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
scanConfigForLiteralSecrets,
|
|
92
92
|
worseConnectivityOutcome,
|
|
93
93
|
wrapScheduledTaskPrompt
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-GRU6GNLP.js";
|
|
95
95
|
import {
|
|
96
96
|
claudeJsonPathFor,
|
|
97
97
|
effectiveClaudeJsonPath,
|
|
@@ -8079,7 +8079,7 @@ function exchangeFailureKind(err) {
|
|
|
8079
8079
|
}
|
|
8080
8080
|
|
|
8081
8081
|
// src/lib/api-client.ts
|
|
8082
|
-
var agtCliVersion = true ? "0.28.
|
|
8082
|
+
var agtCliVersion = true ? "0.28.1191" : "dev";
|
|
8083
8083
|
var lastConfigHash = null;
|
|
8084
8084
|
function setConfigHash(hash) {
|
|
8085
8085
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -13647,4 +13647,4 @@ export {
|
|
|
13647
13647
|
managerInstallSystemUnitCommand,
|
|
13648
13648
|
managerUninstallSystemUnitCommand
|
|
13649
13649
|
};
|
|
13650
|
-
//# sourceMappingURL=chunk-
|
|
13650
|
+
//# sourceMappingURL=chunk-5RDPFXWO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeClaudeProjectPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GRU6GNLP.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/daily-session.ts
|
|
6
6
|
import { randomUUID } from "crypto";
|
|
@@ -240,4 +240,4 @@ export {
|
|
|
240
240
|
peekPreviousSession,
|
|
241
241
|
readDailySessionPin
|
|
242
242
|
};
|
|
243
|
-
//# sourceMappingURL=chunk-
|
|
243
|
+
//# sourceMappingURL=chunk-7T4CZ2NS.js.map
|
|
@@ -1260,6 +1260,25 @@ var REQUIRE_APPROVAL_HOW = {
|
|
|
1260
1260
|
` \`check_approval\` says it is approved.`
|
|
1261
1261
|
]
|
|
1262
1262
|
};
|
|
1263
|
+
var REQUIRE_APPROVAL_DELETE_SCOPE = [
|
|
1264
|
+
` What \`delete\` covers: removing anything that cannot be recovered or is not only`,
|
|
1265
|
+
` yours.`,
|
|
1266
|
+
` - work that exists only in your directory: uncommitted changes, unpushed commits,`,
|
|
1267
|
+
` stashes, customer documents, memory files;`,
|
|
1268
|
+
` - anything shared or outside your own agent directory: remote branches, databases,`,
|
|
1269
|
+
` other agents' files, \`/tmp\`;`,
|
|
1270
|
+
` - anything customers or the platform can see.`,
|
|
1271
|
+
` It does not cover your own rebuildable files, which need no approval: package caches,`,
|
|
1272
|
+
` build output, and your own scratch files under your agent directory (never \`/tmp\`,`,
|
|
1273
|
+
` which other agents share). A git worktree or local branch joins that group only`,
|
|
1274
|
+
` when you have checked, against the remote as it is now and at the moment you remove`,
|
|
1275
|
+
` it, that its tree is clean with ignored files included, there are no stashes, nothing`,
|
|
1276
|
+
` is unpushed, and it is merged into, or fully on a branch that still exists on, the`,
|
|
1277
|
+
` remote, and that it is not your base clone, has no open pull request, and is not in`,
|
|
1278
|
+
` use by a task of yours that is still in progress or waiting (the`,
|
|
1279
|
+
` \`reclaim-stale-worktrees\` skill, where your org has it, walks through these).`,
|
|
1280
|
+
` If you cannot check, or are unsure which list something is on, treat it as a delete.`
|
|
1281
|
+
];
|
|
1263
1282
|
var REQUIRE_APPROVAL_EMAIL_DETAIL = [
|
|
1264
1283
|
` For an email, pass \`detail.email\` = { to, from, subject } so your manager sees who it`,
|
|
1265
1284
|
` goes to.`
|
|
@@ -1308,7 +1327,7 @@ function requireApprovalActions(config) {
|
|
|
1308
1327
|
const raw = config?.["actions"];
|
|
1309
1328
|
if (!Array.isArray(raw))
|
|
1310
1329
|
return null;
|
|
1311
|
-
const actions = raw.filter((a) => typeof a === "string" && a.trim() !== "").map((a) => a.trim());
|
|
1330
|
+
const actions = raw.filter((a) => typeof a === "string" && a.trim() !== "").map((a) => a.trim().toLowerCase());
|
|
1312
1331
|
return actions.length > 0 ? actions : null;
|
|
1313
1332
|
}
|
|
1314
1333
|
function requireApprovalHowLines(g, level, holds) {
|
|
@@ -1319,8 +1338,10 @@ function requireApprovalHowLines(g, level, holds) {
|
|
|
1319
1338
|
const namesOther = actions === null || actions.some((a) => a !== REQUIRE_APPROVAL_EMAIL_ACTION);
|
|
1320
1339
|
const asksAboutEmail = namesEmail && emailHold === null && domainHold === null;
|
|
1321
1340
|
const ask = namesOther || asksAboutEmail || namesEmail && domainHold !== null;
|
|
1341
|
+
const namesDelete = actions === null || actions.includes("delete");
|
|
1322
1342
|
return [
|
|
1323
1343
|
...ask ? REQUIRE_APPROVAL_HOW[level] : [],
|
|
1344
|
+
...namesDelete ? REQUIRE_APPROVAL_DELETE_SCOPE : [],
|
|
1324
1345
|
...asksAboutEmail ? REQUIRE_APPROVAL_EMAIL_DETAIL : [],
|
|
1325
1346
|
...namesEmail && emailHold !== null ? requireApprovalEmailException(emailHold) : [],
|
|
1326
1347
|
...namesEmail && domainHold !== null ? requireApprovalDomainHoldException(domainHold.covered) : []
|
|
@@ -17590,4 +17611,4 @@ export {
|
|
|
17590
17611
|
isForcedUpdatePastDeadline,
|
|
17591
17612
|
shouldMintReplacementKey
|
|
17592
17613
|
};
|
|
17593
|
-
//# sourceMappingURL=chunk-
|
|
17614
|
+
//# sourceMappingURL=chunk-GRU6GNLP.js.map
|