@astrasyncai/verification-gateway 5.9.0 → 5.11.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/adapters/express.js +19 -1
- package/dist/adapters/express.js.map +1 -1
- package/dist/adapters/express.mjs +19 -1
- package/dist/adapters/express.mjs.map +1 -1
- package/dist/adapters/mcp.js +19 -1
- package/dist/adapters/mcp.js.map +1 -1
- package/dist/adapters/mcp.mjs +19 -1
- package/dist/adapters/mcp.mjs.map +1 -1
- package/dist/adapters/nextjs.js +19 -1
- package/dist/adapters/nextjs.js.map +1 -1
- package/dist/adapters/nextjs.mjs +19 -1
- package/dist/adapters/nextjs.mjs.map +1 -1
- package/dist/adapters/sdk.js +19 -1
- package/dist/adapters/sdk.js.map +1 -1
- package/dist/adapters/sdk.mjs +19 -1
- package/dist/adapters/sdk.mjs.map +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/index.mjs +1 -1
- package/dist/agent/index.mjs.map +1 -1
- package/dist/bin/astrasync-claude-hook.js +540 -10
- package/dist/bin/astrasync-codex-hook.js +540 -10
- package/dist/bin/astrasync-guard.js +629 -65
- package/dist/bin/astrasync.js +673 -66
- package/dist/browser/background.js +19 -1
- package/dist/browser/background.js.map +1 -1
- package/dist/browser/background.mjs +19 -1
- package/dist/browser/background.mjs.map +1 -1
- package/dist/cli/index.d.mts +8 -8
- package/dist/cli/index.d.ts +8 -8
- package/dist/cli/index.js +22 -64
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +22 -64
- package/dist/cli/index.mjs.map +1 -1
- package/dist/codex/index.d.mts +5 -0
- package/dist/codex/index.d.ts +5 -0
- package/dist/codex/index.js +556 -18
- package/dist/codex/index.js.map +1 -1
- package/dist/codex/index.mjs +558 -20
- package/dist/codex/index.mjs.map +1 -1
- package/dist/cursor/extension.d.mts +9 -2
- package/dist/cursor/extension.d.ts +9 -2
- package/dist/cursor/extension.js +522 -5
- package/dist/cursor/extension.js.map +1 -1
- package/dist/cursor/extension.mjs +524 -5
- package/dist/cursor/extension.mjs.map +1 -1
- package/dist/edge-config.js +1 -1
- package/dist/edge-config.js.map +1 -1
- package/dist/edge-config.mjs +1 -1
- package/dist/edge-config.mjs.map +1 -1
- package/dist/edge-core/index.js +20 -2
- package/dist/edge-core/index.js.map +1 -1
- package/dist/edge-core/index.mjs +20 -2
- package/dist/edge-core/index.mjs.map +1 -1
- package/dist/enrolment-store-8DyaIOLe.d.mts +26 -0
- package/dist/enrolment-store-8DyaIOLe.d.ts +26 -0
- package/dist/gateway/gateway.js +19 -1
- package/dist/gateway/gateway.js.map +1 -1
- package/dist/gateway/gateway.mjs +19 -1
- package/dist/gateway/gateway.mjs.map +1 -1
- package/dist/index.d.mts +100 -3
- package/dist/index.d.ts +100 -3
- package/dist/index.js +3289 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3287 -18
- package/dist/index.mjs.map +1 -1
- package/dist/registration/index.js +1 -1
- package/dist/registration/index.js.map +1 -1
- package/dist/registration/index.mjs +1 -1
- package/dist/registration/index.mjs.map +1 -1
- package/dist/transport/index.js +1 -1
- package/dist/transport/index.js.map +1 -1
- package/dist/transport/index.mjs +1 -1
- package/dist/transport/index.mjs.map +1 -1
- package/dist/verify.js +19 -1
- package/dist/verify.js.map +1 -1
- package/dist/verify.mjs +19 -1
- package/dist/verify.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4832,9 +4832,106 @@ declare function detectRuntime(userAgent: string | undefined | null): string | u
|
|
|
4832
4832
|
* silently (never throwing), so this is a no-op there — which is correct:
|
|
4833
4833
|
* in a browser the page's real UA is the honest identity.
|
|
4834
4834
|
*/
|
|
4835
|
-
declare const SDK_USER_AGENT = "astrasync-sdk/5.
|
|
4835
|
+
declare const SDK_USER_AGENT = "astrasync-sdk/5.11.0";
|
|
4836
4836
|
declare const sdkFetch: typeof fetch;
|
|
4837
4837
|
|
|
4838
|
+
interface LocalPolicy {
|
|
4839
|
+
version: string;
|
|
4840
|
+
name: string;
|
|
4841
|
+
description?: string;
|
|
4842
|
+
purposes: LocalPurposeRule[];
|
|
4843
|
+
scope?: LocalScope;
|
|
4844
|
+
limits?: LocalLimits;
|
|
4845
|
+
riskThresholds?: LocalRiskThresholds;
|
|
4846
|
+
selfInstantiation?: LocalSelfInstantiation;
|
|
4847
|
+
}
|
|
4848
|
+
interface LocalPurposeRule {
|
|
4849
|
+
id: string;
|
|
4850
|
+
allowed: boolean;
|
|
4851
|
+
targets?: string[];
|
|
4852
|
+
blockedPatterns?: string[];
|
|
4853
|
+
requiresApproval?: boolean;
|
|
4854
|
+
}
|
|
4855
|
+
interface LocalScope {
|
|
4856
|
+
allowedDomains?: string[];
|
|
4857
|
+
blockedDomains?: string[];
|
|
4858
|
+
blockedResources?: string[];
|
|
4859
|
+
}
|
|
4860
|
+
interface LocalLimits {
|
|
4861
|
+
/**
|
|
4862
|
+
* Autonomous Limit — a transaction value at or below this is granted without
|
|
4863
|
+
* escalation. A value in the band `[autonomousThreshold, maxTransactionAmount)`
|
|
4864
|
+
* requires human approval (step-up → MANUAL_REVIEW), mirroring the backend
|
|
4865
|
+
* `checkWithinLimits` ladder. When omitted there is no autonomous band: every
|
|
4866
|
+
* positive value below the Hard Limit is granted (legacy flat-cap behaviour).
|
|
4867
|
+
*/
|
|
4868
|
+
autonomousThreshold?: number;
|
|
4869
|
+
/**
|
|
4870
|
+
* Hard Limit — a transaction value at or above this is denied outright. (Named
|
|
4871
|
+
* `maxTransactionAmount` for backward compatibility with existing local policy
|
|
4872
|
+
* files; it is the SDK equivalent of the backend `approvalThreshold`.)
|
|
4873
|
+
*/
|
|
4874
|
+
maxTransactionAmount?: number;
|
|
4875
|
+
maxRequestsPerHour?: number;
|
|
4876
|
+
currency?: string;
|
|
4877
|
+
}
|
|
4878
|
+
interface LocalRiskThresholds {
|
|
4879
|
+
autoAllow: {
|
|
4880
|
+
min: number;
|
|
4881
|
+
max: number;
|
|
4882
|
+
};
|
|
4883
|
+
requireApproval: {
|
|
4884
|
+
min: number;
|
|
4885
|
+
max: number;
|
|
4886
|
+
};
|
|
4887
|
+
autoBlock: {
|
|
4888
|
+
min: number;
|
|
4889
|
+
max: number;
|
|
4890
|
+
};
|
|
4891
|
+
}
|
|
4892
|
+
interface LocalSelfInstantiation {
|
|
4893
|
+
/** Whether sub-agent spawning is allowed */
|
|
4894
|
+
allowed: boolean;
|
|
4895
|
+
/** Maximum depth of sub-agent chain */
|
|
4896
|
+
maxDepth?: number;
|
|
4897
|
+
}
|
|
4898
|
+
|
|
4899
|
+
/**
|
|
4900
|
+
* PDLSS Policy Schema Validation
|
|
4901
|
+
*
|
|
4902
|
+
* Validates local YAML policy files against the PDLSS schema.
|
|
4903
|
+
* Ensures local policies can be uploaded to cloud without lossy transformation.
|
|
4904
|
+
*/
|
|
4905
|
+
interface ValidationError {
|
|
4906
|
+
path: string;
|
|
4907
|
+
message: string;
|
|
4908
|
+
}
|
|
4909
|
+
interface ValidationResult {
|
|
4910
|
+
valid: boolean;
|
|
4911
|
+
errors: ValidationError[];
|
|
4912
|
+
}
|
|
4913
|
+
/**
|
|
4914
|
+
* Validate a parsed local policy object against the PDLSS schema.
|
|
4915
|
+
*/
|
|
4916
|
+
declare function validatePolicy(policy: unknown): ValidationResult;
|
|
4917
|
+
|
|
4918
|
+
/**
|
|
4919
|
+
* PDLSS Policy Parser
|
|
4920
|
+
*
|
|
4921
|
+
* Parses local YAML policy files into typed LocalPolicy objects.
|
|
4922
|
+
* Validates against the PDLSS schema to ensure cloud compatibility.
|
|
4923
|
+
*/
|
|
4924
|
+
|
|
4925
|
+
interface ParseResult {
|
|
4926
|
+
policy: LocalPolicy | null;
|
|
4927
|
+
validation: ValidationResult;
|
|
4928
|
+
rawYaml?: string;
|
|
4929
|
+
}
|
|
4930
|
+
/**
|
|
4931
|
+
* Parse a YAML string into a LocalPolicy.
|
|
4932
|
+
*/
|
|
4933
|
+
declare function parseYaml(yamlContent: string): ParseResult;
|
|
4934
|
+
|
|
4838
4935
|
/**
|
|
4839
4936
|
* Single source-of-truth for the SDK's
|
|
4840
4937
|
* package version emitted on verify-access bodies (and any future
|
|
@@ -4853,6 +4950,6 @@ declare const sdkFetch: typeof fetch;
|
|
|
4853
4950
|
* is fine — bumping both in the release-ceremony commit keeps them
|
|
4854
4951
|
* lockstep.
|
|
4855
4952
|
*/
|
|
4856
|
-
declare const SDK_VERSION = "5.
|
|
4953
|
+
declare const SDK_VERSION = "5.11.0";
|
|
4857
4954
|
|
|
4858
|
-
export { AgentClient, type AgentCredentials, type AgentProtocol, type AgentRecord, AstraSync, type AstraSyncConfig, type AstraSyncCredentials, AstraSyncError, type AttemptOutcome, type AttemptReport, AuthenticationError, type BuildGuidanceParams, CAPTURE_SCHEMA_VERSION, type CallerMetadata, ChallengeHandler, type CommerceArtifactsPayload, type CommerceContext, type CommercePipelineInput, type CommerceShieldProps, type ConsiderationItem, type ConsiderationSet, type CounterpartyType, DECLARED_SOURCE_MAX, DEFAULT_EDGE_CONFIG, type DynamicPlatformFingerprint, type EdgeConfig, type EdgeMode, type EdgePathRule, type EdgeVerificationDepth, type EnhancedVerificationResult, type ExpressMiddlewareOptions, type FetchEdgeConfigResult, type FetchEdgeConfigSuccess, type FiatSettlementBinding, type FrameworkConfig, type FulfilmentInfo, type GatewayConfig, type GuidanceEnvelope, type GuidanceInfo, type HealthResponse, KYDRequiredError, MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, MCP_VERIFIED_HOP_HEADER, MCP_VERIFIED_HOP_MAX_AGE_MS, type McpMiddlewareOptions, type MerchantSettlementToken, type ModelConfig, type NextJsMiddlewareOptions, type ObservedMetadata, type PDLSSConfig$1 as PDLSSConfig, type PDLSSDuration, type PDLSSInfo, type PDLSSLimits, type PDLSSPurpose, type PDLSSScope, type PDLSSSelfInstantiation, PLATFORM_AGENT_SIGNATURES, type PendingRegistrationResponse, type PlatformAgentVendor, type PlatformDetectionInput, type PlatformFingerprint, type PlatformSignatureDef, type PollRegistrationResult, type ProtocolTransport, RUNTIME_SIGNATURES, type RegisterOptions, type RegisterResult, RegistrationDeniedError, RegistrationExpiredError, type RegistrationResponse, RegistrationTimeoutError, type RouteAccessConfig, type RuntimeChallengeResult, type RuntimeSignature, type SDKOptions, SDK_USER_AGENT, type SanitizeHeadersResult, type SettlementArtifact, type SettlementArtifactBinding, type SettlementArtifactBindingBase, type SettlementDecision, type SettlementOutcomeInfo, type SettlementRequest, type StablecoinSettlementBinding, type StepUpApprovalInfo, type StepUpApprovalStatus, type StepUpOutcome, TRUST_LEVEL_RANGES, type TokenGuidance, type ToolGate, type ToolGateConfig, type TrustLevel, SDK_VERSION as VERSION, type VerificationInterstitialProps, type VerificationRequest, type VerificationResult, type VerifiedAgent, type VerifiedDeveloper, type VerifiedHopMarker, type VerifiedOrganization, type VerifyOptions, type VerifyResponse, type WaitForApprovalOptions, type WellKnownAgenticCommerce, _resetEdgeConfigCache, index as agent, authorizeSettlement, awaitStepUpApproval, buildGuidance, buildSdkObservedMetadata, clearCache, createMcpMiddleware, degradeToObserve, deriveConnectionFromHeaders, detectPlatformFingerprint, detectRuntime, express, extractApiKeyFormat, extractCredentials, extractMcpCredentials, extractPlatformHeaders, fetchEdgeConfig, fetchRoutes, getCachedWellKnownUrls, getEdgeConfig, getTrustLevel, getWellKnownUrls, hasCredentials, isEdgeConfig, isVerifiedHopValidFor, matchEdgePathRule, matchPlatformSignature, nextjs, normalizeDeclaredSource, parseVerifiedHop, pollStepUpStatus, prefetchWellKnown, quickVerify, recordDecision, reportAttempt, reportUnregisteredAttempt, sanitizeHeaders, sdk, sdkFetch, serializeVerifiedHop, setMcpMeta, index$1 as transport, verify };
|
|
4955
|
+
export { AgentClient, type AgentCredentials, type AgentProtocol, type AgentRecord, AstraSync, type AstraSyncConfig, type AstraSyncCredentials, AstraSyncError, type AttemptOutcome, type AttemptReport, AuthenticationError, type BuildGuidanceParams, CAPTURE_SCHEMA_VERSION, type CallerMetadata, ChallengeHandler, type CommerceArtifactsPayload, type CommerceContext, type CommercePipelineInput, type CommerceShieldProps, type ConsiderationItem, type ConsiderationSet, type CounterpartyType, DECLARED_SOURCE_MAX, DEFAULT_EDGE_CONFIG, type DynamicPlatformFingerprint, type EdgeConfig, type EdgeMode, type EdgePathRule, type EdgeVerificationDepth, type EnhancedVerificationResult, type ExpressMiddlewareOptions, type FetchEdgeConfigResult, type FetchEdgeConfigSuccess, type FiatSettlementBinding, type FrameworkConfig, type FulfilmentInfo, type GatewayConfig, type GuidanceEnvelope, type GuidanceInfo, type HealthResponse, KYDRequiredError, type ParseResult as LocalPolicyParseResult, type ValidationError as LocalPolicyValidationError, type ValidationResult as LocalPolicyValidationResult, MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, MCP_VERIFIED_HOP_HEADER, MCP_VERIFIED_HOP_MAX_AGE_MS, type McpMiddlewareOptions, type MerchantSettlementToken, type ModelConfig, type NextJsMiddlewareOptions, type ObservedMetadata, type PDLSSConfig$1 as PDLSSConfig, type PDLSSDuration, type PDLSSInfo, type PDLSSLimits, type PDLSSPurpose, type PDLSSScope, type PDLSSSelfInstantiation, PLATFORM_AGENT_SIGNATURES, type PendingRegistrationResponse, type PlatformAgentVendor, type PlatformDetectionInput, type PlatformFingerprint, type PlatformSignatureDef, type PollRegistrationResult, type ProtocolTransport, RUNTIME_SIGNATURES, type RegisterOptions, type RegisterResult, RegistrationDeniedError, RegistrationExpiredError, type RegistrationResponse, RegistrationTimeoutError, type RouteAccessConfig, type RuntimeChallengeResult, type RuntimeSignature, type SDKOptions, SDK_USER_AGENT, type SanitizeHeadersResult, type SettlementArtifact, type SettlementArtifactBinding, type SettlementArtifactBindingBase, type SettlementDecision, type SettlementOutcomeInfo, type SettlementRequest, type StablecoinSettlementBinding, type StepUpApprovalInfo, type StepUpApprovalStatus, type StepUpOutcome, TRUST_LEVEL_RANGES, type TokenGuidance, type ToolGate, type ToolGateConfig, type TrustLevel, SDK_VERSION as VERSION, type VerificationInterstitialProps, type VerificationRequest, type VerificationResult, type VerifiedAgent, type VerifiedDeveloper, type VerifiedHopMarker, type VerifiedOrganization, type VerifyOptions, type VerifyResponse, type WaitForApprovalOptions, type WellKnownAgenticCommerce, _resetEdgeConfigCache, index as agent, authorizeSettlement, awaitStepUpApproval, buildGuidance, buildSdkObservedMetadata, clearCache, createMcpMiddleware, degradeToObserve, deriveConnectionFromHeaders, detectPlatformFingerprint, detectRuntime, express, extractApiKeyFormat, extractCredentials, extractMcpCredentials, extractPlatformHeaders, fetchEdgeConfig, fetchRoutes, getCachedWellKnownUrls, getEdgeConfig, getTrustLevel, getWellKnownUrls, hasCredentials, isEdgeConfig, isVerifiedHopValidFor, matchEdgePathRule, matchPlatformSignature, nextjs, normalizeDeclaredSource, parseYaml as parseLocalPolicyYaml, parseVerifiedHop, pollStepUpStatus, prefetchWellKnown, quickVerify, recordDecision, reportAttempt, reportUnregisteredAttempt, sanitizeHeaders, sdk, sdkFetch, serializeVerifiedHop, setMcpMeta, index$1 as transport, validatePolicy as validateLocalPolicy, verify };
|
package/dist/index.d.ts
CHANGED
|
@@ -4832,9 +4832,106 @@ declare function detectRuntime(userAgent: string | undefined | null): string | u
|
|
|
4832
4832
|
* silently (never throwing), so this is a no-op there — which is correct:
|
|
4833
4833
|
* in a browser the page's real UA is the honest identity.
|
|
4834
4834
|
*/
|
|
4835
|
-
declare const SDK_USER_AGENT = "astrasync-sdk/5.
|
|
4835
|
+
declare const SDK_USER_AGENT = "astrasync-sdk/5.11.0";
|
|
4836
4836
|
declare const sdkFetch: typeof fetch;
|
|
4837
4837
|
|
|
4838
|
+
interface LocalPolicy {
|
|
4839
|
+
version: string;
|
|
4840
|
+
name: string;
|
|
4841
|
+
description?: string;
|
|
4842
|
+
purposes: LocalPurposeRule[];
|
|
4843
|
+
scope?: LocalScope;
|
|
4844
|
+
limits?: LocalLimits;
|
|
4845
|
+
riskThresholds?: LocalRiskThresholds;
|
|
4846
|
+
selfInstantiation?: LocalSelfInstantiation;
|
|
4847
|
+
}
|
|
4848
|
+
interface LocalPurposeRule {
|
|
4849
|
+
id: string;
|
|
4850
|
+
allowed: boolean;
|
|
4851
|
+
targets?: string[];
|
|
4852
|
+
blockedPatterns?: string[];
|
|
4853
|
+
requiresApproval?: boolean;
|
|
4854
|
+
}
|
|
4855
|
+
interface LocalScope {
|
|
4856
|
+
allowedDomains?: string[];
|
|
4857
|
+
blockedDomains?: string[];
|
|
4858
|
+
blockedResources?: string[];
|
|
4859
|
+
}
|
|
4860
|
+
interface LocalLimits {
|
|
4861
|
+
/**
|
|
4862
|
+
* Autonomous Limit — a transaction value at or below this is granted without
|
|
4863
|
+
* escalation. A value in the band `[autonomousThreshold, maxTransactionAmount)`
|
|
4864
|
+
* requires human approval (step-up → MANUAL_REVIEW), mirroring the backend
|
|
4865
|
+
* `checkWithinLimits` ladder. When omitted there is no autonomous band: every
|
|
4866
|
+
* positive value below the Hard Limit is granted (legacy flat-cap behaviour).
|
|
4867
|
+
*/
|
|
4868
|
+
autonomousThreshold?: number;
|
|
4869
|
+
/**
|
|
4870
|
+
* Hard Limit — a transaction value at or above this is denied outright. (Named
|
|
4871
|
+
* `maxTransactionAmount` for backward compatibility with existing local policy
|
|
4872
|
+
* files; it is the SDK equivalent of the backend `approvalThreshold`.)
|
|
4873
|
+
*/
|
|
4874
|
+
maxTransactionAmount?: number;
|
|
4875
|
+
maxRequestsPerHour?: number;
|
|
4876
|
+
currency?: string;
|
|
4877
|
+
}
|
|
4878
|
+
interface LocalRiskThresholds {
|
|
4879
|
+
autoAllow: {
|
|
4880
|
+
min: number;
|
|
4881
|
+
max: number;
|
|
4882
|
+
};
|
|
4883
|
+
requireApproval: {
|
|
4884
|
+
min: number;
|
|
4885
|
+
max: number;
|
|
4886
|
+
};
|
|
4887
|
+
autoBlock: {
|
|
4888
|
+
min: number;
|
|
4889
|
+
max: number;
|
|
4890
|
+
};
|
|
4891
|
+
}
|
|
4892
|
+
interface LocalSelfInstantiation {
|
|
4893
|
+
/** Whether sub-agent spawning is allowed */
|
|
4894
|
+
allowed: boolean;
|
|
4895
|
+
/** Maximum depth of sub-agent chain */
|
|
4896
|
+
maxDepth?: number;
|
|
4897
|
+
}
|
|
4898
|
+
|
|
4899
|
+
/**
|
|
4900
|
+
* PDLSS Policy Schema Validation
|
|
4901
|
+
*
|
|
4902
|
+
* Validates local YAML policy files against the PDLSS schema.
|
|
4903
|
+
* Ensures local policies can be uploaded to cloud without lossy transformation.
|
|
4904
|
+
*/
|
|
4905
|
+
interface ValidationError {
|
|
4906
|
+
path: string;
|
|
4907
|
+
message: string;
|
|
4908
|
+
}
|
|
4909
|
+
interface ValidationResult {
|
|
4910
|
+
valid: boolean;
|
|
4911
|
+
errors: ValidationError[];
|
|
4912
|
+
}
|
|
4913
|
+
/**
|
|
4914
|
+
* Validate a parsed local policy object against the PDLSS schema.
|
|
4915
|
+
*/
|
|
4916
|
+
declare function validatePolicy(policy: unknown): ValidationResult;
|
|
4917
|
+
|
|
4918
|
+
/**
|
|
4919
|
+
* PDLSS Policy Parser
|
|
4920
|
+
*
|
|
4921
|
+
* Parses local YAML policy files into typed LocalPolicy objects.
|
|
4922
|
+
* Validates against the PDLSS schema to ensure cloud compatibility.
|
|
4923
|
+
*/
|
|
4924
|
+
|
|
4925
|
+
interface ParseResult {
|
|
4926
|
+
policy: LocalPolicy | null;
|
|
4927
|
+
validation: ValidationResult;
|
|
4928
|
+
rawYaml?: string;
|
|
4929
|
+
}
|
|
4930
|
+
/**
|
|
4931
|
+
* Parse a YAML string into a LocalPolicy.
|
|
4932
|
+
*/
|
|
4933
|
+
declare function parseYaml(yamlContent: string): ParseResult;
|
|
4934
|
+
|
|
4838
4935
|
/**
|
|
4839
4936
|
* Single source-of-truth for the SDK's
|
|
4840
4937
|
* package version emitted on verify-access bodies (and any future
|
|
@@ -4853,6 +4950,6 @@ declare const sdkFetch: typeof fetch;
|
|
|
4853
4950
|
* is fine — bumping both in the release-ceremony commit keeps them
|
|
4854
4951
|
* lockstep.
|
|
4855
4952
|
*/
|
|
4856
|
-
declare const SDK_VERSION = "5.
|
|
4953
|
+
declare const SDK_VERSION = "5.11.0";
|
|
4857
4954
|
|
|
4858
|
-
export { AgentClient, type AgentCredentials, type AgentProtocol, type AgentRecord, AstraSync, type AstraSyncConfig, type AstraSyncCredentials, AstraSyncError, type AttemptOutcome, type AttemptReport, AuthenticationError, type BuildGuidanceParams, CAPTURE_SCHEMA_VERSION, type CallerMetadata, ChallengeHandler, type CommerceArtifactsPayload, type CommerceContext, type CommercePipelineInput, type CommerceShieldProps, type ConsiderationItem, type ConsiderationSet, type CounterpartyType, DECLARED_SOURCE_MAX, DEFAULT_EDGE_CONFIG, type DynamicPlatformFingerprint, type EdgeConfig, type EdgeMode, type EdgePathRule, type EdgeVerificationDepth, type EnhancedVerificationResult, type ExpressMiddlewareOptions, type FetchEdgeConfigResult, type FetchEdgeConfigSuccess, type FiatSettlementBinding, type FrameworkConfig, type FulfilmentInfo, type GatewayConfig, type GuidanceEnvelope, type GuidanceInfo, type HealthResponse, KYDRequiredError, MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, MCP_VERIFIED_HOP_HEADER, MCP_VERIFIED_HOP_MAX_AGE_MS, type McpMiddlewareOptions, type MerchantSettlementToken, type ModelConfig, type NextJsMiddlewareOptions, type ObservedMetadata, type PDLSSConfig$1 as PDLSSConfig, type PDLSSDuration, type PDLSSInfo, type PDLSSLimits, type PDLSSPurpose, type PDLSSScope, type PDLSSSelfInstantiation, PLATFORM_AGENT_SIGNATURES, type PendingRegistrationResponse, type PlatformAgentVendor, type PlatformDetectionInput, type PlatformFingerprint, type PlatformSignatureDef, type PollRegistrationResult, type ProtocolTransport, RUNTIME_SIGNATURES, type RegisterOptions, type RegisterResult, RegistrationDeniedError, RegistrationExpiredError, type RegistrationResponse, RegistrationTimeoutError, type RouteAccessConfig, type RuntimeChallengeResult, type RuntimeSignature, type SDKOptions, SDK_USER_AGENT, type SanitizeHeadersResult, type SettlementArtifact, type SettlementArtifactBinding, type SettlementArtifactBindingBase, type SettlementDecision, type SettlementOutcomeInfo, type SettlementRequest, type StablecoinSettlementBinding, type StepUpApprovalInfo, type StepUpApprovalStatus, type StepUpOutcome, TRUST_LEVEL_RANGES, type TokenGuidance, type ToolGate, type ToolGateConfig, type TrustLevel, SDK_VERSION as VERSION, type VerificationInterstitialProps, type VerificationRequest, type VerificationResult, type VerifiedAgent, type VerifiedDeveloper, type VerifiedHopMarker, type VerifiedOrganization, type VerifyOptions, type VerifyResponse, type WaitForApprovalOptions, type WellKnownAgenticCommerce, _resetEdgeConfigCache, index as agent, authorizeSettlement, awaitStepUpApproval, buildGuidance, buildSdkObservedMetadata, clearCache, createMcpMiddleware, degradeToObserve, deriveConnectionFromHeaders, detectPlatformFingerprint, detectRuntime, express, extractApiKeyFormat, extractCredentials, extractMcpCredentials, extractPlatformHeaders, fetchEdgeConfig, fetchRoutes, getCachedWellKnownUrls, getEdgeConfig, getTrustLevel, getWellKnownUrls, hasCredentials, isEdgeConfig, isVerifiedHopValidFor, matchEdgePathRule, matchPlatformSignature, nextjs, normalizeDeclaredSource, parseVerifiedHop, pollStepUpStatus, prefetchWellKnown, quickVerify, recordDecision, reportAttempt, reportUnregisteredAttempt, sanitizeHeaders, sdk, sdkFetch, serializeVerifiedHop, setMcpMeta, index$1 as transport, verify };
|
|
4955
|
+
export { AgentClient, type AgentCredentials, type AgentProtocol, type AgentRecord, AstraSync, type AstraSyncConfig, type AstraSyncCredentials, AstraSyncError, type AttemptOutcome, type AttemptReport, AuthenticationError, type BuildGuidanceParams, CAPTURE_SCHEMA_VERSION, type CallerMetadata, ChallengeHandler, type CommerceArtifactsPayload, type CommerceContext, type CommercePipelineInput, type CommerceShieldProps, type ConsiderationItem, type ConsiderationSet, type CounterpartyType, DECLARED_SOURCE_MAX, DEFAULT_EDGE_CONFIG, type DynamicPlatformFingerprint, type EdgeConfig, type EdgeMode, type EdgePathRule, type EdgeVerificationDepth, type EnhancedVerificationResult, type ExpressMiddlewareOptions, type FetchEdgeConfigResult, type FetchEdgeConfigSuccess, type FiatSettlementBinding, type FrameworkConfig, type FulfilmentInfo, type GatewayConfig, type GuidanceEnvelope, type GuidanceInfo, type HealthResponse, KYDRequiredError, type ParseResult as LocalPolicyParseResult, type ValidationError as LocalPolicyValidationError, type ValidationResult as LocalPolicyValidationResult, MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, MCP_VERIFIED_HOP_HEADER, MCP_VERIFIED_HOP_MAX_AGE_MS, type McpMiddlewareOptions, type MerchantSettlementToken, type ModelConfig, type NextJsMiddlewareOptions, type ObservedMetadata, type PDLSSConfig$1 as PDLSSConfig, type PDLSSDuration, type PDLSSInfo, type PDLSSLimits, type PDLSSPurpose, type PDLSSScope, type PDLSSSelfInstantiation, PLATFORM_AGENT_SIGNATURES, type PendingRegistrationResponse, type PlatformAgentVendor, type PlatformDetectionInput, type PlatformFingerprint, type PlatformSignatureDef, type PollRegistrationResult, type ProtocolTransport, RUNTIME_SIGNATURES, type RegisterOptions, type RegisterResult, RegistrationDeniedError, RegistrationExpiredError, type RegistrationResponse, RegistrationTimeoutError, type RouteAccessConfig, type RuntimeChallengeResult, type RuntimeSignature, type SDKOptions, SDK_USER_AGENT, type SanitizeHeadersResult, type SettlementArtifact, type SettlementArtifactBinding, type SettlementArtifactBindingBase, type SettlementDecision, type SettlementOutcomeInfo, type SettlementRequest, type StablecoinSettlementBinding, type StepUpApprovalInfo, type StepUpApprovalStatus, type StepUpOutcome, TRUST_LEVEL_RANGES, type TokenGuidance, type ToolGate, type ToolGateConfig, type TrustLevel, SDK_VERSION as VERSION, type VerificationInterstitialProps, type VerificationRequest, type VerificationResult, type VerifiedAgent, type VerifiedDeveloper, type VerifiedHopMarker, type VerifiedOrganization, type VerifyOptions, type VerifyResponse, type WaitForApprovalOptions, type WellKnownAgenticCommerce, _resetEdgeConfigCache, index as agent, authorizeSettlement, awaitStepUpApproval, buildGuidance, buildSdkObservedMetadata, clearCache, createMcpMiddleware, degradeToObserve, deriveConnectionFromHeaders, detectPlatformFingerprint, detectRuntime, express, extractApiKeyFormat, extractCredentials, extractMcpCredentials, extractPlatformHeaders, fetchEdgeConfig, fetchRoutes, getCachedWellKnownUrls, getEdgeConfig, getTrustLevel, getWellKnownUrls, hasCredentials, isEdgeConfig, isVerifiedHopValidFor, matchEdgePathRule, matchPlatformSignature, nextjs, normalizeDeclaredSource, parseYaml as parseLocalPolicyYaml, parseVerifiedHop, pollStepUpStatus, prefetchWellKnown, quickVerify, recordDecision, reportAttempt, reportUnregisteredAttempt, sanitizeHeaders, sdk, sdkFetch, serializeVerifiedHop, setMcpMeta, index$1 as transport, validatePolicy as validateLocalPolicy, verify };
|