Support session cost in copilot --acp
Open
Nobody has claimed this yet.
triage
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
Describe the feature or problem you'd like to solve
In version 1.0.78, copilot acp provides data for token usage and context windows size, without cost.
Proposed solution
By any chance can we have the cost field in the session update object too?
https://agentclientprotocol.com/rfds/session-usage#cost-field
Example prompts or workflows
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Copilot CLI implementation of ACP session updates and compare its existing token-usage and context-window data with the ACP session-usage cost-field specification linked in the issue. The work is done when session updates expose the requested cost data and the relevant behavior is covered by the project's tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100