Files
openclaude/vscode-extension/openclaude-vscode/package.json
T
JoneSSLandGitHub 07c1c56b4f Add Azure / Foundry launch support to VS Code extension (#1365)
* Enhance OpenClaude VS Code extension with Microsoft Foundry / Azure OpenAI support. Added configuration options for Azure API key, endpoint, and deployment settings. Updated README and documentation for new features, including a setup wizard for Azure integration. Improved terminal launch environment handling for Azure compatibility.

* Fix packaged Windows helper runtime references

* Use installed CLI from Windows helper aliases

* Scope Windows helper env overrides to invocation

* Align Windows alias docs with shipped helper
2026-06-09 06:27:18 +08:00

236 lines
7.4 KiB
JSON

{
"name": "openclaude-vscode",
"displayName": "OpenClaude",
"description": "Practical VS Code companion for OpenClaude with project-aware launch, Control Center, optional Microsoft Foundry / Azure OpenAI terminal env, and chat.",
"version": "0.2.0",
"publisher": "devnull-bootloader",
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Themes",
"Other"
],
"activationEvents": [
"onStartupFinished",
"onCommand:openclaude.start",
"onCommand:openclaude.startInWorkspaceRoot",
"onCommand:openclaude.openDocs",
"onCommand:openclaude.openSetupDocs",
"onCommand:openclaude.openWorkspaceProfile",
"onCommand:openclaude.openControlCenter",
"onCommand:openclaude.newChat",
"onCommand:openclaude.openChat",
"onCommand:openclaude.resumeSession",
"onCommand:openclaude.abortChat",
"onCommand:openclaude.setAzureApiKey",
"onCommand:openclaude.clearAzureApiKey",
"onCommand:openclaude.configureAzureChat",
"onCommand:openclaude.openAzureSettings",
"onView:openclaude.controlCenter",
"onView:openclaude.chat"
],
"main": "./src/extension.js",
"files": [
"README.md",
"media/**",
"src/extension.js",
"src/presentation.js",
"src/state.js",
"src/chat/**",
"themes/**"
],
"contributes": {
"commands": [
{
"command": "openclaude.start",
"title": "OpenClaude: Launch in Terminal",
"category": "OpenClaude"
},
{
"command": "openclaude.startInWorkspaceRoot",
"title": "OpenClaude: Launch in Workspace Root",
"category": "OpenClaude"
},
{
"command": "openclaude.openDocs",
"title": "OpenClaude: Open Repository",
"category": "OpenClaude"
},
{
"command": "openclaude.openSetupDocs",
"title": "OpenClaude: Open Setup Guide",
"category": "OpenClaude"
},
{
"command": "openclaude.openWorkspaceProfile",
"title": "OpenClaude: Open Workspace Profile",
"category": "OpenClaude"
},
{
"command": "openclaude.openControlCenter",
"title": "OpenClaude: Open Control Center",
"category": "OpenClaude"
},
{
"command": "openclaude.newChat",
"title": "OpenClaude: New Chat",
"category": "OpenClaude"
},
{
"command": "openclaude.openChat",
"title": "OpenClaude: Open Chat Panel",
"category": "OpenClaude"
},
{
"command": "openclaude.resumeSession",
"title": "OpenClaude: Resume Session",
"category": "OpenClaude"
},
{
"command": "openclaude.abortChat",
"title": "OpenClaude: Abort Generation",
"category": "OpenClaude"
},
{
"command": "openclaude.setAzureApiKey",
"title": "OpenClaude: Set Azure / Foundry API Key (Secret Storage)",
"category": "OpenClaude"
},
{
"command": "openclaude.clearAzureApiKey",
"title": "OpenClaude: Clear Azure / Foundry API Key",
"category": "OpenClaude"
},
{
"command": "openclaude.configureAzureChat",
"title": "OpenClaude: Configure Azure / Foundry Chat (wizard)",
"category": "OpenClaude"
},
{
"command": "openclaude.openAzureSettings",
"title": "OpenClaude: Open Azure / Foundry Settings",
"category": "OpenClaude"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "openclaude",
"title": "OpenClaude",
"icon": "media/openclaude.svg"
}
]
},
"views": {
"openclaude": [
{
"id": "openclaude.chat",
"name": "Chat",
"type": "webview"
},
{
"id": "openclaude.controlCenter",
"name": "Control Center",
"type": "webview"
}
]
},
"keybindings": [
{
"command": "openclaude.openChat",
"key": "ctrl+shift+l",
"mac": "cmd+shift+l"
}
],
"configuration": {
"title": "OpenClaude",
"properties": {
"openclaude.launchCommand": {
"type": "string",
"default": "openclaude",
"description": "Command run in the integrated terminal when launching OpenClaude."
},
"openclaude.terminalName": {
"type": "string",
"default": "OpenClaude",
"description": "Integrated terminal tab name for OpenClaude sessions."
},
"openclaude.useOpenAIShim": {
"type": "boolean",
"default": false,
"description": "Optionally set CLAUDE_CODE_USE_OPENAI=1 in launched OpenClaude terminals when Azure injection is off or incomplete."
},
"openclaude.azure.enabled": {
"type": "boolean",
"default": false,
"description": "When true, launch injects Microsoft Foundry / Azure OpenAI-compatible chat env (OPENAI_* + AZURE_OPENAI_API_VERSION) into the OpenClaude terminal."
},
"openclaude.azure.endpoint": {
"type": "string",
"default": "",
"markdownDescription": "Azure resource base URL for OpenAI-compatible chat (example: `https://YOUR_RESOURCE.openai.azure.com`). Do not put `api-version` here; use **OpenClaude: Azure API Version**."
},
"openclaude.azure.apiVersion": {
"type": "string",
"default": "2024-12-01-preview",
"description": "Azure API version for chat completions (AZURE_OPENAI_API_VERSION)."
},
"openclaude.azure.deployment": {
"type": "string",
"default": "",
"markdownDescription": "Azure deployment name (maps to `OPENAI_MODEL` for the OpenAI shim)."
},
"openclaude.azure.forceAzureUrlStyle": {
"type": "boolean",
"default": true,
"description": "Sets OPENAI_AZURE_STYLE=1 so deployment URLs and api-key header work on Foundry and non-standard Azure hosts."
},
"openclaude.azure.apiKey": {
"type": "string",
"default": "",
"markdownDescription": "Optional API key in settings (not recommended). Prefer **OpenClaude: Set Azure / Foundry API Key**. Secret wins if both are set."
},
"openclaude.permissionMode": {
"type": "string",
"default": "acceptEdits",
"enum": ["default", "acceptEdits", "bypassPermissions", "plan"],
"enumDescriptions": [
"Prompt for permission on each tool use (requires manual approval)",
"Auto-approve file edits, prompt for other operations (recommended)",
"Auto-approve all operations without prompting",
"Read-only mode — no file modifications allowed"
],
"description": "Permission mode for chat sessions. Controls which tool operations are auto-approved."
}
}
},
"themes": [
{
"label": "OpenClaude Terminal Black",
"uiTheme": "vs-dark",
"path": "./themes/OpenClaude-Terminal-Black.json"
}
]
},
"scripts": {
"test": "bun test src",
"lint": "node scripts/lint.js",
"package": "npx @vscode/vsce package --no-dependencies"
},
"keywords": [
"openclaude",
"terminal",
"theme",
"cli",
"llm",
"azure",
"foundry"
],
"repository": {
"type": "git",
"url": "https://github.com/Gitlawb/openclaude"
},
"license": "MIT"
}