listmonk-api 2.3.6__tar.gz → 2.3.8__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 (62) hide show
  1. {listmonk_api-2.3.6/listmonk_api.egg-info → listmonk_api-2.3.8}/PKG-INFO +8 -8
  2. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/README.md +6 -6
  3. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/__init__.py +1 -1
  4. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/__main__.py +1 -1
  5. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api/api_client_base.py +2 -2
  6. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/auth.py +3 -3
  7. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/connector_sources.py +1 -1
  8. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/kg_ingest.py +2 -2
  9. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/mcp_server.py +3 -3
  10. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/ontology/__init__.py +2 -2
  11. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/ontology/certification.json +2 -2
  12. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/ontology/listmonk.ttl +1 -1
  13. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-api-development/SKILL.md +1 -1
  14. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-campaign-management/SKILL.md +1 -1
  15. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-subscriber-lists/SKILL.md +1 -1
  16. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-transactional-messaging/SKILL.md +1 -1
  17. {listmonk_api-2.3.6 → listmonk_api-2.3.8/listmonk_api.egg-info}/PKG-INFO +8 -8
  18. listmonk_api-2.3.8/listmonk_api.egg-info/entry_points.txt +5 -0
  19. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api.egg-info/requires.txt +1 -1
  20. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/pyproject.toml +5 -5
  21. listmonk_api-2.3.8/requirements.txt +1 -0
  22. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_auth_and_server.py +1 -1
  23. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_fleet_name.py +2 -2
  24. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_kg_ingest.py +10 -11
  25. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_publication_workflow.py +2 -34
  26. listmonk_api-2.3.6/listmonk_api.egg-info/entry_points.txt +0 -5
  27. listmonk_api-2.3.6/requirements.txt +0 -1
  28. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/LICENSE +0 -0
  29. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/MANIFEST.in +0 -0
  30. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api/__init__.py +0 -0
  31. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api/api_client_campaigns.py +0 -0
  32. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api/api_client_import_api.py +0 -0
  33. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api/api_client_lists.py +0 -0
  34. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api/api_client_media.py +0 -0
  35. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api/api_client_subscribers.py +0 -0
  36. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api/api_client_templates.py +0 -0
  37. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api/api_client_transactional.py +0 -0
  38. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/api_client.py +0 -0
  39. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/mcp_config.json +0 -0
  40. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/models.py +0 -0
  41. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/ontology/fixtures/records.json +0 -0
  42. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/ontology/mappings/source.yaml +0 -0
  43. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/ontology/migrations/manifest.json +0 -0
  44. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/ontology/shapes/connector.shacl.ttl +0 -0
  45. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-api-operations/SKILL.md +0 -0
  46. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-api-operations/agents/openai.yaml +0 -0
  47. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-api-operations/references/catalog.md +0 -0
  48. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-campaign-management/WORKFLOW.md +0 -0
  49. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-subscriber-lists/WORKFLOW.md +0 -0
  50. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api/skills/listmonk-transactional-messaging/WORKFLOW.md +0 -0
  51. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api.egg-info/SOURCES.txt +0 -0
  52. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api.egg-info/dependency_links.txt +0 -0
  53. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/listmonk_api.egg-info/top_level.txt +0 -0
  54. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/setup.cfg +0 -0
  55. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/conftest.py +0 -0
  56. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_action_discovery.py +0 -0
  57. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_api_clients.py +0 -0
  58. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_init.py +0 -0
  59. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_init_dynamics.py +0 -0
  60. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_mcp_server.py +0 -0
  61. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/tests/test_startup.py +0 -0
  62. {listmonk_api-2.3.6 → listmonk_api-2.3.8}/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.6
3
+ Version: 2.3.8
4
4
  Summary: Agent package for Listmonk
5
5
  Author-email: Repository Maintainers <maintainers@knuckles.team>
6
6
  License: MIT
@@ -12,7 +12,7 @@ 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]<0.6.0,>=0.5.4
15
+ Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.4
16
16
  Requires-Dist: requests>=2.34.2
