@techspokes/typescript-wsdl-client 1.1.4 → 1.1.5
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 +49 -1
- package/dist/app/generateApp.d.ts.map +1 -1
- package/dist/app/generateApp.js +8 -6
- package/dist/cli.js +49 -5
- package/dist/client/checkedDirectRuntime.d.ts +59 -0
- package/dist/client/checkedDirectRuntime.d.ts.map +1 -0
- package/dist/client/checkedDirectRuntime.js +23 -0
- package/dist/client/directClientRuntime.d.ts +49 -0
- package/dist/client/directClientRuntime.d.ts.map +1 -0
- package/dist/client/directClientRuntime.js +112 -0
- package/dist/client/directClientVersion.d.ts +4 -0
- package/dist/client/directClientVersion.d.ts.map +1 -0
- package/dist/client/directClientVersion.js +3 -0
- package/dist/client/generateDirectClient.d.ts +14 -0
- package/dist/client/generateDirectClient.d.ts.map +1 -0
- package/dist/client/generateDirectClient.js +136 -0
- package/dist/compiler/buildCanonicalGraph.d.ts +7 -0
- package/dist/compiler/buildCanonicalGraph.d.ts.map +1 -0
- package/dist/compiler/buildCanonicalGraph.js +381 -0
- package/dist/compiler/canonicalGraph.d.ts +198 -0
- package/dist/compiler/canonicalGraph.d.ts.map +1 -0
- package/dist/compiler/canonicalGraph.js +37 -0
- package/dist/compiler/catalogErrors.d.ts +18 -0
- package/dist/compiler/catalogErrors.d.ts.map +1 -0
- package/dist/compiler/catalogErrors.js +86 -0
- package/dist/compiler/catalogProvenance.d.ts +15 -0
- package/dist/compiler/catalogProvenance.d.ts.map +1 -0
- package/dist/compiler/catalogProvenance.js +229 -0
- package/dist/compiler/checkedAssessment.d.ts +91 -0
- package/dist/compiler/checkedAssessment.d.ts.map +1 -0
- package/dist/compiler/checkedAssessment.js +300 -0
- package/dist/compiler/checkedSourcePreparation.d.ts +35 -0
- package/dist/compiler/checkedSourcePreparation.d.ts.map +1 -0
- package/dist/compiler/checkedSourcePreparation.js +131 -0
- package/dist/compiler/complexTypeContent.d.ts +59 -0
- package/dist/compiler/complexTypeContent.d.ts.map +1 -0
- package/dist/compiler/complexTypeContent.js +558 -0
- package/dist/compiler/composeCanonicalGraph.d.ts +69 -0
- package/dist/compiler/composeCanonicalGraph.d.ts.map +1 -0
- package/dist/compiler/composeCanonicalGraph.js +252 -0
- package/dist/compiler/dataOwnership.d.ts +22 -0
- package/dist/compiler/dataOwnership.d.ts.map +1 -0
- package/dist/compiler/dataOwnership.js +157 -0
- package/dist/compiler/datatypeValues.d.ts +47 -0
- package/dist/compiler/datatypeValues.d.ts.map +1 -0
- package/dist/compiler/datatypeValues.js +275 -0
- package/dist/compiler/directCodec.d.ts +59 -0
- package/dist/compiler/directCodec.d.ts.map +1 -0
- package/dist/compiler/directCodec.js +192 -0
- package/dist/compiler/directExecutionPolicy.d.ts +10 -0
- package/dist/compiler/directExecutionPolicy.d.ts.map +1 -0
- package/dist/compiler/directExecutionPolicy.js +17 -0
- package/dist/compiler/directOperation.d.ts +72 -0
- package/dist/compiler/directOperation.d.ts.map +1 -0
- package/dist/compiler/directOperation.js +282 -0
- package/dist/compiler/directSoap.d.ts +42 -0
- package/dist/compiler/directSoap.d.ts.map +1 -0
- package/dist/compiler/directSoap.js +298 -0
- package/dist/compiler/directSoapSource.d.ts +15 -0
- package/dist/compiler/directSoapSource.d.ts.map +1 -0
- package/dist/compiler/directSoapSource.js +86 -0
- package/dist/compiler/directSourceCapsule.d.ts +97 -0
- package/dist/compiler/directSourceCapsule.d.ts.map +1 -0
- package/dist/compiler/directSourceCapsule.js +305 -0
- package/dist/compiler/directStructure.d.ts +51 -0
- package/dist/compiler/directStructure.d.ts.map +1 -0
- package/dist/compiler/directStructure.js +252 -0
- package/dist/compiler/directStructurePlan.d.ts +16 -0
- package/dist/compiler/directStructurePlan.d.ts.map +1 -0
- package/dist/compiler/directStructurePlan.js +58 -0
- package/dist/compiler/directValues.d.ts +69 -0
- package/dist/compiler/directValues.d.ts.map +1 -0
- package/dist/compiler/directValues.js +282 -0
- package/dist/compiler/finiteRe01Verification.d.ts +140 -0
- package/dist/compiler/finiteRe01Verification.d.ts.map +1 -0
- package/dist/compiler/finiteRe01Verification.js +830 -0
- package/dist/compiler/graphTraversal.d.ts +11 -0
- package/dist/compiler/graphTraversal.d.ts.map +1 -0
- package/dist/compiler/graphTraversal.js +37 -0
- package/dist/compiler/hypotheticalScopedIdentity.d.ts +23 -0
- package/dist/compiler/hypotheticalScopedIdentity.d.ts.map +1 -0
- package/dist/compiler/hypotheticalScopedIdentity.js +81 -0
- package/dist/compiler/occurrenceAnalysis.d.ts +65 -0
- package/dist/compiler/occurrenceAnalysis.d.ts.map +1 -0
- package/dist/compiler/occurrenceAnalysis.js +300 -0
- package/dist/compiler/originalSourceMembership.d.ts +6 -0
- package/dist/compiler/originalSourceMembership.d.ts.map +1 -0
- package/dist/compiler/originalSourceMembership.js +31 -0
- package/dist/compiler/particleAttribution.d.ts +17 -0
- package/dist/compiler/particleAttribution.d.ts.map +1 -0
- package/dist/compiler/particleAttribution.js +474 -0
- package/dist/compiler/particleDeclarationConsistency.d.ts +24 -0
- package/dist/compiler/particleDeclarationConsistency.d.ts.map +1 -0
- package/dist/compiler/particleDeclarationConsistency.js +197 -0
- package/dist/compiler/particleExtension.d.ts +22 -0
- package/dist/compiler/particleExtension.d.ts.map +1 -0
- package/dist/compiler/particleExtension.js +119 -0
- package/dist/compiler/particleLocalAssessment.d.ts +20 -0
- package/dist/compiler/particleLocalAssessment.d.ts.map +1 -0
- package/dist/compiler/particleLocalAssessment.js +92 -0
- package/dist/compiler/particleRestriction.d.ts +24 -0
- package/dist/compiler/particleRestriction.d.ts.map +1 -0
- package/dist/compiler/particleRestriction.js +489 -0
- package/dist/compiler/particleSemanticView.d.ts +50 -0
- package/dist/compiler/particleSemanticView.d.ts.map +1 -0
- package/dist/compiler/particleSemanticView.js +297 -0
- package/dist/compiler/particleWildcardRelation.d.ts +88 -0
- package/dist/compiler/particleWildcardRelation.d.ts.map +1 -0
- package/dist/compiler/particleWildcardRelation.js +143 -0
- package/dist/compiler/re01CandidateCorrespondence.d.ts +64 -0
- package/dist/compiler/re01CandidateCorrespondence.d.ts.map +1 -0
- package/dist/compiler/re01CandidateCorrespondence.js +572 -0
- package/dist/compiler/re01TypeProperties.d.ts +71 -0
- package/dist/compiler/re01TypeProperties.d.ts.map +1 -0
- package/dist/compiler/re01TypeProperties.js +120 -0
- package/dist/compiler/re01TypePropertyValidation.d.ts +23 -0
- package/dist/compiler/re01TypePropertyValidation.d.ts.map +1 -0
- package/dist/compiler/re01TypePropertyValidation.js +161 -0
- package/dist/compiler/resolveCanonicalGraph.d.ts +38 -0
- package/dist/compiler/resolveCanonicalGraph.d.ts.map +1 -0
- package/dist/compiler/resolveCanonicalGraph.js +170 -0
- package/dist/compiler/scalarSchemaAssessment.d.ts +425 -0
- package/dist/compiler/scalarSchemaAssessment.d.ts.map +1 -0
- package/dist/compiler/scalarSchemaAssessment.js +5198 -0
- package/dist/compiler/schemaAttributeGroupProperties.d.ts +17 -0
- package/dist/compiler/schemaAttributeGroupProperties.d.ts.map +1 -0
- package/dist/compiler/schemaAttributeGroupProperties.js +53 -0
- package/dist/compiler/schemaAttributeProperties.d.ts +10 -0
- package/dist/compiler/schemaAttributeProperties.d.ts.map +1 -0
- package/dist/compiler/schemaAttributeProperties.js +11 -0
- package/dist/compiler/schemaAttributeUses.d.ts +90 -0
- package/dist/compiler/schemaAttributeUses.d.ts.map +1 -0
- package/dist/compiler/schemaAttributeUses.js +725 -0
- package/dist/compiler/schemaBinaryWordReconstruction.d.ts +10 -0
- package/dist/compiler/schemaBinaryWordReconstruction.d.ts.map +1 -0
- package/dist/compiler/schemaBinaryWordReconstruction.js +33 -0
- package/dist/compiler/schemaBuiltinFacets.d.ts +14 -0
- package/dist/compiler/schemaBuiltinFacets.d.ts.map +1 -0
- package/dist/compiler/schemaBuiltinFacets.js +51 -0
- package/dist/compiler/schemaCalendarImages.d.ts +8 -0
- package/dist/compiler/schemaCalendarImages.d.ts.map +1 -0
- package/dist/compiler/schemaCalendarImages.js +204 -0
- package/dist/compiler/schemaCalendarLanguage.d.ts +11 -0
- package/dist/compiler/schemaCalendarLanguage.d.ts.map +1 -0
- package/dist/compiler/schemaCalendarLanguage.js +227 -0
- package/dist/compiler/schemaComponentEquality.d.ts +28 -0
- package/dist/compiler/schemaComponentEquality.d.ts.map +1 -0
- package/dist/compiler/schemaComponentEquality.js +446 -0
- package/dist/compiler/schemaConstructionAssessment.d.ts +46 -0
- package/dist/compiler/schemaConstructionAssessment.d.ts.map +1 -0
- package/dist/compiler/schemaConstructionAssessment.js +663 -0
- package/dist/compiler/schemaDatatypeValues.d.ts +4 -0
- package/dist/compiler/schemaDatatypeValues.d.ts.map +1 -0
- package/dist/compiler/schemaDatatypeValues.js +2 -0
- package/dist/compiler/schemaDecimalLanguage.d.ts +7 -0
- package/dist/compiler/schemaDecimalLanguage.d.ts.map +1 -0
- package/dist/compiler/schemaDecimalLanguage.js +102 -0
- package/dist/compiler/schemaDeclarationPrimitives.d.ts +34 -0
- package/dist/compiler/schemaDeclarationPrimitives.d.ts.map +1 -0
- package/dist/compiler/schemaDeclarationPrimitives.js +194 -0
- package/dist/compiler/schemaDocumentSyntax.d.ts +55 -0
- package/dist/compiler/schemaDocumentSyntax.d.ts.map +1 -0
- package/dist/compiler/schemaDocumentSyntax.js +294 -0
- package/dist/compiler/schemaDurationLanguage.d.ts +11 -0
- package/dist/compiler/schemaDurationLanguage.d.ts.map +1 -0
- package/dist/compiler/schemaDurationLanguage.js +170 -0
- package/dist/compiler/schemaElementProperties.d.ts +16 -0
- package/dist/compiler/schemaElementProperties.d.ts.map +1 -0
- package/dist/compiler/schemaElementProperties.js +23 -0
- package/dist/compiler/schemaEndpointWordCapacity.d.ts +36 -0
- package/dist/compiler/schemaEndpointWordCapacity.d.ts.map +1 -0
- package/dist/compiler/schemaEndpointWordCapacity.js +39 -0
- package/dist/compiler/schemaExactCalendar.d.ts +73 -0
- package/dist/compiler/schemaExactCalendar.d.ts.map +1 -0
- package/dist/compiler/schemaExactCalendar.js +264 -0
- package/dist/compiler/schemaFacetAnnotation.d.ts +32 -0
- package/dist/compiler/schemaFacetAnnotation.d.ts.map +1 -0
- package/dist/compiler/schemaFacetAnnotation.js +199 -0
- package/dist/compiler/schemaGeneratedScalarShape.d.ts +35 -0
- package/dist/compiler/schemaGeneratedScalarShape.d.ts.map +1 -0
- package/dist/compiler/schemaGeneratedScalarShape.js +176 -0
- package/dist/compiler/schemaIdentityConstraints.d.ts +73 -0
- package/dist/compiler/schemaIdentityConstraints.d.ts.map +1 -0
- package/dist/compiler/schemaIdentityConstraints.js +362 -0
- package/dist/compiler/schemaIeeeLanguage.d.ts +43 -0
- package/dist/compiler/schemaIeeeLanguage.d.ts.map +1 -0
- package/dist/compiler/schemaIeeeLanguage.js +759 -0
- package/dist/compiler/schemaIntegerImages.d.ts +11 -0
- package/dist/compiler/schemaIntegerImages.d.ts.map +1 -0
- package/dist/compiler/schemaIntegerImages.js +113 -0
- package/dist/compiler/schemaLexicalPredicates.d.ts +29 -0
- package/dist/compiler/schemaLexicalPredicates.d.ts.map +1 -0
- package/dist/compiler/schemaLexicalPredicates.js +63 -0
- package/dist/compiler/schemaNotationProperties.d.ts +32 -0
- package/dist/compiler/schemaNotationProperties.d.ts.map +1 -0
- package/dist/compiler/schemaNotationProperties.js +84 -0
- package/dist/compiler/schemaNumericImageConditions.d.ts +24 -0
- package/dist/compiler/schemaNumericImageConditions.d.ts.map +1 -0
- package/dist/compiler/schemaNumericImageConditions.js +66 -0
- package/dist/compiler/schemaParticleWildcardProperties.d.ts +20 -0
- package/dist/compiler/schemaParticleWildcardProperties.d.ts.map +1 -0
- package/dist/compiler/schemaParticleWildcardProperties.js +43 -0
- package/dist/compiler/schemaPattern.d.ts +1062 -0
- package/dist/compiler/schemaPattern.d.ts.map +1 -0
- package/dist/compiler/schemaPattern.js +581 -0
- package/dist/compiler/schemaRegularLanguage.d.ts +67 -0
- package/dist/compiler/schemaRegularLanguage.d.ts.map +1 -0
- package/dist/compiler/schemaRegularLanguage.js +1166 -0
- package/dist/compiler/schemaScalarContext.d.ts +81 -0
- package/dist/compiler/schemaScalarContext.d.ts.map +1 -0
- package/dist/compiler/schemaScalarContext.js +78 -0
- package/dist/compiler/schemaScalarKernel.d.ts +182 -0
- package/dist/compiler/schemaScalarKernel.d.ts.map +1 -0
- package/dist/compiler/schemaScalarKernel.js +391 -0
- package/dist/compiler/schemaScalarWitnesses.d.ts +6 -0
- package/dist/compiler/schemaScalarWitnesses.d.ts.map +1 -0
- package/dist/compiler/schemaScalarWitnesses.js +118 -0
- package/dist/compiler/schemaSimpleTypeProperties.d.ts +95 -0
- package/dist/compiler/schemaSimpleTypeProperties.d.ts.map +1 -0
- package/dist/compiler/schemaSimpleTypeProperties.js +103 -0
- package/dist/compiler/schemaSourceGrammar.d.ts +27 -0
- package/dist/compiler/schemaSourceGrammar.d.ts.map +1 -0
- package/dist/compiler/schemaSourceGrammar.js +290 -0
- package/dist/compiler/schemaSourceLexical.d.ts +4 -0
- package/dist/compiler/schemaSourceLexical.d.ts.map +1 -0
- package/dist/compiler/schemaSourceLexical.js +12 -0
- package/dist/compiler/schemaSourceValues.d.ts +51 -0
- package/dist/compiler/schemaSourceValues.d.ts.map +1 -0
- package/dist/compiler/schemaSourceValues.js +225 -0
- package/dist/compiler/schemaSourceWildcards.d.ts +28 -0
- package/dist/compiler/schemaSourceWildcards.d.ts.map +1 -0
- package/dist/compiler/schemaSourceWildcards.js +247 -0
- package/dist/compiler/schemaSymbolicSequences.d.ts +16 -0
- package/dist/compiler/schemaSymbolicSequences.d.ts.map +1 -0
- package/dist/compiler/schemaSymbolicSequences.js +99 -0
- package/dist/compiler/schemaSymbolicValueSets.d.ts +32 -0
- package/dist/compiler/schemaSymbolicValueSets.d.ts.map +1 -0
- package/dist/compiler/schemaSymbolicValueSets.js +149 -0
- package/dist/compiler/schemaSyntaxAssessment.d.ts +25 -0
- package/dist/compiler/schemaSyntaxAssessment.d.ts.map +1 -0
- package/dist/compiler/schemaSyntaxAssessment.js +361 -0
- package/dist/compiler/schemaTemporalAliases.d.ts +6 -0
- package/dist/compiler/schemaTemporalAliases.d.ts.map +1 -0
- package/dist/compiler/schemaTemporalAliases.js +195 -0
- package/dist/compiler/schemaTokenImages.d.ts +9 -0
- package/dist/compiler/schemaTokenImages.d.ts.map +1 -0
- package/dist/compiler/schemaTokenImages.js +142 -0
- package/dist/compiler/schemaTypeIdentity.d.ts +39 -0
- package/dist/compiler/schemaTypeIdentity.d.ts.map +1 -0
- package/dist/compiler/schemaTypeIdentity.js +78 -0
- package/dist/compiler/schemaTypeRelations.d.ts +38 -0
- package/dist/compiler/schemaTypeRelations.d.ts.map +1 -0
- package/dist/compiler/schemaTypeRelations.js +576 -0
- package/dist/compiler/schemaUri.d.ts +13 -0
- package/dist/compiler/schemaUri.d.ts.map +1 -0
- package/dist/compiler/schemaUri.js +103 -0
- package/dist/compiler/schemaValueContext.d.ts +26 -0
- package/dist/compiler/schemaValueContext.d.ts.map +1 -0
- package/dist/compiler/schemaValueContext.js +1 -0
- package/dist/compiler/schemaValueImages.d.ts +10 -0
- package/dist/compiler/schemaValueImages.d.ts.map +1 -0
- package/dist/compiler/schemaValueImages.js +142 -0
- package/dist/compiler/schemaValueSequences.d.ts +15 -0
- package/dist/compiler/schemaValueSequences.d.ts.map +1 -0
- package/dist/compiler/schemaValueSequences.js +19 -0
- package/dist/compiler/semanticBudget.d.ts +50 -0
- package/dist/compiler/semanticBudget.d.ts.map +1 -0
- package/dist/compiler/semanticBudget.js +178 -0
- package/dist/compiler/semanticCatalog.d.ts +122 -0
- package/dist/compiler/semanticCatalog.d.ts.map +1 -0
- package/dist/compiler/semanticCatalog.js +160 -0
- package/dist/compiler/semanticContext.d.ts +172 -0
- package/dist/compiler/semanticContext.d.ts.map +1 -0
- package/dist/compiler/semanticContext.js +1168 -0
- package/dist/compiler/semanticTypeDependencies.d.ts +8 -0
- package/dist/compiler/semanticTypeDependencies.d.ts.map +1 -0
- package/dist/compiler/semanticTypeDependencies.js +64 -0
- package/dist/compiler/semanticTypeReference.d.ts +24 -0
- package/dist/compiler/semanticTypeReference.d.ts.map +1 -0
- package/dist/compiler/semanticTypeReference.js +36 -0
- package/dist/compiler/shapeResolver.d.ts +1 -0
- package/dist/compiler/shapeResolver.d.ts.map +1 -1
- package/dist/compiler/shapeResolver.js +7 -9
- package/dist/compiler/sourceSchemaBinding.d.ts +26 -0
- package/dist/compiler/sourceSchemaBinding.d.ts.map +1 -0
- package/dist/compiler/sourceSchemaBinding.js +39 -0
- package/dist/compiler/structuralCompanions.d.ts +16 -0
- package/dist/compiler/structuralCompanions.d.ts.map +1 -0
- package/dist/compiler/structuralCompanions.js +232 -0
- package/dist/compiler/validateSemanticGraph.d.ts +5 -0
- package/dist/compiler/validateSemanticGraph.d.ts.map +1 -0
- package/dist/compiler/validateSemanticGraph.js +376 -0
- package/dist/compiler/wildcardAlgebra.d.ts +26 -0
- package/dist/compiler/wildcardAlgebra.d.ts.map +1 -0
- package/dist/compiler/wildcardAlgebra.js +155 -0
- package/dist/gateway/generateGateway.d.ts.map +1 -1
- package/dist/gateway/generateGateway.js +2 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/loader/orderedSyntax.d.ts +77 -0
- package/dist/loader/orderedSyntax.d.ts.map +1 -0
- package/dist/loader/orderedSyntax.js +202 -0
- package/dist/loader/resolutionDepth.d.ts +7 -0
- package/dist/loader/resolutionDepth.d.ts.map +1 -0
- package/dist/loader/resolutionDepth.js +65 -0
- package/dist/loader/schemaInput.d.ts +53 -0
- package/dist/loader/schemaInput.d.ts.map +1 -0
- package/dist/loader/schemaInput.js +212 -0
- package/dist/loader/schemaResources.d.ts +59 -0
- package/dist/loader/schemaResources.d.ts.map +1 -0
- package/dist/loader/schemaResources.js +292 -0
- package/dist/openapi/generateOpenAPI.d.ts.map +1 -1
- package/dist/openapi/generateOpenAPI.js +2 -2
- package/dist/test/generateTests.d.ts.map +1 -1
- package/dist/test/generateTests.js +2 -2
- package/dist/util/xmlWhitespace.d.ts +3 -0
- package/dist/util/xmlWhitespace.d.ts.map +1 -0
- package/dist/util/xmlWhitespace.js +4 -0
- package/docs/README.md +14 -1
- package/docs/architecture.md +9 -0
- package/docs/cli-reference.md +21 -1
- package/docs/content-model-analysis.md +92 -0
- package/docs/content-model-baseline.md +121 -0
- package/docs/content-model-catalog.md +116 -0
- package/docs/content-model-companions.md +90 -0
- package/docs/content-model-composition.md +103 -0
- package/docs/content-model-decisions.md +79 -0
- package/docs/content-model-gateway-feasibility.md +169 -0
- package/docs/content-model-graph.md +121 -0
- package/docs/content-model-loading.md +163 -0
- package/docs/content-model-matching.md +85 -0
- package/docs/content-model-readiness.md +144 -0
- package/docs/content-model-resolution.md +81 -0
- package/docs/content-model-s02-handoff.md +98 -0
- package/docs/content-model-s06-au-01.md +425 -0
- package/docs/content-model-s06-dt-01.md +386 -0
- package/docs/content-model-s06-pw-01.md +350 -0
- package/docs/content-model-s06-re-01-resolver-implementation.md +869 -0
- package/docs/content-model-s06-re-01-resolver.md +513 -0
- package/docs/content-model-s06-re-01-scalar-witnesses.md +1423 -0
- package/docs/content-model-s06-re-01-support-reconstruction.md +6337 -0
- package/docs/content-model-s06-re-01.md +7477 -0
- package/docs/content-model-s06-research-handoff.md +909 -0
- package/docs/content-model-shipped-fix.md +83 -0
- package/docs/content-model-soap-feasibility.md +165 -0
- package/docs/decisions/002-streamable-responses.md +2 -0
- package/docs/decisions/003-content-model-contracts.md +280 -0
- package/docs/direct-values.md +311 -0
- package/docs/reference-validation.md +243 -0
- package/docs/releases/v1.1.5.md +38 -0
- package/docs/roadmap/README.md +2 -2
- package/docs/supported-patterns.md +13 -5
- package/package.json +26 -13
- package/src/generation/preambles/direct-client/typescript.preamble +3 -0
package/README.md
CHANGED
|
@@ -19,6 +19,9 @@ Created from production integration work at [TechSpokes](https://www.techspokes.
|
|
|
19
19
|
|
|
20
20
|
See [Start Here](docs/start-here.md) for detailed guidance on choosing a path.
|
|
21
21
|
|
|
22
|
+
Unreleased checked direct artifacts can use the [versioned package-root runtime binding](docs/direct-values.md#package-root-binding-for-generated-direct-clients).
|
|
23
|
+
Its restricted grammar and owned-loopback transport are separate from the existing generation commands.
|
|
24
|
+
|
|
22
25
|
## Why Choose This
|
|
23
26
|
|
|
24
27
|
Most tools in this space stop at one layer: a SOAP runtime, type generation, or spec conversion. This package generates the full stack from a single WSDL source.
|
|
@@ -208,12 +211,38 @@ See [CLI Reference](docs/cli-reference.md) for all flags and examples.
|
|
|
208
211
|
|-------|-------------|
|
|
209
212
|
| [Start Here](docs/start-here.md) | What this is, who it is for, choose your path |
|
|
210
213
|
| [Supported Patterns](docs/supported-patterns.md) | WSDL/XSD features handled and current limitations |
|
|
214
|
+
| [Content Model Baseline](docs/content-model-baseline.md) | Reproducible S01 reference evidence and current semantic limits |
|
|
215
|
+
| [Shipped Fix Reconciliation](docs/content-model-shipped-fix.md) | Contributor attribution, delivered occurrence behavior and S02 handoff |
|
|
216
|
+
| [Content Model Contracts (ADR-003)](docs/decisions/003-content-model-contracts.md) | Fidelity, profile, compatibility and integration contracts for S02 |
|
|
217
|
+
| [Content Model Decision Register](docs/content-model-decisions.md) | Stable S02 decisions, evidence, owners and prerequisite gates |
|
|
218
|
+
| [SOAP Feasibility Evidence](docs/content-model-soap-feasibility.md) | Local ordered SOAP exchanges, raw transport seams and capability limits |
|
|
219
|
+
| [Gateway Feasibility Evidence](docs/content-model-gateway-feasibility.md) | Non-mutating route validation, dialect boundaries and serialized HTTP bytes |
|
|
220
|
+
| [S02 Handoff](docs/content-model-s02-handoff.md) | Delivery checkpoints, validation, provisional limits and S03 continuation |
|
|
221
|
+
| [Ordered Schema Loading](docs/content-model-loading.md) | Internal ordered syntax, provenance and controlled resolution contracts |
|
|
222
|
+
| [Canonical Schema Graph](docs/content-model-graph.md) | Immutable declarations, use-site particles, references and lexical context |
|
|
223
|
+
| [Canonical Reference Resolution](docs/content-model-resolution.md) | Namespace visibility, complete targets, legal recursion and component-cycle diagnostics |
|
|
224
|
+
| [Canonical Derivation Composition](docs/content-model-composition.md) | Distinct extension/restriction views, attributes, wildcards and legality obligations |
|
|
225
|
+
| [Structural Companion Catalogs](docs/content-model-companions.md) | Required closures, actual structural equality, provenance and shared semantic dispatch |
|
|
226
|
+
| [Exact Particle Analysis](docs/content-model-analysis.md) | Exact contributions, particle emptiness and bounded immutable summaries |
|
|
227
|
+
| [S06 Attribute Research](docs/content-model-s06-au-01.md) | Repeated attribute-use identities, constraints and interpretation alternatives |
|
|
228
|
+
| [S06 Reordered Derivation Research](docs/content-model-s06-re-01.md) | Constructive witnesses, counterexamples and decision-procedure proof obligations |
|
|
229
|
+
| [S06 RE01 Support Reconstruction](docs/content-model-s06-re-01-support-reconstruction.md) | Conditional member/copy/bundle reductions, value/name palettes and open support bounds |
|
|
230
|
+
| [S06 RE01 Scalar Witness Construction](docs/content-model-s06-re-01-scalar-witnesses.md) | Shared endpoint tuple construction, scalar counterexamples and open materialization gates |
|
|
231
|
+
| [S06 Hypothetical Resolver Specification](docs/content-model-s06-re-01-resolver.md) | Candidate contexts, component identity, validation ownership and implementation tasks |
|
|
232
|
+
| [S06 Research Resolver Implementation](docs/content-model-s06-re-01-resolver-implementation.md) | Resolver guarantees, abstract wildcard properties, verification and the future production seam |
|
|
233
|
+
| [S06 Wildcard Research](docs/content-model-s06-pw-01.md) | Member and whole-group cardinality, original namespace context and authority |
|
|
234
|
+
| [S06 Calendar Research](docs/content-model-s06-dt-01.md) | Exact negative-year calendar alternatives and corrected reference observations |
|
|
235
|
+
| [S06 Research Handoff](docs/content-model-s06-research-handoff.md) | Joint contracts, reproducible evidence, unresolved gates and production ownership |
|
|
236
|
+
| [Semantic Catalog Format 2](docs/content-model-catalog.md) | Deterministic persistence, typed validation and early compatibility routing |
|
|
211
237
|
| [Output Anatomy](docs/output-anatomy.md) | What gets generated and how to use it |
|
|
212
238
|
|
|
213
239
|
### Adopt
|
|
214
240
|
|
|
215
241
|
| Guide | Description |
|
|
216
242
|
|-------|-------------|
|
|
243
|
+
| [Checked WSDL readiness](docs/content-model-readiness.md) | Measured assessment corpus and bounded P3 implementation packet |
|
|
244
|
+
| [Direct Scalar Values](docs/direct-values.md) | Internal scalar mapping, fresh inverse and bounded bare-root XML codec |
|
|
245
|
+
| [Direct Structural Matching](docs/content-model-matching.md) | Internal structure-only matcher, evidence and scalar handoff |
|
|
217
246
|
| [CLI Reference](docs/cli-reference.md) | All commands with flags and examples |
|
|
218
247
|
| [Working With Generated Code](docs/generated-code.md) | Using clients, types, and operations |
|
|
219
248
|
| [Configuration](docs/configuration.md) | Gateway security, upstream SOAP security, tags, operation overrides |
|
|
@@ -228,6 +257,7 @@ See [CLI Reference](docs/cli-reference.md) for all flags and examples.
|
|
|
228
257
|
| [Production Guide](docs/production.md) | CI/CD, validation, logging |
|
|
229
258
|
| [Troubleshooting](docs/troubleshooting.md) | Common issues and debugging |
|
|
230
259
|
| [Release Notes](docs/releases/README.md) | Per-version GitHub release notes used by the draft release workflow |
|
|
260
|
+
| [v1.1.5 Release Notes](docs/releases/v1.1.5.md) | Restricted checked-direct runtime binding, safe local SOAP evidence and explicit caller controls |
|
|
231
261
|
| [v1.1.4 Release Notes](docs/releases/v1.1.4.md) | Named SOAP imports and compiled-client coverage on Node 24 and 26 |
|
|
232
262
|
| [v1.1.3 Release Notes](docs/releases/v1.1.3.md) | Dependency security updates and Node 24 development alignment |
|
|
233
263
|
| [v1.1.2 Release Notes](docs/releases/v1.1.2.md) | Sequence occurrence bounds and singleton SOAP response normalization |
|
|
@@ -241,9 +271,11 @@ See [CLI Reference](docs/cli-reference.md) for all flags and examples.
|
|
|
241
271
|
| [Programmatic API](docs/api-reference.md) | TypeScript functions for build tools |
|
|
242
272
|
| [Core Concepts](docs/concepts.md) | Flattening, $value, primitives, determinism |
|
|
243
273
|
| [Architecture](docs/architecture.md) | Internal pipeline for contributors |
|
|
274
|
+
| [Reference Validation](docs/reference-validation.md) | Internal evidence contract and Node tooling migration inventory |
|
|
244
275
|
| [File Naming And Path Organization](docs/file-naming-and-path-organization.md) | Contributor convention for taxonomy paths and fixture retrieval |
|
|
245
276
|
| [Agent Skill Artifact](docs/agent-skill.md) | Release ZIP for consumer-project AI agents |
|
|
246
|
-
| [
|
|
277
|
+
| [Current Roadmap](ROADMAP.md) | Published baseline, active content-model backlog, and delivery milestones |
|
|
278
|
+
| [Version 1.0 Roadmap Plan](docs/roadmap/README.md) | Historical completed implementation slices and qualification gates for 1.0 |
|
|
247
279
|
| [Streamable Responses (ADR-002)](docs/decisions/002-streamable-responses.md) | Opt-in streaming: client `AsyncIterable`, gateway NDJSON or JSON array, `x-wsdl-tsc-stream` |
|
|
248
280
|
| [Version Migration](docs/migration.md) | Upgrading between package versions |
|
|
249
281
|
|
|
@@ -276,3 +308,19 @@ Built and maintained by [TechSpokes](https://www.techspokes.com). Created by [Se
|
|
|
276
308
|
- Community help: [GitHub Discussions](https://github.com/techspokes/typescript-wsdl-client/discussions)
|
|
277
309
|
- Bug reports: [GitHub Issues](https://github.com/techspokes/typescript-wsdl-client/issues)
|
|
278
310
|
- Commercial support and integration consulting: [techspokes.com/contact](https://www.techspokes.com/contact/)
|
|
311
|
+
|
|
312
|
+
## Schema assessment diagnostics
|
|
313
|
+
|
|
314
|
+
`assess` is an additive diagnostic command. It writes a versioned JSON report without generating artifacts or dispatching SOAP.
|
|
315
|
+
|
|
316
|
+
```bash
|
|
317
|
+
npx wsdl-tsc assess --wsdl-source examples/minimal/weather.wsdl --report .generated/assessment.json
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
Create the report directory first. Local loading defaults to the source directory; use repeated `--schema-root` values for additional authorized roots and `--schema-origin` for exact HTTP(S) origins. Network access has no implicit authorization. `--assessment-max-work` and `--assessment-max-nodes` configure the inclusive shared request limits.
|
|
321
|
+
|
|
322
|
+
The programmatic `assessSchemaSource(source, {loading: {policy: {fileRoots: [...]}}})` entry returns the same report; `serializeAssessmentReport` publishes its precharged JSON. `parseAssessmentReport` checks diagnostic compatibility and consistency, but does not authenticate proof. Reports expose opaque source/context identifiers and exact resource digests rather than source URLs or payloads.
|
|
323
|
+
|
|
324
|
+
The report separates native schema premises, dated-XSD correspondence, execution and per-operation runtime capabilities. Exit 0 requires established native scope and qualified correspondence; 2 means inconclusive, 3 native scope disproved, 4 resource-limit, 5 cancelled and 1 operational failure. Execution failure takes precedence over retained schema facts. An assessment never admits structured generation; legacy defaults and existing commands are unchanged.
|
|
325
|
+
|
|
326
|
+
See the [checked-product assurance contract](docs/decisions/003-content-model-contracts.md#checked-product-assessment-amendment-p1-d01) for the sufficient direct correspondence route and remaining downstream obligations.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateApp.d.ts","sourceRoot":"","sources":["../../src/app/generateApp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generateApp.d.ts","sourceRoot":"","sources":["../../src/app/generateApp.ts"],"names":[],"mappings":"AAkCA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAuqBD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAmDzE"}
|
package/dist/app/generateApp.js
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
* - Skip-if-exists protection for scaffold files (override with force option)
|
|
23
23
|
*/
|
|
24
24
|
import fs from "node:fs";
|
|
25
|
+
import { readLegacyCatalogFile, CatalogError } from "../compiler/semanticCatalog.js";
|
|
25
26
|
import { writeGeneratedSource } from "../generation/writeGeneratedSource.js";
|
|
26
27
|
import path from "node:path";
|
|
27
28
|
import { deriveClientName } from "../util/tools.js";
|
|
@@ -147,10 +148,11 @@ function shouldWriteScaffoldFile(filePath, force) {
|
|
|
147
148
|
*/
|
|
148
149
|
function readCatalog(catalogPath) {
|
|
149
150
|
try {
|
|
150
|
-
|
|
151
|
-
return JSON.parse(content);
|
|
151
|
+
return readLegacyCatalogFile(catalogPath);
|
|
152
152
|
}
|
|
153
153
|
catch (err) {
|
|
154
|
+
if (err instanceof CatalogError)
|
|
155
|
+
throw err;
|
|
154
156
|
throw new Error(`Failed to read or parse catalog file: ${err instanceof Error ? err.message : String(err)}`);
|
|
155
157
|
}
|
|
156
158
|
}
|
|
@@ -526,13 +528,13 @@ function generatePackageJson(appDir, force) {
|
|
|
526
528
|
dev: "tsx watch server.ts",
|
|
527
529
|
},
|
|
528
530
|
dependencies: {
|
|
529
|
-
fastify: "^5.12.
|
|
530
|
-
"fastify-plugin": "^6.0.
|
|
531
|
+
fastify: "^5.12.7",
|
|
532
|
+
"fastify-plugin": "^6.0.1",
|
|
531
533
|
saxes: "^6.0.0",
|
|
532
|
-
soap: "^1.
|
|
534
|
+
soap: "^1.14.0",
|
|
533
535
|
},
|
|
534
536
|
devDependencies: {
|
|
535
|
-
"@types/node": "^26.6.
|
|
537
|
+
"@types/node": "^26.6.6",
|
|
536
538
|
tsx: "^4.23.15",
|
|
537
539
|
typescript: "^6.0.3",
|
|
538
540
|
},
|
package/dist/cli.js
CHANGED
|
@@ -9,15 +9,19 @@
|
|
|
9
9
|
* invocation (no subcommand) is kept for backward compatibility and behaves like the client
|
|
10
10
|
* command with legacy flags.
|
|
11
11
|
*/
|
|
12
|
+
import { assessSchemaSource, serializeAssessmentReport, assessmentExitCode } from "./compiler/checkedAssessment.js";
|
|
12
13
|
import yargs from "yargs/yargs";
|
|
13
14
|
import { hideBin } from "yargs/helpers";
|
|
14
15
|
import fs from "node:fs";
|
|
15
16
|
import path from "node:path";
|
|
17
|
+
import { fileURLToPath } from "node:url";
|
|
18
|
+
import { resolveResourceUri } from "./loader/schemaResources.js";
|
|
16
19
|
import { loadWsdl } from "./loader/wsdlLoader.js";
|
|
17
20
|
import { compileCatalog } from "./compiler/schemaCompiler.js";
|
|
18
21
|
import { generateTypes } from "./client/generateTypes.js";
|
|
19
22
|
import { generateUtils } from "./client/generateUtils.js";
|
|
20
23
|
import { generateCatalog } from "./compiler/generateCatalog.js";
|
|
24
|
+
import { readLegacyCatalogFile, CatalogError } from "./compiler/semanticCatalog.js";
|
|
21
25
|
import { generateClient } from "./client/generateClient.js";
|
|
22
26
|
import { generateOperations } from "./client/generateOperations.js";
|
|
23
27
|
import { generateOpenAPI } from "./openapi/generateOpenAPI.js";
|
|
@@ -47,7 +51,7 @@ function loadStreamConfigOrExit(filePath) {
|
|
|
47
51
|
// Process command line arguments, removing the first two elements (node executable and script path)
|
|
48
52
|
const rawArgs = hideBin(process.argv);
|
|
49
53
|
// Available commands
|
|
50
|
-
const COMMANDS = ["compile", "client", "openapi", "gateway", "app", "pipeline"];
|
|
54
|
+
const COMMANDS = ["compile", "client", "openapi", "gateway", "app", "pipeline", "assess"];
|
|
51
55
|
// ---------------------------------------------------------------------------
|
|
52
56
|
// Show help if no subcommand provided
|
|
53
57
|
// ---------------------------------------------------------------------------
|
|
@@ -56,6 +60,7 @@ if (!rawArgs[0] || !COMMANDS.includes(rawArgs[0])) {
|
|
|
56
60
|
.version(false)
|
|
57
61
|
.scriptName("wsdl-tsc")
|
|
58
62
|
.usage("$0 <command> [options]")
|
|
63
|
+
.command("assess", "Assess schema obligations without generating artifacts")
|
|
59
64
|
.command("compile", "Compile WSDL to catalog.json")
|
|
60
65
|
.command("client", "Generate TypeScript SOAP client from WSDL or catalog")
|
|
61
66
|
.command("openapi", "Generate OpenAPI specification from WSDL or catalog")
|
|
@@ -68,6 +73,45 @@ if (!rawArgs[0] || !COMMANDS.includes(rawArgs[0])) {
|
|
|
68
73
|
.parse();
|
|
69
74
|
process.exit(1);
|
|
70
75
|
}
|
|
76
|
+
// Assessment is deliberately independent of every generation command.
|
|
77
|
+
if (rawArgs[0] === "assess") {
|
|
78
|
+
const argv = await yargs(rawArgs.slice(1)).version(false).scriptName("wsdl-tsc assess")
|
|
79
|
+
.option("wsdl-source", { type: "string", demandOption: true, desc: "Authorized local WSDL/XSD source" })
|
|
80
|
+
.option("report", { type: "string", demandOption: true, desc: "Diagnostic JSON report path" })
|
|
81
|
+
.option("schema-root", { type: "array", string: true, desc: "Authorized schema root; defaults to source directory" })
|
|
82
|
+
.option("schema-origin", { type: "array", string: true, desc: "Explicitly authorized HTTP(S) origin" })
|
|
83
|
+
.option("assessment-max-work", { type: "number", desc: "Inclusive shared request work limit" })
|
|
84
|
+
.option("assessment-max-nodes", { type: "number", desc: "Inclusive shared request node limit" })
|
|
85
|
+
.strict().help().parse();
|
|
86
|
+
const controller = new AbortController();
|
|
87
|
+
const cancel = () => controller.abort();
|
|
88
|
+
process.on("SIGINT", cancel);
|
|
89
|
+
try {
|
|
90
|
+
const source = argv["wsdl-source"];
|
|
91
|
+
let localFile;
|
|
92
|
+
try {
|
|
93
|
+
const uri = resolveResourceUri(source);
|
|
94
|
+
localFile = uri.startsWith("file:") ? fileURLToPath(uri) : undefined;
|
|
95
|
+
}
|
|
96
|
+
catch {
|
|
97
|
+
// Root inference grants nothing on failure; the API still publishes its loading diagnostic.
|
|
98
|
+
}
|
|
99
|
+
const report = await assessSchemaSource(source, { signal: controller.signal, loading: { policy: {
|
|
100
|
+
fileRoots: argv["schema-root"] ?? (localFile ? [path.dirname(localFile)] : []),
|
|
101
|
+
allowedOrigins: argv["schema-origin"] ?? [],
|
|
102
|
+
} }, limits: { maxWork: argv["assessment-max-work"], maxNodes: argv["assessment-max-nodes"] } });
|
|
103
|
+
fs.writeFileSync(argv.report, serializeAssessmentReport(report), { encoding: "utf8" });
|
|
104
|
+
console.error(`Schema: ${report.schema}; correspondence: ${report.correspondence}; execution: ${report.execution}; generation: not admitted`);
|
|
105
|
+
process.exitCode = assessmentExitCode(report);
|
|
106
|
+
}
|
|
107
|
+
catch {
|
|
108
|
+
console.error("Assessment or report publication failed; source details redacted");
|
|
109
|
+
process.exitCode = 1;
|
|
110
|
+
}
|
|
111
|
+
finally {
|
|
112
|
+
process.off("SIGINT", cancel);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
71
115
|
// ---------------------------------------------------------------------------
|
|
72
116
|
// Compile subcommand - Parse WSDL and generate catalog
|
|
73
117
|
// ---------------------------------------------------------------------------
|
|
@@ -191,8 +235,7 @@ if (rawArgs[0] === "client") {
|
|
|
191
235
|
else {
|
|
192
236
|
// Only catalog-file provided: it's an input, load it
|
|
193
237
|
const catalogPath = path.resolve(String(clientArgv["catalog-file"]));
|
|
194
|
-
|
|
195
|
-
compiled = JSON.parse(catalogContent);
|
|
238
|
+
compiled = readLegacyCatalogFile(catalogPath);
|
|
196
239
|
success(`Loaded catalog from ${catalogPath}`);
|
|
197
240
|
}
|
|
198
241
|
// If we need to compile from WSDL
|
|
@@ -540,11 +583,12 @@ if (rawArgs[0] === "app") {
|
|
|
540
583
|
let imports = appArgv["import-extensions"];
|
|
541
584
|
if (!imports && fs.existsSync(catalogFile)) {
|
|
542
585
|
try {
|
|
543
|
-
const
|
|
544
|
-
const catalog = JSON.parse(catalogContent);
|
|
586
|
+
const catalog = readLegacyCatalogFile(catalogFile);
|
|
545
587
|
imports = catalog?.options?.imports || "js";
|
|
546
588
|
}
|
|
547
589
|
catch (err) {
|
|
590
|
+
if (err instanceof CatalogError && err.category === "incompatible-artifact")
|
|
591
|
+
throw err;
|
|
548
592
|
// If catalog read fails, fall back to "js"
|
|
549
593
|
imports = "js";
|
|
550
594
|
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { DIRECT_CLIENT_RUNTIME_VERSION } from './directClientVersion.js';
|
|
2
|
+
interface Name {
|
|
3
|
+
readonly namespace: string;
|
|
4
|
+
readonly local: string;
|
|
5
|
+
}
|
|
6
|
+
interface Usage {
|
|
7
|
+
readonly nodes: number;
|
|
8
|
+
readonly work: number;
|
|
9
|
+
}
|
|
10
|
+
interface Options {
|
|
11
|
+
readonly localSource: string;
|
|
12
|
+
readonly fileRoots: readonly string[];
|
|
13
|
+
readonly capsule: Uint8Array;
|
|
14
|
+
readonly soap: {
|
|
15
|
+
readonly service: Name;
|
|
16
|
+
readonly port: string;
|
|
17
|
+
readonly endpoint: string;
|
|
18
|
+
readonly allowEndpoint: (endpoint: URL) => boolean;
|
|
19
|
+
readonly signal?: AbortSignal;
|
|
20
|
+
readonly timeoutMs?: number;
|
|
21
|
+
readonly capabilities?: readonly string[];
|
|
22
|
+
readonly limits?: {
|
|
23
|
+
readonly maxBytes?: number;
|
|
24
|
+
readonly maxDepth?: number;
|
|
25
|
+
readonly maxNodes?: number;
|
|
26
|
+
readonly maxText?: number;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
interface Failure {
|
|
31
|
+
readonly kind: 'incompatible-artifact' | 'unsupported' | 'missing-authority' | 'resource-limit' | 'cancelled' | 'inconclusive' | 'invalid-schema' | 'scalar-invalid' | 'value-invalid' | 'xml-invalid' | 'mismatch' | 'transport' | 'protocol';
|
|
32
|
+
readonly rule: string;
|
|
33
|
+
readonly usage: Usage;
|
|
34
|
+
readonly repair?: string;
|
|
35
|
+
}
|
|
36
|
+
type Success = {
|
|
37
|
+
readonly value: unknown;
|
|
38
|
+
readonly admitted: false;
|
|
39
|
+
readonly status: number;
|
|
40
|
+
readonly usage: Usage;
|
|
41
|
+
readonly responseBytes: Uint8Array;
|
|
42
|
+
} & ({
|
|
43
|
+
readonly kind: 'soap-response';
|
|
44
|
+
} | {
|
|
45
|
+
readonly kind: 'soap-fault';
|
|
46
|
+
readonly fault: {
|
|
47
|
+
readonly name: string;
|
|
48
|
+
readonly code: Name;
|
|
49
|
+
readonly string: string;
|
|
50
|
+
readonly actor?: string;
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
/** Unreleased direct-grammar binding. Generation and broader SOAP capabilities remain internal. */
|
|
54
|
+
export declare const checkedDirectRuntimeV1: Readonly<{
|
|
55
|
+
version: typeof DIRECT_CLIENT_RUNTIME_VERSION;
|
|
56
|
+
execute(expectedBase64: string, input: unknown, options: Options, version: typeof DIRECT_CLIENT_RUNTIME_VERSION): Promise<Failure | Success>;
|
|
57
|
+
}>;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=checkedDirectRuntime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkedDirectRuntime.d.ts","sourceRoot":"","sources":["../../src/client/checkedDirectRuntime.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,6BAA6B,EAA+B,MAAM,0BAA0B,CAAC;AAErG,UAAU,IAAI;IAAG,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE;AACrE,UAAU,KAAK;IAAG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE;AACjE,UAAU,OAAO;IACf,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE;QACb,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QACzE,QAAQ,CAAC,aAAa,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,OAAO,CAAC;QACnD,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;QAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAC3D,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;QAC1C,QAAQ,CAAC,MAAM,CAAC,EAAE;YAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;SAAC,CAAC;KACnI,CAAC;CACH;AACD,UAAU,OAAO;IACf,QAAQ,CAAC,IAAI,EAAE,uBAAuB,GAAG,aAAa,GAAG,mBAAmB,GAAG,gBAAgB,GAAG,WAAW,GACzG,cAAc,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,eAAe,GAAG,aAAa,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAAC;IACnI,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CACxE;AACD,KAAK,OAAO,GAAG;IACb,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC;CAC9G,GAAG,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAA;CAAC,GAAG;IAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IACnE,QAAQ,CAAC,KAAK,EAAE;QAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,CAAA;CAAC,CAAC,CAAC;AAEnH,mGAAmG;AACnG,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC;IAC5C,OAAO,EAAE,OAAO,6BAA6B,CAAC;IAC9C,OAAO,CAAC,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,6BAA6B,GAAG,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,CAAC;CAC9I,CAiBC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { types } from 'node:util';
|
|
2
|
+
import { directClientRuntime } from './directClientRuntime.js';
|
|
3
|
+
import { DIRECT_CLIENT_RUNTIME_VERSION, DIRECT_CLIENT_RUNTIME_REPAIR } from './directClientVersion.js';
|
|
4
|
+
/** Unreleased direct-grammar binding. Generation and broader SOAP capabilities remain internal. */
|
|
5
|
+
export const checkedDirectRuntimeV1 = Object.freeze({
|
|
6
|
+
version: DIRECT_CLIENT_RUNTIME_VERSION,
|
|
7
|
+
async execute(expectedBase64, input, options, version) {
|
|
8
|
+
if (version !== DIRECT_CLIENT_RUNTIME_VERSION)
|
|
9
|
+
return Object.freeze({ kind: 'incompatible-artifact',
|
|
10
|
+
rule: 'generated-runtime-version', repair: DIRECT_CLIENT_RUNTIME_REPAIR,
|
|
11
|
+
usage: Object.freeze({ nodes: 0, work: 0 }) });
|
|
12
|
+
// The public entry never accepts the private profiling hook, even from JavaScript.
|
|
13
|
+
// Inspect descriptors before forwarding so getters/proxies cannot supply it.
|
|
14
|
+
if (!options || typeof options !== 'object' || types.isProxy(options)
|
|
15
|
+
|| ![null, Object.prototype].includes(Object.getPrototypeOf(options))
|
|
16
|
+
|| Reflect.ownKeys(options).some(key => typeof key !== 'string'
|
|
17
|
+
|| !['localSource', 'fileRoots', 'capsule', 'soap'].includes(key)
|
|
18
|
+
|| !Object.hasOwn(Object.getOwnPropertyDescriptor(options, key), 'value'))) {
|
|
19
|
+
return Object.freeze({ kind: 'unsupported', rule: 'data-only checked direct options required', usage: Object.freeze({ nodes: 0, work: 0 }) });
|
|
20
|
+
}
|
|
21
|
+
return directClientRuntime.execute(expectedBase64, input, options);
|
|
22
|
+
},
|
|
23
|
+
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { SemanticBudgetLimits, ResolverUsage } from '../compiler/semanticBudget.js';
|
|
2
|
+
import type { DirectCapsuleFailure } from '../compiler/directSourceCapsule.js';
|
|
3
|
+
import type { DirectSoapOptions, DirectSoapFailure } from '../compiler/directSoap.js';
|
|
4
|
+
import type { DirectApplicationValue } from '../compiler/directValues.js';
|
|
5
|
+
import { DIRECT_CLIENT_RUNTIME_VERSION } from './directClientVersion.js';
|
|
6
|
+
export interface DirectClientOptions {
|
|
7
|
+
readonly localSource: string;
|
|
8
|
+
readonly fileRoots: readonly string[];
|
|
9
|
+
readonly capsule: Uint8Array;
|
|
10
|
+
readonly budget?: SemanticBudgetLimits;
|
|
11
|
+
readonly soap: DirectSoapOptions;
|
|
12
|
+
}
|
|
13
|
+
export interface DirectClientFailure {
|
|
14
|
+
readonly kind: DirectCapsuleFailure['kind'] | DirectSoapFailure['kind'];
|
|
15
|
+
readonly rule: string;
|
|
16
|
+
readonly usage: ResolverUsage;
|
|
17
|
+
readonly repair?: string;
|
|
18
|
+
}
|
|
19
|
+
export type DirectClientResult = DirectClientFailure | Readonly<{
|
|
20
|
+
kind: 'soap-response';
|
|
21
|
+
value: DirectApplicationValue;
|
|
22
|
+
status: number;
|
|
23
|
+
admitted: false;
|
|
24
|
+
responseBytes: Uint8Array;
|
|
25
|
+
usage: ResolverUsage;
|
|
26
|
+
}> | Readonly<{
|
|
27
|
+
kind: 'soap-fault';
|
|
28
|
+
value: DirectApplicationValue;
|
|
29
|
+
status: number;
|
|
30
|
+
admitted: false;
|
|
31
|
+
fault: Readonly<{
|
|
32
|
+
name: string;
|
|
33
|
+
code: Readonly<{
|
|
34
|
+
namespace: string;
|
|
35
|
+
local: string;
|
|
36
|
+
}>;
|
|
37
|
+
string: string;
|
|
38
|
+
actor?: string;
|
|
39
|
+
}>;
|
|
40
|
+
responseBytes: Uint8Array;
|
|
41
|
+
usage: ResolverUsage;
|
|
42
|
+
}>;
|
|
43
|
+
export interface DirectClientRuntime {
|
|
44
|
+
readonly version: typeof DIRECT_CLIENT_RUNTIME_VERSION;
|
|
45
|
+
execute(expectedBase64: string, input: unknown, options: DirectClientOptions): Promise<DirectClientResult>;
|
|
46
|
+
}
|
|
47
|
+
/** The generated literal is the expected artifact; caller bytes never choose its static contract. */
|
|
48
|
+
export declare const directClientRuntime: DirectClientRuntime;
|
|
49
|
+
//# sourceMappingURL=directClientRuntime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directClientRuntime.d.ts","sourceRoot":"","sources":["../../src/client/directClientRuntime.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,oBAAoB,EAAE,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAEvF,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AAE7E,OAAO,KAAK,EAAC,iBAAiB,EAAE,iBAAiB,EAAC,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAC,6BAA6B,EAAC,MAAM,0BAA0B,CAAC;AAEvE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,oBAAoB,CAAC;IACvC,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;CAClC;AACD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACxE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;IAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAChF;AACD,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG,QAAQ,CAAC;IAC9D,IAAI,EAAE,eAAe,CAAC;IAAC,KAAK,EAAE,sBAAsB,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,KAAK,CAAC;IACtF,aAAa,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,aAAa,CAAC;CACjD,CAAC,GAAG,QAAQ,CAAC;IACZ,IAAI,EAAE,YAAY,CAAC;IAAC,KAAK,EAAE,sBAAsB,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,KAAK,CAAC;IACnF,KAAK,EAAE,QAAQ,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,QAAQ,CAAC;YAAC,SAAS,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAC,CAAC,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;IACpH,aAAa,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,aAAa,CAAC;CACjD,CAAC,CAAC;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,EAAE,OAAO,6BAA6B,CAAC;IACvD,OAAO,CAAC,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC5G;AACD,qGAAqG;AACrG,eAAO,MAAM,mBAAmB,EAAE,mBAmFhC,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { directDataOwnership, directLimit } from '../compiler/directExecutionPolicy.js';
|
|
2
|
+
/** Private P3.7 binding. No public package entry or alternate SOAP implementation. */
|
|
3
|
+
import { checkSemanticBudget } from '../compiler/semanticBudget.js';
|
|
4
|
+
import { DataOwnershipLimitError } from '../compiler/dataOwnership.js';
|
|
5
|
+
import { types } from 'node:util';
|
|
6
|
+
import { createApplicationBudget } from '../compiler/semanticBudget.js';
|
|
7
|
+
import { reconstructDirectSourceCapsuleInRequest, checkDirectSourceCompatibility, DIRECT_CAPSULE_LIMITS } from '../compiler/directSourceCapsule.js';
|
|
8
|
+
import { exchangeDirectSoap, directSoapOptionsShape } from '../compiler/directSoap.js';
|
|
9
|
+
import { DIRECT_CLIENT_RUNTIME_VERSION } from './directClientVersion.js';
|
|
10
|
+
/** The generated literal is the expected artifact; caller bytes never choose its static contract. */
|
|
11
|
+
export const directClientRuntime = Object.freeze({
|
|
12
|
+
version: DIRECT_CLIENT_RUNTIME_VERSION,
|
|
13
|
+
async execute(expectedBase64, input, options) {
|
|
14
|
+
// Constant-sized entry introspection precedes budget configuration and all reads.
|
|
15
|
+
const entryFailure = () => ({ kind: 'unsupported', rule: 'data-only client options required', usage: { nodes: 0, work: 0 } });
|
|
16
|
+
if (!options || typeof options !== 'object' || types.isProxy(options)
|
|
17
|
+
|| ![null, Object.prototype].includes(Object.getPrototypeOf(options)))
|
|
18
|
+
return entryFailure();
|
|
19
|
+
const allowed = ['localSource', 'fileRoots', 'capsule', 'budget', 'soap'];
|
|
20
|
+
const owned = Object.create(null);
|
|
21
|
+
for (const key of Reflect.ownKeys(options)) {
|
|
22
|
+
const descriptor = Object.getOwnPropertyDescriptor(options, key);
|
|
23
|
+
if (typeof key !== 'string' || !allowed.includes(key) || !descriptor || !('value' in descriptor))
|
|
24
|
+
return entryFailure();
|
|
25
|
+
owned[key] = descriptor.value;
|
|
26
|
+
}
|
|
27
|
+
if (!['localSource', 'fileRoots', 'capsule', 'soap'].every(key => Object.hasOwn(owned, key)))
|
|
28
|
+
return entryFailure();
|
|
29
|
+
if (owned.budget !== undefined) {
|
|
30
|
+
const limits = owned.budget;
|
|
31
|
+
if (!limits || typeof limits !== 'object' || types.isProxy(limits)
|
|
32
|
+
|| ![null, Object.prototype].includes(Object.getPrototypeOf(limits)))
|
|
33
|
+
return entryFailure();
|
|
34
|
+
const copied = Object.create(null);
|
|
35
|
+
for (const key of Reflect.ownKeys(limits)) {
|
|
36
|
+
const descriptor = Object.getOwnPropertyDescriptor(limits, key);
|
|
37
|
+
if (typeof key !== 'string' || !['maxNodes', 'maxWork'].includes(key) || !descriptor || !('value' in descriptor))
|
|
38
|
+
return entryFailure();
|
|
39
|
+
copied[key] = descriptor.value;
|
|
40
|
+
}
|
|
41
|
+
owned.budget = Object.freeze(copied);
|
|
42
|
+
}
|
|
43
|
+
options = owned;
|
|
44
|
+
const budget = createApplicationBudget(options.budget);
|
|
45
|
+
const fail = (kind, rule) => Object.freeze({ kind, rule, usage: Object.freeze({ ...budget.usage() }) });
|
|
46
|
+
try {
|
|
47
|
+
const optionRule = directSoapOptionsShape(options.soap, () => checkSemanticBudget(budget));
|
|
48
|
+
if (optionRule)
|
|
49
|
+
return fail('unsupported', optionRule);
|
|
50
|
+
if (options.soap.signal !== undefined && !(options.soap.signal instanceof AbortSignal))
|
|
51
|
+
return fail('unsupported', 'native AbortSignal required');
|
|
52
|
+
if (options.soap.signal?.aborted)
|
|
53
|
+
return fail('cancelled', 'cooperative-cancellation');
|
|
54
|
+
const signal = options.soap.signal;
|
|
55
|
+
const check = () => { checkSemanticBudget(budget); if (signal?.aborted)
|
|
56
|
+
throw new Error('cancelled'); };
|
|
57
|
+
const soap = Object.create(null);
|
|
58
|
+
for (const key of Reflect.ownKeys(options.soap))
|
|
59
|
+
soap[key] = Object.getOwnPropertyDescriptor(options.soap, key).value;
|
|
60
|
+
for (const key of ['service', 'port', 'endpoint', 'timeoutMs', 'limits', 'capabilities']) {
|
|
61
|
+
if (Object.hasOwn(soap, key))
|
|
62
|
+
soap[key] = directDataOwnership(budget).freeze(directDataOwnership(budget).snapshot(soap[key], check));
|
|
63
|
+
}
|
|
64
|
+
options = Object.freeze({ ...options, fileRoots: directDataOwnership(budget).freeze(directDataOwnership(budget).snapshot(options.fileRoots, check)), soap: Object.freeze(soap) });
|
|
65
|
+
if (typeof expectedBase64 !== 'string' || expectedBase64.length > Math.ceil(directLimit(budget, DIRECT_CAPSULE_LIMITS.maxBytes) / 3) * 4)
|
|
66
|
+
return fail('incompatible-artifact', 'generated-capsule-limit');
|
|
67
|
+
// The exact embedded artifact pins the emitted types. Check actual byte extent
|
|
68
|
+
// before copying; do not invoke caller byte getters.
|
|
69
|
+
if (!types.isUint8Array(options.capsule) || types.isProxy(options.capsule))
|
|
70
|
+
return fail('incompatible-artifact', 'capsule-bytes-required');
|
|
71
|
+
const typed = Object.getPrototypeOf(Uint8Array.prototype);
|
|
72
|
+
const backing = Object.getOwnPropertyDescriptor(typed, 'buffer').get.call(options.capsule);
|
|
73
|
+
const length = Object.getOwnPropertyDescriptor(typed, 'byteLength').get.call(options.capsule);
|
|
74
|
+
if (types.isSharedArrayBuffer(backing) || length > directLimit(budget, DIRECT_CAPSULE_LIMITS.maxBytes))
|
|
75
|
+
return fail('incompatible-artifact', 'capsule-bytes-required');
|
|
76
|
+
const bytes = new Uint8Array(length);
|
|
77
|
+
Uint8Array.prototype.set.call(bytes, options.capsule);
|
|
78
|
+
if (Buffer.from(bytes).toString('base64') !== expectedBase64)
|
|
79
|
+
return fail('incompatible-artifact', 'generated-capsule-mismatch');
|
|
80
|
+
const fresh = await reconstructDirectSourceCapsuleInRequest(bytes, options.localSource, { policy: { fileRoots: options.fileRoots }, limits: options.budget, signal: options.soap.signal }, budget);
|
|
81
|
+
if (fresh.kind !== 'reconstructed-direct')
|
|
82
|
+
return fresh;
|
|
83
|
+
const compatible = checkDirectSourceCompatibility(fresh, fresh.contract, { service: options.soap.service, port: options.soap.port }, options.soap.signal);
|
|
84
|
+
if (compatible.kind !== 'compatible-direct')
|
|
85
|
+
return compatible;
|
|
86
|
+
// Value and byte provenance stay owned
|
|
87
|
+
// by the original adapter; no catch-and-cast turns a failure into typed success.
|
|
88
|
+
const result = await exchangeDirectSoap(fresh.contract, fresh.mappings[0], input, options.soap);
|
|
89
|
+
if (!('decoded' in result))
|
|
90
|
+
return result;
|
|
91
|
+
if (options.soap.signal?.aborted)
|
|
92
|
+
return fail('cancelled', 'cooperative-cancellation');
|
|
93
|
+
const common = { value: result.decoded.validated.value, status: result.status, admitted: false,
|
|
94
|
+
responseBytes: result.responseBytes, usage: Object.freeze({ ...budget.usage() }) };
|
|
95
|
+
if (result.kind === 'soap-fault') {
|
|
96
|
+
if (!result.fault)
|
|
97
|
+
throw new TypeError('Missing native declared fault');
|
|
98
|
+
return Object.freeze({ kind: 'soap-fault', ...common, fault: result.fault });
|
|
99
|
+
}
|
|
100
|
+
return Object.freeze({ kind: 'soap-response', ...common });
|
|
101
|
+
}
|
|
102
|
+
catch (error) {
|
|
103
|
+
if (budget.exhausted())
|
|
104
|
+
return fail('resource-limit', 'request-budget');
|
|
105
|
+
if (error instanceof DataOwnershipLimitError)
|
|
106
|
+
return fail('resource-limit', error.message);
|
|
107
|
+
if (options.soap.signal?.aborted)
|
|
108
|
+
return fail('cancelled', 'cooperative-cancellation');
|
|
109
|
+
throw error;
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Generated injection protocol; independent of package, capsule and scalar-policy versions. */
|
|
2
|
+
export declare const DIRECT_CLIENT_RUNTIME_VERSION: "checked-direct-runtime-v1";
|
|
3
|
+
export declare const DIRECT_CLIENT_RUNTIME_REPAIR = "Regenerate matched direct client and capsule with the installed runtime.";
|
|
4
|
+
//# sourceMappingURL=directClientVersion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directClientVersion.d.ts","sourceRoot":"","sources":["../../src/client/directClientVersion.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,eAAO,MAAM,6BAA6B,EAAG,2BAAoC,CAAC;AAClF,eAAO,MAAM,4BAA4B,6EAA6E,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Generated injection protocol; independent of package, capsule and scalar-policy versions. */
|
|
2
|
+
export const DIRECT_CLIENT_RUNTIME_VERSION = 'checked-direct-runtime-v1';
|
|
3
|
+
export const DIRECT_CLIENT_RUNTIME_REPAIR = 'Regenerate matched direct client and capsule with the installed runtime.';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReconstructedDirectSource, DirectCapsuleFailure } from '../compiler/directSourceCapsule.js';
|
|
2
|
+
import type { ResolverUsage } from '../compiler/semanticBudget.js';
|
|
3
|
+
export interface GeneratedDirectClient {
|
|
4
|
+
readonly kind: 'generated-direct-client';
|
|
5
|
+
readonly source: string;
|
|
6
|
+
readonly capsule: Uint8Array;
|
|
7
|
+
readonly admitted: false;
|
|
8
|
+
readonly usage: ResolverUsage;
|
|
9
|
+
}
|
|
10
|
+
/** Roles are separate declarations, so equal local names never merge namespace identities. */
|
|
11
|
+
export declare function generateDirectClient(expected: ReconstructedDirectSource, signal?: AbortSignal): GeneratedDirectClient | DirectCapsuleFailure;
|
|
12
|
+
/** Only authentic bounded artifacts may be written; prior semantic failure remains terminal. */
|
|
13
|
+
export declare function writeDirectClient(file: string, generated: GeneratedDirectClient): void;
|
|
14
|
+
//# sourceMappingURL=generateDirectClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generateDirectClient.d.ts","sourceRoot":"","sources":["../../src/client/generateDirectClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,yBAAyB,EAAE,oBAAoB,EAAC,MAAM,oCAAoC,CAAC;AACxG,OAAO,KAAK,EAAC,aAAa,EAAiB,MAAM,+BAA+B,CAAC;AAKjF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,yBAAyB,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;IAChG,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;CACzD;AACD,8FAA8F;AAC9F,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,yBAAyB,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,qBAAqB,GAAG,oBAAoB,CAsG5I;AACD,gGAAgG;AAChG,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,qBAAqB,GAAG,IAAI,CAKtF"}
|