@nextera.one/axis-server-sdk 1.6.0 → 1.8.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/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ModuleRef, DiscoveryService, MetadataScanner, Reflector } from '@nestjs
2
2
  import { A as AxisFrame$2 } from './index-1uEwnW-w.js';
3
3
  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';
4
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_PREV_HASH, TLV_PROOF_REF, TLV_PROOF_TYPE, TLV_REALM, TLV_RECEIPT_HASH, TLV_RID, TLV_SHA256_CHUNK, TLV_TRACE_ID, TLV_TS, TLV_UPLOAD_ID, decodeArray, decodeObject, decodeTLVs, decodeTLVsList, decodeVarint, encodeTLVs, encodeVarint, varintLength } 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
6
  import { OnModuleInit, OnApplicationBootstrap } from '@nestjs/common';
7
7
  import { ConfigService } from '@nestjs/config';
8
8
  import * as z from 'zod';
@@ -874,6 +874,8 @@ interface ObserverVerdict {
874
874
  reason?: string;
875
875
  }
876
876
  declare function verifyResponse(ctx: ResponseObserverContext, response: ResponseContract): ObserverVerdict;
877
+ type ResponseObserver = (ctx: ResponseObserverContext, response: ResponseContract) => ObserverVerdict;
878
+ declare const ResponseObserver: ResponseObserver;
877
879
 
