Commit Graph

21 Commits

Author SHA1 Message Date
Megan Rogge
045e2da42d Strengthen accessibility skill language (#301555) 2026-03-13 18:42:51 +00:00
Henning Dieterichs
9d5ebb8f07 Updates skill 2026-03-11 12:30:20 +01:00
Josh Spicer
975cdcf8fe policy: DeprecatedEditModeHidden (#300290)
* Add 'DeprecatedEditModeHidden' policy

* Add 'add-policy' skill
2026-03-10 00:38:04 +00:00
Benjamin Pasero
9495e313c0 sessions - clarify instructions around compiling and testing (#299255) 2026-03-04 11:45:50 -08:00
Benjamin Pasero
06c96dcab4 sessions - AI customizations for selfhost (#299053)
* sessions - AI customizations for selfhost

* more

* Update .github/hooks/hooks.json

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

* Update .github/skills/sessions/SKILL.md

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 05:56:19 +01:00
Henning Dieterichs
cd41bf1fe1 Updates component explorer 2026-03-03 12:57:45 +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
Henning Dieterichs
96baba2cc4 feat: update component explorer dependencies and add new test fixtures
- Updated @vscode/component-explorer to version 0.1.1-16 and @vscode/component-explorer-cli to version 0.1.1-12 in package.json and package-lock.json.
- Added new test fixtures for chat question carousel, code action list, find widget, inline completions extras, rename widget, and suggest widget.
- Implemented rendering logic for new fixtures to enhance testing capabilities for various components.
2026-02-26 15:30:23 +01:00
Harald Kirschner
05cd5b7ca4 Add memory leak audit skill for AI coding agents (#293292) 2026-02-23 16:06:31 -08:00
Henning Dieterichs
89cd7ec4bb adds screenshot status with url, updates skill 2026-02-23 13:28:43 +01:00
Benjamin Pasero
c442c75023 sessions - tweaks to use of modal editors (#296698)
* sessions - tweaks to use of modal editors

* ccr

* ffs

* ffs

* ffs
2026-02-21 09:23:01 +01:00
Benjamin Pasero
73e3dbe7a2 sessions - adopt modal editor support from core (#296585)
* sessions - adopt modal editor support from core

* Update src/vs/workbench/services/editor/test/browser/modalEditorGroup.test.ts

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

* Update .github/skills/agent-sessions-layout/SKILL.md

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

* Update src/vs/workbench/services/editor/common/editorGroupFinder.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-20 19:47:52 +00:00
Henning Dieterichs
2751fb4d2f adds component explorer 2026-02-20 19:57:07 +01:00
Josh Spicer
a987cc4e3f Skill: Tool renames (#296383)
* Add tool-rename-deprecation skill for legacy name backward compat

* Fix deprecated name resolution for namespaced tool references in toolsets

When a tool belongs to a toolset and has legacyToolReferenceFullNames,
the deprecated names map now includes the namespaced form (e.g.
vscode/openSimpleBrowser → vscode/openIntegratedBrowser). Previously
only the bare name was mapped, so agent files using the full
toolSet/toolName path got 'Unknown tool' instead of the rename hint.
2026-02-19 14:52:43 -08:00
Josh Spicer
ddc18bbe4c hygiene skill updates (#296347) 2026-02-19 12:55:03 -08:00
João Moreno
e3f174c7c4 Add Azure Pipeline skill (#295985)
* add Azure Pipeline skill

* move script to typescript

* 💄

---------

Co-authored-by: João Moreno <22350+joaomoreno@users.noreply.github.com>
2026-02-18 11:22:22 -08:00
Benjamin Pasero
b1009c98bb Sessions exploration (#294912) 2026-02-17 14:14:39 +00:00
Josh Spicer
08de9ad064 Growth chat session for new users (#295229)
* Revert Growth agent isReadOnly infrastructure

Remove the isReadOnly extension point property and Growth-specific
infrastructure from the chat sessions API that was added in #294255.
This was scaffolding for a growth session approach via the extension
chatSessions API, which is being replaced with a core-side implementation.

Removed:
- isReadOnly on IChatSessionsExtensionPoint and its schema
- isReadOnly filtering in session target/delegation pickers
- contribution?.isReadOnly parameter from getAgentCanContinueIn
- Growth from getAgentSessionProvider (prevents cache persistence)
- Growth-specific and isReadOnly tests

Kept:
- AgentSessionProviders.Growth enum value (used by new implementation)
- ChatSessionStatus.NeedsInput in proposed API + ext host types
- Growth cases in name/icon/description switch statements

* growth notification for new chat users

* hygiene skill

* Update src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.ts

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

* Address PR review feedback

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-13 12:30:22 -08:00
Bryan Chen
474b6d0eec Add guidelines and prompt for fixing unhandled errors from VS Code error telemetry 2026-02-09 11:25:37 -08:00
Ben Villalobos
424c52d501 Fix accessibility skill (#293548) 2026-02-06 23:22:03 +00:00
Megan Rogge
ccef9ec342 add first repo skill, comprehensive accessibility guidelines for VS Code features (#293231) 2026-02-05 23:18:19 +00:00