claude-code-templates 1.20.2 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,11 +67,15 @@ program
67
67
  .option('--setting <setting>', 'install specific setting component (supports comma-separated values)')
68
68
  .option('--hook <hook>', 'install specific hook component (supports comma-separated values)')
69
69
  .option('--workflow <workflow>', 'install workflow from hash (#hash) OR workflow YAML (base64 encoded) when used with --agent/--command/--mcp')
70
- .option('--prompt <prompt>', 'execute the provided prompt in Claude Code after installation')
70
+ .option('--prompt <prompt>', 'execute the provided prompt in Claude Code after installation or in sandbox')
71
71
  .option('--create-agent <agent>', 'create a global agent accessible from anywhere (e.g., customer-support)')
72
72
  .option('--list-agents', 'list all installed global agents')
73
73
  .option('--remove-agent <agent>', 'remove a global agent')
74
74
  .option('--update-agent <agent>', 'update a global agent to the latest version')
75
+ .option('--studio', 'launch Claude Code Studio interface for local and cloud execution')
76
+ .option('--sandbox <provider>', 'execute Claude Code in isolated sandbox environment (e.g., e2b)')
77
+ .option('--e2b-api-key <key>', 'E2B API key for sandbox execution (alternative to environment variable)')
78
+ .option('--anthropic-api-key <key>', 'Anthropic API key for Claude Code (alternative to environment variable)')
75
79
  .action(async (options) => {
76
80
  try {
77
81
  // Only show banner for non-agent-list commands
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-templates",
3
- "version": "1.20.2",
3
+ "version": "1.21.0",
4
4
  "description": "CLI tool to setup Claude Code configurations with framework-specific commands, automation hooks and MCP Servers for your projects",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -302,9 +302,9 @@ class AgentAnalyzer {
302
302
 
303
303
  return JSON.parse(trimmed);
304
304
  } catch (error) {
305
- // Only log the error occasionally to avoid spam
306
- if (index % 10 === 0) {
307
- console.warn(`Error parsing JSONL line ${index + 1} in ${filePath}:`, error.message.substring(0, 100));
305
+ // Only log significant parsing errors to avoid spam from occasional corrupted lines
306
+ if (index < 10 || index % 100 === 0) {
307
+ console.warn(`Skipping corrupted JSONL line ${index + 1} in ${path.basename(filePath)}`);
308
308
  }
309
309
  return null;
310
310
  }
@@ -93,7 +93,8 @@ class ConversationAnalyzer {
93
93
  };
94
94
 
95
95
  const jsonlFiles = await findJsonlFiles(this.claudeDir);
96
- // Loading conversation files quietly for better UX
96
+ console.log(`🔥 ConversationAnalyzer found ${jsonlFiles.length} JSONL files in ${this.claudeDir}`);
97
+
97
98
 
98
99
  for (const filePath of jsonlFiles) {
99
100
  const stats = await this.getFileStats(filePath);