Skip to content

Commit e6c885a

Browse files
committed
Merge tag 'v0.35.2025121002' into merge/1.107.0
2 parents 61fc5ea + bfba65d commit e6c885a

File tree

1,086 files changed

+116644
-20175
lines changed

Some content is hidden

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

1,086 files changed

+116644
-20175
lines changed

.esbuild.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ const sanityTestBundlePlugin: esbuild.Plugin = {
122122
};
123123

124124
const importMetaPlugin: esbuild.Plugin = {
125-
name: 'claudeCodeImportMetaPlugin',
125+
name: 'claudeAgentSdkImportMetaPlugin',
126126
setup(build) {
127-
// Handle import.meta.url in @anthropic-ai/claude-code package
128-
build.onLoad({ filter: /node_modules[\/\\]@anthropic-ai[\/\\]claude-code[\/\\].*\.mjs$/ }, async (args) => {
127+
// Handle import.meta.url in @anthropic-ai/claude-agent-sdk package
128+
build.onLoad({ filter: /node_modules[\/\\]@anthropic-ai[\/\\]claude-agent-sdk[\/\\].*\.mjs$/ }, async (args) => {
129129
const contents = await fs.promises.readFile(args.path, 'utf8');
130130
return {
131131
contents: contents.replace(

.eslintplugin/no-nls-localize.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
import * as eslint from 'eslint';
7+
import { createImportRuleListener } from './utils';
8+
9+
export = new class implements eslint.Rule.RuleModule {
10+
11+
readonly meta: eslint.Rule.RuleMetaData = {
12+
messages: {
13+
noNlsLocalize: 'Do not import localize from nls. Use vscode.l10n.t or import l10n from @vscode/l10n instead.'
14+
},
15+
docs: {
16+
description: 'Disallow importing localize from nls files',
17+
},
18+
schema: []
19+
};
20+
21+
create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
22+
return createImportRuleListener((node, path) => {
23+
// Match paths ending with /nls, /nls.js, /vs/nls, etc.
24+
if (path.endsWith('/nls') || path.endsWith('/nls.js') || path === 'vs/nls') {
25+
context.report({
26+
loc: node.parent!.loc,
27+
messageId: 'noNlsLocalize'
28+
});
29+
}
30+
});
31+
}
32+
};

.github/CODENOTIFY

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Model prompts
2+
src/extension/prompts/node/agent/openAIPrompts.tsx @dileepyavan @kcutler
3+
src/extension/prompts/node/agent/anthropicPrompts.tsx @bhavyaus @bryanchen-d
4+
src/extension/prompts/node/agent/geminiPrompts.tsx @vijayupadya @pwang347
5+
src/extension/prompts/node/agent/xAIPrompts.tsx @pwang347 @vijayupadya
6+
src/extension/prompts/node/agent/vscModelPrompts.tsx @karthiknadig @eleanorjboyd

.github/CODEOWNERS

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,3 @@
33
build/pr-check-cache-files.ts @lszomoru @joaomoreno
44
test/base/cache-cli.ts @lszomoru @joaomoreno
55
test/base/cache.ts @lszomoru @joaomoreno
6-
# Model prompts
7-
src/extension/prompts/node/agent/openAIPrompts.tsx @roblourens
8-
src/extension/prompts/node/agent/anthropicPrompts.tsx @bhavyaus
9-
src/extension/prompts/node/agent/geminiPrompts.tsx @vijayupadya
10-
src/extension/prompts/node/agent/xAIPrompts.tsx @pwang347
11-
src/extension/prompts/node/agent/vscModelPrompts.tsx @karthiknadig
12-
src/extension/prompts/node/agent/promptRegistry.ts @bhavyaus

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,5 +339,5 @@ The extension uses numerous proposed VS Code APIs for advanced functionality:
339339
This extension is a complex, multi-layered system that provides comprehensive AI assistance within VS Code. Understanding the service architecture, contribution system, and separation between platform and extension layers is crucial for making effective changes.
340340

341341
## Best Practices
342-
- Use services and dependency injection whenever possible instead of using node or vscode APIs directly. For example, use `IFileService` instead of node's `fs`.
342+
- Use services and dependency injection whenever possible instead of using node or vscode APIs directly. For example, use `IFileSystemService` instead of node's `fs`.
343343
- Always use the URI type instead of using string file paths. There are many helpers available for working with URIs.

.github/workflows/copilot-setup-steps.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ jobs:
1717
runs-on: vscode-large-runners
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
2121
with:
2222
lfs: true
2323

2424
- name: Setup Node.js
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@v6
2626
with:
2727
node-version: '22.14.x'
2828

2929
- name: Setup Python
30-
uses: actions/setup-python@v5
30+
uses: actions/setup-python@v6
3131
with:
3232
python-version: '3.12'
3333
architecture: 'x64'
3434

3535
- name: Setup .NET
36-
uses: actions/setup-dotnet@v4
36+
uses: actions/setup-dotnet@v5
3737
with:
3838
dotnet-version: '10.0'
3939

.github/workflows/ensure-node-modules-cache.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-ubuntu-22.04-x64 ]
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
lfs: true
2020

2121
- name: Setup Node.js
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@v6
2323
with:
2424
node-version: '22.14.x'
2525

@@ -48,17 +48,17 @@ jobs:
4848
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-windows-2022-x64 ]
4949
steps:
5050
- name: Checkout repository
51-
uses: actions/checkout@v4
51+
uses: actions/checkout@v5
5252
with:
5353
lfs: true
5454

5555
- name: Setup Node.js
56-
uses: actions/setup-node@v4
56+
uses: actions/setup-node@v6
5757
with:
5858
node-version: '22.14.x'
5959

6060
- name: Setup Python
61-
uses: actions/setup-python@v5
61+
uses: actions/setup-python@v6
6262
with:
6363
python-version: '3.12'
6464
architecture: 'x64'

.github/workflows/pr.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches:
99
- main
1010
- 'release/*'
11+
- '0.34/sessions'
1112

1213
permissions:
1314
contents: read
@@ -19,11 +20,11 @@ jobs:
1920
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-ubuntu-22.04-x64 ]
2021
steps:
2122
- name: Checkout code
22-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2324
with:
2425
lfs: true
2526

26-
- uses: actions/setup-node@v4
27+
- uses: actions/setup-node@v6
2728
with:
2829
node-version: '22.14.x'
2930

@@ -58,11 +59,11 @@ jobs:
5859
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-ubuntu-22.04-x64 ]
5960
steps:
6061
- name: Checkout code
61-
uses: actions/checkout@v4
62+
uses: actions/checkout@v5
6263
with:
6364
lfs: true
6465

65-
- uses: actions/setup-node@v4
66+
- uses: actions/setup-node@v6
6667
with:
6768
node-version: '22.14.x'
6869

@@ -74,23 +75,23 @@ jobs:
7475
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-ubuntu-22.04-x64 ]
7576
steps:
7677
- name: Checkout repository
77-
uses: actions/checkout@v4
78+
uses: actions/checkout@v5
7879
with:
7980
lfs: true
8081

8182
- name: Setup Node.js
82-
uses: actions/setup-node@v4
83+
uses: actions/setup-node@v6
8384
with:
8485
node-version: '22.14.x'
8586

8687
- name: Setup Python
87-
uses: actions/setup-python@v5
88+
uses: actions/setup-python@v6
8889
with:
8990
python-version: '3.12'
9091
architecture: 'x64'
9192

9293
- name: Setup .NET
93-
uses: actions/setup-dotnet@v4
94+
uses: actions/setup-dotnet@v5
9495
with:
9596
dotnet-version: '10.0'
9697

@@ -154,7 +155,7 @@ jobs:
154155
155156
- name: Upload simulation output
156157
if: always()
157-
uses: actions/upload-artifact@v4
158+
uses: actions/upload-artifact@v5
158159
with:
159160
name: simulation-output-linux-${{ github.run_attempt }}
160161
path: .simulation-archive/simulation.tgz
@@ -164,23 +165,23 @@ jobs:
164165
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-windows-2022-x64 ]
165166
steps:
166167
- name: Checkout repository
167-
uses: actions/checkout@v4
168+
uses: actions/checkout@v5
168169
with:
169170
lfs: true
170171

171172
- name: Setup Node.js
172-
uses: actions/setup-node@v4
173+
uses: actions/setup-node@v6
173174
with:
174175
node-version: '22.14.x'
175176

176177
- name: Setup Python
177-
uses: actions/setup-python@v5
178+
uses: actions/setup-python@v6
178179
with:
179180
python-version: '3.12'
180181
architecture: 'x64'
181182

182183
- name: Setup .NET
183-
uses: actions/setup-dotnet@v4
184+
uses: actions/setup-dotnet@v5
184185
with:
185186
dotnet-version: '10.0'
186187

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.15.1
1+
22.20.0

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"search.exclude": {
5252
"src/base/util/tokenizer_*.json": true,
5353
"src/base/util/*.bpe": true,
54+
"src/extension/chatSessions/vscode-node/test/fixtures/**": true,
5455
"src/extension/prompts/node/test/fixtures/**/*": true,
5556
"src/extension/test/node/fixtures/**/*": true,
5657
"src/platform/parser/test/node/fixtures/**/*": true,

0 commit comments

Comments
 (0)