@rubric-protocol/evidence 1.0.0 → 1.0.1
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/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/dist/ports.d.ts +1 -1
- package/dist/ports.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/bundle.ts +2 -2
- package/src/ports.ts +1 -1
package/dist/bundle.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Assemble an evidence bundle (tasks/P5.md): DARs + proofs + anchor refs for an
|
|
3
|
-
* agent over a ts range, a continuity report (reusing @rubric-protocol/verify chainCheck,
|
|
3
|
+
* agent over a ts range, a continuity report (reusing @rubric-protocol/decision-verify chainCheck,
|
|
4
4
|
* so forks render as branches and gaps as gaps), and a schema-change log.
|
|
5
5
|
*/
|
|
6
|
-
import { chainCheck } from "@rubric-protocol/verify";
|
|
6
|
+
import { chainCheck } from "@rubric-protocol/decision-verify";
|
|
7
7
|
/** Consecutive-run epochs of schemaHash across ordered rows. */
|
|
8
8
|
export function buildSchemaChangeLog(rows) {
|
|
9
9
|
const log = [];
|
package/dist/bundle.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle.js","sourceRoot":"","sources":["../src/bundle.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"bundle.js","sourceRoot":"","sources":["../src/bundle.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAU9D,gEAAgE;AAChE,MAAM,UAAU,oBAAoB,CAAC,IAAgB;IACnD,MAAM,GAAG,GAAkB,EAAE,CAAC;IAC9B,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;QACrB,MAAM,IAAI,GAAG,GAAG,CAAC,GAAG,CAAC,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AAI,CAAC,KAAK,EAAE,IAAI,CAAC;QACxC,eAAe,EAAE,oBAAoB,CAAC,IAAI,CAAC;KAC5C,CAAC;AACJ,CAAC"}
|
package/dist/ports.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* these, so tests inject mocks and the CLI injects real adapters that read the
|
|
4
4
|
* SQLite index shards + bundle-store files offline.
|
|
5
5
|
*/
|
|
6
|
-
import type { IndexRow, StorePort, VerifiableBundle, ContinuityReport } from "@rubric-protocol/verify";
|
|
6
|
+
import type { IndexRow, StorePort, VerifiableBundle, ContinuityReport } from "@rubric-protocol/decision-verify";
|
|
7
7
|
export type { IndexRow, StorePort, VerifiableBundle, ContinuityReport };
|
|
8
8
|
/** Index reader: an agent's rows within a ts range, ordered (ts, decisionId). */
|
|
9
9
|
export interface EvidenceIndex {
|
package/dist/ports.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../src/ports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../src/ports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEhH,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;AAExE,iFAAiF;AACjF,MAAM,WAAW,aAAa;IAC5B,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,QAAQ,EAAE,CAAC;IACxE,KAAK,CAAC,IAAI,IAAI,CAAC;CAChB;AAED,kFAAkF;AAClF,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAEhD,2EAA2E;AAC3E,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,qBAAqB,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,UAAU,EAAE,gBAAgB,CAAC;IAC7B,eAAe,EAAE,WAAW,EAAE,CAAC;CAChC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rubric-protocol/evidence",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Rubric evidence export CLI: offline evidence bundles from index shards + bundle store",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"test": "vitest run"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@rubric-protocol/attest-decision": "^1.0.
|
|
33
|
-
"@rubric-protocol/attest-index": "^1.0.
|
|
34
|
-
"@rubric-protocol/verify": "^1.0.
|
|
32
|
+
"@rubric-protocol/attest-decision": "^1.0.1",
|
|
33
|
+
"@rubric-protocol/attest-index": "^1.0.1",
|
|
34
|
+
"@rubric-protocol/decision-verify": "^1.0.1"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/src/bundle.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Assemble an evidence bundle (tasks/P5.md): DARs + proofs + anchor refs for an
|
|
3
|
-
* agent over a ts range, a continuity report (reusing @rubric-protocol/verify chainCheck,
|
|
3
|
+
* agent over a ts range, a continuity report (reusing @rubric-protocol/decision-verify chainCheck,
|
|
4
4
|
* so forks render as branches and gaps as gaps), and a schema-change log.
|
|
5
5
|
*/
|
|
6
|
-
import { chainCheck } from "@rubric-protocol/verify";
|
|
6
|
+
import { chainCheck } from "@rubric-protocol/decision-verify";
|
|
7
7
|
import type {
|
|
8
8
|
DecisionEvidence,
|
|
9
9
|
EvidenceBundle,
|
package/src/ports.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* these, so tests inject mocks and the CLI injects real adapters that read the
|
|
4
4
|
* SQLite index shards + bundle-store files offline.
|
|
5
5
|
*/
|
|
6
|
-
import type { IndexRow, StorePort, VerifiableBundle, ContinuityReport } from "@rubric-protocol/verify";
|
|
6
|
+
import type { IndexRow, StorePort, VerifiableBundle, ContinuityReport } from "@rubric-protocol/decision-verify";
|
|
7
7
|
|
|
8
8
|
export type { IndexRow, StorePort, VerifiableBundle, ContinuityReport };
|
|
9
9
|
|