windows-exe-decompiler-mcp-server 0.1.0 → 0.1.3
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/CLAUDE_INSTALLATION.md +129 -0
- package/CODEX_INSTALLATION.md +25 -1
- package/COPILOT_INSTALLATION.md +29 -1
- package/LICENSE +21 -21
- package/README.md +232 -110
- package/dist/analysis-provenance.d.ts +50 -2
- package/dist/analysis-provenance.js +1 -0
- package/dist/analysis-task-runner.js +92 -0
- package/dist/config.d.ts +35 -16
- package/dist/config.js +37 -3
- package/dist/database.js +115 -115
- package/dist/decompiler-worker.d.ts +10 -5
- package/dist/decompiler-worker.js +240 -58
- package/dist/dynamic-trace.d.ts +6 -0
- package/dist/dynamic-trace.js +52 -1
- package/dist/ghidra-config.js +17 -1
- package/dist/index.js +38 -8
- package/dist/pe-runtime-functions.d.ts +90 -0
- package/dist/pe-runtime-functions.js +452 -0
- package/dist/prompts/module-reconstruction-review.d.ts +5 -0
- package/dist/prompts/module-reconstruction-review.js +65 -0
- package/dist/runtime-correlation.d.ts +5 -0
- package/dist/runtime-correlation.js +179 -2
- package/dist/sample-workspace.d.ts +28 -0
- package/dist/sample-workspace.js +186 -0
- package/dist/semantic-name-suggestion-artifacts.d.ts +56 -0
- package/dist/semantic-name-suggestion-artifacts.js +87 -0
- package/dist/server.js +1 -1
- package/dist/setup-guidance.d.ts +73 -0
- package/dist/setup-guidance.js +211 -0
- package/dist/tools/artifact-read.d.ts +10 -10
- package/dist/tools/artifacts-diff.d.ts +8 -8
- package/dist/tools/artifacts-list.d.ts +16 -16
- package/dist/tools/attack-map.d.ts +8 -8
- package/dist/tools/binary-role-profile.d.ts +1197 -0
- package/dist/tools/binary-role-profile.js +575 -0
- package/dist/tools/code-function-explain-apply.d.ts +12 -12
- package/dist/tools/code-function-explain-prepare.d.ts +12 -12
- package/dist/tools/code-function-explain-review.d.ts +58 -58
- package/dist/tools/code-function-rename-apply.d.ts +12 -12
- package/dist/tools/code-function-rename-prepare.d.ts +14 -14
- package/dist/tools/code-function-rename-review.d.ts +66 -66
- package/dist/tools/code-functions-define.d.ts +337 -0
- package/dist/tools/code-functions-define.js +337 -0
- package/dist/tools/code-functions-list.js +1 -1
- package/dist/tools/code-functions-rank.js +1 -1
- package/dist/tools/code-functions-reconstruct.d.ts +368 -58
- package/dist/tools/code-functions-reconstruct.js +130 -10
- package/dist/tools/code-functions-smart-recover.d.ts +352 -0
- package/dist/tools/code-functions-smart-recover.js +190 -0
- package/dist/tools/code-module-review-apply.d.ts +233 -0
- package/dist/tools/code-module-review-apply.js +209 -0
- package/dist/tools/code-module-review-prepare.d.ts +756 -0
- package/dist/tools/code-module-review-prepare.js +343 -0
- package/dist/tools/code-module-review.d.ts +474 -0
- package/dist/tools/code-module-review.js +566 -0
- package/dist/tools/code-reconstruct-export.d.ts +193 -21
- package/dist/tools/code-reconstruct-export.js +578 -21
- package/dist/tools/code-reconstruct-plan.d.ts +20 -20
- package/dist/tools/com-role-profile.d.ts +353 -0
- package/dist/tools/com-role-profile.js +186 -0
- package/dist/tools/dll-export-profile.d.ts +625 -0
- package/dist/tools/dll-export-profile.js +230 -0
- package/dist/tools/dotnet-metadata-extract.d.ts +122 -122
- package/dist/tools/dotnet-reconstruct-export.d.ts +49 -49
- package/dist/tools/dotnet-types-list.d.ts +66 -66
- package/dist/tools/dynamic-dependencies.d.ts +144 -8
- package/dist/tools/dynamic-dependencies.js +20 -1
- package/dist/tools/dynamic-memory-import.js +105 -2
- package/dist/tools/ghidra-analyze.d.ts +20 -0
- package/dist/tools/ghidra-analyze.js +10 -2
- package/dist/tools/ghidra-health.d.ts +177 -0
- package/dist/tools/ghidra-health.js +28 -0
- package/dist/tools/ioc-export.d.ts +8 -8
- package/dist/tools/packer-detect.d.ts +14 -14
- package/dist/tools/packer-detect.js +6 -9
- package/dist/tools/pe-exports-extract.d.ts +8 -8
- package/dist/tools/pe-exports-extract.js +6 -9
- package/dist/tools/pe-fingerprint.d.ts +36 -36
- package/dist/tools/pe-imports-extract.d.ts +8 -8
- package/dist/tools/pe-imports-extract.js +6 -9
- package/dist/tools/pe-pdata-extract.d.ts +448 -0
- package/dist/tools/pe-pdata-extract.js +219 -0
- package/dist/tools/pe-symbols-recover.d.ts +227 -0
- package/dist/tools/pe-symbols-recover.js +316 -0
- package/dist/tools/report-generate.d.ts +15 -1
- package/dist/tools/report-generate.js +139 -16
- package/dist/tools/report-summarize.d.ts +2242 -8
- package/dist/tools/report-summarize.js +246 -10
- package/dist/tools/runtime-detect.d.ts +8 -8
- package/dist/tools/runtime-detect.js +2 -12
- package/dist/tools/rust-binary-analyze.d.ts +2047 -0
- package/dist/tools/rust-binary-analyze.js +443 -0
- package/dist/tools/sample-profile-get.d.ts +135 -16
- package/dist/tools/sample-profile-get.js +35 -32
- package/dist/tools/sandbox-execute.d.ts +10 -10
- package/dist/tools/strings-extract.d.ts +8 -8
- package/dist/tools/strings-extract.js +2 -12
- package/dist/tools/strings-floss-decode.d.ts +8 -8
- package/dist/tools/system-health.d.ts +172 -36
- package/dist/tools/system-health.js +14 -0
- package/dist/tools/system-setup-guide.d.ts +179 -0
- package/dist/tools/system-setup-guide.js +62 -0
- package/dist/tools/tool-help.d.ts +16 -16
- package/dist/tools/tool-help.js +172 -0
- package/dist/tools/yara-scan.d.ts +8 -8
- package/dist/types.d.ts +2 -0
- package/dist/workflows/function-explanation-review.d.ts +3034 -76
- package/dist/workflows/function-explanation-review.js +172 -42
- package/dist/workflows/function-index-recover.d.ts +333 -0
- package/dist/workflows/function-index-recover.js +291 -0
- package/dist/workflows/module-reconstruction-review.d.ts +3537 -0
- package/dist/workflows/module-reconstruction-review.js +354 -0
- package/dist/workflows/reconstruct.d.ts +2182 -223
- package/dist/workflows/reconstruct.js +575 -32
- package/dist/workflows/semantic-name-review.d.ts +1436 -85
- package/dist/workflows/semantic-name-review.js +150 -58
- package/dist/workflows/triage.d.ts +8 -8
- package/ghidra_scripts/DecompileFunction.java +487 -487
- package/ghidra_scripts/ExtractCFG.java +256 -256
- package/ghidra_scripts/ExtractFunctions.java +442 -442
- package/ghidra_scripts/README.md +112 -112
- package/ghidra_scripts/SearchFunctionReferences.java +380 -380
- package/helpers/DotNetMetadataProbe/DotNetMetadataProbe.csproj +9 -9
- package/helpers/DotNetMetadataProbe/Program.cs +566 -566
- package/install-to-claude.ps1 +432 -0
- package/install-to-codex.ps1 +256 -178
- package/install-to-copilot.ps1 +389 -303
- package/package.json +4 -2
- package/requirements.txt +9 -9
- package/workers/requirements-dynamic.txt +11 -11
- package/workers/requirements.txt +8 -8
- package/workers/speakeasy_compat.py +175 -175
- package/workers/static_worker.py +3474 -3474
|
@@ -26,12 +26,15 @@ export declare const CodeReconstructExportInputSchema: z.ZodEffects<z.ZodEffects
|
|
|
26
26
|
evidence_session_tag: z.ZodOptional<z.ZodString>;
|
|
27
27
|
semantic_scope: z.ZodDefault<z.ZodEnum<["all", "latest", "session"]>>;
|
|
28
28
|
semantic_session_tag: z.ZodOptional<z.ZodString>;
|
|
29
|
+
role_target: z.ZodOptional<z.ZodString>;
|
|
30
|
+
role_focus_areas: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
31
|
+
role_priority_order: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
29
32
|
reuse_cached: z.ZodDefault<z.ZodBoolean>;
|
|
30
33
|
}, "strip", z.ZodTypeAny, {
|
|
31
34
|
sample_id: string;
|
|
32
35
|
evidence_scope: "all" | "latest" | "session";
|
|
33
|
-
topk: number;
|
|
34
36
|
include_strings: boolean;
|
|
37
|
+
topk: number;
|
|
35
38
|
semantic_scope: "all" | "latest" | "session";
|
|
36
39
|
module_limit: number;
|
|
37
40
|
min_module_size: number;
|
|
@@ -40,16 +43,19 @@ export declare const CodeReconstructExportInputSchema: z.ZodEffects<z.ZodEffects
|
|
|
40
43
|
run_harness: boolean;
|
|
41
44
|
build_timeout_ms: number;
|
|
42
45
|
run_timeout_ms: number;
|
|
46
|
+
role_focus_areas: string[];
|
|
47
|
+
role_priority_order: string[];
|
|
43
48
|
reuse_cached: boolean;
|
|
44
49
|
evidence_session_tag?: string | undefined;
|
|
45
50
|
semantic_session_tag?: string | undefined;
|
|
46
51
|
export_name?: string | undefined;
|
|
47
52
|
compiler_path?: string | undefined;
|
|
53
|
+
role_target?: string | undefined;
|
|
48
54
|
}, {
|
|
49
55
|
sample_id: string;
|
|
50
56
|
evidence_scope?: "all" | "latest" | "session" | undefined;
|
|
51
|
-
topk?: number | undefined;
|
|
52
57
|
include_strings?: boolean | undefined;
|
|
58
|
+
topk?: number | undefined;
|
|
53
59
|
evidence_session_tag?: string | undefined;
|
|
54
60
|
semantic_scope?: "all" | "latest" | "session" | undefined;
|
|
55
61
|
semantic_session_tag?: string | undefined;
|
|
@@ -62,12 +68,15 @@ export declare const CodeReconstructExportInputSchema: z.ZodEffects<z.ZodEffects
|
|
|
62
68
|
compiler_path?: string | undefined;
|
|
63
69
|
build_timeout_ms?: number | undefined;
|
|
64
70
|
run_timeout_ms?: number | undefined;
|
|
71
|
+
role_target?: string | undefined;
|
|
72
|
+
role_focus_areas?: string[] | undefined;
|
|
73
|
+
role_priority_order?: string[] | undefined;
|
|
65
74
|
reuse_cached?: boolean | undefined;
|
|
66
75
|
}>, {
|
|
67
76
|
sample_id: string;
|
|
68
77
|
evidence_scope: "all" | "latest" | "session";
|
|
69
|
-
topk: number;
|
|
70
78
|
include_strings: boolean;
|
|
79
|
+
topk: number;
|
|
71
80
|
semantic_scope: "all" | "latest" | "session";
|
|
72
81
|
module_limit: number;
|
|
73
82
|
min_module_size: number;
|
|
@@ -76,16 +85,19 @@ export declare const CodeReconstructExportInputSchema: z.ZodEffects<z.ZodEffects
|
|
|
76
85
|
run_harness: boolean;
|
|
77
86
|
build_timeout_ms: number;
|
|
78
87
|
run_timeout_ms: number;
|
|
88
|
+
role_focus_areas: string[];
|
|
89
|
+
role_priority_order: string[];
|
|
79
90
|
reuse_cached: boolean;
|
|
80
91
|
evidence_session_tag?: string | undefined;
|
|
81
92
|
semantic_session_tag?: string | undefined;
|
|
82
93
|
export_name?: string | undefined;
|
|
83
94
|
compiler_path?: string | undefined;
|
|
95
|
+
role_target?: string | undefined;
|
|
84
96
|
}, {
|
|
85
97
|
sample_id: string;
|
|
86
98
|
evidence_scope?: "all" | "latest" | "session" | undefined;
|
|
87
|
-
topk?: number | undefined;
|
|
88
99
|
include_strings?: boolean | undefined;
|
|
100
|
+
topk?: number | undefined;
|
|
89
101
|
evidence_session_tag?: string | undefined;
|
|
90
102
|
semantic_scope?: "all" | "latest" | "session" | undefined;
|
|
91
103
|
semantic_session_tag?: string | undefined;
|
|
@@ -98,12 +110,15 @@ export declare const CodeReconstructExportInputSchema: z.ZodEffects<z.ZodEffects
|
|
|
98
110
|
compiler_path?: string | undefined;
|
|
99
111
|
build_timeout_ms?: number | undefined;
|
|
100
112
|
run_timeout_ms?: number | undefined;
|
|
113
|
+
role_target?: string | undefined;
|
|
114
|
+
role_focus_areas?: string[] | undefined;
|
|
115
|
+
role_priority_order?: string[] | undefined;
|
|
101
116
|
reuse_cached?: boolean | undefined;
|
|
102
117
|
}>, {
|
|
103
118
|
sample_id: string;
|
|
104
119
|
evidence_scope: "all" | "latest" | "session";
|
|
105
|
-
topk: number;
|
|
106
120
|
include_strings: boolean;
|
|
121
|
+
topk: number;
|
|
107
122
|
semantic_scope: "all" | "latest" | "session";
|
|
108
123
|
module_limit: number;
|
|
109
124
|
min_module_size: number;
|
|
@@ -112,16 +127,19 @@ export declare const CodeReconstructExportInputSchema: z.ZodEffects<z.ZodEffects
|
|
|
112
127
|
run_harness: boolean;
|
|
113
128
|
build_timeout_ms: number;
|
|
114
129
|
run_timeout_ms: number;
|
|
130
|
+
role_focus_areas: string[];
|
|
131
|
+
role_priority_order: string[];
|
|
115
132
|
reuse_cached: boolean;
|
|
116
133
|
evidence_session_tag?: string | undefined;
|
|
117
134
|
semantic_session_tag?: string | undefined;
|
|
118
135
|
export_name?: string | undefined;
|
|
119
136
|
compiler_path?: string | undefined;
|
|
137
|
+
role_target?: string | undefined;
|
|
120
138
|
}, {
|
|
121
139
|
sample_id: string;
|
|
122
140
|
evidence_scope?: "all" | "latest" | "session" | undefined;
|
|
123
|
-
topk?: number | undefined;
|
|
124
141
|
include_strings?: boolean | undefined;
|
|
142
|
+
topk?: number | undefined;
|
|
125
143
|
evidence_session_tag?: string | undefined;
|
|
126
144
|
semantic_scope?: "all" | "latest" | "session" | undefined;
|
|
127
145
|
semantic_session_tag?: string | undefined;
|
|
@@ -134,6 +152,9 @@ export declare const CodeReconstructExportInputSchema: z.ZodEffects<z.ZodEffects
|
|
|
134
152
|
compiler_path?: string | undefined;
|
|
135
153
|
build_timeout_ms?: number | undefined;
|
|
136
154
|
run_timeout_ms?: number | undefined;
|
|
155
|
+
role_target?: string | undefined;
|
|
156
|
+
role_focus_areas?: string[] | undefined;
|
|
157
|
+
role_priority_order?: string[] | undefined;
|
|
137
158
|
reuse_cached?: boolean | undefined;
|
|
138
159
|
}>;
|
|
139
160
|
export type CodeReconstructExportInput = z.infer<typeof CodeReconstructExportInputSchema>;
|
|
@@ -299,7 +320,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
299
320
|
stage_count: z.ZodNumber;
|
|
300
321
|
observed_apis: z.ZodArray<z.ZodString, "many">;
|
|
301
322
|
region_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
323
|
+
protections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
324
|
+
address_ranges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
325
|
+
region_owners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
302
326
|
observed_modules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
327
|
+
segment_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
303
328
|
observed_strings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
304
329
|
stages: z.ZodArray<z.ZodString, "many">;
|
|
305
330
|
summary: z.ZodString;
|
|
@@ -312,7 +337,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
312
337
|
observed_apis: string[];
|
|
313
338
|
observed_strings?: string[] | undefined;
|
|
314
339
|
region_types?: string[] | undefined;
|
|
340
|
+
protections?: string[] | undefined;
|
|
341
|
+
address_ranges?: string[] | undefined;
|
|
342
|
+
region_owners?: string[] | undefined;
|
|
315
343
|
observed_modules?: string[] | undefined;
|
|
344
|
+
segment_names?: string[] | undefined;
|
|
316
345
|
}, {
|
|
317
346
|
summary: string;
|
|
318
347
|
stages: string[];
|
|
@@ -322,7 +351,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
322
351
|
observed_apis: string[];
|
|
323
352
|
observed_strings?: string[] | undefined;
|
|
324
353
|
region_types?: string[] | undefined;
|
|
354
|
+
protections?: string[] | undefined;
|
|
355
|
+
address_ranges?: string[] | undefined;
|
|
356
|
+
region_owners?: string[] | undefined;
|
|
325
357
|
observed_modules?: string[] | undefined;
|
|
358
|
+
segment_names?: string[] | undefined;
|
|
326
359
|
}>>;
|
|
327
360
|
provenance: z.ZodObject<{
|
|
328
361
|
runtime: z.ZodObject<{
|
|
@@ -409,6 +442,34 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
409
442
|
earliest_artifact_at: string | null;
|
|
410
443
|
latest_artifact_at: string | null;
|
|
411
444
|
}>>;
|
|
445
|
+
semantic_module_reviews: z.ZodOptional<z.ZodObject<{
|
|
446
|
+
scope: z.ZodEnum<["all", "latest", "session"]>;
|
|
447
|
+
session_selector: z.ZodNullable<z.ZodString>;
|
|
448
|
+
artifact_count: z.ZodNumber;
|
|
449
|
+
artifact_ids: z.ZodArray<z.ZodString, "many">;
|
|
450
|
+
session_tags: z.ZodArray<z.ZodString, "many">;
|
|
451
|
+
earliest_artifact_at: z.ZodNullable<z.ZodString>;
|
|
452
|
+
latest_artifact_at: z.ZodNullable<z.ZodString>;
|
|
453
|
+
scope_note: z.ZodString;
|
|
454
|
+
}, "strip", z.ZodTypeAny, {
|
|
455
|
+
artifact_count: number;
|
|
456
|
+
scope_note: string;
|
|
457
|
+
artifact_ids: string[];
|
|
458
|
+
session_selector: string | null;
|
|
459
|
+
session_tags: string[];
|
|
460
|
+
scope: "all" | "latest" | "session";
|
|
461
|
+
earliest_artifact_at: string | null;
|
|
462
|
+
latest_artifact_at: string | null;
|
|
463
|
+
}, {
|
|
464
|
+
artifact_count: number;
|
|
465
|
+
scope_note: string;
|
|
466
|
+
artifact_ids: string[];
|
|
467
|
+
session_selector: string | null;
|
|
468
|
+
session_tags: string[];
|
|
469
|
+
scope: "all" | "latest" | "session";
|
|
470
|
+
earliest_artifact_at: string | null;
|
|
471
|
+
latest_artifact_at: string | null;
|
|
472
|
+
}>>;
|
|
412
473
|
}, "strip", z.ZodTypeAny, {
|
|
413
474
|
runtime: {
|
|
414
475
|
artifact_count: number;
|
|
@@ -420,6 +481,16 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
420
481
|
earliest_artifact_at: string | null;
|
|
421
482
|
latest_artifact_at: string | null;
|
|
422
483
|
};
|
|
484
|
+
semantic_module_reviews?: {
|
|
485
|
+
artifact_count: number;
|
|
486
|
+
scope_note: string;
|
|
487
|
+
artifact_ids: string[];
|
|
488
|
+
session_selector: string | null;
|
|
489
|
+
session_tags: string[];
|
|
490
|
+
scope: "all" | "latest" | "session";
|
|
491
|
+
earliest_artifact_at: string | null;
|
|
492
|
+
latest_artifact_at: string | null;
|
|
493
|
+
} | undefined;
|
|
423
494
|
semantic_names?: {
|
|
424
495
|
artifact_count: number;
|
|
425
496
|
scope_note: string;
|
|
@@ -451,6 +522,16 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
451
522
|
earliest_artifact_at: string | null;
|
|
452
523
|
latest_artifact_at: string | null;
|
|
453
524
|
};
|
|
525
|
+
semantic_module_reviews?: {
|
|
526
|
+
artifact_count: number;
|
|
527
|
+
scope_note: string;
|
|
528
|
+
artifact_ids: string[];
|
|
529
|
+
session_selector: string | null;
|
|
530
|
+
session_tags: string[];
|
|
531
|
+
scope: "all" | "latest" | "session";
|
|
532
|
+
earliest_artifact_at: string | null;
|
|
533
|
+
latest_artifact_at: string | null;
|
|
534
|
+
} | undefined;
|
|
454
535
|
semantic_names?: {
|
|
455
536
|
artifact_count: number;
|
|
456
537
|
scope_note: string;
|
|
@@ -476,6 +557,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
476
557
|
name: z.ZodString;
|
|
477
558
|
confidence: z.ZodNumber;
|
|
478
559
|
function_count: z.ZodNumber;
|
|
560
|
+
role_hint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
561
|
+
focus_matches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
562
|
+
refined_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
563
|
+
review_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
564
|
+
review_confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
479
565
|
import_hints: z.ZodArray<z.ZodString, "many">;
|
|
480
566
|
string_hints: z.ZodArray<z.ZodString, "many">;
|
|
481
567
|
runtime_apis: z.ZodArray<z.ZodString, "many">;
|
|
@@ -556,6 +642,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
556
642
|
interface_path: string;
|
|
557
643
|
pseudocode_path: string;
|
|
558
644
|
rewrite_path: string;
|
|
645
|
+
role_hint?: string | null | undefined;
|
|
646
|
+
focus_matches?: string[] | undefined;
|
|
647
|
+
refined_name?: string | null | undefined;
|
|
648
|
+
review_summary?: string | null | undefined;
|
|
649
|
+
review_confidence?: number | null | undefined;
|
|
559
650
|
}, {
|
|
560
651
|
name: string;
|
|
561
652
|
confidence: number;
|
|
@@ -583,6 +674,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
583
674
|
interface_path: string;
|
|
584
675
|
pseudocode_path: string;
|
|
585
676
|
rewrite_path: string;
|
|
677
|
+
role_hint?: string | null | undefined;
|
|
678
|
+
focus_matches?: string[] | undefined;
|
|
679
|
+
refined_name?: string | null | undefined;
|
|
680
|
+
review_summary?: string | null | undefined;
|
|
681
|
+
review_confidence?: number | null | undefined;
|
|
586
682
|
}>, "many">;
|
|
587
683
|
}, "strip", z.ZodTypeAny, {
|
|
588
684
|
sample_id: string;
|
|
@@ -613,6 +709,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
613
709
|
interface_path: string;
|
|
614
710
|
pseudocode_path: string;
|
|
615
711
|
rewrite_path: string;
|
|
712
|
+
role_hint?: string | null | undefined;
|
|
713
|
+
focus_matches?: string[] | undefined;
|
|
714
|
+
refined_name?: string | null | undefined;
|
|
715
|
+
review_summary?: string | null | undefined;
|
|
716
|
+
review_confidence?: number | null | undefined;
|
|
616
717
|
}[];
|
|
617
718
|
provenance: {
|
|
618
719
|
runtime: {
|
|
@@ -625,6 +726,16 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
625
726
|
earliest_artifact_at: string | null;
|
|
626
727
|
latest_artifact_at: string | null;
|
|
627
728
|
};
|
|
729
|
+
semantic_module_reviews?: {
|
|
730
|
+
artifact_count: number;
|
|
731
|
+
scope_note: string;
|
|
732
|
+
artifact_ids: string[];
|
|
733
|
+
session_selector: string | null;
|
|
734
|
+
session_tags: string[];
|
|
735
|
+
scope: "all" | "latest" | "session";
|
|
736
|
+
earliest_artifact_at: string | null;
|
|
737
|
+
latest_artifact_at: string | null;
|
|
738
|
+
} | undefined;
|
|
628
739
|
semantic_names?: {
|
|
629
740
|
artifact_count: number;
|
|
630
741
|
scope_note: string;
|
|
@@ -707,7 +818,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
707
818
|
observed_apis: string[];
|
|
708
819
|
observed_strings?: string[] | undefined;
|
|
709
820
|
region_types?: string[] | undefined;
|
|
821
|
+
protections?: string[] | undefined;
|
|
822
|
+
address_ranges?: string[] | undefined;
|
|
823
|
+
region_owners?: string[] | undefined;
|
|
710
824
|
observed_modules?: string[] | undefined;
|
|
825
|
+
segment_names?: string[] | undefined;
|
|
711
826
|
} | null;
|
|
712
827
|
}, {
|
|
713
828
|
sample_id: string;
|
|
@@ -738,6 +853,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
738
853
|
interface_path: string;
|
|
739
854
|
pseudocode_path: string;
|
|
740
855
|
rewrite_path: string;
|
|
856
|
+
role_hint?: string | null | undefined;
|
|
857
|
+
focus_matches?: string[] | undefined;
|
|
858
|
+
refined_name?: string | null | undefined;
|
|
859
|
+
review_summary?: string | null | undefined;
|
|
860
|
+
review_confidence?: number | null | undefined;
|
|
741
861
|
}[];
|
|
742
862
|
provenance: {
|
|
743
863
|
runtime: {
|
|
@@ -750,6 +870,16 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
750
870
|
earliest_artifact_at: string | null;
|
|
751
871
|
latest_artifact_at: string | null;
|
|
752
872
|
};
|
|
873
|
+
semantic_module_reviews?: {
|
|
874
|
+
artifact_count: number;
|
|
875
|
+
scope_note: string;
|
|
876
|
+
artifact_ids: string[];
|
|
877
|
+
session_selector: string | null;
|
|
878
|
+
session_tags: string[];
|
|
879
|
+
scope: "all" | "latest" | "session";
|
|
880
|
+
earliest_artifact_at: string | null;
|
|
881
|
+
latest_artifact_at: string | null;
|
|
882
|
+
} | undefined;
|
|
753
883
|
semantic_names?: {
|
|
754
884
|
artifact_count: number;
|
|
755
885
|
scope_note: string;
|
|
@@ -832,7 +962,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
832
962
|
observed_apis: string[];
|
|
833
963
|
observed_strings?: string[] | undefined;
|
|
834
964
|
region_types?: string[] | undefined;
|
|
965
|
+
protections?: string[] | undefined;
|
|
966
|
+
address_ranges?: string[] | undefined;
|
|
967
|
+
region_owners?: string[] | undefined;
|
|
835
968
|
observed_modules?: string[] | undefined;
|
|
969
|
+
segment_names?: string[] | undefined;
|
|
836
970
|
} | null;
|
|
837
971
|
}>>;
|
|
838
972
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -868,16 +1002,6 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
868
1002
|
}>>;
|
|
869
1003
|
}, "strip", z.ZodTypeAny, {
|
|
870
1004
|
ok: boolean;
|
|
871
|
-
metrics?: {
|
|
872
|
-
elapsed_ms: number;
|
|
873
|
-
tool: string;
|
|
874
|
-
cached?: boolean | undefined;
|
|
875
|
-
cache_key?: string | undefined;
|
|
876
|
-
cache_tier?: string | undefined;
|
|
877
|
-
cache_created_at?: string | undefined;
|
|
878
|
-
cache_expires_at?: string | undefined;
|
|
879
|
-
cache_hit_at?: string | undefined;
|
|
880
|
-
} | undefined;
|
|
881
1005
|
data?: {
|
|
882
1006
|
sample_id: string;
|
|
883
1007
|
modules: {
|
|
@@ -907,6 +1031,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
907
1031
|
interface_path: string;
|
|
908
1032
|
pseudocode_path: string;
|
|
909
1033
|
rewrite_path: string;
|
|
1034
|
+
role_hint?: string | null | undefined;
|
|
1035
|
+
focus_matches?: string[] | undefined;
|
|
1036
|
+
refined_name?: string | null | undefined;
|
|
1037
|
+
review_summary?: string | null | undefined;
|
|
1038
|
+
review_confidence?: number | null | undefined;
|
|
910
1039
|
}[];
|
|
911
1040
|
provenance: {
|
|
912
1041
|
runtime: {
|
|
@@ -919,6 +1048,16 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
919
1048
|
earliest_artifact_at: string | null;
|
|
920
1049
|
latest_artifact_at: string | null;
|
|
921
1050
|
};
|
|
1051
|
+
semantic_module_reviews?: {
|
|
1052
|
+
artifact_count: number;
|
|
1053
|
+
scope_note: string;
|
|
1054
|
+
artifact_ids: string[];
|
|
1055
|
+
session_selector: string | null;
|
|
1056
|
+
session_tags: string[];
|
|
1057
|
+
scope: "all" | "latest" | "session";
|
|
1058
|
+
earliest_artifact_at: string | null;
|
|
1059
|
+
latest_artifact_at: string | null;
|
|
1060
|
+
} | undefined;
|
|
922
1061
|
semantic_names?: {
|
|
923
1062
|
artifact_count: number;
|
|
924
1063
|
scope_note: string;
|
|
@@ -1001,14 +1140,13 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
1001
1140
|
observed_apis: string[];
|
|
1002
1141
|
observed_strings?: string[] | undefined;
|
|
1003
1142
|
region_types?: string[] | undefined;
|
|
1143
|
+
protections?: string[] | undefined;
|
|
1144
|
+
address_ranges?: string[] | undefined;
|
|
1145
|
+
region_owners?: string[] | undefined;
|
|
1004
1146
|
observed_modules?: string[] | undefined;
|
|
1147
|
+
segment_names?: string[] | undefined;
|
|
1005
1148
|
} | null;
|
|
1006
1149
|
} | undefined;
|
|
1007
|
-
warnings?: string[] | undefined;
|
|
1008
|
-
errors?: string[] | undefined;
|
|
1009
|
-
artifacts?: any[] | undefined;
|
|
1010
|
-
}, {
|
|
1011
|
-
ok: boolean;
|
|
1012
1150
|
metrics?: {
|
|
1013
1151
|
elapsed_ms: number;
|
|
1014
1152
|
tool: string;
|
|
@@ -1019,6 +1157,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
1019
1157
|
cache_expires_at?: string | undefined;
|
|
1020
1158
|
cache_hit_at?: string | undefined;
|
|
1021
1159
|
} | undefined;
|
|
1160
|
+
warnings?: string[] | undefined;
|
|
1161
|
+
errors?: string[] | undefined;
|
|
1162
|
+
artifacts?: any[] | undefined;
|
|
1163
|
+
}, {
|
|
1164
|
+
ok: boolean;
|
|
1022
1165
|
data?: {
|
|
1023
1166
|
sample_id: string;
|
|
1024
1167
|
modules: {
|
|
@@ -1048,6 +1191,11 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
1048
1191
|
interface_path: string;
|
|
1049
1192
|
pseudocode_path: string;
|
|
1050
1193
|
rewrite_path: string;
|
|
1194
|
+
role_hint?: string | null | undefined;
|
|
1195
|
+
focus_matches?: string[] | undefined;
|
|
1196
|
+
refined_name?: string | null | undefined;
|
|
1197
|
+
review_summary?: string | null | undefined;
|
|
1198
|
+
review_confidence?: number | null | undefined;
|
|
1051
1199
|
}[];
|
|
1052
1200
|
provenance: {
|
|
1053
1201
|
runtime: {
|
|
@@ -1060,6 +1208,16 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
1060
1208
|
earliest_artifact_at: string | null;
|
|
1061
1209
|
latest_artifact_at: string | null;
|
|
1062
1210
|
};
|
|
1211
|
+
semantic_module_reviews?: {
|
|
1212
|
+
artifact_count: number;
|
|
1213
|
+
scope_note: string;
|
|
1214
|
+
artifact_ids: string[];
|
|
1215
|
+
session_selector: string | null;
|
|
1216
|
+
session_tags: string[];
|
|
1217
|
+
scope: "all" | "latest" | "session";
|
|
1218
|
+
earliest_artifact_at: string | null;
|
|
1219
|
+
latest_artifact_at: string | null;
|
|
1220
|
+
} | undefined;
|
|
1063
1221
|
semantic_names?: {
|
|
1064
1222
|
artifact_count: number;
|
|
1065
1223
|
scope_note: string;
|
|
@@ -1142,9 +1300,23 @@ export declare const CodeReconstructExportOutputSchema: z.ZodObject<{
|
|
|
1142
1300
|
observed_apis: string[];
|
|
1143
1301
|
observed_strings?: string[] | undefined;
|
|
1144
1302
|
region_types?: string[] | undefined;
|
|
1303
|
+
protections?: string[] | undefined;
|
|
1304
|
+
address_ranges?: string[] | undefined;
|
|
1305
|
+
region_owners?: string[] | undefined;
|
|
1145
1306
|
observed_modules?: string[] | undefined;
|
|
1307
|
+
segment_names?: string[] | undefined;
|
|
1146
1308
|
} | null;
|
|
1147
1309
|
} | undefined;
|
|
1310
|
+
metrics?: {
|
|
1311
|
+
elapsed_ms: number;
|
|
1312
|
+
tool: string;
|
|
1313
|
+
cached?: boolean | undefined;
|
|
1314
|
+
cache_key?: string | undefined;
|
|
1315
|
+
cache_tier?: string | undefined;
|
|
1316
|
+
cache_created_at?: string | undefined;
|
|
1317
|
+
cache_expires_at?: string | undefined;
|
|
1318
|
+
cache_hit_at?: string | undefined;
|
|
1319
|
+
} | undefined;
|
|
1148
1320
|
warnings?: string[] | undefined;
|
|
1149
1321
|
errors?: string[] | undefined;
|
|
1150
1322
|
artifacts?: any[] | undefined;
|