Work towards getting isolated built-in extension compiles

For #271167

This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
This commit is contained in:
Matt Bierner
2025-10-13 11:03:20 -07:00
parent bb0294ffca
commit 98b069c041
59 changed files with 295 additions and 126 deletions

View File

@@ -80,7 +80,9 @@
}
],
"modes": [
"agent", "ask", "edit"
"agent",
"ask",
"edit"
]
},
{
@@ -91,15 +93,15 @@
}
],
"languageModelTools": [
{
"name": "requires_confirmation_tool",
"toolReferenceName": "requires_confirmation_tool",
"displayName": "Requires Confirmation Tool",
"modelDescription": "A noop tool to trigger confirmation.",
"canBeReferencedInPrompt": true,
"icon": "$(files)",
"inputSchema": {}
}
{
"name": "requires_confirmation_tool",
"toolReferenceName": "requires_confirmation_tool",
"displayName": "Requires Confirmation Tool",
"modelDescription": "A noop tool to trigger confirmation.",
"canBeReferencedInPrompt": true,
"icon": "$(files)",
"inputSchema": {}
}
],
"configuration": {
"type": "object",
@@ -266,7 +268,7 @@
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:vscode-api-tests ./tsconfig.json"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/node-forge": "^1.3.11",
"node-forge": "^1.3.1",