17
17
  Provides-Extra: test
18
18
  Requires-Dist: pytest-xdist>=3.8.0; extra == "test"
@@ -162,7 +162,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
162
162
  <!-- MCP-CONFIG-EXAMPLES:START -->
163
163
 
164
164
  > **Install the connector-focused `[mcp]` extra.** Examples use `listmonk-api[mcp]` to add
165
- > FastMCP / FastAPI through `agent-connector-sdk`; the required Agent Connector SDK core
165
+ > FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
166
166
  > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
167
167
  > enables model orchestration.
168
168
 
@@ -389,7 +389,7 @@ Detailed graph node architecture explanations, custom skill configurations, and
389
389
 
390
390
  ## Security & Governance
391
391
 
392
- Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.com/Knuckles-Team/agent-connector-sdk) core, standard security parameters are fully supported:
392
+ Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
393
393
 
394
394
  ### Access Control & Policy Enforcement
395
395
  - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
@@ -442,7 +442,7 @@ Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.
442
442
  | `LISTMONK_TEMPLATESTOOL` | `True` | |
443
443
  | `LISTMONK_TXTOOL` | `True` | |
444
444
 
445
- #### Inherited agent-connector-sdk variables (apply to every connector)
445
+ #### Inherited scion-sdk variables (apply to every connector)
446
446
 
447
447
  | Variable | Example | Description |
448
448
  |----------|---------|-------------|
@@ -463,7 +463,7 @@ Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.
463
463
  | `MODEL_ID` | `gpt-4o` | Model id for the agent |
464
464
  | `ENABLE_WEB_UI` | `True` | Serve the AG-UI web interface |
465
465
 
466
- _28 package + 16 inherited variable(s). Auto-generated from `.env.example` + the shared agent-connector-sdk set — do not edit._
466
+ _28 package + 16 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
467
467
  <!-- ENV-VARS-TABLE:END -->
468
468
 
469
469
 
@@ -504,7 +504,7 @@ Pick the extra that matches what the operator want to run:
504
504
 
505
505
  | Extra | Installs | Use when |
506
506
  |-------|----------|----------|
