See what is running in the background: subagents and commands
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
調査の方向性
Start by reading the session list and chat session UI, then trace how shell tool parts use shellID to follow output and how session.execution.started/ended events arrive for child sessions. The issue names the server endpoints to inspect: /api/session/active, /api/session?parentID=…, and /api/shell?location=…. Done means running subagents and commands can be inspected from the chat and session list, with shell output and stopping available as described; the attribution and terminal shell questions also need resolution.
索引モデルが issue の本文から書いたものです。
説明
Problem
When the agent works in the background (subagents started with the task tool, shell commands that keep running), the app only shows that a session is running. There is no way to see what is running, neither inside the chat nor from the session list, nor to open or stop it.
Proposal
- In the chat: a "Running" indicator in the header (for example "2 subagents · 1 command") that opens a sheet listing everything running for this session:
- subagents: title, agent, elapsed time, tap to open the child session;
- background shell commands: command, elapsed time, last lines of output, Stop.
- In the session list: the row preview shows the same summary under the title while something runs (for example "Writing · 2 subagents · 1 command"), instead of only the running dot.
- Optionally, a global "Running" view from the session list, with everything running across sessions and projects of the active server.
Server API (2.0.27)
GET /api/session/active: sessions currently draining on the server.GET /api/session?parentID=…: child sessions (subagents);session.execution.started/endedevents already arrive for them.GET /api/shell?location=…: running shell commands of a location (Shell.Info: command, cwd, pid, status, time, metadata);GET /api/shell/{id}/outputfor the output tail,DELETE /api/shell/{id}to stop.
Open questions
- How to attribute a running shell to a session: the tool part metadata carries the
shellID(already used to follow shell output live), but shells started elsewhere have no session. - Whether terminal (PTY) shells belong in the same list or stay separate (see #88).
- Refresh: follow events where possible, and poll the shell list only while the sheet or the list is visible.
- 主要言語
- Kotlin
- スター
- 1
- フォーク
- 0
- 平均マージ
- 11時間 56分
- マージ済み PR(30日)
- 45
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
beppe2880/opencode-mobile のほかの issue
-
Chat pane keeps the previous server's session after switching servers対応中かも @beppe2880 が今日担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
beppe2880/opencode-mobile#101 ·
メンテナーはふだん 1 日以内に返信
-
Fullscreen Terminal対応中かも @beppe2880 が今日担当しました。 オープンfeature
難易度 3/5 1〜2日 初心者へのやさしさ 18/100
beppe2880/opencode-mobile#97 ·
メンテナーはふだん 1 日以内に返信
-
feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
beppe2880/opencode-mobile#88 ·
メンテナーはふだん 1 日以内に返信
-
confirmed feature
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
beppe2880/opencode-mobile#68 ·
メンテナーはふだん 1 日以内に返信
-
confirmed feature
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
beppe2880/opencode-mobile#33 ·
メンテナーはふだん 1 日以内に返信
beppe2880/opencode-mobile の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
OpenAPITools/openapi-generator#25454 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
navikt/mock-oauth2-server#1149 ·
メンテナーはふだん 1 日以内に返信
-
triaged
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
priority: high scope: frontend type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
GonsiorHack/czyPrzejade#12 ·
-
afk-ok area:frontend size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
enorm-labs/event-junkie#4154 ·
メンテナーはふだん 1 日以内に返信