Commit graph

4863 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
2b1d33db19 security: CVE-2025-64712 fix
- Removed outdated dependencies: unstructured-client and langchain-unstructured.
- Added new versions for unstructured-client (0.42.3), unstructured[all-docs] (0.18.31), and langchain-unstructured (1.0.1).
2026-02-03 13:27:09 -08:00
Rohan Verma
be6b5327a9
Merge pull request #767 from CREDO23/sur-129-feat-add-a-sharing-page
[Feat] Add public chat sharing permissions, sharing page, and graceful 404
2026-02-03 13:08:34 -08:00
API Test Bot
4be8c1b996 feat(chat): add command patterns for Epic 2, 3, 4 widgets
- Add new command patterns to COMMAND_PATTERNS:
  * SHOW_WHALE_ACTIVITY - Matches 'show whale activity/transactions'
  * TRADING_SUGGESTION - Matches 'suggest/recommend entry/exit for TOKEN'
  * SHOW_PORTFOLIO - Matches 'show my portfolio'
  * CAPTURE_CHART - Matches 'capture/screenshot chart'
  * GENERATE_THREAD - Matches 'generate/create thread'

- Update handleSendMessage to handle new commands:
  * Whale activity: Shows MOCK_WHALE_TRANSACTIONS with smart money insights
  * Trading suggestion: Shows MOCK_TRADING_SUGGESTION with risk/reward analysis
  * Portfolio: Shows MOCK_PORTFOLIO with P&L and best performer
  * Chart capture: Shows chart capture tool with auto-filled metadata
  * Thread generator: Shows thread generator with token info pre-filled

- Import mock data for new widgets:
  * MOCK_WHALE_TRANSACTIONS
  * MOCK_TRADING_SUGGESTION
  * MOCK_PORTFOLIO

- Update help message to include all Epic commands organized by category

Enables users to trigger Epic 2, 3, 4 widgets via natural language commands
2026-02-04 02:59:34 +07:00
API Test Bot
0d2cac99d5 feat(chat): integrate Epic 2, 3, 4 widgets into chat interface
- Create 5 widget wrappers for inline chat display:
  * WhaleActivityWidget - Wraps WhaleActivityFeed for whale transaction display
  * TradingSuggestionWidget - Wraps TradingSuggestionPanel for entry/exit suggestions
  * PortfolioWidget - Wraps PortfolioPanel for portfolio tracking
  * ChartCaptureWidget - Wraps ChartCapturePanel for chart screenshots
  * ThreadGeneratorWidget - Wraps ThreadGeneratorPanel for Twitter threads

- Update widgets/index.ts to export new widgets with Epic grouping

- Update ChatMessages.tsx:
  * Add 5 new widget types to MessageWidget union
  * Import new widget components and their types
  * Add renderWidget cases for all new widgets with proper callbacks
  * Update component documentation to list all supported widgets

- Widget integration pattern:
  * Widgets wrap panels in containers with consistent styling
  * All widgets support callback props for user interactions
  * Widgets can be embedded inline in assistant messages
  * Widget actions are handled via onWidgetAction callback

Enables AI to display Epic 2, 3, 4 panels inline in chat conversations
2026-02-04 02:55:50 +07:00
API Test Bot
9f75abf0a5 feat(epic-4): implement Content Creation & Productivity components
- Add ChartCapturePanel.tsx for chart screenshot with annotations
  * One-click chart capture from DexScreener
  * Auto-add metadata overlay (token info, price, volume, liquidity, timestamp)
  * Template styles (dark, light, neon)
  * Export options (Twitter 1200x675, Telegram square, Instagram 1080x1080, clipboard)
  * Watermark option

- Add AnnotationTools.tsx for drawing tools
  * Line tool for trend lines, support/resistance
  * Arrow tool for directional indicators
  * Text tool for labels
  * Shape tools (circle, rectangle)
  * Fibonacci retracement tool
  * Color picker with 6 preset colors
  * Undo/Redo functionality

- Add ThreadGeneratorPanel.tsx for AI-powered Twitter thread generation
  * Auto-fill token info from current page
  * Customizable thread length (5-10 tweets)
  * Tone selection (bullish/neutral/bearish)
  * AI-generated thread structure (Hook → Analysis → Implications → Conclusion)
  * Edit individual tweets inline
  * Add/delete tweets dynamically
  * Reorder tweets support
  * Export options (copy all, tweet directly via Twitter API)
  * Mock thread generation with realistic crypto content

- Add ProductivitySettings.tsx for productivity settings management
  * Notification settings with priority levels (high/medium/low)
  * Quiet hours configuration (start/end time)
  * Group notifications and smart batching (5+ alerts)
  * Keyboard shortcuts display and customization
  * Quick actions settings (context menu, auto-detect addresses)
  * Pe  * Pe  * Pe  * Pe  * Pttings support

