@appport/sdk 1.1.18 → 1.1.19
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 +9 -86
- package/dist/index.d.ts +13 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -18
- package/dist/index.js.map +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +1 -1
- package/package.json +22 -32
- package/LICENSE +0 -126
- package/dist/application-onboarding.d.ts +0 -52
- package/dist/application-onboarding.d.ts.map +0 -1
- package/dist/application-onboarding.js +0 -50
- package/dist/application-onboarding.js.map +0 -1
- package/dist/external-compatibility.d.ts +0 -142
- package/dist/external-compatibility.d.ts.map +0 -1
- package/dist/external-compatibility.js +0 -132
- package/dist/external-compatibility.js.map +0 -1
- package/dist/provider-lifecycle.d.ts +0 -247
- package/dist/provider-lifecycle.d.ts.map +0 -1
- package/dist/provider-lifecycle.js +0 -314
- package/dist/provider-lifecycle.js.map +0 -1
- package/dist/resolution-policy.d.ts +0 -81
- package/dist/resolution-policy.d.ts.map +0 -1
- package/dist/resolution-policy.js +0 -131
- package/dist/resolution-policy.js.map +0 -1
- package/vendor/@appport/authorization/README.md +0 -28
- package/vendor/@appport/authorization/dist/index.d.ts +0 -94
- package/vendor/@appport/authorization/dist/index.d.ts.map +0 -1
- package/vendor/@appport/authorization/dist/index.js +0 -131
- package/vendor/@appport/authorization/dist/index.js.map +0 -1
- package/vendor/@appport/authorization/package.json +0 -28
- package/vendor/@appport/client/README.md +0 -35
- package/vendor/@appport/client/dist/channel.d.ts +0 -14
- package/vendor/@appport/client/dist/channel.d.ts.map +0 -1
- package/vendor/@appport/client/dist/channel.js +0 -58
- package/vendor/@appport/client/dist/channel.js.map +0 -1
- package/vendor/@appport/client/dist/client.d.ts +0 -61
- package/vendor/@appport/client/dist/client.d.ts.map +0 -1
- package/vendor/@appport/client/dist/client.js +0 -214
- package/vendor/@appport/client/dist/client.js.map +0 -1
- package/vendor/@appport/client/dist/contract.d.ts +0 -55
- package/vendor/@appport/client/dist/contract.d.ts.map +0 -1
- package/vendor/@appport/client/dist/contract.js +0 -12
- package/vendor/@appport/client/dist/contract.js.map +0 -1
- package/vendor/@appport/client/dist/discovery.d.ts +0 -17
- package/vendor/@appport/client/dist/discovery.d.ts.map +0 -1
- package/vendor/@appport/client/dist/discovery.js +0 -56
- package/vendor/@appport/client/dist/discovery.js.map +0 -1
- package/vendor/@appport/client/dist/duplex.d.ts +0 -25
- package/vendor/@appport/client/dist/duplex.d.ts.map +0 -1
- package/vendor/@appport/client/dist/duplex.js +0 -194
- package/vendor/@appport/client/dist/duplex.js.map +0 -1
- package/vendor/@appport/client/dist/host.d.ts +0 -62
- package/vendor/@appport/client/dist/host.d.ts.map +0 -1
- package/vendor/@appport/client/dist/host.js +0 -139
- package/vendor/@appport/client/dist/host.js.map +0 -1
- package/vendor/@appport/client/dist/index.d.ts +0 -14
- package/vendor/@appport/client/dist/index.d.ts.map +0 -1
- package/vendor/@appport/client/dist/index.js +0 -14
- package/vendor/@appport/client/dist/index.js.map +0 -1
- package/vendor/@appport/client/dist/transport.d.ts +0 -42
- package/vendor/@appport/client/dist/transport.d.ts.map +0 -1
- package/vendor/@appport/client/dist/transport.js +0 -2
- package/vendor/@appport/client/dist/transport.js.map +0 -1
- package/vendor/@appport/client/package.json +0 -32
- package/vendor/@appport/core/README.md +0 -91
- package/vendor/@appport/core/dist/appboundry-capability-catalog.d.ts +0 -930
- package/vendor/@appport/core/dist/appboundry-capability-catalog.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-capability-catalog.js +0 -352
- package/vendor/@appport/core/dist/appboundry-capability-catalog.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-composition.d.ts +0 -93
- package/vendor/@appport/core/dist/appboundry-composition.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-composition.js +0 -184
- package/vendor/@appport/core/dist/appboundry-composition.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-contract.d.ts +0 -80
- package/vendor/@appport/core/dist/appboundry-contract.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-contract.js +0 -160
- package/vendor/@appport/core/dist/appboundry-contract.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-diagnostics.d.ts +0 -107
- package/vendor/@appport/core/dist/appboundry-diagnostics.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-diagnostics.js +0 -358
- package/vendor/@appport/core/dist/appboundry-diagnostics.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-discovery.d.ts +0 -110
- package/vendor/@appport/core/dist/appboundry-discovery.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-discovery.js +0 -141
- package/vendor/@appport/core/dist/appboundry-discovery.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-entitlements.d.ts +0 -128
- package/vendor/@appport/core/dist/appboundry-entitlements.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-entitlements.js +0 -312
- package/vendor/@appport/core/dist/appboundry-entitlements.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-execution.d.ts +0 -84
- package/vendor/@appport/core/dist/appboundry-execution.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-execution.js +0 -150
- package/vendor/@appport/core/dist/appboundry-execution.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-exercise.d.ts +0 -152
- package/vendor/@appport/core/dist/appboundry-exercise.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-exercise.js +0 -416
- package/vendor/@appport/core/dist/appboundry-exercise.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-materialization.d.ts +0 -222
- package/vendor/@appport/core/dist/appboundry-materialization.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-materialization.js +0 -494
- package/vendor/@appport/core/dist/appboundry-materialization.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-migration.d.ts +0 -195
- package/vendor/@appport/core/dist/appboundry-migration.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-migration.js +0 -227
- package/vendor/@appport/core/dist/appboundry-migration.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-onboarding.d.ts +0 -70
- package/vendor/@appport/core/dist/appboundry-onboarding.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-onboarding.js +0 -232
- package/vendor/@appport/core/dist/appboundry-onboarding.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-operation-discovery.d.ts +0 -93
- package/vendor/@appport/core/dist/appboundry-operation-discovery.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-operation-discovery.js +0 -89
- package/vendor/@appport/core/dist/appboundry-operation-discovery.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-resolution.d.ts +0 -160
- package/vendor/@appport/core/dist/appboundry-resolution.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-resolution.js +0 -218
- package/vendor/@appport/core/dist/appboundry-resolution.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-surface.d.ts +0 -96
- package/vendor/@appport/core/dist/appboundry-surface.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-surface.js +0 -223
- package/vendor/@appport/core/dist/appboundry-surface.js.map +0 -1
- package/vendor/@appport/core/dist/appboundry-usage.d.ts +0 -94
- package/vendor/@appport/core/dist/appboundry-usage.d.ts.map +0 -1
- package/vendor/@appport/core/dist/appboundry-usage.js +0 -80
- package/vendor/@appport/core/dist/appboundry-usage.js.map +0 -1
- package/vendor/@appport/core/dist/application-implementation.d.ts +0 -125
- package/vendor/@appport/core/dist/application-implementation.d.ts.map +0 -1
- package/vendor/@appport/core/dist/application-implementation.js +0 -220
- package/vendor/@appport/core/dist/application-implementation.js.map +0 -1
- package/vendor/@appport/core/dist/application-lifecycle.d.ts +0 -150
- package/vendor/@appport/core/dist/application-lifecycle.d.ts.map +0 -1
- package/vendor/@appport/core/dist/application-lifecycle.js +0 -70
- package/vendor/@appport/core/dist/application-lifecycle.js.map +0 -1
- package/vendor/@appport/core/dist/application-package.d.ts +0 -105
- package/vendor/@appport/core/dist/application-package.d.ts.map +0 -1
- package/vendor/@appport/core/dist/application-package.js +0 -349
- package/vendor/@appport/core/dist/application-package.js.map +0 -1
- package/vendor/@appport/core/dist/application-source.d.ts +0 -109
- package/vendor/@appport/core/dist/application-source.d.ts.map +0 -1
- package/vendor/@appport/core/dist/application-source.js +0 -186
- package/vendor/@appport/core/dist/application-source.js.map +0 -1
- package/vendor/@appport/core/dist/application.d.ts +0 -124
- package/vendor/@appport/core/dist/application.d.ts.map +0 -1
- package/vendor/@appport/core/dist/application.js +0 -518
- package/vendor/@appport/core/dist/application.js.map +0 -1
- package/vendor/@appport/core/dist/artifact.d.ts +0 -395
- package/vendor/@appport/core/dist/artifact.d.ts.map +0 -1
- package/vendor/@appport/core/dist/artifact.js +0 -392
- package/vendor/@appport/core/dist/artifact.js.map +0 -1
- package/vendor/@appport/core/dist/assembly.d.ts +0 -237
- package/vendor/@appport/core/dist/assembly.d.ts.map +0 -1
- package/vendor/@appport/core/dist/assembly.js +0 -458
- package/vendor/@appport/core/dist/assembly.js.map +0 -1
- package/vendor/@appport/core/dist/authority-attestation.d.ts +0 -34
- package/vendor/@appport/core/dist/authority-attestation.d.ts.map +0 -1
- package/vendor/@appport/core/dist/authority-attestation.js +0 -72
- package/vendor/@appport/core/dist/authority-attestation.js.map +0 -1
- package/vendor/@appport/core/dist/authorization-grant.d.ts +0 -107
- package/vendor/@appport/core/dist/authorization-grant.d.ts.map +0 -1
- package/vendor/@appport/core/dist/authorization-grant.js +0 -131
- package/vendor/@appport/core/dist/authorization-grant.js.map +0 -1
- package/vendor/@appport/core/dist/binding.d.ts +0 -294
- package/vendor/@appport/core/dist/binding.d.ts.map +0 -1
- package/vendor/@appport/core/dist/binding.js +0 -263
- package/vendor/@appport/core/dist/binding.js.map +0 -1
- package/vendor/@appport/core/dist/builtins.d.ts +0 -18
- package/vendor/@appport/core/dist/builtins.d.ts.map +0 -1
- package/vendor/@appport/core/dist/builtins.js +0 -38
- package/vendor/@appport/core/dist/builtins.js.map +0 -1
- package/vendor/@appport/core/dist/capability.d.ts +0 -94
- package/vendor/@appport/core/dist/capability.d.ts.map +0 -1
- package/vendor/@appport/core/dist/capability.js +0 -85
- package/vendor/@appport/core/dist/capability.js.map +0 -1
- package/vendor/@appport/core/dist/concurrency.d.ts +0 -16
- package/vendor/@appport/core/dist/concurrency.d.ts.map +0 -1
- package/vendor/@appport/core/dist/concurrency.js +0 -46
- package/vendor/@appport/core/dist/concurrency.js.map +0 -1
- package/vendor/@appport/core/dist/context.d.ts +0 -59
- package/vendor/@appport/core/dist/context.d.ts.map +0 -1
- package/vendor/@appport/core/dist/context.js +0 -14
- package/vendor/@appport/core/dist/context.js.map +0 -1
- package/vendor/@appport/core/dist/contract-artifact.d.ts +0 -15
- package/vendor/@appport/core/dist/contract-artifact.d.ts.map +0 -1
- package/vendor/@appport/core/dist/contract-artifact.js +0 -161
- package/vendor/@appport/core/dist/contract-artifact.js.map +0 -1
- package/vendor/@appport/core/dist/contract-attestation.d.ts +0 -68
- package/vendor/@appport/core/dist/contract-attestation.d.ts.map +0 -1
- package/vendor/@appport/core/dist/contract-attestation.js +0 -76
- package/vendor/@appport/core/dist/contract-attestation.js.map +0 -1
- package/vendor/@appport/core/dist/crash-injection.d.ts +0 -3
- package/vendor/@appport/core/dist/crash-injection.d.ts.map +0 -1
- package/vendor/@appport/core/dist/crash-injection.js +0 -8
- package/vendor/@appport/core/dist/crash-injection.js.map +0 -1
- package/vendor/@appport/core/dist/events.d.ts +0 -33
- package/vendor/@appport/core/dist/events.d.ts.map +0 -1
- package/vendor/@appport/core/dist/events.js +0 -79
- package/vendor/@appport/core/dist/events.js.map +0 -1
- package/vendor/@appport/core/dist/execution-barrier.d.ts +0 -13
- package/vendor/@appport/core/dist/execution-barrier.d.ts.map +0 -1
- package/vendor/@appport/core/dist/execution-barrier.js +0 -33
- package/vendor/@appport/core/dist/execution-barrier.js.map +0 -1
- package/vendor/@appport/core/dist/execution-ledger.d.ts +0 -81
- package/vendor/@appport/core/dist/execution-ledger.d.ts.map +0 -1
- package/vendor/@appport/core/dist/execution-ledger.js +0 -173
- package/vendor/@appport/core/dist/execution-ledger.js.map +0 -1
- package/vendor/@appport/core/dist/execution.d.ts +0 -387
- package/vendor/@appport/core/dist/execution.d.ts.map +0 -1
- package/vendor/@appport/core/dist/execution.js +0 -165
- package/vendor/@appport/core/dist/execution.js.map +0 -1
- package/vendor/@appport/core/dist/idempotency.d.ts +0 -36
- package/vendor/@appport/core/dist/idempotency.d.ts.map +0 -1
- package/vendor/@appport/core/dist/idempotency.js +0 -36
- package/vendor/@appport/core/dist/idempotency.js.map +0 -1
- package/vendor/@appport/core/dist/implementation.d.ts +0 -110
- package/vendor/@appport/core/dist/implementation.d.ts.map +0 -1
- package/vendor/@appport/core/dist/implementation.js +0 -65
- package/vendor/@appport/core/dist/implementation.js.map +0 -1
- package/vendor/@appport/core/dist/index.d.ts +0 -61
- package/vendor/@appport/core/dist/index.d.ts.map +0 -1
- package/vendor/@appport/core/dist/index.js +0 -60
- package/vendor/@appport/core/dist/index.js.map +0 -1
- package/vendor/@appport/core/dist/invocation.d.ts +0 -253
- package/vendor/@appport/core/dist/invocation.d.ts.map +0 -1
- package/vendor/@appport/core/dist/invocation.js +0 -258
- package/vendor/@appport/core/dist/invocation.js.map +0 -1
- package/vendor/@appport/core/dist/manifest.d.ts +0 -157
- package/vendor/@appport/core/dist/manifest.d.ts.map +0 -1
- package/vendor/@appport/core/dist/manifest.js +0 -255
- package/vendor/@appport/core/dist/manifest.js.map +0 -1
- package/vendor/@appport/core/dist/memory-application-data-store.d.ts +0 -19
- package/vendor/@appport/core/dist/memory-application-data-store.d.ts.map +0 -1
- package/vendor/@appport/core/dist/memory-application-data-store.js +0 -161
- package/vendor/@appport/core/dist/memory-application-data-store.js.map +0 -1
- package/vendor/@appport/core/dist/operations.d.ts +0 -61
- package/vendor/@appport/core/dist/operations.d.ts.map +0 -1
- package/vendor/@appport/core/dist/operations.js +0 -210
- package/vendor/@appport/core/dist/operations.js.map +0 -1
- package/vendor/@appport/core/dist/provider-contract.d.ts +0 -89
- package/vendor/@appport/core/dist/provider-contract.d.ts.map +0 -1
- package/vendor/@appport/core/dist/provider-contract.js +0 -40
- package/vendor/@appport/core/dist/provider-contract.js.map +0 -1
- package/vendor/@appport/core/dist/public.d.ts +0 -20
- package/vendor/@appport/core/dist/public.d.ts.map +0 -1
- package/vendor/@appport/core/dist/public.js +0 -19
- package/vendor/@appport/core/dist/public.js.map +0 -1
- package/vendor/@appport/core/dist/registration.d.ts +0 -165
- package/vendor/@appport/core/dist/registration.d.ts.map +0 -1
- package/vendor/@appport/core/dist/registration.js +0 -253
- package/vendor/@appport/core/dist/registration.js.map +0 -1
- package/vendor/@appport/core/dist/registry.d.ts +0 -30
- package/vendor/@appport/core/dist/registry.d.ts.map +0 -1
- package/vendor/@appport/core/dist/registry.js +0 -149
- package/vendor/@appport/core/dist/registry.js.map +0 -1
- package/vendor/@appport/core/dist/repository-connection.d.ts +0 -100
- package/vendor/@appport/core/dist/repository-connection.d.ts.map +0 -1
- package/vendor/@appport/core/dist/repository-connection.js +0 -57
- package/vendor/@appport/core/dist/repository-connection.js.map +0 -1
- package/vendor/@appport/core/dist/resolver.d.ts +0 -130
- package/vendor/@appport/core/dist/resolver.d.ts.map +0 -1
- package/vendor/@appport/core/dist/resolver.js +0 -252
- package/vendor/@appport/core/dist/resolver.js.map +0 -1
- package/vendor/@appport/core/dist/runtime-manifest.d.ts +0 -68
- package/vendor/@appport/core/dist/runtime-manifest.d.ts.map +0 -1
- package/vendor/@appport/core/dist/runtime-manifest.js +0 -84
- package/vendor/@appport/core/dist/runtime-manifest.js.map +0 -1
- package/vendor/@appport/core/dist/sanitize.d.ts +0 -14
- package/vendor/@appport/core/dist/sanitize.d.ts.map +0 -1
- package/vendor/@appport/core/dist/sanitize.js +0 -49
- package/vendor/@appport/core/dist/sanitize.js.map +0 -1
- package/vendor/@appport/core/dist/server-internal.d.ts +0 -5
- package/vendor/@appport/core/dist/server-internal.d.ts.map +0 -1
- package/vendor/@appport/core/dist/server-internal.js +0 -4
- package/vendor/@appport/core/dist/server-internal.js.map +0 -1
- package/vendor/@appport/core/dist/sessions.d.ts +0 -29
- package/vendor/@appport/core/dist/sessions.d.ts.map +0 -1
- package/vendor/@appport/core/dist/sessions.js +0 -39
- package/vendor/@appport/core/dist/sessions.js.map +0 -1
- package/vendor/@appport/core/dist/sha256.d.ts +0 -3
- package/vendor/@appport/core/dist/sha256.d.ts.map +0 -1
- package/vendor/@appport/core/dist/sha256.js +0 -46
- package/vendor/@appport/core/dist/sha256.js.map +0 -1
- package/vendor/@appport/core/dist/source-verification.d.ts +0 -53
- package/vendor/@appport/core/dist/source-verification.d.ts.map +0 -1
- package/vendor/@appport/core/dist/source-verification.js +0 -92
- package/vendor/@appport/core/dist/source-verification.js.map +0 -1
- package/vendor/@appport/core/dist/state-context.d.ts +0 -312
- package/vendor/@appport/core/dist/state-context.d.ts.map +0 -1
- package/vendor/@appport/core/dist/state-context.js +0 -100
- package/vendor/@appport/core/dist/state-context.js.map +0 -1
- package/vendor/@appport/core/dist/state.d.ts +0 -96
- package/vendor/@appport/core/dist/state.d.ts.map +0 -1
- package/vendor/@appport/core/dist/state.js +0 -89
- package/vendor/@appport/core/dist/state.js.map +0 -1
- package/vendor/@appport/core/dist/streams.d.ts +0 -38
- package/vendor/@appport/core/dist/streams.d.ts.map +0 -1
- package/vendor/@appport/core/dist/streams.js +0 -123
- package/vendor/@appport/core/dist/streams.js.map +0 -1
- package/vendor/@appport/core/dist/telemetry.d.ts +0 -42
- package/vendor/@appport/core/dist/telemetry.d.ts.map +0 -1
- package/vendor/@appport/core/dist/telemetry.js +0 -32
- package/vendor/@appport/core/dist/telemetry.js.map +0 -1
- package/vendor/@appport/core/dist/wasm-engine.d.ts +0 -24
- package/vendor/@appport/core/dist/wasm-engine.d.ts.map +0 -1
- package/vendor/@appport/core/dist/wasm-engine.js +0 -376
- package/vendor/@appport/core/dist/wasm-engine.js.map +0 -1
- package/vendor/@appport/core/package.json +0 -58
- package/vendor/@appport/mcp/README.md +0 -29
- package/vendor/@appport/mcp/dist/index.d.ts +0 -58
- package/vendor/@appport/mcp/dist/index.d.ts.map +0 -1
- package/vendor/@appport/mcp/dist/index.js +0 -69
- package/vendor/@appport/mcp/dist/index.js.map +0 -1
- package/vendor/@appport/mcp/package.json +0 -29
- package/vendor/@appport/mobile/README.md +0 -10
- package/vendor/@appport/mobile/dist/index.d.ts +0 -66
- package/vendor/@appport/mobile/dist/index.d.ts.map +0 -1
- package/vendor/@appport/mobile/dist/index.js +0 -182
- package/vendor/@appport/mobile/dist/index.js.map +0 -1
- package/vendor/@appport/mobile/package.json +0 -33
- package/vendor/@appport/protocol/README.md +0 -41
- package/vendor/@appport/protocol/dist/blob.d.ts +0 -46
- package/vendor/@appport/protocol/dist/blob.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/blob.js +0 -23
- package/vendor/@appport/protocol/dist/blob.js.map +0 -1
- package/vendor/@appport/protocol/dist/compatibility.d.ts +0 -25
- package/vendor/@appport/protocol/dist/compatibility.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/compatibility.js +0 -189
- package/vendor/@appport/protocol/dist/compatibility.js.map +0 -1
- package/vendor/@appport/protocol/dist/envelopes.d.ts +0 -175
- package/vendor/@appport/protocol/dist/envelopes.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/envelopes.js +0 -97
- package/vendor/@appport/protocol/dist/envelopes.js.map +0 -1
- package/vendor/@appport/protocol/dist/errors.d.ts +0 -74
- package/vendor/@appport/protocol/dist/errors.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/errors.js +0 -92
- package/vendor/@appport/protocol/dist/errors.js.map +0 -1
- package/vendor/@appport/protocol/dist/ids.d.ts +0 -12
- package/vendor/@appport/protocol/dist/ids.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/ids.js +0 -50
- package/vendor/@appport/protocol/dist/ids.js.map +0 -1
- package/vendor/@appport/protocol/dist/index.d.ts +0 -21
- package/vendor/@appport/protocol/dist/index.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/index.js +0 -21
- package/vendor/@appport/protocol/dist/index.js.map +0 -1
- package/vendor/@appport/protocol/dist/jsonschema.d.ts +0 -50
- package/vendor/@appport/protocol/dist/jsonschema.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/jsonschema.js +0 -6
- package/vendor/@appport/protocol/dist/jsonschema.js.map +0 -1
- package/vendor/@appport/protocol/dist/manifest.d.ts +0 -134
- package/vendor/@appport/protocol/dist/manifest.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/manifest.js +0 -20
- package/vendor/@appport/protocol/dist/manifest.js.map +0 -1
- package/vendor/@appport/protocol/dist/materialization.d.ts +0 -59
- package/vendor/@appport/protocol/dist/materialization.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/materialization.js +0 -2
- package/vendor/@appport/protocol/dist/materialization.js.map +0 -1
- package/vendor/@appport/protocol/dist/names.d.ts +0 -26
- package/vendor/@appport/protocol/dist/names.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/names.js +0 -85
- package/vendor/@appport/protocol/dist/names.js.map +0 -1
- package/vendor/@appport/protocol/dist/operations.d.ts +0 -34
- package/vendor/@appport/protocol/dist/operations.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/operations.js +0 -9
- package/vendor/@appport/protocol/dist/operations.js.map +0 -1
- package/vendor/@appport/protocol/dist/session.d.ts +0 -27
- package/vendor/@appport/protocol/dist/session.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/session.js +0 -7
- package/vendor/@appport/protocol/dist/session.js.map +0 -1
- package/vendor/@appport/protocol/dist/validate.d.ts +0 -37
- package/vendor/@appport/protocol/dist/validate.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/validate.js +0 -321
- package/vendor/@appport/protocol/dist/validate.js.map +0 -1
- package/vendor/@appport/protocol/dist/version.d.ts +0 -27
- package/vendor/@appport/protocol/dist/version.d.ts.map +0 -1
- package/vendor/@appport/protocol/dist/version.js +0 -26
- package/vendor/@appport/protocol/dist/version.js.map +0 -1
- package/vendor/@appport/protocol/package.json +0 -25
- package/vendor/@appport/schema/README.md +0 -32
- package/vendor/@appport/schema/dist/builder.d.ts +0 -85
- package/vendor/@appport/schema/dist/builder.d.ts.map +0 -1
- package/vendor/@appport/schema/dist/builder.js +0 -278
- package/vendor/@appport/schema/dist/builder.js.map +0 -1
- package/vendor/@appport/schema/dist/from-json-schema.d.ts +0 -12
- package/vendor/@appport/schema/dist/from-json-schema.d.ts.map +0 -1
- package/vendor/@appport/schema/dist/from-json-schema.js +0 -186
- package/vendor/@appport/schema/dist/from-json-schema.js.map +0 -1
- package/vendor/@appport/schema/dist/index.d.ts +0 -23
- package/vendor/@appport/schema/dist/index.d.ts.map +0 -1
- package/vendor/@appport/schema/dist/index.js +0 -22
- package/vendor/@appport/schema/dist/index.js.map +0 -1
- package/vendor/@appport/schema/dist/standard.d.ts +0 -46
- package/vendor/@appport/schema/dist/standard.d.ts.map +0 -1
- package/vendor/@appport/schema/dist/standard.js +0 -42
- package/vendor/@appport/schema/dist/standard.js.map +0 -1
- package/vendor/@appport/schema/dist/types.d.ts +0 -40
- package/vendor/@appport/schema/dist/types.d.ts.map +0 -1
- package/vendor/@appport/schema/dist/types.js +0 -19
- package/vendor/@appport/schema/dist/types.js.map +0 -1
- package/vendor/@appport/schema/package.json +0 -28
- package/vendor/@appport/server/README.md +0 -39
- package/vendor/@appport/server/dist/connection.d.ts +0 -45
- package/vendor/@appport/server/dist/connection.d.ts.map +0 -1
- package/vendor/@appport/server/dist/connection.js +0 -217
- package/vendor/@appport/server/dist/connection.js.map +0 -1
- package/vendor/@appport/server/dist/fetch.d.ts +0 -10
- package/vendor/@appport/server/dist/fetch.d.ts.map +0 -1
- package/vendor/@appport/server/dist/fetch.js +0 -50
- package/vendor/@appport/server/dist/fetch.js.map +0 -1
- package/vendor/@appport/server/dist/http.d.ts +0 -80
- package/vendor/@appport/server/dist/http.d.ts.map +0 -1
- package/vendor/@appport/server/dist/http.js +0 -307
- package/vendor/@appport/server/dist/http.js.map +0 -1
- package/vendor/@appport/server/dist/index.d.ts +0 -11
- package/vendor/@appport/server/dist/index.d.ts.map +0 -1
- package/vendor/@appport/server/dist/index.js +0 -11
- package/vendor/@appport/server/dist/index.js.map +0 -1
- package/vendor/@appport/server/dist/node-entry.d.ts +0 -4
- package/vendor/@appport/server/dist/node-entry.d.ts.map +0 -1
- package/vendor/@appport/server/dist/node-entry.js +0 -4
- package/vendor/@appport/server/dist/node-entry.js.map +0 -1
- package/vendor/@appport/server/dist/node.d.ts +0 -45
- package/vendor/@appport/server/dist/node.d.ts.map +0 -1
- package/vendor/@appport/server/dist/node.js +0 -190
- package/vendor/@appport/server/dist/node.js.map +0 -1
- package/vendor/@appport/server/dist/server.d.ts +0 -83
- package/vendor/@appport/server/dist/server.d.ts.map +0 -1
- package/vendor/@appport/server/dist/server.js +0 -114
- package/vendor/@appport/server/dist/server.js.map +0 -1
- package/vendor/@appport/server/dist/websocket.d.ts +0 -25
- package/vendor/@appport/server/dist/websocket.d.ts.map +0 -1
- package/vendor/@appport/server/dist/websocket.js +0 -221
- package/vendor/@appport/server/dist/websocket.js.map +0 -1
- package/vendor/@appport/server/package.json +0 -34
- package/vendor/@appport/transport-electron/README.md +0 -56
- package/vendor/@appport/transport-electron/dist/index.d.ts +0 -11
- package/vendor/@appport/transport-electron/dist/index.d.ts.map +0 -1
- package/vendor/@appport/transport-electron/dist/index.js +0 -11
- package/vendor/@appport/transport-electron/dist/index.js.map +0 -1
- package/vendor/@appport/transport-electron/dist/main.d.ts +0 -31
- package/vendor/@appport/transport-electron/dist/main.d.ts.map +0 -1
- package/vendor/@appport/transport-electron/dist/main.js +0 -61
- package/vendor/@appport/transport-electron/dist/main.js.map +0 -1
- package/vendor/@appport/transport-electron/dist/preload.d.ts +0 -22
- package/vendor/@appport/transport-electron/dist/preload.d.ts.map +0 -1
- package/vendor/@appport/transport-electron/dist/preload.js +0 -29
- package/vendor/@appport/transport-electron/dist/preload.js.map +0 -1
- package/vendor/@appport/transport-electron/dist/renderer.d.ts +0 -16
- package/vendor/@appport/transport-electron/dist/renderer.d.ts.map +0 -1
- package/vendor/@appport/transport-electron/dist/renderer.js +0 -36
- package/vendor/@appport/transport-electron/dist/renderer.js.map +0 -1
- package/vendor/@appport/transport-electron/dist/types.d.ts +0 -49
- package/vendor/@appport/transport-electron/dist/types.d.ts.map +0 -1
- package/vendor/@appport/transport-electron/dist/types.js +0 -5
- package/vendor/@appport/transport-electron/dist/types.js.map +0 -1
- package/vendor/@appport/transport-electron/package.json +0 -46
- package/vendor/@appport/transport-http/README.md +0 -24
- package/vendor/@appport/transport-http/dist/index.d.ts +0 -18
- package/vendor/@appport/transport-http/dist/index.d.ts.map +0 -1
- package/vendor/@appport/transport-http/dist/index.js +0 -223
- package/vendor/@appport/transport-http/dist/index.js.map +0 -1
- package/vendor/@appport/transport-http/package.json +0 -29
- package/vendor/@appport/transport-inprocess/README.md +0 -24
- package/vendor/@appport/transport-inprocess/dist/index.d.ts +0 -16
- package/vendor/@appport/transport-inprocess/dist/index.d.ts.map +0 -1
- package/vendor/@appport/transport-inprocess/dist/index.js +0 -30
- package/vendor/@appport/transport-inprocess/dist/index.js.map +0 -1
- package/vendor/@appport/transport-inprocess/package.json +0 -30
- package/vendor/@appport/transport-tauri/README.md +0 -45
- package/vendor/@appport/transport-tauri/dist/index.d.ts +0 -23
- package/vendor/@appport/transport-tauri/dist/index.d.ts.map +0 -1
- package/vendor/@appport/transport-tauri/dist/index.js +0 -44
- package/vendor/@appport/transport-tauri/dist/index.js.map +0 -1
- package/vendor/@appport/transport-tauri/package.json +0 -29
- package/vendor/@appport/transport-websocket/README.md +0 -22
- package/vendor/@appport/transport-websocket/dist/index.d.ts +0 -26
- package/vendor/@appport/transport-websocket/dist/index.d.ts.map +0 -1
- package/vendor/@appport/transport-websocket/dist/index.js +0 -72
- package/vendor/@appport/transport-websocket/dist/index.js.map +0 -1
- package/vendor/@appport/transport-websocket/package.json +0 -29
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Capability implementation model: the separation between contract and business logic.
|
|
3
|
-
*
|
|
4
|
-
* The contract (CapabilityDefinition) defines WHAT a capability is and WHAT it must do.
|
|
5
|
-
* The implementation defines HOW it does it. AppPort binds them and enforces the boundary.
|
|
6
|
-
*
|
|
7
|
-
* ## Security Boundary
|
|
8
|
-
*
|
|
9
|
-
* AppPort GUARANTEES the following execution order and security properties:
|
|
10
|
-
*
|
|
11
|
-
* 1. Capability resolution (throws if unknown)
|
|
12
|
-
* 2. Input validation (BEFORE implementation executes)
|
|
13
|
-
* 3. Authorization enforcement (BEFORE implementation executes)
|
|
14
|
-
* 4. Execution context creation
|
|
15
|
-
* 5. Implementation resolution and execution
|
|
16
|
-
* 6. Output validation (AFTER implementation returns)
|
|
17
|
-
* 7. Declared effects and event emission
|
|
18
|
-
* 8. Response returned to caller
|
|
19
|
-
*
|
|
20
|
-
* This means:
|
|
21
|
-
* - Invalid requests are rejected before any developer code executes
|
|
22
|
-
* - Unauthorized requests are rejected before any developer code executes
|
|
23
|
-
* - The implementation can safely assume validated input and authorized access
|
|
24
|
-
* - Output is always validated before being returned to the caller
|
|
25
|
-
*
|
|
26
|
-
* The implementation cannot:
|
|
27
|
-
* - Bypass input validation
|
|
28
|
-
* - Bypass authorization checks
|
|
29
|
-
* - Bypass output validation
|
|
30
|
-
* - Know the capability's identity, version, required scopes, or schemas
|
|
31
|
-
*
|
|
32
|
-
* ## Supported for Both Regular and Stream Capabilities
|
|
33
|
-
*
|
|
34
|
-
* Implementation binding works for:
|
|
35
|
-
* - Regular (request/response) capabilities via defineCapability + handleRequest
|
|
36
|
-
* - Stream capabilities via defineStreamCapability + handleStreamRequest
|
|
37
|
-
*
|
|
38
|
-
* In both cases, if an implementation is bound, it is used; otherwise the handler is
|
|
39
|
-
* called as a fallback. This enables gradual adoption and backward compatibility.
|
|
40
|
-
*/
|
|
41
|
-
import type { CapabilityContext } from "./context.js";
|
|
42
|
-
/**
|
|
43
|
-
* Execution context extended for implementations.
|
|
44
|
-
*
|
|
45
|
-
* A convenience alias that clarifies the context is available to implementations.
|
|
46
|
-
* Implements receive the standard CapabilityContext with no additional properties
|
|
47
|
-
* needed beyond what AppPort already provides.
|
|
48
|
-
*/
|
|
49
|
-
export type CapabilityExecutionContext = CapabilityContext;
|
|
50
|
-
/**
|
|
51
|
-
* A capability implementation: the developer's business logic.
|
|
52
|
-
*
|
|
53
|
-
* Implementations are ordinary application code that know nothing about:
|
|
54
|
-
* - Capability identity or versioning (owned by contract)
|
|
55
|
-
* - Authorization requirements (owned by contract)
|
|
56
|
-
* - Input/output schemas (owned by contract)
|
|
57
|
-
* - Declared effects or events (owned by contract)
|
|
58
|
-
*
|
|
59
|
-
* The implementation receives validated input and a context, and returns output.
|
|
60
|
-
* AppPort validates output against the contract's schema before responding.
|
|
61
|
-
*
|
|
62
|
-
* Implementations can:
|
|
63
|
-
* - Call domain-specific services and databases
|
|
64
|
-
* - Implement arbitrary business logic
|
|
65
|
-
* - Emit declared events via context.emit()
|
|
66
|
-
* - Access caller identity, session, and authorization context
|
|
67
|
-
*
|
|
68
|
-
* Implementations cannot fail due to authorization or input validation because
|
|
69
|
-
* AppPort enforces these BEFORE the implementation is called.
|
|
70
|
-
*/
|
|
71
|
-
export interface CapabilityImplementation<TInput = unknown, TOutput = unknown> {
|
|
72
|
-
/**
|
|
73
|
-
* Execute the capability.
|
|
74
|
-
*
|
|
75
|
-
* GUARANTEE: This method is only called if all of the following are true:
|
|
76
|
-
* - The capability name and version were resolved successfully
|
|
77
|
-
* - The input passed validation against the capability's input schema
|
|
78
|
-
* - The caller was authorized for this capability
|
|
79
|
-
* - The execution context was established
|
|
80
|
-
*
|
|
81
|
-
* @param input - Validated input matching the capability's input schema
|
|
82
|
-
* @param context - Execution context (correlation, session, authorization, services, etc.)
|
|
83
|
-
* @returns The capability result, which AppPort will validate against the output schema
|
|
84
|
-
* @throws May throw any error; AppPort will convert it to an appropriate error response
|
|
85
|
-
*/
|
|
86
|
-
execute(input: TInput, context: CapabilityExecutionContext): Promise<TOutput> | TOutput;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Handler type for implementations: a function that can be passed to `implementation()`.
|
|
90
|
-
*/
|
|
91
|
-
export type ImplementationHandler<TInput = unknown, TOutput = unknown> = (input: TInput, context: CapabilityExecutionContext) => Promise<TOutput> | TOutput;
|
|
92
|
-
/**
|
|
93
|
-
* Create a capability implementation from a handler function.
|
|
94
|
-
*
|
|
95
|
-
* Provides a fluent way to author implementations:
|
|
96
|
-
*
|
|
97
|
-
* ```typescript
|
|
98
|
-
* export const createInvoiceImpl = implementation(async (input, context) => {
|
|
99
|
-
* const id = await db.createInvoice(input);
|
|
100
|
-
* await context.emit({ name: "invoice.created", payload: { id } });
|
|
101
|
-
* return { id };
|
|
102
|
-
* });
|
|
103
|
-
* ```
|
|
104
|
-
*
|
|
105
|
-
* The implementation knows only its own logic. The contract (defineCapability)
|
|
106
|
-
* owns schema, authorization, events, and identity. AppPort binds and enforces
|
|
107
|
-
* the boundary.
|
|
108
|
-
*/
|
|
109
|
-
export declare function implementation<TInput = unknown, TOutput = unknown>(handler: ImplementationHandler<TInput, TOutput>): CapabilityImplementation<TInput, TOutput>;
|
|
110
|
-
//# sourceMappingURL=implementation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../src/implementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD;;;;;;GAMG;AACH,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,wBAAwB,CAAC,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO;IAC3E;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;CACzF;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,CAAC,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO,IAAI,CACvE,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,0BAA0B,KAChC,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;AAEhC;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO,EAChE,OAAO,EAAE,qBAAqB,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9C,wBAAwB,CAAC,MAAM,EAAE,OAAO,CAAC,CAM3C"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Capability implementation model: the separation between contract and business logic.
|
|
3
|
-
*
|
|
4
|
-
* The contract (CapabilityDefinition) defines WHAT a capability is and WHAT it must do.
|
|
5
|
-
* The implementation defines HOW it does it. AppPort binds them and enforces the boundary.
|
|
6
|
-
*
|
|
7
|
-
* ## Security Boundary
|
|
8
|
-
*
|
|
9
|
-
* AppPort GUARANTEES the following execution order and security properties:
|
|
10
|
-
*
|
|
11
|
-
* 1. Capability resolution (throws if unknown)
|
|
12
|
-
* 2. Input validation (BEFORE implementation executes)
|
|
13
|
-
* 3. Authorization enforcement (BEFORE implementation executes)
|
|
14
|
-
* 4. Execution context creation
|
|
15
|
-
* 5. Implementation resolution and execution
|
|
16
|
-
* 6. Output validation (AFTER implementation returns)
|
|
17
|
-
* 7. Declared effects and event emission
|
|
18
|
-
* 8. Response returned to caller
|
|
19
|
-
*
|
|
20
|
-
* This means:
|
|
21
|
-
* - Invalid requests are rejected before any developer code executes
|
|
22
|
-
* - Unauthorized requests are rejected before any developer code executes
|
|
23
|
-
* - The implementation can safely assume validated input and authorized access
|
|
24
|
-
* - Output is always validated before being returned to the caller
|
|
25
|
-
*
|
|
26
|
-
* The implementation cannot:
|
|
27
|
-
* - Bypass input validation
|
|
28
|
-
* - Bypass authorization checks
|
|
29
|
-
* - Bypass output validation
|
|
30
|
-
* - Know the capability's identity, version, required scopes, or schemas
|
|
31
|
-
*
|
|
32
|
-
* ## Supported for Both Regular and Stream Capabilities
|
|
33
|
-
*
|
|
34
|
-
* Implementation binding works for:
|
|
35
|
-
* - Regular (request/response) capabilities via defineCapability + handleRequest
|
|
36
|
-
* - Stream capabilities via defineStreamCapability + handleStreamRequest
|
|
37
|
-
*
|
|
38
|
-
* In both cases, if an implementation is bound, it is used; otherwise the handler is
|
|
39
|
-
* called as a fallback. This enables gradual adoption and backward compatibility.
|
|
40
|
-
*/
|
|
41
|
-
/**
|
|
42
|
-
* Create a capability implementation from a handler function.
|
|
43
|
-
*
|
|
44
|
-
* Provides a fluent way to author implementations:
|
|
45
|
-
*
|
|
46
|
-
* ```typescript
|
|
47
|
-
* export const createInvoiceImpl = implementation(async (input, context) => {
|
|
48
|
-
* const id = await db.createInvoice(input);
|
|
49
|
-
* await context.emit({ name: "invoice.created", payload: { id } });
|
|
50
|
-
* return { id };
|
|
51
|
-
* });
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* The implementation knows only its own logic. The contract (defineCapability)
|
|
55
|
-
* owns schema, authorization, events, and identity. AppPort binds and enforces
|
|
56
|
-
* the boundary.
|
|
57
|
-
*/
|
|
58
|
-
export function implementation(handler) {
|
|
59
|
-
return {
|
|
60
|
-
async execute(input, context) {
|
|
61
|
-
return await handler(input, context);
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
//# sourceMappingURL=implementation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.js","sourceRoot":"","sources":["../src/implementation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AA4DH;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,cAAc,CAC5B,OAA+C;IAE/C,OAAO;QACL,KAAK,CAAC,OAAO,CAAC,KAAa,EAAE,OAAmC;YAC9D,OAAO,MAAM,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACvC,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `@appport/core` — the capability runtime.
|
|
3
|
-
*
|
|
4
|
-
* Registry, dispatch pipeline, validation, sessions, authorization wiring,
|
|
5
|
-
* events, streams, operations and telemetry. Core knows nothing about HTTP,
|
|
6
|
-
* WebSocket, IPC or any storage engine (§66, §73).
|
|
7
|
-
*/
|
|
8
|
-
export * from "./capability.js";
|
|
9
|
-
export * from "./context.js";
|
|
10
|
-
export * from "./implementation.js";
|
|
11
|
-
export * from "./registry.js";
|
|
12
|
-
export * from "./events.js";
|
|
13
|
-
export * from "./streams.js";
|
|
14
|
-
export * from "./sessions.js";
|
|
15
|
-
export * from "./idempotency.js";
|
|
16
|
-
export * from "./concurrency.js";
|
|
17
|
-
export * from "./telemetry.js";
|
|
18
|
-
export * from "./sanitize.js";
|
|
19
|
-
export * from "./operations.js";
|
|
20
|
-
export * from "./builtins.js";
|
|
21
|
-
export * from "./assembly.js";
|
|
22
|
-
export * from "./manifest.js";
|
|
23
|
-
export * from "./contract-artifact.js";
|
|
24
|
-
export * from "./application-package.js";
|
|
25
|
-
export * from "./application.js";
|
|
26
|
-
export * from "./state.js";
|
|
27
|
-
export * from "./application-lifecycle.js";
|
|
28
|
-
export * from "./appboundry-contract.js";
|
|
29
|
-
export * from "./runtime-manifest.js";
|
|
30
|
-
export * from "./contract-attestation.js";
|
|
31
|
-
export * from "./source-verification.js";
|
|
32
|
-
export * from "./application-source.js";
|
|
33
|
-
export * from "./application-implementation.js";
|
|
34
|
-
export * from "./state-context.js";
|
|
35
|
-
export * from "./memory-application-data-store.js";
|
|
36
|
-
export * from "./registration.js";
|
|
37
|
-
export * from "./resolver.js";
|
|
38
|
-
export * from "./binding.js";
|
|
39
|
-
export * from "./appboundry-resolution.js";
|
|
40
|
-
export * from "./appboundry-materialization.js";
|
|
41
|
-
export * from "./appboundry-execution.js";
|
|
42
|
-
export * from "./appboundry-usage.js";
|
|
43
|
-
export * from "./appboundry-discovery.js";
|
|
44
|
-
export * from "./appboundry-surface.js";
|
|
45
|
-
export * from "./appboundry-composition.js";
|
|
46
|
-
export * from "./appboundry-entitlements.js";
|
|
47
|
-
export * from "./authorization-grant.js";
|
|
48
|
-
export * from "./invocation.js";
|
|
49
|
-
export * from "./artifact.js";
|
|
50
|
-
export * from "./execution.js";
|
|
51
|
-
export * from "./execution-ledger.js";
|
|
52
|
-
export * from "./wasm-engine.js";
|
|
53
|
-
export * from "./appboundry-capability-catalog.js";
|
|
54
|
-
export * from "./appboundry-operation-discovery.js";
|
|
55
|
-
export * from "./appboundry-exercise.js";
|
|
56
|
-
export * from "./appboundry-diagnostics.js";
|
|
57
|
-
export * from "./appboundry-onboarding.js";
|
|
58
|
-
export * from "./appboundry-migration.js";
|
|
59
|
-
export * from "./provider-contract.js";
|
|
60
|
-
export type { JsonValue } from "../../protocol/dist/index.d.ts";
|
|
61
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CA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@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `@appport/core` — the capability runtime.
|
|
3
|
-
*
|
|
4
|
-
* Registry, dispatch pipeline, validation, sessions, authorization wiring,
|
|
5
|
-
* events, streams, operations and telemetry. Core knows nothing about HTTP,
|
|
6
|
-
* WebSocket, IPC or any storage engine (§66, §73).
|
|
7
|
-
*/
|
|
8
|
-
export * from "./capability.js";
|
|
9
|
-
export * from "./context.js";
|
|
10
|
-
export * from "./implementation.js";
|
|
11
|
-
export * from "./registry.js";
|
|
12
|
-
export * from "./events.js";
|
|
13
|
-
export * from "./streams.js";
|
|
14
|
-
export * from "./sessions.js";
|
|
15
|
-
export * from "./idempotency.js";
|
|
16
|
-
export * from "./concurrency.js";
|
|
17
|
-
export * from "./telemetry.js";
|
|
18
|
-
export * from "./sanitize.js";
|
|
19
|
-
export * from "./operations.js";
|
|
20
|
-
export * from "./builtins.js";
|
|
21
|
-
export * from "./assembly.js";
|
|
22
|
-
export * from "./manifest.js";
|
|
23
|
-
export * from "./contract-artifact.js";
|
|
24
|
-
export * from "./application-package.js";
|
|
25
|
-
export * from "./application.js";
|
|
26
|
-
export * from "./state.js";
|
|
27
|
-
export * from "./application-lifecycle.js";
|
|
28
|
-
export * from "./appboundry-contract.js";
|
|
29
|
-
export * from "./runtime-manifest.js";
|
|
30
|
-
export * from "./contract-attestation.js";
|
|
31
|
-
export * from "./source-verification.js";
|
|
32
|
-
export * from "./application-source.js";
|
|
33
|
-
export * from "./application-implementation.js";
|
|
34
|
-
export * from "./state-context.js";
|
|
35
|
-
export * from "./memory-application-data-store.js";
|
|
36
|
-
export * from "./registration.js";
|
|
37
|
-
export * from "./resolver.js";
|
|
38
|
-
export * from "./binding.js";
|
|
39
|
-
export * from "./appboundry-resolution.js";
|
|
40
|
-
export * from "./appboundry-materialization.js";
|
|
41
|
-
export * from "./appboundry-execution.js";
|
|
42
|
-
export * from "./appboundry-usage.js";
|
|
43
|
-
export * from "./appboundry-discovery.js";
|
|
44
|
-
export * from "./appboundry-surface.js";
|
|
45
|
-
export * from "./appboundry-composition.js";
|
|
46
|
-
export * from "./appboundry-entitlements.js";
|
|
47
|
-
export * from "./authorization-grant.js";
|
|
48
|
-
export * from "./invocation.js";
|
|
49
|
-
export * from "./artifact.js";
|
|
50
|
-
export * from "./execution.js";
|
|
51
|
-
export * from "./execution-ledger.js";
|
|
52
|
-
export * from "./wasm-engine.js";
|
|
53
|
-
export * from "./appboundry-capability-catalog.js";
|
|
54
|
-
export * from "./appboundry-operation-discovery.js";
|
|
55
|
-
export * from "./appboundry-exercise.js";
|
|
56
|
-
export * from "./appboundry-diagnostics.js";
|
|
57
|
-
export * from "./appboundry-onboarding.js";
|
|
58
|
-
export * from "./appboundry-migration.js";
|
|
59
|
-
export * from "./provider-contract.js";
|
|
60
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,oBAAoB,CAAC;AACnC,cAAc,oCAAoC,CAAC;AACnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Capability Invocation Layer (PR24)
|
|
3
|
-
*
|
|
4
|
-
* The canonical invocation abstraction that turns an authorized relationship
|
|
5
|
-
* into an executable invocation without introducing WASM, persistent runtime
|
|
6
|
-
* processes, or remote transports.
|
|
7
|
-
*
|
|
8
|
-
* CRITICAL INVARIANT: A capability cannot be invoked without an AuthorizedCapabilityBinding.
|
|
9
|
-
*
|
|
10
|
-
* Architecture:
|
|
11
|
-
* Discover (PR21) → Resolve (PR22) → Authorize (PR23) → Bind (PR23) → Invoke (PR24)
|
|
12
|
-
*
|
|
13
|
-
* The invocation layer:
|
|
14
|
-
* - Receives an already-authorized binding
|
|
15
|
-
* - Validates binding/context consistency (no re-authorization)
|
|
16
|
-
* - Resolves the capability implementation (no re-discovery)
|
|
17
|
-
* - Validates input before handler execution
|
|
18
|
-
* - Executes the implementation
|
|
19
|
-
* - Validates output after execution
|
|
20
|
-
* - Returns explicit result (SUCCESS, FAILED, CANCELLED, TIMED_OUT)
|
|
21
|
-
* - Never implicitly falls back to another provider
|
|
22
|
-
* - Never retries or changes topology
|
|
23
|
-
* - Remains execution-engine-neutral for future WASM integration
|
|
24
|
-
*/
|
|
25
|
-
import type { ApplicationState } from "./state.js";
|
|
26
|
-
import { type AuthorizedCapabilityBinding } from "./binding.js";
|
|
27
|
-
import type { CapabilityDefinition } from "./capability.js";
|
|
28
|
-
import type { CapabilityExecutionContext } from "./implementation.js";
|
|
29
|
-
/**
|
|
30
|
-
* An invocation request: the semantic participants and input for capability invocation.
|
|
31
|
-
*
|
|
32
|
-
* CRITICAL: This captures identity only, not credentials or runtime handles.
|
|
33
|
-
* Credentials, secrets, and functions must never enter invocation metadata.
|
|
34
|
-
*/
|
|
35
|
-
export interface CapabilityInvocationRequest<TInput = unknown> {
|
|
36
|
-
/** The authorized binding that permits this invocation. */
|
|
37
|
-
readonly binding: AuthorizedCapabilityBinding;
|
|
38
|
-
/** The input to pass to the capability implementation. */
|
|
39
|
-
readonly input: TInput;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* An invocation context: semantic metadata about capability invocation execution.
|
|
43
|
-
*
|
|
44
|
-
* Contains information sufficient to execute a capability, but contains no:
|
|
45
|
-
* - Secrets or credentials
|
|
46
|
-
* - Functions or closures
|
|
47
|
-
* - Runtime handles or process IDs
|
|
48
|
-
* - Execution context (that's separate from invocation identity)
|
|
49
|
-
*
|
|
50
|
-
* CRITICAL: This is invocation semantic identity, not a runtime context.
|
|
51
|
-
* Do not put execution details here.
|
|
52
|
-
*/
|
|
53
|
-
export interface CapabilityInvocationContext {
|
|
54
|
-
/** Unique identifier for this invocation. */
|
|
55
|
-
readonly invocationId: string;
|
|
56
|
-
/** The consumer application. */
|
|
57
|
-
readonly consumer: ApplicationState;
|
|
58
|
-
/** The provider application. */
|
|
59
|
-
readonly provider: ApplicationState;
|
|
60
|
-
/** The capability being invoked. */
|
|
61
|
-
readonly capability: {
|
|
62
|
-
readonly name: string;
|
|
63
|
-
readonly version: number;
|
|
64
|
-
};
|
|
65
|
-
/** The authorized binding that permits this invocation. */
|
|
66
|
-
readonly binding: AuthorizedCapabilityBinding;
|
|
67
|
-
/** Cancellation signal for this invocation. */
|
|
68
|
-
readonly signal?: AbortSignal;
|
|
69
|
-
/** Epoch milliseconds after which the invocation is timed out. */
|
|
70
|
-
readonly deadline?: number;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Invocation result: an explicit outcome for capability invocation.
|
|
74
|
-
*
|
|
75
|
-
* Explicitly distinguishes SUCCESS, FAILED, CANCELLED, TIMED_OUT.
|
|
76
|
-
* Does not collapse failures into a generic result.
|
|
77
|
-
*
|
|
78
|
-
* Contains enough information for observability without leaking internals:
|
|
79
|
-
* - Invocation identity
|
|
80
|
-
* - Consumer/provider relationship
|
|
81
|
-
* - Outcome and normalized error
|
|
82
|
-
*
|
|
83
|
-
* Does NOT contain:
|
|
84
|
-
* - Credentials or secrets
|
|
85
|
-
* - Stack traces or internal details
|
|
86
|
-
* - Handler objects or functions
|
|
87
|
-
* - Runtime implementation details
|
|
88
|
-
*/
|
|
89
|
-
export type CapabilityInvocationResult<TOutput = unknown> = SuccessfulInvocationResult<TOutput> | FailedInvocationResult | CancelledInvocationResult | TimedOutInvocationResult;
|
|
90
|
-
/**
|
|
91
|
-
* Successful invocation: the implementation executed and produced valid output.
|
|
92
|
-
*/
|
|
93
|
-
export interface SuccessfulInvocationResult<TOutput = unknown> {
|
|
94
|
-
readonly kind: "success";
|
|
95
|
-
readonly invocationId: string;
|
|
96
|
-
readonly consumer: ApplicationState;
|
|
97
|
-
readonly provider: ApplicationState;
|
|
98
|
-
readonly capability: {
|
|
99
|
-
readonly name: string;
|
|
100
|
-
readonly version: number;
|
|
101
|
-
};
|
|
102
|
-
readonly output: TOutput;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Failed invocation: the implementation failed or produced invalid output.
|
|
106
|
-
*
|
|
107
|
-
* Distinguishes multiple failure modes:
|
|
108
|
-
* - INVALID_BINDING: binding doesn't match invocation context
|
|
109
|
-
* - INVALID_CONTEXT: invocation context is inconsistent
|
|
110
|
-
* - INVALID_INPUT: input doesn't match capability schema
|
|
111
|
-
* - IMPLEMENTATION_FAILURE: implementation threw
|
|
112
|
-
* - INVALID_OUTPUT: implementation produced output that doesn't match schema
|
|
113
|
-
*/
|
|
114
|
-
export interface FailedInvocationResult {
|
|
115
|
-
readonly kind: "failed";
|
|
116
|
-
readonly invocationId: string;
|
|
117
|
-
readonly consumer: ApplicationState;
|
|
118
|
-
readonly provider: ApplicationState;
|
|
119
|
-
readonly capability: {
|
|
120
|
-
readonly name: string;
|
|
121
|
-
readonly version: number;
|
|
122
|
-
};
|
|
123
|
-
readonly error: CapabilityInvocationError;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Cancelled invocation: the invocation was cancelled before completion.
|
|
127
|
-
*/
|
|
128
|
-
export interface CancelledInvocationResult {
|
|
129
|
-
readonly kind: "cancelled";
|
|
130
|
-
readonly invocationId: string;
|
|
131
|
-
readonly consumer: ApplicationState;
|
|
132
|
-
readonly provider: ApplicationState;
|
|
133
|
-
readonly capability: {
|
|
134
|
-
readonly name: string;
|
|
135
|
-
readonly version: number;
|
|
136
|
-
};
|
|
137
|
-
readonly reason?: string;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Timed-out invocation: the invocation exceeded its deadline.
|
|
141
|
-
*/
|
|
142
|
-
export interface TimedOutInvocationResult {
|
|
143
|
-
readonly kind: "timed_out";
|
|
144
|
-
readonly invocationId: string;
|
|
145
|
-
readonly consumer: ApplicationState;
|
|
146
|
-
readonly provider: ApplicationState;
|
|
147
|
-
readonly capability: {
|
|
148
|
-
readonly name: string;
|
|
149
|
-
readonly version: number;
|
|
150
|
-
};
|
|
151
|
-
readonly reason?: string;
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Normalized invocation error.
|
|
155
|
-
*
|
|
156
|
-
* Maps multiple failure modes to semantic error types without leaking
|
|
157
|
-
* provider internals through the public result.
|
|
158
|
-
*/
|
|
159
|
-
export type CapabilityInvocationError = InvalidBindingError | InvalidContextError | InvalidInputError | ImplementationFailureError | InvalidOutputError;
|
|
160
|
-
/**
|
|
161
|
-
* The binding doesn't match the invocation context.
|
|
162
|
-
*
|
|
163
|
-
* Examples:
|
|
164
|
-
* - binding.consumer !== invocationContext.consumer
|
|
165
|
-
* - binding.provider !== invocationContext.provider
|
|
166
|
-
* - binding.capability !== invocationContext.capability
|
|
167
|
-
*/
|
|
168
|
-
export interface InvalidBindingError {
|
|
169
|
-
readonly kind: "invalid_binding";
|
|
170
|
-
readonly reason: string;
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* The invocation context is inconsistent or invalid.
|
|
174
|
-
*
|
|
175
|
-
* Examples:
|
|
176
|
-
* - Required context fields are missing
|
|
177
|
-
* - Context violates architectural invariants
|
|
178
|
-
*/
|
|
179
|
-
export interface InvalidContextError {
|
|
180
|
-
readonly kind: "invalid_context";
|
|
181
|
-
readonly reason: string;
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* The input doesn't match the capability's input schema.
|
|
185
|
-
*
|
|
186
|
-
* This error is produced BEFORE the implementation is invoked.
|
|
187
|
-
* It guarantees the implementation was never executed.
|
|
188
|
-
*/
|
|
189
|
-
export interface InvalidInputError {
|
|
190
|
-
readonly kind: "invalid_input";
|
|
191
|
-
readonly reason: string;
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* The implementation failed to execute.
|
|
195
|
-
*
|
|
196
|
-
* The implementation threw an error or was aborted.
|
|
197
|
-
* The normalized error message is supplied without internal stack traces.
|
|
198
|
-
*/
|
|
199
|
-
export interface ImplementationFailureError {
|
|
200
|
-
readonly kind: "implementation_failure";
|
|
201
|
-
readonly reason: string;
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* The implementation produced invalid output.
|
|
205
|
-
*
|
|
206
|
-
* The implementation executed successfully but returned output that
|
|
207
|
-
* doesn't match the capability's output schema.
|
|
208
|
-
*
|
|
209
|
-
* The invalid output is not returned to the caller.
|
|
210
|
-
*/
|
|
211
|
-
export interface InvalidOutputError {
|
|
212
|
-
readonly kind: "invalid_output";
|
|
213
|
-
readonly reason: string;
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Capability Invoker: executes authorized capabilities with semantic enforcement.
|
|
217
|
-
*
|
|
218
|
-
* The invoker:
|
|
219
|
-
* - Requires AuthorizedCapabilityBinding for every invocation
|
|
220
|
-
* - Validates binding/context consistency
|
|
221
|
-
* - Validates input before handler execution
|
|
222
|
-
* - Executes the capability implementation
|
|
223
|
-
* - Validates output after execution
|
|
224
|
-
* - Returns explicit result types
|
|
225
|
-
* - Never re-discovers providers or re-authorizes
|
|
226
|
-
* - Never implicitly falls back to another provider
|
|
227
|
-
* - Remains execution-engine-neutral
|
|
228
|
-
*
|
|
229
|
-
* Flow:
|
|
230
|
-
* 1. Validate binding matches invocation context
|
|
231
|
-
* 2. Validate input against capability schema
|
|
232
|
-
* 3. Resolve capability definition and implementation
|
|
233
|
-
* 4. Execute implementation with context
|
|
234
|
-
* 5. Validate output against capability schema
|
|
235
|
-
* 6. Return explicit result
|
|
236
|
-
*/
|
|
237
|
-
export declare class CapabilityInvoker {
|
|
238
|
-
#private;
|
|
239
|
-
/**
|
|
240
|
-
* Invoke a capability through an authorized binding.
|
|
241
|
-
*
|
|
242
|
-
* @param request The invocation request containing binding and input
|
|
243
|
-
* @param capabilityDefinition The capability definition from the registry
|
|
244
|
-
* @param executionContext The execution context (from Application)
|
|
245
|
-
* @returns The invocation result with explicit outcome
|
|
246
|
-
*/
|
|
247
|
-
invoke<TInput = unknown, TOutput = unknown>(request: CapabilityInvocationRequest<TInput>, capabilityDefinition: CapabilityDefinition<TInput, TOutput>, executionContext: CapabilityExecutionContext): Promise<CapabilityInvocationResult<TOutput>>;
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* Default capability invoker: a singleton for common use.
|
|
251
|
-
*/
|
|
252
|
-
export declare const defaultCapabilityInvoker: CapabilityInvoker;
|
|
253
|
-
//# sourceMappingURL=invocation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invocation.d.ts","sourceRoot":"","sources":["../src/invocation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAiC,KAAK,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAG/F,OAAO,KAAK,EAAE,oBAAoB,EAAoC,MAAM,iBAAiB,CAAC;AAC9F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAGtE;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B,CAAC,MAAM,GAAG,OAAO;IAC3D,2DAA2D;IAC3D,QAAQ,CAAC,OAAO,EAAE,2BAA2B,CAAC;IAE9C,0DAA0D;IAC1D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C;IAC7C,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAE9B,gCAAgC;IAChC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IAEpC,gCAAgC;IAChC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IAEpC,oCAAoC;IACpC,QAAQ,CAAC,UAAU,EAAE;QACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,QAAQ,CAAC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