@integrity-labs/agt-cli 0.28.846 → 0.28.848
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-FMA2UULO.js → chunk-MFU2FD4N.js} +19 -2
- package/dist/{chunk-FMA2UULO.js.map → chunk-MFU2FD4N.js.map} +1 -1
- package/dist/{chunk-37YAM7WC.js → chunk-N4TMATK2.js} +4 -4
- package/dist/{chunk-WDYMHXJP.js → chunk-PMQNTU7W.js} +2 -2
- package/dist/{claude-pair-runtime-VMDY3RD6.js → claude-pair-runtime-BQ5JUW5F.js} +2 -2
- package/dist/lib/manager-worker.js +197 -232
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-OWPX7UQX.js → persistent-session-JKES3FMW.js} +3 -3
- package/dist/{responsiveness-probe-ULCOBFNG.js → responsiveness-probe-P7EAWN6J.js} +3 -3
- package/dist/{session-auth-dead-AQBSFCQO.js → session-auth-dead-IFU2XLHO.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-37YAM7WC.js.map → chunk-N4TMATK2.js.map} +0 -0
- /package/dist/{chunk-WDYMHXJP.js.map → chunk-PMQNTU7W.js.map} +0 -0
- /package/dist/{claude-pair-runtime-VMDY3RD6.js.map → claude-pair-runtime-BQ5JUW5F.js.map} +0 -0
- /package/dist/{persistent-session-OWPX7UQX.js.map → persistent-session-JKES3FMW.js.map} +0 -0
- /package/dist/{responsiveness-probe-ULCOBFNG.js.map → responsiveness-probe-P7EAWN6J.js.map} +0 -0
- /package/dist/{session-auth-dead-AQBSFCQO.js.map → session-auth-dead-IFU2XLHO.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-N4TMATK2.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-PMQNTU7W.js";
|
|
49
49
|
import {
|
|
50
50
|
AnchorSessionClient,
|
|
51
51
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-MFU2FD4N.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.848" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6658,7 +6658,7 @@ function handleError(err) {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
|
|
6660
6660
|
// src/bin/agt.ts
|
|
6661
|
-
var cliVersion2 = true ? "0.28.
|
|
6661
|
+
var cliVersion2 = true ? "0.28.848" : "dev";
|
|
6662
6662
|
var program = new Command();
|
|
6663
6663
|
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");
|
|
6664
6664
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -11297,7 +11297,24 @@ async function probeBuffer(creds, fetchImpl) {
|
|
|
11297
11297
|
});
|
|
11298
11298
|
if (!res.ok) {
|
|
11299
11299
|
const rateLimited = isRateLimited(res);
|
|
11300
|
-
const message = res.status === 401 ?
|
|
11300
|
+
const message = res.status === 401 ? (
|
|
11301
|
+
// ENG-9809: name the mechanism, because the bare "expired or revoked" sent
|
|
11302
|
+
// two investigations at the wrong thing. Buffer API keys carry a MANDATORY
|
|
11303
|
+
// lifetime chosen at mint time — 7/30/60/90 days or 1 year, defaulting to
|
|
11304
|
+
// 30 days, with no "never expires" option
|
|
11305
|
+
// (support.buffer.com/article/984-how-to-create-your-buffer-api-key). So
|
|
11306
|
+
// every Buffer install on the fleet is on a countdown, and expiry is the
|
|
11307
|
+
// ordinary end of a key's life rather than a customer revoking one.
|
|
11308
|
+
//
|
|
11309
|
+
// All three causes are named, because this one branch answers every Buffer
|
|
11310
|
+
// 401 — a key that lapsed, one that was revoked, and one that was simply
|
|
11311
|
+
// mistyped ("Requests without a valid key will return a 401 Unauthorized",
|
|
11312
|
+
// developers.buffer.com/guides/authentication.html). The status code alone
|
|
11313
|
+
// cannot separate them, so naming expiry as the LIKELIER cause is supported;
|
|
11314
|
+
// asserting it is not, and a message that omitted "invalid" would send
|
|
11315
|
+
// someone who pasted the key wrong looking for an expiry date instead.
|
|
11316
|
+
"Buffer API key expired, invalid, or revoked \u2014 reconnect required. Buffer keys expire by design (30-day default, 1-year maximum), so on a key that was working until now expiry is the likeliest of the three; pick 1 year when minting the replacement."
|
|
11317
|
+
) : res.status === 429 || res.status === 403 && rateLimited ? rateLimitMessage("Buffer", res.status) : `Buffer API returned ${res.status}`;
|
|
11301
11318
|
return {
|
|
11302
11319
|
status: statusForHttp(res.status, { rateLimited }),
|
|
11303
11320
|
cause: causeForHttp(res.status, { rateLimited }),
|
|
@@ -13943,4 +13960,4 @@ export {
|
|
|
13943
13960
|
peekCurrentSession,
|
|
13944
13961
|
readDailySessionPin
|
|
13945
13962
|
};
|
|
13946
|
-
//# sourceMappingURL=chunk-
|
|
13963
|
+
//# sourceMappingURL=chunk-MFU2FD4N.js.map
|