@integrity-labs/agt-cli 0.28.1217 → 0.28.1219
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-G4TOCXOT.js → chunk-F5R622EX.js} +3 -3
- package/dist/{chunk-IGNZSNKB.js → chunk-HAQXH2J4.js} +2 -2
- package/dist/{chunk-4EY3CUZB.js → chunk-MJXBNSJY.js} +1 -1
- package/dist/chunk-MJXBNSJY.js.map +1 -0
- package/dist/{chunk-WIWPIZFN.js → chunk-QGMGROLF.js} +32 -17
- package/dist/{chunk-WIWPIZFN.js.map → chunk-QGMGROLF.js.map} +1 -1
- package/dist/{chunk-DYEJT36T.js → chunk-QI5C2VCI.js} +2 -2
- package/dist/{claude-code-updater-WJIPTVFL.js → claude-code-updater-XZTIAQQ3.js} +3 -3
- package/dist/{claude-pair-runtime-P3EO7NO3.js → claude-pair-runtime-N7TZVTF7.js} +3 -3
- package/dist/lib/manager-worker.js +120 -27
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +324 -3
- package/dist/{persistent-session-3QL5YBCS.js → persistent-session-NQMAJQF2.js} +4 -4
- package/dist/{responsiveness-probe-BCVBNGYY.js → responsiveness-probe-JGMZCQCI.js} +4 -4
- package/dist/{session-auth-dead-YJH56AWH.js → session-auth-dead-DPMMX7QL.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4EY3CUZB.js.map +0 -1
- /package/dist/{chunk-G4TOCXOT.js.map → chunk-F5R622EX.js.map} +0 -0
- /package/dist/{chunk-IGNZSNKB.js.map → chunk-HAQXH2J4.js.map} +0 -0
- /package/dist/{chunk-DYEJT36T.js.map → chunk-QI5C2VCI.js.map} +0 -0
- /package/dist/{claude-code-updater-WJIPTVFL.js.map → claude-code-updater-XZTIAQQ3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-P3EO7NO3.js.map → claude-pair-runtime-N7TZVTF7.js.map} +0 -0
- /package/dist/{persistent-session-3QL5YBCS.js.map → persistent-session-NQMAJQF2.js.map} +0 -0
- /package/dist/{responsiveness-probe-BCVBNGYY.js.map → responsiveness-probe-JGMZCQCI.js.map} +0 -0
- /package/dist/{session-auth-dead-YJH56AWH.js.map → session-auth-dead-DPMMX7QL.js.map} +0 -0
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
parseEnvFileEntries,
|
|
17
17
|
parseEnvIntegrations,
|
|
18
18
|
shellQuote
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-F5R622EX.js";
|
|
20
20
|
import {
|
|
21
21
|
readDailySessionPin,
|
|
22
22
|
sessionTranscriptDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HAQXH2J4.js";
|
|
24
24
|
import {
|
|
25
25
|
classifyUnanswerablePane,
|
|
26
26
|
isConsumerTermsDialogVisible,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
scanConfigForLiteralSecrets,
|
|
94
94
|
worseConnectivityOutcome,
|
|
95
95
|
wrapScheduledTaskPrompt
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-MJXBNSJY.js";
|
|
97
97
|
import {
|
|
98
98
|
claudeJsonPathFor,
|
|
99
99
|
effectiveClaudeJsonPath,
|
|
@@ -6517,8 +6517,8 @@ ${sections}`
|
|
|
6517
6517
|
const agentDir = getAgentDir(codeName);
|
|
6518
6518
|
const regFile = join5(agentDir, "registration.json");
|
|
6519
6519
|
if (existsSync4(regFile)) {
|
|
6520
|
-
const { unlinkSync:
|
|
6521
|
-
|
|
6520
|
+
const { unlinkSync: unlinkSync6 } = await import("fs");
|
|
6521
|
+
unlinkSync6(regFile);
|
|
6522
6522
|
}
|
|
6523
6523
|
return true;
|
|
6524
6524
|
} catch {
|
|
@@ -8084,7 +8084,7 @@ function exchangeFailureKind(err) {
|
|
|
8084
8084
|
}
|
|
8085
8085
|
|
|
8086
8086
|
// src/lib/api-client.ts
|
|
8087
|
-
var agtCliVersion = true ? "0.28.
|
|
8087
|
+
var agtCliVersion = true ? "0.28.1219" : "dev";
|
|
8088
8088
|
var lastConfigHash = null;
|
|
8089
8089
|
function setConfigHash(hash) {
|
|
8090
8090
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8426,9 +8426,9 @@ async function getHostId() {
|
|
|
8426
8426
|
}
|
|
8427
8427
|
|
|
8428
8428
|
// src/lib/atomic-write.ts
|
|
8429
|
-
import { closeSync, fsyncSync, openSync, writeSync, renameSync as renameSync5, mkdirSync as mkdirSync6 } from "fs";
|
|
8429
|
+
import { closeSync, fchmodSync, fchownSync, fsyncSync, openSync, writeSync, renameSync as renameSync5, mkdirSync as mkdirSync6, unlinkSync as unlinkSync4 } from "fs";
|
|
8430
8430
|
import { dirname as dirname4 } from "path";
|
|
8431
|
-
function atomicWriteFileSync(path, data) {
|
|
8431
|
+
function atomicWriteFileSync(path, data, own) {
|
|
8432
8432
|
const dirPath = dirname4(path);
|
|
8433
8433
|
const tmpPath = `${path}.tmp.${process.pid}.${Math.random().toString(36).slice(2, 8)}`;
|
|
8434
8434
|
try {
|
|
@@ -8437,15 +8437,30 @@ function atomicWriteFileSync(path, data) {
|
|
|
8437
8437
|
}
|
|
8438
8438
|
const fd = openSync(tmpPath, "w", 420);
|
|
8439
8439
|
try {
|
|
8440
|
-
writeSync(fd, data);
|
|
8441
8440
|
try {
|
|
8442
|
-
|
|
8441
|
+
writeSync(fd, data);
|
|
8442
|
+
if (own?.mode !== void 0) fchmodSync(fd, own.mode);
|
|
8443
|
+
if (own?.uid !== void 0 && own.gid !== void 0) {
|
|
8444
|
+
try {
|
|
8445
|
+
fchownSync(fd, own.uid, own.gid);
|
|
8446
|
+
} catch {
|
|
8447
|
+
}
|
|
8448
|
+
}
|
|
8449
|
+
try {
|
|
8450
|
+
fsyncSync(fd);
|
|
8451
|
+
} catch {
|
|
8452
|
+
}
|
|
8453
|
+
} finally {
|
|
8454
|
+
closeSync(fd);
|
|
8455
|
+
}
|
|
8456
|
+
renameSync5(tmpPath, path);
|
|
8457
|
+
} catch (err) {
|
|
8458
|
+
try {
|
|
8459
|
+
unlinkSync4(tmpPath);
|
|
8443
8460
|
} catch {
|
|
8444
8461
|
}
|
|
8445
|
-
|
|
8446
|
-
closeSync(fd);
|
|
8462
|
+
throw err;
|
|
8447
8463
|
}
|
|
8448
|
-
renameSync5(tmpPath, path);
|
|
8449
8464
|
try {
|
|
8450
8465
|
const dirFd = openSync(dirPath, "r");
|
|
8451
8466
|
try {
|
|
@@ -12499,7 +12514,7 @@ function table(headers, rows) {
|
|
|
12499
12514
|
}
|
|
12500
12515
|
|
|
12501
12516
|
// src/lib/watchdog.ts
|
|
12502
|
-
import { readFileSync as readFileSync11, writeFileSync as writeFileSync7, unlinkSync as
|
|
12517
|
+
import { readFileSync as readFileSync11, writeFileSync as writeFileSync7, unlinkSync as unlinkSync5, existsSync as existsSync9, mkdirSync as mkdirSync7, openSync as openSync2, closeSync as closeSync2, chmodSync as chmodSync5 } from "fs";
|
|
12503
12518
|
import { join as join11 } from "path";
|
|
12504
12519
|
import { spawn as spawn3, execFileSync as execFileSync3 } from "child_process";
|
|
12505
12520
|
var DEFAULT_CONFIG_DIR = join11(process.env["HOME"] ?? "/tmp", ".augmented");
|
|
@@ -12530,7 +12545,7 @@ function readPidFile(configDir) {
|
|
|
12530
12545
|
}
|
|
12531
12546
|
function removePidFile(configDir) {
|
|
12532
12547
|
try {
|
|
12533
|
-
|
|
12548
|
+
unlinkSync5(getManagerPaths(configDir).pidFile);
|
|
12534
12549
|
} catch {
|
|
12535
12550
|
}
|
|
12536
12551
|
}
|
|
@@ -12575,7 +12590,7 @@ function readStateFile(configDir) {
|
|
|
12575
12590
|
}
|
|
12576
12591
|
function removeStateFile(configDir) {
|
|
12577
12592
|
try {
|
|
12578
|
-
|
|
12593
|
+
unlinkSync5(getManagerPaths(configDir).stateFile);
|
|
12579
12594
|
} catch {
|
|
12580
12595
|
}
|
|
12581
12596
|
}
|
|
@@ -13709,4 +13724,4 @@ export {
|
|
|
13709
13724
|
managerInstallSystemUnitCommand,
|
|
13710
13725
|
managerUninstallSystemUnitCommand
|
|
13711
13726
|
};
|
|
13712
|
-
//# sourceMappingURL=chunk-
|
|
13727
|
+
//# sourceMappingURL=chunk-QGMGROLF.js.map
|