@c4a/context 0.7.0 → 0.7.1
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 +1 -1
- package/README.zh-CN.md +1 -1
- package/docs/getting-started.md +30 -24
- package/docs/guides/agent-guide.md +41 -46
- package/docs/reference/code-extractors.md +7 -22
- package/docs/reference/indexer-provider-protocol.md +17 -28
- package/docs/reference/project-api.md +39 -38
- package/index.d.ts +2 -2
- package/index.js +127 -349
- package/indexerArtifactResult.d.ts +2 -3
- package/indexerCandidateCompile.d.ts +184 -0
- package/{indexerOverlayTrust.d.ts → indexerContractOverlay.d.ts} +13 -559
- package/indexerOverlayQuestionAmendment.d.ts +6 -6
- package/indexerOverlayQuestionApplyProposal.d.ts +8 -8
- package/indexerProvider.d.ts +0 -63
- package/package.json +1 -1
|
@@ -3209,7 +3209,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
|
|
|
3209
3209
|
}>;
|
|
3210
3210
|
target_registry_digest: z.ZodString;
|
|
3211
3211
|
overlay_digest: z.ZodString;
|
|
3212
|
-
|
|
3212
|
+
overlay_validation_receipt_digest: z.ZodString;
|
|
3213
3213
|
conformance_report_digest: z.ZodString;
|
|
3214
3214
|
added_target_domains: z.ZodArray<z.ZodObject<{
|
|
3215
3215
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -3674,7 +3674,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
|
|
|
3674
3674
|
}[] | undefined;
|
|
3675
3675
|
};
|
|
3676
3676
|
target_registry_digest: string;
|
|
3677
|
-
|
|
3677
|
+
overlay_validation_receipt_digest: string;
|
|
3678
3678
|
added_target_domains: {
|
|
3679
3679
|
id: string;
|
|
3680
3680
|
contract_digest: string;
|
|
@@ -3884,7 +3884,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
|
|
|
3884
3884
|
}[] | undefined;
|
|
3885
3885
|
};
|
|
3886
3886
|
target_registry_digest: string;
|
|
3887
|
-
|
|
3887
|
+
overlay_validation_receipt_digest: string;
|
|
3888
3888
|
added_target_domains: {
|
|
3889
3889
|
id: string;
|
|
3890
3890
|
contract_digest: string;
|
|
@@ -3963,7 +3963,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
|
|
|
3963
3963
|
amendment_digest: string;
|
|
3964
3964
|
}>;
|
|
3965
3965
|
overlay_contract_digest: z.ZodString;
|
|
3966
|
-
|
|
3966
|
+
overlay_validation_receipt_digest: z.ZodString;
|
|
3967
3967
|
rebind_receipt_digest: z.ZodString;
|
|
3968
3968
|
rebound_selection_digest: z.ZodString;
|
|
3969
3969
|
subject_key_schema_set_digest: z.ZodString;
|
|
@@ -4094,7 +4094,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
|
|
|
4094
4094
|
};
|
|
4095
4095
|
finalized_validation_report_digests: string[];
|
|
4096
4096
|
proposal_digest: string;
|
|
4097
|
-
|
|
4097
|
+
overlay_validation_receipt_digest: string;
|
|
4098
4098
|
target_document_content: string;
|
|
4099
4099
|
amendment: {
|
|
4100
4100
|
protocol: "context.indexer.overlay-question-amendment/v1";
|
|
@@ -4266,7 +4266,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
|
|
|
4266
4266
|
}[] | undefined;
|
|
4267
4267
|
};
|
|
4268
4268
|
target_registry_digest: string;
|
|
4269
|
-
|
|
4269
|
+
overlay_validation_receipt_digest: string;
|
|
4270
4270
|
added_target_domains: {
|
|
4271
4271
|
id: string;
|
|
4272
4272
|
contract_digest: string;
|
|
@@ -4449,7 +4449,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
|
|
|
4449
4449
|
};
|
|
4450
4450
|
finalized_validation_report_digests: string[];
|
|
4451
4451
|
proposal_digest: string;
|
|
4452
|
-
|
|
4452
|
+
overlay_validation_receipt_digest: string;
|
|
4453
4453
|
target_document_content: string;
|
|
4454
4454
|
amendment: {
|
|
4455
4455
|
protocol: "context.indexer.overlay-question-amendment/v1";
|
|
@@ -4621,7 +4621,7 @@ export declare const indexerOverlayQuestionRegistryApplyProposalSchema: z.ZodObj
|
|
|
4621
4621
|
}[] | undefined;
|
|
4622
4622
|
};
|
|
4623
4623
|
target_registry_digest: string;
|
|
4624
|
-
|
|
4624
|
+
overlay_validation_receipt_digest: string;
|
|
4625
4625
|
added_target_domains: {
|
|
4626
4626
|
id: string;
|
|
4627
4627
|
contract_digest: string;
|
package/indexerProvider.d.ts
CHANGED
|
@@ -889,19 +889,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
889
889
|
}>;
|
|
890
890
|
resource: z.ZodEffects<z.ZodString, string, string>;
|
|
891
891
|
integrity: z.ZodString;
|
|
892
|
-
attestation: z.ZodOptional<z.ZodObject<{
|
|
893
|
-
protocol: z.ZodLiteral<"context.indexer.overlay-attestation/v1">;
|
|
894
|
-
resource: z.ZodEffects<z.ZodString, string, string>;
|
|
895
|
-
integrity: z.ZodString;
|
|
896
|
-
}, "strict", z.ZodTypeAny, {
|
|
897
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
898
|
-
integrity: string;
|
|
899
|
-
resource: string;
|
|
900
|
-
}, {
|
|
901
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
902
|
-
integrity: string;
|
|
903
|
-
resource: string;
|
|
904
|
-
}>>;
|
|
905
892
|
}, "strict", z.ZodTypeAny, {
|
|
906
893
|
id: string;
|
|
907
894
|
protocol: "context.indexer.contract-overlay/v1";
|
|
@@ -911,11 +898,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
911
898
|
version: string;
|
|
912
899
|
profile: string;
|
|
913
900
|
};
|
|
914
|
-
attestation?: {
|
|
915
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
916
|
-
integrity: string;
|
|
917
|
-
resource: string;
|
|
918
|
-
} | undefined;
|
|
919
901
|
}, {
|
|
920
902
|
id: string;
|
|
921
903
|
protocol: "context.indexer.contract-overlay/v1";
|
|
@@ -925,11 +907,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
925
907
|
version: string;
|
|
926
908
|
profile: string;
|
|
927
909
|
};
|
|
928
|
-
attestation?: {
|
|
929
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
930
|
-
integrity: string;
|
|
931
|
-
resource: string;
|
|
932
|
-
} | undefined;
|
|
933
910
|
}>, "many">>;
|
|
934
911
|
}, "strict", z.ZodTypeAny, {
|
|
935
912
|
operations: ({
|
|
@@ -1010,11 +987,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1010
987
|
version: string;
|
|
1011
988
|
profile: string;
|
|
1012
989
|
};
|
|
1013
|
-
attestation?: {
|
|
1014
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
1015
|
-
integrity: string;
|
|
1016
|
-
resource: string;
|
|
1017
|
-
} | undefined;
|
|
1018
990
|
}[] | undefined;
|
|
1019
991
|
}, {
|
|
1020
992
|
operations: ({
|
|
@@ -1095,11 +1067,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1095
1067
|
version: string;
|
|
1096
1068
|
profile: string;
|
|
1097
1069
|
};
|
|
1098
|
-
attestation?: {
|
|
1099
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
1100
|
-
integrity: string;
|
|
1101
|
-
resource: string;
|
|
1102
|
-
} | undefined;
|
|
1103
1070
|
}[] | undefined;
|
|
1104
1071
|
}>, {
|
|
1105
1072
|
operations: ({
|
|
@@ -1180,11 +1147,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1180
1147
|
version: string;
|
|
1181
1148
|
profile: string;
|
|
1182
1149
|
};
|
|
1183
|
-
attestation?: {
|
|
1184
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
1185
|
-
integrity: string;
|
|
1186
|
-
resource: string;
|
|
1187
|
-
} | undefined;
|
|
1188
1150
|
}[] | undefined;
|
|
1189
1151
|
}, {
|
|
1190
1152
|
operations: ({
|
|
@@ -1265,11 +1227,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1265
1227
|
version: string;
|
|
1266
1228
|
profile: string;
|
|
1267
1229
|
};
|
|
1268
|
-
attestation?: {
|
|
1269
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
1270
|
-
integrity: string;
|
|
1271
|
-
resource: string;
|
|
1272
|
-
} | undefined;
|
|
1273
1230
|
}[] | undefined;
|
|
1274
1231
|
}>;
|
|
1275
1232
|
authoring_inspector: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
@@ -1955,11 +1912,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1955
1912
|
version: string;
|
|
1956
1913
|
profile: string;
|
|
1957
1914
|
};
|
|
1958
|
-
attestation?: {
|
|
1959
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
1960
|
-
integrity: string;
|
|
1961
|
-
resource: string;
|
|
1962
|
-
} | undefined;
|
|
1963
1915
|
}[] | undefined;
|
|
1964
1916
|
};
|
|
1965
1917
|
customization?: {
|
|
@@ -2140,11 +2092,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2140
2092
|
version: string;
|
|
2141
2093
|
profile: string;
|
|
2142
2094
|
};
|
|
2143
|
-
attestation?: {
|
|
2144
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
2145
|
-
integrity: string;
|
|
2146
|
-
resource: string;
|
|
2147
|
-
} | undefined;
|
|
2148
2095
|
}[] | undefined;
|
|
2149
2096
|
};
|
|
2150
2097
|
customization?: {
|
|
@@ -2325,11 +2272,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2325
2272
|
version: string;
|
|
2326
2273
|
profile: string;
|
|
2327
2274
|
};
|
|
2328
|
-
attestation?: {
|
|
2329
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
2330
|
-
integrity: string;
|
|
2331
|
-
resource: string;
|
|
2332
|
-
} | undefined;
|
|
2333
2275
|
}[] | undefined;
|
|
2334
2276
|
};
|
|
2335
2277
|
customization?: {
|
|
@@ -2510,11 +2452,6 @@ export declare const indexerProviderManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2510
2452
|
version: string;
|
|
2511
2453
|
profile: string;
|
|
2512
2454
|
};
|
|
2513
|
-
attestation?: {
|
|
2514
|
-
protocol: "context.indexer.overlay-attestation/v1";
|
|
2515
|
-
integrity: string;
|
|
2516
|
-
resource: string;
|
|
2517
|
-
} | undefined;
|
|
2518
2455
|
}[] | undefined;
|
|
2519
2456
|
};
|
|
2520
2457
|
customization?: {
|