Finessse
ffc608b7fe
refactor(executor): remove iFlow executor
...
Remove the iFlow request executor implementation.
Deleted: internal/runtime/executor/iflow_executor.go
2025-12-28 20:47:36 +07:00
Finessse
9e1cd7a61d
refactor(cmd): remove iFlow CLI commands
...
Remove iFlow login and cookie authentication CLI commands.
Deleted files:
- internal/cmd/iflow_cookie.go
- internal/cmd/iflow_login.go
2025-12-28 20:47:24 +07:00
Finessse
277e66c542
refactor(auth): remove iFlow auth package
...
Remove the iFlow OAuth and cookie-based authentication implementation.
This provider is being replaced with simpler API key-based providers.
Deleted files:
- internal/auth/iflow/cookie_helpers.go
- internal/auth/iflow/iflow_auth.go
- internal/auth/iflow/iflow_token.go
- internal/auth/iflow/oauth_server.go
2025-12-28 20:47:12 +07:00
Finessse
9a2363d6bd
chore: bump version to 0.1.5
...
Includes:
- Vision base64 parsing fix for OpenAI-to-Claude translation
- Memory API localhost authentication with API keys
- Global model mapping SDK hook for cross-provider aliases
- Comprehensive unit tests for auth, config, memory, and runtime
v0.1.5
2025-12-28 10:49:06 +07:00
Finessse
352095c54c
test(runtime): add unit tests for model registry, executors, and pricing
...
Covers model registration, quota tracking, concurrent access,
Claude/Gemini executor request prep, and pricing calculations.
2025-12-28 10:46:38 +07:00
Finessse
009fbb2a37
test(memory): add unit tests for file store, pruning, and semantic search
...
Covers event serialization, file operations, token-based pruning,
recency preservation, and semantic similarity scoring.
2025-12-28 10:46:21 +07:00
Finessse
7d11a35a16
test(config): add unit tests for config loading and validation
...
Covers YAML parsing, port validation, key sanitization, header
normalization, global model mapping lookup, and legacy migration.
2025-12-28 10:46:03 +07:00
Finessse
9cdce5e8d8
test(auth): add unit tests for Claude PKCE/token and Codex JWT parsing
...
Covers PKCE verifier/challenge generation, token expiry detection,
refresh timing, and JWT claim extraction for Claude and Codex auth.
2025-12-28 10:45:45 +07:00
Finessse
7d9a114bf8
feat(config): add global model mapping hook for SDK handlers
...
Adds GlobalModelMapperFunc type and hook to SDKConfig, allowing
SDK-level handlers to access Config-level global model mappings.
This enables cross-provider model aliasing (e.g., gpt-4o → claude-sonnet).
2025-12-28 10:45:26 +07:00
Finessse
82f02c6d59
feat(management): allow API key auth for localhost management endpoints
...
Enables configured API keys to authenticate management API requests
from localhost, making it easier to use tools like curl for local testing.
2025-12-28 10:45:00 +07:00
Finessse
096daa30a7
fix(translator): correct base64 image parsing for OpenAI-to-Claude translation
...
Split on ";base64," instead of "," to properly extract media type and data
from data URLs. Also adds support for URL-based images (https://).
2025-12-28 10:44:35 +07:00
Finessse
5b11c113fb
fix(ci): remove README_CN.md from goreleaser config
v0.1.4
2025-12-28 08:38:37 +07:00
Finessse
b127b674e9
sync: squash merge upstream CLIProxyAPI v6.6.62
...
Synced with upstream v6.6.61-v6.6.62 changes:
- Added usage export/import endpoints
- Added normalizeCodexKey function
- Updated BootstrapRetries type
- Enhanced model definitions and antigravity config
Preserved ProxyPilot customizations:
- Kept CompressionConfig for long-context sessions
- Kept Kiro, GitHub Copilot, Amazon Q model definitions
- Kept shouldKeepProviderOrder for Gemini-3 provider stability
- Kept advanceProviderCursor pattern (separate cursor advancement)
- Removed AmpCode integration (not used)
Version: 0.1.4
2025-12-28 08:32:11 +07:00
Finessse
6163489aca
fix(ci): resolve release workflow failures
...
1. Add permissions: contents: write to release.yml to fix 403 error
2. Add before hook to remove .syso files that break ARM64 cross-compile
3. Skip Windows ARM64 build (not commonly used)
v0.1.3
2025-12-28 07:32:40 +07:00
Finessse
0b12eafe6c
chore: bump version to 0.1.3
2025-12-28 07:17:57 +07:00
Finessse
e89a0f5fcb
chore(scripts): add UI state initialization script
...
PowerShell script to create initial ui-state.json with default
settings in %LOCALAPPDATA%\ProxyPilot.
2025-12-28 07:12:43 +07:00
Finessse
c7d06a3ace
chore(scripts): add auth directory migration script
...
PowerShell script to migrate auth files from legacy ~/.cli-proxy-api
to new %LOCALAPPDATA%\ProxyPilot\auth location.
2025-12-28 07:12:33 +07:00
Finessse
81848357c4
feat: auto-register translators on startup
...
Import translator package with side effects to register all
built-in format translators at initialization.
2025-12-28 07:11:28 +07:00
Finessse
74319cd89e
feat(embedded): register SDK providers and configure logging
...
Register token store and config providers at startup, apply default
auth-dir resolution, and configure log output from config.
2025-12-28 07:10:56 +07:00
Finessse
018cba3491
feat(dashboard): add logo route and improve auth key handling
...
Add /logo.png route for branding and prefer server instance password
over env var for management key injection.
2025-12-28 07:10:36 +07:00
Finessse
a6da22f391
refactor(desktopctl): use util.ResolveAuthDir for path handling
...
Simplify auth directory resolution by delegating to the centralized
util package.
2025-12-28 07:10:17 +07:00
Finessse
8ae32d440a
feat(util): add cross-platform default auth directory helper
...
Add DefaultAuthDir() that returns OS-appropriate auth directory path
following XDG spec on Linux and LOCALAPPDATA on Windows.
2025-12-28 07:10:01 +07:00
Finessse
26a17c7456
security(webui): remove hardcoded management key from template
2025-12-28 07:09:44 +07:00
Finessse
d0c29cb584
feat(api): wire translator endpoints to router
...
Add translation API routes for matrix, check, docs, score, and
compare endpoints.
2025-12-28 07:09:11 +07:00
Finessse
0f5836e14b
refactor(translator): enhance registry with new capabilities
...
Update registry to support middleware, caching, pooling, and
resilience features integration.
2025-12-28 07:09:01 +07:00
Finessse
e96d568671
feat(api): add translator HTTP endpoints
...
Add REST API handlers for translation matrix, format checking,
documentation, quality scoring, and structure comparison.
2025-12-28 07:08:51 +07:00
Finessse
21125722cd
test(translator): add lazy loading tests
...
Add tests for lazy translator registration and loading behavior.
2025-12-28 07:08:41 +07:00
Finessse
3e47344da9
feat(translator): add testing utilities
...
Add mock translators and test helpers for translator unit testing.
2025-12-28 07:08:31 +07:00
Finessse
31e52f26e8
feat(translator): add translation quality scoring
...
Add quality assessment for translations with structural comparison
and scoring metrics.
2025-12-28 07:08:21 +07:00
Finessse
3cf08319d4
feat(translator): add documentation generation
...
Add markdown docs, mermaid diagram, and summary generation for
registered translators.
2025-12-28 07:08:12 +07:00
Finessse
b1a4bede65
feat(translator): add API helper functions
...
Add compatibility matrix, format listing, and translation info
query APIs for registry introspection.
2025-12-28 07:07:57 +07:00
Finessse
6cfd29ff1d
feat(translator): add middleware pipeline support
...
Add pre/post translation middleware for payload transformation,
logging, and conditional processing.
2025-12-28 07:07:47 +07:00
Finessse
2874e52a2a
feat(translator): add resilience and recovery strategies
...
Add translation recovery with direct hit, fallback chain, and
auto-detect strategies for robust format conversion.
2025-12-28 07:07:35 +07:00
Finessse
40c46acc08
feat(translator): add fallback chain support
...
Add multi-hop translation fallback chains for indirect format
conversions when direct translators are unavailable.
2025-12-28 07:07:24 +07:00
Finessse
d8eb83c8fd
feat(translator): add automatic format detection
...
Add payload format auto-detection for OpenAI, Claude, Gemini, and
Antigravity formats based on JSON structure analysis.
2025-12-28 07:07:14 +07:00
Finessse
5de9cfa8ea
feat(translator): add translation benchmarking utilities
...
Add benchmark suite for measuring translation performance including
P50/P95/P99 latency percentiles and comparison tools.
2025-12-28 07:07:04 +07:00
Finessse
185dcc46dd
feat(translator): add batch translation processing
...
Add batch processor for translating multiple payloads concurrently
with configurable worker count and progress callbacks.
2025-12-28 07:06:52 +07:00
Finessse
705039b410
feat(translator): add translator instance pooling
...
Add object pooling for translator instances to reduce allocation
overhead and improve concurrent translation performance.
2025-12-28 07:06:40 +07:00
Finessse
782e3f26a5
feat(translator): add translation result caching
...
Add LRU cache for translation results with configurable TTL and size.
Improves performance by avoiding redundant translations for identical
payloads.
2025-12-28 07:06:30 +07:00
Finessse
25e73af418
feat(translator): add request/response validation utilities
...
Add validation helpers for translator payloads including JSON schema
validation, required field checks, and format-specific validators.
2025-12-28 07:06:07 +07:00
Finessse
ceec470273
refactor: consolidate tray app into single binary with embedded engine
...
This release removes the need for a separate proxypilot-engine.exe binary.
The ProxyPilot.exe tray app now runs the proxy service in-process using
the cliproxy SDK builder pattern.
Changes:
- Add internal/embedded package for in-process server management
- Update desktopctl to support embedded mode alongside subprocess mode
- Clean up vestigial -exe flag and engine binary references
- Update package scripts to build only single binary
- Bump version to 0.1.2
The embedded engine in cmd/cliproxytray was already implemented; this
commit cleans up the remaining references to the old two-binary architecture.
v0.1.2
2025-12-28 04:25:45 +07:00
Finessse
bbcf06f163
chore: bump version to 0.1.1
...
Prepare release v0.1.1 with new features:
- Model-specific pricing for cost estimation
- Auto-update with download, verify, and install flow
- Cost savings display in Analytics
- Logo branding assets
v0.1.1
2025-12-28 03:42:33 +07:00
Finessse
00c64b3bcb
build(assets): update compiled webui assets
...
Rebuild embedded webui assets with latest changes including
cost savings display, auto-update flow, and component updates.
2025-12-28 03:21:23 +07:00
Finessse
24467aa957
refactor(webui): update frontend components and configuration
...
Update Header with logo display, improve AgentSetup and ProviderLogins
components. Update App.tsx and index.html for better structure.
Adjust Vite config for development.
2025-12-28 03:21:04 +07:00
Finessse
68cf672e6b
refactor(integrations): improve agent detection and configuration
...
Update CLI agent detection and configuration handling. Improve
integration handlers for better error handling and status reporting.
2025-12-28 03:20:46 +07:00
Finessse
d9f67d1a8a
chore(assets): add ProxyPilot logo
...
Add logo.png to webui public folder and desktop app assets
for consistent branding across web and desktop interfaces.
2025-12-28 03:20:28 +07:00
Finessse
7e8863b45b
feat(webui): add full auto-update flow to Settings
...
Add complete update workflow with stages: checking, available, downloading,
ready, installing. Show download progress bar, version info, and release
notes. Add Install & Restart button for applying updates.
2025-12-28 03:20:10 +07:00
Finessse
2ccbba05e5
feat(webui): add cost savings display to Analytics
...
Add Cost Savings hero card showing proxy cost vs direct API cost with
visual comparison bars. Add Cost column to Model Breakdown table.
Display savings percentage and total amount saved.
2025-12-28 03:19:51 +07:00
Finessse
5c60aea115
feat(api): add update management endpoints
...
Add handlers for update status, download, verify, and install operations.
Register new routes: GET /updates/status, POST /updates/download,
POST /updates/verify, POST /updates/install. Track download progress
with background goroutine and mutex-protected state.
2025-12-28 03:19:34 +07:00
Finessse
0a5b2f1fc0
feat(updates): add cross-platform update installation
...
Add install.go with archive extraction (zip, tar.gz) and binary replacement
logic. Windows uses batch script for safe replacement of running executable.
Unix directly replaces binary with backup. Includes cleanup for old versions.
2025-12-28 03:19:13 +07:00