@integrity-labs/agt-cli 0.28.1117 → 0.28.1119
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-VFOXL3K7.js → chunk-F3U2E4OL.js} +4 -4
- package/dist/{chunk-6WEBDE4W.js → chunk-PT2HBINO.js} +2 -2
- package/dist/{chunk-HXPYOFFT.js → chunk-XIMMVBIH.js} +12 -8
- package/dist/{chunk-HXPYOFFT.js.map → chunk-XIMMVBIH.js.map} +1 -1
- package/dist/{claude-pair-runtime-4DHOMQSA.js → claude-pair-runtime-R2BGQCXS.js} +2 -2
- package/dist/lib/manager-worker.js +16 -16
- package/dist/{persistent-session-MR3X4YKR.js → persistent-session-HSBVLK46.js} +3 -3
- package/dist/{responsiveness-probe-7HVQMWP6.js → responsiveness-probe-KGN6IQLH.js} +3 -3
- package/dist/{session-auth-dead-2KE5HIRM.js → session-auth-dead-P44BJ3W6.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-VFOXL3K7.js.map → chunk-F3U2E4OL.js.map} +0 -0
- /package/dist/{chunk-6WEBDE4W.js.map → chunk-PT2HBINO.js.map} +0 -0
- /package/dist/{claude-pair-runtime-4DHOMQSA.js.map → claude-pair-runtime-R2BGQCXS.js.map} +0 -0
- /package/dist/{persistent-session-MR3X4YKR.js.map → persistent-session-HSBVLK46.js.map} +0 -0
- /package/dist/{responsiveness-probe-7HVQMWP6.js.map → responsiveness-probe-KGN6IQLH.js.map} +0 -0
- /package/dist/{session-auth-dead-2KE5HIRM.js.map → session-auth-dead-P44BJ3W6.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-F3U2E4OL.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-PT2HBINO.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-XIMMVBIH.js";
|
|
83
83
|
import "../chunk-OCMJ5E6J.js";
|
|
84
84
|
import "../chunk-XWVM4KPK.js";
|
|
85
85
|
import "../chunk-EL5MWGGH.js";
|
|
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5474
5474
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5475
5475
|
import chalk18 from "chalk";
|
|
5476
5476
|
import ora16 from "ora";
|
|
5477
|
-
var cliVersion = true ? "0.28.
|
|
5477
|
+
var cliVersion = true ? "0.28.1119" : "dev";
|
|
5478
5478
|
async function fetchLatestVersion() {
|
|
5479
5479
|
const host2 = getHost();
|
|
5480
5480
|
if (!host2) return null;
|
|
@@ -6734,7 +6734,7 @@ function handleError(err) {
|
|
|
6734
6734
|
}
|
|
6735
6735
|
|
|
6736
6736
|
// src/bin/agt.ts
|
|
6737
|
-
var cliVersion2 = true ? "0.28.
|
|
6737
|
+
var cliVersion2 = true ? "0.28.1119" : "dev";
|
|
6738
6738
|
var program = new Command();
|
|
6739
6739
|
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");
|
|
6740
6740
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseEnvFileEntries,
|
|
17
17
|
parseEnvIntegrations,
|
|
18
18
|
shellQuote
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PT2HBINO.js";
|
|
20
20
|
import {
|
|
21
21
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
22
22
|
INTEGRATIONS_SECTION_END,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
sessionTranscriptDir,
|
|
80
80
|
worseConnectivityOutcome,
|
|
81
81
|
wrapScheduledTaskPrompt
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-XIMMVBIH.js";
|
|
83
83
|
import {
|
|
84
84
|
classifyUnanswerablePane,
|
|
85
85
|
isConsumerTermsDialogVisible,
|
|
@@ -7518,7 +7518,7 @@ function exchangeFailureKind(err) {
|
|
|
7518
7518
|
}
|
|
7519
7519
|
|
|
7520
7520
|
// src/lib/api-client.ts
|
|
7521
|
-
var agtCliVersion = true ? "0.28.
|
|
7521
|
+
var agtCliVersion = true ? "0.28.1119" : "dev";
|
|
7522
7522
|
var lastConfigHash = null;
|
|
7523
7523
|
function setConfigHash(hash) {
|
|
7524
7524
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -12664,4 +12664,4 @@ export {
|
|
|
12664
12664
|
managerInstallSystemUnitCommand,
|
|
12665
12665
|
managerUninstallSystemUnitCommand
|
|
12666
12666
|
};
|
|
12667
|
-
//# sourceMappingURL=chunk-
|
|
12667
|
+
//# sourceMappingURL=chunk-F3U2E4OL.js.map
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
rotateDailySession,
|
|
25
25
|
sessionFileExists,
|
|
26
26
|
todayLocalIso
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XIMMVBIH.js";
|
|
28
28
|
import {
|
|
29
29
|
classifyUnanswerablePane,
|
|
30
30
|
findUsageLimitResetHint,
|
|
@@ -6113,4 +6113,4 @@ export {
|
|
|
6113
6113
|
stopAllSessionsAndWait,
|
|
6114
6114
|
getProjectDir
|
|
6115
6115
|
};
|
|
6116
|
-
//# sourceMappingURL=chunk-
|
|
6116
|
+
//# sourceMappingURL=chunk-PT2HBINO.js.map
|
|
@@ -12519,14 +12519,16 @@ function googleErrorReasons(text) {
|
|
|
12519
12519
|
return [];
|
|
12520
12520
|
}
|
|
12521
12521
|
}
|
|
12522
|
+
function serverHeldTokenUnverified(vendor) {
|
|
12523
|
+
return {
|
|
12524
|
+
status: "unverified",
|
|
12525
|
+
evidence: "none",
|
|
12526
|
+
message: `Not probed from the host: the ${vendor} token is held server-side and never sent here. Use Test connection to check it`
|
|
12527
|
+
};
|
|
12528
|
+
}
|
|
12522
12529
|
async function probeGoogleBusinessProfile(creds, fetchImpl) {
|
|
12523
|
-
if (!creds.access_token && !creds.api_key)
|
|
12524
|
-
return
|
|
12525
|
-
status: "unverified",
|
|
12526
|
-
evidence: "none",
|
|
12527
|
-
message: "Not probed from the host: the Business Profile token is held server-side and never sent here. Use Test connection to check it"
|
|
12528
|
-
};
|
|
12529
|
-
}
|
|
12530
|
+
if (!creds.access_token && !creds.api_key)
|
|
12531
|
+
return serverHeldTokenUnverified("Business Profile");
|
|
12530
12532
|
const captured = { forbiddenReasons: null };
|
|
12531
12533
|
const capturingFetch = async (input, init) => {
|
|
12532
12534
|
const res = await fetchImpl(input, init);
|
|
@@ -13004,6 +13006,8 @@ async function probeHttpProvider(definitionId, credentials, fetchImpl = fetch, c
|
|
|
13004
13006
|
case "google-business-profile":
|
|
13005
13007
|
return probeGoogleBusinessProfile(credentials, fetchImpl);
|
|
13006
13008
|
case "linkedin-ads":
|
|
13009
|
+
if (!credentials.access_token && !credentials.api_key)
|
|
13010
|
+
return serverHeldTokenUnverified("LinkedIn Ads");
|
|
13007
13011
|
return probeBearerJson("https://api.linkedin.com/v2/userinfo", credentials, fetchImpl, (body) => {
|
|
13008
13012
|
const user = body;
|
|
13009
13013
|
return { status: "ok", message: `Connected as ${user.name ?? user.email ?? "unknown"}` };
|
|
@@ -16787,4 +16791,4 @@ export {
|
|
|
16787
16791
|
peekCurrentSession,
|
|
16788
16792
|
readDailySessionPin
|
|
16789
16793
|
};
|
|
16790
|
-
//# sourceMappingURL=chunk-
|
|
16794
|
+
//# sourceMappingURL=chunk-XIMMVBIH.js.map
|