postiz-agent 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 (63) hide show
  1. {postiz_agent-2.3.2/postiz_agent.egg-info → postiz_agent-2.3.3}/PKG-INFO +5 -5
  2. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/README.md +1 -1
  3. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/connectors/tool_schema_fingerprints.json +1 -1
  4. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/mcp_server.py +1 -1
  5. {postiz_agent-2.3.2 → postiz_agent-2.3.3/postiz_agent.egg-info}/PKG-INFO +5 -5
  6. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent.egg-info/SOURCES.txt +1 -0
  7. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent.egg-info/entry_points.txt +3 -0
  8. postiz_agent-2.3.3/postiz_agent.egg-info/requires.txt +14 -0
  9. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/pyproject.toml +8 -4
  10. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/tests/test_coverage_gap_fillers.py +1 -0
  11. postiz_agent-2.3.3/tests/test_default_content_surfaces.py +43 -0
  12. postiz_agent-2.3.2/postiz_agent.egg-info/requires.txt +0 -14
  13. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/LICENSE +0 -0
  14. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/MANIFEST.in +0 -0
  15. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/__init__.py +0 -0
  16. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/__main__.py +0 -0
  17. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/api/__init__.py +0 -0
  18. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/api/api_client_analytics.py +0 -0
  19. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/api/api_client_base.py +0 -0
  20. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/api/api_client_integrations.py +0 -0
  21. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/api/api_client_notifications.py +0 -0
  22. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/api/api_client_posts.py +0 -0
  23. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/api/api_client_uploads.py +0 -0
  24. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/api/api_client_video.py +0 -0
  25. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/api_client.py +0 -0
  26. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/auth.py +0 -0
  27. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/connectors/__init__.py +0 -0
  28. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/connectors/mcp_source_presets.json +0 -0
  29. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/kg_ingest.py +0 -0
  30. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/kg_media.py +0 -0
  31. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/mcp_config.json +0 -0
  32. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/ontology/__init__.py +0 -0
  33. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/ontology/certification.json +0 -0
  34. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/ontology/fixtures/records.json +0 -0
  35. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/ontology/mappings/source.yaml +0 -0
  36. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/ontology/migrations/manifest.json +0 -0
  37. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/ontology/shapes/connector.shacl.ttl +0 -0
  38. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/ontology/social.ttl +0 -0
  39. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/postiz_models.py +0 -0
  40. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/prompts/__init__.py +0 -0
  41. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/__init__.py +0 -0
  42. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/postiz-agent-operations/SKILL.md +0 -0
  43. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/postiz-agent-operations/agents/openai.yaml +0 -0
  44. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/postiz-agent-operations/references/catalog.md +0 -0
  45. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/postiz-audience-analytics/SKILL.md +0 -0
  46. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/postiz-audience-analytics/WORKFLOW.md +0 -0
  47. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/postiz-channel-management/SKILL.md +0 -0
  48. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/postiz-channel-management/WORKFLOW.md +0 -0
  49. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/postiz-content-scheduling/SKILL.md +0 -0
  50. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent/skills/postiz-content-scheduling/WORKFLOW.md +0 -0
  51. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent.egg-info/dependency_links.txt +0 -0
  52. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/postiz_agent.egg-info/top_level.txt +0 -0
  53. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/requirements.txt +0 -0
  54. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/scripts/security_contract.py +0 -0
  55. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/scripts/security_sanitizer.py +0 -0
  56. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/scripts/verify_api_integration.py +0 -0
  57. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/setup.cfg +0 -0
  58. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/tests/conftest.py +0 -0
  59. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/tests/test_action_discovery.py +0 -0
  60. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/tests/test_init.py +0 -0
  61. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/tests/test_init_dynamics.py +0 -0
  62. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/tests/test_kg_ingest.py +0 -0
  63. {postiz_agent-2.3.2 → postiz_agent-2.3.3}/tests/test_kg_media.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: postiz-agent
3
- Version: 2.3.2
3
+ Version: 2.3.3
4
4
  Summary: Agent for interacting with Postiz Public API
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.15,>=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.0
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.0; 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.0; 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/postiz-agent)
48
48
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/postiz-agent)
49
49
 
50
- *Version: 2.3.2*
50
+ *Version: 2.3.3*
51
51
 
52
52
  > **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
53
53
  > interfaces, and guidance for provisioning a self-hosted Postiz instance are
@@ -20,7 +20,7 @@
20
20
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/postiz-agent)
21
21
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/postiz-agent)
22
22
 
23
- *Version: 2.3.2*
23
+ *Version: 2.3.3*
24
24
 
25
25
  > **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
26
26
  > interfaces, and guidance for provisioning a self-hosted Postiz instance are
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "algorithm": "agent-connector-sdk:mcp-tool-contract-compat:v2",
3
- "connector": "postiz-agent",
3
+ "connector": "postiz-mcp",
4
4
  "schema_version": "1",
