Commit Graph

49 Commits

Author SHA1 Message Date
Robo
d666fe6572 feat: add assets for macOS 26 icon support (#300901) 2026-03-12 05:32:01 +00:00
Robo
85b156f976 fix: move versioned folder check closer to the package task (#300685) 2026-03-11 21:51:42 -07:00
Anthony Kim
a0d3bb68f2 Fix PSReadline for screen reader (#298881)
* Fix PSReadline for screen reader, disable header

* Add psreadline to index.ts for build

* organize much better

* compile

* list out exact folder

* try if codesign is the problem

* Update comment to be more accurate

* Undo changes for noLogo
2026-03-10 19:35:11 -07:00
Robo
0fb3dfe61f fix: remove applications folder on stable (#300211) 2026-03-09 13:09:51 -04:00
Sandeep Somavarapu
2b32258b0e merge to main (#299794)
* sessions - fix chat input shrinking at narrow widths (#299498)

style - set width to 100% for `interactive-input-part`

* modal - force focus into first modal editor always

* fix: update precondition for FixDiagnosticsAction and hide input widget on command execution (#299499)

fixes https://github.com/microsoft/vscode/issues/299251

* refactor: remove workspace context service dependency from FolderPicker

* Add logging for agent feedback actions

* modal - some fixes to actions and layout

* modal - surface some editor actions in a new toolbar (#299582)

* modal - surface some editor actions in a new toolbar

* ccr

* keybindings - remove "Edit as JSON" as its now available from the title menu

* settings - remove "Edit as JSON" as its now available from the title menu

* update hover fixes

* terminal fixes

* terminal improvements

* Sessions: fix auth scopes of gh FSP

* sessions customizations: make it easier to scan mcp/plugin marketplac… (#299636)

sessions customizations: make it easier to scan mcp/plugin marketplace list

* sessions: add built-in prompt files with override support (#299629)

* sessions: add built-in prompt files with override support

Ship bundled .prompt.md files with the Sessions app that appear as
slash commands out of the box. Built-in prompts use a BUILTIN_STORAGE
constant (cast as PromptsStorage) defined in the aiCustomization layer,
avoiding changes to the core PromptsStorage enum and prompt service types.

- AgenticPromptsService discovers prompts from vs/sessions/prompts/
  at runtime via FileAccess and injects them into the listing pipeline
- Override logic: user/workspace prompts with matching names take
  precedence over built-in ones
- Built-in prompts open as read-only in the management editor
- Sessions tree view, workspace service, and counts handle BUILTIN_STORAGE
- Add /create-pr as the first built-in prompt
- Bundle prompt files via gulpfile resource includes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Update src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* sessions: use AICustomizationPromptsStorage type for builtin storage

Adopt the new AICustomizationPromptsStorage union type in the sessions
tree view method signature. Use string-keyed Records and targeted casts
at the PromptsStorage boundary to stay type-safe.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: remove PromptsStorage casts, widen IStorageSourceFilter

Use AICustomizationPromptsStorage in sessions-local interfaces
(IAICustomizationGroupItem, IAICustomizationFileItem) and widen
IStorageSourceFilter.sources to readonly string[] so BUILTIN_STORAGE
flows through without casts. The only remaining cast is at the
IPromptPath creation boundary in AgenticPromptsService.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: move BUILTIN_STORAGE to sessions common layer

Move AICustomizationPromptsStorage type and BUILTIN_STORAGE constant
from the workbench browser UI module to sessions/contrib/chat/common
so that AgenticPromptsService (a service) does not depend on UI code.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* sessions: fix ESLint dangerous type assertion in builtin prompts (#299663)

Replace the `as IPromptPath` cast in discoverBuiltinPrompts with a
createBuiltinPromptPath factory function that contains the type
narrowing in one place, satisfying the code-no-dangerous-type-assertions
ESLint rule.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Enhance Agent Sessions Control and Renderer with observable active session resource

* fix terminal

* Enable model management in NewChatWidget

* review feedback

* different competion settings for copilot markdown and plaintext

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com>
Co-authored-by: BeniBenj <besimmonds@microsoft.com>
Co-authored-by: Osvaldo Ortega <osortega@microsoft.com>
Co-authored-by: Josh Spicer <23246594+joshspicer@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-06 09:09:01 -08:00
Robo
4c1cc1582a fix: add version folder to visualelements manifest icon path (#299239) 2026-03-04 17:31:07 +00:00
Johannes Rieken
dce8b9367d Merge pull request #298894 from microsoft/joh/source-map-fixes
Enhance source map handling in NLS plugin and related components
2026-03-03 16:35:49 +01:00
Johannes
7bcb2550df Enhance source map handling in build tasks for CI environments 2026-03-03 15:13:11 +01:00
Robo
06bf068dbb fix: support protocol handler for subapp on macOS (#298877) 2026-03-03 10:59:58 +01:00
Johannes
ccbe5ab074 Enhance source map handling in NLS plugin and related components
- Introduced adjustments for source maps in the NLS plugin to ensure accurate mapping after placeholder replacements.
- Implemented deferred processing for source maps to handle edits more effectively, preserving unmapped segments.
- Updated tests to validate column mappings and ensure correctness in both minified and non-minified builds.
- Improved documentation to reflect changes in source map generation and adjustments.
2026-03-03 08:51:36 +01:00
João Moreno
d2f1f7ce97 Inline Compile & CompileCLI stages into platform specific jobs (#296006)
* chore: ralph loop checkpoint - 2026-02-17 12:48

* fix shell script

* Inline compile stage into platform jobs

Remove the standalone Compile stage from the ADO pipeline. Each
platform job (Windows, Linux, macOS, Alpine, Web) now compiles
TypeScript itself instead of downloading a shared Compilation artifact.

- Add VSCODE_RUN_CHECKS parameter to Linux jobs for hygiene/lint/CG
- Add VSCODE_RUN_COMPILE_EXTRAS parameter to macOS jobs for telemetry
  extraction and sourcemap upload
- Remove VSCODE_COMPILE_ONLY parameter entirely
- Delete product-compile.yml (no longer referenced)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Always run telemetry extraction on macOS builds

The macOS Universal app merge requires both x64 and arm64 builds to have
identical file sets. Telemetry extraction was only running on arm64 (via
VSCODE_RUN_COMPILE_EXTRAS), causing the universal merge to fail due to
missing telemetry-core.json and telemetry-extensions.json in the x64 build.

Move telemetry extraction outside the VSCODE_RUN_COMPILE_EXTRAS gate so
it runs on all macOS builds. Sourcemap upload remains gated.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Run telemetry extraction on all client builds

All client builds (Linux, Windows, macOS) need telemetry-core.json and
telemetry-extensions.json. Previously only macOS arm64 ran extract-telemetry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Only run telemetry extraction on Linux x64 (client build)

Linux arm64 and armhf are server-only builds, no need for telemetry files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Remove .ralph scaffolding files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix telemetry extraction on Windows with native PowerShell

The bash extract-telemetry.sh script fails on Windows because the Unix
bin shim gets interpreted as Node.js code. Use a native PowerShell
implementation that calls the extractor JS entry point directly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Handle missing telemetry files gracefully on Windows

The telemetry extractor may skip emitting declarations-resolved.json
when no events are found. Handle this case with a warning instead of
failing the build.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Use deterministic build date from git commit timestamp

When each platform compiles independently, the build date embedded in
cli.js (via INSERT_PRODUCT_CONFIGURATION) differs between machines
because each uses new Date().toISOString(). This causes the macOS
Universal app merge to fail since cli.js SHA differs between x64/arm64.

Fix: use the git commit date (git log -1 --format=%cI HEAD) instead
of the current wall-clock time. This ensures all independent builds
on different machines produce identical timestamps.

Updated in:
- build/lib/date.ts: writeISODate() uses git commit date
- build/next/index.ts: bundle(), transpile, and readISODate fallback
  all use git commit date

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Remove redundant extensions-ci task from CI pipelines

core-ci (esbuild path) already includes cleanExtensionsBuildTask,
compileNonNativeExtensionsBuildTask, and compileExtensionMediaBuildTask.
Running extensions-ci in parallel caused a race condition where
core-ci's rimraf of .build/extensions clashed with extensions-ci
writing to the same directory.

Also removes dead code:
- extensions-ci and extensions-ci-pr task definitions (fully subsumed)
- core-ci-old task (useEsbuildTranspile is always true)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* remove VSCODE_RUN_COMPILE_EXTRAS

* address PR feedback regarding code duplication of `getGitCommitDate()` function by exporting a single helper function from `build/lib/date.ts` and importing it in `build/next/index.ts` to ensure consistent behavior and improve code maintainability.

* update readISODate function to return git commit date instead of current date

* add telemetry sorting script and integrate into build process for consistent output

* refactor telemetry extraction process: replace shell script with TypeScript implementation

* update skill

* update telemetry-extractor dependency to version 1.19.0

* fix build

* fix more duplicate telemetry definition issues

* cleanup

* refactor: consolidate validation checks into quality checks and remove obsolete tasks

* bust the cache

* undo cache bust

* fix expression

* fix

* fix: update Azure storage account name in quality checks

* fix: initialize stages set with 'Quality'

* fix: add VSCODE_BUILD_TYPE parameter with options for Product and CI builds

* fix: update Azure Pipeline CLI to use parameters instead of variables for queueing builds

* fix: update VSCODE_BUILD_TYPE parameter values for clarity

* fix: update default value for VSCODE_BUILD_TYPE parameter to 'Product'

* leaner

* even leaner

* only npm ci in build

* 💄

* run entire npm ci

* fix

* fix

* fix it

* Inline CompileCLI into platform stages

- Remove centralized CompileCLI stage
- Move CLI jobs into Windows, Linux, macOS stages as independent jobs
- CLI jobs now compile, publish unsigned mid-job, sign, and publish signed
- Platform compile jobs use deemon + waitForArtifacts for async CLI download
- Delete separate CLI sign jobs (now merged into CLI compile jobs)
- Remove CompileCLI from publish.ts stage tracking

* fix: macOS CLI signing - use proper directory structure for ESRP

* fix: add BUILDS_API_URL to Windows and Linux job templates

* fix: label Linux CLI jobs clearly

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: João Moreno <22350+joaomoreno@users.noreply.github.com>
2026-03-01 08:48:08 +01:00
Robo
192a1b2478 chore: sessions entry app for windows (#297589)
* chore: enable sub app entrypoint on windows

* chore: update window icons

* chore: update gulp-electron

* chore: bump inno_updater

* chore: cleanup

* fix: inno compilation for stable

* chore: bump distro

* chore: bump distro
2026-02-25 23:08:43 +00:00
João Moreno
6be9f0fb0f fixes #297620 (#297648) 2026-02-25 12:12:28 +01:00
Dmitriy Vasyura
d0f203e76f Add Win32 metadata all executable binaries (#296710) 2026-02-24 09:29:02 +01:00
Benjamin Pasero
7f4996ff84 sessions - separate protocol handler (#296514) 2026-02-20 14:15:06 +00:00
Robo
d112b3987e chore: update application name logic for win32 scripts (#295777) 2026-02-17 15:13:55 +00:00
Benjamin Pasero
b1009c98bb Sessions exploration (#294912) 2026-02-17 14:14:39 +00:00
Johannes
7c6cca7b14 Add native private field to property transform for esbuild bundles 2026-02-13 14:44:33 +01:00
Robo
27ea56f796 chore: bump electron@39.5.2 (#294238)
* chore: bump electron@39.5.2

* chore: update checksums

* chore: undo bits on macOS

* chore: update lockfile

* chore: update node.js build

* chore: bump distro
2026-02-12 21:11:08 +00:00
Sandeep Somavarapu
13ea41dc8f remove workbench mode concept (#294985)
* remove workbench mode concept

* clean up completely
2026-02-12 19:15:10 +01:00
Johannes Rieken
23e2c6b19d Merge branch 'main' into joh/successive-shrimp 2026-02-12 10:31:30 +01:00
Johannes
3e2e658fdd Fix date reading logic in build scripts to handle missing files gracefully 2026-02-11 18:36:13 +01:00
Logan Ramos
66bcaa0aea Ensure gulp min writes the ISO date file (#294615) 2026-02-11 09:31:21 -08:00
Johannes
dbf3cdf0ac fix: update date handling in jsonEditor for product.json 2026-02-10 16:36:35 +01:00
Johannes
5ea70f9e5b refactor: streamline vscode build tasks and remove esbuild variants 2026-02-10 11:36:17 +01:00
Johannes
18456cc05f source maps: sourcesContent, CDN URL rewriting, replace @parcel/watcher 2026-02-10 11:10:12 +01:00
Johannes
eabd95d28e Add Type-check task using tsgo to the build process 2026-02-09 15:56:52 +01:00
Johannes
d27f42a111 use 2026-02-09 12:29:01 +01:00
Johannes
1ab650b351 Merge branch 'main' into joh/esbuild-the-things 2026-02-05 17:35:18 +01:00
Dmitriy Vasyura
e6fdfd7d0e Update icons for ipynb and code-workspace file associations on Windows (#293037) 2026-02-05 18:54:49 +09:00
Johannes
2b8a35bb03 Merge branch 'main' into joh/esbuild-the-things 2026-02-04 09:11:45 +01:00
Joaquín Ruales
d3dbc037c0 Prepopulate the Find in Page search text with the currently selected text in the page (#291800)
* Prepopulate Find textbox

* Add warning taken from preload.ts

* Small changes

* Refactor preload script comments for clarity and security emphasis

* Small comment change

* Small comment change

* Update comment

* Use isolated world instead of main world

* Comment update

* Update comment

* Update comment

* PR Feedback

* Small comment
2026-02-03 22:48:14 -08:00
Johannes
ed6fcf28c2 feat: add esbuild transpile task with support for excluding test files and customizable output directory 2026-02-04 07:38:05 +01:00
Robo
d0e516655a fix: rename product executable on macOS (#291948)
* fix: rename product executable name on macOS

* chore: update test/automation/src/electron.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: update test/automation/src/electron.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: rename in additional places

* chore: rename in code-perf.js

* chore: create symlink for backwards compatibility

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 14:50:21 -08:00
Johannes
07e68d11dd fix: update date handling in jsonEditor for product.json and add build date file in bundle process 2026-02-03 18:18:05 +01:00
Johannes
fa93faf9aa feat: add copyCodiconsTask to core CI and esbuild tasks 2026-02-03 15:44:46 +01:00
Johannes
ebe5d39c37 better error handling 2026-02-03 12:46:04 +01:00
Johannes
35f4232d25 TRY use esbuild for core-ci 2026-02-03 12:21:44 +01:00
Johannes
286945b656 feat: enhance esbuild bundling with target support for desktop, server, and server-web 2026-02-03 12:18:39 +01:00
Johannes
73dcb4734d feat: implement esbuild-based bundling tasks and enhance NLS processing 2026-02-02 18:04:20 +01:00
Sandeep Somavarapu
d85e727379 remove built in profiles (#290528) 2026-01-26 20:39:49 +00:00
Sandeep Somavarapu
e7c53a91c7 introduce workbench mode for agent sessions window (#290500)
* introduce workbench mode for agent sessions window

* feedback

* simplify
2026-01-26 19:44:40 +00:00
Sandeep Somavarapu
19209a8c1f Prototype agent sessions window (#289707)
* prototype agent sessions window

* prototype agent sessions window

* polish defaults

* apply template changes on startup

* move under resources

* some fixes and disable profile actions in agent sessions window

* disabe manage profile actions for agent sessions workspace

* fix fixing window title

* disable when chat is hidden

* simplify

* feedback

* fix tests

* disable the action in stable

* Update resources/profiles/agent-sessions.code-profile

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/vs/platform/userDataProfile/common/userDataProfileTemplateWatcher.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/vs/platform/userDataProfile/common/userDataProfile.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-23 08:17:25 +00:00
Robo
6543b51327 feat: enabled windows version update for stable (#288126)
* feat: enabled windows version update for stable

* chore: update setup file

* temp: bump distro

* chore: fix electron re-download

* fix: oss callsite in updateservice

* chore: simplify check in tunnel-forwarding
2026-01-19 12:16:20 +00:00
Benjamin Pasero
fe665a91f6 watcher - update to latest version (#286484) 2026-01-09 07:07:37 +01:00
Benjamin Pasero
43b3987e74 debt - adopt @vscode/watcher with some newer fixes (#285247) 2025-12-29 03:57:05 -08:00
Matt Bierner
c3c3661523 Merge branch 'main' into dev/mjbvz/gulp-ts 2025-11-24 08:21:10 -08:00
Matt Bierner
ac71e4f6ad Reduce runtime changes 2025-11-21 15:50:54 -08:00
Matt Bierner
fcfb37c8f8 Convert gulp files to ts
For #277526

Had to add a few ugly casts in difficult cases but mostly trying to add proper types
2025-11-21 15:38:55 -08:00