listmonk-api 2.3.2__tar.gz → 2.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. {listmonk_api-2.3.2/listmonk_api.egg-info → listmonk_api-2.3.3}/PKG-INFO +5 -5
  2. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/README.md +1 -1
  3. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/mcp_server.py +1 -1
  4. {listmonk_api-2.3.2 → listmonk_api-2.3.3/listmonk_api.egg-info}/PKG-INFO +5 -5
  5. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api.egg-info/SOURCES.txt +1 -0
  6. listmonk_api-2.3.3/listmonk_api.egg-info/requires.txt +14 -0
  7. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/pyproject.toml +4 -4
  8. listmonk_api-2.3.3/tests/test_default_content_surfaces.py +43 -0
  9. listmonk_api-2.3.2/listmonk_api.egg-info/requires.txt +0 -14
  10. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/LICENSE +0 -0
  11. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/MANIFEST.in +0 -0
  12. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/__init__.py +0 -0
  13. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/__main__.py +0 -0
  14. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api/__init__.py +0 -0
  15. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api/api_client_base.py +0 -0
  16. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api/api_client_campaigns.py +0 -0
  17. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api/api_client_import_api.py +0 -0
  18. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api/api_client_lists.py +0 -0
  19. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api/api_client_media.py +0 -0
  20. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api/api_client_subscribers.py +0 -0
  21. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api/api_client_templates.py +0 -0
  22. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api/api_client_transactional.py +0 -0
  23. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/api_client.py +0 -0
  24. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/auth.py +0 -0
  25. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/connectors/__init__.py +0 -0
  26. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/connectors/mcp_source_presets.json +0 -0
  27. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/connectors/tool_schema_fingerprints.json +0 -0
  28. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/kg_ingest.py +0 -0
  29. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/mcp_config.json +0 -0
  30. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/models.py +0 -0
  31. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/ontology/__init__.py +0 -0
  32. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/ontology/certification.json +0 -0
  33. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/ontology/fixtures/records.json +0 -0
  34. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/ontology/listmonk.ttl +0 -0
  35. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/ontology/mappings/source.yaml +0 -0
  36. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/ontology/migrations/manifest.json +0 -0
  37. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/ontology/shapes/connector.shacl.ttl +0 -0
  38. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/prompts/__init__.py +0 -0
  39. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/__init__.py +0 -0
  40. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/listmonk-api-operations/SKILL.md +0 -0
  41. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/listmonk-api-operations/agents/openai.yaml +0 -0
  42. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/listmonk-api-operations/references/catalog.md +0 -0
  43. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/listmonk-campaign-management/SKILL.md +0 -0
  44. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/listmonk-campaign-management/WORKFLOW.md +0 -0
  45. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/listmonk-subscriber-lists/SKILL.md +0 -0
  46. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/listmonk-subscriber-lists/WORKFLOW.md +0 -0
  47. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/listmonk-transactional-messaging/SKILL.md +0 -0
  48. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api/skills/listmonk-transactional-messaging/WORKFLOW.md +0 -0
  49. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api.egg-info/dependency_links.txt +0 -0
  50. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api.egg-info/entry_points.txt +0 -0
  51. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/listmonk_api.egg-info/top_level.txt +0 -0
  52. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/requirements.txt +0 -0
  53. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/scripts/security_sanitizer.py +0 -0
  54. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/setup.cfg +0 -0
  55. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/conftest.py +0 -0
  56. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_action_discovery.py +0 -0
  57. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_api_clients.py +0 -0
  58. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_auth_and_server.py +0 -0
  59. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_fleet_name.py +0 -0
  60. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_init.py +0 -0
  61. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_init_dynamics.py +0 -0
  62. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_kg_ingest.py +0 -0
  63. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_mcp_server.py +0 -0
  64. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_startup.py +0 -0
  65. {listmonk_api-2.3.2 → listmonk_api-2.3.3}/tests/test_token_auth.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listmonk-api
