/** * Public entry point of `arts/active-app`. * * Three import paths exist: * * - `$active-app` — `createActiveApp`, types, errors, bus-context * bridge. What every app needs. * - `$active-app/services` — `defineActive*` / `defineEngine*` * factories for the declarative service schema. Loaded only by * apps that declare services. * - `$active-app/presets` — orchestration presets registered on * `App.Orca`. Loaded only by apps that opt into the standard * reactions. * * Splitting the entry points lets the bundler tree-shake each layer * independently. An app that only consumes the core never pulls in * service factories or presets. */ export { createActiveApp } from './active-app.svelte.ts'; export { setBus, getBus } from './bus-context.svelte.ts'; export { APP_MODULE, APP_BUS_CONTEXT_KEY } from './consts.ts'; export { APP_EVENT_DISPOSE_STARTING, publishAppDisposeStarting, onAppDisposeStarting, type AppDisposeStartingPayload, type AppEventBus, type AppEventMap, type AppEventRuntime } from './events.ts'; export { AappBusNoContextError, AappInvalidEventRuntimeError, AappServiceConstructionFailedError, AappServiceDependencyCycleError, AappServiceNameMismatchError, AappUnsafeEventPayloadError, isAappBusNoContextError, isAappInvalidEventRuntimeError, isAappServiceConstructionFailedError, isAappServiceDependencyCycleError, isAappServiceNameMismatchError, isAappUnsafeEventPayloadError } from './errors.ts'; export type { ActiveApp, ActiveAppBusEvents, ActiveAppCore, ActiveAppOptions, ActiveAppServicesIntrospection } from './types.ts'; export type { AppServiceFactory, AppServiceSchema, CoreServices, CoreServiceKey, ResolveServiceInstances, ServiceInitMode, ServiceStatus } from './services.ts'; export { buildServiceBuilders } from './service-builder.ts'; export type { ServiceBuilders } from './service-builder.ts';