Skip to content

Commit b5bfcb3

Browse files
hjbrandtclaude
andcommitted
fix: Rename Raw-Outputs to RawOutputs for consistent PascalCase naming
The History directory used inconsistent naming: - Decisions, Execution, Learnings, Research, Sessions (PascalCase) - Raw-Outputs (hyphenated) ← inconsistent This commit: 1. Renames Raw-Outputs → RawOutputs (consistent PascalCase) 2. Updates all hook references to use RawOutputs Files changed: - .claude/History/Raw-Outputs → .claude/History/RawOutputs - capture-all-events.ts - capture-session-summary.ts (2 occurrences) - capture-tool-output.ts Fixes #237 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent f8a04c3 commit b5bfcb3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.claude/Hooks/capture-all-events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function getEventsFilePath(): string {
4343
const month = String(pstDate.getMonth() + 1).padStart(2, '0');
4444
const day = String(pstDate.getDate()).padStart(2, '0');
4545

46-
const monthDir = join(HISTORY_DIR, 'raw-outputs', `${year}-${month}`);
46+
const monthDir = join(HISTORY_DIR, 'RawOutputs', `${year}-${month}`);
4747

4848
// Ensure directory exists
4949
if (!existsSync(monthDir)) {

.claude/Hooks/capture-session-summary.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ async function main() {
6565

6666
async function analyzeSession(conversationId: string, yearMonth: string): Promise<any> {
6767
// Try to read raw outputs for this session
68-
const rawOutputsDir = join(HISTORY_DIR, 'raw-outputs', yearMonth);
68+
const rawOutputsDir = join(HISTORY_DIR, 'RawOutputs', yearMonth);
6969

7070
let filesChanged: string[] = [];
7171
let commandsExecuted: string[] = [];
@@ -168,7 +168,7 @@ ${info.commandsExecuted.length > 0 ? '```bash\n' + info.commandsExecuted.join('\
168168
169169
This session summary was automatically generated by the UOCS SessionEnd hook.
170170
171-
For detailed tool outputs, see: \`\${PAI_DIR}/History/raw-outputs/${timestamp.substring(0, 7)}/\`
171+
For detailed tool outputs, see: \`\${PAI_DIR}/History/RawOutputs/${timestamp.substring(0, 7)}/\`
172172
173173
---
174174

.claude/Hooks/capture-tool-output.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interface ToolUseData {
2020
}
2121

2222
// Configuration
23-
const CAPTURE_DIR = join(HISTORY_DIR, 'raw-outputs');
23+
const CAPTURE_DIR = join(HISTORY_DIR, 'RawOutputs');
2424
const INTERESTING_TOOLS = ['Bash', 'Edit', 'Write', 'Read', 'Task', 'NotebookEdit'];
2525

2626
async function main() {

0 commit comments

Comments
 (0)