Skip to main content

Anna App platform core: manifest schemas, RPC dispatcher, protocols, errors. Shared by matrix-nexus and the local-dev runtime.

Project description

anna-app-core

Shared protocol/error/ACL primitives and the Anna App RPC dispatcher, manifest schemas, and runtime helpers used by the Anna App platform.

This package is the stable contract surface that both matrix-nexus (production host) and anna-app-runtime-local (local dev harness) depend on, so neither has to pull in the other's runtime.

What's here (v0.2.x)

  • Manifest (Pydantic v2)AppManifest, UiManifestSection, UiBundleSection, UiViewSpec, UiHostApiSpec, UiSize, WindowViewMeta, AppDevConfig, ManifestExecutaRef
  • Dispatcherdispatch(method, params, *, manifest, store, ...) (the full JSON-RPC entry point; previously lived in matrix-nexus)
  • ProtocolsWindowStoreProtocol (minimum surface RPC handlers expect from a window store)
  • ErrorsHostRpcError, WindowError, WindowPermissionError
  • ACLhost_api_allows(manifest_dict, ns, method) -> bool
  • Runtime helpersselect_view, scopes_from_manifest, view_meta
  • VersionsDISPATCHER_VERSION, SDK_VERSION, __version__

Versioning

0.2.0a2 — docs catch-up over 0.2.0a1 (no code changes); the dispatcher

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anna_app_core-0.2.0a2.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anna_app_core-0.2.0a2-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file anna_app_core-0.2.0a2.tar.gz.

File metadata

  • Download URL: anna_app_core-0.2.0a2.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for anna_app_core-0.2.0a2.tar.gz
Algorithm Hash digest
SHA256 bdbfdacdebc3b4541e28769a8213b24fc0bc77f77b5cf0475b6479452d397674
MD5 654cda684f6e04253a17d781f4d4b918
BLAKE2b-256 c9527e7f05917b3619a94177ef75e57683ca1ba5714dcd4a1e1c278f242e4f7c

See more details on using hashes here.

File details

Details for the file anna_app_core-0.2.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for anna_app_core-0.2.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 c3fe7140e0fca20a785feb44a1dc21bb5ed35c1df67b5a60b7a17e9255300489
MD5 f92ed9df0cecb23cec44c61829f97cf7
BLAKE2b-256 2a62539e0ad49fcefa4e0044d8f1bc0c6d66f53cf9d2c82aec8dbb3f0fc81c69

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page