@empiricalrun/playwright-utils 0.61.2 → 0.61.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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.61.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [842aeb6]
8
+ - @empiricalrun/r2-uploader@0.11.1
9
+ - @empiricalrun/cua@0.5.1
10
+ - @empiricalrun/llm@0.28.1
11
+ - @empiricalrun/reporter@0.30.2
12
+
3
13
  ## 0.61.2
4
14
 
5
15
  ### Patch Changes
@@ -9435,12 +9435,67 @@ export interface components {
9435
9435
  edited: number;
9436
9436
  deleted: number;
9437
9437
  };
9438
- MemoryResponse: {
9438
+ MemoryWriteResponse: {
9439
9439
  /** @description Response payload. */
9440
9440
  data: {
9441
9441
  memory: components["schemas"]["Memory"];
9442
+ /** @description Memory write gate verdict for agent writes; null when the write was not classified. */
9443
+ gate: {
9444
+ /**
9445
+ * @description `rejected` = classified as failure/incident state; `error` = classification failed and the write was not checked.
9446
+ * @enum {string}
9447
+ */
9448
+ decision: "accepted" | "rejected" | "error";
9449
+ /**
9450
+ * @description `shadow` saves regardless of the decision; `enforce` refuses rejected writes.
9451
+ * @enum {string}
9452
+ */
9453
+ mode: "shadow" | "enforce";
9454
+ /** @description True when the write was refused. */
9455
+ blocked: boolean;
9456
+ reason: string;
9457
+ model: string | null;
9458
+ vocabulary_version: number | null;
9459
+ retention: string | null;
9460
+ retention_confidence: number | null;
9461
+ /** @description Probability of the failure/incident retention class; the write is rejected at or above the gate's threshold. */
9462
+ failure_incident_probability: number | null;
9463
+ subject: string | null;
9464
+ role: string | null;
9465
+ } | null;
9442
9466
  };
9443
9467
  };
9468
+ MemoryWriteRejectedResponse: {
9469
+ data: unknown;
9470
+ error: {
9471
+ /** @description Why the write was refused. */
9472
+ message: string;
9473
+ gate: components["schemas"]["MemoryWriteVerdict"];
9474
+ };
9475
+ };
9476
+ MemoryWriteVerdict: {
9477
+ /**
9478
+ * @description `rejected` = classified as failure/incident state; `error` = classification failed and the write was not checked.
9479
+ * @enum {string}
9480
+ */
9481
+ decision: "accepted" | "rejected" | "error";
9482
+ /**
9483
+ * @description `shadow` saves regardless of the decision; `enforce` refuses rejected writes.
9484
+ * @enum {string}
9485
+ */
9486
+ mode: "shadow" | "enforce";
9487
+ /** @description True when the write was refused. */
9488
+ blocked: boolean;
9489
+ reason: string;
9490
+ model: string | null;
9491
+ vocabulary_version: number | null;
9492
+ retention: string | null;
9493
+ retention_confidence: number | null;
9494
+ /** @description Probability of the failure/incident retention class; the write is rejected at or above the gate's threshold. */
9495
+ failure_incident_probability: number | null;
9496
+ subject: string | null;
9497
+ role: string | null;
9498
+ };
9444
9499
  CreateMemoryRequest: {
9445
9500
  /** @description Memory content (markdown). */
9446
9501
  content: string;
@@ -9455,6 +9510,12 @@ export interface components {
9455
9510
  /** @description Source file path for file-sourced memories; unique within the project. */
9456
9511
  source_path?: string | null;
9457
9512
  };
9513
+ MemoryResponse: {
9514
+ /** @description Response payload. */
9515
+ data: {
9516
+ memory: components["schemas"]["Memory"];
9517
+ };
9518
+ };
9458
9519
  UpdateMemoryRequest: {
9459
9520
  /** @description Memory content (markdown). */
9460
9521
  content?: string;
@@ -9924,6 +9985,26 @@ export interface components {
9924
9985
  /** @description Error message. */
9925
9986
  error: string;
9926
9987
  };
9988
+ SlackRunStartThreadReplacedError: {
9989
+ /** @description Error message. */
9990
+ error: string;
9991
+ /**
9992
+ * @description Machine-readable reason for the rejection.
9993
+ * @enum {string}
9994
+ */
9995
+ code: "run_start_thread_replaced";
9996
+ /** @description Test run whose run-start notification was replaced. */
9997
+ test_run_id: string;
9998
+ /** @description The run's current notification thread in the same channel, or null while the final notification is still being posted. */
9999
+ replacement: {
10000
+ /** @description Slack channel ID. */
10001
+ channel: string;
10002
+ /** @description Root timestamp to reply to instead. */
10003
+ thread_ts: string;
10004
+ /** @description Registered physical Slack root ID. */
10005
+ slack_thread_id: number;
10006
+ } | null;
10007
+ };
9927
10008
  SlackSupportedAction: {
9928
10009
  /**
9929
10010
  * @description Add a button that opens this pull request for review.
@@ -17349,6 +17430,15 @@ export interface operations {
17349
17430
  "application/json": components["schemas"]["SlackMessageError"];
17350
17431
  };
17351
17432
  };
17433
+ /** @description The thread was a test run's run-start notification, which was deleted when the run's final notification was posted. Reply in `replacement` instead. */
17434
+ 410: {
17435
+ headers: {
17436
+ [name: string]: unknown;
17437
+ };
17438
+ content: {
17439
+ "application/json": components["schemas"]["SlackRunStartThreadReplacedError"];
17440
+ };
17441
+ };
17352
17442
  /** @description Slack upstream error. */
17353
17443
  502: {
17354
17444
  headers: {
@@ -21040,7 +21130,7 @@ export interface operations {
21040
21130
  "application/json": {
21041
21131
  message: string;
21042
21132
  /** @enum {string} */
21043
- send_action: "steer" | "follow_up" | "stop";
21133
+ send_action: "steer" | "follow_up";
21044
21134
  created_by?: string | null;
21045
21135
  rpc_command_id?: string;
21046
21136
  /** @description When the caller is an agent session, wake it the next time this session waits for input (one-shot). Defaults to true; pass false for a fire-and-forget message. Ignored for other callers. */
@@ -25333,7 +25423,7 @@ export interface operations {
25333
25423
  [name: string]: unknown;
25334
25424
  };
25335
25425
  content: {
25336
- "application/json": components["schemas"]["MemoryResponse"];
25426
+ "application/json": components["schemas"]["MemoryWriteResponse"];
25337
25427
  };
25338
25428
  };
25339
25429
  /** @description Invalid request or missing project scope. */
@@ -25363,6 +25453,15 @@ export interface operations {
25363
25453
  "application/json": components["schemas"]["ErrorResponse"];
25364
25454
  };
25365
25455
  };
25456
+ /** @description Refused by the memory write gate: classified as failure/incident state. */
25457
+ 422: {
25458
+ headers: {
25459
+ [name: string]: unknown;
25460
+ };
25461
+ content: {
25462
+ "application/json": components["schemas"]["MemoryWriteRejectedResponse"];
25463
+ };
25464
+ };
25366
25465
  };
25367
25466
  };
25368
25467
  getMemory: {
@@ -25451,7 +25550,7 @@ export interface operations {
25451
25550
  [name: string]: unknown;
25452
25551
  };
25453
25552
  content: {
25454
- "application/json": components["schemas"]["MemoryResponse"];
25553
+ "application/json": components["schemas"]["MemoryWriteResponse"];
25455
25554
  };
25456
25555
  };
25457
25556
  /** @description Memory not found or not accessible. */
@@ -25463,6 +25562,15 @@ export interface operations {
25463
25562
  "application/json": components["schemas"]["ErrorResponse"];
25464
25563
  };
25465
25564
  };
25565
+ /** @description Refused by the memory write gate: classified as failure/incident state. */
25566
+ 422: {
25567
+ headers: {
25568
+ [name: string]: unknown;
25569
+ };
25570
+ content: {
25571
+ "application/json": components["schemas"]["MemoryWriteRejectedResponse"];
25572
+ };
25573
+ };
25466
25574
  };
25467
25575
  };
25468
25576
  listMemoryVersions: {