@kontourai/survey 7.0.0 → 8.0.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/dist/example-data/public-directory-review-resource.d.ts +3 -3
- package/dist/src/calibration.d.ts +15 -0
- package/dist/src/calibration.js +11 -0
- package/dist/src/canonical-reviewed-trust-input.d.ts +10 -0
- package/dist/src/canonical-reviewed-trust-input.js +15 -0
- package/dist/src/decision-carry-forward.d.ts +157 -0
- package/dist/src/decision-carry-forward.js +295 -0
- package/dist/src/extraction-envelope.d.ts +4 -3
- package/dist/src/extraction-envelope.js +3 -3
- package/dist/src/field-states.d.ts +100 -0
- package/dist/src/field-states.js +169 -0
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.js +2 -0
- package/dist/src/mcp/review-mcp.js +35 -10
- package/dist/src/review-resource.d.ts +29 -0
- package/dist/src/review-workbench/audit-sample.d.ts +32 -0
- package/dist/src/review-workbench/audit-sample.js +53 -0
- package/dist/src/review-workbench/extraction-inspector.d.ts +1 -1
- package/dist/src/review-workbench/extraction-inspector.js +1 -1
- package/dist/src/review-workbench/field-state-view.d.ts +15 -0
- package/dist/src/review-workbench/field-state-view.js +84 -0
- package/dist/src/review-workbench/review-queue-session.d.ts +46 -1
- package/dist/src/review-workbench/review-queue-session.js +74 -3
- package/dist/src/review-workbench/review-session-replay.d.ts +1 -1
- package/dist/src/review-workbench/review-session-replay.js +15 -1
- package/dist/src/review-workbench/review-workbench-css.generated.js +32 -0
- package/dist/src/review-workbench/review-workbench.css +32 -0
- package/dist/src/review-workbench/review-workbench.d.ts +13 -1
- package/dist/src/review-workbench/review-workbench.js +41 -15
- package/dist/src/review-workbench/review-workbench.standalone.css +32 -0
- package/package.json +1 -1
|
@@ -409,6 +409,30 @@ h1, h2, h3, p {
|
|
|
409
409
|
.chip.rejected { color: var(--k-negative); background: var(--k-negative-wash); }
|
|
410
410
|
.chip.could-not-confirm { color: var(--k-caution); background: var(--k-caution-wash); }
|
|
411
411
|
|
|
412
|
+
/* Field-state panel: one row per field, content and lifecycle derived from
|
|
413
|
+
the records, never stored labels. A field that was not read is listed. */
|
|
414
|
+
.field-states { padding: var(--k-space-3, 12px) 1rem; border-bottom: 1px solid var(--k-line); background: var(--k-panel); }
|
|
415
|
+
.field-states h2 { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--k-text); }
|
|
416
|
+
.field-states ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
|
|
417
|
+
.field-states-lead { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--k-caution); }
|
|
418
|
+
.field-state-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 6px 0; border-top: 1px solid var(--k-line); }
|
|
419
|
+
.field-state-row:first-child { border-top: 0; }
|
|
420
|
+
.field-state-name { font-family: var(--k-font-mono, ui-monospace, monospace); font-size: 12px; color: var(--k-text); overflow-wrap: anywhere; }
|
|
421
|
+
.field-state-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
|
|
422
|
+
.field-state-note { grid-column: 1 / -1; font-size: 12px; color: var(--k-muted); }
|
|
423
|
+
.field-state-note.signal { color: var(--k-caution); }
|
|
424
|
+
.chip.state-content.value { color: var(--k-positive); background: var(--k-positive-wash); }
|
|
425
|
+
.chip.state-content.conflicting,
|
|
426
|
+
.chip.state-content.excluded,
|
|
427
|
+
.chip.state-content.not_covered { color: var(--k-caution); background: var(--k-caution-wash); }
|
|
428
|
+
.chip.state-content.unsupported { color: var(--k-negative); background: var(--k-negative-wash); }
|
|
429
|
+
.chip.state-content.none,
|
|
430
|
+
.chip.state-lifecycle.superseded { color: var(--k-muted); background: var(--k-sunken); }
|
|
431
|
+
.chip.state-lifecycle.pending { color: var(--k-brand); background: var(--k-brand-wash); }
|
|
432
|
+
.chip.state-lifecycle.accepted { color: var(--k-positive); background: var(--k-positive-wash); }
|
|
433
|
+
.chip.state-lifecycle.rejected { color: var(--k-negative); background: var(--k-negative-wash); }
|
|
434
|
+
.chip.state-lifecycle.could_not_confirm { color: var(--k-caution); background: var(--k-caution-wash); }
|
|
435
|
+
|
|
412
436
|
.frow1 .push {
|
|
413
437
|
margin-left: auto;
|
|
414
438
|
}
|
|
@@ -653,6 +677,12 @@ h1, h2, h3, p {
|
|
|
653
677
|
background: var(--k-negative-wash);
|
|
654
678
|
}
|
|
655
679
|
|
|
680
|
+
/* A score-blind session: an informational note, not a warning. */
|
|
681
|
+
.queue-attestation.score-blind {
|
|
682
|
+
color: var(--k-active);
|
|
683
|
+
background: var(--k-active-soft);
|
|
684
|
+
}
|
|
685
|
+
|
|
656
686
|
/* Conflicting proposed values: each value is listed with its own choice
|
|
657
687
|
control until the field is decided, then marked chosen or not chosen. */
|
|
658
688
|
.conflict-values ul {
|
|
@@ -1213,6 +1243,8 @@ pre[data-testid="decision-payload"] {
|
|
|
1213
1243
|
/* The diff-collapse must also hold in host contexts without a query container
|
|
1214
1244
|
(e.g. an embed that doesn't establish `container-type`): fall back to viewport. */
|
|
1215
1245
|
@media (max-width: 620px) {
|
|
1246
|
+
.field-state-row { grid-template-columns: minmax(0, 1fr); }
|
|
1247
|
+
.field-state-chips { justify-content: flex-start; }
|
|
1216
1248
|
.diff {
|
|
1217
1249
|
grid-template-columns: 1fr;
|
|
1218
1250
|
}
|
package/package.json
CHANGED