Commit graph

113 commits

Author SHA1 Message Date
Nate
68d2702077 fix(ci): sync vscode lockfile, fix core type error, run prettier
- Regenerate extensions/vscode/package-lock.json so `npm ci` is in sync
  (fixes vscode-checks, vscode-get-test-file-matrix,
  vscode-package-extension-linux, build-and-upload-vsix, jetbrains-tests)
- Replace deprecated fs.rmdirSync(..., {recursive}) with fs.rmSync in core
  test global setup (fixes core-checks tsc TS2554)
- Apply prettier formatting to README.md and core test setup files
  (fixes prettier-check)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 18:04:28 -07:00
Patrick Erichsen
b60273502e refactor: remove Hub/Mission Control connection code (CON-5885)
Remove all ControlPlaneClient infrastructure, WorkOS auth, managed proxy,
platform profile loading, org policy enforcement, and credits UI.
Config is now fully local — only file-based config.yaml and .env secrets.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 12:55:19 -07:00
Jazzcort
712b7bcfd5 Fix: Refactor dependency injection for settings and clients
This commit refactors how IdeSettings and ControlPlaneClient are accessed throughout
the configuration system to improve state management and reduce coupling.

Previously, ideSettingsPromise was passed down from the top-level ConfigHandler
through various profile loaders and clients. This created a rigid dependency chain
and required manual promise replacement when settings were updated. Similarly,
downstream components could hold onto stale instances of ControlPlaneClient after a
change in authentication state.

The key changes are:
  - Removed ideSettingsPromise prop drilling: Components that require IDE settings
    now fetch them directly from the IDE object (ide.getIdeSettings()) when
    needed.

  - Updated globalLocalProfileManager during every cascadeInit: This ensures it
    always holds the most recent ControlPlaneClient, preventing issues with stale
    client objects after re-authentication.

  - Simplified constructors: The constructors for ConfigHandler, ControlPlaneClient,
    and various loaders have been simplified to reflect these changes, primarily by
    passing the IDE object directly instead of its derived promises.
2025-09-03 09:15:47 -04:00
Patrick Erichsen
72001f92f0 Update fixtures.ts 2025-07-11 21:41:56 -07:00
Patrick Erichsen
2768540f96 chore: add ideInfo headers to hub reqs 2025-07-11 21:25:10 -07:00
uinstinct
7f9d545d8c remove comments in vitest.setup 2025-06-13 11:11:38 +05:30
uinstinct
577c1a8643 add .global-setup and .setup files
- also include .test.ts files for vitest config
2025-06-10 11:26:37 +05:30
uinstinct
5f3aa5b7dd fix test dirs being created inside core folder 2025-05-09 17:27:03 +05:30
Owen W. Taylor
3553dfaae4 Add rich logging of LLM interactions
Instead of treating LLM logging as simply writing lines of text
sequentially, emit a stream of typed data objects that include
rich information about the interaction, such as timestamps,
message types, tool calls, etc.

These are then collected by a new custom webview in the vscode
extension (the "Continue Console"), allowing a user or developer
to browse through the different interactions and view them in detail.
In progress interactions are now streamed live, instead of being held back
to avoid concurrency issues.

