@action-state-group/capsule-viewer 0.27.0 → 0.27.2
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/browser.d.ts +1 -0
- package/dist/browser.js +5 -0
- package/dist/browser.js.map +1 -1
- package/dist/deal-standalone-report.d.ts +25 -0
- package/dist/deal-standalone-report.js +272 -0
- package/dist/deal-standalone-report.js.map +1 -0
- package/dist/evidence-graph-view.js +5 -0
- package/dist/evidence-graph-view.js.map +1 -1
- package/dist/evidence-graph.iife.js +291 -138
- package/dist/history-view.d.ts +1 -0
- package/dist/history-view.iife.js +10 -11
- package/dist/history-view.iife.js.sha256 +1 -1
- package/dist/history-view.js +15 -5
- package/dist/history-view.js.map +1 -1
- package/dist/receipt-core.generated.js +106 -17
- package/dist/receipt-core.generated.js.map +1 -1
- package/dist/receipt.d.ts +7 -1
- package/dist/receipt.js +27 -5
- package/dist/receipt.js.map +1 -1
- package/dist/viewer-build.js +1 -1
- package/dist/wording/history-view.en.json +5 -4
- package/package.json +1 -1
package/dist/receipt.d.ts
CHANGED
|
@@ -23,9 +23,15 @@ export type ReceiptResult =
|
|
|
23
23
|
readonly kind: "did_not_verify";
|
|
24
24
|
readonly line: string;
|
|
25
25
|
}
|
|
26
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* This page cannot check it, so it shows nothing from it and no verdict:
|
|
28
|
+
* this browser cannot verify (no SHA-256 or Ed25519), or, with `reason`
|
|
29
|
+
* `report_rule`, the copy is an x-deal-v1 receipt whose report passes only
|
|
30
|
+
* under its profile's own rule, which no page runs yet (#405).
|
|
31
|
+
*/
|
|
27
32
|
| {
|
|
28
33
|
readonly kind: "cannot_check";
|
|
34
|
+
readonly reason?: "report_rule";
|
|
29
35
|
}
|
|
30
36
|
/** Verified, but no receipt module draws it (not a deal receipt). */
|
|
31
37
|
| {
|
package/dist/receipt.js
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { buildVerifiedBundleContext, bundleVerified, Sha256UnavailableError, VERIFICATION_BANNER_LINES, verificationBanner, } from "@action-state-group/agent-action-capsule";
|
|
15
15
|
import { PresentationRegistry, } from "./presentation-registry.js";
|
|
16
|
+
import { dealStandaloneReport } from "./deal-standalone-report.js";
|
|
16
17
|
import { RECEIPT_CORE, RECEIPT_MANIFESTS } from "./receipt-core.generated.js";
|
|
17
18
|
/** The receipt kinds, as go/receipt names them. */
|
|
18
19
|
export const RECEIPT_KINDS = [
|
|
@@ -28,6 +29,7 @@ export function receiptModules() {
|
|
|
28
29
|
const module = core.createModule(kind, {
|
|
29
30
|
localTime: true,
|
|
30
31
|
memberContext: (bundle) => buildVerifiedBundleContext(bundle),
|
|
32
|
+
reportCheck: dealStandaloneReport,
|
|
31
33
|
});
|
|
32
34
|
return {
|
|
33
35
|
...module,
|
|
@@ -77,6 +79,11 @@ async function verified(bundle) {
|
|
|
77
79
|
return { kind: "did_not_verify", line: banner.line };
|
|
78
80
|
if (!bundleVerified(context.verification) || composedFailed(context))
|
|
79
81
|
return refused;
|
|
82
|
+
// A deal copy whose standalone report fails the page's own check did not
|
|
83
|
+
// verify, and says so, never as a receipt that is simply not there
|
|
84
|
+
// (Sherlock2, #398 follow-up).
|
|
85
|
+
if ((await dealStandaloneReport(value)) === "fail")
|
|
86
|
+
return refused;
|
|
80
87
|
const records = value.records;
|
|
81
88
|
const total = Array.isArray(records) ? records.length : 0;
|
|
82
89
|
return {
|
|
@@ -107,6 +114,13 @@ const bothSides = (model) => typeof model === "object" &&
|
|
|
107
114
|
function result(found) {
|
|
108
115
|
if ("result" in found)
|
|
109
116
|
return found.result;
|
|
117
|
+
const model = found.model;
|
|
118
|
+
if (typeof model === "object" &&
|
|
119
|
+
model !== null &&
|
|
120
|
+
model.cannot_check === true)
|
|
121
|
+
return model.reason === "report_rule"
|
|
122
|
+
? { kind: "cannot_check", reason: "report_rule" }
|
|
123
|
+
: { kind: "cannot_check" };
|
|
110
124
|
return {
|
|
111
125
|
kind: "checked",
|
|
112
126
|
module: found.module.manifest.id,
|
|
@@ -130,9 +144,13 @@ export async function renderReceipt(bundle, host, options = {}) {
|
|
|
130
144
|
host.setAttribute("data-receipt-carrier", options.carrier);
|
|
131
145
|
else
|
|
132
146
|
host.removeAttribute("data-receipt-carrier");
|
|
133
|
-
|
|
147
|
+
// Not checked: nothing is drawn. For a copy this page can't check (an
|
|
148
|
+
// x-deal-v1 report, #405) the line is the page lines' (receiptPageLines),
|
|
149
|
+
// said once there.
|
|
150
|
+
const done = result(found);
|
|
151
|
+
if (done.kind !== "checked" || "result" in found) {
|
|
134
152
|
host.replaceChildren();
|
|
135
|
-
return
|
|
153
|
+
return done;
|
|
136
154
|
}
|
|
137
155
|
const doc = host.ownerDocument;
|
|
138
156
|
const region = (name) => {
|
|
@@ -149,7 +167,7 @@ export async function renderReceipt(bundle, host, options = {}) {
|
|
|
149
167
|
depth: options.depth ?? "L0",
|
|
150
168
|
setChromeClass: () => undefined,
|
|
151
169
|
});
|
|
152
|
-
return
|
|
170
|
+
return done;
|
|
153
171
|
}
|
|
154
172
|
const fill = (key, values = {}) => (core.WORDS[key] ?? `[${key}]`).replace(/\{(\w+)\}/g, (_, name) => String(values[name]));
|
|
155
173
|
/**
|
|
@@ -166,7 +184,9 @@ export function receiptLabel(result) {
|
|
|
166
184
|
: result.kind === "no_record"
|
|
167
185
|
? "row.none"
|
|
168
186
|
: result.kind === "cannot_check"
|
|
169
|
-
?
|
|
187
|
+
? result.reason === "report_rule"
|
|
188
|
+
? "row.cannot_check.report_rule.row"
|
|
189
|
+
: "row.cannot_check"
|
|
170
190
|
: result.kind === "did_not_verify"
|
|
171
191
|
? "row.did_not_verify"
|
|
172
192
|
: null;
|
|
@@ -200,7 +220,9 @@ export function receiptPageLines(result, options = {}) {
|
|
|
200
220
|
return {
|
|
201
221
|
tone: "bad",
|
|
202
222
|
lines: [
|
|
203
|
-
|
|
223
|
+
result.reason === "report_rule"
|
|
224
|
+
? `${fill("row.cannot_check.report_rule")} ${fill("row.cannot_check.report_rule_pointer")}`
|
|
225
|
+
: `${fill("row.cannot_check")}. ${fill("row.cannot_check_pointer")}`,
|
|
204
226
|
],
|
|
205
227
|
};
|
|
206
228
|
case "did_not_verify":
|
package/dist/receipt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receipt.js","sourceRoot":"","sources":["../src/receipt.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;GAWG;AACH,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,sBAAsB,EACtB,yBAAyB,EACzB,kBAAkB,GAEnB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,oBAAoB,GAGrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAE9E,mDAAmD;AACnD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,YAAY;IACZ,QAAQ;IACR,WAAW;IACX,MAAM;CACE,CAAC;
|
|
1
|
+
{"version":3,"file":"receipt.js","sourceRoot":"","sources":["../src/receipt.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;GAWG;AACH,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,sBAAsB,EACtB,yBAAyB,EACzB,kBAAkB,GAEnB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,oBAAoB,GAGrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAE9E,mDAAmD;AACnD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,YAAY;IACZ,QAAQ;IACR,WAAW;IACX,MAAM;CACE,CAAC;AAgDX,MAAM,IAAI,GAAG,YAAoB,CAAC;AAElC,gFAAgF;AAChF,MAAM,UAAU,cAAc;IAC5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oBACL,MAAM,CAAC,MAAM,KAAK,aAAa;wBAC7B,CAAC,CAAC,GAAG,IAAI,CAAC,8BAA8B,CAAC,IAAI,IAAI,CAAC,sCAAsC,CAAC,EAAE;wBAC3F,CAAC,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC,0BAA0B,CAAC,EAAE;iBACvE;aACF,CAAC;QACJ,KAAK,gBAAgB;YACnB,OAAO;gBACL,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC;aACvD,CAAC;QACJ;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC"}
|
package/dist/viewer-build.js
CHANGED
|
@@ -19,7 +19,7 @@ const unreleased = typeof __CAPSULE_VIEWER_UNRELEASED__ === "boolean" &&
|
|
|
19
19
|
__CAPSULE_VIEWER_UNRELEASED__;
|
|
20
20
|
export const VIEWER_BUILD = {
|
|
21
21
|
viewer: "@action-state-group/capsule-viewer",
|
|
22
|
-
viewerVersion: "0.27.
|
|
22
|
+
viewerVersion: "0.27.2",
|
|
23
23
|
verifier: "@action-state-group/agent-action-capsule",
|
|
24
24
|
verifierVersion: "0.16.0",
|
|
25
25
|
cllVersion: "0.4.0",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"hero.unreadable": "This page could not read the answer, so it shows none of it.",
|
|
50
50
|
"hero.deals.one": "{n} deal, newest first",
|
|
51
51
|
"hero.deals.other": "{n} deals, newest first",
|
|
52
|
-
"hero.deals.picked.one": "1 deal {name} picked ·
|
|
53
|
-
"hero.deals.picked.other": "{n} deals {name} picked ·
|
|
52
|
+
"hero.deals.picked.one": "1 deal {name} picked · this side's record, not confirmed outcomes",
|
|
53
|
+
"hero.deals.picked.other": "{n} deals {name} picked · this side's record, not confirmed outcomes",
|
|
54
54
|
"hero.none.deals": "There are no deals in this store yet.",
|
|
55
55
|
"chip.signatures.pass": "Checkpoint signatures check",
|
|
56
56
|
"chip.signatures.pass.all": "Every signature checks",
|
|
@@ -91,8 +91,9 @@
|
|
|
91
91
|
"callout.heading": "What this does not show",
|
|
92
92
|
"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.",
|
|
93
93
|
"callout.checkpoints.time": "The exact time of each exchange. Checkpoint times are rounded to the minute, and each side of an exchange gets its own checkpoint, so two can share a time.",
|
|
94
|
-
"callout.deals": "
|
|
95
|
-
"callout.deals.
|
|
94
|
+
"callout.deals": "Each deal's outcome here is what this side recorded, not a confirmed outcome.",
|
|
95
|
+
"callout.deals.named": "Each deal's outcome here is what {name} recorded, not a confirmed outcome.",
|
|
96
|
+
"callout.deals.picked": "{name} picked these; it isn't every deal. Each outcome is what {name}'s side recorded, not a confirmed outcome.",
|
|
96
97
|
"shares.heading": "What this node shares",
|
|
97
98
|
"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
99
|
"shares.standard.on": "With anyone: the Service History.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@action-state-group/capsule-viewer",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.2",
|
|
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",
|