mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-24 00:50:44 +00:00
feat(ai): scope external MCP approvals to connection or host (#3569)
* feat(ai): scope external MCP approvals to connection or host * test(ai): keep MCP fixture in Netcatty temp directory * fix(ai): refine external MCP approval UI and grant safety * fix(ai): wrap long approval targets and support Node 22 * fix(ai): keep automatic scripts in observer mode * fix(sftp): release preflight markers after transfer * fix(sftp): retain preflight cap through conflict resolution * Keep SFTP preflight cap across panel remount * Update worker terminal metadata expectations * Persist SFTP preflight skip state across restart * Limit persistent host approvals to saved hosts * Scope host-open approvals to the selected saved host * Exclude serial hosts from persistent approval scopes
This commit is contained in:
46 files changed
+906
-83
No files matched your search
@@ -45,6 +45,10 @@ test("build.files includes the single-channel SSH banner matcher", () => {
|
||||
config.files.includes("domain/singleChannelSshBanner.shared.cjs"),
|
||||
"packaged SSH and SFTP bridges require the shared banner matcher",
|
||||
);
|
||||
assert.ok(
|
||||
config.files.includes("domain/singleChannelSshBanner.shared.mjs"),
|
||||
"the shared banner matcher requires its source module",
|
||||
);
|
||||
const banner = require("../domain/singleChannelSshBanner.shared.cjs");
|
||||
assert.equal(banner.remoteSoftwareRequiresSingleChannel("BHostSSH_7.0"), true);
|
||||
assert.equal(banner.remoteSoftwareRequiresSingleChannel("JumpServer"), false);
|
||||
|
||||
Reference in new issue
Block a user