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, __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.5.0.tar.gz (25.1 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.5.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file anna_app_core-0.5.0.tar.gz.

File metadata

  • Download URL: anna_app_core-0.5.0.tar.gz
  • Upload date:
  • Size: 25.1 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.5.0.tar.gz
Algorithm Hash digest
SHA256 f4aba525327fea577e46fb02b78de0eea14c74b19e05f6d220e6126e4bf5280a
MD5 cd07dba684758cc91fda5ad73ede76da
BLAKE2b-256 51a2c0ede93e263967b6d148f3bd48917c92d471ef38a7d33d227c63689de53c

See more details on using hashes here.

File details

Details for the file anna_app_core-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: anna_app_core-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for anna_app_core-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47cc7327de48faafcc1559b79e96c16de891be23d15ee214f32eaebe522017bc
MD5 c0f7a40216246109cb1258a72dd205e8
BLAKE2b-256 8423ecfa4ffc4b593152b18afacd212f89a7cf2933b9ff71c5532cb9acf9e5ea

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