Skip to content

refactor: sync opencode cli core#46

Merged
Astro-Han merged 1 commit into
devfrom
refactor/opencode-cli-core
Apr 20, 2026
Merged

refactor: sync opencode cli core#46
Astro-Han merged 1 commit into
devfrom
refactor/opencode-cli-core

Conversation

@Astro-Han

Copy link
Copy Markdown
Owner

Summary

  • Sync the non-TUI packages/opencode/src/cli/** core slice to upstream v1.4.11
  • Keep the PR 6 boundary tight by excluding packages/opencode/src/cli/cmd/tui/**
  • Add or update CLI regressions for error formatting and sanitized export
  • Remove the obsolete packages/opencode/test/cli/run.test.ts helper test as part of the upstream sync

Why

PawWork still relies on vendored packages/opencode as foundation infrastructure. This PR keeps the CLI core slice aligned with upstream semantics in the PR 6 lane, reduces architectural drift, and preserves PawWork-specific fit where upstream behavior would mislead users or leak sensitive export data.

Related Issue

Part of #27

How To Verify

cd packages/opencode && bun run typecheck
cd packages/opencode && bun test --timeout 30000 test/cli/error.test.ts test/cli/export.test.ts test/cli/github-action.test.ts test/cli/github-remote.test.ts test/cli/import.test.ts test/cli/plugin-auth-picker.test.ts

Manual checks: none, no visible UI changes in this slice.

Screenshots or Recordings

N/A

Checklist

  • I ran the relevant verification steps
  • I tested visible changes manually when needed
  • I am targeting the dev branch

@Astro-Han Astro-Han merged commit 10947b1 into dev Apr 20, 2026
9 checks passed
@Astro-Han Astro-Han deleted the refactor/opencode-cli-core branch April 20, 2026 04:22
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