@integrity-labs/agt-cli 0.28.822 → 0.28.824
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 +5 -5
- package/dist/{chunk-KHCJT45W.js → chunk-2DT4VGWU.js} +2 -2
- package/dist/{chunk-IVR3UH5Z.js → chunk-LPCKIZS4.js} +19 -7
- package/dist/{chunk-IVR3UH5Z.js.map → chunk-LPCKIZS4.js.map} +1 -1
- package/dist/{chunk-5RMHCQ3H.js → chunk-PVPLNARY.js} +35 -2
- package/dist/{chunk-5RMHCQ3H.js.map → chunk-PVPLNARY.js.map} +1 -1
- package/dist/{claude-pair-runtime-CMLVI5AF.js → claude-pair-runtime-5QM5OTAZ.js} +2 -2
- package/dist/lib/manager-worker.js +19 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-MC3GPRAN.js → persistent-session-2Y4O3COI.js} +3 -3
- package/dist/{responsiveness-probe-ZJI5CCXE.js → responsiveness-probe-OGFPDMFN.js} +3 -3
- package/dist/{session-auth-dead-J74JLVBX.js → session-auth-dead-UDG6GY3U.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-KHCJT45W.js.map → chunk-2DT4VGWU.js.map} +0 -0
- /package/dist/{claude-pair-runtime-CMLVI5AF.js.map → claude-pair-runtime-5QM5OTAZ.js.map} +0 -0
- /package/dist/{persistent-session-MC3GPRAN.js.map → persistent-session-2Y4O3COI.js.map} +0 -0
- /package/dist/{responsiveness-probe-ZJI5CCXE.js.map → responsiveness-probe-OGFPDMFN.js.map} +0 -0
- /package/dist/{session-auth-dead-J74JLVBX.js.map → session-auth-dead-UDG6GY3U.js.map} +0 -0
|
@@ -10130,7 +10130,23 @@ var HTTP_PROBE_PROVIDERS = /* @__PURE__ */ new Set([
|
|
|
10130
10130
|
// install (121 motion presets fetched through the broker) told the customer
|
|
10131
10131
|
// it had never connected. Routes to `probeHiggsfield`: `Authorization: Key`
|
|
10132
10132
|
// against the free, read-only `/v1/motions`.
|
|
10133
|
-
"higgsfield"
|
|
10133
|
+
"higgsfield",
|
|
10134
|
+
// ENG-10082 (epic ENG-10081): Sprout Social, the third instance of the same
|
|
10135
|
+
// omission. `source_type: 'native'` with a null `cli_binary` — there is no
|
|
10136
|
+
// binary, the tools are brokered server-side against api.sproutsocial.com —
|
|
10137
|
+
// so it fell past every branch to `builtin` and returned `unverified` having
|
|
10138
|
+
// contacted nothing, forever.
|
|
10139
|
+
//
|
|
10140
|
+
// This is the install a customer reported (CS-1663 / ENG-9988). Basketball
|
|
10141
|
+
// Media saw a red "not connected" badge while the integration served six
|
|
10142
|
+
// successful authenticated round-trips across two agent sessions; an entire
|
|
10143
|
+
// commercial analysis was produced through it while the console said it was
|
|
10144
|
+
// down. `unverified` is neutral to hysteresis, so nothing promoted the row
|
|
10145
|
+
// off `status='configured'`, which the console renders as "not connected".
|
|
10146
|
+
//
|
|
10147
|
+
// Routes to `probeBearerJson` against the free, read-only, no-argument
|
|
10148
|
+
// `/v1/metadata/client` — the same read that backs `sprout_social_list_clients`.
|
|
10149
|
+
"sprout-social"
|
|
10134
10150
|
// ENG-6100: GitHub is deliberately NOT here. This set drives the ASYNC
|
|
10135
10151
|
// connectivity monitor's routing, where github (source_type='native')
|
|
10136
10152
|
// stays host-side (cli_command — `gh`, the credential the agent actually
|
|
@@ -11295,6 +11311,23 @@ async function probeHttpProvider(definitionId, credentials, fetchImpl = fetch) {
|
|
|
11295
11311
|
const user = body;
|
|
11296
11312
|
return { status: "ok", message: `Connected as ${user.name ?? user.email ?? "unknown"}` };
|
|
11297
11313
|
});
|
|
11314
|
+
case "sprout-social":
|
|
11315
|
+
return probeBearerJson("https://api.sproutsocial.com/v1/metadata/client", credentials, fetchImpl, (body) => {
|
|
11316
|
+
const data = body?.data;
|
|
11317
|
+
const clients = Array.isArray(data) ? data.filter((row) => {
|
|
11318
|
+
if (typeof row !== "object" || row === null)
|
|
11319
|
+
return false;
|
|
11320
|
+
const id = row.customer_id;
|
|
11321
|
+
return typeof id === "string" || typeof id === "number";
|
|
11322
|
+
}) : [];
|
|
11323
|
+
if (!clients.length) {
|
|
11324
|
+
return { status: "down", message: "Sprout Social returned no usable client account for this token" };
|
|
11325
|
+
}
|
|
11326
|
+
return {
|
|
11327
|
+
status: "ok",
|
|
11328
|
+
message: `Reached Sprout Social \u2014 ${clients.length} client account(s), incl. ${clients[0]?.name ?? "unnamed"}`
|
|
11329
|
+
};
|
|
11330
|
+
});
|
|
11298
11331
|
case "github":
|
|
11299
11332
|
return probeBearerJson("https://api.github.com/user", credentials, fetchImpl, (body) => {
|
|
11300
11333
|
const u = body;
|
|
@@ -13803,4 +13836,4 @@ export {
|
|
|
13803
13836
|
peekCurrentSession,
|
|
13804
13837
|
readDailySessionPin
|
|
13805
13838
|
};
|
|
13806
|
-
//# sourceMappingURL=chunk-
|
|
13839
|
+
//# sourceMappingURL=chunk-PVPLNARY.js.map
|