@substrat-run/engine-protocol 0.11.3 → 0.11.4
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/operations.d.ts +20 -13
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +17 -14
- package/dist/operations.js.map +1 -1
- package/package.json +10 -7
package/dist/operations.d.ts
CHANGED
|
@@ -731,25 +731,32 @@ export declare const protocolOperations: {
|
|
|
731
731
|
}, z.core.$strip>;
|
|
732
732
|
};
|
|
733
733
|
/**
|
|
734
|
-
* The one operation here whose authority cannot be stated as a leading
|
|
735
|
-
* `permission`, and the reason is this engine's defining property.
|
|
736
|
-
*
|
|
737
734
|
* The check is `protocol:read` against the entity the protocols hang on — a
|
|
738
735
|
* work order in Callout, a bike in Handlebar — so the entity's TYPE arrives as
|
|
739
|
-
* data
|
|
740
|
-
*
|
|
741
|
-
*
|
|
736
|
+
* data, and `entity` must name a type known at declaration time.
|
|
737
|
+
*
|
|
738
|
+
* This declared `narrows` until #896, for want of anywhere else to put it, and
|
|
739
|
+
* the note here said what was lost was "the entity type, which was never
|
|
740
|
+
* available to lose". That was true and it was not the whole cost: `narrows`
|
|
741
|
+
* describes a per-row PROOF WALK, and this is one check against one parent
|
|
742
|
+
* before a single query. An operation set is read to find out what is checked
|
|
743
|
+
* where, so a shape that says "asks per row" about an operation that asks once
|
|
744
|
+
* is the artifact being wrong in a quieter way than being incomplete.
|
|
742
745
|
*
|
|
743
|
-
*
|
|
744
|
-
*
|
|
745
|
-
*
|
|
746
|
-
*
|
|
746
|
+
* `entityFrom` (#890) says what actually happens: narrowed to the entity named
|
|
747
|
+
* by these two fields. The conformance kit cannot drive it — the types come
|
|
748
|
+
* from an open `z.string()`, because an engine cannot enumerate its callers'
|
|
749
|
+
* nouns — so it is reported as UNCOVERED with that reason, which is the correct
|
|
750
|
+
* outcome and a louder one than being out of scope. Contrast
|
|
751
|
+
* `engines/absence`, whose subject arrives as a whole `EntityRef` in one field
|
|
752
|
+
* and is therefore drivable through `refFrom`.
|
|
747
753
|
*/
|
|
748
754
|
readonly 'protocol/list-for-entity': {
|
|
749
755
|
readonly summary: "Every protocol on one entity, with its progress and signatures";
|
|
750
|
-
readonly
|
|
751
|
-
readonly
|
|
752
|
-
readonly
|
|
756
|
+
readonly permission: {
|
|
757
|
+
readonly key: "protocol:read";
|
|
758
|
+
readonly entityFrom: "entityType";
|
|
759
|
+
readonly idFrom: "entityId";
|
|
753
760
|
};
|
|
754
761
|
readonly input: z.ZodObject<{
|
|
755
762
|
entityType: z.ZodString;
|
package/dist/operations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAoB,CAAC,EAAE,MAAM,yBAAyB,CAAC;AAqB9D,4EAA4E;AAC5E,eAAO,MAAM,oBAAoB,YAC/B,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,4BAA4B,EAC5B,2BAA2B,EAC3B,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,eAAe,CACP,CAAC;AAKX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+G7B;;;;;;;;;;;;;;;;;;;;OAoBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBH,CAAC"}
|
package/dist/operations.js
CHANGED
|
@@ -155,26 +155,29 @@ export const protocolOperations = defineOperations(protocolEntities, PROTOCOL_PE
|
|
|
155
155
|
output: protocolDetail,
|
|
156
156
|
},
|
|
157
157
|
/**
|
|
158
|
-
* The one operation here whose authority cannot be stated as a leading
|
|
159
|
-
* `permission`, and the reason is this engine's defining property.
|
|
160
|
-
*
|
|
161
158
|
* The check is `protocol:read` against the entity the protocols hang on — a
|
|
162
159
|
* work order in Callout, a bike in Handlebar — so the entity's TYPE arrives as
|
|
163
|
-
* data
|
|
164
|
-
*
|
|
165
|
-
*
|
|
160
|
+
* data, and `entity` must name a type known at declaration time.
|
|
161
|
+
*
|
|
162
|
+
* This declared `narrows` until #896, for want of anywhere else to put it, and
|
|
163
|
+
* the note here said what was lost was "the entity type, which was never
|
|
164
|
+
* available to lose". That was true and it was not the whole cost: `narrows`
|
|
165
|
+
* describes a per-row PROOF WALK, and this is one check against one parent
|
|
166
|
+
* before a single query. An operation set is read to find out what is checked
|
|
167
|
+
* where, so a shape that says "asks per row" about an operation that asks once
|
|
168
|
+
* is the artifact being wrong in a quieter way than being incomplete.
|
|
166
169
|
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
170
|
+
* `entityFrom` (#890) says what actually happens: narrowed to the entity named
|
|
171
|
+
* by these two fields. The conformance kit cannot drive it — the types come
|
|
172
|
+
* from an open `z.string()`, because an engine cannot enumerate its callers'
|
|
173
|
+
* nouns — so it is reported as UNCOVERED with that reason, which is the correct
|
|
174
|
+
* outcome and a louder one than being out of scope. Contrast
|
|
175
|
+
* `engines/absence`, whose subject arrives as a whole `EntityRef` in one field
|
|
176
|
+
* and is therefore drivable through `refFrom`.
|
|
171
177
|
*/
|
|
172
178
|
'protocol/list-for-entity': {
|
|
173
179
|
summary: 'Every protocol on one entity, with its progress and signatures',
|
|
174
|
-
|
|
175
|
-
reason: 'checked against the entity the protocols hang on, whose type is the caller’s',
|
|
176
|
-
checks: ['protocol:read'],
|
|
177
|
-
},
|
|
180
|
+
permission: { key: 'protocol:read', entityFrom: 'entityType', idFrom: 'entityId' },
|
|
178
181
|
input: z.object({ entityType: z.string().min(1), entityId: z.string().min(1) }),
|
|
179
182
|
output: protocolSummary,
|
|
180
183
|
// `id` first: a ULID is creation-ordered, which is the append order this read
|
package/dist/operations.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,gBAAgB,EAAE,CAAC,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EACL,iBAAiB,EACjB,4BAA4B,EAC5B,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,2BAA2B,EAC3B,eAAe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EAAE;QAClF,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/E,MAAM,EAAE,eAAe;QACvB,8EAA8E;QAC9E,4EAA4E;QAC5E,+CAA+C;QAC/C,KAAK,EAAE;YACL,IAAI,EAAE;gBACJ,MAAM,EAAE,UAAU;gBAClB,QAAQ,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,YAAY,CAAC;gBACxC,UAAU,EAAE,CAAC,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,CAAC;aACnE;SACF;KACF;CACF,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@substrat-run/engine-protocol",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.4",
|
|
4
4
|
"description": "Substrat engine: protocols, checklists and signed documents with the freeze → immutable invariant — versioned templates, append-only responses, verifiable content hash, counter-signatures on frozen content, and asynchronous multi-party signatures by external (non-principal) signatories",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -25,21 +25,24 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@substrat-run/contracts": "^0.
|
|
29
|
-
"@substrat-run/kernel": "^0.
|
|
28
|
+
"@substrat-run/contracts": "^0.88.0",
|
|
29
|
+
"@substrat-run/kernel": "^0.88.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"typescript": "^7.0.0",
|
|
33
33
|
"vitest": "^3.2.7",
|
|
34
34
|
"zod": "^4.4.3",
|
|
35
|
-
"@substrat-run/
|
|
36
|
-
"@substrat-run/
|
|
37
|
-
"@substrat-run/
|
|
38
|
-
"@substrat-run/
|
|
35
|
+
"@substrat-run/contract-tests": "^0.88.0",
|
|
36
|
+
"@substrat-run/adapter-sqlite": "^0.88.0",
|
|
37
|
+
"@substrat-run/engine-test-kit": "^0.3.15",
|
|
38
|
+
"@substrat-run/model-emit": "0.8.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"zod": "^4.4.0"
|
|
42
42
|
},
|
|
43
|
+
"substrat": {
|
|
44
|
+
"conformance": "test/conformance.ts"
|
|
45
|
+
},
|
|
43
46
|
"scripts": {
|
|
44
47
|
"build": "tsc -p tsconfig.json",
|
|
45
48
|
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
|