Skip to content

[cherry-pick] Agents welcome: introduce isEmbeddedApp and parentAppName environment properties#314071

Merged
sandy081 merged 1 commit intorelease/1.119from
cherry-pick/314061
May 4, 2026
Merged

[cherry-pick] Agents welcome: introduce isEmbeddedApp and parentAppName environment properties#314071
sandy081 merged 1 commit intorelease/1.119from
cherry-pick/314061

Conversation

@vs-code-engineering
Copy link
Copy Markdown
Contributor

Cherry-pick of #314061 from main.

Introduces proper environment service properties for the embedded (Agents) app to identify its parent VS Code installation by name.

Changes

  • Add isEmbeddedApp?: boolean to IEnvironmentService — set from process.isEmbeddedApp in native environments
  • Add @memoized parentAppNameShort and parentAppNameLong getters to AbstractNativeEnvironmentService, computed from isEmbeddedApp + product quality:
    • stable → "VS Code" / "Visual Studio Code"
    • insider → "VS Code Insiders" / "Visual Studio Code Insiders"
    • exploration → "VS Code Exploration" / "Visual Studio Code Exploration"
  • Thread isEmbeddedApp through INativeWindowConfiguration so the renderer picks it up
  • Use environmentService.parentAppNameShort in the welcome theme step to correctly label the "Use My VS Code Insiders Theme" button (previously showed "Use My Agents - Insiders Theme" because it used productService.embedded?.nameShort)

Follow-up to

@sandy081 sandy081 merged commit 83537bd into release/1.119 May 4, 2026
26 checks passed
@sandy081 sandy081 deleted the cherry-pick/314061 branch May 4, 2026 13:06
@vs-code-engineering vs-code-engineering Bot added this to the 1.119.0 milestone May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick-artifact Auto-generated cherry-pick PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants