@integrity-labs/agt-cli 0.28.929 → 0.28.931
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-IIIMUCGD.js → chunk-7F32775G.js} +46 -1
- package/dist/{chunk-IIIMUCGD.js.map → chunk-7F32775G.js.map} +1 -1
- package/dist/{chunk-ZNVYUZSM.js → chunk-HC3EDWKC.js} +2 -2
- package/dist/{chunk-VZVCPJC7.js → chunk-HSXAGIVO.js} +4 -4
- package/dist/{claude-pair-runtime-MA4CLC6B.js → claude-pair-runtime-TDP2NJTT.js} +2 -2
- package/dist/lib/manager-worker.js +26 -17
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/augmented-admin.js +5 -1
- package/dist/mcp/direct-chat-channel.js +4 -0
- package/dist/mcp/index.js +4 -0
- package/dist/mcp/origami.js +4 -0
- package/dist/mcp/slack-channel.js +4 -0
- package/dist/mcp/telegram-channel.js +4 -0
- package/dist/{persistent-session-PYQ5U6FU.js → persistent-session-Z7S2MMRH.js} +3 -3
- package/dist/{responsiveness-probe-T4LKSNFO.js → responsiveness-probe-SR62Y32C.js} +3 -3
- package/dist/{session-auth-dead-M5SFWTQH.js → session-auth-dead-25KP23AU.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-ZNVYUZSM.js.map → chunk-HC3EDWKC.js.map} +0 -0
- /package/dist/{chunk-VZVCPJC7.js.map → chunk-HSXAGIVO.js.map} +0 -0
- /package/dist/{claude-pair-runtime-MA4CLC6B.js.map → claude-pair-runtime-TDP2NJTT.js.map} +0 -0
- /package/dist/{persistent-session-PYQ5U6FU.js.map → persistent-session-Z7S2MMRH.js.map} +0 -0
- /package/dist/{responsiveness-probe-T4LKSNFO.js.map → responsiveness-probe-SR62Y32C.js.map} +0 -0
- /package/dist/{session-auth-dead-M5SFWTQH.js.map → session-auth-dead-25KP23AU.js.map} +0 -0
|
@@ -21412,6 +21412,10 @@ var hostVersionsSchema = strictObject({
|
|
|
21412
21412
|
q: external_exports.string().max(128).optional().describe("Case-insensitive substring match on host name."),
|
|
21413
21413
|
status: external_exports.string().max(32).optional().describe("Filter by host status (active | decommissioned)."),
|
|
21414
21414
|
since_hours: external_exports.number().int().min(1).max(720).optional().describe("Window for the restart count, in hours. Default 24."),
|
|
21415
|
+
// ENG-10449: "merged" is not "deployed", and nothing measured the distance.
|
|
21416
|
+
release: external_exports.string().max(32).optional().describe(
|
|
21417
|
+
'agt-cli release to measure reach for, e.g. "0.28.916". Adds a `reach` block saying how many authorized hosts are running that release or later, and NAMES the ones that are not. Get it with `git tag --contains <sha>` and take the lowest `agt-cli-*` tag. Only meaningful for commits that ship in the agt-cli (host-rendered artefacts, _mcp bundles): a packages/api fix reaches hosts via the API deploy and has no relationship to a host version.'
|
|
21418
|
+
),
|
|
21415
21419
|
limit: limitSchema
|
|
21416
21420
|
});
|
|
21417
21421
|
var tailLogsSchema = strictObject({
|
|
@@ -21778,7 +21782,7 @@ server.registerTool(
|
|
|
21778
21782
|
);
|
|
21779
21783
|
server.registerTool(
|
|
21780
21784
|
"debug_host_versions",
|
|
21781
|
-
{ description: 'Fleet-wide host health snapshot for triaging "which host is unhealthy?". Returns a projection per authorized host: { id, name, org, framework, framework_version (the Claude Code version the host runs), last_seen_verdict, agent_count, restart_count, restart_window_hours }. `restart_count` tallies `agent.restart` audit events across the host\'s agents within the window (default 24h) \u2014 a high count is the tell for a thrashing host. Use it to spot version skew (an old framework_version) or restart storms across the fleet at a glance. Filter with { q, status, since_hours, limit }.', inputSchema: hostVersionsSchema },
|
|
21785
|
+
{ description: 'Fleet-wide host health snapshot for triaging "which host is unhealthy?". Returns a projection per authorized host: { id, name, org, framework, framework_version (the Claude Code version the host runs), last_seen_verdict, agent_count, restart_count, restart_window_hours }. `restart_count` tallies `agent.restart` audit events across the host\'s agents within the window (default 24h) \u2014 a high count is the tell for a thrashing host. Use it to spot version skew (an old framework_version) or restart storms across the fleet at a glance. Filter with { q, status, since_hours, limit }. ENG-10449: pass { release } (an agt-cli version, from `git tag --contains <sha>`) to answer "is the fix I merged actually running anywhere yet?" \u2014 the response gains a `reach` block with carrying/stale/unknown counts and the NAMES of the hosts that do not have it. "Merged" is not "deployed", and for a security fix that gap is the whole exposure.', inputSchema: hostVersionsSchema },
|
|
21782
21786
|
async (args) => {
|
|
21783
21787
|
try {
|
|
21784
21788
|
const result = await client.hostVersions(args);
|
|
@@ -35308,6 +35308,10 @@ function parseUsageBanner(text, now = /* @__PURE__ */ new Date()) {
|
|
|
35308
35308
|
return best;
|
|
35309
35309
|
}
|
|
35310
35310
|
|
|
35311
|
+
// ../core/dist/claude-code-usage/banner-remedy.js
|
|
35312
|
+
var BANNER_REMEDY_MAX_LENGTH = 200;
|
|
35313
|
+
var REMEDY_PATTERN = new RegExp("hit\\s+your\\s+(?:(?<qualifier>[a-z0-9'\u2019]+(?:[\\s-]+[a-z0-9'\u2019]+){0,3})\\s+)?limit\\s*\xB7\\s*(?<remedy>[^\xB7]{1," + String(BANNER_REMEDY_MAX_LENGTH * 2) + "}?)\\s*\xB7(?=[^\xB7]{0,80}?\\bresets\\b)", "giu");
|
|
35314
|
+
|
|
35311
35315
|
// ../core/dist/claude-code-usage/run-marker.js
|
|
35312
35316
|
var RUN_MARKER_RE = /<!--\s*agt-run:([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})\s*-->/;
|
|
35313
35317
|
var RUN_MARKER_RE_GLOBAL = new RegExp(RUN_MARKER_RE.source, "g");
|
package/dist/mcp/index.js
CHANGED
|
@@ -27888,6 +27888,10 @@ var BANNER_PATTERNS = [
|
|
|
27888
27888
|
new RegExp(`${SUBJECT}hit\\s+your\\s+(?<qualifier>(?:[a-z0-9'\u2019]+[\\s-]+){0,3}spend)\\s+limit[\\s\\S]{0,160}?resets\\s+(?<reset>${RESET_DATE})`, "i")
|
|
27889
27889
|
];
|
|
27890
27890
|
|
|
27891
|
+
// ../core/dist/claude-code-usage/banner-remedy.js
|
|
27892
|
+
var BANNER_REMEDY_MAX_LENGTH = 200;
|
|
27893
|
+
var REMEDY_PATTERN = new RegExp("hit\\s+your\\s+(?:(?<qualifier>[a-z0-9'\u2019]+(?:[\\s-]+[a-z0-9'\u2019]+){0,3})\\s+)?limit\\s*\xB7\\s*(?<remedy>[^\xB7]{1," + String(BANNER_REMEDY_MAX_LENGTH * 2) + "}?)\\s*\xB7(?=[^\xB7]{0,80}?\\bresets\\b)", "giu");
|
|
27894
|
+
|
|
27891
27895
|
// ../core/dist/claude-code-usage/run-marker.js
|
|
27892
27896
|
var RUN_MARKER_RE = /<!--\s*agt-run:([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})\s*-->/;
|
|
27893
27897
|
var RUN_MARKER_RE_GLOBAL = new RegExp(RUN_MARKER_RE.source, "g");
|
package/dist/mcp/origami.js
CHANGED
|
@@ -41810,6 +41810,10 @@ var BANNER_PATTERNS = [
|
|
|
41810
41810
|
new RegExp(`${SUBJECT}hit\\s+your\\s+(?<qualifier>(?:[a-z0-9'\u2019]+[\\s-]+){0,3}spend)\\s+limit[\\s\\S]{0,160}?resets\\s+(?<reset>${RESET_DATE})`, "i")
|
|
41811
41811
|
];
|
|
41812
41812
|
|
|
41813
|
+
// ../core/dist/claude-code-usage/banner-remedy.js
|
|
41814
|
+
var BANNER_REMEDY_MAX_LENGTH = 200;
|
|
41815
|
+
var REMEDY_PATTERN = new RegExp("hit\\s+your\\s+(?:(?<qualifier>[a-z0-9'\u2019]+(?:[\\s-]+[a-z0-9'\u2019]+){0,3})\\s+)?limit\\s*\xB7\\s*(?<remedy>[^\xB7]{1," + String(BANNER_REMEDY_MAX_LENGTH * 2) + "}?)\\s*\xB7(?=[^\xB7]{0,80}?\\bresets\\b)", "giu");
|
|
41816
|
+
|
|
41813
41817
|
// ../core/dist/claude-code-usage/run-marker.js
|
|
41814
41818
|
var RUN_MARKER_RE = /<!--\s*agt-run:([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})\s*-->/;
|
|
41815
41819
|
var RUN_MARKER_RE_GLOBAL = new RegExp(RUN_MARKER_RE.source, "g");
|
|
@@ -36181,6 +36181,10 @@ function parseUsageBanner(text, now = /* @__PURE__ */ new Date()) {
|
|
|
36181
36181
|
return best;
|
|
36182
36182
|
}
|
|
36183
36183
|
|
|
36184
|
+
// ../core/dist/claude-code-usage/banner-remedy.js
|
|
36185
|
+
var BANNER_REMEDY_MAX_LENGTH = 200;
|
|
36186
|
+
var REMEDY_PATTERN = new RegExp("hit\\s+your\\s+(?:(?<qualifier>[a-z0-9'\u2019]+(?:[\\s-]+[a-z0-9'\u2019]+){0,3})\\s+)?limit\\s*\xB7\\s*(?<remedy>[^\xB7]{1," + String(BANNER_REMEDY_MAX_LENGTH * 2) + "}?)\\s*\xB7(?=[^\xB7]{0,80}?\\bresets\\b)", "giu");
|
|
36187
|
+
|
|
36184
36188
|
// ../core/dist/claude-code-usage/run-marker.js
|
|
36185
36189
|
var RUN_MARKER_RE = /<!--\s*agt-run:([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})\s*-->/;
|
|
36186
36190
|
var RUN_MARKER_RE_GLOBAL = new RegExp(RUN_MARKER_RE.source, "g");
|
|
@@ -36217,6 +36217,10 @@ function parseUsageBanner(text, now = /* @__PURE__ */ new Date()) {
|
|
|
36217
36217
|
return best;
|
|
36218
36218
|
}
|
|
36219
36219
|
|
|
36220
|
+
// ../core/dist/claude-code-usage/banner-remedy.js
|
|
36221
|
+
var BANNER_REMEDY_MAX_LENGTH = 200;
|
|
36222
|
+
var REMEDY_PATTERN = new RegExp("hit\\s+your\\s+(?:(?<qualifier>[a-z0-9'\u2019]+(?:[\\s-]+[a-z0-9'\u2019]+){0,3})\\s+)?limit\\s*\xB7\\s*(?<remedy>[^\xB7]{1," + String(BANNER_REMEDY_MAX_LENGTH * 2) + "}?)\\s*\xB7(?=[^\xB7]{0,80}?\\bresets\\b)", "giu");
|
|
36223
|
+
|
|
36220
36224
|
// ../core/dist/claude-code-usage/run-marker.js
|
|
36221
36225
|
var RUN_MARKER_RE = /<!--\s*agt-run:([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})\s*-->/;
|
|
36222
36226
|
var RUN_MARKER_RE_GLOBAL = new RegExp(RUN_MARKER_RE.source, "g");
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
writeDirectChatSessionState,
|
|
63
63
|
writeEgressAllowlist,
|
|
64
64
|
writePersistentClaudeWrapper
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-HC3EDWKC.js";
|
|
66
|
+
import "./chunk-7F32775G.js";
|
|
67
67
|
import "./chunk-XWVM4KPK.js";
|
|
68
68
|
export {
|
|
69
69
|
CLAUDE_HOST_WIDE,
|
|
@@ -130,4 +130,4 @@ export {
|
|
|
130
130
|
writeEgressAllowlist,
|
|
131
131
|
writePersistentClaudeWrapper
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=persistent-session-
|
|
133
|
+
//# sourceMappingURL=persistent-session-Z7S2MMRH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-HC3EDWKC.js";
|
|
4
|
+
import "./chunk-7F32775G.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -799,4 +799,4 @@ export {
|
|
|
799
799
|
readAndResetSlackReplyBindingClassifications,
|
|
800
800
|
readAndResetSlackReplyTargetClassifications
|
|
801
801
|
};
|
|
802
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
802
|
+
//# sourceMappingURL=responsiveness-probe-SR62Y32C.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7F32775G.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-25KP23AU.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|