@integrity-labs/agt-cli 0.28.746 → 0.28.747
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-PD3Y3C46.js → chunk-62TAD4HO.js} +16 -1
- package/dist/chunk-62TAD4HO.js.map +1 -0
- package/dist/{chunk-EQMRNMLX.js → chunk-OYASDDR4.js} +4 -4
- package/dist/{chunk-4JHG7DJW.js → chunk-R35LZDRH.js} +2 -2
- package/dist/{claude-pair-runtime-LEWSA5RI.js → claude-pair-runtime-REZ462KO.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +15 -0
- package/dist/mcp/index.js +73 -0
- package/dist/mcp/origami.js +15 -0
- package/dist/mcp/slack-channel.js +15 -0
- package/dist/mcp/telegram-channel.js +128 -4
- package/dist/{persistent-session-5FNVPGNL.js → persistent-session-V6L4Y2P5.js} +3 -3
- package/dist/{responsiveness-probe-NQIXADTX.js → responsiveness-probe-RDF5NWRH.js} +3 -3
- package/dist/{session-auth-dead-3UZTQDWC.js → session-auth-dead-KOCHZPYI.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-PD3Y3C46.js.map +0 -1
- /package/dist/{chunk-EQMRNMLX.js.map → chunk-OYASDDR4.js.map} +0 -0
- /package/dist/{chunk-4JHG7DJW.js.map → chunk-R35LZDRH.js.map} +0 -0
- /package/dist/{claude-pair-runtime-LEWSA5RI.js.map → claude-pair-runtime-REZ462KO.js.map} +0 -0
- /package/dist/{persistent-session-5FNVPGNL.js.map → persistent-session-V6L4Y2P5.js.map} +0 -0
- /package/dist/{responsiveness-probe-NQIXADTX.js.map → responsiveness-probe-RDF5NWRH.js.map} +0 -0
- /package/dist/{session-auth-dead-3UZTQDWC.js.map → session-auth-dead-KOCHZPYI.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
success,
|
|
42
42
|
table,
|
|
43
43
|
warn
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-OYASDDR4.js";
|
|
45
45
|
import {
|
|
46
46
|
getProjectDir,
|
|
47
47
|
isSessionResumeDisabled,
|
|
48
48
|
readDirectChatSessionState
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-R35LZDRH.js";
|
|
50
50
|
import {
|
|
51
51
|
AnchorSessionClient,
|
|
52
52
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-62TAD4HO.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.747" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6654,7 +6654,7 @@ function handleError(err) {
|
|
|
6654
6654
|
}
|
|
6655
6655
|
|
|
6656
6656
|
// src/bin/agt.ts
|
|
6657
|
-
var cliVersion2 = true ? "0.28.
|
|
6657
|
+
var cliVersion2 = true ? "0.28.747" : "dev";
|
|
6658
6658
|
var program = new Command();
|
|
6659
6659
|
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");
|
|
6660
6660
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4808,6 +4808,21 @@ var FLAG_REGISTRY = [
|
|
|
4808
4808
|
// approval requests; flipping it is a capability change worth confirming.
|
|
4809
4809
|
sensitive: true
|
|
4810
4810
|
},
|
|
4811
|
+
{
|
|
4812
|
+
key: "agent-self-pause",
|
|
4813
|
+
description: "CS-1632: let an agent stop ITSELF via the self_pause tool when it believes its channel is compromised or is being used to inject instructions. Writes agents.status=paused with paused_reason=agent_self_pause, and only a human can resume from the console. DEFAULTS ON, unlike most gates here: a safety control that has to be armed in advance is missing on every agent nobody armed, including the one being attacked. Turn it OFF per org if an agent misuses it \u2014 that is the reverse lever, and it is instant and central, which a host env var would not be. NO envVar: the consumer is the API route, and a bare AGT_*_ENABLED gate would trip check-new-env-gates.sh (same reasoning as v2-writes above).",
|
|
4814
|
+
flagType: "boolean",
|
|
4815
|
+
// Declared safe value is TRUE, and that inverts the usual posture on purpose.
|
|
4816
|
+
// For most gates the safe default is "off, ships dark". Here OFF means an
|
|
4817
|
+
// agent under a suspected compromise cannot stop, so a flag-read error must
|
|
4818
|
+
// NOT disable the control — the route evaluates this fail-OPEN.
|
|
4819
|
+
defaultValue: true,
|
|
4820
|
+
// Turning it off removes an agent's ability to stop itself during an
|
|
4821
|
+
// injection attempt; turning it on grants a (possibly prompt-injected) agent
|
|
4822
|
+
// a denial-of-service primitive against itself. Both directions are a
|
|
4823
|
+
// capability change worth confirming.
|
|
4824
|
+
sensitive: true
|
|
4825
|
+
},
|
|
4811
4826
|
{
|
|
4812
4827
|
key: "approval-sod",
|
|
4813
4828
|
description: "Separation-of-duties (SoD) guard for the HITL approval FSM (ENG-6459): off = disabled, shadow = resolve principals + audit conflicts only (no block), enforce = fail-closed refuse of a self-approval or an unresolvable approver. Compares approver vs requesting-human on a canonical organization_people.person_id. This is the org-wide DEFAULT; a per-(team, verb) approval_policies.sod_mode row overrides it (ENG-6678: relax low-risk verbs while keeping enforce on money verbs). Ships dark (off); soak in shadow before enforce.",
|
|
@@ -13037,4 +13052,4 @@ export {
|
|
|
13037
13052
|
peekCurrentSession,
|
|
13038
13053
|
readDailySessionPin
|
|
13039
13054
|
};
|
|
13040
|
-
//# sourceMappingURL=chunk-
|
|
13055
|
+
//# sourceMappingURL=chunk-62TAD4HO.js.map
|