@dynamicalsystems/idl 0.7.0 → 0.8.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/index.cjs +198 -1
- package/dist/index.d.cts +235 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +235 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +177 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -16
- package/schema/dsg-core-identity-binding-v1.json +43 -0
- package/schema/dsg-core-refusal-v1.json +95 -0
- package/schema/dsg-kernel-standing-order-activation-v1.json +345 -0
- package/schema/dsg-run-decision-v1.json +71 -0
- package/schema/dsg-run-event-v1.json +101 -0
- package/schema/dsg-run-request-v1.json +107 -0
- package/schema/dsg-run-run-summary-v1.json +127 -0
- package/src/core/identity-binding.v1.ts +26 -0
- package/src/core/refusal.v1.ts +45 -0
- package/src/index.ts +59 -1
- package/src/kernel/standing-order-activation.v1.ts +72 -0
- package/src/primitives.ts +8 -0
- package/src/run/decision.v1.ts +27 -0
- package/src/run/request.v1.ts +50 -0
- package/src/run/run-summary.v1.ts +42 -0
package/dist/index.cjs
CHANGED
|
@@ -24,6 +24,13 @@ const Reference = closed({
|
|
|
24
24
|
orn: Orn,
|
|
25
25
|
sha256: _sinclair_typebox.Type.String({ pattern: _dynamicalsystems_orn_schemas.SHA256_PATTERN })
|
|
26
26
|
});
|
|
27
|
+
/** A person named on a run. Missing on the wire is null; readers print
|
|
28
|
+
* "Not recorded". Never inferred. */
|
|
29
|
+
const PersonReference = closed({
|
|
30
|
+
principal: Orn,
|
|
31
|
+
displayName: NonEmptyString,
|
|
32
|
+
source: NonEmptyString
|
|
33
|
+
});
|
|
27
34
|
//#endregion
|
|
28
35
|
//#region src/kernel/dispatch-consume.v1.ts
|
|
29
36
|
const DISPATCH_CONSUME_PROFILE = "dsg.kernel.dispatch-consume/1";
|
|
@@ -579,6 +586,49 @@ const bootstrapV1 = {
|
|
|
579
586
|
}
|
|
580
587
|
};
|
|
581
588
|
//#endregion
|
|
589
|
+
//#region src/kernel/standing-order-activation.v1.ts
|
|
590
|
+
const STANDING_ORDER_ACTIVATION_PROFILE = "dsg.kernel.standing-order-activation/1";
|
|
591
|
+
const STANDING_ORDER_ACTIVATION_EVENT_KIND = "standing_order_activated";
|
|
592
|
+
const StandingOrderModeSchema = _sinclair_typebox.Type.Union([_sinclair_typebox.Type.Literal("synthetic-test-only"), _sinclair_typebox.Type.Literal("human-authority")]);
|
|
593
|
+
const StandingOrderActivationSchema = closed({
|
|
594
|
+
profile: _sinclair_typebox.Type.Literal(STANDING_ORDER_ACTIVATION_PROFILE),
|
|
595
|
+
/** Stable identity carried in the descriptor. The event's `activation`
|
|
596
|
+
* reference points to this descriptor, avoiding a digest cycle. */
|
|
597
|
+
activationId: Orn,
|
|
598
|
+
/** Compare-and-set precondition. Null is valid only for the first head. */
|
|
599
|
+
expectedPreviousActivation: _sinclair_typebox.Type.Union([Reference, _sinclair_typebox.Type.Null()]),
|
|
600
|
+
law: Reference,
|
|
601
|
+
enrollment: Reference,
|
|
602
|
+
intent: Reference,
|
|
603
|
+
roots: Reference,
|
|
604
|
+
/** Activation-time observation. It never substitutes for a current read. */
|
|
605
|
+
revocation: Reference,
|
|
606
|
+
actor: Orn,
|
|
607
|
+
mode: StandingOrderModeSchema,
|
|
608
|
+
activatedAt: UtcSecond
|
|
609
|
+
});
|
|
610
|
+
const StandingOrderActivationEventSchema = closed({
|
|
611
|
+
profile: _sinclair_typebox.Type.Literal(STANDING_ORDER_ACTIVATION_PROFILE),
|
|
612
|
+
kind: _sinclair_typebox.Type.Literal(STANDING_ORDER_ACTIVATION_EVENT_KIND),
|
|
613
|
+
stream: Orn,
|
|
614
|
+
/** Reference to the canonical descriptor artifact. */
|
|
615
|
+
activation: Reference
|
|
616
|
+
});
|
|
617
|
+
const SignedStandingOrderActivationSchema = closed({
|
|
618
|
+
body: StandingOrderActivationSchema,
|
|
619
|
+
signer: Orn,
|
|
620
|
+
signature: _sinclair_typebox.Type.String({ pattern: "^[0-9a-f]{128}$" })
|
|
621
|
+
});
|
|
622
|
+
const standingOrderActivationV1 = {
|
|
623
|
+
literal: STANDING_ORDER_ACTIVATION_PROFILE,
|
|
624
|
+
rootShape: "event",
|
|
625
|
+
shapes: {
|
|
626
|
+
activation: StandingOrderActivationSchema,
|
|
627
|
+
signed: SignedStandingOrderActivationSchema,
|
|
628
|
+
event: StandingOrderActivationEventSchema
|
|
629
|
+
}
|
|
630
|
+
};
|
|
631
|
+
//#endregion
|
|
582
632
|
//#region src/kernel/ordinary-authority.v1.ts
|
|
583
633
|
const ORDINARY_AUTHORITY_PROFILE = "dsg.kernel.ordinary-authority/1";
|
|
584
634
|
const names = _sinclair_typebox.Type.Array(NonEmptyString, {
|
|
@@ -688,6 +738,125 @@ const eventV1 = {
|
|
|
688
738
|
}
|
|
689
739
|
};
|
|
690
740
|
//#endregion
|
|
741
|
+
//#region src/run/request.v1.ts
|
|
742
|
+
const REQUEST_PROFILE = "dsg.run.request/1";
|
|
743
|
+
const ExperimentRefSchema = closed({
|
|
744
|
+
digest: Hex64,
|
|
745
|
+
title: NonEmptyString,
|
|
746
|
+
workloadClass: NonEmptyString
|
|
747
|
+
});
|
|
748
|
+
const RequestCeilingsSchema = closed({
|
|
749
|
+
maxRunSeconds: SafeInt,
|
|
750
|
+
maxGpuSeconds: SafeInt,
|
|
751
|
+
maxParallelism: SafeInt,
|
|
752
|
+
costBoundMicroUsd: SafeInt
|
|
753
|
+
});
|
|
754
|
+
const RunRequestSchema = closed({
|
|
755
|
+
profile: _sinclair_typebox.Type.Literal(REQUEST_PROFILE),
|
|
756
|
+
experiment: ExperimentRefSchema,
|
|
757
|
+
workload: Reference,
|
|
758
|
+
inputs: _sinclair_typebox.Type.Array(Reference, { minItems: 1 }),
|
|
759
|
+
ceilings: RequestCeilingsSchema,
|
|
760
|
+
purpose: NonEmptyString,
|
|
761
|
+
window: NonEmptyString
|
|
762
|
+
});
|
|
763
|
+
const requestV1 = {
|
|
764
|
+
literal: REQUEST_PROFILE,
|
|
765
|
+
rootShape: "request",
|
|
766
|
+
shapes: { request: RunRequestSchema }
|
|
767
|
+
};
|
|
768
|
+
//#endregion
|
|
769
|
+
//#region src/run/decision.v1.ts
|
|
770
|
+
const DECISION_PROFILE = "dsg.run.decision/1";
|
|
771
|
+
const RunDecisionSchema = closed({
|
|
772
|
+
profile: _sinclair_typebox.Type.Literal(DECISION_PROFILE),
|
|
773
|
+
runId: NonEmptyString,
|
|
774
|
+
requestDigest: Hex64,
|
|
775
|
+
decision: _sinclair_typebox.Type.Union([_sinclair_typebox.Type.Literal("approved"), _sinclair_typebox.Type.Literal("refused")]),
|
|
776
|
+
cause: _sinclair_typebox.Type.Union([NonEmptyString, _sinclair_typebox.Type.Null()]),
|
|
777
|
+
decidedAt: UtcSecond,
|
|
778
|
+
decider: Orn,
|
|
779
|
+
signature: NonEmptyString
|
|
780
|
+
});
|
|
781
|
+
const decisionV1 = {
|
|
782
|
+
literal: DECISION_PROFILE,
|
|
783
|
+
rootShape: "decision",
|
|
784
|
+
shapes: { decision: RunDecisionSchema }
|
|
785
|
+
};
|
|
786
|
+
//#endregion
|
|
787
|
+
//#region src/run/run-summary.v1.ts
|
|
788
|
+
const RUN_SUMMARY_PROFILE = "dsg.run.run-summary/1";
|
|
789
|
+
const RunSummaryDecisionSchema = closed({
|
|
790
|
+
outcome: _sinclair_typebox.Type.Union([_sinclair_typebox.Type.Literal("approved"), _sinclair_typebox.Type.Literal("refused")]),
|
|
791
|
+
decider: PersonReference,
|
|
792
|
+
decidedAt: UtcSecond,
|
|
793
|
+
cause: _sinclair_typebox.Type.Union([NonEmptyString, _sinclair_typebox.Type.Null()]),
|
|
794
|
+
byStandingOrder: _sinclair_typebox.Type.Boolean()
|
|
795
|
+
});
|
|
796
|
+
const RunSummarySchema = closed({
|
|
797
|
+
profile: _sinclair_typebox.Type.Literal(RUN_SUMMARY_PROFILE),
|
|
798
|
+
runId: NonEmptyString,
|
|
799
|
+
experimentDigest: Hex64,
|
|
800
|
+
requester: _sinclair_typebox.Type.Union([PersonReference, _sinclair_typebox.Type.Null()]),
|
|
801
|
+
decision: _sinclair_typebox.Type.Union([RunSummaryDecisionSchema, _sinclair_typebox.Type.Null()]),
|
|
802
|
+
waitingOn: _sinclair_typebox.Type.Union([NonEmptyString, _sinclair_typebox.Type.Null()])
|
|
803
|
+
});
|
|
804
|
+
const runSummaryV1 = {
|
|
805
|
+
literal: RUN_SUMMARY_PROFILE,
|
|
806
|
+
rootShape: "summary",
|
|
807
|
+
shapes: { summary: RunSummarySchema }
|
|
808
|
+
};
|
|
809
|
+
//#endregion
|
|
810
|
+
//#region src/core/refusal.v1.ts
|
|
811
|
+
const REFUSAL_PROFILE = "dsg.core.refusal/1";
|
|
812
|
+
const RefusalCodeSchema = _sinclair_typebox.Type.Union([
|
|
813
|
+
_sinclair_typebox.Type.Literal("assertion_invalid"),
|
|
814
|
+
_sinclair_typebox.Type.Literal("audience_mismatch"),
|
|
815
|
+
_sinclair_typebox.Type.Literal("expired"),
|
|
816
|
+
_sinclair_typebox.Type.Literal("issuer_unknown"),
|
|
817
|
+
_sinclair_typebox.Type.Literal("transport_unverified"),
|
|
818
|
+
_sinclair_typebox.Type.Literal("relay_untrusted"),
|
|
819
|
+
_sinclair_typebox.Type.Literal("identity_unbound"),
|
|
820
|
+
_sinclair_typebox.Type.Literal("binding_expired"),
|
|
821
|
+
_sinclair_typebox.Type.Literal("principal_suspended"),
|
|
822
|
+
_sinclair_typebox.Type.Literal("not_dsg_account"),
|
|
823
|
+
_sinclair_typebox.Type.Literal("session_expired"),
|
|
824
|
+
_sinclair_typebox.Type.Literal("unknown_workload_class"),
|
|
825
|
+
_sinclair_typebox.Type.Literal("image_not_pinned"),
|
|
826
|
+
_sinclair_typebox.Type.Literal("not_a_requester"),
|
|
827
|
+
_sinclair_typebox.Type.Literal("document_invalid"),
|
|
828
|
+
_sinclair_typebox.Type.Literal("self_decision"),
|
|
829
|
+
_sinclair_typebox.Type.Literal("no_ceiling")
|
|
830
|
+
]);
|
|
831
|
+
const RefusalSchema = closed({
|
|
832
|
+
profile: _sinclair_typebox.Type.Literal(REFUSAL_PROFILE),
|
|
833
|
+
code: RefusalCodeSchema,
|
|
834
|
+
sentence: NonEmptyString
|
|
835
|
+
});
|
|
836
|
+
const refusalV1 = {
|
|
837
|
+
literal: REFUSAL_PROFILE,
|
|
838
|
+
rootShape: "refusal",
|
|
839
|
+
shapes: { refusal: RefusalSchema }
|
|
840
|
+
};
|
|
841
|
+
//#endregion
|
|
842
|
+
//#region src/core/identity-binding.v1.ts
|
|
843
|
+
const IDENTITY_BINDING_PROFILE = "dsg.core.identity-binding/1";
|
|
844
|
+
const GOOGLE_SIGN_IN_ISSUER = "https://accounts.google.com";
|
|
845
|
+
const IdentityBindingSchema = closed({
|
|
846
|
+
profile: _sinclair_typebox.Type.Literal(IDENTITY_BINDING_PROFILE),
|
|
847
|
+
principal: Orn,
|
|
848
|
+
issuer: _sinclair_typebox.Type.Literal(GOOGLE_SIGN_IN_ISSUER),
|
|
849
|
+
subject: NonEmptyString,
|
|
850
|
+
decider: Orn,
|
|
851
|
+
boundAt: UtcSecond,
|
|
852
|
+
signature: NonEmptyString
|
|
853
|
+
});
|
|
854
|
+
const identityBindingV1 = {
|
|
855
|
+
literal: IDENTITY_BINDING_PROFILE,
|
|
856
|
+
rootShape: "binding",
|
|
857
|
+
shapes: { binding: IdentityBindingSchema }
|
|
858
|
+
};
|
|
859
|
+
//#endregion
|
|
691
860
|
//#region src/index.ts
|
|
692
861
|
/** Every profile this version of the package defines, keyed by literal.
|
|
693
862
|
* Profile modules are added here as they are extracted; the rules test
|
|
@@ -697,12 +866,18 @@ const PROFILES = {
|
|
|
697
866
|
[dispatchConsumeV1.literal]: dispatchConsumeV1,
|
|
698
867
|
[operationV1.literal]: operationV1,
|
|
699
868
|
[eventV1.literal]: eventV1,
|
|
869
|
+
[requestV1.literal]: requestV1,
|
|
870
|
+
[decisionV1.literal]: decisionV1,
|
|
871
|
+
[runSummaryV1.literal]: runSummaryV1,
|
|
872
|
+
[refusalV1.literal]: refusalV1,
|
|
873
|
+
[identityBindingV1.literal]: identityBindingV1,
|
|
700
874
|
[signedLawV1.literal]: signedLawV1,
|
|
701
875
|
[resourceDescriptorV1.literal]: resourceDescriptorV1,
|
|
702
876
|
[adoptionFactV1.literal]: adoptionFactV1,
|
|
703
877
|
[revocationsV1.literal]: revocationsV1,
|
|
704
878
|
[bootstrapV1.literal]: bootstrapV1,
|
|
705
|
-
[ordinaryAuthorityV1.literal]: ordinaryAuthorityV1
|
|
879
|
+
[ordinaryAuthorityV1.literal]: ordinaryAuthorityV1,
|
|
880
|
+
[standingOrderActivationV1.literal]: standingOrderActivationV1
|
|
706
881
|
};
|
|
707
882
|
//#endregion
|
|
708
883
|
exports.ADOPTION_FACT_PROFILE = ADOPTION_FACT_PROFILE;
|
|
@@ -711,6 +886,7 @@ exports.AdoptionFactSchema = AdoptionFactSchema;
|
|
|
711
886
|
exports.BOOTSTRAP_PROFILE = BOOTSTRAP_PROFILE;
|
|
712
887
|
exports.BootstrapActionSchema = BootstrapActionSchema;
|
|
713
888
|
exports.BootstrapIntentSchema = BootstrapIntentSchema;
|
|
889
|
+
exports.DECISION_PROFILE = DECISION_PROFILE;
|
|
714
890
|
exports.DISPATCH_CONSUME_PROFILE = DISPATCH_CONSUME_PROFILE;
|
|
715
891
|
exports.DISPATCH_MAX_SKEW_SECONDS = DISPATCH_MAX_SKEW_SECONDS;
|
|
716
892
|
exports.DispatchConsumeRequestSchema = DispatchConsumeRequestSchema;
|
|
@@ -725,7 +901,11 @@ exports.EventStreamSealSchema = EventStreamSealSchema;
|
|
|
725
901
|
exports.ExecutionDocumentSchema = ExecutionDocumentSchema;
|
|
726
902
|
exports.ExecutionLawSchema = ExecutionLawSchema;
|
|
727
903
|
exports.ExecutionResourcesSchema = ExecutionResourcesSchema;
|
|
904
|
+
exports.ExperimentRefSchema = ExperimentRefSchema;
|
|
905
|
+
exports.GOOGLE_SIGN_IN_ISSUER = GOOGLE_SIGN_IN_ISSUER;
|
|
728
906
|
exports.Hex64 = Hex64;
|
|
907
|
+
exports.IDENTITY_BINDING_PROFILE = IDENTITY_BINDING_PROFILE;
|
|
908
|
+
exports.IdentityBindingSchema = IdentityBindingSchema;
|
|
729
909
|
exports.LIFECYCLE_KINDS = LIFECYCLE_KINDS;
|
|
730
910
|
exports.NonEmptyString = NonEmptyString;
|
|
731
911
|
exports.OPERATION_PROFILE = OPERATION_PROFILE;
|
|
@@ -742,19 +922,36 @@ exports.Orn = Orn;
|
|
|
742
922
|
exports.PRICE_PROFILE_REFERENCE = PRICE_PROFILE_REFERENCE;
|
|
743
923
|
exports.PROFILES = PROFILES;
|
|
744
924
|
exports.PROVIDER_PROTOCOL_VERSION = PROVIDER_PROTOCOL_VERSION;
|
|
925
|
+
exports.PersonReference = PersonReference;
|
|
926
|
+
exports.REFUSAL_PROFILE = REFUSAL_PROFILE;
|
|
927
|
+
exports.REQUEST_PROFILE = REQUEST_PROFILE;
|
|
745
928
|
exports.RESOURCE_DESCRIPTOR_KIND = RESOURCE_DESCRIPTOR_KIND;
|
|
746
929
|
exports.RESOURCE_DESCRIPTOR_PROFILE = RESOURCE_DESCRIPTOR_PROFILE;
|
|
747
930
|
exports.REVOCATIONS_PROFILE = REVOCATIONS_PROFILE;
|
|
931
|
+
exports.RUN_SUMMARY_PROFILE = RUN_SUMMARY_PROFILE;
|
|
748
932
|
exports.ReadbackSchema = ReadbackSchema;
|
|
749
933
|
exports.Reference = Reference;
|
|
934
|
+
exports.RefusalCodeSchema = RefusalCodeSchema;
|
|
935
|
+
exports.RefusalSchema = RefusalSchema;
|
|
936
|
+
exports.RequestCeilingsSchema = RequestCeilingsSchema;
|
|
750
937
|
exports.ResourceDescriptorSchema = ResourceDescriptorSchema;
|
|
751
938
|
exports.RevocationPointerSchema = RevocationPointerSchema;
|
|
752
939
|
exports.RevocationSchema = RevocationSchema;
|
|
940
|
+
exports.RunDecisionSchema = RunDecisionSchema;
|
|
941
|
+
exports.RunRequestSchema = RunRequestSchema;
|
|
942
|
+
exports.RunSummaryDecisionSchema = RunSummaryDecisionSchema;
|
|
943
|
+
exports.RunSummarySchema = RunSummarySchema;
|
|
753
944
|
exports.SCOPE_REFERENCE = SCOPE_REFERENCE;
|
|
754
945
|
exports.SIGNED_LAW_DOMAIN = SIGNED_LAW_DOMAIN;
|
|
755
946
|
exports.SIGNED_LAW_PROFILE = SIGNED_LAW_PROFILE;
|
|
947
|
+
exports.STANDING_ORDER_ACTIVATION_EVENT_KIND = STANDING_ORDER_ACTIVATION_EVENT_KIND;
|
|
948
|
+
exports.STANDING_ORDER_ACTIVATION_PROFILE = STANDING_ORDER_ACTIVATION_PROFILE;
|
|
756
949
|
exports.SafeInt = SafeInt;
|
|
757
950
|
exports.SignedBootstrapIntentSchema = SignedBootstrapIntentSchema;
|
|
758
951
|
exports.SignedLawBundleSchema = SignedLawBundleSchema;
|
|
952
|
+
exports.SignedStandingOrderActivationSchema = SignedStandingOrderActivationSchema;
|
|
953
|
+
exports.StandingOrderActivationEventSchema = StandingOrderActivationEventSchema;
|
|
954
|
+
exports.StandingOrderActivationSchema = StandingOrderActivationSchema;
|
|
955
|
+
exports.StandingOrderModeSchema = StandingOrderModeSchema;
|
|
759
956
|
exports.UtcSecond = UtcSecond;
|
|
760
957
|
exports.closed = closed;
|
package/dist/index.d.cts
CHANGED
|
@@ -19,6 +19,13 @@ declare const Reference: TObject<{
|
|
|
19
19
|
orn: import("@sinclair/typebox").TString;
|
|
20
20
|
sha256: import("@sinclair/typebox").TString;
|
|
21
21
|
}>;
|
|
22
|
+
/** A person named on a run. Missing on the wire is null; readers print
|
|
23
|
+
* "Not recorded". Never inferred. */
|
|
24
|
+
declare const PersonReference: TObject<{
|
|
25
|
+
principal: import("@sinclair/typebox").TString;
|
|
26
|
+
displayName: import("@sinclair/typebox").TString;
|
|
27
|
+
source: import("@sinclair/typebox").TString;
|
|
28
|
+
}>;
|
|
22
29
|
/** One wire profile: the literal, and every top-level shape that crosses
|
|
23
30
|
* the seam it names. Shape names are stable identifiers ("request",
|
|
24
31
|
* "lease", "refusal"); vectors address a shape as "<literal>#<shape>". */
|
|
@@ -623,6 +630,106 @@ declare const SignedBootstrapIntentSchemaValue: import("@sinclair/typebox").TObj
|
|
|
623
630
|
declare const SignedBootstrapIntentSchema: typeof SignedBootstrapIntentSchemaValue;
|
|
624
631
|
type SignedBootstrapIntent = Static<typeof SignedBootstrapIntentSchema>;
|
|
625
632
|
//#endregion
|
|
633
|
+
//#region src/kernel/standing-order-activation.v1.d.ts
|
|
634
|
+
declare const STANDING_ORDER_ACTIVATION_PROFILE: "dsg.kernel.standing-order-activation/1";
|
|
635
|
+
declare const STANDING_ORDER_ACTIVATION_EVENT_KIND: "standing_order_activated";
|
|
636
|
+
declare const StandingOrderModeSchemaValue: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"synthetic-test-only">, import("@sinclair/typebox").TLiteral<"human-authority">]>;
|
|
637
|
+
declare const StandingOrderModeSchema: typeof StandingOrderModeSchemaValue;
|
|
638
|
+
type StandingOrderMode = Static<typeof StandingOrderModeSchema>;
|
|
639
|
+
/** The immutable descriptor retained with the activation event. */
|
|
640
|
+
declare const StandingOrderActivationSchemaValue: import("@sinclair/typebox").TObject<{
|
|
641
|
+
profile: import("@sinclair/typebox").TLiteral<"dsg.kernel.standing-order-activation/1">;
|
|
642
|
+
/** Stable identity carried in the descriptor. The event's `activation`
|
|
643
|
+
* reference points to this descriptor, avoiding a digest cycle. */
|
|
644
|
+
activationId: import("@sinclair/typebox").TString;
|
|
645
|
+
/** Compare-and-set precondition. Null is valid only for the first head. */
|
|
646
|
+
expectedPreviousActivation: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
647
|
+
orn: import("@sinclair/typebox").TString;
|
|
648
|
+
sha256: import("@sinclair/typebox").TString;
|
|
649
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
650
|
+
law: import("@sinclair/typebox").TObject<{
|
|
651
|
+
orn: import("@sinclair/typebox").TString;
|
|
652
|
+
sha256: import("@sinclair/typebox").TString;
|
|
653
|
+
}>;
|
|
654
|
+
enrollment: import("@sinclair/typebox").TObject<{
|
|
655
|
+
orn: import("@sinclair/typebox").TString;
|
|
656
|
+
sha256: import("@sinclair/typebox").TString;
|
|
657
|
+
}>;
|
|
658
|
+
intent: import("@sinclair/typebox").TObject<{
|
|
659
|
+
orn: import("@sinclair/typebox").TString;
|
|
660
|
+
sha256: import("@sinclair/typebox").TString;
|
|
661
|
+
}>;
|
|
662
|
+
roots: import("@sinclair/typebox").TObject<{
|
|
663
|
+
orn: import("@sinclair/typebox").TString;
|
|
664
|
+
sha256: import("@sinclair/typebox").TString;
|
|
665
|
+
}>;
|
|
666
|
+
/** Activation-time observation. It never substitutes for a current read. */
|
|
667
|
+
revocation: import("@sinclair/typebox").TObject<{
|
|
668
|
+
orn: import("@sinclair/typebox").TString;
|
|
669
|
+
sha256: import("@sinclair/typebox").TString;
|
|
670
|
+
}>;
|
|
671
|
+
actor: import("@sinclair/typebox").TString;
|
|
672
|
+
mode: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"synthetic-test-only">, import("@sinclair/typebox").TLiteral<"human-authority">]>;
|
|
673
|
+
activatedAt: import("@sinclair/typebox").TString;
|
|
674
|
+
}>;
|
|
675
|
+
declare const StandingOrderActivationSchema: typeof StandingOrderActivationSchemaValue;
|
|
676
|
+
type StandingOrderActivation = Static<typeof StandingOrderActivationSchema>;
|
|
677
|
+
/** Append-only record event carrying the descriptor selected by the stream head. */
|
|
678
|
+
declare const StandingOrderActivationEventSchemaValue: import("@sinclair/typebox").TObject<{
|
|
679
|
+
profile: import("@sinclair/typebox").TLiteral<"dsg.kernel.standing-order-activation/1">;
|
|
680
|
+
kind: import("@sinclair/typebox").TLiteral<"standing_order_activated">;
|
|
681
|
+
stream: import("@sinclair/typebox").TString;
|
|
682
|
+
/** Reference to the canonical descriptor artifact. */
|
|
683
|
+
activation: import("@sinclair/typebox").TObject<{
|
|
684
|
+
orn: import("@sinclair/typebox").TString;
|
|
685
|
+
sha256: import("@sinclair/typebox").TString;
|
|
686
|
+
}>;
|
|
687
|
+
}>;
|
|
688
|
+
declare const StandingOrderActivationEventSchema: typeof StandingOrderActivationEventSchemaValue;
|
|
689
|
+
type StandingOrderActivationEvent = Static<typeof StandingOrderActivationEventSchema>;
|
|
690
|
+
/** Detached signature over the canonical activation descriptor bytes. */
|
|
691
|
+
declare const SignedStandingOrderActivationSchemaValue: import("@sinclair/typebox").TObject<{
|
|
692
|
+
body: import("@sinclair/typebox").TObject<{
|
|
693
|
+
profile: import("@sinclair/typebox").TLiteral<"dsg.kernel.standing-order-activation/1">;
|
|
694
|
+
/** Stable identity carried in the descriptor. The event's `activation`
|
|
695
|
+
* reference points to this descriptor, avoiding a digest cycle. */
|
|
696
|
+
activationId: import("@sinclair/typebox").TString;
|
|
697
|
+
/** Compare-and-set precondition. Null is valid only for the first head. */
|
|
698
|
+
expectedPreviousActivation: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
699
|
+
orn: import("@sinclair/typebox").TString;
|
|
700
|
+
sha256: import("@sinclair/typebox").TString;
|
|
701
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
702
|
+
law: import("@sinclair/typebox").TObject<{
|
|
703
|
+
orn: import("@sinclair/typebox").TString;
|
|
704
|
+
sha256: import("@sinclair/typebox").TString;
|
|
705
|
+
}>;
|
|
706
|
+
enrollment: import("@sinclair/typebox").TObject<{
|
|
707
|
+
orn: import("@sinclair/typebox").TString;
|
|
708
|
+
sha256: import("@sinclair/typebox").TString;
|
|
709
|
+
}>;
|
|
710
|
+
intent: import("@sinclair/typebox").TObject<{
|
|
711
|
+
orn: import("@sinclair/typebox").TString;
|
|
712
|
+
sha256: import("@sinclair/typebox").TString;
|
|
713
|
+
}>;
|
|
714
|
+
roots: import("@sinclair/typebox").TObject<{
|
|
715
|
+
orn: import("@sinclair/typebox").TString;
|
|
716
|
+
sha256: import("@sinclair/typebox").TString;
|
|
717
|
+
}>;
|
|
718
|
+
/** Activation-time observation. It never substitutes for a current read. */
|
|
719
|
+
revocation: import("@sinclair/typebox").TObject<{
|
|
720
|
+
orn: import("@sinclair/typebox").TString;
|
|
721
|
+
sha256: import("@sinclair/typebox").TString;
|
|
722
|
+
}>;
|
|
723
|
+
actor: import("@sinclair/typebox").TString;
|
|
724
|
+
mode: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"synthetic-test-only">, import("@sinclair/typebox").TLiteral<"human-authority">]>;
|
|
725
|
+
activatedAt: import("@sinclair/typebox").TString;
|
|
726
|
+
}>;
|
|
727
|
+
signer: import("@sinclair/typebox").TString;
|
|
728
|
+
signature: import("@sinclair/typebox").TString;
|
|
729
|
+
}>;
|
|
730
|
+
declare const SignedStandingOrderActivationSchema: typeof SignedStandingOrderActivationSchemaValue;
|
|
731
|
+
type SignedStandingOrderActivation = Static<typeof SignedStandingOrderActivationSchema>;
|
|
732
|
+
//#endregion
|
|
626
733
|
//#region src/kernel/ordinary-authority.v1.d.ts
|
|
627
734
|
declare const ORDINARY_AUTHORITY_PROFILE: "dsg.kernel.ordinary-authority/1";
|
|
628
735
|
declare const OrdinaryAuthoritySchemaValue: import("@sinclair/typebox").TObject<{
|
|
@@ -709,6 +816,133 @@ declare const EventStreamSealSchemaValue: import("@sinclair/typebox").TObject<{
|
|
|
709
816
|
declare const EventStreamSealSchema: typeof EventStreamSealSchemaValue;
|
|
710
817
|
type EventStreamSeal = Static<typeof EventStreamSealSchema>;
|
|
711
818
|
//#endregion
|
|
819
|
+
//#region src/run/request.v1.d.ts
|
|
820
|
+
declare const REQUEST_PROFILE: "dsg.run.request/1";
|
|
821
|
+
declare const ExperimentRefSchemaValue: import("@sinclair/typebox").TObject<{
|
|
822
|
+
digest: import("@sinclair/typebox").TString;
|
|
823
|
+
title: import("@sinclair/typebox").TString;
|
|
824
|
+
workloadClass: import("@sinclair/typebox").TString;
|
|
825
|
+
}>;
|
|
826
|
+
declare const ExperimentRefSchema: typeof ExperimentRefSchemaValue;
|
|
827
|
+
type ExperimentRef = Static<typeof ExperimentRefSchema>;
|
|
828
|
+
declare const RequestCeilingsSchemaValue: import("@sinclair/typebox").TObject<{
|
|
829
|
+
maxRunSeconds: import("@sinclair/typebox").TInteger;
|
|
830
|
+
maxGpuSeconds: import("@sinclair/typebox").TInteger;
|
|
831
|
+
maxParallelism: import("@sinclair/typebox").TInteger;
|
|
832
|
+
costBoundMicroUsd: import("@sinclair/typebox").TInteger;
|
|
833
|
+
}>;
|
|
834
|
+
declare const RequestCeilingsSchema: typeof RequestCeilingsSchemaValue;
|
|
835
|
+
type RequestCeilings = Static<typeof RequestCeilingsSchema>;
|
|
836
|
+
declare const RunRequestSchemaValue: import("@sinclair/typebox").TObject<{
|
|
837
|
+
profile: import("@sinclair/typebox").TLiteral<"dsg.run.request/1">;
|
|
838
|
+
experiment: import("@sinclair/typebox").TObject<{
|
|
839
|
+
digest: import("@sinclair/typebox").TString;
|
|
840
|
+
title: import("@sinclair/typebox").TString;
|
|
841
|
+
workloadClass: import("@sinclair/typebox").TString;
|
|
842
|
+
}>;
|
|
843
|
+
workload: import("@sinclair/typebox").TObject<{
|
|
844
|
+
orn: import("@sinclair/typebox").TString;
|
|
845
|
+
sha256: import("@sinclair/typebox").TString;
|
|
846
|
+
}>;
|
|
847
|
+
inputs: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
848
|
+
orn: import("@sinclair/typebox").TString;
|
|
849
|
+
sha256: import("@sinclair/typebox").TString;
|
|
850
|
+
}>>;
|
|
851
|
+
ceilings: import("@sinclair/typebox").TObject<{
|
|
852
|
+
maxRunSeconds: import("@sinclair/typebox").TInteger;
|
|
853
|
+
maxGpuSeconds: import("@sinclair/typebox").TInteger;
|
|
854
|
+
maxParallelism: import("@sinclair/typebox").TInteger;
|
|
855
|
+
costBoundMicroUsd: import("@sinclair/typebox").TInteger;
|
|
856
|
+
}>;
|
|
857
|
+
purpose: import("@sinclair/typebox").TString;
|
|
858
|
+
window: import("@sinclair/typebox").TString;
|
|
859
|
+
}>;
|
|
860
|
+
declare const RunRequestSchema: typeof RunRequestSchemaValue;
|
|
861
|
+
type RunRequest = Static<typeof RunRequestSchema>;
|
|
862
|
+
//#endregion
|
|
863
|
+
//#region src/run/decision.v1.d.ts
|
|
864
|
+
declare const DECISION_PROFILE: "dsg.run.decision/1";
|
|
865
|
+
declare const RunDecisionSchemaValue: import("@sinclair/typebox").TObject<{
|
|
866
|
+
profile: import("@sinclair/typebox").TLiteral<"dsg.run.decision/1">;
|
|
867
|
+
runId: import("@sinclair/typebox").TString;
|
|
868
|
+
requestDigest: import("@sinclair/typebox").TString;
|
|
869
|
+
decision: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"approved">, import("@sinclair/typebox").TLiteral<"refused">]>;
|
|
870
|
+
cause: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
871
|
+
decidedAt: import("@sinclair/typebox").TString;
|
|
872
|
+
decider: import("@sinclair/typebox").TString;
|
|
873
|
+
signature: import("@sinclair/typebox").TString;
|
|
874
|
+
}>;
|
|
875
|
+
declare const RunDecisionSchema: typeof RunDecisionSchemaValue;
|
|
876
|
+
type RunDecision = Static<typeof RunDecisionSchema>;
|
|
877
|
+
//#endregion
|
|
878
|
+
//#region src/run/run-summary.v1.d.ts
|
|
879
|
+
declare const RUN_SUMMARY_PROFILE: "dsg.run.run-summary/1";
|
|
880
|
+
declare const RunSummaryDecisionSchemaValue: import("@sinclair/typebox").TObject<{
|
|
881
|
+
outcome: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"approved">, import("@sinclair/typebox").TLiteral<"refused">]>;
|
|
882
|
+
decider: import("@sinclair/typebox").TObject<{
|
|
883
|
+
principal: import("@sinclair/typebox").TString;
|
|
884
|
+
displayName: import("@sinclair/typebox").TString;
|
|
885
|
+
source: import("@sinclair/typebox").TString;
|
|
886
|
+
}>;
|
|
887
|
+
decidedAt: import("@sinclair/typebox").TString;
|
|
888
|
+
cause: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
889
|
+
byStandingOrder: import("@sinclair/typebox").TBoolean;
|
|
890
|
+
}>;
|
|
891
|
+
declare const RunSummaryDecisionSchema: typeof RunSummaryDecisionSchemaValue;
|
|
892
|
+
type RunSummaryDecision = Static<typeof RunSummaryDecisionSchema>;
|
|
893
|
+
declare const RunSummarySchemaValue: import("@sinclair/typebox").TObject<{
|
|
894
|
+
profile: import("@sinclair/typebox").TLiteral<"dsg.run.run-summary/1">;
|
|
895
|
+
runId: import("@sinclair/typebox").TString;
|
|
896
|
+
experimentDigest: import("@sinclair/typebox").TString;
|
|
897
|
+
requester: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
898
|
+
principal: import("@sinclair/typebox").TString;
|
|
899
|
+
displayName: import("@sinclair/typebox").TString;
|
|
900
|
+
source: import("@sinclair/typebox").TString;
|
|
901
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
902
|
+
decision: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
903
|
+
outcome: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"approved">, import("@sinclair/typebox").TLiteral<"refused">]>;
|
|
904
|
+
decider: import("@sinclair/typebox").TObject<{
|
|
905
|
+
principal: import("@sinclair/typebox").TString;
|
|
906
|
+
displayName: import("@sinclair/typebox").TString;
|
|
907
|
+
source: import("@sinclair/typebox").TString;
|
|
908
|
+
}>;
|
|
909
|
+
decidedAt: import("@sinclair/typebox").TString;
|
|
910
|
+
cause: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
911
|
+
byStandingOrder: import("@sinclair/typebox").TBoolean;
|
|
912
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
913
|
+
waitingOn: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
914
|
+
}>;
|
|
915
|
+
declare const RunSummarySchema: typeof RunSummarySchemaValue;
|
|
916
|
+
type RunSummary = Static<typeof RunSummarySchema>;
|
|
917
|
+
//#endregion
|
|
918
|
+
//#region src/core/refusal.v1.d.ts
|
|
919
|
+
declare const REFUSAL_PROFILE: "dsg.core.refusal/1";
|
|
920
|
+
declare const RefusalCodeSchemaValue: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"assertion_invalid">, import("@sinclair/typebox").TLiteral<"audience_mismatch">, import("@sinclair/typebox").TLiteral<"expired">, import("@sinclair/typebox").TLiteral<"issuer_unknown">, import("@sinclair/typebox").TLiteral<"transport_unverified">, import("@sinclair/typebox").TLiteral<"relay_untrusted">, import("@sinclair/typebox").TLiteral<"identity_unbound">, import("@sinclair/typebox").TLiteral<"binding_expired">, import("@sinclair/typebox").TLiteral<"principal_suspended">, import("@sinclair/typebox").TLiteral<"not_dsg_account">, import("@sinclair/typebox").TLiteral<"session_expired">, import("@sinclair/typebox").TLiteral<"unknown_workload_class">, import("@sinclair/typebox").TLiteral<"image_not_pinned">, import("@sinclair/typebox").TLiteral<"not_a_requester">, import("@sinclair/typebox").TLiteral<"document_invalid">, import("@sinclair/typebox").TLiteral<"self_decision">, import("@sinclair/typebox").TLiteral<"no_ceiling">]>;
|
|
921
|
+
declare const RefusalCodeSchema: typeof RefusalCodeSchemaValue;
|
|
922
|
+
type RefusalCode = Static<typeof RefusalCodeSchema>;
|
|
923
|
+
declare const RefusalSchemaValue: import("@sinclair/typebox").TObject<{
|
|
924
|
+
profile: import("@sinclair/typebox").TLiteral<"dsg.core.refusal/1">;
|
|
925
|
+
code: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"assertion_invalid">, import("@sinclair/typebox").TLiteral<"audience_mismatch">, import("@sinclair/typebox").TLiteral<"expired">, import("@sinclair/typebox").TLiteral<"issuer_unknown">, import("@sinclair/typebox").TLiteral<"transport_unverified">, import("@sinclair/typebox").TLiteral<"relay_untrusted">, import("@sinclair/typebox").TLiteral<"identity_unbound">, import("@sinclair/typebox").TLiteral<"binding_expired">, import("@sinclair/typebox").TLiteral<"principal_suspended">, import("@sinclair/typebox").TLiteral<"not_dsg_account">, import("@sinclair/typebox").TLiteral<"session_expired">, import("@sinclair/typebox").TLiteral<"unknown_workload_class">, import("@sinclair/typebox").TLiteral<"image_not_pinned">, import("@sinclair/typebox").TLiteral<"not_a_requester">, import("@sinclair/typebox").TLiteral<"document_invalid">, import("@sinclair/typebox").TLiteral<"self_decision">, import("@sinclair/typebox").TLiteral<"no_ceiling">]>;
|
|
926
|
+
sentence: import("@sinclair/typebox").TString;
|
|
927
|
+
}>;
|
|
928
|
+
declare const RefusalSchema: typeof RefusalSchemaValue;
|
|
929
|
+
type Refusal = Static<typeof RefusalSchema>;
|
|
930
|
+
//#endregion
|
|
931
|
+
//#region src/core/identity-binding.v1.d.ts
|
|
932
|
+
declare const IDENTITY_BINDING_PROFILE: "dsg.core.identity-binding/1";
|
|
933
|
+
declare const GOOGLE_SIGN_IN_ISSUER: "https://accounts.google.com";
|
|
934
|
+
declare const IdentityBindingSchemaValue: import("@sinclair/typebox").TObject<{
|
|
935
|
+
profile: import("@sinclair/typebox").TLiteral<"dsg.core.identity-binding/1">;
|
|
936
|
+
principal: import("@sinclair/typebox").TString;
|
|
937
|
+
issuer: import("@sinclair/typebox").TLiteral<"https://accounts.google.com">;
|
|
938
|
+
subject: import("@sinclair/typebox").TString;
|
|
939
|
+
decider: import("@sinclair/typebox").TString;
|
|
940
|
+
boundAt: import("@sinclair/typebox").TString;
|
|
941
|
+
signature: import("@sinclair/typebox").TString;
|
|
942
|
+
}>;
|
|
943
|
+
declare const IdentityBindingSchema: typeof IdentityBindingSchemaValue;
|
|
944
|
+
type IdentityBinding = Static<typeof IdentityBindingSchema>;
|
|
945
|
+
//#endregion
|
|
712
946
|
//#region src/index.d.ts
|
|
713
947
|
/** Every profile this version of the package defines, keyed by literal.
|
|
714
948
|
* Profile modules are added here as they are extracted; the rules test
|
|
@@ -716,5 +950,5 @@ type EventStreamSeal = Static<typeof EventStreamSealSchema>;
|
|
|
716
950
|
* registered does not exist. */
|
|
717
951
|
declare const PROFILES: Readonly<Record<string, ProfileEntry>>;
|
|
718
952
|
//#endregion
|
|
719
|
-
export { ADOPTION_FACT_PROFILE, type Accepted, AcceptedSchema, type AdoptionFact, AdoptionFactSchema, BOOTSTRAP_PROFILE, type BootstrapAction, BootstrapActionSchema, type BootstrapIntent, BootstrapIntentSchema, DISPATCH_CONSUME_PROFILE, DISPATCH_MAX_SKEW_SECONDS, type DispatchConsumeRequest, DispatchConsumeRequestSchema, type DispatchLease, DispatchLeaseSchema, type DispatchRefusal, type DispatchRefusalCode, DispatchRefusalCodeSchema, DispatchRefusalSchema, EVENT_LINE_PREFIX, EVENT_PROFILE, EXECUTOR_PROTOCOL_VERSION, type Event, EventSchema, type EventStreamSeal, EventStreamSealSchema, type ExecutionDocument, ExecutionDocumentSchema, type ExecutionLaw, ExecutionLawSchema, type ExecutionResources, ExecutionResourcesSchema, type ExecutorProtocolVersion, Hex64, LIFECYCLE_KINDS, NonEmptyString, OPERATION_PROFILE, ORDINARY_AUTHORITY_PROFILE, type OperationBefore, OperationBeforeSchema, type OperationCleanup, OperationCleanupSchema, type OperationCost, OperationCostSchema, type OperationEvidence, OperationEvidenceSchema, type OperationExecution, OperationExecutionSchema, type OperationRequest, OperationRequestSchema, type OperationStatus, OperationStatusSchema, type OrdinaryAuthority, OrdinaryAuthoritySchema, Orn, PRICE_PROFILE_REFERENCE, PROFILES, PROVIDER_PROTOCOL_VERSION, type ProfileEntry, type ProviderProtocolVersion, RESOURCE_DESCRIPTOR_KIND, RESOURCE_DESCRIPTOR_PROFILE, REVOCATIONS_PROFILE, type Readback, ReadbackSchema, Reference, type ResourceDescriptor, ResourceDescriptorSchema, type RevocationPointer, RevocationPointerSchema, RevocationSchema, type RevocationSnapshot, SCOPE_REFERENCE, SIGNED_LAW_DOMAIN, SIGNED_LAW_PROFILE, SafeInt, type SignedBootstrapIntent, SignedBootstrapIntentSchema, type SignedLawBundle, SignedLawBundleSchema, UtcSecond, closed };
|
|
953
|
+
export { ADOPTION_FACT_PROFILE, type Accepted, AcceptedSchema, type AdoptionFact, AdoptionFactSchema, BOOTSTRAP_PROFILE, type BootstrapAction, BootstrapActionSchema, type BootstrapIntent, BootstrapIntentSchema, DECISION_PROFILE, DISPATCH_CONSUME_PROFILE, DISPATCH_MAX_SKEW_SECONDS, type DispatchConsumeRequest, DispatchConsumeRequestSchema, type DispatchLease, DispatchLeaseSchema, type DispatchRefusal, type DispatchRefusalCode, DispatchRefusalCodeSchema, DispatchRefusalSchema, EVENT_LINE_PREFIX, EVENT_PROFILE, EXECUTOR_PROTOCOL_VERSION, type Event, EventSchema, type EventStreamSeal, EventStreamSealSchema, type ExecutionDocument, ExecutionDocumentSchema, type ExecutionLaw, ExecutionLawSchema, type ExecutionResources, ExecutionResourcesSchema, type ExecutorProtocolVersion, type ExperimentRef, ExperimentRefSchema, GOOGLE_SIGN_IN_ISSUER, Hex64, IDENTITY_BINDING_PROFILE, type IdentityBinding, IdentityBindingSchema, LIFECYCLE_KINDS, NonEmptyString, OPERATION_PROFILE, ORDINARY_AUTHORITY_PROFILE, type OperationBefore, OperationBeforeSchema, type OperationCleanup, OperationCleanupSchema, type OperationCost, OperationCostSchema, type OperationEvidence, OperationEvidenceSchema, type OperationExecution, OperationExecutionSchema, type OperationRequest, OperationRequestSchema, type OperationStatus, OperationStatusSchema, type OrdinaryAuthority, OrdinaryAuthoritySchema, Orn, PRICE_PROFILE_REFERENCE, PROFILES, PROVIDER_PROTOCOL_VERSION, PersonReference, type ProfileEntry, type ProviderProtocolVersion, REFUSAL_PROFILE, REQUEST_PROFILE, RESOURCE_DESCRIPTOR_KIND, RESOURCE_DESCRIPTOR_PROFILE, REVOCATIONS_PROFILE, RUN_SUMMARY_PROFILE, type Readback, ReadbackSchema, Reference, type Refusal, type RefusalCode, RefusalCodeSchema, RefusalSchema, type RequestCeilings, RequestCeilingsSchema, type ResourceDescriptor, ResourceDescriptorSchema, type RevocationPointer, RevocationPointerSchema, RevocationSchema, type RevocationSnapshot, type RunDecision, RunDecisionSchema, type RunRequest, RunRequestSchema, type RunSummary, type RunSummaryDecision, RunSummaryDecisionSchema, RunSummarySchema, SCOPE_REFERENCE, SIGNED_LAW_DOMAIN, SIGNED_LAW_PROFILE, STANDING_ORDER_ACTIVATION_EVENT_KIND, STANDING_ORDER_ACTIVATION_PROFILE, SafeInt, type SignedBootstrapIntent, SignedBootstrapIntentSchema, type SignedLawBundle, SignedLawBundleSchema, type SignedStandingOrderActivation, SignedStandingOrderActivationSchema, type StandingOrderActivation, type StandingOrderActivationEvent, StandingOrderActivationEventSchema, StandingOrderActivationSchema, type StandingOrderMode, StandingOrderModeSchema, UtcSecond, closed };
|
|
720
954
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/primitives.ts","../src/kernel/dispatch-consume.v1.ts","../src/run/operation.v1.ts","../src/infra/signed-law.v1.ts","../src/infra/resource-descriptor.v1.ts","../src/infra/adoption-fact.v1.ts","../src/registry/revocations.v1.ts","../src/kernel/bootstrap.v1.ts","../src/kernel/ordinary-authority.v1.ts","../src/run/contract-versions.ts","../src/run/event.v1.ts","../src/index.ts"],"mappings":";;;cAOa,SAAU,UAAU,aAAW,YAAc,MAAI,QAAQ;;cAIzD,mCAAK;;cAGL,uCAAS;cAIT,4CAAc;cAEd,qCAAO;;;;;;cAOP,iCAAG;;cAGH,WAAS
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/primitives.ts","../src/kernel/dispatch-consume.v1.ts","../src/run/operation.v1.ts","../src/infra/signed-law.v1.ts","../src/infra/resource-descriptor.v1.ts","../src/infra/adoption-fact.v1.ts","../src/registry/revocations.v1.ts","../src/kernel/bootstrap.v1.ts","../src/kernel/standing-order-activation.v1.ts","../src/kernel/ordinary-authority.v1.ts","../src/run/contract-versions.ts","../src/run/event.v1.ts","../src/run/request.v1.ts","../src/run/decision.v1.ts","../src/run/run-summary.v1.ts","../src/core/refusal.v1.ts","../src/core/identity-binding.v1.ts","../src/index.ts"],"mappings":"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"}
|