Open
Conversation
…nding API returns UTC timestamps but status bar should display local time. Changes: - Convert UTC timestamp to user's local timezone using chrono::Local - Round up to next hour when minutes > 45 (e.g., 04:59 displays as 5) - Use Duration::hours(1) for proper date rollover handling (23:50 -> next day 00:50) Fixes timezone display issue where Shanghai timezone (UTC+8) was showing incorrect hours in the status bar.
- Add --no-optional-locks flag to all git commands to prevent .git/index.lock conflicts with concurrent git operations (fixes Haleclipse#46) - Skip disabled segments in collect_all_segments to avoid unnecessary API requests (fixes Haleclipse#50)
…iption info retrieval
…it -m "chore: update version to 1.0.12 and adapt to new API wrapper response format - Update version from 1.0.11 to 1.0.12 - Add ApiWrapper<T> struct to handle wrapped API responses - Adapt usage API response parsing to new format - Adapt subscription API response parsing to new format - Maintain backward compatibility with existing functionality
- Update version from 1.0.12 to 1.0.13 in Cargo.toml and Cargo.lock - Add model parameter to endpoint detection and API requests - Implement load_model() function with priority: environment variable > settings.json > default - Support ANTHROPIC_MODEL environment variable for model configuration - Read model from ~/.claude/settings.json if environment variable not set - Use claude-sonnet-4-5-20251022 as default model fallback - Pass model parameter to try_endpoint() and detect_endpoint() methods - Include model in URL query parameters for API calls - Update fetch_subscription_info() to accept and use model parameter - Clean up whitespace formatting in quota segment code
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
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.
No description provided.