@empiricalrun/playwright-utils 0.58.4 → 0.58.5
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/CHANGELOG.md +11 -0
- package/dist/generated/api-worker-openapi.d.ts +0 -88
- package/dist/generated/api-worker-openapi.d.ts.map +1 -1
- package/dist/reporter/harness.d.ts +4 -0
- package/dist/reporter/harness.d.ts.map +1 -1
- package/dist/reporter/harness.js +20 -8
- package/dist/reporter/ibr-utils.d.ts +3 -0
- package/dist/reporter/ibr-utils.d.ts.map +1 -1
- package/dist/reporter/ibr-utils.js +25 -18
- package/dist/reporter/incremental-blob-reporter.d.ts +1 -0
- package/dist/reporter/incremental-blob-reporter.d.ts.map +1 -1
- package/dist/reporter/incremental-blob-reporter.js +5 -4
- package/dist/reporter/lifecycle-events.d.ts +15 -5
- package/dist/reporter/lifecycle-events.d.ts.map +1 -1
- package/dist/reporter/lifecycle-events.js +91 -64
- package/dist/reporter/parity-utils.d.ts +21 -0
- package/dist/reporter/parity-utils.d.ts.map +1 -1
- package/dist/reporter/parity-utils.js +73 -1
- package/dist/reporter/uploader.d.ts.map +1 -1
- package/dist/reporter/uploader.js +22 -1
- package/package.json +2 -2
- package/upstream-oracle/README.md +36 -7
- package/upstream-oracle/ibr-adapter.js +60 -5
- package/upstream-oracle/run.mjs +84 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @empiricalrun/playwright-utils
|
|
2
2
|
|
|
3
|
+
## 0.58.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 157ea19: fix: incremental blob reporter serializes config and projects like the built-in blob reporter
|
|
8
|
+
- 8e8cea6: fix: incremental blob reporter passes error objects through unmodified, preserving value, cause and AggregateError sub-errors
|
|
9
|
+
- ff99f5e: fix: incremental blob reporter emits step attachments at onStepEnd and relativizes step locations
|
|
10
|
+
- 15e769c: feat: log pending upload counts around run end
|
|
11
|
+
- Updated dependencies [15e769c]
|
|
12
|
+
- @empiricalrun/r2-uploader@0.10.2
|
|
13
|
+
|
|
3
14
|
## 0.58.4
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -4729,26 +4729,6 @@ export interface paths {
|
|
|
4729
4729
|
patch?: never;
|
|
4730
4730
|
trace?: never;
|
|
4731
4731
|
};
|
|
4732
|
-
"/api/projects/check-prompt": {
|
|
4733
|
-
parameters: {
|
|
4734
|
-
query?: never;
|
|
4735
|
-
header?: never;
|
|
4736
|
-
path?: never;
|
|
4737
|
-
cookie?: never;
|
|
4738
|
-
};
|
|
4739
|
-
get?: never;
|
|
4740
|
-
put?: never;
|
|
4741
|
-
/**
|
|
4742
|
-
* ⚙️ Validate a prompt against criteria
|
|
4743
|
-
* @description Uses an LLM to validate whether a prompt satisfies the given criteria.
|
|
4744
|
-
*/
|
|
4745
|
-
post: operations["checkPrompt"];
|
|
4746
|
-
delete?: never;
|
|
4747
|
-
options?: never;
|
|
4748
|
-
head?: never;
|
|
4749
|
-
patch?: never;
|
|
4750
|
-
trace?: never;
|
|
4751
|
-
};
|
|
4752
4732
|
"/api/projects/check-slug": {
|
|
4753
4733
|
parameters: {
|
|
4754
4734
|
query?: never;
|
|
@@ -6479,27 +6459,6 @@ export interface components {
|
|
|
6479
6459
|
test_cases_sync_error_at: string | null;
|
|
6480
6460
|
};
|
|
6481
6461
|
};
|
|
6482
|
-
CheckPromptResponse: {
|
|
6483
|
-
/** @description Response payload. */
|
|
6484
|
-
data: {
|
|
6485
|
-
validation: components["schemas"]["PromptValidationResult"];
|
|
6486
|
-
};
|
|
6487
|
-
};
|
|
6488
|
-
PromptValidationResult: {
|
|
6489
|
-
/**
|
|
6490
|
-
* @description Validation outcome.
|
|
6491
|
-
* @enum {string}
|
|
6492
|
-
*/
|
|
6493
|
-
status: "pass" | "needs_more";
|
|
6494
|
-
/** @description Human-readable feedback. */
|
|
6495
|
-
assistant_message: string;
|
|
6496
|
-
/** @description Requirements still missing. */
|
|
6497
|
-
missing_items: string[];
|
|
6498
|
-
/** @description Requirements already covered. */
|
|
6499
|
-
covered_items: string[];
|
|
6500
|
-
/** @description Model confidence (0-1). */
|
|
6501
|
-
confidence: number;
|
|
6502
|
-
};
|
|
6503
6462
|
ProjectKvGetResponse: {
|
|
6504
6463
|
/** @description Response payload. */
|
|
6505
6464
|
data: {
|
|
@@ -25087,53 +25046,6 @@ export interface operations {
|
|
|
25087
25046
|
};
|
|
25088
25047
|
};
|
|
25089
25048
|
};
|
|
25090
|
-
checkPrompt: {
|
|
25091
|
-
parameters: {
|
|
25092
|
-
query?: never;
|
|
25093
|
-
header?: never;
|
|
25094
|
-
path?: never;
|
|
25095
|
-
cookie?: never;
|
|
25096
|
-
};
|
|
25097
|
-
requestBody?: {
|
|
25098
|
-
content: {
|
|
25099
|
-
"application/json": {
|
|
25100
|
-
/** @description Criterion the prompt must satisfy. */
|
|
25101
|
-
criteria: string;
|
|
25102
|
-
/** @description Latest user prompt to validate. */
|
|
25103
|
-
prompt: string;
|
|
25104
|
-
/**
|
|
25105
|
-
* @description Prior conversation messages for context.
|
|
25106
|
-
* @default []
|
|
25107
|
-
*/
|
|
25108
|
-
messages?: {
|
|
25109
|
-
/** @enum {string} */
|
|
25110
|
-
role: "user" | "assistant";
|
|
25111
|
-
content: string;
|
|
25112
|
-
}[];
|
|
25113
|
-
};
|
|
25114
|
-
};
|
|
25115
|
-
};
|
|
25116
|
-
responses: {
|
|
25117
|
-
/** @description Validation result. */
|
|
25118
|
-
200: {
|
|
25119
|
-
headers: {
|
|
25120
|
-
[name: string]: unknown;
|
|
25121
|
-
};
|
|
25122
|
-
content: {
|
|
25123
|
-
"application/json": components["schemas"]["CheckPromptResponse"];
|
|
25124
|
-
};
|
|
25125
|
-
};
|
|
25126
|
-
/** @description Invalid request. */
|
|
25127
|
-
400: {
|
|
25128
|
-
headers: {
|
|
25129
|
-
[name: string]: unknown;
|
|
25130
|
-
};
|
|
25131
|
-
content: {
|
|
25132
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
25133
|
-
};
|
|
25134
|
-
};
|
|
25135
|
-
};
|
|
25136
|
-
};
|
|
25137
25049
|
checkProjectSlug: {
|
|
25138
25050
|
parameters: {
|
|
25139
25051
|
query: {
|