continue icon indicating copy to clipboard operation
continue copied to clipboard

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

Open continue opened this issue 7 months ago • 3 comments

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)

continue avatar Apr 20 '26 09:04 continue

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Jul 20 '26 02:07 github-actions[bot]

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Oct 20 '26 01:10 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, you are welcome to leave a comment and this will keep the issue open. However please note that this repo is no longer being actively maintained.

github-actions[bot] avatar Oct 31 '26 01:10 github-actions[bot]