Skip to content

Commit 6f1193f

Browse files
committed
Include Codex projects in local reports
1 parent 895e485 commit 6f1193f

4 files changed

Lines changed: 236 additions & 194 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vibe-log-cli",
3-
"version": "0.8.8",
3+
"version": "0.8.9",
44
"description": "Track your building journey with Vibelog",
55
"bin": {
66
"vibe-log": "./bin/vibe-log.js"

src/lib/prompts/orchestrator.ts

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ ${context.customInstructions}
5757
Apply these preferences when analyzing sessions and generating insights.` : ''}`;
5858

5959
// Main prompt focused on the task
60-
const prompt = `Analyze my Claude Code sessions from ${timeframeDesc} using vibe-log sub-agents.
60+
const prompt = `Analyze my Claude Code and Codex sessions from ${timeframeDesc} using vibe-log sub-agents.
6161
6262
Projects to analyze:
6363
${projectList}
@@ -85,7 +85,7 @@ BATCHING STRATEGY (MAX 9 AGENTS TOTAL):
8585
For each batch of sessions, launch:
8686
Task(subagent_type="vibe-log-session-analyzer",
8787
description="Analyze batch of [X] sessions",
88-
prompt="You are analyzing a BATCH of Claude Code session files.
88+
prompt="You are analyzing a BATCH of Claude Code and Codex session files.
8989
9090
FILES TO ANALYZE:
9191
[List the specific .vibe-log-temp/filename for each session in this batch]
@@ -243,7 +243,7 @@ KEY POINTS:
243243
- The system automatically converts JSON to HTML and saves it`;
244244

245245
// Build a shorter, more user-friendly command for display
246-
const displayCommand = `claude "Analyze my Claude Code sessions from ${timeframeDesc} using vibe-log sub-agents..."`;
246+
const displayCommand = `vibe-log "Analyze my Claude Code and Codex sessions from ${timeframeDesc} using vibe-log sub-agents..."`;
247247

248248
return {
249249
prompt,
@@ -263,18 +263,3 @@ export function buildSimplePrompt(context: PromptContext): string {
263263

264264
return `@vibe-log-report-generator analyze my coding sessions from the last ${timeframe} for projects: ${projectList}. Focus on productivity insights and key accomplishments.`;
265265
}
266-
267-
/**
268-
* Get the full command with proper escaping for clipboard/terminal
269-
*/
270-
export function getExecutableCommand(prompt: string): string {
271-
// Escape for shell execution
272-
const escaped = prompt
273-
.replace(/\\/g, '\\\\')
274-
.replace(/"/g, '\\"')
275-
.replace(/\$/g, '\\$')
276-
.replace(/`/g, '\\`')
277-
.replace(/\n/g, '\\n');
278-
279-
return `claude "${escaped}"`;
280-
}

0 commit comments

Comments
 (0)