@nextera.one/axis-server-sdk 2.0.0 → 2.1.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 +52 -7
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +244 -6
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +238 -8
- package/dist/core/index.mjs.map +1 -1
- package/dist/index-1uEwnW-w.d.mts +122 -0
- package/dist/index-1uEwnW-w.d.ts +122 -0
- package/dist/index.d.mts +763 -1299
- package/dist/index.d.ts +763 -1299
- package/dist/index.js +2180 -3345
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2224 -3399
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -2
- package/dist/codec/axis1.encode.d.mts +0 -10
- package/dist/codec/axis1.encode.d.ts +0 -10
- package/dist/codec/axis1.encode.js +0 -65
- package/dist/codec/axis1.encode.js.map +0 -1
- package/dist/codec/axis1.encode.mjs +0 -41
- package/dist/codec/axis1.encode.mjs.map +0 -1
- package/dist/codec/axis1.signing.d.mts +0 -8
- package/dist/codec/axis1.signing.d.ts +0 -8
- package/dist/codec/axis1.signing.js +0 -61
- package/dist/codec/axis1.signing.js.map +0 -1
- package/dist/codec/axis1.signing.mjs +0 -37
- package/dist/codec/axis1.signing.mjs.map +0 -1
- package/dist/index-VxXqZPuH.d.mts +0 -51
- package/dist/index-VxXqZPuH.d.ts +0 -51
- package/dist/types/frame.d.mts +0 -11
- package/dist/types/frame.d.ts +0 -11
- package/dist/types/frame.js +0 -78
- package/dist/types/frame.js.map +0 -1
- package/dist/types/frame.mjs +0 -54
- package/dist/types/frame.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,144 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
export { axis1SigningBytes } from './codec/axis1.signing.js';
|
|
8
|
-
import { Axis1DecodedFrame } from './types/frame.js';
|
|
9
|
-
export { decodeAxis1Frame } from './types/frame.js';
|
|
10
|
-
import { OnModuleInit, OnApplicationBootstrap } from '@nestjs/common';
|
|
1
|
+
import { A as AxisFrame$2 } from './index-1uEwnW-w.js';
|
|
2
|
+
export { a as AxisBinaryFrame, b as AxisError, c as AxisFrameZ, d as computeReceiptHash, e as computeSignaturePayload, i as core, f as decodeFrame, g as encodeFrame, h as generateEd25519KeyPair, j as getSignTarget, s as sha256, k as signFrame, v as verifyFrameSignature } from './index-1uEwnW-w.js';
|
|
3
|
+
import { ModuleRef, DiscoveryService, Reflector, MetadataScanner } from '@nestjs/core';
|
|
4
|
+
import { PROOF_LOOM, TLV_LOOM_PRESENCE_ID, TLV_LOOM_THREAD_HASH, TLV_LOOM_WRIT } from '@nextera.one/axis-protocol';
|
|
5
|
+
export { AXIS_MAGIC, AXIS_VERSION, TLV as AxisTlvType, BodyProfile, ERR_BAD_SIGNATURE, ERR_CONTRACT_VIOLATION, ERR_INVALID_PACKET, ERR_REPLAY_DETECTED, FLAG_BODY_TLV, FLAG_CHAIN_REQ, FLAG_HAS_WITNESS, MAX_BODY_LEN, MAX_FRAME_LEN, MAX_HDR_LEN, MAX_SIG_LEN, NCERT_ALG, NCERT_EXP, NCERT_ISSUER_KID, NCERT_KID, NCERT_NBF, NCERT_NODE_ID, NCERT_PAYLOAD, NCERT_PUB, NCERT_SCOPE, NCERT_SIG, PROOF_CAPSULE, PROOF_JWT, PROOF_LOOM, PROOF_MTLS, PROOF_NONE, PROOF_WITNESS, ProofType, TLV, TLV_ACTOR_ID, TLV_AUD, TLV_BODY_ARR, TLV_BODY_OBJ, TLV_CAPSULE, TLV_EFFECT, TLV_ERROR_CODE, TLV_ERROR_MSG, TLV_INDEX, TLV_INTENT, TLV_KID, TLV_LOOM_PRESENCE_ID, TLV_LOOM_THREAD_HASH, TLV_LOOM_WRIT, TLV_NODE, TLV_NODE_CERT_HASH, TLV_NODE_KID, TLV_NONCE, TLV_OFFSET, TLV_OK, TLV_PID, TLV_LOOM_PRESENCE_ID as TLV_PRESENCE_ID, TLV_PREV_HASH, TLV_PROOF_REF, TLV_PROOF_TYPE, TLV_REALM, TLV_RECEIPT_HASH, TLV_RID, TLV_SHA256_CHUNK, TLV_LOOM_THREAD_HASH as TLV_THREAD_HASH, TLV_TRACE_ID, TLV_TS, TLV_UPLOAD_ID, TLV_LOOM_WRIT as TLV_WRIT, decodeArray, decodeObject, decodeTLVs, decodeTLVsList, decodeVarint, encodeTLVs, encodeVarint, varintLength } from '@nextera.one/axis-protocol';
|
|
6
|
+
import { OnApplicationBootstrap, OnModuleInit } from '@nestjs/common';
|
|
11
7
|
import { ConfigService } from '@nestjs/config';
|
|
12
8
|
import * as z from 'zod';
|
|
13
9
|
|
|
10
|
+
type AxisExecutionMode = 'strict' | 'parallel' | 'best_effort' | 'atomic';
|
|
11
|
+
type AxisObserverEvent = 'intent.received' | 'intent.completed' | 'intent.failed' | 'chain.received' | 'chain.admitted' | 'chain.completed' | 'chain.failed' | 'chain.partial' | 'step.started' | 'step.completed' | 'step.failed' | 'step.blocked' | 'step.skipped' | 'signature.verified' | 'decryption.succeeded' | 'sensor.passed' | 'sensor.failed' | 'handler.completed' | 'proof.recorded';
|
|
12
|
+
interface AxisCapsuleRef {
|
|
13
|
+
capsuleId?: string;
|
|
14
|
+
scope?: string | string[];
|
|
15
|
+
scopeMode?: 'chain' | 'step' | 'chain+step';
|
|
16
|
+
proofRequired?: boolean;
|
|
17
|
+
metadata?: Record<string, unknown>;
|
|
18
|
+
}
|
|
19
|
+
interface AxisKeyExchangeRef {
|
|
20
|
+
profile?: string;
|
|
21
|
+
sessionId?: string;
|
|
22
|
+
clientKid?: string;
|
|
23
|
+
serverKid?: string;
|
|
24
|
+
algorithm?: string;
|
|
25
|
+
derivedKeyRef?: string;
|
|
26
|
+
required?: boolean;
|
|
27
|
+
metadata?: Record<string, unknown>;
|
|
28
|
+
}
|
|
29
|
+
interface AxisIntentEnvelope<TPayload = unknown> {
|
|
30
|
+
intent: string;
|
|
31
|
+
handler?: string;
|
|
32
|
+
payload: TPayload;
|
|
33
|
+
capsule?: AxisCapsuleRef;
|
|
34
|
+
keyExchange?: AxisKeyExchangeRef;
|
|
35
|
+
observerTags?: string[];
|
|
36
|
+
proofRequired?: boolean;
|
|
37
|
+
metadata?: Record<string, unknown>;
|
|
38
|
+
}
|
|
39
|
+
interface AxisChainStep<TInput = unknown> {
|
|
40
|
+
stepId: string;
|
|
41
|
+
intent: string;
|
|
42
|
+
handler?: string;
|
|
43
|
+
input?: TInput;
|
|
44
|
+
dependsOn?: string[];
|
|
45
|
+
onSuccess?: string[];
|
|
46
|
+
onFailure?: string[];
|
|
47
|
+
capsuleScope?: string | string[];
|
|
48
|
+
observerTags?: string[];
|
|
49
|
+
proofRequired?: boolean;
|
|
50
|
+
keyExchange?: AxisKeyExchangeRef;
|
|
51
|
+
metadata?: Record<string, unknown>;
|
|
52
|
+
}
|
|
53
|
+
interface AxisChainEncryption {
|
|
54
|
+
enabled?: boolean;
|
|
55
|
+
profile?: string;
|
|
56
|
+
keyExchange?: AxisKeyExchangeRef;
|
|
57
|
+
}
|
|
58
|
+
interface AxisChainEnvelope<TInput = unknown> {
|
|
59
|
+
chainId: string;
|
|
60
|
+
subject?: string;
|
|
61
|
+
issuer?: string;
|
|
62
|
+
issuedAtTps?: string | number;
|
|
63
|
+
expiresAtTps?: string | number;
|
|
64
|
+
mode: AxisExecutionMode;
|
|
65
|
+
signature?: string;
|
|
66
|
+
encryption?: AxisChainEncryption;
|
|
67
|
+
capsule?: AxisCapsuleRef;
|
|
68
|
+
keyExchange?: AxisKeyExchangeRef;
|
|
69
|
+
observerTags?: string[];
|
|
70
|
+
dynamic?: boolean;
|
|
71
|
+
metadata?: Record<string, unknown>;
|
|
72
|
+
steps: Array<AxisChainStep<TInput>>;
|
|
73
|
+
}
|
|
74
|
+
interface AxisChainRequest<TInput = unknown, TCapsule = Record<string, unknown>> {
|
|
75
|
+
envelope: AxisChainEnvelope<TInput>;
|
|
76
|
+
capsule?: TCapsule;
|
|
77
|
+
actorId?: string;
|
|
78
|
+
}
|
|
79
|
+
type AxisChainStepStatus = 'SUCCEEDED' | 'FAILED' | 'BLOCKED' | 'SKIPPED';
|
|
80
|
+
interface AxisChainStepResult<TOutput = unknown> {
|
|
81
|
+
stepId: string;
|
|
82
|
+
intent: string;
|
|
83
|
+
status: AxisChainStepStatus;
|
|
84
|
+
effect?: string;
|
|
85
|
+
output?: TOutput;
|
|
86
|
+
error?: string;
|
|
87
|
+
dependsOn?: string[];
|
|
88
|
+
startedAt: number;
|
|
89
|
+
finishedAt: number;
|
|
90
|
+
proofHash?: string;
|
|
91
|
+
observerTags?: string[];
|
|
92
|
+
metadata?: Record<string, unknown>;
|
|
93
|
+
}
|
|
94
|
+
type AxisChainStatus = 'SUCCEEDED' | 'FAILED' | 'PARTIAL';
|
|
95
|
+
interface AxisChainResult<TOutput = unknown> {
|
|
96
|
+
chainId: string;
|
|
97
|
+
mode: AxisExecutionMode;
|
|
98
|
+
status: AxisChainStatus;
|
|
99
|
+
completedSteps: number;
|
|
100
|
+
failedSteps: number;
|
|
101
|
+
blockedSteps: number;
|
|
102
|
+
skippedSteps: number;
|
|
103
|
+
startedAt: number;
|
|
104
|
+
finishedAt: number;
|
|
105
|
+
results: Array<AxisChainStepResult<TOutput>>;
|
|
106
|
+
rollback?: {
|
|
107
|
+
supported: boolean;
|
|
108
|
+
attempted: boolean;
|
|
109
|
+
reason?: string;
|
|
110
|
+
};
|
|
111
|
+
metadata?: Record<string, unknown>;
|
|
112
|
+
}
|
|
113
|
+
interface ChainOptions {
|
|
114
|
+
mode?: AxisExecutionMode;
|
|
115
|
+
allowPartial?: boolean;
|
|
116
|
+
dynamic?: boolean;
|
|
117
|
+
proofRequired?: boolean;
|
|
118
|
+
capsuleScope?: string | string[];
|
|
119
|
+
observerTags?: string[];
|
|
120
|
+
keyExchangeRequired?: boolean;
|
|
121
|
+
}
|
|
122
|
+
interface RegisteredChainConfig extends ChainOptions {
|
|
123
|
+
enabled: boolean;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
declare const CHAIN_METADATA_KEY = "axis:chain";
|
|
127
|
+
declare function Chain(options?: ChainOptions): MethodDecorator;
|
|
128
|
+
|
|
129
|
+
declare const CAPSULE_POLICY_METADATA_KEY = "axis:capsule:policy";
|
|
130
|
+
type CapsuleScopeMode = "all" | "any";
|
|
131
|
+
interface CapsulePolicyOptions {
|
|
132
|
+
required?: boolean;
|
|
133
|
+
scopes?: string | string[];
|
|
134
|
+
scopeMode?: CapsuleScopeMode;
|
|
135
|
+
intentBound?: boolean;
|
|
136
|
+
allowCapsuleRef?: boolean;
|
|
137
|
+
}
|
|
138
|
+
declare function CapsulePolicy(options?: CapsulePolicyOptions): ClassDecorator & MethodDecorator;
|
|
139
|
+
declare function normalizeCapsulePolicyOptions(options?: CapsulePolicyOptions): CapsulePolicyOptions;
|
|
140
|
+
declare function mergeCapsulePolicyOptions(base?: CapsulePolicyOptions, override?: CapsulePolicyOptions): CapsulePolicyOptions | undefined;
|
|
141
|
+
|
|
14
142
|
declare const HANDLER_METADATA_KEY = "axis:handler";
|
|
15
143
|
declare function Handler(intent?: string): ClassDecorator;
|
|
16
144
|
|
|
@@ -32,6 +160,7 @@ interface IntentRoute {
|
|
|
32
160
|
absolute?: boolean;
|
|
33
161
|
frame?: boolean;
|
|
34
162
|
kind?: IntentKind;
|
|
163
|
+
chain?: boolean | ChainOptions;
|
|
35
164
|
bodyProfile?: 'TLV_MAP' | 'RAW' | 'TLV_OBJ' | 'TLV_ARR';
|
|
36
165
|
tlv?: IntentTlvField[];
|
|
37
166
|
dto?: Function;
|
|
@@ -40,6 +169,7 @@ interface IntentOptions {
|
|
|
40
169
|
kind?: IntentKind;
|
|
41
170
|
absolute?: boolean;
|
|
42
171
|
frame?: boolean;
|
|
172
|
+
chain?: boolean | ChainOptions;
|
|
43
173
|
bodyProfile?: 'TLV_MAP' | 'RAW' | 'TLV_OBJ' | 'TLV_ARR';
|
|
44
174
|
tlv?: IntentTlvField[];
|
|
45
175
|
dto?: Function;
|
|
@@ -52,6 +182,28 @@ declare function IntentBody(decoder: (buf: Buffer) => any): MethodDecorator;
|
|
|
52
182
|
declare const INTENT_SENSORS_KEY = "axis:intent:sensors";
|
|
53
183
|
declare function IntentSensors(sensors: Function[]): MethodDecorator;
|
|
54
184
|
|
|
185
|
+
declare const OBSERVER_METADATA_KEY = "axis:observer";
|
|
186
|
+
declare const OBSERVER_BINDINGS_KEY = "axis:observer:bindings";
|
|
187
|
+
type AxisObserverRef = string | Function;
|
|
188
|
+
interface AxisObserverDefinition {
|
|
189
|
+
name?: string;
|
|
190
|
+
tags?: string[];
|
|
191
|
+
events?: AxisObserverEvent[];
|
|
192
|
+
intents?: string[];
|
|
193
|
+
handlers?: string[];
|
|
194
|
+
}
|
|
195
|
+
interface AxisObserverBinding {
|
|
196
|
+
refs: AxisObserverRef[];
|
|
197
|
+
tags?: string[];
|
|
198
|
+
events?: AxisObserverEvent[];
|
|
199
|
+
}
|
|
200
|
+
interface AxisObserverBindingOptions {
|
|
201
|
+
use: AxisObserverRef | AxisObserverRef[];
|
|
202
|
+
tags?: string[];
|
|
203
|
+
events?: AxisObserverEvent[];
|
|
204
|
+
}
|
|
205
|
+
declare function Observer(input?: AxisObserverDefinition | AxisObserverBindingOptions | AxisObserverRef | AxisObserverRef[]): ClassDecorator & MethodDecorator;
|
|
206
|
+
|
|
55
207
|
declare const HANDLER_SENSORS_KEY = "axis:handler:sensors";
|
|
56
208
|
declare function HandlerSensors(sensors: Function[]): ClassDecorator;
|
|
57
209
|
|
|
@@ -714,108 +866,6 @@ type CcePipelineResult = {
|
|
|
714
866
|
};
|
|
715
867
|
declare function executeCcePipeline(envelope: CceRequestEnvelope, config: CcePipelineConfig): Promise<CcePipelineResult>;
|
|
716
868
|
|
|
717
|
-
interface IntentProposal {
|
|
718
|
-
raw: string;
|
|
719
|
-
actor_id: string;
|
|
720
|
-
target?: string;
|
|
721
|
-
params?: Record<string, unknown>;
|
|
722
|
-
context?: Record<string, unknown>;
|
|
723
|
-
}
|
|
724
|
-
interface CompiledIntent {
|
|
725
|
-
intent: string;
|
|
726
|
-
actor_id: string;
|
|
727
|
-
target?: string;
|
|
728
|
-
params: Record<string, unknown>;
|
|
729
|
-
constraints: IntentConstraint[];
|
|
730
|
-
confidence: number;
|
|
731
|
-
alternatives: AlternativeIntent[];
|
|
732
|
-
needs_clarification: boolean;
|
|
733
|
-
clarifications: ClarificationQuestion[];
|
|
734
|
-
expected_outcome?: string;
|
|
735
|
-
fallback?: string;
|
|
736
|
-
risk: IntentRisk;
|
|
737
|
-
metadata: Record<string, unknown>;
|
|
738
|
-
}
|
|
739
|
-
type ConstraintKind = 'required_param' | 'type_check' | 'range' | 'pattern' | 'temporal' | 'spatial' | 'authority' | 'safety' | 'custom';
|
|
740
|
-
interface IntentConstraint {
|
|
741
|
-
kind: ConstraintKind;
|
|
742
|
-
field: string;
|
|
743
|
-
description: string;
|
|
744
|
-
satisfied: boolean;
|
|
745
|
-
value?: unknown;
|
|
746
|
-
expected?: unknown;
|
|
747
|
-
}
|
|
748
|
-
interface AlternativeIntent {
|
|
749
|
-
intent: string;
|
|
750
|
-
confidence: number;
|
|
751
|
-
reason: string;
|
|
752
|
-
}
|
|
753
|
-
interface ClarificationQuestion {
|
|
754
|
-
id: string;
|
|
755
|
-
question: string;
|
|
756
|
-
field: string;
|
|
757
|
-
options?: string[];
|
|
758
|
-
required: boolean;
|
|
759
|
-
}
|
|
760
|
-
type RiskLevel = 'none' | 'low' | 'medium' | 'high' | 'critical';
|
|
761
|
-
interface IntentRisk {
|
|
762
|
-
level: RiskLevel;
|
|
763
|
-
score: number;
|
|
764
|
-
factors: string[];
|
|
765
|
-
}
|
|
766
|
-
interface IntentParamSchema {
|
|
767
|
-
name: string;
|
|
768
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
769
|
-
required: boolean;
|
|
770
|
-
description?: string;
|
|
771
|
-
default?: unknown;
|
|
772
|
-
pattern?: string;
|
|
773
|
-
min?: number;
|
|
774
|
-
max?: number;
|
|
775
|
-
enum?: unknown[];
|
|
776
|
-
}
|
|
777
|
-
interface IntentSchema$2 {
|
|
778
|
-
intent: string;
|
|
779
|
-
description: string;
|
|
780
|
-
params: IntentParamSchema[];
|
|
781
|
-
required_scopes?: string[];
|
|
782
|
-
risk_level: RiskLevel;
|
|
783
|
-
has_side_effects: boolean;
|
|
784
|
-
reversible: boolean;
|
|
785
|
-
related?: string[];
|
|
786
|
-
tags?: string[];
|
|
787
|
-
}
|
|
788
|
-
interface CompilationResult {
|
|
789
|
-
ok: boolean;
|
|
790
|
-
compiled?: CompiledIntent;
|
|
791
|
-
errors: CompilationError[];
|
|
792
|
-
}
|
|
793
|
-
interface CompilationError {
|
|
794
|
-
code: string;
|
|
795
|
-
message: string;
|
|
796
|
-
field?: string;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
declare class IdelSchemaRegistry {
|
|
800
|
-
private schemas;
|
|
801
|
-
private aliases;
|
|
802
|
-
register(schema: IntentSchema$2): void;
|
|
803
|
-
registerAlias(alias: string, intent: string): void;
|
|
804
|
-
get(intent: string): IntentSchema$2 | undefined;
|
|
805
|
-
resolve(raw: string): IntentSchema$2 | undefined;
|
|
806
|
-
findCandidates(raw: string): Array<{
|
|
807
|
-
schema: IntentSchema$2;
|
|
808
|
-
score: number;
|
|
809
|
-
}>;
|
|
810
|
-
list(): IntentSchema$2[];
|
|
811
|
-
}
|
|
812
|
-
declare class IdelCompiler {
|
|
813
|
-
private readonly registry;
|
|
814
|
-
constructor(registry: IdelSchemaRegistry);
|
|
815
|
-
compile(proposal: IntentProposal): CompilationResult;
|
|
816
|
-
applyClarifications(compiled: CompiledIntent, answers: Record<string, unknown>): CompilationResult;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
869
|
interface IntentSchema$1 {
|
|
820
870
|
intent: string;
|
|
821
871
|
version: number;
|
|
@@ -839,7 +889,10 @@ interface AxisEffect {
|
|
|
839
889
|
}
|
|
840
890
|
declare class IntentRouter {
|
|
841
891
|
private readonly moduleRef?;
|
|
892
|
+
private readonly observerDispatcher?;
|
|
842
893
|
private readonly logger;
|
|
894
|
+
private readonly decoder;
|
|
895
|
+
private readonly encoder;
|
|
843
896
|
private static readonly BUILTIN_INTENTS;
|
|
844
897
|
private handlers;
|
|
845
898
|
private intentSensors;
|
|
@@ -847,32 +900,51 @@ declare class IntentRouter {
|
|
|
847
900
|
private intentSchemas;
|
|
848
901
|
private intentValidators;
|
|
849
902
|
private intentKinds;
|
|
903
|
+
private intentChains;
|
|
904
|
+
private intentObservers;
|
|
905
|
+
private intentCapsulePolicies;
|
|
850
906
|
private cceHandlers;
|
|
851
907
|
private ccePipelineConfig;
|
|
852
|
-
|
|
853
|
-
constructor(moduleRef?: ModuleRef | undefined);
|
|
908
|
+
constructor(moduleRef?: ModuleRef | undefined, observerDispatcher?: ObserverDispatcherService | undefined);
|
|
854
909
|
getSchema(intent: string): IntentSchema$1 | undefined;
|
|
855
910
|
getValidators(intent: string): Map<number, TlvValidatorFn[]> | undefined;
|
|
856
911
|
has(intent: string): boolean;
|
|
857
912
|
getRegisteredIntents(): string[];
|
|
858
|
-
configureIdel(compiler: IdelCompiler): void;
|
|
859
|
-
resolveIntent(proposal: IntentProposal): CompiledIntent;
|
|
860
|
-
routeIdel(proposal: IntentProposal, frame: AxisFrame$2): Promise<AxisEffect & {
|
|
861
|
-
compiled: CompiledIntent;
|
|
862
|
-
}>;
|
|
863
913
|
getIntentEntry(intent: string): {
|
|
864
914
|
schema?: IntentSchema$1;
|
|
865
915
|
validators?: Map<number, TlvValidatorFn[]>;
|
|
866
916
|
hasSensors: boolean;
|
|
867
917
|
builtin: boolean;
|
|
868
918
|
kind?: IntentKind;
|
|
919
|
+
chain?: RegisteredChainConfig;
|
|
920
|
+
capsulePolicy?: CapsulePolicyOptions;
|
|
921
|
+
observerCount: number;
|
|
869
922
|
} | null;
|
|
923
|
+
getChainConfig(intent: string): RegisteredChainConfig | undefined;
|
|
924
|
+
getObservers(intent: string): AxisObserverBinding[];
|
|
870
925
|
register(intent: string, handler: any): void;
|
|
871
926
|
registerHandler(instance: any): void;
|
|
872
927
|
route(frame: AxisFrame$2): Promise<AxisEffect>;
|
|
873
928
|
private logIntent;
|
|
874
|
-
registerIntentMeta(intent: string, proto: object, methodName: string, handlerSensors?: Function[]): void;
|
|
929
|
+
registerIntentMeta(intent: string, proto: object, methodName: string, handlerSensors?: Function[], handlerObservers?: AxisObserverBinding[]): void;
|
|
930
|
+
private emitIntentObservers;
|
|
875
931
|
private runIntentSensors;
|
|
932
|
+
private getEffectiveCapsulePolicy;
|
|
933
|
+
private enforceCapsulePolicy;
|
|
934
|
+
private executeChainRequest;
|
|
935
|
+
private parseIntentExecBody;
|
|
936
|
+
private parseChainRequestBody;
|
|
937
|
+
private isChainRequestLike;
|
|
938
|
+
private isChainEnvelopeLike;
|
|
939
|
+
private encodeJson;
|
|
940
|
+
private getActorIdFromFrame;
|
|
941
|
+
private getProofRefFromFrame;
|
|
942
|
+
private hasCapsuleReference;
|
|
943
|
+
private getHeaderValue;
|
|
944
|
+
private identifiersMatch;
|
|
945
|
+
private extractInlineCapsuleId;
|
|
946
|
+
private toInlineCapsuleRecord;
|
|
947
|
+
private toScopeList;
|
|
876
948
|
configureCce(config: Omit<CcePipelineConfig, "handlers">): void;
|
|
877
949
|
registerCceHandler(intent: string, handler: CceHandler): void;
|
|
878
950
|
hasCceHandler(intent: string): boolean;
|
|
@@ -880,6 +952,96 @@ declare class IntentRouter {
|
|
|
880
952
|
private storeSchema;
|
|
881
953
|
}
|
|
882
954
|
|
|
955
|
+
interface AxisObserverContext {
|
|
956
|
+
event: AxisObserverEvent;
|
|
957
|
+
timestamp: number;
|
|
958
|
+
intent?: string;
|
|
959
|
+
chainId?: string;
|
|
960
|
+
stepId?: string;
|
|
961
|
+
handler?: string;
|
|
962
|
+
frame?: AxisFrame$2;
|
|
963
|
+
envelope?: AxisChainEnvelope;
|
|
964
|
+
step?: AxisChainStep;
|
|
965
|
+
effect?: AxisEffect;
|
|
966
|
+
result?: AxisChainStepResult | AxisChainResult;
|
|
967
|
+
error?: string;
|
|
968
|
+
observerTags?: string[];
|
|
969
|
+
capsule?: AxisCapsuleRef;
|
|
970
|
+
keyExchange?: AxisKeyExchangeRef;
|
|
971
|
+
metadata?: Record<string, unknown>;
|
|
972
|
+
}
|
|
973
|
+
interface AxisIntentObserver {
|
|
974
|
+
readonly name: string;
|
|
975
|
+
supports?(context: AxisObserverContext): boolean;
|
|
976
|
+
observe(context: AxisObserverContext): Promise<void> | void;
|
|
977
|
+
}
|
|
978
|
+
interface AxisObserverRegistration {
|
|
979
|
+
name: string;
|
|
980
|
+
instance: AxisIntentObserver;
|
|
981
|
+
tags: string[];
|
|
982
|
+
events?: AxisObserverEvent[];
|
|
983
|
+
intents?: string[];
|
|
984
|
+
handlers?: string[];
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
declare class ObserverRegistry {
|
|
988
|
+
private readonly logger;
|
|
989
|
+
private readonly byName;
|
|
990
|
+
private readonly byType;
|
|
991
|
+
register(instance: AxisIntentObserver, meta?: AxisObserverDefinition): void;
|
|
992
|
+
resolve(ref: AxisObserverRef): AxisObserverRegistration | undefined;
|
|
993
|
+
list(): AxisObserverRegistration[];
|
|
994
|
+
clear(): void;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
declare class ObserverDispatcherService {
|
|
998
|
+
private readonly registry;
|
|
999
|
+
private readonly logger;
|
|
1000
|
+
constructor(registry: ObserverRegistry);
|
|
1001
|
+
dispatch(bindings: AxisObserverBinding[] | undefined, context: AxisObserverContext): Promise<void>;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
interface AxisChainExecutionOptions {
|
|
1005
|
+
actorId?: string;
|
|
1006
|
+
baseFrame?: Partial<AxisFrame$2>;
|
|
1007
|
+
}
|
|
1008
|
+
declare class AxisChainExecutor {
|
|
1009
|
+
private readonly router;
|
|
1010
|
+
private readonly observerDispatcher?;
|
|
1011
|
+
private readonly logger;
|
|
1012
|
+
private readonly encoder;
|
|
1013
|
+
private readonly decoder;
|
|
1014
|
+
constructor(router: IntentRouter, observerDispatcher?: ObserverDispatcherService | undefined);
|
|
1015
|
+
execute(envelope: AxisChainEnvelope, options?: AxisChainExecutionOptions): Promise<AxisChainResult>;
|
|
1016
|
+
private executeStep;
|
|
1017
|
+
private buildFrame;
|
|
1018
|
+
private validateEnvelope;
|
|
1019
|
+
private canRun;
|
|
1020
|
+
private blockStepsWithFailedDependencies;
|
|
1021
|
+
private markUnresolvedSteps;
|
|
1022
|
+
private buildSummary;
|
|
1023
|
+
private resolveStepInput;
|
|
1024
|
+
private lookupReference;
|
|
1025
|
+
private serializeInput;
|
|
1026
|
+
private decodeOutput;
|
|
1027
|
+
private computeProofHash;
|
|
1028
|
+
private collectChainBindings;
|
|
1029
|
+
private dispatch;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
declare const AXIS_EXECUTION_CONTEXT_KEY: unique symbol;
|
|
1033
|
+
interface AxisExecutionContext {
|
|
1034
|
+
metaIntent?: "INTENT.EXEC" | "CHAIN.EXEC";
|
|
1035
|
+
actorId?: string;
|
|
1036
|
+
inlineCapsule?: Record<string, unknown>;
|
|
1037
|
+
capsuleRef?: AxisCapsuleRef;
|
|
1038
|
+
chainEnvelope?: AxisChainEnvelope;
|
|
1039
|
+
chainStep?: AxisChainStep;
|
|
1040
|
+
}
|
|
1041
|
+
declare function getAxisExecutionContext(frame?: Partial<AxisFrame$2>): AxisExecutionContext | undefined;
|
|
1042
|
+
declare function withAxisExecutionContext<T extends object>(target: T, context: AxisExecutionContext): T;
|
|
1043
|
+
declare function mergeAxisExecutionContext(base?: AxisExecutionContext, override?: AxisExecutionContext): AxisExecutionContext | undefined;
|
|
1044
|
+
|
|
883
1045
|
declare const BAND: {
|
|
884
1046
|
readonly WIRE: 0;
|
|
885
1047
|
readonly IDENTITY: 40;
|
|
@@ -988,42 +1150,6 @@ declare function canonicalizeObservation(obs: AxisObservation): string;
|
|
|
988
1150
|
declare function hashObservation(obs: AxisObservation): string;
|
|
989
1151
|
declare function buildUnsignedWitness(obs: AxisObservation): UnsignedObservationWitness | null;
|
|
990
1152
|
|
|
991
|
-
type TruthStatus = 'confirmed' | 'partial' | 'uncertain' | 'failed' | 'disputed';
|
|
992
|
-
interface ExpectedOutcome {
|
|
993
|
-
decision?: 'ALLOW' | 'DENY';
|
|
994
|
-
effect?: string;
|
|
995
|
-
statusCode?: number;
|
|
996
|
-
ok?: boolean;
|
|
997
|
-
stateChanges?: Record<string, unknown>;
|
|
998
|
-
maxDurationMs?: number;
|
|
999
|
-
minSensorsPassed?: number;
|
|
1000
|
-
assertions?: Record<string, unknown>;
|
|
1001
|
-
}
|
|
1002
|
-
type AnomalyLevel = 'info' | 'warning' | 'critical';
|
|
1003
|
-
interface Anomaly {
|
|
1004
|
-
code: string;
|
|
1005
|
-
level: AnomalyLevel;
|
|
1006
|
-
message: string;
|
|
1007
|
-
field?: string;
|
|
1008
|
-
expected?: unknown;
|
|
1009
|
-
actual?: unknown;
|
|
1010
|
-
}
|
|
1011
|
-
interface TruthVerdict {
|
|
1012
|
-
status: TruthStatus;
|
|
1013
|
-
confidence: number;
|
|
1014
|
-
anomalies: Anomaly[];
|
|
1015
|
-
passedChecks: number;
|
|
1016
|
-
totalChecks: number;
|
|
1017
|
-
verifiedAt: number;
|
|
1018
|
-
isDeed: boolean;
|
|
1019
|
-
}
|
|
1020
|
-
declare function scoreTruth(obs: AxisObservation, expected?: ExpectedOutcome): TruthVerdict;
|
|
1021
|
-
interface ObservedDeed {
|
|
1022
|
-
observation: AxisObservation;
|
|
1023
|
-
verdict: TruthVerdict;
|
|
1024
|
-
}
|
|
1025
|
-
declare function verifyObservation(obs: AxisObservation, expected?: ExpectedOutcome): ObservedDeed;
|
|
1026
|
-
|
|
1027
1153
|
interface ResponseObserverContext {
|
|
1028
1154
|
actorId: string;
|
|
1029
1155
|
intent: string;
|
|
@@ -1279,6 +1405,22 @@ declare function packPasskeyLoginVerifyRes(params: {
|
|
|
1279
1405
|
expiresAt: bigint;
|
|
1280
1406
|
}): Buffer;
|
|
1281
1407
|
|
|
1408
|
+
type Axis1FrameToEncode = {
|
|
1409
|
+
ver: number;
|
|
1410
|
+
flags: number;
|
|
1411
|
+
hdr: Buffer;
|
|
1412
|
+
body: Buffer;
|
|
1413
|
+
sig: Buffer;
|
|
1414
|
+
};
|
|
1415
|
+
declare function encodeAxis1Frame(f: Axis1FrameToEncode): Buffer;
|
|
1416
|
+
|
|
1417
|
+
declare function axis1SigningBytes(params: {
|
|
1418
|
+
ver: number;
|
|
1419
|
+
flags: number;
|
|
1420
|
+
hdr: Buffer;
|
|
1421
|
+
body: Buffer;
|
|
1422
|
+
}): Buffer;
|
|
1423
|
+
|
|
1282
1424
|
declare function encVarint(x: bigint): Buffer;
|
|
1283
1425
|
declare function varintU(x: number | bigint): Buffer;
|
|
1284
1426
|
declare function u64be(x: bigint): Buffer;
|
|
@@ -1338,6 +1480,16 @@ interface ExecutionContract {
|
|
|
1338
1480
|
declare const DEFAULT_CONTRACTS: Record<string, ExecutionContract>;
|
|
1339
1481
|
declare const FALLBACK_CONTRACT: ExecutionContract;
|
|
1340
1482
|
|
|
1483
|
+
type Axis1DecodedFrame = {
|
|
1484
|
+
ver: number;
|
|
1485
|
+
flags: number;
|
|
1486
|
+
hdr: Buffer;
|
|
1487
|
+
body: Buffer;
|
|
1488
|
+
sig: Buffer;
|
|
1489
|
+
frameSize: number;
|
|
1490
|
+
};
|
|
1491
|
+
declare function decodeAxis1Frame(buf: Buffer): Axis1DecodedFrame;
|
|
1492
|
+
|
|
1341
1493
|
declare const T: {
|
|
1342
1494
|
INTENT: number;
|
|
1343
1495
|
PID: number;
|
|
@@ -1403,46 +1555,6 @@ type Capability = keyof typeof CAPABILITIES;
|
|
|
1403
1555
|
declare const PROOF_CAPABILITIES: Record<number, Capability[]>;
|
|
1404
1556
|
declare const INTENT_REQUIREMENTS: Record<string, Capability[]>;
|
|
1405
1557
|
|
|
1406
|
-
type AxisLawDecision = "allow" | "deny" | "conditional";
|
|
1407
|
-
interface AxisLawArticleSummary {
|
|
1408
|
-
article_id: string;
|
|
1409
|
-
article_type?: string;
|
|
1410
|
-
decision?: string;
|
|
1411
|
-
reason?: string;
|
|
1412
|
-
}
|
|
1413
|
-
interface AxisLawEvaluationContext {
|
|
1414
|
-
actorId?: string;
|
|
1415
|
-
intent?: string;
|
|
1416
|
-
audience?: string;
|
|
1417
|
-
tps?: string | number;
|
|
1418
|
-
country?: string;
|
|
1419
|
-
ip?: string;
|
|
1420
|
-
path?: string;
|
|
1421
|
-
clientId?: string;
|
|
1422
|
-
deviceId?: string;
|
|
1423
|
-
sessionId?: string;
|
|
1424
|
-
capsuleId?: string;
|
|
1425
|
-
metadata: Record<string, unknown>;
|
|
1426
|
-
packet?: Record<string, unknown>;
|
|
1427
|
-
frameBody?: unknown;
|
|
1428
|
-
}
|
|
1429
|
-
interface AxisLawEvaluationResult {
|
|
1430
|
-
decision: AxisLawDecision;
|
|
1431
|
-
reason: string;
|
|
1432
|
-
explanation?: string;
|
|
1433
|
-
denied?: AxisLawArticleSummary[];
|
|
1434
|
-
permitted?: AxisLawArticleSummary[];
|
|
1435
|
-
required?: AxisLawArticleSummary[];
|
|
1436
|
-
applicable?: AxisLawArticleSummary[];
|
|
1437
|
-
metadata?: Record<string, unknown>;
|
|
1438
|
-
}
|
|
1439
|
-
type AxisLawEvaluator = ((context: AxisLawEvaluationContext) => AxisLawEvaluationResult | Promise<AxisLawEvaluationResult>);
|
|
1440
|
-
interface LawEvaluationSensorOptions {
|
|
1441
|
-
evaluator?: AxisLawEvaluator;
|
|
1442
|
-
conditionalDecision?: "deny" | "flag" | "allow";
|
|
1443
|
-
}
|
|
1444
|
-
declare function buildAxisLawEvaluationContext(input: SensorInput): AxisLawEvaluationContext;
|
|
1445
|
-
|
|
1446
1558
|
interface RiskSignal {
|
|
1447
1559
|
type: string;
|
|
1448
1560
|
severity: 'low' | 'medium' | 'high' | 'critical';
|
|
@@ -1594,6 +1706,15 @@ declare const AxisContext$1: (...dataOrPipes: unknown[]) => ParameterDecorator;
|
|
|
1594
1706
|
declare const AxisDemoPubkey: (...dataOrPipes: unknown[]) => ParameterDecorator;
|
|
1595
1707
|
declare const AxisFrame: (...dataOrPipes: unknown[]) => ParameterDecorator;
|
|
1596
1708
|
|
|
1709
|
+
declare class ObserverDiscoveryService implements OnApplicationBootstrap {
|
|
1710
|
+
private readonly discovery;
|
|
1711
|
+
private readonly reflector;
|
|
1712
|
+
private readonly registry;
|
|
1713
|
+
private readonly logger;
|
|
1714
|
+
constructor(discovery: DiscoveryService, reflector: Reflector, registry: ObserverRegistry);
|
|
1715
|
+
onApplicationBootstrap(): void;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1597
1718
|
declare class HandlerDiscoveryService implements OnModuleInit {
|
|
1598
1719
|
private readonly discovery;
|
|
1599
1720
|
private readonly scanner;
|
|
@@ -1745,7 +1866,12 @@ declare const IntentPolicyZ: z.ZodObject<{
|
|
|
1745
1866
|
}, z.core.$strip>;
|
|
1746
1867
|
type IntentPolicy = z.infer<typeof IntentPolicyZ>;
|
|
1747
1868
|
declare const IntentPolicySensorInputZ: z.ZodObject<{
|
|
1748
|
-
frame: z.
|
|
1869
|
+
frame: z.ZodObject<{
|
|
1870
|
+
flags: z.ZodNumber;
|
|
1871
|
+
headers: z.ZodMap<z.ZodNumber, z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>>;
|
|
1872
|
+
body: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
1873
|
+
sig: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
1874
|
+
}, z.core.$strip>;
|
|
1749
1875
|
intent: z.ZodString;
|
|
1750
1876
|
rawFrameSize: z.ZodNumber;
|
|
1751
1877
|
}, z.core.$strip>;
|
|
@@ -2159,180 +2285,6 @@ declare class AxisSensorChainService {
|
|
|
2159
2285
|
private evaluateSensors;
|
|
2160
2286
|
}
|
|
2161
2287
|
|
|
2162
|
-
type TimelineDomain = 'prime' | 'fork' | 'shadow' | 'training' | 'audit';
|
|
2163
|
-
type TimelineEventStatus = 'executed' | 'replayed' | 'forked' | 'simulated' | 'failed';
|
|
2164
|
-
interface TimelineEvent {
|
|
2165
|
-
event_id: string;
|
|
2166
|
-
timeline_id: string;
|
|
2167
|
-
branch_id: string;
|
|
2168
|
-
parent_event_id: string | null;
|
|
2169
|
-
intent: string;
|
|
2170
|
-
actor_id: string;
|
|
2171
|
-
capsule_id?: string;
|
|
2172
|
-
tps_coordinate?: string;
|
|
2173
|
-
payload_hash: string;
|
|
2174
|
-
result_hash?: string;
|
|
2175
|
-
status: TimelineEventStatus;
|
|
2176
|
-
domain: TimelineDomain;
|
|
2177
|
-
determinism: 'deterministic' | 'bounded_nondeterministic' | 'open_nondeterministic';
|
|
2178
|
-
witness_id?: string;
|
|
2179
|
-
created_at: number;
|
|
2180
|
-
metadata?: Record<string, unknown>;
|
|
2181
|
-
}
|
|
2182
|
-
interface TimelineBranch {
|
|
2183
|
-
branch_id: string;
|
|
2184
|
-
timeline_id: string;
|
|
2185
|
-
origin_timeline_id: string;
|
|
2186
|
-
origin_event_id: string;
|
|
2187
|
-
branch_type: 'fork' | 'simulation' | 'replay' | 'training';
|
|
2188
|
-
created_at_tps?: string;
|
|
2189
|
-
creator_subject_id: string;
|
|
2190
|
-
purpose: string;
|
|
2191
|
-
status: 'active' | 'completed' | 'abandoned';
|
|
2192
|
-
}
|
|
2193
|
-
interface StateSnapshot {
|
|
2194
|
-
snapshot_id: string;
|
|
2195
|
-
timeline_id: string;
|
|
2196
|
-
event_id: string;
|
|
2197
|
-
tps_coordinate?: string;
|
|
2198
|
-
state_hash: string;
|
|
2199
|
-
state_data: Record<string, unknown>;
|
|
2200
|
-
created_at: number;
|
|
2201
|
-
}
|
|
2202
|
-
type ReplayMode = 'strict' | 'analytical';
|
|
2203
|
-
interface ReplayRequest {
|
|
2204
|
-
source_event_id: string;
|
|
2205
|
-
mode: ReplayMode;
|
|
2206
|
-
override_payload?: Record<string, unknown>;
|
|
2207
|
-
}
|
|
2208
|
-
interface ReplayResult {
|
|
2209
|
-
original_event: TimelineEvent;
|
|
2210
|
-
replayed_event: TimelineEvent;
|
|
2211
|
-
mode: ReplayMode;
|
|
2212
|
-
deterministic_match: boolean;
|
|
2213
|
-
differences: ReplayDifference[];
|
|
2214
|
-
duration_ms: number;
|
|
2215
|
-
}
|
|
2216
|
-
interface ReplayDifference {
|
|
2217
|
-
field: string;
|
|
2218
|
-
original: unknown;
|
|
2219
|
-
replayed: unknown;
|
|
2220
|
-
}
|
|
2221
|
-
interface ForkRequest {
|
|
2222
|
-
source_event_id: string;
|
|
2223
|
-
new_payload: Record<string, unknown>;
|
|
2224
|
-
purpose: string;
|
|
2225
|
-
actor_id: string;
|
|
2226
|
-
}
|
|
2227
|
-
interface ForkResult {
|
|
2228
|
-
branch: TimelineBranch;
|
|
2229
|
-
forked_event: TimelineEvent;
|
|
2230
|
-
snapshot?: StateSnapshot;
|
|
2231
|
-
}
|
|
2232
|
-
interface SimulationRequest {
|
|
2233
|
-
intent: string;
|
|
2234
|
-
payload: Record<string, unknown>;
|
|
2235
|
-
actor_id: string;
|
|
2236
|
-
at_tps?: string;
|
|
2237
|
-
from_snapshot_id?: string;
|
|
2238
|
-
purpose: string;
|
|
2239
|
-
}
|
|
2240
|
-
interface SimulationResult {
|
|
2241
|
-
branch: TimelineBranch;
|
|
2242
|
-
simulated_event: TimelineEvent;
|
|
2243
|
-
predicted_outcome: Record<string, unknown>;
|
|
2244
|
-
side_effects: SimulatedSideEffect[];
|
|
2245
|
-
duration_ms: number;
|
|
2246
|
-
}
|
|
2247
|
-
interface SimulatedSideEffect {
|
|
2248
|
-
type: string;
|
|
2249
|
-
target: string;
|
|
2250
|
-
action: string;
|
|
2251
|
-
predicted_result: unknown;
|
|
2252
|
-
}
|
|
2253
|
-
interface TimelineComparison {
|
|
2254
|
-
timeline_a: string;
|
|
2255
|
-
timeline_b: string;
|
|
2256
|
-
event_pairs: Array<{
|
|
2257
|
-
event_a: TimelineEvent;
|
|
2258
|
-
event_b: TimelineEvent;
|
|
2259
|
-
match: boolean;
|
|
2260
|
-
differences: ReplayDifference[];
|
|
2261
|
-
}>;
|
|
2262
|
-
divergence_point?: string;
|
|
2263
|
-
}
|
|
2264
|
-
interface TimelineHandler {
|
|
2265
|
-
intent: string;
|
|
2266
|
-
execute(payload: Record<string, unknown>, context: TimelineHandlerContext): Promise<TimelineHandlerResult>;
|
|
2267
|
-
}
|
|
2268
|
-
interface TimelineHandlerContext {
|
|
2269
|
-
event_id: string;
|
|
2270
|
-
timeline_id: string;
|
|
2271
|
-
branch_id: string;
|
|
2272
|
-
domain: TimelineDomain;
|
|
2273
|
-
actor_id: string;
|
|
2274
|
-
tps_coordinate?: string;
|
|
2275
|
-
snapshot?: StateSnapshot;
|
|
2276
|
-
is_replay: boolean;
|
|
2277
|
-
is_simulation: boolean;
|
|
2278
|
-
}
|
|
2279
|
-
interface TimelineHandlerResult {
|
|
2280
|
-
ok: boolean;
|
|
2281
|
-
effect: string;
|
|
2282
|
-
result_data: Record<string, unknown>;
|
|
2283
|
-
side_effects?: SimulatedSideEffect[];
|
|
2284
|
-
}
|
|
2285
|
-
|
|
2286
|
-
interface TimelineStore {
|
|
2287
|
-
saveEvent(event: TimelineEvent): Promise<void>;
|
|
2288
|
-
getEvent(eventId: string): Promise<TimelineEvent | null>;
|
|
2289
|
-
getEventsByTimeline(timelineId: string): Promise<TimelineEvent[]>;
|
|
2290
|
-
getEventsByBranch(branchId: string): Promise<TimelineEvent[]>;
|
|
2291
|
-
saveBranch(branch: TimelineBranch): Promise<void>;
|
|
2292
|
-
getBranch(branchId: string): Promise<TimelineBranch | null>;
|
|
2293
|
-
getBranchesByTimeline(timelineId: string): Promise<TimelineBranch[]>;
|
|
2294
|
-
saveSnapshot(snapshot: StateSnapshot): Promise<void>;
|
|
2295
|
-
getSnapshot(snapshotId: string): Promise<StateSnapshot | null>;
|
|
2296
|
-
getSnapshotByEvent(eventId: string): Promise<StateSnapshot | null>;
|
|
2297
|
-
}
|
|
2298
|
-
declare class InMemoryTimelineStore implements TimelineStore {
|
|
2299
|
-
private events;
|
|
2300
|
-
private branches;
|
|
2301
|
-
private snapshots;
|
|
2302
|
-
saveEvent(event: TimelineEvent): Promise<void>;
|
|
2303
|
-
getEvent(eventId: string): Promise<TimelineEvent | null>;
|
|
2304
|
-
getEventsByTimeline(timelineId: string): Promise<TimelineEvent[]>;
|
|
2305
|
-
getEventsByBranch(branchId: string): Promise<TimelineEvent[]>;
|
|
2306
|
-
saveBranch(branch: TimelineBranch): Promise<void>;
|
|
2307
|
-
getBranch(branchId: string): Promise<TimelineBranch | null>;
|
|
2308
|
-
getBranchesByTimeline(timelineId: string): Promise<TimelineBranch[]>;
|
|
2309
|
-
saveSnapshot(snapshot: StateSnapshot): Promise<void>;
|
|
2310
|
-
getSnapshot(snapshotId: string): Promise<StateSnapshot | null>;
|
|
2311
|
-
getSnapshotByEvent(eventId: string): Promise<StateSnapshot | null>;
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
declare class TimelineEngine {
|
|
2315
|
-
private readonly store;
|
|
2316
|
-
private handlers;
|
|
2317
|
-
constructor(store: TimelineStore);
|
|
2318
|
-
registerHandler(handler: TimelineHandler): void;
|
|
2319
|
-
recordEvent(intent: string, actorId: string, payload: Record<string, unknown>, result: Record<string, unknown>, options?: {
|
|
2320
|
-
timelineId?: string;
|
|
2321
|
-
branchId?: string;
|
|
2322
|
-
capsuleId?: string;
|
|
2323
|
-
tpsCoordinate?: string;
|
|
2324
|
-
witnessId?: string;
|
|
2325
|
-
determinism?: TimelineEvent['determinism'];
|
|
2326
|
-
parentEventId?: string;
|
|
2327
|
-
}): Promise<TimelineEvent>;
|
|
2328
|
-
replay(request: ReplayRequest): Promise<ReplayResult>;
|
|
2329
|
-
fork(request: ForkRequest): Promise<ForkResult>;
|
|
2330
|
-
simulate(request: SimulationRequest): Promise<SimulationResult>;
|
|
2331
|
-
compare(timelineIdA: string, timelineIdB: string): Promise<TimelineComparison>;
|
|
2332
|
-
createSnapshot(eventId: string, stateData: Record<string, unknown>): Promise<StateSnapshot>;
|
|
2333
|
-
restoreSnapshot(snapshotId: string): Promise<StateSnapshot>;
|
|
2334
|
-
}
|
|
2335
|
-
|
|
2336
2288
|
type AxisTlvDtoCtor<T = object> = new (...args: never[]) => T;
|
|
2337
2289
|
declare function encodeAxisTlvDto<T extends object>(dtoClass: AxisTlvDtoCtor<T>, data: Partial<Record<keyof T, unknown>>): Uint8Array;
|
|
2338
2290
|
|
|
@@ -2471,387 +2423,6 @@ declare function deriveAnchorReflection(softid: string, context?: string, scope?
|
|
|
2471
2423
|
declare function canonicalizeWrit(writ: Omit<Writ, 'sig'>): string;
|
|
2472
2424
|
declare function canonicalizeGrant(grant: Omit<Grant, 'sig'>): string;
|
|
2473
2425
|
|
|
2474
|
-
declare function createPresenceChallenge(declaration: PresenceDeclaration, ttlMs?: number): PresenceChallenge;
|
|
2475
|
-
declare function signPresenceChallenge(challenge: PresenceChallenge, privateKeyHex: string, publicKeyHex: string, declaration: PresenceDeclaration, kid?: string): PresenceProof;
|
|
2476
|
-
declare function verifyPresenceProof(challenge: PresenceChallenge, proof: PresenceProof, declaration: PresenceDeclaration, durationMs?: number): PresenceVerifyResult;
|
|
2477
|
-
declare function getPresenceStatus(receipt: PresenceReceipt): PresenceStatus;
|
|
2478
|
-
declare function renewPresence(receipt: PresenceReceipt, extensionMs?: number): PresenceReceipt;
|
|
2479
|
-
declare function createWrit(body: WritBody, meta: Omit<WritMeta, 'prev'>, thread: {
|
|
2480
|
-
tid: string;
|
|
2481
|
-
seq: number;
|
|
2482
|
-
prevHash: string;
|
|
2483
|
-
}, privateKeyHex: string, kid?: string): Writ;
|
|
2484
|
-
declare function validateWrit(writ: Writ, publicKeyHex: string, threadState: ThreadState | null, grants: Grant[]): WritValidationResult;
|
|
2485
|
-
declare function grantCoversAction(grant: Grant, action: string, resource: string, nowUnix: number): boolean;
|
|
2486
|
-
declare function getGrantStatus(grant: Grant, revocations: Revocation[]): GrantStatus;
|
|
2487
|
-
declare function validateGrant(grant: Grant, issuerPublicKeyHex: string): GrantValidationResult;
|
|
2488
|
-
declare function createGrant(grantId: string, issuer: string, subject: string, grantType: Grant['grant_type'], caps: GrantCapability[], meta: Grant['meta'], privateKeyHex: string, kid?: string): Grant;
|
|
2489
|
-
declare function createReceipt(writ: Writ, effect: string, prevReceipt: LoomReceipt | null, metadata?: Record<string, unknown>): LoomReceipt;
|
|
2490
|
-
declare function verifyReceiptChain(receipts: LoomReceipt[]): {
|
|
2491
|
-
valid: boolean;
|
|
2492
|
-
brokenAt?: number;
|
|
2493
|
-
error?: string;
|
|
2494
|
-
};
|
|
2495
|
-
declare function updateThreadState(receipt: LoomReceipt, softid: string): ThreadState;
|
|
2496
|
-
declare function createRevocation(targetType: Revocation['target_type'], targetId: string, issuerSoftid: string, privateKeyHex: string, reason?: string): Revocation;
|
|
2497
|
-
declare function isRevoked(targetType: Revocation['target_type'], targetId: string, revocations: Revocation[]): boolean;
|
|
2498
|
-
interface LoomExecutionResult {
|
|
2499
|
-
receipt: LoomReceipt;
|
|
2500
|
-
threadState: ThreadState;
|
|
2501
|
-
writValidation: WritValidationResult;
|
|
2502
|
-
}
|
|
2503
|
-
declare function executeLoomPipeline(writ: Writ, publicKeyHex: string, presence: PresenceReceipt, threadState: ThreadState | null, grants: Grant[], revocations: Revocation[], prevReceipt: LoomReceipt | null): LoomExecutionResult | {
|
|
2504
|
-
valid: false;
|
|
2505
|
-
error: string;
|
|
2506
|
-
code: string;
|
|
2507
|
-
};
|
|
2508
|
-
|
|
2509
|
-
type NeedlePhase = 'created' | 'validated' | 'executing' | 'observed' | 'stitched' | 'failed';
|
|
2510
|
-
interface Needle {
|
|
2511
|
-
needle_id: string;
|
|
2512
|
-
phase: NeedlePhase;
|
|
2513
|
-
tps_coordinate?: string;
|
|
2514
|
-
intent: CompiledIntent;
|
|
2515
|
-
presence: PresenceReceipt;
|
|
2516
|
-
writ: Writ;
|
|
2517
|
-
grants: Grant[];
|
|
2518
|
-
observation?: AxisObservation;
|
|
2519
|
-
receipt?: LoomReceipt;
|
|
2520
|
-
verdict?: TruthVerdict;
|
|
2521
|
-
created_at: number;
|
|
2522
|
-
completed_at?: number;
|
|
2523
|
-
error?: NeedleError;
|
|
2524
|
-
}
|
|
2525
|
-
interface NeedleError {
|
|
2526
|
-
phase: NeedlePhase;
|
|
2527
|
-
code: string;
|
|
2528
|
-
message: string;
|
|
2529
|
-
}
|
|
2530
|
-
type StitchKind = 'deed' | 'silent' | 'torn';
|
|
2531
|
-
interface Stitch {
|
|
2532
|
-
stitch_id: string;
|
|
2533
|
-
kind: StitchKind;
|
|
2534
|
-
intent: string;
|
|
2535
|
-
actor_id: string;
|
|
2536
|
-
tps_coordinate?: string;
|
|
2537
|
-
observation: AxisObservation;
|
|
2538
|
-
verdict: TruthVerdict;
|
|
2539
|
-
receipt: LoomReceipt;
|
|
2540
|
-
thread_id: string;
|
|
2541
|
-
sequence: number;
|
|
2542
|
-
timeline_event_id?: string;
|
|
2543
|
-
stitched_at: number;
|
|
2544
|
-
}
|
|
2545
|
-
interface Thread {
|
|
2546
|
-
state: ThreadState;
|
|
2547
|
-
length: number;
|
|
2548
|
-
started_at_tps?: string;
|
|
2549
|
-
last_stitch_tps?: string;
|
|
2550
|
-
has_branches: boolean;
|
|
2551
|
-
branch_ids: string[];
|
|
2552
|
-
}
|
|
2553
|
-
|
|
2554
|
-
type NeedleHandler = (intent: CompiledIntent, context: NeedleHandlerContext) => Promise<NeedleHandlerResult>;
|
|
2555
|
-
interface NeedleHandlerContext {
|
|
2556
|
-
needle_id: string;
|
|
2557
|
-
actor_id: string;
|
|
2558
|
-
presence_id: string;
|
|
2559
|
-
writ: Writ;
|
|
2560
|
-
grants: Grant[];
|
|
2561
|
-
tps_coordinate?: string;
|
|
2562
|
-
}
|
|
2563
|
-
interface NeedleHandlerResult {
|
|
2564
|
-
ok: boolean;
|
|
2565
|
-
effect: string;
|
|
2566
|
-
data?: Record<string, unknown>;
|
|
2567
|
-
status_code?: number;
|
|
2568
|
-
}
|
|
2569
|
-
interface NeedlePipelineConfig {
|
|
2570
|
-
handlers: Map<string, NeedleHandler>;
|
|
2571
|
-
private_key: string;
|
|
2572
|
-
public_key: string;
|
|
2573
|
-
sensors?: AxisSensor[];
|
|
2574
|
-
record_timeline?: boolean;
|
|
2575
|
-
tps_provider?: () => string;
|
|
2576
|
-
}
|
|
2577
|
-
interface NeedlePipelineResult {
|
|
2578
|
-
ok: boolean;
|
|
2579
|
-
needle: Needle;
|
|
2580
|
-
stitch?: Stitch;
|
|
2581
|
-
thread_state?: ThreadState;
|
|
2582
|
-
timeline_event?: TimelineEvent;
|
|
2583
|
-
}
|
|
2584
|
-
|
|
2585
|
-
declare function assembleNeedle(params: {
|
|
2586
|
-
intent: CompiledIntent;
|
|
2587
|
-
presence: PresenceReceipt;
|
|
2588
|
-
writ: Writ;
|
|
2589
|
-
grants: Grant[];
|
|
2590
|
-
tps_coordinate?: string;
|
|
2591
|
-
}): Needle;
|
|
2592
|
-
declare function formStitch(needle: Needle, observation: AxisObservation, verdict: TruthVerdict, receipt: LoomReceipt): Stitch;
|
|
2593
|
-
declare function runNeedlePipeline(needle: Needle, config: NeedlePipelineConfig, threadState: ThreadState | null, prevReceipt: LoomReceipt | null, expectedOutcome?: ExpectedOutcome): Promise<NeedlePipelineResult>;
|
|
2594
|
-
|
|
2595
|
-
type KnotType = 'authority' | 'law' | 'causal' | 'decision' | 'irreversible';
|
|
2596
|
-
type KnotStatus = 'open' | 'tied' | 'broken' | 'forked';
|
|
2597
|
-
interface Knot {
|
|
2598
|
-
knot_id: string;
|
|
2599
|
-
type: KnotType;
|
|
2600
|
-
status: KnotStatus;
|
|
2601
|
-
stitch_ids: string[];
|
|
2602
|
-
thread_id: string;
|
|
2603
|
-
tps_anchor?: string;
|
|
2604
|
-
irreversible: boolean;
|
|
2605
|
-
capsule_id?: string;
|
|
2606
|
-
law_ref?: string;
|
|
2607
|
-
decision_stitch_id?: string;
|
|
2608
|
-
branch_ids: string[];
|
|
2609
|
-
required_count?: number;
|
|
2610
|
-
all_or_nothing: boolean;
|
|
2611
|
-
actor_id: string;
|
|
2612
|
-
created_at: number;
|
|
2613
|
-
tied_at?: number;
|
|
2614
|
-
broken_at?: number;
|
|
2615
|
-
break_reason?: string;
|
|
2616
|
-
witness_hash?: string;
|
|
2617
|
-
}
|
|
2618
|
-
interface KnotValidationResult {
|
|
2619
|
-
valid: boolean;
|
|
2620
|
-
passed_stitch_ids: string[];
|
|
2621
|
-
failed_stitch_ids: string[];
|
|
2622
|
-
can_tie: boolean;
|
|
2623
|
-
errors: KnotError[];
|
|
2624
|
-
}
|
|
2625
|
-
interface KnotError {
|
|
2626
|
-
code: string;
|
|
2627
|
-
message: string;
|
|
2628
|
-
stitch_id?: string;
|
|
2629
|
-
}
|
|
2630
|
-
interface KnotBreakRequest {
|
|
2631
|
-
knot_id: string;
|
|
2632
|
-
actor_id: string;
|
|
2633
|
-
reason: string;
|
|
2634
|
-
override_grant_id?: string;
|
|
2635
|
-
signature?: string;
|
|
2636
|
-
}
|
|
2637
|
-
|
|
2638
|
-
interface OpenKnotParams {
|
|
2639
|
-
type: KnotType;
|
|
2640
|
-
thread_id: string;
|
|
2641
|
-
actor_id: string;
|
|
2642
|
-
tps_anchor?: string;
|
|
2643
|
-
capsule_id?: string;
|
|
2644
|
-
law_ref?: string;
|
|
2645
|
-
required_count?: number;
|
|
2646
|
-
all_or_nothing?: boolean;
|
|
2647
|
-
}
|
|
2648
|
-
declare function openKnot(params: OpenKnotParams): Knot;
|
|
2649
|
-
declare function addStitchToKnot(knot: Knot, stitch: Stitch): string | null;
|
|
2650
|
-
declare function validateKnot(knot: Knot, stitches: Stitch[]): KnotValidationResult;
|
|
2651
|
-
declare function tieKnot(knot: Knot, stitches: Stitch[]): KnotValidationResult & {
|
|
2652
|
-
knot: Knot;
|
|
2653
|
-
};
|
|
2654
|
-
declare function breakKnot(knot: Knot, request: KnotBreakRequest): {
|
|
2655
|
-
ok: boolean;
|
|
2656
|
-
error?: string;
|
|
2657
|
-
};
|
|
2658
|
-
declare function forkFromKnot(knot: Knot, branchId: string, decisionStitchId?: string): {
|
|
2659
|
-
ok: boolean;
|
|
2660
|
-
error?: string;
|
|
2661
|
-
};
|
|
2662
|
-
declare function isKnotOpen(knot: Knot): boolean;
|
|
2663
|
-
declare function isPointOfNoReturn(knot: Knot): boolean;
|
|
2664
|
-
declare function findKnotsForStitch(stitchId: string, knots: Knot[]): Knot[];
|
|
2665
|
-
declare function getIrreversibleKnots(knots: Knot[]): Knot[];
|
|
2666
|
-
declare function getDecisionPoints(knots: Knot[]): Knot[];
|
|
2667
|
-
|
|
2668
|
-
interface FabricCell {
|
|
2669
|
-
key: string;
|
|
2670
|
-
value: unknown;
|
|
2671
|
-
last_stitch_id: string;
|
|
2672
|
-
last_tps?: string;
|
|
2673
|
-
write_count: number;
|
|
2674
|
-
locked: boolean;
|
|
2675
|
-
locked_by_knot?: string;
|
|
2676
|
-
}
|
|
2677
|
-
interface Fabric {
|
|
2678
|
-
fabric_id: string;
|
|
2679
|
-
state_hash: string;
|
|
2680
|
-
cells: Map<string, FabricCell>;
|
|
2681
|
-
thread_ids: string[];
|
|
2682
|
-
stitch_count: number;
|
|
2683
|
-
knot_count: number;
|
|
2684
|
-
projected_at_tps?: string;
|
|
2685
|
-
computed_at: number;
|
|
2686
|
-
version: number;
|
|
2687
|
-
}
|
|
2688
|
-
interface FabricEffect {
|
|
2689
|
-
mutations: Record<string, unknown | null>;
|
|
2690
|
-
reads?: string[];
|
|
2691
|
-
}
|
|
2692
|
-
type FabricEffectResolver = (stitch: Stitch) => FabricEffect;
|
|
2693
|
-
type FabricDiffKind = 'added' | 'modified' | 'deleted';
|
|
2694
|
-
interface FabricDiffEntry {
|
|
2695
|
-
key: string;
|
|
2696
|
-
kind: FabricDiffKind;
|
|
2697
|
-
before?: unknown;
|
|
2698
|
-
after?: unknown;
|
|
2699
|
-
caused_by_stitch?: string;
|
|
2700
|
-
}
|
|
2701
|
-
interface FabricDiff {
|
|
2702
|
-
from_fabric_id: string;
|
|
2703
|
-
to_fabric_id: string;
|
|
2704
|
-
entries: FabricDiffEntry[];
|
|
2705
|
-
added_count: number;
|
|
2706
|
-
modified_count: number;
|
|
2707
|
-
deleted_count: number;
|
|
2708
|
-
}
|
|
2709
|
-
interface FabricQuery {
|
|
2710
|
-
prefix?: string;
|
|
2711
|
-
keys?: string[];
|
|
2712
|
-
actor_id?: string;
|
|
2713
|
-
thread_id?: string;
|
|
2714
|
-
locked_only?: boolean;
|
|
2715
|
-
}
|
|
2716
|
-
|
|
2717
|
-
declare function createFabric(): Fabric;
|
|
2718
|
-
declare function applyStitch(fabric: Fabric, stitch: Stitch, effect: FabricEffect): void;
|
|
2719
|
-
declare function weave(stitches: Stitch[], resolver: FabricEffectResolver, knots?: Knot[]): Fabric;
|
|
2720
|
-
declare function projectAt(stitches: Stitch[], resolver: FabricEffectResolver, tpsFilter: (tps: string | undefined) => boolean, knots?: Knot[]): Fabric;
|
|
2721
|
-
declare function lockCells(fabric: Fabric, keys: string[], knotId: string): void;
|
|
2722
|
-
declare function queryFabric(fabric: Fabric, query: FabricQuery): FabricCell[];
|
|
2723
|
-
declare function getFabricValue(fabric: Fabric, key: string): unknown | undefined;
|
|
2724
|
-
declare function diffFabrics(a: Fabric, b: Fabric): FabricDiff;
|
|
2725
|
-
|
|
2726
|
-
type PatternKind = 'sequence' | 'knot' | 'state' | 'decision' | 'anomaly';
|
|
2727
|
-
type PatternConfidence = number;
|
|
2728
|
-
interface Pattern {
|
|
2729
|
-
pattern_id: string;
|
|
2730
|
-
kind: PatternKind;
|
|
2731
|
-
name: string;
|
|
2732
|
-
description?: string;
|
|
2733
|
-
signature: PatternSignature;
|
|
2734
|
-
confidence: PatternConfidence;
|
|
2735
|
-
occurrence_count: number;
|
|
2736
|
-
first_seen_at: number;
|
|
2737
|
-
last_seen_at: number;
|
|
2738
|
-
seen_in_threads: string[];
|
|
2739
|
-
classification: 'normal' | 'anomalous' | 'unclassified';
|
|
2740
|
-
predicted_next?: PatternPrediction;
|
|
2741
|
-
}
|
|
2742
|
-
interface PatternSignature {
|
|
2743
|
-
intent_sequence?: string[];
|
|
2744
|
-
stitch_kinds?: StitchKind[];
|
|
2745
|
-
knot_type?: KnotType;
|
|
2746
|
-
knot_size?: number;
|
|
2747
|
-
state_keys?: string[];
|
|
2748
|
-
state_mutations?: Record<string, 'created' | 'updated' | 'deleted'>;
|
|
2749
|
-
decision_outcome?: string;
|
|
2750
|
-
actor?: string;
|
|
2751
|
-
min_length?: number;
|
|
2752
|
-
max_length?: number;
|
|
2753
|
-
}
|
|
2754
|
-
interface PatternMatch {
|
|
2755
|
-
pattern_id: string;
|
|
2756
|
-
matched_stitch_ids: string[];
|
|
2757
|
-
matched_knot_ids?: string[];
|
|
2758
|
-
match_score: number;
|
|
2759
|
-
thread_id: string;
|
|
2760
|
-
detected_at: number;
|
|
2761
|
-
}
|
|
2762
|
-
interface PatternPrediction {
|
|
2763
|
-
next_intent: string;
|
|
2764
|
-
confidence: PatternConfidence;
|
|
2765
|
-
alternatives: Array<{
|
|
2766
|
-
intent: string;
|
|
2767
|
-
confidence: PatternConfidence;
|
|
2768
|
-
}>;
|
|
2769
|
-
predicted_outcome?: string;
|
|
2770
|
-
risk_note?: string;
|
|
2771
|
-
}
|
|
2772
|
-
interface PatternStore {
|
|
2773
|
-
save(pattern: Pattern): void;
|
|
2774
|
-
get(patternId: string): Pattern | undefined;
|
|
2775
|
-
findByKind(kind: PatternKind): Pattern[];
|
|
2776
|
-
findByIntent(intent: string): Pattern[];
|
|
2777
|
-
all(): Pattern[];
|
|
2778
|
-
}
|
|
2779
|
-
|
|
2780
|
-
declare class InMemoryPatternStore implements PatternStore {
|
|
2781
|
-
private patterns;
|
|
2782
|
-
save(pattern: Pattern): void;
|
|
2783
|
-
get(patternId: string): Pattern | undefined;
|
|
2784
|
-
findByKind(kind: PatternKind): Pattern[];
|
|
2785
|
-
findByIntent(intent: string): Pattern[];
|
|
2786
|
-
all(): Pattern[];
|
|
2787
|
-
}
|
|
2788
|
-
declare function detectSequencePatterns(stitches: Stitch[], windowSize: number, minOccurrences: number): Pattern[];
|
|
2789
|
-
declare function detectKnotPatterns(knots: Knot[], minOccurrences: number): Pattern[];
|
|
2790
|
-
declare function matchPatterns(stitches: Stitch[], patterns: Pattern[]): PatternMatch[];
|
|
2791
|
-
declare function recordOccurrence(pattern: Pattern, threadId: string): void;
|
|
2792
|
-
declare function detectAnomalies(recentStitches: Stitch[], knownPatterns: Pattern[], threshold?: number): Pattern[];
|
|
2793
|
-
|
|
2794
|
-
interface TpsSensorOptions {
|
|
2795
|
-
maxDriftMs?: number;
|
|
2796
|
-
resolver?: (tps: string) => number | null;
|
|
2797
|
-
}
|
|
2798
|
-
declare class TpsSensor implements AxisSensor {
|
|
2799
|
-
readonly name = "TpsSensor";
|
|
2800
|
-
readonly order: number;
|
|
2801
|
-
private readonly maxDriftMs;
|
|
2802
|
-
private readonly resolver;
|
|
2803
|
-
constructor(options?: TpsSensorOptions);
|
|
2804
|
-
supports(input: SensorInput): boolean;
|
|
2805
|
-
run(input: SensorInput): Promise<SensorDecision>;
|
|
2806
|
-
}
|
|
2807
|
-
|
|
2808
|
-
type RiskSignalCollector = (input: SensorInput) => Promise<RiskSignal[]> | RiskSignal[];
|
|
2809
|
-
interface RiskGateSensorOptions {
|
|
2810
|
-
collectors: RiskSignalCollector[];
|
|
2811
|
-
denyThreshold?: number;
|
|
2812
|
-
flagThreshold?: number;
|
|
2813
|
-
}
|
|
2814
|
-
declare class RiskGateSensor implements AxisSensor {
|
|
2815
|
-
readonly name = "RiskGateSensor";
|
|
2816
|
-
readonly order: number;
|
|
2817
|
-
private readonly collectors;
|
|
2818
|
-
private readonly denyThreshold;
|
|
2819
|
-
private readonly flagThreshold;
|
|
2820
|
-
constructor(options: RiskGateSensorOptions);
|
|
2821
|
-
run(input: SensorInput): Promise<SensorDecision>;
|
|
2822
|
-
private evaluate;
|
|
2823
|
-
}
|
|
2824
|
-
|
|
2825
|
-
interface TickAuthCapsuleRef {
|
|
2826
|
-
capsule_id: string;
|
|
2827
|
-
capsule_type?: string;
|
|
2828
|
-
intent?: string;
|
|
2829
|
-
mode?: string;
|
|
2830
|
-
verification?: {
|
|
2831
|
-
status: 'approved' | 'denied' | 'expired' | 'replay_rejected' | 'consumed' | 'revoked';
|
|
2832
|
-
reason?: string;
|
|
2833
|
-
};
|
|
2834
|
-
scope?: string[];
|
|
2835
|
-
single_use?: boolean;
|
|
2836
|
-
tick_index?: number;
|
|
2837
|
-
}
|
|
2838
|
-
type TickAuthVerifier = (capsule: TickAuthCapsuleRef, input: SensorInput) => Promise<string | null> | (string | null);
|
|
2839
|
-
interface TickAuthSensorOptions {
|
|
2840
|
-
verifier?: TickAuthVerifier;
|
|
2841
|
-
matchIntent?: boolean;
|
|
2842
|
-
acceptTypes?: string[];
|
|
2843
|
-
}
|
|
2844
|
-
declare class TickAuthSensor implements AxisSensor {
|
|
2845
|
-
readonly name = "TickAuthSensor";
|
|
2846
|
-
readonly order: number;
|
|
2847
|
-
private readonly verifier?;
|
|
2848
|
-
private readonly matchIntent;
|
|
2849
|
-
private readonly acceptTypes;
|
|
2850
|
-
constructor(options?: TickAuthSensorOptions);
|
|
2851
|
-
supports(input: SensorInput): boolean;
|
|
2852
|
-
run(input: SensorInput): Promise<SensorDecision>;
|
|
2853
|
-
}
|
|
2854
|
-
|
|
2855
2426
|
interface CceDerivationInput {
|
|
2856
2427
|
axisLocalSecret: string;
|
|
2857
2428
|
capsule: CceCapsuleClaims;
|
|
@@ -3009,91 +2580,91 @@ declare class CceReplayProtectionSensor implements AxisSensor {
|
|
|
3009
2580
|
run(input: SensorInput): Promise<SensorDecision>;
|
|
3010
2581
|
}
|
|
3011
2582
|
|
|
3012
|
-
declare const index$
|
|
3013
|
-
declare const index$
|
|
3014
|
-
declare const index$
|
|
3015
|
-
declare const index$
|
|
3016
|
-
declare const index$
|
|
3017
|
-
declare const index$
|
|
3018
|
-
declare const index$
|
|
3019
|
-
type index$
|
|
3020
|
-
type index$
|
|
3021
|
-
type index$
|
|
3022
|
-
type index$
|
|
3023
|
-
declare const index$
|
|
3024
|
-
type index$
|
|
3025
|
-
type index$
|
|
3026
|
-
type index$
|
|
3027
|
-
type index$
|
|
3028
|
-
type index$
|
|
3029
|
-
declare const index$
|
|
3030
|
-
type index$
|
|
3031
|
-
type index$
|
|
3032
|
-
type index$
|
|
3033
|
-
declare const index$
|
|
3034
|
-
type index$
|
|
3035
|
-
type index$
|
|
3036
|
-
type index$
|
|
3037
|
-
type index$
|
|
3038
|
-
type index$
|
|
3039
|
-
declare const index$
|
|
3040
|
-
type index$
|
|
3041
|
-
declare const index$
|
|
3042
|
-
type index$
|
|
3043
|
-
type index$
|
|
3044
|
-
type index$
|
|
3045
|
-
type index$
|
|
3046
|
-
type index$
|
|
3047
|
-
type index$
|
|
3048
|
-
type index$
|
|
3049
|
-
type index$
|
|
3050
|
-
type index$
|
|
3051
|
-
declare const index$
|
|
3052
|
-
type index$
|
|
3053
|
-
type index$
|
|
3054
|
-
type index$
|
|
3055
|
-
type index$
|
|
3056
|
-
type index$
|
|
3057
|
-
type index$
|
|
3058
|
-
type index$
|
|
3059
|
-
type index$
|
|
3060
|
-
declare const index$
|
|
3061
|
-
type index$
|
|
3062
|
-
type index$
|
|
3063
|
-
type index$
|
|
3064
|
-
type index$
|
|
3065
|
-
type index$
|
|
3066
|
-
type index$
|
|
3067
|
-
type index$
|
|
3068
|
-
type index$
|
|
3069
|
-
declare const index$
|
|
3070
|
-
type index$
|
|
3071
|
-
type index$
|
|
3072
|
-
type index$
|
|
3073
|
-
type index$
|
|
3074
|
-
declare const index$
|
|
3075
|
-
type index$
|
|
3076
|
-
declare const index$
|
|
3077
|
-
declare const index$
|
|
3078
|
-
declare const index$
|
|
3079
|
-
declare const index$
|
|
3080
|
-
declare const index$
|
|
3081
|
-
declare const index$
|
|
3082
|
-
declare const index$
|
|
3083
|
-
declare const index$
|
|
3084
|
-
declare const index$
|
|
3085
|
-
declare const index$
|
|
3086
|
-
declare const index$
|
|
3087
|
-
declare const index$
|
|
3088
|
-
declare const index$
|
|
3089
|
-
declare const index$
|
|
3090
|
-
declare const index$
|
|
3091
|
-
declare const index$
|
|
3092
|
-
declare const index$
|
|
3093
|
-
declare const index$
|
|
3094
|
-
declare const index$
|
|
3095
|
-
declare namespace index$
|
|
3096
|
-
export { index$
|
|
2583
|
+
declare const index$9_CCE_AES_KEY_BYTES: typeof CCE_AES_KEY_BYTES;
|
|
2584
|
+
declare const index$9_CCE_DERIVATION: typeof CCE_DERIVATION;
|
|
2585
|
+
declare const index$9_CCE_ERROR: typeof CCE_ERROR;
|
|
2586
|
+
declare const index$9_CCE_IV_BYTES: typeof CCE_IV_BYTES;
|
|
2587
|
+
declare const index$9_CCE_NONCE_BYTES: typeof CCE_NONCE_BYTES;
|
|
2588
|
+
declare const index$9_CCE_PROTOCOL_VERSION: typeof CCE_PROTOCOL_VERSION;
|
|
2589
|
+
declare const index$9_CCE_TAG_BYTES: typeof CCE_TAG_BYTES;
|
|
2590
|
+
type index$9_CceAesGcmProvider = CceAesGcmProvider;
|
|
2591
|
+
type index$9_CceAlgorithm = CceAlgorithm;
|
|
2592
|
+
type index$9_CceAlgorithmDescriptor = CceAlgorithmDescriptor;
|
|
2593
|
+
type index$9_CceAudienceIntentBindingSensor = CceAudienceIntentBindingSensor;
|
|
2594
|
+
declare const index$9_CceAudienceIntentBindingSensor: typeof CceAudienceIntentBindingSensor;
|
|
2595
|
+
type index$9_CceAxisKeyProvider = CceAxisKeyProvider;
|
|
2596
|
+
type index$9_CceAxisSigner = CceAxisSigner;
|
|
2597
|
+
type index$9_CceCapsuleClaims = CceCapsuleClaims;
|
|
2598
|
+
type index$9_CceCapsuleSignatureVerifier = CceCapsuleSignatureVerifier;
|
|
2599
|
+
type index$9_CceCapsuleVerificationSensor = CceCapsuleVerificationSensor;
|
|
2600
|
+
declare const index$9_CceCapsuleVerificationSensor: typeof CceCapsuleVerificationSensor;
|
|
2601
|
+
type index$9_CceClientKeyEncryptor = CceClientKeyEncryptor;
|
|
2602
|
+
type index$9_CceClientKeyResolver = CceClientKeyResolver;
|
|
2603
|
+
type index$9_CceClientSignatureSensor = CceClientSignatureSensor;
|
|
2604
|
+
declare const index$9_CceClientSignatureSensor: typeof CceClientSignatureSensor;
|
|
2605
|
+
type index$9_CceConstraints = CceConstraints;
|
|
2606
|
+
type index$9_CceDerivationInput = CceDerivationInput;
|
|
2607
|
+
type index$9_CceEncryptedKey = CceEncryptedKey;
|
|
2608
|
+
type index$9_CceEncryptedPayload = CceEncryptedPayload;
|
|
2609
|
+
type index$9_CceEnvelopeValidationSensor = CceEnvelopeValidationSensor;
|
|
2610
|
+
declare const index$9_CceEnvelopeValidationSensor: typeof CceEnvelopeValidationSensor;
|
|
2611
|
+
type index$9_CceError = CceError;
|
|
2612
|
+
declare const index$9_CceError: typeof CceError;
|
|
2613
|
+
type index$9_CceErrorCode = CceErrorCode;
|
|
2614
|
+
type index$9_CceExecutionContext = CceExecutionContext;
|
|
2615
|
+
type index$9_CceHandler = CceHandler;
|
|
2616
|
+
type index$9_CceHandlerContext = CceHandlerContext;
|
|
2617
|
+
type index$9_CceHandlerResult = CceHandlerResult;
|
|
2618
|
+
type index$9_CceIssuerKeyResolver = CceIssuerKeyResolver;
|
|
2619
|
+
type index$9_CceKdfAlgorithm = CceKdfAlgorithm;
|
|
2620
|
+
type index$9_CceKemAlgorithm = CceKemAlgorithm;
|
|
2621
|
+
type index$9_CcePayloadDecryptionSensor = CcePayloadDecryptionSensor;
|
|
2622
|
+
declare const index$9_CcePayloadDecryptionSensor: typeof CcePayloadDecryptionSensor;
|
|
2623
|
+
type index$9_CcePayloadValidator = CcePayloadValidator;
|
|
2624
|
+
type index$9_CcePayloadValidatorResult = CcePayloadValidatorResult;
|
|
2625
|
+
type index$9_CcePipelineConfig = CcePipelineConfig;
|
|
2626
|
+
type index$9_CcePipelineResult = CcePipelineResult;
|
|
2627
|
+
type index$9_CcePolicyContext = CcePolicyContext;
|
|
2628
|
+
type index$9_CcePolicyDecision = CcePolicyDecision;
|
|
2629
|
+
type index$9_CcePolicyEvaluator = CcePolicyEvaluator;
|
|
2630
|
+
type index$9_CceReplayProtectionSensor = CceReplayProtectionSensor;
|
|
2631
|
+
declare const index$9_CceReplayProtectionSensor: typeof CceReplayProtectionSensor;
|
|
2632
|
+
type index$9_CceReplayStore = CceReplayStore;
|
|
2633
|
+
type index$9_CceRequestEnvelope = CceRequestEnvelope;
|
|
2634
|
+
type index$9_CceResponseEnvelope = CceResponseEnvelope;
|
|
2635
|
+
type index$9_CceResponseOptions = CceResponseOptions;
|
|
2636
|
+
type index$9_CceResponseStatus = CceResponseStatus;
|
|
2637
|
+
type index$9_CceSignature = CceSignature;
|
|
2638
|
+
type index$9_CceSignatureVerifier = CceSignatureVerifier;
|
|
2639
|
+
type index$9_CceTpsWindowSensor = CceTpsWindowSensor;
|
|
2640
|
+
declare const index$9_CceTpsWindowSensor: typeof CceTpsWindowSensor;
|
|
2641
|
+
type index$9_CceVerificationState = CceVerificationState;
|
|
2642
|
+
type index$9_CceWitnessRecord = CceWitnessRecord;
|
|
2643
|
+
type index$9_CceWitnessStore = CceWitnessStore;
|
|
2644
|
+
type index$9_InMemoryCceReplayStore = InMemoryCceReplayStore;
|
|
2645
|
+
declare const index$9_InMemoryCceReplayStore: typeof InMemoryCceReplayStore;
|
|
2646
|
+
type index$9_InMemoryCceWitnessStore = InMemoryCceWitnessStore;
|
|
2647
|
+
declare const index$9_InMemoryCceWitnessStore: typeof InMemoryCceWitnessStore;
|
|
2648
|
+
declare const index$9_aesGcmDecrypt: typeof aesGcmDecrypt;
|
|
2649
|
+
declare const index$9_aesGcmEncrypt: typeof aesGcmEncrypt;
|
|
2650
|
+
declare const index$9_base64UrlDecode: typeof base64UrlDecode;
|
|
2651
|
+
declare const index$9_base64UrlEncode: typeof base64UrlEncode;
|
|
2652
|
+
declare const index$9_buildCceErrorResponse: typeof buildCceErrorResponse;
|
|
2653
|
+
declare const index$9_buildCceResponse: typeof buildCceResponse;
|
|
2654
|
+
declare const index$9_buildExecutionContext: typeof buildExecutionContext;
|
|
2655
|
+
declare const index$9_buildWitnessRecord: typeof buildWitnessRecord;
|
|
2656
|
+
declare const index$9_deriveRequestExecutionKey: typeof deriveRequestExecutionKey;
|
|
2657
|
+
declare const index$9_deriveResponseExecutionKey: typeof deriveResponseExecutionKey;
|
|
2658
|
+
declare const index$9_deriveWitnessKey: typeof deriveWitnessKey;
|
|
2659
|
+
declare const index$9_executeCcePipeline: typeof executeCcePipeline;
|
|
2660
|
+
declare const index$9_extractVerificationState: typeof extractVerificationState;
|
|
2661
|
+
declare const index$9_generateAesKey: typeof generateAesKey;
|
|
2662
|
+
declare const index$9_generateCceNonce: typeof generateCceNonce;
|
|
2663
|
+
declare const index$9_generateIv: typeof generateIv;
|
|
2664
|
+
declare const index$9_hashPayload: typeof hashPayload;
|
|
2665
|
+
declare const index$9_nodeAesGcmProvider: typeof nodeAesGcmProvider;
|
|
2666
|
+
declare namespace index$9 {
|
|
2667
|
+
export { index$9_CCE_AES_KEY_BYTES as CCE_AES_KEY_BYTES, index$9_CCE_DERIVATION as CCE_DERIVATION, index$9_CCE_ERROR as CCE_ERROR, index$9_CCE_IV_BYTES as CCE_IV_BYTES, index$9_CCE_NONCE_BYTES as CCE_NONCE_BYTES, index$9_CCE_PROTOCOL_VERSION as CCE_PROTOCOL_VERSION, index$9_CCE_TAG_BYTES as CCE_TAG_BYTES, type index$9_CceAesGcmProvider as CceAesGcmProvider, type index$9_CceAlgorithm as CceAlgorithm, type index$9_CceAlgorithmDescriptor as CceAlgorithmDescriptor, index$9_CceAudienceIntentBindingSensor as CceAudienceIntentBindingSensor, type index$9_CceAxisKeyProvider as CceAxisKeyProvider, type index$9_CceAxisSigner as CceAxisSigner, type index$9_CceCapsuleClaims as CceCapsuleClaims, type index$9_CceCapsuleSignatureVerifier as CceCapsuleSignatureVerifier, index$9_CceCapsuleVerificationSensor as CceCapsuleVerificationSensor, type index$9_CceClientKeyEncryptor as CceClientKeyEncryptor, type index$9_CceClientKeyResolver as CceClientKeyResolver, index$9_CceClientSignatureSensor as CceClientSignatureSensor, type index$9_CceConstraints as CceConstraints, type index$9_CceDerivationInput as CceDerivationInput, type index$9_CceEncryptedKey as CceEncryptedKey, type index$9_CceEncryptedPayload as CceEncryptedPayload, index$9_CceEnvelopeValidationSensor as CceEnvelopeValidationSensor, index$9_CceError as CceError, type index$9_CceErrorCode as CceErrorCode, type index$9_CceExecutionContext as CceExecutionContext, type index$9_CceHandler as CceHandler, type index$9_CceHandlerContext as CceHandlerContext, type index$9_CceHandlerResult as CceHandlerResult, type index$9_CceIssuerKeyResolver as CceIssuerKeyResolver, type index$9_CceKdfAlgorithm as CceKdfAlgorithm, type index$9_CceKemAlgorithm as CceKemAlgorithm, index$9_CcePayloadDecryptionSensor as CcePayloadDecryptionSensor, type index$9_CcePayloadValidator as CcePayloadValidator, type index$9_CcePayloadValidatorResult as CcePayloadValidatorResult, type index$9_CcePipelineConfig as CcePipelineConfig, type index$9_CcePipelineResult as CcePipelineResult, type index$9_CcePolicyContext as CcePolicyContext, type index$9_CcePolicyDecision as CcePolicyDecision, type index$9_CcePolicyEvaluator as CcePolicyEvaluator, index$9_CceReplayProtectionSensor as CceReplayProtectionSensor, type index$9_CceReplayStore as CceReplayStore, type index$9_CceRequestEnvelope as CceRequestEnvelope, type index$9_CceResponseEnvelope as CceResponseEnvelope, type index$9_CceResponseOptions as CceResponseOptions, type index$9_CceResponseStatus as CceResponseStatus, type index$9_CceSignature as CceSignature, type index$9_CceSignatureVerifier as CceSignatureVerifier, index$9_CceTpsWindowSensor as CceTpsWindowSensor, type index$9_CceVerificationState as CceVerificationState, type index$9_CceWitnessRecord as CceWitnessRecord, type index$9_CceWitnessStore as CceWitnessStore, index$9_InMemoryCceReplayStore as InMemoryCceReplayStore, index$9_InMemoryCceWitnessStore as InMemoryCceWitnessStore, index$9_aesGcmDecrypt as aesGcmDecrypt, index$9_aesGcmEncrypt as aesGcmEncrypt, index$9_base64UrlDecode as base64UrlDecode, index$9_base64UrlEncode as base64UrlEncode, index$9_buildCceErrorResponse as buildCceErrorResponse, index$9_buildCceResponse as buildCceResponse, index$9_buildExecutionContext as buildExecutionContext, index$9_buildWitnessRecord as buildWitnessRecord, index$9_deriveRequestExecutionKey as deriveRequestExecutionKey, index$9_deriveResponseExecutionKey as deriveResponseExecutionKey, index$9_deriveWitnessKey as deriveWitnessKey, index$9_executeCcePipeline as executeCcePipeline, index$9_extractVerificationState as extractVerificationState, index$9_generateAesKey as generateAesKey, index$9_generateCceNonce as generateCceNonce, index$9_generateIv as generateIv, index$9_hashPayload as hashPayload, index$9_nodeAesGcmProvider as nodeAesGcmProvider };
|
|
3097
2668
|
}
|
|
3098
2669
|
|
|
3099
2670
|
type ProofType = 1 | 2 | 3 | 4;
|
|
@@ -3137,279 +2708,223 @@ declare class ProofVerificationService {
|
|
|
3137
2708
|
static calculateFingerprint(certPem: string): string;
|
|
3138
2709
|
}
|
|
3139
2710
|
|
|
3140
|
-
type index$
|
|
3141
|
-
type index$
|
|
3142
|
-
type index$
|
|
3143
|
-
type index$
|
|
3144
|
-
type index$
|
|
3145
|
-
type index$
|
|
3146
|
-
type index$
|
|
3147
|
-
type index$
|
|
3148
|
-
type index$
|
|
3149
|
-
type index$
|
|
3150
|
-
type index$
|
|
3151
|
-
type index$
|
|
3152
|
-
type index$
|
|
3153
|
-
type index$
|
|
3154
|
-
type index$
|
|
3155
|
-
type index$
|
|
3156
|
-
type index$
|
|
3157
|
-
type index$
|
|
3158
|
-
type index$
|
|
3159
|
-
type index$
|
|
3160
|
-
declare const index$
|
|
3161
|
-
type index$
|
|
3162
|
-
declare const index$
|
|
3163
|
-
declare const index$
|
|
3164
|
-
declare const index$
|
|
3165
|
-
declare const index$
|
|
3166
|
-
declare const index$
|
|
3167
|
-
declare const index$
|
|
3168
|
-
declare namespace index$b {
|
|
3169
|
-
export { type index$b_ActorKeyRecord as ActorKeyRecord, type AxisAlg$1 as AxisAlg, type index$b_AxisCapsule as AxisCapsule, type index$b_AxisCapsuleConstraints as AxisCapsuleConstraints, type index$b_AxisCapsulePayload as AxisCapsulePayload, type AxisPacket$1 as AxisPacket, type AxisResponse$1 as AxisResponse, type AxisSig$1 as AxisSig, type index$b_CapsuleBatchBody as CapsuleBatchBody, type index$b_CapsuleBatchResult as CapsuleBatchResult, type index$b_CapsuleIssueBody as CapsuleIssueBody, type index$b_CapsuleIssueResult as CapsuleIssueResult, type index$b_CapsuleMode as CapsuleMode, type index$b_CapsuleRecord as CapsuleRecord, type index$b_CapsuleRevokeBody as CapsuleRevokeBody, type index$b_CapsuleStatus as CapsuleStatus, type index$b_DeviceSEContext as DeviceSEContext, type index$b_IntentExecBody as IntentExecBody, type index$b_IssuerKeyRecord as IssuerKeyRecord, type index$b_KeyStatus as KeyStatus, type index$b_MTLSContext as MTLSContext, type index$b_ProofType as ProofType, type index$b_ProofVerificationResult as ProofVerificationResult, index$b_ProofVerificationService as ProofVerificationService, type index$b_TickWindow as TickWindow, index$b_b64urlDecode as b64urlDecode, index$b_b64urlDecodeString as b64urlDecodeString, index$b_b64urlEncode as b64urlEncode, index$b_b64urlEncodeString as b64urlEncodeString, index$b_canonicalJson as canonicalJson, index$b_canonicalJsonExcluding as canonicalJsonExcluding };
|
|
3170
|
-
}
|
|
3171
|
-
|
|
3172
|
-
declare const index$a_AxisDemoPubkey: typeof AxisDemoPubkey;
|
|
3173
|
-
declare const index$a_AxisFrame: typeof AxisFrame;
|
|
3174
|
-
declare const index$a_AxisIp: typeof AxisIp;
|
|
3175
|
-
declare const index$a_AxisRaw: typeof AxisRaw;
|
|
3176
|
-
type index$a_AxisRequestData = AxisRequestData;
|
|
3177
|
-
type index$a_DtoSchema = DtoSchema;
|
|
3178
|
-
declare const index$a_HANDLER_METADATA_KEY: typeof HANDLER_METADATA_KEY;
|
|
3179
|
-
declare const index$a_Handler: typeof Handler;
|
|
3180
|
-
declare const index$a_INTENT_BODY_KEY: typeof INTENT_BODY_KEY;
|
|
3181
|
-
declare const index$a_INTENT_METADATA_KEY: typeof INTENT_METADATA_KEY;
|
|
3182
|
-
declare const index$a_INTENT_ROUTES_KEY: typeof INTENT_ROUTES_KEY;
|
|
3183
|
-
declare const index$a_INTENT_SENSORS_KEY: typeof INTENT_SENSORS_KEY;
|
|
3184
|
-
declare const index$a_Intent: typeof Intent;
|
|
3185
|
-
declare const index$a_IntentBody: typeof IntentBody;
|
|
3186
|
-
type index$a_IntentKind = IntentKind;
|
|
3187
|
-
type index$a_IntentOptions = IntentOptions;
|
|
3188
|
-
type index$a_IntentRoute = IntentRoute;
|
|
3189
|
-
declare const index$a_IntentSensors: typeof IntentSensors;
|
|
3190
|
-
type index$a_IntentTlvField = IntentTlvField;
|
|
3191
|
-
declare const index$a_SENSOR_METADATA_KEY: typeof SENSOR_METADATA_KEY;
|
|
3192
|
-
declare const index$a_Sensor: typeof Sensor;
|
|
3193
|
-
type index$a_SensorOptions = SensorOptions;
|
|
3194
|
-
type index$a_SensorPhase = SensorPhase;
|
|
3195
|
-
declare const index$a_TLV_FIELDS_KEY: typeof TLV_FIELDS_KEY;
|
|
3196
|
-
declare const index$a_TLV_VALIDATORS_KEY: typeof TLV_VALIDATORS_KEY;
|
|
3197
|
-
declare const index$a_TlvEnum: typeof TlvEnum;
|
|
3198
|
-
declare const index$a_TlvField: typeof TlvField;
|
|
3199
|
-
type index$a_TlvFieldKind = TlvFieldKind;
|
|
3200
|
-
type index$a_TlvFieldMeta = TlvFieldMeta;
|
|
3201
|
-
type index$a_TlvFieldOptions = TlvFieldOptions;
|
|
3202
|
-
declare const index$a_TlvMinLen: typeof TlvMinLen;
|
|
3203
|
-
declare const index$a_TlvRange: typeof TlvRange;
|
|
3204
|
-
declare const index$a_TlvUtf8Pattern: typeof TlvUtf8Pattern;
|
|
3205
|
-
declare const index$a_TlvValidate: typeof TlvValidate;
|
|
3206
|
-
type index$a_TlvValidatorFn = TlvValidatorFn;
|
|
3207
|
-
type index$a_TlvValidatorMeta = TlvValidatorMeta;
|
|
3208
|
-
declare const index$a_buildDtoDecoder: typeof buildDtoDecoder;
|
|
3209
|
-
declare const index$a_extractDtoSchema: typeof extractDtoSchema;
|
|
3210
|
-
declare namespace index$a {
|
|
3211
|
-
export { AxisContext$1 as AxisContext, index$a_AxisDemoPubkey as AxisDemoPubkey, index$a_AxisFrame as AxisFrame, index$a_AxisIp as AxisIp, index$a_AxisRaw as AxisRaw, type index$a_AxisRequestData as AxisRequestData, type index$a_DtoSchema as DtoSchema, index$a_HANDLER_METADATA_KEY as HANDLER_METADATA_KEY, index$a_Handler as Handler, index$a_INTENT_BODY_KEY as INTENT_BODY_KEY, index$a_INTENT_METADATA_KEY as INTENT_METADATA_KEY, index$a_INTENT_ROUTES_KEY as INTENT_ROUTES_KEY, index$a_INTENT_SENSORS_KEY as INTENT_SENSORS_KEY, index$a_Intent as Intent, index$a_IntentBody as IntentBody, type index$a_IntentKind as IntentKind, type index$a_IntentOptions as IntentOptions, type index$a_IntentRoute as IntentRoute, index$a_IntentSensors as IntentSensors, type index$a_IntentTlvField as IntentTlvField, index$a_SENSOR_METADATA_KEY as SENSOR_METADATA_KEY, index$a_Sensor as Sensor, type index$a_SensorOptions as SensorOptions, type index$a_SensorPhase as SensorPhase, index$a_TLV_FIELDS_KEY as TLV_FIELDS_KEY, index$a_TLV_VALIDATORS_KEY as TLV_VALIDATORS_KEY, index$a_TlvEnum as TlvEnum, index$a_TlvField as TlvField, type index$a_TlvFieldKind as TlvFieldKind, type index$a_TlvFieldMeta as TlvFieldMeta, type index$a_TlvFieldOptions as TlvFieldOptions, index$a_TlvMinLen as TlvMinLen, index$a_TlvRange as TlvRange, index$a_TlvUtf8Pattern as TlvUtf8Pattern, index$a_TlvValidate as TlvValidate, type index$a_TlvValidatorFn as TlvValidatorFn, type index$a_TlvValidatorMeta as TlvValidatorMeta, index$a_buildDtoDecoder as buildDtoDecoder, index$a_extractDtoSchema as extractDtoSchema };
|
|
3212
|
-
}
|
|
3213
|
-
|
|
3214
|
-
type index$9_ObservationQueueConfig = ObservationQueueConfig;
|
|
3215
|
-
type index$9_ObservationQueueMessage = ObservationQueueMessage;
|
|
3216
|
-
type index$9_ObservationStreamEntry = ObservationStreamEntry;
|
|
3217
|
-
type index$9_ObservationWitnessSummary = ObservationWitnessSummary;
|
|
3218
|
-
type index$9_ObserverVerdict = ObserverVerdict;
|
|
3219
|
-
type index$9_ResponseContract = ResponseContract;
|
|
3220
|
-
declare const index$9_ResponseObserver: typeof ResponseObserver;
|
|
3221
|
-
type index$9_ResponseObserverContext = ResponseObserverContext;
|
|
3222
|
-
type index$9_UnsignedObservationWitness = UnsignedObservationWitness;
|
|
3223
|
-
declare const index$9_buildQueueMessage: typeof buildQueueMessage;
|
|
3224
|
-
declare const index$9_buildUnsignedWitness: typeof buildUnsignedWitness;
|
|
3225
|
-
declare const index$9_canonicalizeObservation: typeof canonicalizeObservation;
|
|
3226
|
-
declare const index$9_decodeQueueMessage: typeof decodeQueueMessage;
|
|
3227
|
-
declare const index$9_encodeQueueMessage: typeof encodeQueueMessage;
|
|
3228
|
-
declare const index$9_hashObservation: typeof hashObservation;
|
|
3229
|
-
declare const index$9_parseAutoClaimEntries: typeof parseAutoClaimEntries;
|
|
3230
|
-
declare const index$9_parseStreamEntries: typeof parseStreamEntries;
|
|
3231
|
-
declare const index$9_stableJsonStringify: typeof stableJsonStringify;
|
|
3232
|
-
declare const index$9_verifyResponse: typeof verifyResponse;
|
|
3233
|
-
declare namespace index$9 {
|
|
3234
|
-
export { type index$9_ObservationQueueConfig as ObservationQueueConfig, type index$9_ObservationQueueMessage as ObservationQueueMessage, type index$9_ObservationStreamEntry as ObservationStreamEntry, type index$9_ObservationWitnessSummary as ObservationWitnessSummary, type index$9_ObserverVerdict as ObserverVerdict, type index$9_ResponseContract as ResponseContract, index$9_ResponseObserver as ResponseObserver, type index$9_ResponseObserverContext as ResponseObserverContext, type index$9_UnsignedObservationWitness as UnsignedObservationWitness, index$9_buildQueueMessage as buildQueueMessage, index$9_buildUnsignedWitness as buildUnsignedWitness, index$9_canonicalizeObservation as canonicalizeObservation, index$9_decodeQueueMessage as decodeQueueMessage, index$9_encodeQueueMessage as encodeQueueMessage, index$9_hashObservation as hashObservation, index$9_parseAutoClaimEntries as parseAutoClaimEntries, index$9_parseStreamEntries as parseStreamEntries, index$9_stableJsonStringify as stableJsonStringify, index$9_verifyResponse as verifyResponse };
|
|
3235
|
-
}
|
|
3236
|
-
|
|
3237
|
-
type index$8_AxisDecoded = AxisDecoded;
|
|
3238
|
-
type index$8_AxisEffect = AxisEffect;
|
|
3239
|
-
type index$8_AxisObservation = AxisObservation;
|
|
3240
|
-
declare const index$8_BAND: typeof BAND;
|
|
3241
|
-
type index$8_HandlerDiscoveryService = HandlerDiscoveryService;
|
|
3242
|
-
declare const index$8_HandlerDiscoveryService: typeof HandlerDiscoveryService;
|
|
3243
|
-
type index$8_IntentRouter = IntentRouter;
|
|
3244
|
-
declare const index$8_IntentRouter: typeof IntentRouter;
|
|
3245
|
-
type index$8_ObservationQueueConfig = ObservationQueueConfig;
|
|
3246
|
-
type index$8_ObservationQueueMessage = ObservationQueueMessage;
|
|
3247
|
-
type index$8_ObservationSensor = ObservationSensor;
|
|
3248
|
-
type index$8_ObservationStage = ObservationStage;
|
|
3249
|
-
type index$8_ObservationStreamEntry = ObservationStreamEntry;
|
|
3250
|
-
type index$8_ObservationWitnessSummary = ObservationWitnessSummary;
|
|
3251
|
-
type index$8_ObserverVerdict = ObserverVerdict;
|
|
3252
|
-
declare const index$8_PRE_DECODE_BOUNDARY: typeof PRE_DECODE_BOUNDARY;
|
|
3253
|
-
type index$8_ResponseContract = ResponseContract;
|
|
3254
|
-
declare const index$8_ResponseObserver: typeof ResponseObserver;
|
|
3255
|
-
type index$8_ResponseObserverContext = ResponseObserverContext;
|
|
3256
|
-
type index$8_SensorBand = SensorBand;
|
|
3257
|
-
type index$8_SensorDiscoveryService = SensorDiscoveryService;
|
|
3258
|
-
declare const index$8_SensorDiscoveryService: typeof SensorDiscoveryService;
|
|
3259
|
-
type index$8_SensorRegistry = SensorRegistry;
|
|
3260
|
-
declare const index$8_SensorRegistry: typeof SensorRegistry;
|
|
3261
|
-
type index$8_UnsignedObservationWitness = UnsignedObservationWitness;
|
|
3262
|
-
declare const index$8_buildQueueMessage: typeof buildQueueMessage;
|
|
3263
|
-
declare const index$8_buildUnsignedWitness: typeof buildUnsignedWitness;
|
|
3264
|
-
declare const index$8_canonicalizeObservation: typeof canonicalizeObservation;
|
|
3265
|
-
declare const index$8_createObservation: typeof createObservation;
|
|
3266
|
-
declare const index$8_decodeQueueMessage: typeof decodeQueueMessage;
|
|
3267
|
-
declare const index$8_encodeQueueMessage: typeof encodeQueueMessage;
|
|
3268
|
-
declare const index$8_endStage: typeof endStage;
|
|
3269
|
-
declare const index$8_finalizeObservation: typeof finalizeObservation;
|
|
3270
|
-
declare const index$8_hashObservation: typeof hashObservation;
|
|
3271
|
-
declare const index$8_parseAutoClaimEntries: typeof parseAutoClaimEntries;
|
|
3272
|
-
declare const index$8_parseStreamEntries: typeof parseStreamEntries;
|
|
3273
|
-
declare const index$8_recordSensor: typeof recordSensor;
|
|
3274
|
-
declare const index$8_stableJsonStringify: typeof stableJsonStringify;
|
|
3275
|
-
declare const index$8_startStage: typeof startStage;
|
|
3276
|
-
declare const index$8_verifyResponse: typeof verifyResponse;
|
|
2711
|
+
type index$8_ActorKeyRecord = ActorKeyRecord;
|
|
2712
|
+
type index$8_AxisCapsule = AxisCapsule;
|
|
2713
|
+
type index$8_AxisCapsuleConstraints = AxisCapsuleConstraints;
|
|
2714
|
+
type index$8_AxisCapsulePayload = AxisCapsulePayload;
|
|
2715
|
+
type index$8_CapsuleBatchBody = CapsuleBatchBody;
|
|
2716
|
+
type index$8_CapsuleBatchResult = CapsuleBatchResult;
|
|
2717
|
+
type index$8_CapsuleIssueBody = CapsuleIssueBody;
|
|
2718
|
+
type index$8_CapsuleIssueResult = CapsuleIssueResult;
|
|
2719
|
+
type index$8_CapsuleMode = CapsuleMode;
|
|
2720
|
+
type index$8_CapsuleRecord = CapsuleRecord;
|
|
2721
|
+
type index$8_CapsuleRevokeBody = CapsuleRevokeBody;
|
|
2722
|
+
type index$8_CapsuleStatus = CapsuleStatus;
|
|
2723
|
+
type index$8_DeviceSEContext = DeviceSEContext;
|
|
2724
|
+
type index$8_IntentExecBody = IntentExecBody;
|
|
2725
|
+
type index$8_IssuerKeyRecord = IssuerKeyRecord;
|
|
2726
|
+
type index$8_KeyStatus = KeyStatus;
|
|
2727
|
+
type index$8_MTLSContext = MTLSContext;
|
|
2728
|
+
type index$8_ProofType = ProofType;
|
|
2729
|
+
type index$8_ProofVerificationResult = ProofVerificationResult;
|
|
2730
|
+
type index$8_ProofVerificationService = ProofVerificationService;
|
|
2731
|
+
declare const index$8_ProofVerificationService: typeof ProofVerificationService;
|
|
2732
|
+
type index$8_TickWindow = TickWindow;
|
|
2733
|
+
declare const index$8_b64urlDecode: typeof b64urlDecode;
|
|
2734
|
+
declare const index$8_b64urlDecodeString: typeof b64urlDecodeString;
|
|
2735
|
+
declare const index$8_b64urlEncode: typeof b64urlEncode;
|
|
2736
|
+
declare const index$8_b64urlEncodeString: typeof b64urlEncodeString;
|
|
2737
|
+
declare const index$8_canonicalJson: typeof canonicalJson;
|
|
2738
|
+
declare const index$8_canonicalJsonExcluding: typeof canonicalJsonExcluding;
|
|
3277
2739
|
declare namespace index$8 {
|
|
3278
|
-
export { type index$
|
|
3279
|
-
}
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
type index$
|
|
3285
|
-
type index$
|
|
3286
|
-
type index$
|
|
3287
|
-
type index$
|
|
3288
|
-
declare const index$
|
|
3289
|
-
type index$
|
|
3290
|
-
declare const index$
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
type index$
|
|
3294
|
-
type index$
|
|
3295
|
-
|
|
2740
|
+
export { type index$8_ActorKeyRecord as ActorKeyRecord, type AxisAlg$1 as AxisAlg, type index$8_AxisCapsule as AxisCapsule, type index$8_AxisCapsuleConstraints as AxisCapsuleConstraints, type index$8_AxisCapsulePayload as AxisCapsulePayload, type AxisPacket$1 as AxisPacket, type AxisResponse$1 as AxisResponse, type AxisSig$1 as AxisSig, type index$8_CapsuleBatchBody as CapsuleBatchBody, type index$8_CapsuleBatchResult as CapsuleBatchResult, type index$8_CapsuleIssueBody as CapsuleIssueBody, type index$8_CapsuleIssueResult as CapsuleIssueResult, type index$8_CapsuleMode as CapsuleMode, type index$8_CapsuleRecord as CapsuleRecord, type index$8_CapsuleRevokeBody as CapsuleRevokeBody, type index$8_CapsuleStatus as CapsuleStatus, type index$8_DeviceSEContext as DeviceSEContext, type index$8_IntentExecBody as IntentExecBody, type index$8_IssuerKeyRecord as IssuerKeyRecord, type index$8_KeyStatus as KeyStatus, type index$8_MTLSContext as MTLSContext, type index$8_ProofType as ProofType, type index$8_ProofVerificationResult as ProofVerificationResult, index$8_ProofVerificationService as ProofVerificationService, type index$8_TickWindow as TickWindow, index$8_b64urlDecode as b64urlDecode, index$8_b64urlDecodeString as b64urlDecodeString, index$8_b64urlEncode as b64urlEncode, index$8_b64urlEncodeString as b64urlEncodeString, index$8_canonicalJson as canonicalJson, index$8_canonicalJsonExcluding as canonicalJsonExcluding };
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
declare const index$7_AxisDemoPubkey: typeof AxisDemoPubkey;
|
|
2744
|
+
declare const index$7_AxisFrame: typeof AxisFrame;
|
|
2745
|
+
declare const index$7_AxisIp: typeof AxisIp;
|
|
2746
|
+
type index$7_AxisObserverBinding = AxisObserverBinding;
|
|
2747
|
+
type index$7_AxisObserverBindingOptions = AxisObserverBindingOptions;
|
|
2748
|
+
type index$7_AxisObserverDefinition = AxisObserverDefinition;
|
|
2749
|
+
type index$7_AxisObserverRef = AxisObserverRef;
|
|
2750
|
+
declare const index$7_AxisRaw: typeof AxisRaw;
|
|
2751
|
+
type index$7_AxisRequestData = AxisRequestData;
|
|
2752
|
+
declare const index$7_CAPSULE_POLICY_METADATA_KEY: typeof CAPSULE_POLICY_METADATA_KEY;
|
|
2753
|
+
declare const index$7_CHAIN_METADATA_KEY: typeof CHAIN_METADATA_KEY;
|
|
2754
|
+
declare const index$7_CapsulePolicy: typeof CapsulePolicy;
|
|
2755
|
+
type index$7_CapsulePolicyOptions = CapsulePolicyOptions;
|
|
2756
|
+
type index$7_CapsuleScopeMode = CapsuleScopeMode;
|
|
2757
|
+
declare const index$7_Chain: typeof Chain;
|
|
2758
|
+
type index$7_DtoSchema = DtoSchema;
|
|
2759
|
+
declare const index$7_HANDLER_METADATA_KEY: typeof HANDLER_METADATA_KEY;
|
|
2760
|
+
declare const index$7_Handler: typeof Handler;
|
|
2761
|
+
declare const index$7_INTENT_BODY_KEY: typeof INTENT_BODY_KEY;
|
|
2762
|
+
declare const index$7_INTENT_METADATA_KEY: typeof INTENT_METADATA_KEY;
|
|
2763
|
+
declare const index$7_INTENT_ROUTES_KEY: typeof INTENT_ROUTES_KEY;
|
|
2764
|
+
declare const index$7_INTENT_SENSORS_KEY: typeof INTENT_SENSORS_KEY;
|
|
2765
|
+
declare const index$7_Intent: typeof Intent;
|
|
2766
|
+
declare const index$7_IntentBody: typeof IntentBody;
|
|
2767
|
+
type index$7_IntentKind = IntentKind;
|
|
2768
|
+
type index$7_IntentOptions = IntentOptions;
|
|
2769
|
+
type index$7_IntentRoute = IntentRoute;
|
|
2770
|
+
declare const index$7_IntentSensors: typeof IntentSensors;
|
|
2771
|
+
type index$7_IntentTlvField = IntentTlvField;
|
|
2772
|
+
declare const index$7_OBSERVER_BINDINGS_KEY: typeof OBSERVER_BINDINGS_KEY;
|
|
2773
|
+
declare const index$7_OBSERVER_METADATA_KEY: typeof OBSERVER_METADATA_KEY;
|
|
2774
|
+
declare const index$7_Observer: typeof Observer;
|
|
2775
|
+
declare const index$7_SENSOR_METADATA_KEY: typeof SENSOR_METADATA_KEY;
|
|
2776
|
+
declare const index$7_Sensor: typeof Sensor;
|
|
2777
|
+
type index$7_SensorOptions = SensorOptions;
|
|
2778
|
+
type index$7_SensorPhase = SensorPhase;
|
|
2779
|
+
declare const index$7_TLV_FIELDS_KEY: typeof TLV_FIELDS_KEY;
|
|
2780
|
+
declare const index$7_TLV_VALIDATORS_KEY: typeof TLV_VALIDATORS_KEY;
|
|
2781
|
+
declare const index$7_TlvEnum: typeof TlvEnum;
|
|
2782
|
+
declare const index$7_TlvField: typeof TlvField;
|
|
2783
|
+
type index$7_TlvFieldKind = TlvFieldKind;
|
|
2784
|
+
type index$7_TlvFieldMeta = TlvFieldMeta;
|
|
2785
|
+
type index$7_TlvFieldOptions = TlvFieldOptions;
|
|
2786
|
+
declare const index$7_TlvMinLen: typeof TlvMinLen;
|
|
2787
|
+
declare const index$7_TlvRange: typeof TlvRange;
|
|
2788
|
+
declare const index$7_TlvUtf8Pattern: typeof TlvUtf8Pattern;
|
|
2789
|
+
declare const index$7_TlvValidate: typeof TlvValidate;
|
|
2790
|
+
type index$7_TlvValidatorFn = TlvValidatorFn;
|
|
2791
|
+
type index$7_TlvValidatorMeta = TlvValidatorMeta;
|
|
2792
|
+
declare const index$7_buildDtoDecoder: typeof buildDtoDecoder;
|
|
2793
|
+
declare const index$7_extractDtoSchema: typeof extractDtoSchema;
|
|
2794
|
+
declare const index$7_mergeCapsulePolicyOptions: typeof mergeCapsulePolicyOptions;
|
|
2795
|
+
declare const index$7_normalizeCapsulePolicyOptions: typeof normalizeCapsulePolicyOptions;
|
|
3296
2796
|
declare namespace index$7 {
|
|
3297
|
-
export { type index$
|
|
3298
|
-
}
|
|
3299
|
-
|
|
3300
|
-
type index$
|
|
3301
|
-
type index$
|
|
3302
|
-
type index$
|
|
3303
|
-
type index$
|
|
3304
|
-
type index$
|
|
3305
|
-
type index$
|
|
3306
|
-
|
|
3307
|
-
type index$
|
|
3308
|
-
type index$
|
|
3309
|
-
declare const index$
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
type index$6_Writ = Writ;
|
|
3320
|
-
type index$6_WritBody = WritBody;
|
|
3321
|
-
type index$6_WritHead = WritHead;
|
|
3322
|
-
type index$6_WritMeta = WritMeta;
|
|
3323
|
-
type index$6_WritSignature = WritSignature;
|
|
3324
|
-
type index$6_WritValidationResult = WritValidationResult;
|
|
3325
|
-
declare const index$6_canonicalizeGrant: typeof canonicalizeGrant;
|
|
3326
|
-
declare const index$6_canonicalizeWrit: typeof canonicalizeWrit;
|
|
3327
|
-
declare const index$6_createGrant: typeof createGrant;
|
|
3328
|
-
declare const index$6_createPresenceChallenge: typeof createPresenceChallenge;
|
|
3329
|
-
declare const index$6_createReceipt: typeof createReceipt;
|
|
3330
|
-
declare const index$6_createRevocation: typeof createRevocation;
|
|
3331
|
-
declare const index$6_createWrit: typeof createWrit;
|
|
3332
|
-
declare const index$6_deriveAnchorReflection: typeof deriveAnchorReflection;
|
|
3333
|
-
declare const index$6_executeLoomPipeline: typeof executeLoomPipeline;
|
|
3334
|
-
declare const index$6_getGrantStatus: typeof getGrantStatus;
|
|
3335
|
-
declare const index$6_getPresenceStatus: typeof getPresenceStatus;
|
|
3336
|
-
declare const index$6_grantCoversAction: typeof grantCoversAction;
|
|
3337
|
-
declare const index$6_isRevoked: typeof isRevoked;
|
|
3338
|
-
declare const index$6_renewPresence: typeof renewPresence;
|
|
3339
|
-
declare const index$6_signPresenceChallenge: typeof signPresenceChallenge;
|
|
3340
|
-
declare const index$6_updateThreadState: typeof updateThreadState;
|
|
3341
|
-
declare const index$6_validateGrant: typeof validateGrant;
|
|
3342
|
-
declare const index$6_validateWrit: typeof validateWrit;
|
|
3343
|
-
declare const index$6_verifyPresenceProof: typeof verifyPresenceProof;
|
|
3344
|
-
declare const index$6_verifyReceiptChain: typeof verifyReceiptChain;
|
|
2797
|
+
export { AxisContext$1 as AxisContext, index$7_AxisDemoPubkey as AxisDemoPubkey, index$7_AxisFrame as AxisFrame, index$7_AxisIp as AxisIp, type index$7_AxisObserverBinding as AxisObserverBinding, type index$7_AxisObserverBindingOptions as AxisObserverBindingOptions, type index$7_AxisObserverDefinition as AxisObserverDefinition, type index$7_AxisObserverRef as AxisObserverRef, index$7_AxisRaw as AxisRaw, type index$7_AxisRequestData as AxisRequestData, index$7_CAPSULE_POLICY_METADATA_KEY as CAPSULE_POLICY_METADATA_KEY, index$7_CHAIN_METADATA_KEY as CHAIN_METADATA_KEY, index$7_CapsulePolicy as CapsulePolicy, type index$7_CapsulePolicyOptions as CapsulePolicyOptions, type index$7_CapsuleScopeMode as CapsuleScopeMode, index$7_Chain as Chain, type index$7_DtoSchema as DtoSchema, index$7_HANDLER_METADATA_KEY as HANDLER_METADATA_KEY, index$7_Handler as Handler, index$7_INTENT_BODY_KEY as INTENT_BODY_KEY, index$7_INTENT_METADATA_KEY as INTENT_METADATA_KEY, index$7_INTENT_ROUTES_KEY as INTENT_ROUTES_KEY, index$7_INTENT_SENSORS_KEY as INTENT_SENSORS_KEY, index$7_Intent as Intent, index$7_IntentBody as IntentBody, type index$7_IntentKind as IntentKind, type index$7_IntentOptions as IntentOptions, type index$7_IntentRoute as IntentRoute, index$7_IntentSensors as IntentSensors, type index$7_IntentTlvField as IntentTlvField, index$7_OBSERVER_BINDINGS_KEY as OBSERVER_BINDINGS_KEY, index$7_OBSERVER_METADATA_KEY as OBSERVER_METADATA_KEY, index$7_Observer as Observer, index$7_SENSOR_METADATA_KEY as SENSOR_METADATA_KEY, index$7_Sensor as Sensor, type index$7_SensorOptions as SensorOptions, type index$7_SensorPhase as SensorPhase, index$7_TLV_FIELDS_KEY as TLV_FIELDS_KEY, index$7_TLV_VALIDATORS_KEY as TLV_VALIDATORS_KEY, index$7_TlvEnum as TlvEnum, index$7_TlvField as TlvField, type index$7_TlvFieldKind as TlvFieldKind, type index$7_TlvFieldMeta as TlvFieldMeta, type index$7_TlvFieldOptions as TlvFieldOptions, index$7_TlvMinLen as TlvMinLen, index$7_TlvRange as TlvRange, index$7_TlvUtf8Pattern as TlvUtf8Pattern, index$7_TlvValidate as TlvValidate, type index$7_TlvValidatorFn as TlvValidatorFn, type index$7_TlvValidatorMeta as TlvValidatorMeta, index$7_buildDtoDecoder as buildDtoDecoder, index$7_extractDtoSchema as extractDtoSchema, index$7_mergeCapsulePolicyOptions as mergeCapsulePolicyOptions, index$7_normalizeCapsulePolicyOptions as normalizeCapsulePolicyOptions };
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
type index$6_ObservationQueueConfig = ObservationQueueConfig;
|
|
2801
|
+
type index$6_ObservationQueueMessage = ObservationQueueMessage;
|
|
2802
|
+
type index$6_ObservationStreamEntry = ObservationStreamEntry;
|
|
2803
|
+
type index$6_ObservationWitnessSummary = ObservationWitnessSummary;
|
|
2804
|
+
type index$6_ObserverVerdict = ObserverVerdict;
|
|
2805
|
+
type index$6_ResponseContract = ResponseContract;
|
|
2806
|
+
declare const index$6_ResponseObserver: typeof ResponseObserver;
|
|
2807
|
+
type index$6_ResponseObserverContext = ResponseObserverContext;
|
|
2808
|
+
type index$6_UnsignedObservationWitness = UnsignedObservationWitness;
|
|
2809
|
+
declare const index$6_buildQueueMessage: typeof buildQueueMessage;
|
|
2810
|
+
declare const index$6_buildUnsignedWitness: typeof buildUnsignedWitness;
|
|
2811
|
+
declare const index$6_canonicalizeObservation: typeof canonicalizeObservation;
|
|
2812
|
+
declare const index$6_decodeQueueMessage: typeof decodeQueueMessage;
|
|
2813
|
+
declare const index$6_encodeQueueMessage: typeof encodeQueueMessage;
|
|
2814
|
+
declare const index$6_hashObservation: typeof hashObservation;
|
|
2815
|
+
declare const index$6_parseAutoClaimEntries: typeof parseAutoClaimEntries;
|
|
2816
|
+
declare const index$6_parseStreamEntries: typeof parseStreamEntries;
|
|
2817
|
+
declare const index$6_stableJsonStringify: typeof stableJsonStringify;
|
|
2818
|
+
declare const index$6_verifyResponse: typeof verifyResponse;
|
|
3345
2819
|
declare namespace index$6 {
|
|
3346
|
-
export { type index$
|
|
3347
|
-
}
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
type index$
|
|
3351
|
-
type index$
|
|
3352
|
-
type index$
|
|
3353
|
-
type index$
|
|
3354
|
-
type index$
|
|
3355
|
-
|
|
3356
|
-
type index$
|
|
3357
|
-
type index$
|
|
3358
|
-
|
|
3359
|
-
type index$
|
|
3360
|
-
type index$
|
|
3361
|
-
type index$
|
|
3362
|
-
type index$
|
|
3363
|
-
type index$
|
|
3364
|
-
type index$
|
|
3365
|
-
type index$
|
|
3366
|
-
type index$
|
|
3367
|
-
type index$
|
|
3368
|
-
type index$
|
|
3369
|
-
type index$
|
|
3370
|
-
type index$
|
|
3371
|
-
type index$
|
|
3372
|
-
type index$
|
|
3373
|
-
|
|
3374
|
-
type index$
|
|
3375
|
-
type index$
|
|
3376
|
-
|
|
3377
|
-
type index$
|
|
3378
|
-
|
|
3379
|
-
type index$
|
|
3380
|
-
type index$
|
|
3381
|
-
type index$
|
|
3382
|
-
type index$
|
|
3383
|
-
type index$
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
declare const index$
|
|
3387
|
-
|
|
3388
|
-
declare const index$
|
|
3389
|
-
|
|
3390
|
-
declare const index$
|
|
3391
|
-
|
|
3392
|
-
declare const index$
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
declare const index$
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
declare const index$
|
|
3400
|
-
|
|
3401
|
-
declare const index$
|
|
3402
|
-
|
|
3403
|
-
declare const index$
|
|
3404
|
-
declare const index$
|
|
3405
|
-
declare const index$
|
|
3406
|
-
declare const index$
|
|
3407
|
-
declare const index$
|
|
3408
|
-
declare const index$
|
|
3409
|
-
declare const index$
|
|
3410
|
-
declare const index$
|
|
2820
|
+
export { type index$6_ObservationQueueConfig as ObservationQueueConfig, type index$6_ObservationQueueMessage as ObservationQueueMessage, type index$6_ObservationStreamEntry as ObservationStreamEntry, type index$6_ObservationWitnessSummary as ObservationWitnessSummary, type index$6_ObserverVerdict as ObserverVerdict, type index$6_ResponseContract as ResponseContract, index$6_ResponseObserver as ResponseObserver, type index$6_ResponseObserverContext as ResponseObserverContext, type index$6_UnsignedObservationWitness as UnsignedObservationWitness, index$6_buildQueueMessage as buildQueueMessage, index$6_buildUnsignedWitness as buildUnsignedWitness, index$6_canonicalizeObservation as canonicalizeObservation, index$6_decodeQueueMessage as decodeQueueMessage, index$6_encodeQueueMessage as encodeQueueMessage, index$6_hashObservation as hashObservation, index$6_parseAutoClaimEntries as parseAutoClaimEntries, index$6_parseStreamEntries as parseStreamEntries, index$6_stableJsonStringify as stableJsonStringify, index$6_verifyResponse as verifyResponse };
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
declare const index$5_AXIS_EXECUTION_CONTEXT_KEY: typeof AXIS_EXECUTION_CONTEXT_KEY;
|
|
2824
|
+
type index$5_AxisCapsuleRef = AxisCapsuleRef;
|
|
2825
|
+
type index$5_AxisChainEncryption = AxisChainEncryption;
|
|
2826
|
+
type index$5_AxisChainEnvelope<TInput = unknown> = AxisChainEnvelope<TInput>;
|
|
2827
|
+
type index$5_AxisChainExecutionOptions = AxisChainExecutionOptions;
|
|
2828
|
+
type index$5_AxisChainExecutor = AxisChainExecutor;
|
|
2829
|
+
declare const index$5_AxisChainExecutor: typeof AxisChainExecutor;
|
|
2830
|
+
type index$5_AxisChainRequest<TInput = unknown, TCapsule = Record<string, unknown>> = AxisChainRequest<TInput, TCapsule>;
|
|
2831
|
+
type index$5_AxisChainResult<TOutput = unknown> = AxisChainResult<TOutput>;
|
|
2832
|
+
type index$5_AxisChainStatus = AxisChainStatus;
|
|
2833
|
+
type index$5_AxisChainStep<TInput = unknown> = AxisChainStep<TInput>;
|
|
2834
|
+
type index$5_AxisChainStepResult<TOutput = unknown> = AxisChainStepResult<TOutput>;
|
|
2835
|
+
type index$5_AxisChainStepStatus = AxisChainStepStatus;
|
|
2836
|
+
type index$5_AxisDecoded = AxisDecoded;
|
|
2837
|
+
type index$5_AxisEffect = AxisEffect;
|
|
2838
|
+
type index$5_AxisExecutionContext = AxisExecutionContext;
|
|
2839
|
+
type index$5_AxisExecutionMode = AxisExecutionMode;
|
|
2840
|
+
type index$5_AxisIntentEnvelope<TPayload = unknown> = AxisIntentEnvelope<TPayload>;
|
|
2841
|
+
type index$5_AxisIntentObserver = AxisIntentObserver;
|
|
2842
|
+
type index$5_AxisKeyExchangeRef = AxisKeyExchangeRef;
|
|
2843
|
+
type index$5_AxisObservation = AxisObservation;
|
|
2844
|
+
type index$5_AxisObserverContext = AxisObserverContext;
|
|
2845
|
+
type index$5_AxisObserverEvent = AxisObserverEvent;
|
|
2846
|
+
type index$5_AxisObserverRegistration = AxisObserverRegistration;
|
|
2847
|
+
declare const index$5_BAND: typeof BAND;
|
|
2848
|
+
type index$5_ChainOptions = ChainOptions;
|
|
2849
|
+
type index$5_HandlerDiscoveryService = HandlerDiscoveryService;
|
|
2850
|
+
declare const index$5_HandlerDiscoveryService: typeof HandlerDiscoveryService;
|
|
2851
|
+
type index$5_IntentRouter = IntentRouter;
|
|
2852
|
+
declare const index$5_IntentRouter: typeof IntentRouter;
|
|
2853
|
+
type index$5_ObservationQueueConfig = ObservationQueueConfig;
|
|
2854
|
+
type index$5_ObservationQueueMessage = ObservationQueueMessage;
|
|
2855
|
+
type index$5_ObservationSensor = ObservationSensor;
|
|
2856
|
+
type index$5_ObservationStage = ObservationStage;
|
|
2857
|
+
type index$5_ObservationStreamEntry = ObservationStreamEntry;
|
|
2858
|
+
type index$5_ObservationWitnessSummary = ObservationWitnessSummary;
|
|
2859
|
+
type index$5_ObserverDiscoveryService = ObserverDiscoveryService;
|
|
2860
|
+
declare const index$5_ObserverDiscoveryService: typeof ObserverDiscoveryService;
|
|
2861
|
+
type index$5_ObserverDispatcherService = ObserverDispatcherService;
|
|
2862
|
+
declare const index$5_ObserverDispatcherService: typeof ObserverDispatcherService;
|
|
2863
|
+
type index$5_ObserverRegistry = ObserverRegistry;
|
|
2864
|
+
declare const index$5_ObserverRegistry: typeof ObserverRegistry;
|
|
2865
|
+
type index$5_ObserverVerdict = ObserverVerdict;
|
|
2866
|
+
declare const index$5_PRE_DECODE_BOUNDARY: typeof PRE_DECODE_BOUNDARY;
|
|
2867
|
+
type index$5_RegisteredChainConfig = RegisteredChainConfig;
|
|
2868
|
+
type index$5_ResponseContract = ResponseContract;
|
|
2869
|
+
declare const index$5_ResponseObserver: typeof ResponseObserver;
|
|
2870
|
+
type index$5_ResponseObserverContext = ResponseObserverContext;
|
|
2871
|
+
type index$5_SensorBand = SensorBand;
|
|
2872
|
+
type index$5_SensorDiscoveryService = SensorDiscoveryService;
|
|
2873
|
+
declare const index$5_SensorDiscoveryService: typeof SensorDiscoveryService;
|
|
2874
|
+
type index$5_SensorRegistry = SensorRegistry;
|
|
2875
|
+
declare const index$5_SensorRegistry: typeof SensorRegistry;
|
|
2876
|
+
type index$5_UnsignedObservationWitness = UnsignedObservationWitness;
|
|
2877
|
+
declare const index$5_buildQueueMessage: typeof buildQueueMessage;
|
|
2878
|
+
declare const index$5_buildUnsignedWitness: typeof buildUnsignedWitness;
|
|
2879
|
+
declare const index$5_canonicalizeObservation: typeof canonicalizeObservation;
|
|
2880
|
+
declare const index$5_createObservation: typeof createObservation;
|
|
2881
|
+
declare const index$5_decodeQueueMessage: typeof decodeQueueMessage;
|
|
2882
|
+
declare const index$5_encodeQueueMessage: typeof encodeQueueMessage;
|
|
2883
|
+
declare const index$5_endStage: typeof endStage;
|
|
2884
|
+
declare const index$5_finalizeObservation: typeof finalizeObservation;
|
|
2885
|
+
declare const index$5_getAxisExecutionContext: typeof getAxisExecutionContext;
|
|
2886
|
+
declare const index$5_hashObservation: typeof hashObservation;
|
|
2887
|
+
declare const index$5_mergeAxisExecutionContext: typeof mergeAxisExecutionContext;
|
|
2888
|
+
declare const index$5_parseAutoClaimEntries: typeof parseAutoClaimEntries;
|
|
2889
|
+
declare const index$5_parseStreamEntries: typeof parseStreamEntries;
|
|
2890
|
+
declare const index$5_recordSensor: typeof recordSensor;
|
|
2891
|
+
declare const index$5_stableJsonStringify: typeof stableJsonStringify;
|
|
2892
|
+
declare const index$5_startStage: typeof startStage;
|
|
2893
|
+
declare const index$5_verifyResponse: typeof verifyResponse;
|
|
2894
|
+
declare const index$5_withAxisExecutionContext: typeof withAxisExecutionContext;
|
|
3411
2895
|
declare namespace index$5 {
|
|
3412
|
-
export {
|
|
2896
|
+
export { index$5_AXIS_EXECUTION_CONTEXT_KEY as AXIS_EXECUTION_CONTEXT_KEY, type index$5_AxisCapsuleRef as AxisCapsuleRef, type index$5_AxisChainEncryption as AxisChainEncryption, type index$5_AxisChainEnvelope as AxisChainEnvelope, type index$5_AxisChainExecutionOptions as AxisChainExecutionOptions, index$5_AxisChainExecutor as AxisChainExecutor, type index$5_AxisChainRequest as AxisChainRequest, type index$5_AxisChainResult as AxisChainResult, type index$5_AxisChainStatus as AxisChainStatus, type index$5_AxisChainStep as AxisChainStep, type index$5_AxisChainStepResult as AxisChainStepResult, type index$5_AxisChainStepStatus as AxisChainStepStatus, type index$5_AxisDecoded as AxisDecoded, type index$5_AxisEffect as AxisEffect, type index$5_AxisExecutionContext as AxisExecutionContext, type index$5_AxisExecutionMode as AxisExecutionMode, type index$5_AxisIntentEnvelope as AxisIntentEnvelope, type index$5_AxisIntentObserver as AxisIntentObserver, type index$5_AxisKeyExchangeRef as AxisKeyExchangeRef, type index$5_AxisObservation as AxisObservation, type index$5_AxisObserverContext as AxisObserverContext, type index$5_AxisObserverEvent as AxisObserverEvent, type index$5_AxisObserverRegistration as AxisObserverRegistration, index$5_BAND as BAND, type index$5_ChainOptions as ChainOptions, index$5_HandlerDiscoveryService as HandlerDiscoveryService, index$5_IntentRouter as IntentRouter, type IntentSchema$1 as IntentSchema, type index$5_ObservationQueueConfig as ObservationQueueConfig, type index$5_ObservationQueueMessage as ObservationQueueMessage, type index$5_ObservationSensor as ObservationSensor, type index$5_ObservationStage as ObservationStage, type index$5_ObservationStreamEntry as ObservationStreamEntry, type index$5_ObservationWitnessSummary as ObservationWitnessSummary, index$5_ObserverDiscoveryService as ObserverDiscoveryService, index$5_ObserverDispatcherService as ObserverDispatcherService, index$5_ObserverRegistry as ObserverRegistry, type index$5_ObserverVerdict as ObserverVerdict, index$5_PRE_DECODE_BOUNDARY as PRE_DECODE_BOUNDARY, type index$5_RegisteredChainConfig as RegisteredChainConfig, type index$5_ResponseContract as ResponseContract, index$5_ResponseObserver as ResponseObserver, type index$5_ResponseObserverContext as ResponseObserverContext, type index$5_SensorBand as SensorBand, index$5_SensorDiscoveryService as SensorDiscoveryService, index$5_SensorRegistry as SensorRegistry, type index$5_UnsignedObservationWitness as UnsignedObservationWitness, index$5_buildQueueMessage as buildQueueMessage, index$5_buildUnsignedWitness as buildUnsignedWitness, index$5_canonicalizeObservation as canonicalizeObservation, index$5_createObservation as createObservation, index$5_decodeQueueMessage as decodeQueueMessage, index$5_encodeQueueMessage as encodeQueueMessage, index$5_endStage as endStage, index$5_finalizeObservation as finalizeObservation, index$5_getAxisExecutionContext as getAxisExecutionContext, index$5_hashObservation as hashObservation, index$5_mergeAxisExecutionContext as mergeAxisExecutionContext, index$6 as observation, index$5_parseAutoClaimEntries as parseAutoClaimEntries, index$5_parseStreamEntries as parseStreamEntries, index$5_recordSensor as recordSensor, index$5_stableJsonStringify as stableJsonStringify, index$5_startStage as startStage, index$5_verifyResponse as verifyResponse, index$5_withAxisExecutionContext as withAxisExecutionContext };
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2899
|
+
type index$4_Grant = Grant;
|
|
2900
|
+
type index$4_GrantCapability = GrantCapability;
|
|
2901
|
+
type index$4_GrantMeta = GrantMeta;
|
|
2902
|
+
type index$4_GrantStatus = GrantStatus;
|
|
2903
|
+
type index$4_GrantType = GrantType;
|
|
2904
|
+
type index$4_GrantValidationResult = GrantValidationResult;
|
|
2905
|
+
type index$4_LoomReceipt = LoomReceipt;
|
|
2906
|
+
type index$4_LoomValidationResult = LoomValidationResult;
|
|
2907
|
+
declare const index$4_PROOF_LOOM: typeof PROOF_LOOM;
|
|
2908
|
+
type index$4_PresenceChallenge = PresenceChallenge;
|
|
2909
|
+
type index$4_PresenceDeclaration = PresenceDeclaration;
|
|
2910
|
+
type index$4_PresenceProof = PresenceProof;
|
|
2911
|
+
type index$4_PresenceReceipt = PresenceReceipt;
|
|
2912
|
+
type index$4_PresenceStatus = PresenceStatus;
|
|
2913
|
+
type index$4_PresenceVerifyResult = PresenceVerifyResult;
|
|
2914
|
+
type index$4_Revocation = Revocation;
|
|
2915
|
+
type index$4_RevocationTargetType = RevocationTargetType;
|
|
2916
|
+
type index$4_ThreadState = ThreadState;
|
|
2917
|
+
type index$4_Writ = Writ;
|
|
2918
|
+
type index$4_WritBody = WritBody;
|
|
2919
|
+
type index$4_WritHead = WritHead;
|
|
2920
|
+
type index$4_WritMeta = WritMeta;
|
|
2921
|
+
type index$4_WritSignature = WritSignature;
|
|
2922
|
+
type index$4_WritValidationResult = WritValidationResult;
|
|
2923
|
+
declare const index$4_canonicalizeGrant: typeof canonicalizeGrant;
|
|
2924
|
+
declare const index$4_canonicalizeWrit: typeof canonicalizeWrit;
|
|
2925
|
+
declare const index$4_deriveAnchorReflection: typeof deriveAnchorReflection;
|
|
2926
|
+
declare namespace index$4 {
|
|
2927
|
+
export { type index$4_Grant as Grant, type index$4_GrantCapability as GrantCapability, type index$4_GrantMeta as GrantMeta, type index$4_GrantStatus as GrantStatus, type index$4_GrantType as GrantType, type index$4_GrantValidationResult as GrantValidationResult, type index$4_LoomReceipt as LoomReceipt, type index$4_LoomValidationResult as LoomValidationResult, index$4_PROOF_LOOM as PROOF_LOOM, type index$4_PresenceChallenge as PresenceChallenge, type index$4_PresenceDeclaration as PresenceDeclaration, type index$4_PresenceProof as PresenceProof, type index$4_PresenceReceipt as PresenceReceipt, type index$4_PresenceStatus as PresenceStatus, type index$4_PresenceVerifyResult as PresenceVerifyResult, type index$4_Revocation as Revocation, type index$4_RevocationTargetType as RevocationTargetType, TLV_LOOM_PRESENCE_ID as TLV_PRESENCE_ID, TLV_LOOM_THREAD_HASH as TLV_THREAD_HASH, TLV_LOOM_WRIT as TLV_WRIT, type index$4_ThreadState as ThreadState, type index$4_Writ as Writ, type index$4_WritBody as WritBody, type index$4_WritHead as WritHead, type index$4_WritMeta as WritMeta, type index$4_WritSignature as WritSignature, type index$4_WritValidationResult as WritValidationResult, index$4_canonicalizeGrant as canonicalizeGrant, index$4_canonicalizeWrit as canonicalizeWrit, index$4_deriveAnchorReflection as deriveAnchorReflection };
|
|
3413
2928
|
}
|
|
3414
2929
|
|
|
3415
2930
|
declare enum BodyProfile {
|
|
@@ -3432,111 +2947,111 @@ declare class BodyProfileValidator {
|
|
|
3432
2947
|
private validateArr;
|
|
3433
2948
|
}
|
|
3434
2949
|
|
|
3435
|
-
type index$
|
|
3436
|
-
declare const index$
|
|
3437
|
-
type index$
|
|
3438
|
-
declare const index$
|
|
3439
|
-
type index$
|
|
3440
|
-
declare const index$
|
|
3441
|
-
type index$
|
|
3442
|
-
declare const index$
|
|
3443
|
-
type index$
|
|
3444
|
-
declare const index$
|
|
3445
|
-
type index$
|
|
3446
|
-
declare const index$
|
|
3447
|
-
type index$
|
|
3448
|
-
type index$
|
|
3449
|
-
declare const index$
|
|
3450
|
-
declare const index$
|
|
3451
|
-
type index$
|
|
3452
|
-
type index$
|
|
3453
|
-
declare const index$
|
|
3454
|
-
type index$
|
|
3455
|
-
declare const index$
|
|
3456
|
-
type index$
|
|
3457
|
-
declare const index$
|
|
3458
|
-
type index$
|
|
3459
|
-
declare const index$
|
|
3460
|
-
declare const index$
|
|
3461
|
-
type index$
|
|
3462
|
-
declare const index$
|
|
3463
|
-
type index$
|
|
3464
|
-
declare const index$
|
|
3465
|
-
type index$
|
|
3466
|
-
declare const index$
|
|
3467
|
-
type index$
|
|
3468
|
-
declare const index$
|
|
3469
|
-
declare const index$
|
|
3470
|
-
type index$
|
|
3471
|
-
type index$
|
|
3472
|
-
declare const index$
|
|
3473
|
-
declare const index$
|
|
3474
|
-
type index$
|
|
3475
|
-
type index$
|
|
3476
|
-
declare const index$
|
|
3477
|
-
type index$
|
|
3478
|
-
declare const index$
|
|
3479
|
-
declare const index$
|
|
3480
|
-
type index$
|
|
3481
|
-
declare const index$
|
|
3482
|
-
type index$
|
|
3483
|
-
declare const index$
|
|
3484
|
-
type index$
|
|
3485
|
-
declare const index$
|
|
3486
|
-
type index$
|
|
3487
|
-
declare const index$
|
|
3488
|
-
type index$
|
|
3489
|
-
declare const index$
|
|
3490
|
-
type index$
|
|
3491
|
-
declare const index$
|
|
3492
|
-
type index$
|
|
3493
|
-
declare const index$
|
|
3494
|
-
type index$
|
|
3495
|
-
declare const index$
|
|
3496
|
-
type index$
|
|
3497
|
-
declare const index$
|
|
3498
|
-
type index$
|
|
3499
|
-
declare const index$
|
|
3500
|
-
type index$
|
|
3501
|
-
type index$
|
|
3502
|
-
declare const index$
|
|
3503
|
-
declare const index$
|
|
3504
|
-
type index$
|
|
3505
|
-
declare const index$
|
|
3506
|
-
type index$
|
|
3507
|
-
declare const index$
|
|
3508
|
-
type index$
|
|
3509
|
-
declare const index$
|
|
3510
|
-
declare const index$
|
|
3511
|
-
declare const index$
|
|
3512
|
-
type index$
|
|
3513
|
-
declare const index$
|
|
3514
|
-
type index$
|
|
3515
|
-
declare const index$
|
|
3516
|
-
type index$
|
|
3517
|
-
declare const index$
|
|
3518
|
-
type index$
|
|
3519
|
-
declare const index$
|
|
3520
|
-
type index$
|
|
3521
|
-
declare const index$
|
|
3522
|
-
declare namespace index$4 {
|
|
3523
|
-
export { type index$4_AccessProfile as AccessProfile, index$4_AccessProfileZ as AccessProfileZ, type index$4_AxisContext as AxisContext, index$4_AxisContextZ as AxisContextZ, type index$4_AxisError as AxisError, index$4_AxisErrorZ as AxisErrorZ, type index$4_BodyBudgetInput as BodyBudgetInput, index$4_BodyBudgetInputZ as BodyBudgetInputZ, type index$4_BodyBudgetPolicy as BodyBudgetPolicy, index$4_BodyBudgetPolicyZ as BodyBudgetPolicyZ, index$4_BodyProfile as BodyProfile, type index$4_BodyProfileValidation as BodyProfileValidation, index$4_BodyProfileValidator as BodyProfileValidator, index$4_BodyProfileZ as BodyProfileZ, type index$4_Capsule as Capsule, type index$4_CapsuleClaims as CapsuleClaims, index$4_CapsuleClaimsZ as CapsuleClaimsZ, type index$4_CapsuleValidationResult as CapsuleValidationResult, index$4_CapsuleValidationResultZ as CapsuleValidationResultZ, type index$4_CapsuleVerifyResult as CapsuleVerifyResult, index$4_CapsuleVerifyResultZ as CapsuleVerifyResultZ, type index$4_CapsuleVerifySensorInput as CapsuleVerifySensorInput, index$4_CapsuleVerifySensorInputZ as CapsuleVerifySensorInputZ, index$4_CapsuleZ as CapsuleZ, type index$4_ChunkHashInput as ChunkHashInput, index$4_ChunkHashInputZ as ChunkHashInputZ, type index$4_CountryBlockDecision as CountryBlockDecision, index$4_CountryBlockDecisionZ as CountryBlockDecisionZ, type index$4_CountryBlockSensorInput as CountryBlockSensorInput, index$4_CountryBlockSensorInputZ as CountryBlockSensorInputZ, type index$4_EntropySensorInput as EntropySensorInput, index$4_EntropySensorInputZ as EntropySensorInputZ, index$4_ExecutionMetricsZ as ExecutionMetricsZ, type index$4_IPReputation as IPReputation, type index$4_IPReputationInput as IPReputationInput, index$4_IPReputationInputZ as IPReputationInputZ, index$4_IPReputationZ as IPReputationZ, type index$4_IntentPolicy as IntentPolicy, type index$4_IntentPolicyDecision as IntentPolicyDecision, index$4_IntentPolicyDecisionZ as IntentPolicyDecisionZ, type index$4_IntentPolicySensorInput as IntentPolicySensorInput, index$4_IntentPolicySensorInputZ as IntentPolicySensorInputZ, index$4_IntentPolicyZ as IntentPolicyZ, type index$4_IntentSchema as IntentSchema, index$4_IntentSchemaZ as IntentSchemaZ, type index$4_Passport as Passport, index$4_PassportZ as PassportZ, type index$4_ProofKind as ProofKind, index$4_ProofKindZ as ProofKindZ, type index$4_ProofPresenceInput as ProofPresenceInput, index$4_ProofPresenceInputZ as ProofPresenceInputZ, ProofType$1 as ProofType, type index$4_ProtocolStrictInput as ProtocolStrictInput, index$4_ProtocolStrictInputZ as ProtocolStrictInputZ, type index$4_RateLimitConfig as RateLimitConfig, index$4_RateLimitConfigZ as RateLimitConfigZ, type index$4_RateLimitInput as RateLimitInput, index$4_RateLimitInputZ as RateLimitInputZ, type index$4_RateLimitProfile as RateLimitProfile, index$4_RateLimitProfileZ as RateLimitProfileZ, type index$4_ScanBurstDecision as ScanBurstDecision, index$4_ScanBurstDecisionZ as ScanBurstDecisionZ, type index$4_ScanBurstSensorInput as ScanBurstSensorInput, index$4_ScanBurstSensorInputZ as ScanBurstSensorInputZ, type index$4_SchemaField as SchemaField, type index$4_SchemaFieldKind as SchemaFieldKind, index$4_SchemaFieldKindZ as SchemaFieldKindZ, index$4_SchemaFieldZ as SchemaFieldZ, type index$4_Scope as Scope, index$4_ScopeZ as ScopeZ, type index$4_SensitivityLevel as SensitivityLevel, index$4_SensitivityLevelZ as SensitivityLevelZ, type index$4_SensorChainInput as SensorChainInput, index$4_SensorChainInputZ as SensorChainInputZ, index$4_SensorDecisionWithMetadataZ as SensorDecisionWithMetadataZ, index$4_SensorDecisionZ as SensorDecisionZ, type index$4_SensorResult as SensorResult, index$4_SensorResultZ as SensorResultZ, type index$4_UploadSession as UploadSession, index$4_UploadSessionZ as UploadSessionZ, type index$4_UploadStatus as UploadStatus, index$4_UploadStatusZ as UploadStatusZ, type index$4_WsHandshakeDecision as WsHandshakeDecision, index$4_WsHandshakeDecisionZ as WsHandshakeDecisionZ, type index$4_WsHandshakeInput as WsHandshakeInput, index$4_WsHandshakeInputZ as WsHandshakeInputZ };
|
|
3524
|
-
}
|
|
3525
|
-
|
|
3526
|
-
type index$3_AxisSensorChainService = AxisSensorChainService;
|
|
3527
|
-
declare const index$3_AxisSensorChainService: typeof AxisSensorChainService;
|
|
3528
|
-
declare const index$3_CAPABILITIES: typeof CAPABILITIES;
|
|
3529
|
-
type index$3_Capability = Capability;
|
|
3530
|
-
type index$3_ChainResult = ChainResult;
|
|
3531
|
-
declare const index$3_INTENT_REQUIREMENTS: typeof INTENT_REQUIREMENTS;
|
|
3532
|
-
declare const index$3_PROOF_CAPABILITIES: typeof PROOF_CAPABILITIES;
|
|
3533
|
-
type index$3_SensorDecision = SensorDecision;
|
|
3534
|
-
type index$3_SensorInput = SensorInput;
|
|
3535
|
-
declare const index$3_canAccessResource: typeof canAccessResource;
|
|
3536
|
-
declare const index$3_hasScope: typeof hasScope;
|
|
3537
|
-
declare const index$3_parseScope: typeof parseScope;
|
|
2950
|
+
type index$3_AccessProfile = AccessProfile;
|
|
2951
|
+
declare const index$3_AccessProfileZ: typeof AccessProfileZ;
|
|
2952
|
+
type index$3_AxisContext = AxisContext;
|
|
2953
|
+
declare const index$3_AxisContextZ: typeof AxisContextZ;
|
|
2954
|
+
type index$3_AxisError = AxisError;
|
|
2955
|
+
declare const index$3_AxisErrorZ: typeof AxisErrorZ;
|
|
2956
|
+
type index$3_BodyBudgetInput = BodyBudgetInput;
|
|
2957
|
+
declare const index$3_BodyBudgetInputZ: typeof BodyBudgetInputZ;
|
|
2958
|
+
type index$3_BodyBudgetPolicy = BodyBudgetPolicy;
|
|
2959
|
+
declare const index$3_BodyBudgetPolicyZ: typeof BodyBudgetPolicyZ;
|
|
2960
|
+
type index$3_BodyProfile = BodyProfile;
|
|
2961
|
+
declare const index$3_BodyProfile: typeof BodyProfile;
|
|
2962
|
+
type index$3_BodyProfileValidation = BodyProfileValidation;
|
|
2963
|
+
type index$3_BodyProfileValidator = BodyProfileValidator;
|
|
2964
|
+
declare const index$3_BodyProfileValidator: typeof BodyProfileValidator;
|
|
2965
|
+
declare const index$3_BodyProfileZ: typeof BodyProfileZ;
|
|
2966
|
+
type index$3_Capsule = Capsule;
|
|
2967
|
+
type index$3_CapsuleClaims = CapsuleClaims;
|
|
2968
|
+
declare const index$3_CapsuleClaimsZ: typeof CapsuleClaimsZ;
|
|
2969
|
+
type index$3_CapsuleValidationResult = CapsuleValidationResult;
|
|
2970
|
+
declare const index$3_CapsuleValidationResultZ: typeof CapsuleValidationResultZ;
|
|
2971
|
+
type index$3_CapsuleVerifyResult = CapsuleVerifyResult;
|
|
2972
|
+
declare const index$3_CapsuleVerifyResultZ: typeof CapsuleVerifyResultZ;
|
|
2973
|
+
type index$3_CapsuleVerifySensorInput = CapsuleVerifySensorInput;
|
|
2974
|
+
declare const index$3_CapsuleVerifySensorInputZ: typeof CapsuleVerifySensorInputZ;
|
|
2975
|
+
declare const index$3_CapsuleZ: typeof CapsuleZ;
|
|
2976
|
+
type index$3_ChunkHashInput = ChunkHashInput;
|
|
2977
|
+
declare const index$3_ChunkHashInputZ: typeof ChunkHashInputZ;
|
|
2978
|
+
type index$3_CountryBlockDecision = CountryBlockDecision;
|
|
2979
|
+
declare const index$3_CountryBlockDecisionZ: typeof CountryBlockDecisionZ;
|
|
2980
|
+
type index$3_CountryBlockSensorInput = CountryBlockSensorInput;
|
|
2981
|
+
declare const index$3_CountryBlockSensorInputZ: typeof CountryBlockSensorInputZ;
|
|
2982
|
+
type index$3_EntropySensorInput = EntropySensorInput;
|
|
2983
|
+
declare const index$3_EntropySensorInputZ: typeof EntropySensorInputZ;
|
|
2984
|
+
declare const index$3_ExecutionMetricsZ: typeof ExecutionMetricsZ;
|
|
2985
|
+
type index$3_IPReputation = IPReputation;
|
|
2986
|
+
type index$3_IPReputationInput = IPReputationInput;
|
|
2987
|
+
declare const index$3_IPReputationInputZ: typeof IPReputationInputZ;
|
|
2988
|
+
declare const index$3_IPReputationZ: typeof IPReputationZ;
|
|
2989
|
+
type index$3_IntentPolicy = IntentPolicy;
|
|
2990
|
+
type index$3_IntentPolicyDecision = IntentPolicyDecision;
|
|
2991
|
+
declare const index$3_IntentPolicyDecisionZ: typeof IntentPolicyDecisionZ;
|
|
2992
|
+
type index$3_IntentPolicySensorInput = IntentPolicySensorInput;
|
|
2993
|
+
declare const index$3_IntentPolicySensorInputZ: typeof IntentPolicySensorInputZ;
|
|
2994
|
+
declare const index$3_IntentPolicyZ: typeof IntentPolicyZ;
|
|
2995
|
+
type index$3_IntentSchema = IntentSchema;
|
|
2996
|
+
declare const index$3_IntentSchemaZ: typeof IntentSchemaZ;
|
|
2997
|
+
type index$3_Passport = Passport;
|
|
2998
|
+
declare const index$3_PassportZ: typeof PassportZ;
|
|
2999
|
+
type index$3_ProofKind = ProofKind;
|
|
3000
|
+
declare const index$3_ProofKindZ: typeof ProofKindZ;
|
|
3001
|
+
type index$3_ProofPresenceInput = ProofPresenceInput;
|
|
3002
|
+
declare const index$3_ProofPresenceInputZ: typeof ProofPresenceInputZ;
|
|
3003
|
+
type index$3_ProtocolStrictInput = ProtocolStrictInput;
|
|
3004
|
+
declare const index$3_ProtocolStrictInputZ: typeof ProtocolStrictInputZ;
|
|
3005
|
+
type index$3_RateLimitConfig = RateLimitConfig;
|
|
3006
|
+
declare const index$3_RateLimitConfigZ: typeof RateLimitConfigZ;
|
|
3007
|
+
type index$3_RateLimitInput = RateLimitInput;
|
|
3008
|
+
declare const index$3_RateLimitInputZ: typeof RateLimitInputZ;
|
|
3009
|
+
type index$3_RateLimitProfile = RateLimitProfile;
|
|
3010
|
+
declare const index$3_RateLimitProfileZ: typeof RateLimitProfileZ;
|
|
3011
|
+
type index$3_ScanBurstDecision = ScanBurstDecision;
|
|
3012
|
+
declare const index$3_ScanBurstDecisionZ: typeof ScanBurstDecisionZ;
|
|
3013
|
+
type index$3_ScanBurstSensorInput = ScanBurstSensorInput;
|
|
3014
|
+
declare const index$3_ScanBurstSensorInputZ: typeof ScanBurstSensorInputZ;
|
|
3015
|
+
type index$3_SchemaField = SchemaField;
|
|
3016
|
+
type index$3_SchemaFieldKind = SchemaFieldKind;
|
|
3017
|
+
declare const index$3_SchemaFieldKindZ: typeof SchemaFieldKindZ;
|
|
3018
|
+
declare const index$3_SchemaFieldZ: typeof SchemaFieldZ;
|
|
3019
|
+
type index$3_Scope = Scope;
|
|
3020
|
+
declare const index$3_ScopeZ: typeof ScopeZ;
|
|
3021
|
+
type index$3_SensitivityLevel = SensitivityLevel;
|
|
3022
|
+
declare const index$3_SensitivityLevelZ: typeof SensitivityLevelZ;
|
|
3023
|
+
type index$3_SensorChainInput = SensorChainInput;
|
|
3024
|
+
declare const index$3_SensorChainInputZ: typeof SensorChainInputZ;
|
|
3025
|
+
declare const index$3_SensorDecisionWithMetadataZ: typeof SensorDecisionWithMetadataZ;
|
|
3026
|
+
declare const index$3_SensorDecisionZ: typeof SensorDecisionZ;
|
|
3027
|
+
type index$3_SensorResult = SensorResult;
|
|
3028
|
+
declare const index$3_SensorResultZ: typeof SensorResultZ;
|
|
3029
|
+
type index$3_UploadSession = UploadSession;
|
|
3030
|
+
declare const index$3_UploadSessionZ: typeof UploadSessionZ;
|
|
3031
|
+
type index$3_UploadStatus = UploadStatus;
|
|
3032
|
+
declare const index$3_UploadStatusZ: typeof UploadStatusZ;
|
|
3033
|
+
type index$3_WsHandshakeDecision = WsHandshakeDecision;
|
|
3034
|
+
declare const index$3_WsHandshakeDecisionZ: typeof WsHandshakeDecisionZ;
|
|
3035
|
+
type index$3_WsHandshakeInput = WsHandshakeInput;
|
|
3036
|
+
declare const index$3_WsHandshakeInputZ: typeof WsHandshakeInputZ;
|
|
3538
3037
|
declare namespace index$3 {
|
|
3539
|
-
export { index$
|
|
3038
|
+
export { type index$3_AccessProfile as AccessProfile, index$3_AccessProfileZ as AccessProfileZ, type index$3_AxisContext as AxisContext, index$3_AxisContextZ as AxisContextZ, type index$3_AxisError as AxisError, index$3_AxisErrorZ as AxisErrorZ, type index$3_BodyBudgetInput as BodyBudgetInput, index$3_BodyBudgetInputZ as BodyBudgetInputZ, type index$3_BodyBudgetPolicy as BodyBudgetPolicy, index$3_BodyBudgetPolicyZ as BodyBudgetPolicyZ, index$3_BodyProfile as BodyProfile, type index$3_BodyProfileValidation as BodyProfileValidation, index$3_BodyProfileValidator as BodyProfileValidator, index$3_BodyProfileZ as BodyProfileZ, type index$3_Capsule as Capsule, type index$3_CapsuleClaims as CapsuleClaims, index$3_CapsuleClaimsZ as CapsuleClaimsZ, type index$3_CapsuleValidationResult as CapsuleValidationResult, index$3_CapsuleValidationResultZ as CapsuleValidationResultZ, type index$3_CapsuleVerifyResult as CapsuleVerifyResult, index$3_CapsuleVerifyResultZ as CapsuleVerifyResultZ, type index$3_CapsuleVerifySensorInput as CapsuleVerifySensorInput, index$3_CapsuleVerifySensorInputZ as CapsuleVerifySensorInputZ, index$3_CapsuleZ as CapsuleZ, type index$3_ChunkHashInput as ChunkHashInput, index$3_ChunkHashInputZ as ChunkHashInputZ, type index$3_CountryBlockDecision as CountryBlockDecision, index$3_CountryBlockDecisionZ as CountryBlockDecisionZ, type index$3_CountryBlockSensorInput as CountryBlockSensorInput, index$3_CountryBlockSensorInputZ as CountryBlockSensorInputZ, type index$3_EntropySensorInput as EntropySensorInput, index$3_EntropySensorInputZ as EntropySensorInputZ, index$3_ExecutionMetricsZ as ExecutionMetricsZ, type index$3_IPReputation as IPReputation, type index$3_IPReputationInput as IPReputationInput, index$3_IPReputationInputZ as IPReputationInputZ, index$3_IPReputationZ as IPReputationZ, type index$3_IntentPolicy as IntentPolicy, type index$3_IntentPolicyDecision as IntentPolicyDecision, index$3_IntentPolicyDecisionZ as IntentPolicyDecisionZ, type index$3_IntentPolicySensorInput as IntentPolicySensorInput, index$3_IntentPolicySensorInputZ as IntentPolicySensorInputZ, index$3_IntentPolicyZ as IntentPolicyZ, type index$3_IntentSchema as IntentSchema, index$3_IntentSchemaZ as IntentSchemaZ, type index$3_Passport as Passport, index$3_PassportZ as PassportZ, type index$3_ProofKind as ProofKind, index$3_ProofKindZ as ProofKindZ, type index$3_ProofPresenceInput as ProofPresenceInput, index$3_ProofPresenceInputZ as ProofPresenceInputZ, ProofType$1 as ProofType, type index$3_ProtocolStrictInput as ProtocolStrictInput, index$3_ProtocolStrictInputZ as ProtocolStrictInputZ, type index$3_RateLimitConfig as RateLimitConfig, index$3_RateLimitConfigZ as RateLimitConfigZ, type index$3_RateLimitInput as RateLimitInput, index$3_RateLimitInputZ as RateLimitInputZ, type index$3_RateLimitProfile as RateLimitProfile, index$3_RateLimitProfileZ as RateLimitProfileZ, type index$3_ScanBurstDecision as ScanBurstDecision, index$3_ScanBurstDecisionZ as ScanBurstDecisionZ, type index$3_ScanBurstSensorInput as ScanBurstSensorInput, index$3_ScanBurstSensorInputZ as ScanBurstSensorInputZ, type index$3_SchemaField as SchemaField, type index$3_SchemaFieldKind as SchemaFieldKind, index$3_SchemaFieldKindZ as SchemaFieldKindZ, index$3_SchemaFieldZ as SchemaFieldZ, type index$3_Scope as Scope, index$3_ScopeZ as ScopeZ, type index$3_SensitivityLevel as SensitivityLevel, index$3_SensitivityLevelZ as SensitivityLevelZ, type index$3_SensorChainInput as SensorChainInput, index$3_SensorChainInputZ as SensorChainInputZ, index$3_SensorDecisionWithMetadataZ as SensorDecisionWithMetadataZ, index$3_SensorDecisionZ as SensorDecisionZ, type index$3_SensorResult as SensorResult, index$3_SensorResultZ as SensorResultZ, type index$3_UploadSession as UploadSession, index$3_UploadSessionZ as UploadSessionZ, type index$3_UploadStatus as UploadStatus, index$3_UploadStatusZ as UploadStatusZ, type index$3_WsHandshakeDecision as WsHandshakeDecision, index$3_WsHandshakeDecisionZ as WsHandshakeDecisionZ, type index$3_WsHandshakeInput as WsHandshakeInput, index$3_WsHandshakeInputZ as WsHandshakeInputZ };
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
type index$2_AxisSensorChainService = AxisSensorChainService;
|
|
3042
|
+
declare const index$2_AxisSensorChainService: typeof AxisSensorChainService;
|
|
3043
|
+
declare const index$2_CAPABILITIES: typeof CAPABILITIES;
|
|
3044
|
+
type index$2_Capability = Capability;
|
|
3045
|
+
type index$2_ChainResult = ChainResult;
|
|
3046
|
+
declare const index$2_INTENT_REQUIREMENTS: typeof INTENT_REQUIREMENTS;
|
|
3047
|
+
declare const index$2_PROOF_CAPABILITIES: typeof PROOF_CAPABILITIES;
|
|
3048
|
+
type index$2_SensorDecision = SensorDecision;
|
|
3049
|
+
type index$2_SensorInput = SensorInput;
|
|
3050
|
+
declare const index$2_canAccessResource: typeof canAccessResource;
|
|
3051
|
+
declare const index$2_hasScope: typeof hasScope;
|
|
3052
|
+
declare const index$2_parseScope: typeof parseScope;
|
|
3053
|
+
declare namespace index$2 {
|
|
3054
|
+
export { index$2_AxisSensorChainService as AxisSensorChainService, index$2_CAPABILITIES as CAPABILITIES, type index$2_Capability as Capability, type index$2_ChainResult as ChainResult, index$2_INTENT_REQUIREMENTS as INTENT_REQUIREMENTS, index$2_PROOF_CAPABILITIES as PROOF_CAPABILITIES, type index$2_SensorDecision as SensorDecision, type index$2_SensorInput as SensorInput, index$2_canAccessResource as canAccessResource, index$2_hasScope as hasScope, index$2_parseScope as parseScope };
|
|
3540
3055
|
}
|
|
3541
3056
|
|
|
3542
3057
|
declare class AccessProfileResolverSensor implements AxisSensor {
|
|
@@ -3636,16 +3151,6 @@ declare class IntentRegistrySensor implements AxisSensor {
|
|
|
3636
3151
|
run(input: SensorInput): Promise<SensorDecision>;
|
|
3637
3152
|
}
|
|
3638
3153
|
|
|
3639
|
-
declare class LawEvaluationSensor implements AxisSensor {
|
|
3640
|
-
private readonly options;
|
|
3641
|
-
private readonly logger;
|
|
3642
|
-
readonly name = "LawEvaluationSensor";
|
|
3643
|
-
readonly order: number;
|
|
3644
|
-
constructor(options?: LawEvaluationSensorOptions);
|
|
3645
|
-
supports(input: SensorInput): boolean;
|
|
3646
|
-
run(input: SensorInput): Promise<SensorDecision>;
|
|
3647
|
-
}
|
|
3648
|
-
|
|
3649
3154
|
declare class ProofPresenceSensor implements AxisSensor {
|
|
3650
3155
|
readonly name = "ProofPresenceSensor";
|
|
3651
3156
|
readonly order: number;
|
|
@@ -3719,85 +3224,44 @@ declare class VarintHardeningSensor implements AxisSensor {
|
|
|
3719
3224
|
run(input: SensorInput): Promise<SensorDecision>;
|
|
3720
3225
|
}
|
|
3721
3226
|
|
|
3722
|
-
type index$
|
|
3723
|
-
declare const index$
|
|
3724
|
-
type index$
|
|
3725
|
-
declare const index$
|
|
3726
|
-
type index$
|
|
3727
|
-
declare const index$
|
|
3728
|
-
type index$
|
|
3729
|
-
declare const index$
|
|
3730
|
-
type index$
|
|
3731
|
-
declare const index$
|
|
3732
|
-
type index$
|
|
3733
|
-
declare const index$
|
|
3734
|
-
type index$
|
|
3735
|
-
declare const index$
|
|
3736
|
-
type index$
|
|
3737
|
-
declare const index$
|
|
3738
|
-
type index$
|
|
3739
|
-
declare const index$
|
|
3740
|
-
type index$
|
|
3741
|
-
declare const index$
|
|
3742
|
-
type index$
|
|
3743
|
-
declare const index$
|
|
3744
|
-
type index$
|
|
3745
|
-
declare const index$
|
|
3746
|
-
type index$
|
|
3747
|
-
declare const index$
|
|
3748
|
-
type index$
|
|
3749
|
-
declare const index$
|
|
3750
|
-
type index$
|
|
3751
|
-
declare const index$
|
|
3752
|
-
type index$
|
|
3753
|
-
declare const index$
|
|
3754
|
-
type index$
|
|
3755
|
-
|
|
3756
|
-
type index$
|
|
3757
|
-
declare const index$
|
|
3758
|
-
type index$2_StreamScopeSensor = StreamScopeSensor;
|
|
3759
|
-
declare const index$2_StreamScopeSensor: typeof StreamScopeSensor;
|
|
3760
|
-
type index$2_TLVParseSensor = TLVParseSensor;
|
|
3761
|
-
declare const index$2_TLVParseSensor: typeof TLVParseSensor;
|
|
3762
|
-
type index$2_TickAuthCapsuleRef = TickAuthCapsuleRef;
|
|
3763
|
-
type index$2_TickAuthSensor = TickAuthSensor;
|
|
3764
|
-
declare const index$2_TickAuthSensor: typeof TickAuthSensor;
|
|
3765
|
-
type index$2_TickAuthSensorOptions = TickAuthSensorOptions;
|
|
3766
|
-
type index$2_TickAuthVerifier = TickAuthVerifier;
|
|
3767
|
-
type index$2_TpsSensor = TpsSensor;
|
|
3768
|
-
declare const index$2_TpsSensor: typeof TpsSensor;
|
|
3769
|
-
type index$2_TpsSensorOptions = TpsSensorOptions;
|
|
3770
|
-
type index$2_VarintHardeningSensor = VarintHardeningSensor;
|
|
3771
|
-
declare const index$2_VarintHardeningSensor: typeof VarintHardeningSensor;
|
|
3772
|
-
declare namespace index$2 {
|
|
3773
|
-
export { index$2_AccessProfileResolverSensor as AccessProfileResolverSensor, index$2_BodyBudgetSensor as BodyBudgetSensor, index$2_CapabilityEnforcementSensor as CapabilityEnforcementSensor, index$2_ChunkHashSensor as ChunkHashSensor, index$2_EntropySensor as EntropySensor, index$2_ExecutionTimeoutSensor as ExecutionTimeoutSensor, index$2_FrameBudgetSensor as FrameBudgetSensor, index$2_FrameHeaderSanitySensor as FrameHeaderSanitySensor, index$2_HeaderTLVLimitSensor as HeaderTLVLimitSensor, index$2_IntentAllowlistSensor as IntentAllowlistSensor, index$2_IntentRegistrySensor as IntentRegistrySensor, index$2_LawEvaluationSensor as LawEvaluationSensor, index$2_ProofPresenceSensor as ProofPresenceSensor, index$2_ProtocolStrictSensor as ProtocolStrictSensor, index$2_ReceiptPolicySensor as ReceiptPolicySensor, index$2_RiskGateSensor as RiskGateSensor, type index$2_RiskGateSensorOptions as RiskGateSensorOptions, type index$2_RiskSignalCollector as RiskSignalCollector, index$2_SchemaValidationSensor as SchemaValidationSensor, index$2_StreamScopeSensor as StreamScopeSensor, index$2_TLVParseSensor as TLVParseSensor, type index$2_TickAuthCapsuleRef as TickAuthCapsuleRef, index$2_TickAuthSensor as TickAuthSensor, type index$2_TickAuthSensorOptions as TickAuthSensorOptions, type index$2_TickAuthVerifier as TickAuthVerifier, index$2_TpsSensor as TpsSensor, type index$2_TpsSensorOptions as TpsSensorOptions, index$2_VarintHardeningSensor as VarintHardeningSensor };
|
|
3774
|
-
}
|
|
3775
|
-
|
|
3776
|
-
type index$1_ForkRequest = ForkRequest;
|
|
3777
|
-
type index$1_ForkResult = ForkResult;
|
|
3778
|
-
type index$1_InMemoryTimelineStore = InMemoryTimelineStore;
|
|
3779
|
-
declare const index$1_InMemoryTimelineStore: typeof InMemoryTimelineStore;
|
|
3780
|
-
type index$1_ReplayDifference = ReplayDifference;
|
|
3781
|
-
type index$1_ReplayMode = ReplayMode;
|
|
3782
|
-
type index$1_ReplayRequest = ReplayRequest;
|
|
3783
|
-
type index$1_ReplayResult = ReplayResult;
|
|
3784
|
-
type index$1_SimulatedSideEffect = SimulatedSideEffect;
|
|
3785
|
-
type index$1_SimulationRequest = SimulationRequest;
|
|
3786
|
-
type index$1_SimulationResult = SimulationResult;
|
|
3787
|
-
type index$1_StateSnapshot = StateSnapshot;
|
|
3788
|
-
type index$1_TimelineBranch = TimelineBranch;
|
|
3789
|
-
type index$1_TimelineComparison = TimelineComparison;
|
|
3790
|
-
type index$1_TimelineDomain = TimelineDomain;
|
|
3791
|
-
type index$1_TimelineEngine = TimelineEngine;
|
|
3792
|
-
declare const index$1_TimelineEngine: typeof TimelineEngine;
|
|
3793
|
-
type index$1_TimelineEvent = TimelineEvent;
|
|
3794
|
-
type index$1_TimelineEventStatus = TimelineEventStatus;
|
|
3795
|
-
type index$1_TimelineHandler = TimelineHandler;
|
|
3796
|
-
type index$1_TimelineHandlerContext = TimelineHandlerContext;
|
|
3797
|
-
type index$1_TimelineHandlerResult = TimelineHandlerResult;
|
|
3798
|
-
type index$1_TimelineStore = TimelineStore;
|
|
3227
|
+
type index$1_AccessProfileResolverSensor = AccessProfileResolverSensor;
|
|
3228
|
+
declare const index$1_AccessProfileResolverSensor: typeof AccessProfileResolverSensor;
|
|
3229
|
+
type index$1_BodyBudgetSensor = BodyBudgetSensor;
|
|
3230
|
+
declare const index$1_BodyBudgetSensor: typeof BodyBudgetSensor;
|
|
3231
|
+
type index$1_CapabilityEnforcementSensor = CapabilityEnforcementSensor;
|
|
3232
|
+
declare const index$1_CapabilityEnforcementSensor: typeof CapabilityEnforcementSensor;
|
|
3233
|
+
type index$1_ChunkHashSensor = ChunkHashSensor;
|
|
3234
|
+
declare const index$1_ChunkHashSensor: typeof ChunkHashSensor;
|
|
3235
|
+
type index$1_EntropySensor = EntropySensor;
|
|
3236
|
+
declare const index$1_EntropySensor: typeof EntropySensor;
|
|
3237
|
+
type index$1_ExecutionTimeoutSensor = ExecutionTimeoutSensor;
|
|
3238
|
+
declare const index$1_ExecutionTimeoutSensor: typeof ExecutionTimeoutSensor;
|
|
3239
|
+
type index$1_FrameBudgetSensor = FrameBudgetSensor;
|
|
3240
|
+
declare const index$1_FrameBudgetSensor: typeof FrameBudgetSensor;
|
|
3241
|
+
type index$1_FrameHeaderSanitySensor = FrameHeaderSanitySensor;
|
|
3242
|
+
declare const index$1_FrameHeaderSanitySensor: typeof FrameHeaderSanitySensor;
|
|
3243
|
+
type index$1_HeaderTLVLimitSensor = HeaderTLVLimitSensor;
|
|
3244
|
+
declare const index$1_HeaderTLVLimitSensor: typeof HeaderTLVLimitSensor;
|
|
3245
|
+
type index$1_IntentAllowlistSensor = IntentAllowlistSensor;
|
|
3246
|
+
declare const index$1_IntentAllowlistSensor: typeof IntentAllowlistSensor;
|
|
3247
|
+
type index$1_IntentRegistrySensor = IntentRegistrySensor;
|
|
3248
|
+
declare const index$1_IntentRegistrySensor: typeof IntentRegistrySensor;
|
|
3249
|
+
type index$1_ProofPresenceSensor = ProofPresenceSensor;
|
|
3250
|
+
declare const index$1_ProofPresenceSensor: typeof ProofPresenceSensor;
|
|
3251
|
+
type index$1_ProtocolStrictSensor = ProtocolStrictSensor;
|
|
3252
|
+
declare const index$1_ProtocolStrictSensor: typeof ProtocolStrictSensor;
|
|
3253
|
+
type index$1_ReceiptPolicySensor = ReceiptPolicySensor;
|
|
3254
|
+
declare const index$1_ReceiptPolicySensor: typeof ReceiptPolicySensor;
|
|
3255
|
+
type index$1_SchemaValidationSensor = SchemaValidationSensor;
|
|
3256
|
+
declare const index$1_SchemaValidationSensor: typeof SchemaValidationSensor;
|
|
3257
|
+
type index$1_StreamScopeSensor = StreamScopeSensor;
|
|
3258
|
+
declare const index$1_StreamScopeSensor: typeof StreamScopeSensor;
|
|
3259
|
+
type index$1_TLVParseSensor = TLVParseSensor;
|
|
3260
|
+
declare const index$1_TLVParseSensor: typeof TLVParseSensor;
|
|
3261
|
+
type index$1_VarintHardeningSensor = VarintHardeningSensor;
|
|
3262
|
+
declare const index$1_VarintHardeningSensor: typeof VarintHardeningSensor;
|
|
3799
3263
|
declare namespace index$1 {
|
|
3800
|
-
export {
|
|
3264
|
+
export { index$1_AccessProfileResolverSensor as AccessProfileResolverSensor, index$1_BodyBudgetSensor as BodyBudgetSensor, index$1_CapabilityEnforcementSensor as CapabilityEnforcementSensor, index$1_ChunkHashSensor as ChunkHashSensor, index$1_EntropySensor as EntropySensor, index$1_ExecutionTimeoutSensor as ExecutionTimeoutSensor, index$1_FrameBudgetSensor as FrameBudgetSensor, index$1_FrameHeaderSanitySensor as FrameHeaderSanitySensor, index$1_HeaderTLVLimitSensor as HeaderTLVLimitSensor, index$1_IntentAllowlistSensor as IntentAllowlistSensor, index$1_IntentRegistrySensor as IntentRegistrySensor, index$1_ProofPresenceSensor as ProofPresenceSensor, index$1_ProtocolStrictSensor as ProtocolStrictSensor, index$1_ReceiptPolicySensor as ReceiptPolicySensor, index$1_SchemaValidationSensor as SchemaValidationSensor, index$1_StreamScopeSensor as StreamScopeSensor, index$1_TLVParseSensor as TLVParseSensor, index$1_VarintHardeningSensor as VarintHardeningSensor };
|
|
3801
3265
|
}
|
|
3802
3266
|
|
|
3803
3267
|
declare const index_encodeAxisTlvDto: typeof encodeAxisTlvDto;
|
|
@@ -3805,4 +3269,4 @@ declare namespace index {
|
|
|
3805
3269
|
export { index_encodeAxisTlvDto as encodeAxisTlvDto };
|
|
3806
3270
|
}
|
|
3807
3271
|
|
|
3808
|
-
export { ATS1_HDR, ATS1_SCHEMA, AXIS_OPCODES, AXIS_UPLOAD_FILE_STORE, AXIS_UPLOAD_RECEIPT_SIGNER, AXIS_UPLOAD_SESSION_STORE,
|
|
3272
|
+
export { ATS1_HDR, ATS1_SCHEMA, AXIS_EXECUTION_CONTEXT_KEY, AXIS_OPCODES, AXIS_UPLOAD_FILE_STORE, AXIS_UPLOAD_RECEIPT_SIGNER, AXIS_UPLOAD_SESSION_STORE, ats1 as Ats1Codec, type Axis1DecodedFrame, type Axis1FrameToEncode, type AxisAlg$1 as AxisAlg, type AxisPacket as AxisBinaryPacket, type AxisCapsule, type AxisCapsuleConstraints, type AxisCapsulePayload, type AxisCapsuleRef, type AxisChainEncryption, type AxisChainEnvelope, AxisChainExecutor, type AxisChainRequest, type AxisChainResult, type AxisChainStatus, type AxisChainStep, type AxisChainStepResult, type AxisChainStepStatus, AxisContext$1 as AxisContext, type AxisCrudHandler, type AxisDecoded, AxisDemoPubkey, type AxisEffect, type AxisExecutionContext, type AxisExecutionMode, AxisFilesDownloadHandler, AxisFilesFinalizeHandler, AxisFrame$2 as AxisFrame, type AxisHandler, type AxisHandlerInit, AxisIdDto, type AxisIntentEnvelope, type AxisIntentObserver, AxisIp, type AxisAlg as AxisJsonAlg, type AxisFrame$1 as AxisJsonFrame, type AxisResponse as AxisJsonResponse, type AxisSig as AxisJsonSig, type AxisKeyExchangeRef, type AxisObservation, type AxisObservedContext, type AxisObserverBinding, type AxisObserverBindingOptions, type AxisObserverContext, type AxisObserverDefinition, type AxisObserverEvent, type AxisObserverRef, type AxisObserverRegistration, type AxisPacket$1 as AxisPacket, T as AxisPacketTags, AxisPartialType, type AxisPostSensor, type AxisPreSensor, AxisRaw, type AxisRequestContext, type AxisRequestData, AxisResponseDto, type AxisSensor, AxisSensorChainService, type AxisSensorInit, type AxisSig$1 as AxisSig, AxisTlvDto, BAND, CAPABILITIES, CAPSULE_POLICY_METADATA_KEY, CCE_ERROR, CCE_PROTOCOL_VERSION, CHAIN_METADATA_KEY, type Capability, type CapsuleMode, CapsulePolicy, type CapsulePolicyOptions, type CapsuleScopeMode, type CceCapsuleClaims as CceCapsuleClaimsType, CceError, type CceExecutionContext as CceExecutionContextType, type CceHandler, type CceHandlerContext, type CceHandlerResult, type CcePipelineConfig, type CcePipelineResult, type CcePolicyContext, type CcePolicyDecision, type CcePolicyEvaluator, type CceRequestEnvelope as CceRequestEnvelopeType, type CceResponseEnvelope as CceResponseEnvelopeType, type CceWitnessRecord as CceWitnessRecordType, Chain, type ChainOptions, type ChainResult, ContractViolationError, DEFAULT_CONTRACTS, DEFAULT_TIMEOUT, Decision, DiskUploadFileStore, type DtoSchema, type ExecutionContract, ExecutionMeter, type ExecutionMetrics, FALLBACK_CONTRACT, type Grant, type GrantCapability, type GrantMeta, type GrantStatus, type GrantType, type GrantValidationResult, HANDLER_METADATA_KEY, HANDLER_SENSORS_KEY, Handler, HandlerDiscoveryService, HandlerSensors, INTENT_BODY_KEY, INTENT_METADATA_KEY, INTENT_REQUIREMENTS, INTENT_ROUTES_KEY, INTENT_SENSITIVITY_MAP, INTENT_SENSORS_KEY, INTENT_TIMEOUTS, Intent, IntentBody, type IntentDefinition, type IntentKind, type IntentOptions, type IntentRoute, IntentRouter, IntentSensitivity, IntentSensors, type IntentTlvField, type KeyStatus, type LoomReceipt, type LoomValidationResult, OBSERVER_BINDINGS_KEY, OBSERVER_METADATA_KEY, type ObservationQueueConfig, type ObservationQueueMessage, type ObservationSensor, type ObservationStage, type ObservationStreamEntry, type ObservationWitnessSummary, Observer, ObserverDiscoveryService, ObserverDispatcherService, ObserverRegistry, type ObserverVerdict, PRE_DECODE_BOUNDARY, PROOF_CAPABILITIES, type PresenceChallenge, type PresenceDeclaration, type PresenceProof, type PresenceReceipt, type PresenceStatus, type PresenceVerifyResult, RESPONSE_TAG_CREATED_AT, RESPONSE_TAG_CREATED_BY, RESPONSE_TAG_ID, RESPONSE_TAG_UPDATED_AT, RESPONSE_TAG_UPDATED_BY, type ReceiptEffect, type RegisteredChainConfig, type ResponseContract, ResponseObserver, type ResponseObserverContext, type Revocation, type RevocationTargetType, RiskDecision, type RiskEvaluation, type RiskSignal, SENSOR_METADATA_KEY, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, Sensor, type SensorBand, type SensorDecision, SensorDecisions, SensorDiscoveryService, type SensorInput, type SensorMinifiedDecision, type SensorOptions, type SensorPhase, type SensorPhaseMetadata, SensorRegistry, TLV_FIELDS_KEY, TLV_VALIDATORS_KEY, type ThreadState, TlvEnum, TlvField, type TlvFieldKind, type TlvFieldMeta, type TlvFieldOptions, TlvMinLen, TlvRange, TlvUtf8Pattern, TlvValidate, type TlvValidatorFn, type TlvValidatorMeta, type UnsignedObservationWitness, type UploadFileStat, type UploadFileStore, type UploadReceiptSigner, type UploadSessionRecord, type UploadSessionStatus, type UploadSessionStore, type Writ, type WritBody, type WritHead, type WritMeta, type WritSignature, type WritValidationResult, axis1SigningBytes, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildDtoDecoder, buildPacket, buildQueueMessage, buildReceiptHash, buildTLVs, buildUnsignedWitness, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, canonicalizeGrant, canonicalizeObservation, canonicalizeWrit, index$9 as cce, classifyIntent, createObservation, index$8 as crypto, decodeAxis1Frame, decodeQueueMessage, index$7 as decorators, deriveAnchorReflection, encVarint, encodeAxis1Frame, encodeAxisTlvDto, encodeQueueMessage, endStage, index$5 as engine, executeCcePipeline, extractDtoSchema, finalizeObservation, getAxisExecutionContext, hasScope, hashObservation, isAdminOpcode, isKnownOpcode, isTimestampValid, index$4 as loom, mergeAxisExecutionContext, nonce16, normalizeSensorDecision, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseAutoClaimEntries, parseScope, parseStreamEntries, recordSensor, resolveTimeout, index$3 as schemas, index$2 as security, sensitivityName, index$1 as sensors, stableJsonStringify, startStage, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, utf8, index as utils, validateFrameShape, varintU, verifyResponse, withAxisExecutionContext };
|