5
5
  "tools": {
6
6
  "postiz_list_posts": "c70d17f69e5f666e522b00be26d756116c3082eda29926720723836d734ac3bc"
@@ -23,7 +23,7 @@ from starlette.responses import JSONResponse
23
23
  from postiz_agent.api_client import PostizApi
24
24
  from postiz_agent.auth import get_client
25
25
 
26
- __version__ = "2.3.2"
26
+ __version__ = "2.3.3"
27
27
 
28
28
  logger = get_logger(name="postiz-agent")
29
29
  logger.setLevel(logging.INFO)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: postiz-agent
3
- Version: 2.3.2
3
+ Version: 2.3.3
4
4
  Summary: Agent for interacting with Postiz Public API
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.15,>=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.0
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.0; 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.0; 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/postiz-agent)
48
48
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/postiz-agent)
49
49
 
50
- *Version: 2.3.2*
50
+ *Version: 2.3.3*
51
51
 
52
52
  > **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
53
53
  > interfaces, and guidance for provisioning a self-hosted Postiz instance are
@@ -53,6 +53,7 @@ scripts/verify_api_integration.py
53
53
  tests/conftest.py
54
54
  tests/test_action_discovery.py
55
55
  tests/test_coverage_gap_fillers.py
56
+ tests/test_default_content_surfaces.py
56
57
  tests/test_init.py
57
58
  tests/test_init_dynamics.py
58
59
  tests/test_kg_ingest.py
@@ -1,3 +1,6 @@
1
+ [agent_connector_sdk.connector]
2
+ postiz-mcp = postiz_agent
3
+
1
4
  [agent_connector_sdk.ontology_providers]
2
5
  postiz-agent = postiz_agent.ontology
3
6
 
@@ -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,12 +4,12 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "postiz-agent"
7
- version = "2.3.2"
7
+ version = "2.3.3"
8
8
  description = "Agent for interacting with Postiz Public API"
9
9
  readme = "README.md"
10
10
  classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
11
11
  requires-python = ">=3.12, <3.15"
12
- dependencies = [ "agent-connector-sdk[mcp]>=0.3.0,<1.0.0", "requests>=2.34.2",]
12
+ dependencies = [ "agent-connector-sdk[mcp]>=0.3.18,<1.0.0", "requests>=2.34.2",]
13
13
  [[project.authors]]
14
14
  name = "Project Maintainers"
15
15
  email = "maintainers@users.noreply.github.com"
@@ -18,8 +18,8 @@ email = "maintainers@users.noreply.github.com"
18
18
  text = "MIT"
19
19
 
20
20
  [project.optional-dependencies]
21
- mcp = [ "agent-connector-sdk[mcp]>=0.3.0,<1.0.0",]
22
- all = [ "agent-connector-sdk[mcp]>=0.3.0,<1.0.0",]
21
+ mcp = [ "agent-connector-sdk[mcp]>=0.3.18,<1.0.0",]
22
+ all = [ "agent-connector-sdk[mcp]>=0.3.18,<1.0.0",]
23
23
  test = [
24
24
  "pytest-xdist>=3.8.0", "pytest>=9.1.1", "pytest-asyncio>=1.4.0", "pytest-cov>=7.1.0",]
25
25
 
@@ -40,6 +40,10 @@ postiz-agent = "postiz_agent.ontology"
40
40
  [project.entry-points."agent_connector_sdk.source_connector_providers"]
41
41
  postiz-agent = "postiz_agent.connectors"
42
42
 
43
+ # The one declared connector identity: the fleet name (SDK-CONNECTOR-CONTROL-R071).
44
+ [project.entry-points."agent_connector_sdk.connector"]
45
+ postiz-mcp = "postiz_agent"
46
+
43
47
  [tool.uv.workspace]
44
48
  members = ["."]
45
49
 
@@ -83,6 +83,7 @@ def test_auth_singleton_and_exception_handling():
83
83
  # --- Tests for postiz_agent/api_client.py ---
84
84
 
85
85
 
86
+ @pytest.mark.spec("CONN-POSTIZ-AGENT-R001")
86
87
  def test_api_client_url_normalization():
87
88
  """CONCEPT:PZ-OS.config.unified-interface-integrations-posts - URL normalization paths with custom base URL."""
88
89
  # Append path if not present
@@ -0,0 +1,43 @@
1
+ """CONN-POSTIZ-AGENT-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 = "postiz_agent"
13
+ ROOT = Path(list(importlib.import_module(PACKAGE).__path__)[0])
14
+
15
+ pytestmark = pytest.mark.spec("CONN-POSTIZ-AGENT-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('postiz-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://postiz-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.0
2
- requests>=2.34.2
3
-
4
- [all]
5
- agent-connector-sdk[mcp]<1.0.0,>=0.3.0
6
-
7
- [mcp]
8
- agent-connector-sdk[mcp]<1.0.0,>=0.3.0
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