fix(ghidra): preserve native endpoint diagnostics

This commit is contained in:
N0zoM1z0
2026-07-17 03:05:19 +09:00
committed by N0zoM1z0
parent 0ac418dd8b
commit 5970a71824
3 changed files with 18 additions and 15 deletions
+6 -3
View File
@@ -1,3 +1,5 @@
import { join } from "node:path";
import type { JsonValue } from "../domain/jsonValue.js";
import type { ProviderProcessSnapshot } from "../process/ProviderProcess.js";
import type { GhidraLaunch } from "./GhidraLauncher.js";
@@ -41,11 +43,12 @@ export const createGhidraDiagnostics = (
? {}
: {
runtime_root: options.runtimeRoot,
endpoint_path: `${options.runtimeRoot}/${
endpoint_path: join(
options.runtimeRoot,
options.transport === "unix-socket"
? "bridge.sock"
: "bridge-endpoint.json"
}`,
: "bridge-endpoint.json",
),
}),
...(options.launch === undefined
? {}