humanish 0.133.1 → 0.135.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.
- package/CHANGELOG.md +28 -0
- package/dist/actors/computer-use/loop/actions.d.ts +2 -0
- package/dist/actors/computer-use/loop/actions.js +11 -5
- package/dist/actors/computer-use/loop/backstop.d.ts +23 -2
- package/dist/actors/computer-use/loop/backstop.js +40 -7
- package/dist/actors/computer-use/loop/session.d.ts +3 -0
- package/dist/actors/computer-use/loop/session.js +3 -0
- package/dist/actors/computer-use/loop/streak.d.ts +18 -0
- package/dist/actors/computer-use/loop/streak.js +47 -0
- package/dist/actors/computer-use/loop/types.d.ts +5 -1
- package/dist/actors/computer-use/loop/watch.d.ts +22 -4
- package/dist/actors/computer-use/loop/watch.js +83 -27
- package/dist/actors/computer-use/loop.js +18 -6
- package/dist/actors/contract.d.ts +3 -1
- package/dist/analysis/automatic-config.js +5 -3
- package/dist/analysis/execute.js +2 -1
- package/dist/analysis/service.js +5 -3
- package/dist/analysis/source.d.ts +6 -0
- package/dist/analysis/source.js +15 -13
- package/dist/cli/commands/run-signals.js +6 -2
- package/dist/evidence/encoded-text.d.ts +13 -3
- package/dist/evidence/encoded-text.js +88 -25
- package/dist/observer/page-data.d.ts +6 -0
- package/dist/observer/page-data.js +34 -7
- package/dist/observer/participant-items.d.ts +15 -1
- package/dist/observer/participant-items.js +4 -3
- package/dist/observer/render.js +5 -3
- package/dist/observer/run-routes.js +4 -4
- package/dist/observer-app.html +4 -4
- package/dist/routes/computer-use/bundle-parts.d.ts +9 -0
- package/dist/routes/computer-use/bundle-parts.js +24 -4
- package/dist/routes/computer-use/fanout-bundle.js +8 -6
- package/dist/routes/computer-use/participant-runs.js +2 -2
- package/dist/routes/computer-use/single-bundle.js +5 -5
- package/dist/routes/scripted/setup.js +62 -17
- package/dist/routes/shared-world/bundle.js +3 -3
- package/dist/routes/shared-world/participant-specs.js +2 -2
- package/dist/routes/terminal/bundle.js +2 -2
- package/dist/run/locate.d.ts +8 -2
- package/dist/run/locate.js +10 -4
- package/dist/run/run.js +22 -5
- package/dist/run/sandbox-ids.d.ts +4 -3
- package/dist/run/sandbox-ids.js +8 -6
- package/dist/run/stream-trace.d.ts +8 -2
- package/dist/run/stream-trace.js +13 -7
- package/dist/run-study.d.ts +3 -3
- package/dist/run-study.js +3 -3
- package/dist/study/bundle-estimate.d.ts +0 -2
- package/dist/study/bundle-estimate.js +33 -33
- package/dist/study/config.d.ts +4 -3
- package/dist/study/config.js +8 -5
- package/dist/study/parse/actors.d.ts +6 -0
- package/dist/study/parse/actors.js +14 -0
- package/dist/study/parse/subject-state.js +4 -4
- package/dist/study/participant-assignment.js +2 -2
- package/dist/study/persona.d.ts +7 -1
- package/dist/study/persona.js +13 -5
- package/dist/study/plan-base.js +4 -3
- package/dist/verify/artifacts.d.ts +7 -1
- package/dist/verify/artifacts.js +15 -4
- package/dist/verify/verify.js +29 -8
- package/docs/architecture/actor-contract.md +3 -1
- package/docs/architecture/observer.md +24 -7
- package/docs/architecture/state-driven-executor.md +7 -4
- package/docs/contracts/run-bundle.md +16 -2
- package/docs/contracts/study-analysis.md +8 -5
- package/docs/decisions/0002-observer-is-one-self-contained-file.md +3 -3
- package/package.json +1 -1
|
@@ -194,8 +194,10 @@ item's text. A run.json past 16 MiB is refused as `ANALYSIS_SOURCE_TOO_LARGE`, a
|
|
|
194
194
|
a run.json or trace without the fields analysis reads as `ANALYSIS_SOURCE_INVALID`;
|
|
195
195
|
each message names the file, says why, and says no request was sent. Analysis
|
|
196
196
|
verifies the run before it reads a trace, so a trace that does not match its
|
|
197
|
-
index in run.json
|
|
198
|
-
`
|
|
197
|
+
index in run.json fails verify and `humanish analyze` reports
|
|
198
|
+
`ANALYSIS_VERIFY_FAILED`. A trace past 32 MiB leaves the run `local_only`, and
|
|
199
|
+
analysis refuses it as `ANALYSIS_SOURCE_TOO_LARGE`, naming the participant and
|
|
200
|
+
the file. Count and text budgets are
|
|
199
201
|
distributed across included participants, with unused capacity from short
|
|
200
202
|
sessions available to longer ones. Reclaimed capture slots go first to eligible
|
|
201
203
|
participants with fewer admitted images, including those deferred by their
|
|
@@ -285,9 +287,10 @@ value inside a bracketed span, such as `[REDACTED_373433393231]`, is found too:
|
|
|
285
287
|
humanish writes (`[REDACTED_SECRET]`, `[REDACTED_LOCAL_PATH]`, `[REDACTED_RUNTIME_PATH]`,
|
|
286
288
|
`[REDACTED_PROMPT_TEXT]`, `[REDACTED_LOBBY_CODE]`) are left as they are. If another reading of
|
|
287
289
|
the stored field still holds a value (decoded once more, with percent escapes as UTF-8, with
|
|
288
|
-
transfer escapes expanded,
|
|
289
|
-
|
|
290
|
-
these forms in an ID, enum or
|
|
290
|
+
transfer escapes expanded, with Latin-1 characters read as UTF-8 bytes, with HTML references
|
|
291
|
+
left as written, or with only HTML references decoded), as for a value encoded twice, the whole
|
|
292
|
+
field becomes `[REDACTED_SECRET]`. A known value in any of these forms in an ID, enum or
|
|
293
|
+
reference refuses the response.
|
|
291
294
|
|
|
292
295
|
When a reviewer amends a finding, its headline and experience describe the replaced claim.
|
|
293
296
|
Text output, the Observer and feedback drafts show the reviewer's claim in their place and say the
|
|
@@ -13,9 +13,9 @@ exactly those cases.
|
|
|
13
13
|
The `observer/` workspace builds with Vite into a single HTML file with fonts inlined and no
|
|
14
14
|
network references. The root build copies it to `dist/observer-app.html`. `renderObserverHtml`
|
|
15
15
|
is the one path every surface (observe, observe --all, watch, studies) uses; it injects the run's
|
|
16
|
-
`humanish.observer-data.v3` snapshot into that file, with
|
|
17
|
-
gzip-compressed (docs/architecture/observer.md). There is no second renderer and
|
|
18
|
-
flag; rolling back means pinning an older package version.
|
|
16
|
+
`humanish.observer-data.v3` snapshot into that file, with each participant's trace items beside
|
|
17
|
+
it, gzip-compressed on their own (docs/architecture/observer.md). There is no second renderer and
|
|
18
|
+
no feature flag; rolling back means pinning an older package version.
|
|
19
19
|
|
|
20
20
|
## Consequences
|
|
21
21
|
|