mirror of
https://github.com/morluto/rea.git
synced 2026-11-18 04:34:13 +00:00
refactor(cli): project view-delivery inspectors from their contracts (#10600)
* refactor(cli): project view-delivery inspectors from their contracts * refactor(cli): project APK signature, desktop application and EVM inspectors from contracts (#10603)
This commit is contained in:
1 parent
254bb21857
commit
fa53f7070a
15 files changed
+622
-605
No files matched your search
@@ -30,6 +30,7 @@ import {
|
||||
inspectWithService,
|
||||
registerContractCommand,
|
||||
} from "./contractCommand.js";
|
||||
import { PRODUCER_LIMITS_HELP } from "./producerLimitsOption.js";
|
||||
|
||||
type BinaryDiagnosticsOperation =
|
||||
(typeof BINARY_DIAGNOSTICS_TOOL_CONTRACTS)[number]["name"];
|
||||
@@ -309,8 +310,6 @@ export const registerBinaryDiagnosticsCommands = (
|
||||
},
|
||||
deliverWithService(createNativeExportsService, "rea-native-exports"),
|
||||
);
|
||||
const producerLimitsHelp =
|
||||
"JSON producer budget overrides. Keys and units follow this operation's producer_limits contract; changes apply on this call without restart and preserve tighter inherited OS limits.";
|
||||
const layout = createBinaryLayoutService(environment);
|
||||
registerContractCommand(
|
||||
cli,
|
||||
@@ -325,7 +324,7 @@ export const registerBinaryDiagnosticsCommands = (
|
||||
jsonText: ["producer_limits"],
|
||||
fields: {
|
||||
path: { description: "Local ELF binary or relocatable object" },
|
||||
producer_limits: { description: producerLimitsHelp },
|
||||
producer_limits: { description: PRODUCER_LIMITS_HELP },
|
||||
},
|
||||
omit: {
|
||||
detail:
|
||||
@@ -355,7 +354,7 @@ export const registerBinaryDiagnosticsCommands = (
|
||||
path: {
|
||||
description: "Local Linux ELF64 amd64 or AArch64 little-endian core",
|
||||
},
|
||||
producer_limits: { description: producerLimitsHelp },
|
||||
producer_limits: { description: PRODUCER_LIMITS_HELP },
|
||||
include_debugger_context: {
|
||||
name: "debuggerContext",
|
||||
description: "Add BYO core-only GDB/pwndbg mapping candidates",
|
||||
|
||||
Reference in new issue
Block a user