JavaScript/TypeScript Chat Features
This extension provides the following functionality:
Skills
Skills offer Copilot Agent Mode additional information on how to perform certain tasks.
Skills are enabled by default via jsts-chat-features.skills.enabled.
The TypeScript Update skill is experimental and disabled by default. Enable it with
jsts-chat-features.skills.typescriptUpdate.enabled; both settings must be true
for VS Code to offer that skill. TypeScript Setup requires only the full skills setting.
Both settings are window-scoped (user or workspace settings, not per-folder overrides).
Currently available:
- The TypeScript Setup Skill (
typescript-setup), which offers better guidance on how to make a modern tsconfig.json for TypeScript projects.
- The TypeScript Update Skill (
typescript-update), which assists in upgrading from older versions of TypeScript to newer versions, up to and including TypeScript 7.0.
Telemetry and experimentation
The extension uses @vscode/extension-telemetry for activation and TAS diagnostic/query events,
and vscode-tas-client for cached experiment assignments. Events include TAS assignment context
so experiment results can be correlated with extension telemetry. This uses the same telemetry
resource as the TypeScript native-preview extension.
The extension queries the legacy TAS endpoint and the new assignments API at
https://exp.individual.githubcopilot.com/api/v1/assignments. The individual endpoint is used
for all Copilot SKUs until VS Code exposes a public endpoint-discovery API. Business or enterprise
firewalls may block this host; failed new-API requests are logged, and the client retains available
legacy or cached assignments, otherwise using treatment defaults.
The new assignments request uses VS Code's machine ID for randomization, matching the machine
identity included by the telemetry reporter. Activation telemetry counts startups, not
experiment exposure: it uses cached assignment context when available, but a cold-start event
may lack attribution because activation does not wait for network assignments.
Telemetry respects VS Code's telemetry.telemetryLevel setting. Setting it to off also stops
TAS polling and disables treatment lookups. No source code, chat prompts, or workspace paths are
added to extension events. TAS reporting does not enable skills; availability follows
the configuration settings above.
See the Microsoft Privacy Statement.
Project setup outcomes
In trusted workspaces, projectSetup.outcome telemetry observes new TypeScript
projects created after activation, whether jsts-chat-features.skills.enabled is true
or false. It reports metrics based on benchmark graders without executing commands
or reading source contents. Missing evidence is explicitly unknown, not success.
Detected bundlers are recorded as hashes of canonical allowlisted names, never plaintext
names or hashes of arbitrary manifest content.
The skills are packaged with the extension, but the setting controls whether VS Code
offers them to Copilot. Telemetry records that setting to compare enabled and disabled
groups, not to detect whether the skills are installed or were used in a chat.
See project setup telemetry for grader coverage,
the precise trigger, privacy boundaries, and how to compare attempt-level outcomes.
TypeScript 7 versus TypeScript 6 dependency prevalence
In trusted workspaces, typescriptUpdate.dependencies observes compiler dependency
declarations at activation and after manifest changes, including control workspaces
that never run the update skill. It distinguishes TS7, TS6, both, TS5-or-older, neither, and unknown,
with workspace and package-level denominators. The side-by-side native compiler/TS6
API alias layout counts as both. Unresolved tags/ranges remain unknown; declarations
are not proof of installed compiler versions or a healthy migration.
See TypeScript update telemetry for package
classification, cohort correlation, prevalence calculations and deferred grader coverage.