humanish 0.135.0 → 0.136.0

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.
@@ -35,7 +35,7 @@ export async function readScreenshot(runPaths, relativePath) {
35
35
  const facts = {
36
36
  state: "read",
37
37
  size: read.bytes.length,
38
- error: screenshotEvidenceError(relativePath, read.bytes),
38
+ error: await screenshotEvidenceError(relativePath, read.bytes),
39
39
  redactedShape: isRedactedFrameShape(read.bytes),
40
40
  };
41
41
  if (read.stamp.ctimeNs <= startedNs - RACY_WINDOW_NS)
@@ -110,9 +110,10 @@ action**, not a fatal error:
110
110
 
111
111
  Public-safety: the notice text carries only the substrate's own stderr (tailed +
112
112
  whitespace-collapsed) and a numeric exit code, and is still run through the loop's
113
- `redactNarration` (known-value scrub + pattern redaction). Raw typed text, secret
114
- values, and machine paths never appear. The action label comes from
115
- `describeCuaAction`, which never includes typed text.
113
+ `redactNarration` (known-value scrub, then pattern redaction of keys as written, base64- or
114
+ percent-encoded, then the known-value scrub again). Raw typed text, secret values, and machine
115
+ paths never appear. The action label comes from `describeCuaAction`, which never includes typed
116
+ text.
116
117
 
117
118
  ## You need a non-vision provider too
118
119
 
@@ -191,8 +191,9 @@ from run.json before any trace is read, and the first 80 captures selection may
191
191
  read. Beside the one trace it is reading, analysis holds at most 800 entries for
192
192
  each request and 80 for each participant; their size grows with each trace
193
193
  item's text. A run.json past 16 MiB is refused as `ANALYSIS_SOURCE_TOO_LARGE`, and
194
- a run.json or trace without the fields analysis reads as `ANALYSIS_SOURCE_INVALID`;
195
- each message names the file, says why, and says no request was sent. Analysis
194
+ a run.json or trace without the fields analysis reads, or a run.json with two of a
195
+ participant's run events sharing an id, as `ANALYSIS_SOURCE_INVALID`; each message
196
+ names the file, says why, and says no request was sent. Analysis
196
197
  verifies the run before it reads a trace, so a trace that does not match its
197
198
  index in run.json fails verify and `humanish analyze` reports
198
199
  `ANALYSIS_VERIFY_FAILED`. A trace past 32 MiB leaves the run `local_only`, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "humanish",
3
- "version": "0.135.0",
3
+ "version": "0.136.0",
4
4
  "description": "Synthetic user research for apps, CLIs, and agent-facing product flows.",
5
5
  "keywords": [
6
6
  "cli",