Commit Graph

158 Commits

Author SHA1 Message Date
4fa9f93f46 修复时区展示 2025-08-10 17:00:59 +08:00
24c06dd4a8 修复UI展示 2025-08-10 17:00:49 +08:00
36f8ec14fe 调整计费 2025-08-10 15:27:09 +08:00
68baf5f1e9 调整页面比例 2025-08-10 07:54:30 +08:00
6d87b7cecc 调整页面比例 2025-08-10 07:48:20 +08:00
c7d5ce3f0a 优化数据加载 2025-08-10 07:10:47 +08:00
4d9004526d 优化数据加载 2025-08-10 07:07:26 +08:00
002433512b 优化数据加载 2025-08-10 06:50:38 +08:00
8b83790813 美化UI 2025-08-10 06:18:25 +08:00
36ba54d051 删除debug 2025-08-10 05:03:05 +08:00
e5e7399f90 增加请求次数 2025-08-10 04:43:19 +08:00
6898f10d3f 增加允许本地中转 2025-08-10 03:57:56 +08:00
d8995bfe36 修改计算规则以及数据库 2025-08-10 02:46:52 +08:00
dcd6b42a66 完善UI 2025-08-10 01:46:10 +08:00
dbda05e688 git页面修复 2025-08-09 23:10:29 +08:00
272ea62bee 文件管理器以及文件编辑器 2025-08-09 18:31:17 +08:00
3bf68960a1 git状态以及文化管理器优化 2025-08-09 18:01:59 +08:00
1f13548039 增加文件管理器,增加文件编辑 2025-08-09 13:44:52 +08:00
5e532ad83f 增加文件管理器 2025-08-09 13:22:54 +08:00
c5b72a9879 优化页面,国际化细节内容 2025-08-09 04:42:10 +08:00
f682dd7a5b 优化页面,国际化细节内容 2025-08-09 04:18:12 +08:00
f5e326bde7 增加测速 2025-08-08 21:03:01 +08:00
18c5d72634 README.md 2025-08-08 18:10:42 +08:00
f223211af2 README.md 2025-08-08 13:52:44 +08:00
123740bcaf 修改网站地址 2025-08-08 13:26:19 +08:00
8f633d97d4 增加额度查询 2025-08-08 13:19:06 +08:00
5016c1d9d6 修改计算规则 2025-08-08 12:27:56 +08:00
f3324b1107 修改计算规则 2025-08-08 09:12:35 +08:00
e903e6a3d1 修改错误 2025-08-08 00:44:23 +08:00
ef2e30401e 美化页面 2025-08-08 00:21:10 +08:00
ca56cc83f0 增加配置转换 2025-08-07 23:46:55 +08:00
5910362683 美化 2025-08-07 12:28:47 +08:00
6798be3b42 汉化 2025-08-06 15:39:05 +08:00
351a79d54c 汉化 2025-08-06 11:32:29 +08:00
Vivek R
90afd6e520 fix(ci): improve macOS build workflow for permissions and CI compatibility
- Set CI=true for native build to ensure correct environment in CI runs
- Add chmod step to guarantee executable permissions on built binary
- Use ditto instead of zip to archive app bundle, preserving permissions and signatures
2025-08-02 00:36:53 +05:30
Kiran Johns
404db59f2c make tab ui more kawaii 2025-08-02 00:33:18 +05:30
Kiran Johns
92599b373d fix tab manager ux issues 2025-08-02 00:33:18 +05:30
Vivek R
74c2bb3746 ci: prepare for v0.1.0 release
- Add Claudia logo to release body
- Add first release announcement and feature highlights
- Clean up test branch references in build workflows
- Update release body formatting for better presentation
- Fix reusable workflow errors by adding workflow_call triggers to build workflows
2025-08-01 18:54:28 +05:30
Vivek R
6a6392670d chore: update dependencies and clean up Windows icons
- Update package.json dependencies
  - Bump package version for consistency

- Update Cargo dependencies
  - Add new dependencies required for enhanced functionality
  - Update Cargo.lock with resolved versions

- Update tauri.conf.json with new build configurations
  - Add platform-specific settings
  - Configure bundle options for different targets

- Update .gitignore patterns
  - Add new build artifacts to ignore list

- Minor fix in claude.rs command implementation
2025-08-01 17:55:15 +05:30
Vivek R
b4ddd360e5 build: add version management and build tooling
- Add scripts/bump-version.sh for coordinated version updates
  - Updates version in package.json, Cargo.toml, tauri.conf.json, and Info.plist
  - Ensures version consistency across all project files
  - Provides clear instructions for tagging and releasing
2025-08-01 17:55:10 +05:30
Vivek R
7b700331cb build: add macOS-specific configuration and cross-compilation support
- Add Info.plist for macOS app metadata
  - Configure bundle identifier as claudia.asterisk.so
  - Set minimum macOS version to 10.15
  - Register .claudia.json file type association
  - Add usage descriptions for camera and microphone access

- Add entitlements.plist for macOS app permissions
  - Disable app sandbox for Homebrew compatibility
  - Enable network access for API communications
  - Allow file system access and subprocess spawning
  - Configure hardened runtime exceptions for JIT and library validation
  - Enable automation for Apple Events

- Add .cargo/config.toml for cross-compilation
  - Configure aarch64-unknown-linux-gnu target
  - Enable PKG_CONFIG_ALLOW_CROSS for cross-platform builds
