Skip to content

feat: introduce catalogs#347

Open
coplat wants to merge 41 commits into
betafrom
feat/template-catalogues
Open

feat: introduce catalogs#347
coplat wants to merge 41 commits into
betafrom
feat/template-catalogues

Conversation

@coplat

@coplat coplat commented May 26, 2026

Copy link
Copy Markdown
Contributor

Description of change

Introduces a catalogs module in agent_library. This new feature allows the grouping of templates within catalogs, and initializes the following corresponding endpoints:

POST /create-new-catalog -> create a catalog given CatalogDisplay properties (name, description and logo).
POST /add-templates-to-catalog -> Add one or more templates to an existing catalog.
POST /remove-templates -> Remove one or more templates from an existing catalog.
POST /change-catalog-appearance -> Modify the name, description or icon of a catalog.
POST /make-catalog-public -> Change the catalogs visibility to public.
POST /make-catalog-private -> Change the catalogs visibility to private.

Links to any relevant issues

Be sure to reference any related issues by adding fixes issue #.

How the change has been tested

Describe the tests that you ran to verify your changes.
Make sure to provide instructions for the maintainer as well as any relevant configurations.

Definition of Done checklist

Add an x to the boxes that are relevant to your changes.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have successfully tested this change in a docker environment

@codecov-commenter

codecov-commenter commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 18.47826% with 225 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agent_api_http/src/v0/library/catalog/mod.rs 0.00% 115 Missing ⚠️
agent_library/src/catalog/views/mod.rs 0.00% 26 Missing ⚠️
agent_api_http/src/v0/library/error.rs 0.00% 19 Missing ⚠️
agent_library/src/catalog/aggregate.rs 66.66% 16 Missing ⚠️
...rc/v0/library/catalog/queries/get_catalog_by_id.rs 0.00% 15 Missing ⚠️
...src/v0/library/catalog/queries/get_all_catalogs.rs 0.00% 14 Missing ⚠️
...ent_library/src/catalog/views/view_all_catalogs.rs 0.00% 8 Missing ⚠️
agent_library/src/catalog/event.rs 0.00% 6 Missing ⚠️
agent_library/src/catalog/services.rs 0.00% 4 Missing ⚠️
agent_library/src/state.rs 0.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
agent_api_http/src/v0/library/mod.rs 100.00% <100.00%> (ø)
agent_api_http/src/v0/openapi.rs 100.00% <ø> (ø)
agent_library/src/template/event.rs 0.00% <ø> (ø)
agent_store/src/lib.rs 78.55% <100.00%> (+0.39%) ⬆️
agent_library/src/state.rs 0.00% <0.00%> (ø)
agent_library/src/catalog/services.rs 0.00% <0.00%> (ø)
agent_library/src/catalog/event.rs 0.00% <0.00%> (ø)
...ent_library/src/catalog/views/view_all_catalogs.rs 0.00% <0.00%> (ø)
...src/v0/library/catalog/queries/get_all_catalogs.rs 0.00% <0.00%> (ø)
...rc/v0/library/catalog/queries/get_catalog_by_id.rs 0.00% <0.00%> (ø)
... and 4 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coplat coplat changed the title init: catalogue aggregate feat: introduce catalogs May 28, 2026
@coplat coplat self-assigned this May 28, 2026
@coplat coplat marked this pull request as ready for review June 18, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants