diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 0000000..4338068 --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,53 @@ +# Backstage catalog entry for this repository. Owner, system and the +# components named here are defined in the lab catalog. +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: morgentraining + description: >- + Training page for the family: timed rounds around a sun ring, plans built + from a shared exercise library and saved as versions, and a plan, + language and streak per person. People and plans are managed in the + browser, through the JSON API or over MCP. + annotations: + github.com/project-slug: subpathdev/morgentraining + tags: [go, sqlite] +spec: + type: service + lifecycle: production + owner: group:lab + system: morgentraining + providesApis: [morgentraining-api, morgentraining-mcp] +--- +apiVersion: backstage.io/v1alpha1 +kind: API +metadata: + name: morgentraining-api + description: REST API of Morgentraining (people, plans and plan versions, rounds). + annotations: + github.com/project-slug: subpathdev/morgentraining +spec: + type: openapi + lifecycle: production + owner: group:lab + system: morgentraining + definition: + $text: ./api/openapi.yaml +--- +apiVersion: backstage.io/v1alpha1 +kind: API +metadata: + name: morgentraining-mcp + description: >- + MCP tools at /mcp (Streamable HTTP): the REST API's capabilities as + task-shaped tools, for agents and the Verwalten page. + annotations: + github.com/project-slug: subpathdev/morgentraining +spec: + type: mcp + lifecycle: experimental + owner: group:lab + system: morgentraining + # tools/list snapshot, kept current by TestToolsMatchSnapshot. + definition: + $text: ./api/mcp-tools.json