@integrity-labs/agt-cli 0.28.617 → 0.28.619
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-TYVQNCBU.js → chunk-P6KFZVKA.js} +36 -1
- package/dist/chunk-P6KFZVKA.js.map +1 -0
- package/dist/{chunk-6SJJM4FT.js → chunk-RXC3MTSN.js} +5 -2
- package/dist/chunk-RXC3MTSN.js.map +1 -0
- package/dist/{chunk-NJHZL7CZ.js → chunk-WY7QPFBK.js} +57 -4
- package/dist/chunk-WY7QPFBK.js.map +1 -0
- package/dist/{claude-pair-runtime-QCL2TB6N.js → claude-pair-runtime-3356FFTC.js} +2 -2
- package/dist/lib/manager-worker.js +121 -19
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +35 -0
- package/dist/mcp/origami.js +35 -0
- package/dist/mcp/slack-channel.js +65 -6
- package/dist/mcp/telegram-channel.js +35 -0
- package/dist/{persistent-session-GM3EH2ZU.js → persistent-session-AGPLISL3.js} +3 -3
- package/dist/{responsiveness-probe-VSSJC3MN.js → responsiveness-probe-ITYPPSHM.js} +3 -3
- package/dist/{session-auth-dead-KOKVXPPQ.js → session-auth-dead-Y6ABNWNM.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-6SJJM4FT.js.map +0 -1
- package/dist/chunk-NJHZL7CZ.js.map +0 -1
- package/dist/chunk-TYVQNCBU.js.map +0 -1
- /package/dist/{claude-pair-runtime-QCL2TB6N.js.map → claude-pair-runtime-3356FFTC.js.map} +0 -0
- /package/dist/{persistent-session-GM3EH2ZU.js.map → persistent-session-AGPLISL3.js.map} +0 -0
- /package/dist/{responsiveness-probe-VSSJC3MN.js.map → responsiveness-probe-ITYPPSHM.js.map} +0 -0
- /package/dist/{session-auth-dead-KOKVXPPQ.js.map → session-auth-dead-Y6ABNWNM.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-WY7QPFBK.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-RXC3MTSN.js";
|
|
47
47
|
import {
|
|
48
48
|
AnchorSessionClient,
|
|
49
49
|
CHANNEL_REGISTRY,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
requiredMcpWildcard,
|
|
74
74
|
resolveChannels,
|
|
75
75
|
serializeManifestForSlackCli
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-P6KFZVKA.js";
|
|
77
77
|
import "../chunk-XWVM4KPK.js";
|
|
78
78
|
|
|
79
79
|
// src/bin/agt.ts
|
|
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4909
4909
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4910
4910
|
import chalk18 from "chalk";
|
|
4911
4911
|
import ora16 from "ora";
|
|
4912
|
-
var cliVersion = true ? "0.28.
|
|
4912
|
+
var cliVersion = true ? "0.28.619" : "dev";
|
|
4913
4913
|
async function fetchLatestVersion() {
|
|
4914
4914
|
const host2 = getHost();
|
|
4915
4915
|
if (!host2) return null;
|
|
@@ -6089,7 +6089,7 @@ function handleError(err) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
|
|
6091
6091
|
// src/bin/agt.ts
|
|
6092
|
-
var cliVersion2 = true ? "0.28.
|
|
6092
|
+
var cliVersion2 = true ? "0.28.619" : "dev";
|
|
6093
6093
|
var program = new Command();
|
|
6094
6094
|
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");
|
|
6095
6095
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -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-
|
|
12045
|
+
//# sourceMappingURL=chunk-P6KFZVKA.js.map
|