{
  "name": "@open-matrix/core",
  "private": true,
  "version": "0.1.0",
  "description": "Matrix runtime SDK \u2014 actors, Web Components, transports, serialization, and LISP-on-Protocol",
  "type": "module",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/nicholasgalante/Matrix-3.git",
    "directory": "packages/core"
  },
  "keywords": [
    "matrix",
    "actors",
    "web-components",
    "nats",
    "runtime",
    "sdk"
  ],
  "main": "./dist/src/index.js",
  "types": "./dist/src/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/src/index.d.ts",
      "import": "./dist/src/index.js",
      "default": "./dist/src/index.js"
    },
    "./_node-compat": {
      "types": "./dist/src/_node-compat.d.ts",
      "import": "./dist/src/_node-compat.js",
      "default": "./dist/src/_node-compat.js"
    },
    "./core/IRecordStoreProvider": {
      "types": "./dist/src/core/IRecordStoreProvider.d.ts",
      "import": "./dist/src/core/IRecordStoreProvider.js",
      "default": "./dist/src/core/IRecordStoreProvider.js"
    },
    "./core/MatrixActor": {
      "types": "./dist/src/core/MatrixActor.d.ts",
      "import": "./dist/src/core/MatrixActor.js",
      "default": "./dist/src/core/MatrixActor.js"
    },
    "./core/MatrixActor.js": {
      "types": "./dist/src/core/MatrixActor.d.ts",
      "import": "./dist/src/core/MatrixActor.js",
      "default": "./dist/src/core/MatrixActor.js"
    },
    "./core/composite/IComponentRuntimeMetadata": {
      "types": "./dist/src/core/composite/IComponentRuntimeMetadata.d.ts",
      "import": "./dist/src/core/composite/IComponentRuntimeMetadata.js",
      "default": "./dist/src/core/composite/IComponentRuntimeMetadata.js"
    },
    "./core/composite": {
      "types": "./dist/src/core/composite/index.d.ts",
      "import": "./dist/src/core/composite/index.js",
      "default": "./dist/src/core/composite/index.js"
    },
    "./core/security/ICapabilityToken": {
      "types": "./dist/src/core/security/ICapabilityToken.d.ts",
      "import": "./dist/src/core/security/ICapabilityToken.js",
      "default": "./dist/src/core/security/ICapabilityToken.js"
    },
    "./core/security/ISecurityRealm": {
      "types": "./dist/src/core/security/ISecurityRealm.d.ts",
      "import": "./dist/src/core/security/ISecurityRealm.js",
      "default": "./dist/src/core/security/ISecurityRealm.js"
    },
    "./core/security/ITopicClaim": {
      "types": "./dist/src/core/security/ITopicClaim.d.ts",
      "import": "./dist/src/core/security/ITopicClaim.js",
      "default": "./dist/src/core/security/ITopicClaim.js"
    },
    "./core/security/PolicyPresets": {
      "types": "./dist/src/core/security/PolicyPresets.d.ts",
      "import": "./dist/src/core/security/PolicyPresets.js",
      "default": "./dist/src/core/security/PolicyPresets.js"
    },
    "./core/security/SecurityRealm": {
      "types": "./dist/src/core/security/SecurityRealm.d.ts",
      "import": "./dist/src/core/security/SecurityRealm.js",
      "default": "./dist/src/core/security/SecurityRealm.js"
    },
    "./core/security/TopicClaimRegistry": {
      "types": "./dist/src/core/security/TopicClaimRegistry.d.ts",
      "import": "./dist/src/core/security/TopicClaimRegistry.js",
      "default": "./dist/src/core/security/TopicClaimRegistry.js"
    },
    "./core/security/defaults": {
      "types": "./dist/src/core/security/defaults.d.ts",
      "import": "./dist/src/core/security/defaults.js",
      "default": "./dist/src/core/security/defaults.js"
    },
    "./core/context/RealmContext": {
      "types": "./dist/src/core/context/RealmContext.d.ts",
      "import": "./dist/src/core/context/RealmContext.js",
      "default": "./dist/src/core/context/RealmContext.js"
    },
    "./services/SessionInfoService": {
      "types": "./dist/src/services/SessionInfoService.d.ts",
      "import": "./dist/src/services/SessionInfoService.js",
      "default": "./dist/src/services/SessionInfoService.js"
    },
    "./engine/core/IMatrixContext": {
      "types": "./dist/src/engine/core/IMatrixContext.d.ts",
      "import": "./dist/src/engine/core/IMatrixContext.js",
      "default": "./dist/src/engine/core/IMatrixContext.js"
    },
    "./engine/core/MatrixContext": {
      "types": "./dist/src/engine/core/MatrixContext.d.ts",
      "import": "./dist/src/engine/core/MatrixContext.js",
      "default": "./dist/src/engine/core/MatrixContext.js"
    },
    "./engine/messaging/TopicRouter": {
      "types": "./dist/src/engine/messaging/TopicRouter.d.ts",
      "import": "./dist/src/engine/messaging/TopicRouter.js",
      "default": "./dist/src/engine/messaging/TopicRouter.js"
    },
    "./engine/remoting/ComponentProxy": {
      "types": "./dist/src/engine/remoting/ComponentProxy.d.ts",
      "import": "./dist/src/engine/remoting/ComponentProxy.js",
      "default": "./dist/src/engine/remoting/ComponentProxy.js"
    },
    "./engine/remoting/IIntrospectResult": {
      "types": "./dist/src/engine/remoting/IIntrospectResult.d.ts",
      "import": "./dist/src/engine/remoting/IIntrospectResult.js",
      "default": "./dist/src/engine/remoting/IIntrospectResult.js"
    },
    "./engine/remoting/ITransportAdapter": {
      "types": "./dist/src/engine/remoting/ITransportAdapter.d.ts",
      "import": "./dist/src/engine/remoting/ITransportAdapter.js",
      "default": "./dist/src/engine/remoting/ITransportAdapter.js"
    },
    "./engine/remoting/RequestReply": {
      "types": "./dist/src/engine/remoting/RequestReply.d.ts",
      "import": "./dist/src/engine/remoting/RequestReply.js",
      "default": "./dist/src/engine/remoting/RequestReply.js"
    },
    "./engine/remoting/RequestReply.js": {
      "types": "./dist/src/engine/remoting/RequestReply.d.ts",
      "import": "./dist/src/engine/remoting/RequestReply.js",
      "default": "./dist/src/engine/remoting/RequestReply.js"
    },
    "./engine/utils/NameUtils": {
      "types": "./dist/src/engine/utils/NameUtils.d.ts",
      "import": "./dist/src/engine/utils/NameUtils.js",
      "default": "./dist/src/engine/utils/NameUtils.js"
    },
    "./flow/FlowBuilder": {
      "types": "./dist/src/flow/FlowBuilder.d.ts",
      "import": "./dist/src/flow/FlowBuilder.js",
      "default": "./dist/src/flow/FlowBuilder.js"
    },
    "./flow/FlowEngine": {
      "types": "./dist/src/flow/FlowEngine.d.ts",
      "import": "./dist/src/flow/FlowEngine.js",
      "default": "./dist/src/flow/FlowEngine.js"
    },
    "./flow/FlowPlan": {
      "types": "./dist/src/flow/FlowPlan.d.ts",
      "import": "./dist/src/flow/FlowPlan.js",
      "default": "./dist/src/flow/FlowPlan.js"
    },
    "./flow/FlowTypes": {
      "types": "./dist/src/flow/FlowTypes.d.ts",
      "import": "./dist/src/flow/FlowTypes.js",
      "default": "./dist/src/flow/FlowTypes.js"
    },
    "./flow/viewers": {
      "types": "./dist/src/flow/viewers/index.d.ts",
      "import": "./dist/src/flow/viewers/index.js",
      "default": "./dist/src/flow/viewers/index.js"
    },
    "./flow/viewers/ViewTypeRegistry": {
      "types": "./dist/src/flow/viewers/ViewTypeRegistry.d.ts",
      "import": "./dist/src/flow/viewers/ViewTypeRegistry.js",
      "default": "./dist/src/flow/viewers/ViewTypeRegistry.js"
    },
    "./framework/ActivityFrame": {
      "types": "./dist/src/framework/ActivityFrame.d.ts",
      "import": "./dist/src/framework/ActivityFrame.js",
      "default": "./dist/src/framework/ActivityFrame.js"
    },
    "./framework/IStateStore": {
      "types": "./dist/src/framework/IStateStore.d.ts",
      "import": "./dist/src/framework/IStateStore.js",
      "default": "./dist/src/framework/IStateStore.js"
    },
    "./framework/MatrixActorHtmlElement": {
      "types": "./dist/src/framework/MatrixActorHtmlElement.d.ts",
      "import": "./dist/src/framework/MatrixActorHtmlElement.js",
      "default": "./dist/src/framework/MatrixActorHtmlElement.js"
    },
    "./framework/PageManifest": {
      "types": "./dist/src/framework/PageManifest.d.ts",
      "import": "./dist/src/framework/PageManifest.js",
      "default": "./dist/src/framework/PageManifest.js"
    },
    "./framework/components/MxSplit": {
      "types": "./dist/src/framework/components/MxSplit.d.ts",
      "import": "./dist/src/framework/components/MxSplit.js",
      "default": "./dist/src/framework/components/MxSplit.js"
    },
    "./framework/components/MxTheme": {
      "types": "./dist/src/framework/components/MxTheme.d.ts",
      "import": "./dist/src/framework/components/MxTheme.js",
      "default": "./dist/src/framework/components/MxTheme.js"
    },
    "./framework/components/MxTopicTag": {
      "types": "./dist/src/framework/components/MxTopicTag.d.ts",
      "import": "./dist/src/framework/components/MxTopicTag.js",
      "default": "./dist/src/framework/components/MxTopicTag.js"
    },
    "./framework/components/index": {
      "types": "./dist/src/framework/components/index.d.ts",
      "import": "./dist/src/framework/components/index.js",
      "default": "./dist/src/framework/components/index.js"
    },
    "./lisp": {
      "types": "./dist/src/lisp/index.d.ts",
      "import": "./dist/src/lisp/index.js",
      "default": "./dist/src/lisp/index.js"
    },
    "./lisp/vlm": {
      "types": "./dist/src/lisp/vlm/index.d.ts",
      "import": "./dist/src/lisp/vlm/index.js",
      "default": "./dist/src/lisp/vlm/index.js"
    },
    "./runtime/ComponentFactory": {
      "types": "./dist/src/runtime/ComponentFactory.d.ts",
      "import": "./dist/src/runtime/ComponentFactory.js",
      "default": "./dist/src/runtime/ComponentFactory.js"
    },
    "./runtime/InstanceBootstrapContext": {
      "types": "./dist/src/runtime/InstanceBootstrapContext.d.ts",
      "import": "./dist/src/runtime/InstanceBootstrapContext.js",
      "default": "./dist/src/runtime/InstanceBootstrapContext.js"
    },
    "./runtime/InstanceBootstrapContext.js": {
      "types": "./dist/src/runtime/InstanceBootstrapContext.d.ts",
      "import": "./dist/src/runtime/InstanceBootstrapContext.js",
      "default": "./dist/src/runtime/InstanceBootstrapContext.js"
    },
    "./runtime/InstanceBootstrapRefs": {
      "types": "./dist/src/runtime/InstanceBootstrapRefs.d.ts",
      "import": "./dist/src/runtime/InstanceBootstrapRefs.js",
      "default": "./dist/src/runtime/InstanceBootstrapRefs.js"
    },
    "./runtime/InstanceBootstrapRefs.js": {
      "types": "./dist/src/runtime/InstanceBootstrapRefs.d.ts",
      "import": "./dist/src/runtime/InstanceBootstrapRefs.js",
      "default": "./dist/src/runtime/InstanceBootstrapRefs.js"
    },
    "./runtime/MatrixRuntime": {
      "types": "./dist/src/runtime/MatrixRuntime.d.ts",
      "import": "./dist/src/runtime/MatrixRuntime.js",
      "default": "./dist/src/runtime/MatrixRuntime.js"
    },
    "./runtime/MatrixRuntime.js": {
      "types": "./dist/src/runtime/MatrixRuntime.d.ts",
      "import": "./dist/src/runtime/MatrixRuntime.js",
      "default": "./dist/src/runtime/MatrixRuntime.js"
    },
    "./runtime/MountedInstanceMetadata": {
      "types": "./dist/src/runtime/MountedInstanceMetadata.d.ts",
      "import": "./dist/src/runtime/MountedInstanceMetadata.js",
      "default": "./dist/src/runtime/MountedInstanceMetadata.js"
    },
    "./runtime/MountedInstanceMetadata.js": {
      "types": "./dist/src/runtime/MountedInstanceMetadata.d.ts",
      "import": "./dist/src/runtime/MountedInstanceMetadata.js",
      "default": "./dist/src/runtime/MountedInstanceMetadata.js"
    },
    "./runtime/PackageConfigResolver": {
      "types": "./dist/src/runtime/PackageConfigResolver.d.ts",
      "import": "./dist/src/runtime/PackageConfigResolver.js",
      "default": "./dist/src/runtime/PackageConfigResolver.js"
    },
    "./serialization": {
      "types": "./dist/src/serialization/index.d.ts",
      "import": "./dist/src/serialization/index.js",
      "default": "./dist/src/serialization/index.js"
    },
    "./serialization/IComponentSchema": {
      "types": "./dist/src/serialization/IComponentSchema.d.ts",
      "import": "./dist/src/serialization/IComponentSchema.js",
      "default": "./dist/src/serialization/IComponentSchema.js"
    },
    "./transport/InMemoryBroker": {
      "types": "./dist/src/transport/InMemoryBroker.d.ts",
      "import": "./dist/src/transport/InMemoryBroker.js",
      "default": "./dist/src/transport/InMemoryBroker.js"
    },
    "./transport/InMemoryBroker.js": {
      "types": "./dist/src/transport/InMemoryBroker.d.ts",
      "import": "./dist/src/transport/InMemoryBroker.js",
      "default": "./dist/src/transport/InMemoryBroker.js"
    },
    "./transport/InMemoryTransport": {
      "types": "./dist/src/transport/InMemoryTransport.d.ts",
      "import": "./dist/src/transport/InMemoryTransport.js",
      "default": "./dist/src/transport/InMemoryTransport.js"
    },
    "./transport/InMemoryTransport.js": {
      "types": "./dist/src/transport/InMemoryTransport.d.ts",
      "import": "./dist/src/transport/InMemoryTransport.js",
      "default": "./dist/src/transport/InMemoryTransport.js"
    },
    "./transport/NatsTransport": {
      "types": "./dist/src/transport/NatsTransport.d.ts",
      "import": "./dist/src/transport/NatsTransport.js",
      "default": "./dist/src/transport/NatsTransport.js"
    },
    "./transport/NatsTransport.js": {
      "types": "./dist/src/transport/NatsTransport.d.ts",
      "import": "./dist/src/transport/NatsTransport.js",
      "default": "./dist/src/transport/NatsTransport.js"
    },
    "./transport/TransportProxy": {
      "types": "./dist/src/transport/TransportProxy.d.ts",
      "import": "./dist/src/transport/TransportProxy.js",
      "default": "./dist/src/transport/TransportProxy.js"
    },
    "./transport/createBrowserNatsTransport": {
      "types": "./dist/src/transport/createBrowserNatsTransport.d.ts",
      "import": "./dist/src/transport/createBrowserNatsTransport.js",
      "default": "./dist/src/transport/createBrowserNatsTransport.js"
    },
    "./transport/createBrowserNatsTransport.js": {
      "types": "./dist/src/transport/createBrowserNatsTransport.d.ts",
      "import": "./dist/src/transport/createBrowserNatsTransport.js",
      "default": "./dist/src/transport/createBrowserNatsTransport.js"
    }
  },
  "scripts": {
    "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true,maxRetries:3,retryDelay:50});require('fs').rmSync('.tsbuildinfo',{force:true})\" && tsc -p tsconfig.build.json && node fix-esm-imports.mjs",
    "test": "node ../../scripts/run-node-tests.cjs -- src/**/*.spec.ts",
    "test:ci": "node ../../scripts/run-node-tests.cjs -- src/**/*.spec.ts",
    "test:dom": "node ../../scripts/run-node-tests.cjs -- src/**/*.spec.ts",
    "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
    "type-check": "tsc -p tsconfig.build.json --noEmit",
    "test:unit": "tsx --test tests/unit/core/**/*.spec.ts"
  },
  "files": [
    "dist/src",
    "README.md",
    "LICENSE"
  ],
  "dependencies": {
    "@open-matrix/contracts": "workspace:*",
    "@open-matrix/federation": "workspace:*",
    "@nats-io/nats-core": "^3.3.1",
    "nats.ws": "^1.30.3",
    "@open-matrix/omega-core": "workspace:*",
    "morphdom": "^2.7.8"
  },
  "devDependencies": {
    "tsx": "^4.15.6"
  },
  "engines": {
    "node": ">=20"
  }
}
