feature: Web interface for Cortex, in addition to the agentop TUI
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
Start with docs/session-api.md and core/listener/httpx/loopback.go to understand the session data and browser protections. The issue leaves the process, browser access, write scope, frontend stack, and packaging undecided. Agree on those choices and a safe architecture before implementation; done means a read-only interface covers the listed views while preserving the laptop API's protections.
索引モデルが issue の本文から書いたものです。
説明
Problem
agentop is the only interface to Cortex. It runs only in a terminal. Some users cannot use it, or do not want to:
- A user who does not work in a terminal, for example a Bob IDE user.
- A user who wants to share a view, a link, or a screenshot with a teammate.
- A view that needs more space than a terminal gives, for example a long Timeline or a cost chart.
Proposal
Add a web interface that reads the same session API that agentop reads (:47601 on a laptop, :9094 in a pod). The web interface supplements agentop. It does not replace it.
A first version can be read-only, with these views:
- Sessions: the list, with the columns that the agentop Sessions pane shows.
- A session's events and details, with live updates from
GET /v1/events. - Timeline (
GET /v1/sessions/{id}/timeline). - Usage and cost (
GET /v1/usage). - Pipeline and plugin catalog (
GET /v1/pipeline,GET /v1/plugins).
Constraints
- The session API has no authentication. Its payloads hold raw prompts, completions and tool results. See
docs/session-api.md. - The laptop session API refuses browsers.
httpx.LoopbackOnly(core/listener/httpx/loopback.go) answers 403 to a non-loopbackHostand to every request that carries anOriginheader. This stops a page that does DNS rebinding from reading sessions. A web interface must keep that protection. - Bind only to loopback on a laptop. Never put the interface behind an ingress.
Open questions
- Where does the interface run: in the
cortexbinary, inagentop(for exampleagentop web), or as a separate binary? - How does the browser get access to the data without opening the session API to every page? Options: serve the UI and a same-origin read proxy from one process, a per-launch token in the URL, or both.
- Do write actions (erase a session, switch a server) go into the first version, or only reads?
- Which frontend stack, and how do we ship it inside the binary (
embed)? - How does this relate to #872 (Grafana dashboard)? #872 is metrics over OTel. This issue is the session-level detail that only Cortex has.
Assisted-By: Claude (Anthropic AI) [email protected]
- 主要言語
- Go
- スター
- 31
- フォーク
- 49
- 平均マージ
- 9時間 43分
- マージ済み PR(30日)
- 367
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rossoctl/cortex のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug laptop
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
rossoctl/cortex の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
taskmanager: a failed v1alpha1 backup leaves the partial backup behind対応中かも @arshil42 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
ether/etherpad-go#571 ·
メンテナーはふだん 1 日以内に返信
-
labeler: read a limit above math.MaxInt as math.MaxInt in nonNegative (CodeQL alerts #20 and #21)オープンcost:approved factory:queued factory:tracking priority:p2 rank:12 ready-for-doing task:approved tokens:50k
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
sisaku-security/sisakulint#860 · コメント 2 件 ·