Skip to content

chore: remove unused TUI surface#103

Merged
Astro-Han merged 27 commits into
devfrom
codex/chore-remove-tui
Apr 22, 2026
Merged

chore: remove unused TUI surface#103
Astro-Han merged 27 commits into
devfrom
codex/chore-remove-tui

Conversation

@Astro-Han

Copy link
Copy Markdown
Owner

Summary

Remove the unused TUI surface now that PawWork is GUI-only:

  • deleted the opencode TUI runtime tree, TUI config files, server TUI routes, schema output, parser worker wiring, and OpenTUI build entries
  • narrowed plugin install/load/meta handling to server plugins only, with TUI-only and oc-themes packages treated as unsupported for install
  • regenerated OpenAPI and SDK outputs without /tui routes or TUI client helpers

Why

The Tauri compatibility cleanup from #93 is already merged. This completes the second cleanup slice from #91 by removing the unused TUI code path while keeping Electron GUI, embedded server, and PTY paths intact.

Related Issue

Closes #91

How To Verify

bun test --timeout 30000
bun test test/config/config.test.ts test/plugin/loader-shared.test.ts test/plugin/install.test.ts test/plugin/install-concurrency.test.ts test/server/no-tui-routes.test.ts test/script/schema.test.ts test/mcp/no-tui-event.test.ts
bun run typecheck
bun run build
bun run smoke:ci
bun run script/build.ts --single --skip-install --skip-embed-web-ui

Also ran package-level typechecks/builds for packages/opencode, packages/plugin, packages/sdk/js, packages/app, and packages/desktop-electron, plus a final residual scan for TUI/OpenTUI symbols.

Screenshots or Recordings

Not applicable. This removes unused runtime/API/build surfaces and does not add visible UI behavior.

Checklist

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

@Astro-Han Astro-Han added enhancement New feature or request P3 Low priority upstream Tracked upstream or vendor behavior labels Apr 21, 2026
@coderabbitai

coderabbitai Bot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 199 files, which is 49 over the limit of 150.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: e48df56f-b870-461b-99bb-93b75ff2f4d5

📥 Commits

Reviewing files that changed from the base of the PR and between 935ab33 and e7b73c6.

