mirror of
https://github.com/morluto/rea.git
synced 2026-10-28 02:15:44 +00:00
fix(contracts): preserve local inputs and comparison uncertainty
This commit is contained in:
1 parent
7a7460f04f
commit
70e8a8f860
35 files changed
+460
-386
No files matched your search
@@ -1,17 +1,16 @@
|
||||
import { z } from "zod";
|
||||
import { digestSchema } from "../digests.js";
|
||||
import { analyzeJavaScriptApplicationInputSchema } from "./javascriptApplicationAnalysis.js";
|
||||
import { localPathStringSchema } from "../localPath.js";
|
||||
|
||||
/** Recover derived readable modules from one explicitly selected local script. */
|
||||
export const javascriptRecoveryInputSchema = z.strictObject({
|
||||
path: z
|
||||
.string()
|
||||
.min(1)
|
||||
.describe("Absolute path to a UTF-8 JavaScript file; never executed"),
|
||||
output_directory: z
|
||||
.string()
|
||||
.min(1)
|
||||
.describe("Absolute absent output directory; parent must exist"),
|
||||
path: localPathStringSchema.describe(
|
||||
"Absolute path to a UTF-8 JavaScript file; never executed",
|
||||
),
|
||||
output_directory: localPathStringSchema.describe(
|
||||
"Absolute absent output directory; parent must exist",
|
||||
),
|
||||
extraction_mode: z
|
||||
.enum(["structural", "heuristic", "inspection"])
|
||||
.default("structural")
|
||||
|
||||
Reference in new issue
Block a user