@probelabs/visor 0.1.58 → 0.1.59
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/ai-review-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,aAAa,EAAe,MAAM,YAAY,CAAC;AAWxD,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,aAAa,CAAC;IAClF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC,CAAC;CACzD;AAED,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,YAAY,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,kCAAkC;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,6BAA6B;IAC7B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,qCAAqC;IACrC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AM,EAAE,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE;IAgBnF;;OAEG;IACG,aAAa,IAAI,OAAO,CAC5B,KAAK,CAAC;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EAAE,MAAM,EAAE,CAAC;KACxB,CAAC,CACH;IAID;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAsDzB;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAgCzB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IA+B3B,OAAO,CAAC,cAAc;IAkBtB;;OAEG;IACG,eAAe,IAAI,OAAO,CAAC,OAAO,CAAC;IASzC;;OAEG;IACG,yBAAyB,CAC7B,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,aAAa,EAC5B,MAAM,CAAC,EAAE,OAAO,gBAAgB,EAAE,WAAW,GAC5C,OAAO,CAAC,sBAAsB,EAAE,CAAC;IA+EpC;;OAEG;IACG,mBAAmB,IAAI,OAAO,CAAC;QACnC,eAAe,EAAE,OAAO,CAAC;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IAmBF;;OAEG;YACW,sBAAsB;IAiEpC;;OAEG;YACW,4BAA4B;IA4B1C;;OAEG;YACW,+BAA+B;IA2E7C;;OAEG;YACW,6BAA6B;IAyB3C;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IA4F3B;;OAEG;IACH,OAAO,CAAC,mBAAmB;CAa5B"}
|
|
@@ -40,6 +40,21 @@ export declare class DependencyResolver {
|
|
|
40
40
|
valid: boolean;
|
|
41
41
|
errors: string[];
|
|
42
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* Get all transitive dependencies (ancestors) for a given check
|
|
45
|
+
* This returns all checks that must complete before the given check can run,
|
|
46
|
+
* not just the direct dependencies.
|
|
47
|
+
*
|
|
48
|
+
* For example, if A -> B -> C, then:
|
|
49
|
+
* - getAllDependencies(C) returns [A, B]
|
|
50
|
+
* - getAllDependencies(B) returns [A]
|
|
51
|
+
* - getAllDependencies(A) returns []
|
|
52
|
+
*
|
|
53
|
+
* @param checkId The check to find dependencies for
|
|
54
|
+
* @param nodes The dependency graph nodes
|
|
55
|
+
* @returns Array of all transitive dependency IDs
|
|
56
|
+
*/
|
|
57
|
+
static getAllDependencies(checkId: string, nodes: Map<string, CheckNode>): string[];
|
|
43
58
|
/**
|
|
44
59
|
* Get execution statistics for debugging
|
|
45
60
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/visor/visor/src/dependency-resolver.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,sCAAsC;IACtC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC9B,cAAc,EAAE,cAAc,EAAE,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,qBAAa,kBAAkB;IAC7B;;OAEG;IACH,MAAM,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,eAAe;IA8CzF;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,YAAY;IA6C3B;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe;IAs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;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe;IAsC9B;;OAEG;IACH,MAAM,CAAC,oBAAoB,CACzB,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GACrC;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE;IAuBvC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,MAAM,EAAE;IA0BnF;;OAEG;IACH,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG;QAChD,WAAW,EAAE,MAAM,CAAC;QACpB,cAAc,EAAE,MAAM,CAAC;QACvB,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,sBAAsB,EAAE,MAAM,CAAC;KAChC;CAiBF"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
process.env.VISOR_VERSION = '0.1.
|
|
2
|
+
process.env.VISOR_VERSION = '0.1.59';
|
|
3
3
|
/******/ (() => { // webpackBootstrap
|
|
4
4
|
/******/ var __webpack_modules__ = ({
|
|
5
5
|
|
|
@@ -94765,6 +94765,29 @@ ${prInfo.fullDiff ? this.escapeXml(prInfo.fullDiff) : ''}
|
|
|
94765
94765
|
}
|
|
94766
94766
|
}
|
|
94767
94767
|
}
|
|
94768
|
+
// Check if this is a custom schema (free-form data)
|
|
94769
|
+
// Custom schemas are:
|
|
94770
|
+
// 1. Inline schemas (effectiveSchema === 'custom')
|
|
94771
|
+
// 2. File-based custom schemas (starts with ./ or contains .json)
|
|
94772
|
+
// 3. Any schema that is NOT 'code-review' or other built-in schemas
|
|
94773
|
+
const isCustomSchema = _schema === 'custom' ||
|
|
94774
|
+
(_schema && (_schema.startsWith('./') || _schema.endsWith('.json'))) ||
|
|
94775
|
+
(_schema && _schema !== 'code-review' && !_schema.includes('output/'));
|
|
94776
|
+
if (isCustomSchema) {
|
|
94777
|
+
// For custom schemas, preserve ALL fields from the parsed JSON
|
|
94778
|
+
// Don't force the response into the standard ReviewSummary format
|
|
94779
|
+
log('📋 Custom schema detected - preserving all fields from parsed JSON');
|
|
94780
|
+
log(`📊 Schema: ${_schema}`);
|
|
94781
|
+
log(`📊 Custom schema keys: ${Object.keys(reviewData).join(', ')}`);
|
|
94782
|
+
// Return the full parsed data as the output, with an empty issues array
|
|
94783
|
+
// This allows downstream checks to access all custom fields via outputs
|
|
94784
|
+
const result = {
|
|
94785
|
+
issues: [], // Empty array for custom schemas (no code review issues)
|
|
94786
|
+
output: reviewData, // Preserve ALL custom schema fields here
|
|
94787
|
+
};
|
|
94788
|
+
log('✅ Successfully created ReviewSummary with custom schema output');
|
|
94789
|
+
return result;
|
|
94790
|
+
}
|
|
94768
94791
|
// Standard code-review schema processing
|
|
94769
94792
|
log('🔍 Validating parsed review data...');
|
|
94770
94793
|
log(`📊 Overall score: ${0}`);
|
|
@@ -95827,15 +95850,25 @@ class CheckExecutionEngine {
|
|
|
95827
95850
|
...(checkConfig.ai || {}),
|
|
95828
95851
|
},
|
|
95829
95852
|
};
|
|
95830
|
-
// Pass results from dependencies
|
|
95853
|
+
// Pass results from ALL transitive dependencies (not just direct ones)
|
|
95854
|
+
// This ensures the "outputs" variable has access to all ancestor check results
|
|
95831
95855
|
const dependencyResults = new Map();
|
|
95832
95856
|
let isForEachDependent = false;
|
|
95833
95857
|
let forEachItems = [];
|
|
95834
95858
|
let forEachParentName;
|
|
95835
|
-
|
|
95859
|
+
// Get all transitive dependencies (ancestors) for this check
|
|
95860
|
+
const allDependencies = dependency_resolver_1.DependencyResolver.getAllDependencies(checkName, dependencyGraph.nodes);
|
|
95861
|
+
// Include results from ALL dependencies (direct and transitive)
|
|
95862
|
+
for (const depId of allDependencies) {
|
|
95836
95863
|
if (results.has(depId)) {
|
|
95837
95864
|
const depResult = results.get(depId);
|
|
95838
95865
|
dependencyResults.set(depId, depResult);
|
|
95866
|
+
}
|
|
95867
|
+
}
|
|
95868
|
+
// Check direct dependencies for forEach behavior
|
|
95869
|
+
for (const depId of checkConfig.depends_on || []) {
|
|
95870
|
+
if (results.has(depId)) {
|
|
95871
|
+
const depResult = results.get(depId);
|
|
95839
95872
|
// Check if this dependency has forEach enabled
|
|
95840
95873
|
const depForEachResult = depResult;
|
|
95841
95874
|
if (depForEachResult.isForEach && Array.isArray(depForEachResult.forEachItems)) {
|
|
@@ -96012,6 +96045,13 @@ class CheckExecutionEngine {
|
|
|
96012
96045
|
const result = levelResults[i];
|
|
96013
96046
|
const checkConfig = config.checks[checkName];
|
|
96014
96047
|
if (result.status === 'fulfilled' && result.value.result && !result.value.error) {
|
|
96048
|
+
// Skip storing results for skipped checks (they should not appear in outputs)
|
|
96049
|
+
if (result.value.skipped) {
|
|
96050
|
+
if (debug) {
|
|
96051
|
+
log(`🔧 Debug: Not storing result for skipped check "${checkName}"`);
|
|
96052
|
+
}
|
|
96053
|
+
continue;
|
|
96054
|
+
}
|
|
96015
96055
|
const reviewResult = result.value.result;
|
|
96016
96056
|
// Handle forEach logic - process array outputs
|
|
96017
96057
|
const reviewSummaryWithOutput = reviewResult;
|
|
@@ -98725,6 +98765,41 @@ class DependencyResolver {
|
|
|
98725
98765
|
errors,
|
|
98726
98766
|
};
|
|
98727
98767
|
}
|
|
98768
|
+
/**
|
|
98769
|
+
* Get all transitive dependencies (ancestors) for a given check
|
|
98770
|
+
* This returns all checks that must complete before the given check can run,
|
|
98771
|
+
* not just the direct dependencies.
|
|
98772
|
+
*
|
|
98773
|
+
* For example, if A -> B -> C, then:
|
|
98774
|
+
* - getAllDependencies(C) returns [A, B]
|
|
98775
|
+
* - getAllDependencies(B) returns [A]
|
|
98776
|
+
* - getAllDependencies(A) returns []
|
|
98777
|
+
*
|
|
98778
|
+
* @param checkId The check to find dependencies for
|
|
98779
|
+
* @param nodes The dependency graph nodes
|
|
98780
|
+
* @returns Array of all transitive dependency IDs
|
|
98781
|
+
*/
|
|
98782
|
+
static getAllDependencies(checkId, nodes) {
|
|
98783
|
+
const allDeps = new Set();
|
|
98784
|
+
const visited = new Set();
|
|
98785
|
+
const collectDependencies = (currentId) => {
|
|
98786
|
+
if (visited.has(currentId)) {
|
|
98787
|
+
return;
|
|
98788
|
+
}
|
|
98789
|
+
visited.add(currentId);
|
|
98790
|
+
const node = nodes.get(currentId);
|
|
98791
|
+
if (!node) {
|
|
98792
|
+
return;
|
|
98793
|
+
}
|
|
98794
|
+
// Add direct dependencies and recurse
|
|
98795
|
+
for (const depId of node.dependencies) {
|
|
98796
|
+
allDeps.add(depId);
|
|
98797
|
+
collectDependencies(depId);
|
|
98798
|
+
}
|
|
98799
|
+
};
|
|
98800
|
+
collectDependencies(checkId);
|
|
98801
|
+
return Array.from(allDeps);
|
|
98802
|
+
}
|
|
98728
98803
|
/**
|
|
98729
98804
|
* Get execution statistics for debugging
|
|
98730
98805
|
*/
|
|
@@ -126744,9 +126819,10 @@ function parseXmlToolCall(xmlString, validTools = DEFAULT_VALID_TOOLS) {
|
|
|
126744
126819
|
if (openIndex === -1) {
|
|
126745
126820
|
continue;
|
|
126746
126821
|
}
|
|
126747
|
-
|
|
126822
|
+
let closeIndex = xmlString.indexOf(closeTag, openIndex + openTag.length);
|
|
126823
|
+
let hasClosingTag = closeIndex !== -1;
|
|
126748
126824
|
if (closeIndex === -1) {
|
|
126749
|
-
|
|
126825
|
+
closeIndex = xmlString.length;
|
|
126750
126826
|
}
|
|
126751
126827
|
const innerContent = xmlString.substring(
|
|
126752
126828
|
openIndex + openTag.length,
|
|
@@ -126788,9 +126864,17 @@ function parseXmlToolCall(xmlString, validTools = DEFAULT_VALID_TOOLS) {
|
|
|
126788
126864
|
if (paramOpenIndex === -1) {
|
|
126789
126865
|
continue;
|
|
126790
126866
|
}
|
|
126791
|
-
|
|
126867
|
+
let paramCloseIndex = innerContent.indexOf(paramCloseTag, paramOpenIndex + paramOpenTag.length);
|
|
126792
126868
|
if (paramCloseIndex === -1) {
|
|
126793
|
-
|
|
126869
|
+
let nextTagIndex = innerContent.length;
|
|
126870
|
+
for (const nextParam of commonParams3) {
|
|
126871
|
+
const nextOpenTag = `<${nextParam}>`;
|
|
126872
|
+
const nextIndex = innerContent.indexOf(nextOpenTag, paramOpenIndex + paramOpenTag.length);
|
|
126873
|
+
if (nextIndex !== -1 && nextIndex < nextTagIndex) {
|
|
126874
|
+
nextTagIndex = nextIndex;
|
|
126875
|
+
}
|
|
126876
|
+
}
|
|
126877
|
+
paramCloseIndex = nextTagIndex;
|
|
126794
126878
|
}
|
|
126795
126879
|
let paramValue = innerContent.substring(
|
|
126796
126880
|
paramOpenIndex + paramOpenTag.length,
|
|
@@ -139352,9 +139436,10 @@ var init_ProtocolLib = __esm({
|
|
|
139352
139436
|
return { errorSchema, errorMetadata };
|
|
139353
139437
|
} catch (e3) {
|
|
139354
139438
|
dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
139355
|
-
const
|
|
139439
|
+
const synthetic = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
|
|
139440
|
+
const baseExceptionSchema = synthetic.getBaseException();
|
|
139356
139441
|
if (baseExceptionSchema) {
|
|
139357
|
-
const ErrorCtor = baseExceptionSchema
|
|
139442
|
+
const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
|
|
139358
139443
|
throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
|
|
139359
139444
|
}
|
|
139360
139445
|
throw Object.assign(new Error(errorName), errorMetadata, dataObject);
|
|
@@ -139421,7 +139506,8 @@ var init_AwsSmithyRpcV2CborProtocol = __esm({
|
|
|
139421
139506
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata);
|
|
139422
139507
|
const ns = NormalizedSchema.of(errorSchema);
|
|
139423
139508
|
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
139424
|
-
const
|
|
139509
|
+
const ErrorCtor = TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
139510
|
+
const exception = new ErrorCtor(message);
|
|
139425
139511
|
const output = {};
|
|
139426
139512
|
for (const [name14, member] of ns.structIterator()) {
|
|
139427
139513
|
output[name14] = this.deserializer.readValue(member, dataObject[name14]);
|
|
@@ -140963,7 +141049,8 @@ var init_AwsJsonRpcProtocol = __esm({
|
|
|
140963
141049
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
140964
141050
|
const ns = NormalizedSchema.of(errorSchema);
|
|
140965
141051
|
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
140966
|
-
const
|
|
141052
|
+
const ErrorCtor = TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
141053
|
+
const exception = new ErrorCtor(message);
|
|
140967
141054
|
const output = {};
|
|
140968
141055
|
for (const [name14, member] of ns.structIterator()) {
|
|
140969
141056
|
const target = member.getMergedTraits().jsonName ?? name14;
|
|
@@ -141092,7 +141179,8 @@ var init_AwsRestJsonProtocol = __esm({
|
|
|
141092
141179
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
141093
141180
|
const ns = NormalizedSchema.of(errorSchema);
|
|
141094
141181
|
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
141095
|
-
const
|
|
141182
|
+
const ErrorCtor = TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
141183
|
+
const exception = new ErrorCtor(message);
|
|
141096
141184
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
141097
141185
|
const output = {};
|
|
141098
141186
|
for (const [name14, member] of ns.structIterator()) {
|
|
@@ -142504,7 +142592,8 @@ var init_AwsQueryProtocol = __esm({
|
|
|
142504
142592
|
};
|
|
142505
142593
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, (registry, errorName) => registry.find((schema) => NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName));
|
|
142506
142594
|
const ns = NormalizedSchema.of(errorSchema);
|
|
142507
|
-
const
|
|
142595
|
+
const ErrorCtor = TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
142596
|
+
const exception = new ErrorCtor(message);
|
|
142508
142597
|
const output = {
|
|
142509
142598
|
Error: errorData.Error
|
|
142510
142599
|
};
|
|
@@ -142966,7 +143055,8 @@ var init_AwsRestXmlProtocol = __esm({
|
|
|
142966
143055
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
142967
143056
|
const ns = NormalizedSchema.of(errorSchema);
|
|
142968
143057
|
const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
|
|
142969
|
-
const
|
|
143058
|
+
const ErrorCtor = TypeRegistry.for(errorSchema.namespace).getErrorCtor(errorSchema) ?? Error;
|
|
143059
|
+
const exception = new ErrorCtor(message);
|
|
142970
143060
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
142971
143061
|
const output = {};
|
|
142972
143062
|
for (const [name14, member] of ns.structIterator()) {
|
|
@@ -146917,7 +147007,7 @@ var require_package = __commonJS({
|
|
|
146917
147007
|
module2.exports = {
|
|
146918
147008
|
name: "@aws-sdk/client-bedrock-runtime",
|
|
146919
147009
|
description: "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
146920
|
-
version: "3.
|
|
147010
|
+
version: "3.899.0",
|
|
146921
147011
|
scripts: {
|
|
146922
147012
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
146923
147013
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
|
|
@@ -146936,23 +147026,23 @@ var require_package = __commonJS({
|
|
|
146936
147026
|
dependencies: {
|
|
146937
147027
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
146938
147028
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
146939
|
-
"@aws-sdk/core": "3.
|
|
146940
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
147029
|
+
"@aws-sdk/core": "3.899.0",
|
|
147030
|
+
"@aws-sdk/credential-provider-node": "3.899.0",
|
|
146941
147031
|
"@aws-sdk/eventstream-handler-node": "3.893.0",
|
|
146942
147032
|
"@aws-sdk/middleware-eventstream": "3.893.0",
|
|
146943
147033
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
146944
147034
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
146945
147035
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
146946
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
147036
|
+
"@aws-sdk/middleware-user-agent": "3.899.0",
|
|
146947
147037
|
"@aws-sdk/middleware-websocket": "3.893.0",
|
|
146948
147038
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
146949
|
-
"@aws-sdk/token-providers": "3.
|
|
147039
|
+
"@aws-sdk/token-providers": "3.899.0",
|
|
146950
147040
|
"@aws-sdk/types": "3.893.0",
|
|
146951
147041
|
"@aws-sdk/util-endpoints": "3.895.0",
|
|
146952
147042
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
146953
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
147043
|
+
"@aws-sdk/util-user-agent-node": "3.899.0",
|
|
146954
147044
|
"@smithy/config-resolver": "^4.2.2",
|
|
146955
|
-
"@smithy/core": "^3.
|
|
147045
|
+
"@smithy/core": "^3.13.0",
|
|
146956
147046
|
"@smithy/eventstream-serde-browser": "^4.1.1",
|
|
146957
147047
|
"@smithy/eventstream-serde-config-resolver": "^4.2.1",
|
|
146958
147048
|
"@smithy/eventstream-serde-node": "^4.1.1",
|
|
@@ -146960,21 +147050,21 @@ var require_package = __commonJS({
|
|
|
146960
147050
|
"@smithy/hash-node": "^4.1.1",
|
|
146961
147051
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
146962
147052
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
146963
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
146964
|
-
"@smithy/middleware-retry": "^4.3.
|
|
147053
|
+
"@smithy/middleware-endpoint": "^4.2.5",
|
|
147054
|
+
"@smithy/middleware-retry": "^4.3.1",
|
|
146965
147055
|
"@smithy/middleware-serde": "^4.1.1",
|
|
146966
147056
|
"@smithy/middleware-stack": "^4.1.1",
|
|
146967
147057
|
"@smithy/node-config-provider": "^4.2.2",
|
|
146968
147058
|
"@smithy/node-http-handler": "^4.2.1",
|
|
146969
147059
|
"@smithy/protocol-http": "^5.2.1",
|
|
146970
|
-
"@smithy/smithy-client": "^4.6.
|
|
147060
|
+
"@smithy/smithy-client": "^4.6.5",
|
|
146971
147061
|
"@smithy/types": "^4.5.0",
|
|
146972
147062
|
"@smithy/url-parser": "^4.1.1",
|
|
146973
147063
|
"@smithy/util-base64": "^4.1.0",
|
|
146974
147064
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
146975
147065
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
146976
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
146977
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
147066
|
+
"@smithy/util-defaults-mode-browser": "^4.1.5",
|
|
147067
|
+
"@smithy/util-defaults-mode-node": "^4.1.5",
|
|
146978
147068
|
"@smithy/util-endpoints": "^3.1.2",
|
|
146979
147069
|
"@smithy/util-middleware": "^4.1.1",
|
|
146980
147070
|
"@smithy/util-retry": "^4.1.2",
|
|
@@ -147766,7 +147856,7 @@ var require_package2 = __commonJS({
|
|
|
147766
147856
|
module2.exports = {
|
|
147767
147857
|
name: "@aws-sdk/client-sso",
|
|
147768
147858
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
147769
|
-
version: "3.
|
|
147859
|
+
version: "3.899.0",
|
|
147770
147860
|
scripts: {
|
|
147771
147861
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
147772
147862
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -147785,37 +147875,37 @@ var require_package2 = __commonJS({
|
|
|
147785
147875
|
dependencies: {
|
|
147786
147876
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
147787
147877
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
147788
|
-
"@aws-sdk/core": "3.
|
|
147878
|
+
"@aws-sdk/core": "3.899.0",
|
|
147789
147879
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
147790
147880
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
147791
147881
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
147792
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
147882
|
+
"@aws-sdk/middleware-user-agent": "3.899.0",
|
|
147793
147883
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
147794
147884
|
"@aws-sdk/types": "3.893.0",
|
|
147795
147885
|
"@aws-sdk/util-endpoints": "3.895.0",
|
|
147796
147886
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
147797
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
147887
|
+
"@aws-sdk/util-user-agent-node": "3.899.0",
|
|
147798
147888
|
"@smithy/config-resolver": "^4.2.2",
|
|
147799
|
-
"@smithy/core": "^3.
|
|
147889
|
+
"@smithy/core": "^3.13.0",
|
|
147800
147890
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
147801
147891
|
"@smithy/hash-node": "^4.1.1",
|
|
147802
147892
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
147803
147893
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
147804
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
147805
|
-
"@smithy/middleware-retry": "^4.3.
|
|
147894
|
+
"@smithy/middleware-endpoint": "^4.2.5",
|
|
147895
|
+
"@smithy/middleware-retry": "^4.3.1",
|
|
147806
147896
|
"@smithy/middleware-serde": "^4.1.1",
|
|
147807
147897
|
"@smithy/middleware-stack": "^4.1.1",
|
|
147808
147898
|
"@smithy/node-config-provider": "^4.2.2",
|
|
147809
147899
|
"@smithy/node-http-handler": "^4.2.1",
|
|
147810
147900
|
"@smithy/protocol-http": "^5.2.1",
|
|
147811
|
-
"@smithy/smithy-client": "^4.6.
|
|
147901
|
+
"@smithy/smithy-client": "^4.6.5",
|
|
147812
147902
|
"@smithy/types": "^4.5.0",
|
|
147813
147903
|
"@smithy/url-parser": "^4.1.1",
|
|
147814
147904
|
"@smithy/util-base64": "^4.1.0",
|
|
147815
147905
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
147816
147906
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
147817
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
147818
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
147907
|
+
"@smithy/util-defaults-mode-browser": "^4.1.5",
|
|
147908
|
+
"@smithy/util-defaults-mode-node": "^4.1.5",
|
|
147819
147909
|
"@smithy/util-endpoints": "^3.1.2",
|
|
147820
147910
|
"@smithy/util-middleware": "^4.1.1",
|
|
147821
147911
|
"@smithy/util-retry": "^4.1.2",
|
|
@@ -149047,7 +149137,7 @@ var init_package = __esm({
|
|
|
149047
149137
|
"node_modules/@aws-sdk/nested-clients/package.json"() {
|
|
149048
149138
|
package_default = {
|
|
149049
149139
|
name: "@aws-sdk/nested-clients",
|
|
149050
|
-
version: "3.
|
|
149140
|
+
version: "3.899.0",
|
|
149051
149141
|
description: "Nested clients for AWS SDK packages.",
|
|
149052
149142
|
main: "./dist-cjs/index.js",
|
|
149053
149143
|
module: "./dist-es/index.js",
|
|
@@ -149076,37 +149166,37 @@ var init_package = __esm({
|
|
|
149076
149166
|
dependencies: {
|
|
149077
149167
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
149078
149168
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
149079
|
-
"@aws-sdk/core": "3.
|
|
149169
|
+
"@aws-sdk/core": "3.899.0",
|
|
149080
149170
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
149081
149171
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
149082
149172
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
149083
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
149173
|
+
"@aws-sdk/middleware-user-agent": "3.899.0",
|
|
149084
149174
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
149085
149175
|
"@aws-sdk/types": "3.893.0",
|
|
149086
149176
|
"@aws-sdk/util-endpoints": "3.895.0",
|
|
149087
149177
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
149088
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
149178
|
+
"@aws-sdk/util-user-agent-node": "3.899.0",
|
|
149089
149179
|
"@smithy/config-resolver": "^4.2.2",
|
|
149090
|
-
"@smithy/core": "^3.
|
|
149180
|
+
"@smithy/core": "^3.13.0",
|
|
149091
149181
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
149092
149182
|
"@smithy/hash-node": "^4.1.1",
|
|
149093
149183
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
149094
149184
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
149095
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
149096
|
-
"@smithy/middleware-retry": "^4.3.
|
|
149185
|
+
"@smithy/middleware-endpoint": "^4.2.5",
|
|
149186
|
+
"@smithy/middleware-retry": "^4.3.1",
|
|
149097
149187
|
"@smithy/middleware-serde": "^4.1.1",
|
|
149098
149188
|
"@smithy/middleware-stack": "^4.1.1",
|
|
149099
149189
|
"@smithy/node-config-provider": "^4.2.2",
|
|
149100
149190
|
"@smithy/node-http-handler": "^4.2.1",
|
|
149101
149191
|
"@smithy/protocol-http": "^5.2.1",
|
|
149102
|
-
"@smithy/smithy-client": "^4.6.
|
|
149192
|
+
"@smithy/smithy-client": "^4.6.5",
|
|
149103
149193
|
"@smithy/types": "^4.5.0",
|
|
149104
149194
|
"@smithy/url-parser": "^4.1.1",
|
|
149105
149195
|
"@smithy/util-base64": "^4.1.0",
|
|
149106
149196
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
149107
149197
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
149108
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
149109
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
149198
|
+
"@smithy/util-defaults-mode-browser": "^4.1.5",
|
|
149199
|
+
"@smithy/util-defaults-mode-node": "^4.1.5",
|
|
149110
149200
|
"@smithy/util-endpoints": "^3.1.2",
|
|
149111
149201
|
"@smithy/util-middleware": "^4.1.1",
|
|
149112
149202
|
"@smithy/util-retry": "^4.1.2",
|
|
@@ -153576,6 +153666,7 @@ var require_dist_cjs65 = __commonJS({
|
|
|
153576
153666
|
END_TURN: "end_turn",
|
|
153577
153667
|
GUARDRAIL_INTERVENED: "guardrail_intervened",
|
|
153578
153668
|
MAX_TOKENS: "max_tokens",
|
|
153669
|
+
MODEL_CONTEXT_WINDOW_EXCEEDED: "model_context_window_exceeded",
|
|
153579
153670
|
STOP_SEQUENCE: "stop_sequence",
|
|
153580
153671
|
TOOL_USE: "tool_use"
|
|
153581
153672
|
};
|
|
@@ -154505,6 +154596,9 @@ var require_dist_cjs65 = __commonJS({
|
|
|
154505
154596
|
case "ServiceQuotaExceededException":
|
|
154506
154597
|
case "com.amazonaws.bedrockruntime#ServiceQuotaExceededException":
|
|
154507
154598
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
154599
|
+
case "ServiceUnavailableException":
|
|
154600
|
+
case "com.amazonaws.bedrockruntime#ServiceUnavailableException":
|
|
154601
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
154508
154602
|
case "ThrottlingException":
|
|
154509
154603
|
case "com.amazonaws.bedrockruntime#ThrottlingException":
|
|
154510
154604
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -154520,9 +154614,6 @@ var require_dist_cjs65 = __commonJS({
|
|
|
154520
154614
|
case "ModelTimeoutException":
|
|
154521
154615
|
case "com.amazonaws.bedrockruntime#ModelTimeoutException":
|
|
154522
154616
|
throw await de_ModelTimeoutExceptionRes(parsedOutput, context);
|
|
154523
|
-
case "ServiceUnavailableException":
|
|
154524
|
-
case "com.amazonaws.bedrockruntime#ServiceUnavailableException":
|
|
154525
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
154526
154617
|
case "ModelStreamErrorException":
|
|
154527
154618
|
case "com.amazonaws.bedrockruntime#ModelStreamErrorException":
|
|
154528
154619
|
throw await de_ModelStreamErrorExceptionRes(parsedOutput, context);
|
|
@@ -156869,13 +156960,42 @@ var init_tokenCounter = __esm({
|
|
|
156869
156960
|
|
|
156870
156961
|
// src/agent/xmlParsingUtils.js
|
|
156871
156962
|
function removeThinkingTags(xmlString) {
|
|
156872
|
-
|
|
156963
|
+
let result = xmlString;
|
|
156964
|
+
result = result.replace(/<thinking>[\s\S]*?<\/thinking>/g, "");
|
|
156965
|
+
const thinkingIndex = result.indexOf("<thinking>");
|
|
156966
|
+
if (thinkingIndex !== -1) {
|
|
156967
|
+
const afterThinking = result.substring(thinkingIndex + "<thinking>".length);
|
|
156968
|
+
const toolPattern = /<(search|query|extract|listFiles|searchFiles|implement|attempt_completion|attempt_complete)>/;
|
|
156969
|
+
const toolMatch = afterThinking.match(toolPattern);
|
|
156970
|
+
if (toolMatch) {
|
|
156971
|
+
const toolStart = thinkingIndex + "<thinking>".length + toolMatch.index;
|
|
156972
|
+
result = result.substring(0, thinkingIndex) + result.substring(toolStart);
|
|
156973
|
+
} else {
|
|
156974
|
+
result = result.substring(0, thinkingIndex);
|
|
156975
|
+
}
|
|
156976
|
+
}
|
|
156977
|
+
return result.trim();
|
|
156873
156978
|
}
|
|
156874
156979
|
function extractThinkingContent(xmlString) {
|
|
156875
156980
|
const thinkingMatch = xmlString.match(/<thinking>([\s\S]*?)<\/thinking>/);
|
|
156876
156981
|
return thinkingMatch ? thinkingMatch[1].trim() : null;
|
|
156877
156982
|
}
|
|
156878
156983
|
function checkAttemptCompleteRecovery(cleanedXmlString, validTools = []) {
|
|
156984
|
+
const attemptCompletionMatch = cleanedXmlString.match(/<attempt_completion>([\s\S]*?)(?:<\/attempt_completion>|$)/);
|
|
156985
|
+
if (attemptCompletionMatch) {
|
|
156986
|
+
const content = attemptCompletionMatch[1].trim();
|
|
156987
|
+
const hasClosingTag = cleanedXmlString.includes("</attempt_completion>");
|
|
156988
|
+
if (content) {
|
|
156989
|
+
return {
|
|
156990
|
+
toolName: "attempt_completion",
|
|
156991
|
+
params: { result: content }
|
|
156992
|
+
};
|
|
156993
|
+
}
|
|
156994
|
+
return {
|
|
156995
|
+
toolName: "attempt_completion",
|
|
156996
|
+
params: { result: hasClosingTag ? "" : "__PREVIOUS_RESPONSE__" }
|
|
156997
|
+
};
|
|
156998
|
+
}
|
|
156879
156999
|
const attemptCompletePatterns = [
|
|
156880
157000
|
// Standard shorthand with optional whitespace
|
|
156881
157001
|
/^<attempt_complete>\s*$/,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@probelabs/visor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.59",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"visor": "./dist/index.js"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@octokit/auth-app": "^8.1.0",
|
|
68
68
|
"@octokit/core": "^7.0.3",
|
|
69
69
|
"@octokit/rest": "^22.0.0",
|
|
70
|
-
"@probelabs/probe": "^0.6.0-
|
|
70
|
+
"@probelabs/probe": "^0.6.0-rc109",
|
|
71
71
|
"@types/commander": "^2.12.0",
|
|
72
72
|
"@types/uuid": "^10.0.0",
|
|
73
73
|
"cli-table3": "^0.6.5",
|