-
Notifications
You must be signed in to change notification settings - Fork 1.4k
📚 Documentation: Add development workflow scripts to CLAUDE.md #679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
semikolon
wants to merge
8
commits into
musistudio:main
Choose a base branch
from
semikolon:feature/dev-workflow-docs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prevent local Claude Code settings from being committed to repository. These files contain personal development tool preferences that should remain local to each developer.
- Update package.json to use llms v1.0.26 with GPT-5 support - Add comprehensive debug logging in index.ts for troubleshooting - Implement GPT-5 parameter mapping in router.ts (max_tokens → max_completion_tokens) - Working GPT-5 through CCR with tool format conversion 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Add comprehensive inline token system for controlling GPT-5 reasoning effort and verbosity without requiring separate CLI flags or configuration. Features: - Prefix tokens: Quick:, Deep:, Explain:, Brief: (beginning of prompt) - Colon tokens: :quick, :deep, :explain, :brief (anywhere in prompt) - Automatic token detection, parameter mapping, and prompt stripping - Integration with CCR router middleware for seamless processing - Avoids conflicts with Claude Code's # memory system Token mappings: - Quick/:quick → low effort, low verbosity (500 token budget) - Deep/:deep → high effort, medium verbosity (2000 token budget) - Explain/:explain → medium effort, high verbosity (1000 token budget) - Brief/:brief → medium effort, low verbosity (1000 token budget) Implementation in src/utils/router.ts:153-210 processes tokens before API calls, automatically strips them from prompts, and sets appropriate reasoning_effort, verbosity, and thinking parameters for downstream transformers. Documentation includes comprehensive reference table and usage examples in CLAUDE.md inline token section. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Replace outdated GPT-4 references with current 2025 model comparisons: - GPT-5 vs o3/o4-mini performance differences - Token usage: GPT-5 2000+ vs o3/o4-mini 500 reasoning tokens - Architecture evolution: unified vs specialized reasoning models - Performance improvements: 50-80% fewer tokens, 6x fewer hallucinations - Tool capabilities: GPT-5 agentic integration vs o3 limitations Reflects actual 2025 release timeline with GPT-5 (Aug 2025), o3/o4-mini as current generation models rather than legacy comparisons. 🤖 Generated with [Claude Code](https://claude.ai/code)
This was referenced Aug 22, 2025
Open
semikolon
added a commit
to semikolon/claude-code-router
that referenced
this pull request
Aug 23, 2025
Updated to use feature/dev-workflow-docs branches which contain: - LLMS: PRs musistudio#28, musistudio#29, musistudio#30 (Core API + Documentation + Workflow) - CCR: PRs musistudio#677, musistudio#678, musistudio#679 (Reasoning Control + Docs + Workflow) This ensures users get the complete feature set, not just partial work.
semikolon
added a commit
to semikolon/claude-code-router
that referenced
this pull request
Aug 23, 2025
…usistudio#679) ✅ COMBINED CCR FUNCTIONALITY: - PR musistudio#677: Inline Reasoning Control Tokens (:quick, :deep, :explain, :brief) - PR musistudio#678: Enhanced Documentation & API Guide - PR musistudio#679: Development Workflow Scripts 🎯 COMPLETE CCR FEATURES: - Reasoning token processing and parameter mapping - Background model routing enhancements - Complete documentation for GPT-5 integration - Development workflow automation - Enhanced logging and debugging capabilities This branch contains ALL CCR enhancements for GPT-5 integration!
semikolon
added a commit
to semikolon/claude-code-router
that referenced
this pull request
Aug 23, 2025
✅ UNIFIED BRANCHES CREATED: - LLMS: gpt5-complete-integration (commit d43f50f) Contains: PR musistudio#28 + PR musistudio#29 + PR musistudio#30 (all functionality merged) - CCR: gpt5-complete-integration Contains: PR musistudio#677 + PR musistudio#678 + PR musistudio#679 (all functionality merged) 🔧 COMPLETE FUNCTIONALITY GUARANTEED: ✅ GPT-5 normalization fixes (prevents 400 errors) ✅ Usage format conversion (fixes subagent metrics) ✅ Reasoning control tokens (:quick, :deep, etc) ✅ Complete documentation and workflow scripts ✅ All parameter transformations and API compatibility ✅ Enhanced logging and debugging capabilities 🎯 ONE-COMMAND SETUP: Users now get EVERYTHING with a single script - no missing features!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Development Workflow Scripts Documentation
🎯 Purpose
Documents the convenience script that streamlines CCR development when using yalc-linked LLMS packages.
📝 What's Added
📦 Building CCR...
Building Claude Code Router...
Building CLI application...
Copying tiktoken WASM file...
Building UI...
vite v7.0.6 building for production...
transforming...
✓ 1795 modules transformed.
rendering chunks...
[plugin vite:singlefile]
[plugin vite:singlefile] Inlining: index-C6lR1TV1.js
[plugin vite:singlefile] Inlining: style-H1ATVSdm.css
computing gzip size...
dist/index.html 601.43 kB │ gzip: 181.66 kB
✓ built in 2.12s
Copying UI build artifacts...
Build completed successfully!
📋 Current yalc status:
Yalc dependencies found: [ '@musistudio/llms' ] script usage
🔧 Script Documented
**🔧 Building CCR with updated LLMS package...
📦 Building CCR...
Building Claude Code Router...
Building CLI application...
Copying tiktoken WASM file...
Building UI...
vite v7.0.6 building for production...
transforming...
✓ 1795 modules transformed.
rendering chunks...
[plugin vite:singlefile]
[plugin vite:singlefile] Inlining: index-C6lR1TV1.js
[plugin vite:singlefile] Inlining: style-H1ATVSdm.css
computing gzip size...
dist/index.html 601.43 kB │ gzip: 181.66 kB
✓ built in 2.13s
Copying UI build artifacts...
Build completed successfully!
📋 Current yalc status:
Yalc dependencies found: [ '@musistudio/llms' ]**:
💡 Why This Matters
🎮 User Impact
Before: Manual yalc commands + npm build + manual status checking
After: Single 🔧 Building CCR with updated LLMS package...
📦 Building CCR...
Building Claude Code Router...
Building CLI application...
Copying tiktoken WASM file...
Building UI...
vite v7.0.6 building for production...
transforming...
✓ 1795 modules transformed.
rendering chunks...
[plugin vite:singlefile]
[plugin vite:singlefile] Inlining: index-C6lR1TV1.js
[plugin vite:singlefile] Inlining: style-H1ATVSdm.css
computing gzip size...
dist/index.html 601.43 kB │ gzip: 181.66 kB
✓ built in 1.92s
Copying UI build artifacts...
Build completed successfully!
📋 Current yalc status:
Yalc dependencies found: [ '@musistudio/llms' ] handles everything with status feedback
📋 Documentation Enhancement
@musistudio/claude-code-router@1.0.41 published in store.
Package @musistudio/llms@1.0.26 added ==> /Users/fredrikbranstrom/ccr-dev/node_modules/@musistudio/llms
claude code router service has been stopped.
Starting claude code router service...
✅ Service started successfully in the background.
🔧 Building CCR with updated LLMS package...
📦 Building CCR...
Building Claude Code Router...
Building CLI application...
Copying tiktoken WASM file...
Building UI...
vite v7.0.6 building for production...
transforming...
✓ 1795 modules transformed.
rendering chunks...
[plugin vite:singlefile]
[plugin vite:singlefile] Inlining: index-C6lR1TV1.js
[plugin vite:singlefile] Inlining: style-H1ATVSdm.css
computing gzip size...
dist/index.html 601.43 kB │ gzip: 181.66 kB
✓ built in 2.40s
Copying UI build artifacts...
Build completed successfully!
📋 Current yalc status:
Yalc dependencies found: [ '@musistudio/llms' ]
🔗 Companion PR
This complements LLMS PR #30 which documents the LLMS side script. Together they provide complete cross-repository development workflow documentation.
✅ Verification
🔄 Development Workflow Chain
📦 Building CCR...
Building Claude Code Router...
Building CLI application...
Copying tiktoken WASM file...
Building UI...
vite v7.0.6 building for production...
transforming...
✓ 1795 modules transformed.
rendering chunks...
[plugin vite:singlefile]
[plugin vite:singlefile] Inlining: index-C6lR1TV1.js
[plugin vite:singlefile] Inlining: style-H1ATVSdm.css
computing gzip size...
dist/index.html 601.43 kB │ gzip: 181.66 kB
✓ built in 2.38s
Copying UI build artifacts...
Build completed successfully!
📋 Current yalc status:
Yalc dependencies found: [ '@musistudio/llms' ] (builds CCR with updated LLMS, shows status)
3. Testing: Ready
claude code router service has been successfully stopped. (test the integration)
Now fully documented across both repositories! 🚀
Related PRs (complete series)