@integrity-labs/agt-cli 0.28.98 → 0.28.100
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/bin/agt.js.map +1 -1
- package/dist/{chunk-TRKWWYRN.js → chunk-5DYG42FL.js} +45 -2
- package/dist/chunk-5DYG42FL.js.map +1 -0
- package/dist/{chunk-5NQ652SP.js → chunk-WNN5WT42.js} +2 -2
- package/dist/{chunk-5ZYUJDOX.js → chunk-ZDBCKRVT.js} +3 -3
- package/dist/{chunk-5ZYUJDOX.js.map → chunk-ZDBCKRVT.js.map} +1 -1
- package/dist/{claude-pair-runtime-2ISKH4M2.js → claude-pair-runtime-JP3TEGDV.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +14 -0
- package/dist/mcp/telegram-channel.js +23 -3
- package/dist/{persistent-session-KAOPVQPC.js → persistent-session-6CU3BIHP.js} +3 -3
- package/dist/{responsiveness-probe-OJPF6XDF.js → responsiveness-probe-GLZZZ2OK.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-TRKWWYRN.js.map +0 -1
- /package/dist/{chunk-5NQ652SP.js.map → chunk-WNN5WT42.js.map} +0 -0
- /package/dist/{claude-pair-runtime-2ISKH4M2.js.map → claude-pair-runtime-JP3TEGDV.js.map} +0 -0
- /package/dist/{persistent-session-KAOPVQPC.js.map → persistent-session-6CU3BIHP.js.map} +0 -0
- /package/dist/{responsiveness-probe-OJPF6XDF.js.map → responsiveness-probe-GLZZZ2OK.js.map} +0 -0
|
@@ -1060,6 +1060,16 @@ var FLAG_REGISTRY = [
|
|
|
1060
1060
|
// gate is off rather than rendering a button that 403s.
|
|
1061
1061
|
public: true
|
|
1062
1062
|
},
|
|
1063
|
+
{
|
|
1064
|
+
key: "admin-send-keys",
|
|
1065
|
+
description: "Interactive send-keys rescue on the live terminal (ENG-6611): POST /admin/agents/:id/send-keys runs a buttons-only, allowlisted tmux send-keys (Enter, Ctrl-C, Esc, arrows, single-char answer + Enter) over SSM to rescue a wedged agent. It is a customer-host WRITE, so it ships dark and the route ALSO hard-gates the target to an is_internal (IL-owned) org regardless of this flag - customer agents are a separate later decision. Gate evaluated server-side at the send endpoint, independent of Diagnostics-tab visibility (the ENG-6639 firewall). No free-text (that is ENG-6643).",
|
|
1066
|
+
flagType: "boolean",
|
|
1067
|
+
defaultValue: false,
|
|
1068
|
+
// Capability change on customer infrastructure; flipping it is worth an explicit confirm.
|
|
1069
|
+
sensitive: true,
|
|
1070
|
+
// Exposed to the browser so the live modal can show/hide the quick-action row.
|
|
1071
|
+
public: true
|
|
1072
|
+
},
|
|
1063
1073
|
{
|
|
1064
1074
|
key: "channel-replay",
|
|
1065
1075
|
description: "Durable channel-inbound replay (ENG-5969): re-push an uncleared pending-inbound marker when the session is alive so a dropped fire-once notification is recovered (bounded by MAX_MARKER_REPLAYS). Boolean gate; ships dark \u2014 per-host canary (agt-aws-1) before any fleet flip (ENG-6354). It actively re-delivers inbound, so it stays inert until flipped on per host/org.",
|
|
@@ -3603,7 +3613,13 @@ var HTTP_PROBE_PROVIDERS = /* @__PURE__ */ new Set([
|
|
|
3603
3613
|
"linear",
|
|
3604
3614
|
"google-workspace",
|
|
3605
3615
|
"xero",
|
|
3606
|
-
"v0"
|
|
3616
|
+
"v0",
|
|
3617
|
+
// ENG-6642: Buffer is a direct-API GraphQL integration (api_key → Bearer),
|
|
3618
|
+
// not a CLI tool. Route it to the read-only org-details HTTP probe so health
|
|
3619
|
+
// reflects real API reachability, not a `buffer` binary on PATH. This wins
|
|
3620
|
+
// over its toolkit source_type, so the probe is honest regardless of how the
|
|
3621
|
+
// toolkit row is classified.
|
|
3622
|
+
"buffer"
|
|
3607
3623
|
// ENG-6100: GitHub is deliberately NOT here. This set drives the ASYNC
|
|
3608
3624
|
// connectivity monitor's routing, where github (source_type='native')
|
|
3609
3625
|
// stays host-side (cli_command — `gh`, the credential the agent actually
|
|
@@ -4295,10 +4311,37 @@ async function probeBearerJson(url, creds, fetchImpl, interpret, extraHeaders) {
|
|
|
4295
4311
|
return networkOutcome(err);
|
|
4296
4312
|
}
|
|
4297
4313
|
}
|
|
4314
|
+
async function probeBuffer(creds, fetchImpl) {
|
|
4315
|
+
const key = creds.api_key ?? creds.access_token;
|
|
4316
|
+
if (!key)
|
|
4317
|
+
return { status: "down", message: "No Buffer credential present" };
|
|
4318
|
+
try {
|
|
4319
|
+
const res = await timedFetch2(fetchImpl, "https://api.buffer.com", {
|
|
4320
|
+
method: "POST",
|
|
4321
|
+
headers: { "Content-Type": "application/json", Authorization: `Bearer ${key}` },
|
|
4322
|
+
body: JSON.stringify({ query: "{ account { organizations { id name } } }" })
|
|
4323
|
+
});
|
|
4324
|
+
if (!res.ok) {
|
|
4325
|
+
const message = res.status === 401 ? "Buffer API key expired or revoked \u2014 reconnect required" : `Buffer API returned ${res.status}`;
|
|
4326
|
+
return { status: statusForHttp(res.status), message };
|
|
4327
|
+
}
|
|
4328
|
+
const body = await res.json();
|
|
4329
|
+
if (body.errors?.length)
|
|
4330
|
+
return { status: "down", message: body.errors[0]?.message ?? "Unknown Buffer error" };
|
|
4331
|
+
const orgs = body.data?.account?.organizations ?? [];
|
|
4332
|
+
if (!orgs.length)
|
|
4333
|
+
return { status: "down", message: "No Buffer organizations on this account" };
|
|
4334
|
+
return { status: "ok", message: `Connected to ${orgs[0]?.name ?? "Buffer"}` };
|
|
4335
|
+
} catch (err) {
|
|
4336
|
+
return networkOutcome(err);
|
|
4337
|
+
}
|
|
4338
|
+
}
|
|
4298
4339
|
async function probeHttpProvider(definitionId, credentials, fetchImpl = fetch) {
|
|
4299
4340
|
switch (definitionId) {
|
|
4300
4341
|
case "linear":
|
|
4301
4342
|
return probeLinear(credentials, fetchImpl);
|
|
4343
|
+
case "buffer":
|
|
4344
|
+
return probeBuffer(credentials, fetchImpl);
|
|
4302
4345
|
case "google-workspace":
|
|
4303
4346
|
return probeBearerJson("https://www.googleapis.com/oauth2/v2/userinfo", credentials, fetchImpl, (body) => {
|
|
4304
4347
|
const info = body;
|
|
@@ -5663,4 +5706,4 @@ export {
|
|
|
5663
5706
|
parseEnvIntegrations,
|
|
5664
5707
|
probeMcpEnvSubstitution
|
|
5665
5708
|
};
|
|
5666
|
-
//# sourceMappingURL=chunk-
|
|
5709
|
+
//# sourceMappingURL=chunk-5DYG42FL.js.map
|