@nextera.one/axis-server-sdk 2.2.8 → 2.3.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.
@@ -1,7 +1,7 @@
1
1
  import { A as AxisSensor, m as AxisPreSensor, l as AxisPostSensor, S as SensorInput, a as SensorDecision } from './axis-sensor-DMW4rfRg.mjs';
2
- import { x as CcePipelineConfig, s as CceHandler, b as CceRequestEnvelope, y as CcePipelineResult } from './cce-pipeline-CBt56guN.mjs';
3
- import { AxisFrame } from '@nextera.one/axis-protocol';
4
2
  import * as z from 'zod';
3
+ import { AxisFrame } from '@nextera.one/axis-protocol';
4
+ import { x as CcePipelineConfig, s as CceHandler, b as CceRequestEnvelope, y as CcePipelineResult } from './cce-pipeline-CBt56guN.mjs';
5
5
 
6
6
  type AxisExecutionMode = 'strict' | 'parallel' | 'best_effort' | 'atomic';
7
7
  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';
@@ -244,7 +244,7 @@ declare const AXIS_META_KEY = "axis:axis";
244
244
  declare const SENSITIVITY_METADATA_KEY = "axis:sensitivity";
245
245
  declare const CONTRACT_METADATA_KEY = "axis:contract";
246
246
  declare const REQUIRED_PROOF_METADATA_KEY = "axis:required_proof";
247
- type RequiredProofKind = ProofKind | "WITNESS";
247
+ type RequiredProofKind = ProofKind;
248
248
  declare function Sensitivity(level: SensitivityLevel): ClassDecorator & MethodDecorator;
249
249
  declare function Contract(options: Partial<ExecutionContract>): ClassDecorator & MethodDecorator;
250
250
  declare function RequiredProof(proofs: [RequiredProofKind, ...RequiredProofKind[]]): ClassDecorator & MethodDecorator;
@@ -254,6 +254,8 @@ declare function Axis(): ClassDecorator;
254
254
  declare const AXIS_PUBLIC_KEY = "axis:public";
255
255
  declare function AxisPublic(): ClassDecorator & MethodDecorator;
256
256
  declare const AXIS_ANONYMOUS_KEY = "axis:anonymous";
257
+ declare const AXIS_AUTHORIZED_KEY = "axis:authorized";
258
+ declare function AxisAuthorized(): ClassDecorator & MethodDecorator;
257
259
  declare function AxisAnonymous(): ClassDecorator & MethodDecorator;
258
260
  declare const AXIS_RATE_LIMIT_KEY = "axis:rateLimit";
