Repository navigation
feat(desktop): import full OpenCode setup into an empty Classic profile - #16
Merged
Merged
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the owner-requested "Everything (full setup)" import mode next to the shipped chats-only importer (PR #14): a 1:1, opt-in copy of a local OpenCode profile into an empty Classic desktop sidecar profile.
auth.json, global config (JSONC-preserving), agents/skills/plugins, state, plans, tool output, workspace files and snapshot stores.O_NOFOLLOW, fingerprinted); the source DB, WAL and SHM remain byte-identical (tested). Hot rollback journals and symlinked/special SQLite auxiliaries are refused.OPENCODE_DB/config/auth env overrides, future schemas, external symlinks, cyclic alternates, >50 GiB / >500k entries, and insufficient disk (DB+WAL counted).Commits
5252258b9ffeat(desktop): stage full setup imports with offline profile activation4ebef81038fix(desktop): harden profile recovery and isolate source snapshots265a442bfbfix(desktop): own scratch snapshots, retain replaced profiles, harden consent966537ba62chore: bump version to 1.18.3155820a4323fix(desktop): keep native consent copy main-owned and locale parity intact4c734fa50dchore: normalize lockfile entry orderingBase
aa4e014e15→ head4c734fa50d(tree-only diff, no merge commits).Verification
4c734fa50d(run20260915T192312Z-4c734fa50d-package; environment/static/dependencies/focused/typecheck/lint/broad-tests/builds/desktop-build/package-linux); evidence and package checksums verified. Two earlier attempts failed correctly (real locale-parity defect fixed in55820a4323; a QA-wrapper-only bug)./global/config/provider/path/projectexercised → fresh-profile eligibility still holds.app.asarextraction, standalone Node): profile worker preview writes nothing; confirm stages DB + auth(0600) + config + worktree content, journalreadywith digest; source byte-identical. Chats-only worker regression PASS.Known limitations / residual risks
try/catch+ log continue is a recommended follow-up.busyuntil app restart (error copy says so).opencode.db(plain name); channel-suffixed source DBs are chats-only/browse-selectable for the DB, not the full profile..profile-import-retained-<id>directory per successful full import persists by design.Statement
No direct
mainpush, no upstream write, no tag or release created by this PR. Owner has authorized merge and the 1.18.31 draft-first release after checks.Requesting owner review; prefer a merge commit (no squash/rebase).