Skip to content

feat: OpenCode Go local-first, adaptive refresh, cost JSONL tails#231

Merged
Finesssee merged 1 commit into
mainfrom
port/045-deferred-local
Jul 21, 2026
Merged

feat: OpenCode Go local-first, adaptive refresh, cost JSONL tails#231
Finesssee merged 1 commit into
mainfrom
port/045-deferred-local

Conversation

@Finesssee

@Finesssee Finesssee commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remaining deferred 0.45 ports (rebased onto main after #228/#229):

  1. OpenCode Go local-first Auto (Prefer OpenCode Go local usage in Auto mode steipete/CodexBar#2316) — SQLite opencode.db usage via rusqlite; Auto prefers local unless scoped web
  2. Adaptive refresh — policy table + Settings Adaptive option + auto_refresh wiring
  3. Cost incomplete tails — Claude JSONL walker yields final partial line when valid JSON

Test plan

  • adaptive_refresh tests
  • opencodego tests
  • Rebased cleanly onto main including aiand/hooks/usageSpend

No packaging.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Port deferred 0.45 work: SQLite local usage for OpenCode Go (steipete#2316) with
Auto local-first (web-first when scoped), Adaptive refresh policy + UI
option, and Claude cost scanner incomplete trailing JSONL line support.
@Finesssee
Finesssee merged commit 55d8502 into main Jul 21, 2026
1 check failed
@github-actions

Copy link
Copy Markdown

This repository allows each user to open at most 4 pull requests per 7 days.

Closing this automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant