Skip to content

docs(plugins): sync the declarative schema with the SDK minder_api step - #85

Merged
Resinder merged 2 commits into
mainfrom
docs/t0-minder-api-step
Nov 7, 2026
Merged

Resinder merged 2 commits into
mainfrom
docs/t0-minder-api-step

Conversation

@Resinder

@Resinder Resinder commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This syncs docs/schemas/declarative-manifest.v1alpha1.json with the SDK schema in minderhq/plugin-sdk#59, so the file published at its $id URL stays byte-identical with the SDK.

What the schema adds:

  • A minderApi definition: route (must start with /v1/), method (GET or POST), query and body.
  • step.minder_api as an alternative to step.request. A step has exactly one of them (oneOf).
  • operation.minder_scopes, an enum of the Minder API scopes with unique items.
  • Actions and schedule steps refuse minder_api.

Re-synced to plugin-sdk#59 head a2f87f31 (a body on GET is now refused).

Validation

  • cmp against the SDK branch's src/minder_plugin_sdk/schemas/declarative-manifest.schema.json: identical.
  • The file parses as JSON.

Merge order

Merge after minderhq/plugin-sdk#59. If that PR changes the schema again before it merges, re-sync this file.

🤖 Generated with Claude Code

A declarative tool that declares minder_scopes may use a minder_api step
(route, method, query, body) to call Minder's own API instead of an HTTP
request. The schema gains the minderApi definition, step.minder_api and
operation.minder_scopes. This keeps the copy byte-identical with
minderhq/plugin-sdk#59.

Agent-Session: zeynep-portainer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Resinder

Resinder commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor Author

Driven by session zeynep-portainer from 2026-11-07T05:02:38Z: it is the one session acting on this PR (pushes, reruns, merge). Protocol: minderhq/minder#2342.

Keeps the copy byte-identical with minderhq/plugin-sdk#59 at a2f87f31.

Agent-Session: zeynep-portainer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Resinder
Resinder merged commit 4046955 into main Nov 7, 2026
4 checks passed
@Resinder
Resinder deleted the docs/t0-minder-api-step branch November 7, 2026 05:15
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.

1 participant