Implements Stories 4.1, 4.2, 4.3 from Epic 4: Content Creation & Productivity
2026-02-04 02:39:48 +07:00
API Test Bot
ea2080619b feat(epic-3): implement Trading Intelligence components with mock data
- Add TokenAnalysisPanel.tsx for comprehensive token analysis
  * AI-generated summary with buy/hold/sell/avoid recommendation
  * Contract analysis (verified, renounced, proxy, source code)
  * Holder distribution with top 10% concentration
  * Liquidity analysis with LP lock status and duration
  * Volume trends and trading activity metrics
  * Price history (ATH/ATL, 7d/30d changes, volatility)
  * Social sentiment analysis (Twitter, Telegram, Reddit)

- Add TradingSuggestionPanel.tsx for entry/exit suggestions
  * Entry zone recommendations with reasoning
  * Multiple take-profit targets (3 levels) with confidence scores
  * Stop-loss suggestions with invalidation reasoning
  * Risk/reward ratio calculation and assessment
  * Technical analysis levels (support/resistance)
  * AI reasoning and invalidation conditions

- Add PortfolioPanel.tsx for portfolio tracking
  * Total portfolio value with 24h change
  * Holdings list with current value and P&L tracking
  * Performance analytics (best/worst performers, win rate)
  * Quick actions per token (analyze, alert, view)
  * Manual position entry support

- Add comprehensive mock data for all Epic 3 components
  * MOCK_TOKEN_ANALYSIS with realistic metrics
  * MOCK_TRADING_SUGGESTION with entry/exit levels
  * MOCK_PORTFOLIO with 5 holdings and analytics

Implements Stories 3.1, 3.2, 3.3 from Epic 3: Trading Intelligence
2026-02-04 02:36:35 +07:00
API Test Bot
db22cd4a64 feat(epic-2): implement WhaleActivityFeed component with mock data
- Add WhaleActivityFeed.tsx for displaying whale transactions (>0K)
- Features: real-time feed, filter by watchlist/smart money, track wallet
- Add mock whale transaction data with 7 sample transactions
- Support for buy/sell indicators, smart money badges, explorer links
- Implements Story 2.2: Whale Activity Tracker from Epic 2
2026-02-04 02:31:36 +07:00
API Test Bot
e4d020799b feat(crypto): add SurfSense 2.0 Crypto Co-Pilot UI components
Frontend - Web Dashboard:
- Add crypto dashboard page with Watchlist, Alerts, Market, Profile tabs
- Add 11 tool-ui components for inline chat display
- Add crypto components (ChainIcon, SafetyBadge, PriceDisplay, etc.)
- Add modals (AddTokenModal, CreateAlertModal)
- Add mock data for development

Frontend - Browser Extension:
- Add shared components (ChainIcon, RiskBadge, PriceDisplay, SuggestionCard)
- Add crypto components (SafetyScoreDisplay, WatchlistPanel, AlertConfigModal)
- Add chat enhancements (WelcomeScreen, ThinkingStepsDisplay)
- Add widget components for inline display
- Enhance TokenInfoCard, ChatHeader, ChatInput, ChatInterface

Documentation:
- Add conversational UX specification
- Add UX analysis report
- Update extension UX design

This implements the Conversational UX paradigm where crypto features
are AI-callable tools that render inline in the chat interface.
2026-02-04 02:19:57 +07:00
Anish Sarkar
65b79f3705 feat: enhance Google Drive connector with file MIME type file detection and content based detection as fallback 2026-02-03 22:57:01 +05:30
API Test Bot
ad795eb830 docs: add Hybrid Crypto Data Architecture section
- Document RAG + Real-time hybrid approach
- Explain when AI uses each tool type
- List real-time tools (get_live_token_price, get_live_token_data)
- Document frontend tool-ui components
2026-02-04 00:13:51 +07:00
API Test Bot
d20cb8a538 feat(crypto): implement hybrid approach with real-time DexScreener tools
- Add crypto_realtime.py with get_live_token_price and get_live_token_data tools
- Register real-time tools in registry.py (no dependencies required)
- Export tool factories in __init__.py
- Create LiveTokenPriceToolUI component for real-time price display
- Create LiveTokenDataToolUI component for comprehensive market data
- Register tool-ui components in new-chat page