878
880
  declare const ATS1_HDR: {
879
881
  readonly INTENT_ID: 1;
@@ -1982,6 +1984,144 @@ declare class AxisSensorChainService {
1982
1984
  private evaluateSensors;
1983
1985
  }
1984
1986
 
1987
+ type AxisTlvDtoCtor<T = object> = new (...args: never[]) => T;
1988
+ declare function encodeAxisTlvDto<T extends object>(dtoClass: AxisTlvDtoCtor<T>, data: Partial<Record<keyof T, unknown>>): Uint8Array;
1989
+
1990
+ interface PresenceDeclaration {
1991
+ softid: string;
1992
+ device_meta?: {
1993
+ fingerprint?: string;
1994
+ platform?: string;
1995
+ user_agent?: string;
1996
+ };
1997
+ }
1998
+ interface PresenceChallenge {
1999
+ challenge_id: string;
2000
+ nonce: string;
2001
+ temporal_anchor: number;
2002
+ ttl_ms: number;
2003
+ expires_at: number;
2004
+ }
2005
+ interface PresenceProof {
2006
+ challenge_id: string;
2007
+ signature: string;
2008
+ public_key: string;
2009
+ kid?: string;
2010
+ }
2011
+ interface PresenceReceipt {
2012
+ presence_id: string;
2013
+ softid: string;
2014
+ anchor_reflection: string;
2015
+ scope: {
2016
+ ip?: string;
2017
+ device_fingerprint?: string;
2018
+ };
2019
+ issued_at: number;
2020
+ expires_at: number;
2021
+ renewed_at?: number;
2022
+ }
2023
+ type PresenceStatus = 'active' | 'expired' | 'revoked';
2024
+ interface WritHead {
2025
+ tid: string;
2026
+ seq: number;
2027
+ }
2028
+ interface WritBody {
2029
+ who: string;
2030
+ act: string;
2031
+ res: string;
2032
+ law: string;
2033
+ }
2034
+ interface WritMeta {
2035
+ iat: number;
2036
+ exp: number;
2037
+ prev: string;
2038
+ }
2039
+ interface WritSignature {
2040
+ alg: 'ed25519';
2041
+ value: string;
2042
+ kid?: string;
2043
+ }
2044
+ interface Writ {
2045
+ head: WritHead;
2046
+ body: WritBody;
2047
+ meta: WritMeta;
2048
+ sig: WritSignature;
2049
+ }
2050
+ type GrantType = 'sovereign' | 'delegated' | 'system';
2051
+ interface GrantCapability {
2052
+ oec: string;
2053
+ scope: string;
2054
+ limit?: {
2055
+ rate?: string;
2056
+ amount?: number;
2057
+ depth?: string;
2058
+ };
2059
+ }
2060
+ interface GrantMeta {
2061
+ iat: number;
2062
+ exp: number;
2063
+ revocable: boolean;
2064
+ version: number;
2065
+ contract_ref?: string;
2066
+ }
2067
+ interface Grant {
2068
+ grant_id: string;
2069
+ issuer: string;
2070
+ subject: string;
2071
+ grant_type: GrantType;
2072
+ caps: GrantCapability[];
2073
+ meta: GrantMeta;
2074
+ sig: WritSignature;
2075
+ }
2076
+ type GrantStatus = 'active' | 'revoked' | 'expired';
2077
+ interface LoomReceipt {
2078
+ receipt_id: string;
2079
+ writ_hash: string;
2080
+ thread_id: string;
2081
+ sequence: number;
2082
+ effect: string;
2083
+ hash: string;
2084
+ prev_hash: string | null;
2085
+ executed_at: number;
2086
+ metadata?: Record<string, unknown>;
2087
+ }
2088
+ interface ThreadState {
2089
+ thread_id: string;
2090
+ softid: string;
2091
+ last_receipt_hash: string;
2092
+ sequence: number;
2093
+ updated_at: number;
2094
+ }
2095
+ type RevocationTargetType = 'grant' | 'presence' | 'softid';
2096
+ interface Revocation {
2097
+ revocation_id: string;
2098
+ target_type: RevocationTargetType;
2099
+ target_id: string;
2100
+ issuer_softid: string;
2101
+ reason?: string;
2102
+ effective_at: number;
2103
+ sig_value: string;
2104
+ }
2105
+ interface LoomValidationResult {
2106
+ valid: boolean;
2107
+ error?: string;
2108
+ code?: string;
2109
+ }
2110
+ interface PresenceVerifyResult extends LoomValidationResult {
2111
+ presence?: PresenceReceipt;
2112
+ }
2113
+ interface WritValidationResult extends LoomValidationResult {
2114
+ writ?: Writ;
2115
+ gate_failed?: 'temporal' | 'causal' | 'legal' | 'authentic';
2116
+ }
2117
+ interface GrantValidationResult extends LoomValidationResult {
2118
+ grant?: Grant;
2119
+ }
2120
+
2121
+ declare function deriveAnchorReflection(softid: string, context?: string, scope?: string): string;
2122
+ declare function canonicalizeWrit(writ: Omit<Writ, 'sig'>): string;
2123
+ declare function canonicalizeGrant(grant: Omit<Grant, 'sig'>): string;
2124
+
1985
2125
  interface CceDerivationInput {
1986
2126
  axisLocalSecret: string;
1987
2127
  capsule: CceCapsuleClaims;
@@ -2332,6 +2472,7 @@ type index$6_ObservationStreamEntry = ObservationStreamEntry;
2332
2472
  type index$6_ObservationWitnessSummary = ObservationWitnessSummary;
2333
2473
  type index$6_ObserverVerdict = ObserverVerdict;
2334
2474
  type index$6_ResponseContract = ResponseContract;
2475
+ declare const index$6_ResponseObserver: typeof ResponseObserver;
2335
2476
  type index$6_ResponseObserverContext = ResponseObserverContext;
2336
2477
  type index$6_UnsignedObservationWitness = UnsignedObservationWitness;
2337
2478
  declare const index$6_buildQueueMessage: typeof buildQueueMessage;
@@ -2345,7 +2486,7 @@ declare const index$6_parseStreamEntries: typeof parseStreamEntries;
2345
2486
  declare const index$6_stableJsonStringify: typeof stableJsonStringify;
2346
2487
  declare const index$6_verifyResponse: typeof verifyResponse;
2347
2488
  declare namespace index$6 {
2348
- 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, 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 };
2489
+ 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 };
2349
2490
  }
2350
2491
 
2351
2492
  type index$5_AxisDecoded = AxisDecoded;
@@ -2356,158 +2497,42 @@ type index$5_HandlerDiscoveryService = HandlerDiscoveryService;
2356
2497
  declare const index$5_HandlerDiscoveryService: typeof HandlerDiscoveryService;
2357
2498
  type index$5_IntentRouter = IntentRouter;
2358
2499
  declare const index$5_IntentRouter: typeof IntentRouter;
2500
+ type index$5_ObservationQueueConfig = ObservationQueueConfig;
2501
+ type index$5_ObservationQueueMessage = ObservationQueueMessage;
2359
2502
  type index$5_ObservationSensor = ObservationSensor;
2360
2503
  type index$5_ObservationStage = ObservationStage;
