@svsprotocol/solana 0.1.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/LICENSE +158 -0
- package/README.md +365 -0
- package/dist/action-production-proof-evidence.js +553 -0
- package/dist/adapter-catalog.d.ts +29 -0
- package/dist/adapter-catalog.js +146 -0
- package/dist/adapter-core.d.ts +48 -0
- package/dist/adapter-core.js +249 -0
- package/dist/approval-signature.js +197 -0
- package/dist/base58.js +69 -0
- package/dist/bot-auth.js +50 -0
- package/dist/bot-certification-evidence.js +342 -0
- package/dist/bot-first-action-runbook.js +299 -0
- package/dist/bot-integration-contract.js +41 -0
- package/dist/certified-submit-status.js +176 -0
- package/dist/common.d.ts +1135 -0
- package/dist/elizaos.d.ts +43 -0
- package/dist/elizaos.js +227 -0
- package/dist/goat.d.ts +47 -0
- package/dist/goat.js +261 -0
- package/dist/index.d.ts +330 -0
- package/dist/index.js +128 -0
- package/dist/protocol.d.ts +205 -0
- package/dist/protocol.js +900 -0
- package/dist/receipt.js +51 -0
- package/dist/signed-proof-read-protection.js +495 -0
- package/dist/solana-agent-kit.d.ts +35 -0
- package/dist/solana-agent-kit.js +151 -0
- package/dist/svs-client.js +1232 -0
- package/dist/vercel-ai.d.ts +47 -0
- package/dist/vercel-ai.js +266 -0
- package/dist/verified-agent-adoption-kit.js +471 -0
- package/dist/verified-agent-profile.js +329 -0
- package/dist/verified-agent-registry-consumer.js +421 -0
- package/dist/verified-agent-registry.d.ts +36 -0
- package/dist/verified-agent-registry.js +826 -0
- package/dist/verified-agent-trust-score.js +335 -0
- package/dist/webhooks.js +834 -0
- package/package.json +72 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
JsonObject,
|
|
3
|
+
JsonValue,
|
|
4
|
+
SvsActionProductionProofResponse,
|
|
5
|
+
SvsActionProductionProofWaitResult,
|
|
6
|
+
SvsActionRecordResponse,
|
|
7
|
+
SvsBotCredentialReadiness,
|
|
8
|
+
SvsBotCredentialReadinessOptions,
|
|
9
|
+
SvsBotCredentialRotationReadinessCheck,
|
|
10
|
+
SvsBotCredentialRotationReceipt,
|
|
11
|
+
SvsBotFirstActionRunbook,
|
|
12
|
+
SvsBotFirstActionRunbookStep,
|
|
13
|
+
SvsBotIntegrationCertificationStatus,
|
|
14
|
+
SvsBotIntegrationContract,
|
|
15
|
+
SvsBotRequestSignatureOptions,
|
|
16
|
+
SvsBotRequestSignatureVerificationOptions,
|
|
17
|
+
SvsBotReadinessResult,
|
|
18
|
+
SvsBotReadinessOptions,
|
|
19
|
+
SvsCertifiedActionProofWaitOptions,
|
|
20
|
+
SvsCertifiedActionPayload,
|
|
21
|
+
SvsCertifiedActionProductionProofWait,
|
|
22
|
+
SvsCertifiedActionSubmitOptions,
|
|
23
|
+
SvsCertifiedActionSubmission,
|
|
24
|
+
SvsCertifiedSubmitOperatorStatus,
|
|
25
|
+
SvsCheck,
|
|
26
|
+
SvsClientLike,
|
|
27
|
+
SvsClientCompatibilityReport,
|
|
28
|
+
SvsClientOptions,
|
|
29
|
+
SvsCurrentApprovalDomainRequirementResult,
|
|
30
|
+
SvsProductionCertificationOptions,
|
|
31
|
+
SvsProductionCertificationCheck,
|
|
32
|
+
SvsProductionProofWaitOptions,
|
|
33
|
+
SvsReceiptExport,
|
|
34
|
+
SvsReceiptVerificationResult,
|
|
35
|
+
SvsActionProductionProofOptions,
|
|
36
|
+
SvsRequestOptions,
|
|
37
|
+
SvsSubmitActionOptions,
|
|
38
|
+
SvsSignedBotRequest,
|
|
39
|
+
SvsSignedBotRequestOptions,
|
|
40
|
+
SvsBotSelfTestResult,
|
|
41
|
+
SvsVerifiedAgentProfile,
|
|
42
|
+
SvsVerifiedAgentProfileOptions,
|
|
43
|
+
SvsVerifiedAgentProfileVerificationOptions,
|
|
44
|
+
SvsVerifiedAgentProfileVerification,
|
|
45
|
+
SvsVerifiedAgentTrustScore,
|
|
46
|
+
SvsVerifiedAgentTrustScoreOptions,
|
|
47
|
+
SvsVerifiedAgentTrustScorePolicy,
|
|
48
|
+
SvsVerifiedAgentTrustScoreSignalDefinition,
|
|
49
|
+
SvsVerifiedAgentRegistry,
|
|
50
|
+
SvsVerifiedAgentAdoptionKit,
|
|
51
|
+
SvsVerifiedAgentAdoptionKitOptions,
|
|
52
|
+
SvsVerifiedAgentAdoptionKitPersistOptions,
|
|
53
|
+
SvsVerifiedAgentRegistryBuildOptions,
|
|
54
|
+
SvsVerifiedAgentRegistryTrustManifest,
|
|
55
|
+
SvsVerifiedAgentRegistryUrlVerificationOptions,
|
|
56
|
+
SvsVerifiedAgentRegistryVerificationOptions,
|
|
57
|
+
SvsVerifiedAgentRegistryVerification,
|
|
58
|
+
SvsActionProductionProofEvidenceVerification,
|
|
59
|
+
SvsActionProductionProofStatus,
|
|
60
|
+
SvsApprovalDomainSummary,
|
|
61
|
+
SvsApprovalSignatureLike,
|
|
62
|
+
SvsWebhookRequestReplayStoreOptions,
|
|
63
|
+
SvsWebhookRequestVerification,
|
|
64
|
+
SvsWebhookRequestVerificationOptions,
|
|
65
|
+
SvsWebhookSignatureHeadersOptions,
|
|
66
|
+
SvsWebhookSignatureOptions,
|
|
67
|
+
SvsWebhookSignatureVerification,
|
|
68
|
+
SvsWebhookSignatureVerificationOptions
|
|
69
|
+
} from "./common.js";
|
|
70
|
+
import type {
|
|
71
|
+
SvsAgentFrameworkAdapterCatalogEntry
|
|
72
|
+
} from "./adapter-catalog.js";
|
|
73
|
+
|
|
74
|
+
export type {
|
|
75
|
+
JsonObject,
|
|
76
|
+
JsonValue,
|
|
77
|
+
SvsActionIntent,
|
|
78
|
+
SvsAdapterActionInput,
|
|
79
|
+
SvsAdapterActionResult,
|
|
80
|
+
SvsAdapterOptions,
|
|
81
|
+
SvsAdapterReadinessResult,
|
|
82
|
+
SvsActionProductionProofEvidence,
|
|
83
|
+
SvsActionProductionProofEvidenceVerification,
|
|
84
|
+
SvsActionProductionProofOptions,
|
|
85
|
+
SvsActionProductionProofResponse,
|
|
86
|
+
SvsActionProductionProofStatus,
|
|
87
|
+
SvsActionProductionProofWaitResult,
|
|
88
|
+
SvsActionRecordResponse,
|
|
89
|
+
SvsApprovalDomainStatus,
|
|
90
|
+
SvsApprovalDomainSummary,
|
|
91
|
+
SvsApprovalMessageDomain,
|
|
92
|
+
SvsApprovalSignatureLike,
|
|
93
|
+
SvsBotCredentialCleanupEvidence,
|
|
94
|
+
SvsBotCredentialLifecycleSummary,
|
|
95
|
+
SvsBotCredentialReadiness,
|
|
96
|
+
SvsBotCredentialReadinessBot,
|
|
97
|
+
SvsBotCredentialReadinessOptions,
|
|
98
|
+
SvsBotCredentialRotationMissingProof,
|
|
99
|
+
SvsBotCredentialRotationReadinessCheck,
|
|
100
|
+
SvsBotCredentialRotationReceipt,
|
|
101
|
+
SvsBotCredentialSignedRequestSummary,
|
|
102
|
+
SvsBotFirstActionRunbook,
|
|
103
|
+
SvsBotFirstActionRunbookStep,
|
|
104
|
+
SvsBotIntegrationCertificationStatus,
|
|
105
|
+
SvsBotIntegrationContract,
|
|
106
|
+
SvsBotRequestSignatureOptions,
|
|
107
|
+
SvsBotRequestSignatureVerificationOptions,
|
|
108
|
+
SvsBotReadinessResult,
|
|
109
|
+
SvsBotReadinessOptions,
|
|
110
|
+
SvsBotSelfTestResult,
|
|
111
|
+
SvsCertifiedActionProofWaitOptions,
|
|
112
|
+
SvsCertifiedActionPayload,
|
|
113
|
+
SvsCertifiedActionProductionProofWait,
|
|
114
|
+
SvsCertifiedActionSubmitOptions,
|
|
115
|
+
SvsCertifiedActionSubmission,
|
|
116
|
+
SvsCertifiedSubmitOperatorStatus,
|
|
117
|
+
SvsCheck,
|
|
118
|
+
SvsClientLike,
|
|
119
|
+
SvsClientCompatibilityReport,
|
|
120
|
+
SvsClientOptions,
|
|
121
|
+
SvsCurrentApprovalDomainRequirementResult,
|
|
122
|
+
SvsNextAction,
|
|
123
|
+
SvsProductionCertificationOptions,
|
|
124
|
+
SvsProductionCertificationCheck,
|
|
125
|
+
SvsProductionCertificationContractBinding,
|
|
126
|
+
SvsProductionProofWaitOptions,
|
|
127
|
+
SvsProtocolVerifiedAgentResult,
|
|
128
|
+
SvsReceiptExport,
|
|
129
|
+
SvsReceiptVerificationResult,
|
|
130
|
+
SvsRequestOptions,
|
|
131
|
+
SvsRetryOptions,
|
|
132
|
+
SvsSubmitActionOptions,
|
|
133
|
+
SvsSignedBotRequest,
|
|
134
|
+
SvsSignedBotRequestOptions,
|
|
135
|
+
SvsVerifiedAgentProfile,
|
|
136
|
+
SvsVerifiedAgentProfileOptions,
|
|
137
|
+
SvsVerifiedAgentProfileVerificationOptions,
|
|
138
|
+
SvsVerifiedAgentProfileVerification,
|
|
139
|
+
SvsVerifiedAgentTrustScore,
|
|
140
|
+
SvsVerifiedAgentTrustScoreOptions,
|
|
141
|
+
SvsVerifiedAgentTrustScorePolicy,
|
|
142
|
+
SvsVerifiedAgentTrustScoreSignal,
|
|
143
|
+
SvsVerifiedAgentTrustScoreSignalDefinition,
|
|
144
|
+
SvsVerifiedAgentRegistry,
|
|
145
|
+
SvsVerifiedAgentAdoptionKit,
|
|
146
|
+
SvsVerifiedAgentAdoptionKitOptions,
|
|
147
|
+
SvsVerifiedAgentAdoptionKitPersistOptions,
|
|
148
|
+
SvsVerifiedAgentRegistryAgent,
|
|
149
|
+
SvsVerifiedAgentRegistryBuildOptions,
|
|
150
|
+
SvsVerifiedAgentRegistryTrustManifest,
|
|
151
|
+
SvsVerifiedAgentRegistryUrlVerificationOptions,
|
|
152
|
+
SvsVerifiedAgentRegistryVerificationOptions,
|
|
153
|
+
SvsVerifiedAgentRegistryVerification,
|
|
154
|
+
SvsWebhookHeaders,
|
|
155
|
+
SvsWebhookRequestReplayStoreOptions,
|
|
156
|
+
SvsWebhookRequestVerification,
|
|
157
|
+
SvsWebhookRequestVerificationOptions,
|
|
158
|
+
SvsWebhookSignatureHeadersOptions,
|
|
159
|
+
SvsWebhookSignatureOptions,
|
|
160
|
+
SvsWebhookSignatureVerification,
|
|
161
|
+
SvsWebhookSignatureVerificationOptions
|
|
162
|
+
} from "./common.js";
|
|
163
|
+
export type {
|
|
164
|
+
SvsAgentFrameworkAdapterCatalogEntry
|
|
165
|
+
} from "./adapter-catalog.js";
|
|
166
|
+
|
|
167
|
+
export const BOT_CLIENT_COMPATIBILITY_VERSION: "svs.bot-client-compatibility.v1";
|
|
168
|
+
export const BOT_CLIENT_RETRY_SAFETY_VERSION: "svs.bot-client-retry-safety.v1";
|
|
169
|
+
export const SOLANA_VERIFICATION_CLIENT_NAME: "SolanaVerificationClient";
|
|
170
|
+
export const SOLANA_VERIFICATION_CLIENT_VERSION: "svs-js-client.v1";
|
|
171
|
+
export const SOLANA_VERIFICATION_CLIENT_CAPABILITIES: readonly string[];
|
|
172
|
+
export const BOT_INTEGRATION_CONTRACT_VERSION: "svs.bot-integration-contract.v1";
|
|
173
|
+
export const BOT_INTEGRATION_QUICKSTART_VERSION: "svs.bot-integration-quickstart.v1";
|
|
174
|
+
export function hashBotIntegrationContract(contract: unknown): string | null;
|
|
175
|
+
export function normalizeBotIntegrationContractForHash<T = unknown>(value: T): T;
|
|
176
|
+
export const BOT_FIRST_ACTION_RUNBOOK_VERSION: "svs.bot-first-action-runbook.v1";
|
|
177
|
+
export const BOT_FIRST_ACTION_STEP_VERSION: "svs.bot-first-action-runbook-step.v1";
|
|
178
|
+
export function createBotFirstActionRunbook(contract: SvsBotIntegrationContract | JsonObject, options?: {
|
|
179
|
+
serverUrl?: string | null;
|
|
180
|
+
envPath?: string | null;
|
|
181
|
+
generatedAt?: string;
|
|
182
|
+
}): SvsBotFirstActionRunbook;
|
|
183
|
+
export function renderBotFirstActionRunbookText(runbook: SvsBotFirstActionRunbook): string;
|
|
184
|
+
|
|
185
|
+
export const SVS_ADAPTER_CATALOG_VERSION: "svs.agent-framework-adapter-catalog.v1";
|
|
186
|
+
export const SVS_AGENT_FRAMEWORK_ADAPTERS: readonly Readonly<SvsAgentFrameworkAdapterCatalogEntry>[];
|
|
187
|
+
export function getSvsAgentFrameworkAdapters(options?: {
|
|
188
|
+
includeCustom?: boolean;
|
|
189
|
+
primaryOnly?: boolean;
|
|
190
|
+
}): SvsAgentFrameworkAdapterCatalogEntry[];
|
|
191
|
+
export function findSvsAgentFrameworkAdapter(identifier: string | null | undefined): SvsAgentFrameworkAdapterCatalogEntry | null;
|
|
192
|
+
|
|
193
|
+
export function createSignedBotRequest(options?: SvsSignedBotRequestOptions): SvsSignedBotRequest;
|
|
194
|
+
|
|
195
|
+
export function createSolanaVerificationClientCompatibilityReport(options?: { contract?: SvsBotIntegrationContract | JsonObject | null }): SvsClientCompatibilityReport;
|
|
196
|
+
export function createSolanaVerificationClientRetrySafetyProof(options?: { retry?: unknown }): JsonObject;
|
|
197
|
+
export function productionCertificationIsReady(certification: unknown): boolean;
|
|
198
|
+
|
|
199
|
+
export class SolanaVerificationRequestError extends Error {
|
|
200
|
+
status: number | null;
|
|
201
|
+
body: unknown;
|
|
202
|
+
constructor(message: string, details?: { status?: number | null; body?: unknown });
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export class SolanaVerificationProductionCertificationError extends Error {
|
|
206
|
+
details: unknown;
|
|
207
|
+
constructor(message: string, details?: unknown);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export class SolanaVerificationClient {
|
|
211
|
+
constructor(options?: SvsClientOptions);
|
|
212
|
+
baseUrl: string;
|
|
213
|
+
apiKey: string | null;
|
|
214
|
+
requestSigningSecret: string | null;
|
|
215
|
+
expectedIntegrationContractHash: string | null;
|
|
216
|
+
submitAction(payload: JsonObject, options?: SvsSubmitActionOptions): Promise<JsonObject>;
|
|
217
|
+
getRetrySafetyProof(): JsonObject;
|
|
218
|
+
getIntegrationContract(): Promise<SvsBotIntegrationContract>;
|
|
219
|
+
checkClientCompatibility(options?: { contract?: SvsBotIntegrationContract | JsonObject | null }): Promise<SvsClientCompatibilityReport>;
|
|
220
|
+
getCredentialReadiness(options?: SvsBotCredentialReadinessOptions): Promise<SvsBotCredentialReadiness>;
|
|
221
|
+
getCredentialRotationReceipt(options?: { botId: string; pendingProofMaxAgeMs?: number }): Promise<SvsBotCredentialRotationReceipt>;
|
|
222
|
+
checkCredentialRotationReadiness(options?: { botId: string; pendingProofMaxAgeMs?: number }): Promise<SvsBotCredentialRotationReadinessCheck>;
|
|
223
|
+
getIntegrationCertificationStatus(options?: { botId: string; staleAfterMs?: number }): Promise<SvsBotIntegrationCertificationStatus>;
|
|
224
|
+
selfTest(options?: {
|
|
225
|
+
botId?: string | null;
|
|
226
|
+
requestNonce?: string | null;
|
|
227
|
+
requestSigningSecret?: string | null;
|
|
228
|
+
requestTimestamp?: string | null;
|
|
229
|
+
}): Promise<SvsBotSelfTestResult>;
|
|
230
|
+
checkBotReadiness(options?: SvsBotReadinessOptions): Promise<SvsBotReadinessResult>;
|
|
231
|
+
checkProductionCertification(options?: SvsProductionCertificationOptions): Promise<SvsProductionCertificationCheck>;
|
|
232
|
+
requireProductionCertification(options?: SvsProductionCertificationOptions): Promise<SvsProductionCertificationCheck>;
|
|
233
|
+
submitCertifiedAction(payload: SvsCertifiedActionPayload, options?: SvsCertifiedActionSubmitOptions): Promise<SvsCertifiedActionSubmission>;
|
|
234
|
+
getCertifiedSubmitStatus(options?: { staleAfterMs?: number }): Promise<SvsCertifiedSubmitOperatorStatus>;
|
|
235
|
+
submitCertifiedActionAndWaitForProof(payload: SvsCertifiedActionPayload, options?: SvsCertifiedActionProofWaitOptions): Promise<SvsCertifiedActionProductionProofWait>;
|
|
236
|
+
getAction(id: string): Promise<SvsActionRecordResponse>;
|
|
237
|
+
getActionProductionProofStatus(id: string, options?: {
|
|
238
|
+
signRequest?: boolean;
|
|
239
|
+
requestSigningSecret?: string | null;
|
|
240
|
+
requestTimestamp?: string | null;
|
|
241
|
+
}): Promise<SvsActionProductionProofStatus>;
|
|
242
|
+
getActionProductionProof(id: string, options?: SvsActionProductionProofOptions): Promise<SvsActionProductionProofResponse>;
|
|
243
|
+
waitForActionProductionProof(id: string, options?: SvsProductionProofWaitOptions & { fetchProof?: false }): Promise<SvsActionProductionProofStatus | null>;
|
|
244
|
+
waitForActionProductionProof(id: string, options: SvsProductionProofWaitOptions & { fetchProof: true }): Promise<SvsActionProductionProofWaitResult>;
|
|
245
|
+
getReceipt(id: string): Promise<SvsReceiptExport>;
|
|
246
|
+
verifyReceipt(receipt: SvsReceiptExport | JsonObject, options?: JsonObject): Promise<SvsReceiptVerificationResult>;
|
|
247
|
+
verifyActionReceipt(id: string, options?: JsonObject): Promise<SvsReceiptVerificationResult>;
|
|
248
|
+
request(path: string, options?: SvsRequestOptions): Promise<JsonObject>;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export const BOT_REQUEST_SIGNATURE_VERSION: "v1";
|
|
252
|
+
export const DEFAULT_BOT_REQUEST_TIMESTAMP_MAX_AGE_MS: number;
|
|
253
|
+
export function createBotRequestSignature(options?: SvsBotRequestSignatureOptions): string;
|
|
254
|
+
export function verifyBotRequestSignature(options?: SvsBotRequestSignatureVerificationOptions): boolean;
|
|
255
|
+
|
|
256
|
+
export const CERTIFIED_SUBMIT_OPERATOR_STATUS_VERSION: "svs.certified-submit-operator-status.v1";
|
|
257
|
+
export function createCertifiedSubmitOperatorStatus(options?: JsonObject): SvsCertifiedSubmitOperatorStatus;
|
|
258
|
+
export function isCertifiedSubmitOperatorStatusReady(status: unknown): boolean;
|
|
259
|
+
export function selectCertifiedSubmitNextAction(options?: JsonObject): JsonObject;
|
|
260
|
+
export function summarizeCertifiedSubmitEvidence(evidence: unknown): JsonObject;
|
|
261
|
+
|
|
262
|
+
export const APPROVAL_MESSAGE_DOMAIN: "svs-solana-verification-system";
|
|
263
|
+
export const APPROVAL_MESSAGE_VERSION: "svs.approval.v1";
|
|
264
|
+
export const LEGACY_APPROVAL_MESSAGE_DOMAIN: "solana-human-verification-system";
|
|
265
|
+
export function summarizeApprovalDomain(signatureOrPayload?: SvsApprovalSignatureLike | JsonObject | null): SvsApprovalDomainSummary;
|
|
266
|
+
|
|
267
|
+
export const ACTION_PRODUCTION_PROOF_EVIDENCE_VERSION: "svs.action-production-proof-evidence.v1";
|
|
268
|
+
export const ACTION_PRODUCTION_PROOF_EVIDENCE_VERIFICATION_VERSION: "svs.action-production-proof-evidence-verification.v1";
|
|
269
|
+
export function createActionProductionProofStatus(record: unknown): SvsActionProductionProofStatus;
|
|
270
|
+
export function verifyActionProductionProofEvidence(evidence: unknown, options?: {
|
|
271
|
+
requireReady?: boolean;
|
|
272
|
+
expectedRecordId?: string | null;
|
|
273
|
+
requireProductionProofWebhookDelivery?: boolean;
|
|
274
|
+
staleAfterMs?: number | null;
|
|
275
|
+
now?: Date | string;
|
|
276
|
+
}): SvsActionProductionProofEvidenceVerification;
|
|
277
|
+
|
|
278
|
+
export const VERIFIED_AGENT_BADGE_VERSION: "svs.verified-agent-badge.v1";
|
|
279
|
+
export const VERIFIED_AGENT_PROFILE_VERSION: "svs.verified-agent-profile.v1";
|
|
280
|
+
export const VERIFIED_AGENT_PROFILE_VERIFICATION_VERSION: "svs.verified-agent-profile-verification.v1";
|
|
281
|
+
export function createVerifiedAgentBadgeSvg(profile: SvsVerifiedAgentProfile, options?: JsonObject): string;
|
|
282
|
+
export function createVerifiedAgentProfile(options?: SvsVerifiedAgentProfileOptions): SvsVerifiedAgentProfile;
|
|
283
|
+
export function hashVerifiedAgentProfile(profile: unknown): string | null;
|
|
284
|
+
export function verifyVerifiedAgentProfile(profile: unknown, options?: SvsVerifiedAgentProfileVerificationOptions): SvsVerifiedAgentProfileVerification;
|
|
285
|
+
|
|
286
|
+
export const VERIFIED_AGENT_TRUST_SCORE_MAX: 100;
|
|
287
|
+
export const VERIFIED_AGENT_TRUST_SCORE_HIGH_TRUST_MIN: 90;
|
|
288
|
+
export const VERIFIED_AGENT_TRUST_SCORE_POLICY: SvsVerifiedAgentTrustScorePolicy;
|
|
289
|
+
export const VERIFIED_AGENT_TRUST_SCORE_SIGNAL_DEFINITIONS: SvsVerifiedAgentTrustScoreSignalDefinition[];
|
|
290
|
+
export const VERIFIED_AGENT_TRUST_SCORE_VERSION: "svs.verified-agent-trust-score.v1";
|
|
291
|
+
export function createVerifiedAgentTrustScore(options?: SvsVerifiedAgentTrustScoreOptions): SvsVerifiedAgentTrustScore;
|
|
292
|
+
export function hashVerifiedAgentTrustScore(score: unknown): string | null;
|
|
293
|
+
|
|
294
|
+
export const DEFAULT_VERIFIED_AGENT_REGISTRY_DIR: string;
|
|
295
|
+
export const VERIFIED_AGENT_REGISTRY_BUILD_VERSION: "svs.verified-agent-registry-build.v1";
|
|
296
|
+
export const VERIFIED_AGENT_REGISTRY_TRUST_MANIFEST_VERSION: "svs.verified-agent-registry-trust-manifest.v1";
|
|
297
|
+
export const VERIFIED_AGENT_REGISTRY_VERIFICATION_VERSION: "svs.verified-agent-registry-verification.v1";
|
|
298
|
+
export const VERIFIED_AGENT_REGISTRY_VERSION: "svs.verified-agent-registry.v1";
|
|
299
|
+
export function buildVerifiedAgentRegistry(options?: SvsVerifiedAgentRegistryBuildOptions): Promise<JsonObject>;
|
|
300
|
+
export function createVerifiedAgentRegistryTrustManifest(options?: {
|
|
301
|
+
title?: string;
|
|
302
|
+
generatedAt?: Date | string;
|
|
303
|
+
registry: SvsVerifiedAgentRegistry;
|
|
304
|
+
}): SvsVerifiedAgentRegistryTrustManifest;
|
|
305
|
+
export function hashVerifiedAgentRegistry(registry: unknown): string | null;
|
|
306
|
+
export function hashVerifiedAgentRegistryTrustManifest(manifest: unknown): string | null;
|
|
307
|
+
export function verifyVerifiedAgentRegistry(options?: SvsVerifiedAgentRegistryVerificationOptions): Promise<SvsVerifiedAgentRegistryVerification>;
|
|
308
|
+
|
|
309
|
+
export const VERIFIED_AGENT_REGISTRY_CONSUMER_VERIFICATION_VERSION: "svs.verified-agent-registry-consumer-verification.v1";
|
|
310
|
+
export function verifyVerifiedAgentRegistryUrl(options?: SvsVerifiedAgentRegistryUrlVerificationOptions): Promise<SvsVerifiedAgentRegistryVerification>;
|
|
311
|
+
|
|
312
|
+
export const DEFAULT_VERIFIED_AGENT_ADOPTION_KIT_DIR: string;
|
|
313
|
+
export const VERIFIED_AGENT_ADOPTION_KIT_VERSION: "svs.verified-agent-adoption-kit.v1";
|
|
314
|
+
export function createVerifiedAgentAdoptionKit(options?: SvsVerifiedAgentAdoptionKitOptions): SvsVerifiedAgentAdoptionKit;
|
|
315
|
+
export function hashVerifiedAgentAdoptionKit(kit: unknown): string | null;
|
|
316
|
+
export function persistVerifiedAgentAdoptionKit(options?: SvsVerifiedAgentAdoptionKitPersistOptions): Promise<JsonObject>;
|
|
317
|
+
export function renderVerifiedAgentAdoptionKitReadme(kit: SvsVerifiedAgentAdoptionKit): string;
|
|
318
|
+
|
|
319
|
+
export const SIGNED_PROOF_READ_PROTECTION_VERSION: "svs.signed-proof-read-protection-evidence.v1";
|
|
320
|
+
export const SIGNED_PROOF_READ_PROTECTION_VERIFICATION_VERSION: "svs.signed-proof-read-protection-verification.v1";
|
|
321
|
+
export function verifySignedProofReadProtectionEvidence(evidence: unknown, options?: JsonObject): JsonObject;
|
|
322
|
+
|
|
323
|
+
export const WEBHOOK_EVENT_VERSION: "svs.webhook-event.v1";
|
|
324
|
+
export const WEBHOOK_REPLAY_STORE_VERSION: "svs.webhook-replay-store.v1";
|
|
325
|
+
export const WEBHOOK_SIGNATURE_VERSION: "v1";
|
|
326
|
+
export function createWebhookSignature(options: SvsWebhookSignatureOptions): string;
|
|
327
|
+
export function createWebhookSignatureHeaders(options: SvsWebhookSignatureHeadersOptions): Record<string, string>;
|
|
328
|
+
export function verifyWebhookSignature(options: SvsWebhookSignatureVerificationOptions): SvsWebhookSignatureVerification;
|
|
329
|
+
export function verifyWebhookRequest(options?: SvsWebhookRequestVerificationOptions): SvsWebhookRequestVerification;
|
|
330
|
+
export function verifyWebhookRequestWithReplayStore(options?: SvsWebhookRequestReplayStoreOptions): Promise<SvsWebhookRequestVerification>;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
export {
|
|
2
|
+
BOT_CLIENT_COMPATIBILITY_VERSION,
|
|
3
|
+
BOT_CLIENT_RETRY_SAFETY_VERSION,
|
|
4
|
+
createSignedBotRequest,
|
|
5
|
+
createSolanaVerificationClientCompatibilityReport,
|
|
6
|
+
createSolanaVerificationClientRetrySafetyProof,
|
|
7
|
+
productionCertificationIsReady,
|
|
8
|
+
SOLANA_VERIFICATION_CLIENT_CAPABILITIES,
|
|
9
|
+
SOLANA_VERIFICATION_CLIENT_NAME,
|
|
10
|
+
SOLANA_VERIFICATION_CLIENT_VERSION,
|
|
11
|
+
SolanaVerificationClient,
|
|
12
|
+
SolanaVerificationProductionCertificationError,
|
|
13
|
+
SolanaVerificationRequestError
|
|
14
|
+
} from "./svs-client.js";
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
BOT_INTEGRATION_CONTRACT_VERSION,
|
|
18
|
+
BOT_INTEGRATION_QUICKSTART_VERSION,
|
|
19
|
+
hashBotIntegrationContract,
|
|
20
|
+
normalizeBotIntegrationContractForHash
|
|
21
|
+
} from "./bot-integration-contract.js";
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
BOT_FIRST_ACTION_RUNBOOK_VERSION,
|
|
25
|
+
BOT_FIRST_ACTION_STEP_VERSION,
|
|
26
|
+
createBotFirstActionRunbook,
|
|
27
|
+
renderBotFirstActionRunbookText
|
|
28
|
+
} from "./bot-first-action-runbook.js";
|
|
29
|
+
|
|
30
|
+
export {
|
|
31
|
+
SVS_ADAPTER_CATALOG_VERSION,
|
|
32
|
+
SVS_AGENT_FRAMEWORK_ADAPTERS,
|
|
33
|
+
findSvsAgentFrameworkAdapter,
|
|
34
|
+
getSvsAgentFrameworkAdapters
|
|
35
|
+
} from "./adapter-catalog.js";
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
BOT_REQUEST_SIGNATURE_VERSION,
|
|
39
|
+
createBotRequestSignature,
|
|
40
|
+
DEFAULT_BOT_REQUEST_TIMESTAMP_MAX_AGE_MS,
|
|
41
|
+
verifyBotRequestSignature
|
|
42
|
+
} from "./bot-auth.js";
|
|
43
|
+
|
|
44
|
+
export {
|
|
45
|
+
CERTIFIED_SUBMIT_OPERATOR_STATUS_VERSION,
|
|
46
|
+
createCertifiedSubmitOperatorStatus,
|
|
47
|
+
isCertifiedSubmitOperatorStatusReady,
|
|
48
|
+
selectCertifiedSubmitNextAction,
|
|
49
|
+
summarizeCertifiedSubmitEvidence
|
|
50
|
+
} from "./certified-submit-status.js";
|
|
51
|
+
|
|
52
|
+
export {
|
|
53
|
+
APPROVAL_MESSAGE_DOMAIN,
|
|
54
|
+
APPROVAL_MESSAGE_VERSION,
|
|
55
|
+
LEGACY_APPROVAL_MESSAGE_DOMAIN,
|
|
56
|
+
summarizeApprovalDomain
|
|
57
|
+
} from "./approval-signature.js";
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
ACTION_PRODUCTION_PROOF_EVIDENCE_VERSION,
|
|
61
|
+
ACTION_PRODUCTION_PROOF_EVIDENCE_VERIFICATION_VERSION,
|
|
62
|
+
createActionProductionProofStatus,
|
|
63
|
+
verifyActionProductionProofEvidence
|
|
64
|
+
} from "./action-production-proof-evidence.js";
|
|
65
|
+
|
|
66
|
+
export {
|
|
67
|
+
VERIFIED_AGENT_BADGE_VERSION,
|
|
68
|
+
VERIFIED_AGENT_PROFILE_VERSION,
|
|
69
|
+
VERIFIED_AGENT_PROFILE_VERIFICATION_VERSION,
|
|
70
|
+
createVerifiedAgentBadgeSvg,
|
|
71
|
+
createVerifiedAgentProfile,
|
|
72
|
+
hashVerifiedAgentProfile,
|
|
73
|
+
verifyVerifiedAgentProfile
|
|
74
|
+
} from "./verified-agent-profile.js";
|
|
75
|
+
|
|
76
|
+
export {
|
|
77
|
+
VERIFIED_AGENT_TRUST_SCORE_HIGH_TRUST_MIN,
|
|
78
|
+
VERIFIED_AGENT_TRUST_SCORE_MAX,
|
|
79
|
+
VERIFIED_AGENT_TRUST_SCORE_POLICY,
|
|
80
|
+
VERIFIED_AGENT_TRUST_SCORE_SIGNAL_DEFINITIONS,
|
|
81
|
+
VERIFIED_AGENT_TRUST_SCORE_VERSION,
|
|
82
|
+
createVerifiedAgentTrustScore,
|
|
83
|
+
hashVerifiedAgentTrustScore
|
|
84
|
+
} from "./verified-agent-trust-score.js";
|
|
85
|
+
|
|
86
|
+
export {
|
|
87
|
+
DEFAULT_VERIFIED_AGENT_REGISTRY_DIR,
|
|
88
|
+
VERIFIED_AGENT_REGISTRY_BUILD_VERSION,
|
|
89
|
+
VERIFIED_AGENT_REGISTRY_TRUST_MANIFEST_VERSION,
|
|
90
|
+
VERIFIED_AGENT_REGISTRY_VERIFICATION_VERSION,
|
|
91
|
+
VERIFIED_AGENT_REGISTRY_VERSION,
|
|
92
|
+
buildVerifiedAgentRegistry,
|
|
93
|
+
createVerifiedAgentRegistryTrustManifest,
|
|
94
|
+
hashVerifiedAgentRegistry,
|
|
95
|
+
hashVerifiedAgentRegistryTrustManifest,
|
|
96
|
+
verifyVerifiedAgentRegistry
|
|
97
|
+
} from "./verified-agent-registry.js";
|
|
98
|
+
|
|
99
|
+
export {
|
|
100
|
+
VERIFIED_AGENT_REGISTRY_CONSUMER_VERIFICATION_VERSION,
|
|
101
|
+
verifyVerifiedAgentRegistryUrl
|
|
102
|
+
} from "./verified-agent-registry-consumer.js";
|
|
103
|
+
|
|
104
|
+
export {
|
|
105
|
+
DEFAULT_VERIFIED_AGENT_ADOPTION_KIT_DIR,
|
|
106
|
+
VERIFIED_AGENT_ADOPTION_KIT_VERSION,
|
|
107
|
+
createVerifiedAgentAdoptionKit,
|
|
108
|
+
hashVerifiedAgentAdoptionKit,
|
|
109
|
+
persistVerifiedAgentAdoptionKit,
|
|
110
|
+
renderVerifiedAgentAdoptionKitReadme
|
|
111
|
+
} from "./verified-agent-adoption-kit.js";
|
|
112
|
+
|
|
113
|
+
export {
|
|
114
|
+
SIGNED_PROOF_READ_PROTECTION_VERSION,
|
|
115
|
+
SIGNED_PROOF_READ_PROTECTION_VERIFICATION_VERSION,
|
|
116
|
+
verifySignedProofReadProtectionEvidence
|
|
117
|
+
} from "./signed-proof-read-protection.js";
|
|
118
|
+
|
|
119
|
+
export {
|
|
120
|
+
createWebhookSignature,
|
|
121
|
+
createWebhookSignatureHeaders,
|
|
122
|
+
verifyWebhookRequest,
|
|
123
|
+
verifyWebhookRequestWithReplayStore,
|
|
124
|
+
verifyWebhookSignature,
|
|
125
|
+
WEBHOOK_EVENT_VERSION,
|
|
126
|
+
WEBHOOK_REPLAY_STORE_VERSION,
|
|
127
|
+
WEBHOOK_SIGNATURE_VERSION
|
|
128
|
+
} from "./webhooks.js";
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
SvsActionProductionProofEvidence,
|
|
3
|
+
SvsCurrentApprovalDomainRequirementResult,
|
|
4
|
+
SvsNextAction,
|
|
5
|
+
SvsProtocolVerifiedAgentResult,
|
|
6
|
+
SvsVerifiedAgentTrustScore
|
|
7
|
+
} from "./common.js";
|
|
8
|
+
|
|
9
|
+
export const VERIFIED_AGENT_REQUIREMENT_VERSION: "svs.verified-agent-requirement.v1";
|
|
10
|
+
export const CURRENT_APPROVAL_DOMAIN_REQUIREMENT_VERSION: "svs.current-approval-domain-requirement.v1";
|
|
11
|
+
export const HOSTED_VERIFIED_AGENT_REGISTRY_REQUIREMENT_VERSION: "svs.hosted-verified-agent-registry-requirement.v1";
|
|
12
|
+
export const VERIFIED_AGENT_STANDARD_CONFORMANCE_FIXTURES_VERSION: "svs.verified-agent-standard-conformance-fixtures.v1";
|
|
13
|
+
export const VERIFIED_AGENT_STANDARD_CONFORMANCE_VERSION: "svs.verified-agent-standard-conformance.v1";
|
|
14
|
+
export const HOSTED_VERIFIED_AGENT_TRUST_POLICY_STANDARD: "standard";
|
|
15
|
+
export const HOSTED_VERIFIED_AGENT_TRUST_POLICY_HIGH_TRUST: "high-trust";
|
|
16
|
+
export const HOSTED_VERIFIED_AGENT_TRUST_POLICY_CUSTOM: "custom";
|
|
17
|
+
export const HOSTED_VERIFIED_AGENT_TRUST_POLICY_VALUES: readonly [
|
|
18
|
+
"standard",
|
|
19
|
+
"high-trust",
|
|
20
|
+
"custom"
|
|
21
|
+
];
|
|
22
|
+
|
|
23
|
+
export type SvsHostedVerifiedAgentRegistryTrustPolicy = "standard" | "high-trust" | "custom";
|
|
24
|
+
|
|
25
|
+
export interface RequireVerifiedAgentOptions {
|
|
26
|
+
client?: unknown;
|
|
27
|
+
baseUrl?: string;
|
|
28
|
+
apiKey?: string;
|
|
29
|
+
requestSigningSecret?: string;
|
|
30
|
+
botId: string;
|
|
31
|
+
agentWallet?: string | null;
|
|
32
|
+
action?: string | null;
|
|
33
|
+
minCertification?: string;
|
|
34
|
+
staleAfterMs?: number;
|
|
35
|
+
requireCurrentIntegrationContract?: boolean;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function requireVerifiedAgent(options: RequireVerifiedAgentOptions): Promise<SvsProtocolVerifiedAgentResult>;
|
|
39
|
+
|
|
40
|
+
export interface RequireCurrentApprovalDomainOptions {
|
|
41
|
+
action?: string | null;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function requireCurrentApprovalDomain(
|
|
45
|
+
proofEvidenceOrHumanApproval: SvsActionProductionProofEvidence | SvsActionProductionProofEvidence["humanApproval"] | unknown,
|
|
46
|
+
options?: RequireCurrentApprovalDomainOptions
|
|
47
|
+
): SvsCurrentApprovalDomainRequirementResult;
|
|
48
|
+
|
|
49
|
+
export interface RequireHostedVerifiedAgentRegistryOptions {
|
|
50
|
+
registryUrl: string;
|
|
51
|
+
trustManifestUrl?: string | null;
|
|
52
|
+
expectedRegistryHash: string;
|
|
53
|
+
botId: string;
|
|
54
|
+
requireVerified?: boolean;
|
|
55
|
+
trustPolicy?: SvsHostedVerifiedAgentRegistryTrustPolicy | null;
|
|
56
|
+
requireHighTrustScore?: boolean;
|
|
57
|
+
minimumTrustScore?: number | null;
|
|
58
|
+
requireTrustScoreEvidenceComplete?: boolean | null;
|
|
59
|
+
maxTrustScoreBlockingSignals?: number | null;
|
|
60
|
+
staleAfterMs?: number | null;
|
|
61
|
+
now?: Date | string;
|
|
62
|
+
fetchImpl?: typeof fetch;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface SvsHostedVerifiedAgentRegistryTrustScorePolicyResult {
|
|
66
|
+
ok: boolean;
|
|
67
|
+
status: "not_required" | "passed" | "failed" | string;
|
|
68
|
+
required: boolean;
|
|
69
|
+
trustPolicy: SvsHostedVerifiedAgentRegistryTrustPolicy | string;
|
|
70
|
+
requireHighTrustScore?: boolean;
|
|
71
|
+
minimumTrustScore?: number | null;
|
|
72
|
+
requireTrustScoreEvidenceComplete?: boolean;
|
|
73
|
+
maxTrustScoreBlockingSignals?: number | null;
|
|
74
|
+
detail: string;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface SvsHostedVerifiedAgentRegistryAgentSummary {
|
|
78
|
+
index: number | null;
|
|
79
|
+
botId: string | null;
|
|
80
|
+
profilePath: string | null;
|
|
81
|
+
profileUrl: string | null;
|
|
82
|
+
profileHash: string | null;
|
|
83
|
+
trustScore: Pick<
|
|
84
|
+
SvsVerifiedAgentTrustScore,
|
|
85
|
+
| "version"
|
|
86
|
+
| "status"
|
|
87
|
+
| "score"
|
|
88
|
+
| "maxScore"
|
|
89
|
+
| "evidenceComplete"
|
|
90
|
+
| "blockingSignalCount"
|
|
91
|
+
| "trustScoreHash"
|
|
92
|
+
| "computedTrustScoreHash"
|
|
93
|
+
| "nextAction"
|
|
94
|
+
> & {
|
|
95
|
+
hashValid: boolean;
|
|
96
|
+
highTrustMinimumScore: number | null;
|
|
97
|
+
} | null;
|
|
98
|
+
ok: boolean;
|
|
99
|
+
failedCheckCount: number;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface SvsHostedVerifiedAgentRegistryRequirement {
|
|
103
|
+
version: "svs.hosted-verified-agent-registry-requirement.v1";
|
|
104
|
+
ok: true;
|
|
105
|
+
status: "verified";
|
|
106
|
+
botId: string;
|
|
107
|
+
registryUrl: string;
|
|
108
|
+
trustManifestUrl: string | null;
|
|
109
|
+
expectedRegistryHash: string;
|
|
110
|
+
registryHash: string | null;
|
|
111
|
+
trustManifest: unknown;
|
|
112
|
+
trustScorePolicy: SvsHostedVerifiedAgentRegistryTrustScorePolicyResult;
|
|
113
|
+
agent: SvsHostedVerifiedAgentRegistryAgentSummary;
|
|
114
|
+
profileCount: number | null;
|
|
115
|
+
verifiedAgentCount: number | null;
|
|
116
|
+
nextAction: SvsNextAction;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function requireHostedVerifiedAgentRegistry(
|
|
120
|
+
options: RequireHostedVerifiedAgentRegistryOptions
|
|
121
|
+
): Promise<SvsHostedVerifiedAgentRegistryRequirement>;
|
|
122
|
+
|
|
123
|
+
export function createHostedVerifiedAgentRegistryMiddleware(
|
|
124
|
+
options: Omit<RequireHostedVerifiedAgentRegistryOptions, "botId">
|
|
125
|
+
): (request?: { botId?: string; agent?: { botId?: string }; body?: { botId?: string } }) => Promise<SvsHostedVerifiedAgentRegistryRequirement>;
|
|
126
|
+
|
|
127
|
+
export interface SvsVerifiedAgentStandardConformanceScenarioFixture {
|
|
128
|
+
id: string;
|
|
129
|
+
label: string;
|
|
130
|
+
expectedAccepted: boolean;
|
|
131
|
+
expectedFailureCode?: string | null;
|
|
132
|
+
requirement: string;
|
|
133
|
+
botId: string;
|
|
134
|
+
agentWallet?: string | null;
|
|
135
|
+
action?: string | null;
|
|
136
|
+
recordId: string;
|
|
137
|
+
expectedRecordId?: string | null;
|
|
138
|
+
staleAfterMs?: number | null;
|
|
139
|
+
certification: unknown;
|
|
140
|
+
actionProductionProofEvidence: SvsActionProductionProofEvidence;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface SvsVerifiedAgentStandardConformanceFixtures {
|
|
144
|
+
version: "svs.verified-agent-standard-conformance-fixtures.v1";
|
|
145
|
+
generatedAt: string;
|
|
146
|
+
standard: "Verified Agent Standard";
|
|
147
|
+
botId: string;
|
|
148
|
+
agentWallet: string;
|
|
149
|
+
action: string;
|
|
150
|
+
recordId: string;
|
|
151
|
+
scenarioCount: number;
|
|
152
|
+
scenarios: SvsVerifiedAgentStandardConformanceScenarioFixture[];
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface CreateVerifiedAgentStandardConformanceFixturesOptions {
|
|
156
|
+
now?: Date | string;
|
|
157
|
+
botId?: string;
|
|
158
|
+
agentWallet?: string;
|
|
159
|
+
action?: string;
|
|
160
|
+
recordId?: string;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function createVerifiedAgentStandardConformanceFixtures(
|
|
164
|
+
options?: CreateVerifiedAgentStandardConformanceFixturesOptions
|
|
165
|
+
): SvsVerifiedAgentStandardConformanceFixtures;
|
|
166
|
+
|
|
167
|
+
export interface SvsVerifiedAgentStandardConformanceScenarioResult {
|
|
168
|
+
id: string;
|
|
169
|
+
label: string;
|
|
170
|
+
ok: boolean;
|
|
171
|
+
expectedAccepted: boolean;
|
|
172
|
+
accepted: boolean;
|
|
173
|
+
expectedFailureCode: string | null;
|
|
174
|
+
failureCode: string | null;
|
|
175
|
+
errorName: string | null;
|
|
176
|
+
detail: string;
|
|
177
|
+
requirement: string;
|
|
178
|
+
verification: unknown | null;
|
|
179
|
+
actionProductionProof: unknown | null;
|
|
180
|
+
approvalDomain: unknown | null;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export interface SvsVerifiedAgentStandardConformance {
|
|
184
|
+
version: "svs.verified-agent-standard-conformance.v1";
|
|
185
|
+
ok: boolean;
|
|
186
|
+
status: "verified" | "failed";
|
|
187
|
+
checkedAt: string;
|
|
188
|
+
fixtureVersion: string | null;
|
|
189
|
+
scenarioCount: number;
|
|
190
|
+
passedScenarioCount: number;
|
|
191
|
+
failedScenarioCount: number;
|
|
192
|
+
scenarios: SvsVerifiedAgentStandardConformanceScenarioResult[];
|
|
193
|
+
nextAction: SvsNextAction;
|
|
194
|
+
conformanceHash: string;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export interface RunVerifiedAgentStandardConformanceOptions {
|
|
198
|
+
fixtures?: SvsVerifiedAgentStandardConformanceFixtures | null;
|
|
199
|
+
now?: Date | string;
|
|
200
|
+
staleAfterMs?: number;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export function runVerifiedAgentStandardConformance(
|
|
204
|
+
options?: RunVerifiedAgentStandardConformanceOptions
|
|
205
|
+
): Promise<SvsVerifiedAgentStandardConformance>;
|