Before Upgrading to OpenCode 2: Assessing Migration for a Plugin-Based Agent Environment
Background
Section titled āBackgroundāIn a plugin-centered agent environment, an upgrade is not complete just because the CLI starts. Category delegation, skill loaders, todo hooks, LSP, authentication plugins, and an external orchestrator form a single workflow. The unit of migration is therefore the workflow that actually survives, not the binary.
The reference date is 2026-10-26 KST. This article uses records from the following macOS arm64 environment.
| Component | Reference version or environment | Evidence |
|---|---|---|
| OpenCode V1 | opencode-ai 1.19.0, global npm installation | [Execution] Existing environment version check |
| Node.js | nvm-managed v24.13.0 | [Execution] Existing environment check |
| OpenCode plugin | oh-my-openagent 5.1.48, published to npm on 2026-10-25 (UTC) | [Execution] npm lookup and published package inspection |
| OmO Native | omo-ai 5.1.48 | [Execution] omo --version |
| Native engine | senpi 2026.10.25-2 | [Execution] Version output; [Static] Pinned omo-ai dependency |
| Bun | Changed from 1.3.6 to 1.4.4 | [Execution] Runtime requirement encountered during installation |
[Execution] means commands actually run in that environment; [Static] means comparison against documentation, code, or published artifacts. The only operation I reran while writing this article was the version-pinned npm pack. The verification scope is as follows.
| Evidence type | Checked scope | Interpretation and untested items |
|---|---|---|
| [Execution] macOS records | Installation, migration, OAuth, model requests, herdr, skill discovery, and the additional TLS failure and recovery | Observations from this configuration; counts describe its imported entries, not product limits |
[Execution] Version-pinned npm pack | Downloading the published packages and inspecting files | Artifact collection was executed; the V2 feature assessment below is a static code comparison |
| [Static] Documentation and published artifacts | V2 guide as of the reference date; 5.1.48 exports, bundles, migration guide, and engine requirements; asset-discovery code in senpi 2026.10.25-2; maintainer OWNER comments | Recheck the intended release against its documentation immediately before upgrading. Operational burden in the comparison tables is a qualitative judgment for this environment |
| NOT RUN | Binary reproduction of V2 installation, TUI toast, permission precedence, and model-field warnings; actual Native LSP diagnostics; individual V2 tests for every authentication and integration plugin; community fork | Distinguish doctor category/Runtime PASS and model self-report from end-to-end evidence for individual tasks |
Public examples use the placeholders my-azure for the custom provider name and https://<resource>.example.com for its endpoint. Public built-in provider IDs such as github-copilot and azure-cognitive-services retain their original spelling to explain authentication and adapter differences.
The decision can be stated upfront: use B, OmO Native, as the primary tool and retain C, OpenCode V1 with the plugin, as a fallback. Moving to A, standalone OpenCode V2, while expecting the same plugin features is not appropriate for this environment at this point.
What Actually Changes in V2
Section titled āWhat Actually Changes in V2āConfiguration Compatibility Is Not Runtime Compatibility
Section titled āConfiguration Compatibility Is Not Runtime Compatibilityā[Static] The official OpenCode V2 migration guide groups intentional breaking changes into three areas.
- Plugin API: V1 implementations do not run in V2 and must be ported to the new API.
- Server API and clients: Integrations calling the V1 Server API must migrate to the new contract. The V2 client uses
@opencode/client. - Terminal configuration: Layered
tui.json(c)files give way to the global~/.config/opencode/cli.json.
When cli.json is absent, the first V2 terminal startup migrates supported global settings and persisted preferences, leaving V1 files intact. Project-local client settings are excluded from automatic migration.
V1 and V2 share the opencode command and default installation path. The official guide requires removing a package-managed V1 before installing V2, whose installer replaces the V1 binary. For a global npm V1 installation such as this one, run npm uninstall -g opencode-ai before switching. The V1 rollback command is npm i -g opencode-ai@<previous-version>; replace <previous-version> with the actual backed-up version. Both commands change global packages and binaries.
Conversely, V2 still reads supported parts of V1-format configuration. Conversion to the native V2 format is optional. Because both versions share configuration locations, giving V1 a file converted to a V2-only shape prevents that configuration rollback. Back up configuration, plugin registration, and authentication state separately from the binary. These backups can contain secrets: keep them private and out of repositories.
Easy-to-Miss Defaults and Feature Boundaries
Section titled āEasy-to-Miss Defaults and Feature Boundariesā[Static] The following defaults and feature boundaries were checked in the official V2 guide as of the reference date.
| Item | V2 behavior | Effect on an existing workflow |
|---|---|---|
external_directory | Defaults to allow; V1 used ask | Explicitly restore approval for access outside the project |
| Todos | Off by default | Enable experimental.todo if needed; experimental stability is a separate concern |
| LSP | Configuration retained, but servers, tools, and diagnostics do not run | Use project lint, typecheck, or compiler checks as a separate validation path |
| Instruction discovery | Discovers only AGENTS.md as of the reference date | Move instructions if they relied on CLAUDE.md; the guide also asks for a compatibility issue |
| Permission actions | bash ā shell, task ā subagent, write/patch ā edit | Migrate policies to the new action names and inspect the final effect |
| Unsupported V1 fields | Some are ignored with a warning | Check parsing results alongside actual functionality |
[Static] Convert permissions only in a V2-specific file. The official guide states that when top-level V1 permission and V2 permissions set the same canonical value, a valid V2 value takes precedence. Adding only the permissions array below to an existing file can cause V1 rules to be ignored. Move every existing V1 permission rule into the V2 permissions array, then put the external_directory ask rule last. Do not put this configuration in the file retained for V1 rollback. This precedence was checked in documentation; binary reproduction is NOT RUN.
The example shows where to place the converted rules before appending the external-directory approval rule. Replace the comment with all existing rules. The official Permissions documentation specifies last-match precedence; check the final policy including agent rules appended afterward.
{ "permissions": [ // Place every converted V1 permission rule before the final rule below. { "action": "external_directory", "resource": "*", "effect": "ask" } ], "experimental": { "todo": true }}Field location matters as much as its name. [Static] The behavior of V1 provider-model attachment being ignored with a warning was checked in the guideās Accepted but unsupported fields section. Distinguish this from the top-level attachment object ā media conversion when checking model capabilities.
How to Inspect Plugin V2 Support Directly
Section titled āHow to Inspect Plugin V2 Support DirectlyāInspect Published Artifacts, Not Just npm Metadata
Section titled āInspect Published Artifacts, Not Just npm Metadataā[Execution] The published oh-my-openagent@5.1.48 package was downloaded with npm pack. [Static] Its package.json contains neither peerDependencies nor engines, so the implementation must establish the actual support boundary.
The following procedure requires npm, Node.js, and tar in a shell and contacts the npm registry to download a tarball. The tarball and extracted files are stored in a new temporary directory; npm caches and logs may also be updated. Working registry authentication, CA trust, and enabled TLS verification are prerequisites. npm pack against a registry spec does not run lifecycle scripts; --ignore-scripts was added defensively. The Node.js code below only reads files without importing the package.
workdir="$(mktemp -d)"cd "$workdir"npm pack oh-my-openagent@5.1.48 --ignore-scriptstar -xzf oh-my-openagent-5.1.48.tgznode --input-type=module <<'NODE'import { readFileSync, readdirSync } from 'node:fs';const pkg = JSON.parse(readFileSync('package/package.json', 'utf8'));if (pkg.version !== '5.1.48') throw new Error('Unexpected package version');console.log({ version: pkg.version, peerDependencies: pkg.peerDependencies ?? null, engines: pkg.engines ?? null, exports: pkg.exports });console.log(readdirSync('package/dist/opencode-v2'));for (const file of ['dist/index.js', 'dist/tui.js']) { const text = readFileSync(`package/${file}`, 'utf8'); for (const needle of ['[opencode-v2] loaded without the V1 runtime', 'OpenCode 2 support is limited:', 'var opencodeV2Server =', 'var opencodeV2Tui =']) { const at = text.indexOf(needle); if (at >= 0) console.log(file, text.slice(at, at + 600)); }}NODE[Static] In this version, dist/opencode-v2/ contains server-entry.d.ts, tui-entry.d.ts, and startup-notice.d.ts. Inspecting the implementation requires following the bundled code in dist/index.js and dist/tui.js, rather than only looking for standalone JS files in that directory. Also inspect the ./server and ./tui exports in package.json.
The inspected V2 server setup() contains only this log call.
[opencode-v2] loaded without the V1 runtimeThe V2 TUI entrypoint shows a warning toast with this key message.
OpenCode 2 support is limited: the plugin loads, but its agents, tools and hooks are not active here.The message in published code calls for separating entrypoint exists ā plugin loads ā agents, tools, and hooks work. Version 5.1.48 provides the first two paths and explicitly states that the final set of features is inactive.
Assess other versions by following the entrypoint, actual registration code, and execution tests for required features, rather than warning-string presence alone. The server implementation at the 5.1.48 publishing commit and TUI implementation provide comparison sources.
Comparing Options A, B, and C
Section titled āComparing Options A, B, and CāThe Maintainerās Official V2 Support Policy
Section titled āThe Maintainerās Official V2 Support Policyā[Static] OWNER comments on GitHub issues and PR merge records establish how the support scope changed. Dates below are UTC.
| Date | Official record | Implication for the decision |
|---|---|---|
| 2026-10-01 | Staged dual-host plan in #6169 and first-slice announcement: migrate one subsystem at a time, starting with PR #9391 | V1/V2 dual-host implementation was initially being pursued |
| 2026-10-16 | OWNER comment in #9389: āweāve paused the OpenCode V2 dual-host work on our side for nowā | The projectās own dual-host work was paused |
| 2026-10-17 | Follow-up OWNER comment in #9389: declined the full community port with submitted Runtime verification, retaining loading-only support in the official repository | OmO Native is the official distribution path for the full omo experience |
| 2026-10-18 | PR #10439 merged; tracking issue #8485 closed as completed | Completion covers plugin loading on V2 and the Native notice toast; agents, tools, and hooks are outside the PR scope |
The exact wording from the October 17 OWNER comment is:
We are not taking the full port into this repo: OpenCode 2 support here stays scoped to loading the plugin (#10439, tracked in #8485), and the full omo experience is shipped as OmO Native. Your fork remains the place for a complete OpenCode 2 port.
Read āfor nowā as the temporal boundary of the current policy. The unofficial community fork remains a separate path for a full port, distinct from loading support in the official repository. Choose based on this policy rather than assuming a complete official V2+omo integration will arrive.
The A, B, and C Decision for This Environment
Section titled āThe A, B, and C Decision for This Environmentā[Static] This comparison combines the 5.1.48 limitations, official migration guidance, and the [Execution] results below into a decision for this environment.
| Criterion | A Ā· Standalone OpenCode V2 | B Ā· OmO Native (omo-ai) | C Ā· OpenCode V1 + plugin |
|---|---|---|---|
| Execution foundation | OpenCode V2 | Pinned senpi + built-in OMO | opencode-ai 1.19.0 + oh-my-openagent 5.1.48 |
| omo category delegation, skill loader, todo hooks | Inactive in this pluginās V2 path | Retained through Native implementations; revalidation required | Existing workflow retained |
| LSP | V2 itself does not run it | [Execution] omo doctor: lsp-daemon runtime PASS; actual diagnostics untested | Existing path retained |
| Authentication | V1 antigravity/codex plugins cannot be reused unchanged; alternatives need checking | Some API keys imported, supported OAuth requires login; google/antigravity cannot migrate | Existing authentication paths retained |
| herdr | Existing V1 integration plugin path cannot be retained unchanged; alternatives unverified | [Execution] Recognized as pi, prompt/read worked | Existing integration retained |
| Skills and agents | Distinguish V2 built-in features from omo features | ~/.agents/skills verified; other discovery paths and named agents differ | Existing configuration retained |
Tool permissions, plugin hooks, small_model, UI settings | Convert separately using the OpenCode V2 guide; V1 plugin hooks do not run | [Static] Not imported; reconfigure Native permission policies | Existing settings retained |
| Coexistence and rollback | Shares command/config locations with V1; back up before conversion | Can coexist with V1, but first-session configuration movement matters | Current environment preserved |
| Decision here | Defer migration until the omo V2 policy changes | Primary tool for now | Retained for fallback and recovery |
Option A requires rebuilding the workflow assembled through existing plugins on V2ās built-in features. Option B is an independent CLI using a pinned senpi engine.
Actual OmO Native Installation and Migration Results
Section titled āActual OmO Native Installation and Migration ResultsāAn Installed Message Does Not Mean the CLI Can Run
Section titled āAn Installed Message Does Not Mean the CLI Can Runā[Execution] The original installation attempt used the following command. This is a historical record, not a version-pinned reproduction command. Running it now can install a different version.
bunx oh-my-openagent install --platform=nativeThis executes installer code and can change global packages and the omo command. Back up the existing setup and identify which package manager owns the command first. For version reproduction, pin and check the final omo-ai and engine versions as well as the installer version.
| Pitfall | [Execution] Observation | Response and mutation scope |
|---|---|---|
| VPN and TLS inspection | Bun failed with SELF_SIGNED_CERT_IN_CHAIN | Register an organization-approved CA in the relevant Runtime trust chain, or switch to another permitted network |
| Same failure during Runtime model requests | Re-enabling the VPN after installation caused Native github-copilot requests to fail after five retries with The connection to the provider failed; Bun fetch reported SELF_SIGNED_CERT_IN_CHAIN | Export the approved CA as PEM, set NODE_EXTRA_CA_CERTS, and check in a new Native process |
| Runtime requirement | Installer ended with installed, but omo printed OmO needs Bun >= 1.4.0 (found 1.3.6) | On the Bun installation path, upgrade Bun and verify through omo --version |
| Lifecycle script blocking | Bun blocked the omo-ai postinstall | Review and trust only that package; distinguish installation from engine preparation |
| PATH collision | npm and Bun installations overlapped | Retain a single installation owner and recheck the binary selected by the current shell |
| Telemetry | Anonymous telemetry on by default | Decide whether to disable it explicitly before launch |
Success through npm is not evidence that the CA trust chain was validated.
[Execution] The additional TLS failure after installation also affected model requests. Exporting the approved CA certificate from the OS keychain as PEM and specifying its path restored server connectivity and the Native session. TLS verification stays enabled. The path below is a placeholder: verify certificate trust and management policy, then substitute the actual PEM path. Export no private keys. Stop the existing Native process and launch a new one with the environment variable applied.
NODE_EXTRA_CA_CERTS="$HOME/.config/certs/approved-ca.pem" omoFor persistence in zsh, add this single line to ~/.zshrc and run from a new shell. This also changes the CA trust scope of subsequent child processes.
export NODE_EXTRA_CA_CERTS="$HOME/.config/certs/approved-ca.pem"[Execution] In this environment, bun upgrade resulted in Bun 1.4.4, and only omo-ai was permitted to execute its lifecycle script as follows.
bun --versionbun upgradebun --versionbun pm -g trust omo-aitype -a omoomo --versionbun upgrade updates Bun itself to the latest version. bun pm -g trust omo-ai permits that globally installed packageās scripts to run. The omo-ai 5.1.48 postinstall is node bin/senpi-patch.mjs, which prepares the engine and handles the bin shim. @google/genai and protobufjs remained blocked.
[Static] The omo-ai requirement engines.node >=24.0.0 applies to both npm and Bun installation paths, and postinstall also runs with Node.js. [Execution] Node 24.13 produced an EBADENGINE warning for the transitive dependency hosted-git-info 10.1.1. [Static] That dependency requires ^24.15.0 on the Node 24.x line. The recommended setup is Node.js 24.x at 24.15.0 or newer, plus Bun 1.4 or newer on the Bun path.
[Static] The 5.1.48 notice lists both opt-outs separately. Choose one before starting omo. Each export affects only the current shell and its child processes, not persistent configuration.
export OMO_SEND_ANONYMOUS_TELEMETRY=0export OMO_DISABLE_POSTHOG=1Establish Migration Coverage With a Dry Run
Section titled āEstablish Migration Coverage With a Dry Runā[Execution] omo setup --dry-run was used to inspect the migration plan before importing and logging in.
omo setup --dry-runomo setup --ask-each[Static] Read the plan with the non-writing --dry-run, then approve each class of data with --ask-each, which actually writes the approved items. Setup reads OpenCode state and writes to Nativeās ~/.omo/agent/ and ~/.omo/omo.jsonc; it does not overwrite existing Native entries and creates timestamped backups of rewritten files. Plan output can contain model, provider, and path Metadata, so do not publish it verbatim.
[Execution] The migration results for this configuration are below. The final settings row is a [Static] comparison against the guideās What isnāt carried section.
| Migration target | Result | Remaining work |
|---|---|---|
| API keys | Two keys for anthropic and azure-openai-responses, plus one custom-provider key: three entries in auth.json | Check usability without printing secret values |
| OAuth | github-copilot and openai tokens not directly copied | Use /login github-copilot and /login chatgpt-subscription inside Native |
| google/antigravity OAuth | omo has no provider for it | Keep that path in the existing environment |
azure-cognitive-services / @ai-sdk/azure | Not migrated because this migration lacked an adapter | Check supported adapters and protocols separately |
Custom provider my-azure | One @ai-sdk/openai + baseURL configuration imported into models.json | Compare the actual URL, key, and model mapping locally |
| Categories | Nine imported | Check model availability and authentication separately |
| Agents retaining their names | explore, librarian, plan-consultant, plan-reviewer | Verify individual workflows |
| Agents not imported unchanged | Nine | Replace their roles through categories and revalidate |
Tool permissions, plugin hooks, small_model, UI settings | [Static] Not imported (What isnāt carried) | Reconfigure Native permission policies; rebuild required behavior with Native features |
The nine agents not imported unchanged were sisyphus, hephaestus, oracle, multimodal-looker, prometheus, atlas, sisyphus-junior, frontend-ui-ux-engineer, and document-writer. Rebuild their roles through categories, then verify prompts, models, and permissions separately.
[Execution] The observed Native agent list was explore, librarian, plan-consultant, plan-reviewer, omo-native-code-reviewer, omo-native-gate-reviewer, and omo-native-qa-executor.
With --ask-each, a question exceeded the terminal width and clipped [Y/n], making setup appear stuck. It was waiting for input. Check terminal width and the prompt before answering. Setup is idempotent: rerunning it skips previously imported entries. Recovery of incorrectly imported settings is a separate operation.
Distinguish Setupās No-Write Promise From First-Session Changes
Section titled āDistinguish Setupās No-Write Promise From First-Session Changesā[Static] The migration guide at the 5.1.48 publishing commit states that setup does not write to OpenCode files. However, legacy plugin configuration migration on the first Native session is a separate operation.
The first session can move oh-my-openagent.json[c] / oh-my-opencode.json[c] into global and project migration-backup locations. A 5.x plugin reads the shared ~/.omo/omo.jsonc, but a plugin such as 4.19.x that reads only the old file can fall back to defaults after the move. This 5.x environment is unaffected by that file movement. On 4.19.x, restore the migration-backup copy to its original location after the first session. Check configuration locations before and after that session, following the guideās Keeping OpenCode around section.
Verify With Doctor and Real Workflows
Section titled āVerify With Doctor and Real Workflowsā[Execution] Before login, omo doctor reported task categories: 0 of 10 usable. After setup and /login github-copilot inside Native, it reported PASS all 10 usable. architect had been added, bringing the count to ten, so this does not contradict the earlier nine imported categories.
omo doctorAfter checking category availability, the following workflows were inspected.
- Model request [Execution]:
claude-opus-5.5responded normally throughgithub-copilot. However, when asked which provider it was using, the model incorrectly answeredanthropic. The session JSONL field"provider":"github-copilot"established the recorded provider. Use the status bar and session records rather than model self-report, and do not publish raw JSONL. - herdr [Execution]: Native was recognized as type
pi; theagent prompt --waitandagent readflows worked. - Skills [Execution]:
~/.agents/skillswas discovered, but synchronized skills under~/.claude/skillswere not discovered in this test. Workflows using docs/pdf/pptx/xlsx skills need separate migration. Bundled skills includedgit-master,review-work,frontend,refactor, andulw-*families. - V1 coexistence [Execution]: Doctor reported
OpenCode still loads the oh-my-openagent pluginas INFO, describing the existing registration. Coexistence between the existing V1 installation and Native was also verified.
Asset Compatibility Between the Two Tools
Section titled āAsset Compatibility Between the Two Toolsā[Static] Published code from omo-ai 5.1.48 and the pinned engine senpi 2026.10.25-2 was compared using the engineās published package. Separate asset format from discovery behavior for the skills and instruction files below. Standardizing their location reduces rewriting when switching CLIs.
| Asset | Native format, discovery, and import coverage | Strategy for both tools |
|---|---|---|
| Skills | The SKILL.md format is the same. Default discovery covers ~/.omo/agent/skills, ~/.agents/skills, and skills in the project configuration directory; additional paths can also be loaded. ~/.claude/skills is not a default discovery path [Execution] | Keep shared skills in ~/.agents/skills |
| Per-directory instructions | Nativeās context loader selects the first file in the order AGENTS.override.md ā AGENTS.md ā CLAUDE.md per directory. The rules extension also reads .claude/rules. V2 discovers only AGENTS.md as of the reference date | Keep shared instructions in AGENTS.md |
| Global instructions | Nativeās rules extension selects ~/.config/opencode/AGENTS.md first and reads ~/.claude/CLAUDE.md if it is absent | Check precedence rather than expecting both files to be merged |
| Agents | V1 agent definitions are not directly compatible. Native uses seven built-ins and categories in the [native] section of omo.jsonc. Setup imports model and reasoning settings for supported names, but not unsupported names or existing prompts | Define roles through categories and separate instruction documents; rebuild prompts |
| MCP | Setup converts to the ~/.omo/agent/mcp.json format | Inspect the conversion plan and unsupported entries in a dry run |
| Permissions and plugins | No equivalent import of V1 tool permissions or plugin hooks | Reconfigure Native permission policies and rebuild required hook behavior |
Discovery was checked in the engineās dist/core/skills.js, dist/core/context-files.js, and dist/core/extensions/builtin/rules/rules/finder.js; import coverage was compared with omo-aiās bin/lib/setup-opencode-models.js and bin/lib/setup-opencode-assets.js. Skill files and instruction documents are the portable core; each tool owns model routing, permissions, and execution hooks.
Standalone V2 Versus Native at This Point
Section titled āStandalone V2 Versus Native at This PointāThe V2 column is based on documentation, not execution [Static]; the Native column combines actual usage records [Execution] with pinned-code comparison [Static]. ā denotes workflow retention or feature support, ā³ denotes conditional or partial verification, and ā denotes the absence of the stated omo workflow or import path.
| Criterion | OpenCode V2 Ā· without omo | OmO Native |
|---|---|---|
| Retaining the omo workflow | ā Existing delegation, omo skill loader, todo hooks, and verification loops lost | ā Retained through Native workflows |
| LSP | ā Not executed according to the reference-date guide | ā³ lsp-daemon runtime PASS; actual diagnostics untested |
| Todos | ā³ Off by default, experimental.todo | ā Used in the Native workflow |
| Authentication | Existing antigravity/codex authentication plugins unavailable; built-in and alternative authentication needs separate verification | ā Copilot and API keys used, ā antigravity |
| Permissions and importing existing policies | ā Explicit ordered rules; external_directory allowed by default | ā V1 policies not imported; Native policy reconfiguration required |
| Instruction files | AGENTS.md | AGENTS.md, CLAUDE.md, .claude/rules |
| Ecosystem | Official OpenCode, Server API, multiple clients; V1 plugins in an API transition | Separate senpi engine, single-maintainer dependency risk; detached from the OpenCode ecosystem |
| Operational burden | Relatively lower: no separate omo/senpi operation; V2 migration still needs validation | Bun 1.4 or newer on the Bun path, approved CA configuration, and telemetry enabled by default to manage |
| herdr | Existing V1 integration plugin breaks; default detection unverified | ā Recognized as pi; prompt/read checked |
Native is the stronger fit here for retaining an omo-style workflow. Validate V2 separately if its built-in features are sufficient without omo, or if organizational policy allows only official tools.
Conclusion and Checklist
Section titled āConclusion and ChecklistāThe environment largely retained herdr integration, category delegation, and ~/.agents skills. It did not carry over the google/antigravity path, synchronized ~/.claude skills, or named agent configurations such as oracle unchanged. Successful installation and preservation of the same working environment are different judgments.
For now, use Native as the primary tool and retain V1 as a fallback. Under the maintainerās current policy, waiting for a full V2 omo port within the official repository has effectively ceased to be an option. This environment will not upgrade OpenCode itself until the omo V2 policy changes.
Long-term risks include senpi/omo-ai release and issue-response concentration in one maintainer, separation from the OpenCode ecosystem, and Runtime, CA, and telemetry operations. The shift from pursuing dual-host support to pausing it also shows why the current policy should not be treated as a permanent support contract.
Keep portability outside the tool. Store shared skills in ~/.agents/skills and shared instructions in AGENTS.md; define roles through categories and instruction documents rather than specific agent names. Maintain a tool-replacement boundary through an external orchestrator such as herdr.
- Privately back up binaries, configuration, and authentication state. Prepare the global npm V1 switch command
npm uninstall -g opencode-ai, rollback commandnpm i -g opencode-ai@<previous-version>, and restoration of V1-format configuration. - Compare the intended V2 release against the official guide again.
- Inspect the exact
npm packversion, exports, and bundled implementation. - Distinguish successful loading from successful agents/tools/hooks execution.
- Review
external_directory, todos, LSP,AGENTS.md, and permission action names. - Move all V1 permission rules into the V2 array and put
external_directoryasklast. Keep a separate V1 rollback file. - Reconfigure Native permission policies and identify replacements for plugin hooks,
small_model, and UI settings. - Verify warnings and capabilities in the actual target version for the model-level
attachmentfield documented as ignored. - Preserve CA trust and enable TLS verification. With the VPN enabled, test model requests in a new process using
NODE_EXTRA_CA_CERTS. - Check Node.js 24.x at 24.15.0 or newer, the additional Bun-path requirement of Bun 1.4 or newer, postinstall permissions, and PATH ownership.
- Decide the anonymous telemetry policy before launching.
- Verify dry run, actual import, and OAuth login as separate stages.
- Check first-session legacy configuration movement and V1 coexistence.
- Test model requests, delegation, herdr, and skill discovery, not only category availability.
- Establish the actual provider through status/session Metadata, not the modelās answer.
- Revisit the fallback Runtime replacement plan if V1 support ends.
- Track a change in omoās V2 policy or stabilization of a community fork as a reassessment trigger.
- Reevaluate alternatives if senpi/omo-ai releases or issue responses deteriorate.
- Revisit operations if organizational tool policy restricts telemetry or external engines.
When refreshing the evidence, check the official V2 migration guide, the authorās current migration guide, the 5.1.48 plugin publication, and the 5.1.48 Native publication together. If current documentation and a pinned artifact differ, prioritize evidence matching the execution target and record the difference.