2504
+ type index$5_ObservationStreamEntry = ObservationStreamEntry;
2505
+ type index$5_ObservationWitnessSummary = ObservationWitnessSummary;
2506
+ type index$5_ObserverVerdict = ObserverVerdict;
2361
2507
  declare const index$5_PRE_DECODE_BOUNDARY: typeof PRE_DECODE_BOUNDARY;
2508
+ type index$5_ResponseContract = ResponseContract;
2509
+ declare const index$5_ResponseObserver: typeof ResponseObserver;
2510
+ type index$5_ResponseObserverContext = ResponseObserverContext;
2362
2511
  type index$5_SensorBand = SensorBand;
2363
2512
  type index$5_SensorDiscoveryService = SensorDiscoveryService;
2364
2513
  declare const index$5_SensorDiscoveryService: typeof SensorDiscoveryService;
2365
2514
  type index$5_SensorRegistry = SensorRegistry;
2366
2515
  declare const index$5_SensorRegistry: typeof SensorRegistry;
2516
+ type index$5_UnsignedObservationWitness = UnsignedObservationWitness;
2517
+ declare const index$5_buildQueueMessage: typeof buildQueueMessage;
2518
+ declare const index$5_buildUnsignedWitness: typeof buildUnsignedWitness;
2519
+ declare const index$5_canonicalizeObservation: typeof canonicalizeObservation;
2367
2520
  declare const index$5_createObservation: typeof createObservation;
2521
+ declare const index$5_decodeQueueMessage: typeof decodeQueueMessage;
2522
+ declare const index$5_encodeQueueMessage: typeof encodeQueueMessage;
2368
2523
  declare const index$5_endStage: typeof endStage;
2369
2524
  declare const index$5_finalizeObservation: typeof finalizeObservation;
2525
+ declare const index$5_hashObservation: typeof hashObservation;
2526
+ declare const index$5_parseAutoClaimEntries: typeof parseAutoClaimEntries;
2527
+ declare const index$5_parseStreamEntries: typeof parseStreamEntries;
2370
2528
  declare const index$5_recordSensor: typeof recordSensor;
2529
+ declare const index$5_stableJsonStringify: typeof stableJsonStringify;
2371
2530
  declare const index$5_startStage: typeof startStage;
2531
+ declare const index$5_verifyResponse: typeof verifyResponse;
2372
2532
  declare namespace index$5 {
2373
- export { type index$5_AxisDecoded as AxisDecoded, type index$5_AxisEffect as AxisEffect, type index$5_AxisObservation as AxisObservation, index$5_BAND as BAND, index$5_HandlerDiscoveryService as HandlerDiscoveryService, index$5_IntentRouter as IntentRouter, type IntentSchema$1 as IntentSchema, type index$5_ObservationSensor as ObservationSensor, type index$5_ObservationStage as ObservationStage, index$5_PRE_DECODE_BOUNDARY as PRE_DECODE_BOUNDARY, type index$5_SensorBand as SensorBand, index$5_SensorDiscoveryService as SensorDiscoveryService, index$5_SensorRegistry as SensorRegistry, index$5_createObservation as createObservation, index$5_endStage as endStage, index$5_finalizeObservation as finalizeObservation, index$6 as observation, index$5_recordSensor as recordSensor, index$5_startStage as startStage };
2533
+ export { type index$5_AxisDecoded as AxisDecoded, type index$5_AxisEffect as AxisEffect, type index$5_AxisObservation as AxisObservation, index$5_BAND as BAND, 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, type index$5_ObserverVerdict as ObserverVerdict, index$5_PRE_DECODE_BOUNDARY as PRE_DECODE_BOUNDARY, 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_hashObservation as hashObservation, 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 };
2374
2534
  }
2375
2535
 
