@integrity-labs/agt-cli 0.28.357 → 0.28.359
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-LDIKBFDR.js → chunk-FAGXXKWZ.js} +24 -9
- package/dist/{chunk-LDIKBFDR.js.map → chunk-FAGXXKWZ.js.map} +1 -1
- package/dist/{chunk-GAWEPU6C.js → chunk-TVFNWNSP.js} +81 -6
- package/dist/chunk-TVFNWNSP.js.map +1 -0
- package/dist/{claude-pair-runtime-LLUV4KX6.js → claude-pair-runtime-ASRAOWWQ.js} +2 -2
- package/dist/lib/manager-worker.js +92 -20
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +23 -8
- package/dist/mcp/origami.js +23 -8
- package/dist/mcp/slack-channel.js +23 -8
- package/dist/mcp/telegram-channel.js +23 -8
- package/dist/{persistent-session-SZ5VHS4C.js → persistent-session-R7JOZNIC.js} +2 -2
- package/dist/{responsiveness-probe-2D64EQAU.js → responsiveness-probe-7SUERVWL.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-GAWEPU6C.js.map +0 -1
- /package/dist/{claude-pair-runtime-LLUV4KX6.js.map → claude-pair-runtime-ASRAOWWQ.js.map} +0 -0
- /package/dist/{persistent-session-SZ5VHS4C.js.map → persistent-session-R7JOZNIC.js.map} +0 -0
- /package/dist/{responsiveness-probe-2D64EQAU.js.map → responsiveness-probe-7SUERVWL.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-TVFNWNSP.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
renderTemplate,
|
|
71
71
|
resolveChannels,
|
|
72
72
|
serializeManifestForSlackCli
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-FAGXXKWZ.js";
|
|
74
74
|
import "../chunk-XWVM4KPK.js";
|
|
75
75
|
|
|
76
76
|
// src/bin/agt.ts
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.359" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.359" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -7628,6 +7628,16 @@ var FLAG_REGISTRY = [
|
|
|
7628
7628
|
// be in the browser-exposed public map.
|
|
7629
7629
|
public: true
|
|
7630
7630
|
},
|
|
7631
|
+
{
|
|
7632
|
+
key: "opencode-live-view",
|
|
7633
|
+
description: "opencode-native Live View / Diagnostics (ENG-7927): the agent Diagnostics tab renders a structured session transcript (messages + tool calls + reasoning) for opencode agents instead of the tmux pane, by polling GET /admin/agents/:id/opencode-transcript (which SSM-reads a redacted snapshot the manager writes) ~every 3s for a bounded window. Boolean gate; ships dark; when OFF the route returns feature_disabled and opencode agents show the static diagnostics snapshot. Claude Code agents are unaffected (they keep the tmux pane).",
|
|
7634
|
+
flagType: "boolean",
|
|
7635
|
+
defaultValue: false,
|
|
7636
|
+
// Read client-side by the Diagnostics tab (usePublicBooleanFlag), so it must
|
|
7637
|
+
// be in the browser-exposed public map. Additive viewer gate (like
|
|
7638
|
+
// admin-live-pane): not sensitive.
|
|
7639
|
+
public: true
|
|
7640
|
+
},
|
|
7631
7641
|
{
|
|
7632
7642
|
key: "github-backup",
|
|
7633
7643
|
description: "Org-level GitHub daily auto-backup (ENG-7646, ENG-7582 Part 2). Rollout kill-switch; ships dark. The enterprise ENTITLEMENT is enforced separately via plans.github_backup (getPlanForOrg); this flag only stages rollout on top of that entitlement.",
|
|
@@ -8152,7 +8162,7 @@ var FLAG_REGISTRY = [
|
|
|
8152
8162
|
},
|
|
8153
8163
|
{
|
|
8154
8164
|
key: "composio-hitl-mode",
|
|
8155
|
-
description: "Composio managed-toolkits HITL gate (ENG-6027): off = kill switch, shadow = resolve + audit the tier decision but never block, enforce = block write_high_risk+ calls (
|
|
8165
|
+
description: "Composio managed-toolkits HITL gate (ENG-6027): off = kill switch, shadow = resolve + audit the tier decision but never block, enforce = block write_high_risk+ calls and route them to Human Approval (an Approve/Deny card). Since ENG-7828 enforce ALWAYS routes to a Human Approval card by default; set hitl-approval-routing=off to make enforce a hard block with no approval instead. Per-org rollout from the admin Feature Flags page; ENG-7672 migrated this off the fleet-wide COMPOSIO_HITL_MODE env var.",
|
|
8156
8166
|
flagType: "enum",
|
|
8157
8167
|
allowedValues: ["off", "shadow", "enforce"],
|
|
8158
8168
|
// Declared safe value is `shadow` (resolve + audit, never block) — NOT `off`.
|
|
@@ -8171,18 +8181,23 @@ var FLAG_REGISTRY = [
|
|
|
8171
8181
|
},
|
|
8172
8182
|
{
|
|
8173
8183
|
key: "hitl-approval-routing",
|
|
8174
|
-
description: "Routing for HITL-blocked integration calls (ENG-6028):
|
|
8184
|
+
description: "Routing for HITL-blocked integration calls (ENG-6028, ENG-7828): on (default) = route a blocked call into the Human Approval flow (an approval_requests row + an Approve/Deny card on Slack/Telegram, or a structured reply-to-approve prompt on channels with no buttons). off = kill switch: the blocked call hard-stops with an honest terminal block and NO approval is offered, for an org/agent that must never send even with approval. Needs a block first (composio-hitl-mode=enforce, or the always-on Direct-HTTP lane). ENG-7828 flipped the default from off to on so an org at enforce always produces a Human Approval card instead of a prose dead-end. Per-org rollout; ENG-7672 migrated this off the fleet-wide HITL_APPROVAL_ROUTING env var.",
|
|
8175
8185
|
flagType: "enum",
|
|
8176
8186
|
allowedValues: ["off", "on"],
|
|
8177
|
-
//
|
|
8178
|
-
//
|
|
8179
|
-
//
|
|
8180
|
-
|
|
8187
|
+
// Steady-state default is `on` (ENG-7828): an org at composio-hitl-mode=enforce routes
|
|
8188
|
+
// blocked calls to a Human Approval card rather than dead-ending in prose. `off` is the
|
|
8189
|
+
// explicit operator kill switch (honest hard block, nothing executes) for "never send,
|
|
8190
|
+
// even with approval". NOTE the split from the DB-READ-ERROR fallback:
|
|
8191
|
+
// resolveHitlApprovalRoutingMode still degrades to `off` when it cannot READ the flag
|
|
8192
|
+
// (the conservative direction when the value is unknown), which is distinct from this
|
|
8193
|
+
// absent-override default of `on`. Either way the call is blocked; only card-vs-terminal
|
|
8194
|
+
// differs, so degrading to `off` never leaks a send.
|
|
8195
|
+
defaultValue: "on",
|
|
8181
8196
|
// Migration override (ADR-0022): only injected onto the Lambdas when an operator
|
|
8182
8197
|
// explicitly sets it (sst.config.ts) — otherwise this flag governs.
|
|
8183
8198
|
envVar: "HITL_APPROVAL_ROUTING",
|
|
8184
|
-
//
|
|
8185
|
-
//
|
|
8199
|
+
// Flipping this to `off` disables the Human Approval card for enforce-blocked calls
|
|
8200
|
+
// (hard block instead), a policy change worth an explicit confirm.
|
|
8186
8201
|
sensitive: true
|
|
8187
8202
|
},
|
|
8188
8203
|
{
|
|
@@ -10172,4 +10187,4 @@ export {
|
|
|
10172
10187
|
stopAllSessionsAndWait,
|
|
10173
10188
|
getProjectDir
|
|
10174
10189
|
};
|
|
10175
|
-
//# sourceMappingURL=chunk-
|
|
10190
|
+
//# sourceMappingURL=chunk-FAGXXKWZ.js.map
|