Skip to content

Commit ae42fa9

Browse files
sestinjclaude
andcommitted
Merge branch 'main' into nate/cleanup
Resolve conflicts: main already removed most free-trial references that this branch was also cleaning up. Keep staging indicator from this branch. Accept useCredits.ts deletion from main. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 parents 32ac9f1 + 30c95ce commit ae42fa9

359 files changed

Lines changed: 1820 additions & 26017 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.continue/prompts/core-unit-test.prompt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Use double quotes (or backticks if needed) for strings
1515
The code being tested is used in IDE extensions, and it:
1616
- accesses code workspaces through the IDE ("workspace directories")
1717
- persists extension-related data to the the local machine of the user ("global directory"), and
18-
- uses configuration via a `ConfigHandler`, which is stored in either the global directory (default) or accessed via a remote "control plane" using the `ControlPlaneClient`
18+
- uses configuration via a `ConfigHandler`, which is stored in the global directory
1919

2020
Jest testing setup includes
2121
- @core/test/jest.global-setup.ts initializes a temporary global directory, which is where files that store persisted extension data live.
@@ -25,7 +25,6 @@ Jest testing setup includes
2525
@core/test/fixtures.ts provides fixtures that should be used in tests to emulate extension behavior
2626
- import `testIde` for IDE/workspace operations
2727
- import `testConfigHandler` for any ConfigHandler needs
28-
- import `testControlPlaneClient` for control plane operations
2928
- import `ideSettingsPromise` for any IdeSettings needs
3029
- import `testLLM` for any ILLM/BaseLLM needs. Set the `completion` property to the desired completion, e.g. `testLLM.completion = "Desired completion";`
3130

.idea/gradle.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.vscode/launch.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,6 @@
142142
"env": {
143143
"NODE_ENV": "development",
144144
"USE_VERCEL_AI_SDK_ANTHROPIC": "true"
145-
// "CONTINUE_API_BASE": "http://localhost:3001/",
146-
// "WORKOS_CLIENT_ID": "client_01J0FW6XCPMJMQ3CG51RB4HBZQ",
147-
// "HUB_URL": "http://localhost:3000"
148145
},
149146
"console": "integratedTerminal",
150147
"internalConsoleOptions": "neverOpen",
@@ -172,9 +169,6 @@
172169
"env": {
173170
"NODE_ENV": "development",
174171
"CONTINUE_USE_BEDROCK": "1"
175-
// "CONTINUE_API_BASE": "http://localhost:3001/",
176-
// "WORKOS_CLIENT_ID": "client_01J0FW6XCPMJMQ3CG51RB4HBZQ",
177-
// "HUB_URL": "http://localhost:3000"
178172
},
179173
"console": "integratedTerminal",
180174
"internalConsoleOptions": "neverOpen",

TESTING.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# PR #2 Testing Checklist — Strip Hub/Mission Control Code
2+
3+
## Critical
4+
5+
- [x] **Extension cold start** — Launch VS Code with the extension. No errors in Output panel ("Continue" channel) or Dev Tools console. _(Found and fixed `message.includes` crash in `webviewProtocol.ts` + removed dead proxy-server error handling block.)_
6+
- [x] **Fresh install onboarding** — Delete/rename `~/.continue/config.yaml`, restart. Onboarding card shows "Configure your models" (no Hub sign-in). _(Removed "Credits" tab, fixed Ollama link padding, title font sizes, and "Google Gemini API API key" duplicate.)_
7+
- [x] **Existing config loads** — With existing `config.yaml`, models/context providers/MCP servers all load.
8+
- [x] **API key resolution from `.env`** — Models using secrets from `~/.continue/.env` or workspace `.env` authenticate and respond.
9+
- [x] **Config reload** — Edit `config.yaml` while running, changes picked up without restart.
10+
11+
## High Priority
12+
13+
- [x] **Profile/assistant switching** — Assistant dropdown shows only local profiles. Switching works. _(Fixed missing profiles list in GUI by adding `profiles` to configUpdate message. Also fixed initial Redux state label and adjusted dropdown styling.)_
14+
- [x] **Compilation**`tsc --noEmit` passes for core, GUI, and VS Code extension.
15+
- [x] **Test suite** — Vitest tests pass: `LocalPlatformClient` (8), `LocalProfileLoader` (2), `doLoadConfig` (2) — all 12 pass.
16+
- [x] **No telemetry network calls** — Dev Tools Network tab shows no requests to `posthog.com` or `sentry.io`.
17+
- [x] **Agent mode tools** — Start an agent conversation, all tools load correctly.
18+
19+
## Medium Priority
20+
21+
- [x] **MCP servers connect** — Configured MCP servers connect and tools appear.
22+
- [x] **Local blocks in YAML** — Local model block files in `.continue/models/` auto-merge into config correctly.
23+
- [x] **Background mode view** — N/A, component removed from UI routing. No way to navigate to it.
24+
- [x] **Keyboard shortcut `Cmd+Shift+'`** — Toggles between configs without errors.
25+
- [x] **Config settings page** — Settings page renders cleanly, no Account dropdown or Organizations tab. _(Removed GitHub issue/community links.)_
26+
27+
## Low Priority
28+
29+
- [x] **"Main Config" naming** — Fresh installs show "Main Config" as default profile name.
30+
- [x] **IntelliJ startup** — Profiles load correctly after rebuilding core binary. _(Core binary must be rebuilt for IntelliJ to pick up changes.)_

binary/package-lock.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

binary/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@types/uuid": "^9.0.8",
3535
"@vercel/ncc": "^0.38.1",
3636
"cross-env": "^7.0.3",
37-
"esbuild": "0.19.11",
37+
"esbuild": "^0.19.11",
3838
"jest": "^29.7.0",
3939
"pkg": "^5.8.1",
4040
"rimraf": "^5.0.7",

core/autocomplete/CompletionProvider.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ export class CompletionProvider {
282282
gitRepo: await this.ide.getRepoName(helper.filepath),
283283
uniqueId: await this.ide.getUniqueId(),
284284
timestamp: new Date().toISOString(),
285-
profileType:
286-
this.configHandler.currentProfile?.profileDescription.profileType,
287285
...helper.options,
288286
};
289287

core/autocomplete/util/AutocompleteLoggingService.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ export class AutocompleteLoggingService {
119119
time: restOfOutcome.time,
120120
useRecentlyEdited: restOfOutcome.useRecentlyEdited,
121121
numLines: restOfOutcome.numLines,
122-
profileType: restOfOutcome.profileType,
123122
};
124123
}
125124
}

core/autocomplete/util/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,4 @@ export interface AutocompleteOutcome extends TabAutocompleteOptions {
4343
uniqueId: string;
4444
timestamp: string;
4545
enabledStaticContextualization?: boolean;
46-
profileType?: "local" | "platform" | "control-plane";
4746
}

0 commit comments

Comments
 (0)