@probelabs/probe 0.6.0-rc148 → 0.6.0-rc150
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/build/agent/ProbeAgent.js +3 -5
- package/build/agent/index.js +6951 -302
- package/build/agent/schemaUtils.js +211 -3
- package/build/extract.js +1 -1
- package/build/mcp/index.js +3 -3
- package/build/mcp/index.ts +3 -3
- package/build/tools/common.js +58 -49
- package/cjs/agent/ProbeAgent.cjs +7246 -597
- package/cjs/index.cjs +7246 -597
- package/package.json +4 -3
- package/src/agent/ProbeAgent.js +3 -5
- package/src/agent/schemaUtils.js +211 -3
- package/src/extract.js +1 -1
- package/src/mcp/index.ts +3 -3
- package/src/tools/common.js +58 -49
- package/bin/binaries/probe-v0.6.0-rc148-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc148-aarch64-unknown-linux-gnu.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc148-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc148-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc148-x86_64-unknown-linux-gnu.tar.gz +0 -0
|
@@ -920,9 +920,7 @@ Examples:
|
|
|
920
920
|
</search>
|
|
921
921
|
|
|
922
922
|
<extract>
|
|
923
|
-
<
|
|
924
|
-
<start_line>15</start_line>
|
|
925
|
-
<end_line>25</end_line>
|
|
923
|
+
<targets>src/config.js:15-25</targets>
|
|
926
924
|
</extract>
|
|
927
925
|
|
|
928
926
|
<attempt_completion>
|
|
@@ -1833,7 +1831,7 @@ Convert your previous response content into actual JSON data that follows this s
|
|
|
1833
1831
|
});
|
|
1834
1832
|
}
|
|
1835
1833
|
|
|
1836
|
-
let validation = validateJsonResponse(finalResult, { debug: this.debug });
|
|
1834
|
+
let validation = validateJsonResponse(finalResult, { debug: this.debug, schema: options.schema });
|
|
1837
1835
|
let retryCount = 0;
|
|
1838
1836
|
const maxRetries = 3;
|
|
1839
1837
|
|
|
@@ -1884,7 +1882,7 @@ Convert your previous response content into actual JSON data that follows this s
|
|
|
1884
1882
|
);
|
|
1885
1883
|
|
|
1886
1884
|
// Validate the corrected response
|
|
1887
|
-
currentValidation = validateJsonResponse(currentResult, { debug: this.debug });
|
|
1885
|
+
currentValidation = validateJsonResponse(currentResult, { debug: this.debug, schema: options.schema });
|
|
1888
1886
|
retryCount++;
|
|
1889
1887
|
|
|
1890
1888
|
if (this.debug) {
|