This webview could be also exposed for IntelliJ or file logging
could be reimplemented on top of the new framework.
2025-04-07 14:11:38 -04:00
Dallin Romney
66e4db7f7c should ignore p1 2025-03-07 09:52:31 -08:00
Nate
e34a56748d fix tsc errors 2025-02-18 15:46:12 -08:00
Nate
468acacd0a vscode setting for platform 2025-01-24 02:00:44 -08:00
Dallin Romney
6657d10053 walkdir tests and path fixes 2024-12-16 21:40:29 -08:00
Dallin Romney
aa72fcd64d path -> uri build error fixes 2024-12-13 15:55:22 -08:00
Dallin Romney
62bb4135e9 findUriWithinDirs 2024-12-12 16:33:22 -08:00
Dallin Romney
e0ba578411 merge conflicts 2024-12-12 11:32:04 -08:00
Dallin Romney
3d37c1e1bf path -> uri: all files have been triaged 2024-12-11 12:29:50 -08:00
Nate
59ab07a19c fix tests 2024-12-11 08:41:58 -08:00
Nate
4ee63bc145 remove noisy debug log 2024-12-09 18:48:44 -08:00
Dallin Romney
349a965e79 core tests cleanup 2024-12-06 00:41:13 -08:00
Dallin Romney
7dd3f8b6aa chat describer and commands/util 2024-12-05 19:45:32 -08:00
Dallin Romney
07d3bd4282 global context and core test iterations 2024-12-05 18:56:06 -08:00
Dallin Romney
450c7737ef gitignore updates 2024-12-05 16:14:11 -08:00
Dallin Romney
68dfb3b46a prompt file iteration 2024-12-05 16:05:27 -08:00
Dallin Romney
1e4f057b0e cherry pick core tests commit 2024-12-05 11:34:39 -08:00
Dallin Romney
af5d38e653 move some stuff back 2024-12-04 17:33:58 -08:00
Dallin Romney
a58b0ff7b5 revert fixtures location for less file changes 2024-12-04 17:31:38 -08:00
Dallin Romney
d19411aa0b revert testdir location for less file changes 2024-12-04 17:30:13 -08:00
Dallin Romney
02f40d04bd core test cleanup 2024-12-04 17:21:04 -08:00
Dallin Romney
36fc4a5da0 clearer session types, fix update/delete 2024-11-24 17:49:32 -08:00
tomasz-io
452b2422d1 fix: missing arguments 2024-11-20 18:21:39 -08:00
Nate Sesti
2f895af413
Merge pull request #2875 from vadjs/nebius-improvements
Fix and improve Nebius provider. Add LLMs and descriptions
2024-11-11 18:05:38 -08:00
Vadim Zhamkov
d8139939d2 Fix and improve Nebius provider. Add LLMs and descriptions 2024-11-12 00:35:32 +01:00
Test
b5cab4609b chore: apply eslint to vscode and core 2024-11-11 07:38:52 -08:00
Nate
cc0e7c280d skip llm tests 2024-11-10 18:21:59 -08:00
Hendy Serrano
bd2bec85f7 rename: locals > debugger 2024-10-13 10:31:09 +02:00
Nate
5942d322e6 Merge branch 'dev' into nate/hctx 2024-09-29 10:59:18 -07:00
Nate
a9bf85c890 slightly unflakify tests 2024-09-01 15:25:28 -07:00
Noah Costello
8b402d6d5f
Create tests for HistoryManager class 2024-08-22 17:35:45 -04:00
Patrick Erichsen
ed416d0bfe update tsconfig 2024-08-16 17:36:45 -07:00
Patrick Erichsen
5406d0e1a2 test: colocate tests in core 2024-08-16 10:35:40 -07:00
Patrick Erichsen
d8eb1894c9
Merge pull request #2017 from teslamotors/user/rleidle/fix-ignore-sub-directories
Correct the behavior for ignore files in sub-directories
2024-08-16 09:23:48 -07:00
Patrick Erichsen
b67fbe1749 update tests 2024-08-15 17:08:54 -07:00
Patrick Erichsen
657ad97def merge dev 2024-08-15 13:48:52 -07:00
Patrick Erichsen
8cdb68c6d6 update tests 2024-08-15 13:38:15 -07:00
Rob Leidle
81487d2d5a Correct the behavior for ignore files in sub-directories
The ignore library expects for a subdirectory that the caller pass in
the relative path of files, i.e. remove the sub-directory prefix from
the filepath.
2024-08-15 10:59:45 -07:00
Patrick Erichsen
978f387922 testing: add indexing update tests 2024-08-14 11:30:36 -07:00
Nate Sesti
fe586f8a7a crawling tests for common docs sites 2024-08-13 21:47:26 -07:00
Nate Sesti
6ed2bbdb83 temporarily skip locally passing tests 2024-08-11 18:26:39 -07:00
Nate Sesti
5b2a64f6a1 new tests for ConfigHandler 2024-08-11 00:21:08 -04:00