@decionis/agentsafe 0.7.0 → 0.9.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 +6 -1
- package/dist/Cli.js +13 -3
- package/dist/Cli.js.map +1 -1
- package/dist/acceptance/AcceptancePlan.d.ts +109 -0
- package/dist/acceptance/AcceptancePlan.d.ts.map +1 -0
- package/dist/acceptance/AcceptancePlan.js +128 -0
- package/dist/acceptance/AcceptancePlan.js.map +1 -0
- package/dist/acceptance/AcceptanceReport.d.ts +596 -0
- package/dist/acceptance/AcceptanceReport.d.ts.map +1 -0
- package/dist/acceptance/AcceptanceReport.js +361 -0
- package/dist/acceptance/AcceptanceReport.js.map +1 -0
- package/dist/acceptance/AcceptanceRun.d.ts +118 -0
- package/dist/acceptance/AcceptanceRun.d.ts.map +1 -0
- package/dist/acceptance/AcceptanceRun.js +419 -0
- package/dist/acceptance/AcceptanceRun.js.map +1 -0
- package/dist/acceptance/Coverage.d.ts +12 -0
- package/dist/acceptance/Coverage.d.ts.map +1 -0
- package/dist/acceptance/Coverage.js +48 -0
- package/dist/acceptance/Coverage.js.map +1 -0
- package/dist/acceptance/OutageDoubles.d.ts +34 -0
- package/dist/acceptance/OutageDoubles.d.ts.map +1 -0
- package/dist/acceptance/OutageDoubles.js +67 -0
- package/dist/acceptance/OutageDoubles.js.map +1 -0
- package/dist/acceptance/ZoneProbes.d.ts +368 -0
- package/dist/acceptance/ZoneProbes.d.ts.map +1 -0
- package/dist/acceptance/ZoneProbes.js +488 -0
- package/dist/acceptance/ZoneProbes.js.map +1 -0
- package/dist/adapters/JcsDigest.d.ts +6 -5
- package/dist/adapters/JcsDigest.d.ts.map +1 -1
- package/dist/adapters/JcsDigest.js +9 -8
- package/dist/adapters/JcsDigest.js.map +1 -1
- package/dist/cli/Accept.d.ts +9 -0
- package/dist/cli/Accept.d.ts.map +1 -0
- package/dist/cli/Accept.js +209 -0
- package/dist/cli/Accept.js.map +1 -0
- package/dist/cli/Actions.d.ts +6 -4
- package/dist/cli/Actions.d.ts.map +1 -1
- package/dist/cli/Actions.js +33 -7
- package/dist/cli/Actions.js.map +1 -1
- 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/ConfigCommand.d.ts.map +1 -1
- package/dist/cli/ConfigCommand.js +5 -0
- package/dist/cli/ConfigCommand.js.map +1 -1
- package/dist/cli/Doctor.d.ts.map +1 -1
- package/dist/cli/Doctor.js +67 -1
- package/dist/cli/Doctor.js.map +1 -1
- package/dist/cli/Help.d.ts.map +1 -1
- package/dist/cli/Help.js +6 -1
- package/dist/cli/Help.js.map +1 -1
- package/dist/cli/Identity.d.ts +13 -1
- package/dist/cli/Identity.d.ts.map +1 -1
- package/dist/cli/Identity.js +25 -2
- package/dist/cli/Identity.js.map +1 -1
- package/dist/cli/Status.d.ts +23 -0
- package/dist/cli/Status.d.ts.map +1 -1
- package/dist/cli/Status.js +80 -18
- package/dist/cli/Status.js.map +1 -1
- package/dist/cli/VerifyAcceptance.d.ts +38 -0
- package/dist/cli/VerifyAcceptance.d.ts.map +1 -0
- package/dist/cli/VerifyAcceptance.js +143 -0
- package/dist/cli/VerifyAcceptance.js.map +1 -0
- package/dist/config/ExecutorConfig.d.ts +6 -1
- package/dist/config/ExecutorConfig.d.ts.map +1 -1
- package/dist/config/ExecutorConfig.js.map +1 -1
- package/dist/egress/ZoneHttpClient.d.ts +3 -0
- package/dist/egress/ZoneHttpClient.d.ts.map +1 -0
- package/dist/egress/ZoneHttpClient.js +72 -0
- package/dist/egress/ZoneHttpClient.js.map +1 -0
- package/dist/exposure/DecionisExposureLedger.d.ts +44 -0
- package/dist/exposure/DecionisExposureLedger.d.ts.map +1 -0
- package/dist/exposure/DecionisExposureLedger.js +175 -0
- package/dist/exposure/DecionisExposureLedger.js.map +1 -0
- package/dist/exposure/ExposureDeclaration.d.ts +68 -0
- package/dist/exposure/ExposureDeclaration.d.ts.map +1 -0
- package/dist/exposure/ExposureDeclaration.js +120 -0
- package/dist/exposure/ExposureDeclaration.js.map +1 -0
- package/dist/exposure/ExposureFacts.d.ts +61 -0
- package/dist/exposure/ExposureFacts.d.ts.map +1 -0
- package/dist/exposure/ExposureFacts.js +220 -0
- package/dist/exposure/ExposureFacts.js.map +1 -0
- package/dist/exposure/ExposureGate.d.ts +144 -0
- package/dist/exposure/ExposureGate.d.ts.map +1 -0
- package/dist/exposure/ExposureGate.js +446 -0
- package/dist/exposure/ExposureGate.js.map +1 -0
- package/dist/exposure/ExposureLedger.d.ts +93 -0
- package/dist/exposure/ExposureLedger.d.ts.map +1 -0
- package/dist/exposure/ExposureLedger.js +24 -0
- package/dist/exposure/ExposureLedger.js.map +1 -0
- package/dist/gateway/AttemptStore.d.ts +83 -0
- package/dist/gateway/AttemptStore.d.ts.map +1 -0
- package/dist/gateway/AttemptStore.js +229 -0
- package/dist/gateway/AttemptStore.js.map +1 -0
- package/dist/gateway/ForwardHandler.d.ts +29 -3
- package/dist/gateway/ForwardHandler.d.ts.map +1 -1
- package/dist/gateway/ForwardHandler.js +32 -5
- package/dist/gateway/ForwardHandler.js.map +1 -1
- package/dist/gateway/Gateway.d.ts +229 -17
- package/dist/gateway/Gateway.d.ts.map +1 -1
- package/dist/gateway/Gateway.js +1045 -81
- package/dist/gateway/Gateway.js.map +1 -1
- package/dist/gateway/GatewayConfig.d.ts +186 -0
- package/dist/gateway/GatewayConfig.d.ts.map +1 -1
- package/dist/gateway/GatewayConfig.js +219 -5
- package/dist/gateway/GatewayConfig.js.map +1 -1
- package/dist/gateway/GatewayManifest.d.ts +18 -0
- package/dist/gateway/GatewayManifest.d.ts.map +1 -0
- package/dist/gateway/GatewayManifest.js +42 -0
- package/dist/gateway/GatewayManifest.js.map +1 -0
- package/dist/gateway/GatewayMetrics.d.ts +12 -4
- package/dist/gateway/GatewayMetrics.d.ts.map +1 -1
- package/dist/gateway/GatewayMetrics.js +5 -0
- package/dist/gateway/GatewayMetrics.js.map +1 -1
- package/dist/gateway/GatewayReport.d.ts +34 -1
- package/dist/gateway/GatewayReport.d.ts.map +1 -1
- package/dist/gateway/GatewayReport.js +11 -0
- package/dist/gateway/GatewayReport.js.map +1 -1
- package/dist/gateway/HoldStore.d.ts +89 -0
- package/dist/gateway/HoldStore.d.ts.map +1 -0
- package/dist/gateway/HoldStore.js +280 -0
- package/dist/gateway/HoldStore.js.map +1 -0
- package/dist/gateway/InterceptedRequest.d.ts +10 -0
- package/dist/gateway/InterceptedRequest.d.ts.map +1 -1
- package/dist/gateway/InterceptedRequest.js +20 -0
- package/dist/gateway/InterceptedRequest.js.map +1 -1
- package/dist/gateway/RouteTable.d.ts +33 -5
- package/dist/gateway/RouteTable.d.ts.map +1 -1
- package/dist/gateway/RouteTable.js +76 -1
- package/dist/gateway/RouteTable.js.map +1 -1
- package/dist/gateway/ShadowLedger.d.ts +11 -0
- package/dist/gateway/ShadowLedger.d.ts.map +1 -1
- package/dist/gateway/ShadowLedger.js +11 -0
- package/dist/gateway/ShadowLedger.js.map +1 -1
- package/dist/gateway/TargetEffect.d.ts +74 -0
- package/dist/gateway/TargetEffect.d.ts.map +1 -0
- package/dist/gateway/TargetEffect.js +95 -0
- package/dist/gateway/TargetEffect.js.map +1 -0
- package/dist/gateway/TargetReader.d.ts +70 -0
- package/dist/gateway/TargetReader.d.ts.map +1 -0
- package/dist/gateway/TargetReader.js +106 -0
- package/dist/gateway/TargetReader.js.map +1 -0
- package/dist/gateway/Upstream.d.ts +15 -0
- package/dist/gateway/Upstream.d.ts.map +1 -1
- package/dist/gateway/Upstream.js +24 -2
- package/dist/gateway/Upstream.js.map +1 -1
- package/dist/hosted/TenantHost.d.ts +3 -2
- package/dist/hosted/TenantHost.d.ts.map +1 -1
- package/dist/hosted/TenantHost.js +7 -1
- package/dist/hosted/TenantHost.js.map +1 -1
- package/dist/hosted/TenantRegistry.d.ts +8 -0
- package/dist/hosted/TenantRegistry.d.ts.map +1 -1
- package/dist/hosted/TenantRegistry.js +14 -1
- package/dist/hosted/TenantRegistry.js.map +1 -1
- package/dist/http/GatewayHttpServer.d.ts +7 -0
- package/dist/http/GatewayHttpServer.d.ts.map +1 -1
- package/dist/http/GatewayHttpServer.js +57 -1
- package/dist/http/GatewayHttpServer.js.map +1 -1
- package/dist/outcomes/OutcomeEvidence.d.ts +4 -4
- package/dist/posture/ActionSpaceDrift.d.ts +40 -0
- package/dist/posture/ActionSpaceDrift.d.ts.map +1 -0
- package/dist/posture/ActionSpaceDrift.js +67 -0
- package/dist/posture/ActionSpaceDrift.js.map +1 -0
- package/dist/posture/DeploymentFingerprint.d.ts +88 -0
- package/dist/posture/DeploymentFingerprint.d.ts.map +1 -0
- package/dist/posture/DeploymentFingerprint.js +78 -0
- package/dist/posture/DeploymentFingerprint.js.map +1 -0
- package/dist/secrets/SecretStore.d.ts +6 -1
- package/dist/secrets/SecretStore.d.ts.map +1 -1
- package/dist/secrets/SecretStore.js.map +1 -1
- package/dist/service/EscalationResolver.d.ts +6 -6
- package/dist/service/EscalationResolver.d.ts.map +1 -1
- package/dist/service/EscalationResolver.js +8 -4
- package/dist/service/EscalationResolver.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type EscalationConfig } from "../config/ExecutorConfig.js";
|
|
3
|
+
import { type ContainmentTarget } from "../containment/ContainmentProbe.js";
|
|
4
|
+
import { type ExposureDeclaration } from "../exposure/ExposureDeclaration.js";
|
|
3
5
|
import type { SecretName } from "../secrets/SecretStore.js";
|
|
4
6
|
import { type RateLimit } from "./RateLimit.js";
|
|
5
7
|
export type GatewayMode = "SHADOW" | "ENFORCEMENT";
|
|
@@ -25,6 +27,17 @@ export declare const TENANT_KEY_HEADER = "agentsafe-tenant-key";
|
|
|
25
27
|
export declare const SESSION_HEADER = "agentsafe-session";
|
|
26
28
|
/** The header a caller presents the identity provider's subject token in, per request; never forwarded. */
|
|
27
29
|
export declare const SUBJECT_TOKEN_HEADER = "agentsafe-subject-token";
|
|
30
|
+
/**
|
|
31
|
+
* The header the gateway presents its own token to the upstream in, so the
|
|
32
|
+
* upstream can tell a request came through it; a caller's value is never forwarded.
|
|
33
|
+
*/
|
|
34
|
+
export declare const GATEWAY_TOKEN_HEADER = "agentsafe-gateway-token";
|
|
35
|
+
/** The secret the gateway token is opened as, from the file its configuration names. */
|
|
36
|
+
export declare const GATEWAY_TOKEN_SECRET = "AGENTSAFE_GATEWAY_TOKEN";
|
|
37
|
+
/** The secret an acceptance report is signed with, opened from `acceptance.key.file`. */
|
|
38
|
+
export declare const ACCEPTANCE_KEY_SECRET = "AGENTSAFE_ACCEPTANCE_KEY";
|
|
39
|
+
/** The bearer of `/_agentsafe/v1/acceptance`, opened from `acceptance.operatorToken.file`. */
|
|
40
|
+
export declare const ACCEPTANCE_TOKEN_SECRET = "AGENTSAFE_ACCEPTANCE_TOKEN";
|
|
28
41
|
/** The tenant the demo authority evaluates under; a reserved fixture identifier, never an organization. */
|
|
29
42
|
export declare const LOCAL_TENANT_ID = "00000000-0000-4000-8000-000000000009";
|
|
30
43
|
export declare const DEFAULT_AUTHORITY_ENDPOINT = "https://api.decionis.com";
|
|
@@ -32,6 +45,17 @@ export declare const DEFAULT_LISTEN: {
|
|
|
32
45
|
readonly host: "127.0.0.1";
|
|
33
46
|
readonly port: 8080;
|
|
34
47
|
};
|
|
48
|
+
/** How long after a refusal its target is read again, by default, and at most. */
|
|
49
|
+
export declare const DEFAULT_REFUSAL_WINDOW_MS = 1000;
|
|
50
|
+
export declare const MAX_REFUSAL_WINDOW_MS = 30000;
|
|
51
|
+
/** The longest a shadow answer may wait for its observation: well under any caller's timeout. */
|
|
52
|
+
export declare const MAX_SHADOW_VERDICT_WAIT_MS = 2000;
|
|
53
|
+
/**
|
|
54
|
+
* The longest a hold may last: the authority lets an intent live this long
|
|
55
|
+
* only when it asks the policy for its approvers (a managed escalation that
|
|
56
|
+
* names no approver), and still mints its grant only after the approval.
|
|
57
|
+
*/
|
|
58
|
+
export declare const MAX_HOLD_TTL_SECONDS: number;
|
|
35
59
|
/**
|
|
36
60
|
* Who a session is for: the identity provider whose short-lived token names
|
|
37
61
|
* the subject (the customer in context), and where in the token the subject
|
|
@@ -57,6 +81,13 @@ export interface RouteConfig {
|
|
|
57
81
|
readonly policyId?: string;
|
|
58
82
|
/** An exact published policy version; when both selectors are set, both must match. */
|
|
59
83
|
readonly policyVersion?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The route releases money: where its amount, currency and subjects are,
|
|
86
|
+
* so each payment is reserved against the organisation's cumulative limits
|
|
87
|
+
* before it is forwarded (docs/gateway/exposure.md). Absent, the route is
|
|
88
|
+
* governed exactly as before.
|
|
89
|
+
*/
|
|
90
|
+
readonly exposure?: ExposureDeclaration;
|
|
60
91
|
}
|
|
61
92
|
/**
|
|
62
93
|
* Everything the gateway runs on, resolved from flags, environment, file and
|
|
@@ -130,6 +161,17 @@ export interface GatewayConfig {
|
|
|
130
161
|
readonly header: string;
|
|
131
162
|
readonly file: string;
|
|
132
163
|
} | null;
|
|
164
|
+
/**
|
|
165
|
+
* The gateway's own token: the secret in `file` (opened as
|
|
166
|
+
* `AGENTSAFE_GATEWAY_TOKEN`, and followed when the file is rotated), sent
|
|
167
|
+
* as `AgentSafe-Gateway-Token` on every request it forwards, so the
|
|
168
|
+
* upstream can tell the request came through this gateway. It is apart
|
|
169
|
+
* from `credential`, which stands in for the caller. Null sends none; a
|
|
170
|
+
* caller's own value of that header is dropped either way.
|
|
171
|
+
*/
|
|
172
|
+
readonly gatewayToken: {
|
|
173
|
+
readonly file: string;
|
|
174
|
+
} | null;
|
|
133
175
|
readonly system: string;
|
|
134
176
|
readonly environment: string;
|
|
135
177
|
readonly timeoutMs: number;
|
|
@@ -165,6 +207,13 @@ export interface GatewayConfig {
|
|
|
165
207
|
readonly profile: string | null;
|
|
166
208
|
/** `FACTS`: the authority receives the profile's operation and facts, never the request. */
|
|
167
209
|
readonly privacy: PrivacyMode;
|
|
210
|
+
/**
|
|
211
|
+
* Facts-only privacy: a file in the tenant's custody holding the key its
|
|
212
|
+
* keyed digests (`request_hmac_sha256`, the keyed idempotency key) are
|
|
213
|
+
* derived from, so every replica states the same values. Null keys them
|
|
214
|
+
* with a secret each gateway process makes for itself.
|
|
215
|
+
*/
|
|
216
|
+
readonly digestKeyFile: string | null;
|
|
168
217
|
/**
|
|
169
218
|
* Refuse a call the profile cannot check: a read no profile operation
|
|
170
219
|
* names, a path beneath one, and a write neither a route nor an operation
|
|
@@ -172,9 +221,43 @@ export interface GatewayConfig {
|
|
|
172
221
|
* the gateway pins subjects with a profile.
|
|
173
222
|
*/
|
|
174
223
|
readonly refuseUnknownReads: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* After a BLOCK, a held ESCALATE or a fail-closed refusal of a write whose
|
|
226
|
+
* profile operation names a read, read the target again and record what
|
|
227
|
+
* it showed (`REFUSAL_OBSERVATION`): one more `GET` per refusal. On by
|
|
228
|
+
* default; enforcement only.
|
|
229
|
+
*/
|
|
230
|
+
readonly observeRefusals: boolean;
|
|
231
|
+
/** How long after the refusal that read is made, so the window it covers is not empty. */
|
|
232
|
+
readonly refusalWindowMs: number;
|
|
175
233
|
};
|
|
176
234
|
/** Subject-bound sessions: null when the gateway pins no subject. */
|
|
177
235
|
readonly subject: SubjectConfig | null;
|
|
236
|
+
/**
|
|
237
|
+
* The systems of record the agent zone must not reach except through this
|
|
238
|
+
* gateway, as the operator declares them. Nothing here dials them: they are
|
|
239
|
+
* part of what the deployment says it is (its fingerprint), and what
|
|
240
|
+
* `agentsafe probe-containment` is pointed at.
|
|
241
|
+
*/
|
|
242
|
+
readonly containment: {
|
|
243
|
+
readonly targets: readonly ContainmentTarget[];
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* An acceptance run's two secrets, or null when the gateway serves no run
|
|
247
|
+
* (ADR 0009): the key that signs its reports and nothing else, and the
|
|
248
|
+
* bearer the operator's tool presents on `/_agentsafe/v1/acceptance`. Each
|
|
249
|
+
* is a file, opened as a secret; `kid` names the key in a report's header,
|
|
250
|
+
* its RFC 7638 thumbprint when null.
|
|
251
|
+
*/
|
|
252
|
+
readonly acceptance: {
|
|
253
|
+
readonly key: {
|
|
254
|
+
readonly file: string;
|
|
255
|
+
};
|
|
256
|
+
readonly operatorToken: {
|
|
257
|
+
readonly file: string;
|
|
258
|
+
};
|
|
259
|
+
readonly kid: string | null;
|
|
260
|
+
} | null;
|
|
178
261
|
readonly actor: {
|
|
179
262
|
readonly id: string;
|
|
180
263
|
readonly type: string;
|
|
@@ -189,10 +272,32 @@ export interface GatewayConfig {
|
|
|
189
272
|
readonly id: string | null;
|
|
190
273
|
};
|
|
191
274
|
readonly intentTtlSeconds: number;
|
|
275
|
+
/**
|
|
276
|
+
* In shadow, how long a forwarded answer may wait, after the upstream has
|
|
277
|
+
* answered, for the observation to settle so `AgentSafe-Shadow-Verdict`
|
|
278
|
+
* can name it. 0, the default, never waits: the header says what had
|
|
279
|
+
* settled by then, or `PENDING`.
|
|
280
|
+
*/
|
|
281
|
+
readonly shadowVerdictWaitMs: number;
|
|
282
|
+
/**
|
|
283
|
+
* Where held requests are kept: a directory every replica mounts, each hold
|
|
284
|
+
* sealed under the key in `keyFile`. Null keeps them in this process's
|
|
285
|
+
* memory, where a restart loses them and only this replica can resume them.
|
|
286
|
+
*/
|
|
287
|
+
readonly holds: {
|
|
288
|
+
readonly dir: string;
|
|
289
|
+
readonly keyFile: string;
|
|
290
|
+
} | null;
|
|
192
291
|
readonly escalation: EscalationConfig;
|
|
193
292
|
readonly evidence: {
|
|
194
293
|
readonly enabled: boolean;
|
|
195
294
|
readonly journalDir: string | null;
|
|
295
|
+
/**
|
|
296
|
+
* Who the gateway's effect evidence names as its observer: the identity
|
|
297
|
+
* the authority's trusted-observer allowlist must list for a read-back to
|
|
298
|
+
* be recorded `CONFIRMED`. Null names the boundary.
|
|
299
|
+
*/
|
|
300
|
+
readonly observer: string | null;
|
|
196
301
|
};
|
|
197
302
|
readonly output: {
|
|
198
303
|
readonly format: OutputFormat;
|
|
@@ -218,6 +323,9 @@ export declare const GatewayFileSchema: z.ZodObject<{
|
|
|
218
323
|
header: z.ZodString;
|
|
219
324
|
file: z.ZodString;
|
|
220
325
|
}, z.core.$strict>>;
|
|
326
|
+
gatewayToken: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
file: z.ZodString;
|
|
328
|
+
}, z.core.$strict>>;
|
|
221
329
|
hosted: z.ZodOptional<z.ZodBoolean>;
|
|
222
330
|
tenantKeyDigests: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
223
331
|
rateLimit: z.ZodOptional<z.ZodObject<{
|
|
@@ -265,6 +373,36 @@ export declare const GatewayFileSchema: z.ZodObject<{
|
|
|
265
373
|
}>, unknown>>>;
|
|
266
374
|
policyId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodString>>;
|
|
267
375
|
policyVersion: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodString>>;
|
|
376
|
+
exposure: z.ZodOptional<z.ZodObject<{
|
|
377
|
+
actionType: z.ZodOptional<z.ZodPreprocess<z.ZodEnum<{
|
|
378
|
+
PRICE_CHANGE: "PRICE_CHANGE";
|
|
379
|
+
INVENTORY_MUTATION: "INVENTORY_MUTATION";
|
|
380
|
+
ORDER_ACCEPTANCE: "ORDER_ACCEPTANCE";
|
|
381
|
+
FULFILLMENT_ACTION: "FULFILLMENT_ACTION";
|
|
382
|
+
PROMOTION_CHANGE: "PROMOTION_CHANGE";
|
|
383
|
+
REFUND_REQUEST: "REFUND_REQUEST";
|
|
384
|
+
RETURN_AUTHORIZATION: "RETURN_AUTHORIZATION";
|
|
385
|
+
PAYMENT_RELEASE: "PAYMENT_RELEASE";
|
|
386
|
+
VENDOR_BANK_CHANGE: "VENDOR_BANK_CHANGE";
|
|
387
|
+
EARLY_PAYMENT_DISCOUNT: "EARLY_PAYMENT_DISCOUNT";
|
|
388
|
+
CREDIT_HOLD_RELEASE: "CREDIT_HOLD_RELEASE";
|
|
389
|
+
}>, unknown>>;
|
|
390
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
391
|
+
amountUnit: z.ZodOptional<z.ZodPreprocess<z.ZodEnum<{
|
|
392
|
+
[x: string]: string;
|
|
393
|
+
}>, unknown>>;
|
|
394
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
395
|
+
subjects: z.ZodOptional<z.ZodObject<{
|
|
396
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
397
|
+
customer: z.ZodOptional<z.ZodString>;
|
|
398
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
399
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
400
|
+
}, z.core.$strict>>;
|
|
401
|
+
settledAmount: z.ZodOptional<z.ZodString>;
|
|
402
|
+
failurePolicy: z.ZodOptional<z.ZodPreprocess<z.ZodEnum<{
|
|
403
|
+
[x: string]: string;
|
|
404
|
+
}>, unknown>>;
|
|
405
|
+
}, z.core.$strict>>;
|
|
268
406
|
}, z.core.$strict>>>;
|
|
269
407
|
unmatched: z.ZodOptional<z.ZodPreprocess<z.ZodEnum<{
|
|
270
408
|
[x: string]: string;
|
|
@@ -276,7 +414,10 @@ export declare const GatewayFileSchema: z.ZodObject<{
|
|
|
276
414
|
privacy: z.ZodOptional<z.ZodPreprocess<z.ZodEnum<{
|
|
277
415
|
[x: string]: string;
|
|
278
416
|
}>, unknown>>;
|
|
417
|
+
digestKeyFile: z.ZodOptional<z.ZodString>;
|
|
279
418
|
refuseUnknownReads: z.ZodOptional<z.ZodBoolean>;
|
|
419
|
+
observeRefusals: z.ZodOptional<z.ZodBoolean>;
|
|
420
|
+
refusalWindowMs: z.ZodOptional<z.ZodNumber>;
|
|
280
421
|
}, z.core.$strict>>;
|
|
281
422
|
subject: z.ZodOptional<z.ZodObject<{
|
|
282
423
|
issuer: z.ZodString;
|
|
@@ -286,6 +427,18 @@ export declare const GatewayFileSchema: z.ZodObject<{
|
|
|
286
427
|
claim: z.ZodOptional<z.ZodString>;
|
|
287
428
|
sessionTtlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
288
429
|
}, z.core.$strict>>;
|
|
430
|
+
containment: z.ZodOptional<z.ZodObject<{
|
|
431
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
432
|
+
}, z.core.$strict>>;
|
|
433
|
+
acceptance: z.ZodOptional<z.ZodObject<{
|
|
434
|
+
key: z.ZodOptional<z.ZodObject<{
|
|
435
|
+
file: z.ZodString;
|
|
436
|
+
}, z.core.$strict>>;
|
|
437
|
+
operatorToken: z.ZodOptional<z.ZodObject<{
|
|
438
|
+
file: z.ZodString;
|
|
439
|
+
}, z.core.$strict>>;
|
|
440
|
+
kid: z.ZodOptional<z.ZodString>;
|
|
441
|
+
}, z.core.$strict>>;
|
|
289
442
|
actor: z.ZodOptional<z.ZodObject<{
|
|
290
443
|
id: z.ZodOptional<z.ZodString>;
|
|
291
444
|
type: z.ZodOptional<z.ZodString>;
|
|
@@ -294,6 +447,14 @@ export declare const GatewayFileSchema: z.ZodObject<{
|
|
|
294
447
|
id: z.ZodOptional<z.ZodString>;
|
|
295
448
|
}, z.core.$strict>>;
|
|
296
449
|
intentTtlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
450
|
+
shadow: z.ZodOptional<z.ZodObject<{
|
|
451
|
+
verdictWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
452
|
+
}, z.core.$strict>>;
|
|
453
|
+
holds: z.ZodOptional<z.ZodObject<{
|
|
454
|
+
dir: z.ZodString;
|
|
455
|
+
keyFile: z.ZodString;
|
|
456
|
+
ttlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
457
|
+
}, z.core.$strict>>;
|
|
297
458
|
presence: z.ZodOptional<z.ZodObject<{
|
|
298
459
|
managed: z.ZodOptional<z.ZodBoolean>;
|
|
299
460
|
approverId: z.ZodOptional<z.ZodString>;
|
|
@@ -308,6 +469,7 @@ export declare const GatewayFileSchema: z.ZodObject<{
|
|
|
308
469
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
309
470
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
310
471
|
journalDir: z.ZodOptional<z.ZodString>;
|
|
472
|
+
observer: z.ZodOptional<z.ZodString>;
|
|
311
473
|
}, z.core.$strict>>;
|
|
312
474
|
output: z.ZodOptional<z.ZodObject<{
|
|
313
475
|
format: z.ZodOptional<z.ZodPreprocess<z.ZodEnum<{
|
|
@@ -367,6 +529,8 @@ export declare function parseListen(value: string, setting: string): {
|
|
|
367
529
|
*/
|
|
368
530
|
export declare class GatewayConfigLoader {
|
|
369
531
|
static load(input: GatewayConfigInput): GatewayConfig;
|
|
532
|
+
/** Each declared containment target as `name=host:port`, refused by setting when it is not one. */
|
|
533
|
+
private static containmentTargets;
|
|
370
534
|
/**
|
|
371
535
|
* The subject section, when there is one: an issuer, an audience and a key
|
|
372
536
|
* set, on disk or at an address the guarded egress fetches. The address is
|
|
@@ -404,6 +568,19 @@ export declare class GatewayConfigLoader {
|
|
|
404
568
|
* dropping it, and never one whose value reaches the authority.
|
|
405
569
|
*/
|
|
406
570
|
private static upstreamCredential;
|
|
571
|
+
/**
|
|
572
|
+
* An acceptance run's key and operator token, from the environment or the
|
|
573
|
+
* file: both or neither, each an absolute path. One without the other is
|
|
574
|
+
* refused, because a key with no way to ask for a run signs nothing, and a
|
|
575
|
+
* token with nothing to sign opens runs that cannot close.
|
|
576
|
+
*/
|
|
577
|
+
private static acceptance;
|
|
578
|
+
/**
|
|
579
|
+
* The file holding the gateway's own token, from the environment or the
|
|
580
|
+
* file: an absolute path, or none. The header it travels in is fixed, so
|
|
581
|
+
* nothing about it can collide with what the authority reads.
|
|
582
|
+
*/
|
|
583
|
+
private static gatewayToken;
|
|
407
584
|
/** Every control hosted enforcement needs, refused by the first one missing, by name. */
|
|
408
585
|
private static requireHostedEnforcement;
|
|
409
586
|
/** Hosted, the tenant is the only caller the gateway admits, from day one. */
|
|
@@ -412,6 +589,14 @@ export declare class GatewayConfigLoader {
|
|
|
412
589
|
private static tenantKeys;
|
|
413
590
|
private static upstreamUrl;
|
|
414
591
|
private static authorityUrl;
|
|
592
|
+
/**
|
|
593
|
+
* Where held requests live. A shared directory is for enforcement only
|
|
594
|
+
* (shadow never holds), named by absolute paths, and the only place a hold
|
|
595
|
+
* may outlive the authority's short intent window: that longer window is
|
|
596
|
+
* for a managed escalation whose approvers the policy names, which is the
|
|
597
|
+
* one the authority lets live up to seven days.
|
|
598
|
+
*/
|
|
599
|
+
private static holds;
|
|
415
600
|
/**
|
|
416
601
|
* How an `ESCALATE` is resolved, in the executor's own shape. Managed is
|
|
417
602
|
* the gateway's default when Presence is configured at all: Decionis
|
|
@@ -419,6 +604,7 @@ export declare class GatewayConfigLoader {
|
|
|
419
604
|
* Direct is available for a deployment that already holds one.
|
|
420
605
|
*/
|
|
421
606
|
private static escalation;
|
|
607
|
+
private static verdictWait;
|
|
422
608
|
private static level;
|
|
423
609
|
}
|
|
424
610
|
/** The file `agentsafe init` writes: the smallest working configuration, commented. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GatewayConfig.d.ts","sourceRoot":"","sources":["../../src/gateway/GatewayConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,KAAK,gBAAgB,EAEtB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"GatewayConfig.d.ts","sourceRoot":"","sources":["../../src/gateway/GatewayConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,KAAK,gBAAgB,EAEtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEzF,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,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