Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

tui: --prompt no longer auto-submits in 2.0

オープン 初心者向け
#51,135 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
cli

調査の方向性

ホームルートの自動送信エフェクトから調査を始め、local.model.ready、sync.ready のチェックと submit() の呼び出しを確認します。変更内容をコミット 0fa9e5039e と比較します。新しいセッションで opencode --prompt \"hello\" を使って再現し、必要な agent データが利用可能になるとプロンプトが自動的に送信されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

Description

In 2.0, opencode --prompt "some text" puts the text in the composer on the home screen but no longer submits it. You have to press Enter. In 1.x it submitted automatically.

The home route's auto-submit effect only waits for local.model.ready, which just means the local model.json preferences were read. The server usually hasn't returned agents/models yet, so submit() bails at if (!agent) return false, and the effect never retries. It used to also wait for sync.ready; that check was dropped in 0fa9e5039e.

OpenCode version

2.0.16

Steps to reproduce
  1. Run opencode --prompt "hello" in a new session (no --session)
  2. The text appears in the prompt box but isn't sent until you press Enter
主要言語
TypeScript
スター
210k
フォーク
27.8k
平均マージ
8時間 7分
マージ済み PR(30日)
356

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anomalyco/opencode のほかの issue

anomalyco/opencode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。