@integrity-labs/agt-cli 0.28.669 → 0.28.671
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-U5EI5SXJ.js → chunk-57XP5OG6.js} +24 -12
- package/dist/chunk-57XP5OG6.js.map +1 -0
- package/dist/{chunk-4GA4K2BF.js → chunk-DWFN5PMF.js} +54 -22
- package/dist/chunk-DWFN5PMF.js.map +1 -0
- package/dist/{chunk-TUQQYFGV.js → chunk-ZU2BHLUS.js} +4 -4
- package/dist/chunk-ZU2BHLUS.js.map +1 -0
- package/dist/{claude-pair-runtime-ZBI2RWAO.js → claude-pair-runtime-ANNQRKO4.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +52 -20
- package/dist/mcp/index.js +52 -20
- package/dist/mcp/origami.js +52 -20
- package/dist/mcp/slack-channel.js +52 -20
- package/dist/mcp/telegram-channel.js +52 -20
- package/dist/{persistent-session-4LP3DQ5U.js → persistent-session-LTFB4M53.js} +3 -3
- package/dist/{responsiveness-probe-P3GHBH2Y.js → responsiveness-probe-P2S3UMRE.js} +3 -3
- package/dist/{session-auth-dead-3QN24ELV.js → session-auth-dead-YHSQBOB4.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4GA4K2BF.js.map +0 -1
- package/dist/chunk-TUQQYFGV.js.map +0 -1
- package/dist/chunk-U5EI5SXJ.js.map +0 -1
- /package/dist/{claude-pair-runtime-ZBI2RWAO.js.map → claude-pair-runtime-ANNQRKO4.js.map} +0 -0
- /package/dist/{persistent-session-4LP3DQ5U.js.map → persistent-session-LTFB4M53.js.map} +0 -0
- /package/dist/{responsiveness-probe-P3GHBH2Y.js.map → responsiveness-probe-P2S3UMRE.js.map} +0 -0
- /package/dist/{session-auth-dead-3QN24ELV.js.map → session-auth-dead-YHSQBOB4.js.map} +0 -0
|
@@ -297,7 +297,7 @@ is the failure this rule exists to stop.
|
|
|
297
297
|
var ACTIVE_TASKS_MAX_CHARS = 800;
|
|
298
298
|
var ACTIVE_TASKS_TRUNCATION_SUFFIX = "\u2026 (truncated)\n\n";
|
|
299
299
|
function sanitizePromptText(value) {
|
|
300
|
-
return value.replace(/[
|
|
300
|
+
return value.replace(/[\u0000-\u001F\u007F]+/g, " ").replace(/\s+/g, " ").trim();
|
|
301
301
|
}
|
|
302
302
|
function buildActiveTasksSection(activeTasks) {
|
|
303
303
|
if (!activeTasks || activeTasks.length === 0)
|
|
@@ -4982,29 +4982,40 @@ var FLAG_REGISTRY = [
|
|
|
4982
4982
|
// write path, not a host's local environment file. One more reason not to
|
|
4983
4983
|
// canary with it.
|
|
4984
4984
|
envVar: "AGT_MEMORY_TOMBSTONES_ENABLED",
|
|
4985
|
-
//
|
|
4985
|
+
// Pinned to the first PUBLISHED agt-cli whose manager carries a WORKING
|
|
4986
|
+
// reader, verified against the tarball rather than inferred from the merge.
|
|
4987
|
+
// ENG-9229 + ENG-9257 merged as 91a67cb08, but auto-publish patch-bumps
|
|
4988
|
+
// from whatever is on main, so the merge does not name a version: a second
|
|
4989
|
+
// CLI-touching merge landed eight minutes later, and `latest` was already
|
|
4990
|
+
// past our cut by the time anyone looked. What settles it is
|
|
4991
|
+
// `npm pack @integrity-labs/agt-cli@<v>` + grep of
|
|
4992
|
+
// package/dist/lib/manager-worker.js (the manager is the actual reader; the
|
|
4993
|
+
// dist/mcp/* occurrences are bundling artifacts). 0.28.666 carries NONE of
|
|
4994
|
+
// `_memory-retirement`, `memory-file-tombstones`, `applyMemoryTombstones`,
|
|
4995
|
+
// `memory-retirement-report`; 0.28.667 carries all four.
|
|
4986
4996
|
//
|
|
4987
|
-
//
|
|
4988
|
-
//
|
|
4989
|
-
//
|
|
4990
|
-
//
|
|
4991
|
-
//
|
|
4992
|
-
//
|
|
4993
|
-
//
|
|
4997
|
+
// ALL FOUR, because this has to name the first build where flipping the
|
|
4998
|
+
// flag does what the flag SAYS, not merely the first build with a reader:
|
|
4999
|
+
// the write-time manifest gate, the tombstone pass sitting above the
|
|
5000
|
+
// download short-circuit, the response hash covering the tombstone list,
|
|
5001
|
+
// and the report-back. Ship a build missing any of those and reach reports
|
|
5002
|
+
// `honors` for hosts that silently never act. Here they shipped in one
|
|
5003
|
+
// merge so they could not be split across versions - that is a property of
|
|
5004
|
+
// this cut, not a guarantee about the next one.
|
|
4994
5005
|
//
|
|
4995
|
-
//
|
|
4996
|
-
//
|
|
4997
|
-
//
|
|
5006
|
+
// MOVE THIS PIN whenever a change alters what arming the flag DOES on a
|
|
5007
|
+
// host, to the first version carrying the CHANGED behaviour, and verify
|
|
5008
|
+
// that one against the tarball too (apps/cli/package.json is not the
|
|
5009
|
+
// published number). See `tool-call-audit` above, where the pin was NOT
|
|
5010
|
+
// moved at such a merge and went stale for a day.
|
|
4998
5011
|
//
|
|
4999
|
-
//
|
|
5000
|
-
//
|
|
5001
|
-
//
|
|
5002
|
-
//
|
|
5003
|
-
//
|
|
5004
|
-
//
|
|
5005
|
-
|
|
5006
|
-
// of those and reach reports `honors` for hosts that silently never act.
|
|
5007
|
-
since: "99.99.99"
|
|
5012
|
+
// WHY THIS FIELD IS NEVER OMITTED, whatever it is set to. classifyHostReach
|
|
5013
|
+
// (packages/core/src/feature-flags/reach.ts) maps an empty `since` to
|
|
5014
|
+
// `honors` for EVERY host including ones with no reader at all, and maps an
|
|
5015
|
+
// unparseable one to `unknown` - which collides with the "host reports no
|
|
5016
|
+
// agt_version" class, so an operator cannot tell "not shipped yet" from
|
|
5017
|
+
// "these hosts are unreadable". Both outlive this particular version.
|
|
5018
|
+
since: "0.28.667"
|
|
5008
5019
|
},
|
|
5009
5020
|
{
|
|
5010
5021
|
key: "conversation-eval-backend",
|
|
@@ -5658,6 +5669,27 @@ var FLAG_REGISTRY = [
|
|
|
5658
5669
|
// never auto-attach an integration nobody asked for, and both ENG-8332
|
|
5659
5670
|
// prerequisites above are still open.
|
|
5660
5671
|
defaultValue: false
|
|
5672
|
+
},
|
|
5673
|
+
{
|
|
5674
|
+
key: "host-right-sizing",
|
|
5675
|
+
description: 'ADR-0072. Gates the HostRightSizer cron, which evaluates every managed EC2 host against 7 days of memory and CPU and (at enforce) resizes it one rung inside the host\'s own maintenance window. off = the cron returns immediately: nothing is read, nothing is written. shadow = evaluate, persist a verdict row per host, and post the weekly summary \u2014 NO resize, and no actor code runs. enforce = as shadow, plus enqueue resizes. AS OF PHASE 1 (ENG-9324) THERE IS NO ACTOR, SO `enforce` BEHAVES EXACTLY LIKE `shadow`: selecting it records the mode on each verdict row and changes nothing else, and no host is resized. This note comes out when the Phase 3 actor lands; until then treat enforce as shadow-with-a-label, not as an armed fleet. Ships dark: this mechanism ends in a stop/start of a customer production host, so an unreachable flag store must resolve to NOT acting. TWO BOUNDS WORTH KNOWING BEFORE FLIPPING. (1) off is not a stop button for in-flight work \u2014 HostResizeDispatcher reads only ec2_pending_instance_type and knows nothing about this flag, so flipping to off stops new enqueues and lets every already-enqueued host complete its stop/modify/start; combined with the ~5-minute eval cache the true blast unit is one tick of open windows. A real kill switch has to live inside the dispatcher. (2) BYO hosts (ADR-0028) are EXCLUDED in Phase 1, not merely clamped to shadow: their instances live in the customer AWS account while the cron authenticates only with the platform provisioner role, so their metrics read as empty and every evaluation would land as unknown. ADR-0072 \xA79 intends them to be shadow-only ("we recommend; they resize") and making that real needs the per-host cross_account_role_arn resolved - its own slice. Pool hosts (ADR-0042) are excluded too, while host_kind is unset in prod. Both are eligibility predicates applied by the cron, documented here so the admin page showing enforce for such an org is not read as behaviour.',
|
|
5676
|
+
flagType: "enum",
|
|
5677
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
5678
|
+
// Ships dark at `off`, NOT `shadow`. Diverging deliberately from
|
|
5679
|
+
// slack-scheduled-channel-guard, whose shadow is a free local log line:
|
|
5680
|
+
// THIS shadow spends a fleet-wide CloudWatch GetMetricData sweep per tick
|
|
5681
|
+
// and writes a row per host, so defaulting to shadow would newly bill and
|
|
5682
|
+
// newly write for every org that never opted in. shadow is the per-canary
|
|
5683
|
+
// opt-in; enforce is the audited flip after the Phase 2 review.
|
|
5684
|
+
defaultValue: "off",
|
|
5685
|
+
// Evaluated centrally, in the API cron — there is no host-side reader, so
|
|
5686
|
+
// no `since` and no dependence on fleet agt-cli convergence.
|
|
5687
|
+
// NOTE: deliberately NO envVar. ADR-0072 §9 wants this gate scoped per
|
|
5688
|
+
// org/host, and an envVar would be highest-precedence (ADR-0022) — a
|
|
5689
|
+
// literal in sst.config.ts would pin every stage and make the admin page a
|
|
5690
|
+
// control that does nothing, which is the ENG-8303 class exactly.
|
|
5691
|
+
// enforce arms automated downtime on a customer's production host.
|
|
5692
|
+
sensitive: true
|
|
5661
5693
|
}
|
|
5662
5694
|
];
|
|
5663
5695
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -12421,4 +12453,4 @@ export {
|
|
|
12421
12453
|
minutesSinceLocalMidnight,
|
|
12422
12454
|
peekCurrentSession
|
|
12423
12455
|
};
|
|
12424
|
-
//# sourceMappingURL=chunk-
|
|
12456
|
+
//# sourceMappingURL=chunk-DWFN5PMF.js.map
|