-
Notifications
You must be signed in to change notification settings - Fork 0
feat(scaffold): publishable host-pack templates with generated installers and a gated provenance release (#252) #289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| "create-agent-bundle": minor | ||
| --- | ||
|
|
||
| Adopt framework-generated package installers and prepack inventory validation | ||
| in the publishable CLI and MCP scaffold templates. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,10 +8,12 @@ | |
| }, | ||
| "files": [ | ||
| "dist", | ||
| "artifact", | ||
| "README.md" | ||
| ], | ||
| "bin": { | ||
| "my-agent-plugin": "./dist/bin/my-agent-plugin.js" | ||
| "my-agent-plugin": "./dist/bin/my-agent-plugin.js", | ||
| "my-agent-plugin-install": "./dist/bin/my-agent-plugin-install.js" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When a user selects the documented Useful? React with 👍 / 👎.
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in |
||
| }, | ||
| "exports": { | ||
| ".": { | ||
|
|
@@ -23,6 +25,7 @@ | |
| "build": "agent-bundle build --json --output artifact", | ||
| "check": "npm run validate && npm run build && npm run typecheck && npm run test", | ||
| "dev": "agent-bundle dev", | ||
| "prepack": "agent-bundle prepack --json --output artifact", | ||
| "test": "rstest tests", | ||
| "typecheck": "tsc -p tsconfig.json --noEmit", | ||
| "validate": "agent-bundle validate --json" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The template still targets only
portable,codex, andclaude, and the generated installer validates its arguments against exactly those built install hosts, so this newcursorcommand always exits with “Cannot install host ...; built hosts: claude, codex” for a default scaffold. The MCP README repeats the same invalid example; useclaudeorcodex, or addcursorto the template targets.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in
3c2240169. Both generated template READMEs now demonstrateinstall claude, which is included in the default target set and is consistent with the installer-bin filtering.