-
-
Notifications
You must be signed in to change notification settings - Fork 1k
๐ Add Complete Hebrew (he) Translation Support #417
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
Changes from all commits
3c995d3
34b92ab
325a25f
8488b24
f150600
63f76ed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,277 @@ | ||
| # ๐ ืืกืืจ ืืคืืจื ืขื ืืขืืืช ืืืืืืช | ||
|
|
||
| ## ๐ ืกืืืื ืืืขืืืช ืฉืืืื: | ||
|
|
||
| ### โ 1. **Claude Authentication** - 401 Unauthorized | ||
| ``` | ||
| [UsageMonitor] CLI fallback not implemented, API method should be used | ||
| [UsageMonitor] Failed to fetch usage | ||
| Claude CLI not found. Please ensure it is installed and in your PATH. | ||
| ``` | ||
|
|
||
| ### โ 2. **GitHub Authentication** - ืืืงื ืื ืชืงืื | ||
| ``` | ||
| [GitHub OAuth] Auth check failed (not authenticated): Command failed | ||
| The token in GITHUB_TOKEN is invalid. | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## ๐ฏ ืื ืืืืช ืงืืจื ืืื? | ||
|
|
||
| ### ืืขืื 1: Claude - ืืื Claude CLI ืืืชืงื | ||
|
|
||
| #### **ืื ืืงืื ืื ืกื ืืขืฉืืช:** | ||
|
|
||
| 1. **UsageMonitor** ืื ืกื ืืืืืง ืฉืืืืฉ ื-Claude API | ||
| 2. ืื API ื ืืฉื (401) โ ืื ืกื **fallback ื-CLI** | ||
| 3. ืืื ื-CLI ืื ืืืืฉื! (ืงืื ืจืืง): | ||
|
|
||
| ```typescript | ||
| // ื-usage-monitor.ts ืฉืืจื 234 | ||
| private async fetchUsageViaCLI( | ||
| _profileId: string, | ||
| _profileName: string | ||
| ): Promise<ClaudeUsageSnapshot | null> { | ||
| // CLI-based usage fetching is not implemented yet. | ||
| console.warn('[UsageMonitor] CLI fallback not implemented, API method should be used'); | ||
| return null; // โ ืชืืื ืืืืืจ null! | ||
| } | ||
| ``` | ||
|
|
||
| #### **ืืื ืื ืงืืจื:** | ||
| - ืืื Claude CLI ืืืชืงื ืืืขืจืืช ืฉืื | ||
| - ืื ืื ืืื ืืืชืงื, ืืงืื ืื ืืืืฉื | ||
| - **ืื ืื ืืขืื ืืฉืืืจืช ืืืงื** - ืื ืืขืื ืฉืืื ืืืงื ืืืื! | ||
|
|
||
| --- | ||
|
|
||
| ### ืืขืื 2: GitHub - ืืืงื ืืฉื ืืืกื ืืช gh CLI | ||
|
|
||
| #### **ืื ืืงืื ืื ืกื ืืขืฉืืช:** | ||
|
|
||
| 1. ืืืขืจืืช ืฉืืืจืช `GITHUB_TOKEN` ื-`.env` (ืื ืืืืืจ) | ||
| 2. ืืฉืืคืขืืืื `gh auth login`, ื-CLI ืืืืจ: | ||
| > "ืื ื ืจืืื ืฉืืฉ `GITHUB_TOKEN` ื-environment, ืื ื ืื ืืืื ืืืชืืืจ ืื ืืื ืืืกื ืืืชื" | ||
|
|
||
| #### **ืืืคื ืืืืงื ื ืฉืืจ:** | ||
|
|
||
| ืืืงืื ื-`env-handlers.ts`: | ||
| ```typescript | ||
| // ืฉืืจื 57 | ||
| existingVars['GITHUB_TOKEN'] = config.githubToken; | ||
|
|
||
| // ืฉืืจื 133 - ืืชืืื ื-.env | ||
| ${existingVars['GITHUB_TOKEN'] ? `GITHUB_TOKEN=${existingVars['GITHUB_TOKEN']}` : '# GITHUB_TOKEN='} | ||
| ``` | ||
|
|
||
| #### **ืืื ืื ืืืกื:** | ||
| - `gh auth login --web` ืื ืืืื ืืขืืื ืื ืืฉ `GITHUB_TOKEN` ื-environment | ||
| - ืื ืื ืื ืื ืืืืื ืฉื GitHub CLI | ||
| - ืฆืจืื **ืืืืืง ืืช ืืืืงื ืืืฉื ืงืืื** | ||
|
|
||
| --- | ||
|
|
||
| ## ๐ง ืืคืชืจืื ืืช ืืืืืืงืื: | ||
|
|
||
| ### ืคืชืจืื 1: Claude - ืืชืงื ืช Claude CLI | ||
|
|
||
| #### ืืืคืฆืื A: ืืจื npm (ืืืืืฅ) | ||
| ```powershell | ||
| npm install -g @anthropic-ai/claude-cli | ||
| ``` | ||
|
|
||
| #### ืืืคืฆืื B: ืืจื pip | ||
| ```powershell | ||
| pip install claude-cli | ||
| ``` | ||
|
|
||
| #### ืืืคืฆืื C: ืืชืืืจ ืืื CLI (ืขืืืื ืงืื) | ||
| **ืื ืืชื ืื ืจืืฆื ืืืชืงืื CLI**, ืฆืจืื ืืขืงืืฃ ืืช ืื ืคืืื ื-CLI: | ||
|
|
||
| --- | ||
|
|
||
| ### ืคืชืจืื 2: GitHub - ื ืืงืื ืืืงื ืืฉื | ||
|
|
||
| #### ืฉืืื A: ืืจื PowerShell (ืืืืจ) | ||
| ```powershell | ||
| # ืืืง ืืช GITHUB_TOKEN ืื-environment | ||
| [System.Environment]::SetEnvironmentVariable('GITHUB_TOKEN', $null, 'User') | ||
| [System.Environment]::SetEnvironmentVariable('GITHUB_TOKEN', $null, 'Process') | ||
|
|
||
| # ืืชืื ืืช ืืืจืืื ื | ||
| exit | ||
| # ืคืชื ืืจืืื ื ืืืฉ | ||
|
|
||
| # ืขืืฉืื ื ืกื ืฉืื | ||
| gh auth login --web --scopes repo | ||
| ``` | ||
|
|
||
| #### ืฉืืื B: ืืจื ืืืืฉืง (ืืืืืฅ) | ||
| 1. ืขืืืจ ื: **Settings > Environment Variables** | ||
| 2. ืืฆื ืืช `GITHUB_TOKEN` | ||
| 3. **ืืืง** ืื **ืืฉืืช** ืืืชื | ||
| 4. **Save Settings** | ||
| 5. **ืืชืื ืืช ืืืคืืืงืฆืื** | ||
| 6. ื ืกื: **Settings > Gitxxxxxxxxxxxxxxxxct** | ||
|
|
||
| #### ืฉืืื C: ืขืจืืืช .env ืืื ืืช | ||
| ```powershell | ||
| # ืขืจืื ืืช ืืงืืืฅ | ||
| notepad "$env:USERPROFILE\.auto-claude\.env" | ||
|
|
||
| # ืืฆื ืืช ืืฉืืจื: | ||
| GITHUB_TOKEN=ghp_xxxxxxxxxxxxx | ||
|
|
||
| # ืฉื ื ื: | ||
| # GITHUB_TOKEN= | ||
|
|
||
| # ืฉืืืจ ืืกืืืจ | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## ๐ญ ืืื ืืงืื ืื ืกื ืืืืจ ืืจื ืืคืืคื? | ||
|
|
||
| ### ืชืฉืืื: **ืื, ืืื ืจืง ื-GitHub (ืื ื-Claude)** | ||
|
|
||
| ืื-`oauth-handlers.ts` ืฉืจืืื ื: | ||
|
|
||
| ```typescript | ||
| // ืฉืืจื 5 | ||
| import { shell } from 'electron'; | ||
|
|
||
| // ืืืืืจ ืืืชืจ ืืงืื: | ||
| await shell.openExternal(authUrl); // โ ืคืืชื ืืคืืคื! | ||
| ``` | ||
|
|
||
| #### **ืืชื ืื ืงืืจื:** | ||
| - ืจืง ืืฉ**ืืชื ืืืืฅ** ืขื "Connect GitHub" | ||
| - GitHub OAuth ืืืจืฉ ืืืฉืืจ ืืืคืืคื | ||
| - ืื **ืื ืืืืืืื** - ืจืง ืืคื ืืงืฉื ืฉืื | ||
|
|
||
| #### **ื-Claude:** | ||
| - **ืืื** ืืืืืจ ืืจื ืืคืืคื | ||
| - ืจืง API ืขื OAuth token | ||
| - ืื ืืื ืืืงื - ืคืฉืื ื ืืฉื | ||
|
|
||
| --- | ||
|
|
||
| ## ๐งฉ ืืื ืื "ืฉืืืจ ืืช ืืืืงื"? | ||
|
|
||
| ### ืืงืื ืฉืืฆืื ืื ืืชื ืจืืื: | ||
|
|
||
| ```typescript | ||
| // ื-env-handlers.ts | ||
| // ืืฉืงืืจืืื ืืืืจืืช: | ||
| if (vars['GITHUB_TOKEN']) { | ||
| config.githubToken = vars['GITHUB_TOKEN']; | ||
| } | ||
|
|
||
| // ืืฉืฉืืืจืื ืืืืจืืช: | ||
| existingVars['GITHUB_TOKEN'] = config.githubToken; | ||
| ``` | ||
|
|
||
| ### ืื ืื ืืืืจ: | ||
| 1. โ **ืื, ืืงืื ืฉืืืจ ืืืงื** - ืื ื ืืจืืื | ||
| 2. โ **ืื ื ืืื** - ืื ืืืขืจืืช ืืืืจืช ืืช ืืืืืืจ | ||
| 3. โ **ืืืขืื:** ืืืืงื **ืืฉื/ืื ืชืงืฃ** | ||
| 4. ๐ง **ืืคืชืจืื:** ืฆืจืื **ืืืืืง ืืืชื ืืืืชืืืจ ืืืืฉ** | ||
|
|
||
| --- | ||
|
|
||
| ## ๐ ืกืืจ ืคืขืืืืช ืืืืืฅ: | ||
|
|
||
| ### ืฉืื 1: ืชืงื GitHub (ืงืจืืื) | ||
| ```powershell | ||
| # 1. ืืืง environment variable | ||
| $env:GITHUB_TOKEN = $null | ||
| [System.Environment]::SetEnvironmentVariable('GITHUB_TOKEN', $null, 'User') | ||
|
|
||
| # 2. ื ืงื ืืช ื-gh CLI cache | ||
| Remove-Item "$env:APPDATA\GitHub CLI\hosts.yml" -ErrorAction SilentlyContinue | ||
|
|
||
| # 3. ืืชืืืจ ืืืืฉ | ||
| gh auth login --web --scopes repo | ||
|
|
||
| # 4. ืืืืง ืฉืขืืื | ||
| gh auth status | ||
| ``` | ||
|
|
||
| **ืชืืฆืื ืฆืคืืื:** | ||
| ``` | ||
| โ Logged in to github.com as YOUR_USERNAME | ||
| โ Token: gho_xxxxxxxxxxxxx | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ### ืฉืื 2: ืชืงื Claude (ืืืคืฆืืื ืื ืื ืืชื ืืฉืชืืฉ ื-Claude) | ||
|
|
||
| #### ืื **ืืชื ืฆืจืื** UsageMonitor: | ||
| ```powershell | ||
| # ืืชืงื Claude CLI | ||
| npm install -g @anthropic-ai/claude-cli | ||
|
|
||
| # ืืชืืืจ | ||
| claude auth login | ||
|
|
||
| # ืืืืง | ||
| claude config get oauth_token | ||
| ``` | ||
|
|
||
| #### ืื **ืืชื ืื ืฆืจืื** UsageMonitor: | ||
| ืืฉืืช ืืืชื ืืงืื (ืื ื ืืืื ืืขืืืจ ืขื ืื). | ||
|
|
||
| --- | ||
|
|
||
| ### ืฉืื 3: ืืืืื | ||
| ```powershell | ||
| # ืืคืขื ืืืืฉ | ||
| cd C:\Users\Koperberg\Auto-Claude | ||
| npm run dev | ||
| ``` | ||
|
|
||
| **ืืคืฉ ืืืืืื:** | ||
| ``` | ||
| โ [GitHub OAuth] Auth check passed (authenticated) | ||
| โ [UsageMonitor] Successfully fetched via API (ืื ืืชืงื ืช Claude CLI) | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## ๐ฏ ืฉืืืืช ื ืคืืฆืืช: | ||
|
|
||
| ### ืฉ: "ืืื ืืงืื ืื ืืืืจ ืื ืฉืืืืงื ืืฉื?" | ||
| **ืช:** ืื `gh auth login` ืจืง ืืืืง ืื ืืฉ `GITHUB_TOKEN` ื-environment - ืื ืื ืืื ืชืงืฃ. | ||
|
|
||
| ### ืฉ: "ืืื ืื ื ืืื ืข ืฉืืืงื ืืืื ืืฉื?" | ||
| **ืช:** | ||
| 1. GitHub tokens ืืืืืื ืืคืื (expiration date) | ||
| 2. ืื ืืืงืช ืืืชื ื-GitHub.com | ||
| 3. ืื ืฉืื ืืช ืืจืฉืืืช | ||
|
|
||
| **ืคืชืจืื:** ืืฉืชืืฉ ื-`gh auth refresh` ืื ืืื ืฉืืืขืืช. | ||
|
|
||
| ### ืฉ: "ืืืคืืืงืฆืื ืคืืชืืช ืืคืืคื ืืืืืืืืช?" | ||
| **ืช:** **ืื.** ืจืง ืืฉืืชื ืืืืฅ "Connect GitHub" ืืืืืจืืช. | ||
|
|
||
| ### ืฉ: "ืื ื ืฆืจืื Claude CLI?" | ||
| **ืช:** **ืื ืืืื** ืื ืืชื ืื ืืฉืชืืฉ ื-UsageMonitor. ืืคืฉืจ ืืืฉืืืช ืืืชื. | ||
|
|
||
| --- | ||
|
|
||
| ## โ ืกืืืื: | ||
|
|
||
| | ืืขืื | ืกืืื | ืคืชืจืื | | ||
| |------|------|--------| | ||
| | Claude 401 | ืืื CLI ืืืชืงื | ืืชืงื: `npm install -g @anthropic-ai/claude-cli` | | ||
| | GitHub token invalid | ืืืงื ืืฉื ืืืกื | ืืืง: `$env:GITHUB_TOKEN = $null` ืืืชืืืจ ืืืืฉ | | ||
| | Browser opens | GitHub OAuth ืืงืืง ืืืืฉืืจ | ื ืืจืืื - ืจืง ืืฉืืืืฆืื "Connect" | | ||
| | Token saving | ืืืขืจืืช ืืืืจืช ืืืืืจ | ื ืืจืืื - ืื ืชืืื ื, ืื ืืื | | ||
|
|
||
| --- | ||
|
|
||
| **ื ืืฆืจ:** 30 ืืืฆืืืจ 2025 | ||
| **ืกืืืืก:** ืืืื ืื ืืงืื GITHUB_TOKEN ืืืชืงื ืช Claude CLI | ||
| **Priority:** ๐ฅ HIGH - ืืืกื GitHub operations | ||
|
Comment on lines
+1
to
+277
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ๐งน Nitpick | ๐ต Trivial Markdown formatting issues flagged by linter. Static analysis detected multiple markdown formatting issues:
While these don't affect content accuracy, fixing them improves readability and consistency. ๐ Example fixes ### โ 1. **Claude Authentication** - 401 Unauthorized
+[UsageMonitor] CLI fallback not implemented... Add a blank line before and after each code block and heading throughout the document.
๐งฐ Tools๐ช markdownlint-cli2 (0.18.1)5-5: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 6-6: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 6-6: Fenced code blocks should have a language specified (MD040, fenced-code-language) 12-12: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 13-13: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 13-13: Fenced code blocks should have a language specified (MD040, fenced-code-language) 42-42: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 60-60: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 68-68: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 79-79: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 80-80: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 84-84: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 85-85: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 89-89: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 96-96: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 97-97: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 110-110: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 118-118: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 119-119: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 148-148: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 153-153: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 175-175: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 185-185: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 186-186: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 202-202: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 202-202: Fenced code blocks should have a language specified (MD040, fenced-code-language) 211-211: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 212-212: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 223-223: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 228-228: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 229-229: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 236-236: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 236-236: Fenced code blocks should have a language specified (MD040, fenced-code-language) 245-245: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 248-248: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 249-249: Trailing spaces (MD009, no-trailing-spaces) 256-256: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 259-259: Headings should be surrounded by blank lines (MD022, blanks-around-headings) ๐ค Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrupted text detected in the documentation.
Line 116 contains
Gitxxxxxxxxxxxxxxxxctwhich appears to be corrupted or placeholder text. This should likely be "GitHub Connect" or similar.๐ Proposed fix
๐ Committable suggestion
๐ค Prompt for AI Agents