@integrity-labs/agt-cli 0.28.843 → 0.28.844
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
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-EYAQWQRK.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
@@ -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.844" : "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.844" : "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) => {
|
|
@@ -6566,7 +6566,7 @@ function exchangeFailureKind(err) {
|
|
|
6566
6566
|
}
|
|
6567
6567
|
|
|
6568
6568
|
// src/lib/api-client.ts
|
|
6569
|
-
var agtCliVersion = true ? "0.28.
|
|
6569
|
+
var agtCliVersion = true ? "0.28.844" : "dev";
|
|
6570
6570
|
var lastConfigHash = null;
|
|
6571
6571
|
function setConfigHash(hash) {
|
|
6572
6572
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10924,4 +10924,4 @@ export {
|
|
|
10924
10924
|
managerInstallSystemUnitCommand,
|
|
10925
10925
|
managerUninstallSystemUnitCommand
|
|
10926
10926
|
};
|
|
10927
|
-
//# sourceMappingURL=chunk-
|
|
10927
|
+
//# sourceMappingURL=chunk-EYAQWQRK.js.map
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
safeWriteJsonAtomic,
|
|
61
61
|
setConfigHash,
|
|
62
62
|
tripClass
|
|
63
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-EYAQWQRK.js";
|
|
64
64
|
import {
|
|
65
65
|
getProjectDir as getProjectDir2,
|
|
66
66
|
getReadyTasks,
|
|
@@ -13689,7 +13689,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13689
13689
|
var lastVersionCheckAt = 0;
|
|
13690
13690
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13691
13691
|
var lastResponsivenessProbeAt = 0;
|
|
13692
|
-
var agtCliVersion = true ? "0.28.
|
|
13692
|
+
var agtCliVersion = true ? "0.28.844" : "dev";
|
|
13693
13693
|
function resolveBrewPath(execFileSync2) {
|
|
13694
13694
|
try {
|
|
13695
13695
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -21433,15 +21433,16 @@ var queryLogsSchema = strictObject({
|
|
|
21433
21433
|
"Max lines to return (default 1000, max 5000; newest kept). Output is also byte-capped (~20 KB, newest kept) to stay within SSM limits \u2014 `truncated` flags when it clipped. Narrow the window if truncated."
|
|
21434
21434
|
)
|
|
21435
21435
|
});
|
|
21436
|
+
var PROBE_SLUG_RE = /^[a-z0-9][a-z0-9._-]*(\/[a-z0-9][a-z0-9._-]*)?$/i;
|
|
21436
21437
|
var probeIntegrationSchema = strictObject({
|
|
21437
21438
|
agent_id: external_exports.string().min(1).max(64).describe(
|
|
21438
21439
|
"UUID of the agent whose integration to probe. Fails closed (uniform not-found) if you are not authorized for its org."
|
|
21439
21440
|
),
|
|
21440
21441
|
slug: external_exports.string().min(1).max(128).regex(
|
|
21441
|
-
|
|
21442
|
-
"slug must be an integration definition code_name
|
|
21442
|
+
PROBE_SLUG_RE,
|
|
21443
|
+
"slug must be an integration definition code_name, optionally namespaced (e.g. `gmail`, `composio/hubspot`)"
|
|
21443
21444
|
).describe(
|
|
21444
|
-
"The integration slug
|
|
21445
|
+
"The integration slug to probe on that agent. Either the definition code_name (`gmail`, `slack`, `here-now`) or its namespaced definition id (`composio/hubspot`, `composio/linear`). A bare toolkit name is resolved against what is actually installed on the agent, so `hubspot` finds `composio/hubspot`; an ambiguous bare name is an error rather than a guess."
|
|
21445
21446
|
)
|
|
21446
21447
|
});
|
|
21447
21448
|
var inspectDeadLettersSchema = strictObject({
|
package/package.json
CHANGED
|
File without changes
|