@integrity-labs/agt-cli 0.28.1179 → 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.
Files changed (24) hide show
  1. package/dist/bin/agt.js +7 -7
  2. package/dist/bin/agt.js.map +1 -1
  3. package/dist/{chunk-PINFVWGX.js → chunk-475LAYAZ.js} +33 -2
  4. package/dist/{chunk-PINFVWGX.js.map → chunk-475LAYAZ.js.map} +1 -1
  5. package/dist/{chunk-2FHYCFZM.js → chunk-AR72EF4W.js} +2 -2
  6. package/dist/{chunk-GJD536LU.js → chunk-B4Y5MJHG.js} +3 -3
  7. package/dist/{chunk-O5P2OS36.js → chunk-BLDO67PT.js} +5 -5
  8. package/dist/{chunk-KDYZNWZW.js → chunk-UAGBLWU2.js} +2 -2
  9. package/dist/{claude-code-updater-LL7KVAU3.js → claude-code-updater-ZKXTHHWL.js} +3 -3
  10. package/dist/{claude-pair-runtime-R5MNSUM7.js → claude-pair-runtime-YL5FVVDV.js} +3 -3
  11. package/dist/lib/manager-worker.js +19 -19
  12. package/dist/{persistent-session-34QXCPJK.js → persistent-session-KCVIJ5R7.js} +4 -4
  13. package/dist/{responsiveness-probe-ZT6ITMYI.js → responsiveness-probe-GLNAS7ZG.js} +4 -4
  14. package/dist/{session-auth-dead-KAHV2ES2.js → session-auth-dead-5KYOFOTM.js} +3 -3
  15. package/package.json +1 -1
  16. /package/dist/{chunk-2FHYCFZM.js.map → chunk-AR72EF4W.js.map} +0 -0
  17. /package/dist/{chunk-GJD536LU.js.map → chunk-B4Y5MJHG.js.map} +0 -0
  18. /package/dist/{chunk-O5P2OS36.js.map → chunk-BLDO67PT.js.map} +0 -0
  19. /package/dist/{chunk-KDYZNWZW.js.map → chunk-UAGBLWU2.js.map} +0 -0
  20. /package/dist/{claude-code-updater-LL7KVAU3.js.map → claude-code-updater-ZKXTHHWL.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-R5MNSUM7.js.map → claude-pair-runtime-YL5FVVDV.js.map} +0 -0
  22. /package/dist/{persistent-session-34QXCPJK.js.map → persistent-session-KCVIJ5R7.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-ZT6ITMYI.js.map → responsiveness-probe-GLNAS7ZG.js.map} +0 -0
  24. /package/dist/{session-auth-dead-KAHV2ES2.js.map → session-auth-dead-5KYOFOTM.js.map} +0 -0
@@ -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-PINFVWGX.js.map
17556
+ //# sourceMappingURL=chunk-475LAYAZ.js.map