feat: register eleckit schema for *.eleckit.json files#5651
Closed
adamNewell wants to merge 1 commit into
Closed
Conversation
Adds a catalog entry for eleckit, a deterministic electronics design CLI that emits JSON-shaped command request payloads. The schema is hosted on the eleckit project's own site at https://eleckit.dev/schemas/v1/. The fileMatch pattern uses the project-prefixed convention (*.eleckit.json) so the entry cannot conflict with unrelated tooling.
Contributor
|
Thanks for the PR! This section of the codebase is owned by @madskristensen and |
Author
|
Apologies — this PR was opened by an automation flow without explicit maintainer-side authorization to publish to a third-party repository. Closing while we coordinate internally; will re-submit only after explicit approval. Sorry for the noise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a single self-hosted catalog entry for eleckit, a deterministic electronics-design CLI that exchanges JSON command-request payloads with plugins and AI agents.
The schema is hosted on the eleckit project's own site at
https://eleckit.dev/schemas/v1/(see the v1 rebuild plan, section 7), so this PR does not vendor any schema files into SchemaStore.Pattern
nameEleckitfileMatch*.eleckit.jsonurlhttps://eleckit.dev/schemas/v1/command_request.jsonThe
*.eleckit.jsonpattern is project-prefixed, so it cannot collide with unrelated tooling — seeAvoid Generic fileMatch PatternsinCONTRIBUTING.md.Schema target
The
urlpoints tocommand_request.json— the canonical wire-input envelope for eleckit commands. The full set of 54 v1 schemas is published in the eleckit repository and mirrored athttps://eleckit.dev/schemas/v1/<name>.json.Validation
node ./cli.js check --schema-name=schema-catalog.json— all preconditions pass (catalog validates against its schema, no duplicatefileMatchvalues, no invalid URLs, no field-guideline violations).prettier --check src/api/json/catalog.json— clean.Notes
eleckit.constraints.toml) was considered but deferred: eleckit currently models TOML constraint files as opaque artifact payloads undercommand_request.jsonrather than as a standalone JSON-Schema-validated TOML document. A dedicated TOML schema can be proposed later once the constraint format stabilizes.https://eleckit.dev/over HTTPS today, so the URL will resolve as soon as that PR ships.