reverseport 1.5.0 → 1.6.0

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.
Files changed (101) hide show
  1. package/dist/browser/CdpScreenshot.js +133 -5
  2. package/dist/cli/browserAdvancedCommands.js +6 -1
  3. package/dist/cli-runtime/{AnalysisProvider-CeyX2u-b.js → AnalysisProvider-BOjhIeCw.js} +1 -1
  4. package/dist/cli-runtime/{AnalysisSnapshotFiles-BuK_ymw5.js → AnalysisSnapshotFiles-CpXtlUrr.js} +3 -3
  5. package/dist/cli-runtime/{BinaryTargetResolver-CKRfFhLj.js → BinaryTargetResolver-uNu5jLfD.js} +4 -4
  6. package/dist/cli-runtime/{ClientConfigurationDocument-D0ZqgTCv.js → ClientConfigurationDocument-BvmXMdrN.js} +2 -2
  7. package/dist/cli-runtime/{ClientRegistrationStatus-DGpwJ4ry.js → ClientRegistrationStatus-BiBrkFVM.js} +3 -3
  8. package/dist/cli-runtime/{DirectAnalysis-DW3MvxW0.js → DirectAnalysis-DeVU6XXl.js} +8 -8
  9. package/dist/cli-runtime/{Doctor-CzwYS9nB.js → Doctor-DusrhiVR.js} +6 -6
  10. package/dist/cli-runtime/{ElectronFileScope-C1hUEp36.js → ElectronFileScope-k7Al_zxF.js} +1 -1
  11. package/dist/cli-runtime/{IdaConfiguration-rEjpuRQ1.js → IdaConfiguration-QsToVI_I.js} +4 -4
  12. package/dist/cli-runtime/{InventoryProjectionEvidence-Dt4Og45O.js → InventoryProjectionEvidence-bVXXybtM.js} +2 -2
  13. package/dist/cli-runtime/{InvestigationProviders-D-QCy-4c.js → InvestigationProviders-DhwicuUg.js} +1 -1
  14. package/dist/cli-runtime/{JavaScriptApplicationEvidenceGraph-CODAjVru.js → JavaScriptApplicationEvidenceGraph-CORocMEb.js} +5 -5
  15. package/dist/cli-runtime/{JavaScriptApplicationWorkflowEvidence-CCtwSg8r.js → JavaScriptApplicationWorkflowEvidence-9-Z4VWm1.js} +2 -2
  16. package/dist/cli-runtime/{JsonFiles-Ce_O5NcH.js → JsonFiles-v2nnQzBz.js} +1 -1
  17. package/dist/cli-runtime/{ManagedSnapshot-DthWfmy9.js → ManagedSnapshot-C0cIFxKC.js} +3 -3
  18. package/dist/cli-runtime/{OwnedCommand-CnK8-h3N.js → OwnedCommand-B0mAqpOm.js} +2 -2
  19. package/dist/cli-runtime/{PrivateRuntimeRoot-KNg6qLwo.js → PrivateRuntimeRoot-DMpVdoz-.js} +1 -1
  20. package/dist/cli-runtime/{ProcessOwnership-AOJaszxt.js → ProcessOwnership-Ddlg82OS.js} +1 -1
  21. package/dist/cli-runtime/{SafeOutputTree-D8z2Zrnu.js → SafeOutputTree-BYXf6HYg.js} +1 -1
  22. package/dist/cli-runtime/{SetupHost-CzzRF89z.js → SetupHost-BC1WGGjw.js} +5 -5
  23. package/dist/cli-runtime/{SupportedClients-BrZ2qZVg.js → SupportedClients-Cag4oXyu.js} +1 -1
  24. package/dist/cli-runtime/{Update-DF55X_N2.js → Update-DYBlczEy.js} +1 -1
  25. package/dist/cli-runtime/{WindowsBatchCommand-5gT-d7O4.js → WindowsBatchCommand-Chfe9gzr.js} +1 -1
  26. package/dist/cli-runtime/{ZipArtifactReader-Db65WuM_.js → ZipArtifactReader-DziTscTm.js} +1 -1
  27. package/dist/cli-runtime/{application__DirectAnalysisStatus-OZFIFjZr.js → application__DirectAnalysisStatus-CKDY-9pN.js} +2 -2
  28. package/dist/cli-runtime/{application__EnhancedTools-C__HAdqG.js → application__EnhancedTools-BRAWz8_S.js} +3 -3
  29. package/dist/cli-runtime/{application__FunctionAnalysisEvidence-fWSgvV74.js → application__FunctionAnalysisEvidence-DWYRXeqm.js} +2 -2
  30. package/dist/cli-runtime/{application__ReconstructionCoverageService-DlNt-4TY.js → application__ReconstructionCoverageService-BD8T9JLy.js} +2 -2
  31. package/dist/cli-runtime/{application__ReconstructionObligationLedgerService-CEpbUv-7.js → application__ReconstructionObligationLedgerService-DORXlBCK.js} +4 -4
  32. package/dist/cli-runtime/{application__Setup-BExVGpqG.js → application__Setup-DAqu2s8O.js} +4 -4
  33. package/dist/cli-runtime/{application__Uninstall-BVgWDCPN.js → application__Uninstall-CEp-pG4Y.js} +3 -3
  34. package/dist/cli-runtime/{application__UpdateRuntime-Dj6UIhHQ.js → application__UpdateRuntime-BFjLzGV0.js} +5 -5
  35. package/dist/cli-runtime/{application__android__AndroidApplicationService-CyynwW6Z.js → application__android__AndroidApplicationService-B_3ijho2.js} +3 -3
  36. package/dist/cli-runtime/{application__apple__AppleApplicationService-BNPcWeL8.js → application__apple__AppleApplicationService-D5tIo-c3.js} +3 -3
  37. package/dist/cli-runtime/{application__harmony__HarmonyApplicationService-W66PwMvx.js → application__harmony__HarmonyApplicationService-CRA3tGvH.js} +3 -3
  38. package/dist/cli-runtime/{application__javascript__ElectronActiveObservationService-D8VbeCxz.js → application__javascript__ElectronActiveObservationService--W_nJQk_.js} +1 -1
  39. package/dist/cli-runtime/{application__javascript__ElectronObservationService-FmXFG4f2.js → application__javascript__ElectronObservationService-tfAD3Ice.js} +1 -1
  40. package/dist/cli-runtime/{application__javascript__JavaScriptApplicationService-D-dVrmAY.js → application__javascript__JavaScriptApplicationService-CEZLGA_3.js} +11 -11
  41. package/dist/cli-runtime/{application__javascript__JavaScriptApplicationWorkflowService-Cb0jmh8J.js → application__javascript__JavaScriptApplicationWorkflowService-D3TC2eRI.js} +5 -5
  42. package/dist/cli-runtime/{application__javascript__JavaScriptRuntimeReconciliationService-D55gO7Gq.js → application__javascript__JavaScriptRuntimeReconciliationService-CBhOf3VW.js} +4 -4
  43. package/dist/cli-runtime/{application__javascript__JavaScriptSemanticTraceService-DivM-Ym-.js → application__javascript__JavaScriptSemanticTraceService-BcLmz5aS.js} +4 -4
  44. package/dist/cli-runtime/{artifacts__ArtifactProvider-B_4h3RAw.js → artifacts__ArtifactProvider-Vi0e4diS.js} +10 -10
  45. package/dist/cli-runtime/{binary-9Gt3vJ1P.js → binary-BS-WxQAw.js} +20 -20
  46. package/dist/cli-runtime/{browserScenario-CTNr5ISp.js → browserScenario-CkFQ5Rmd.js} +3 -3
  47. package/dist/cli-runtime/{catalogIdentity-EYVhBUYJ.js → catalogIdentity-D843Oy_i.js} +2 -2
  48. package/dist/cli-runtime/cli.js +177 -63
  49. package/dist/cli-runtime/{composition__browserScenario-DNr3A_BM.js → composition__browserScenario-Ct2YyVW4.js} +1 -1
  50. package/dist/cli-runtime/{composition__electronObservation-DNw1f38M.js → composition__electronObservation-DoZILMUH.js} +2 -2
  51. package/dist/cli-runtime/{composition__electronScenario-Cu7PX270.js → composition__electronScenario-DBBedpL1.js} +2 -2
  52. package/dist/cli-runtime/{doctorRuntime-D5y43lEp.js → doctorRuntime-c5GxpwJd.js} +3 -3
  53. package/dist/cli-runtime/{dosMz-pwwUuxyC.js → dosMz-BZKOsUf9.js} +1 -1
  54. package/dist/cli-runtime/{dotnet__ManagedStaticProvider-BSnWggeb.js → dotnet__ManagedStaticProvider-DiSbEgZQ.js} +1 -1
  55. package/dist/cli-runtime/{enhancedInputs-K8C_o3b4.js → enhancedInputs-ItbV9oua.js} +1 -1
  56. package/dist/cli-runtime/{javascriptApplicationGraph-DUWeec4O.js → javascriptApplicationGraph-DaHZ_j74.js} +1 -1
  57. package/dist/cli-runtime/{javascriptExportReturnShapeProjection-BVbnAdOd.js → javascriptExportReturnShapeProjection-5R4b1b65.js} +2 -2
  58. package/dist/cli-runtime/{javascriptExportShapeComparisonSchemas-BzSil7ft.js → javascriptExportShapeComparisonSchemas-CabiAG0g.js} +2 -2
  59. package/dist/cli-runtime/{javascriptRuntimeObservation-9xTNoKY2.js → javascriptRuntimeObservation-Kk7etMNj.js} +2 -2
  60. package/dist/cli-runtime/{javascriptRuntimeReconciliation-CneBtMvx.js → javascriptRuntimeReconciliation-DuZmwI3R.js} +4 -4
  61. package/dist/cli-runtime/{javascriptRuntimeReconciliationSchemas-D1Mrb_Y0.js → javascriptRuntimeReconciliationSchemas-BoiwFBmk.js} +3 -3
  62. package/dist/cli-runtime/{javascriptSemanticTraceSchemas-BHItrqIA.js → javascriptSemanticTraceSchemas-BlqTEtah.js} +2 -2
  63. package/dist/cli-runtime/{lipo-BCA3wVyN.js → lipo-BA5qA_xF.js} +3 -3
  64. package/dist/cli-runtime/{managedApplicationGraph-BqOr01E6.js → managedApplicationGraph-bNZH8_q9.js} +2 -2
  65. package/dist/cli-runtime/{managedToolContracts-BSy4TRaK.js → managedToolContracts-_YDzyE2p.js} +2 -2
  66. package/dist/cli-runtime/mcpDoctor.js +3 -3
  67. package/dist/cli-runtime/{native__NativeMacOSProvider-BIG9iCcj.js → native__NativeMacOSProvider-C5fgPPf0.js} +10 -10
  68. package/dist/cli-runtime/{reconstructionObligationLedgerSchemas-dvp6PEnZ.js → reconstructionObligationLedgerSchemas-CBxjNJ5m.js} +27 -3
  69. package/dist/cli-runtime/{scanCanonical-Bi6si9nb.js → scanCanonical-Dt1Hf-XQ.js} +4 -4
  70. package/dist/cli-runtime/{snapshotEnvironment-B5Ai0mha.js → snapshotEnvironment-CF3KJGdj.js} +1 -1
  71. package/dist/cli-runtime/{toolContracts-C7pvYKxF.js → toolContracts-DrZdzzVJ.js} +20 -13
  72. package/dist/cli-runtime/{toolEffects-DW31yTSx.js → toolEffects-JovaVppR.js} +2 -2
  73. package/dist/cli-runtime/{workflowInputError-26EGiDpx.js → workflowInputError-uPF2Przv.js} +1 -1
  74. package/dist/contracts/browserToolContracts.js +9 -1
  75. package/dist/domain/webScreenshot.js +32 -0
  76. package/dist/generatedPackageMetadata.js +1 -1
  77. package/dist/mcp/{AnalysisSnapshotFiles-DbgHi36O.js → AnalysisSnapshotFiles-DRJXahG3.js} +2 -2
  78. package/dist/mcp/{ArtifactProvider-BNxKlaKX.js → ArtifactProvider-D8Sojfsy.js} +4 -4
  79. package/dist/mcp/{ArtifactProviderMetadata--hy-wyJK.js → ArtifactProviderMetadata-DDXT41IA.js} +1 -1
  80. package/dist/mcp/{BinaryTargetResolver-DbiUzRLh.js → BinaryTargetResolver-w52tdHfN.js} +2 -2
  81. package/dist/mcp/{DirectAnalysis-BWAu8Ro5.js → DirectAnalysis-CaeqptL4.js} +6 -6
  82. package/dist/mcp/{DirectAnalysisStatus-DofNPhKd.js → DirectAnalysisStatus-DTwOtxgh.js} +1 -1
  83. package/dist/mcp/{ManagedStaticProvider-CXE93Bow.js → ManagedStaticProvider-01USDXJF.js} +3 -3
  84. package/dist/mcp/{NativeMacOSProvider-BbITFLHW.js → NativeMacOSProvider-C_Mjc0mG.js} +4 -4
  85. package/dist/mcp/{NativeMacOSProviderMetadata-mxDhaNJf.js → NativeMacOSProviderMetadata-C6Ov3ewq.js} +1 -1
  86. package/dist/mcp/{artifactToolContracts-TXegBBr1.js → artifactToolContracts-h0iSzOnt.js} +1 -1
  87. package/dist/mcp/{browserObservation-BCgaDRyQ.js → browserObservation-Dxo7O6PX.js} +116 -6
  88. package/dist/mcp/{browserScenario-z7jveI9P.js → browserScenario-CFz4w9YN.js} +1 -1
  89. package/dist/mcp/{browserScenarioCapture-BvnKTmtZ.js → browserScenarioCapture-Cn6A6diD.js} +1 -1
  90. package/dist/mcp/{emptyArraySchema-DEEefG2V.js → emptyArraySchema-CJFbNjT7.js} +27 -3
  91. package/dist/mcp/{main-WQSCuTNt.js → main-DH7dl4Gx.js} +22 -22
  92. package/dist/mcp/main.js +1 -1
  93. package/dist/mcp/{managedToolContracts-o5LHFwHc.js → managedToolContracts-BVLgbsNv.js} +1 -1
  94. package/dist/mcp/{scanCanonical-2GN0h-BE.js → scanCanonical-B6OUfBVK.js} +2 -2
  95. package/dist/mcp/{serverIdentity-rOY69sxc.js → serverIdentity-CwMs2Ey4.js} +1 -1
  96. package/dist/mcp/{toolContracts-CrfYDTUz.js → toolContracts-BMgXB36_.js} +14 -7
  97. package/dist/mcp/{toolOutputSchemaGroups-ChxVLGoy.js → toolOutputSchemaGroups-CwPpULLy.js} +1 -1
  98. package/dist/mcp/{webSourceLocation-Dnkpf0R2.js → webSourceLocation-BkuEbXcI.js} +2 -2
  99. package/native/windows/build/manifest.json +1 -1
  100. package/package.json +1 -1
  101. package/skills/reverse-engineer-anything/SKILL.md +1 -1