2376
- interface PresenceDeclaration {
2377
- softid: string;
2378
- device_meta?: {
2379
- fingerprint?: string;
2380
- platform?: string;
2381
- user_agent?: string;
2382
- };
2383
- }
2384
- interface PresenceChallenge {
2385
- challenge_id: string;
2386
- nonce: string;
2387
- temporal_anchor: number;
2388
- ttl_ms: number;
2389
- expires_at: number;
2390
- }
2391
- interface PresenceProof {
2392
- challenge_id: string;
2393
- signature: string;
2394
- public_key: string;
2395
- kid?: string;
2396
- }
2397
- interface PresenceReceipt {
2398
- presence_id: string;
2399
- softid: string;
2400
- anchor_reflection: string;
2401
- scope: {
2402
- ip?: string;
2403
- device_fingerprint?: string;
2404
- };
2405
- issued_at: number;
2406
- expires_at: number;
2407
- renewed_at?: number;
2408
- }
2409
- type PresenceStatus = 'active' | 'expired' | 'revoked';
2410
- interface WritHead {
2411
- tid: string;
2412
- seq: number;
2413
- }
2414
- interface WritBody {
2415
- who: string;
2416
- act: string;
2417
- res: string;
2418
- law: string;
2419
- }
2420
- interface WritMeta {
2421
- iat: number;
2422
- exp: number;
2423
- prev: string;
2424
- }
2425
- interface WritSignature {
2426
- alg: 'ed25519';
2427
- value: string;
2428
- kid?: string;
2429
- }
2430
- interface Writ {
2431
- head: WritHead;
2432
- body: WritBody;
2433
- meta: WritMeta;
2434
- sig: WritSignature;
2435
- }
2436
- type GrantType = 'sovereign' | 'delegated' | 'system';
2437
- interface GrantCapability {
2438
- oec: string;
2439
- scope: string;
2440
- limit?: {
2441
- rate?: string;
2442
- amount?: number;
2443
- depth?: string;
2444
- };
2445
- }
2446
- interface GrantMeta {
2447
- iat: number;
2448
- exp: number;
2449
- revocable: boolean;
2450
- version: number;
2451
- contract_ref?: string;
2452
- }
2453
- interface Grant {
2454
- grant_id: string;
2455
- issuer: string;
2456
- subject: string;
2457
- grant_type: GrantType;
2458
- caps: GrantCapability[];
2459
- meta: GrantMeta;
2460
- sig: WritSignature;
2461
- }
2462
- type GrantStatus = 'active' | 'revoked' | 'expired';
2463
- interface LoomReceipt {
2464
- receipt_id: string;
2465
- writ_hash: string;
2466
- thread_id: string;
2467
- sequence: number;
2468
- effect: string;
2469
- hash: string;
2470
- prev_hash: string | null;
2471
- executed_at: number;
2472
- metadata?: Record<string, unknown>;
2473
- }
2474
- interface ThreadState {
2475
- thread_id: string;
2476
- softid: string;
2477
- last_receipt_hash: string;
2478
- sequence: number;
2479
- updated_at: number;
2480
- }
2481
- type RevocationTargetType = 'grant' | 'presence' | 'softid';
2482
- interface Revocation {
2483
- revocation_id: string;
2484
- target_type: RevocationTargetType;
2485
- target_id: string;
2486
- issuer_softid: string;
2487
- reason?: string;
2488
- effective_at: number;
2489
- sig_value: string;
2490
- }
2491
- interface LoomValidationResult {
2492
- valid: boolean;
2493
- error?: string;
2494
- code?: string;
2495
- }
2496
- interface PresenceVerifyResult extends LoomValidationResult {
2497
- presence?: PresenceReceipt;
2498
- }
2499
- interface WritValidationResult extends LoomValidationResult {
2500
- writ?: Writ;
2501
- gate_failed?: 'temporal' | 'causal' | 'legal' | 'authentic';
2502
- }
2503
- interface GrantValidationResult extends LoomValidationResult {
2504
- grant?: Grant;
2505
- }
2506
-
2507
- declare function deriveAnchorReflection(softid: string, context?: string, scope?: string): string;
2508
- declare function canonicalizeWrit(writ: Omit<Writ, 'sig'>): string;
2509
- declare function canonicalizeGrant(grant: Omit<Grant, 'sig'>): string;
2510
-
2511
2536
  type index$4_Grant = Grant;
2512
2537
  type index$4_GrantCapability = GrantCapability;
2513
2538
  type index$4_GrantMeta = GrantMeta;
@@ -2876,12 +2901,9 @@ declare namespace index$1 {
2876
2901
  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 };
2877
2902
  }
2878
2903
 
2879
- type AxisTlvDtoCtor<T = object> = new (...args: never[]) => T;
2880
- declare function encodeAxisTlvDto<T extends object>(dtoClass: AxisTlvDtoCtor<T>, data: Partial<Record<keyof T, unknown>>): Uint8Array;
2881
-
2882
2904
  declare const index_encodeAxisTlvDto: typeof encodeAxisTlvDto;