259
261
  interface AxisRateLimitConfig {
@@ -441,6 +443,7 @@ declare class IntentRouter {
441
443
  private intentRequiredProof;
442
444
  private publicIntents;
443
445
  private anonymousIntents;
446
+ private authorizedIntents;
444
447
  private intentRateLimits;
445
448
  private cceHandlers;
446
449
  private ccePipelineConfig;
@@ -471,6 +474,7 @@ declare class IntentRouter {
471
474
  getRequiredProof(intent: string): RequiredProofKind[] | undefined;
472
475
  isPublic(intent: string): boolean;
473
476
  isAnonymous(intent: string): boolean;
477
+ isAuthorized(intent: string): boolean;
474
478
  getRateLimit(intent: string): AxisRateLimitConfig | undefined;
475
479
  private emitIntentObservers;
476
480
  private runIntentSensors;
@@ -846,4 +850,4 @@ declare class VarintHardeningSensor implements AxisSensor {
846
850
  run(input: SensorInput): Promise<SensorDecision>;
847
851
  }
848
852
 
849
- export { CapabilityEnforcementSensor as $, type AxisIntentSensorOptions as A, type AxisIntentSensorRef as B, type ChainOptions as C, type AxisIntentSensorWhen as D, type AxisKeyExchangeRef as E, type AxisLawArticleSummary as F, type AxisLawDecision as G, type AxisLawEvaluationContext as H, type IntentTlvField as I, type AxisLawEvaluationResult as J, type AxisLawEvaluator as K, type AxisObserverBinding as L, type AxisObserverBindingOptions as M, type AxisObserverContext as N, ObserverDispatcherService as O, type AxisObserverDefinition as P, type AxisObserverEvent as Q, type AxisObserverRef as R, SensorRegistry as S, type TlvValidatorFn as T, type AxisObserverRegistration as U, AxisPublic as V, AxisRateLimit as W, type AxisRateLimitConfig as X, BodyBudgetSensor as Y, CAPSULE_POLICY_METADATA_KEY as Z, CONTRACT_METADATA_KEY as _, type AxisObserverBindingInput as a, type TpsSensorOptions as a$, Capsule as a0, CapsulePolicy as a1, type CapsulePolicyOptions as a2, type CapsuleScopeMode as a3, ChunkHashSensor as a4, Contract as a5, DEFAULT_CONTRACTS as a6, EntropySensor as a7, type ExecutionContract as a8, ExecutionTimeoutSensor as a9, type RiskEvaluation as aA, RiskGateSensor as aB, type RiskGateSensorOptions as aC, type RiskSignal as aD, type RiskSignalCollector as aE, SENSITIVITY_METADATA_KEY as aF, SchemaValidationSensor as aG, Sensitivity as aH, StreamScopeSensor as aI, TLVParseSensor as aJ, TLV_FIELDS_KEY as aK, TLV_VALIDATORS_KEY as aL, type TickAuthCapsuleRef as aM, TickAuthSensor as aN, type TickAuthSensorOptions as aO, type TickAuthVerifier as aP, TlvEnum as aQ, TlvField as aR, type TlvFieldKind as aS, type TlvFieldMeta as aT, type TlvFieldOptions as aU, TlvMinLen as aV, TlvRange as aW, TlvUtf8Pattern as aX, TlvValidate as aY, type TlvValidatorMeta as aZ, TpsSensor as a_, FALLBACK_CONTRACT as aa, FrameBudgetSensor as ab, FrameHeaderSanitySensor as ac, HeaderTLVLimitSensor as ad, INTENT_METADATA_KEY as ae, INTENT_ROUTES_KEY as af, Intent as ag, IntentAllowlistSensor as ah, type IntentKind as ai, type IntentOptions as aj, IntentRegistrySensor as ak, type IntentRoute as al, LawEvaluationSensor as am, type LawEvaluationSensorOptions as an, OBSERVER_BINDINGS_KEY as ao, OBSERVER_METADATA_KEY as ap, Observer as aq, ObserverRegistry as ar, ProofPresenceSensor as as, ProtocolStrictSensor as at, REQUIRED_PROOF_METADATA_KEY as au, ReceiptPolicySensor as av, type RegisteredChainConfig as aw, RequiredProof as ax, type RequiredProofKind as ay, RiskDecision as az, type AxisIntentSensorBindingInput as b, VarintHardeningSensor as b0, Witness as b1, buildAxisLawEvaluationContext as b2, toIntentSensorBinding as b3, toObserverBinding as b4, IntentRouter as c, type AxisChainEnvelope as d, type AxisChainResult as e, type AxisCapsuleRef as f, type AxisChainStep as g, type AxisContext as h, AXIS_ANONYMOUS_KEY as i, AXIS_META_KEY as j, AXIS_PUBLIC_KEY as k, AXIS_RATE_LIMIT_KEY as l, AccessProfileResolverSensor as m, Axis as n, AxisAnonymous as o, type AxisChainEncryption as p, type AxisChainRequest as q, type AxisChainStatus as r, type AxisChainStepResult as s, type AxisChainStepStatus as t, type AxisEffect as u, type AxisExecutionMode as v, type AxisIntentEnvelope as w, type AxisIntentObserver as x, type AxisIntentSensorBinding as y, type AxisIntentSensorBindingOptions as z };
853
+ export { BodyBudgetSensor as $, type AxisIntentSensorOptions as A, type AxisIntentSensorBinding as B, type ChainOptions as C, type AxisIntentSensorBindingOptions as D, type AxisIntentSensorRef as E, type AxisIntentSensorWhen as F, type AxisKeyExchangeRef as G, type AxisLawArticleSummary as H, type IntentTlvField as I, type AxisLawDecision as J, type AxisLawEvaluationContext as K, type AxisLawEvaluationResult as L, type AxisLawEvaluator as M, type AxisObserverBinding as N, ObserverDispatcherService as O, type AxisObserverBindingOptions as P, type AxisObserverContext as Q, type RequiredProofKind as R, SensorRegistry as S, type TlvValidatorFn as T, type AxisObserverDefinition as U, type AxisObserverEvent as V, type AxisObserverRef as W, type AxisObserverRegistration as X, AxisPublic as Y, AxisRateLimit as Z, type AxisRateLimitConfig as _, type AxisObserverBindingInput as a, type TlvValidatorMeta as a$, CAPSULE_POLICY_METADATA_KEY as a0, CONTRACT_METADATA_KEY as a1, CapabilityEnforcementSensor as a2, Capsule as a3, CapsulePolicy as a4, type CapsulePolicyOptions as a5, type CapsuleScopeMode as a6, ChunkHashSensor as a7, Contract as a8, DEFAULT_CONTRACTS as a9, RequiredProof as aA, RiskDecision as aB, type RiskEvaluation as aC, RiskGateSensor as aD, type RiskGateSensorOptions as aE, type RiskSignal as aF, type RiskSignalCollector as aG, SENSITIVITY_METADATA_KEY as aH, SchemaValidationSensor as aI, Sensitivity as aJ, StreamScopeSensor as aK, TLVParseSensor as aL, TLV_FIELDS_KEY as aM, TLV_VALIDATORS_KEY as aN, type TickAuthCapsuleRef as aO, TickAuthSensor as aP, type TickAuthSensorOptions as aQ, type TickAuthVerifier as aR, TlvEnum as aS, TlvField as aT, type TlvFieldKind as aU, type TlvFieldMeta as aV, type TlvFieldOptions as aW, TlvMinLen as aX, TlvRange as aY, TlvUtf8Pattern as aZ, TlvValidate as a_, EntropySensor as aa, type ExecutionContract as ab, ExecutionTimeoutSensor as ac, FALLBACK_CONTRACT as ad, FrameBudgetSensor as ae, FrameHeaderSanitySensor as af, HeaderTLVLimitSensor as ag, INTENT_METADATA_KEY as ah, INTENT_ROUTES_KEY as ai, Intent as aj, IntentAllowlistSensor as ak, type IntentKind as al, type IntentOptions as am, IntentRegistrySensor as an, type IntentRoute as ao, LawEvaluationSensor as ap, type LawEvaluationSensorOptions as aq, OBSERVER_BINDINGS_KEY as ar, OBSERVER_METADATA_KEY as as, Observer as at, ObserverRegistry as au, ProofPresenceSensor as av, ProtocolStrictSensor as aw, REQUIRED_PROOF_METADATA_KEY as ax, ReceiptPolicySensor as ay, type RegisteredChainConfig as az, type AxisIntentSensorBindingInput as b, TpsSensor as b0, type TpsSensorOptions as b1, VarintHardeningSensor as b2, Witness as b3, buildAxisLawEvaluationContext as b4, toIntentSensorBinding as b5, toObserverBinding as b6, IntentRouter as c, type AxisChainEnvelope as d, type AxisChainResult as e, type AxisCapsuleRef as f, type AxisChainStep as g, type AxisContext as h, AXIS_ANONYMOUS_KEY as i, AXIS_AUTHORIZED_KEY as j, AXIS_META_KEY as k, AXIS_PUBLIC_KEY as l, AXIS_RATE_LIMIT_KEY as m, AccessProfileResolverSensor as n, Axis as o, AxisAnonymous as p, AxisAuthorized as q, type AxisChainEncryption as r, type AxisChainRequest as s, type AxisChainStatus as t, type AxisChainStepResult as u, type AxisChainStepStatus as v, type AxisEffect as w, type AxisExecutionMode as x, type AxisIntentEnvelope as y, type AxisIntentObserver as z };
@@ -1,7 +1,7 @@
1
1
  import { A as AxisSensor, m as AxisPreSensor, l as AxisPostSensor, S as SensorInput, a as SensorDecision } from './axis-sensor-DMW4rfRg.js';
2
- import { x as CcePipelineConfig, s as CceHandler, b as CceRequestEnvelope, y as CcePipelineResult } from './cce-pipeline-BJ-F1isr.js';
3
- import { AxisFrame } from '@nextera.one/axis-protocol';
4
2
  import * as z from 'zod';
3
+ import { AxisFrame } from '@nextera.one/axis-protocol';
4
+ import { x as CcePipelineConfig, s as CceHandler, b as CceRequestEnvelope, y as CcePipelineResult } from './cce-pipeline-BJ-F1isr.js';
5
5
 
6
6
  type AxisExecutionMode = 'strict' | 'parallel' | 'best_effort' | 'atomic';
7
7
  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';
@@ -244,7 +244,7 @@ declare const AXIS_META_KEY = "axis:axis";
244
244
  declare const SENSITIVITY_METADATA_KEY = "axis:sensitivity";
245
245
  declare const CONTRACT_METADATA_KEY = "axis:contract";
246
246
  declare const REQUIRED_PROOF_METADATA_KEY = "axis:required_proof";
247
- type RequiredProofKind = ProofKind | "WITNESS";
247
+ type RequiredProofKind = ProofKind;
248
248
  declare function Sensitivity(level: SensitivityLevel): ClassDecorator & MethodDecorator;
249
249
  declare function Contract(options: Partial<ExecutionContract>): ClassDecorator & MethodDecorator;
250
250
  declare function RequiredProof(proofs: [RequiredProofKind, ...RequiredProofKind[]]): ClassDecorator & MethodDecorator;
@@ -254,6 +254,8 @@ declare function Axis(): ClassDecorator;
254
254
  declare const AXIS_PUBLIC_KEY = "axis:public";
255
255
  declare function AxisPublic(): ClassDecorator & MethodDecorator;
256
256
  declare const AXIS_ANONYMOUS_KEY = "axis:anonymous";
257
+ declare const AXIS_AUTHORIZED_KEY = "axis:authorized";
258
+ declare function AxisAuthorized(): ClassDecorator & MethodDecorator;
257
259
  declare function AxisAnonymous(): ClassDecorator & MethodDecorator;
258
260
  declare const AXIS_RATE_LIMIT_KEY = "axis:rateLimit";
259
261
  interface AxisRateLimitConfig {
@@ -441,6 +443,7 @@ declare class IntentRouter {
441
443
  private intentRequiredProof;
442
444
  private publicIntents;
443
445
  private anonymousIntents;
446
+ private authorizedIntents;
444
447
  private intentRateLimits;
445
448
  private cceHandlers;
446
449
  private ccePipelineConfig;
@@ -471,6 +474,7 @@ declare class IntentRouter {
471
474
  getRequiredProof(intent: string): RequiredProofKind[] | undefined;
472
475
  isPublic(intent: string): boolean;
473
476
  isAnonymous(intent: string): boolean;
477
+ isAuthorized(intent: string): boolean;
474
478
  getRateLimit(intent: string): AxisRateLimitConfig | undefined;
475
479
  private emitIntentObservers;
476
480
  private runIntentSensors;
@@ -846,4 +850,4 @@ declare class VarintHardeningSensor implements AxisSensor {
846
850
  run(input: SensorInput): Promise<SensorDecision>;
847
851
  }
848
852
 
849
- export { CapabilityEnforcementSensor as $, type AxisIntentSensorOptions as A, type AxisIntentSensorRef as B, type ChainOptions as C, type AxisIntentSensorWhen as D, type AxisKeyExchangeRef as E, type AxisLawArticleSummary as F, type AxisLawDecision as G, type AxisLawEvaluationContext as H, type IntentTlvField as I, type AxisLawEvaluationResult as J, type AxisLawEvaluator as K, type AxisObserverBinding as L, type AxisObserverBindingOptions as M, type AxisObserverContext as N, ObserverDispatcherService as O, type AxisObserverDefinition as P, type AxisObserverEvent as Q, type AxisObserverRef as R, SensorRegistry as S, type TlvValidatorFn as T, type AxisObserverRegistration as U, AxisPublic as V, AxisRateLimit as W, type AxisRateLimitConfig as X, BodyBudgetSensor as Y, CAPSULE_POLICY_METADATA_KEY as Z, CONTRACT_METADATA_KEY as _, type AxisObserverBindingInput as a, type TpsSensorOptions as a$, Capsule as a0, CapsulePolicy as a1, type CapsulePolicyOptions as a2, type CapsuleScopeMode as a3, ChunkHashSensor as a4, Contract as a5, DEFAULT_CONTRACTS as a6, EntropySensor as a7, type ExecutionContract as a8, ExecutionTimeoutSensor as a9, type RiskEvaluation as aA, RiskGateSensor as aB, type RiskGateSensorOptions as aC, type RiskSignal as aD, type RiskSignalCollector as aE, SENSITIVITY_METADATA_KEY as aF, SchemaValidationSensor as aG, Sensitivity as aH, StreamScopeSensor as aI, TLVParseSensor as aJ, TLV_FIELDS_KEY as aK, TLV_VALIDATORS_KEY as aL, type TickAuthCapsuleRef as aM, TickAuthSensor as aN, type TickAuthSensorOptions as aO, type TickAuthVerifier as aP, TlvEnum as aQ, TlvField as aR, type TlvFieldKind as aS, type TlvFieldMeta as aT, type TlvFieldOptions as aU, TlvMinLen as aV, TlvRange as aW, TlvUtf8Pattern as aX, TlvValidate as aY, type TlvValidatorMeta as aZ, TpsSensor as a_, FALLBACK_CONTRACT as aa, FrameBudgetSensor as ab, FrameHeaderSanitySensor as ac, HeaderTLVLimitSensor as ad, INTENT_METADATA_KEY as ae, INTENT_ROUTES_KEY as af, Intent as ag, IntentAllowlistSensor as ah, type IntentKind as ai, type IntentOptions as aj, IntentRegistrySensor as ak, type IntentRoute as al, LawEvaluationSensor as am, type LawEvaluationSensorOptions as an, OBSERVER_BINDINGS_KEY as ao, OBSERVER_METADATA_KEY as ap, Observer as aq, ObserverRegistry as ar, ProofPresenceSensor as as, ProtocolStrictSensor as at, REQUIRED_PROOF_METADATA_KEY as au, ReceiptPolicySensor as av, type RegisteredChainConfig as aw, RequiredProof as ax, type RequiredProofKind as ay, RiskDecision as az, type AxisIntentSensorBindingInput as b, VarintHardeningSensor as b0, Witness as b1, buildAxisLawEvaluationContext as b2, toIntentSensorBinding as b3, toObserverBinding as b4, IntentRouter as c, type AxisChainEnvelope as d, type AxisChainResult as e, type AxisCapsuleRef as f, type AxisChainStep as g, type AxisContext as h, AXIS_ANONYMOUS_KEY as i, AXIS_META_KEY as j, AXIS_PUBLIC_KEY as k, AXIS_RATE_LIMIT_KEY as l, AccessProfileResolverSensor as m, Axis as n, AxisAnonymous as o, type AxisChainEncryption as p, type AxisChainRequest as q, type AxisChainStatus as r, type AxisChainStepResult as s, type AxisChainStepStatus as t, type AxisEffect as u, type AxisExecutionMode as v, type AxisIntentEnvelope as w, type AxisIntentObserver as x, type AxisIntentSensorBinding as y, type AxisIntentSensorBindingOptions as z };
853
+ export { BodyBudgetSensor as $, type AxisIntentSensorOptions as A, type AxisIntentSensorBinding as B, type ChainOptions as C, type AxisIntentSensorBindingOptions as D, type AxisIntentSensorRef as E, type AxisIntentSensorWhen as F, type AxisKeyExchangeRef as G, type AxisLawArticleSummary as H, type IntentTlvField as I, type AxisLawDecision as J, type AxisLawEvaluationContext as K, type AxisLawEvaluationResult as L, type AxisLawEvaluator as M, type AxisObserverBinding as N, ObserverDispatcherService as O, type AxisObserverBindingOptions as P, type AxisObserverContext as Q, type RequiredProofKind as R, SensorRegistry as S, type TlvValidatorFn as T, type AxisObserverDefinition as U, type AxisObserverEvent as V, type AxisObserverRef as W, type AxisObserverRegistration as X, AxisPublic as Y, AxisRateLimit as Z, type AxisRateLimitConfig as _, type AxisObserverBindingInput as a, type TlvValidatorMeta as a$, CAPSULE_POLICY_METADATA_KEY as a0, CONTRACT_METADATA_KEY as a1, CapabilityEnforcementSensor as a2, Capsule as a3, CapsulePolicy as a4, type CapsulePolicyOptions as a5, type CapsuleScopeMode as a6, ChunkHashSensor as a7, Contract as a8, DEFAULT_CONTRACTS as a9, RequiredProof as aA, RiskDecision as aB, type RiskEvaluation as aC, RiskGateSensor as aD, type RiskGateSensorOptions as aE, type RiskSignal as aF, type RiskSignalCollector as aG, SENSITIVITY_METADATA_KEY as aH, SchemaValidationSensor as aI, Sensitivity as aJ, StreamScopeSensor as aK, TLVParseSensor as aL, TLV_FIELDS_KEY as aM, TLV_VALIDATORS_KEY as aN, type TickAuthCapsuleRef as aO, TickAuthSensor as aP, type TickAuthSensorOptions as aQ, type TickAuthVerifier as aR, TlvEnum as aS, TlvField as aT, type TlvFieldKind as aU, type TlvFieldMeta as aV, type TlvFieldOptions as aW, TlvMinLen as aX, TlvRange as aY, TlvUtf8Pattern as aZ, TlvValidate as a_, EntropySensor as aa, type ExecutionContract as ab, ExecutionTimeoutSensor as ac, FALLBACK_CONTRACT as ad, FrameBudgetSensor as ae, FrameHeaderSanitySensor as af, HeaderTLVLimitSensor as ag, INTENT_METADATA_KEY as ah, INTENT_ROUTES_KEY as ai, Intent as aj, IntentAllowlistSensor as ak, type IntentKind as al, type IntentOptions as am, IntentRegistrySensor as an, type IntentRoute as ao, LawEvaluationSensor as ap, type LawEvaluationSensorOptions as aq, OBSERVER_BINDINGS_KEY as ar, OBSERVER_METADATA_KEY as as, Observer as at, ObserverRegistry as au, ProofPresenceSensor as av, ProtocolStrictSensor as aw, REQUIRED_PROOF_METADATA_KEY as ax, ReceiptPolicySensor as ay, type RegisteredChainConfig as az, type AxisIntentSensorBindingInput as b, TpsSensor as b0, type TpsSensorOptions as b1, VarintHardeningSensor as b2, Witness as b3, buildAxisLawEvaluationContext as b4, toIntentSensorBinding as b5, toObserverBinding as b6, IntentRouter as c, type AxisChainEnvelope as d, type AxisChainResult as e, type AxisCapsuleRef as f, type AxisChainStep as g, type AxisContext as h, AXIS_ANONYMOUS_KEY as i, AXIS_AUTHORIZED_KEY as j, AXIS_META_KEY as k, AXIS_PUBLIC_KEY as l, AXIS_RATE_LIMIT_KEY as m, AccessProfileResolverSensor as n, Axis as o, AxisAnonymous as p, AxisAuthorized as q, type AxisChainEncryption as r, type AxisChainRequest as s, type AxisChainStatus as t, type AxisChainStepResult as u, type AxisChainStepStatus as v, type AxisEffect as w, type AxisExecutionMode as x, type AxisIntentEnvelope as y, type AxisIntentObserver as z };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ChainOptions, A as AxisIntentSensorOptions, a as AxisObserverBindingInput, b as AxisIntentSensorBindingInput, I as IntentTlvField, T as TlvValidatorFn, c as IntentRouter, O as ObserverDispatcherService, d as AxisChainEnvelope, e as AxisChainResult, f as AxisCapsuleRef, g as AxisChainStep, h as AxisContext, S as SensorRegistry } from './index-CZ3RXsBC.mjs';
2
- export { i as AXIS_ANONYMOUS_KEY, j as AXIS_META_KEY, k as AXIS_PUBLIC_KEY, l as AXIS_RATE_LIMIT_KEY, m as AccessProfileResolverSensor, n as Axis, o as AxisAnonymous, p as AxisChainEncryption, q as AxisChainRequest, r as AxisChainStatus, s as AxisChainStepResult, t as AxisChainStepStatus, u as AxisEffect, v as AxisExecutionMode, w as AxisIntentEnvelope, x as AxisIntentObserver, y as AxisIntentSensorBinding, z as AxisIntentSensorBindingOptions, B as AxisIntentSensorRef, D as AxisIntentSensorWhen, E as AxisKeyExchangeRef, F as AxisLawArticleSummary, G as AxisLawDecision, H as AxisLawEvaluationContext, J as AxisLawEvaluationResult, K as AxisLawEvaluator, L as AxisObserverBinding, M as AxisObserverBindingOptions, N as AxisObserverContext, P as AxisObserverDefinition, Q as AxisObserverEvent, R as AxisObserverRef, U as AxisObserverRegistration, V as AxisPublic, W as AxisRateLimit, X as AxisRateLimitConfig, Y as BodyBudgetSensor, Z as CAPSULE_POLICY_METADATA_KEY, _ as CONTRACT_METADATA_KEY, $ as CapabilityEnforcementSensor, a0 as Capsule, a1 as CapsulePolicy, a2 as CapsulePolicyOptions, a3 as CapsuleScopeMode, a4 as ChunkHashSensor, a5 as Contract, a6 as DEFAULT_CONTRACTS, a7 as EntropySensor, a8 as ExecutionContract, a9 as ExecutionTimeoutSensor, aa as FALLBACK_CONTRACT, ab as FrameBudgetSensor, ac as FrameHeaderSanitySensor, ad as HeaderTLVLimitSensor, ae as INTENT_METADATA_KEY, af as INTENT_ROUTES_KEY, ag as Intent, ah as IntentAllowlistSensor, ai as IntentKind, aj as IntentOptions, ak as IntentRegistrySensor, al as IntentRoute, am as LawEvaluationSensor, an as LawEvaluationSensorOptions, ao as OBSERVER_BINDINGS_KEY, ap as OBSERVER_METADATA_KEY, aq as Observer, ar as ObserverRegistry, as as ProofPresenceSensor, at as ProtocolStrictSensor, au as REQUIRED_PROOF_METADATA_KEY, av as ReceiptPolicySensor, aw as RegisteredChainConfig, ax as RequiredProof, ay as RequiredProofKind, az as RiskDecision, aA as RiskEvaluation, aB as RiskGateSensor, aC as RiskGateSensorOptions, aD as RiskSignal, aE as RiskSignalCollector, aF as SENSITIVITY_METADATA_KEY, aG as SchemaValidationSensor, aH as Sensitivity, aI as StreamScopeSensor, aJ as TLVParseSensor, aK as TLV_FIELDS_KEY, aL as TLV_VALIDATORS_KEY, aM as TickAuthCapsuleRef, aN as TickAuthSensor, aO as TickAuthSensorOptions, aP as TickAuthVerifier, aQ as TlvEnum, aR as TlvField, aS as TlvFieldKind, aT as TlvFieldMeta, aU as TlvFieldOptions, aV as TlvMinLen, aW as TlvRange, aX as TlvUtf8Pattern, aY as TlvValidate, aZ as TlvValidatorMeta, a_ as TpsSensor, a$ as TpsSensorOptions, b0 as VarintHardeningSensor, b1 as Witness, b2 as buildAxisLawEvaluationContext, b3 as toIntentSensorBinding, b4 as toObserverBinding } from './index-CZ3RXsBC.mjs';
1
+ import { C as ChainOptions, A as AxisIntentSensorOptions, a as AxisObserverBindingInput, b as AxisIntentSensorBindingInput, R as RequiredProofKind, I as IntentTlvField, T as TlvValidatorFn, c as IntentRouter, O as ObserverDispatcherService, d as AxisChainEnvelope, e as AxisChainResult, f as AxisCapsuleRef, g as AxisChainStep, h as AxisContext, S as SensorRegistry } from './index-Bng8utj8.mjs';
2
+ export { i as AXIS_ANONYMOUS_KEY, j as AXIS_AUTHORIZED_KEY, k as AXIS_META_KEY, l as AXIS_PUBLIC_KEY, m as AXIS_RATE_LIMIT_KEY, n as AccessProfileResolverSensor, o as Axis, p as AxisAnonymous, q as AxisAuthorized, r as AxisChainEncryption, s as AxisChainRequest, t as AxisChainStatus, u as AxisChainStepResult, v as AxisChainStepStatus, w as AxisEffect, x as AxisExecutionMode, y as AxisIntentEnvelope, z as AxisIntentObserver, B as AxisIntentSensorBinding, D as AxisIntentSensorBindingOptions, E as AxisIntentSensorRef, F as AxisIntentSensorWhen, G as AxisKeyExchangeRef, H as AxisLawArticleSummary, J as AxisLawDecision, K as AxisLawEvaluationContext, L as AxisLawEvaluationResult, M as AxisLawEvaluator, N as AxisObserverBinding, P as AxisObserverBindingOptions, Q as AxisObserverContext, U as AxisObserverDefinition, V as AxisObserverEvent, W as AxisObserverRef, X as AxisObserverRegistration, Y as AxisPublic, Z as AxisRateLimit, _ as AxisRateLimitConfig, $ as BodyBudgetSensor, a0 as CAPSULE_POLICY_METADATA_KEY, a1 as CONTRACT_METADATA_KEY, a2 as CapabilityEnforcementSensor, a3 as Capsule, a4 as CapsulePolicy, a5 as CapsulePolicyOptions, a6 as CapsuleScopeMode, a7 as ChunkHashSensor, a8 as Contract, a9 as DEFAULT_CONTRACTS, aa as EntropySensor, ab as ExecutionContract, ac as ExecutionTimeoutSensor, ad as FALLBACK_CONTRACT, ae as FrameBudgetSensor, af as FrameHeaderSanitySensor, ag as HeaderTLVLimitSensor, ah as INTENT_METADATA_KEY, ai as INTENT_ROUTES_KEY, aj as Intent, ak as IntentAllowlistSensor, al as IntentKind, am as IntentOptions, an as IntentRegistrySensor, ao as IntentRoute, ap as LawEvaluationSensor, aq as LawEvaluationSensorOptions, ar as OBSERVER_BINDINGS_KEY, as as OBSERVER_METADATA_KEY, at as Observer, au as ObserverRegistry, av as ProofPresenceSensor, aw as ProtocolStrictSensor, ax as REQUIRED_PROOF_METADATA_KEY, ay as ReceiptPolicySensor, az as RegisteredChainConfig, aA as RequiredProof, aB as RiskDecision, aC as RiskEvaluation, aD as RiskGateSensor, aE as RiskGateSensorOptions, aF as RiskSignal, aG as RiskSignalCollector, aH as SENSITIVITY_METADATA_KEY, aI as SchemaValidationSensor, aJ as Sensitivity, aK as StreamScopeSensor, aL as TLVParseSensor, aM as TLV_FIELDS_KEY, aN as TLV_VALIDATORS_KEY, aO as TickAuthCapsuleRef, aP as TickAuthSensor, aQ as TickAuthSensorOptions, aR as TickAuthVerifier, aS as TlvEnum, aT as TlvField, aU as TlvFieldKind, aV as TlvFieldMeta, aW as TlvFieldOptions, aX as TlvMinLen, aY as TlvRange, aZ as TlvUtf8Pattern, a_ as TlvValidate, a$ as TlvValidatorMeta, b0 as TpsSensor, b1 as TpsSensorOptions, b2 as VarintHardeningSensor, b3 as Witness, b4 as buildAxisLawEvaluationContext, b5 as toIntentSensorBinding, b6 as toObserverBinding } from './index-Bng8utj8.mjs';
3
3
  import { AxisFrame } from '@nextera.one/axis-protocol';
4
4
  export { AXIS_MAGIC, AXIS_VERSION, AxisBinaryFrame, AxisFrame, TLV as AxisTlvType, 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, 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, decodeFrame, decodeObject, decodeTLVs, decodeTLVsList, decodeVarint, encodeFrame, encodeTLVs, encodeVarint, getSignTarget, varintLength } from '@nextera.one/axis-protocol';
5
5
  import { A as AxisObservation, L as LoomReceipt, T as ThreadState, W as WritValidationResult, G as Grant, a as GrantCapability, P as PresenceDeclaration, b as PresenceChallenge, c as Writ, R as Revocation, d as WritBody, e as WritMeta, f as PresenceReceipt, g as GrantStatus, h as PresenceStatus, i as PresenceProof, j as GrantValidationResult, k as PresenceVerifyResult } from './index-DiuKGnQw.mjs';
@@ -40,6 +40,7 @@ declare const SENSOR_METADATA_KEY = "axis:sensor";
40
40
  type SensorPhase = "PRE_DECODE" | "POST_DECODE";
41
41
  interface SensorOptions {
42
42
  phase?: SensorPhase;
43
+ proofKind?: RequiredProofKind;
43
44
  }
44
45
  declare function Sensor(options?: SensorOptions): ClassDecorator;
45
46
 
@@ -783,4 +784,4 @@ declare function executeLoomPipeline(writ: Writ, publicKeyHex: string, presence:
783
784
  code: string;
784
785
  };
785
786
 
786
- 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, Axis1DecodedFrame, type AxisPacket as AxisBinaryPacket, AxisCapsuleRef, AxisChainEnvelope, AxisChainExecutor, AxisChainResult, AxisChainStep, type AxisCrudHandler, type AxisDecoded, type AxisExecutionContext, type AxisHandler, type AxisHandlerInit, AxisIdDto, AxisIntentSensorBindingInput, AxisIntentSensorOptions, AxisMediaTypes, AxisObservation, AxisObserverBindingInput, T as AxisPacketTags, AxisPartialType, AxisResponseDto, AxisSensorChainService, AxisTlvDto, BAND, BodyProfile, type BodyProfileValidation, BodyProfileValidator, CAPABILITIES, CHAIN_METADATA_KEY, type Capability, Chain, ChainOptions, type ChainResult, ContractViolationError, DEFAULT_TIMEOUT, type DeviceSEContext, DiskUploadFileStore, type DtoSchema, ExecutionMeter, type ExecutionMetrics, Grant, GrantCapability, GrantStatus, GrantValidationResult, HANDLER_METADATA_KEY, HANDLER_SENSORS_KEY, Handler, type HandlerOptions, HandlerSensors, INTENT_BODY_KEY, INTENT_REQUIREMENTS, INTENT_SENSITIVITY_MAP, INTENT_SENSORS_KEY, INTENT_TIMEOUTS, IntentBody, type IntentDefinition, IntentRouter, IntentSensitivity, IntentSensors, IntentTlvField, type LoomExecutionResult, LoomReceipt, type MTLSContext, type ObservationQueueConfig, type ObservationQueueMessage, type ObservationStreamEntry, type ObservationWitnessSummary, ObserverDispatcherService, type ObserverVerdict, PRE_DECODE_BOUNDARY, PROOF_CAPABILITIES, PresenceChallenge, PresenceDeclaration, PresenceProof, PresenceReceipt, PresenceStatus, PresenceVerifyResult, type ProofType, type ProofVerificationResult, ProofVerificationService, 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, Revocation, SENSOR_METADATA_KEY, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, Sensor, type SensorBand, SensorDecision, SensorInput, type SensorOptions, type SensorPhase, SensorRegistry, ThreadState, TlvValidatorFn, type UnsignedObservationWitness, type UploadFileStat, type UploadFileStore, type UploadReceiptSigner, type UploadSessionRecord, type UploadSessionStatus, type UploadSessionStore, Writ, WritBody, WritMeta, WritValidationResult, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildDtoDecoder, buildPacket, buildQueueMessage, buildReceiptHash, buildTLVs, buildUnsignedWitness, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, canonicalizeObservation, classifyIntent, createGrant, createPresenceChallenge, createReceipt, createRevocation, createWrit, decodeQueueMessage, encVarint, encodeAxisTlvDto, encodeQueueMessage, executeLoomPipeline, extractDtoSchema, getAxisExecutionContext, getGrantStatus, getPresenceStatus, grantCoversAction, hasScope, hashObservation, isAdminOpcode, isKnownOpcode, isRevoked, isTimestampValid, mergeAxisExecutionContext, nonce16, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseAutoClaimEntries, parseScope, parseStreamEntries, renewPresence, resolveTimeout, sensitivityName, signPresenceChallenge, stableJsonStringify, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, updateThreadState, utf8, validateFrameShape, validateGrant, validateWrit, varintU, verifyPresenceProof, verifyReceiptChain, verifyResponse, withAxisExecutionContext };
787
+ 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, Axis1DecodedFrame, type AxisPacket as AxisBinaryPacket, AxisCapsuleRef, AxisChainEnvelope, AxisChainExecutor, AxisChainResult, AxisChainStep, type AxisCrudHandler, type AxisDecoded, type AxisExecutionContext, type AxisHandler, type AxisHandlerInit, AxisIdDto, AxisIntentSensorBindingInput, AxisIntentSensorOptions, AxisMediaTypes, AxisObservation, AxisObserverBindingInput, T as AxisPacketTags, AxisPartialType, AxisResponseDto, AxisSensorChainService, AxisTlvDto, BAND, BodyProfile, type BodyProfileValidation, BodyProfileValidator, CAPABILITIES, CHAIN_METADATA_KEY, type Capability, Chain, ChainOptions, type ChainResult, ContractViolationError, DEFAULT_TIMEOUT, type DeviceSEContext, DiskUploadFileStore, type DtoSchema, ExecutionMeter, type ExecutionMetrics, Grant, GrantCapability, GrantStatus, GrantValidationResult, HANDLER_METADATA_KEY, HANDLER_SENSORS_KEY, Handler, type HandlerOptions, HandlerSensors, INTENT_BODY_KEY, INTENT_REQUIREMENTS, INTENT_SENSITIVITY_MAP, INTENT_SENSORS_KEY, INTENT_TIMEOUTS, IntentBody, type IntentDefinition, IntentRouter, IntentSensitivity, IntentSensors, IntentTlvField, type LoomExecutionResult, LoomReceipt, type MTLSContext, type ObservationQueueConfig, type ObservationQueueMessage, type ObservationStreamEntry, type ObservationWitnessSummary, ObserverDispatcherService, type ObserverVerdict, PRE_DECODE_BOUNDARY, PROOF_CAPABILITIES, PresenceChallenge, PresenceDeclaration, PresenceProof, PresenceReceipt, PresenceStatus, PresenceVerifyResult, type ProofType, type ProofVerificationResult, ProofVerificationService, RESPONSE_TAG_CREATED_AT, RESPONSE_TAG_CREATED_BY, RESPONSE_TAG_ID, RESPONSE_TAG_UPDATED_AT, RESPONSE_TAG_UPDATED_BY, type ReceiptEffect, RequiredProofKind, type ResponseContract, ResponseObserver, type ResponseObserverContext, Revocation, SENSOR_METADATA_KEY, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, Sensor, type SensorBand, SensorDecision, SensorInput, type SensorOptions, type SensorPhase, SensorRegistry, ThreadState, TlvValidatorFn, type UnsignedObservationWitness, type UploadFileStat, type UploadFileStore, type UploadReceiptSigner, type UploadSessionRecord, type UploadSessionStatus, type UploadSessionStore, Writ, WritBody, WritMeta, WritValidationResult, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildDtoDecoder, buildPacket, buildQueueMessage, buildReceiptHash, buildTLVs, buildUnsignedWitness, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, canonicalizeObservation, classifyIntent, createGrant, createPresenceChallenge, createReceipt, createRevocation, createWrit, decodeQueueMessage, encVarint, encodeAxisTlvDto, encodeQueueMessage, executeLoomPipeline, extractDtoSchema, getAxisExecutionContext, getGrantStatus, getPresenceStatus, grantCoversAction, hasScope, hashObservation, isAdminOpcode, isKnownOpcode, isRevoked, isTimestampValid, mergeAxisExecutionContext, nonce16, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseAutoClaimEntries, parseScope, parseStreamEntries, renewPresence, resolveTimeout, sensitivityName, signPresenceChallenge, stableJsonStringify, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, updateThreadState, utf8, validateFrameShape, validateGrant, validateWrit, varintU, verifyPresenceProof, verifyReceiptChain, verifyResponse, withAxisExecutionContext };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ChainOptions, A as AxisIntentSensorOptions, a as AxisObserverBindingInput, b as AxisIntentSensorBindingInput, I as IntentTlvField, T as TlvValidatorFn, c as IntentRouter, O as ObserverDispatcherService, d as AxisChainEnvelope, e as AxisChainResult, f as AxisCapsuleRef, g as AxisChainStep, h as AxisContext, S as SensorRegistry } from './index-DEh3s2yx.js';
2
- export { i as AXIS_ANONYMOUS_KEY, j as AXIS_META_KEY, k as AXIS_PUBLIC_KEY, l as AXIS_RATE_LIMIT_KEY, m as AccessProfileResolverSensor, n as Axis, o as AxisAnonymous, p as AxisChainEncryption, q as AxisChainRequest, r as AxisChainStatus, s as AxisChainStepResult, t as AxisChainStepStatus, u as AxisEffect, v as AxisExecutionMode, w as AxisIntentEnvelope, x as AxisIntentObserver, y as AxisIntentSensorBinding, z as AxisIntentSensorBindingOptions, B as AxisIntentSensorRef, D as AxisIntentSensorWhen, E as AxisKeyExchangeRef, F as AxisLawArticleSummary, G as AxisLawDecision, H as AxisLawEvaluationContext, J as AxisLawEvaluationResult, K as AxisLawEvaluator, L as AxisObserverBinding, M as AxisObserverBindingOptions, N as AxisObserverContext, P as AxisObserverDefinition, Q as AxisObserverEvent, R as AxisObserverRef, U as AxisObserverRegistration, V as AxisPublic, W as AxisRateLimit, X as AxisRateLimitConfig, Y as BodyBudgetSensor, Z as CAPSULE_POLICY_METADATA_KEY, _ as CONTRACT_METADATA_KEY, $ as CapabilityEnforcementSensor, a0 as Capsule, a1 as CapsulePolicy, a2 as CapsulePolicyOptions, a3 as CapsuleScopeMode, a4 as ChunkHashSensor, a5 as Contract, a6 as DEFAULT_CONTRACTS, a7 as EntropySensor, a8 as ExecutionContract, a9 as ExecutionTimeoutSensor, aa as FALLBACK_CONTRACT, ab as FrameBudgetSensor, ac as FrameHeaderSanitySensor, ad as HeaderTLVLimitSensor, ae as INTENT_METADATA_KEY, af as INTENT_ROUTES_KEY, ag as Intent, ah as IntentAllowlistSensor, ai as IntentKind, aj as IntentOptions, ak as IntentRegistrySensor, al as IntentRoute, am as LawEvaluationSensor, an as LawEvaluationSensorOptions, ao as OBSERVER_BINDINGS_KEY, ap as OBSERVER_METADATA_KEY, aq as Observer, ar as ObserverRegistry, as as ProofPresenceSensor, at as ProtocolStrictSensor, au as REQUIRED_PROOF_METADATA_KEY, av as ReceiptPolicySensor, aw as RegisteredChainConfig, ax as RequiredProof, ay as RequiredProofKind, az as RiskDecision, aA as RiskEvaluation, aB as RiskGateSensor, aC as RiskGateSensorOptions, aD as RiskSignal, aE as RiskSignalCollector, aF as SENSITIVITY_METADATA_KEY, aG as SchemaValidationSensor, aH as Sensitivity, aI as StreamScopeSensor, aJ as TLVParseSensor, aK as TLV_FIELDS_KEY, aL as TLV_VALIDATORS_KEY, aM as TickAuthCapsuleRef, aN as TickAuthSensor, aO as TickAuthSensorOptions, aP as TickAuthVerifier, aQ as TlvEnum, aR as TlvField, aS as TlvFieldKind, aT as TlvFieldMeta, aU as TlvFieldOptions, aV as TlvMinLen, aW as TlvRange, aX as TlvUtf8Pattern, aY as TlvValidate, aZ as TlvValidatorMeta, a_ as TpsSensor, a$ as TpsSensorOptions, b0 as VarintHardeningSensor, b1 as Witness, b2 as buildAxisLawEvaluationContext, b3 as toIntentSensorBinding, b4 as toObserverBinding } from './index-DEh3s2yx.js';
1
+ import { C as ChainOptions, A as AxisIntentSensorOptions, a as AxisObserverBindingInput, b as AxisIntentSensorBindingInput, R as RequiredProofKind, I as IntentTlvField, T as TlvValidatorFn, c as IntentRouter, O as ObserverDispatcherService, d as AxisChainEnvelope, e as AxisChainResult, f as AxisCapsuleRef, g as AxisChainStep, h as AxisContext, S as SensorRegistry } from './index-DJbM2lNM.js';
2
+ export { i as AXIS_ANONYMOUS_KEY, j as AXIS_AUTHORIZED_KEY, k as AXIS_META_KEY, l as AXIS_PUBLIC_KEY, m as AXIS_RATE_LIMIT_KEY, n as AccessProfileResolverSensor, o as Axis, p as AxisAnonymous, q as AxisAuthorized, r as AxisChainEncryption, s as AxisChainRequest, t as AxisChainStatus, u as AxisChainStepResult, v as AxisChainStepStatus, w as AxisEffect, x as AxisExecutionMode, y as AxisIntentEnvelope, z as AxisIntentObserver, B as AxisIntentSensorBinding, D as AxisIntentSensorBindingOptions, E as AxisIntentSensorRef, F as AxisIntentSensorWhen, G as AxisKeyExchangeRef, H as AxisLawArticleSummary, J as AxisLawDecision, K as AxisLawEvaluationContext, L as AxisLawEvaluationResult, M as AxisLawEvaluator, N as AxisObserverBinding, P as AxisObserverBindingOptions, Q as AxisObserverContext, U as AxisObserverDefinition, V as AxisObserverEvent, W as AxisObserverRef, X as AxisObserverRegistration, Y as AxisPublic, Z as AxisRateLimit, _ as AxisRateLimitConfig, $ as BodyBudgetSensor, a0 as CAPSULE_POLICY_METADATA_KEY, a1 as CONTRACT_METADATA_KEY, a2 as CapabilityEnforcementSensor, a3 as Capsule, a4 as CapsulePolicy, a5 as CapsulePolicyOptions, a6 as CapsuleScopeMode, a7 as ChunkHashSensor, a8 as Contract, a9 as DEFAULT_CONTRACTS, aa as EntropySensor, ab as ExecutionContract, ac as ExecutionTimeoutSensor, ad as FALLBACK_CONTRACT, ae as FrameBudgetSensor, af as FrameHeaderSanitySensor, ag as HeaderTLVLimitSensor, ah as INTENT_METADATA_KEY, ai as INTENT_ROUTES_KEY, aj as Intent, ak as IntentAllowlistSensor, al as IntentKind, am as IntentOptions, an as IntentRegistrySensor, ao as IntentRoute, ap as LawEvaluationSensor, aq as LawEvaluationSensorOptions, ar as OBSERVER_BINDINGS_KEY, as as OBSERVER_METADATA_KEY, at as Observer, au as ObserverRegistry, av as ProofPresenceSensor, aw as ProtocolStrictSensor, ax as REQUIRED_PROOF_METADATA_KEY, ay as ReceiptPolicySensor, az as RegisteredChainConfig, aA as RequiredProof, aB as RiskDecision, aC as RiskEvaluation, aD as RiskGateSensor, aE as RiskGateSensorOptions, aF as RiskSignal, aG as RiskSignalCollector, aH as SENSITIVITY_METADATA_KEY, aI as SchemaValidationSensor, aJ as Sensitivity, aK as StreamScopeSensor, aL as TLVParseSensor, aM as TLV_FIELDS_KEY, aN as TLV_VALIDATORS_KEY, aO as TickAuthCapsuleRef, aP as TickAuthSensor, aQ as TickAuthSensorOptions, aR as TickAuthVerifier, aS as TlvEnum, aT as TlvField, aU as TlvFieldKind, aV as TlvFieldMeta, aW as TlvFieldOptions, aX as TlvMinLen, aY as TlvRange, aZ as TlvUtf8Pattern, a_ as TlvValidate, a$ as TlvValidatorMeta, b0 as TpsSensor, b1 as TpsSensorOptions, b2 as VarintHardeningSensor, b3 as Witness, b4 as buildAxisLawEvaluationContext, b5 as toIntentSensorBinding, b6 as toObserverBinding } from './index-DJbM2lNM.js';
3
3
  import { AxisFrame } from '@nextera.one/axis-protocol';
4
4
  export { AXIS_MAGIC, AXIS_VERSION, AxisBinaryFrame, AxisFrame, TLV as AxisTlvType, 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, 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, decodeFrame, decodeObject, decodeTLVs, decodeTLVsList, decodeVarint, encodeFrame, encodeTLVs, encodeVarint, getSignTarget, varintLength } from '@nextera.one/axis-protocol';
5
5
  import { A as AxisObservation, L as LoomReceipt, T as ThreadState, W as WritValidationResult, G as Grant, a as GrantCapability, P as PresenceDeclaration, b as PresenceChallenge, c as Writ, R as Revocation, d as WritBody, e as WritMeta, f as PresenceReceipt, g as GrantStatus, h as PresenceStatus, i as PresenceProof, j as GrantValidationResult, k as PresenceVerifyResult } from './index-DMjzq8YO.js';
@@ -40,6 +40,7 @@ declare const SENSOR_METADATA_KEY = "axis:sensor";
40
40
  type SensorPhase = "PRE_DECODE" | "POST_DECODE";
41
41
  interface SensorOptions {
42
42
  phase?: SensorPhase;
43
+ proofKind?: RequiredProofKind;
43
44
  }
44
45
  declare function Sensor(options?: SensorOptions): ClassDecorator;
45
46
 
@@ -783,4 +784,4 @@ declare function executeLoomPipeline(writ: Writ, publicKeyHex: string, presence:
783
784
  code: string;
784
785
  };
785
786
 
786
- 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, Axis1DecodedFrame, type AxisPacket as AxisBinaryPacket, AxisCapsuleRef, AxisChainEnvelope, AxisChainExecutor, AxisChainResult, AxisChainStep, type AxisCrudHandler, type AxisDecoded, type AxisExecutionContext, type AxisHandler, type AxisHandlerInit, AxisIdDto, AxisIntentSensorBindingInput, AxisIntentSensorOptions, AxisMediaTypes, AxisObservation, AxisObserverBindingInput, T as AxisPacketTags, AxisPartialType, AxisResponseDto, AxisSensorChainService, AxisTlvDto, BAND, BodyProfile, type BodyProfileValidation, BodyProfileValidator, CAPABILITIES, CHAIN_METADATA_KEY, type Capability, Chain, ChainOptions, type ChainResult, ContractViolationError, DEFAULT_TIMEOUT, type DeviceSEContext, DiskUploadFileStore, type DtoSchema, ExecutionMeter, type ExecutionMetrics, Grant, GrantCapability, GrantStatus, GrantValidationResult, HANDLER_METADATA_KEY, HANDLER_SENSORS_KEY, Handler, type HandlerOptions, HandlerSensors, INTENT_BODY_KEY, INTENT_REQUIREMENTS, INTENT_SENSITIVITY_MAP, INTENT_SENSORS_KEY, INTENT_TIMEOUTS, IntentBody, type IntentDefinition, IntentRouter, IntentSensitivity, IntentSensors, IntentTlvField, type LoomExecutionResult, LoomReceipt, type MTLSContext, type ObservationQueueConfig, type ObservationQueueMessage, type ObservationStreamEntry, type ObservationWitnessSummary, ObserverDispatcherService, type ObserverVerdict, PRE_DECODE_BOUNDARY, PROOF_CAPABILITIES, PresenceChallenge, PresenceDeclaration, PresenceProof, PresenceReceipt, PresenceStatus, PresenceVerifyResult, type ProofType, type ProofVerificationResult, ProofVerificationService, 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, Revocation, SENSOR_METADATA_KEY, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, Sensor, type SensorBand, SensorDecision, SensorInput, type SensorOptions, type SensorPhase, SensorRegistry, ThreadState, TlvValidatorFn, type UnsignedObservationWitness, type UploadFileStat, type UploadFileStore, type UploadReceiptSigner, type UploadSessionRecord, type UploadSessionStatus, type UploadSessionStore, Writ, WritBody, WritMeta, WritValidationResult, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildDtoDecoder, buildPacket, buildQueueMessage, buildReceiptHash, buildTLVs, buildUnsignedWitness, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, canonicalizeObservation, classifyIntent, createGrant, createPresenceChallenge, createReceipt, createRevocation, createWrit, decodeQueueMessage, encVarint, encodeAxisTlvDto, encodeQueueMessage, executeLoomPipeline, extractDtoSchema, getAxisExecutionContext, getGrantStatus, getPresenceStatus, grantCoversAction, hasScope, hashObservation, isAdminOpcode, isKnownOpcode, isRevoked, isTimestampValid, mergeAxisExecutionContext, nonce16, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseAutoClaimEntries, parseScope, parseStreamEntries, renewPresence, resolveTimeout, sensitivityName, signPresenceChallenge, stableJsonStringify, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, updateThreadState, utf8, validateFrameShape, validateGrant, validateWrit, varintU, verifyPresenceProof, verifyReceiptChain, verifyResponse, withAxisExecutionContext };
787
+ 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, Axis1DecodedFrame, type AxisPacket as AxisBinaryPacket, AxisCapsuleRef, AxisChainEnvelope, AxisChainExecutor, AxisChainResult, AxisChainStep, type AxisCrudHandler, type AxisDecoded, type AxisExecutionContext, type AxisHandler, type AxisHandlerInit, AxisIdDto, AxisIntentSensorBindingInput, AxisIntentSensorOptions, AxisMediaTypes, AxisObservation, AxisObserverBindingInput, T as AxisPacketTags, AxisPartialType, AxisResponseDto, AxisSensorChainService, AxisTlvDto, BAND, BodyProfile, type BodyProfileValidation, BodyProfileValidator, CAPABILITIES, CHAIN_METADATA_KEY, type Capability, Chain, ChainOptions, type ChainResult, ContractViolationError, DEFAULT_TIMEOUT, type DeviceSEContext, DiskUploadFileStore, type DtoSchema, ExecutionMeter, type ExecutionMetrics, Grant, GrantCapability, GrantStatus, GrantValidationResult, HANDLER_METADATA_KEY, HANDLER_SENSORS_KEY, Handler, type HandlerOptions, HandlerSensors, INTENT_BODY_KEY, INTENT_REQUIREMENTS, INTENT_SENSITIVITY_MAP, INTENT_SENSORS_KEY, INTENT_TIMEOUTS, IntentBody, type IntentDefinition, IntentRouter, IntentSensitivity, IntentSensors, IntentTlvField, type LoomExecutionResult, LoomReceipt, type MTLSContext, type ObservationQueueConfig, type ObservationQueueMessage, type ObservationStreamEntry, type ObservationWitnessSummary, ObserverDispatcherService, type ObserverVerdict, PRE_DECODE_BOUNDARY, PROOF_CAPABILITIES, PresenceChallenge, PresenceDeclaration, PresenceProof, PresenceReceipt, PresenceStatus, PresenceVerifyResult, type ProofType, type ProofVerificationResult, ProofVerificationService, RESPONSE_TAG_CREATED_AT, RESPONSE_TAG_CREATED_BY, RESPONSE_TAG_ID, RESPONSE_TAG_UPDATED_AT, RESPONSE_TAG_UPDATED_BY, type ReceiptEffect, RequiredProofKind, type ResponseContract, ResponseObserver, type ResponseObserverContext, Revocation, SENSOR_METADATA_KEY, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, Sensor, type SensorBand, SensorDecision, SensorInput, type SensorOptions, type SensorPhase, SensorRegistry, ThreadState, TlvValidatorFn, type UnsignedObservationWitness, type UploadFileStat, type UploadFileStore, type UploadReceiptSigner, type UploadSessionRecord, type UploadSessionStatus, type UploadSessionStore, Writ, WritBody, WritMeta, WritValidationResult, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildDtoDecoder, buildPacket, buildQueueMessage, buildReceiptHash, buildTLVs, buildUnsignedWitness, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, canonicalizeObservation, classifyIntent, createGrant, createPresenceChallenge, createReceipt, createRevocation, createWrit, decodeQueueMessage, encVarint, encodeAxisTlvDto, encodeQueueMessage, executeLoomPipeline, extractDtoSchema, getAxisExecutionContext, getGrantStatus, getPresenceStatus, grantCoversAction, hasScope, hashObservation, isAdminOpcode, isKnownOpcode, isRevoked, isTimestampValid, mergeAxisExecutionContext, nonce16, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseAutoClaimEntries, parseScope, parseStreamEntries, renewPresence, resolveTimeout, sensitivityName, signPresenceChallenge, stableJsonStringify, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, updateThreadState, utf8, validateFrameShape, validateGrant, validateWrit, varintU, verifyPresenceProof, verifyReceiptChain, verifyResponse, withAxisExecutionContext };