@integrity-labs/agt-cli 0.28.855 → 0.28.856
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-7YVKIYVW.js → chunk-6CLS6G7Y.js} +2 -2
- package/dist/{chunk-RKCG63PT.js → chunk-6I5IMMWR.js} +356 -194
- package/dist/chunk-6I5IMMWR.js.map +1 -0
- package/dist/{chunk-IHBWFKOW.js → chunk-M6E42Z4Z.js} +82 -1
- package/dist/chunk-M6E42Z4Z.js.map +1 -0
- package/dist/{claude-pair-runtime-FFUPKRVC.js → claude-pair-runtime-QQSSCLXU.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/mcp/computer-use-proxy.js +98 -1
- package/dist/mcp/direct-chat-channel.js +81 -0
- package/dist/mcp/index.js +81 -0
- package/dist/mcp/origami.js +81 -0
- package/dist/mcp/slack-channel.js +81 -0
- package/dist/mcp/telegram-channel.js +81 -0
- package/dist/{persistent-session-CNVU25IF.js → persistent-session-GZLPDUMN.js} +3 -3
- package/dist/{responsiveness-probe-TZOKOH6C.js → responsiveness-probe-GSCW4NBC.js} +3 -3
- package/dist/{session-auth-dead-GRYXFDYD.js → session-auth-dead-NWLDIYTW.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-IHBWFKOW.js.map +0 -1
- package/dist/chunk-RKCG63PT.js.map +0 -1
- /package/dist/{chunk-7YVKIYVW.js.map → chunk-6CLS6G7Y.js.map} +0 -0
- /package/dist/{claude-pair-runtime-FFUPKRVC.js.map → claude-pair-runtime-QQSSCLXU.js.map} +0 -0
- /package/dist/{persistent-session-CNVU25IF.js.map → persistent-session-GZLPDUMN.js.map} +0 -0
- /package/dist/{responsiveness-probe-TZOKOH6C.js.map → responsiveness-probe-GSCW4NBC.js.map} +0 -0
- /package/dist/{session-auth-dead-GRYXFDYD.js.map → session-auth-dead-NWLDIYTW.js.map} +0 -0
|
@@ -34903,6 +34903,71 @@ var INTEGRATION_REGISTRY = [
|
|
|
34903
34903
|
}
|
|
34904
34904
|
}
|
|
34905
34905
|
},
|
|
34906
|
+
{
|
|
34907
|
+
// ENG-10133 (epic ENG-10127). Drives a HUMAN'S macOS desktop — clicks,
|
|
34908
|
+
// keystrokes, window state — through `open-computer-use` running on that
|
|
34909
|
+
// Mac, reached over an SSH reverse tunnel the Mac itself opens.
|
|
34910
|
+
//
|
|
34911
|
+
// READ THIS BEFORE CHANGING ANY FIELD BELOW. Three properties are what make
|
|
34912
|
+
// this safe to ship at all, and each is easy to undo by accident:
|
|
34913
|
+
//
|
|
34914
|
+
// 1. Every forwarded call is gated per-action against a human-granted
|
|
34915
|
+
// approval (ENG-10132, packages/mcp/src/computer-use-gate.ts). The gate
|
|
34916
|
+
// lives INSIDE the proxy binary rather than beside it, so there is no
|
|
34917
|
+
// build in which the tools exist and the gate does not.
|
|
34918
|
+
// 2. The `open-computer-use` FLAG_REGISTRY flag decides whether the row is
|
|
34919
|
+
// forwarded to the host at all, and it is `sensitive` — arming it costs
|
|
34920
|
+
// a confirmation. The flag governs whether the PATH EXISTS; the gate
|
|
34921
|
+
// governs whether a call may travel it. Neither substitutes for the other.
|
|
34922
|
+
// 3. `beta` keeps it off every customer's picker until the operator runbook
|
|
34923
|
+
// (ENG-10135) exists. Setting up the Mac side — launchd tunnel, the
|
|
34924
|
+
// `from="127.0.0.1,::1"` pin on authorized_keys, Accessibility
|
|
34925
|
+
// permissions — is not something a connect dialog can do, and offering
|
|
34926
|
+
// it without those steps produces an integration that installs cleanly
|
|
34927
|
+
// and does nothing.
|
|
34928
|
+
//
|
|
34929
|
+
// NOT a `nativeMcp` spec: the entry needs a host-absolute proxy path and
|
|
34930
|
+
// per-install ssh config (user, port, remote command), neither of which the
|
|
34931
|
+
// ENG-5815 templating vocabulary can express. Rendered by
|
|
34932
|
+
// provisioning/computer-use-mcp.ts instead — see its header.
|
|
34933
|
+
id: "open-computer-use",
|
|
34934
|
+
name: "Computer Use (macOS)",
|
|
34935
|
+
category: "infrastructure",
|
|
34936
|
+
description: "Drive a macOS desktop by accessibility tree \u2014 read window state, click, type and press keys in any app. Every action requires a human approval granted per session and bound to one application.",
|
|
34937
|
+
// The credential is an OpenSSH private key, supplied by the operator who
|
|
34938
|
+
// set up the Mac. `api_key` is this codebase's "customer pastes a secret"
|
|
34939
|
+
// flow; there is no ssh-specific auth type and inventing one would buy
|
|
34940
|
+
// nothing the credential pipeline does not already do.
|
|
34941
|
+
supported_auth_types: ["api_key"],
|
|
34942
|
+
beta: true,
|
|
34943
|
+
// DELIBERATELY NOT `installable`, i.e. never in the Add Integration picker.
|
|
34944
|
+
// It joins augmented-admin / augmented-support / augmented-help-kb as a
|
|
34945
|
+
// GRANTED integration, and for a stronger version of their reason. A picker
|
|
34946
|
+
// entry promises self-service, and there is none to offer: the Mac side
|
|
34947
|
+
// needs a launchd tunnel, an authorized_keys entry pinned to loopback, an
|
|
34948
|
+
// SSH keypair and macOS Accessibility permission, none of which a connect
|
|
34949
|
+
// dialog can do. A customer who "installed" it from a picker would get a
|
|
34950
|
+
// dialog, paste something, and own a broken integration.
|
|
34951
|
+
//
|
|
34952
|
+
// It would also contradict the flag. `open-computer-use` is `sensitive`, so
|
|
34953
|
+
// arming it costs a deliberate confirmation — offering one-click install of
|
|
34954
|
+
// the thing behind it is incoherent.
|
|
34955
|
+
capabilities: [
|
|
34956
|
+
{
|
|
34957
|
+
id: "open-computer-use:read-screen",
|
|
34958
|
+
name: "Read Screen State",
|
|
34959
|
+
description: "List running applications and read a window's accessibility tree (element indices, labels, values). Screenshots are stripped by default and returned only on explicit request.",
|
|
34960
|
+
access: "read"
|
|
34961
|
+
},
|
|
34962
|
+
{
|
|
34963
|
+
id: "open-computer-use:control",
|
|
34964
|
+
name: "Control the Desktop",
|
|
34965
|
+
description: "Open apps, click, scroll, type text, press keys and set field values. Every call is refused unless a human has granted an approval for the target application.",
|
|
34966
|
+
access: "write"
|
|
34967
|
+
}
|
|
34968
|
+
],
|
|
34969
|
+
docs_url: "https://github.com/anthropics/open-computer-use"
|
|
34970
|
+
},
|
|
34906
34971
|
{
|
|
34907
34972
|
// ENG-6195: admin-only debugging surface for Integrity Labs STAFF agents.
|
|
34908
34973
|
// Provisions the @integrity-labs/augmented-admin-mcp stdio broker, which
|
|
@@ -38459,6 +38524,22 @@ var FLAG_REGISTRY = [
|
|
|
38459
38524
|
// No `since` for the same reason: there is no host-side reader and no fleet
|
|
38460
38525
|
// to converge, so `classifyHostReach` returning `honors` for every host is
|
|
38461
38526
|
// the literal truth here rather than the trap it is one flag above.
|
|
38527
|
+
},
|
|
38528
|
+
{
|
|
38529
|
+
key: "open-computer-use",
|
|
38530
|
+
description: "ENG-10133 (epic ENG-10127) - gates whether an agent gets the `open-computer-use` stdio MCP server, i.e. whether it can drive a human's macOS desktop at all. OFF (default) = the `.mcp.json` entry is not written, so the tools do not exist for the agent and `--allowedTools` never carries the wildcard (the allowlist is DERIVED from the server keys - see apps/cli/src/lib/claude-tools.ts, which is why there is no second lever to flip). ON = the entry is materialized for any agent that also holds the integration row; the flag is necessary, never sufficient. THE FLAG IS NOT THE SAFETY CONTROL AND MUST NOT BE READ AS ONE. Every forwarded call is gated per-action against a human-granted approval by packages/mcp/src/computer-use-gate.ts (ENG-10132); this flag decides whether the PATH EXISTS, the gate decides whether a call may travel it. Turning this on for an agent whose host runs a proxy build predating that gate hands it an ungated route to someone's desktop - which is why the gate ships in the same proxy binary rather than beside it, so there is no build in which the path exists and the gate does not. Org/agent-scoped rather than global: a desktop belongs to one person, and the blast radius of a wrong answer is that person's open windows, mail client and password manager. Deliberately NO envVar - a host-level env override would let a compromised or misconfigured host arm itself, and this is precisely the gate that must be armed centrally (ENG-8303 pin, ENG-7972 4KB cap).",
|
|
38531
|
+
flagType: "boolean",
|
|
38532
|
+
// Dark. There is no "today's behaviour" to preserve - nothing on the fleet
|
|
38533
|
+
// has this integration - so the safe direction is unambiguous.
|
|
38534
|
+
defaultValue: false,
|
|
38535
|
+
// Enforcement gate (ADR-0022 section 4). Arming it is "relaxing a security
|
|
38536
|
+
// control" in the most literal sense available in this codebase: it is the
|
|
38537
|
+
// difference between an agent that can and cannot move a human's mouse.
|
|
38538
|
+
// One confirmation is a cheap price for that.
|
|
38539
|
+
sensitive: true
|
|
38540
|
+
// Deliberately NOT public. The browser has no decision to make here; the
|
|
38541
|
+
// consumers are the host payload that builds `input.integrations` and the
|
|
38542
|
+
// grant route that refuses to install the row while the flag is off.
|
|
38462
38543
|
}
|
|
38463
38544
|
];
|
|
38464
38545
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -54,8 +54,8 @@ import {
|
|
|
54
54
|
writeDirectChatSessionState,
|
|
55
55
|
writeEgressAllowlist,
|
|
56
56
|
writePersistentClaudeWrapper
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-6CLS6G7Y.js";
|
|
58
|
+
import "./chunk-M6E42Z4Z.js";
|
|
59
59
|
import "./chunk-XWVM4KPK.js";
|
|
60
60
|
export {
|
|
61
61
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -114,4 +114,4 @@ export {
|
|
|
114
114
|
writeEgressAllowlist,
|
|
115
115
|
writePersistentClaudeWrapper
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=persistent-session-
|
|
117
|
+
//# sourceMappingURL=persistent-session-GZLPDUMN.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6CLS6G7Y.js";
|
|
4
|
+
import "./chunk-M6E42Z4Z.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -764,4 +764,4 @@ export {
|
|
|
764
764
|
readAndResetSlackReplyBindingClassifications,
|
|
765
765
|
readAndResetSlackReplyTargetClassifications
|
|
766
766
|
};
|
|
767
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
767
|
+
//# sourceMappingURL=responsiveness-probe-GSCW4NBC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M6E42Z4Z.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-NWLDIYTW.js.map
|