continuedev / continuedev/continue
docs: Document session history workspace filtering (ListHistoryOptions.workspaceDirectory)
Open
@BekahHW is already working on this.
Since Apr 20, 2026.
area:docs
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Summary
PR #11813 added an optional workspaceDirectory field to ListHistoryOptions so callers can scope session lists to a specific workspace. This feature helps with multi-window usage by allowing sessions to be filtered by workspace instead of showing all sessions from all projects mixed together.
What needs to be documented
- Document the session history filtering capability for developers/integrators
- Explain how the workspace directory filtering works (case-insensitive comparison)
- Document the API change for
ListHistoryOptionsin the appropriate reference section
Related PR
- PR: #11813 - feat: filter session history by workspace directory
- Merged: March 27, 2026
- Fixes: #9936
Technical Details
- Added
workspaceDirectory?: stringtoListHistoryOptionsincore/protocol/core.ts - Filter is applied before pagination in
HistoryManager.list() - Case-insensitive comparison
- Omitting the field returns all sessions (backward compatible)
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.
Assessment
This issue has not been assessed yet.