@action-state-group/capsule-viewer 0.7.0 → 0.8.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.
Files changed (53) hide show
  1. package/dist/compliance-styles.js +7 -0
  2. package/dist/compliance-styles.js.map +1 -1
  3. package/dist/compliance-view.d.ts +4 -3
  4. package/dist/compliance-view.js +139 -88
  5. package/dist/compliance-view.js.map +1 -1
  6. package/dist/contract-report-wording.d.ts +2 -1
  7. package/dist/contract-report-wording.js +32 -3
  8. package/dist/contract-report-wording.js.map +1 -1
  9. package/dist/contract-report.d.ts +16 -1
  10. package/dist/contract-report.js +31 -3
  11. package/dist/contract-report.js.map +1 -1
  12. package/dist/core-strip.d.ts +1 -1
  13. package/dist/core-strip.js +7 -4
  14. package/dist/core-strip.js.map +1 -1
  15. package/dist/emitter-shell.html +16 -0
  16. package/dist/evidence-contract.d.ts +61 -0
  17. package/dist/evidence-contract.js +83 -0
  18. package/dist/evidence-contract.js.map +1 -0
  19. package/dist/evidence-graph-view.d.ts +10 -0
  20. package/dist/evidence-graph-view.js +35 -5
  21. package/dist/evidence-graph-view.js.map +1 -1
  22. package/dist/evidence-graph.iife.js +1657 -786
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.js +1 -0
  25. package/dist/index.js.map +1 -1
  26. package/dist/outcome-report-styles.js +9 -0
  27. package/dist/outcome-report-styles.js.map +1 -1
  28. package/dist/outcome-report-view.d.ts +19 -4
  29. package/dist/outcome-report-view.js +307 -127
  30. package/dist/outcome-report-view.js.map +1 -1
  31. package/dist/presentation-builder.d.ts +14 -0
  32. package/dist/presentation-builder.js +45 -1
  33. package/dist/presentation-builder.js.map +1 -1
  34. package/dist/presentation-fragment.d.ts +3 -0
  35. package/dist/presentation-fragment.js +9 -0
  36. package/dist/presentation-fragment.js.map +1 -1
  37. package/dist/presentation-mount.d.ts +3 -0
  38. package/dist/presentation-mount.js +2 -0
  39. package/dist/presentation-mount.js.map +1 -1
  40. package/dist/report-legend.d.ts +6 -7
  41. package/dist/report-legend.js +16 -9
  42. package/dist/report-legend.js.map +1 -1
  43. package/dist/report-levels.js +2 -1
  44. package/dist/report-levels.js.map +1 -1
  45. package/dist/spot-check.js +10 -5
  46. package/dist/spot-check.js.map +1 -1
  47. package/dist/subject-history.d.ts +77 -0
  48. package/dist/subject-history.js +439 -0
  49. package/dist/subject-history.js.map +1 -0
  50. package/dist/viewer-build.js +1 -1
  51. package/dist/wording/contract-report-eu-ai-act.en.json +16 -1
  52. package/dist/wording/contract-report-outcomes.en.json +61 -2
  53. package/package.json +1 -1
@@ -4,6 +4,13 @@
4
4
  "locale": "en",
