@integrity-labs/agt-cli 0.28.616 → 0.28.618

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.
Files changed (25) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-BGZOJTLR.js → chunk-CKCXOIN3.js} +22 -4
  3. package/dist/{chunk-BGZOJTLR.js.map → chunk-CKCXOIN3.js.map} +1 -1
  4. package/dist/{chunk-TYVQNCBU.js → chunk-P6KFZVKA.js} +36 -1
  5. package/dist/chunk-P6KFZVKA.js.map +1 -0
  6. package/dist/{chunk-6SJJM4FT.js → chunk-RXC3MTSN.js} +5 -2
  7. package/dist/chunk-RXC3MTSN.js.map +1 -0
  8. package/dist/{claude-pair-runtime-QCL2TB6N.js → claude-pair-runtime-3356FFTC.js} +2 -2
  9. package/dist/lib/manager-worker.js +59 -13
  10. package/dist/lib/manager-worker.js.map +1 -1
  11. package/dist/mcp/direct-chat-channel.js +35 -0
  12. package/dist/mcp/index.js +2 -2
  13. package/dist/mcp/origami.js +35 -0
  14. package/dist/mcp/slack-channel.js +35 -0
  15. package/dist/mcp/telegram-channel.js +35 -0
  16. package/dist/{persistent-session-GM3EH2ZU.js → persistent-session-AGPLISL3.js} +3 -3
  17. package/dist/{responsiveness-probe-VSSJC3MN.js → responsiveness-probe-ITYPPSHM.js} +3 -3
  18. package/dist/{session-auth-dead-KOKVXPPQ.js → session-auth-dead-Y6ABNWNM.js} +2 -2
  19. package/package.json +1 -1
  20. package/dist/chunk-6SJJM4FT.js.map +0 -1
  21. package/dist/chunk-TYVQNCBU.js.map +0 -1
  22. /package/dist/{claude-pair-runtime-QCL2TB6N.js.map → claude-pair-runtime-3356FFTC.js.map} +0 -0
  23. /package/dist/{persistent-session-GM3EH2ZU.js.map → persistent-session-AGPLISL3.js.map} +0 -0
  24. /package/dist/{responsiveness-probe-VSSJC3MN.js.map → responsiveness-probe-ITYPPSHM.js.map} +0 -0
  25. /package/dist/{session-auth-dead-KOKVXPPQ.js.map → session-auth-dead-Y6ABNWNM.js.map} +0 -0
@@ -4200,6 +4200,41 @@ var FLAG_REGISTRY = [
4200
4200
  // it MOVES data, so mutations require explicit confirmation (ADR-0022 §4).
4201
4201
  sensitive: true
4202
4202
  },
4203
+ {
4204
+ key: "per-agent-host-credentials",
4205
+ description: "Per-agent host credentials on DEDICATED hosts (ENG-8992, extending ADR-0042 pt3b). When ON, the manager mints a per-agent org-scoped `tlk_` key at spawn and injects it as that container's AGT_API_KEY, instead of forwarding the one HOST-WIDE key into every agent. Today every container on a dedicated host holds the same credential, so an agent can exchange a claim-less token and read a SIBLING agent's decrypted integration credentials via POST /host/agent-integrations. The request-time guard that stops this (verifyHostAgentAccess reading the token's agent_id claim, ENG-7449) is ALREADY live in production - it no-ops only because no container ever carries a scoped key, so this flag gives the existing gate something to check rather than adding a new one. POOL hosts are NOT governed by this flag: per-agent scope is mandatory there (ENG-7489) and stays unconditional. Read by the MANAGER at spawn (hostFlagStore), so a central flip applies to subsequent spawns - already-running agents keep their current credential until they respawn, which is what makes the rollout staged rather than a fleet-wide cutover. Ships dark (default off). AGT_PER_AGENT_HOST_CREDENTIALS_ENABLED is the per-host escape hatch and kill switch; precedence is env override > flag value > this default.",
4206
+ flagType: "boolean",
4207
+ // Declared safe value is `false` = keep forwarding the shared host key. A
4208
+ // flag-read error must not change which credential a container is spawned
4209
+ // with; the fail-safe direction here is "no behaviour change", and a mint
4210
+ // FAILURE (once armed) separately fails the spawn CLOSED rather than
4211
+ // falling back to the shared key.
4212
+ defaultValue: false,
4213
+ envVar: "AGT_PER_AGENT_HOST_CREDENTIALS_ENABLED",
4214
+ // Disabling this RESTORES the shared host-wide key to every container, and
4215
+ // with it the cross-agent credential read ENG-8992 closes. A credential-scope
4216
+ // reduction should not be one click away without confirmation — same posture
4217
+ // as `github-broker-credentials`, the other credential-delivery flag.
4218
+ sensitive: true,
4219
+ // The reader is host-side (`hostFlagStore().getBoolean(...)` in the manager),
4220
+ // so a host on an older agt-cli has no consumer code: it keeps forwarding the
4221
+ // shared key no matter what the flag says. Without `since`, the flip-reach
4222
+ // modal would report every recently-seen host as honoring the flip — the
4223
+ // dangerous direction, because it reads as "armed" when it is not.
4224
+ //
4225
+ // PLACEHOLDER, deliberately above every published version (npm latest was
4226
+ // 0.28.612 when this landed). The reader ships in whatever the auto-publish
4227
+ // patch-bump produces AFTER this merges, which is not knowable here. Per the
4228
+ // same reasoning recorded on the `agt-bin` flag: `since` is ADVISORY, read
4229
+ // only by `computeFlagReach`; it changes what an operator is TOLD, it does
4230
+ // not gate a flip. So an over-high placeholder is safe (reach under-reports,
4231
+ // nobody flips), and a GUESSED number is not.
4232
+ //
4233
+ // BEFORE FLIPPING THIS ANYWHERE: replace with the exact first published
4234
+ // agt-cli version whose `spawnSession` carries the `-e AGT_API_KEY=` push.
4235
+ // The rollout runbook gates on it.
4236
+ since: "0.29.0"
4237
+ },
4203
4238
  {
4204
4239
  key: "agent-hours-billing-enabled",
4205
4240
  description: "Agent-hours (utilisation) billing (ENG-7910). Per-org gate; ships dark. When on for an org, its closed billing periods are settled into org_agent_hours_settlements from the plan/override agent-hours terms, and the customer billing surface shows used-vs-included hours + projected overage. Off = no settlement written, no charge, surface hidden. Launch prices are seeded in plan_billing_terms; flip on per-org for a controlled rollout.",
@@ -12007,4 +12042,4 @@ export {
12007
12042
  minutesSinceLocalMidnight,
12008
12043
  peekCurrentSession
12009
12044
  };
12010
- //# sourceMappingURL=chunk-TYVQNCBU.js.map
12045
+ //# sourceMappingURL=chunk-P6KFZVKA.js.map