⛔ Files ignored due to path filters (5)
  • bun.lock is excluded by !**/*.lock
  • packages/sdk/js/src/gen/sdk.gen.ts is excluded by !**/gen/**
  • packages/sdk/js/src/gen/types.gen.ts is excluded by !**/gen/**
  • packages/sdk/js/src/v2/gen/sdk.gen.ts is excluded by !**/gen/**
  • packages/sdk/js/src/v2/gen/types.gen.ts is excluded by !**/gen/**
📒 Files selected for processing (199)
  • package.json
  • packages/opencode/bunfig.toml
  • packages/opencode/package.json
  • packages/opencode/parsers-config.ts
  • packages/opencode/script/build.ts
  • packages/opencode/script/schema.ts
  • packages/opencode/script/upgrade-opentui.ts
  • packages/opencode/specs/tui-plugins.md
  • packages/opencode/src/cli/cmd/plug.ts
  • packages/opencode/src/cli/cmd/tui/app.tsx
  • packages/opencode/src/cli/cmd/tui/attach.ts
  • packages/opencode/src/cli/cmd/tui/component/border.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-agent.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-command.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-console-org.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-mcp.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-model.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-session-list.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-session-rename.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-skill.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-stash.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-status.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-tag.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-theme-list.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-variant.tsx
  • packages/opencode/src/cli/cmd/tui/component/dialog-workspace-create.tsx
  • packages/opencode/src/cli/cmd/tui/component/error-component.tsx
  • packages/opencode/src/cli/cmd/tui/component/logo.tsx
  • packages/opencode/src/cli/cmd/tui/component/plugin-route-missing.tsx
  • packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx
  • packages/opencode/src/cli/cmd/tui/component/prompt/cwd.ts
  • packages/opencode/src/cli/cmd/tui/component/prompt/frecency.tsx
  • packages/opencode/src/cli/cmd/tui/component/prompt/history.tsx
  • packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
  • packages/opencode/src/cli/cmd/tui/component/prompt/part.ts
  • packages/opencode/src/cli/cmd/tui/component/prompt/stash.tsx
  • packages/opencode/src/cli/cmd/tui/component/spinner.tsx
  • packages/opencode/src/cli/cmd/tui/component/startup-loading.tsx
  • packages/opencode/src/cli/cmd/tui/component/textarea-keybindings.ts
  • packages/opencode/src/cli/cmd/tui/component/todo-item.tsx
  • packages/opencode/src/cli/cmd/tui/config/cwd.ts
  • packages/opencode/src/cli/cmd/tui/context/args.tsx
  • packages/opencode/src/cli/cmd/tui/context/directory.ts
  • packages/opencode/src/cli/cmd/tui/context/event.ts
  • packages/opencode/src/cli/cmd/tui/context/exit.tsx
  • packages/opencode/src/cli/cmd/tui/context/helper.tsx
  • packages/opencode/src/cli/cmd/tui/context/keybind.tsx
  • packages/opencode/src/cli/cmd/tui/context/kv.tsx
  • packages/opencode/src/cli/cmd/tui/context/local.tsx
  • packages/opencode/src/cli/cmd/tui/context/plugin-keybinds.ts
  • packages/opencode/src/cli/cmd/tui/context/project.tsx
  • packages/opencode/src/cli/cmd/tui/context/prompt.tsx
  • packages/opencode/src/cli/cmd/tui/context/route.tsx
  • packages/opencode/src/cli/cmd/tui/context/sdk.tsx
  • packages/opencode/src/cli/cmd/tui/context/sync.tsx
  • packages/opencode/src/cli/cmd/tui/context/theme.tsx
  • packages/opencode/src/cli/cmd/tui/context/theme/aura.json
  • packages/opencode/src/cli/cmd/tui/context/theme/ayu.json
  • packages/opencode/src/cli/cmd/tui/context/theme/carbonfox.json
  • packages/opencode/src/cli/cmd/tui/context/theme/catppuccin-frappe.json
  • packages/opencode/src/cli/cmd/tui/context/theme/catppuccin-macchiato.json
  • packages/opencode/src/cli/cmd/tui/context/theme/catppuccin.json
  • packages/opencode/src/cli/cmd/tui/context/theme/cobalt2.json
  • packages/opencode/src/cli/cmd/tui/context/theme/cursor.json
  • packages/opencode/src/cli/cmd/tui/context/theme/dracula.json
  • packages/opencode/src/cli/cmd/tui/context/theme/everforest.json
  • packages/opencode/src/cli/cmd/tui/context/theme/flexoki.json
  • packages/opencode/src/cli/cmd/tui/context/theme/github.json
  • packages/opencode/src/cli/cmd/tui/context/theme/gruvbox.json
  • packages/opencode/src/cli/cmd/tui/context/theme/kanagawa.json
  • packages/opencode/src/cli/cmd/tui/context/theme/lucent-orng.json
  • packages/opencode/src/cli/cmd/tui/context/theme/material.json
  • packages/opencode/src/cli/cmd/tui/context/theme/matrix.json
  • packages/opencode/src/cli/cmd/tui/context/theme/mercury.json
  • packages/opencode/src/cli/cmd/tui/context/theme/monokai.json
  • packages/opencode/src/cli/cmd/tui/context/theme/nightowl.json
  • packages/opencode/src/cli/cmd/tui/context/theme/nord.json
  • packages/opencode/src/cli/cmd/tui/context/theme/one-dark.json
  • packages/opencode/src/cli/cmd/tui/context/theme/opencode.json
  • packages/opencode/src/cli/cmd/tui/context/theme/orng.json
  • packages/opencode/src/cli/cmd/tui/context/theme/osaka-jade.json
  • packages/opencode/src/cli/cmd/tui/context/theme/palenight.json
  • packages/opencode/src/cli/cmd/tui/context/theme/rosepine.json
  • packages/opencode/src/cli/cmd/tui/context/theme/solarized.json
  • packages/opencode/src/cli/cmd/tui/context/theme/synthwave84.json
  • packages/opencode/src/cli/cmd/tui/context/theme/tokyonight.json
  • packages/opencode/src/cli/cmd/tui/context/theme/vercel.json
  • packages/opencode/src/cli/cmd/tui/context/theme/vesper.json
  • packages/opencode/src/cli/cmd/tui/context/theme/zenburn.json
  • packages/opencode/src/cli/cmd/tui/context/tui-config.tsx
  • packages/opencode/src/cli/cmd/tui/event.ts
  • packages/opencode/src/cli/cmd/tui/feature-plugins/home/footer.tsx
  • packages/opencode/src/cli/cmd/tui/feature-plugins/home/tips-view.tsx
  • packages/opencode/src/cli/cmd/tui/feature-plugins/home/tips.tsx
  • packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/context.tsx
  • packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/files.tsx
  • packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/footer.tsx
  • packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/lsp.tsx
  • packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/mcp.tsx
  • packages/opencode/src/cli/cmd/tui/feature-plugins/sidebar/todo.tsx
  • packages/opencode/src/cli/cmd/tui/feature-plugins/system/plugins.tsx
  • packages/opencode/src/cli/cmd/tui/plugin/api.tsx
  • packages/opencode/src/cli/cmd/tui/plugin/index.ts
  • packages/opencode/src/cli/cmd/tui/plugin/internal.ts
  • packages/opencode/src/cli/cmd/tui/plugin/runtime.ts
  • packages/opencode/src/cli/cmd/tui/plugin/slots.tsx
  • packages/opencode/src/cli/cmd/tui/routes/home.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/dialog-fork-from-timeline.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/dialog-message.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/dialog-subagent.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/dialog-timeline.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/footer.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/permission.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/question.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/sidebar.tsx
  • packages/opencode/src/cli/cmd/tui/routes/session/subagent-footer.tsx
  • packages/opencode/src/cli/cmd/tui/thread.ts
  • packages/opencode/src/cli/cmd/tui/ui/dialog-alert.tsx
  • packages/opencode/src/cli/cmd/tui/ui/dialog-confirm.tsx
  • packages/opencode/src/cli/cmd/tui/ui/dialog-export-options.tsx
  • packages/opencode/src/cli/cmd/tui/ui/dialog-help.tsx
  • packages/opencode/src/cli/cmd/tui/ui/dialog-prompt.tsx
  • packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx
  • packages/opencode/src/cli/cmd/tui/ui/dialog.tsx
  • packages/opencode/src/cli/cmd/tui/ui/link.tsx
  • packages/opencode/src/cli/cmd/tui/ui/spinner.ts
  • packages/opencode/src/cli/cmd/tui/ui/toast.tsx
  • packages/opencode/src/cli/cmd/tui/util/binary.ts
  • packages/opencode/src/cli/cmd/tui/util/clipboard.ts
  • packages/opencode/src/cli/cmd/tui/util/editor.ts
  • packages/opencode/src/cli/cmd/tui/util/model.ts
  • packages/opencode/src/cli/cmd/tui/util/provider-origin.ts
  • packages/opencode/src/cli/cmd/tui/util/revert-diff.ts
  • packages/opencode/src/cli/cmd/tui/util/scroll.ts
  • packages/opencode/src/cli/cmd/tui/util/selection.ts
  • packages/opencode/src/cli/cmd/tui/util/signal.ts
  • packages/opencode/src/cli/cmd/tui/util/terminal.ts
  • packages/opencode/src/cli/cmd/tui/util/transcript.ts
  • packages/opencode/src/cli/cmd/tui/win32.ts
  • packages/opencode/src/cli/cmd/tui/worker.ts
  • packages/opencode/src/config/config.ts
  • packages/opencode/src/config/tui-migrate.ts
  • packages/opencode/src/config/tui-schema.ts
  • packages/opencode/src/config/tui.ts
  • packages/opencode/src/flag/flag.ts
  • packages/opencode/src/mcp/index.ts
  • packages/opencode/src/plugin/install.ts
  • packages/opencode/src/plugin/meta.ts
  • packages/opencode/src/plugin/shared.ts
  • packages/opencode/src/server/instance/index.ts
  • packages/opencode/src/server/instance/tui.ts
  • packages/opencode/src/server/routes/instance/tui.ts
  • packages/opencode/src/util/index.ts
  • packages/opencode/src/util/keybind.ts
  • packages/opencode/test/cli/cmd/tui/prompt-part.test.ts
  • packages/opencode/test/cli/tui/_mock-tui-runtime.ts
  • packages/opencode/test/cli/tui/dialog-session-list.test.tsx
  • packages/opencode/test/cli/tui/dialog-workspace-create.test.ts
  • packages/opencode/test/cli/tui/error-component.test.ts
  • packages/opencode/test/cli/tui/keybind-plugin.test.ts
  • packages/opencode/test/cli/tui/permission-title.test.ts
  • packages/opencode/test/cli/tui/plugin-add.test.ts
  • packages/opencode/test/cli/tui/plugin-install.test.ts
  • packages/opencode/test/cli/tui/plugin-lifecycle.test.ts
  • packages/opencode/test/cli/tui/plugin-loader-entrypoint.test.ts
  • packages/opencode/test/cli/tui/plugin-loader-pure.test.ts
  • packages/opencode/test/cli/tui/plugin-loader.test.ts
  • packages/opencode/test/cli/tui/plugin-toggle.test.ts
  • packages/opencode/test/cli/tui/revert-diff.test.ts
  • packages/opencode/test/cli/tui/sdk-provider.test.tsx
  • packages/opencode/test/cli/tui/slot-replace.test.tsx
  • packages/opencode/test/cli/tui/sync-provider.test.tsx
  • packages/opencode/test/cli/tui/terminal.test.ts
  • packages/opencode/test/cli/tui/theme-provider.test.tsx
  • packages/opencode/test/cli/tui/theme-store.test.ts
  • packages/opencode/test/cli/tui/thread.test.ts
  • packages/opencode/test/cli/tui/toast.test.ts
  • packages/opencode/test/cli/tui/transcript.test.ts
  • packages/opencode/test/cli/tui/use-event.test.tsx
  • packages/opencode/test/config/tui.test.ts
  • packages/opencode/test/config/workspace-catalog.test.ts
  • packages/opencode/test/fixture/tui-plugin.ts
  • packages/opencode/test/fixture/tui-runtime.ts
  • packages/opencode/test/keybind.test.ts
  • packages/opencode/test/mcp/no-tui-event.test.ts
  • packages/opencode/test/plugin/install-concurrency.test.ts
  • packages/opencode/test/plugin/install.test.ts
  • packages/opencode/test/plugin/loader-shared.test.ts
  • packages/opencode/test/script/schema.test.ts
  • packages/opencode/test/server/no-tui-routes.test.ts
  • packages/opencode/test/server/session-select.test.ts
  • packages/opencode/tsconfig.json
  • packages/plugin/package.json
  • packages/plugin/src/tui.ts
  • packages/sdk/js/src/server.ts
  • packages/sdk/js/src/v2/server.ts
  • packages/sdk/openapi.json

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/chore-remove-tui

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request performs a comprehensive removal of the Terminal User Interface (TUI) subsystem. Key changes include the deletion of the entire src/cli/tui directory, encompassing all TUI components, contexts, routes, and plugin infrastructure. Additionally, the @opentui/core and @opentui/solid dependencies have been removed from the project's configuration and lock files, and related build scripts and schema generation logic have been pruned. I have no feedback to provide.

@Astro-Han Astro-Han force-pushed the codex/chore-remove-tui branch from 7d8a98c to e16f2a0 Compare April 21, 2026 14:06

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-inline review body cleared. There are no remaining actionable inline findings for this PR.

@Astro-Han Astro-Han force-pushed the codex/chore-remove-tui branch from e16f2a0 to 5ee6c90 Compare April 21, 2026 14:11

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Migrated the remaining actionable top-level review note into an inline comment.

Comment thread packages/opencode/test/script/schema.test.ts Outdated

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P2] Minor test naming issues found during strict review.

1. packages/opencode/test/plugin/install.test.ts:151

Test name preserves JSONC comments when adding plugins to server and tui config still implies modification of tui config. The test verifies that existing tui.jsonc is left untouched when installing a package that exposes both server and tui exports.

Consider renaming to: preserves JSONC comments when adding plugins to server config, leaves existing tui config untouched or simply preserves JSONC comments when adding plugins to server config (tui exports ignored).

2. packages/opencode/test/plugin/install.test.ts:60

The plugin() fixture helper creates mock package.json exports including ./tui. This is valid for testing the "package exposes tui exports but we must not process them" scenario. However, the helper lacks a comment documenting this intent.

Adding a brief note like:

// Fixture helper for testing packages that expose server and/or tui exports.
// Used to verify: (1) server exports are processed, (2) tui exports are ignored.

Would make the test's purpose clearer for future readers.


All CI passing. Core cleanup is complete and thorough. These are minor documentation polish items.

@Astro-Han Astro-Han force-pushed the codex/chore-remove-tui branch from f813209 to 2a3cc04 Compare April 22, 2026 02:11

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Report

Overall Assessment

The PR structure is clear, and the commit split is reviewable. Each commit has one reversible intent. The change correctly removes the TUI runtime and related dependencies.

P0 (Blocking)

None.

P1 (Should Fix)

See the inline comments below.

P2 (Notes)

  1. The bun.lock diff is large because it removes the OpenTUI dependency tree. This is expected.
  2. The new test names are clear, including no-tui-routes.test.ts and no-tui-event.test.ts.
  3. The OpenAPI diff is large because the TUI API surface was removed. This is expected.

Verification Points (All Passed)

Check Result
OpenTUI dependencies removed Passed
CLI entry points have no TUI residue Passed
SDK API removed correctly Passed
OpenAPI has no /tui endpoints Passed
Plugin exports narrowed correctly Passed
Tests cover the behavior change Passed
Config.Keybinds removed correctly Passed
keybind.ts removed correctly Passed

Recommendation

After fixing the P1 comment issue, this should be ready to merge. The scope is controlled, the tests cover the behavior, and I did not find remaining TUI references that should block the PR.

Comment thread packages/opencode/test/plugin/install.test.ts Outdated
Comment thread packages/opencode/bunfig.toml
@Astro-Han Astro-Han force-pushed the codex/chore-remove-tui branch from 2a3cc04 to 0c4033a Compare April 22, 2026 02:40

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this is a well-executed cleanup PR. The changes systematically remove TUI surface across packages/opencode, packages/plugin, and packages/sdk. The addition of regression tests (no-tui-routes.test.ts, no-tui-event.test.ts) is good practice.

A few minor observations for consideration:


1. patchName retains a now-meaningless parameter

packages/opencode/src/plugin/install.ts:329-330

Since Kind type now only contains "server", the _kind parameter serves no purpose. The underscore prefix correctly indicates it's unused, but conceptually the function could simplify to:

function patchName(): "opencode" {
  return "opencode"
}

Or even just inline "opencode" at the call site. Not a bug, just a small conceptual redundancy left over from the refactor.


2. readV1Plugin tui check order change

packages/opencode/src/plugin/shared.ts:283-300 (patch)

The original code checked typeof tui !== "function" before rejecting. After the patch, invalid tui exports (non-function) get the error "unsupported tui export" instead of "invalid tui export". This is arguably more appropriate since TUI is no longer a supported target at all, so "unsupported" is semantically correct. Just noting the change in error message semantics.


3. MCP auth no longer notifies via toast

packages/opencode/src/mcp/index.ts:335-346 (patch)

The MCP OAuth failure handling now returns Effect.succeed(undefined) instead of publishing TuiEvent.ToastShow. This is expected given TUI removal. Confirming that GUI has alternative notification mechanisms for these auth warnings (or that they're handled differently in the GUI client).


4. Test fixture comment explains legacy behavior

packages/opencode/test/plugin/install.test.ts:67

Good addition of the comment explaining why fixtures still generate tui exports:

// Fixtures may expose legacy tui exports to verify that plugin install rejects unsupported targets.

5. Schema generator ignores extra argument

packages/opencode/script/schema.ts:51-59 (patch)

The script now accepts but ignores the second tuiFile argument. The test in schema.test.ts verifies this behavior by passing an extra file that should not be written. Clean approach.


No blocking issues. The PR accomplishes its stated goal of removing unused TUI surface while preserving server plugin functionality.

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall: well-executed cleanup. A few minor observations (P2, non-blocking).

Comment thread packages/opencode/src/plugin/install.ts
Comment thread packages/opencode/src/plugin/shared.ts
Comment thread packages/opencode/src/mcp/index.ts
@Astro-Han Astro-Han force-pushed the codex/chore-remove-tui branch from 0c4033a to ddc6301 Compare April 22, 2026 04:12

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strict nitpicking review for PR #103.

Comment thread packages/opencode/test/plugin/install.test.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional nitpicking review comments.

Comment thread packages/opencode/test/plugin/install.test.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More nitpicking review comments.

Comment thread packages/opencode/test/plugin/install-concurrency.test.ts Outdated

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code logic nitpicking.

Comment thread packages/opencode/src/plugin/shared.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final nitpicking comment.

Comment thread packages/opencode/src/cli/cmd/plug.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test fixture documentation nitpick.

Comment thread packages/opencode/test/plugin/install.test.ts Outdated
@Astro-Han Astro-Han force-pushed the codex/chore-remove-tui branch from ddc6301 to 35e8619 Compare April 22, 2026 05:38

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strict nitpicking review round 2.

Comment thread packages/opencode/src/plugin/shared.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More nitpicking.

Comment thread packages/opencode/test/plugin/loader-shared.test.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More nitpicking comments.

Comment thread packages/opencode/src/config/config.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDK surface nitpick.

Comment thread packages/sdk/js/src/v2/server.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build script nitpick.

Comment thread packages/opencode/script/build.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plugin meta nitpick.

Comment thread packages/opencode/src/plugin/meta.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test coverage nitpick.

Comment thread packages/opencode/test/plugin/install.test.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flag removal nitpick.

Comment thread packages/opencode/src/flag/flag.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Server routes nitpick.

Comment thread packages/opencode/src/server/instance/index.ts

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tsconfig nitpick.

Comment thread packages/opencode/tsconfig.json

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Package exports nitpick.

Comment thread packages/plugin/package.json

@Astro-Han Astro-Han left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Root package.json nitpick.

Comment thread package.json
@Astro-Han Astro-Han force-pushed the codex/chore-remove-tui branch from 35e8619 to e7b73c6 Compare April 22, 2026 06:35
@Astro-Han Astro-Han merged commit 48ad721 into dev Apr 22, 2026
14 checks passed
@Astro-Han Astro-Han deleted the codex/chore-remove-tui branch April 22, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request P3 Low priority upstream Tracked upstream or vendor behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Remove unused TUI and Tauri compatibility code

1 participant