Conversation
be88a0d to
c4c2fc9
Compare
chore: fixup
767f200 to
34f8509
Compare
34f8509 to
f593d8f
Compare
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.
Introduces a full suite of CLI commands under
npx appkit pluginfor managing plugin manifests — creating, validating, listing, syncing, and adding resources. Restructures the previous singleplugins synccommand into a modular command tree and strengthens the JSON schema with type-specific permission validation.New CLI commands
plugin create— Interactive wizard (via@clack/prompts) to scaffold a new plugin with manifest, TypeScript class, and barrel exports. Supports in-repo or standalone placement, resource selection, and metadata fields.plugin validate— Validatesmanifest.jsonorappkit.plugins.jsonagainst the JSON schema. Auto-detects schema type, reports humanized errors with actual values and expected enums.plugin list— Lists plugins fromappkit.plugins.jsonor scans a directory. Supports--jsonoutput for scripting.plugin add-resource— Interactively adds a resource requirement to an existing plugin manifest.plugin sync— Refactored from the previousplugins sync; discovers plugin manifests from packages and local imports, writes consolidatedappkit.plugins.json.Schema improvements
allOf/if-thenrules (e.g.sql_warehouseonly allowsCAN_MANAGE | CAN_USE).resourceTypeenum is the single source of truth — unknown types are rejected at the schema level.template-plugins.schema.jsonnow$refs definitions fromplugin-manifest.schema.jsoninstead of duplicating them.