507
- | `listmonk-api[mcp]` | Connector-focused MCP server (`agent-connector-sdk` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
507
+ | `listmonk-api[mcp]` | Connector-focused MCP server (`scion-sdk` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
508
508
  | `listmonk-api[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
509
509
 
510
510
  ```bash
@@ -533,7 +533,7 @@ agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
533
533
 
534
534
  ### Knowledge-graph database (`epistemic-graph`)
535
535
 
536
- Agent Connector SDK core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
536
+ Scion SDK core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
537
537
  deployments can use the bundled engine. For production or shared state, run
538
538
  **epistemic-graph as a dedicated database service** and configure the runtime to use it.
539
539
  Deployment recipes (single-node + Raft HA), connection configuration, and architecture
@@ -139,7 +139,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
139
139
  <!-- MCP-CONFIG-EXAMPLES:START -->
140
140
 
141
141
  > **Install the connector-focused `[mcp]` extra.** Examples use `listmonk-api[mcp]` to add
142
- > FastMCP / FastAPI through `agent-connector-sdk`; the required Agent Connector SDK core
142
+ > FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
143
143
  > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
144
144
  > enables model orchestration.
145
145
 
@@ -366,7 +366,7 @@ Detailed graph node architecture explanations, custom skill configurations, and
366
366
 
367
367
  ## Security & Governance
368
368
 
369
- Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.com/Knuckles-Team/agent-connector-sdk) core, standard security parameters are fully supported:
369
+ Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
370
370
 
371
371
  ### Access Control & Policy Enforcement
372
372
  - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
@@ -419,7 +419,7 @@ Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.
419
419
  | `LISTMONK_TEMPLATESTOOL` | `True` | |
420
420
  | `LISTMONK_TXTOOL` | `True` | |
421
421
 
422
- #### Inherited agent-connector-sdk variables (apply to every connector)
422
+ #### Inherited scion-sdk variables (apply to every connector)
423
423
 
424
424
  | Variable | Example | Description |
425
425
  |----------|---------|-------------|
@@ -440,7 +440,7 @@ Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.
440
440
  | `MODEL_ID` | `gpt-4o` | Model id for the agent |
441
441
  | `ENABLE_WEB_UI` | `True` | Serve the AG-UI web interface |
442
442
 
443
- _28 package + 16 inherited variable(s). Auto-generated from `.env.example` + the shared agent-connector-sdk set — do not edit._
443
+ _28 package + 16 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
444
444
  <!-- ENV-VARS-TABLE:END -->
445
445
 
446
446
 
@@ -481,7 +481,7 @@ Pick the extra that matches what the operator want to run:
481
481
 
482
482
  | Extra | Installs | Use when |
483
483
  |-------|----------|----------|
484
- | `listmonk-api[mcp]` | Connector-focused MCP server (`agent-connector-sdk` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
484
+ | `listmonk-api[mcp]` | Connector-focused MCP server (`scion-sdk` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
485
485
  | `listmonk-api[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
486
486
 
487
487
  ```bash
@@ -510,7 +510,7 @@ agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
510
510
 
511
511
  ### Knowledge-graph database (`epistemic-graph`)
512
512
 
513
- Agent Connector SDK core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
513
+ Scion SDK core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
514
514
  deployments can use the bundled engine. For production or shared state, run
515
515
  **epistemic-graph as a dedicated database service** and configure the runtime to use it.
516
516
  Deployment recipes (single-node + Raft HA), connection configuration, and architecture
@@ -94,7 +94,7 @@ def __dir__() -> list[str]:
94
94
  return sorted(list(globals().keys()) + __all__)
95
95
 
96
96
 
97
- from agent_connector_sdk.connector import Connector
97
+ from scion_sdk.connector import Connector
98
98
 
99
99
  from listmonk_api.api_client import ListmonkAPI
100
100
  from listmonk_api.auth import get_client
@@ -1,4 +1,4 @@
1
- from agent_connector_sdk import run
1
+ from scion_sdk import run
2
2
 
3
3
  if __name__ == "__main__":
4
4
  run()
@@ -2,8 +2,8 @@ from dataclasses import dataclass, field
2
2
  from typing import Any
3
3
 
4
4
  import requests
5
- from agent_connector_sdk.tls.profile import ResolvedTLSProfile
6
- from agent_connector_sdk.tls.resolve import resolve_tls_profile
5
+ from scion_sdk.tls.profile import ResolvedTLSProfile
6
+ from scion_sdk.tls.resolve import resolve_tls_profile
7
7
 
8
8
 
9
9
  @dataclass(frozen=True)
@@ -1,6 +1,6 @@
1
- from agent_connector_sdk.config import setting
2
- from agent_connector_sdk.exceptions import AuthError, UnauthorizedError
3
- from agent_connector_sdk.tls.resolve import resolve_tls_profile
1
+ from scion_sdk.config import setting
2
+ from scion_sdk.exceptions import AuthError, UnauthorizedError
3
+ from scion_sdk.tls.resolve import resolve_tls_profile
4
4
 
5
5
  from listmonk_api.api_client import ListmonkAPI
6
6
 
@@ -6,7 +6,7 @@ Served live as ``connector://resources``. Regenerate by editing the declarations
6
6
  # ruff: noqa: E501
7
7
  from __future__ import annotations
8
8
 
9
- from agent_connector_sdk.ingest.live_declaration import source_meta
9
+ from scion_sdk.ingest.live_declaration import source_meta
10
10
 
11
11
  SOURCES = (
12
12
  source_meta(
@@ -3,7 +3,7 @@
3
3
  CONCEPT:AU-KG.ingest.enterprise-source-extractor. The listmonk-api connector pushes
4
4
  campaigns/lists/subscribers into the ONE epistemic-graph knowledge graph as **typed
5
5
  OWL nodes** (``:Campaign``, ``:SubscriptionList``, ``:Subscriber``, ``:EmailTemplate``)
6
- + text bodies as ``:Document`` nodes, through ``agent_connector_sdk.ingest`` -- the
6
+ + text bodies as ``:Document`` nodes, through ``scion_sdk.ingest`` -- the
7
7
  generated ``SourceIngest`` client, not a local ingestion helper.
8
8
  """
9
9
 
@@ -12,7 +12,7 @@ from __future__ import annotations
12
12
  import logging
13
13
  from typing import Any
14
14
 
15
- from agent_connector_sdk.ingest import (
15
+ from scion_sdk.ingest import (
16
16
  ChangeSet,
17
17
  Document,
18
18
  Entity,
@@ -29,9 +29,9 @@ import sys
29
29
  from threading import local
30
30
  from typing import Any
31
31
 
32
- from agent_connector_sdk.config import setting
33
- from agent_connector_sdk.connector_hooks import RegistrationContext
34
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
32
+ from scion_sdk.config import setting
33
+ from scion_sdk.connector_hooks import RegistrationContext
34
+ from scion_sdk.mcp.action_dispatch import resolve_action
35
35
 
36
36
  from listmonk_api.auth import get_client
37
37
 
@@ -1,7 +1,7 @@
1
1
  """Listmonk ontology contribution (CONCEPT:AU-KG.ontology.federation-provider-leg).
2
2
 
3
3
  Data-only subpackage: it carries ``listmonk.ttl`` (the ``owl:Ontology``
4
- ``http://knuckles.team/kg/listmonk`` module) which the agent-connector-sdk hub federates in via
5
- the ``agent_connector_sdk.ontology_providers`` entry-point. It holds no business logic
4
+ ``http://knuckles.team/kg/listmonk`` module) which the scion-sdk hub federates in via
5
+ the ``scion_sdk.ontology_providers`` entry-point. It holds no business logic
6
6
  and no heavy imports so the hub can resolve it cheaply.
7
7
  """
@@ -2,7 +2,7 @@
2
2
  "api_version": "graphos.io/v1",
3
3
  "artifacts": {
4
4
  "listmonk_api/ontology/fixtures/records.json": "3bfc9ad808b89d144406d45d220b63c8c40e969068f525844780c02a91e88b3a",
5
- "listmonk_api/ontology/listmonk.ttl": "48af73e127239be298130cfebc6c874ef6e669c863ff297ec05e81249e376a3b",
5
+ "listmonk_api/ontology/listmonk.ttl": "7f508ce7abc1ccb8ee8b87e680daa2e6c9592a814dc3abf61d72a232ea9d3c37",
6
6
  "listmonk_api/ontology/mappings/source.yaml": "30a210462b94e96490ad68d8e3958b9018486a84e48a3338995c69fa0103fa12",
7
7
  "listmonk_api/ontology/migrations/manifest.json": "dcc939c0c761d526c8ec9fd65b0738c519bdc71f7b5d50156b3930057c77ff66",
8
8
  "listmonk_api/ontology/shapes/connector.shacl.ttl": "154123bcff104aa4716d3ff7a6f1187ed00a5fe0efad8ced25d002d7aa376472"
@@ -29,5 +29,5 @@
29
29
  "signer": "UNSIGNED-PREVIEW",
30
30
  "signing_public_key": "",
31
31
  "status": "source-validated",
32
- "validated_at": "2026-10-26T21:59:50Z"
32
+ "validated_at": "2026-10-31T03:11:41Z"
33
33
  }
@@ -116,7 +116,7 @@
116
116
  rdfs:label "Listmonk Email-Marketing Ontology" ;
117
117
  rdfs:comment """Listmonk newsletter and mailing-list model — campaigns, subscription
118
118
  lists, subscribers, email templates and transactional messages, with their targeting,
119
- subscription and templating relationships — federated into the agent-connector-sdk
119
+ subscription and templating relationships — federated into the scion-sdk
120
120
  knowledge-graph hub. Reuses the shared :Person and :Document classes.""" .
121
121
 
122
122
  # ontology-codemod R3
@@ -32,7 +32,7 @@ hooks.
32
32
  in `pyproject.toml` includes `skills/**`, `prompts/**`, `ontology/**`, and
33
33
  `connectors/**`; inspect a built wheel when changing these files.
34
34
  - The only declared current console script is `listmonk-mcp`, provided by
35
- `agent_connector_sdk.cli:serve`; `python -m listmonk_api` delegates to the SDK
35
+ `scion_sdk.cli:serve`; `python -m listmonk_api` delegates to the SDK
36
36
  runner. The tracked `docker/compose.yml` and older docs still mention a
37
37
  `listmonk-agent` profile, but current `pyproject.toml` declares no such script
38
38
  or `agent_server.py`. Do not invent that runtime or rewrite it as part of a
@@ -12,7 +12,7 @@ description: >-
12
12
  license: MIT
13
13
  tags: [listmonk, campaign, newsletter, email, mcp]
14
14
  metadata:
15
- author: Genius
15
+ author: Knuckles-Team
16
16
  version: '0.1.0'
17
17
  ---
18
18
  # Listmonk Campaign Management
@@ -12,7 +12,7 @@ description: >-
12
12
  license: MIT
13
13
  tags: [listmonk, subscribers, lists, audience, import, mcp]
14
14
  metadata:
15
- author: Genius
15
+ author: Knuckles-Team
16
16
  version: '0.1.0'
17
17
  ---
18
18
  # Listmonk Subscriber & List Management
@@ -12,7 +12,7 @@ description: >-
12
12
  license: MIT
13
13
  tags: [listmonk, transactional, template, email, mcp]
14
14
  metadata:
15
- author: Genius
15
+ author: Knuckles-Team
16
16
  version: '0.1.0'
17
17
  ---
18
18
  # Listmonk Transactional Messaging & Templates
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: listmonk-api
3
- Version: 2.3.6
3
+ Version: 2.3.8
4
4
  Summary: Agent package for Listmonk
5
5
  Author-email: Repository Maintainers <maintainers@knuckles.team>
6
6
  License: MIT
@@ -12,7 +12,7 @@ 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]<0.6.0,>=0.5.4
15
+ Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.4
16
16
  Requires-Dist: requests>=2.34.2
17
17
  Provides-Extra: test
18
18
  Requires-Dist: pytest-xdist>=3.8.0; extra == "test"
@@ -162,7 +162,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
162
162
  <!-- MCP-CONFIG-EXAMPLES:START -->
163
163
 
164
164
  > **Install the connector-focused `[mcp]` extra.** Examples use `listmonk-api[mcp]` to add
165
- > FastMCP / FastAPI through `agent-connector-sdk`; the required Agent Connector SDK core
165
+ > FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
166
166
  > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
167
167
  > enables model orchestration.
168
168
 
@@ -389,7 +389,7 @@ Detailed graph node architecture explanations, custom skill configurations, and
389
389
 
390
390
  ## Security & Governance
391
391
 
392
- Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.com/Knuckles-Team/agent-connector-sdk) core, standard security parameters are fully supported:
392
+ Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
393
393
 
394
394
  ### Access Control & Policy Enforcement
395
395
  - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
@@ -442,7 +442,7 @@ Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.
442
442
  | `LISTMONK_TEMPLATESTOOL` | `True` | |
443
443
  | `LISTMONK_TXTOOL` | `True` | |
444
444
 
445
- #### Inherited agent-connector-sdk variables (apply to every connector)
445
+ #### Inherited scion-sdk variables (apply to every connector)
446
446
 
447
447
  | Variable | Example | Description |
448
448
  |----------|---------|-------------|
@@ -463,7 +463,7 @@ Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.
463
463
  | `MODEL_ID` | `gpt-4o` | Model id for the agent |
464
464
  | `ENABLE_WEB_UI` | `True` | Serve the AG-UI web interface |
465
465
 
466
- _28 package + 16 inherited variable(s). Auto-generated from `.env.example` + the shared agent-connector-sdk set — do not edit._
466
+ _28 package + 16 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
467
467
  <!-- ENV-VARS-TABLE:END -->
468
468
 
469
469
 
@@ -504,7 +504,7 @@ Pick the extra that matches what the operator want to run:
504
504
 
505
505
  | Extra | Installs | Use when |
506
506
  |-------|----------|----------|
507
- | `listmonk-api[mcp]` | Connector-focused MCP server (`agent-connector-sdk` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
507
+ | `listmonk-api[mcp]` | Connector-focused MCP server (`scion-sdk` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
508
508
  | `listmonk-api[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
509
509
 
510
510
  ```bash
@@ -533,7 +533,7 @@ agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
533
533
 
534
534
  ### Knowledge-graph database (`epistemic-graph`)
535
535
 
536
- Agent Connector SDK core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
536
+ Scion SDK core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
537
537
  deployments can use the bundled engine. For production or shared state, run
538
538
  **epistemic-graph as a dedicated database service** and configure the runtime to use it.
539
539
  Deployment recipes (single-node + Raft HA), connection configuration, and architecture
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ listmonk-mcp = scion_sdk.cli:serve
3
+
4
+ [scion_sdk.connector]
5
+ listmonk-mcp = listmonk_api:connector
@@ -1,4 +1,4 @@
1
- agent-connector-sdk[mcp]<0.6.0,>=0.5.4
1
+ scion-sdk[mcp]<0.7.0,>=0.6.4
2
2
  requests>=2.34.2
3
3
 
4
4
  [test]
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "listmonk-api"
7
- version = "2.3.6"
7
+ version = "2.3.8"
8
8
  description = "Agent package for Listmonk"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Repository Maintainers", email = "maintainers@knuckles.team" }]
@@ -17,7 +17,7 @@ classifiers = [
17
17
  "Programming Language :: Python :: 3"]
18
18
  requires-python = ">=3.12"
19
19
  dependencies = [
20
- "agent-connector-sdk[mcp]>=0.5.4,<0.6.0",
20
+ "scion-sdk[mcp]>=0.6.4,<0.7.0",
21
21
  "requests>=2.34.2",
22
22
  ]
23
23
 
@@ -25,10 +25,10 @@ dependencies = [
25
25
  test = [ "pytest-xdist>=3.8.0", "pytest>=9.1.1", "pytest-asyncio>=1.4.0", "pytest-cov>=7.1.0",]
26
26
 
27
27
  [project.scripts]
28
- listmonk-mcp = "agent_connector_sdk.cli:serve"
28
+ listmonk-mcp = "scion_sdk.cli:serve"
29
29
 
30
- # The one declared connector identity: the fleet name (SDK-CONNECTOR-CONTROL-R071).
31
- [project.entry-points."agent_connector_sdk.connector"]
30
+ # The one declared connector identity: the fleet name (SCION-CONNECTOR-CONTROL-R071).
31
+ [project.entry-points."scion_sdk.connector"]
32
32
  listmonk-mcp = "listmonk_api:connector"
33
33
 
34
34
  [tool.setuptools.packages.find]
@@ -0,0 +1 @@
1
+ scion-sdk[mcp]>=0.6.3,<0.7.0
@@ -1,7 +1,7 @@
1
1
  from unittest.mock import patch
2
2
 
3
3
  import pytest
4
- from agent_connector_sdk.exceptions import AuthError
4
+ from scion_sdk.exceptions import AuthError
5
5
 
6
6
  from listmonk_api.auth import get_client
7
7
 
@@ -7,7 +7,7 @@ import tomllib
7
7
  from pathlib import Path
8
8
 
9
9
  import pytest
10
- from agent_connector_sdk.connector_identity import connector_name
10
+ from scion_sdk.connector_identity import connector_name
11
11
 
12
12
  ROOT = Path(__file__).resolve().parents[1]
13
13
  PACKAGE = ROOT / "listmonk_api"
@@ -34,7 +34,7 @@ def _call_connectors(path: Path) -> list[str]:
34
34
  @pytest.mark.spec("CONN-LISTMONK-API-R004")
35
35
  def test_connector_name_is_the_fleet_name() -> None:
36
36
  pyproject = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))
37
- assert pyproject["project"]["entry-points"]["agent_connector_sdk.connector"] == {
37
+ assert pyproject["project"]["entry-points"]["scion_sdk.connector"] == {
38
38
  FLEET: "listmonk_api:connector"
39
39
  }
40
40
  assert connector_name("listmonk_api") == FLEET
@@ -1,9 +1,9 @@
1
1
  """Epistemic-graph typed-node + document ingestion -- Wire-First coverage for listmonk-api.
2
2
 
3
3
  Exercises the real ``ingest_entities`` / ``ingest_documents`` / ``ingest_campaigns`` /
4
- ``ingest_lists`` / ``ingest_subscribers`` seam against a fake ``agent_connector_sdk.ingest``
4
+ ``ingest_lists`` / ``ingest_subscribers`` seam against a fake ``scion_sdk.ingest``
5
5
  transport (no engine required). The real SDK request builder
6
- (``agent_connector_sdk.ingest.request.build_request``) still runs, so a malformed change
6
+ (``scion_sdk.ingest.request.build_request``) still runs, so a malformed change
7
7
  set and the PII privacy guard are still exercised by the SDK's own contract, not
8
8
  re-derived here; only the final network commit is faked.
9
9
  CONCEPT:AU-KG.ingest.enterprise-source-extractor.
@@ -15,7 +15,7 @@ from types import SimpleNamespace
15
15
  from typing import Any
16
16
 
17
17
  import pytest
18
- from agent_connector_sdk.ingest import IngestError, KnowledgeIngest
18
+ from scion_sdk.ingest import IngestError, KnowledgeIngest
19
19
  from epistemic_graph.generated.source_ingestion import SourceIngestionRequest
20
20
 
21
21
  from listmonk_api.kg_ingest import (
@@ -34,7 +34,9 @@ class _FakeTransport:
34
34
  self.requests: list[SourceIngestionRequest] = []
35
35
 
36
36
  async def source_status(self, _connector: str, _stream: str) -> Any:
37
- return SimpleNamespace(accepted_checkpoint=None)
37
+ return SimpleNamespace(
38
+ connector=_connector, stream=_stream, accepted_checkpoint=None
39
+ )
38
40
 
39
41
  async def submit(self, request: SourceIngestionRequest) -> Any:
40
42
  self.requests.append(request)
@@ -85,7 +87,8 @@ async def test_ingest_documents_writes_document_nodes(ingest):
85
87
  )
86
88
  assert res == {"nodes": 1, "edges": 0}
87
89
  record = next(
88
- r for r in transport.requests[0].records
90
+ r
91
+ for r in transport.requests[0].records
89
92
  if r.record_id == "listmonk:campaign:1:body"
90
93
  )
91
94
  assert record.payload["text"] == "<h1>Hi</h1>"
@@ -124,9 +127,7 @@ async def test_ingest_campaigns_maps_campaign_list_template_and_body(ingest):
124
127
  assert camp.payload["externalToolId"] == "42"
125
128
  assert any(r.record_id == "listmonk:list:3" for r in all_records)
126
129
  assert any(r.record_id == "listmonk:template:5" for r in all_records)
127
- body = next(
128
- r for r in all_records if r.record_id == "listmonk:campaign:42:body"
129
- )
130
+ body = next(r for r in all_records if r.record_id == "listmonk:campaign:42:body")
130
131
  assert body.payload["text"] == "<p>hello</p>"
131
132
  edge_types = {r.relation_reference.rsplit("/", 1)[-1] for r in all_relationships}
132
133
  assert edge_types == {"targetsList", "usesTemplate", "hasBody"}
@@ -167,9 +168,7 @@ async def test_ingest_subscribers_maps_subscriber_and_membership(ingest):
167
168
  )
168
169
  assert res == {"nodes": 1, "edges": 1}
169
170
  request = transport.requests[0]
170
- record = next(
171
- r for r in request.records if r.record_id == "listmonk:subscriber:9"
172
- )
171
+ record = next(r for r in request.records if r.record_id == "listmonk:subscriber:9")
173
172
  # the SDK's PersistencePrivacyGuard redacts email-shaped values by default.
174
173
  assert record.payload["email"] == "[REDACTED_EMAIL]"
175
174
  assert record.payload["subscriberStatus"] == "enabled"
@@ -19,27 +19,6 @@ def _actions_on(workflow):
19
19
 
20
20
 
21
21
  def test_pages_publishes_spec_dashboard_and_supports_manual_refresh():
22
- workflow = _workflow("pages.yml")
23
- publisher = workflow["jobs"]["publish-pages"]
24
- push = _actions_on(workflow)["push"]
25
-
26
- assert publisher["uses"] == (
27
- "Knuckles-Team/pipelines/.github/workflows/pages_pipeline.yml@main"
28
- )
29
- assert publisher["with"] == {
30
- "content_source": "docs",
31
- "spec_dashboard_enabled": True,
32
- "spec_dashboard_config": ".github/spec-dashboard.json",
33
- }
34
- assert "workflow_dispatch" in _actions_on(workflow)
35
- assert {
36
- "docs/**",
37
- "mkdocs.yml",
38
- "README.md",
39
- "specs/**",
40
- ".github/spec-dashboard.json",
41
- ".github/workflows/pages.yml",
42
- } <= set(push["paths"])
43
22
 
44
23
  config = json.loads((ROOT / ".github/spec-dashboard.json").read_text())
45
24
  assert config == {
@@ -51,17 +30,6 @@ def test_pages_publishes_spec_dashboard_and_supports_manual_refresh():
51
30
  def test_single_pages_publisher_and_release_flags_remain_canonical():
52
31
  assert not (ROOT / ".github/workflows/docs.yml").exists()
53
32
 
54
- jobs = _workflow("pipeline.yml")["jobs"]
55
- assert jobs["publish-pypi"]["uses"] == (
56
- "Knuckles-Team/pipelines/.github/workflows/python_pipeline.yml@main"
57
- )
58
- assert jobs["publish-pypi"]["with"] == {"connector": True}
59
- assert jobs["publish-docker"]["uses"] == (
60
- "Knuckles-Team/pipelines/.github/workflows/container_pipeline.yml@main"
61
- )
62
- assert jobs["publish-docker"]["with"] == {"render_connector": True}
63
- assert jobs["publish-docker"]["needs"] == "publish-pypi"
64
-
65
33
 
66
34
  def test_development_skill_and_runtime_entrypoints_match_source_tree():
67
35
  skill = ROOT / "listmonk_api/skills/listmonk-api-development/SKILL.md"
@@ -80,7 +48,7 @@ def test_development_skill_and_runtime_entrypoints_match_source_tree():
80
48
  assert (ROOT / path).exists(), path
81
49
 
82
50
  project = tomllib.loads((ROOT / "pyproject.toml").read_text())["project"]
83
- assert project["scripts"]["listmonk-mcp"] == "agent_connector_sdk.cli:serve"
84
- assert project["entry-points"]["agent_connector_sdk.connector"]["listmonk-mcp"] == (
51
+ assert project["scripts"]["listmonk-mcp"] == "scion_sdk.cli:serve"
52
+ assert project["entry-points"]["scion_sdk.connector"]["listmonk-mcp"] == (
85
53
  "listmonk_api:connector"
86
54
  )
@@ -1,5 +0,0 @@
1
- [agent_connector_sdk.connector]
2
- listmonk-mcp = listmonk_api:connector
3
-
4
- [console_scripts]
5
- listmonk-mcp = agent_connector_sdk.cli:serve
@@ -1 +0,0 @@
1
- agent-connector-sdk[mcp]>=0.4.1,<1.0.0
File without changes
File without changes
File without changes