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 for the Anna App platform.

This package is intentionally tiny. It exposes the stable contract surface that both matrix-nexus (production host) and anna-app-runtime-local (local dev harness) can depend on without pulling each other's runtime.

What's here (v0.1.x)

  • WindowStoreProtocol — minimum surface RPC handlers expect from a window store
  • HostRpcError, WindowError, WindowPermissionError — error types crossing the boundary
  • host_api_allows(manifest_dict, ns, method) -> bool — pure ACL check (manifest passed as dict)
  • DISPATCHER_VERSION / SDK_VERSION constants

What's NOT here yet

  • The full dispatch() function — still lives in matrix-nexus (src/services/anna_app_rpc_dispatcher.py). Planned for anna-app-core>=0.2 once event_stream + runtime_service are abstracted behind protocols.
  • Pydantic AppManifest — see anna-app-schema (JSON Schema bundle).

Versioning

0.1.0a1 is the first PyPI release (alpha). Pin policy lives in the central VERSIONS.md.

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.0a1.tar.gz (12.2 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.0a1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anna_app_core-0.2.0a1.tar.gz
  • Upload date:
  • Size: 12.2 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.0a1.tar.gz
Algorithm Hash digest
SHA256 a27b15d038622f1c9d00a3278f59348d5c398d7a4f959840d29ca60541c40ecc
MD5 c25e0b06e8332af311a5401eb1cd3927
BLAKE2b-256 e04aeaf9c1dd8217c3e0371f828b894c6ca9cede3e406242daf76cc56da6643d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anna_app_core-0.2.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 789fc893ee69c8381ce6be39ed8c6612b6dc111af7c543c7556d094d5cc83873
MD5 77465ffed4a4883442ff09d353c1fa61
BLAKE2b-256 1a0dd4a476ece5892c662450baffdc4b0e94c9dc8f07164948e3e2e16c23858a

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