Claude/awesome claude code install 3 y mv7#164
Open
sahilpreet0-sketch wants to merge 54 commits into
Open
Conversation
- Create .claude/hooks/session-start.sh that installs npm deps and awesome-claude-code (from https://github.com/hesreallyhim/awesome-claude-code) - Hook only runs in remote (web) environments via CLAUDE_CODE_REMOTE guard - Registered as third entry in SessionStart hooks in .claude/settings.json - Timeout set to 120s to accommodate pip + npm install https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
- Odds comparison table across Bet365, Pinnacle, Betfair, Betsson, 1xbet - Value bet detection using Pinnacle as sharp book reference - Arbitrage opportunity finder with per-outcome stake calculator - Bankroll tracker with bet log, P&L, win rate, ROI stats - Kelly Criterion stake calculator - Bet history persisted in localStorage - RapidAPI odds integration via VITE_RAPIDAPI_KEY env var - Fix .eslintrc.json to add tsx/jsx parser override - Fix .husky/commit-msg to reference validate-commit-msg.cjs https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
- Downgrade @types/uuid 11->9 (v11 was empty stub, broke typecheck) - Add SharedMemoryPool stub (missing local file in reasoningbank) - Add missing-modules.d.ts stubs for optional uninstalled packages - Fix lint-staged to filter .d.ts files (prevents ESLint ignored-file warning) - Add scripts/validate-commit-msg.js ESM wrapper for .cjs validator - Add .gitignore exception for agentic-flow/src/memory/ source files https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
Configures Vercel to serve the Vite build with client-side routing rewrites. https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
…ployment - Add Vite manualChunks (vendor, router) to keep bundles under 256KB - Disable sourcemaps in production build - Use HashRouter for GitHub Pages SPA compatibility - Ignore vite.config.ts in ESLint (not in tsconfig include) - Exclude vite.config.ts from lint-staged to avoid ignored-file warning https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
- Remove Content-Type header from GET requests (caused CORS preflight) - Use json.data ?? json for flexible response format handling - Redesign OddsTable with value bet alerts and arb detection - Redesign BankrollTracker with improved dark theme styling - Add SportKey type to betting.ts https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
- Fix API service: remove Content-Type header from GET requests (was causing CORS preflight failures), use json.data ?? json to handle both wrapped and flat response formats - Redesign SportsBettingDashboard: auto-loads events on mount, tappable match cards, sport tabs, manual event ID input pre-filled with example - Redesign OddsTable: value bet amber alerts with edge% and Kelly stake, arb green alerts, best-odds summary cards, color-coded margin badges - Polish BankrollTracker: consistent dark theme, rounded-2xl cards https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
- Try 4 endpoint variants for events listing in sequence - Add testConnection() for raw API debug output - OddsTable: odds as colored bet buttons, pulsing value bet alerts, bookmaker color dots, cleaner arb/margin display https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
- Dark gradient header with BETA badge - League tabs (EPL, La Liga, Serie A, UCL, NBA, EuroLeague) - Debug panel: tap Test API to see raw response and diagnose issues - Event cards with left blue accent border and sport icons - Better error cards with exact multi-path error from all 4 endpoint attempts https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
Debug output revealed /v2/events?sport=soccer returns plain 404 while /v2/soccer/events returns JSON "does not exist". This means /v2/events exists but needs different sport param values. Now tries: football, soccer, sportId=1, sportId=18, and no-param (all events) variants. Debug panel now tests 5 paths and shows all raw responses at once so we can see which variant works. Cleared stale event ID 1607251724. https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
Using ignoreCommand: exit 1 so pushes to GitHub no longer trigger Vercel builds or failure emails. Deployment is GitHub Pages only. https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
Tries v1/v2/v3/v4 prefixes, sport-nested paths, and no-prefix paths. Also shows rate-limit header to confirm key subscription status. https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
Removes the multi-variant probing loop that was wasting daily quota. Confirmed valid: /v2/events?sport=soccer|basketball https://claude.ai/code/session_01Ue6prpTpziobfWa8UQ32wt
Removes the multi-variant probing loop that was wasting daily quota. Confirmed valid: /v2/events?sport=soccer|basketball
Creates scripts/betting-cli.ts — a standalone Node.js CLI that fetches live odds, detects value bets (vs Pinnacle fair price) and arbitrage opportunities directly in the terminal. No browser needed. Also adds .claude/commands/betting.md skill so /betting works as a Claude Code slash command, and updates lint config to exclude the script from tsconfig-bound ESLint rules.
…er-Kelly sizing, loss-streak warnings
…allback - src/services/bookmakers.service.ts (new) — bookmakers-data-api.p.rapidapi.com - fetchBookmakers(), fetchGames(), fetchGameOdds() with multi-path discovery - normalises any response shape into Event/OddsResponse types - testBookmakersAPI() for debug panel - src/services/stream.service.ts (new) — all-sport-live-stream.p.rapidapi.com - fetchLiveStreams() with multi-path discovery, parses stream links - testStreamAPI() for debug panel - src/types/betting.ts — add StreamLink, streams/thumbnail fields to Event - src/services/odds.service.ts — slim down testConnection (old API only) - src/pages/SportsBettingDashboard.tsx — 3-source fallback event loading, stream links panel, 3-tab debug panel, OddsView tries bookmakers API first - scripts/betting-cli.ts — 3-source fallback, new streams command
Replaces odds-api-io and all previous secondary APIs with sportapi7.
Uses SofaScore-style endpoints: scheduled-events/{date} for events,
/odds/1 + /oddscomparison for odds. Robust multi-format normaliser
handles back/lay, markets[], currentOdds shapes. Host hardcoded as
default with VITE_SPORTAPI_HOST env var override.
Events cached 1h, odds 30min. testConnection uses cache-first strategy: shows cache status and fires 0-1 API requests instead of 5. Switching league tabs reuses cached event list (no extra API calls).
…xceeded Adds oddsfeed.service.ts for live 1X2 markets from odds-feed API. fetchEvents and fetchOdds now detect 429 from sportapi7 and fall back to odds-feed automatically. testConnection reports which source is active.
Dashboard: '📨 Send Alert to Telegram' button on every odds view. First-use shows inline setup guide (BotFather token + chat ID). Config stored in localStorage — no re-entry needed. CLI: 'notify [soccer|basketball]' scans up to 5 events, detects value bets + arb, sends formatted HTML summary to Telegram. Requires TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID in .env. Cron-friendly for automated alerts every N hours.
…onfig SharedMemoryPool.ts: remove stub class prepended before real implementation, fix any types and catch clause to satisfy ESLint. lint-staged.config.js: restore missing closing brace, remove duplicate keys. .husky/commit-msg: apply .cjs -> .js extension fix from rebase.
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.