agentskeptic 1.2.1 → 1.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 +22 -34
- package/config/marketing.json +6 -5
- package/dist/actionableFailure.d.ts.map +1 -1
- package/dist/actionableFailure.js +15 -0
- package/dist/actionableFailure.js.map +1 -1
- package/dist/assurance/assurancePathArgs.d.ts.map +1 -1
- package/dist/assurance/assurancePathArgs.js +1 -0
- package/dist/assurance/assurancePathArgs.js.map +1 -1
- package/dist/certificateDigest.d.ts +4 -0
- package/dist/certificateDigest.d.ts.map +1 -0
- package/dist/certificateDigest.js +7 -0
- package/dist/certificateDigest.js.map +1 -0
- package/dist/certificateDigest.test.d.ts +2 -0
- package/dist/certificateDigest.test.d.ts.map +1 -0
- package/dist/certificateDigest.test.js +14 -0
- package/dist/certificateDigest.test.js.map +1 -0
- package/dist/cli/initCommand.d.ts +2 -0
- package/dist/cli/initCommand.d.ts.map +1 -0
- package/dist/cli/initCommand.js +135 -0
- package/dist/cli/initCommand.js.map +1 -0
- package/dist/cli/lockOrchestration.d.ts.map +1 -1
- package/dist/cli/lockOrchestration.js +29 -4
- package/dist/cli/lockOrchestration.js.map +1 -1
- package/dist/cli/migrateCommand.d.ts +6 -0
- package/dist/cli/migrateCommand.d.ts.map +1 -0
- package/dist/cli/migrateCommand.js +97 -0
- package/dist/cli/migrateCommand.js.map +1 -0
- package/dist/cli.js +99 -109
- package/dist/cli.js.map +1 -1
- package/dist/cliArgv.test.d.ts +2 -0
- package/dist/cliArgv.test.d.ts.map +1 -0
- package/dist/cliArgv.test.js +34 -0
- package/dist/cliArgv.test.js.map +1 -0
- package/dist/cliOperationalCodes.d.ts +6 -0
- package/dist/cliOperationalCodes.d.ts.map +1 -1
- package/dist/cliOperationalCodes.js +6 -0
- package/dist/cliOperationalCodes.js.map +1 -1
- package/dist/commercial/activationCorrelation.d.ts +3 -0
- package/dist/commercial/activationCorrelation.d.ts.map +1 -0
- package/dist/commercial/activationCorrelation.js +6 -0
- package/dist/commercial/activationCorrelation.js.map +1 -0
- package/dist/commercial/getCurrentUsage.d.ts +16 -0
- package/dist/commercial/getCurrentUsage.d.ts.map +1 -0
- package/dist/commercial/getCurrentUsage.js +12 -0
- package/dist/commercial/getCurrentUsage.js.map +1 -0
- package/dist/commercial/licensePreflight.d.ts +1 -0
- package/dist/commercial/licensePreflight.d.ts.map +1 -1
- package/dist/commercial/licensePreflight.js +12 -77
- package/dist/commercial/licensePreflight.js.map +1 -1
- package/dist/commercial/postVerifyOutcomeBeacon.d.ts +2 -0
- package/dist/commercial/postVerifyOutcomeBeacon.d.ts.map +1 -1
- package/dist/commercial/postVerifyOutcomeBeacon.js +8 -13
- package/dist/commercial/postVerifyOutcomeBeacon.js.map +1 -1
- package/dist/compare.acceptance.test.js +25 -0
- package/dist/compare.acceptance.test.js.map +1 -1
- package/dist/compareRunManifest.d.ts +32 -0
- package/dist/compareRunManifest.d.ts.map +1 -0
- package/dist/compareRunManifest.js +60 -0
- package/dist/compareRunManifest.js.map +1 -0
- package/dist/debug-ui/app.js +4 -3
- package/dist/debugPanels.d.ts +0 -3
- package/dist/debugPanels.d.ts.map +1 -1
- package/dist/debugPanels.js +0 -23
- package/dist/debugPanels.js.map +1 -1
- package/dist/debugPanels.test.js +16 -15
- package/dist/debugPanels.test.js.map +1 -1
- package/dist/debugServer.d.ts.map +1 -1
- package/dist/debugServer.js +18 -15
- package/dist/debugServer.js.map +1 -1
- package/dist/debugServer.test.js +6 -3
- package/dist/debugServer.test.js.map +1 -1
- package/dist/decisionGate.assertSafe.test.js +2 -2
- package/dist/decisionGate.assertSafe.test.js.map +1 -1
- package/dist/decisionGate.d.ts +2 -1
- package/dist/decisionGate.d.ts.map +1 -1
- package/dist/decisionGate.js +2 -1
- package/dist/decisionGate.js.map +1 -1
- package/dist/decisionGate.persistBundle.test.js +3 -3
- package/dist/decisionGate.persistBundle.test.js.map +1 -1
- package/dist/discovery-payload-v1.json +3 -1
- package/dist/enforceCli.d.ts.map +1 -1
- package/dist/enforceCli.js +15 -40
- package/dist/enforceCli.js.map +1 -1
- package/dist/enforceStateful.d.ts +2 -0
- package/dist/enforceStateful.d.ts.map +1 -0
- package/dist/enforceStateful.js +88 -0
- package/dist/enforceStateful.js.map +1 -0
- package/dist/enforcementProjection.d.ts +17 -0
- package/dist/enforcementProjection.d.ts.map +1 -0
- package/dist/enforcementProjection.js +20 -0
- package/dist/enforcementProjection.js.map +1 -0
- package/dist/executionTrace.test.js +35 -0
- package/dist/executionTrace.test.js.map +1 -1
- package/dist/executionTraceDiff.d.ts +36 -0
- package/dist/executionTraceDiff.d.ts.map +1 -0
- package/dist/executionTraceDiff.js +86 -0
- package/dist/executionTraceDiff.js.map +1 -0
- package/dist/executionTraceDiff.test.d.ts +2 -0
- package/dist/executionTraceDiff.test.d.ts.map +1 -0
- package/dist/executionTraceDiff.test.js +44 -0
- package/dist/executionTraceDiff.test.js.map +1 -0
- package/dist/failureOriginCatalog.d.ts.map +1 -1
- package/dist/failureOriginCatalog.js +3 -0
- package/dist/failureOriginCatalog.js.map +1 -1
- package/dist/firstFiveMinutesChecklist.d.ts +1 -1
- package/dist/firstFiveMinutesChecklist.d.ts.map +1 -1
- package/dist/firstFiveMinutesChecklist.js +2 -2
- package/dist/firstFiveMinutesChecklist.js.map +1 -1
- package/dist/index.d.ts +13 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -7
- package/dist/index.js.map +1 -1
- package/dist/operationalDisposition.d.ts +48 -0
- package/dist/operationalDisposition.d.ts.map +1 -1
- package/dist/operationalDisposition.js +48 -0
- package/dist/operationalDisposition.js.map +1 -1
- package/dist/publicDistribution.generated.d.ts +1 -1
- package/dist/publicDistribution.generated.js +1 -1
- package/dist/registryDraft/buildRegistryDraftPrompt.js +2 -2
- package/dist/registryDraft/createRegistryDraftAjv.js +2 -2
- package/dist/registryDraft/index.d.ts +1 -0
- package/dist/registryDraft/index.d.ts.map +1 -1
- package/dist/registryDraft/index.js +1 -0
- package/dist/registryDraft/index.js.map +1 -1
- package/dist/registryDraft/openAiLlmResponseSchema.d.ts +6 -0
- package/dist/registryDraft/openAiLlmResponseSchema.d.ts.map +1 -0
- package/dist/registryDraft/openAiLlmResponseSchema.js +12 -0
- package/dist/registryDraft/openAiLlmResponseSchema.js.map +1 -0
- package/dist/regressionArtifact.d.ts +63 -0
- package/dist/regressionArtifact.d.ts.map +1 -0
- package/dist/regressionArtifact.js +290 -0
- package/dist/regressionArtifact.js.map +1 -0
- package/dist/runComparison.d.ts +0 -1
- package/dist/runComparison.d.ts.map +1 -1
- package/dist/runComparison.js +0 -83
- package/dist/runComparison.js.map +1 -1
- package/dist/runComparison.test.js +101 -57
- package/dist/runComparison.test.js.map +1 -1
- package/dist/schema-validation.test.js +37 -0
- package/dist/schema-validation.test.js.map +1 -1
- package/dist/schemaLoad.d.ts +1 -1
- package/dist/schemaLoad.d.ts.map +1 -1
- package/dist/schemaLoad.js +10 -0
- package/dist/schemaLoad.js.map +1 -1
- package/dist/sdk/AgentSkeptic.d.ts +37 -0
- package/dist/sdk/AgentSkeptic.d.ts.map +1 -0
- package/dist/sdk/AgentSkeptic.js +45 -0
- package/dist/sdk/AgentSkeptic.js.map +1 -0
- package/dist/sdk/Gate.d.ts +3 -0
- package/dist/sdk/Gate.d.ts.map +1 -0
- package/dist/sdk/Gate.js +2 -0
- package/dist/sdk/Gate.js.map +1 -0
- package/dist/sdk/_generated/openapi-types.d.ts +1034 -0
- package/dist/sdk/_generated/openapi-types.d.ts.map +1 -0
- package/dist/sdk/_generated/openapi-types.js +6 -0
- package/dist/sdk/_generated/openapi-types.js.map +1 -0
- package/dist/sdk/deprecate.d.ts +6 -0
- package/dist/sdk/deprecate.d.ts.map +1 -0
- package/dist/sdk/deprecate.js +14 -0
- package/dist/sdk/deprecate.js.map +1 -0
- package/dist/sdk/deprecatedPublicApi.d.ts +18 -0
- package/dist/sdk/deprecatedPublicApi.d.ts.map +1 -0
- package/dist/sdk/deprecatedPublicApi.js +36 -0
- package/dist/sdk/deprecatedPublicApi.js.map +1 -0
- package/dist/sdk/errors.d.ts +23 -0
- package/dist/sdk/errors.d.ts.map +1 -0
- package/dist/sdk/errors.js +28 -0
- package/dist/sdk/errors.js.map +1 -0
- package/dist/sdk/frameworks/next.d.ts +12 -0
- package/dist/sdk/frameworks/next.d.ts.map +1 -0
- package/dist/sdk/frameworks/next.js +29 -0
- package/dist/sdk/frameworks/next.js.map +1 -0
- package/dist/sdk/transport.d.ts +35 -0
- package/dist/sdk/transport.d.ts.map +1 -0
- package/dist/sdk/transport.js +180 -0
- package/dist/sdk/transport.js.map +1 -0
- package/dist/sortedJsonStringify.d.ts +2 -0
- package/dist/sortedJsonStringify.d.ts.map +1 -0
- package/dist/sortedJsonStringify.js +23 -0
- package/dist/sortedJsonStringify.js.map +1 -0
- package/dist/standardVerifyWorkflowCli.d.ts.map +1 -1
- package/dist/standardVerifyWorkflowCli.js +3 -2
- package/dist/standardVerifyWorkflowCli.js.map +1 -1
- package/dist/telemetry/maybeEmitOssClaimTicketUrl.d.ts +2 -0
- package/dist/telemetry/maybeEmitOssClaimTicketUrl.d.ts.map +1 -1
- package/dist/telemetry/maybeEmitOssClaimTicketUrl.js +13 -2
- package/dist/telemetry/maybeEmitOssClaimTicketUrl.js.map +1 -1
- package/dist/telemetry/postOssClaimContinuation.d.ts +1 -1
- package/dist/telemetry/postOssClaimContinuation.d.ts.map +1 -1
- package/dist/telemetry/postOssClaimContinuation.js +10 -6
- package/dist/telemetry/postOssClaimContinuation.js.map +1 -1
- package/dist/telemetry/postOssClaimTicket.d.ts +8 -0
- package/dist/telemetry/postOssClaimTicket.d.ts.map +1 -1
- package/dist/telemetry/postOssClaimTicket.js +31 -5
- package/dist/telemetry/postOssClaimTicket.js.map +1 -1
- package/dist/truthLayerError.d.ts +5 -2
- package/dist/truthLayerError.d.ts.map +1 -1
- package/dist/truthLayerError.js +6 -4
- package/dist/truthLayerError.js.map +1 -1
- package/dist/types.d.ts +10 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/verificationDiagnostics.d.ts.map +1 -1
- package/dist/verificationDiagnostics.js +4 -1
- package/dist/verificationDiagnostics.js.map +1 -1
- package/dist/verificationPolicy.d.ts.map +1 -1
- package/dist/verificationPolicy.js +13 -0
- package/dist/verificationPolicy.js.map +1 -1
- package/dist/verificationUserPhrases.d.ts.map +1 -1
- package/dist/verificationUserPhrases.js +3 -0
- package/dist/verificationUserPhrases.js.map +1 -1
- package/dist/verify/batchVerifyTelemetrySubcommand.d.ts.map +1 -1
- package/dist/verify/batchVerifyTelemetrySubcommand.js +8 -1
- package/dist/verify/batchVerifyTelemetrySubcommand.js.map +1 -1
- package/dist/verifyAgentskeptic.d.ts +1 -1
- package/dist/verifyAgentskeptic.d.ts.map +1 -1
- package/dist/verifyAgentskeptic.js +3 -3
- package/dist/verifyAgentskeptic.js.map +1 -1
- package/dist/verifyAgentskeptic.test.js +5 -5
- package/dist/verifyAgentskeptic.test.js.map +1 -1
- package/dist/wireReasonCodes.d.ts +3 -0
- package/dist/wireReasonCodes.d.ts.map +1 -1
- package/dist/wireReasonCodes.js +3 -0
- package/dist/wireReasonCodes.js.map +1 -1
- package/package.json +47 -9
- package/schemas/agentskeptic-error-codes.json +608 -0
- package/schemas/compare-run-manifest-v1.schema.json +65 -0
- package/schemas/conformance-normalized-result.schema.json +73 -0
- package/schemas/connector-capabilities.schema.json +38 -0
- package/schemas/contract/v1.json +65 -0
- package/schemas/contract-manifest.schema.json +130 -0
- package/schemas/execution-trace-view.schema.json +1 -1
- package/schemas/openapi-commercial-v1.in.yaml +584 -14
- package/schemas/openapi-commercial-v1.yaml +584 -14
- package/schemas/{registry-draft-response-v1.schema.json → registry-draft-llm-partial-v1.schema.json} +9 -5
- package/schemas/registry-draft-response-v2.schema.json +52 -0
- package/schemas/regression-artifact-v1.schema.json +212 -0
- package/scripts/discovery-payload.lib.cjs +9 -3
- package/scripts/emit-primary-marketing.cjs +37 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentskeptic.com/schemas/conformance-normalized-result.schema.json",
|
|
4
|
+
"title": "ConformanceNormalizedResult",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"scenarioId",
|
|
8
|
+
"runtime",
|
|
9
|
+
"connector",
|
|
10
|
+
"mode",
|
|
11
|
+
"supportedBehaviorId",
|
|
12
|
+
"outcome",
|
|
13
|
+
"normalizedHash"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"scenarioId": { "type": "string", "minLength": 1 },
|
|
17
|
+
"runtime": { "type": "string", "enum": ["typescript", "python"] },
|
|
18
|
+
"connector": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"sqlite",
|
|
22
|
+
"postgres",
|
|
23
|
+
"mysql",
|
|
24
|
+
"sqlserver",
|
|
25
|
+
"bigquery",
|
|
26
|
+
"vector_document",
|
|
27
|
+
"http_witness",
|
|
28
|
+
"mongo_document",
|
|
29
|
+
"object_storage_object"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"mode": { "type": "string", "enum": ["strong", "eventual", "bounded"] },
|
|
33
|
+
"supportedBehaviorId": { "type": "string", "minLength": 1 },
|
|
34
|
+
"outcome": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"required": ["status", "reasonCodes", "failureDiagnostic", "evidence"],
|
|
37
|
+
"properties": {
|
|
38
|
+
"status": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": [
|
|
41
|
+
"verified",
|
|
42
|
+
"missing",
|
|
43
|
+
"inconsistent",
|
|
44
|
+
"incomplete_verification",
|
|
45
|
+
"partially_verified",
|
|
46
|
+
"uncertain"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"reasonCodes": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": { "type": "string", "minLength": 1 },
|
|
52
|
+
"uniqueItems": true
|
|
53
|
+
},
|
|
54
|
+
"failureDiagnostic": {
|
|
55
|
+
"type": ["string", "null"],
|
|
56
|
+
"enum": [
|
|
57
|
+
"workflow_execution",
|
|
58
|
+
"verification_setup",
|
|
59
|
+
"observation_uncertainty",
|
|
60
|
+
null
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"evidence": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"additionalProperties": false
|
|
69
|
+
},
|
|
70
|
+
"normalizedHash": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
|
|
71
|
+
},
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentskeptic.com/schemas/connector-capabilities.schema.json",
|
|
4
|
+
"title": "ConnectorCapabilities",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["generatedAt", "behaviors"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"generatedAt": { "type": "string", "minLength": 1 },
|
|
9
|
+
"behaviors": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"items": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"required": ["supportedBehaviorId", "capabilityState", "runtimeStates", "scenarioIds"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"supportedBehaviorId": { "type": "string", "minLength": 1 },
|
|
16
|
+
"capabilityState": { "type": "string", "enum": ["supported", "unsupported"] },
|
|
17
|
+
"runtimeStates": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"required": ["typescript", "python"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"typescript": { "type": "string", "enum": ["supported", "unsupported"] },
|
|
22
|
+
"python": { "type": "string", "enum": ["supported", "unsupported"] }
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"scenarioIds": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": { "type": "string", "minLength": 1 },
|
|
29
|
+
"uniqueItems": true
|
|
30
|
+
},
|
|
31
|
+
"notes": { "type": "array", "items": { "type": "string" } }
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agentskeptic.com/schemas/contract-manifest.schema.json",
|
|
3
|
+
"examples": {
|
|
4
|
+
"events": {
|
|
5
|
+
"path": "examples/events.ndjson"
|
|
6
|
+
},
|
|
7
|
+
"registry": {
|
|
8
|
+
"path": "examples/tools.json"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"history": [
|
|
12
|
+
{
|
|
13
|
+
"exampleSha256": {
|
|
14
|
+
"events": "6e36c6faa758cdffc53093959a71cb60aa3ecf153ada5a7006997bcef0e6215b",
|
|
15
|
+
"registry": "e3abd4965f1dc5d78cb1e1bc3a548cd0c02e746c626c2691a9292242e1a0c159"
|
|
16
|
+
},
|
|
17
|
+
"introducedAt": "2026-04-28",
|
|
18
|
+
"manifestSha256": "5017579f4372b349278841e1528076db44131a3c7e68075aea7f6a461ca0f415",
|
|
19
|
+
"manifestVersion": "1.0.0",
|
|
20
|
+
"memberSha256": {
|
|
21
|
+
"event": "7873d26c3702e10c217608268f57782302b2800ebf23d85bae56a5edc9517a6e",
|
|
22
|
+
"toolsRegistry": "94453738ac7dddc912db2342de16d357f37be8fde0bffefdfdc11e75ac292801",
|
|
23
|
+
"toolsRegistryExport": "350ee52d3a1db92257c4577d43f145f5ea945a356fb70b630db0b16cb7849c3a"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"exampleSha256": {
|
|
28
|
+
"events": "17b40fd3fefd37654b569a4b8888114a23d2199fb945cb41125b5a0bb5b53567",
|
|
29
|
+
"registry": "4fa2d1a29e6d71e3c72269300a00709b29a102a8f1f717fdabd4a31091522ab2"
|
|
30
|
+
},
|
|
31
|
+
"introducedAt": "2026-04-28",
|
|
32
|
+
"manifestSha256": "c5f23ec43576716c4b9a13e752cd2962a78bb4b4da1f9e521f911e15dfd80268",
|
|
33
|
+
"manifestVersion": "1.0.1",
|
|
34
|
+
"memberSha256": {
|
|
35
|
+
"event": "2a29c7f902a142e91a2d3a1ab58c8355c31509146a5177528cfea2dbc4087543",
|
|
36
|
+
"toolsRegistry": "ae48ae9b7fea13e2c7e5dcdb55c43ffd84c61fe7404633c557b2936b2ca2204f",
|
|
37
|
+
"toolsRegistryExport": "953d1ce3c91425852c7674afc66955bac07e77d3bfbcdd3e461fe9b41dcb1455"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"manifestVersion": "1.0.1",
|
|
42
|
+
"members": {
|
|
43
|
+
"event": {
|
|
44
|
+
"role": "event-line",
|
|
45
|
+
"schemaId": "https://agentskeptic.com/schemas/event.schema.json",
|
|
46
|
+
"schemaPath": "schemas/event.schema.json"
|
|
47
|
+
},
|
|
48
|
+
"toolsRegistry": {
|
|
49
|
+
"role": "registry",
|
|
50
|
+
"schemaId": "https://agentskeptic.com/schemas/tools-registry.schema.json",
|
|
51
|
+
"schemaPath": "schemas/tools-registry.schema.json"
|
|
52
|
+
},
|
|
53
|
+
"toolsRegistryExport": {
|
|
54
|
+
"role": "registry-export",
|
|
55
|
+
"schemaId": "https://agentskeptic.com/schemas/tools-registry-export.schema.json",
|
|
56
|
+
"schemaPath": "schemas/tools-registry-export.schema.json"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"productPackage": "agentskeptic",
|
|
60
|
+
"publicUrl": "https://agentskeptic.com/contract/v1.json",
|
|
61
|
+
"validatorFingerprint": {
|
|
62
|
+
"draft": "2020-12",
|
|
63
|
+
"library": "ajv"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://agentskeptic.com/schemas/contract-manifest.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"title": "VerificationContractManifest",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"$schema",
|
|
9
|
+
"manifestVersion",
|
|
10
|
+
"publicUrl",
|
|
11
|
+
"productPackage",
|
|
12
|
+
"members",
|
|
13
|
+
"examples",
|
|
14
|
+
"validatorFingerprint",
|
|
15
|
+
"history"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"$schema": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"const": "https://agentskeptic.com/schemas/contract-manifest.schema.json"
|
|
21
|
+
},
|
|
22
|
+
"manifestVersion": { "$ref": "#/$defs/semver" },
|
|
23
|
+
"publicUrl": { "type": "string", "format": "uri", "pattern": "^https?://" },
|
|
24
|
+
"productPackage": { "type": "string", "minLength": 1 },
|
|
25
|
+
"members": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": false,
|
|
28
|
+
"required": ["event", "toolsRegistry", "toolsRegistryExport"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"event": { "$ref": "#/$defs/memberEntry" },
|
|
31
|
+
"toolsRegistry": { "$ref": "#/$defs/memberEntry" },
|
|
32
|
+
"toolsRegistryExport": { "$ref": "#/$defs/memberEntry" }
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"examples": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"additionalProperties": false,
|
|
38
|
+
"required": ["registry", "events"],
|
|
39
|
+
"properties": {
|
|
40
|
+
"registry": { "$ref": "#/$defs/exampleEntry" },
|
|
41
|
+
"events": { "$ref": "#/$defs/exampleEntry" }
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"validatorFingerprint": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"required": ["library", "draft"],
|
|
48
|
+
"properties": {
|
|
49
|
+
"library": { "type": "string", "minLength": 1 },
|
|
50
|
+
"draft": { "type": "string", "minLength": 1 }
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"history": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"minItems": 1,
|
|
56
|
+
"items": { "$ref": "#/$defs/historyEntry" }
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"$defs": {
|
|
60
|
+
"semver": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
|
|
63
|
+
},
|
|
64
|
+
"sha256Hex": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
67
|
+
},
|
|
68
|
+
"sha256HexOrEmpty": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"pattern": "^([a-f0-9]{64}|)$"
|
|
71
|
+
},
|
|
72
|
+
"isoDate": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
75
|
+
},
|
|
76
|
+
"memberEntry": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"required": ["role", "schemaPath", "schemaId"],
|
|
80
|
+
"properties": {
|
|
81
|
+
"role": { "type": "string", "minLength": 1 },
|
|
82
|
+
"schemaPath": { "type": "string", "pattern": "^schemas/[^/]+\\.schema\\.json$" },
|
|
83
|
+
"schemaId": { "type": "string", "format": "uri", "pattern": "^https://agentskeptic\\.com/schemas/" }
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"exampleEntry": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"additionalProperties": false,
|
|
89
|
+
"required": ["path"],
|
|
90
|
+
"properties": {
|
|
91
|
+
"path": { "type": "string", "pattern": "^examples/[^\\s]+$" }
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"historyEntry": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"required": [
|
|
98
|
+
"manifestVersion",
|
|
99
|
+
"introducedAt",
|
|
100
|
+
"memberSha256",
|
|
101
|
+
"exampleSha256",
|
|
102
|
+
"manifestSha256"
|
|
103
|
+
],
|
|
104
|
+
"properties": {
|
|
105
|
+
"manifestVersion": { "$ref": "#/$defs/semver" },
|
|
106
|
+
"introducedAt": { "$ref": "#/$defs/isoDate" },
|
|
107
|
+
"memberSha256": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"additionalProperties": false,
|
|
110
|
+
"required": ["event", "toolsRegistry", "toolsRegistryExport"],
|
|
111
|
+
"properties": {
|
|
112
|
+
"event": { "$ref": "#/$defs/sha256Hex" },
|
|
113
|
+
"toolsRegistry": { "$ref": "#/$defs/sha256Hex" },
|
|
114
|
+
"toolsRegistryExport": { "$ref": "#/$defs/sha256Hex" }
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"exampleSha256": {
|
|
118
|
+
"type": "object",
|
|
119
|
+
"additionalProperties": false,
|
|
120
|
+
"required": ["registry", "events"],
|
|
121
|
+
"properties": {
|
|
122
|
+
"registry": { "$ref": "#/$defs/sha256Hex" },
|
|
123
|
+
"events": { "$ref": "#/$defs/sha256Hex" }
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"manifestSha256": { "$ref": "#/$defs/sha256HexOrEmpty" }
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"properties": {
|
|
47
47
|
"ingestIndex": { "type": "integer", "minimum": 0 },
|
|
48
48
|
"runEventId": { "type": "string", "minLength": 1 },
|
|
49
|
-
"wireSchemaVersion": { "type": "integer", "enum": [1, 2] },
|
|
49
|
+
"wireSchemaVersion": { "type": "integer", "enum": [1, 2, 3] },
|
|
50
50
|
"wireType": { "type": "string", "minLength": 1 },
|
|
51
51
|
"parentRunEventId": { "type": ["string", "null"] },
|
|
52
52
|
"traceStepKind": {
|