Feature Request: allow the host application to supply files and documents as session context
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java
調査の方向性
Issue にはファイル、テスト、エントリポイントが特定されていません。まずセッション作成と後続ターンの API を見つけ、次にリソースがどのように取り込まれ、報告されるかを追跡します。添付されたテキストおよびバイナリリソースがリポジトリへのコミットなしで機能し、サポートされていないリソース、サイズが大きすぎるリソース、アクセスできないリソースから対応可能な結果が得られれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
A session can be given a prompt and a repository. It cannot be given the surrounding material that motivated the work: a specification, a design document, a log file, a crash dump, a screenshot, or a prior conversation transcript. That material typically lives outside source control and should not be committed to the repository merely to make the agent aware of it.
Today the only reliable workaround is to paste the content into the prompt, which loses fidelity and structure for anything that is not plain text, or to commit the file to the repository, which pollutes history with transient artifacts.
What is missing
- No API for attaching arbitrary files or binary content to a session as first-class resources.
- No way to supply an external transcript or prior conversation as additional grounding.
- No feedback about which supplied resources were actually read, skipped, or rejected.
Proposed behavior
- Session creation and subsequent turns accept a list of context resources, each with content or a resolvable reference, a MIME type, and a display name.
- Supplied resources are available to the agent for reading and are distinguishable from repository files.
- The session reports, per resource, whether it was ingested successfully; failures state the reason, such as unsupported type, size limit, or missing permission.
- Size and count limits are documented and enforced predictably.
Example scenario
A caller supplies a design document and two log files alongside a prompt asking the agent to determine whether the implementation matches the design and to explain a failure visible in the logs.
Acceptance criteria
- Files and binary content can be attached to a session without committing them to the repository.
- Attached resources are readable by the agent and reported in the session result.
- Ingestion failures are explicit and actionable.
Related
- #2349 — attachments silently ignored in one command path; this request covers the general capability.
- 主要言語
- Java
- スター
- 10.5k
- フォーク
- 1.5k
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 133
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot-sdk のほかの issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/copilot-sdk#2709 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
github/copilot-sdk#2673 ·
-
bug testing
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
github/copilot-sdk#2628 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/copilot-sdk#2627 · コメント 1 件 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
github/copilot-sdk#2493 ·
github/copilot-sdk の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
1.0.0-alpha2 Type/Improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wso2/dpdp-accelerator#272 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
apache/rocketmq-dashboard#4860 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
infinispan/infinispan#18150 ·