2025-08-01 17:36:06 +05:30
Vivek R
68d557d50a ci: add GitHub Actions workflows for multi-platform builds
- Add build-linux.yml for Ubuntu/Linux x86_64 builds
  - Installs required system dependencies (webkit2gtk, GTK3, etc.)
  - Builds Tauri application for Linux platform
  - Uploads build artifacts for distribution

- Add build-macos.yml for macOS Intel and Apple Silicon builds
  - Supports both x86_64 and aarch64 architectures
  - Handles Apple certificate import and code signing
  - Creates notarized DMG installers
  - Includes Homebrew cask generation
  - Allows skipping builds and using previous artifacts

- Add release.yml for automated releases
  - Triggers on version tags (v*)
  - Orchestrates builds across all platforms
  - Creates GitHub releases with all artifacts
  - Supports manual workflow dispatch with version input
2025-08-01 17:35:58 +05:30
Vivek R
9c253baec8 feat(analytics): configure analytics initialization and app integration
- Initialize analytics service on app startup in main.tsx
- Integrate analytics consent management in App.tsx
- Track app lifecycle events (start, screen changes)
- Update Tauri configuration for production build
- Set up proper analytics shutdown on app close
- Ensure analytics is initialized before other services

This completes the analytics integration setup with proper
initialization and lifecycle management.
2025-07-31 14:22:58 +05:30
Vivek R
db1efc2831 feat(analytics): integrate analytics across remaining UI components
- Add slash command tracking:
  - Track command selection with method (click/keyboard/autocomplete)
  - Monitor command execution with parameters and timing
  - Record custom command creation events
- Enhance agent execution tracking:
  - Track agent lifecycle (start, progress, completion)
  - Monitor agent errors with retry context
  - Record execution duration and success metrics
- Add tab management analytics:
  - Track tab creation and closure events
  - Monitor active tab switches
- Implement timeline navigation tracking:
  - Track checkpoint navigation events
  - Monitor timeline interactions
- Update useAnalytics hook with comprehensive event helpers
- Export performance monitoring hooks from central index

This completes analytics integration across all major UI components
for full user interaction visibility.
2025-07-31 14:22:47 +05:30
Vivek R
f08764c6ea feat(analytics): add analytics tracking to MCP server components
- Track MCP server additions with configuration method (manual/preset/import)
- Monitor server connections and disconnections with success metrics
- Record server removal events with connection state
- Track MCP tool invocations with source attribution
- Monitor connection errors with retry attempts
- Add performance tracking for server operations

These metrics help understand MCP server usage patterns and
identify connection reliability issues.
2025-07-31 14:22:33 +05:30
Vivek R
5e4cbd415e feat(analytics): integrate comprehensive analytics tracking in ClaudeCodeSession
- Track prompt submissions with detailed metrics (length, complexity, attachments)
- Monitor session lifecycle (start, stop, duration, engagement)
- Record tool executions with performance and success metrics
- Track checkpoint creation and restoration events
- Implement enhanced session metrics including:
  - Time to first message
  - Average response time
  - Files created/modified/deleted count
  - Error frequency and recovery attempts
  - Token usage and code generation metrics
- Add session engagement scoring
- Monitor conversation abandonment patterns
- Track agent execution context when applicable

This provides deep insights into user interactions and session
quality for improving the AI coding experience.
2025-07-31 14:22:22 +05:30
Vivek R
79e228ce88 feat(analytics): add error boundary component for UI error tracking
- Create AnalyticsErrorBoundary component to catch and track UI errors
- Implement automatic error reporting to analytics on component failures
- Provide customizable fallback UI for error states
- Add withAnalyticsErrorBoundary HOC for easy component wrapping
- Include error recovery functionality with reset capability
- Track component stack information for debugging

This ensures all UI errors are captured and reported for better
application stability monitoring and debugging.
2025-07-31 14:22:06 +05:30
Vivek R
d06e1f3cc7 feat(analytics): add comprehensive performance monitoring utilities
- Add ResourceMonitor for tracking system resource usage (memory, CPU, network)
- Implement API request tracking with performance metrics and error monitoring
- Create usePerformanceMonitor hook for component-level performance tracking
- Add useAsyncPerformanceTracker for async operation monitoring
- Track memory warnings, performance bottlenecks, and network failures
- Support configurable thresholds for resource usage alerts
- Implement periodic sampling with intelligent reporting

These utilities enable proactive performance monitoring to identify
and address bottlenecks before they impact user experience.
2025-07-31 14:21:53 +05:30
Vivek R
ed695e50e6 feat(analytics): add core analytics infrastructure with PostHog integration
- Implement comprehensive analytics type system with 100+ event types
- Create event builders for consistent event tracking
- Add main analytics service with PostHog integration
- Include performance tracking utilities with percentile monitoring
- Support anonymous user tracking with session management
- Implement sanitization helpers to remove PII from events
- Add event queueing with automatic flush intervals
- Support for screen tracking and app context

BREAKING CHANGE: Analytics tracking is now integrated throughout the app
and requires PostHog API key configuration via environment variables.
2025-07-31 14:21:14 +05:30
Vivek R
f7e932ed79 feat: add analytics tracking to key components
- Track tab creation and closure events in TabManager
- Add session tracking (created, resumed, completed) in ClaudeCodeSession
- Track model selection changes in ClaudeCodeSession
- Monitor agent execution events (success/failure) in AgentExecution
- Include execution duration metrics for agents
- Use useTrackEvent hook for consistent event tracking
2025-07-30 19:45:00 +05:30