@integrity-labs/agt-cli 0.28.1180 → 0.28.1181
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 +6 -6
- package/dist/{chunk-PINFVWGX.js → chunk-475LAYAZ.js} +33 -2
- package/dist/{chunk-PINFVWGX.js.map → chunk-475LAYAZ.js.map} +1 -1
- package/dist/{chunk-2FHYCFZM.js → chunk-AR72EF4W.js} +2 -2
- package/dist/{chunk-GJD536LU.js → chunk-B4Y5MJHG.js} +3 -3
- package/dist/{chunk-X4FZ5ZAN.js → chunk-BLDO67PT.js} +5 -5
- package/dist/{chunk-KDYZNWZW.js → chunk-UAGBLWU2.js} +2 -2
- package/dist/{claude-code-updater-LL7KVAU3.js → claude-code-updater-ZKXTHHWL.js} +3 -3
- package/dist/{claude-pair-runtime-R5MNSUM7.js → claude-pair-runtime-YL5FVVDV.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/{persistent-session-34QXCPJK.js → persistent-session-KCVIJ5R7.js} +4 -4
- package/dist/{responsiveness-probe-ZT6ITMYI.js → responsiveness-probe-GLNAS7ZG.js} +4 -4
- package/dist/{session-auth-dead-KAHV2ES2.js → session-auth-dead-5KYOFOTM.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-2FHYCFZM.js.map → chunk-AR72EF4W.js.map} +0 -0
- /package/dist/{chunk-GJD536LU.js.map → chunk-B4Y5MJHG.js.map} +0 -0
- /package/dist/{chunk-X4FZ5ZAN.js.map → chunk-BLDO67PT.js.map} +0 -0
- /package/dist/{chunk-KDYZNWZW.js.map → chunk-UAGBLWU2.js.map} +0 -0
- /package/dist/{claude-code-updater-LL7KVAU3.js.map → claude-code-updater-ZKXTHHWL.js.map} +0 -0
- /package/dist/{claude-pair-runtime-R5MNSUM7.js.map → claude-pair-runtime-YL5FVVDV.js.map} +0 -0
- /package/dist/{persistent-session-34QXCPJK.js.map → persistent-session-KCVIJ5R7.js.map} +0 -0
- /package/dist/{responsiveness-probe-ZT6ITMYI.js.map → responsiveness-probe-GLNAS7ZG.js.map} +0 -0
- /package/dist/{session-auth-dead-KAHV2ES2.js.map → session-auth-dead-5KYOFOTM.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,17 +40,17 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-BLDO67PT.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-B4Y5MJHG.js";
|
|
49
49
|
import {
|
|
50
50
|
markDailySessionSpawn,
|
|
51
51
|
sessionFileExists,
|
|
52
52
|
sessionTranscriptDir
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-AR72EF4W.js";
|
|
54
54
|
import "../chunk-OO36JBFI.js";
|
|
55
55
|
import "../chunk-6HBXEJHO.js";
|
|
56
56
|
import "../chunk-XWVM4KPK.js";
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
requiredMcpWildcard,
|
|
84
84
|
resolveChannels,
|
|
85
85
|
serializeManifestForSlackCli
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-475LAYAZ.js";
|
|
87
87
|
import "../chunk-AIUIMEUS.js";
|
|
88
88
|
import "../chunk-DGUM43GV.js";
|
|
89
89
|
|
|
@@ -5200,7 +5200,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5200
5200
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
5201
5201
|
import chalk17 from "chalk";
|
|
5202
5202
|
import ora15 from "ora";
|
|
5203
|
-
var cliVersion = true ? "0.28.
|
|
5203
|
+
var cliVersion = true ? "0.28.1181" : "dev";
|
|
5204
5204
|
async function fetchLatestVersion() {
|
|
5205
5205
|
const host2 = getHost();
|
|
5206
5206
|
if (!host2) return null;
|
|
@@ -6460,7 +6460,7 @@ function handleError(err) {
|
|
|
6460
6460
|
}
|
|
6461
6461
|
|
|
6462
6462
|
// src/bin/agt.ts
|
|
6463
|
-
var cliVersion2 = true ? "0.28.
|
|
6463
|
+
var cliVersion2 = true ? "0.28.1181" : "dev";
|
|
6464
6464
|
var program = new Command();
|
|
6465
6465
|
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");
|
|
6466
6466
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -12569,7 +12569,26 @@ var HTTP_PROBE_PROVIDERS = /* @__PURE__ */ new Set([
|
|
|
12569
12569
|
// A FlutterFlow API key never expires on its own; it dies when regenerated or
|
|
12570
12570
|
// when the account leaves a paid plan, and only a call can tell. Routes to
|
|
12571
12571
|
// `probeFlutterFlow`: the CLI's own `sdkWhoAmI` key check.
|
|
12572
|
-
"flutterflow"
|
|
12572
|
+
"flutterflow",
|
|
12573
|
+
// ENG-11807: Ligantic, added WITH the integration rather than after an
|
|
12574
|
+
// incident, which is the Sportsyear/Instantly precedent and not a courtesy.
|
|
12575
|
+
// The toolkit is `source_type: 'native'` with a null `cli_binary`, so without
|
|
12576
|
+
// this entry it falls past every branch to the `builtin` rubber-stamp and
|
|
12577
|
+
// reports `unverified` having contacted nothing. That verdict is neutral to
|
|
12578
|
+
// hysteresis, so nothing promotes the install off `status='configured'`, which
|
|
12579
|
+
// the console renders as "not connected" — the exact customer-visible
|
|
12580
|
+
// misreport that cost Vercel (ENG-8422), Higgsfield (ENG-8502) and Sprout
|
|
12581
|
+
// Social (ENG-10082) one incident each.
|
|
12582
|
+
//
|
|
12583
|
+
// A Ligantic `lak_` key is a long-lived customer credential that dies when
|
|
12584
|
+
// someone deletes or regenerates it in Studio settings. Whether it ALSO
|
|
12585
|
+
// expires on a timer is not documented and was not established here, which
|
|
12586
|
+
// only strengthens the case for a probe: either way a call is the sole way to
|
|
12587
|
+
// tell a dead key from a live one. Routes to `probeBearerJson` against
|
|
12588
|
+
// `GET /users/me`: free, read-only, no arguments and no Space id — so an
|
|
12589
|
+
// install whose `space_id` is wrong still probes green, which is correct,
|
|
12590
|
+
// because the credential is what this probe is about.
|
|
12591
|
+
"ligantic"
|
|
12573
12592
|
// ENG-6100: GitHub is deliberately NOT here. This set drives the ASYNC
|
|
12574
12593
|
// connectivity monitor's routing, where github (source_type='native')
|
|
12575
12594
|
// stays host-side (cli_command — `gh`, the credential the agent actually
|
|
@@ -13443,6 +13462,18 @@ async function probeHttpProvider(definitionId, credentials, fetchImpl = fetch, c
|
|
|
13443
13462
|
const user = body;
|
|
13444
13463
|
return { status: "ok", message: `Connected as ${user.name ?? user.email ?? "unknown"}` };
|
|
13445
13464
|
});
|
|
13465
|
+
case "ligantic":
|
|
13466
|
+
return probeBearerJson("https://ligantic.cloud/api/v1/users/me", credentials, fetchImpl, (body) => {
|
|
13467
|
+
const me = body;
|
|
13468
|
+
if (typeof me?.id !== "string" || me.id === "") {
|
|
13469
|
+
return { status: "down", message: "Ligantic returned no user id for this key" };
|
|
13470
|
+
}
|
|
13471
|
+
const accounts = Array.isArray(me.accounts) ? me.accounts.length : 0;
|
|
13472
|
+
return {
|
|
13473
|
+
status: "ok",
|
|
13474
|
+
message: accounts === 0 ? "Ligantic key is valid but reaches no account" : `Ligantic key is valid (${accounts} account${accounts === 1 ? "" : "s"})`
|
|
13475
|
+
};
|
|
13476
|
+
});
|
|
13446
13477
|
case "v0":
|
|
13447
13478
|
return probeBearerJson("https://api.v0.dev/v1/user", credentials, fetchImpl, (body) => {
|
|
13448
13479
|
const user = body;
|
|
@@ -17522,4 +17553,4 @@ export {
|
|
|
17522
17553
|
isForcedUpdatePastDeadline,
|
|
17523
17554
|
shouldMintReplacementKey
|
|
17524
17555
|
};
|
|
17525
|
-
//# sourceMappingURL=chunk-
|
|
17556
|
+
//# sourceMappingURL=chunk-475LAYAZ.js.map
|