2883
2905
  declare namespace index {
2884
2906
  export { index_encodeAxisTlvDto as encodeAxisTlvDto };
2885
2907
  }
2886
2908
 
2887
- export { ATS1_HDR, ATS1_SCHEMA, 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, AxisContext$1 as AxisContext, type AxisCrudHandler, type AxisDecoded, AxisDemoPubkey, type AxisEffect, AxisFilesDownloadHandler, AxisFilesFinalizeHandler, AxisFrame$2 as AxisFrame, type AxisHandler, type AxisHandlerInit, AxisIdDto, AxisIp, type AxisAlg as AxisJsonAlg, type AxisFrame$1 as AxisJsonFrame, type AxisResponse as AxisJsonResponse, type AxisSig as AxisJsonSig, type AxisObservation, type AxisObservedContext, 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, CCE_ERROR, CCE_PROTOCOL_VERSION, type Capability, type CapsuleMode, type CceCapsuleClaims as CceCapsuleClaimsType, CceError, type CceExecutionContext as CceExecutionContextType, type CceHandler, type CceHandlerContext, type CceHandlerResult, type CcePipelineConfig, type CcePipelineResult, type CceRequestEnvelope as CceRequestEnvelopeType, type CceResponseEnvelope as CceResponseEnvelopeType, type CceWitnessRecord as CceWitnessRecordType, type ChainResult, ContractViolationError, DEFAULT_CONTRACTS, DEFAULT_TIMEOUT, Decision, DiskUploadFileStore, type DtoSchema, type ExecutionContract, ExecutionMeter, type ExecutionMetrics, FALLBACK_CONTRACT, 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 ObservationQueueConfig, type ObservationQueueMessage, type ObservationSensor, type ObservationStage, type ObservationStreamEntry, type ObservationWitnessSummary, type ObserverVerdict, PRE_DECODE_BOUNDARY, PROOF_CAPABILITIES, RESPONSE_TAG_CREATED_AT, RESPONSE_TAG_CREATED_BY, RESPONSE_TAG_ID, RESPONSE_TAG_UPDATED_AT, RESPONSE_TAG_UPDATED_BY, type ReceiptEffect, type ResponseContract, type ResponseObserverContext, 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, 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, axis1SigningBytes, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildDtoDecoder, buildPacket, buildQueueMessage, buildReceiptHash, buildTLVs, buildUnsignedWitness, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, canonicalizeObservation, index$9 as cce, classifyIntent, createObservation, index$8 as crypto, decodeAxis1Frame, decodeQueueMessage, index$7 as decorators, encVarint, encodeAxis1Frame, encodeQueueMessage, endStage, index$5 as engine, executeCcePipeline, extractDtoSchema, finalizeObservation, hasScope, hashObservation, isAdminOpcode, isKnownOpcode, isTimestampValid, index$4 as loom, 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 };
2909
+ export { ATS1_HDR, ATS1_SCHEMA, 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, AxisContext$1 as AxisContext, type AxisCrudHandler, type AxisDecoded, AxisDemoPubkey, type AxisEffect, AxisFilesDownloadHandler, AxisFilesFinalizeHandler, AxisFrame$2 as AxisFrame, type AxisHandler, type AxisHandlerInit, AxisIdDto, AxisIp, type AxisAlg as AxisJsonAlg, type AxisFrame$1 as AxisJsonFrame, type AxisResponse as AxisJsonResponse, type AxisSig as AxisJsonSig, type AxisObservation, type AxisObservedContext, 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, CCE_ERROR, CCE_PROTOCOL_VERSION, type Capability, type CapsuleMode, type CceCapsuleClaims as CceCapsuleClaimsType, CceError, type CceExecutionContext as CceExecutionContextType, type CceHandler, type CceHandlerContext, type CceHandlerResult, type CcePipelineConfig, type CcePipelineResult, type CceRequestEnvelope as CceRequestEnvelopeType, type CceResponseEnvelope as CceResponseEnvelopeType, type CceWitnessRecord as CceWitnessRecordType, 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, type ObservationQueueConfig, type ObservationQueueMessage, type ObservationSensor, type ObservationStage, type ObservationStreamEntry, type ObservationWitnessSummary, 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 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, hasScope, hashObservation, isAdminOpcode, isKnownOpcode, isTimestampValid, index$4 as loom, 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 };