@@ -1,7 +1,7 @@
1
- import { createWebScreenshotArtifact } from "../domain/webScreenshot.js";
1
+ import { createWebScreenshotArtifact, WEB_ELEMENT_HTML_LIMIT, WEB_ELEMENT_STYLE_LIMIT, } from "../domain/webScreenshot.js";
2
2
  import { BrowserObservationError } from "../domain/browserObservationError.js";
3
3
  import { isMainFrameNavigation } from "./CdpCaptureEventHelpers.js";
4
- import { allowedSanitizedUrl, recordValue, cdpStringValue, } from "./CdpCaptureValues.js";
4
+ import { allowedSanitizedUrl, recordValue, recordsValue, cdpStringValue, numberValue, } from "./CdpCaptureValues.js";
5
5
  import { mainFrameUrl } from "./CdpCaptureDocuments.js";
6
6
  import { captureFrames } from "./CdpCaptureDocuments.js";
7
7
  import { CdpCaptureCompleteness } from "./CdpCaptureCompleteness.js";
@@ -36,12 +36,22 @@ export const captureCdpScreenshot = async (context) => {
36
36
  });
37
37
  let result;
38
38
  let after;
39
+ let element;
39
40
  try {
40
- result = recordValue(await context.connection.send("Page.captureScreenshot", { format: "png", fromSurface: true, captureBeyondViewport: false }, context.sessionId, context.signal));
41
+ if (context.input.selector !== undefined)
42
+ element = await probeElement(context, context.input.selector);
43
+ result = recordValue(await context.connection.send("Page.captureScreenshot", {
44
+ format: "png",
45
+ fromSurface: true,
46
+ captureBeyondViewport: false,
47
+ ...(element === undefined ? {} : { clip: element.clip }),
48
+ }, context.sessionId, context.signal));
41
49
  after = await context.connection.send("Page.getFrameTree", {}, context.sessionId, context.signal);
42
50
  }
