refactor(plugin): file logging, install diagnostics, and UI polish#180
Conversation
Logger now writes all messages to ~/.betterprompt/debug.log (timestamped) in addition to stderr. native-deps captures npm output and includes actionable hints in error messages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SKILL.md: longer cooldowns (60s/90s) between Phase 2 skills to prevent cascading rate limits on Claude Max. README: troubleshooting section with common issues and verify-plugin.sh reference. MCP config: use CLAUDE_PLUGIN_ROOT variable for portable server entry path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Rebuilt plugin dist after logger and native-deps source changes. New chunk hashes replace previous build output. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
New --shadow-sketch CSS variables for hand-drawn card elevation effect. Applied across diagnosis, strengths, activity, type-result, and narrative components for a cohesive sketch-style visual language. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Auto-generated path update: .next/types → .next/dev/types Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Code ReviewFound 2 issues (from 9 candidates, filtered at score ≥ 80):
Filtered out (score < 80):
Generated with Claude Code If useful, react with a thumbs-up. Otherwise, thumbs-down. |
Logger description now reflects file + stderr output. Added ~/.betterprompt/debug.log to Local Files table. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Checks 8 plugin components (location, build artifacts, native deps, MCP config, registration, data dir, server startup, sessions) and reports what's broken with fix instructions. Referenced by README troubleshooting section. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
~/.betterprompt/debug.logwith timestamps;native-depscaptures npm output and surfaces actionable error hints--shadow-sketchvariables) applied across diagnosis, strengths, activity, and narrative report cardsChanges
refactor(plugin): add file logging and install diagnostics— logger.ts, native-deps.tsdocs(plugin): add rate limit strategy and troubleshooting guide— SKILL.md, README.md, .mcp.jsonchore(plugin): rebuild dist artifacts— dist chunk rebuildstyle: add sketch shadow system and polish report cards— 8 CSS modules + variables.csschore: update next-env.d.ts for Next.js dev types path— auto-generatedTest Plan
~/.betterprompt/debug.logGenerated with Claude Code using /ship-it