Skip to main content

JARVIS Event Stream internal service for RunEvent storage and NDJSON streaming.

Project description

JARVIS Event Stream

Internal JARVIS service that stores RunEvents and serves NDJSON streams. This is a JARVIS-only contract (not part of the ARP Standard).

Requirements

  • Python >= 3.11

Install

python3 -m pip install -e .

Run

python3 -m pip install -e .
arp-jarvis-eventstream

[!TIP] Use bash src/scripts/dev_server.sh --host ... --port ... --reload for dev convenience.

Configuration

Environment variables:

  • JARVIS_EVENT_STORE_DB_URL (default sqlite:///./runs/jarvis_event_store.sqlite)
  • JARVIS_EVENT_RETENTION_DAYS (optional)
  • ARP_AUTH_* (JWT auth settings, shared across JARVIS services)

Auth is enabled by default (JWT). To disable for local dev, set ARP_AUTH_PROFILE=dev-insecure or ARP_AUTH_MODE=disabled. Health/version endpoints are always exempt. If no ARP_AUTH_* env vars are set, the service defaults to the dev Keycloak issuer.

API (v0.3.5)

Health/version:

  • GET /v1/health
  • GET /v1/version

Events:

  • POST /v1/run-events -> { items: [{ run_id, seq }], next_seq_by_run: { run_id: seq } }
  • GET /v1/runs/{run_id}/events (NDJSON)
  • GET /v1/node-runs/{node_run_id}/events (NDJSON)

Query params for streams:

  • cursor (opaque, optional)
  • follow (0/1, optional)
  • limit (optional)

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

arp_jarvis_eventstream-0.3.5.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

arp_jarvis_eventstream-0.3.5-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file arp_jarvis_eventstream-0.3.5.tar.gz.

File metadata

  • Download URL: arp_jarvis_eventstream-0.3.5.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arp_jarvis_eventstream-0.3.5.tar.gz
Algorithm Hash digest
SHA256 1b281db75cc838aa1375f3ec4706c395e44aeb15d354bd109d7f863ac36cf771
MD5 19a224528a910c628b35ece87ca72d99
BLAKE2b-256 12c1f1399faef98008a4fc1fea2e70d8db8adf3e7b00b2b0298532bbb47b8a5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for arp_jarvis_eventstream-0.3.5.tar.gz:

Publisher: publish.yml on AgentRuntimeProtocol/JARVIS_EventStream

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arp_jarvis_eventstream-0.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for arp_jarvis_eventstream-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2ea54f5fd3aea7523e5841060177ec7b37944b1f32ce2b51b9d7198352f8b2b4
MD5 8ad5b9ffb12c8f169669fef58de8260f
BLAKE2b-256 aa0809a06cd2325c1721d27095b889f07991267ac5778b49683357d0bd2e2a80

See more details on using hashes here.

Provenance

The following attestation bundles were made for arp_jarvis_eventstream-0.3.5-py3-none-any.whl:

Publisher: publish.yml on AgentRuntimeProtocol/JARVIS_EventStream

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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