3
- Version: 2.3.2
3
+ Version: 2.3.3
4
4
  Summary: Agent package for Listmonk
5
5
  Author-email: Project Maintainers <maintainers@users.noreply.github.com>
6
6
  License: MIT
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: >=3.12
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11
15
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.18
16
16
  Requires-Dist: requests>=2.34.2
17
17
  Provides-Extra: mcp
18
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11; extra == "mcp"
18
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.18; extra == "mcp"
19
19
  Provides-Extra: all
20
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11; extra == "all"
20
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.18; extra == "all"
21
21
  Provides-Extra: test
22
22
  Requires-Dist: pytest-xdist>=3.8.0; extra == "test"
23
23
  Requires-Dist: pytest>=9.1.1; extra == "test"
@@ -47,7 +47,7 @@ Dynamic: license-file
47
47
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/listmonk-api)
48
48
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/listmonk-api)
49
49
 
50
- *Version: 2.3.2*
50
+ *Version: 2.3.3*
51
51
 
52
52
  > **Documentation** — Installation, deployment, usage across the API, CLI, MCP, and
53
53
  > agent interfaces, and guidance for provisioning the Listmonk platform are maintained
@@ -20,7 +20,7 @@
20
20
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/listmonk-api)
21
21
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/listmonk-api)
22
22
 
23
- *Version: 2.3.2*
23
+ *Version: 2.3.3*
24
24
 
25
25
  > **Documentation** — Installation, deployment, usage across the API, CLI, MCP, and
26
26
  > agent interfaces, and guidance for provisioning the Listmonk platform are maintained
@@ -39,7 +39,7 @@ from agent_connector_sdk.mcp.tool_surface import register_tool_surface
39
39
  from listmonk_api.api_client import ListmonkAPI
40
40
  from listmonk_api.auth import get_client
41
41
 
42
- __version__ = "2.3.2"
42
+ __version__ = "2.3.3"
43
43
  logger = get_logger(name="ListmonkMCP")
44
44
  logger.setLevel(logging.DEBUG)
45
45
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listmonk-api
3
- Version: 2.3.2
3
+ Version: 2.3.3
4
4
  Summary: Agent package for Listmonk
5
5
  Author-email: Project Maintainers <maintainers@users.noreply.github.com>
6
6
  License: MIT
@@ -12,12 +12,12 @@ Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: >=3.12
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11
15
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.18
16
16
  Requires-Dist: requests>=2.34.2
17
17
  Provides-Extra: mcp
18
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11; extra == "mcp"
18
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.18; extra == "mcp"
19
19
  Provides-Extra: all
20
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11; extra == "all"
20
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.18; extra == "all"
21
21
  Provides-Extra: test
22
22
  Requires-Dist: pytest-xdist>=3.8.0; extra == "test"
23
23
  Requires-Dist: pytest>=9.1.1; extra == "test"
@@ -47,7 +47,7 @@ Dynamic: license-file
47
47
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/listmonk-api)
48
48
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/listmonk-api)
49
49
 
50
- *Version: 2.3.2*
50
+ *Version: 2.3.3*
51
51
 
52
52
  > **Documentation** — Installation, deployment, usage across the API, CLI, MCP, and
53
53
  > agent interfaces, and guidance for provisioning the Listmonk platform are maintained
@@ -52,6 +52,7 @@ tests/conftest.py
52
52
  tests/test_action_discovery.py
53
53
  tests/test_api_clients.py
54
54
  tests/test_auth_and_server.py
55
+ tests/test_default_content_surfaces.py
55
56
  tests/test_fleet_name.py
56
57
  tests/test_init.py
57
58
  tests/test_init_dynamics.py
