@action-state-group/capsule-viewer 0.12.0 → 0.14.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/README.md +6 -0
- package/dist/browser.d.ts +1 -0
- package/dist/browser.js +3 -0
- package/dist/browser.js.map +1 -1
- package/dist/compliance-view.d.ts +6 -0
- package/dist/compliance-view.js +21 -3
- package/dist/compliance-view.js.map +1 -1
- package/dist/contract-report-wording.d.ts +6 -2
- package/dist/contract-report-wording.js +57 -6
- package/dist/contract-report-wording.js.map +1 -1
- package/dist/contract-report.d.ts +3 -2
- package/dist/contract-report.js +5 -2
- package/dist/contract-report.js.map +1 -1
- package/dist/core-strip.d.ts +1 -1
- package/dist/core-strip.js +80 -25
- package/dist/core-strip.js.map +1 -1
- package/dist/evidence-graph-view.d.ts +2 -2
- package/dist/evidence-graph-view.js +16 -10
- package/dist/evidence-graph-view.js.map +1 -1
- package/dist/evidence-graph.iife.js +3576 -560
- package/dist/generic-report-view.d.ts +36 -0
- package/dist/generic-report-view.js +304 -0
- package/dist/generic-report-view.js.map +1 -0
- package/dist/history-view.d.ts +290 -0
- package/dist/history-view.iife.js +1278 -0
- package/dist/history-view.iife.js.sha256 +1 -0
- package/dist/history-view.js +940 -0
- package/dist/history-view.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/outcome-report-view.js +41 -5
- package/dist/outcome-report-view.js.map +1 -1
- package/dist/report-front-styles.js +1 -0
- package/dist/report-front-styles.js.map +1 -1
- package/dist/report-levels.d.ts +37 -4
- package/dist/report-levels.js +127 -8
- package/dist/report-levels.js.map +1 -1
- package/dist/viewer-build.js +2 -2
- package/dist/wording/contract-report-eu-ai-act.en.json +4 -0
- package/dist/wording/contract-report-generic.en.json +460 -0
- package/dist/wording/contract-report-outcomes.en.json +6 -0
- package/dist/wording/history-view.en.json +147 -0
- package/package.json +6 -2
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"wording_pack_version": "0",
|
|
3
|
+
"id": "capsuleviewer.history-view.wording/v0",
|
|
4
|
+
"locale": "en",
|
|
5
|
+
"provenance": {
|
|
6
|
+
"_comment": "Entries copied from actionstate-muse's packs name their source key; the snapshot test (test/history-view.test.ts) holds them to test/fixtures/history-view/muse-source.json. Once actionstate-muse deletes its history.page.* words, this pack is the source.",
|
|
7
|
+
"muse_commit": "79cc01cfbae59536e690fd6c8e68192b6cf7a12a",
|
|
8
|
+
"sources": {
|
|
9
|
+
"header.title.owner": "plugin.json history.page.title",
|
|
10
|
+
"badge.private": "plugin.json history.page.private",
|
|
11
|
+
"built.owner": "plugin.json history.page.built",
|
|
12
|
+
"hero.none.deals": "plugin.json history.page.none",
|
|
13
|
+
"hero.deals.one": "plugin.json history.page.count.one",
|
|
14
|
+
"hero.deals.other": "plugin.json history.page.count.other",
|
|
15
|
+
"row.opened": "plugin.json history.page.row.opened",
|
|
16
|
+
"row.last": "plugin.json history.page.row.last",
|
|
17
|
+
"stamp.recorded": "plugin.json history.page.stamp.recorded",
|
|
18
|
+
"stamp.timestamped": "plugin.json history.page.stamp.timestamped",
|
|
19
|
+
"slot.timestamped.none": "plugin.json history.page.stamp.timestamped.not",
|
|
20
|
+
"slot.part": "plugin.json history.page.stamp.timestamped.part",
|
|
21
|
+
"slot.unchecked": "plugin.json history.page.stamp.timestamped.unchecked",
|
|
22
|
+
"slot.failed": "plugin.json history.page.stamp.timestamped.failed",
|
|
23
|
+
"seal.deals": "receipt.json seal.text.unpostmarked",
|
|
24
|
+
"seal.directory": "plugin.json history.page.checked.directory"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"entries": {
|
|
28
|
+
"header.title.node": "History · node {node}",
|
|
29
|
+
"header.title.stream": "History · node {node} · {stream} log",
|
|
30
|
+
"header.title.owner": "Your History",
|
|
31
|
+
"header.title.shared": "History · shared by {name}",
|
|
32
|
+
"header.title.person": "History · {name}",
|
|
33
|
+
"badge.private": "PRIVATE · for you only. Never send this page.",
|
|
34
|
+
"badge.shared": "SHARED COPY · for {who}",
|
|
35
|
+
"badge.anyone": "What this node gives anyone who asks",
|
|
36
|
+
"scope.period": "{from} to {to}",
|
|
37
|
+
"built.owner": "Built {at}. It is a snapshot from when you asked, not a page that updates itself.",
|
|
38
|
+
"built.recipient": "Built {at}. It is a snapshot from when it was built, not a page that updates itself.",
|
|
39
|
+
"hero.checkpoints.one": "1 checkpoint · {entries} · last cut {at} · {verdict}",
|
|
40
|
+
"hero.checkpoints.other": "{n} checkpoints · {entries} · last cut {at} · {verdict}",
|
|
41
|
+
"hero.entries.one": "1 entry",
|
|
42
|
+
"hero.entries.other": "{n} entries",
|
|
43
|
+
"verdict.pass": "every checkpoint signature checks",
|
|
44
|
+
"verdict.pass.all": "every signature checks, including the answer's own, by the node's published key",
|
|
45
|
+
"verdict.unchecked": "signatures not checked here",
|
|
46
|
+
"hero.failed": "This history didn't verify, so this page shows none of it.",
|
|
47
|
+
"hero.none.checkpoints": "No checkpoints yet.",
|
|
48
|
+
"hero.refused": "The node declined to answer.",
|
|
49
|
+
"hero.refused.reason": "Its reason, in its own words: “{reason}”",
|
|
50
|
+
"hero.unreadable": "This page could not read the answer, so it shows none of it.",
|
|
51
|
+
"hero.deals.one": "{n} deal, newest first",
|
|
52
|
+
"hero.deals.other": "{n} deals, newest first",
|
|
53
|
+
"hero.deals.picked.one": "1 deal {name} picked · steps recorded, not outcomes",
|
|
54
|
+
"hero.deals.picked.other": "{n} deals {name} picked · steps recorded, not outcomes",
|
|
55
|
+
"hero.none.deals": "There are no deals in this store yet.",
|
|
56
|
+
"chip.signatures.pass": "Checkpoint signatures check",
|
|
57
|
+
"chip.signatures.pass.all": "Every signature checks",
|
|
58
|
+
"chip.signatures.unchecked": "Signatures not checked here",
|
|
59
|
+
"chip.timestamped.all": "Time-stamped: all {n}",
|
|
60
|
+
"chip.timestamped.some": "Time-stamped: {k} of {n}",
|
|
61
|
+
"chip.timestamped.none": "Time-stamped: none yet",
|
|
62
|
+
"chip.timestamped.unchecked": "Time stamps not checked here",
|
|
63
|
+
"chip.timestamped.failed": "Time stamps didn't verify",
|
|
64
|
+
"chip.started": "Started {date}",
|
|
65
|
+
"chip.recorded": "Each step recorded as it happened",
|
|
66
|
+
"rows.heading.checkpoints": "Checkpoints",
|
|
67
|
+
"rows.heading.deals": "Deals",
|
|
68
|
+
"row.cut": "Cut {at}",
|
|
69
|
+
"row.entries.one": "1 entry in the log",
|
|
70
|
+
"row.entries.other": "{n} entries in the log",
|
|
71
|
+
"row.opened": "Opened {at}",
|
|
72
|
+
"row.last": "Last step {at}",
|
|
73
|
+
"proof.checkpoint": "🔏 checkpoint {id}…",
|
|
74
|
+
"proof.node": "🔏 node key {id}…",
|
|
75
|
+
"proof.record": "🔏 record {id}…",
|
|
76
|
+
"stamp.recorded": "RECORDED",
|
|
77
|
+
"stamp.timestamped": "TIME-STAMPED",
|
|
78
|
+
"stamp.second": "SECOND SIGNATURE",
|
|
79
|
+
"stamp.signature.unchecked": "Signature not checked here",
|
|
80
|
+
"slot.timestamped.at": "{at}",
|
|
81
|
+
"slot.timestamped.by": "{at} · by {by}",
|
|
82
|
+
"slot.part": "through step {k} of {n}",
|
|
83
|
+
"slot.timestamped.none": "Not time-stamped yet",
|
|
84
|
+
"slot.second.by": "{by} signed this record too · {at}, by their clock",
|
|
85
|
+
"slot.second.none": "None yet",
|
|
86
|
+
"slot.unchecked": "Not checked here",
|
|
87
|
+
"slot.failed": "Didn't verify",
|
|
88
|
+
"periods.heading": "Service History: exchanges served in each closed week",
|
|
89
|
+
"periods.row": "{from} to {to}",
|
|
90
|
+
"periods.cell": "{what}: {value}",
|
|
91
|
+
"periods.cell.withheld": "{what}: fewer than 5",
|
|
92
|
+
"callout.heading": "What this does not show",
|
|
93
|
+
"callout.checkpoints": "These checkpoints show when this node's log was cut and how much it holds. They don't show what any exchange said or how it went, and this is not a judgment of the node.",
|
|
94
|
+
"callout.deals": "“Steps recorded” is this side's record of each deal, not a confirmed outcome.",
|
|
95
|
+
"callout.deals.picked": "{name} picked these; it isn't every deal. “Steps recorded” is {name}'s side's record, not a confirmed outcome.",
|
|
96
|
+
"shares.heading": "What this node shares",
|
|
97
|
+
"shares.summary": "With anyone who asks: a summary of its checkpoints, meaning how much it has recorded and when, and nothing about any exchange.",
|
|
98
|
+
"shares.standard.on": "With anyone: the Service History.",
|
|
99
|
+
"shares.standard.off": "The Service History: only the other side of an exchange gets it (off for anyone else on this node).",
|
|
100
|
+
"shares.segments.counterparties": "Only with the other side of an exchange, when they ask: that exchange's record.",
|
|
101
|
+
"shares.segments.peers": "With any node that signs its request: an exchange's record.",
|
|
102
|
+
"shares.segments.off": "The other side of an exchange can't ask for its record (off on this node).",
|
|
103
|
+
"shares.segments.off.sealed": "They still get the sealed record when it completes.",
|
|
104
|
+
"shares.corroboration.on": "With any node that asks by an exchange's id: whether this node holds its half (ids and digests only).",
|
|
105
|
+
"shares.completion.on": "Sent on its own: the sealed record when an exchange completes.",
|
|
106
|
+
"shares.completion.off": "The sealed record isn't sent when an exchange completes (off on this node).",
|
|
107
|
+
"shares.adjudications.on": "If this node judges an exchange, its verdict goes to the node judged.",
|
|
108
|
+
"shares.adjudications.off": "Verdicts this node reaches aren't sent to the nodes judged (off on this node).",
|
|
109
|
+
"shares.twins.on": "When two copies of a model answer differently, this node sends the question and both answers to a referee.",
|
|
110
|
+
"shares.twins.unstated": "Whether this node sends differing answers to a referee: this node's settings don't say.",
|
|
111
|
+
"shares.witnesses": "Signed checkpoints go to the witnesses named here: {witnesses}",
|
|
112
|
+
"shares.witnesses.none": "No witnesses named.",
|
|
113
|
+
"shares.witnesses.unstated": "Which witnesses get its checkpoints: this node's settings don't say.",
|
|
114
|
+
"shares.never": "Never: a record to anyone who doesn't prove who they are.",
|
|
115
|
+
"shares.as_of": "As this node was set when this page was built, {at}.",
|
|
116
|
+
"seal.title": "Locked as it happened.",
|
|
117
|
+
"seal.checkpoints": "Each checkpoint is signed and extends the one before, so a change to what it covers shows.",
|
|
118
|
+
"seal.deals": "Each step was saved as it happened. Any change to a saved step shows.",
|
|
119
|
+
"seal.unchecked": "This page did not check how these records were locked.",
|
|
120
|
+
"seal.second.label": "Second signature",
|
|
121
|
+
"seal.second.rows": "See each row",
|
|
122
|
+
"seal.directory": "Signers are looked up at {directory} on every read, so that site can see each time you look.",
|
|
123
|
+
"checked.heading": "How this was checked",
|
|
124
|
+
"checked.where.page": "These checks ran in this browser when the page opened ({by}).",
|
|
125
|
+
"checked.where.builder": "These checks ran when the page was built, {at} ({by}).",
|
|
126
|
+
"check.line": "{status}: {name}",
|
|
127
|
+
"status.pass": "Checked",
|
|
128
|
+
"status.fail": "Didn't verify",
|
|
129
|
+
"status.not_run": "Not checked here",
|
|
130
|
+
"check.readable": "The answer can be read",
|
|
131
|
+
"check.refusal": "The refusal is signed by the key that answered",
|
|
132
|
+
"check.artifact_digest": "The answer's file is the bytes its digest names",
|
|
133
|
+
"check.card_digest": "The history card (history_card/1) matches its digest",
|
|
134
|
+
"check.checkpoint_signatures": "Every checkpoint is signed by the key that answered",
|
|
135
|
+
"check.checkpoint_chain": "Each checkpoint names the one before",
|
|
136
|
+
"check.consistency": "The log only grew between checkpoints: nothing removed or changed",
|
|
137
|
+
"check.anchor": "The last checkpoint is the one the answer names",
|
|
138
|
+
"check.period_counts": "The Service History's counts (service_history/1) match its checkpoints",
|
|
139
|
+
"check.envelope_signature": "The answer itself is signed by the key that answered",
|
|
140
|
+
"check.key_is_node": "The signing key is the node's published key",
|
|
141
|
+
"check.reply_bound": "The answer is bound to the request it answers",
|
|
142
|
+
"check.witness": "A witness time-stamped these records",
|
|
143
|
+
"check.second_signature": "A second party signed this record",
|
|
144
|
+
"check.deal_report": "Each deal was read with its own report, which writes nothing",
|
|
145
|
+
"refused": "This page can't show this history: {reasons}"
|
|
146
|
+
}
|
|
147
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@action-state-group/capsule-viewer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.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",
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
".": {
|
|
16
16
|
"types": "./dist/index.d.ts",
|
|
17
17
|
"import": "./dist/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./history-view": {
|
|
20
|
+
"types": "./dist/history-view.d.ts",
|
|
21
|
+
"import": "./dist/history-view.js"
|
|
18
22
|
}
|
|
19
23
|
},
|
|
20
24
|
"engines": {
|
|
@@ -32,7 +36,7 @@
|
|
|
32
36
|
"emitter:iife": "node scripts/build-iife.mjs"
|
|
33
37
|
},
|
|
34
38
|
"dependencies": {
|
|
35
|
-
"@action-state-group/agent-action-capsule": "0.13.
|
|
39
|
+
"@action-state-group/agent-action-capsule": "0.13.1",
|
|
36
40
|
"@action-state-group/cll": "0.3.0"
|
|
37
41
|
},
|
|
38
42
|
"devDependencies": {
|