This file provides instructions for AI coding agents working with the VS Code codebase. For detailed project overview, architecture, coding guidelines, and validation steps, see the Copilot Instructions.
7 projects use a version of this
195k3d agoReviewMountCreate a free account to mount
See README.md for how to add a rule. The rules here run in oxlint (CI, the pre-commit hook, pnpm run oxlint, the oxc editor extension and the rule tests, through oxlint's RuleTester), which loads them as JS plugins. They use oxlint's ESLint-compatible rule API with the types of @oxlint/plugins, imported with import type, and eslint.config.js configures them. Don't add a dependency on ESLint packages. oxlint runs all JS plugin rules of a process on one thread, and the rules run…
195k3d agoReviewMountCreate a free account to mount
Custom personas with specific tools, instructions, and behaviors. Use for orchestrated workflows with role-based tool restrictions. Use reasoning-effort to set the reasoning level for the custom agent's model: The selected model must support the configured level. If omitted, the runtime resolves the effort from the model configuration and, when applicable, the parent agent. Sources: built-in aliases, specific tools, MCP servers (<server>/*), extension tools. Special: [] = no tools, omit = defaults. Body reference: #tool:<name> To discover available tools, check your…
Steady+17 stars this week
No other project uses it yet
195k3d agoReviewMountCreate a free account to mount
This folder contains the Copilot CLI integration for VS Code Chat. It enables users to open a new Chat window and interact with a Copilot CLI agent instance directly within VS Code. VS Code provides the UI, Copilot CLI SDK provides the smarts. Important: The Copilot CLI agent functionality is powered by the @github/copilot/sdk package. See the SDK package for full type definitions. The integration follows VS Code's platform layering pattern with three layers:
No other project uses it yet
195k3d agoReviewMountCreate a free account to mount
IAuthenticationService manages GitHub and Copilot authentication. It provides GitHub sessions (OAuth tokens) and Copilot tokens (CAPI tokens). getGitHubSession requires a kind parameter. Choose thoughtfully: Returns AuthenticationSession (never undefined). Throws if the user cancels. Requires createIfNone with a StrictAuthenticationPresentationOptions containing a localized detail string explaining why auth is needed: Same as above but forces re-authentication even if a session exists. Use when the current token has lost authorization: Returns AuthenticationSession | undefined. Never shows UI. Use when auth is optional: For…
Steady+17 stars this week
No other project uses it yet
195k3d agoReviewMountCreate a free account to mount
Before adding or changing protocol constructs or _meta, follow AHP interoperability: use existing protocol constructs first, raise unmet requirements upstream, and preserve compatibility with alternate hosts and UIs. Node runtime service construction is documented separately in node/serviceBootstrapping.md. Host startup timings, process-lifetime correlation, and session workload counts are documented in PERFORMANCE.md. Status: COMPLETE (2026-07-01) All waves A–D and gates G-B1, G-C1, G-C2, G-D1 are done. Codex, Claude, and Copilot all use the unified orchestrator path. Codex advertises multipleChats: { fork: true,…
195k3d agoReviewMountCreate a free account to mount
This directory contains the VS Code-facing wrappers around the Agent Host Protocol (AHP) state model. Read this before modifying protocol types. Before adding or changing protocol constructs or _meta, follow the protocol constructs before _meta rules. Existing protocol constructs must be used instead of metadata where possible; unmet requirements should be raised upstream, and optional metadata must tolerate alternate hosts and UIs that omit or ignore it. The generated protocol includes the Changesets model: The generated copy intentionally carries the…
195k3d agoReviewMountCreate a free account to mount
This directory customizes the system prompt for Copilot CLI agent host (ahp+cli) sessions. Read this before changing how the system message is built or adding per-model / per-tool guidance. It mirrors the Copilot extension's extensions/copilot/.../prompts/node/agent/ (agentPrompts), but the agent host runs in its own process and cannot use prompt-tsx, so contributors return plain data the SDK accepts directly. Unless the matching chat.agentHost.copilot.modelCapabilityOverrides entry provides a YAML promptOverrideString or promptOverrideFile containing systemPrompt, resolveSystemMessageConfig(model, context) layers, in order: The per-model prompt override…
Steady+17 stars this week
No other project uses it yet
195k3d agoReviewMountCreate a free account to mount
For tests in this area that touch the SessionDatabase, they MUST use an in-memory database, not a real database file on disk. Use SessionDatabase.open(':memory:') and see the examples from existing tests.
Steady+17 stars this week
No other project uses it yet
195k3d agoReviewMountCreate a free account to mount
A generic workbench editor for viewing collections of images in a carousel/slideshow UI. Opens as a modal editor pane with navigation arrows, a caption, and a thumbnail strip. The image carousel is a self-contained workbench contribution that follows the custom editor pattern: Clicking an image attachment pill in chat (when chat.imageCarousel.enabled is true) executes the workbench.action.chat.openImageInCarousel command, which collects request attachment images together with response-derived images for the current chat session and opens them in the carousel. MIME types are…
Steady+17 stars this week
No other project uses it yet
195k3d agoReviewMountCreate a free account to mount
These rules apply to all public contributions and interactions, no matter how they're done. The entity operating or authorizing the contributions and interactions is responsible for them. AI assistance does not relieve contributors of responsibility for their work. "The AI did it" is not an excuse. Violations may result in contributions being closed without further comment. Cases of deception, evasion, or repeat violations may result in account bans. Allowed: - All AI usage that remains non-public (e.g. questions, reviews, local…
No other project uses it yet
105k2mo agoReviewMountCreate a free account to mount
playwright-chromium, playwright-firefox, playwright-webkit — per-browser distributions. playwright-browser-chromium, playwright-browser-firefox, playwright-browser-webkit — binary packages. Assume watch is running and code is up to date. Generated files (types, channels, validators) are produced by watch automatically. Runs all lint checks in parallel: eslint, tsc, doclint, check-deps, generate_channels, generate_types, lint-tests, test-types, lint-packages, code-snippet linting, check-dependency-age (every version in package-lock.json must be at least 7 days old, unless only a newer version fixes an advisory of high or critical severity). Run flint only before you upload…
100k5d agoReviewMountCreate a free account to mount