feat: deprecate apps/create-expert, publish via Perstack API#635
Merged
feat: deprecate apps/create-expert, publish via Perstack API#635
Conversation
…ith CD - Move expert definition to definitions/create-expert/perstack.toml with npm-based skill reference instead of local path - Add getPerstackConfigOrDefault() to @perstack/perstack-toml for graceful fallback when no perstack.toml exists - Update CLI start/run commands to use default config when expertKey is provided, enabling `perstack start create-expert` without local toml - Remove apps/create-expert package and clean up Dockerfile, knip.json, .gitignore references - Add .github/workflows/expert-cd.yml for publishing expert definitions to Perstack API on push to main - Update all docs to use `npx perstack start create-expert` instead of `npx create-expert` Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- check-version: extracts version from perstack.toml and checks if it already exists via `perstack expert versions`, skipping publish if so - publish: only runs when check-version reports a new version - publish-if-private: runs after publish to ensure the scope is public via `perstack expert publish` Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The scope must be public before assigning a version, otherwise the version remains private. Reorder: check-version → publish-if-private → publish (push + version). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…tions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove GitHub-only host whitelist and redirect restriction from remote config fetch. Any HTTPS URL is now accepted. HTTPS enforcement remains. Update CLI reference docs to document URL support for --config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
create-expertexpert definition fromapps/create-expert/todefinitions/create-expert/perstack.toml, published via Perstack API instead of npmgetPerstackConfigOrDefault()to@perstack/perstack-tomlsoperstack start <expertKey>works without a localperstack.toml.github/workflows/expert-cd.yml) to auto-publish expert definitions on push to mainapps/create-expertpackage and update all docs fromnpx create-experttonpx perstack start create-expertTest plan
bun run typecheck— 23/23 packages passbun run test— 19/19 packages pass, all tests greenbun run build— 23/23 packages passbun run format-and-lint— passes (only pre-existing warnings)bun run validate:changeset— passesPERSTACK_API_KEY=... ANTHROPIC_API_KEY=... perstack start create-expertresolves from API without local tomlperstack startin a directory withperstack.tomlstill works (interactive mode)🤖 Generated with Claude Code