@nomosprotocol/sdk 2.6.0 → 2.7.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 +35 -2
- package/dist/index.cjs +412 -11
- package/dist/index.d.cts +87 -2
- package/dist/index.d.ts +87 -2
- package/dist/index.js +410 -11
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CurrencyPolicy, ActVerdict, KeyCertificate as KeyCertificate$2, RevocationStatement, RevocationList, ScopeTerms } from '@nomosprotocol/verify';
|
|
1
|
+
import { RegistrarRecord, CurrencyPolicy, ActVerdict, KeyCertificate as KeyCertificate$2, RevocationStatement, RevocationList, ScopeTerms } from '@nomosprotocol/verify';
|
|
2
2
|
export { bindingDigest, verifyAct, verifyArtifact, verifySeal } from '@nomosprotocol/verify';
|
|
3
3
|
|
|
4
4
|
interface VerifyDecisionParams {
|
|
@@ -1015,6 +1015,64 @@ declare function suggestToolBindings(artifact: string, tools: ToolDescription[],
|
|
|
1015
1015
|
/** A plain report of a suggestion, for the person who has to check it. */
|
|
1016
1016
|
declare function describeSuggestion(s: BindingSuggestion): string;
|
|
1017
1017
|
|
|
1018
|
+
/**
|
|
1019
|
+
* Registrar logs for accept({ resolution }) (NOMOS-SPEC-014, Draft): which laws apply where, as a
|
|
1020
|
+
* registrar you pin has signed them.
|
|
1021
|
+
*
|
|
1022
|
+
* registrarSource() fetches a registrar's public log and its signed head, and checks them with
|
|
1023
|
+
* @nomosprotocol/verify before anything is used: every entry's hash and the chain from 64 zeros; the
|
|
1024
|
+
* head's signature under the key YOU pin (never a key fetched from the same place as the log); the
|
|
1025
|
+
* head's age against your bound; and that today's log extends the head it saw last time, so history
|
|
1026
|
+
* can only be added to. It then folds the log into the record the resolver reads.
|
|
1027
|
+
*
|
|
1028
|
+
* A registrar that cannot be read, or whose copy fails a check, throws RegistrarUnavailable, and
|
|
1029
|
+
* accept() refuses to commit with 503 and Retry-After. An unreadable registrar is never read as
|
|
1030
|
+
* "no law applies" (SPEC-014 C8).
|
|
1031
|
+
*/
|
|
1032
|
+
|
|
1033
|
+
declare class RegistrarUnavailable extends Error {
|
|
1034
|
+
readonly retryAfterSeconds: number;
|
|
1035
|
+
readonly registrar: string;
|
|
1036
|
+
constructor(message: string, retryAfterSeconds: number, registrar: string);
|
|
1037
|
+
}
|
|
1038
|
+
interface RegistrarSourceOptions {
|
|
1039
|
+
/** The id you pin this registrar under; resolution names it in its answers. */
|
|
1040
|
+
id: string;
|
|
1041
|
+
/** Where the registrar serves its log: the origin of `/.well-known/nomos-exchange-log` (the NOMOS
|
|
1042
|
+
* platform registrar is https://www.nomosprotocol.com). */
|
|
1043
|
+
url: string;
|
|
1044
|
+
/** The registrar's signing key, which you pin (PEM). Heads signed by any other key are refused. */
|
|
1045
|
+
publicKeyPem: string;
|
|
1046
|
+
/** The scope the registrar is certified over (SPEC-014 C6). Default: everything it claims. */
|
|
1047
|
+
certifiedScope?: string;
|
|
1048
|
+
/** How old a signed head may be before the copy is stale (SPEC-014 0.2.0). Default 600. */
|
|
1049
|
+
maxHeadAgeSeconds?: number;
|
|
1050
|
+
/** How long to reuse a verified log before fetching again. Default 60. */
|
|
1051
|
+
refreshSeconds?: number;
|
|
1052
|
+
/** The head you kept from an earlier run (for example the last receipt's `resolution.heads`). The
|
|
1053
|
+
* first read must extend it. Without it, the history check starts from this process's first
|
|
1054
|
+
* read: create each source once and reuse it, since a new source forgets the head it saw. */
|
|
1055
|
+
initialHead?: {
|
|
1056
|
+
size: number;
|
|
1057
|
+
hash: string;
|
|
1058
|
+
} | null;
|
|
1059
|
+
fetch?: typeof fetch;
|
|
1060
|
+
now?: () => Date;
|
|
1061
|
+
}
|
|
1062
|
+
interface RegistrarView {
|
|
1063
|
+
record: RegistrarRecord;
|
|
1064
|
+
head: {
|
|
1065
|
+
size: number;
|
|
1066
|
+
hash: string;
|
|
1067
|
+
at: string;
|
|
1068
|
+
kid: string;
|
|
1069
|
+
};
|
|
1070
|
+
}
|
|
1071
|
+
type RegistrarSource = (() => Promise<RegistrarView>) & {
|
|
1072
|
+
id: string;
|
|
1073
|
+
};
|
|
1074
|
+
declare function registrarSource(o: RegistrarSourceOptions): RegistrarSource;
|
|
1075
|
+
|
|
1018
1076
|
type SignatureSuite = 'Ed25519' | 'ES256';
|
|
1019
1077
|
interface Signer {
|
|
1020
1078
|
/** NOMOS-SPEC-001 §8.4 key id of the public key. */
|
|
@@ -1199,6 +1257,29 @@ interface AcceptedAuthority {
|
|
|
1199
1257
|
currencyPolicy: CurrencyPolicy;
|
|
1200
1258
|
/** Your record of the version in force: the seal hash of the version you accept. */
|
|
1201
1259
|
inForceSealHash?: string;
|
|
1260
|
+
/** The name your pinned registrars list this authority under (its Exchange name), when it is a
|
|
1261
|
+
* law they list. Resolution counts an Act under this authority as carrying that law. */
|
|
1262
|
+
registrarName?: string;
|
|
1263
|
+
}
|
|
1264
|
+
/** accept({ resolution }): before committing, work out which laws govern this act here, now, from
|
|
1265
|
+
* registrars you pin, and commit only if the Act carries every one (NOMOS-SPEC-014). */
|
|
1266
|
+
interface AcceptResolution {
|
|
1267
|
+
/** The registrars whose law you undertake to honour (registrarSource()). */
|
|
1268
|
+
registrars: RegistrarSource[];
|
|
1269
|
+
/** The context that decides which law applies (jurisdiction, established_in, subjects_in,
|
|
1270
|
+
* output_used_in, ...), from YOUR knowledge and your own state. It is never read from the Act:
|
|
1271
|
+
* a carrier that stated its own context would choose the law again. A fact you leave out is
|
|
1272
|
+
* unknown, so a law that turns on it holds the Act (INCOMPLETE), never permits it. */
|
|
1273
|
+
context: (act: any, localFacts: Record<string, unknown>) => Record<string, unknown> | Promise<Record<string, unknown>>;
|
|
1274
|
+
}
|
|
1275
|
+
/** What resolution decided, kept on the receipt so an auditor can replay it against the logs. */
|
|
1276
|
+
interface ReceiptResolution {
|
|
1277
|
+
status: 'RESOLVED' | 'INCOMPLETE' | 'CONFLICT';
|
|
1278
|
+
context: Record<string, unknown>;
|
|
1279
|
+
applicable: string[];
|
|
1280
|
+
/** The log head of each registrar consulted (id → head hash). */
|
|
1281
|
+
heads: Record<string, string>;
|
|
1282
|
+
laws_not_presented?: string[];
|
|
1202
1283
|
}
|
|
1203
1284
|
interface Receipt {
|
|
1204
1285
|
act_id: string;
|
|
@@ -1212,6 +1293,7 @@ interface Receipt {
|
|
|
1212
1293
|
in_force_source?: string;
|
|
1213
1294
|
currency_policy: CurrencyPolicy;
|
|
1214
1295
|
consent_origins?: string[];
|
|
1296
|
+
resolution?: ReceiptResolution;
|
|
1215
1297
|
}
|
|
1216
1298
|
/** One atomic operation (SPEC-008 §8). `tx` is passed to `commit` and `localFacts` so your own
|
|
1217
1299
|
* writes and reads share it. */
|
|
@@ -1267,6 +1349,9 @@ interface AcceptOptions<Tx = unknown> {
|
|
|
1267
1349
|
certs?: Set<string>;
|
|
1268
1350
|
artifacts?: Set<string>;
|
|
1269
1351
|
};
|
|
1352
|
+
/** Resolve which laws govern the act before committing (NOMOS-SPEC-014, Draft). Without it,
|
|
1353
|
+
* accept() verifies the one authority the Act carries, as before. */
|
|
1354
|
+
resolution?: AcceptResolution;
|
|
1270
1355
|
/** `shadow`: verify and record every verdict, never commit. For pilots. */
|
|
1271
1356
|
mode?: 'enforce' | 'shadow';
|
|
1272
1357
|
/** Every verdict, committed or not (SPEC-008 §9: a receipt for every verification). */
|
|
@@ -1750,4 +1835,4 @@ declare function approver(o: ApproverOptions): {
|
|
|
1750
1835
|
pending: Map<string, Pending>;
|
|
1751
1836
|
};
|
|
1752
1837
|
|
|
1753
|
-
export { ACT_MEDIA_TYPE, type AcceptOptions, type AcceptStore, type AcceptTransaction, type AcceptedAuthority, type KeyCertificate as ActKeyCertificate, type ActOptions, type ActResult, type ActStatus, type Action, type Answer, type ApproverOptions, type Artifact, type ArtifactList, type ArtifactSchema, type ArtifactSchemaField, type AttestationInfo, type AwaitApprovalOptions, type BindingProposal, type BindingSuggestion, type BuildActOptions, type CanApproval, type CanCaller, type CanOptions, type CanParams, type CanResolutionMember, type CanResolutionResult, type CanResult, type CanVerdict, type CertificateRegistry, type ChainVerdictDecision, type ConservedStateInfo, type ConservedStateReceipt, type Contradiction, type DetectContradictionsParams, type DetectContradictionsResult, type EnrolmentClaims, type FactBinding, type GenerateGovernanceParams, type GenerateGovernanceResult, type IssueOptions, type IssuerDocument, type IssuerOptions, type KeyCertificate$1 as KeyCertificate, type ListArtifactsParams, MAX_PRESENTED, Nomos, NomosAPIError, NomosActError, NomosAuthenticationError, NomosAuthorizationError, type NomosConfig, NomosDiscoveryError, NomosError, type NomosErrorCode, NomosIssuerNotTrustedError, NomosNetworkError, NomosNotFoundError, NomosPaymentRequiredError, NomosRateLimitError, type NomosRawResponse, NomosValidationError, type NomosWebhookEvent, type NomosWebhookEventType, NomosWebhookSignatureError, type PasskeyApproverOptions, type PasskeyCredential, type PasskeyStore, type PendingApproval, type PgClient, type PgPool, type PolicyField, type PostgresStoreOptions, type Receipt, RegistryError, type RegistryStore, type RelyingPartyDocument, type RequestOptions, type Reservation, type ReserveByActParams, type ReserveByQueryParams, type ReserveParams, type ResolvedAuthorityRef, type RevocationSourceOptions, RevocationUnavailable, type SignatureSuite, type Signer, type ToolBindings, type ToolDescription, type UnresolvedFact, type Verdict, type VerifyChainOptions, type VerifyChainParams, type VerifyChainResult, type VerifyDecisionParams, type VerifyDecisionResult, WELL_KNOWN, type WithLastResponse, type WitnessDocument, type WitnessOptions, accept, act, applyToolBindings, approver, buildAct, can, certificateRegistry, certify, describeSuggestion, fetchDocument, generateSigner, issuer, kidOf, localSigner, memoryPasskeyStore, memoryRegistryStore, memoryStore, nomos, originOf, parseToolBindings, passkeyApprover, postgresPasskeyStore, postgresRegistryStore, postgresStore, presentedCertificates, readAttestation, reliedKids, revocationListCertificates, revocationSource, seal, seededSigner, signConsent, signEnrolmentToken, signInForce, signRevocation, signRevocationList, signTestimony, statusFor, suggestToolBindings, verifyChain, verifyEnrolmentToken, witness };
|
|
1838
|
+
export { ACT_MEDIA_TYPE, type AcceptOptions, type AcceptResolution, type AcceptStore, type AcceptTransaction, type AcceptedAuthority, type KeyCertificate as ActKeyCertificate, type ActOptions, type ActResult, type ActStatus, type Action, type Answer, type ApproverOptions, type Artifact, type ArtifactList, type ArtifactSchema, type ArtifactSchemaField, type AttestationInfo, type AwaitApprovalOptions, type BindingProposal, type BindingSuggestion, type BuildActOptions, type CanApproval, type CanCaller, type CanOptions, type CanParams, type CanResolutionMember, type CanResolutionResult, type CanResult, type CanVerdict, type CertificateRegistry, type ChainVerdictDecision, type ConservedStateInfo, type ConservedStateReceipt, type Contradiction, type DetectContradictionsParams, type DetectContradictionsResult, type EnrolmentClaims, type FactBinding, type GenerateGovernanceParams, type GenerateGovernanceResult, type IssueOptions, type IssuerDocument, type IssuerOptions, type KeyCertificate$1 as KeyCertificate, type ListArtifactsParams, MAX_PRESENTED, Nomos, NomosAPIError, NomosActError, NomosAuthenticationError, NomosAuthorizationError, type NomosConfig, NomosDiscoveryError, NomosError, type NomosErrorCode, NomosIssuerNotTrustedError, NomosNetworkError, NomosNotFoundError, NomosPaymentRequiredError, NomosRateLimitError, type NomosRawResponse, NomosValidationError, type NomosWebhookEvent, type NomosWebhookEventType, NomosWebhookSignatureError, type PasskeyApproverOptions, type PasskeyCredential, type PasskeyStore, type PendingApproval, type PgClient, type PgPool, type PolicyField, type PostgresStoreOptions, type Receipt, type ReceiptResolution, type RegistrarSource, type RegistrarSourceOptions, RegistrarUnavailable, type RegistrarView, RegistryError, type RegistryStore, type RelyingPartyDocument, type RequestOptions, type Reservation, type ReserveByActParams, type ReserveByQueryParams, type ReserveParams, type ResolvedAuthorityRef, type RevocationSourceOptions, RevocationUnavailable, type SignatureSuite, type Signer, type ToolBindings, type ToolDescription, type UnresolvedFact, type Verdict, type VerifyChainOptions, type VerifyChainParams, type VerifyChainResult, type VerifyDecisionParams, type VerifyDecisionResult, WELL_KNOWN, type WithLastResponse, type WitnessDocument, type WitnessOptions, accept, act, applyToolBindings, approver, buildAct, can, certificateRegistry, certify, describeSuggestion, fetchDocument, generateSigner, issuer, kidOf, localSigner, memoryPasskeyStore, memoryRegistryStore, memoryStore, nomos, originOf, parseToolBindings, passkeyApprover, postgresPasskeyStore, postgresRegistryStore, postgresStore, presentedCertificates, readAttestation, registrarSource, reliedKids, revocationListCertificates, revocationSource, seal, seededSigner, signConsent, signEnrolmentToken, signInForce, signRevocation, signRevocationList, signTestimony, statusFor, suggestToolBindings, verifyChain, verifyEnrolmentToken, witness };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CurrencyPolicy, ActVerdict, KeyCertificate as KeyCertificate$2, RevocationStatement, RevocationList, ScopeTerms } from '@nomosprotocol/verify';
|
|
1
|
+
import { RegistrarRecord, CurrencyPolicy, ActVerdict, KeyCertificate as KeyCertificate$2, RevocationStatement, RevocationList, ScopeTerms } from '@nomosprotocol/verify';
|
|
2
2
|
export { bindingDigest, verifyAct, verifyArtifact, verifySeal } from '@nomosprotocol/verify';
|
|
3
3
|
|
|
4
4
|
interface VerifyDecisionParams {
|
|
@@ -1015,6 +1015,64 @@ declare function suggestToolBindings(artifact: string, tools: ToolDescription[],
|
|
|
1015
1015
|
/** A plain report of a suggestion, for the person who has to check it. */
|
|
1016
1016
|
declare function describeSuggestion(s: BindingSuggestion): string;
|
|
1017
1017
|
|
|
1018
|
+
/**
|
|
1019
|
+
* Registrar logs for accept({ resolution }) (NOMOS-SPEC-014, Draft): which laws apply where, as a
|
|
1020
|
+
* registrar you pin has signed them.
|
|
1021
|
+
*
|
|
1022
|
+
* registrarSource() fetches a registrar's public log and its signed head, and checks them with
|
|
1023
|
+
* @nomosprotocol/verify before anything is used: every entry's hash and the chain from 64 zeros; the
|
|
1024
|
+
* head's signature under the key YOU pin (never a key fetched from the same place as the log); the
|
|
1025
|
+
* head's age against your bound; and that today's log extends the head it saw last time, so history
|
|
1026
|
+
* can only be added to. It then folds the log into the record the resolver reads.
|
|
1027
|
+
*
|
|
1028
|
+
* A registrar that cannot be read, or whose copy fails a check, throws RegistrarUnavailable, and
|
|
1029
|
+
* accept() refuses to commit with 503 and Retry-After. An unreadable registrar is never read as
|
|
1030
|
+
* "no law applies" (SPEC-014 C8).
|
|
1031
|
+
*/
|
|
1032
|
+
|
|
1033
|
+
declare class RegistrarUnavailable extends Error {
|
|
1034
|
+
readonly retryAfterSeconds: number;
|
|
1035
|
+
readonly registrar: string;
|
|
1036
|
+
constructor(message: string, retryAfterSeconds: number, registrar: string);
|
|
1037
|
+
}
|
|
1038
|
+
interface RegistrarSourceOptions {
|
|
1039
|
+
/** The id you pin this registrar under; resolution names it in its answers. */
|
|
1040
|
+
id: string;
|
|
1041
|
+
/** Where the registrar serves its log: the origin of `/.well-known/nomos-exchange-log` (the NOMOS
|
|
1042
|
+
* platform registrar is https://www.nomosprotocol.com). */
|
|
1043
|
+
url: string;
|
|
1044
|
+
/** The registrar's signing key, which you pin (PEM). Heads signed by any other key are refused. */
|
|
1045
|
+
publicKeyPem: string;
|
|
1046
|
+
/** The scope the registrar is certified over (SPEC-014 C6). Default: everything it claims. */
|
|
1047
|
+
certifiedScope?: string;
|
|
1048
|
+
/** How old a signed head may be before the copy is stale (SPEC-014 0.2.0). Default 600. */
|
|
1049
|
+
maxHeadAgeSeconds?: number;
|
|
1050
|
+
/** How long to reuse a verified log before fetching again. Default 60. */
|
|
1051
|
+
refreshSeconds?: number;
|
|
1052
|
+
/** The head you kept from an earlier run (for example the last receipt's `resolution.heads`). The
|
|
1053
|
+
* first read must extend it. Without it, the history check starts from this process's first
|
|
1054
|
+
* read: create each source once and reuse it, since a new source forgets the head it saw. */
|
|
1055
|
+
initialHead?: {
|
|
1056
|
+
size: number;
|
|
1057
|
+
hash: string;
|
|
1058
|
+
} | null;
|
|
1059
|
+
fetch?: typeof fetch;
|
|
1060
|
+
now?: () => Date;
|
|
1061
|
+
}
|
|
1062
|
+
interface RegistrarView {
|
|
1063
|
+
record: RegistrarRecord;
|
|
1064
|
+
head: {
|
|
1065
|
+
size: number;
|
|
1066
|
+
hash: string;
|
|
1067
|
+
at: string;
|
|
1068
|
+
kid: string;
|
|
1069
|
+
};
|
|
1070
|
+
}
|
|
1071
|
+
type RegistrarSource = (() => Promise<RegistrarView>) & {
|
|
1072
|
+
id: string;
|
|
1073
|
+
};
|
|
1074
|
+
declare function registrarSource(o: RegistrarSourceOptions): RegistrarSource;
|
|
1075
|
+
|
|
1018
1076
|
type SignatureSuite = 'Ed25519' | 'ES256';
|
|
1019
1077
|
interface Signer {
|
|
1020
1078
|
/** NOMOS-SPEC-001 §8.4 key id of the public key. */
|
|
@@ -1199,6 +1257,29 @@ interface AcceptedAuthority {
|
|
|
1199
1257
|
currencyPolicy: CurrencyPolicy;
|
|
1200
1258
|
/** Your record of the version in force: the seal hash of the version you accept. */
|
|
1201
1259
|
inForceSealHash?: string;
|
|
1260
|
+
/** The name your pinned registrars list this authority under (its Exchange name), when it is a
|
|
1261
|
+
* law they list. Resolution counts an Act under this authority as carrying that law. */
|
|
1262
|
+
registrarName?: string;
|
|
1263
|
+
}
|
|
1264
|
+
/** accept({ resolution }): before committing, work out which laws govern this act here, now, from
|
|
1265
|
+
* registrars you pin, and commit only if the Act carries every one (NOMOS-SPEC-014). */
|
|
1266
|
+
interface AcceptResolution {
|
|
1267
|
+
/** The registrars whose law you undertake to honour (registrarSource()). */
|
|
1268
|
+
registrars: RegistrarSource[];
|
|
1269
|
+
/** The context that decides which law applies (jurisdiction, established_in, subjects_in,
|
|
1270
|
+
* output_used_in, ...), from YOUR knowledge and your own state. It is never read from the Act:
|
|
1271
|
+
* a carrier that stated its own context would choose the law again. A fact you leave out is
|
|
1272
|
+
* unknown, so a law that turns on it holds the Act (INCOMPLETE), never permits it. */
|
|
1273
|
+
context: (act: any, localFacts: Record<string, unknown>) => Record<string, unknown> | Promise<Record<string, unknown>>;
|
|
1274
|
+
}
|
|
1275
|
+
/** What resolution decided, kept on the receipt so an auditor can replay it against the logs. */
|
|
1276
|
+
interface ReceiptResolution {
|
|
1277
|
+
status: 'RESOLVED' | 'INCOMPLETE' | 'CONFLICT';
|
|
1278
|
+
context: Record<string, unknown>;
|
|
1279
|
+
applicable: string[];
|
|
1280
|
+
/** The log head of each registrar consulted (id → head hash). */
|
|
1281
|
+
heads: Record<string, string>;
|
|
1282
|
+
laws_not_presented?: string[];
|
|
1202
1283
|
}
|
|
1203
1284
|
interface Receipt {
|
|
1204
1285
|
act_id: string;
|
|
@@ -1212,6 +1293,7 @@ interface Receipt {
|
|
|
1212
1293
|
in_force_source?: string;
|
|
1213
1294
|
currency_policy: CurrencyPolicy;
|
|
1214
1295
|
consent_origins?: string[];
|
|
1296
|
+
resolution?: ReceiptResolution;
|
|
1215
1297
|
}
|
|
1216
1298
|
/** One atomic operation (SPEC-008 §8). `tx` is passed to `commit` and `localFacts` so your own
|
|
1217
1299
|
* writes and reads share it. */
|
|
@@ -1267,6 +1349,9 @@ interface AcceptOptions<Tx = unknown> {
|
|
|
1267
1349
|
certs?: Set<string>;
|
|
1268
1350
|
artifacts?: Set<string>;
|
|
1269
1351
|
};
|
|
1352
|
+
/** Resolve which laws govern the act before committing (NOMOS-SPEC-014, Draft). Without it,
|
|
1353
|
+
* accept() verifies the one authority the Act carries, as before. */
|
|
1354
|
+
resolution?: AcceptResolution;
|
|
1270
1355
|
/** `shadow`: verify and record every verdict, never commit. For pilots. */
|
|
1271
1356
|
mode?: 'enforce' | 'shadow';
|
|
1272
1357
|
/** Every verdict, committed or not (SPEC-008 §9: a receipt for every verification). */
|
|
@@ -1750,4 +1835,4 @@ declare function approver(o: ApproverOptions): {
|
|
|
1750
1835
|
pending: Map<string, Pending>;
|
|
1751
1836
|
};
|
|
1752
1837
|
|
|
1753
|
-
export { ACT_MEDIA_TYPE, type AcceptOptions, type AcceptStore, type AcceptTransaction, type AcceptedAuthority, type KeyCertificate as ActKeyCertificate, type ActOptions, type ActResult, type ActStatus, type Action, type Answer, type ApproverOptions, type Artifact, type ArtifactList, type ArtifactSchema, type ArtifactSchemaField, type AttestationInfo, type AwaitApprovalOptions, type BindingProposal, type BindingSuggestion, type BuildActOptions, type CanApproval, type CanCaller, type CanOptions, type CanParams, type CanResolutionMember, type CanResolutionResult, type CanResult, type CanVerdict, type CertificateRegistry, type ChainVerdictDecision, type ConservedStateInfo, type ConservedStateReceipt, type Contradiction, type DetectContradictionsParams, type DetectContradictionsResult, type EnrolmentClaims, type FactBinding, type GenerateGovernanceParams, type GenerateGovernanceResult, type IssueOptions, type IssuerDocument, type IssuerOptions, type KeyCertificate$1 as KeyCertificate, type ListArtifactsParams, MAX_PRESENTED, Nomos, NomosAPIError, NomosActError, NomosAuthenticationError, NomosAuthorizationError, type NomosConfig, NomosDiscoveryError, NomosError, type NomosErrorCode, NomosIssuerNotTrustedError, NomosNetworkError, NomosNotFoundError, NomosPaymentRequiredError, NomosRateLimitError, type NomosRawResponse, NomosValidationError, type NomosWebhookEvent, type NomosWebhookEventType, NomosWebhookSignatureError, type PasskeyApproverOptions, type PasskeyCredential, type PasskeyStore, type PendingApproval, type PgClient, type PgPool, type PolicyField, type PostgresStoreOptions, type Receipt, RegistryError, type RegistryStore, type RelyingPartyDocument, type RequestOptions, type Reservation, type ReserveByActParams, type ReserveByQueryParams, type ReserveParams, type ResolvedAuthorityRef, type RevocationSourceOptions, RevocationUnavailable, type SignatureSuite, type Signer, type ToolBindings, type ToolDescription, type UnresolvedFact, type Verdict, type VerifyChainOptions, type VerifyChainParams, type VerifyChainResult, type VerifyDecisionParams, type VerifyDecisionResult, WELL_KNOWN, type WithLastResponse, type WitnessDocument, type WitnessOptions, accept, act, applyToolBindings, approver, buildAct, can, certificateRegistry, certify, describeSuggestion, fetchDocument, generateSigner, issuer, kidOf, localSigner, memoryPasskeyStore, memoryRegistryStore, memoryStore, nomos, originOf, parseToolBindings, passkeyApprover, postgresPasskeyStore, postgresRegistryStore, postgresStore, presentedCertificates, readAttestation, reliedKids, revocationListCertificates, revocationSource, seal, seededSigner, signConsent, signEnrolmentToken, signInForce, signRevocation, signRevocationList, signTestimony, statusFor, suggestToolBindings, verifyChain, verifyEnrolmentToken, witness };
|
|
1838
|
+
export { ACT_MEDIA_TYPE, type AcceptOptions, type AcceptResolution, type AcceptStore, type AcceptTransaction, type AcceptedAuthority, type KeyCertificate as ActKeyCertificate, type ActOptions, type ActResult, type ActStatus, type Action, type Answer, type ApproverOptions, type Artifact, type ArtifactList, type ArtifactSchema, type ArtifactSchemaField, type AttestationInfo, type AwaitApprovalOptions, type BindingProposal, type BindingSuggestion, type BuildActOptions, type CanApproval, type CanCaller, type CanOptions, type CanParams, type CanResolutionMember, type CanResolutionResult, type CanResult, type CanVerdict, type CertificateRegistry, type ChainVerdictDecision, type ConservedStateInfo, type ConservedStateReceipt, type Contradiction, type DetectContradictionsParams, type DetectContradictionsResult, type EnrolmentClaims, type FactBinding, type GenerateGovernanceParams, type GenerateGovernanceResult, type IssueOptions, type IssuerDocument, type IssuerOptions, type KeyCertificate$1 as KeyCertificate, type ListArtifactsParams, MAX_PRESENTED, Nomos, NomosAPIError, NomosActError, NomosAuthenticationError, NomosAuthorizationError, type NomosConfig, NomosDiscoveryError, NomosError, type NomosErrorCode, NomosIssuerNotTrustedError, NomosNetworkError, NomosNotFoundError, NomosPaymentRequiredError, NomosRateLimitError, type NomosRawResponse, NomosValidationError, type NomosWebhookEvent, type NomosWebhookEventType, NomosWebhookSignatureError, type PasskeyApproverOptions, type PasskeyCredential, type PasskeyStore, type PendingApproval, type PgClient, type PgPool, type PolicyField, type PostgresStoreOptions, type Receipt, type ReceiptResolution, type RegistrarSource, type RegistrarSourceOptions, RegistrarUnavailable, type RegistrarView, RegistryError, type RegistryStore, type RelyingPartyDocument, type RequestOptions, type Reservation, type ReserveByActParams, type ReserveByQueryParams, type ReserveParams, type ResolvedAuthorityRef, type RevocationSourceOptions, RevocationUnavailable, type SignatureSuite, type Signer, type ToolBindings, type ToolDescription, type UnresolvedFact, type Verdict, type VerifyChainOptions, type VerifyChainParams, type VerifyChainResult, type VerifyDecisionParams, type VerifyDecisionResult, WELL_KNOWN, type WithLastResponse, type WitnessDocument, type WitnessOptions, accept, act, applyToolBindings, approver, buildAct, can, certificateRegistry, certify, describeSuggestion, fetchDocument, generateSigner, issuer, kidOf, localSigner, memoryPasskeyStore, memoryRegistryStore, memoryStore, nomos, originOf, parseToolBindings, passkeyApprover, postgresPasskeyStore, postgresRegistryStore, postgresStore, presentedCertificates, readAttestation, registrarSource, reliedKids, revocationListCertificates, revocationSource, seal, seededSigner, signConsent, signEnrolmentToken, signInForce, signRevocation, signRevocationList, signTestimony, statusFor, suggestToolBindings, verifyChain, verifyEnrolmentToken, witness };
|