@appport/sdk 1.1.17 → 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
package/README.md
CHANGED
|
@@ -1,94 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@appport/sdk`
|
|
2
2
|
|
|
3
|
-
The
|
|
4
|
-
a stable identity and define portable, contract-driven capabilities without
|
|
5
|
-
coupling application code to a process, URL, transport, AppBoundry, or FeltDB.
|
|
3
|
+
The curated TypeScript API for the AppPort protocol.
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
npm install @appport/sdk
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
For the quickest setup, install the CLI and let it create the application
|
|
14
|
-
boundary:
|
|
15
|
-
|
|
16
|
-
```sh
|
|
17
|
-
npm install --save-dev appport
|
|
18
|
-
npx appport contract init
|
|
19
|
-
npx appport add # guided capability setup
|
|
20
|
-
npx appport dev
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Use `@appport/sdk` in application code to define contracts and handlers. The SDK
|
|
24
|
-
is also the canonical producer of the AppPort application package that
|
|
25
|
-
AppBoundry consumes; use the `appport` CLI to scaffold, generate, run, test, and
|
|
26
|
-
validate the same contract.
|
|
5
|
+
It exposes application contracts, capability handlers, manifests, clients,
|
|
6
|
+
servers, authorization primitives, and supported transports without coupling
|
|
7
|
+
application code to a URL, process, transport, storage engine, or platform.
|
|
27
8
|
|
|
28
9
|
```ts
|
|
29
|
-
import {
|
|
30
|
-
|
|
31
|
-
const history = defineCapability({
|
|
32
|
-
name: "tracker.history",
|
|
33
|
-
version: 1,
|
|
34
|
-
input: s.object({ trackerId: s.string() }),
|
|
35
|
-
output: s.object({ entries: s.array(s.string()) }),
|
|
36
|
-
async handler({ trackerId }) {
|
|
37
|
-
return { entries: await existingTracker.history(trackerId) };
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
export const tracker = defineApplication({
|
|
42
|
-
id: "com.example.tracker",
|
|
43
|
-
name: "Tracker",
|
|
44
|
-
version: "1.0.0",
|
|
45
|
-
provides: [history]
|
|
46
|
-
});
|
|
10
|
+
import { createClient, createHttpTransport } from "@appport/sdk";
|
|
47
11
|
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
implementationId: "tracker.wasm"
|
|
12
|
+
const app = createClient({
|
|
13
|
+
transport: createHttpTransport({ url: "/appport" })
|
|
51
14
|
});
|
|
52
|
-
|
|
53
|
-
// appPackage.files contains the `.app` bundle manifest and application.wasm.
|
|
54
|
-
// appPackage.contractFingerprint is the canonical contract fingerprint.
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
See all CLI commands with `npx appport --help`. The main workflow is `add`,
|
|
58
|
-
`dev`, `build`, `test`, `doctor`, and `validate`.
|
|
59
|
-
|
|
60
|
-
Capability implementations are transport-independent. Choose in-process,
|
|
61
|
-
HTTP, WebSocket, Electron, Tauri, web, mobile, or MCP adapters at the process
|
|
62
|
-
edge.
|
|
63
|
-
|
|
64
|
-
The supported surface is the package root plus the Node-only
|
|
65
|
-
`@appport/sdk/node` host entrypoint. The root supports modern browsers and Node
|
|
66
|
-
20+ where the selected adapter's platform APIs are available; Bun and Deno are
|
|
67
|
-
not yet qualified. AppPort is the open protocol and application boundary.
|
|
68
|
-
AppBoundry is an optional downstream authority that discovers, authorizes, and
|
|
69
|
-
governs AppPort applications—it is not required to use this SDK.
|
|
70
|
-
|
|
71
|
-
The first public release treats the documented exports as the compatibility
|
|
72
|
-
surface under semantic versioning. Protocol requirements are defined in the
|
|
73
|
-
[AppPort specification](../../spec/appport-1.0.md).
|
|
74
|
-
|
|
75
|
-
## External compatibility proof
|
|
76
|
-
|
|
77
|
-
The external compatibility harness executes its real application boundaries,
|
|
78
|
-
including AWS CardDemo COBOL, FastAPI, Spring Boot, MCP, WebAssembly, and the
|
|
79
|
-
modern replacement service. Install its host prerequisites before running:
|
|
80
|
-
|
|
81
|
-
```sh
|
|
82
|
-
# macOS
|
|
83
|
-
brew install gnucobol maven
|
|
84
|
-
export PATH="$(brew --prefix openjdk)/bin:$PATH"
|
|
85
|
-
python3 -m pip install -r external/fastapi-account/requirements.txt
|
|
86
|
-
|
|
87
|
-
# Debian/Ubuntu
|
|
88
|
-
sudo apt-get install -y gnucobol maven
|
|
89
|
-
python3 -m pip install -r external/fastapi-account/requirements.txt
|
|
90
15
|
```
|
|
91
16
|
|
|
92
|
-
|
|
93
|
-
reported as failures because silently substituting or skipping them would not
|
|
94
|
-
prove compatibility.
|
|
17
|
+
Node-only hosting helpers are exported from `@appport/sdk/node`.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
/** The intentional, curated AppPort developer surface. */
|
|
2
|
-
export * from "
|
|
3
|
-
export { s, toSchema, toJSONSchema, fromJSONSchema, type Schema, type SchemaInput } from "
|
|
4
|
-
export { AppPortError, errors, type AppRequest, type AppResponse, type AppEventEnvelope, type AppStreamRequest, type JsonValue } from "
|
|
5
|
-
export { AppPort, createClient, type AppPortClient, type AppTransport, type CallOptions, type TypedStream, type Unsubscribe } from "
|
|
6
|
-
export { AppPortServer, createServer, type Identity } from "
|
|
7
|
-
export { permissionAuthorizer, allowAllAuthorizer, authorizerFrom, combineAuthorizers, createAuthorizationContext, type Authorizer, type AuthorizationContext, type AuthorizationDecision } from "
|
|
8
|
-
export { createInProcessTransport, type InProcessTransportOptions } from "
|
|
9
|
-
export { createHttpTransport, type HttpTransportOptions } from "
|
|
10
|
-
export { createWebSocketTransport, type WebSocketTransportOptions } from "
|
|
11
|
-
export { createElectronTransport, serveElectronIpc, exposeAppPort } from "
|
|
12
|
-
export { createTauriTransport, APPPORT_COMMAND, APPPORT_EVENT, type TauriTransportOptions } from "
|
|
13
|
-
export { MobileAppPortClient, type MobileAppPort, type MobileConnectOptions } from "
|
|
14
|
-
export { createMcpBridge, fromToolName, toMcpTools, toToolName, type McpBridge, type McpBridgeOptions, type McpTool, type McpToolResult } from "
|
|
15
|
-
export * from "./external-compatibility.js";
|
|
16
|
-
export * from "./provider-lifecycle.js";
|
|
17
|
-
export * from "./resolution-policy.js";
|
|
18
|
-
export * from "./application-onboarding.js";
|
|
19
|
-
export * from "./execution-topology.js";
|
|
2
|
+
export * from "@appport/core/public";
|
|
3
|
+
export { s, toSchema, toJSONSchema, fromJSONSchema, type Schema, type SchemaInput } from "@appport/schema";
|
|
4
|
+
export { AppPortError, errors, type AppRequest, type AppResponse, type AppEventEnvelope, type AppStreamRequest, type JsonValue } from "@appport/protocol";
|
|
5
|
+
export { AppPort, createClient, type AppPortClient, type AppTransport, type CallOptions, type TypedStream, type Unsubscribe } from "@appport/client";
|
|
6
|
+
export { AppPortServer, createServer, type Identity } from "@appport/server";
|
|
7
|
+
export { permissionAuthorizer, allowAllAuthorizer, authorizerFrom, combineAuthorizers, createAuthorizationContext, type Authorizer, type AuthorizationContext, type AuthorizationDecision } from "@appport/authorization";
|
|
8
|
+
export { createInProcessTransport, type InProcessTransportOptions } from "@appport/transport-inprocess";
|
|
9
|
+
export { createHttpTransport, type HttpTransportOptions } from "@appport/transport-http";
|
|
10
|
+
export { createWebSocketTransport, type WebSocketTransportOptions } from "@appport/transport-websocket";
|
|
11
|
+
export { createElectronTransport, serveElectronIpc, exposeAppPort } from "@appport/transport-electron";
|
|
12
|
+
export { createTauriTransport, APPPORT_COMMAND, APPPORT_EVENT, type TauriTransportOptions } from "@appport/transport-tauri";
|
|
13
|
+
export { MobileAppPortClient, type MobileAppPort, type MobileConnectOptions } from "@appport/mobile";
|
|
14
|
+
export { createMcpBridge, fromToolName, toMcpTools, toToolName, type McpBridge, type McpBridgeOptions, type McpTool, type McpToolResult } from "@appport/mcp";
|
|
20
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,cAAc,sBAA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oBAAoB,EAAE,eAAe,EAAE,aAAa,EAAE,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAC5H,OAAO,EAAE,mBAAmB,EAAE,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACrG,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,gBAAgB,EAAE,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
/** The intentional, curated AppPort developer surface. */
|
|
2
|
-
export * from "
|
|
3
|
-
export { s, toSchema, toJSONSchema, fromJSONSchema } from "
|
|
4
|
-
export { AppPortError, errors } from "
|
|
5
|
-
export { AppPort, createClient } from "
|
|
6
|
-
export { AppPortServer, createServer } from "
|
|
7
|
-
export { permissionAuthorizer, allowAllAuthorizer, authorizerFrom, combineAuthorizers, createAuthorizationContext } from "
|
|
8
|
-
export { createInProcessTransport } from "
|
|
9
|
-
export { createHttpTransport } from "
|
|
10
|
-
export { createWebSocketTransport } from "
|
|
11
|
-
export { createElectronTransport, serveElectronIpc, exposeAppPort } from "
|
|
12
|
-
export { createTauriTransport, APPPORT_COMMAND, APPPORT_EVENT } from "
|
|
13
|
-
export { MobileAppPortClient } from "
|
|
14
|
-
export { createMcpBridge, fromToolName, toMcpTools, toToolName } from "
|
|
15
|
-
export * from "./external-compatibility.js";
|
|
16
|
-
export * from "./provider-lifecycle.js";
|
|
17
|
-
export * from "./resolution-policy.js";
|
|
18
|
-
export * from "./application-onboarding.js";
|
|
19
|
-
export * from "./execution-topology.js";
|
|
2
|
+
export * from "@appport/core/public";
|
|
3
|
+
export { s, toSchema, toJSONSchema, fromJSONSchema } from "@appport/schema";
|
|
4
|
+
export { AppPortError, errors } from "@appport/protocol";
|
|
5
|
+
export { AppPort, createClient } from "@appport/client";
|
|
6
|
+
export { AppPortServer, createServer } from "@appport/server";
|
|
7
|
+
export { permissionAuthorizer, allowAllAuthorizer, authorizerFrom, combineAuthorizers, createAuthorizationContext } from "@appport/authorization";
|
|
8
|
+
export { createInProcessTransport } from "@appport/transport-inprocess";
|
|
9
|
+
export { createHttpTransport } from "@appport/transport-http";
|
|
10
|
+
export { createWebSocketTransport } from "@appport/transport-websocket";
|
|
11
|
+
export { createElectronTransport, serveElectronIpc, exposeAppPort } from "@appport/transport-electron";
|
|
12
|
+
export { createTauriTransport, APPPORT_COMMAND, APPPORT_EVENT } from "@appport/transport-tauri";
|
|
13
|
+
export { MobileAppPortClient } from "@appport/mobile";
|
|
14
|
+
export { createMcpBridge, fromToolName, toMcpTools, toToolName } from "@appport/mcp";
|
|
20
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAiC,MAAM,iBAAiB,CAAC;AAC3G,OAAO,EAAE,YAAY,EAAE,MAAM,EAAmG,MAAM,mBAAmB,CAAC;AAC1J,OAAO,EAAE,OAAO,EAAE,YAAY,EAA+F,MAAM,iBAAiB,CAAC;AACrJ,OAAO,EAAE,aAAa,EAAE,YAAY,EAAiB,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,0BAA0B,EAI3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,wBAAwB,EAAkC,MAAM,8BAA8B,CAAC;AACxG,OAAO,EAAE,mBAAmB,EAA6B,MAAM,yBAAyB,CAAC;AACzF,OAAO,EAAE,wBAAwB,EAAkC,MAAM,8BAA8B,CAAC;AACxG,OAAO,EAAE,uBAAuB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AAC"}
|
package/dist/node.d.ts
CHANGED
package/dist/node.js
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appport/sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.19",
|
|
4
4
|
"description": "AppPort developer SDK: implement a universal application boundary across runtimes and transports.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"appport",
|
|
7
|
-
"application",
|
|
8
|
-
"capabilities",
|
|
9
|
-
"contracts",
|
|
10
|
-
"wasm",
|
|
11
|
-
"agents"
|
|
12
|
-
],
|
|
5
|
+
"keywords": ["appport", "application", "capabilities", "contracts", "wasm", "agents"],
|
|
13
6
|
"license": "Apache-2.0",
|
|
14
7
|
"type": "module",
|
|
15
8
|
"main": "./dist/index.js",
|
|
@@ -24,29 +17,26 @@
|
|
|
24
17
|
"import": "./dist/node.js"
|
|
25
18
|
}
|
|
26
19
|
},
|
|
27
|
-
"files": [
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
20
|
+
"files": ["dist", "README.md"],
|
|
21
|
+
"scripts": { "build": "tsc -b", "clean": "tsc -b --clean" },
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@appport/core": "1.0.1",
|
|
24
|
+
"@appport/protocol": "1.0.0",
|
|
25
|
+
"@appport/schema": "1.0.0",
|
|
26
|
+
"@appport/authorization": "1.0.0",
|
|
27
|
+
"@appport/client": "1.0.0",
|
|
28
|
+
"@appport/server": "1.0.0",
|
|
29
|
+
"@appport/mobile": "1.0.0",
|
|
30
|
+
"@appport/mcp": "1.0.0",
|
|
31
|
+
"@appport/transport-inprocess": "1.0.0",
|
|
32
|
+
"@appport/transport-http": "1.0.0",
|
|
33
|
+
"@appport/transport-websocket": "1.0.0",
|
|
34
|
+
"@appport/transport-electron": "1.0.0",
|
|
35
|
+
"@appport/transport-tauri": "1.0.0"
|
|
43
36
|
},
|
|
37
|
+
"engines": { "node": ">=20" },
|
|
38
|
+
"repository": { "type": "git", "url": "git+https://github.com/rkendel1/appport.git", "directory": "packages/sdk" },
|
|
44
39
|
"homepage": "https://github.com/rkendel1/appport#readme",
|
|
45
|
-
"bugs": {
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
"publishConfig": {
|
|
49
|
-
"access": "public",
|
|
50
|
-
"provenance": true
|
|
51
|
-
}
|
|
40
|
+
"bugs": { "url": "https://github.com/rkendel1/appport/issues" },
|
|
41
|
+
"publishConfig": { "access": "public" }
|
|
52
42
|
}
|
package/LICENSE
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work.
|
|
38
|
-
|
|
39
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
40
|
-
form, that is based on (or derived from) the Work and for which the
|
|
41
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
42
|
-
represent, as a whole, an original work of authorship.
|
|
43
|
-
|
|
44
|
-
"Contribution" shall mean any work of authorship, including
|
|
45
|
-
the original version of the Work and any modifications or additions
|
|
46
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
47
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
48
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
49
|
-
the copyright owner.
|
|
50
|
-
|
|
51
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
52
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
53
|
-
subsequently incorporated within the Work.
|
|
54
|
-
|
|
55
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
56
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
57
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
58
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
59
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
60
|
-
Work and such Derivative Works in Source or Object form.
|
|
61
|
-
|
|
62
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
63
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
64
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
65
|
-
(except as stated in this section) patent license to make, have made,
|
|
66
|
-
use, offer to sell, sell, import, and otherwise transfer the Work.
|
|
67
|
-
|
|
68
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
69
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
70
|
-
modifications, and in Source or Object form, provided that You
|
|
71
|
-
meet the following conditions:
|
|
72
|
-
|
|
73
|
-
(a) You must give any other recipients of the Work or
|
|
74
|
-
Derivative Works a copy of this License; and
|
|
75
|
-
|
|
76
|
-
(b) You must cause any modified files to carry prominent notices
|
|
77
|
-
stating that You changed the files; and
|
|
78
|
-
|
|
79
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
80
|
-
that You distribute, all copyright, patent, trademark, and
|
|
81
|
-
attribution notices from the Source form of the Work; and
|
|
82
|
-
|
|
83
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
84
|
-
distribution, then any Derivative Works that You distribute must
|
|
85
|
-
include a readable copy of the attribution notices contained
|
|
86
|
-
within such NOTICE file.
|
|
87
|
-
|
|
88
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
89
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
90
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
91
|
-
this License, without any additional terms or conditions.
|
|
92
|
-
|
|
93
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
94
|
-
names, trademarks, service marks, or product names of the Licensor.
|
|
95
|
-
|
|
96
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
97
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
98
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
99
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
100
|
-
implied.
|
|
101
|
-
|
|
102
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
103
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
104
|
-
shall any Contributor be liable to You for damages.
|
|
105
|
-
|
|
106
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
107
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
108
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
109
|
-
or other liability obligations and/or rights consistent with this
|
|
110
|
-
License.
|
|
111
|
-
|
|
112
|
-
END OF TERMS AND CONDITIONS
|
|
113
|
-
|
|
114
|
-
Copyright 2026 AppPort contributors
|
|
115
|
-
|
|
116
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
117
|
-
you may not use this file except in compliance with the License.
|
|
118
|
-
You may obtain a copy of the License at
|
|
119
|
-
|
|
120
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
121
|
-
|
|
122
|
-
Unless required by applicable law or agreed to in writing, software
|
|
123
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
124
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
125
|
-
See the License for the specific language governing permissions and
|
|
126
|
-
limitations under the License.
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared AppBoundry application onboarding model.
|
|
3
|
-
*
|
|
4
|
-
* The CLI and the future portal import path have different owners and UX, but
|
|
5
|
-
* they advance the same neutral application model through the same phases.
|
|
6
|
-
*/
|
|
7
|
-
import type { ExecutionTopology } from "./execution-topology.js";
|
|
8
|
-
export type ApplicationOnboardingEntryPoint = "self" | "portal";
|
|
9
|
-
export type ApplicationOwnership = "developer" | "enterprise";
|
|
10
|
-
export type ApplicationOnboardingPhaseName = "discover" | "start" | "exercise" | "resolve";
|
|
11
|
-
export type ApplicationOnboardingPhaseStatus = "ready" | "needs_input" | "complete";
|
|
12
|
-
export interface ApplicationOnboardingRepository {
|
|
13
|
-
readonly name: string;
|
|
14
|
-
readonly runtime: string;
|
|
15
|
-
readonly packageManager: string;
|
|
16
|
-
readonly buildSystem: string;
|
|
17
|
-
readonly existingAppPort?: boolean;
|
|
18
|
-
readonly existingContract?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface ApplicationOnboardingCapability {
|
|
21
|
-
readonly name: string;
|
|
22
|
-
readonly surface: string;
|
|
23
|
-
readonly target: string;
|
|
24
|
-
readonly source: string;
|
|
25
|
-
readonly exercised?: boolean;
|
|
26
|
-
readonly inputSchema?: unknown;
|
|
27
|
-
readonly outputSchema?: unknown;
|
|
28
|
-
}
|
|
29
|
-
export interface ApplicationOnboardingInput {
|
|
30
|
-
readonly entryPoint: ApplicationOnboardingEntryPoint;
|
|
31
|
-
readonly ownership: ApplicationOwnership;
|
|
32
|
-
readonly repository: ApplicationOnboardingRepository;
|
|
33
|
-
readonly capabilities: readonly ApplicationOnboardingCapability[];
|
|
34
|
-
readonly startCommand?: string;
|
|
35
|
-
readonly topology?: ExecutionTopology;
|
|
36
|
-
}
|
|
37
|
-
export interface ApplicationOnboardingPhase {
|
|
38
|
-
readonly name: ApplicationOnboardingPhaseName;
|
|
39
|
-
readonly status: ApplicationOnboardingPhaseStatus;
|
|
40
|
-
readonly summary: string;
|
|
41
|
-
}
|
|
42
|
-
export interface ApplicationOnboardingPlan {
|
|
43
|
-
readonly entryPoint: ApplicationOnboardingEntryPoint;
|
|
44
|
-
readonly ownership: ApplicationOwnership;
|
|
45
|
-
readonly repository: ApplicationOnboardingRepository;
|
|
46
|
-
readonly capabilities: readonly ApplicationOnboardingCapability[];
|
|
47
|
-
readonly phases: readonly ApplicationOnboardingPhase[];
|
|
48
|
-
readonly selectedCapabilities: readonly string[];
|
|
49
|
-
readonly topology?: ExecutionTopology;
|
|
50
|
-
}
|
|
51
|
-
export declare function createApplicationOnboardingPlan(input: ApplicationOnboardingInput): ApplicationOnboardingPlan;
|
|
52
|
-
//# sourceMappingURL=application-onboarding.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"application-onboarding.d.ts","sourceRoot":"","sources":["../src/application-onboarding.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK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,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,IAAI,EAAE,8BAA8B,CAAC;IAC9C,QAAQ,CAAC,MAAM,EAAE,gCAAgC,CAAC;IAClD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,UAAU,EAAE,+BAA+B,CAAC;IACrD,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAC;IACzC,QAAQ,CAAC,UAAU,EAAE,+BAA+B,CAAC;IACrD,QAAQ,CAAC,YAAY,EAAE,SAAS,+BAA+B,EAAE,CAAC;IAClE,QAAQ,CAAC,MAAM,EAAE,SAAS,0BAA0B,EAAE,CAAC;IACvD,QAAQ,CAAC,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC;IACjD,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,0BAA0B,GAAG,yBAAyB,CA2C5G"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared AppBoundry application onboarding model.
|
|
3
|
-
*
|
|
4
|
-
* The CLI and the future portal import path have different owners and UX, but
|
|
5
|
-
* they advance the same neutral application model through the same phases.
|
|
6
|
-
*/
|
|
7
|
-
export function createApplicationOnboardingPlan(input) {
|
|
8
|
-
const capabilities = [...input.capabilities].sort((a, b) => a.name.localeCompare(b.name));
|
|
9
|
-
const selectedCapabilities = capabilities.map(capability => capability.name);
|
|
10
|
-
const exercised = capabilities.filter(capability => capability.exercised).length;
|
|
11
|
-
return {
|
|
12
|
-
entryPoint: input.entryPoint,
|
|
13
|
-
ownership: input.ownership,
|
|
14
|
-
repository: input.repository,
|
|
15
|
-
capabilities,
|
|
16
|
-
...(input.topology ? { topology: input.topology } : {}),
|
|
17
|
-
selectedCapabilities,
|
|
18
|
-
phases: [
|
|
19
|
-
{
|
|
20
|
-
name: "discover",
|
|
21
|
-
status: capabilities.length ? "complete" : "needs_input",
|
|
22
|
-
summary: capabilities.length
|
|
23
|
-
? `${capabilities.length} invocation ${capabilities.length === 1 ? "surface" : "surfaces"} discovered`
|
|
24
|
-
: "No invocation surface was discovered"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
name: "start",
|
|
28
|
-
status: input.startCommand ? "ready" : "needs_input",
|
|
29
|
-
summary: input.startCommand ?? "No repository start command was detected"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: "exercise",
|
|
33
|
-
status: exercised ? "complete" : capabilities.length ? "ready" : "needs_input",
|
|
34
|
-
summary: exercised
|
|
35
|
-
? `${exercised} live ${exercised === 1 ? "operation" : "operations"} exercised`
|
|
36
|
-
: capabilities.length
|
|
37
|
-
? "Ready to exercise discovered operations in Studio"
|
|
38
|
-
: "Discover operations before exercising them"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
name: "resolve",
|
|
42
|
-
status: capabilities.length ? "ready" : "needs_input",
|
|
43
|
-
summary: capabilities.length
|
|
44
|
-
? `${selectedCapabilities.length} draft ${selectedCapabilities.length === 1 ? "capability" : "capabilities"} ready for contract resolution`
|
|
45
|
-
: "Select or define a capability before resolving the contract"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=application-onboarding.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"application-onboarding.js","sourceRoot":"","sources":["../src/application-onboarding.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAqDH,MAAM,UAAU,+BAA+B,CAAC,KAAiC;IAC/E,MAAM,YAAY,GAAG,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI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