mirror of
https://github.com/zgs225/cliproxy-plugin-commandcode.git
synced 2026-09-26 11:42:48 +08:00
- New provider: OpenCode Go (GET https://opencode.ai/zen/go/v1/usage, Bearer auth) - Extract shared transport doUpstreamRequest (host.http.do first, net/http fallback) - New management routes: GET/POST /plugins/commandcode/opencode/usage, GET/POST /plugins/commandcode/all - /all aggregates both providers sequentially with partial-failure semantics (>=1 success -> 200, all-local-missing -> 400, all-upstream-failure -> 502) - QuotaCard UI: tabs (Command Code / OpenCode Go / All), OpenCode window cards, version badge v0.3.0, OpenCode API key test override in settings drawer - Config: opencode_api_key / opencode_api_base (ConfigFields 2 -> 4) - Tests: route-order regression, /all partial failure & misclassification guards, ParseOpenCodeUsage edge cases, host/http transport paths
26 lines
307 B
Plaintext
26 lines
307 B
Plaintext
# Binaries & Shared Libraries
|
|
*.dylib
|
|
*.so
|
|
*.dll
|
|
*.h
|
|
*.exe
|
|
*.test
|
|
|
|
# Go workspace & coverage
|
|
coverage.txt
|
|
*.out
|
|
|
|
# OS & IDE
|
|
.DS_Store
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
|
|
# Release artifacts (attached to GitHub Releases, not tracked in git)
|
|
*.zip
|
|
checksums.txt
|
|
dist/
|
|
|
|
# Internal planning docs (not for public repo)
|
|
docs/
|