wger-agent 2.2.7__tar.gz → 2.2.9__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.
- {wger_agent-2.2.7/wger_agent.egg-info → wger_agent-2.2.9}/PKG-INFO +16 -16
- {wger_agent-2.2.7 → wger_agent-2.2.9}/README.md +12 -12
- {wger_agent-2.2.7 → wger_agent-2.2.9}/pyproject.toml +4 -4
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/test_default_content_surfaces.py +7 -1
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/test_kg_ingest.py +2 -2
- wger_agent-2.2.9/tests/test_measurement_uuid_ids.py +23 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api/api_client_body.py +6 -6
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/kg_ingest.py +2 -2
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/mcp/tools.py +2 -2
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/ontology/certification.json +1 -1
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-workout-routines/SKILL.md +1 -1
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-workout-routines/WORKFLOW.md +1 -1
- {wger_agent-2.2.7 → wger_agent-2.2.9/wger_agent.egg-info}/PKG-INFO +16 -16
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent.egg-info/SOURCES.txt +1 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent.egg-info/requires.txt +3 -3
- {wger_agent-2.2.7 → wger_agent-2.2.9}/LICENSE +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/MANIFEST.in +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/requirements.txt +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/scripts/security_contract.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/setup.cfg +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/conftest.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/test_bug_cx_046_ctx_await.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/test_coverage_booster.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/test_fleet_name.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/test_init.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/test_init_dynamics.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/test_publication_workflow.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/tests/test_wheel_inventory.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/__init__.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/__main__.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api/__init__.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api/api_client_base.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api/api_client_configs.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api/api_client_exercises.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api/api_client_nutrition.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api/api_client_routine.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api/api_client_user_system.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api/api_client_workout_sessions.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/api_client.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/auth.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/connector_sources.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/connectors/__init__.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/mcp/__init__.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/mcp/mcp_server.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/mcp_config.json +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/mcp_server.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/ontology/__init__.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/ontology/fixtures/records.json +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/ontology/mappings/source.yaml +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/ontology/migrations/manifest.json +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/ontology/shapes/connector.shacl.ttl +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/ontology/wellness.ttl +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/prompts/__init__.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/prompts/fitness_specialist.json +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/__init__.py +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-development/SKILL.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/SKILL.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/WORKFLOW.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/_images_logo.png.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/administration_auth_proxy.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/administration_commands.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/administration_gym.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/administration_settings.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/api_api.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/api_routines.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/changelog.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/contributing.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/development_backend.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/development_frontend.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/development_mobile_app.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/en_latest.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/manual_routines.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/production_docker.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/production_installation.html.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-operations/SKILL.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-operations/agents/openai.yaml +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-operations/references/catalog.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-exercise-library/SKILL.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-exercise-library/WORKFLOW.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-nutrition-tracking/SKILL.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-nutrition-tracking/WORKFLOW.md +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent.egg-info/dependency_links.txt +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent.egg-info/entry_points.txt +0 -0
- {wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wger-agent
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.9
|
|
4
4
|
Summary: Wger Workout Manager — exercise database, workout routines, nutrition plans, body measurements, and progress tracking.
|
|
5
5
|
Author-email: Repository Maintainers <maintainers@knuckles.team>
|
|
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: scion-sdk[mcp]<0.
|
|
15
|
+
Requires-Dist: scion-sdk[mcp]<0.8.0,>=0.7.0
|
|
16
16
|
Requires-Dist: requests>=2.34.2
|
|
17
17
|
Provides-Extra: mcp
|
|
18
|
-
Requires-Dist: scion-sdk[mcp]<0.
|
|
18
|
+
Requires-Dist: scion-sdk[mcp]<0.8.0,>=0.7.0; extra == "mcp"
|
|
19
19
|
Provides-Extra: all
|
|
20
|
-
Requires-Dist: scion-sdk[mcp]<0.
|
|
20
|
+
Requires-Dist: scion-sdk[mcp]<0.8.0,>=0.7.0; 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
|

|
|
48
48
|

|
|
49
49
|
|
|
50
|
-
*Version: 2.2.
|
|
50
|
+
*Version: 2.2.9*
|
|
51
51
|
|
|
52
52
|
> **Documentation** — Installation, deployment, usage across the MCP, API, and agent
|
|
53
53
|
> interfaces, and guidance for provisioning the Wger Workout Manager platform are
|
|
@@ -94,7 +94,7 @@ _Auto-generated from the live MCP server — do not edit by hand._
|
|
|
94
94
|
|----------|----------------|-------------|
|
|
95
95
|
| `wger_body` | `BODYTOOL` | Manage wger body operations. |
|
|
96
96
|
| `wger_exercise` | `EXERCISETOOL` | Manage wger exercise operations. |
|
|
97
|
-
| `wger_ingest` | `INGESTTOOL` | Natively ingest wger records into
|
|
97
|
+
| `wger_ingest` | `INGESTTOOL` | Natively ingest wger records into medulla as typed nodes. |
|
|
98
98
|
| `wger_nutrition` | `NUTRITIONTOOL` | Manage wger nutrition operations. |
|
|
99
99
|
| `wger_routine` | `ROUTINETOOL` | Manage wger routine operations. |
|
|
100
100
|
| `wger_routineconfig` | `ROUTINECONFIGTOOL` | Manage wger routineconfig operations. |
|
|
@@ -275,7 +275,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
|
|
|
275
275
|
|
|
276
276
|
> **Install the connector-focused `[mcp]` extra.** Examples use `wger-agent[mcp]` to add
|
|
277
277
|
> FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
|
|
278
|
-
> still carries `
|
|
278
|
+
> still carries `medulla[full]`. The `[agent-runtime]` extra additionally
|
|
279
279
|
> enables model orchestration.
|
|
280
280
|
|
|
281
281
|
#### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
|
|
@@ -642,8 +642,8 @@ Pick the extra that matches what the operator want to run:
|
|
|
642
642
|
|
|
643
643
|
| Extra | Installs | Use when |
|
|
644
644
|
|-------|----------|----------|
|
|
645
|
-
| `wger-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `
|
|
646
|
-
| `wger-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `
|
|
645
|
+
| `wger-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `medulla[full]`) | The operator only run the **MCP server** (smallest install / image) |
|
|
646
|
+
| `wger-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `medulla[full]`) | The operator run the **integrated agent** |
|
|
647
647
|
| `wger-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
|
|
648
648
|
|
|
649
649
|
```bash
|
|
@@ -663,8 +663,8 @@ One multi-stage `docker/Dockerfile` builds two right-sized images, selected by `
|
|
|
663
663
|
|
|
664
664
|
| Image tag | Build target | Contents | Entrypoint |
|
|
665
665
|
|-----------|--------------|----------|------------|
|
|
666
|
-
| `example/wger-agent:mcp` | `--target mcp` | `wger-agent[mcp]` — **connector-focused**, includes `
|
|
667
|
-
| `example/wger-agent@sha256:<digest>` | `--target agent` (default) | `wger-agent[agent]` — **agent runtime**, model orchestration + `
|
|
666
|
+
| `example/wger-agent:mcp` | `--target mcp` | `wger-agent[mcp]` — **connector-focused**, includes `medulla[full]`; no model-orchestration stack | `wger-mcp` |
|
|
667
|
+
| `example/wger-agent@sha256:<digest>` | `--target agent` (default) | `wger-agent[agent]` — **agent runtime**, model orchestration + `medulla[full]` | `wger-agent` |
|
|
668
668
|
|
|
669
669
|
```bash
|
|
670
670
|
docker build --target mcp -t example/wger-agent:mcp docker/ # connector-focused MCP server
|
|
@@ -674,16 +674,16 @@ docker build --target agent -t example/wger-agent:agent-local docker/ # agent
|
|
|
674
674
|
`docker/mcp.compose.yml` runs the connector-focused `:mcp` server; `docker/agent.compose.yml` runs the
|
|
675
675
|
agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
|
|
676
676
|
|
|
677
|
-
### Knowledge-graph database (`
|
|
677
|
+
### Knowledge-graph database (`medulla`)
|
|
678
678
|
|
|
679
|
-
Both `[mcp]` and `[agent]` carry the **
|
|
680
|
-
Agent Utilities core dependency (`
|
|
679
|
+
Both `[mcp]` and `[agent]` carry the **medulla** engine through the required
|
|
680
|
+
Agent Utilities core dependency (`medulla[full]`). The `[mcp]` extra keeps
|
|
681
681
|
the server connector-focused; `[agent]` also enables model orchestration. Local
|
|
682
682
|
deployments can use the bundled engine. For production or shared state, run
|
|
683
|
-
**
|
|
683
|
+
**medulla as a dedicated database service** and configure the runtime to use it.
|
|
684
684
|
Deployment recipes (single-node + Raft HA), connection configuration, and architecture
|
|
685
685
|
diagrams are documented in the
|
|
686
|
-
[
|
|
686
|
+
[medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
|
|
687
687
|
|
|
688
688
|
---
|
|
689
689
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|

|
|
21
21
|

|
|
22
22
|
|
|
23
|
-
*Version: 2.2.
|
|
23
|
+
*Version: 2.2.9*
|
|
24
24
|
|
|
25
25
|
> **Documentation** — Installation, deployment, usage across the MCP, API, and agent
|
|
26
26
|
> interfaces, and guidance for provisioning the Wger Workout Manager platform are
|
|
@@ -67,7 +67,7 @@ _Auto-generated from the live MCP server — do not edit by hand._
|
|
|
67
67
|
|----------|----------------|-------------|
|
|
68
68
|
| `wger_body` | `BODYTOOL` | Manage wger body operations. |
|
|
69
69
|
| `wger_exercise` | `EXERCISETOOL` | Manage wger exercise operations. |
|
|
70
|
-
| `wger_ingest` | `INGESTTOOL` | Natively ingest wger records into
|
|
70
|
+
| `wger_ingest` | `INGESTTOOL` | Natively ingest wger records into medulla as typed nodes. |
|
|
71
71
|
| `wger_nutrition` | `NUTRITIONTOOL` | Manage wger nutrition operations. |
|
|
72
72
|
| `wger_routine` | `ROUTINETOOL` | Manage wger routine operations. |
|
|
73
73
|
| `wger_routineconfig` | `ROUTINECONFIGTOOL` | Manage wger routineconfig operations. |
|
|
@@ -248,7 +248,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
|
|
|
248
248
|
|
|
249
249
|
> **Install the connector-focused `[mcp]` extra.** Examples use `wger-agent[mcp]` to add
|
|
250
250
|
> FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
|
|
251
|
-
> still carries `
|
|
251
|
+
> still carries `medulla[full]`. The `[agent-runtime]` extra additionally
|
|
252
252
|
> enables model orchestration.
|
|
253
253
|
|
|
254
254
|
#### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
|
|
@@ -615,8 +615,8 @@ Pick the extra that matches what the operator want to run:
|
|
|
615
615
|
|
|
616
616
|
| Extra | Installs | Use when |
|
|
617
617
|
|-------|----------|----------|
|
|
618
|
-
| `wger-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `
|
|
619
|
-
| `wger-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `
|
|
618
|
+
| `wger-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `medulla[full]`) | The operator only run the **MCP server** (smallest install / image) |
|
|
619
|
+
| `wger-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `medulla[full]`) | The operator run the **integrated agent** |
|
|
620
620
|
| `wger-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
|
|
621
621
|
|
|
622
622
|
```bash
|
|
@@ -636,8 +636,8 @@ One multi-stage `docker/Dockerfile` builds two right-sized images, selected by `
|
|
|
636
636
|
|
|
637
637
|
| Image tag | Build target | Contents | Entrypoint |
|
|
638
638
|
|-----------|--------------|----------|------------|
|
|
639
|
-
| `example/wger-agent:mcp` | `--target mcp` | `wger-agent[mcp]` — **connector-focused**, includes `
|
|
640
|
-
| `example/wger-agent@sha256:<digest>` | `--target agent` (default) | `wger-agent[agent]` — **agent runtime**, model orchestration + `
|
|
639
|
+
| `example/wger-agent:mcp` | `--target mcp` | `wger-agent[mcp]` — **connector-focused**, includes `medulla[full]`; no model-orchestration stack | `wger-mcp` |
|
|
640
|
+
| `example/wger-agent@sha256:<digest>` | `--target agent` (default) | `wger-agent[agent]` — **agent runtime**, model orchestration + `medulla[full]` | `wger-agent` |
|
|
641
641
|
|
|
642
642
|
```bash
|
|
643
643
|
docker build --target mcp -t example/wger-agent:mcp docker/ # connector-focused MCP server
|
|
@@ -647,16 +647,16 @@ docker build --target agent -t example/wger-agent:agent-local docker/ # agent
|
|
|
647
647
|
`docker/mcp.compose.yml` runs the connector-focused `:mcp` server; `docker/agent.compose.yml` runs the
|
|
648
648
|
agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
|
|
649
649
|
|
|
650
|
-
### Knowledge-graph database (`
|
|
650
|
+
### Knowledge-graph database (`medulla`)
|
|
651
651
|
|
|
652
|
-
Both `[mcp]` and `[agent]` carry the **
|
|
653
|
-
Agent Utilities core dependency (`
|
|
652
|
+
Both `[mcp]` and `[agent]` carry the **medulla** engine through the required
|
|
653
|
+
Agent Utilities core dependency (`medulla[full]`). The `[mcp]` extra keeps
|
|
654
654
|
the server connector-focused; `[agent]` also enables model orchestration. Local
|
|
655
655
|
deployments can use the bundled engine. For production or shared state, run
|
|
656
|
-
**
|
|
656
|
+
**medulla as a dedicated database service** and configure the runtime to use it.
|
|
657
657
|
Deployment recipes (single-node + Raft HA), connection configuration, and architecture
|
|
658
658
|
diagrams are documented in the
|
|
659
|
-
[
|
|
659
|
+
[medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
|
|
660
660
|
|
|
661
661
|
---
|
|
662
662
|
|
|
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "wger-agent"
|
|
7
|
-
version = "2.2.
|
|
7
|
+
version = "2.2.9"
|
|
8
8
|
description = "Wger Workout Manager — exercise database, workout routines, nutrition plans, body measurements, and progress tracking."
|
|
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 = [ "scion-sdk[mcp]>=0.
|
|
12
|
+
dependencies = [ "scion-sdk[mcp]>=0.7.0,<0.8.0", "requests>=2.34.2",]
|
|
13
13
|
[[project.authors]]
|
|
14
14
|
name = "Repository Maintainers"
|
|
15
15
|
email = "maintainers@knuckles.team"
|
|
@@ -18,8 +18,8 @@ email = "maintainers@knuckles.team"
|
|
|
18
18
|
text = "MIT"
|
|
19
19
|
|
|
20
20
|
[project.optional-dependencies]
|
|
21
|
-
mcp = [ "scion-sdk[mcp]>=0.
|
|
22
|
-
all = [ "scion-sdk[mcp]>=0.
|
|
21
|
+
mcp = [ "scion-sdk[mcp]>=0.7.0,<0.8.0",]
|
|
22
|
+
all = [ "scion-sdk[mcp]>=0.7.0,<0.8.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
|
|
|
@@ -74,7 +74,13 @@ def test_sdk_floor_supports_content_identity_and_current_pack_protocol() -> None
|
|
|
74
74
|
sdk = [Requirement(value) for value in declared if value.startswith("scion-sdk")]
|
|
75
75
|
assert sdk
|
|
76
76
|
for requirement in sdk:
|
|
77
|
-
|
|
77
|
+
from packaging.version import Version
|
|
78
|
+
|
|
79
|
+
floor = max(
|
|
80
|
+
Version(s.version) for s in requirement.specifier if s.operator == ">="
|
|
81
|
+
)
|
|
82
|
+
assert floor >= Version("0.7.0")
|
|
83
|
+
assert not requirement.specifier.contains("0.8.0")
|
|
78
84
|
assert not requirement.specifier.contains("0.5.9")
|
|
79
85
|
|
|
80
86
|
|
|
@@ -14,7 +14,7 @@ from types import SimpleNamespace
|
|
|
14
14
|
from typing import Any
|
|
15
15
|
|
|
16
16
|
import pytest
|
|
17
|
-
from
|
|
17
|
+
from medulla.generated.source_ingestion import SourceIngestionRequest
|
|
18
18
|
from scion_sdk.ingest import IngestError, KnowledgeIngest
|
|
19
19
|
|
|
20
20
|
from wger_agent.kg_ingest import (
|
|
@@ -28,7 +28,7 @@ from wger_agent.kg_ingest import (
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class _FakeTransport:
|
|
31
|
-
"""Records every submitted request; no
|
|
31
|
+
"""Records every submitted request; no medulla engine required."""
|
|
32
32
|
|
|
33
33
|
def __init__(self) -> None:
|
|
34
34
|
self.requests: list[SourceIngestionRequest] = []
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""Measurement and measurement-category ids are UUID strings on current wger servers."""
|
|
2
|
+
|
|
3
|
+
import inspect
|
|
4
|
+
|
|
5
|
+
import pytest
|
|
6
|
+
|
|
7
|
+
from wger_agent.api.api_client_body import Api
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@pytest.mark.parametrize(
|
|
11
|
+
("method", "param"),
|
|
12
|
+
[
|
|
13
|
+
("get_measurement", "measurement_id"),
|
|
14
|
+
("update_measurement", "measurement_id"),
|
|
15
|
+
("delete_measurement", "measurement_id"),
|
|
16
|
+
("get_measurement_category", "category_id"),
|
|
17
|
+
("delete_measurement_category", "category_id"),
|
|
18
|
+
("create_measurement", "category"),
|
|
19
|
+
],
|
|
20
|
+
)
|
|
21
|
+
def test_measurement_ids_accept_uuid_strings(method, param):
|
|
22
|
+
annotation = inspect.signature(getattr(Api, method)).parameters[param].annotation
|
|
23
|
+
assert "str" in str(annotation)
|
|
@@ -43,22 +43,22 @@ class Api(BaseApiClient):
|
|
|
43
43
|
"measurement", limit=limit, offset=offset, ordering=ordering, **filters
|
|
44
44
|
)
|
|
45
45
|
|
|
46
|
-
def get_measurement(self, measurement_id: int) -> dict:
|
|
46
|
+
def get_measurement(self, measurement_id: int | str) -> dict:
|
|
47
47
|
"""Get a specific measurement."""
|
|
48
48
|
return self._get(f"measurement/{measurement_id}")
|
|
49
49
|
|
|
50
|
-
def create_measurement(self, category: int, date: str, value: float) -> dict:
|
|
50
|
+
def create_measurement(self, category: int | str, date: str, value: float) -> dict:
|
|
51
51
|
"""Log a body measurement."""
|
|
52
52
|
return self._post(
|
|
53
53
|
"measurement",
|
|
54
54
|
data={"category": category, "date": date, "value": str(value)},
|
|
55
55
|
)
|
|
56
56
|
|
|
57
|
-
def update_measurement(self, measurement_id: int, **kwargs) -> dict:
|
|
57
|
+
def update_measurement(self, measurement_id: int | str, **kwargs) -> dict:
|
|
58
58
|
"""Update a measurement."""
|
|
59
59
|
return self._patch(f"measurement/{measurement_id}", data=kwargs)
|
|
60
60
|
|
|
61
|
-
def delete_measurement(self, measurement_id: int) -> bool:
|
|
61
|
+
def delete_measurement(self, measurement_id: int | str) -> bool:
|
|
62
62
|
"""Delete a measurement."""
|
|
63
63
|
return self._delete(f"measurement/{measurement_id}")
|
|
64
64
|
|
|
@@ -68,7 +68,7 @@ class Api(BaseApiClient):
|
|
|
68
68
|
"""List measurement categories (e.g., Biceps, Chest, etc.)."""
|
|
69
69
|
return self._list("measurement-category", limit=limit, offset=offset)
|
|
70
70
|
|
|
71
|
-
def get_measurement_category(self, category_id: int) -> dict:
|
|
71
|
+
def get_measurement_category(self, category_id: int | str) -> dict:
|
|
72
72
|
"""Get a specific measurement category."""
|
|
73
73
|
return self._get(f"measurement-category/{category_id}")
|
|
74
74
|
|
|
@@ -76,7 +76,7 @@ class Api(BaseApiClient):
|
|
|
76
76
|
"""Create a measurement category."""
|
|
77
77
|
return self._post("measurement-category", data={"name": name, "unit": unit})
|
|
78
78
|
|
|
79
|
-
def delete_measurement_category(self, category_id: int) -> bool:
|
|
79
|
+
def delete_measurement_category(self, category_id: int | str) -> bool:
|
|
80
80
|
"""Delete a measurement category."""
|
|
81
81
|
return self._delete(f"measurement-category/{category_id}")
|
|
82
82
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Epistemic-graph ingestion for wger wellness records.
|
|
2
2
|
|
|
3
3
|
CONCEPT:AU-KG.ingest.enterprise-source-extractor. The wger-agent connector pushes
|
|
4
|
-
wger wellness records into the ONE
|
|
4
|
+
wger wellness records into the ONE medulla knowledge graph as **typed OWL
|
|
5
5
|
nodes** (``:Exercise``, ``:WorkoutRoutine``, ``:WorkoutSession``, ``:NutritionPlan``)
|
|
6
6
|
+ links through ``scion_sdk.ingest`` -- the generated ``SourceIngest``
|
|
7
7
|
client, not a local ingestion helper. Node ids follow ``wellness:<class>:<externalId>``.
|
|
@@ -63,7 +63,7 @@ async def ingest_entities(
|
|
|
63
63
|
*,
|
|
64
64
|
ingest: KnowledgeIngest | None = None,
|
|
65
65
|
) -> dict[str, int]:
|
|
66
|
-
"""Write typed OWL nodes (+ edges) into
|
|
66
|
+
"""Write typed OWL nodes (+ edges) into medulla via the SDK ingest facade.
|
|
67
67
|
|
|
68
68
|
Uses canonical ``node_type`` / ``relationship`` structural fields and surfaces
|
|
69
69
|
a malformed change set or a refused commit as ``IngestError``.
|
|
@@ -309,7 +309,7 @@ def register_ingest_tools(mcp: FastMCP):
|
|
|
309
309
|
"""CONCEPT:AU-KG.ingest.enterprise-source-extractor: Wire-First native KG ingestion tools.
|
|
310
310
|
|
|
311
311
|
Lists wger records via the real client and natively pushes them into the
|
|
312
|
-
|
|
312
|
+
medulla knowledge graph as typed OWL nodes (``:Exercise``,
|
|
313
313
|
``:WorkoutRoutine``, ``:WorkoutSession``, ``:NutritionPlan``). Best-effort:
|
|
314
314
|
``ingested`` is ``None`` when no KG engine is reachable.
|
|
315
315
|
"""
|
|
@@ -331,7 +331,7 @@ def register_ingest_tools(mcp: FastMCP):
|
|
|
331
331
|
default=None, description="MCP context for progress reporting"
|
|
332
332
|
),
|
|
333
333
|
) -> dict:
|
|
334
|
-
"""Natively ingest wger records into
|
|
334
|
+
"""Natively ingest wger records into medulla as typed nodes."""
|
|
335
335
|
if ctx:
|
|
336
336
|
await ctx.info("Ingesting wger records into the knowledge graph...")
|
|
337
337
|
|
|
@@ -73,7 +73,7 @@ Sync all routines into the knowledge graph (`wger_ingest`, action `routines`):
|
|
|
73
73
|
- `create_workout_session` requires a `routine` id and an ISO `date`; `impression` is a
|
|
74
74
|
string `"1"`–`"5"`.
|
|
75
75
|
- KG ingestion is best-effort: `wger_ingest` returns `{"ingested": null}` when no
|
|
76
|
-
|
|
76
|
+
medulla engine is reachable — the API read still succeeds.
|
|
77
77
|
- Node ids are `wellness:routine:<id>` / `wellness:session:<id>`; a session links to its
|
|
78
78
|
routine via `:sessionOfRoutine`.
|
|
79
79
|
|
|
@@ -62,7 +62,7 @@ Sync all routines into the knowledge graph (`wger_ingest`, action `routines`):
|
|
|
62
62
|
- `create_workout_session` requires a `routine` id and an ISO `date`; `impression` is a
|
|
63
63
|
string `"1"`–`"5"`.
|
|
64
64
|
- KG ingestion is best-effort: `wger_ingest` returns `{"ingested": null}` when no
|
|
65
|
-
|
|
65
|
+
medulla engine is reachable — the API read still succeeds.
|
|
66
66
|
- Node ids are `wellness:routine:<id>` / `wellness:session:<id>`; a session links to its
|
|
67
67
|
routine via `:sessionOfRoutine`.
|
|
68
68
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wger-agent
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.9
|
|
4
4
|
Summary: Wger Workout Manager — exercise database, workout routines, nutrition plans, body measurements, and progress tracking.
|
|
5
5
|
Author-email: Repository Maintainers <maintainers@knuckles.team>
|
|
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: scion-sdk[mcp]<0.
|
|
15
|
+
Requires-Dist: scion-sdk[mcp]<0.8.0,>=0.7.0
|
|
16
16
|
Requires-Dist: requests>=2.34.2
|
|
17
17
|
Provides-Extra: mcp
|
|
18
|
-
Requires-Dist: scion-sdk[mcp]<0.
|
|
18
|
+
Requires-Dist: scion-sdk[mcp]<0.8.0,>=0.7.0; extra == "mcp"
|
|
19
19
|
Provides-Extra: all
|
|
20
|
-
Requires-Dist: scion-sdk[mcp]<0.
|
|
20
|
+
Requires-Dist: scion-sdk[mcp]<0.8.0,>=0.7.0; 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
|

|
|
48
48
|

|
|
49
49
|
|
|
50
|
-
*Version: 2.2.
|
|
50
|
+
*Version: 2.2.9*
|
|
51
51
|
|
|
52
52
|
> **Documentation** — Installation, deployment, usage across the MCP, API, and agent
|
|
53
53
|
> interfaces, and guidance for provisioning the Wger Workout Manager platform are
|
|
@@ -94,7 +94,7 @@ _Auto-generated from the live MCP server — do not edit by hand._
|
|
|
94
94
|
|----------|----------------|-------------|
|
|
95
95
|
| `wger_body` | `BODYTOOL` | Manage wger body operations. |
|
|
96
96
|
| `wger_exercise` | `EXERCISETOOL` | Manage wger exercise operations. |
|
|
97
|
-
| `wger_ingest` | `INGESTTOOL` | Natively ingest wger records into
|
|
97
|
+
| `wger_ingest` | `INGESTTOOL` | Natively ingest wger records into medulla as typed nodes. |
|
|
98
98
|
| `wger_nutrition` | `NUTRITIONTOOL` | Manage wger nutrition operations. |
|
|
99
99
|
| `wger_routine` | `ROUTINETOOL` | Manage wger routine operations. |
|
|
100
100
|
| `wger_routineconfig` | `ROUTINECONFIGTOOL` | Manage wger routineconfig operations. |
|
|
@@ -275,7 +275,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
|
|
|
275
275
|
|
|
276
276
|
> **Install the connector-focused `[mcp]` extra.** Examples use `wger-agent[mcp]` to add
|
|
277
277
|
> FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
|
|
278
|
-
> still carries `
|
|
278
|
+
> still carries `medulla[full]`. The `[agent-runtime]` extra additionally
|
|
279
279
|
> enables model orchestration.
|
|
280
280
|
|
|
281
281
|
#### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
|
|
@@ -642,8 +642,8 @@ Pick the extra that matches what the operator want to run:
|
|
|
642
642
|
|
|
643
643
|
| Extra | Installs | Use when |
|
|
644
644
|
|-------|----------|----------|
|
|
645
|
-
| `wger-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `
|
|
646
|
-
| `wger-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `
|
|
645
|
+
| `wger-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `medulla[full]`) | The operator only run the **MCP server** (smallest install / image) |
|
|
646
|
+
| `wger-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `medulla[full]`) | The operator run the **integrated agent** |
|
|
647
647
|
| `wger-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
|
|
648
648
|
|
|
649
649
|
```bash
|
|
@@ -663,8 +663,8 @@ One multi-stage `docker/Dockerfile` builds two right-sized images, selected by `
|
|
|
663
663
|
|
|
664
664
|
| Image tag | Build target | Contents | Entrypoint |
|
|
665
665
|
|-----------|--------------|----------|------------|
|
|
666
|
-
| `example/wger-agent:mcp` | `--target mcp` | `wger-agent[mcp]` — **connector-focused**, includes `
|
|
667
|
-
| `example/wger-agent@sha256:<digest>` | `--target agent` (default) | `wger-agent[agent]` — **agent runtime**, model orchestration + `
|
|
666
|
+
| `example/wger-agent:mcp` | `--target mcp` | `wger-agent[mcp]` — **connector-focused**, includes `medulla[full]`; no model-orchestration stack | `wger-mcp` |
|
|
667
|
+
| `example/wger-agent@sha256:<digest>` | `--target agent` (default) | `wger-agent[agent]` — **agent runtime**, model orchestration + `medulla[full]` | `wger-agent` |
|
|
668
668
|
|
|
669
669
|
```bash
|
|
670
670
|
docker build --target mcp -t example/wger-agent:mcp docker/ # connector-focused MCP server
|
|
@@ -674,16 +674,16 @@ docker build --target agent -t example/wger-agent:agent-local docker/ # agent
|
|
|
674
674
|
`docker/mcp.compose.yml` runs the connector-focused `:mcp` server; `docker/agent.compose.yml` runs the
|
|
675
675
|
agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
|
|
676
676
|
|
|
677
|
-
### Knowledge-graph database (`
|
|
677
|
+
### Knowledge-graph database (`medulla`)
|
|
678
678
|
|
|
679
|
-
Both `[mcp]` and `[agent]` carry the **
|
|
680
|
-
Agent Utilities core dependency (`
|
|
679
|
+
Both `[mcp]` and `[agent]` carry the **medulla** engine through the required
|
|
680
|
+
Agent Utilities core dependency (`medulla[full]`). The `[mcp]` extra keeps
|
|
681
681
|
the server connector-focused; `[agent]` also enables model orchestration. Local
|
|
682
682
|
deployments can use the bundled engine. For production or shared state, run
|
|
683
|
-
**
|
|
683
|
+
**medulla as a dedicated database service** and configure the runtime to use it.
|
|
684
684
|
Deployment recipes (single-node + Raft HA), connection configuration, and architecture
|
|
685
685
|
diagrams are documented in the
|
|
686
|
-
[
|
|
686
|
+
[medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
|
|
687
687
|
|
|
688
688
|
---
|
|
689
689
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
scion-sdk[mcp]<0.
|
|
1
|
+
scion-sdk[mcp]<0.8.0,>=0.7.0
|
|
2
2
|
requests>=2.34.2
|
|
3
3
|
|
|
4
4
|
[all]
|
|
5
|
-
scion-sdk[mcp]<0.
|
|
5
|
+
scion-sdk[mcp]<0.8.0,>=0.7.0
|
|
6
6
|
|
|
7
7
|
[mcp]
|
|
8
|
-
scion-sdk[mcp]<0.
|
|
8
|
+
scion-sdk[mcp]<0.8.0,>=0.7.0
|
|
9
9
|
|
|
10
10
|
[test]
|
|
11
11
|
pytest-xdist>=3.8.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/api_api.html.md
RENAMED
|
File without changes
|
|
File without changes
|
{wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/changelog.html.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-docs/reference/en_latest.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-operations/agents/openai.yaml
RENAMED
|
File without changes
|
{wger_agent-2.2.7 → wger_agent-2.2.9}/wger_agent/skills/wger-agent-operations/references/catalog.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|