Skip to content

fix: mount force-input hint through TUI renderer - #209

Merged
mynameistito merged 1 commit into
mainfrom
fix/force-input-tui-render
Oct 21, 2026
Merged

mynameistito merged 1 commit into
mainfrom
fix/force-input-tui-render

Conversation

@mynameistito

@mynameistito mynameistito commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Return the footer contribution as JSX so OpenTUI mounts it inside the renderer.
  • Register the force-submit keymap layer once during plugin setup.
  • Update local testing instructions to load the built package directories.

Testing

  • bun run test (force-input package)
  • bun run typecheck (force-input package)
  • bun run build (force-input package)
  • bun run check (force-input package and workspace)

Summary by cubic

Fixes the force-input plugin mounting its footer hint through OpenTUI's renderer instead of injecting it into the UI manually.

  • The force-submit keymap layer now registers once during plugin setup instead of on every footer render.
  • The hint contribution returns JSX so OpenTUI mounts it via its renderer; the build entry moves to src/index.tsx.
  • Local testing instructions now load built package directories and describe a manual verification flow.

Written for commit a92f44e. Summary will update on new commits.

View guided diff Turn on auto-fix

@changeset-bot

changeset-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a92f44e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@mynameistito/opencode-force-input Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions Bot added force-input Automatically managed pull request metadata release Automatically managed pull request metadata size/s Automatically managed pull request metadata labels Oct 21, 2026
@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 83e6e2e4-b3a3-4575-8861-ec879254336f
📥 Commits

Reviewing files that changed from the base of the PR and between 41b2abf and a92f44e.

📒 Files selected for processing: 5
  • .changeset/fbf210b6.md
  • README.md
  • packages/opencode-force-input/__tests__/plugin.test.ts
  • packages/opencode-force-input/src/index.tsx
  • packages/opencode-force-input/tsdown.config.ts
+-----------------------------------+
| Not your grandma's code reviewer. |
+-----------------------------------+
  \
   \     /)/)
        ( '')
        /  |
      o(___)
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown
Contributor

Deploying with Alchemy Alchemy

The latest deployment for this pull request.

Status Name Latest commit Updated (UTC)
Deployment successful
View Cloudflare logs
opencode-plugins-docs-pr-209 a92f44eb 2026-10-21T22:35:00.846Z

Diagnostics: View GitHub Actions run

@mynameistito
mynameistito merged commit 0c6f869 into main Oct 21, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

force-input Automatically managed pull request metadata release Automatically managed pull request metadata size/s Automatically managed pull request metadata

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant