Metadata-Version: 2.4
Name: maximem-synap-integrations-common
Version: 0.1.3
Summary: Shared utilities for Synap framework integrations
Author: Synap Team
License-Expression: Apache-2.0
Keywords: synap,memory,ai,agents,integrations
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: maximem-synap>=0.2.0
Requires-Dist: nest_asyncio>=1.5
Provides-Extra: testing
Requires-Dist: pytest>=7.0; extra == "testing"
Requires-Dist: pytest-asyncio>=0.21; extra == "testing"
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21; extra == "dev"

# synap-integrations-common

Shared utilities used across Synap framework integrations (LangChain, LlamaIndex,
CrewAI, Haystack, AutoGen, Google ADK, OpenAI Agents, Pydantic AI, Semantic
Kernel).

This package exists so that every integration converges on one implementation
of:

- `run_async` — the sync-to-async bridge required because most agent
  frameworks expose **sync** protocol methods while the Synap SDK is async.
- `SynapIntegrationError` + `wrap_sdk_errors` — uniform error handling so
  integrations don't silently swallow SDK failures.
- `default_scope` — consistent scope-path construction
  (`/<customer_id>/<user_id>` vs `/<user_id>`).
- `synap_integrations_common.testing` — shared pytest fixtures and response
  factories, previously duplicated across each integration's `_helpers.py`.

Not intended for direct end-user use. Pin as a runtime dependency of each
integration package.