@@ -0,0 +1,14 @@
1
+ agent-connector-sdk[mcp]<1.0.0,>=0.3.18
2
+ requests>=2.34.2
3
+
4
+ [all]
5
+ agent-connector-sdk[mcp]<1.0.0,>=0.3.18
6
+
7
+ [mcp]
8
+ agent-connector-sdk[mcp]<1.0.0,>=0.3.18
9
+
10
+ [test]
11
+ pytest-xdist>=3.8.0
12
+ pytest>=9.1.1
13
+ pytest-asyncio>=1.4.0
14
+ pytest-cov>=7.1.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "listmonk-api"
7
- version = "2.3.2"
7
+ version = "2.3.3"
8
8
  description = "Agent package for Listmonk"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Project Maintainers", email = "maintainers@users.noreply.github.com" }]
@@ -17,13 +17,13 @@ classifiers = [
17
17
  "Programming Language :: Python :: 3"]
18
18
  requires-python = ">=3.12"
19
19
  dependencies = [
20
- "agent-connector-sdk[mcp]>=0.3.11,<1.0.0",
20
+ "agent-connector-sdk[mcp]>=0.3.18,<1.0.0",
21
21
  "requests>=2.34.2",
22
22
  ]
23
23
 
24
24
  [project.optional-dependencies]
25
- mcp = [ "agent-connector-sdk[mcp]>=0.3.11,<1.0.0",]
26
- all = [ "agent-connector-sdk[mcp]>=0.3.11,<1.0.0",]
25
+ mcp = [ "agent-connector-sdk[mcp]>=0.3.18,<1.0.0",]
26
+ all = [ "agent-connector-sdk[mcp]>=0.3.18,<1.0.0",]
27
27
  test = [ "pytest-xdist>=3.8.0", "pytest>=9.1.1", "pytest-asyncio>=1.4.0", "pytest-cov>=7.1.0",]
28
28
 
29
29
  [project.scripts]
@@ -0,0 +1,43 @@
1
+ """CONN-LISTMONK-API-CONNECTOR-CONTENT-R001: the server lists its packaged skills, ontology and prompts by default."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import asyncio
6
+ import importlib
7
+ from pathlib import Path
8
+
9
+ import pytest
10
+ from fastmcp import Client
11
+
12
+ PACKAGE = "listmonk_api"
13
+ ROOT = Path(list(importlib.import_module(PACKAGE).__path__)[0])
14
+
15
+ pytestmark = pytest.mark.spec("CONN-LISTMONK-API-CONNECTOR-CONTENT-R001")
16
+
17
+
18
+ def _server():
19
+ namespace = {"__name__": PACKAGE + ".mcp_server"}
20
+ exec(
21
+ "from agent_connector_sdk.mcp.server import create_mcp_server\n"
22
+ "result = create_mcp_server('listmonk-mcp', version='0', command_args=[])",
23
+ namespace,
24
+ )
25
+ return namespace["result"][1]
26
+
27
+
28
+ async def _listings():
29
+ async with Client(_server()) as client:
30
+ resources = {str(r.uri) for r in await client.list_resources()}
31
+ prompts = {p.name for p in await client.list_prompts()}
32
+ return resources, prompts
33
+
34
+
35
+ def test_default_content_surfaces() -> None:
36
+ resources, prompts = asyncio.run(_listings())
37
+ if list(ROOT.glob("skills/*/SKILL.md")):
38
+ assert any(u.startswith("skill://") for u in resources)
39
+ if list(ROOT.glob("ontology/*.ttl")):
40
+ assert any(u.startswith("ontology://listmonk-mcp/") for u in resources)
41
+ for path in ROOT.glob("prompts/*.json"):
42
+ if not path.name.startswith("_"):
43
+ assert path.stem in prompts
@@ -1,14 +0,0 @@
1
- agent-connector-sdk[mcp]<1.0.0,>=0.3.11
2
- requests>=2.34.2
3
-
4
- [all]
5
- agent-connector-sdk[mcp]<1.0.0,>=0.3.11
6
-
7
- [mcp]
8
- agent-connector-sdk[mcp]<1.0.0,>=0.3.11
9
-
10
- [test]
11
- pytest-xdist>=3.8.0
12
- pytest>=9.1.1
13
- pytest-asyncio>=1.4.0
14
- pytest-cov>=7.1.0
File without changes
File without changes
File without changes