@integrity-labs/agt-cli 0.28.565 → 0.28.566
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-TOGADVFR.js → chunk-2DEE3OVI.js} +30 -1
- package/dist/{chunk-TOGADVFR.js.map → chunk-2DEE3OVI.js.map} +1 -1
- package/dist/{chunk-I6EWKBSV.js → chunk-IEYDYCXL.js} +3 -3
- package/dist/{claude-pair-runtime-63Y4MIMU.js → claude-pair-runtime-6AOWAYHH.js} +2 -2
- package/dist/lib/manager-worker.js +1217 -416
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.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-MLLLDI5U.js → persistent-session-CI37H442.js} +2 -2
- package/dist/{responsiveness-probe-QMAIFW4P.js → responsiveness-probe-O33QL25H.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-I6EWKBSV.js.map → chunk-IEYDYCXL.js.map} +0 -0
- /package/dist/{claude-pair-runtime-63Y4MIMU.js.map → claude-pair-runtime-6AOWAYHH.js.map} +0 -0
- /package/dist/{persistent-session-MLLLDI5U.js.map → persistent-session-CI37H442.js.map} +0 -0
- /package/dist/{responsiveness-probe-QMAIFW4P.js.map → responsiveness-probe-O33QL25H.js.map} +0 -0
|
@@ -35358,6 +35358,35 @@ var FLAG_REGISTRY = [
|
|
|
35358
35358
|
// AGT_MEMORY_EXTRACTION_ENABLED set keeps that value until the env is retired.
|
|
35359
35359
|
envVar: "AGT_MEMORY_EXTRACTION_ENABLED"
|
|
35360
35360
|
},
|
|
35361
|
+
{
|
|
35362
|
+
key: "tool-call-audit",
|
|
35363
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; ships dark \u2014 when off the manager reads no transcripts and sends nothing, so 0 agent_tool_calls rows fleet-wide is the expected steady state until it is armed. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
35364
|
+
flagType: "boolean",
|
|
35365
|
+
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
35366
|
+
// flag-DB read error must never start shipping tool-call metadata across the
|
|
35367
|
+
// host→control-plane boundary on its own. Same posture as memory-extraction
|
|
35368
|
+
// above, and for the same reason — both read agent transcripts.
|
|
35369
|
+
defaultValue: false,
|
|
35370
|
+
// ADR-0022 operator override. Read by the host flag store's env layer, not
|
|
35371
|
+
// by a hand-written process.env gate — so check-new-env-gates.sh stays quiet
|
|
35372
|
+
// and the escape hatch still exists for a per-host canary.
|
|
35373
|
+
envVar: "AGT_TOOL_CALL_AUDIT_ENABLED",
|
|
35374
|
+
// PLACEHOLDER, deliberately unreachable — see the identical treatment on
|
|
35375
|
+
// `github-broker-credentials` below for the full reasoning. `since` is
|
|
35376
|
+
// advisory: it is read only by computeFlagReach behind GET /admin/reach, so
|
|
35377
|
+
// it changes what an operator is TOLD and does not itself stop a flip.
|
|
35378
|
+
//
|
|
35379
|
+
// The host-side reader ships in whichever agt-cli patch the auto-publish
|
|
35380
|
+
// cuts after this merges, and that number cannot be known while writing
|
|
35381
|
+
// this line. Omitting `since` is NOT the safe default here: it resolves to
|
|
35382
|
+
// `honors`, reporting every host as honouring the flip — including hosts
|
|
35383
|
+
// whose agt-cli has no reader at all. An unreachable value reports `stale`
|
|
35384
|
+
// instead: conservative, and visibly wrong rather than invisibly wrong.
|
|
35385
|
+
//
|
|
35386
|
+
// BEFORE THIS FLAG IS FLIPPED ANYWHERE: replace this with the first
|
|
35387
|
+
// published agt-cli version containing `maybeScanToolCalls`.
|
|
35388
|
+
since: "0.29.0"
|
|
35389
|
+
},
|
|
35361
35390
|
{
|
|
35362
35391
|
key: "conversation-eval-backend",
|
|
35363
35392
|
description: "Backend for host-side conversation-success scoring AND memory extraction (ENG-6581), which share one scorer: anthropic-api = Haiku via a direct Anthropic Messages API fetch (no subprocess); claude-p = Haiku via the `claude -p` subprocess (reuses the agent auth, effectively free under Max but a heavy spawn); local = an OpenAI-compatible loopback endpoint (transcript never leaves the host). Auth for the anthropic-api path comes from AGT_CONV_EVAL_ANTHROPIC_API_KEY (falls back to ANTHROPIC_API_KEY); with no key that path fails closed (eval disabled) rather than reverting to claude-p. Enum.",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -41249,6 +41249,35 @@ var FLAG_REGISTRY = [
|
|
|
41249
41249
|
// AGT_MEMORY_EXTRACTION_ENABLED set keeps that value until the env is retired.
|
|
41250
41250
|
envVar: "AGT_MEMORY_EXTRACTION_ENABLED"
|
|
41251
41251
|
},
|
|
41252
|
+
{
|
|
41253
|
+
key: "tool-call-audit",
|
|
41254
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; ships dark \u2014 when off the manager reads no transcripts and sends nothing, so 0 agent_tool_calls rows fleet-wide is the expected steady state until it is armed. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
41255
|
+
flagType: "boolean",
|
|
41256
|
+
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
41257
|
+
// flag-DB read error must never start shipping tool-call metadata across the
|
|
41258
|
+
// host→control-plane boundary on its own. Same posture as memory-extraction
|
|
41259
|
+
// above, and for the same reason — both read agent transcripts.
|
|
41260
|
+
defaultValue: false,
|
|
41261
|
+
// ADR-0022 operator override. Read by the host flag store's env layer, not
|
|
41262
|
+
// by a hand-written process.env gate — so check-new-env-gates.sh stays quiet
|
|
41263
|
+
// and the escape hatch still exists for a per-host canary.
|
|
41264
|
+
envVar: "AGT_TOOL_CALL_AUDIT_ENABLED",
|
|
41265
|
+
// PLACEHOLDER, deliberately unreachable — see the identical treatment on
|
|
41266
|
+
// `github-broker-credentials` below for the full reasoning. `since` is
|
|
41267
|
+
// advisory: it is read only by computeFlagReach behind GET /admin/reach, so
|
|
41268
|
+
// it changes what an operator is TOLD and does not itself stop a flip.
|
|
41269
|
+
//
|
|
41270
|
+
// The host-side reader ships in whichever agt-cli patch the auto-publish
|
|
41271
|
+
// cuts after this merges, and that number cannot be known while writing
|
|
41272
|
+
// this line. Omitting `since` is NOT the safe default here: it resolves to
|
|
41273
|
+
// `honors`, reporting every host as honouring the flip — including hosts
|
|
41274
|
+
// whose agt-cli has no reader at all. An unreachable value reports `stale`
|
|
41275
|
+
// instead: conservative, and visibly wrong rather than invisibly wrong.
|
|
41276
|
+
//
|
|
41277
|
+
// BEFORE THIS FLAG IS FLIPPED ANYWHERE: replace this with the first
|
|
41278
|
+
// published agt-cli version containing `maybeScanToolCalls`.
|
|
41279
|
+
since: "0.29.0"
|
|
41280
|
+
},
|
|
41252
41281
|
{
|
|
41253
41282
|
key: "conversation-eval-backend",
|
|
41254
41283
|
description: "Backend for host-side conversation-success scoring AND memory extraction (ENG-6581), which share one scorer: anthropic-api = Haiku via a direct Anthropic Messages API fetch (no subprocess); claude-p = Haiku via the `claude -p` subprocess (reuses the agent auth, effectively free under Max but a heavy spawn); local = an OpenAI-compatible loopback endpoint (transcript never leaves the host). Auth for the anthropic-api path comes from AGT_CONV_EVAL_ANTHROPIC_API_KEY (falls back to ANTHROPIC_API_KEY); with no key that path fails closed (eval disabled) rather than reverting to claude-p. Enum.",
|
|
@@ -35694,6 +35694,35 @@ var FLAG_REGISTRY = [
|
|
|
35694
35694
|
// AGT_MEMORY_EXTRACTION_ENABLED set keeps that value until the env is retired.
|
|
35695
35695
|
envVar: "AGT_MEMORY_EXTRACTION_ENABLED"
|
|
35696
35696
|
},
|
|
35697
|
+
{
|
|
35698
|
+
key: "tool-call-audit",
|
|
35699
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; ships dark \u2014 when off the manager reads no transcripts and sends nothing, so 0 agent_tool_calls rows fleet-wide is the expected steady state until it is armed. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
35700
|
+
flagType: "boolean",
|
|
35701
|
+
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
35702
|
+
// flag-DB read error must never start shipping tool-call metadata across the
|
|
35703
|
+
// host→control-plane boundary on its own. Same posture as memory-extraction
|
|
35704
|
+
// above, and for the same reason — both read agent transcripts.
|
|
35705
|
+
defaultValue: false,
|
|
35706
|
+
// ADR-0022 operator override. Read by the host flag store's env layer, not
|
|
35707
|
+
// by a hand-written process.env gate — so check-new-env-gates.sh stays quiet
|
|
35708
|
+
// and the escape hatch still exists for a per-host canary.
|
|
35709
|
+
envVar: "AGT_TOOL_CALL_AUDIT_ENABLED",
|
|
35710
|
+
// PLACEHOLDER, deliberately unreachable — see the identical treatment on
|
|
35711
|
+
// `github-broker-credentials` below for the full reasoning. `since` is
|
|
35712
|
+
// advisory: it is read only by computeFlagReach behind GET /admin/reach, so
|
|
35713
|
+
// it changes what an operator is TOLD and does not itself stop a flip.
|
|
35714
|
+
//
|
|
35715
|
+
// The host-side reader ships in whichever agt-cli patch the auto-publish
|
|
35716
|
+
// cuts after this merges, and that number cannot be known while writing
|
|
35717
|
+
// this line. Omitting `since` is NOT the safe default here: it resolves to
|
|
35718
|
+
// `honors`, reporting every host as honouring the flip — including hosts
|
|
35719
|
+
// whose agt-cli has no reader at all. An unreachable value reports `stale`
|
|
35720
|
+
// instead: conservative, and visibly wrong rather than invisibly wrong.
|
|
35721
|
+
//
|
|
35722
|
+
// BEFORE THIS FLAG IS FLIPPED ANYWHERE: replace this with the first
|
|
35723
|
+
// published agt-cli version containing `maybeScanToolCalls`.
|
|
35724
|
+
since: "0.29.0"
|
|
35725
|
+
},
|
|
35697
35726
|
{
|
|
35698
35727
|
key: "conversation-eval-backend",
|
|
35699
35728
|
description: "Backend for host-side conversation-success scoring AND memory extraction (ENG-6581), which share one scorer: anthropic-api = Haiku via a direct Anthropic Messages API fetch (no subprocess); claude-p = Haiku via the `claude -p` subprocess (reuses the agent auth, effectively free under Max but a heavy spawn); local = an OpenAI-compatible loopback endpoint (transcript never leaves the host). Auth for the anthropic-api path comes from AGT_CONV_EVAL_ANTHROPIC_API_KEY (falls back to ANTHROPIC_API_KEY); with no key that path fails closed (eval disabled) rather than reverting to claude-p. Enum.",
|
|
@@ -35853,6 +35853,35 @@ var FLAG_REGISTRY = [
|
|
|
35853
35853
|
// AGT_MEMORY_EXTRACTION_ENABLED set keeps that value until the env is retired.
|
|
35854
35854
|
envVar: "AGT_MEMORY_EXTRACTION_ENABLED"
|
|
35855
35855
|
},
|
|
35856
|
+
{
|
|
35857
|
+
key: "tool-call-audit",
|
|
35858
|
+
description: "Host-side tool-call audit extraction (ENG-8575, slice 3 of ENG-8427): the manager scans agent transcripts for tool calls, redacts each to identity-without-content, and POSTs them to /host/tool-calls. Boolean gate; ships dark \u2014 when off the manager reads no transcripts and sends nothing, so 0 agent_tool_calls rows fleet-wide is the expected steady state until it is armed. NOT the commercial gate: /host/tool-calls independently re-checks the advanced_governance entitlement and refuses regardless of this flag, because the host is customer-owned infrastructure. This flag is rollout control only.",
|
|
35859
|
+
flagType: "boolean",
|
|
35860
|
+
// Declared safe value is `false` (no extraction). Fail-safe direction: a
|
|
35861
|
+
// flag-DB read error must never start shipping tool-call metadata across the
|
|
35862
|
+
// host→control-plane boundary on its own. Same posture as memory-extraction
|
|
35863
|
+
// above, and for the same reason — both read agent transcripts.
|
|
35864
|
+
defaultValue: false,
|
|
35865
|
+
// ADR-0022 operator override. Read by the host flag store's env layer, not
|
|
35866
|
+
// by a hand-written process.env gate — so check-new-env-gates.sh stays quiet
|
|
35867
|
+
// and the escape hatch still exists for a per-host canary.
|
|
35868
|
+
envVar: "AGT_TOOL_CALL_AUDIT_ENABLED",
|
|
35869
|
+
// PLACEHOLDER, deliberately unreachable — see the identical treatment on
|
|
35870
|
+
// `github-broker-credentials` below for the full reasoning. `since` is
|
|
35871
|
+
// advisory: it is read only by computeFlagReach behind GET /admin/reach, so
|
|
35872
|
+
// it changes what an operator is TOLD and does not itself stop a flip.
|
|
35873
|
+
//
|
|
35874
|
+
// The host-side reader ships in whichever agt-cli patch the auto-publish
|
|
35875
|
+
// cuts after this merges, and that number cannot be known while writing
|
|
35876
|
+
// this line. Omitting `since` is NOT the safe default here: it resolves to
|
|
35877
|
+
// `honors`, reporting every host as honouring the flip — including hosts
|
|
35878
|
+
// whose agt-cli has no reader at all. An unreachable value reports `stale`
|
|
35879
|
+
// instead: conservative, and visibly wrong rather than invisibly wrong.
|
|
35880
|
+
//
|
|
35881
|
+
// BEFORE THIS FLAG IS FLIPPED ANYWHERE: replace this with the first
|
|
35882
|
+
// published agt-cli version containing `maybeScanToolCalls`.
|
|
35883
|
+
since: "0.29.0"
|
|
35884
|
+
},
|
|
35856
35885
|
{
|
|
35857
35886
|
key: "conversation-eval-backend",
|
|
35858
35887
|
description: "Backend for host-side conversation-success scoring AND memory extraction (ENG-6581), which share one scorer: anthropic-api = Haiku via a direct Anthropic Messages API fetch (no subprocess); claude-p = Haiku via the `claude -p` subprocess (reuses the agent auth, effectively free under Max but a heavy spawn); local = an OpenAI-compatible loopback endpoint (transcript never leaves the host). Auth for the anthropic-api path comes from AGT_CONV_EVAL_ANTHROPIC_API_KEY (falls back to ANTHROPIC_API_KEY); with no key that path fails closed (eval disabled) rather than reverting to claude-p. Enum.",
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
writeDirectChatSessionState,
|
|
42
42
|
writeEgressAllowlist,
|
|
43
43
|
writePersistentClaudeWrapper
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2DEE3OVI.js";
|
|
45
45
|
import "./chunk-XWVM4KPK.js";
|
|
46
46
|
export {
|
|
47
47
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
writeEgressAllowlist,
|
|
88
88
|
writePersistentClaudeWrapper
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=persistent-session-
|
|
90
|
+
//# sourceMappingURL=persistent-session-CI37H442.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2DEE3OVI.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -689,4 +689,4 @@ export {
|
|
|
689
689
|
readAndResetSlackReplyBindingClassifications,
|
|
690
690
|
readAndResetSlackReplyTargetClassifications
|
|
691
691
|
};
|
|
692
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
692
|
+
//# sourceMappingURL=responsiveness-probe-O33QL25H.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|