@empiricalrun/playwright-utils 0.66.2 → 0.66.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/generated/api-worker-openapi.d.ts +25 -108
- package/dist/generated/api-worker-openapi.d.ts.map +1 -1
- package/dist/reporter/empirical-reporter.d.ts +1 -0
- package/dist/reporter/empirical-reporter.d.ts.map +1 -1
- package/dist/reporter/empirical-reporter.js +23 -10
- package/dist/reporter/harness.d.ts +2 -1
- package/dist/reporter/harness.d.ts.map +1 -1
- package/dist/reporter/harness.js +1 -0
- package/dist/reporter/util.d.ts +5 -0
- package/dist/reporter/util.d.ts.map +1 -1
- package/dist/reporter/util.js +8 -0
- package/package.json +6 -6
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @empiricalrun/playwright-utils
|
|
2
2
|
|
|
3
|
+
## 0.66.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cdb1b37: fix: empirical reporter uploads body attachments (testInfo.attach with body) instead of skipping them
|
|
8
|
+
- @empiricalrun/cua@0.6.0
|
|
9
|
+
- @empiricalrun/reporter@0.30.3
|
|
10
|
+
|
|
3
11
|
## 0.66.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -3983,7 +3983,7 @@ export interface paths {
|
|
|
3983
3983
|
};
|
|
3984
3984
|
/**
|
|
3985
3985
|
* List Hive agents
|
|
3986
|
-
* @description Returns the Hive agents a chat session can be created with, each at its `@latest` version. Prompts and tool lists stay in Hive.
|
|
3986
|
+
* @description Returns the Hive agents a chat session can be created with, each at its `@latest` version. Prompts and tool lists stay in Hive. With `x-project-id`, lists only the agents that project can start.
|
|
3987
3987
|
*/
|
|
3988
3988
|
get: operations["listHiveAgents"];
|
|
3989
3989
|
put?: never;
|
|
@@ -4950,26 +4950,6 @@ export interface paths {
|
|
|
4950
4950
|
patch?: never;
|
|
4951
4951
|
trace?: never;
|
|
4952
4952
|
};
|
|
4953
|
-
"/api/memories/classifications": {
|
|
4954
|
-
parameters: {
|
|
4955
|
-
query?: never;
|
|
4956
|
-
header?: never;
|
|
4957
|
-
path?: never;
|
|
4958
|
-
cookie?: never;
|
|
4959
|
-
};
|
|
4960
|
-
/**
|
|
4961
|
-
* 🛡️ Memory classifications across projects
|
|
4962
|
-
* @description Returns every stored JEV classification under one vocabulary version, for all versions of all memories (soft-deleted included). A memory's current labels are the row for its latest version; rows for older versions mean it was edited since.
|
|
4963
|
-
*/
|
|
4964
|
-
get: operations["listMemoryClassifications"];
|
|
4965
|
-
put?: never;
|
|
4966
|
-
post?: never;
|
|
4967
|
-
delete?: never;
|
|
4968
|
-
options?: never;
|
|
4969
|
-
head?: never;
|
|
4970
|
-
patch?: never;
|
|
4971
|
-
trace?: never;
|
|
4972
|
-
};
|
|
4973
4953
|
"/api/memories/usage": {
|
|
4974
4954
|
parameters: {
|
|
4975
4955
|
query?: never;
|
|
@@ -4978,8 +4958,8 @@ export interface paths {
|
|
|
4978
4958
|
cookie?: never;
|
|
4979
4959
|
};
|
|
4980
4960
|
/**
|
|
4981
|
-
* ⚙️ Most
|
|
4982
|
-
* @description Returns the scoped project's most
|
|
4961
|
+
* ⚙️ Most edited memories
|
|
4962
|
+
* @description Returns the scoped project's most edited memories over a recent window.
|
|
4983
4963
|
*/
|
|
4984
4964
|
get: operations["getMemoryUsage"];
|
|
4985
4965
|
put?: never;
|
|
@@ -10131,6 +10111,8 @@ export interface components {
|
|
|
10131
10111
|
runtime: "sandbox" | "worker";
|
|
10132
10112
|
/** @description Model the `@latest` version pins, before any override. */
|
|
10133
10113
|
model: string;
|
|
10114
|
+
/** @description Whether a session created without `agent` runs this agent, for the project in `x-project-id` (or the default project). */
|
|
10115
|
+
is_default: boolean;
|
|
10134
10116
|
};
|
|
10135
10117
|
HiveAgentsResponse: {
|
|
10136
10118
|
/** @description Response payload. */
|
|
@@ -11030,36 +11012,6 @@ export interface components {
|
|
|
11030
11012
|
summary: components["schemas"]["MemoryChangeSummary"];
|
|
11031
11013
|
};
|
|
11032
11014
|
};
|
|
11033
|
-
MemoryClassification: {
|
|
11034
|
-
memory_id: number;
|
|
11035
|
-
/** @description Memory version number the labels apply to (v1 = create). */
|
|
11036
|
-
version: number;
|
|
11037
|
-
vocabulary_version: number;
|
|
11038
|
-
project_id: number;
|
|
11039
|
-
/** @description JEV model that answered, e.g. "jev-1.13.0". */
|
|
11040
|
-
model: string;
|
|
11041
|
-
retention: string;
|
|
11042
|
-
retention_confidence: number;
|
|
11043
|
-
subject: string;
|
|
11044
|
-
subject_confidence: number;
|
|
11045
|
-
role: string;
|
|
11046
|
-
role_confidence: number;
|
|
11047
|
-
/** @description Per-option probabilities for each axis. */
|
|
11048
|
-
probabilities: {
|
|
11049
|
-
[key: string]: {
|
|
11050
|
-
[key: string]: number;
|
|
11051
|
-
};
|
|
11052
|
-
};
|
|
11053
|
-
/** @description ISO 8601 timestamp. */
|
|
11054
|
-
classified_at: string;
|
|
11055
|
-
};
|
|
11056
|
-
MemoryClassificationsResponse: {
|
|
11057
|
-
/** @description Response payload. */
|
|
11058
|
-
data: {
|
|
11059
|
-
vocabulary_version: number;
|
|
11060
|
-
classifications: components["schemas"]["MemoryClassification"][];
|
|
11061
|
-
};
|
|
11062
|
-
};
|
|
11063
11015
|
MemoryDeleteResponse: {
|
|
11064
11016
|
/** @description Response payload. */
|
|
11065
11017
|
data: {
|
|
@@ -11082,17 +11034,6 @@ export interface components {
|
|
|
11082
11034
|
};
|
|
11083
11035
|
pagination: components["schemas"]["Pagination"];
|
|
11084
11036
|
};
|
|
11085
|
-
MemoryReadUsage: {
|
|
11086
|
-
/** @description Live memory the name resolves to now, or null if it was renamed or deleted since. */
|
|
11087
|
-
memory_id: number | null;
|
|
11088
|
-
name: string;
|
|
11089
|
-
/** @description read_memory calls. */
|
|
11090
|
-
reads: number;
|
|
11091
|
-
/** @description Distinct sessions that read it. */
|
|
11092
|
-
sessions: number;
|
|
11093
|
-
/** @description UTC day, YYYY-MM-DD. */
|
|
11094
|
-
last_read: string;
|
|
11095
|
-
};
|
|
11096
11037
|
MemoryResponse: {
|
|
11097
11038
|
/** @description Response payload. */
|
|
11098
11039
|
data: {
|
|
@@ -11103,8 +11044,6 @@ export interface components {
|
|
|
11103
11044
|
/** @description Response payload. */
|
|
11104
11045
|
data: {
|
|
11105
11046
|
days: number;
|
|
11106
|
-
/** @description Most read memories (read_memory calls counted by Hive from agent sessions), or null when Hive is unavailable. */
|
|
11107
|
-
most_read: components["schemas"]["MemoryReadUsage"][] | null;
|
|
11108
11047
|
most_edited: components["schemas"]["MemoryEditUsage"][];
|
|
11109
11048
|
};
|
|
11110
11049
|
};
|
|
@@ -11193,13 +11132,10 @@ export interface components {
|
|
|
11193
11132
|
blocked: boolean;
|
|
11194
11133
|
reason: string;
|
|
11195
11134
|
model: string | null;
|
|
11196
|
-
vocabulary_version: number | null;
|
|
11197
11135
|
retention: string | null;
|
|
11198
11136
|
retention_confidence: number | null;
|
|
11199
11137
|
/** @description Probability of the failure/incident retention class; the write is rejected at or above the gate's threshold. */
|
|
11200
11138
|
failure_incident_probability: number | null;
|
|
11201
|
-
subject: string | null;
|
|
11202
|
-
role: string | null;
|
|
11203
11139
|
} | null;
|
|
11204
11140
|
};
|
|
11205
11141
|
};
|
|
@@ -11218,13 +11154,10 @@ export interface components {
|
|
|
11218
11154
|
blocked: boolean;
|
|
11219
11155
|
reason: string;
|
|
11220
11156
|
model: string | null;
|
|
11221
|
-
vocabulary_version: number | null;
|
|
11222
11157
|
retention: string | null;
|
|
11223
11158
|
retention_confidence: number | null;
|
|
11224
11159
|
/** @description Probability of the failure/incident retention class; the write is rejected at or above the gate's threshold. */
|
|
11225
11160
|
failure_incident_probability: number | null;
|
|
11226
|
-
subject: string | null;
|
|
11227
|
-
role: string | null;
|
|
11228
11161
|
};
|
|
11229
11162
|
MergeBranchesResponse: {
|
|
11230
11163
|
/** @description Response payload. */
|
|
@@ -24881,7 +24814,7 @@ export interface operations {
|
|
|
24881
24814
|
content: {
|
|
24882
24815
|
"application/json": {
|
|
24883
24816
|
message?: string | null;
|
|
24884
|
-
/** @description Hive agent to run, as `<name>` (its `@latest` version) or `<name>@<version>`, e.g. `main@
|
|
24817
|
+
/** @description Hive agent to run, as `<name>` (its `@latest` version) or `<name>@<version>`, e.g. `main-worker@2`. Defaults to `main-worker`. Rejected with a 400 when Hive does not serve that agent or version, or when it runs on the retired sandbox runtime. The agent version decides the runtime, model, tools and prompt; `model` still overrides its model. List agents with `GET /api/hive/agents`. */
|
|
24885
24818
|
agent?: string | null;
|
|
24886
24819
|
/**
|
|
24887
24820
|
* @deprecated
|
|
@@ -28083,6 +28016,24 @@ export interface operations {
|
|
|
28083
28016
|
"application/json": components["schemas"]["HiveAgentsResponse"];
|
|
28084
28017
|
};
|
|
28085
28018
|
};
|
|
28019
|
+
/** @description The `x-project-id` header is invalid. */
|
|
28020
|
+
400: {
|
|
28021
|
+
headers: {
|
|
28022
|
+
[name: string]: unknown;
|
|
28023
|
+
};
|
|
28024
|
+
content: {
|
|
28025
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
28026
|
+
};
|
|
28027
|
+
};
|
|
28028
|
+
/** @description The project in `x-project-id` was not found. */
|
|
28029
|
+
404: {
|
|
28030
|
+
headers: {
|
|
28031
|
+
[name: string]: unknown;
|
|
28032
|
+
};
|
|
28033
|
+
content: {
|
|
28034
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
28035
|
+
};
|
|
28036
|
+
};
|
|
28086
28037
|
/** @description Hive is not configured or the request failed. */
|
|
28087
28038
|
500: {
|
|
28088
28039
|
headers: {
|
|
@@ -30630,46 +30581,12 @@ export interface operations {
|
|
|
30630
30581
|
};
|
|
30631
30582
|
};
|
|
30632
30583
|
};
|
|
30633
|
-
listMemoryClassifications: {
|
|
30634
|
-
parameters: {
|
|
30635
|
-
query?: {
|
|
30636
|
-
/** @description Limit to memories in this project. Defaults to all projects. */
|
|
30637
|
-
project_id?: number;
|
|
30638
|
-
/** @description Vocabulary version to read labels for. Defaults to the current vocabulary. */
|
|
30639
|
-
vocabulary_version?: number;
|
|
30640
|
-
};
|
|
30641
|
-
header?: never;
|
|
30642
|
-
path?: never;
|
|
30643
|
-
cookie?: never;
|
|
30644
|
-
};
|
|
30645
|
-
requestBody?: never;
|
|
30646
|
-
responses: {
|
|
30647
|
-
/** @description Memory classifications. */
|
|
30648
|
-
200: {
|
|
30649
|
-
headers: {
|
|
30650
|
-
[name: string]: unknown;
|
|
30651
|
-
};
|
|
30652
|
-
content: {
|
|
30653
|
-
"application/json": components["schemas"]["MemoryClassificationsResponse"];
|
|
30654
|
-
};
|
|
30655
|
-
};
|
|
30656
|
-
/** @description Invalid request. */
|
|
30657
|
-
400: {
|
|
30658
|
-
headers: {
|
|
30659
|
-
[name: string]: unknown;
|
|
30660
|
-
};
|
|
30661
|
-
content: {
|
|
30662
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
30663
|
-
};
|
|
30664
|
-
};
|
|
30665
|
-
};
|
|
30666
|
-
};
|
|
30667
30584
|
getMemoryUsage: {
|
|
30668
30585
|
parameters: {
|
|
30669
30586
|
query?: {
|
|
30670
30587
|
/** @description Window in days back from now. Defaults to 7. */
|
|
30671
30588
|
days?: number;
|
|
30672
|
-
/** @description Rows per list. Defaults to 10. */
|
|
30589
|
+
/** @description Rows per list, up to 500. Defaults to 10. */
|
|
30673
30590
|
limit?: number;
|
|
30674
30591
|
};
|
|
30675
30592
|
header?: never;
|