@integrity-labs/agt-cli 0.28.31 → 0.28.33
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 +4 -4
- package/dist/{chunk-EJIU6AD6.js → chunk-7V2NY5F6.js} +12 -3
- package/dist/{chunk-EJIU6AD6.js.map → chunk-7V2NY5F6.js.map} +1 -1
- package/dist/{chunk-SR6RHUAV.js → chunk-HTRILMXV.js} +2 -2
- package/dist/{chunk-VIIPFWE4.js → chunk-R5CP4WAO.js} +2 -1
- package/dist/{claude-pair-runtime-RLIUZRLZ.js → claude-pair-runtime-LP4W56RT.js} +2 -2
- package/dist/lib/manager-worker.js +109 -49
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-JHBXSNVW.js → persistent-session-RNALQ7JD.js} +3 -3
- package/dist/{responsiveness-probe-SKVWT5CO.js → responsiveness-probe-DRP2PPVE.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-SR6RHUAV.js.map → chunk-HTRILMXV.js.map} +0 -0
- /package/dist/{chunk-VIIPFWE4.js.map → chunk-R5CP4WAO.js.map} +0 -0
- /package/dist/{claude-pair-runtime-RLIUZRLZ.js.map → claude-pair-runtime-LP4W56RT.js.map} +0 -0
- /package/dist/{persistent-session-JHBXSNVW.js.map → persistent-session-RNALQ7JD.js.map} +0 -0
- /package/dist/{responsiveness-probe-SKVWT5CO.js.map → responsiveness-probe-DRP2PPVE.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
success,
|
|
34
34
|
table,
|
|
35
35
|
warn
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-7V2NY5F6.js";
|
|
37
37
|
import {
|
|
38
38
|
CHANNEL_REGISTRY,
|
|
39
39
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
renderTemplate,
|
|
61
61
|
resolveChannels,
|
|
62
62
|
serializeManifestForSlackCli
|
|
63
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-R5CP4WAO.js";
|
|
64
64
|
|
|
65
65
|
// src/bin/agt.ts
|
|
66
66
|
import { join as join21 } from "path";
|
|
@@ -4773,7 +4773,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4773
4773
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4774
4774
|
import chalk18 from "chalk";
|
|
4775
4775
|
import ora16 from "ora";
|
|
4776
|
-
var cliVersion = true ? "0.28.
|
|
4776
|
+
var cliVersion = true ? "0.28.33" : "dev";
|
|
4777
4777
|
async function fetchLatestVersion() {
|
|
4778
4778
|
const host2 = getHost();
|
|
4779
4779
|
if (!host2) return null;
|
|
@@ -5696,7 +5696,7 @@ function handleError(err) {
|
|
|
5696
5696
|
}
|
|
5697
5697
|
|
|
5698
5698
|
// src/bin/agt.ts
|
|
5699
|
-
var cliVersion2 = true ? "0.28.
|
|
5699
|
+
var cliVersion2 = true ? "0.28.33" : "dev";
|
|
5700
5700
|
var program = new Command();
|
|
5701
5701
|
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");
|
|
5702
5702
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
registerFramework,
|
|
15
15
|
resolveAvatarEnvUrl,
|
|
16
16
|
wrapScheduledTaskPrompt
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-R5CP4WAO.js";
|
|
18
18
|
|
|
19
19
|
// ../../packages/core/dist/integrations/registry.js
|
|
20
20
|
var INTEGRATION_REGISTRY = [
|
|
@@ -7266,11 +7266,16 @@ function requireHost() {
|
|
|
7266
7266
|
}
|
|
7267
7267
|
|
|
7268
7268
|
// src/lib/api-client.ts
|
|
7269
|
-
var agtCliVersion = true ? "0.28.
|
|
7269
|
+
var agtCliVersion = true ? "0.28.33" : "dev";
|
|
7270
|
+
var lastConfigHash = null;
|
|
7271
|
+
function setConfigHash(hash) {
|
|
7272
|
+
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
7273
|
+
}
|
|
7270
7274
|
var cachedExchange = null;
|
|
7271
7275
|
var exchangeInFlight = null;
|
|
7272
7276
|
function invalidateExchange() {
|
|
7273
7277
|
cachedExchange = null;
|
|
7278
|
+
lastConfigHash = null;
|
|
7274
7279
|
}
|
|
7275
7280
|
async function exchangeApiKey(rawKey, retried = false, opts = {}) {
|
|
7276
7281
|
if (!opts.forceRefresh && cachedExchange && Date.now() < cachedExchange.expiresAt - 6e4) {
|
|
@@ -7375,6 +7380,9 @@ async function buildHeaders() {
|
|
|
7375
7380
|
// actions so bug rates can be tracked per CLI version.
|
|
7376
7381
|
"X-Agt-Cli-Version": agtCliVersion
|
|
7377
7382
|
};
|
|
7383
|
+
if (lastConfigHash) {
|
|
7384
|
+
headers["X-Config-Hash"] = lastConfigHash;
|
|
7385
|
+
}
|
|
7378
7386
|
const team = getActiveTeam() ?? exchange.teamSlug;
|
|
7379
7387
|
if (team) {
|
|
7380
7388
|
headers["X-Team-Slug"] = team;
|
|
@@ -8289,6 +8297,7 @@ export {
|
|
|
8289
8297
|
PROD_AGT_HOST,
|
|
8290
8298
|
getHost,
|
|
8291
8299
|
requireHost,
|
|
8300
|
+
setConfigHash,
|
|
8292
8301
|
exchangeApiKey,
|
|
8293
8302
|
ApiError,
|
|
8294
8303
|
api,
|
|
@@ -8317,4 +8326,4 @@ export {
|
|
|
8317
8326
|
managerInstallSystemUnitCommand,
|
|
8318
8327
|
managerUninstallSystemUnitCommand
|
|
8319
8328
|
};
|
|
8320
|
-
//# sourceMappingURL=chunk-
|
|
8329
|
+
//# sourceMappingURL=chunk-7V2NY5F6.js.map
|