Hybrid Architecture:
- RAG (search_knowledge_base): Historical context, trends from indexed data
- Real-time tools: Current prices, live market data via direct API calls
- AI agent decides which to use based on query intent
2026-02-04 00:12:32 +07:00
Anish Sarkar
c4cf773bb0 feat: improve mentioned document prefetching and add skeletons in new chat interface 2026-02-03 20:45:52 +05:30
CREDO23
b221e8cd11 fix: renumber migration to avoid version conflict with upstream 2026-02-03 14:46:33 +02:00
CREDO23
60330622bf Merge remote-tracking branch 'upstream/dev' into dev 2026-02-03 14:24:24 +02:00
Rohan Verma
e172983042
Merge pull request #772 from MODSetter/dev
feat(migrations): make podcast file_location nullable
2026-02-02 17:58:24 -08:00
DESKTOP-RTLN3BA\$punk
14336eceb9 Merge commit '7afb73b704' into dev 2026-02-02 17:57:41 -08:00
DESKTOP-RTLN3BA\$punk
4753ea809b feat(migrations): make podcast file_location nullable 2026-02-02 17:56:47 -08:00
Rohan Verma
7afb73b704
Merge pull request #771 from MODSetter/dev
chore: various fixes and document ownership tracking
2026-02-02 17:32:46 -08:00
DESKTOP-RTLN3BA\$punk
619f13513f feat(migrations): add created_by_id column and backfill existing documents with progress indicator 2026-02-02 17:32:34 -08:00
DESKTOP-RTLN3BA\$punk
b9be4b458b Merge commit '8c4243bbf6' into dev 2026-02-02 17:02:56 -08:00
DESKTOP-RTLN3BA\$punk
c3b638cb16 feat(migrations): possible podcast fix on prod 2026-02-02 17:02:21 -08:00
Rohan Verma
92afaa087d
Merge pull request #763 from elammertsma/dev
[FEAT] Prompt suggestions and role editing.
2026-02-02 14:50:50 -08:00
Rohan Verma
d0673cecf6
Merge pull request #765 from AnishSarkar22/fix/documents
feat: Add document ownership & deletion of documents
2026-02-02 14:50:18 -08:00
Rohan Verma
8c4243bbf6
Merge pull request #770 from MODSetter/dev
feat: added celery task queue isolation to prevent collisions
2026-02-02 13:20:16 -08:00
DESKTOP-RTLN3BA\$punk
37eb57e43f Merge commit 'bfb6c7f5ed' into dev 2026-02-02 13:19:14 -08:00
DESKTOP-RTLN3BA\$punk
4df40f8cea feat: add CELERY_TASK_DEFAULT_QUEUE environment variable for task isolation 2026-02-02 13:17:12 -08:00
Rohan Verma
bfb6c7f5ed
Merge pull request #769 from MODSetter/dev
chore:  increase Celery worker autoscale limit from 64 to 128
2026-02-02 12:21:58 -08:00
DESKTOP-RTLN3BA\$punk
a385f2b637 Merge commit '6c94ffe4c8' into dev 2026-02-02 12:19:24 -08:00
DESKTOP-RTLN3BA\$punk
59855d92f6 feat: increase Celery worker autoscale limit from 64 to 128 2026-02-02 12:18:36 -08:00
Anish Sarkar
f730df7c9d chore: ran linting 2026-02-03 01:43:38 +05:30
Manoj Aggarwal
48e646607b Fix google calendar and notion erros 2026-02-02 12:07:53 -08:00
Rohan Verma
6c94ffe4c8
Merge pull request #766 from MODSetter/dev
try(hotpatch): fix cloud scaling issues.
2026-02-02 11:41:17 -08:00
DESKTOP-RTLN3BA\$punk
ec7e559415 Merge commit '357035fc74' into dev 2026-02-02 11:39:37 -08:00
DESKTOP-RTLN3BA\$punk
6f92eac3da try(hotpatch): add autoscaling command 2026-02-02 11:36:54 -08:00
CREDO23
8d9dfc7aa4 feat: add graceful public chat not found page 2026-02-02 20:08:38 +02:00
CREDO23
3cf8647d50 fix: organize imports 2026-02-02 19:31:46 +02:00
CREDO23
ee56334abe refactor: consolidate public chat snapshot mutations with cache invalidation 2026-02-02 16:47:23 +02:00
CREDO23
67f797232e feat: add public chat links settings page 2026-02-02 16:40:11 +02:00
CREDO23
ea2dd20a78 feat: add public chat snapshots components 2026-02-02 16:24:13 +02:00
CREDO23
d890c562d4 refactor: rename snapshot types to PublicChatSnapshot prefix 2026-02-02 16:05:23 +02:00
CREDO23
e62e4faaa5 feat: add snapshots cache key and query atom 2026-02-02 15:47:24 +02:00
CREDO23
47b7befc55 feat: add search space snapshots frontend API 2026-02-02 15:43:07 +02:00
CREDO23
ab343b544a feat: add search space snapshots list endpoint 2026-02-02 15:38:35 +02:00
CREDO23
3821630404 feat: use frontend URL for public share links 2026-02-02 15:36:59 +02:00
Anish Sarkar
2125c76841 feat: merge new credentials with existing connector configurations to preserve user settings 2026-02-02 19:03:05 +05:30
CREDO23
0bcd7505fb feat: add Public Chat Sharing permission category 2026-02-02 14:40:44 +02:00
CREDO23
a80dd25ee4 feat: hide public link option based on permission 2026-02-02 14:24:59 +02:00
CREDO23
148daa23e1 feat: add migration for public_sharing permissions 2026-02-02 14:22:18 +02:00
CREDO23
f18ba8e045 feat: add permission checks for public sharing 2026-02-02 14:18:17 +02:00
CREDO23
17c7b34e44 feat: add public_sharing permissions 2026-02-02 14:09:28 +02:00