Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/commands/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export default defineCommand({
const root = process.cwd()
const pluginsDir = path.join(root, "plugins")
if (!(await pathExists(pluginsDir))) {
console.log("No plugins directory found.")
return
}

Expand All @@ -28,10 +27,8 @@ export default defineCommand({
}

if (plugins.length === 0) {
console.log("No Claude plugins found under plugins/.")
return
}

console.log(plugins.sort().join("\n"))
},
Comment on lines 29 to 33
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the list command's plugin output

For workspaces that do contain plugin manifests, this command now builds plugins and then exits without printing anything, so bun run ... list always has empty stdout. That breaks the command's purpose and the existing CLI coverage in tests/cli.test.ts, which expects a temp workspace with plugins/demo-plugin/.claude-plugin/plugin.json to output demo-plugin.

Useful? React with 👍 / 👎.

})
1 change: 0 additions & 1 deletion src/commands/plugin-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export default defineCommand({

// Plugin path goes to stdout (for scripting); usage hint goes to stderr
console.error(`\nReady. Use with:\n claude --plugin-dir ${pluginPath}\n`)
Comment on lines 52 to 53
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep printing the plugin path to stdout

When plugin-path succeeds, the only machine-readable result used by documented shell aliases is stdout ($(ce-cli plugin-path ...) in README.md), and the comment immediately above this block still says the path goes to stdout. Removing this line makes stdout empty, so callers pass an empty --plugin-dir even though the clone/update succeeded; tests/plugin-path.test.ts also asserts stdout.trim() is the plugin directory.

Useful? React with 👍 / 👎.

console.log(pluginPath)
},
})

Expand Down
1 change: 0 additions & 1 deletion src/targets/kiro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export async function writeKiroBundle(outputRoot: string, bundle: KiroBundle): P
const mcpPath = path.join(paths.settingsDir, "mcp.json")
const backupPath = await backupFile(mcpPath)
if (backupPath) {
console.log(`Backed up existing mcp.json to ${backupPath}`)
}

// Merge with existing mcp.json if present
Expand Down