Skip to content

Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.

Update ContextBricks to v1.0.1 - Default to interactive install

Jez02f79a08eb3f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b01a28f..6da559f5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,8 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
**New Tool**: `contextbricks` - Custom status line for Claude Code CLI
**NPM Package**: https://www.npmjs.com/package/contextbricks
-**Version**: 1.0.0
-**Install**: `npx contextbricks init`
+**Version**: 1.0.1
+**Install**: `npx contextbricks` (defaults to interactive install)
+
+**v1.0.1 Changes** (2025-11-10):
+- Default to interactive install when no command given
+- `npx contextbricks` now runs installer automatically (more intuitive UX)
**Features**:
- **Real-time context tracking** from Claude Code transcript files
diff --git a/tools/statusline-npm/bin/cli.js b/tools/statusline-npm/bin/cli.js
index 1ef5c3b4..6942d15b 100755
--- a/tools/statusline-npm/bin/cli.js
+++ b/tools/statusline-npm/bin/cli.js
@@ -97,10 +97,19 @@ function main() {
default:
if (command) {
+ // Unknown command - show error + help
console.error(`${colors.red}❌ Unknown command: ${command}${colors.reset}\n`);
+ showHelp();
+ process.exit(1);
+ } else {
+ // No command - run interactive install as default
+ checkDependencies();
+ const defaultInstallResult = spawnSync('bash', [path.join(scriptsDir, 'install.sh')], {
+ stdio: 'inherit',
+ env: { ...process.env, NPM_INSTALL: '1' }
+ });
+ process.exit(defaultInstallResult.status || 0);
}
- showHelp();
- process.exit(command ? 1 : 0);
}
}
diff --git a/tools/statusline-npm/package.json b/tools/statusline-npm/package.json
index 8c394544..409899ac 100644
--- a/tools/statusline-npm/package.json
+++ b/tools/statusline-npm/package.json
@@ -1,6 +1,6 @@
{
"name": "contextbricks",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "Real-time context tracking with brick visualization for Claude Code CLI",
"keywords": [
"claude",