5
5
  "entries": {
6
6
  "layout.grouping": "lines",
7
+ "lines.rtier.must_have.title": "Must-have terms · {n}",
8
+ "lines.rtier.must_have.note": "These count in the answer.",
9
+ "lines.rtier.informational.title": "Informational terms · {n}",
10
+ "lines.rtier.informational.note": "Reported, never in the answer: a term not met here changes nothing above it.",
11
+ "lines.rtier.unstated.title": "Terms with no stated tier · {n}",
12
+ "lines.rtier.unstated.note": "The contract given for this page states no tier for these, so they stay in the answer.",
13
+ "lines.rtier.sealed-note": "The sealed result counts informational terms too; the lines this report derives leave them out.",
7
14
  "lines.title": "Outcome report",
8
15
  "lines.share": "{count} of {total}",
9
16
  "lines.share.percent": "{p}%",
@@ -235,7 +242,6 @@
235
242
  "spot.term.unstated": "The rule's wording is not in this bundle: no report in it states the wording.",
236
243
  "spot.term.mixed": "The rule's wording is not shown: the reports in this bundle state different wordings.",
237
244
  "spot.says": "The judge's words",
238
- "spot.pin": "judge pin {digest}",
239
245
  "spot.confidence": "confidence {c}",
240
246
  "spot.gap.produced": "Who produced each message (model, tools used, effects) is not in this bundle: a message here carries only who spoke, what was said and the tool calls.",
241
247
  "spot.gap.when": "This report states only each rule's wording, not when it counts as met or when it cannot be decided.",
@@ -372,6 +378,9 @@
372
378
  "status.contradicted": "contradicted",
373
379
  "status.not_applicable": "not applicable",
374
380
  "status.unknown": "unknown",
381
+ "requirement_tier.must_have": "Must-have",
382
+ "requirement_tier.informational": "Informational",
383
+ "requirement_tier.unstated": "Tier not stated",
375
384
  "card.pf.assurance": "Assurance (as sealed on the claim)",
376
385
  "card.pf.assurance.line": "tier {tier} · grade {grade} · sufficiency {sufficiency} · carrier status {status}",
377
386
  "card.wording.refused": "The wording pack supplied with this page was refused, so this card is drawn with the viewer's built-in words only.",
@@ -501,6 +510,12 @@
501
510
  "legend.toggle.core": "no toggle, the core always draws it",
502
511
  "legend.toggle.note": "Every toggle's glyph sits at the left edge of the line it opens. Opening is a click; the page records nothing about it.",
503
512
  "legend.src.lead": "Where every word comes from",
513
+ "legend.src.core": "core",
514
+ "legend.src.core.is": "the viewer's own words",
515
+ "legend.src.pack": "wording pack",
516
+ "legend.src.pack.is": "the report's words",
517
+ "legend.src.field": "capsule field",
518
+ "legend.src.field.is": "a field as recorded, with its path",
504
519
  "legend.src.payload": "payload",
505
520
  "legend.src.payload.is": "the record's content",
506
521
  "legend.src.producer": "producer",
@@ -616,6 +631,50 @@
616
631
  "record.foot.sdk": "Four implementations, in Go, Rust, Python and TypeScript, pass one vector corpus.",
617
632
  "record.rung.7.note-unread": "this page could not read the witness receipts here",
618
633
  "record.rung.5.other": "the bundle's membership claim did not hold, and its findings do not name this record",
619
- "record.rung.5.unanchored": "the checkpoint is not authenticated on this page"
634
+ "record.rung.5.unanchored": "the checkpoint is not authenticated on this page",
635
+ "lines.subject.title": "Same customer in this report",
636
+ "lines.subject.slice.operator": "Slice: this report, filtered to one customer handle. Nothing is re-judged; the page shows what the report's Result already holds for the handle.",
637
+ "lines.subject.slice.shared": "This page does not group conversations by customer, so it does not say which are one customer's. Each conversation shows its requests, its band and the halves present, and nothing else about the customer.",
638
+ "lines.subject.none": "No customer handle in this report has more than one conversation.",
639
+ "lines.subject.core.customer": "Customer {handle}",
640
+ "lines.subject.core.scope": "handle scope: {pack}, {tier} tier, salted {salting}, salt {salt}",
641
+ "lines.subject.core.halves": "the customer's halves: {present} of {of} present, in {k} of {n} conversations that state them",
642
+ "lines.subject.share": "{count} of {total}",
643
+ "lines.subject.tile.conversations": "conversations · {first} to {last} · of the report's {total}",
644
+ "lines.subject.tile.resolved": "resolved · every term met",
645
+ "lines.subject.tile.missed": "missed · one or more terms not met",
646
+ "lines.subject.tile.undecided": "could not decide",
647
+ "lines.subject.headline": "One customer, {n} conversations",
648
+ "lines.subject.explain": "The handle is a salted commitment to the customer id, stable within this pack's scope and your tier. It tells you these {n} are the same customer; the handle alone does not say who.",
649
+ "lines.subject.timeline.title": "Over time",
650
+ "lines.subject.timeline.note": "The dashed link joins a conversation to the earlier one it follows up: the later record cites the earlier one (the producer's follow_up_of).",
651
+ "lines.subject.follow.one": "{n} day to the follow-up",
652
+ "lines.subject.follow.other": "{n} days to the follow-up",
653
+ "lines.subject.follow.same-day": "the same day",
654
+ "lines.subject.table.title": "Each conversation, each term",
655
+ "lines.subject.col.when": "When",
656
+ "lines.subject.col.request": "Requested",
657
+ "lines.subject.col.terms": "Terms ({n})",
658
+ "lines.subject.col.band": "Band",
659
+ "lines.subject.col.halves": "Halves",
660
+ "lines.subject.col.outcome": "Outcome",
661
+ "lines.subject.request.none": "not stated",
662
+ "lines.subject.band": "USD {range}",
663
+ "lines.subject.band.none": "no band",
664
+ "lines.subject.halves": "{present} of {of}",
665
+ "lines.subject.halves.none": "not stated",
666
+ "lines.subject.card.happened": "What happened",
667
+ "lines.subject.card.counts": "{turns}, {calls}.",
668
+ "lines.subject.card.no-transcript": "The conversation is not in this bundle.",
669
+ "lines.subject.card.terms": "The terms not met",
670
+ "lines.subject.card.all-met": "Every term was met.",
671
+ "lines.subject.card.verdict": "The verdict, and why",
672
+ "lines.subject.legend.met": "met",
673
+ "lines.subject.legend.not-met": "not met",
674
+ "lines.subject.legend.undecided": "could not decide",
675
+ "lines.subject.legend.order": "terms are in the contract's order",
676
+ "lines.subject.gap": "Not drawn: which terms are must-have and which informational, when each term is met, and the adjudication. This bundle does not carry them.",
677
+ "lines.subject.note.unverified": "{n} of {total} could not be verified.",
678
+ "lines.subject.note.nothing-applied": "{n} of {total} had no term that applied."
620
679
  }
621
680
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@action-state-group/capsule-viewer",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "capsule-viewer page emitter and presentation builder, under the Agent Action Capsule presentation contract",
5
5
  "license": "Apache-2.0 AND BSD-3-Clause",
6
6
  "type": "module",