@integrity-labs/agt-cli 0.28.417 → 0.28.419
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/{chunk-I5SDCW2T.js → chunk-IKQHNN7I.js} +20 -5
- package/dist/{chunk-I5SDCW2T.js.map → chunk-IKQHNN7I.js.map} +1 -1
- package/dist/{chunk-NDDVFICX.js → chunk-W63FDJBY.js} +18 -10
- package/dist/chunk-W63FDJBY.js.map +1 -0
- package/dist/{claude-pair-runtime-I4Q66W7S.js → claude-pair-runtime-UOH5MOK4.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/direct-chat-channel.js +19 -4
- package/dist/mcp/origami.js +19 -4
- package/dist/mcp/slack-channel.js +19 -4
- package/dist/mcp/telegram-channel.js +19 -4
- package/dist/mcp/xero.js +1251 -1096
- package/dist/{persistent-session-EW7GTES3.js → persistent-session-AYCUX4DJ.js} +2 -2
- package/dist/{responsiveness-probe-HP3NKDGQ.js → responsiveness-probe-AQUOYHCE.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-NDDVFICX.js.map +0 -1
- /package/dist/{claude-pair-runtime-I4Q66W7S.js.map → claude-pair-runtime-UOH5MOK4.js.map} +0 -0
- /package/dist/{persistent-session-EW7GTES3.js.map → persistent-session-AYCUX4DJ.js.map} +0 -0
- /package/dist/{responsiveness-probe-HP3NKDGQ.js.map → responsiveness-probe-AQUOYHCE.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-W63FDJBY.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
renderTemplate,
|
|
71
71
|
resolveChannels,
|
|
72
72
|
serializeManifestForSlackCli
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-IKQHNN7I.js";
|
|
74
74
|
import "../chunk-XWVM4KPK.js";
|
|
75
75
|
|
|
76
76
|
// src/bin/agt.ts
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.419" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.419" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -7838,9 +7838,9 @@ var FLAG_REGISTRY = [
|
|
|
7838
7838
|
// migration 20260714000005. flag-archive-allow: team-scoped-visibility superseded by unconditional default (ENG-7754)
|
|
7839
7839
|
{
|
|
7840
7840
|
key: "channel-busy-ack",
|
|
7841
|
-
description: "Busy-but-alive ack notices when an agent is mid-task (ENG-6180).
|
|
7841
|
+
description: "Busy-but-alive ack notices when an agent is mid-task (ENG-6180). Default ON (ENG-8039: the feature was introduced dark on 2026-07-16 and never fired in prod). Set AGT_CHANNEL_BUSY_ACK_ENABLED=false or override via the Feature Flags admin page to disable per-host.",
|
|
7842
7842
|
flagType: "boolean",
|
|
7843
|
-
defaultValue:
|
|
7843
|
+
defaultValue: true,
|
|
7844
7844
|
envVar: "AGT_CHANNEL_BUSY_ACK_ENABLED"
|
|
7845
7845
|
},
|
|
7846
7846
|
{
|
|
@@ -8054,9 +8054,9 @@ var FLAG_REGISTRY = [
|
|
|
8054
8054
|
},
|
|
8055
8055
|
{
|
|
8056
8056
|
key: "compaction-notice",
|
|
8057
|
-
description: 'Compaction courtesy notice (ENG-7339): when a managed Claude Code session compacts its context, the persistent session pauses and stops replying for a stretch, which looks identical to a dead agent from the channel. When ON, the generated PreCompact hook finds the conversation the user is actively on (the last <channel ...> tag in the transcript) and drops a notice into the matching <channel>-notice-outbox; the channel MCP server (alive while the Claude process compacts) posts a short "reorganizing my memory, back shortly" line. The notice path never clears the pending-inbound marker, so the genuine reply the agent still owes after compaction is unaffected. No active channel tag \u21D2 silent (idle agents never broadcast).
|
|
8057
|
+
description: 'Compaction courtesy notice (ENG-7339): when a managed Claude Code session compacts its context, the persistent session pauses and stops replying for a stretch, which looks identical to a dead agent from the channel. When ON, the generated PreCompact hook finds the conversation the user is actively on (the last <channel ...> tag in the transcript) and drops a notice into the matching <channel>-notice-outbox; the channel MCP server (alive while the Claude process compacts) posts a short "reorganizing my memory, back shortly" line. The notice path never clears the pending-inbound marker, so the genuine reply the agent still owes after compaction is unaffected. No active channel tag \u21D2 silent (idle agents never broadcast). Default ON (ENG-8040: introduced dark on 2026-07-23 via ENG-7339, never activated in prod; Brad Bond reported Sherlock went silent mid-compaction with no notice). Set AGT_COMPACTION_NOTICE_ENABLED=false or override via the Feature Flags admin page to disable per-host. When OFF the hook writes nothing and the consumer drops any stray notice unsent.',
|
|
8058
8058
|
flagType: "boolean",
|
|
8059
|
-
defaultValue:
|
|
8059
|
+
defaultValue: true,
|
|
8060
8060
|
envVar: "AGT_COMPACTION_NOTICE_ENABLED"
|
|
8061
8061
|
},
|
|
8062
8062
|
{
|
|
@@ -8230,6 +8230,21 @@ var FLAG_REGISTRY = [
|
|
|
8230
8230
|
// AGT_CONV_EVAL_BACKEND keeps that value until the env var is retired.
|
|
8231
8231
|
envVar: "AGT_CONV_EVAL_BACKEND"
|
|
8232
8232
|
},
|
|
8233
|
+
{
|
|
8234
|
+
key: "synthetic-probe-enabled",
|
|
8235
|
+
description: 'Global gate for the agent synthetic-liveness cron (ENG-8074). When OFF, the cron exits after reading the flag \u2014 no probes sent, no metrics emitted, no CloudWatch alarms fired, near-zero DB footprint. Ships dark (OFF) because the probe cron was generating false positives (probe_timeout on angie for 7+ days while healthy, ENG-8048) and had open cron_invocation_errors alarms (since 2026-07-23). Flip ON per-environment via the admin Feature Flags page once the reliability issues are resolved. The existing AUGMENTED_SYNTHETIC_PROBE_ENABLED env var is the declared envVar for this flag (ADR-0022): set it to "true"/"1" to force-enable (env takes precedence over the DB stage value), or "false"/"0" to force-disable without a DB lookup. Evaluated as a global stage value by the central cron (no per-org targeting). Boolean gate.',
|
|
8236
|
+
flagType: "boolean",
|
|
8237
|
+
// Safe/dark default: false = probe off. This encodes the ENG-8074 intent (disable
|
|
8238
|
+
// in prod until reliability issues are resolved) and is the fail-safe direction for
|
|
8239
|
+
// a flag-DB read error — a hiccup degrades to keeping the cron dormant rather than
|
|
8240
|
+
// silently re-arming a broken probe fleet-wide.
|
|
8241
|
+
// The env var AUGMENTED_SYNTHETIC_PROBE_ENABLED was the pre-flag emergency kill switch
|
|
8242
|
+
// (read as `!== 'false'`, so unset = probe ON). The flag inverts this: unset env var
|
|
8243
|
+
// now resolves to the flag default (OFF). Set AUGMENTED_SYNTHETIC_PROBE_ENABLED=true to
|
|
8244
|
+
// explicitly re-arm the probe via env, or flip the flag ON from the admin UI.
|
|
8245
|
+
defaultValue: false,
|
|
8246
|
+
envVar: "AUGMENTED_SYNTHETIC_PROBE_ENABLED"
|
|
8247
|
+
},
|
|
8233
8248
|
{
|
|
8234
8249
|
key: "synthetic-probe-on-metered-hosts",
|
|
8235
8250
|
description: "Synthetic liveness probing of OpenRouter-metered agents (ENG-7235). On a host whose claude_auth_mode='openrouter' every model call is per-token cost, so the hourly synthetic probe (a full inbound\u2192session\u2192model\u2192outbound round-trip whose only output is a probe_ack) is real spend for zero deliverable - unlike a Max-subscription host where it is effectively free. When OFF (default) the synthetic-probe cron skips OpenRouter-mode agents entirely; their liveness falls back to the zero-token signals (pane-activity ENG-5399 + manager heartbeat + inbound-loop liveness ENG-5614). When ON, metered agents are probed like every other agent (the pre-ENG-7235 behaviour) - the explicit opt-in for an operator who wants the end-to-end check and accepts the cost. Subscription / api_key hosts are unaffected either way. Evaluated as a global stage value by the central cron (no per-org targeting in v1). Boolean gate.",
|
|
@@ -12676,4 +12691,4 @@ export {
|
|
|
12676
12691
|
stopAllSessionsAndWait,
|
|
12677
12692
|
getProjectDir
|
|
12678
12693
|
};
|
|
12679
|
-
//# sourceMappingURL=chunk-
|
|
12694
|
+
//# sourceMappingURL=chunk-IKQHNN7I.js.map
|