{ "name": "vscode-terminal-api-example", "displayName": "vscode-terminal-api-example", "description": "abc", "version": "0.0.1", "publisher": "vscode-samples", "private": true, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/Microsoft/vscode-extension-samples" }, "engines": { "vscode": "^1.100.0" }, "enabledApiProposals": [ "terminalDataWriteEvent", "terminalDimensions" ], "categories": [ "Other" ], "activationEvents": [ "onTerminalProfile:terminalTest.terminal-profile" ], "main": "./out/extension.js", "contributes": { "commands": [ { "command": "terminalTest.createAndSend", "title": "Terminal API: Create Terminal and Immediately Send" }, { "command": "terminalTest.createTerminal", "title": "Terminal API: Create Terminal" }, { "command": "terminalTest.createTerminalHideFromUser", "title": "Terminal API: Create Terminal (hideFromUser)" }, { "command": "terminalTest.createZshLoginShell", "title": "Terminal API: Create Terminal (zsh login shell)" }, { "command": "terminalTest.dimensions", "title": "Terminal API: Set dimensions" }, { "command": "terminalTest.dispose", "title": "Terminal API: Dispose" }, { "command": "terminalTest.hide", "title": "Terminal API: Hide" }, { "command": "terminalTest.onDidWriteTerminalData", "title": "Terminal API: Attach data listener" }, { "command": "terminalTest.onDidChangeTerminalDimensions", "title": "Terminal API: Attach dimensions listener" }, { "command": "terminalTest.processId", "title": "Terminal API: Get process ID" }, { "command": "terminalTest.sendText", "title": "Terminal API: Send Text" }, { "command": "terminalTest.sendTextNoNewLine", "title": "Terminal API: Send Text (no implied \\n)" }, { "command": "terminalTest.show", "title": "Terminal API: Show" }, { "command": "terminalTest.showPreserveFocus", "title": "Terminal API: Show (preserving focus)" }, { "command": "terminalTest.terminals", "title": "Terminal API: View terminals" }, { "command": "terminalTest.updateEnvironment", "title": "Terminal API: Update environment" }, { "command": "terminalTest.clearEnvironment", "title": "Terminal API: Clear environment" }, { "command": "terminalTest.registerTerminalLinkProvider", "title": "Terminal API: Register link provider" } ], "terminal": { "profiles": [ { "id": "terminalTest.terminal-profile", "icon": "terminal", "title": "Terminal API Profile" } ] } }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "lint": "eslint", "download-api": "dts dev", "postinstall": "npm run download-api" }, "devDependencies": { "@eslint/js": "^9.13.0", "@stylistic/eslint-plugin": "^2.9.0", "@types/node": "^22", "@types/vscode": "^1.100.0", "eslint": "^9.13.0", "typescript": "^5.9.2", "typescript-eslint": "^8.39.0" }, "dependencies": { "@vscode/dts": "^0.4.1" } }