@integrity-labs/agt-cli 0.28.904 → 0.28.906
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 +31 -7
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-2LV6SJ7W.js → chunk-I2PUWPUR.js} +2 -2
- package/dist/{chunk-Q2GQY64J.js → chunk-N47GH7MJ.js} +1 -1
- package/dist/{chunk-Q2GQY64J.js.map → chunk-N47GH7MJ.js.map} +1 -1
- package/dist/{chunk-UGLLCAZ7.js → chunk-PNIRMJTW.js} +4 -4
- package/dist/{claude-pair-runtime-UZPPOEIB.js → claude-pair-runtime-A36CKF54.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/{persistent-session-TPADZX4C.js → persistent-session-ZOEBA7KM.js} +3 -3
- package/dist/{responsiveness-probe-P2L74AKB.js → responsiveness-probe-BNQIJAFF.js} +3 -3
- package/dist/{session-auth-dead-YKD22CHZ.js → session-auth-dead-TAAZTRTD.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-2LV6SJ7W.js.map → chunk-I2PUWPUR.js.map} +0 -0
- /package/dist/{chunk-UGLLCAZ7.js.map → chunk-PNIRMJTW.js.map} +0 -0
- /package/dist/{claude-pair-runtime-UZPPOEIB.js.map → claude-pair-runtime-A36CKF54.js.map} +0 -0
- /package/dist/{persistent-session-TPADZX4C.js.map → persistent-session-ZOEBA7KM.js.map} +0 -0
- /package/dist/{responsiveness-probe-P2L74AKB.js.map → responsiveness-probe-BNQIJAFF.js.map} +0 -0
- /package/dist/{session-auth-dead-YKD22CHZ.js.map → session-auth-dead-TAAZTRTD.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-PNIRMJTW.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-I2PUWPUR.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-N47GH7MJ.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -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.906" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6249,6 +6249,25 @@ import { homedir as homedir11 } from "os";
|
|
|
6249
6249
|
import { join as join23 } from "path";
|
|
6250
6250
|
import chalk19 from "chalk";
|
|
6251
6251
|
import ora17 from "ora";
|
|
6252
|
+
|
|
6253
|
+
// src/lib/integration-provisioned-message.ts
|
|
6254
|
+
function notProvisionedMessage(input4) {
|
|
6255
|
+
const list = input4.provisioned.length > 0 ? input4.provisioned.join(", ") : "none";
|
|
6256
|
+
return [
|
|
6257
|
+
`Integration "${input4.slug}" is not in ${input4.agentCodeName}'s PROVISIONED set.`,
|
|
6258
|
+
`Provisioned (status active/configured): ${list}`,
|
|
6259
|
+
"",
|
|
6260
|
+
// The load-bearing sentence. Without it the line above is read as "not
|
|
6261
|
+
// installed", which is the claim this function exists to stop making.
|
|
6262
|
+
`This is NOT proof that "${input4.slug}" is absent. Rows in status 'error' or`,
|
|
6263
|
+
`'unhealthy' are excluded from this list and are still probeable (ENG-9470),`,
|
|
6264
|
+
`so an integration can be present, serving tools, and missing from the line`,
|
|
6265
|
+
`above. To settle it, read the agent's integration rows directly rather than`,
|
|
6266
|
+
`relying on this enumeration.`
|
|
6267
|
+
].join("\n");
|
|
6268
|
+
}
|
|
6269
|
+
|
|
6270
|
+
// src/commands/integration.ts
|
|
6252
6271
|
async function fetchAgents() {
|
|
6253
6272
|
const hostId = await getHostId().catch(() => null);
|
|
6254
6273
|
const body = hostId ? await api.post("/host/agents", {
|
|
@@ -6377,8 +6396,13 @@ async function integrationProbeCommand(agentCodeName, slug) {
|
|
|
6377
6396
|
);
|
|
6378
6397
|
if (!integ) {
|
|
6379
6398
|
spinner.stop();
|
|
6380
|
-
|
|
6381
|
-
|
|
6399
|
+
error(
|
|
6400
|
+
notProvisionedMessage({
|
|
6401
|
+
slug,
|
|
6402
|
+
agentCodeName,
|
|
6403
|
+
provisioned: integrations.map((i) => i.definition_id)
|
|
6404
|
+
})
|
|
6405
|
+
);
|
|
6382
6406
|
process.exitCode = 1;
|
|
6383
6407
|
return;
|
|
6384
6408
|
}
|
|
@@ -6658,7 +6682,7 @@ function handleError(err) {
|
|
|
6658
6682
|
}
|
|
6659
6683
|
|
|
6660
6684
|
// src/bin/agt.ts
|
|
6661
|
-
var cliVersion2 = true ? "0.28.
|
|
6685
|
+
var cliVersion2 = true ? "0.28.906" : "dev";
|
|
6662
6686
|
var program = new Command();
|
|
6663
6687
|
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
6688
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|