@integrity-labs/agt-cli 0.10.9 → 0.10.10
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 +7 -2
- package/dist/bin/agt.js.map +1 -1
- package/package.json +1 -1
package/dist/bin/agt.js
CHANGED
|
@@ -3023,6 +3023,11 @@ async function setupCommand(token) {
|
|
|
3023
3023
|
host_id: setupResult.host_id,
|
|
3024
3024
|
team_slug: setupResult.team_slug,
|
|
3025
3025
|
api_url: finalApiUrl,
|
|
3026
|
+
// Host API key — exposed only in JSON mode so bootstrap/automation can
|
|
3027
|
+
// persist it system-wide. The token the caller just supplied grants
|
|
3028
|
+
// access to this key anyway; re-emitting it here just saves the caller
|
|
3029
|
+
// from having to parse the shell profile we wrote.
|
|
3030
|
+
api_key: setupResult.api_key,
|
|
3026
3031
|
agents: setupResult.agents,
|
|
3027
3032
|
profile: profilePath
|
|
3028
3033
|
});
|
|
@@ -3553,7 +3558,7 @@ async function acpxCloseCommand(agent2, _opts, cmd) {
|
|
|
3553
3558
|
import { execSync } from "child_process";
|
|
3554
3559
|
import chalk20 from "chalk";
|
|
3555
3560
|
import ora15 from "ora";
|
|
3556
|
-
var cliVersion = true ? "0.10.
|
|
3561
|
+
var cliVersion = true ? "0.10.10" : "dev";
|
|
3557
3562
|
async function fetchLatestVersion() {
|
|
3558
3563
|
const host2 = getHost();
|
|
3559
3564
|
if (!host2) return null;
|
|
@@ -3952,7 +3957,7 @@ function handleError(err) {
|
|
|
3952
3957
|
}
|
|
3953
3958
|
|
|
3954
3959
|
// src/bin/agt.ts
|
|
3955
|
-
var cliVersion2 = true ? "0.10.
|
|
3960
|
+
var cliVersion2 = true ? "0.10.10" : "dev";
|
|
3956
3961
|
var program = new Command();
|
|
3957
3962
|
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");
|
|
3958
3963
|
program.hook("preAction", (thisCommand) => {
|