@integrity-labs/agt-cli 0.6.7 → 0.6.8
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
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveChannels,
|
|
33
33
|
serializeManifestForSlackCli,
|
|
34
34
|
setActiveTeam
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-W3QGXFSK.js";
|
|
36
36
|
|
|
37
37
|
// src/bin/agt.ts
|
|
38
38
|
import { join as join11 } from "path";
|
|
@@ -3413,7 +3413,7 @@ async function acpxCloseCommand(agent2, _opts, cmd) {
|
|
|
3413
3413
|
import { execSync } from "child_process";
|
|
3414
3414
|
import chalk19 from "chalk";
|
|
3415
3415
|
import ora15 from "ora";
|
|
3416
|
-
var cliVersion = true ? "0.6.
|
|
3416
|
+
var cliVersion = true ? "0.6.8" : "dev";
|
|
3417
3417
|
async function fetchLatestVersion() {
|
|
3418
3418
|
const host2 = AGT_HOST;
|
|
3419
3419
|
if (!host2) return null;
|
|
@@ -3529,7 +3529,7 @@ async function checkForUpdateOnStartup() {
|
|
|
3529
3529
|
}
|
|
3530
3530
|
|
|
3531
3531
|
// src/bin/agt.ts
|
|
3532
|
-
var cliVersion2 = true ? "0.6.
|
|
3532
|
+
var cliVersion2 = true ? "0.6.8" : "dev";
|
|
3533
3533
|
var program = new Command();
|
|
3534
3534
|
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");
|
|
3535
3535
|
program.hook("preAction", (thisCommand) => {
|
|
@@ -2527,10 +2527,11 @@ function setActiveTeam(slug) {
|
|
|
2527
2527
|
}
|
|
2528
2528
|
var AGT_HOST = process.env["AGT_HOST"];
|
|
2529
2529
|
function requireHost() {
|
|
2530
|
-
|
|
2530
|
+
const host = process.env["AGT_HOST"];
|
|
2531
|
+
if (!host) {
|
|
2531
2532
|
throw new Error("AGT_HOST is not set. Export it to point at the Augmented API (e.g. export AGT_HOST=https://your-api.example.com)");
|
|
2532
2533
|
}
|
|
2533
|
-
return
|
|
2534
|
+
return host;
|
|
2534
2535
|
}
|
|
2535
2536
|
|
|
2536
2537
|
// src/lib/api-client.ts
|
|
@@ -4560,4 +4561,4 @@ export {
|
|
|
4560
4561
|
detectDrift,
|
|
4561
4562
|
provision
|
|
4562
4563
|
};
|
|
4563
|
-
//# sourceMappingURL=chunk-
|
|
4564
|
+
//# sourceMappingURL=chunk-W3QGXFSK.js.map
|