Skip to content

feat(ai): add --since, --until, and --by to cost report and roi - #4264

Merged
dan-petty merged 2 commits into
mainfrom
feat/2193-add-since-until-and-by-to
Nov 9, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/2193-add-since-until-and-by-to

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Add time bounds and period grouping to the AI cost report and ROI commands. Users can filter ledger records by ISO date or timestamp with --since and --until. Users can group report and ROI summaries by day or week with --by. The sum of period rows matches the report of the full range. The fastmcp tool ai_cost_report accepts matching time range and grouping options. The --days flag remains supported as a shorthand for recent days.

Closes #2193

Change: openspec/changes/archive/2026-11-09-2193-add-since-until-and-by-to/

@dan-petty dan-petty added type/feature Type feature: a new function scope/ai AI review pipeline, personas, prompts, LLM client, or RAG labels Nov 9, 2026
Add time bounds and period grouping to the AI cost report and ROI commands.
Users can filter ledger records by ISO date or timestamp with --since and --until.
Users can group report and ROI summaries by day or week with --by.
The sum of period rows matches the report of the full range.
The fastmcp tool ai_cost_report accepts matching time range and grouping options.
The --days flag remains supported as a shorthand for recent days.
@dan-petty
dan-petty force-pushed the feat/2193-add-since-until-and-by-to branch from 24322fe to cdb3b14 Compare November 9, 2026 19:23
@dan-petty
dan-petty marked this pull request as ready for review November 9, 2026 19:34
@dan-petty
dan-petty merged commit fe59c14 into main Nov 9, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/2193-add-since-until-and-by-to branch November 9, 2026 19:34
dan-petty pushed a commit that referenced this pull request Nov 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.103.0](v0.102.0...v0.103.0)
(2026-11-09)


### Features

* **ai:** a setting holds the price of a reference model
([#4258](#4258))
([d31717d](d31717d))
* **ai:** add --since, --until, and --by to cost report and roi
([#4264](#4264))
([fe59c14](fe59c14))
* **ai:** integrate Jev 1.14 and agent configurations
([#4275](#4275))
([28356ed](28356ed))


### Bug Fixes

* **openspec:** check the archive result on disk, plan the dry run
([#4273](#4273))
([cefc184](cefc184))
* **roadmap:** build the trace facts from every plan run
([#4267](#4267))
([b46506d](b46506d))
* **roadmap:** keep refused stage replies, stop placeholder replies
([#4260](#4260))
([aea5adc](aea5adc))
* **roadmap:** match a security trigger word as a word
([#4261](#4261))
([ec96082](ec96082))
* **roadmap:** name schema violations in the log
([#4276](#4276))
([c816e8f](c816e8f))
* **roadmap:** read a quoted tuple as an MCP key in context
([#4265](#4265))
([2cef137](2cef137))


### Code Refactoring

* **ui:** delete kubernetes and logs dashboard tabs
([#4263](#4263))
([2d8b693](2d8b693))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ai AI review pipeline, personas, prompts, LLM client, or RAG type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ai): Add --since, --until, and --by to cost report and roi

1 participant