continuedev / continuedev/continue

docs: Document session history workspace filtering (ListHistoryOptions.workspaceDirectory)

Open
#12,179 1 comment 0 reactions 1 assignee View on GitHub

@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

  1. Document the session history filtering capability for developers/integrators
  2. Explain how the workspace directory filtering works (case-insensitive comparison)
  3. Document the API change for ListHistoryOptions in 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?: string to ListHistoryOptions in core/protocol/core.ts
  • Filter is applied before pagination in HistoryManager.list()
  • Case-insensitive comparison
  • Omitting the field returns all sessions (backward compatible)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.