43
51
  finally {
44
52
  removeListener();
53
+ if (context.input.selector !== undefined)
54
+ await releaseDomains(context);
45
55
  }
46
56
  const encoded = cdpStringValue(result?.data);
47
57
  const bytes = encoded === undefined ? undefined : decodeCanonicalBase64(encoded);
@@ -70,15 +80,133 @@ export const captureCdpScreenshot = async (context) => {
70
80
  origin: authorized.origin ?? "",
71
81
  },
72
82
  captured_at: new Date().toISOString(),
73
- viewport: dimensions,
83
+ viewport: element === undefined ? dimensions : element.viewport,
74
84
  artifact: createWebScreenshotArtifact(bytes),
85
+ ...(element === undefined
86
+ ? {}
87
+ : { element: { ...element.element, image: dimensions } }),
75
88
  completeness: new CdpCaptureCompleteness().snapshot(),
76
89
  limitations: [
77
- "The screenshot contains the visible viewport, including on-screen content.",
90
+ ...(element === undefined
91
+ ? [
92
+ "The screenshot contains the visible viewport, including on-screen content.",
93
+ ]
94
+ : [
95
+ "The image shows only the part of the element inside the viewport; scroll it into view in the browser for the rest.",
96
+ "outer_html is the element's markup as the page has it now, including attribute values.",
97
+ ]),
78
98
  "REA does not scroll, evaluate JavaScript, or capture beyond the current viewport.",
79
99
  ],
80
100
  };
81
101
  };
