|
1 | 1 | # Claude Code Context Status Line for AWS Bedrock Users |
2 | 2 |
|
3 | | -A secure, high-performance CLI tool to restore context window visibility for AWS Bedrock users in Claude Code by displaying real-time token usage in the status line. **Specifically designed for AWS Bedrock users who have lost access to the `/context` command** in Claude Code and need to restore visibility into their context window usage. |
| 3 | +Custom Claude Code status line to restore context window visibility for AWS Bedrock users by displaying token usage. **Specifically designed for AWS Bedrock users who have lost access to the `/context` command** in Claude Code and need to restore visibility into their context window usage. |
4 | 4 |
|
5 | 5 | ## What It Does |
6 | 6 |
|
@@ -70,12 +70,6 @@ chmod +x context-status.js |
70 | 70 | - **Linux**: `~/.claude/settings.json` |
71 | 71 | - **Windows**: `%USERPROFILE%\.claude\settings.json` |
72 | 72 |
|
73 | | -**If settings file doesn't exist:** Create the directory and file: |
74 | | -```bash |
75 | | -mkdir -p ~/.claude |
76 | | -echo '{"statusLine":{"type":"command","command":"npx @thisdot/claude-code-context-status-line"}}' > ~/.claude/settings.json |
77 | | -``` |
78 | | - |
79 | 73 | ## Troubleshooting |
80 | 74 |
|
81 | 75 | ### Common Issues |
@@ -104,19 +98,8 @@ echo '{"statusLine":{"type":"command","command":"npx @thisdot/claude-code-contex |
104 | 98 | - Verify your conversation is generating token usage data |
105 | 99 | - Check that transcript files are being created in the expected location |
106 | 100 |
|
107 | | -### Debug Mode |
108 | | -Add logging by temporarily modifying the script to output debug info: |
109 | | -```javascript |
110 | | -console.error('[DEBUG] Input:', inputData); |
111 | | -``` |
112 | | - |
113 | 101 | ### Getting Help |
114 | 102 | 1. Check the [Issues page](https://github.com/thisdot/claude-code-context-status-line/issues) for similar problems |
115 | | -2. When reporting bugs, include: |
116 | | - - Node.js version (`node --version`) |
117 | | - - Claude Code version (`claude --version`) |
118 | | - - Operating system |
119 | | - - Complete error message |
120 | 103 |
|
121 | 104 | ## Security & Privacy |
122 | 105 |
|
@@ -186,18 +169,6 @@ console.error('[DEBUG] Input:', inputData); |
186 | 169 | - Shows cumulative token count for entire conversation |
187 | 170 | - Reflects the most recent conversation state |
188 | 171 |
|
189 | | -## Contributing |
190 | | - |
191 | | -See our [Contributing Guidelines](CLAUDE.md) for development setup, testing requirements, and security considerations. |
192 | | - |
193 | | -**Quick development setup:** |
194 | | -```bash |
195 | | -git clone https://github.com/thisdot/claude-code-context-status-line |
196 | | -cd claude-code-context-status-line |
197 | | -pnpm install # Note: uses pnpm, not npm |
198 | | -pnpm test # Run tests |
199 | | -``` |
200 | | - |
201 | 172 | ## License |
202 | 173 |
|
203 | 174 | MIT License - see [LICENSE](LICENSE) file for details. |
0 commit comments