@decionis/agent-safe-pipeline 0.4.1 → 0.5.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 +10 -0
- package/dist/Index.d.ts +6 -0
- package/dist/Index.d.ts.map +1 -1
- package/dist/Index.js +6 -0
- package/dist/Index.js.map +1 -1
- package/dist/execution/ActionRegistry.d.ts +12 -0
- package/dist/execution/ActionRegistry.d.ts.map +1 -1
- package/dist/execution/ActionRegistry.js +14 -0
- package/dist/execution/ActionRegistry.js.map +1 -1
- package/dist/execution/GovernedExecutionRunner.d.ts +8 -0
- package/dist/execution/GovernedExecutionRunner.d.ts.map +1 -1
- package/dist/execution/GovernedExecutionRunner.js +28 -0
- package/dist/execution/GovernedExecutionRunner.js.map +1 -1
- package/dist/execution/NativeExecutor.d.ts +13 -0
- package/dist/execution/NativeExecutor.d.ts.map +1 -1
- package/dist/execution/NativeExecutor.js.map +1 -1
- package/dist/intent/ExecutionIntent.d.ts +11 -0
- package/dist/intent/ExecutionIntent.d.ts.map +1 -1
- package/dist/intent/ExecutionIntent.js +15 -0
- package/dist/intent/ExecutionIntent.js.map +1 -1
- package/dist/intent/ExecutionSignals.d.ts +9 -1
- package/dist/intent/ExecutionSignals.d.ts.map +1 -1
- package/dist/intent/ExecutionSignals.js +9 -0
- package/dist/intent/ExecutionSignals.js.map +1 -1
- package/dist/intent/IntentCapture.d.ts.map +1 -1
- package/dist/intent/IntentCapture.js +15 -4
- package/dist/intent/IntentCapture.js.map +1 -1
- package/dist/intent/TargetPrecondition.d.ts +36 -0
- package/dist/intent/TargetPrecondition.d.ts.map +1 -0
- package/dist/intent/TargetPrecondition.js +57 -0
- package/dist/intent/TargetPrecondition.js.map +1 -0
- package/dist/manifest/ActionManifest.d.ts +112 -0
- package/dist/manifest/ActionManifest.d.ts.map +1 -0
- package/dist/manifest/ActionManifest.js +182 -0
- package/dist/manifest/ActionManifest.js.map +1 -0
- package/dist/plan/GovernedPlan.d.ts +109 -0
- package/dist/plan/GovernedPlan.d.ts.map +1 -0
- package/dist/plan/GovernedPlan.js +187 -0
- package/dist/plan/GovernedPlan.js.map +1 -0
- package/dist/plan/PlanState.d.ts +94 -0
- package/dist/plan/PlanState.d.ts.map +1 -0
- package/dist/plan/PlanState.js +240 -0
- package/dist/plan/PlanState.js.map +1 -0
- package/dist/plan/PlanStepReference.d.ts +16 -0
- package/dist/plan/PlanStepReference.d.ts.map +1 -0
- package/dist/plan/PlanStepReference.js +25 -0
- package/dist/plan/PlanStepReference.js.map +1 -0
- package/dist/profile/ApiProfile.d.ts +202 -2
- package/dist/profile/ApiProfile.d.ts.map +1 -1
- package/dist/profile/ApiProfile.js +397 -11
- package/dist/profile/ApiProfile.js.map +1 -1
- package/dist/profile/BuiltInApiProfiles.d.ts.map +1 -1
- package/dist/profile/BuiltInApiProfiles.js +199 -1
- package/dist/profile/BuiltInApiProfiles.js.map +1 -1
- package/dist/profile/McpToolProfile.d.ts +129 -0
- package/dist/profile/McpToolProfile.d.ts.map +1 -0
- package/dist/profile/McpToolProfile.js +270 -0
- package/dist/profile/McpToolProfile.js.map +1 -0
- package/dist/testing/Index.d.ts +3 -1
- package/dist/testing/Index.d.ts.map +1 -1
- package/dist/testing/Index.js +2 -0
- package/dist/testing/Index.js.map +1 -1
- package/dist/testing/LocalAssumptionBreaches.d.ts +96 -0
- package/dist/testing/LocalAssumptionBreaches.d.ts.map +1 -0
- package/dist/testing/LocalAssumptionBreaches.js +109 -0
- package/dist/testing/LocalAssumptionBreaches.js.map +1 -0
- package/dist/testing/LocalAuthority.d.ts +152 -5
- package/dist/testing/LocalAuthority.d.ts.map +1 -1
- package/dist/testing/LocalAuthority.js +294 -18
- package/dist/testing/LocalAuthority.js.map +1 -1
- package/dist/testing/LocalPlans.d.ts +43 -0
- package/dist/testing/LocalPlans.d.ts.map +1 -0
- package/dist/testing/LocalPlans.js +124 -0
- package/dist/testing/LocalPlans.js.map +1 -0
- package/package.json +2 -2
|
@@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AAC,MAAM,KAAK,IAAI,CAAC,CAAC;IAC7D,KAAK,MAAM,aAAa,IAAI,eAAe,EAAE,CAAC;QAC5C,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,aAAa,KAAK,aAAa,CAAC,CAAC;QAC/E,IAAI,KAAK,KAAK,SAAS;YAAE,OAAO,KAAK,CAAC;IACxC,CAAC;IACD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,IAAI,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YAC1D,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,EAAE,yBAAyB,EAAE,CAAC;QAC5E,CAAC;QACD,OAAO,IAAI,CAAC,cAAc,CAAC,SAAS,KAAK,UAAU;YACjD,CAAC,CAAC,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,EAAE,uBAAuB,EAAE;YAChE,CAAC,CAAC,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,EAAE,oBAAoB,EAAE,CAAC;IACtE,CAAC;IACD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;AACpE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* The reference the trusted executor stamps into a plan step's intent. It
|
|
4
|
+
* lives apart from the plan so that the intent schema can name it without
|
|
5
|
+
* importing the canonicalizer the plan's digest needs.
|
|
6
|
+
*/
|
|
7
|
+
export declare const PlanIdSchema: z.ZodString;
|
|
8
|
+
export declare const PlanStepIdSchema: z.ZodString;
|
|
9
|
+
/** Which step of which plan an intent is, as the trusted executor states it. */
|
|
10
|
+
export declare const PlanStepReferenceSchema: z.ZodObject<{
|
|
11
|
+
plan_id: z.ZodString;
|
|
12
|
+
plan_digest: z.ZodString;
|
|
13
|
+
step_id: z.ZodString;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
export type PlanStepReference = z.infer<typeof PlanStepReferenceSchema>;
|
|
16
|
+
//# sourceMappingURL=PlanStepReference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStepReference.d.ts","sourceRoot":"","sources":["../../src/plan/PlanStepReference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,YAAY,aAIK,CAAC;AAC/B,eAAO,MAAM,gBAAgB,aAIC,CAAC;AAE/B,gFAAgF;AAChF,eAAO,MAAM,uBAAuB;;;;kBAMzB,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* The reference the trusted executor stamps into a plan step's intent. It
|
|
4
|
+
* lives apart from the plan so that the intent schema can name it without
|
|
5
|
+
* importing the canonicalizer the plan's digest needs.
|
|
6
|
+
*/
|
|
7
|
+
export const PlanIdSchema = z
|
|
8
|
+
.string()
|
|
9
|
+
.min(1)
|
|
10
|
+
.max(128)
|
|
11
|
+
.regex(/^[a-z0-9][\w.-]*$/i);
|
|
12
|
+
export const PlanStepIdSchema = z
|
|
13
|
+
.string()
|
|
14
|
+
.min(1)
|
|
15
|
+
.max(64)
|
|
16
|
+
.regex(/^[a-z][a-z0-9_-]*$/);
|
|
17
|
+
/** Which step of which plan an intent is, as the trusted executor states it. */
|
|
18
|
+
export const PlanStepReferenceSchema = z
|
|
19
|
+
.object({
|
|
20
|
+
plan_id: PlanIdSchema,
|
|
21
|
+
plan_digest: z.string().regex(/^sha256:[0-9a-f]{64}$/),
|
|
22
|
+
step_id: PlanStepIdSchema,
|
|
23
|
+
})
|
|
24
|
+
.strict();
|
|
25
|
+
//# sourceMappingURL=PlanStepReference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStepReference.js","sourceRoot":"","sources":["../../src/plan/PlanStepReference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC;KAC1B,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,GAAG,CAAC;KACR,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAC/B,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,EAAE,CAAC;KACP,KAAK,CAAC,oBAAoB,CAAC,CAAC;AAE/B,gFAAgF;AAChF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,uBAAuB,CAAC;IACtD,OAAO,EAAE,gBAAgB;CAC1B,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { JsonObject, JsonValue } from "../intent/JsonValue.js";
|
|
3
|
+
import { type TargetPrecondition } from "../intent/TargetPrecondition.js";
|
|
3
4
|
/**
|
|
4
5
|
* `agent-safe.profile.api/1`: a platform API described as data, so that every
|
|
5
6
|
* component that turns one of its calls into an intent turns it into the same
|
|
@@ -8,12 +9,25 @@ import type { JsonObject, JsonValue } from "../intent/JsonValue.js";
|
|
|
8
9
|
* by JSON pointer into the call. The gateway reads it to govern an agent's
|
|
9
10
|
* call; a native executor's `prepare` reads it to describe the call it is
|
|
10
11
|
* about to make. One mapping, no code coupling between them.
|
|
12
|
+
*
|
|
13
|
+
* An operation may also say where the subject sits (the customer a call is
|
|
14
|
+
* for): in the call, and, for a read, in each item of its answer. A component
|
|
15
|
+
* that pins a session to one subject checks a read against it, and states the
|
|
16
|
+
* subject to the authority for a write. A read is an operation only for that:
|
|
17
|
+
* it is checked, never decided.
|
|
18
|
+
*
|
|
19
|
+
* A write may also name the read that states its target's version (an ETag,
|
|
20
|
+
* a row version), and where that read's answer states it: a component that
|
|
21
|
+
* binds the target's state reads it once before the authority is asked, and
|
|
22
|
+
* the version rides into the intent as its precondition.
|
|
11
23
|
*/
|
|
12
24
|
export declare const API_PROFILE_CONTRACT = "agent-safe.profile.api/1";
|
|
13
25
|
export declare const API_PROFILE_SCHEMA_ID = "https://github.com/decionis/agent-safe-pipeline/blob/master/spec/profiles/api/v1/schema.json";
|
|
14
|
-
/** The methods a profile governs
|
|
26
|
+
/** The methods a profile governs: each operation of one is decided by the authority. */
|
|
15
27
|
export declare const API_PROFILE_METHODS: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
16
28
|
export type ApiProfileMethod = (typeof API_PROFILE_METHODS)[number];
|
|
29
|
+
/** The one read method an operation may name: checked for its subject, never decided. */
|
|
30
|
+
export declare const API_PROFILE_READ_METHOD = "GET";
|
|
17
31
|
/**
|
|
18
32
|
* Fact names a profile may not use. The first group is what the gateway
|
|
19
33
|
* already states in an intent's context; the second is what the Decionis
|
|
@@ -25,16 +39,55 @@ export declare const RESERVED_FACT_NAMES: readonly string[];
|
|
|
25
39
|
export declare const MAX_FACT_ELEMENTS = 100;
|
|
26
40
|
/** The longest string a fact carries; a longer value is not stated. */
|
|
27
41
|
export declare const MAX_FACT_STRING = 1000;
|
|
42
|
+
/** The longest subject: an identifier, never a payload. */
|
|
43
|
+
export declare const MAX_SUBJECT_LENGTH = 200;
|
|
28
44
|
export declare const ApiPolicyProjectionSchema: z.ZodObject<{
|
|
29
45
|
decision_type: z.ZodString;
|
|
30
46
|
transaction_type: z.ZodNullable<z.ZodString>;
|
|
31
47
|
workflow_key: z.ZodNullable<z.ZodString>;
|
|
32
48
|
channel: z.ZodNullable<z.ZodString>;
|
|
33
49
|
}, z.core.$strict>;
|
|
50
|
+
/**
|
|
51
|
+
* Where an operation's subject sits, and what else a call or an answer may
|
|
52
|
+
* carry around it:
|
|
53
|
+
*
|
|
54
|
+
* - `request`, a pointer into the call like a fact's, with no `*`;
|
|
55
|
+
* - `response`, a pointer into a successful answer's JSON body, where one `*`
|
|
56
|
+
* reaches every item of a list;
|
|
57
|
+
* - `query`, for a read, the one query parameter that must state the subject,
|
|
58
|
+
* exactly as `template` writes it with `{subject}` in place of the
|
|
59
|
+
* session's subject (`customerNumber eq '{subject}'`);
|
|
60
|
+
* - `parameters`, for a read, every other query parameter it may carry;
|
|
61
|
+
* - `envelope`, beside a `response` pointer through `*`, the keys the object
|
|
62
|
+
* holding the list may carry besides the list.
|
|
63
|
+
*/
|
|
64
|
+
export declare const ApiSubjectSchema: z.ZodObject<{
|
|
65
|
+
request: z.ZodOptional<z.ZodString>;
|
|
66
|
+
response: z.ZodOptional<z.ZodString>;
|
|
67
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
name: z.ZodString;
|
|
69
|
+
template: z.ZodString;
|
|
70
|
+
}, z.core.$strict>>;
|
|
71
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
|
+
envelope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
/**
|
|
75
|
+
* Where a write's target states its version: `read`, a read in the same
|
|
76
|
+
* profile whose path placeholders the write's path also has, so the read can
|
|
77
|
+
* be made from the write's own call; `version`, a pointer into the read's
|
|
78
|
+
* answer, `{ body, headers }`, with no `*`; and `state`, where the same answer
|
|
79
|
+
* states the target's state, when a transition rule reads one.
|
|
80
|
+
*/
|
|
81
|
+
export declare const ApiPreconditionSchema: z.ZodObject<{
|
|
82
|
+
read: z.ZodString;
|
|
83
|
+
version: z.ZodString;
|
|
84
|
+
state: z.ZodOptional<z.ZodString>;
|
|
85
|
+
}, z.core.$strict>;
|
|
34
86
|
export declare const ApiOperationSchema: z.ZodObject<{
|
|
35
87
|
id: z.ZodString;
|
|
36
88
|
method: z.ZodEnum<{
|
|
37
89
|
POST: "POST";
|
|
90
|
+
GET: "GET";
|
|
38
91
|
PUT: "PUT";
|
|
39
92
|
PATCH: "PATCH";
|
|
40
93
|
DELETE: "DELETE";
|
|
@@ -50,6 +103,21 @@ export declare const ApiOperationSchema: z.ZodObject<{
|
|
|
50
103
|
workflow_key: z.ZodNullable<z.ZodString>;
|
|
51
104
|
channel: z.ZodNullable<z.ZodString>;
|
|
52
105
|
}, z.core.$strict>>;
|
|
106
|
+
subject: z.ZodOptional<z.ZodObject<{
|
|
107
|
+
request: z.ZodOptional<z.ZodString>;
|
|
108
|
+
response: z.ZodOptional<z.ZodString>;
|
|
109
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
name: z.ZodString;
|
|
111
|
+
template: z.ZodString;
|
|
112
|
+
}, z.core.$strict>>;
|
|
113
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
114
|
+
envelope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
115
|
+
}, z.core.$strict>>;
|
|
116
|
+
precondition: z.ZodOptional<z.ZodObject<{
|
|
117
|
+
read: z.ZodString;
|
|
118
|
+
version: z.ZodString;
|
|
119
|
+
state: z.ZodOptional<z.ZodString>;
|
|
120
|
+
}, z.core.$strict>>;
|
|
53
121
|
}, z.core.$strict>;
|
|
54
122
|
export declare const ApiProfileDefinitionSchema: z.ZodObject<{
|
|
55
123
|
profile: z.ZodLiteral<"agent-safe.profile.api/1">;
|
|
@@ -61,6 +129,7 @@ export declare const ApiProfileDefinitionSchema: z.ZodObject<{
|
|
|
61
129
|
id: z.ZodString;
|
|
62
130
|
method: z.ZodEnum<{
|
|
63
131
|
POST: "POST";
|
|
132
|
+
GET: "GET";
|
|
64
133
|
PUT: "PUT";
|
|
65
134
|
PATCH: "PATCH";
|
|
66
135
|
DELETE: "DELETE";
|
|
@@ -76,9 +145,26 @@ export declare const ApiProfileDefinitionSchema: z.ZodObject<{
|
|
|
76
145
|
workflow_key: z.ZodNullable<z.ZodString>;
|
|
77
146
|
channel: z.ZodNullable<z.ZodString>;
|
|
78
147
|
}, z.core.$strict>>;
|
|
148
|
+
subject: z.ZodOptional<z.ZodObject<{
|
|
149
|
+
request: z.ZodOptional<z.ZodString>;
|
|
150
|
+
response: z.ZodOptional<z.ZodString>;
|
|
151
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
152
|
+
name: z.ZodString;
|
|
153
|
+
template: z.ZodString;
|
|
154
|
+
}, z.core.$strict>>;
|
|
155
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
156
|
+
envelope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
157
|
+
}, z.core.$strict>>;
|
|
158
|
+
precondition: z.ZodOptional<z.ZodObject<{
|
|
159
|
+
read: z.ZodString;
|
|
160
|
+
version: z.ZodString;
|
|
161
|
+
state: z.ZodOptional<z.ZodString>;
|
|
162
|
+
}, z.core.$strict>>;
|
|
79
163
|
}, z.core.$strict>>;
|
|
80
164
|
}, z.core.$strict>;
|
|
81
165
|
export type ApiPolicyProjection = z.infer<typeof ApiPolicyProjectionSchema>;
|
|
166
|
+
export type ApiSubject = z.infer<typeof ApiSubjectSchema>;
|
|
167
|
+
export type ApiPrecondition = z.infer<typeof ApiPreconditionSchema>;
|
|
82
168
|
export type ApiOperationDefinition = z.infer<typeof ApiOperationSchema>;
|
|
83
169
|
export type ApiProfileDefinition = z.infer<typeof ApiProfileDefinitionSchema>;
|
|
84
170
|
/** One call as a component is about to make it, or as the gateway received it. */
|
|
@@ -92,6 +178,15 @@ export interface ApiRequest {
|
|
|
92
178
|
/** The parsed JSON body, when there is one. */
|
|
93
179
|
readonly body?: JsonValue;
|
|
94
180
|
}
|
|
181
|
+
/** A read's answer, as a component that binds a precondition received it. */
|
|
182
|
+
export interface ApiAnswer {
|
|
183
|
+
/** Header names in lower case. */
|
|
184
|
+
readonly headers: {
|
|
185
|
+
readonly [name: string]: string;
|
|
186
|
+
};
|
|
187
|
+
/** The parsed JSON body, when there is one. */
|
|
188
|
+
readonly body?: JsonValue;
|
|
189
|
+
}
|
|
95
190
|
/** What a profile says about one call. */
|
|
96
191
|
export interface ApiProfileMatch {
|
|
97
192
|
readonly profile: string;
|
|
@@ -100,7 +195,19 @@ export interface ApiProfileMatch {
|
|
|
100
195
|
/** Every fact whose pointer resolved to a statable value; the others are absent. */
|
|
101
196
|
readonly facts: JsonObject;
|
|
102
197
|
readonly policyProjection: ApiPolicyProjection | null;
|
|
198
|
+
/**
|
|
199
|
+
* The call's subject, when the operation names where it sits in the call:
|
|
200
|
+
* a string or a finite number, as a string; null when the pointer found
|
|
201
|
+
* neither. Absent when the operation names no request subject.
|
|
202
|
+
*/
|
|
203
|
+
readonly subject?: string | null;
|
|
103
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* A subject check's answer. `MATCH` is the only one that lets a call or an
|
|
207
|
+
* answer through; every other is a refusal, and each says why without saying
|
|
208
|
+
* whose record it was.
|
|
209
|
+
*/
|
|
210
|
+
export type ApiSubjectCheck = "MATCH" | "SUBJECT_ABSENT" | "SUBJECT_MISMATCH" | "QUERY_PARAMETER_REFUSED" | "RESPONSE_UNREADABLE" | "RESPONSE_KEY_REFUSED" | "RESPONSE_SUBJECT_ABSENT" | "RESPONSE_SUBJECT_MISMATCH";
|
|
104
211
|
export declare class ApiProfileError extends Error {
|
|
105
212
|
readonly code: "API_PROFILE_INVALID";
|
|
106
213
|
readonly detail: string;
|
|
@@ -120,16 +227,89 @@ export declare class ApiProfile {
|
|
|
120
227
|
static parse(value: unknown): ApiProfile;
|
|
121
228
|
get id(): string;
|
|
122
229
|
get platform(): string;
|
|
123
|
-
/**
|
|
230
|
+
/**
|
|
231
|
+
* Every action type the profile's writes can produce, for a registry to be
|
|
232
|
+
* sealed over. A read's action names it in reports; it is never an intent.
|
|
233
|
+
*/
|
|
124
234
|
actions(): readonly string[];
|
|
235
|
+
/** Whether an operation is a read: checked for its subject, never decided. */
|
|
236
|
+
static isRead(operation: ApiOperationDefinition): boolean;
|
|
237
|
+
/**
|
|
238
|
+
* A call against the session's subject, before it is sent: `MATCH`, or why
|
|
239
|
+
* not. A read that names the query parameters it may carry carries no
|
|
240
|
+
* other (`QUERY_PARAMETER_REFUSED`); a read that names its subject query
|
|
241
|
+
* states the session's subject there and nothing else, so a list can be
|
|
242
|
+
* asked only for the session's own records; and the subject at the
|
|
243
|
+
* operation's request pointer is the session's.
|
|
244
|
+
*/
|
|
245
|
+
checkRequest(match: ApiProfileMatch, query: NonNullable<ApiRequest["query"]>, subject: string): ApiSubjectCheck;
|
|
246
|
+
/**
|
|
247
|
+
* A subject query parameter against its template: absent is
|
|
248
|
+
* `SUBJECT_ABSENT`; given twice, or anything but the template with one
|
|
249
|
+
* literal in place of `{subject}`, is `QUERY_PARAMETER_REFUSED`, which is
|
|
250
|
+
* what a second predicate beside the subject's is; a literal naming
|
|
251
|
+
* another subject is `SUBJECT_MISMATCH`. A `'` inside the literal is
|
|
252
|
+
* written doubled, as an OData string literal writes it; a single one ends
|
|
253
|
+
* the literal, so it refuses the call.
|
|
254
|
+
*/
|
|
255
|
+
private static checkQuery;
|
|
256
|
+
/**
|
|
257
|
+
* A successful answer, to a read or a write, against the session's
|
|
258
|
+
* subject, before any of it is relayed: every item the operation's response
|
|
259
|
+
* pointer reaches must name the subject. One item naming another is
|
|
260
|
+
* `RESPONSE_SUBJECT_MISMATCH`, one naming none `RESPONSE_SUBJECT_ABSENT`,
|
|
261
|
+
* and an answer the pointer cannot be walked into (not JSON, or no list
|
|
262
|
+
* where the `*` stands) `RESPONSE_UNREADABLE`. Beside a list, the object
|
|
263
|
+
* that holds it may carry only the keys the operation's `envelope` names,
|
|
264
|
+
* so a count or a summary about other subjects is `RESPONSE_KEY_REFUSED`.
|
|
265
|
+
* Nothing is filtered: a partial answer would look complete. An empty list
|
|
266
|
+
* names no one and matches. Null when the operation names no response
|
|
267
|
+
* subject, so there is nothing to check.
|
|
268
|
+
*/
|
|
269
|
+
checkResponse(operationId: string, body: JsonValue | undefined, subject: string): ApiSubjectCheck | null;
|
|
125
270
|
operation(id: string): ApiOperationDefinition | null;
|
|
126
271
|
/**
|
|
127
272
|
* The operation a method, path and query select, before any body is read:
|
|
128
273
|
* what the gateway needs to decide whether to govern a call.
|
|
129
274
|
*/
|
|
130
275
|
operationFor(method: string, path: string, query?: ApiRequest["query"]): ApiOperationDefinition | null;
|
|
276
|
+
/**
|
|
277
|
+
* Whether a call reads like one of this method's operations without
|
|
278
|
+
* matching it exactly: its path in another letter case, or with a literal
|
|
279
|
+
* percent-encoded. An upstream that folds case or decodes before it routes
|
|
280
|
+
* would serve it as that operation, so a component that checks reads
|
|
281
|
+
* refuses it rather than let it through unchecked. A path that does not
|
|
282
|
+
* decode resembles everything.
|
|
283
|
+
*/
|
|
284
|
+
resembles(method: string, path: string): boolean;
|
|
285
|
+
/**
|
|
286
|
+
* Whether a call's path goes on below one of this method's operations
|
|
287
|
+
* without being an operation itself, in any letter case: a count
|
|
288
|
+
* (`/customers/$count`), a navigation or a media stream beneath a record.
|
|
289
|
+
* What it answers is not what the operation's subject rule checks, so a
|
|
290
|
+
* component that checks reads refuses it.
|
|
291
|
+
*/
|
|
292
|
+
beneath(method: string, path: string): boolean;
|
|
131
293
|
/** The operation, action type, facts and policy projection of one call; null when no operation matches. */
|
|
132
294
|
match(request: ApiRequest): ApiProfileMatch | null;
|
|
295
|
+
/**
|
|
296
|
+
* The read a write's precondition names, as the call to make: `GET`, the
|
|
297
|
+
* read's path under the prefix the write matched, each placeholder filled
|
|
298
|
+
* with the write's own text for it, exactly as the write's call wrote it.
|
|
299
|
+
* Null when the call matches no write, or its operation names no
|
|
300
|
+
* precondition. The component makes the read; the profile makes no call.
|
|
301
|
+
*/
|
|
302
|
+
stateRead(request: ApiRequest): ApiRequest | null;
|
|
303
|
+
/**
|
|
304
|
+
* The precondition a write's read answered: the version at the operation's
|
|
305
|
+
* pointer, a string or a finite number as a string, within the
|
|
306
|
+
* precondition's bounds; the state beside it when the operation names
|
|
307
|
+
* where; which read said so, as `<profile>#<read>`; and when. Null when the
|
|
308
|
+
* operation names no precondition, or the answer states no usable version:
|
|
309
|
+
* a component that binds the target's state refuses then, rather than bind
|
|
310
|
+
* none. A state the answer does not state is left out.
|
|
311
|
+
*/
|
|
312
|
+
precondition(operationId: string, answer: ApiAnswer, readAt: Date): TargetPrecondition | null;
|
|
133
313
|
private select;
|
|
134
314
|
/** A template as an anchored expression: placeholders take one segment's text, never a `/`. */
|
|
135
315
|
private static compile;
|
|
@@ -138,6 +318,26 @@ export declare class ApiProfile {
|
|
|
138
318
|
private static decode;
|
|
139
319
|
private static queryMatches;
|
|
140
320
|
private static queryRoot;
|
|
321
|
+
/**
|
|
322
|
+
* What a definition must also be about subjects: a subject names where it
|
|
323
|
+
* sits, in the call, its query or its answer; a read names one and states
|
|
324
|
+
* no fact or policy path, since it is never decided; only a read names a
|
|
325
|
+
* subject query or the parameters it may carry; a request subject is one
|
|
326
|
+
* value, so its pointer has no `*`; a subject query's template states the
|
|
327
|
+
* subject once; an envelope stands beside a list.
|
|
328
|
+
*/
|
|
329
|
+
private static subjectRules;
|
|
330
|
+
/**
|
|
331
|
+
* What a precondition must be: a write's, naming a read in the same
|
|
332
|
+
* profile, whose path placeholders the write's path all has, so the read
|
|
333
|
+
* is made from the write's own call; and pointers through no `*`, since a
|
|
334
|
+
* version is one value.
|
|
335
|
+
*/
|
|
336
|
+
private static preconditionRules;
|
|
337
|
+
/** A subject as stated: a string or a finite number, as a string, within the bound; else null. */
|
|
338
|
+
private static subjectOf;
|
|
339
|
+
/** Each element's value through a `*`; null when there is no list where the `*` stands. */
|
|
340
|
+
private static walkList;
|
|
141
341
|
/** RFC 6901 reference tokens, unescaped; one `*` token at most. */
|
|
142
342
|
private static pointerSegments;
|
|
143
343
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiProfile.d.ts","sourceRoot":"","sources":["../../src/profile/ApiProfile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,UAAU,EAAiB,SAAS,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ApiProfile.d.ts","sourceRoot":"","sources":["../../src/profile/ApiProfile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,UAAU,EAAiB,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnF,OAAO,EAA4B,KAAK,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAEpG;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAE/D,eAAO,MAAM,qBAAqB,iGAC8D,CAAC;AAEjG,wFAAwF;AACxF,eAAO,MAAM,mBAAmB,6CAA8C,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AACpE,yFAAyF;AACzF,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAqChD,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,iBAAiB,MAAM,CAAC;AACrC,uEAAuE;AACvE,eAAO,MAAM,eAAe,OAAO,CAAC;AACpC,2DAA2D;AAC3D,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAYtC,eAAO,MAAM,yBAAyB;;;;;kBAKpC,CAAC;AAKH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;kBAW3B,CAAC;AAOH;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;kBAIhC,CAAC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