agentskeptic 2.4.0 → 3.0.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/dist/commercial/postTrustDecisionBlocked.d.ts +11 -0
- package/dist/commercial/postTrustDecisionBlocked.d.ts.map +1 -0
- package/dist/commercial/postTrustDecisionBlocked.js +33 -0
- package/dist/commercial/postTrustDecisionBlocked.js.map +1 -0
- package/dist/commercial/trustDecisionRecord.d.ts +45 -0
- package/dist/commercial/trustDecisionRecord.d.ts.map +1 -0
- package/dist/commercial/trustDecisionRecord.js +65 -0
- package/dist/commercial/trustDecisionRecord.js.map +1 -0
- package/dist/commercial/trustDecisionRecord.schema.test.d.ts +2 -0
- package/dist/commercial/trustDecisionRecord.schema.test.d.ts.map +1 -0
- package/dist/commercial/trustDecisionRecord.schema.test.js +35 -0
- package/dist/commercial/trustDecisionRecord.schema.test.js.map +1 -0
- package/dist/decisionBlocker.d.ts +4 -0
- package/dist/decisionBlocker.d.ts.map +1 -1
- package/dist/decisionBlocker.js +5 -2
- package/dist/decisionBlocker.js.map +1 -1
- package/dist/decisionGate.assertSafe.test.js +3 -3
- package/dist/decisionGate.assertSafe.test.js.map +1 -1
- package/dist/decisionGate.d.ts +4 -0
- package/dist/decisionGate.d.ts.map +1 -1
- package/dist/decisionGate.js +13 -5
- package/dist/decisionGate.js.map +1 -1
- package/dist/finalizeIrreversibleTrustBlock.d.ts +12 -0
- package/dist/finalizeIrreversibleTrustBlock.d.ts.map +1 -0
- package/dist/finalizeIrreversibleTrustBlock.js +13 -0
- package/dist/finalizeIrreversibleTrustBlock.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/langGraphCheckpointTrustGate.d.ts +8 -1
- package/dist/langGraphCheckpointTrustGate.d.ts.map +1 -1
- package/dist/langGraphCheckpointTrustGate.js +27 -14
- package/dist/langGraphCheckpointTrustGate.js.map +1 -1
- package/dist/publicDistribution.generated.d.ts +1 -1
- package/dist/publicDistribution.generated.js +1 -1
- package/dist/schemaLoad.d.ts +1 -1
- package/dist/schemaLoad.d.ts.map +1 -1
- package/dist/schemaLoad.js +5 -0
- package/dist/schemaLoad.js.map +1 -1
- package/dist/sdk/_generated/openapi-types.d.ts +111 -0
- package/dist/sdk/_generated/openapi-types.d.ts.map +1 -1
- package/dist/sdk/deprecatedPublicApi.d.ts +1 -1
- package/dist/sdk/deprecatedPublicApi.d.ts.map +1 -1
- package/dist/sdk/deprecatedPublicApi.js +2 -2
- package/dist/sdk/deprecatedPublicApi.js.map +1 -1
- package/dist/trustDecisionBlockedError.d.ts +16 -0
- package/dist/trustDecisionBlockedError.d.ts.map +1 -0
- package/dist/trustDecisionBlockedError.js +21 -0
- package/dist/trustDecisionBlockedError.js.map +1 -0
- package/package.json +1 -1
- package/schemas/openapi-commercial-v1.in.yaml +138 -0
- package/schemas/openapi-commercial-v1.yaml +139 -1
- package/schemas/trust-certificate-snapshot-v1.schema.json +36 -0
- package/schemas/trust-decision-record-v1.schema.json +72 -0
- package/dist/decisionUnsafeError.d.ts +0 -8
- package/dist/decisionUnsafeError.d.ts.map +0 -1
- package/dist/decisionUnsafeError.js +0 -12
- package/dist/decisionUnsafeError.js.map +0 -1
- package/dist/langGraphCheckpointTrustUnsafeError.d.ts +0 -8
- package/dist/langGraphCheckpointTrustUnsafeError.d.ts.map +0 -1
- package/dist/langGraphCheckpointTrustUnsafeError.js +0 -12
- package/dist/langGraphCheckpointTrustUnsafeError.js.map +0 -1
|
@@ -304,6 +304,48 @@ paths:
|
|
|
304
304
|
application/json:
|
|
305
305
|
schema:
|
|
306
306
|
$ref: "#/components/schemas/ProblemDetails"
|
|
307
|
+
/api/v1/funnel/trust-decision-blocked:
|
|
308
|
+
post:
|
|
309
|
+
operationId: postTrustDecisionBlocked
|
|
310
|
+
summary: Record a blocked irreversible trust decision (idempotent per API key + fingerprint)
|
|
311
|
+
description: >
|
|
312
|
+
POST when an in-process gate blocks an irreversible action. Success is HTTP 204.
|
|
313
|
+
Requires Bearer API key with report scope. Duplicate fingerprint returns 204 without a second funnel insert.
|
|
314
|
+
security:
|
|
315
|
+
- bearerAuth: []
|
|
316
|
+
requestBody:
|
|
317
|
+
required: true
|
|
318
|
+
content:
|
|
319
|
+
application/json:
|
|
320
|
+
schema:
|
|
321
|
+
$ref: "#/components/schemas/TrustDecisionRecordRequestV1"
|
|
322
|
+
responses:
|
|
323
|
+
"204":
|
|
324
|
+
description: Record accepted or duplicate ignored
|
|
325
|
+
"400":
|
|
326
|
+
description: Invalid JSON or validation failure
|
|
327
|
+
content:
|
|
328
|
+
application/json:
|
|
329
|
+
schema:
|
|
330
|
+
$ref: "#/components/schemas/ProblemDetails"
|
|
331
|
+
"401":
|
|
332
|
+
description: Invalid API key
|
|
333
|
+
content:
|
|
334
|
+
application/json:
|
|
335
|
+
schema:
|
|
336
|
+
$ref: "#/components/schemas/ProblemDetails"
|
|
337
|
+
"413":
|
|
338
|
+
description: Payload too large
|
|
339
|
+
content:
|
|
340
|
+
application/json:
|
|
341
|
+
schema:
|
|
342
|
+
$ref: "#/components/schemas/ProblemDetails"
|
|
343
|
+
"503":
|
|
344
|
+
description: Server error
|
|
345
|
+
content:
|
|
346
|
+
application/json:
|
|
347
|
+
schema:
|
|
348
|
+
$ref: "#/components/schemas/ProblemDetails"
|
|
307
349
|
/api/oss/claim-ticket:
|
|
308
350
|
post:
|
|
309
351
|
operationId: postOssClaimTicket
|
|
@@ -564,6 +606,102 @@ components:
|
|
|
564
606
|
subcommand:
|
|
565
607
|
type: string
|
|
566
608
|
enum: [batch_verify, quick_verify, verify_integrator_owned]
|
|
609
|
+
TrustDecisionRecordRequestV1:
|
|
610
|
+
type: object
|
|
611
|
+
additionalProperties: false
|
|
612
|
+
required:
|
|
613
|
+
- schema_version
|
|
614
|
+
- trust_decision
|
|
615
|
+
- gate_kind
|
|
616
|
+
- routing
|
|
617
|
+
- certificate_snapshot
|
|
618
|
+
- human_blocker_lines
|
|
619
|
+
properties:
|
|
620
|
+
schema_version:
|
|
621
|
+
type: integer
|
|
622
|
+
const: 1
|
|
623
|
+
trust_decision:
|
|
624
|
+
type: string
|
|
625
|
+
enum: [safe, unsafe, unknown]
|
|
626
|
+
gate_kind:
|
|
627
|
+
type: string
|
|
628
|
+
enum: [contract_sql_irreversible, langgraph_checkpoint_terminal]
|
|
629
|
+
routing:
|
|
630
|
+
type: object
|
|
631
|
+
additionalProperties: false
|
|
632
|
+
required:
|
|
633
|
+
- routing_key
|
|
634
|
+
properties:
|
|
635
|
+
routing_key:
|
|
636
|
+
type: string
|
|
637
|
+
maxLength: 512
|
|
638
|
+
team:
|
|
639
|
+
type: string
|
|
640
|
+
maxLength: 256
|
|
641
|
+
owner_slug:
|
|
642
|
+
type: string
|
|
643
|
+
maxLength: 256
|
|
644
|
+
certificate_snapshot:
|
|
645
|
+
$ref: "#/components/schemas/TrustCertificateSnapshotRequestV1"
|
|
646
|
+
human_blocker_lines:
|
|
647
|
+
type: array
|
|
648
|
+
minItems: 6
|
|
649
|
+
maxItems: 6
|
|
650
|
+
items:
|
|
651
|
+
type: string
|
|
652
|
+
TrustCertificateSnapshotRequestV1:
|
|
653
|
+
type: object
|
|
654
|
+
additionalProperties: false
|
|
655
|
+
required:
|
|
656
|
+
- schema_version
|
|
657
|
+
- workflow_id
|
|
658
|
+
- run_kind
|
|
659
|
+
- state_relation
|
|
660
|
+
- high_stakes_reliance
|
|
661
|
+
- reason_codes
|
|
662
|
+
- first_problem
|
|
663
|
+
properties:
|
|
664
|
+
schema_version:
|
|
665
|
+
type: integer
|
|
666
|
+
const: 1
|
|
667
|
+
workflow_id:
|
|
668
|
+
type: string
|
|
669
|
+
maxLength: 512
|
|
670
|
+
run_kind:
|
|
671
|
+
type: string
|
|
672
|
+
enum: [contract_sql, contract_sql_langgraph_checkpoint_trust, quick_preview]
|
|
673
|
+
state_relation:
|
|
674
|
+
type: string
|
|
675
|
+
enum: [matches_expectations, does_not_match, not_established]
|
|
676
|
+
high_stakes_reliance:
|
|
677
|
+
type: string
|
|
678
|
+
enum: [permitted, prohibited]
|
|
679
|
+
reason_codes:
|
|
680
|
+
type: array
|
|
681
|
+
maxItems: 24
|
|
682
|
+
items:
|
|
683
|
+
type: string
|
|
684
|
+
first_problem:
|
|
685
|
+
nullable: true
|
|
686
|
+
type: object
|
|
687
|
+
additionalProperties: false
|
|
688
|
+
required:
|
|
689
|
+
- seq
|
|
690
|
+
- tool_id
|
|
691
|
+
- observed_trunc
|
|
692
|
+
- expected_trunc
|
|
693
|
+
properties:
|
|
694
|
+
seq:
|
|
695
|
+
type: integer
|
|
696
|
+
minimum: 0
|
|
697
|
+
tool_id:
|
|
698
|
+
type: string
|
|
699
|
+
observed_trunc:
|
|
700
|
+
type: string
|
|
701
|
+
maxLength: 512
|
|
702
|
+
expected_trunc:
|
|
703
|
+
type: string
|
|
704
|
+
maxLength: 512
|
|
567
705
|
OssClaimTicketRequest:
|
|
568
706
|
type: object
|
|
569
707
|
description: v1 or v2 OSS claim ticket wire shape (see website/src/lib/ossClaimTicketPayload.ts).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: "3.0.3"
|
|
2
2
|
info:
|
|
3
3
|
title: AgentSkeptic commercial license API
|
|
4
|
-
version: "
|
|
4
|
+
version: "3.0.0"
|
|
5
5
|
contact:
|
|
6
6
|
url: https://agentskeptic.com
|
|
7
7
|
x-agentskeptic-distribution:
|
|
@@ -304,6 +304,48 @@ paths:
|
|
|
304
304
|
application/json:
|
|
305
305
|
schema:
|
|
306
306
|
$ref: "#/components/schemas/ProblemDetails"
|
|
307
|
+
/api/v1/funnel/trust-decision-blocked:
|
|
308
|
+
post:
|
|
309
|
+
operationId: postTrustDecisionBlocked
|
|
310
|
+
summary: Record a blocked irreversible trust decision (idempotent per API key + fingerprint)
|
|
311
|
+
description: >
|
|
312
|
+
POST when an in-process gate blocks an irreversible action. Success is HTTP 204.
|
|
313
|
+
Requires Bearer API key with report scope. Duplicate fingerprint returns 204 without a second funnel insert.
|
|
314
|
+
security:
|
|
315
|
+
- bearerAuth: []
|
|
316
|
+
requestBody:
|
|
317
|
+
required: true
|
|
318
|
+
content:
|
|
319
|
+
application/json:
|
|
320
|
+
schema:
|
|
321
|
+
$ref: "#/components/schemas/TrustDecisionRecordRequestV1"
|
|
322
|
+
responses:
|
|
323
|
+
"204":
|
|
324
|
+
description: Record accepted or duplicate ignored
|
|
325
|
+
"400":
|
|
326
|
+
description: Invalid JSON or validation failure
|
|
327
|
+
content:
|
|
328
|
+
application/json:
|
|
329
|
+
schema:
|
|
330
|
+
$ref: "#/components/schemas/ProblemDetails"
|
|
331
|
+
"401":
|
|
332
|
+
description: Invalid API key
|
|
333
|
+
content:
|
|
334
|
+
application/json:
|
|
335
|
+
schema:
|
|
336
|
+
$ref: "#/components/schemas/ProblemDetails"
|
|
337
|
+
"413":
|
|
338
|
+
description: Payload too large
|
|
339
|
+
content:
|
|
340
|
+
application/json:
|
|
341
|
+
schema:
|
|
342
|
+
$ref: "#/components/schemas/ProblemDetails"
|
|
343
|
+
"503":
|
|
344
|
+
description: Server error
|
|
345
|
+
content:
|
|
346
|
+
application/json:
|
|
347
|
+
schema:
|
|
348
|
+
$ref: "#/components/schemas/ProblemDetails"
|
|
307
349
|
/api/oss/claim-ticket:
|
|
308
350
|
post:
|
|
309
351
|
operationId: postOssClaimTicket
|
|
@@ -564,6 +606,102 @@ components:
|
|
|
564
606
|
subcommand:
|
|
565
607
|
type: string
|
|
566
608
|
enum: [batch_verify, quick_verify, verify_integrator_owned]
|
|
609
|
+
TrustDecisionRecordRequestV1:
|
|
610
|
+
type: object
|
|
611
|
+
additionalProperties: false
|
|
612
|
+
required:
|
|
613
|
+
- schema_version
|
|
614
|
+
- trust_decision
|
|
615
|
+
- gate_kind
|
|
616
|
+
- routing
|
|
617
|
+
- certificate_snapshot
|
|
618
|
+
- human_blocker_lines
|
|
619
|
+
properties:
|
|
620
|
+
schema_version:
|
|
621
|
+
type: integer
|
|
622
|
+
const: 1
|
|
623
|
+
trust_decision:
|
|
624
|
+
type: string
|
|
625
|
+
enum: [safe, unsafe, unknown]
|
|
626
|
+
gate_kind:
|
|
627
|
+
type: string
|
|
628
|
+
enum: [contract_sql_irreversible, langgraph_checkpoint_terminal]
|
|
629
|
+
routing:
|
|
630
|
+
type: object
|
|
631
|
+
additionalProperties: false
|
|
632
|
+
required:
|
|
633
|
+
- routing_key
|
|
634
|
+
properties:
|
|
635
|
+
routing_key:
|
|
636
|
+
type: string
|
|
637
|
+
maxLength: 512
|
|
638
|
+
team:
|
|
639
|
+
type: string
|
|
640
|
+
maxLength: 256
|
|
641
|
+
owner_slug:
|
|
642
|
+
type: string
|
|
643
|
+
maxLength: 256
|
|
644
|
+
certificate_snapshot:
|
|
645
|
+
$ref: "#/components/schemas/TrustCertificateSnapshotRequestV1"
|
|
646
|
+
human_blocker_lines:
|
|
647
|
+
type: array
|
|
648
|
+
minItems: 6
|
|
649
|
+
maxItems: 6
|
|
650
|
+
items:
|
|
651
|
+
type: string
|
|
652
|
+
TrustCertificateSnapshotRequestV1:
|
|
653
|
+
type: object
|
|
654
|
+
additionalProperties: false
|
|
655
|
+
required:
|
|
656
|
+
- schema_version
|
|
657
|
+
- workflow_id
|
|
658
|
+
- run_kind
|
|
659
|
+
- state_relation
|
|
660
|
+
- high_stakes_reliance
|
|
661
|
+
- reason_codes
|
|
662
|
+
- first_problem
|
|
663
|
+
properties:
|
|
664
|
+
schema_version:
|
|
665
|
+
type: integer
|
|
666
|
+
const: 1
|
|
667
|
+
workflow_id:
|
|
668
|
+
type: string
|
|
669
|
+
maxLength: 512
|
|
670
|
+
run_kind:
|
|
671
|
+
type: string
|
|
672
|
+
enum: [contract_sql, contract_sql_langgraph_checkpoint_trust, quick_preview]
|
|
673
|
+
state_relation:
|
|
674
|
+
type: string
|
|
675
|
+
enum: [matches_expectations, does_not_match, not_established]
|
|
676
|
+
high_stakes_reliance:
|
|
677
|
+
type: string
|
|
678
|
+
enum: [permitted, prohibited]
|
|
679
|
+
reason_codes:
|
|
680
|
+
type: array
|
|
681
|
+
maxItems: 24
|
|
682
|
+
items:
|
|
683
|
+
type: string
|
|
684
|
+
first_problem:
|
|
685
|
+
nullable: true
|
|
686
|
+
type: object
|
|
687
|
+
additionalProperties: false
|
|
688
|
+
required:
|
|
689
|
+
- seq
|
|
690
|
+
- tool_id
|
|
691
|
+
- observed_trunc
|
|
692
|
+
- expected_trunc
|
|
693
|
+
properties:
|
|
694
|
+
seq:
|
|
695
|
+
type: integer
|
|
696
|
+
minimum: 0
|
|
697
|
+
tool_id:
|
|
698
|
+
type: string
|
|
699
|
+
observed_trunc:
|
|
700
|
+
type: string
|
|
701
|
+
maxLength: 512
|
|
702
|
+
expected_trunc:
|
|
703
|
+
type: string
|
|
704
|
+
maxLength: 512
|
|
567
705
|
OssClaimTicketRequest:
|
|
568
706
|
type: object
|
|
569
707
|
description: v1 or v2 OSS claim ticket wire shape (see website/src/lib/ossClaimTicketPayload.ts).
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://agentskeptic.com/schemas/trust-certificate-snapshot-v1.schema.json",
|
|
3
|
+
"title": "TrustCertificateSnapshotV1",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": ["schema_version", "workflow_id", "run_kind", "state_relation", "high_stakes_reliance", "reason_codes", "first_problem"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema_version": { "type": "integer", "const": 1 },
|
|
9
|
+
"workflow_id": { "type": "string", "minLength": 1, "maxLength": 512 },
|
|
10
|
+
"run_kind": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust", "quick_preview"]
|
|
13
|
+
},
|
|
14
|
+
"state_relation": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": ["matches_expectations", "does_not_match", "not_established"]
|
|
17
|
+
},
|
|
18
|
+
"high_stakes_reliance": { "type": "string", "enum": ["permitted", "prohibited"] },
|
|
19
|
+
"reason_codes": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"maxItems": 24,
|
|
22
|
+
"items": { "type": "string", "minLength": 1, "maxLength": 256 }
|
|
23
|
+
},
|
|
24
|
+
"first_problem": {
|
|
25
|
+
"type": ["object", "null"],
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"required": ["seq", "tool_id", "observed_trunc", "expected_trunc"],
|
|
28
|
+
"properties": {
|
|
29
|
+
"seq": { "type": "integer", "minimum": 0 },
|
|
30
|
+
"tool_id": { "type": "string" },
|
|
31
|
+
"observed_trunc": { "type": "string", "maxLength": 512 },
|
|
32
|
+
"expected_trunc": { "type": "string", "maxLength": 512 }
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://agentskeptic.com/schemas/trust-decision-record-v1.schema.json",
|
|
3
|
+
"title": "TrustDecisionRecordV1",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": [
|
|
7
|
+
"schema_version",
|
|
8
|
+
"trust_decision",
|
|
9
|
+
"gate_kind",
|
|
10
|
+
"routing",
|
|
11
|
+
"certificate_snapshot",
|
|
12
|
+
"human_blocker_lines"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"schema_version": { "type": "integer", "const": 1 },
|
|
16
|
+
"trust_decision": { "type": "string", "enum": ["safe", "unsafe", "unknown"] },
|
|
17
|
+
"gate_kind": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["contract_sql_irreversible", "langgraph_checkpoint_terminal"]
|
|
20
|
+
},
|
|
21
|
+
"routing": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"required": ["routing_key"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"routing_key": { "type": "string", "minLength": 1, "maxLength": 512 },
|
|
27
|
+
"team": { "type": "string", "maxLength": 256 },
|
|
28
|
+
"owner_slug": { "type": "string", "maxLength": 256 }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"certificate_snapshot": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"required": ["schema_version", "workflow_id", "run_kind", "state_relation", "high_stakes_reliance", "reason_codes", "first_problem"],
|
|
35
|
+
"properties": {
|
|
36
|
+
"schema_version": { "type": "integer", "const": 1 },
|
|
37
|
+
"workflow_id": { "type": "string", "minLength": 1, "maxLength": 512 },
|
|
38
|
+
"run_kind": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": ["contract_sql", "contract_sql_langgraph_checkpoint_trust", "quick_preview"]
|
|
41
|
+
},
|
|
42
|
+
"state_relation": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": ["matches_expectations", "does_not_match", "not_established"]
|
|
45
|
+
},
|
|
46
|
+
"high_stakes_reliance": { "type": "string", "enum": ["permitted", "prohibited"] },
|
|
47
|
+
"reason_codes": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"maxItems": 24,
|
|
50
|
+
"items": { "type": "string", "minLength": 1, "maxLength": 256 }
|
|
51
|
+
},
|
|
52
|
+
"first_problem": {
|
|
53
|
+
"type": ["object", "null"],
|
|
54
|
+
"additionalProperties": false,
|
|
55
|
+
"required": ["seq", "tool_id", "observed_trunc", "expected_trunc"],
|
|
56
|
+
"properties": {
|
|
57
|
+
"seq": { "type": "integer", "minimum": 0 },
|
|
58
|
+
"tool_id": { "type": "string" },
|
|
59
|
+
"observed_trunc": { "type": "string", "maxLength": 512 },
|
|
60
|
+
"expected_trunc": { "type": "string", "maxLength": 512 }
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"human_blocker_lines": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"minItems": 6,
|
|
68
|
+
"maxItems": 6,
|
|
69
|
+
"items": { "type": "string", "maxLength": 4096 }
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { OutcomeCertificateV1 } from "./outcomeCertificate.js";
|
|
2
|
-
import type { TrustDecision } from "./trustDecision.js";
|
|
3
|
-
export declare class DecisionUnsafeError extends Error {
|
|
4
|
-
readonly trustDecision: TrustDecision;
|
|
5
|
-
readonly certificate: OutcomeCertificateV1;
|
|
6
|
-
constructor(certificate: OutcomeCertificateV1, lines: string[]);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=decisionUnsafeError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decisionUnsafeError.d.ts","sourceRoot":"","sources":["../src/decisionUnsafeError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IACtC,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;gBAE/B,WAAW,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,EAAE;CAM/D"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { trustDecisionFromCertificate } from "./trustDecision.js";
|
|
2
|
-
export class DecisionUnsafeError extends Error {
|
|
3
|
-
trustDecision;
|
|
4
|
-
certificate;
|
|
5
|
-
constructor(certificate, lines) {
|
|
6
|
-
super(lines.join("\n"));
|
|
7
|
-
this.name = "DecisionUnsafeError";
|
|
8
|
-
this.certificate = certificate;
|
|
9
|
-
this.trustDecision = trustDecisionFromCertificate(certificate);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=decisionUnsafeError.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decisionUnsafeError.js","sourceRoot":"","sources":["../src/decisionUnsafeError.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAElE,MAAM,OAAO,mBAAoB,SAAQ,KAAK;IACnC,aAAa,CAAgB;IAC7B,WAAW,CAAuB;IAE3C,YAAY,WAAiC,EAAE,KAAe;QAC5D,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;QAClC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,aAAa,GAAG,4BAA4B,CAAC,WAAW,CAAC,CAAC;IACjE,CAAC;CACF"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { OutcomeCertificateV1 } from "./outcomeCertificate.js";
|
|
2
|
-
import type { TrustDecision } from "./trustDecision.js";
|
|
3
|
-
export declare class LangGraphCheckpointTrustUnsafeError extends Error {
|
|
4
|
-
readonly trustDecision: TrustDecision;
|
|
5
|
-
readonly certificate: OutcomeCertificateV1;
|
|
6
|
-
constructor(certificate: OutcomeCertificateV1, lines: string[]);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=langGraphCheckpointTrustUnsafeError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"langGraphCheckpointTrustUnsafeError.d.ts","sourceRoot":"","sources":["../src/langGraphCheckpointTrustUnsafeError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD,qBAAa,mCAAoC,SAAQ,KAAK;IAC5D,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IACtC,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;gBAE/B,WAAW,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,EAAE;CAM/D"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { trustDecisionFromCertificate } from "./trustDecision.js";
|
|
2
|
-
export class LangGraphCheckpointTrustUnsafeError extends Error {
|
|
3
|
-
trustDecision;
|
|
4
|
-
certificate;
|
|
5
|
-
constructor(certificate, lines) {
|
|
6
|
-
super(lines.join("\n"));
|
|
7
|
-
this.name = "LangGraphCheckpointTrustUnsafeError";
|
|
8
|
-
this.certificate = certificate;
|
|
9
|
-
this.trustDecision = trustDecisionFromCertificate(certificate);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=langGraphCheckpointTrustUnsafeError.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"langGraphCheckpointTrustUnsafeError.js","sourceRoot":"","sources":["../src/langGraphCheckpointTrustUnsafeError.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAElE,MAAM,OAAO,mCAAoC,SAAQ,KAAK;IACnD,aAAa,CAAgB;IAC7B,WAAW,CAAuB;IAE3C,YAAY,WAAiC,EAAE,KAAe;QAC5D,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,qCAAqC,CAAC;QAClD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,aAAa,GAAG,4BAA4B,CAAC,WAAW,CAAC,CAAC;IACjE,CAAC;CACF"}
|