@decionis/agentsafe 0.2.5 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +264 -89
- package/dist/Cli.js +24 -0
- package/dist/Cli.js.map +1 -1
- package/dist/Index.d.ts +10 -4
- package/dist/Index.d.ts.map +1 -1
- package/dist/Index.js +8 -2
- package/dist/Index.js.map +1 -1
- package/dist/TrustedExecutor.d.ts.map +1 -1
- package/dist/TrustedExecutor.js +2 -0
- package/dist/TrustedExecutor.js.map +1 -1
- package/dist/adapters/AdapterActionHandler.d.ts.map +1 -1
- package/dist/adapters/AdapterActionHandler.js +8 -4
- package/dist/adapters/AdapterActionHandler.js.map +1 -1
- package/dist/adapters/EffectAdapter.d.ts +6 -1
- package/dist/adapters/EffectAdapter.d.ts.map +1 -1
- package/dist/adapters/EffectAdapter.js +7 -1
- package/dist/adapters/EffectAdapter.js.map +1 -1
- package/dist/adapters/EffectAwareGrantVerifier.d.ts +5 -2
- package/dist/adapters/EffectAwareGrantVerifier.d.ts.map +1 -1
- package/dist/adapters/EffectAwareGrantVerifier.js +9 -0
- package/dist/adapters/EffectAwareGrantVerifier.js.map +1 -1
- package/dist/adapters/banking/BankingAction.d.ts +2 -2
- package/dist/adapters/banking/CoreBankingHttpAdapter.d.ts.map +1 -1
- package/dist/adapters/banking/CoreBankingHttpAdapter.js +4 -4
- package/dist/adapters/banking/CoreBankingHttpAdapter.js.map +1 -1
- package/dist/adapters/cards/CardAuthorizationMatcher.d.ts +44 -0
- package/dist/adapters/cards/CardAuthorizationMatcher.d.ts.map +1 -0
- package/dist/adapters/cards/CardAuthorizationMatcher.js +39 -0
- package/dist/adapters/cards/CardAuthorizationMatcher.js.map +1 -0
- package/dist/adapters/cards/CardEffect.d.ts +52 -0
- package/dist/adapters/cards/CardEffect.d.ts.map +1 -0
- package/dist/adapters/cards/CardEffect.js +117 -0
- package/dist/adapters/cards/CardEffect.js.map +1 -0
- package/dist/adapters/cards/CardHandlers.d.ts +15 -0
- package/dist/adapters/cards/CardHandlers.d.ts.map +1 -0
- package/dist/adapters/cards/CardHandlers.js +26 -0
- package/dist/adapters/cards/CardHandlers.js.map +1 -0
- package/dist/adapters/cards/CardHoldSeal.d.ts +29 -0
- package/dist/adapters/cards/CardHoldSeal.d.ts.map +1 -0
- package/dist/adapters/cards/CardHoldSeal.js +87 -0
- package/dist/adapters/cards/CardHoldSeal.js.map +1 -0
- package/dist/adapters/cards/CardHoldStore.d.ts +102 -0
- package/dist/adapters/cards/CardHoldStore.d.ts.map +1 -0
- package/dist/adapters/cards/CardHoldStore.js +9 -0
- package/dist/adapters/cards/CardHoldStore.js.map +1 -0
- package/dist/adapters/cards/CardHolds.d.ts +19 -0
- package/dist/adapters/cards/CardHolds.d.ts.map +1 -0
- package/dist/adapters/cards/CardHolds.js +57 -0
- package/dist/adapters/cards/CardHolds.js.map +1 -0
- package/dist/adapters/cards/CardPurchase.d.ts +61 -0
- package/dist/adapters/cards/CardPurchase.d.ts.map +1 -0
- package/dist/adapters/cards/CardPurchase.js +116 -0
- package/dist/adapters/cards/CardPurchase.js.map +1 -0
- package/dist/adapters/cards/HeldCardGrants.d.ts +69 -0
- package/dist/adapters/cards/HeldCardGrants.d.ts.map +1 -0
- package/dist/adapters/cards/HeldCardGrants.js +169 -0
- package/dist/adapters/cards/HeldCardGrants.js.map +1 -0
- package/dist/adapters/cards/Pan.d.ts +17 -0
- package/dist/adapters/cards/Pan.d.ts.map +1 -0
- package/dist/adapters/cards/Pan.js +52 -0
- package/dist/adapters/cards/Pan.js.map +1 -0
- package/dist/adapters/cards/PostgresCardHolds.d.ts +95 -0
- package/dist/adapters/cards/PostgresCardHolds.d.ts.map +1 -0
- package/dist/adapters/cards/PostgresCardHolds.js +411 -0
- package/dist/adapters/cards/PostgresCardHolds.js.map +1 -0
- package/dist/adapters/mcp/McpGuard.d.ts.map +1 -1
- package/dist/adapters/mcp/McpGuard.js +9 -4
- package/dist/adapters/mcp/McpGuard.js.map +1 -1
- package/dist/audit/HashChain.d.ts +8 -2
- package/dist/audit/HashChain.d.ts.map +1 -1
- package/dist/audit/HashChain.js +14 -2
- package/dist/audit/HashChain.js.map +1 -1
- package/dist/cli/Cards.d.ts +5 -0
- package/dist/cli/Cards.d.ts.map +1 -0
- package/dist/cli/Cards.js +48 -0
- package/dist/cli/Cards.js.map +1 -0
- package/dist/cli/Commands.d.ts +1 -1
- package/dist/cli/Commands.d.ts.map +1 -1
- package/dist/cli/Commands.js +5 -0
- package/dist/cli/Commands.js.map +1 -1
- package/dist/cli/Edge.d.ts +4 -0
- package/dist/cli/Edge.d.ts.map +1 -0
- package/dist/cli/Edge.js +250 -0
- package/dist/cli/Edge.js.map +1 -0
- package/dist/cli/Help.d.ts.map +1 -1
- package/dist/cli/Help.js +9 -0
- package/dist/cli/Help.js.map +1 -1
- package/dist/cli/Host.d.ts +36 -0
- package/dist/cli/Host.d.ts.map +1 -0
- package/dist/cli/Host.js +247 -0
- package/dist/cli/Host.js.map +1 -0
- package/dist/cli/TcpBrokerCli.d.ts +4 -0
- package/dist/cli/TcpBrokerCli.d.ts.map +1 -0
- package/dist/cli/TcpBrokerCli.js +93 -0
- package/dist/cli/TcpBrokerCli.js.map +1 -0
- package/dist/cli/TcpClientCli.d.ts +16 -0
- package/dist/cli/TcpClientCli.d.ts.map +1 -0
- package/dist/cli/TcpClientCli.js +175 -0
- package/dist/cli/TcpClientCli.js.map +1 -0
- package/dist/config/ConfigKeys.d.ts +2 -2
- package/dist/config/ConfigKeys.d.ts.map +1 -1
- package/dist/config/ConfigKeys.js +31 -0
- package/dist/config/ConfigKeys.js.map +1 -1
- package/dist/config/ExecutorConfig.d.ts +115 -0
- package/dist/config/ExecutorConfig.d.ts.map +1 -1
- package/dist/config/ExecutorConfig.js +212 -0
- package/dist/config/ExecutorConfig.js.map +1 -1
- package/dist/edge/EdgeLicence.d.ts +25 -0
- package/dist/edge/EdgeLicence.d.ts.map +1 -0
- package/dist/edge/EdgeLicence.js +42 -0
- package/dist/edge/EdgeLicence.js.map +1 -0
- package/dist/edge/EdgeReplay.d.ts +45 -0
- package/dist/edge/EdgeReplay.d.ts.map +1 -0
- package/dist/edge/EdgeReplay.js +69 -0
- package/dist/edge/EdgeReplay.js.map +1 -0
- package/dist/edge/Entitlement.d.ts +57 -0
- package/dist/edge/Entitlement.d.ts.map +1 -0
- package/dist/edge/Entitlement.js +139 -0
- package/dist/edge/Entitlement.js.map +1 -0
- package/dist/edge/EntitlementEvaluation.d.ts +66 -0
- package/dist/edge/EntitlementEvaluation.d.ts.map +1 -0
- package/dist/edge/EntitlementEvaluation.js +74 -0
- package/dist/edge/EntitlementEvaluation.js.map +1 -0
- package/dist/edge/UsageCount.d.ts +40 -0
- package/dist/edge/UsageCount.d.ts.map +1 -0
- package/dist/edge/UsageCount.js +140 -0
- package/dist/edge/UsageCount.js.map +1 -0
- package/dist/edge/UsageKeyRegistration.d.ts +34 -0
- package/dist/edge/UsageKeyRegistration.d.ts.map +1 -0
- package/dist/edge/UsageKeyRegistration.js +74 -0
- package/dist/edge/UsageKeyRegistration.js.map +1 -0
- package/dist/edge/UsageMeter.d.ts +89 -0
- package/dist/edge/UsageMeter.d.ts.map +1 -0
- package/dist/edge/UsageMeter.js +275 -0
- package/dist/edge/UsageMeter.js.map +1 -0
- package/dist/edge/UsagePeriod.d.ts +23 -0
- package/dist/edge/UsagePeriod.d.ts.map +1 -0
- package/dist/edge/UsagePeriod.js +31 -0
- package/dist/edge/UsagePeriod.js.map +1 -0
- package/dist/edge/UsageReport.d.ts +92 -0
- package/dist/edge/UsageReport.d.ts.map +1 -0
- package/dist/edge/UsageReport.js +153 -0
- package/dist/edge/UsageReport.js.map +1 -0
- package/dist/edge/UsageTally.d.ts +63 -0
- package/dist/edge/UsageTally.d.ts.map +1 -0
- package/dist/edge/UsageTally.js +89 -0
- package/dist/edge/UsageTally.js.map +1 -0
- package/dist/egress/EgressError.d.ts +7 -1
- package/dist/egress/EgressError.d.ts.map +1 -1
- package/dist/egress/EgressError.js.map +1 -1
- package/dist/egress/EgressPolicy.d.ts +16 -3
- package/dist/egress/EgressPolicy.d.ts.map +1 -1
- package/dist/egress/EgressPolicy.js +33 -3
- package/dist/egress/EgressPolicy.js.map +1 -1
- package/dist/egress/GuardedFetch.d.ts +38 -1
- package/dist/egress/GuardedFetch.d.ts.map +1 -1
- package/dist/egress/GuardedFetch.js +52 -7
- package/dist/egress/GuardedFetch.js.map +1 -1
- package/dist/egress/TcpClient.d.ts +103 -0
- package/dist/egress/TcpClient.d.ts.map +1 -0
- package/dist/egress/TcpClient.js +490 -0
- package/dist/egress/TcpClient.js.map +1 -0
- package/dist/egress/TcpControlClient.d.ts +49 -0
- package/dist/egress/TcpControlClient.d.ts.map +1 -0
- package/dist/egress/TcpControlClient.js +186 -0
- package/dist/egress/TcpControlClient.js.map +1 -0
- package/dist/gateway/ForwardHandler.d.ts.map +1 -1
- package/dist/gateway/ForwardHandler.js +7 -4
- package/dist/gateway/ForwardHandler.js.map +1 -1
- package/dist/gateway/Gateway.d.ts +190 -10
- package/dist/gateway/Gateway.d.ts.map +1 -1
- package/dist/gateway/Gateway.js +465 -62
- package/dist/gateway/Gateway.js.map +1 -1
- package/dist/gateway/GatewayConfig.d.ts +67 -0
- package/dist/gateway/GatewayConfig.d.ts.map +1 -1
- package/dist/gateway/GatewayConfig.js +149 -2
- package/dist/gateway/GatewayConfig.js.map +1 -1
- package/dist/gateway/InterceptedRequest.d.ts +9 -2
- package/dist/gateway/InterceptedRequest.d.ts.map +1 -1
- package/dist/gateway/InterceptedRequest.js +41 -9
- package/dist/gateway/InterceptedRequest.js.map +1 -1
- package/dist/gateway/RateLimit.d.ts +29 -0
- package/dist/gateway/RateLimit.d.ts.map +1 -0
- package/dist/gateway/RateLimit.js +33 -0
- package/dist/gateway/RateLimit.js.map +1 -0
- package/dist/gateway/RefusalSampler.d.ts +28 -0
- package/dist/gateway/RefusalSampler.d.ts.map +1 -0
- package/dist/gateway/RefusalSampler.js +52 -0
- package/dist/gateway/RefusalSampler.js.map +1 -0
- package/dist/gateway/RouteTable.d.ts +3 -0
- package/dist/gateway/RouteTable.d.ts.map +1 -1
- package/dist/gateway/RouteTable.js +44 -7
- package/dist/gateway/RouteTable.js.map +1 -1
- package/dist/gateway/Upstream.d.ts +26 -0
- package/dist/gateway/Upstream.d.ts.map +1 -1
- package/dist/gateway/Upstream.js +41 -2
- package/dist/gateway/Upstream.js.map +1 -1
- package/dist/gateway/UpstreamProof.d.ts +235 -0
- package/dist/gateway/UpstreamProof.d.ts.map +1 -0
- package/dist/gateway/UpstreamProof.js +375 -0
- package/dist/gateway/UpstreamProof.js.map +1 -0
- package/dist/handlers/ForwardRequestHandler.d.ts +5 -1
- package/dist/handlers/ForwardRequestHandler.d.ts.map +1 -1
- package/dist/handlers/ForwardRequestHandler.js +12 -2
- package/dist/handlers/ForwardRequestHandler.js.map +1 -1
- package/dist/hosted/TenantHost.d.ts +180 -0
- package/dist/hosted/TenantHost.d.ts.map +1 -0
- package/dist/hosted/TenantHost.js +432 -0
- package/dist/hosted/TenantHost.js.map +1 -0
- package/dist/hosted/TenantRegistry.d.ts +73 -0
- package/dist/hosted/TenantRegistry.d.ts.map +1 -0
- package/dist/hosted/TenantRegistry.js +123 -0
- package/dist/hosted/TenantRegistry.js.map +1 -0
- package/dist/http/ExecutorHttpServer.d.ts +7 -0
- package/dist/http/ExecutorHttpServer.d.ts.map +1 -1
- package/dist/http/ExecutorHttpServer.js +30 -5
- package/dist/http/ExecutorHttpServer.js.map +1 -1
- package/dist/http/GatewayHttpServer.d.ts +55 -3
- package/dist/http/GatewayHttpServer.d.ts.map +1 -1
- package/dist/http/GatewayHttpServer.js +157 -17
- package/dist/http/GatewayHttpServer.js.map +1 -1
- package/dist/http/RedirectServer.d.ts +26 -0
- package/dist/http/RedirectServer.d.ts.map +1 -0
- package/dist/http/RedirectServer.js +62 -0
- package/dist/http/RedirectServer.js.map +1 -0
- package/dist/http/Routes.d.ts +24 -0
- package/dist/http/Routes.d.ts.map +1 -1
- package/dist/http/Routes.js +28 -1
- package/dist/http/Routes.js.map +1 -1
- package/dist/http/TcpBroker.d.ts +57 -0
- package/dist/http/TcpBroker.d.ts.map +1 -0
- package/dist/http/TcpBroker.js +299 -0
- package/dist/http/TcpBroker.js.map +1 -0
- package/dist/http/TcpHostRelay.d.ts +24 -0
- package/dist/http/TcpHostRelay.d.ts.map +1 -0
- package/dist/http/TcpHostRelay.js +194 -0
- package/dist/http/TcpHostRelay.js.map +1 -0
- package/dist/http/TcpRelayStreams.d.ts +24 -0
- package/dist/http/TcpRelayStreams.d.ts.map +1 -0
- package/dist/http/TcpRelayStreams.js +128 -0
- package/dist/http/TcpRelayStreams.js.map +1 -0
- package/dist/http/TlsListener.d.ts +3 -1
- package/dist/http/TlsListener.d.ts.map +1 -1
- package/dist/http/TlsListener.js +7 -2
- package/dist/http/TlsListener.js.map +1 -1
- package/dist/identity/Authenticator.d.ts.map +1 -1
- package/dist/identity/Authenticator.js +5 -2
- package/dist/identity/Authenticator.js.map +1 -1
- package/dist/identity/PrincipalsFile.d.ts +5 -1
- package/dist/identity/PrincipalsFile.d.ts.map +1 -1
- package/dist/identity/PrincipalsFile.js +2 -0
- package/dist/identity/PrincipalsFile.js.map +1 -1
- package/dist/incident/Metrics.d.ts +2 -0
- package/dist/incident/Metrics.d.ts.map +1 -1
- package/dist/incident/Metrics.js +10 -0
- package/dist/incident/Metrics.js.map +1 -1
- package/dist/incident/SecurityEvents.d.ts +98 -0
- package/dist/incident/SecurityEvents.d.ts.map +1 -1
- package/dist/incident/SecurityEvents.js +96 -2
- package/dist/incident/SecurityEvents.js.map +1 -1
- package/dist/journal/ExecutionJournal.d.ts +27 -0
- package/dist/journal/ExecutionJournal.d.ts.map +1 -1
- package/dist/journal/ExecutionJournal.js +28 -0
- package/dist/journal/ExecutionJournal.js.map +1 -1
- package/dist/journal/FileExecutionJournal.d.ts +2 -1
- package/dist/journal/FileExecutionJournal.d.ts.map +1 -1
- package/dist/journal/FileExecutionJournal.js +4 -1
- package/dist/journal/FileExecutionJournal.js.map +1 -1
- package/dist/journal/InMemoryExecutionJournal.d.ts +2 -1
- package/dist/journal/InMemoryExecutionJournal.d.ts.map +1 -1
- package/dist/journal/InMemoryExecutionJournal.js +4 -1
- package/dist/journal/InMemoryExecutionJournal.js.map +1 -1
- package/dist/service/AuthorityClients.d.ts +8 -1
- package/dist/service/AuthorityClients.d.ts.map +1 -1
- package/dist/service/AuthorityClients.js +33 -5
- package/dist/service/AuthorityClients.js.map +1 -1
- package/dist/service/EdgeRuntime.d.ts +73 -0
- package/dist/service/EdgeRuntime.d.ts.map +1 -0
- package/dist/service/EdgeRuntime.js +209 -0
- package/dist/service/EdgeRuntime.js.map +1 -0
- package/dist/service/EscalationResolver.d.ts +109 -5
- package/dist/service/EscalationResolver.d.ts.map +1 -1
- package/dist/service/EscalationResolver.js +41 -3
- package/dist/service/EscalationResolver.js.map +1 -1
- package/dist/service/Requests.d.ts +45 -2
- package/dist/service/Requests.d.ts.map +1 -1
- package/dist/service/TrustedExecutorService.d.ts +144 -1
- package/dist/service/TrustedExecutorService.d.ts.map +1 -1
- package/dist/service/TrustedExecutorService.js +866 -37
- package/dist/service/TrustedExecutorService.js.map +1 -1
- package/dist/tcp/TcpWire.d.ts +18 -0
- package/dist/tcp/TcpWire.d.ts.map +1 -0
- package/dist/tcp/TcpWire.js +114 -0
- package/dist/tcp/TcpWire.js.map +1 -0
- package/dist/verify/VerifyAuditChain.d.ts +5 -0
- package/dist/verify/VerifyAuditChain.d.ts.map +1 -1
- package/dist/verify/VerifyAuditChain.js +20 -4
- package/dist/verify/VerifyAuditChain.js.map +1 -1
- package/package.json +7 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EscalationResolver.js","sourceRoot":"","sources":["../../src/service/EscalationResolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAA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D,IAAI,OAAO,CAAC,OAAO,KAAK,gBAAgB,EAAE,CAAC;YACzC,OAAO;gBACL,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE,OAAO,CAAC,UAAU;oBAC9B,YAAY,EAAE,OAAO,CAAC,YAAY;oBAClC,UAAU,EAAE,OAAO,CAAC,UAAU;iBAC/B;gBACD,WAAW,EAAE,CAAC,yBAAyB,CAAC;aACzC,CAAC;QACJ,CAAC;QACD,0EAA0E;QAC1E,yEAAyE;QACzE,yEAAyE;QACzE,sCAAsC;QACtC,OAAO;YACL,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,QAAQ,EAAE,OAAO,CAAC;SAC1E,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type CapturedIntent, type ExecutionRecoveryReference } from "@decionis/agent-safe-pipeline";
|
|
3
3
|
import type { ExecutorMode } from "../config/ExecutorConfig.js";
|
|
4
|
-
import type { EscalationHandoff } from "./EscalationResolver.js";
|
|
4
|
+
import type { AttestationHandoff, EscalationHandoff } from "./EscalationResolver.js";
|
|
5
5
|
/**
|
|
6
6
|
* What the caller sends. `proposal` is the agent's part and nothing else:
|
|
7
7
|
* tenant, actor, downstream target and credentials come from the executor's
|
|
@@ -83,7 +83,7 @@ export interface ActionResponse {
|
|
|
83
83
|
readonly reference: ExecutionRecoveryReference;
|
|
84
84
|
} | null;
|
|
85
85
|
/** Present while an escalation is open: what to present to resume. */
|
|
86
|
-
readonly escalation: EscalationHandoff | null;
|
|
86
|
+
readonly escalation: EscalationHandoff | AttestationHandoff | null;
|
|
87
87
|
}
|
|
88
88
|
export interface ReconciliationResponse {
|
|
89
89
|
readonly intent_id: string;
|
|
@@ -96,4 +96,47 @@ export interface ReconciliationResponse {
|
|
|
96
96
|
readonly result: unknown;
|
|
97
97
|
readonly effect: Readonly<Record<string, unknown>> | null;
|
|
98
98
|
}
|
|
99
|
+
/** What the issuer's authorization hook is answered: approve on a held grant, or no match and why. */
|
|
100
|
+
export type CardAuthorizationAnswer = {
|
|
101
|
+
readonly decision: "APPROVE";
|
|
102
|
+
readonly authorization_id: string;
|
|
103
|
+
readonly intent_id: string;
|
|
104
|
+
readonly intent_hash: string;
|
|
105
|
+
readonly decision_id: string;
|
|
106
|
+
readonly dossier_id: string;
|
|
107
|
+
readonly grant_id: string;
|
|
108
|
+
/** Until when a result is recorded as an outcome; after it, as indeterminate. */
|
|
109
|
+
readonly lease_expires_at: string;
|
|
110
|
+
} | {
|
|
111
|
+
/**
|
|
112
|
+
* Evaluated at the commit boundary and escalated: a platform that can
|
|
113
|
+
* pend keeps the authorization pending, the tap is presented through
|
|
114
|
+
* `POST /v1/escalations` with the handoff's intent, and the
|
|
115
|
+
* authorization is re-presented once the hold exists.
|
|
116
|
+
*/
|
|
117
|
+
readonly decision: "PENDING";
|
|
118
|
+
readonly authorization_id: string;
|
|
119
|
+
readonly intent_id: string;
|
|
120
|
+
readonly intent_hash: string;
|
|
121
|
+
readonly decision_id: string | null;
|
|
122
|
+
readonly dossier_id: string | null;
|
|
123
|
+
/** Until when the platform may re-present the authorization: the intent's own expiry. */
|
|
124
|
+
readonly expires_at: string;
|
|
125
|
+
/** Where the hold goes: the intent to present back with the tap, and the requirement. */
|
|
126
|
+
readonly escalation: EscalationHandoff | AttestationHandoff;
|
|
127
|
+
} | {
|
|
128
|
+
readonly decision: "NO_MATCH";
|
|
129
|
+
readonly code: string;
|
|
130
|
+
};
|
|
131
|
+
/** What a recorded authorization result became: the commit outcome and the effect observed. */
|
|
132
|
+
export interface CardResultResponse {
|
|
133
|
+
readonly authorization_id: string;
|
|
134
|
+
readonly intent_id: string;
|
|
135
|
+
readonly intent_hash: string;
|
|
136
|
+
readonly outcome: "COMMITTED" | "FAILED" | "INDETERMINATE";
|
|
137
|
+
readonly executed: boolean | null;
|
|
138
|
+
readonly finalization: "RECORDED" | "PENDING" | "UNSUPPORTED";
|
|
139
|
+
readonly reason_codes: readonly string[];
|
|
140
|
+
readonly effect: Readonly<Record<string, unknown>> | null;
|
|
141
|
+
}
|
|
99
142
|
//# sourceMappingURL=Requests.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Requests.d.ts","sourceRoot":"","sources":["../../src/service/Requests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"Requests.d.ts","sourceRoot":"","sources":["../../src/service/Requests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAIrF;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;kBAQhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,6FAA6F;AAC7F,eAAO,MAAM,2BAA2B;;;;;;;;;;;kBAWtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;kBAE5B,CAAC;AAEH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
|
import type { EscalationMode, ExecutorConfig, ExecutorMode } from "../config/ExecutorConfig.js";
|
|
@@ -14,7 +15,8 @@ import { type EvidenceBundle } from "../incident/EvidenceExport.js";
|
|
|
14
15
|
import type { PostureState } from "../posture/HostPosture.js";
|
|
15
16
|
import type { ReloadReport, SecretStore } from "../secrets/SecretStore.js";
|
|
16
17
|
import { type EscalationDependencies } from "./EscalationResolver.js";
|
|
17
|
-
import { type ActionResponse, type ReconciliationResponse } from "./Requests.js";
|
|
18
|
+
import { type ActionResponse, type CardAuthorizationAnswer, type CardResultResponse, type ReconciliationResponse } from "./Requests.js";
|
|
19
|
+
import type { LoadPg } from "../edge/EdgeReplay.js";
|
|
18
20
|
export interface ServiceDependencies extends Omit<EscalationDependencies, "fetch"> {
|
|
19
21
|
/** Where audit lines go; stdout in the process, an array in the proof. */
|
|
20
22
|
readonly emit?: LineWriter;
|
|
@@ -38,6 +40,10 @@ export interface ServiceDependencies extends Omit<EscalationDependencies, "fetch
|
|
|
38
40
|
/** The stop; one is built from the configuration unless a test hands in its own. */
|
|
39
41
|
readonly halt?: HaltSwitch;
|
|
40
42
|
readonly clock?: () => number;
|
|
43
|
+
/** Loads the edge evaluator; the configured file unless a test hands in its own. */
|
|
44
|
+
readonly loadEdgeModule?: (path: string) => EdgeModule;
|
|
45
|
+
/** Loads `pg` for the shared replay store; the installed package unless a test hands in its own. */
|
|
46
|
+
readonly loadPg?: LoadPg;
|
|
41
47
|
}
|
|
42
48
|
/** What `/v1/control/status` reports: identifiers, counts, and heads, never a value. */
|
|
43
49
|
export interface ExecutorStatus {
|
|
@@ -96,8 +102,24 @@ export declare class TrustedExecutorService {
|
|
|
96
102
|
readonly haltSwitch: HaltSwitch;
|
|
97
103
|
private readonly limits;
|
|
98
104
|
private readonly unsubscribeMetrics;
|
|
105
|
+
/** The effect observations the verifier finalizes with; the cards family registers into it. */
|
|
106
|
+
private readonly effects;
|
|
107
|
+
/** Card grants held for the issuer's authorization, and the authorizations that claimed one. */
|
|
108
|
+
private readonly cards;
|
|
109
|
+
/** The shared hold store's hourly sweep, while it runs. */
|
|
110
|
+
private cardsTimer;
|
|
111
|
+
/** The edge evaluator, when the configuration asks for it. */
|
|
112
|
+
private readonly edge;
|
|
99
113
|
private readonly hasher;
|
|
100
114
|
private recovery;
|
|
115
|
+
/**
|
|
116
|
+
* Authorizations evaluated at the commit boundary and escalated, by id:
|
|
117
|
+
* answered the same way until their intent expires, so a platform that
|
|
118
|
+
* re-presents one is told the same thing and nothing is evaluated twice.
|
|
119
|
+
*/
|
|
120
|
+
private readonly pendingCommits;
|
|
121
|
+
/** Bound before any await: one authorization id may claim only one request. */
|
|
122
|
+
private readonly cardClaims;
|
|
101
123
|
private constructor();
|
|
102
124
|
/**
|
|
103
125
|
* Wires the boundary. `handlers` is the adopter's seam: it registers what
|
|
@@ -105,6 +127,13 @@ export declare class TrustedExecutorService {
|
|
|
105
127
|
* Every credential is read from `secrets` at the moment of use.
|
|
106
128
|
*/
|
|
107
129
|
static create(config: ExecutorConfig, secrets: SecretStore, handlers: HandlerRegistration, dependencies?: ServiceDependencies): TrustedExecutorService;
|
|
130
|
+
/**
|
|
131
|
+
* Where card holds live: this process, or the store every replica shares,
|
|
132
|
+
* whose rows are sealed under the hold key. A hold or a claim another
|
|
133
|
+
* replica made is admitted here through the executor's own checks, with
|
|
134
|
+
* the claim material that replica sealed.
|
|
135
|
+
*/
|
|
136
|
+
private static cardHolds;
|
|
108
137
|
/** The credential the configuration's kind names, over the secret store and the guarded fetch. */
|
|
109
138
|
private static credential;
|
|
110
139
|
private static jwtVerifier;
|
|
@@ -112,6 +141,18 @@ export declare class TrustedExecutorService {
|
|
|
112
141
|
private static principals;
|
|
113
142
|
get mode(): ExecutorMode;
|
|
114
143
|
get escalationMode(): EscalationMode;
|
|
144
|
+
/**
|
|
145
|
+
* Loads the edge evaluator's first bundle and starts its refresh schedule.
|
|
146
|
+
* A first fetch that fails is not a refusal to start: until a bundle
|
|
147
|
+
* loads, decisions follow the configured `onUnavailable`.
|
|
148
|
+
*/
|
|
149
|
+
startEdge(): Promise<void>;
|
|
150
|
+
/**
|
|
151
|
+
* Probes the shared hold store, when there is one: a store that cannot be
|
|
152
|
+
* reached is a refusal to start, since no authorization could then match,
|
|
153
|
+
* and then sweeps it hourly for what lapsed.
|
|
154
|
+
*/
|
|
155
|
+
startCards(): Promise<void>;
|
|
115
156
|
/** The actions this process can run, for `/ready`. */
|
|
116
157
|
get actions(): readonly string[];
|
|
117
158
|
/** Stops following credential rotation and closes every outbound connection; the service answers nothing new after this. */
|
|
@@ -148,6 +189,13 @@ export declare class TrustedExecutorService {
|
|
|
148
189
|
private assertNotHalted;
|
|
149
190
|
/** The refusal itself is evidence: the same shape the executor uses for a blocked run. */
|
|
150
191
|
private recordRefusal;
|
|
192
|
+
/**
|
|
193
|
+
* One spendable hold per card and merchant: a purchase at a merchant where
|
|
194
|
+
* the card already has one waits until it is authorised or expires,
|
|
195
|
+
* refused before the authority is asked so the refusal costs no dossier
|
|
196
|
+
* and no grant. The same card at another merchant holds in parallel.
|
|
197
|
+
*/
|
|
198
|
+
private assertCardSpendable;
|
|
151
199
|
/** The host's own ceilings, before the authority is asked and again before the run. */
|
|
152
200
|
private assertWithinLimits;
|
|
153
201
|
reconcile(input: unknown, caller?: Principal): Promise<ReconciliationResponse>;
|
|
@@ -158,6 +206,11 @@ export declare class TrustedExecutorService {
|
|
|
158
206
|
* intent past its lifetime is refused before anything is asked.
|
|
159
207
|
*/
|
|
160
208
|
resume(input: unknown, caller?: Principal): Promise<ActionResponse>;
|
|
209
|
+
/**
|
|
210
|
+
* A fresh decision on a resumed escalation: a card purchase's grant is held
|
|
211
|
+
* for the issuer, anything else runs once on an `ALLOW`.
|
|
212
|
+
*/
|
|
213
|
+
private decide;
|
|
161
214
|
/**
|
|
162
215
|
* The attempt, on disk, before the executor may run it. A journal that
|
|
163
216
|
* cannot take the record refuses the proposal rather than executing
|
|
@@ -177,9 +230,21 @@ export declare class TrustedExecutorService {
|
|
|
177
230
|
private assertPosture;
|
|
178
231
|
/** The proposer a call is made as: the caller the door authenticated, or the legacy caller when the service is used directly. */
|
|
179
232
|
private proposer;
|
|
233
|
+
/**
|
|
234
|
+
* An operator may present an attestation only under `escalations.resume`;
|
|
235
|
+
* without it the operator is no presenter at all, and the refusal is the
|
|
236
|
+
* door's: a role the route does not admit.
|
|
237
|
+
*/
|
|
238
|
+
private static presenter;
|
|
180
239
|
private operator;
|
|
181
240
|
/** An intent presented back must be the caller's own: same principal, tenant, and actor. */
|
|
182
241
|
private assertOwn;
|
|
242
|
+
/**
|
|
243
|
+
* The burst on this card, counted before capture because the store may be
|
|
244
|
+
* shared and is asked asynchronously; a purchase the binder will refuse
|
|
245
|
+
* is not counted, and the binder's own refusal follows.
|
|
246
|
+
*/
|
|
247
|
+
private cardVelocity;
|
|
183
248
|
private captureIntent;
|
|
184
249
|
/**
|
|
185
250
|
* The banking binder. Every disagreement between what the caller said over
|
|
@@ -187,6 +252,16 @@ export declare class TrustedExecutorService {
|
|
|
187
252
|
* authority is asked, so a mismatch costs no dossier and no grant.
|
|
188
253
|
*/
|
|
189
254
|
private bindBanking;
|
|
255
|
+
/**
|
|
256
|
+
* The cards binder: the purchase is read and refused here, a card number
|
|
257
|
+
* above all, and the target is derived from the card. What comes back is
|
|
258
|
+
* the expected-effect digest the authority binds its grant to.
|
|
259
|
+
*/
|
|
260
|
+
private bindCard;
|
|
261
|
+
/** The hold's routing as the handoff carries it, from the decision when the authority said. */
|
|
262
|
+
private static attestationRequirement;
|
|
263
|
+
/** Whether the policy sent the hold to a presence provider other than Decionis Presence. */
|
|
264
|
+
private static routedToProvider;
|
|
190
265
|
/**
|
|
191
266
|
* The two digests a banking intent is bound to, taken from the profile's
|
|
192
267
|
* own arithmetic. This reaches nothing: `prepare` is pure, which is why
|
|
@@ -207,6 +282,74 @@ export declare class TrustedExecutorService {
|
|
|
207
282
|
private presented;
|
|
208
283
|
private observe;
|
|
209
284
|
private enforce;
|
|
285
|
+
/**
|
|
286
|
+
* Admits a card purchase's decision exactly as a run would and holds its
|
|
287
|
+
* grant for the issuer's authorization, keyed by the card and the
|
|
288
|
+
* merchant. Nothing is
|
|
289
|
+
* claimed and nothing runs; the hard ceilings are committed now, because
|
|
290
|
+
* this is the last moment this process decides anything about the amount.
|
|
291
|
+
* A refusal comes back as the executor's own blocked result.
|
|
292
|
+
*/
|
|
293
|
+
private holdCard;
|
|
294
|
+
/**
|
|
295
|
+
* The issuer's real-time authorization hook. The answer has to come back in
|
|
296
|
+
* milliseconds, so the only network call is the claim itself: the match is
|
|
297
|
+
* pure, against a grant decided before the card was presented. A match
|
|
298
|
+
* claims the grant once, and a second authorization for it is a
|
|
299
|
+
* `NO_MATCH`; an issuer retrying the same authorization is given the same
|
|
300
|
+
* answer, with no second claim. What `NO_MATCH` means for the purchase is
|
|
301
|
+
* the issuer's policy, not this process's.
|
|
302
|
+
*/
|
|
303
|
+
authorizeCard(input: unknown, caller?: Principal): Promise<CardAuthorizationAnswer>;
|
|
304
|
+
private claimCard;
|
|
305
|
+
/**
|
|
306
|
+
* An authorization with no hold. By default it is `NO_MATCH`: nothing was
|
|
307
|
+
* decided before the card was presented. A deployment that evaluates at
|
|
308
|
+
* the commit boundary answers it from an evaluation made now, and one
|
|
309
|
+
* already evaluated and escalated is answered the same way until its
|
|
310
|
+
* intent expires, so a platform that re-presents it is told the same thing
|
|
311
|
+
* and nothing is evaluated twice. Once the tap has resumed the hold, the
|
|
312
|
+
* re-presented authorization finds it before it gets here.
|
|
313
|
+
*/
|
|
314
|
+
private withoutGrant;
|
|
315
|
+
/**
|
|
316
|
+
* The commit boundary: the authorization becomes the intent, captured as
|
|
317
|
+
* the commit actor the deployment names and evaluated now, with the
|
|
318
|
+
* authorization's id in the intent's context so the dossier says what it
|
|
319
|
+
* decided about. An `ALLOW` is held and claimed in this same call. An
|
|
320
|
+
* `ESCALATE` is `PENDING`, with the handoff: a platform that can pend keeps
|
|
321
|
+
* the authorization waiting, the tap arrives through `POST /v1/escalations`
|
|
322
|
+
* with the handoff's intent, and the re-presented authorization matches the
|
|
323
|
+
* hold the tap left. A `BLOCK`, a refusal this host makes on its own, and
|
|
324
|
+
* an authority that did not answer are `NO_MATCH` with their code. In
|
|
325
|
+
* shadow the evaluation is observed and the authorization is `NO_MATCH`.
|
|
326
|
+
*/
|
|
327
|
+
private evaluateAtCommit;
|
|
328
|
+
/** Bounded like the claims: a full map forgets its oldest, whose intent is nearest its expiry. */
|
|
329
|
+
private rememberPending;
|
|
330
|
+
/** The intent's idempotency key names the authorization; one too long for the key is named by its digest. */
|
|
331
|
+
private static commitIdempotencyKey;
|
|
332
|
+
/**
|
|
333
|
+
* What the issuer did with an authorization it was told to approve. An
|
|
334
|
+
* approval is the effect, compared with what the grant authorised; a
|
|
335
|
+
* decline is a refusal; and a result after the claim's lease is recorded
|
|
336
|
+
* as indeterminate, because the authority no longer accepts a commit for
|
|
337
|
+
* it. Recorded once.
|
|
338
|
+
*/
|
|
339
|
+
settleCard(authorizationId: string, input: unknown, caller?: Principal): Promise<CardResultResponse>;
|
|
340
|
+
/** A card attempt's end, in the journal, so a restart does not ask about it again. */
|
|
341
|
+
private closeCardAttempt;
|
|
342
|
+
private noMatch;
|
|
343
|
+
/** A card request read, or the refusal that names why; a card number is its own refusal. */
|
|
344
|
+
private static cardRequest;
|
|
345
|
+
/**
|
|
346
|
+
* Whether a re-presented authorization is an increment of the claim it
|
|
347
|
+
* names: the same card, currency, merchant and category, for more than
|
|
348
|
+
* before and no more than the grant's ceiling, while the claim is still
|
|
349
|
+
* open and inside its lease.
|
|
350
|
+
*/
|
|
351
|
+
private static incrementOf;
|
|
352
|
+
private static cardView;
|
|
210
353
|
private response;
|
|
211
354
|
/** A resumption that produced no new decision: still held, or refused. */
|
|
212
355
|
private held;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrustedExecutorService.d.ts","sourceRoot":"","sources":["../../src/service/TrustedExecutorService.ts"],"names":[],"mappings":"
|
|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