102
+ /** Find one element and read its box, markup and style via DOM and CSS. */
103
+ const probeElement = async (context, selector) => {
104
+ const send = (method, params = {}) => context.connection.send(method, params, context.sessionId, context.signal);
105
+ const notFound = (detail) => new BrowserObservationError("capture_web_screenshot", "target_not_found", {
106
+ detail,
107
+ });
108
+ const quoted = JSON.stringify(selector);
109
+ await send("DOM.enable");
110
+ await send("CSS.enable");
111
+ const tree = recordValue(await send("DOM.getDocument", { depth: 0 }));
112
+ const root = numberValue(recordValue(tree?.root)?.nodeId);
113
+ if (root === undefined)
114
+ throw new BrowserObservationError("capture_web_screenshot", "protocol_error");
115
+ const match = recordValue(await send("DOM.querySelector", { nodeId: root, selector }));
116
+ const nodeId = numberValue(match?.nodeId);
117
+ if (nodeId === undefined || nodeId === 0)
118
+ throw notFound(`No element matches the selector ${quoted} on this page.`);
119
+ const model = recordValue(recordValue(await send("DOM.getBoxModel", { nodeId }))?.model);
120
+ const box = quadBox(model?.border);
121
+ const metrics = recordValue(await send("Page.getLayoutMetrics"));
122
+ const layout = recordValue(metrics?.cssLayoutViewport);
123
+ const viewportWidth = numberValue(layout?.clientWidth);
124
+ const viewportHeight = numberValue(layout?.clientHeight);
125
+ if (box === undefined ||
126
+ viewportWidth === undefined ||
127
+ viewportHeight === undefined)
128
+ throw notFound(`The element for ${quoted} is not rendered.`);
129
+ const visible = intersect(box, {
130
+ x: 0,
131
+ y: 0,
132
+ width: viewportWidth,
133
+ height: viewportHeight,
134
+ });
135
+ if (visible === undefined)
136
+ throw notFound(`The element for ${quoted} is outside the visible viewport. Scroll it into view in the browser, then capture again.`);
137
+ const markup = recordValue(await send("DOM.getOuterHTML", { nodeId }));
138
+ const html = cdpStringValue(markup?.outerHTML) ?? "";
139
+ const computed = recordValue(await send("CSS.getComputedStyleForNode", { nodeId }));
140
+ const properties = recordsValue(computed?.computedStyle);
141
+ const style = {};
142
+ for (const property of properties.slice(0, WEB_ELEMENT_STYLE_LIMIT)) {
143
+ const name = cdpStringValue(property.name);
144
+ const value = cdpStringValue(property.value);
145
+ if (name !== undefined && value !== undefined)
146
+ style[name] = value;
147
+ }
148
+ return {
149
+ clip: {
150
+ x: visible.x + (numberValue(layout?.pageX) ?? 0),
151
+ y: visible.y + (numberValue(layout?.pageY) ?? 0),
152
+ width: visible.width,
153
+ height: visible.height,
154
+ scale: 1,
155
+ },
156
+ viewport: {
157
+ width: Math.max(1, Math.round(viewportWidth)),
158
+ height: Math.max(1, Math.round(viewportHeight)),
159
+ },
160
+ element: {
161
+ selector,
162
+ box,
163
+ visible_box: visible,
164
+ clipped: visible.width < box.width || visible.height < box.height,
165
+ outer_html: html.slice(0, WEB_ELEMENT_HTML_LIMIT),
166
+ outer_html_truncated: html.length > WEB_ELEMENT_HTML_LIMIT,
167
+ computed_style: style,
168
+ computed_style_truncated: properties.length > WEB_ELEMENT_STYLE_LIMIT,
169
+ },
170
+ };
171
+ };
172
+ /** Bounding box of a CDP quad (x1, y1, … x4, y4). */
173
+ const quadBox = (quad) => {
174
+ if (!Array.isArray(quad))
175
+ return undefined;
176
+ const numbers = quad.flatMap((item) => {
177
+ const value = numberValue(item);
178
+ return value === undefined ? [] : [value];
179
+ });
180
+ if (numbers.length !== 8)
181
+ return undefined;
182
+ const xs = numbers.filter((_, index) => index % 2 === 0);
183
+ const ys = numbers.filter((_, index) => index % 2 === 1);
184
+ const x = Math.min(...xs);
185
+ const y = Math.min(...ys);
186
+ const width = Math.max(...xs) - x;
187
+ const height = Math.max(...ys) - y;
188
+ return width > 0 && height > 0 ? { x, y, width, height } : undefined;
189
+ };
190
+ const intersect = (a, b) => {
191
+ const x = Math.max(a.x, b.x);
192
+ const y = Math.max(a.y, b.y);
193
+ const right = Math.min(a.x + a.width, b.x + b.width);
194
+ const bottom = Math.min(a.y + a.height, b.y + b.height);
195
+ return right - x >= 1 && bottom - y >= 1
196
+ ? { x, y, width: right - x, height: bottom - y }
197
+ : undefined;
198
+ };
199
+ /** Turn off the DOM and CSS domains this capture enabled; the session close handles the rest. */
200
+ const releaseDomains = async (context) => {
201
+ for (const method of ["CSS.disable", "DOM.disable"]) {
202
+ try {
203
+ await context.connection.send(method, {}, context.sessionId);
204
+ }
205
+ catch {
206
+ // Closing the target session below also ends these domains.
207
+ }
208
+ }
209
+ };
82
210
  const observeScreenshotNavigation = (event, mainFrameId, origins, state) => {
83
211
  if (!isMainFrameNavigation(event, mainFrameId))
84
212
  return;
@@ -92,13 +92,17 @@ const registerCaptureDiff = (cli, logger) => {
92
92
  };
93
93
  const registerScreenshot = (cli, logger) => {
94
94
  cli.command(CLI_COMMANDS.captureWebScreenshot, {
95
- description: "Capture one visible page viewport within the supplied origin scope",
95
+ description: "Capture one visible page viewport, or one element with --selector",
96
96
  args: z.object({
97
97
  endpoint: z.string().describe("Configured loopback CDP HTTP endpoint"),
98
98
  targetId: z.string().describe("Target ID from list-browser-targets"),
99
99
  }),
100
100
  options: z.object({
101
101
  ...browserScopeOptions,
102
+ selector: z
103
+ .string()
104
+ .optional()
105
+ .describe("CSS selector: crop to one element, add its HTML and CSS"),
102
106
  }),
103
107
  run: ({ args, options }) => logCliCommand(logger, "capture-web-screenshot", async () => {
104
108
  const context = browserContext();
@@ -106,6 +110,7 @@ const registerScreenshot = (cli, logger) => {
106
110
  cdp_endpoint: args.endpoint,
107
111
  allowed_origins: options.allowedOrigins,
108
112
  target_id: args.targetId,
113
+ selector: options.selector,
109
114
  });
110
115
  if (!parsed.success)
111
116
  return inputError("capture_web_screenshot");
@@ -1,6 +1,6 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { init_jsonValue, jsonValueSchema } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { init_relationshipCoverage, relationshipCoverageSchema } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { init_relationshipCoverage, relationshipCoverageSchema } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
 
5
5
  //#region dist/application/AnalysisProvider.js
6
6
  var createAnalysisExecution;
@@ -1,10 +1,10 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisCancelledError, freezeJsonSnapshot, init_analysisErrorCore, init_immutableJson, init_jsonValue, jsonObjectSchema, jsonValueSchema } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { BINARY_ARCHITECTURES, analysisProfileSchema, analysisProfilesEqual, canonicalJsonDigestSteps, committedProviderSchema, compareUnicodeCodePoints, compositeKey, digestSchema, err, evidenceBundleForTarget, evidenceBundleSchema, evidenceLocationSchema, init_analysisProfile, init_binaryTargetTypes, init_canonicalJsonDigestSteps, init_digests, init_evidence, init_evidenceBundle, init_localPath, init_relationshipCoverage, init_result, init_unicodeCodePointOrder, localPathStringSchema, ok, parseEvidenceBundle, parseImmutableEvidenceBundle, prefixedDigestSchema, rebindEvidenceToTargetPath, relationshipCoverageSchema } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { BINARY_ARCHITECTURES, analysisProfileSchema, analysisProfilesEqual, canonicalJsonDigestSteps, committedProviderSchema, compareUnicodeCodePoints, compositeKey, digestSchema, err, evidenceBundleForTarget, evidenceBundleSchema, evidenceLocationSchema, init_analysisProfile, init_binaryTargetTypes, init_canonicalJsonDigestSteps, init_digests, init_evidence, init_evidenceBundle, init_localPath, init_relationshipCoverage, init_result, init_unicodeCodePointOrder, localPathStringSchema, ok, parseEvidenceBundle, parseImmutableEvidenceBundle, prefixedDigestSchema, rebindEvidenceToTargetPath, relationshipCoverageSchema } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
  import { EvidenceIntegrityError, init_evidenceErrors } from "./analysisErrorPresentation-DZrKL8kS.js";
5
- import { init_rawBinary, rawBinaryEntryPointSchema } from "./toolEffects-DW31yTSx.js";
5
+ import { init_rawBinary, rawBinaryEntryPointSchema } from "./toolEffects-JovaVppR.js";
6
6
  import { RegularFileCleanupFailure, init_RegularFileRead } from "./RegularFileRead-BMh5FMXd.js";
7
- import { init_JsonFiles, readJsonObjectMembersFile, writeTextFile } from "./JsonFiles-Ce_O5NcH.js";
7
+ import { init_JsonFiles, readJsonObjectMembersFile, writeTextFile } from "./JsonFiles-v2nnQzBz.js";
8
8
  import { createHash } from "node:crypto";
9
9
  import { z } from "zod";
10
10
  import canonicalize from "canonicalize";
@@ -1,11 +1,11 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisCancelledError, init_analysisErrorCore } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { err, hasZipSignature, init_localPath, init_result, init_zipPackageFormat, isPathWithinRoot, isZipPackageFormat, ok, zipPackageFormatForPath } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { err, hasZipSignature, init_localPath, init_result, init_zipPackageFormat, isPathWithinRoot, isZipPackageFormat, ok, zipPackageFormatForPath } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
  import { BinaryTargetError, init_configurationErrors } from "./configurationErrors-ByuF6gMR.js";
5
- import { admitRawBinary, init_rawBinary, rawBinarySelectionError } from "./toolEffects-DW31yTSx.js";
6
- import { init_dosMz, mzWindowsHeaderOffset, parseDosMzHeader } from "./dosMz-pwwUuxyC.js";
5
+ import { admitRawBinary, init_rawBinary, rawBinarySelectionError } from "./toolEffects-JovaVppR.js";
6
+ import { init_dosMz, mzWindowsHeaderOffset, parseDosMzHeader } from "./dosMz-BZKOsUf9.js";
7
7
  import { init_RegularFile, openRegularFile, sameRegularFileState } from "./RegularFile-CL6meBxi.js";
8
- import { init_dosCom, validateDosComLength } from "./managedToolContracts-BSy4TRaK.js";
8
+ import { init_dosCom, validateDosComLength } from "./managedToolContracts-_YDzyE2p.js";
9
9
  import { decodeXmlPlistText, init_InterfaceBuilderDecodeBudget, init_propertyListXmlText, preflightPropertyListDecode } from "./InterfaceBuilderDecodeBudget-DT74BY9z.js";
10
10
  import { init_propertyListKeys, omitPrototypeKeys, parseXmlPropertyList } from "./propertyListKeys-DejfMb-U.js";
11
11
  import { extname, isAbsolute, join, resolve } from "node:path";
@@ -1,8 +1,8 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
- import { PRODUCT_IDENTITY, compareUnicodeCodePoints, err, init_identity, init_result, init_unicodeCodePointOrder, ok } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
2
+ import { PRODUCT_IDENTITY, compareUnicodeCodePoints, err, init_identity, init_result, init_unicodeCodePointOrder, ok } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
3
3
  import { ArtifactReaderFailure, init_ArtifactReader } from "./ArtifactReader-BXkffc1D.js";
4
4
  import { ConfigurationError, init_configurationErrors } from "./configurationErrors-ByuF6gMR.js";
5
- import { clientSkillDirectories, init_SupportedClients, init_environment, parseEnvironment } from "./SupportedClients-BrZ2qZVg.js";
5
+ import { clientSkillDirectories, init_SupportedClients, init_environment, parseEnvironment } from "./SupportedClients-Cag4oXyu.js";
6
6
  import { NonRegularFileReadError, RegularFileChangedError, init_RegularFile } from "./RegularFile-CL6meBxi.js";
7
7
  import { init_BoundedFileBytes, readBoundedFileBytes } from "./BoundedFileBytes-BU30odTm.js";
8
8
  import { RegularFileCleanupFailure, init_RegularFileRead, withRegularFile } from "./RegularFileRead-BMh5FMXd.js";
@@ -1,10 +1,10 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
- import { PRODUCT_IDENTITY, compareUnicodeCodePoints, err, init_identity, init_result, init_unicodeCodePointOrder, ok } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
2
+ import { PRODUCT_IDENTITY, compareUnicodeCodePoints, err, init_identity, init_result, init_unicodeCodePointOrder, ok } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
3
3
  import { ConfigurationError, init_configurationErrors } from "./configurationErrors-ByuF6gMR.js";
4
- import { clientEvidencePaths, init_ClientRegistrationIdentity, init_SupportedClients, init_environment, isOwnedClientRegistrationCommand, manualRegistrationRemediation, npxRegistrationCommand, packageRunnerRegistrationCommand, parseEnvironment, supportedClients } from "./SupportedClients-BrZ2qZVg.js";
4
+ import { clientEvidencePaths, init_ClientRegistrationIdentity, init_SupportedClients, init_environment, isOwnedClientRegistrationCommand, manualRegistrationRemediation, npxRegistrationCommand, packageRunnerRegistrationCommand, parseEnvironment, supportedClients } from "./SupportedClients-Cag4oXyu.js";
5
5
  import { RegularFileCleanupFailure, init_RegularFileRead, readRegularFileText } from "./RegularFileRead-BMh5FMXd.js";
6
6
  import { MCP_STARTUP_POLICY, init_mcpStartupPolicy } from "./mcpStartupPolicy-Bb7TMLzn.js";
7
- import { clientConfigurationValuesEqual, clientRegistrationEntry, clientServerForcedEnabled, clientServerListedDisabled, dshDocument, effectiveClientServer, geminiServerPolicyBlock, init_ClientConfigurationDocument, init_DshCordisPatch, parseClientConfiguration, parseGeminiMcpPolicy } from "./ClientConfigurationDocument-D0ZqgTCv.js";
7
+ import { clientConfigurationValuesEqual, clientRegistrationEntry, clientServerForcedEnabled, clientServerListedDisabled, dshDocument, effectiveClientServer, geminiServerPolicyBlock, init_ClientConfigurationDocument, init_DshCordisPatch, parseClientConfiguration, parseGeminiMcpPolicy } from "./ClientConfigurationDocument-BvmXMdrN.js";
8
8
  import { dirname, resolve } from "node:path";
9
9
  import { z } from "zod";
10
10
  import { access, realpath } from "node:fs/promises";
@@ -1,16 +1,16 @@
1
1
  import { __esmMin, __exportAll } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisCapabilityUnavailableError, AnalysisInputError, AnalysisOutputError, init_analysisErrorCore, init_jsonValue, jsonValueSchema } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { analysisProfileSchema, artifactInspectionResultSchema, committedProviderSchema, createEvidence, err, init_analysisProfile, init_artifactInspection, init_evidence, init_result, ok } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { analysisProfileSchema, artifactInspectionResultSchema, committedProviderSchema, createEvidence, err, init_analysisProfile, init_artifactInspection, init_evidence, init_result, ok } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
  import { ProviderAdapterError, init_providerAdapterError } from "./providerAdapterError-SRSE_gzN.js";
5
5
  import { EvidenceFileError, EvidenceIntegrityError, UnknownRegistryError, init_evidenceErrors, init_unknownRegistryError } from "./analysisErrorPresentation-DZrKL8kS.js";
6
6
  import { init_analysisErrorProjection, projectAnalysisError } from "./streamedJsonOutput-VYlQZsM7.js";
7
- import { addressedValue, analysisErrorProjectionSchema, init_errorSchemas, init_toolOutputSchemaPrimitives } from "./toolEffects-DW31yTSx.js";
8
- import { REA_WORKFLOW_PROVIDER, init_InvestigationProviders, workflowAnalysisProfile } from "./InvestigationProviders-D-QCy-4c.js";
7
+ import { addressedValue, analysisErrorProjectionSchema, init_errorSchemas, init_toolOutputSchemaPrimitives } from "./toolEffects-JovaVppR.js";
8
+ import { REA_WORKFLOW_PROVIDER, init_InvestigationProviders, workflowAnalysisProfile } from "./InvestigationProviders-DhwicuUg.js";
9
9
  import { init_logger, silentLogger } from "./logger-CKq3JfbZ.js";
10
- import { init_managedToolContracts, isManagedToolName } from "./managedToolContracts-BSy4TRaK.js";
10
+ import { init_managedToolContracts, isManagedToolName } from "./managedToolContracts-_YDzyE2p.js";
11
11
  import { analysisErrorWithCleanupFailure, init_analysisErrorCleanup } from "./analysisErrorCleanup-DaUQNiQd.js";
12
- import { init_BinaryTargetResolver, parseBinaryTarget } from "./BinaryTargetResolver-CKRfFhLj.js";
13
- import { init_AnalysisSnapshotFiles, init_analysisSnapshot, readAnalysisSnapshot, snapshotEvidenceForQuery, snapshotMatchesTarget } from "./AnalysisSnapshotFiles-BuK_ymw5.js";
12
+ import { init_BinaryTargetResolver, parseBinaryTarget } from "./BinaryTargetResolver-uNu5jLfD.js";
13
+ import { init_AnalysisSnapshotFiles, init_analysisSnapshot, readAnalysisSnapshot, snapshotEvidenceForQuery, snapshotMatchesTarget } from "./AnalysisSnapshotFiles-CpXtlUrr.js";
14
14
  import { access } from "node:fs/promises";
15
15
 
16
16
  //#region dist/application/WorkflowEvidence.js
@@ -382,7 +382,7 @@ function init_DirectAnalysis() {
382
382
  executeAnalysisTool = async (input) => {
383
383
  const { session, tool, signal, evidenceProfile } = input;
384
384
  if (tool === "analyze_function") {
385
- const { executeFunctionAnalysisEvidence } = await import("./application__FunctionAnalysisEvidence-fWSgvV74.js");
385
+ const { executeFunctionAnalysisEvidence } = await import("./application__FunctionAnalysisEvidence-DWYRXeqm.js");
386
386
  const result = await executeFunctionAnalysisEvidence(session, input.arguments, input.openedTarget, { signal });
387
387
  return result.ok ? {
388
388
  output: result.value,
@@ -390,7 +390,7 @@ function init_DirectAnalysis() {
390
390
  } : { output: cliError(result.error) };
391
391
  }
392
392
  if (tool === "binary_overview" || tool === "inspect_native_api" || tool === "inspect_native_dispatch_metadata" || tool === "trace_feature" || tool === "trace_native_values" || tool === "trace_native_ui_action") {
393
- const { EnhancedTools } = await import("./application__EnhancedTools-C__HAdqG.js");
393
+ const { EnhancedTools } = await import("./application__EnhancedTools-BRAWz8_S.js");
394
394
  const result = await new EnhancedTools(session).execute(tool, input.arguments, signal);
395
395
  if (!result.ok) return { output: cliError(result.error) };
396
396
  const evidence = createWorkflowEvidence({
@@ -1,15 +1,15 @@
1
1
  import { __esmMin, __exportAll } from "./rolldown-runtime-DXoylpqc.js";
2
- import { PRODUCT_IDENTITY, SDK_IDENTITY, init_canonicalOrdering, init_identity, uniqueSorted } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
2
+ import { PRODUCT_IDENTITY, SDK_IDENTITY, init_canonicalOrdering, init_identity, uniqueSorted } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
3
3
  import { BinaryTargetError, init_configurationErrors } from "./configurationErrors-ByuF6gMR.js";
4
4
  import { analysisErrorRemediationAction, init_analysisErrorPresentation } from "./analysisErrorPresentation-DZrKL8kS.js";
5
5
  import { execFileOutput, init_ExecFileOutput } from "./ExecFileOutput-Czbj-HpV.js";
6
- import { homeDirectoryFromEnvironment, init_SupportedClients, init_homeDirectory, manualRegistrationRemediation } from "./SupportedClients-BrZ2qZVg.js";
6
+ import { homeDirectoryFromEnvironment, init_SupportedClients, init_homeDirectory, manualRegistrationRemediation } from "./SupportedClients-Cag4oXyu.js";
7
7
  import { ArtifactResourceScope, init_ArtifactResourceScope } from "./ArtifactResourceScope-CZqLEfbb.js";
8
- import { init_BinaryTargetResolver, parseBinaryTarget } from "./BinaryTargetResolver-CKRfFhLj.js";
8
+ import { init_BinaryTargetResolver, parseBinaryTarget } from "./BinaryTargetResolver-uNu5jLfD.js";
9
9
  import { SUPPORTED_NODE_VERSION_PROSE, init_runtimeVersion, javaScriptRuntime, supportsNodeVersion } from "./runtimeVersion-CMGd0bDu.js";
10
- import { CATALOG_IDENTITY, init_catalogIdentity } from "./catalogIdentity-EYVhBUYJ.js";
11
- import { init_SetupSkill, readInstalledSkillIdentity } from "./ClientConfigurationDocument-D0ZqgTCv.js";
12
- import { init_ClientRegistrationStatus, readClientRegistrationStatuses } from "./ClientRegistrationStatus-DGpwJ4ry.js";
10
+ import { CATALOG_IDENTITY, init_catalogIdentity } from "./catalogIdentity-D843Oy_i.js";
11
+ import { init_SetupSkill, readInstalledSkillIdentity } from "./ClientConfigurationDocument-BvmXMdrN.js";
12
+ import { init_ClientRegistrationStatus, readClientRegistrationStatuses } from "./ClientRegistrationStatus-BiBrkFVM.js";
13
13
  import { join } from "node:path";
14
14
  import { createHash } from "node:crypto";
15
15
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisCancelledError, AnalysisError, init_analysisErrorBase, init_analysisErrorCore } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { WEB_RUNTIME_LIMITS, classifyBrowserCompleteness, compareUnicodeCodePoints, createWebTextArtifact, init_browserCompleteness, init_browserObservation, init_unicodeCodePointOrder, init_webContentArtifact, init_webRuntime, sanitizeBrowserUrl } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { WEB_RUNTIME_LIMITS, classifyBrowserCompleteness, compareUnicodeCodePoints, createWebTextArtifact, init_browserCompleteness, init_browserObservation, init_unicodeCodePointOrder, init_webContentArtifact, init_webRuntime, sanitizeBrowserUrl } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
  import { BrowserObservationError, init_browserObservationError } from "./browserObservationError-D73SM55P.js";
5
5
  import { init_safeJson, safeParseJson } from "./safeJson-DKKACtdy.js";
6
6
  import { MAX_ASAR_HEADER_BYTES, admitAsarHeader, init_AsarHeader } from "./AsarHeader-CnzOzYEH.js";
@@ -1,11 +1,11 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { hopperStartupExitCode, init_hopperStartupFailure, isHopperStartupFailureCode } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { err, init_binaryTargetTypes, init_result, isMachOFormat, ok } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { err, init_binaryTargetTypes, init_result, isMachOFormat, ok } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
  import { ConfigurationError, init_configurationErrors } from "./configurationErrors-ByuF6gMR.js";
5
- import { ProviderProcessSupervisor, init_ProviderProcess, init_snapshotEnvironment, snapshotEnvironment, spawnOwnedProviderProcess } from "./snapshotEnvironment-B5Ai0mha.js";
6
- import { cleanupOwnedProcessGroup, init_ProcessOwnership } from "./ProcessOwnership-AOJaszxt.js";
5
+ import { ProviderProcessSupervisor, init_ProviderProcess, init_snapshotEnvironment, snapshotEnvironment, spawnOwnedProviderProcess } from "./snapshotEnvironment-CF3KJGdj.js";
6
+ import { cleanupOwnedProcessGroup, init_ProcessOwnership } from "./ProcessOwnership-Ddlg82OS.js";
7
7
  import { init_safeJson, safeParseJson } from "./safeJson-DKKACtdy.js";
8
- import { init_binaryTarget, parseExecutableHeader } from "./BinaryTargetResolver-CKRfFhLj.js";
8
+ import { init_binaryTarget, parseExecutableHeader } from "./BinaryTargetResolver-uNu5jLfD.js";
9
9
  import { isAbsolute, posix, win32 } from "node:path";
10
10
  import { randomUUID } from "node:crypto";
11
11
  import { z } from "zod";
@@ -1,7 +1,7 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisProtocolError, init_analysisErrorCore, init_jsonValue, jsonValueSchema } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { createEvidence, err, init_evidence, init_result, ok } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
4
- import { init_workflowInputError, requestInputError, workflowInputError } from "./workflowInputError-26EGiDpx.js";
3
+ import { createEvidence, err, init_evidence, init_result, ok } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
+ import { init_workflowInputError, requestInputError, workflowInputError } from "./workflowInputError-uPF2Przv.js";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region dist/application/InventoryProjectionEvidence.js
@@ -1,5 +1,5 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
- import { createAnalysisProfile, init_analysisProfile } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
2
+ import { createAnalysisProfile, init_analysisProfile } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
3
3
 
4
4
  //#region dist/application/InvestigationProviders.js
5
5
  var REA_WORKFLOW_PROVIDER, workflowAnalysisProfile, ARTIFACT_GRAPH_PROVIDER, MANAGED_STATIC_PROVIDER, PE_RESOURCES_PROVIDER, MANAGED_WORKFLOW_PROVIDER, APPLE_APPLICATION_PROVIDER, ANDROID_APPLICATION_PROVIDER, HARMONY_APPLICATION_PROVIDER, WEB_SCRIPT_EXPORT_PROVIDER, JAVASCRIPT_APPLICATION_PROVIDER, JAVASCRIPT_RUNTIME_RECONCILIATION_PROVIDER, ANALYSIS_VIEW_PROVIDER, JAVASCRIPT_APPLICATION_WORKFLOW_PROVIDER, ARTIFACT_COMPARISON_PROVIDER, FUNCTION_COMPARISON_PROVIDER, BUNDLE_COMPARISON_PROVIDER, CHANGED_BEHAVIOR_PROVIDER, CALL_PATH_PROVIDER, STATIC_RUNTIME_PROVIDER, RECONSTRUCTION_PROVIDER;
@@ -1,10 +1,10 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisInputError, init_analysisErrorCore } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { err, init_evidence, init_inputIssueProjection, init_result, isImmutableEvidence, ok, parseEvidence, projectInputIssues } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
4
- import { JAVASCRIPT_APPLICATION_PROVIDER, JAVASCRIPT_RUNTIME_RECONCILIATION_PROVIDER, MANAGED_WORKFLOW_PROVIDER, init_InvestigationProviders } from "./InvestigationProviders-D-QCy-4c.js";
5
- import { analyzeJavaScriptApplicationInputSchema, init_javascriptApplicationAnalysis, javascriptApplicationAnalysisResultSchema } from "./javascriptRuntimeObservation-9xTNoKY2.js";
6
- import { init_managedApplicationGraph, managedApplicationGraphResultSchema } from "./managedApplicationGraph-BqOr01E6.js";
7
- import { init_javascriptRuntimeReconciliationSchemas, javascriptRuntimeReconciliationResultSchema } from "./javascriptRuntimeReconciliationSchemas-D1Mrb_Y0.js";
3
+ import { err, init_evidence, init_inputIssueProjection, init_result, isImmutableEvidence, ok, parseEvidence, projectInputIssues } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
+ import { JAVASCRIPT_APPLICATION_PROVIDER, JAVASCRIPT_RUNTIME_RECONCILIATION_PROVIDER, MANAGED_WORKFLOW_PROVIDER, init_InvestigationProviders } from "./InvestigationProviders-DhwicuUg.js";
5
+ import { analyzeJavaScriptApplicationInputSchema, init_javascriptApplicationAnalysis, javascriptApplicationAnalysisResultSchema } from "./javascriptRuntimeObservation-Kk7etMNj.js";
6
+ import { init_managedApplicationGraph, managedApplicationGraphResultSchema } from "./managedApplicationGraph-bNZH8_q9.js";
7
+ import { init_javascriptRuntimeReconciliationSchemas, javascriptRuntimeReconciliationResultSchema } from "./javascriptRuntimeReconciliationSchemas-BoiwFBmk.js";
8
8
  import { z } from "zod";
9
9
 
10
10
  //#region dist/application/javascript/JavaScriptApplicationEvidenceGraph.js
@@ -1,6 +1,6 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
- import { createEvidence, init_evidence } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
- import { JAVASCRIPT_APPLICATION_WORKFLOW_PROVIDER, init_InvestigationProviders } from "./InvestigationProviders-D-QCy-4c.js";
2
+ import { createEvidence, init_evidence } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
3
+ import { JAVASCRIPT_APPLICATION_WORKFLOW_PROVIDER, init_InvestigationProviders } from "./InvestigationProviders-DhwicuUg.js";
4
4
 
5
5
  //#region dist/application/javascript/JavaScriptApplicationWorkflowEvidence.js
6
6
  var createApplicationFeatureTraceEvidence, createJavaScriptSemanticTraceEvidence, createApplicationVersionComparisonEvidence, createSourceToBundleComparisonEvidence, createJavaScriptExportShapeComparisonEvidence;
@@ -1,6 +1,6 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisCancelledError, AnalysisInputError, AnalysisResourceConstraintError, init_analysisErrorCore } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { err, init_result, ok } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { err, init_result, ok } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
  import { ArtifactReaderFailure, init_ArtifactReader } from "./ArtifactReader-BXkffc1D.js";
5
5
  import { EvidenceFileError, init_evidenceErrors } from "./analysisErrorPresentation-DZrKL8kS.js";
6
6
  import { init_safeJson, safeParseJson } from "./safeJson-DKKACtdy.js";
@@ -3,13 +3,13 @@ import { AnalysisCancelledError, AnalysisError, AnalysisResourceConstraintError,
3
3
  import { ArtifactReaderFailure, init_ArtifactReader } from "./ArtifactReader-BXkffc1D.js";
4
4
  import { ProviderCleanupError, init_providerCleanupError } from "./providerCleanupError-Do66qCEp.js";
5
5
  import { EvidenceIntegrityError, init_evidenceErrors } from "./analysisErrorPresentation-DZrKL8kS.js";
6
- import { MANAGED_STATIC_PROVIDER, init_InvestigationProviders } from "./InvestigationProviders-D-QCy-4c.js";
6
+ import { MANAGED_STATIC_PROVIDER, init_InvestigationProviders } from "./InvestigationProviders-DhwicuUg.js";
7
7
  import { RegularFileChangedError, init_RegularFile } from "./RegularFile-CL6meBxi.js";
8
8
  import { init_BoundedFileBytes, readBoundedFileBytes } from "./BoundedFileBytes-BU30odTm.js";
9
9
  import { RegularFileCleanupFailure, init_RegularFileRead, withRegularFile } from "./RegularFileRead-BMh5FMXd.js";
10
10
  import { analysisErrorWithCleanupFailure, init_analysisErrorCleanup } from "./analysisErrorCleanup-DaUQNiQd.js";
11
- import { init_managedArtifact, managedMemberInspectionSchema } from "./managedApplicationGraph-BqOr01E6.js";
12
- import { classifyBinaryTargetFilesystemFailure, decodePeMachine, init_BinaryTargetResolver, init_peMachine } from "./BinaryTargetResolver-CKRfFhLj.js";
11
+ import { init_managedArtifact, managedMemberInspectionSchema } from "./managedApplicationGraph-bNZH8_q9.js";
12
+ import { classifyBinaryTargetFilesystemFailure, decodePeMachine, init_BinaryTargetResolver, init_peMachine } from "./BinaryTargetResolver-uNu5jLfD.js";
13
13
  import { createHash } from "node:crypto";
14
14
 
15
15
  //#region dist/dotnet/ManagedReaderFailure.js
@@ -1,6 +1,6 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
- import { ProviderProcessSupervisor, init_ProviderProcess, spawnOwnedProviderProcess } from "./snapshotEnvironment-B5Ai0mha.js";
3
- import { cleanupOwnedProcessGroup, init_ProcessOwnership } from "./ProcessOwnership-AOJaszxt.js";
2
+ import { ProviderProcessSupervisor, init_ProviderProcess, spawnOwnedProviderProcess } from "./snapshotEnvironment-CF3KJGdj.js";
3
+ import { cleanupOwnedProcessGroup, init_ProcessOwnership } from "./ProcessOwnership-Ddlg82OS.js";
4
4
  import { ProviderStartupDeadline, init_ProviderDeadline, waitForAbortableDelay } from "./ProviderDeadline-BSbNOmuW.js";
5
5
 
6
6
  //#region dist/process/OwnedCommand.js
@@ -1,5 +1,5 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
- import { init_WindowsNativeLoader, requireWindowsNativeAuthority, systemWindowsNativeAuthority, windowsFileIdentitySchema, windowsHandleSchema } from "./snapshotEnvironment-B5Ai0mha.js";
2
+ import { init_WindowsNativeLoader, requireWindowsNativeAuthority, systemWindowsNativeAuthority, windowsFileIdentitySchema, windowsHandleSchema } from "./snapshotEnvironment-CF3KJGdj.js";
3
3
  import { join, win32 } from "node:path";
4
4
  import { z } from "zod";
5
5
  import { mkdtemp, rm } from "node:fs/promises";
@@ -1,6 +1,6 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisCapabilityUnavailableError, init_analysisErrorCore } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { compareUnicodeCodePoints, init_unicodeCodePointOrder } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { compareUnicodeCodePoints, init_unicodeCodePointOrder } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
  import { execFileOutput, execFileOutputFailure, init_ExecFileOutput } from "./ExecFileOutput-Czbj-HpV.js";
5
5
  import { init_safeJson, safeParseJson } from "./safeJson-DKKACtdy.js";
6
6
  import { basename, join } from "node:path";
@@ -1,7 +1,7 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { ArtifactReaderFailure, init_ArtifactReader } from "./ArtifactReader-BXkffc1D.js";
3
3
  import { OwnedFileHandle, init_OwnedFileHandle } from "./RegularFile-CL6meBxi.js";
4
- import { ArtifactPathRegistry, destinationCaseCollisionMessage, init_ArtifactPaths, init_StreamBytes, normalizeArtifactPath, streamChunkToBuffer } from "./ZipArtifactReader-Db65WuM_.js";
4
+ import { ArtifactPathRegistry, destinationCaseCollisionMessage, init_ArtifactPaths, init_StreamBytes, normalizeArtifactPath, streamChunkToBuffer } from "./ZipArtifactReader-DziTscTm.js";
5
5
  import { init_readFileHandleChunks, readFileHandleChunks } from "./readFileHandleChunks-dp60iZ6v.js";
6
6
  import { basename, dirname, isAbsolute, join, resolve, sep } from "node:path";
7
7
  import { createHash } from "node:crypto";
@@ -1,15 +1,15 @@
1
1
  import { __esmMin, __exportAll } from "./rolldown-runtime-DXoylpqc.js";
2
- import { PRODUCT_IDENTITY, compareUnicodeCodePoints, init_identity, init_unicodeCodePointOrder } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
2
+ import { PRODUCT_IDENTITY, compareUnicodeCodePoints, init_identity, init_unicodeCodePointOrder } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
3
3
  import { ArtifactReaderFailure, init_ArtifactReader } from "./ArtifactReader-BXkffc1D.js";
4
4
  import { ConfigurationError, init_configurationErrors } from "./configurationErrors-ByuF6gMR.js";
5
- import { clientEvidencePaths, homeDirectoryFromEnvironment, init_ClientRegistrationIdentity, init_SupportedClients, init_homeDirectory, invokingPackageRunner, npxRegistrationCommand, packageRunnerRegistrationCommand, supportedClients } from "./SupportedClients-BrZ2qZVg.js";
5
+ import { clientEvidencePaths, homeDirectoryFromEnvironment, init_ClientRegistrationIdentity, init_SupportedClients, init_homeDirectory, invokingPackageRunner, npxRegistrationCommand, packageRunnerRegistrationCommand, supportedClients } from "./SupportedClients-Cag4oXyu.js";
6
6
  import { RegularFileCleanupFailure, init_RegularFileRead, readRegularFileText, retryRegularFileCleanup } from "./RegularFileRead-BMh5FMXd.js";
7
7
  import { ArtifactResourceScope, init_ArtifactResourceScope } from "./ArtifactResourceScope-CZqLEfbb.js";
8
8
  import { SUPPORTED_NODE_VERSION_PROSE, init_runtimeVersion, supportsNodeVersion } from "./runtimeVersion-CMGd0bDu.js";
9
9
  import { MCP_STARTUP_POLICY, init_mcpStartupPolicy } from "./mcpStartupPolicy-Bb7TMLzn.js";
10
- import { HOPPER_DOWNLOAD_BYTES, downloadHopperPackage, init_Doctor, init_HopperDownload, init_LinuxHopper, installLinuxHopper, readLinuxDistribution, runDoctor, systemDoctorHost, systemLinuxHopperInstallHost } from "./Doctor-CzwYS9nB.js";
11
- import { DshCordisDocument, OMP_DISABLED_SERVERS_KEY, canonicalSkillNeedsInstall, clientConfigurationValuesEqual, clientRegistrationEntry, clientServerListedDisabled, clientServerPath, dshDocument, init_ClientConfigurationDocument, init_DshCordisPatch, init_SetupSkill, installCanonicalSkill, legacyClientServerPath, parseClientConfiguration, serializeClientConfiguration, skillDestinations, withClientServers } from "./ClientConfigurationDocument-D0ZqgTCv.js";
12
- import { clientRegistrationEnvironment, init_ClientConfigurationFiles, init_ClientRegistrationEnvironment, init_GeminiClientSettings, readClientConfigurationFiles, readClientPolicyBlock } from "./ClientRegistrationStatus-DGpwJ4ry.js";
10
+ import { HOPPER_DOWNLOAD_BYTES, downloadHopperPackage, init_Doctor, init_HopperDownload, init_LinuxHopper, installLinuxHopper, readLinuxDistribution, runDoctor, systemDoctorHost, systemLinuxHopperInstallHost } from "./Doctor-DusrhiVR.js";
11
+ import { DshCordisDocument, OMP_DISABLED_SERVERS_KEY, canonicalSkillNeedsInstall, clientConfigurationValuesEqual, clientRegistrationEntry, clientServerListedDisabled, clientServerPath, dshDocument, init_ClientConfigurationDocument, init_DshCordisPatch, init_SetupSkill, installCanonicalSkill, legacyClientServerPath, parseClientConfiguration, serializeClientConfiguration, skillDestinations, withClientServers } from "./ClientConfigurationDocument-BvmXMdrN.js";
12
+ import { clientRegistrationEnvironment, init_ClientConfigurationFiles, init_ClientRegistrationEnvironment, init_GeminiClientSettings, readClientConfigurationFiles, readClientPolicyBlock } from "./ClientRegistrationStatus-BiBrkFVM.js";
13
13
  import { init_ClientConfigPath, resolveClientConfigTransactionPath } from "./ClientConfigPath-c6jr6INc.js";
14
14
  import { dirname, join, resolve } from "node:path";
15
15
  import { createHash } from "node:crypto";
@@ -1,5 +1,5 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
- import { PRODUCT_IDENTITY, analysisProviderSelectorSchema, compareUnicodeCodePoints, err, init_identity, init_providerSelection, init_result, init_unicodeCodePointOrder, ok } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
2
+ import { PRODUCT_IDENTITY, analysisProviderSelectorSchema, compareUnicodeCodePoints, err, init_identity, init_providerSelection, init_result, init_unicodeCodePointOrder, ok } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
3
3
  import { ConfigurationError, init_configurationErrors } from "./configurationErrors-ByuF6gMR.js";
4
4
  import { DEFAULT_GHIDRA_STARTUP_TIMEOUT_MS, DEFAULT_HOPPER_STARTUP_TIMEOUT_MS, init_providerStartupTimeout, providerStartupTimeoutSchema } from "./providerStartupTimeout-Be8B1Ro8.js";
5
5
  import { basename, dirname, isAbsolute, join, relative, resolve, sep, win32 } from "node:path";
@@ -1,5 +1,5 @@
1
1
  import { __esmMin, __exportAll } from "./rolldown-runtime-DXoylpqc.js";
2
- import { PRODUCT_IDENTITY, init_identity } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
2
+ import { PRODUCT_IDENTITY, init_identity } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
3
3
  import { init_UpdateFailure, isUpdateFailure } from "./UpdateFailure-BcFNxEZZ.js";
4
4
  import { gt, valid } from "semver";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
- import { init_snapshotEnvironment, snapshotEnvironment } from "./snapshotEnvironment-B5Ai0mha.js";
2
+ import { init_snapshotEnvironment, snapshotEnvironment } from "./snapshotEnvironment-CF3KJGdj.js";
3
3
  import { win32 } from "node:path";
4
4
 
5
5
  //#region dist/process/WindowsBatchCommand.js
@@ -1,5 +1,5 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
- import { compareUnicodeCodePoints, init_artifactIdentity, init_unicodeCodePointOrder, logicalPathNfc } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
2
+ import { compareUnicodeCodePoints, init_artifactIdentity, init_unicodeCodePointOrder, logicalPathNfc } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
3
3
  import { ArtifactReaderFailure, copyArtifactEntry, init_ArtifactReader, sameArtifactEntry } from "./ArtifactReader-BXkffc1D.js";
4
4
  import { NonRegularFileReadError, OwnedFileHandle, RegularFileAdmissionFailure, init_OwnedFileHandle, init_RegularFile, openRegularFile, sameRegularFileState } from "./RegularFile-CL6meBxi.js";
5
5
  import { posix } from "node:path";
@@ -1,9 +1,9 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { init_jsonValue, jsonObjectSchema } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { PRODUCT_IDENTITY, SDK_IDENTITY, init_identity } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { PRODUCT_IDENTITY, SDK_IDENTITY, init_identity } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
  import { init_analysisErrorProjection, projectAnalysisError } from "./streamedJsonOutput-VYlQZsM7.js";
5
5
  import { init_logger, silentLogger } from "./logger-CKq3JfbZ.js";
6
- import { CATALOG_IDENTITY, init_catalogIdentity } from "./catalogIdentity-EYVhBUYJ.js";
6
+ import { CATALOG_IDENTITY, init_catalogIdentity } from "./catalogIdentity-D843Oy_i.js";
7
7
  import { basename, dirname, resolve } from "node:path";
8
8
  import { fileURLToPath } from "node:url";
9
9
 
@@ -1,9 +1,9 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisCancelledError, AnalysisCapabilityUnavailableError, AnalysisInputError, AnalysisOutputError, init_analysisErrorCore, init_jsonValue, jsonValueSchema } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { addressDistance, compareUnicodeCodePoints, createEvidence, err, functionDossierSchema, init_evidence, init_hopperValues, init_interfaceBuilderGraph, init_nativeApiBoundary, init_nativeInstruction, init_nativeInvestigationGraph, init_nativeValueTrace, init_objcSwiftMetadata, init_result, init_unicodeCodePointOrder, inspectNativeDispatchMetadata, interfaceBuilderAnalysisSchema, joinInterfaceBuilderDispatch, nativeApiInspectionResultSchema, nativeCallTargetsSchema, nativeDispatchMetadataResultSchema, nativeInvestigationGraphSchema, nativeInvestigationTraceSchema, nativeValueTraceInputSchema, nativeValueTraceSchema, ok, parseDocuments, parseFunctionDossier, parseListCount, parseRelatedAddresses, parseSegments, referenceKindSchema, traceNativeInvestigationGraph } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
3
+ import { addressDistance, compareUnicodeCodePoints, createEvidence, err, functionDossierSchema, init_evidence, init_hopperValues, init_interfaceBuilderGraph, init_nativeApiBoundary, init_nativeInstruction, init_nativeInvestigationGraph, init_nativeValueTrace, init_objcSwiftMetadata, init_result, init_unicodeCodePointOrder, inspectNativeDispatchMetadata, interfaceBuilderAnalysisSchema, joinInterfaceBuilderDispatch, nativeApiInspectionResultSchema, nativeCallTargetsSchema, nativeDispatchMetadataResultSchema, nativeInvestigationGraphSchema, nativeInvestigationTraceSchema, nativeValueTraceInputSchema, nativeValueTraceSchema, ok, parseDocuments, parseFunctionDossier, parseListCount, parseRelatedAddresses, parseSegments, referenceKindSchema, traceNativeInvestigationGraph } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
4
  import { init_analysisErrorProjection, projectAnalysisError } from "./streamedJsonOutput-VYlQZsM7.js";
5
- import { enhancedInputSchemas, init_enhancedInputs } from "./enhancedInputs-K8C_o3b4.js";
6
- import { init_ProcedureAddressResolution, resolveProcedureAddress } from "./DirectAnalysis-DW3MvxW0.js";
5
+ import { enhancedInputSchemas, init_enhancedInputs } from "./enhancedInputs-ItbV9oua.js";
6
+ import { init_ProcedureAddressResolution, resolveProcedureAddress } from "./DirectAnalysis-DeVU6XXl.js";
7
7
  import { z } from "zod";
8
8
 
9
9
  //#region dist/domain/swiftSymbolClassification.js
@@ -1,7 +1,7 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { init_jsonValue, jsonObjectSchema } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { analysisInputErrorFromIssues, createEvidence, err, init_evidence, init_hopperValues, init_inputIssueProjection, init_result, ok, parseFunctionDossier } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
4
- import { init_toolContracts, toolContract } from "./toolContracts-C7pvYKxF.js";
3
+ import { analysisInputErrorFromIssues, createEvidence, err, init_evidence, init_hopperValues, init_inputIssueProjection, init_result, ok, parseFunctionDossier } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
+ import { init_toolContracts, toolContract } from "./toolContracts-DrZdzzVJ.js";
5
5
 
6
6
  //#region dist/application/FunctionAnalysisEvidence.js
7
7
  var executeFunctionAnalysisEvidence;
@@ -1,7 +1,7 @@
1
1
  import { __esmMin } from "./rolldown-runtime-DXoylpqc.js";
2
2
  import { AnalysisInputError, init_analysisErrorCore, init_jsonValue, jsonValueSchema } from "./providerOperationHealth-DSTcYPJe.js";
3
- import { err, evaluateReconstructionClosure, init_reconstructionCoverage, init_reconstructionCoverageInput, init_result, ok, reconstructionCoverageEvaluationInputSchema } from "./reconstructionObligationLedgerSchemas-dvp6PEnZ.js";
4
- import { init_workflowInputError, requestInputError, workflowInputError } from "./workflowInputError-26EGiDpx.js";
3
+ import { err, evaluateReconstructionClosure, init_reconstructionCoverage, init_reconstructionCoverageInput, init_result, ok, reconstructionCoverageEvaluationInputSchema } from "./reconstructionObligationLedgerSchemas-CBxjNJ5m.js";
4
+ import { init_workflowInputError, requestInputError, workflowInputError } from "./workflowInputError-uPF2Przv.js";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region dist/application/ReconstructionCoverageService.js