continue-custom/core
Matt Van Horn ae32a1b865
feat: filter session history by workspace directory (#11813)
* feat: filter session history by workspace directory

Add optional workspaceDirectory field to ListHistoryOptions so callers
can scope session lists to a specific workspace. Filtering is
case-insensitive and applied before pagination. Omitting the field
preserves the existing behavior of returning all sessions.

Fixes #9936

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address bot review - typeof guard and test coverage

- Use typeof check instead of truthiness for workspaceDirectory to
  handle malformed session metadata safely
- Rename test to match actual coverage (limit only)
- Add separate test for combined limit+offset with workspace filter

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 13:41:29 -07:00
..
.vscode
__mocks__/@continuedev/fetch llm pre-fetch tests: nested dependency mocks for continue fetch 2025-06-06 17:39:28 -07:00
autocomplete fix: fix listener leaks and redundant file read in autocomplete (#11863) 2026-03-25 21:04:20 -07:00
codeRenderer feat: next edit char-level diff (#7776) 2025-09-19 00:25:33 -07:00
commands chore: mcp 1.24.0 (#8974) 2025-12-04 12:58:28 -08:00
config fix: ensure config.yaml exists and is populated when accessed (#11915) 2026-03-26 18:19:54 -07:00
context fix: skip remote URIs when resolving MCP server cwd (#10844) 2026-03-20 17:12:29 -07:00
continueServer remove legacy config.js 2025-01-24 20:45:07 -08:00
control-plane feat: add Tensorix as an LLM provider (#11184) 2026-03-19 16:29:45 -07:00
data fix types 2025-08-13 22:12:33 -07:00
deploy
diff refactor: remove unused code 2025-07-28 17:10:45 -07:00
edit fix: preserve indentation when applying code edits to Python files (#11289) 2026-03-24 13:12:00 -07:00
indexing fix: resolve critical and high security vulnerabilities (#11848) 2026-03-26 10:46:44 -07:00
llm fix: remove Ollama template-based tool support gate (#11905) 2026-03-26 16:52:20 -07:00
nextEdit fix(openrouter): Gemini 3 tool support, suffix stripping, thought_signature, autocomplete endpoint (#11856) 2026-03-25 20:31:53 -07:00
promptFiles fix: show md rules and prompts in respective sections (#8178) 2025-10-27 15:25:03 -07:00
protocol feat: filter session history by workspace directory (#11813) 2026-03-27 13:41:29 -07:00
tag-qry
test Fix: Refactor dependency injection for settings and clients 2025-09-03 09:15:47 -04:00
tools fix: remove inline backtick fences from tool instruction prose (#11869) 2026-03-25 18:56:15 -07:00
util feat: filter session history by workspace directory (#11813) 2026-03-27 13:41:29 -07:00
utils prettier and code cleanup 2025-07-13 14:47:54 -07:00
vendor Update Node.js LTS to v20.20.1 (#11506) 2026-03-24 11:36:07 -07:00
.eslintrc.json chore: ignore max-lines-per-function in tests (#6825) 2025-07-28 09:04:13 -07:00
.gitignore feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
.npmignore
core.ts fix: allow correcting API key after entering an invalid one for xAI/Gemini (#11854) 2026-03-25 21:32:35 -07:00
index.d.ts feat: add useResponsesApi option to opt out of Responses API (#11809) 2026-03-25 16:09:46 -07:00
jest.config.js Reapply "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811) 2025-07-28 14:15:49 -07:00
package-lock.json chore(deps-dev): bump brace-expansion from 1.1.12 to 1.1.13 in /core (#11931) 2026-03-27 13:38:06 -07:00
package.json fix: resolve critical and high security vulnerabilities (#11848) 2026-03-26 10:46:44 -07:00
rules.md new rules 2025-06-20 16:06:03 -07:00
tsconfig.json feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
tsconfig.npm.json
vitest.config.ts test only .vitest.ts files 2025-06-17 10:28:02 +05:30