@integrity-labs/agt-cli 0.28.854 → 0.28.855
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-2E2NKILK.js → chunk-7YVKIYVW.js} +2 -2
- package/dist/{chunk-4Z4GFQAD.js → chunk-IHBWFKOW.js} +30 -1
- package/dist/chunk-IHBWFKOW.js.map +1 -0
- package/dist/{chunk-FHOLG6VL.js → chunk-RKCG63PT.js} +4 -4
- package/dist/{claude-pair-runtime-63TA3LT5.js → claude-pair-runtime-FFUPKRVC.js} +2 -2
- package/dist/lib/manager-worker.js +37 -21
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +29 -0
- package/dist/mcp/index.js +29 -0
- package/dist/mcp/origami.js +29 -0
- package/dist/mcp/slack-channel.js +29 -0
- package/dist/mcp/telegram-channel.js +29 -0
- package/dist/{persistent-session-N4DJ4VXZ.js → persistent-session-CNVU25IF.js} +3 -3
- package/dist/{responsiveness-probe-GYE5MIVB.js → responsiveness-probe-TZOKOH6C.js} +3 -3
- package/dist/{session-auth-dead-K6B6D3WR.js → session-auth-dead-GRYXFDYD.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4Z4GFQAD.js.map +0 -1
- /package/dist/{chunk-2E2NKILK.js.map → chunk-7YVKIYVW.js.map} +0 -0
- /package/dist/{chunk-FHOLG6VL.js.map → chunk-RKCG63PT.js.map} +0 -0
- /package/dist/{claude-pair-runtime-63TA3LT5.js.map → claude-pair-runtime-FFUPKRVC.js.map} +0 -0
- /package/dist/{persistent-session-N4DJ4VXZ.js.map → persistent-session-CNVU25IF.js.map} +0 -0
- /package/dist/{responsiveness-probe-GYE5MIVB.js.map → responsiveness-probe-TZOKOH6C.js.map} +0 -0
- /package/dist/{session-auth-dead-K6B6D3WR.js.map → session-auth-dead-GRYXFDYD.js.map} +0 -0
|
@@ -36216,6 +36216,35 @@ var FLAG_REGISTRY = [
|
|
|
36216
36216
|
defaultValue: false,
|
|
36217
36217
|
envVar: "AGT_MODEL_API_ERROR_REPORTING_ENABLED"
|
|
36218
36218
|
},
|
|
36219
|
+
{
|
|
36220
|
+
key: "model-policy-failover-trigger",
|
|
36221
|
+
description: "Automatic model-policy failover (ENG-10156, ADR-0074). off = the trigger does not run. shadow = it evaluates every ingested model-API error against the policy's failover_trigger config and LOGS the decision with its inputs, acting on nothing. Enum gate; ships OFF.",
|
|
36222
|
+
flagType: "enum",
|
|
36223
|
+
// `armed` is DELIBERATELY not an allowed value yet.
|
|
36224
|
+
//
|
|
36225
|
+
// Nothing writes model_policy_failover_state with source='auto' — that is
|
|
36226
|
+
// the actuation half, and it is gated behind a recorded shadow soak
|
|
36227
|
+
// (ENG-10156 AC8). Offering `armed` now would be a setting an operator can
|
|
36228
|
+
// select, that reports success, and that does nothing: the failure mode is
|
|
36229
|
+
// worse than the missing feature, because it looks like a fleet running
|
|
36230
|
+
// with automatic failover enabled. Add it in the same change that makes it
|
|
36231
|
+
// act, not before.
|
|
36232
|
+
allowedValues: ["off", "shadow"],
|
|
36233
|
+
// OFF, not `shadow`, and the contrast with `channel-quarantine-mode` is the
|
|
36234
|
+
// reason: that flag defaults to `shadow` because shadow WAS the live
|
|
36235
|
+
// manager's compiled behaviour, so anything else would have changed the
|
|
36236
|
+
// fleet. Here there is no incumbent behaviour to preserve — nothing has ever
|
|
36237
|
+
// evaluated this — so `off` is the honest default and turning shadow on is a
|
|
36238
|
+
// deliberate act with a soak attached to it.
|
|
36239
|
+
defaultValue: "off",
|
|
36240
|
+
envVar: "AGT_MODEL_POLICY_FAILOVER_TRIGGER_MODE",
|
|
36241
|
+
// Marked sensitive ahead of `armed` existing: the value this flag will
|
|
36242
|
+
// eventually carry moves a host onto a secondary binding whose credential
|
|
36243
|
+
// may be ours (credential_owner: 'platform'), i.e. it spends money with no
|
|
36244
|
+
// human in the loop. Declaring that now costs nothing and means the audited
|
|
36245
|
+
// -flip behaviour is already in place on the day the value is added.
|
|
36246
|
+
sensitive: true
|
|
36247
|
+
},
|
|
36219
36248
|
{
|
|
36220
36249
|
key: "claude-md-skills-index",
|
|
36221
36250
|
description: `Manager injects the "## Available Skills" bullet list (one line per installed skill, name + frontmatter description) into the agent's project CLAUDE.md. Claude Code already surfaces installed skills to the model natively from .claude/skills/*/SKILL.md, so on current models the list is duplicated context - and an expensive one: it measured 12,045 chars across 29 skills on a prod agent, pushing project/CLAUDE.md to 51k against Claude Code's 40,000-char ceiling, past which the tail of the agent's own system prompt is silently truncated. OFF suppresses ONLY the skill bullets; the "Updating Integrations" guidance in the same managed block is real instruction and is always kept. Defaults ON (today's behaviour) - flip OFF per org to reclaim the headroom.`,
|
package/dist/mcp/index.js
CHANGED
|
@@ -28486,6 +28486,35 @@ var FLAG_REGISTRY = [
|
|
|
28486
28486
|
defaultValue: false,
|
|
28487
28487
|
envVar: "AGT_MODEL_API_ERROR_REPORTING_ENABLED"
|
|
28488
28488
|
},
|
|
28489
|
+
{
|
|
28490
|
+
key: "model-policy-failover-trigger",
|
|
28491
|
+
description: "Automatic model-policy failover (ENG-10156, ADR-0074). off = the trigger does not run. shadow = it evaluates every ingested model-API error against the policy's failover_trigger config and LOGS the decision with its inputs, acting on nothing. Enum gate; ships OFF.",
|
|
28492
|
+
flagType: "enum",
|
|
28493
|
+
// `armed` is DELIBERATELY not an allowed value yet.
|
|
28494
|
+
//
|
|
28495
|
+
// Nothing writes model_policy_failover_state with source='auto' — that is
|
|
28496
|
+
// the actuation half, and it is gated behind a recorded shadow soak
|
|
28497
|
+
// (ENG-10156 AC8). Offering `armed` now would be a setting an operator can
|
|
28498
|
+
// select, that reports success, and that does nothing: the failure mode is
|
|
28499
|
+
// worse than the missing feature, because it looks like a fleet running
|
|
28500
|
+
// with automatic failover enabled. Add it in the same change that makes it
|
|
28501
|
+
// act, not before.
|
|
28502
|
+
allowedValues: ["off", "shadow"],
|
|
28503
|
+
// OFF, not `shadow`, and the contrast with `channel-quarantine-mode` is the
|
|
28504
|
+
// reason: that flag defaults to `shadow` because shadow WAS the live
|
|
28505
|
+
// manager's compiled behaviour, so anything else would have changed the
|
|
28506
|
+
// fleet. Here there is no incumbent behaviour to preserve — nothing has ever
|
|
28507
|
+
// evaluated this — so `off` is the honest default and turning shadow on is a
|
|
28508
|
+
// deliberate act with a soak attached to it.
|
|
28509
|
+
defaultValue: "off",
|
|
28510
|
+
envVar: "AGT_MODEL_POLICY_FAILOVER_TRIGGER_MODE",
|
|
28511
|
+
// Marked sensitive ahead of `armed` existing: the value this flag will
|
|
28512
|
+
// eventually carry moves a host onto a secondary binding whose credential
|
|
28513
|
+
// may be ours (credential_owner: 'platform'), i.e. it spends money with no
|
|
28514
|
+
// human in the loop. Declaring that now costs nothing and means the audited
|
|
28515
|
+
// -flip behaviour is already in place on the day the value is added.
|
|
28516
|
+
sensitive: true
|
|
28517
|
+
},
|
|
28489
28518
|
{
|
|
28490
28519
|
key: "claude-md-skills-index",
|
|
28491
28520
|
description: `Manager injects the "## Available Skills" bullet list (one line per installed skill, name + frontmatter description) into the agent's project CLAUDE.md. Claude Code already surfaces installed skills to the model natively from .claude/skills/*/SKILL.md, so on current models the list is duplicated context - and an expensive one: it measured 12,045 chars across 29 skills on a prod agent, pushing project/CLAUDE.md to 51k against Claude Code's 40,000-char ceiling, past which the tail of the agent's own system prompt is silently truncated. OFF suppresses ONLY the skill bullets; the "Updating Integrations" guidance in the same managed block is real instruction and is always kept. Defaults ON (today's behaviour) - flip OFF per org to reclaim the headroom.`,
|
package/dist/mcp/origami.js
CHANGED
|
@@ -42439,6 +42439,35 @@ var FLAG_REGISTRY = [
|
|
|
42439
42439
|
defaultValue: false,
|
|
42440
42440
|
envVar: "AGT_MODEL_API_ERROR_REPORTING_ENABLED"
|
|
42441
42441
|
},
|
|
42442
|
+
{
|
|
42443
|
+
key: "model-policy-failover-trigger",
|
|
42444
|
+
description: "Automatic model-policy failover (ENG-10156, ADR-0074). off = the trigger does not run. shadow = it evaluates every ingested model-API error against the policy's failover_trigger config and LOGS the decision with its inputs, acting on nothing. Enum gate; ships OFF.",
|
|
42445
|
+
flagType: "enum",
|
|
42446
|
+
// `armed` is DELIBERATELY not an allowed value yet.
|
|
42447
|
+
//
|
|
42448
|
+
// Nothing writes model_policy_failover_state with source='auto' — that is
|
|
42449
|
+
// the actuation half, and it is gated behind a recorded shadow soak
|
|
42450
|
+
// (ENG-10156 AC8). Offering `armed` now would be a setting an operator can
|
|
42451
|
+
// select, that reports success, and that does nothing: the failure mode is
|
|
42452
|
+
// worse than the missing feature, because it looks like a fleet running
|
|
42453
|
+
// with automatic failover enabled. Add it in the same change that makes it
|
|
42454
|
+
// act, not before.
|
|
42455
|
+
allowedValues: ["off", "shadow"],
|
|
42456
|
+
// OFF, not `shadow`, and the contrast with `channel-quarantine-mode` is the
|
|
42457
|
+
// reason: that flag defaults to `shadow` because shadow WAS the live
|
|
42458
|
+
// manager's compiled behaviour, so anything else would have changed the
|
|
42459
|
+
// fleet. Here there is no incumbent behaviour to preserve — nothing has ever
|
|
42460
|
+
// evaluated this — so `off` is the honest default and turning shadow on is a
|
|
42461
|
+
// deliberate act with a soak attached to it.
|
|
42462
|
+
defaultValue: "off",
|
|
42463
|
+
envVar: "AGT_MODEL_POLICY_FAILOVER_TRIGGER_MODE",
|
|
42464
|
+
// Marked sensitive ahead of `armed` existing: the value this flag will
|
|
42465
|
+
// eventually carry moves a host onto a secondary binding whose credential
|
|
42466
|
+
// may be ours (credential_owner: 'platform'), i.e. it spends money with no
|
|
42467
|
+
// human in the loop. Declaring that now costs nothing and means the audited
|
|
42468
|
+
// -flip behaviour is already in place on the day the value is added.
|
|
42469
|
+
sensitive: true
|
|
42470
|
+
},
|
|
42442
42471
|
{
|
|
42443
42472
|
key: "claude-md-skills-index",
|
|
42444
42473
|
description: `Manager injects the "## Available Skills" bullet list (one line per installed skill, name + frontmatter description) into the agent's project CLAUDE.md. Claude Code already surfaces installed skills to the model natively from .claude/skills/*/SKILL.md, so on current models the list is duplicated context - and an expensive one: it measured 12,045 chars across 29 skills on a prod agent, pushing project/CLAUDE.md to 51k against Claude Code's 40,000-char ceiling, past which the tail of the agent's own system prompt is silently truncated. OFF suppresses ONLY the skill bullets; the "Updating Integrations" guidance in the same managed block is real instruction and is always kept. Defaults ON (today's behaviour) - flip OFF per org to reclaim the headroom.`,
|
|
@@ -36994,6 +36994,35 @@ var FLAG_REGISTRY = [
|
|
|
36994
36994
|
defaultValue: false,
|
|
36995
36995
|
envVar: "AGT_MODEL_API_ERROR_REPORTING_ENABLED"
|
|
36996
36996
|
},
|
|
36997
|
+
{
|
|
36998
|
+
key: "model-policy-failover-trigger",
|
|
36999
|
+
description: "Automatic model-policy failover (ENG-10156, ADR-0074). off = the trigger does not run. shadow = it evaluates every ingested model-API error against the policy's failover_trigger config and LOGS the decision with its inputs, acting on nothing. Enum gate; ships OFF.",
|
|
37000
|
+
flagType: "enum",
|
|
37001
|
+
// `armed` is DELIBERATELY not an allowed value yet.
|
|
37002
|
+
//
|
|
37003
|
+
// Nothing writes model_policy_failover_state with source='auto' — that is
|
|
37004
|
+
// the actuation half, and it is gated behind a recorded shadow soak
|
|
37005
|
+
// (ENG-10156 AC8). Offering `armed` now would be a setting an operator can
|
|
37006
|
+
// select, that reports success, and that does nothing: the failure mode is
|
|
37007
|
+
// worse than the missing feature, because it looks like a fleet running
|
|
37008
|
+
// with automatic failover enabled. Add it in the same change that makes it
|
|
37009
|
+
// act, not before.
|
|
37010
|
+
allowedValues: ["off", "shadow"],
|
|
37011
|
+
// OFF, not `shadow`, and the contrast with `channel-quarantine-mode` is the
|
|
37012
|
+
// reason: that flag defaults to `shadow` because shadow WAS the live
|
|
37013
|
+
// manager's compiled behaviour, so anything else would have changed the
|
|
37014
|
+
// fleet. Here there is no incumbent behaviour to preserve — nothing has ever
|
|
37015
|
+
// evaluated this — so `off` is the honest default and turning shadow on is a
|
|
37016
|
+
// deliberate act with a soak attached to it.
|
|
37017
|
+
defaultValue: "off",
|
|
37018
|
+
envVar: "AGT_MODEL_POLICY_FAILOVER_TRIGGER_MODE",
|
|
37019
|
+
// Marked sensitive ahead of `armed` existing: the value this flag will
|
|
37020
|
+
// eventually carry moves a host onto a secondary binding whose credential
|
|
37021
|
+
// may be ours (credential_owner: 'platform'), i.e. it spends money with no
|
|
37022
|
+
// human in the loop. Declaring that now costs nothing and means the audited
|
|
37023
|
+
// -flip behaviour is already in place on the day the value is added.
|
|
37024
|
+
sensitive: true
|
|
37025
|
+
},
|
|
36997
37026
|
{
|
|
36998
37027
|
key: "claude-md-skills-index",
|
|
36999
37028
|
description: `Manager injects the "## Available Skills" bullet list (one line per installed skill, name + frontmatter description) into the agent's project CLAUDE.md. Claude Code already surfaces installed skills to the model natively from .claude/skills/*/SKILL.md, so on current models the list is duplicated context - and an expensive one: it measured 12,045 chars across 29 skills on a prod agent, pushing project/CLAUDE.md to 51k against Claude Code's 40,000-char ceiling, past which the tail of the agent's own system prompt is silently truncated. OFF suppresses ONLY the skill bullets; the "Updating Integrations" guidance in the same managed block is real instruction and is always kept. Defaults ON (today's behaviour) - flip OFF per org to reclaim the headroom.`,
|
|
@@ -37126,6 +37126,35 @@ var FLAG_REGISTRY = [
|
|
|
37126
37126
|
defaultValue: false,
|
|
37127
37127
|
envVar: "AGT_MODEL_API_ERROR_REPORTING_ENABLED"
|
|
37128
37128
|
},
|
|
37129
|
+
{
|
|
37130
|
+
key: "model-policy-failover-trigger",
|
|
37131
|
+
description: "Automatic model-policy failover (ENG-10156, ADR-0074). off = the trigger does not run. shadow = it evaluates every ingested model-API error against the policy's failover_trigger config and LOGS the decision with its inputs, acting on nothing. Enum gate; ships OFF.",
|
|
37132
|
+
flagType: "enum",
|
|
37133
|
+
// `armed` is DELIBERATELY not an allowed value yet.
|
|
37134
|
+
//
|
|
37135
|
+
// Nothing writes model_policy_failover_state with source='auto' — that is
|
|
37136
|
+
// the actuation half, and it is gated behind a recorded shadow soak
|
|
37137
|
+
// (ENG-10156 AC8). Offering `armed` now would be a setting an operator can
|
|
37138
|
+
// select, that reports success, and that does nothing: the failure mode is
|
|
37139
|
+
// worse than the missing feature, because it looks like a fleet running
|
|
37140
|
+
// with automatic failover enabled. Add it in the same change that makes it
|
|
37141
|
+
// act, not before.
|
|
37142
|
+
allowedValues: ["off", "shadow"],
|
|
37143
|
+
// OFF, not `shadow`, and the contrast with `channel-quarantine-mode` is the
|
|
37144
|
+
// reason: that flag defaults to `shadow` because shadow WAS the live
|
|
37145
|
+
// manager's compiled behaviour, so anything else would have changed the
|
|
37146
|
+
// fleet. Here there is no incumbent behaviour to preserve — nothing has ever
|
|
37147
|
+
// evaluated this — so `off` is the honest default and turning shadow on is a
|
|
37148
|
+
// deliberate act with a soak attached to it.
|
|
37149
|
+
defaultValue: "off",
|
|
37150
|
+
envVar: "AGT_MODEL_POLICY_FAILOVER_TRIGGER_MODE",
|
|
37151
|
+
// Marked sensitive ahead of `armed` existing: the value this flag will
|
|
37152
|
+
// eventually carry moves a host onto a secondary binding whose credential
|
|
37153
|
+
// may be ours (credential_owner: 'platform'), i.e. it spends money with no
|
|
37154
|
+
// human in the loop. Declaring that now costs nothing and means the audited
|
|
37155
|
+
// -flip behaviour is already in place on the day the value is added.
|
|
37156
|
+
sensitive: true
|
|
37157
|
+
},
|
|
37129
37158
|
{
|
|
37130
37159
|
key: "claude-md-skills-index",
|
|
37131
37160
|
description: `Manager injects the "## Available Skills" bullet list (one line per installed skill, name + frontmatter description) into the agent's project CLAUDE.md. Claude Code already surfaces installed skills to the model natively from .claude/skills/*/SKILL.md, so on current models the list is duplicated context - and an expensive one: it measured 12,045 chars across 29 skills on a prod agent, pushing project/CLAUDE.md to 51k against Claude Code's 40,000-char ceiling, past which the tail of the agent's own system prompt is silently truncated. OFF suppresses ONLY the skill bullets; the "Updating Integrations" guidance in the same managed block is real instruction and is always kept. Defaults ON (today's behaviour) - flip OFF per org to reclaim the headroom.`,
|
|
@@ -54,8 +54,8 @@ import {
|
|
|
54
54
|
writeDirectChatSessionState,
|
|
55
55
|
writeEgressAllowlist,
|
|
56
56
|
writePersistentClaudeWrapper
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-7YVKIYVW.js";
|
|
58
|
+
import "./chunk-IHBWFKOW.js";
|
|
59
59
|
import "./chunk-XWVM4KPK.js";
|
|
60
60
|
export {
|
|
61
61
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -114,4 +114,4 @@ export {
|
|
|
114
114
|
writeEgressAllowlist,
|
|
115
115
|
writePersistentClaudeWrapper
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=persistent-session-
|
|
117
|
+
//# sourceMappingURL=persistent-session-CNVU25IF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7YVKIYVW.js";
|
|
4
|
+
import "./chunk-IHBWFKOW.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -764,4 +764,4 @@ export {
|
|
|
764
764
|
readAndResetSlackReplyBindingClassifications,
|
|
765
765
|
readAndResetSlackReplyTargetClassifications
|
|
766
766
|
};
|
|
767
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
767
|
+
//# sourceMappingURL=responsiveness-probe-TZOKOH6C.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IHBWFKOW.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-GRYXFDYD.js.map
|