jiebi/CodeConvo huggingface dataset:
dependencies: find-up "^3.0.0" <del> playwright-core@=0.15.0: version "0.15.0" resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-0.15.0.tgz#c605c98a13c81d5a2e2691f15d04758cf302c20a" integrity sha512-uTm4PoF2U3iXkLMMG9vlTxlGfO8atQGAHDxqi8xV7hEjNSYeLTU7c6HN5zwadeHRVuBbNsZ4yqu9u4hoqC7uxQ== </del> <ins> playwright-core@=1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.0.1.tgz#823b6f1afa16917ffd418f3cec0c14688a985738" integrity sha512-a71FjUDRFqWLG3VBAojVen2TaZiXkuog+ZmI0Nh0+/QndFUbbW3kameOfUTMXFvLUGWx2ipERZx6EQTJMEQDMA== </ins> dependencies: debug "^4.1.1" extract-zip "^2.0.0"
rimraf "^3.0.2" ws "^6.1.0" <del> playwright@0.15.0: version "0.15.0" resolved "https://registry.yarnpkg.com/playwright/-/playwright-0.15.0.tgz#bf5c3bb8404975aba78459310742388c08438431" integrity sha512-UGHkQz8DT43uJ0KgMh2rmj8BI4FE5ReQJ9nm5mG68tt1Cj2sXPdM2b05qptfYYBPtQRetQqtJTauZ6rlCDemaQ== </del> <ins> playwright@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.0.1.tgz#326d479829a3505799ddc9988cc8decf5a7f8376" integrity sha512-kVTE7uvZ7OcDVOBx7MVArUm2nbzzzpauKV9tuVIAH6vWGsOWbGGALUoTWMzNDzsPPTBJXXmxzC4KgI2zN+kVhw== </ins> dependencies: <del> playwright-core "=0.15.0" </del> <ins> playwright-core "=1.0.1" </ins> plist@^3.0.1: version "3.0.1"
*--------------------------------------------------------------------------------------------*/ import 'vs/css!./media/processExplorer'; <ins> import 'vs/base/browser/ui/codicons/codiconStyles'; // make sure codicon css is loaded </ins> import { ElectronService, IElectronService } from 'vs/platform/electron/electron-sandbox/electron'; import { ipcRenderer } from 'vs/base/parts/sandbox/electron-sandbox/globals'; import { localize } from 'vs/nls';
import { DisposableStore } from 'vs/base/common/lifecycle'; import { isRemoteDiagnosticError, IRemoteDiagnosticError } from 'vs/platform/diagnostics/common/diagnostics'; import { MainProcessService } from 'vs/platform/ipc/electron-sandbox/mainProcessService'; <ins> import { CodiconLabel } from 'vs/base/browser/ui/codicons/codiconLabel'; </ins> const DEBUG_FLAGS_PATTERN = /s--(inspect|debug)(-brk|port)?=(d+)?/; const DEBUG_PORT_PATTERN = /s--(inspect|debug)-port=(d+)/;
return maxProcessId; } <del> private updateSectionCollapsedState(shouldExpand: boolean, body: HTMLElement, twistie: HTMLImageElement, sectionName: string) { </del> <ins> private updateSectionCollapsedState(shouldExpand: boolean, body: HTMLElement, twistie: CodiconLabel, sectionName: string) { </ins> if (shouldExpand) { body.classList.remove('hidden'); this.collapsedStateCache.set(sectionName, false); <del> twistie.src = './media/expanded.svg'; </del> <ins> twistie.text = '$(chevron-down)'; </ins> } else { body.classList.add('hidden'); this.collapsedStateCache.set(sectionName, true); <del> twistie.src = './media/collapsed.svg'; </del> <ins> twistie.text = '$(chevron-right)'; </ins> } }
private renderProcessGroupHeader(sectionName: string, body: HTMLElement, container: HTMLElement) { const headerRow = document.createElement('tr'); <del> const data = document.createElement('td'); data.textContent = sectionName; data.colSpan = 4; headerRow.appendChild(data); const twistie = document.createElement('img'); this.updateSectionCollapsedState(!this.collapsedStateCache.get(sectionName), body, twistie, sectionName); data.prepend(twistie); </del> <ins> const headerData = document.createElement('td'); headerData.colSpan = 4; headerRow.appendChild(headerData); const headerContainer = document.createElement('div'); headerContainer.className = 'header'; headerData.appendChild(headerContainer); const twistieContainer = document.createElement('div'); const twistieCodicon = new CodiconLabel(twistieContainer); this.updateSectionCollapsedState(!this.collapsedStateCache.get(sectionName), body, twistieCodicon, sectionName); headerContainer.appendChild(twistieContainer); const headerLabel = document.createElement('span'); headerLabel.textContent = sectionName; headerContainer.appendChild(headerLabel); </ins> <del> this.listeners.add(addDisposableListener(data, 'click', (e) => { </del> <ins> this.listeners.add(addDisposableListener(headerData, 'click', (e) => { </ins> const isHidden = body.classList.contains('hidden'); <del> this.updateSectionCollapsedState(isHidden, body, twistie, sectionName); </del> <ins> this.updateSectionCollapsedState(isHidden, body, twistieCodicon, sectionName); </ins> })); container.appendChild(headerRow);
"git": { "name": "electron", "repositoryUrl": "https://github.com/electron/electron", <del> "commitHash": "0c2cb59b6283fe8d6bb4b14f8a832e2166aeaa0c" </del> <ins> "commitHash": "03c7a54dc534ce1867d4393b9b1a6989d4a7e005" </ins> } }, "isOnlyProductionDependency": true, "license": "MIT", <del> "version": "9.2.0" </del> <ins> "version": "9.2.1" </ins> }, { "component": {
"css-loader": "^3.2.0", "debounce": "^1.0.0", "deemon": "^1.4.0", <del> "electron": "9.2.0", </del> <ins> "electron": "9.2.1", </ins> "eslint": "6.8.0", "eslint-plugin-jsdoc": "^19.1.0", "event-stream": "3.3.4",
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.27.tgz#78ecb8a399066187bb374eede35d9c70565a803d" integrity sha1-eOy4o5kGYYe7N07t412ccFZagD0= <del> electron@9.2.0: version "9.2.0" resolved "https://registry.yarnpkg.com/electron/-/electron-9.2.0.tgz#d9fc8c8c9e5109669c366bd7b9ba83b06095d7a4" integrity sha512-4ecZ3rcGg//Gk4fAK3Jo61T+uh36JhU6HHR/PTujQqQiBw1g4tNPd4R2hGGth2d+7FkRIs5GdRNef7h64fQEMw== </del> <ins> electron@9.2.1: version "9.2.1" resolved "https://registry.yarnpkg.com/electron/-/electron-9.2.1.tgz#54ef574e1af4ae967b5efa94312f1b6458d44a02" integrity sha512-ZsetaQjXB8+9/EFW1FnfK4ukpkwXCxMEaiKiUZhZ0ZLFlLnFCpe0Bg4vdDf7e4boWGcnlgN1jAJpBw7w0eXuqA== </ins> dependencies: "@electron/get" "^1.0.1" "@types/node" "^12.0.12"
).snippet.value, 'foobar(${1:param})$0'); }); <ins> test('Should skip over this parameter', async () => { assert.strictEqual( snippetForFunctionCall( { label: 'foobar', }, [{ "text": "function", "kind": "keyword" }, { "text": " ", "kind": "space" }, { "text": "foobar", "kind": "functionName" }, { "text": "(", "kind": "punctuation" }, { "text": "this", "kind": "parameterName" }, { "text": ":", "kind": "punctuation" }, { "text": " ", "kind": "space" }, { "text": "string", "kind": "keyword" }, { "text": ",", "kind": "punctuation" }, { "text": "param", "kind": "parameterName" }, { "text": ":", "kind": "punctuation" }, { "text": " ", "kind": "space" }, { "text": "string", "kind": "keyword" }, { "text": ")", "kind": "punctuation" }, { "text": ":", "kind": "punctuation" }, { "text": " ", "kind": "space" }, { "text": "void", "kind": "keyword" }] ).snippet.value, 'foobar(${1:param})$0'); }); </ins> });
const next = displayParts[i + 1]; // Skip optional parameters const nameIsFollowedByOptionalIndicator = next && next.text === '?'; <del> if (!nameIsFollowedByOptionalIndicator) { </del> <ins> // Skip this parameter const nameIsThis = part.text === 'this'; if (!nameIsFollowedByOptionalIndicator && !nameIsThis) { </ins> parts.push(part); } hasOptionalParameters = hasOptionalParameters || nameIsFollowedByOptionalIndicator;
import { IFileService, FILES_ASSOCIATIONS_CONFIG } from 'vs/platform/files/common/files'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; import { IModeService, ILanguageSelection } from 'vs/editor/common/services/modeService'; <del> import { IModelService } from 'vs/editor/common/services/modelService'; </del> import { Range } from 'vs/editor/common/core/range'; import { Selection } from 'vs/editor/common/core/selection'; import { TabFocus } from 'vs/editor/common/config/commonEditorConfig';
import { Schemas } from 'vs/base/common/network'; import { IPreferencesService } from 'vs/workbench/services/preferences/common/preferences'; import { IQuickInputService, IQuickPickItem, QuickPickInput } from 'vs/platform/quickinput/common/quickInput'; <del> import { getIconClasses } from 'vs/editor/common/services/getIconClasses'; </del> <ins> import { getIconClassesForModeId } from 'vs/editor/common/services/getIconClasses'; </ins> import { timeout } from 'vs/base/common/async'; import { INotificationHandle, INotificationService, Severity } from 'vs/platform/notification/common/notification'; import { Event } from 'vs/base/common/event';
} // Compute mode <ins> let currentLanguageId: string | undefined; </ins> let currentModeId: string | undefined; <del> let modeId: string | undefined; </del> if (textModel) { <del> modeId = textModel.getLanguageIdentifier().language; currentModeId = withNullAsUndefined(this.modeService.getLanguageName(modeId)); </del> <ins> currentModeId = textModel.getLanguageIdentifier().language; currentLanguageId = withNullAsUndefined(this.modeService.getLanguageName(currentModeId)); </ins> } // All languages are valid picks const languages = this.modeService.getRegisteredLanguageNames(); const picks: QuickPickInput[] = languages.sort().map((lang, index) => { <ins> const modeId = this.modeService.getModeIdForLanguageName(lang.toLowerCase()) || 'unknown'; </ins> let description: string; <del> if (currentModeId === lang) { description = nls.localize('languageDescription', "({0}) - Configured Language", this.modeService.getModeIdForLanguageName(lang.toLowerCase())); </del> <ins> if (currentLanguageId === lang) { description = nls.localize('languageDescription', "({0}) - Configured Language", modeId); </ins> } else { <del> description = nls.localize('languageDescriptionConfigured', "({0})", this.modeService.getModeIdForLanguageName(lang.toLowerCase())); </del> <ins> description = nls.localize('languageDescriptionConfigured', "({0})", modeId); </ins> } return { label: lang, <del> iconClasses: getIconClasses(this.modelService, this.modeService, this.getFakeResource(lang)), </del> <ins> iconClasses: getIconClassesForModeId(modeId), </ins> description }; });
picks.unshift(galleryAction); } <del> configureModeSettings = { label: nls.localize('configureModeSettings', "Configure '{0}' language based settings...", currentModeId) }; </del> <ins> configureModeSettings = { label: nls.localize('configureModeSettings', "Configure '{0}' language based settings...", currentLanguageId) }; </ins> picks.unshift(configureModeSettings); configureModeAssociations = { label: nls.localize('configureAssociationsExt', "Configure File Association for '{0}'...", ext) }; picks.unshift(configureModeAssociations);
// User decided to configure settings for current language if (pick === configureModeSettings) { <del> this.preferencesService.openGlobalSettings(true, { editSetting: `[${withUndefinedAsNull(modeId)}]` }); </del> <ins> this.preferencesService.openGlobalSettings(true, { editSetting: `[${withUndefinedAsNull(currentModeId)}]` }); </ins> return; }
const languages = this.modeService.getRegisteredLanguageNames(); const picks: IQuickPickItem[] = languages.sort().map((lang, index) => { <del> const id = withNullAsUndefined(this.modeService.getModeIdForLanguageName(lang.toLowerCase())); </del> <ins> const id = withNullAsUndefined(this.modeService.getModeIdForLanguageName(lang.toLowerCase())) || 'unknown'; </ins> return { id, label: lang, <del> iconClasses: getIconClasses(this.modelService, this.modeService, this.getFakeResource(lang)), </del> <ins> iconClasses: getIconClassesForModeId(id), </ins> description: (id === currentAssociation) ? nls.localize('currentAssociation', "Current Association") : undefined }; });
} }, 50 /* quick input is sensitive to being opened so soon after another */); } <del> private getFakeResource(lang: string): URI | undefined { let fakeResource: URI | undefined; const extensions = this.modeService.getExtensions(lang); if (extensions?.length) { fakeResource = URI.file(extensions[0]); } else { const filenames = this.modeService.getFilenames(lang); if (filenames?.length) { fakeResource = URI.file(filenames[0]); } } return fakeResource; } </del> } export interface IChangeEOLEntry extends IQuickPickItem {
"languages": [{ "id": "groovy", "aliases": ["Groovy", "groovy"], <del> "extensions": [".groovy", ".gvy", ".gradle"], "filenames": [ "Jenkinsfile" ], </del> <ins> "extensions": [".groovy", ".gvy", ".gradle", ".jenkinsfile"], "filenamePatterns": ["Jenkinsfile.*"], </ins> "firstLine": "^#!.*bgroovyb", "configuration": "./language-configuration.json" }],
*  Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ <del> import { exec } from 'child_process'; import { isWindows } from 'vs/base/common/platform'; const cmdline = { windows: 'getmac.exe', unix: '/sbin/ifconfig -a || /sbin/ip link' }; </del> <ins> import { networkInterfaces } from 'os'; </ins> const invalidMacAddresses = new Set([ '00:00:00:00:00:00',
function doGetMac(): Promise<string> { return new Promise((resolve, reject) => { try { <del> exec(isWindows ? cmdline.windows : cmdline.unix, { timeout: 10000 }, (err, stdout, stdin) => { if (err) { return reject(`Unable to retrieve mac address (${err.toString()})`); } else { const regex = /(?:[a-fd]{2}[:-]){5}[a-fd]{2}/gi; let match; while ((match = regex.exec(stdout)) !== null) { const macAddressCandidate = match[0]; if (validateMacAddress(macAddressCandidate)) { return resolve(macAddressCandidate); } </del> <ins> const ifaces = networkInterfaces(); for (const [, infos] of Object.entries(ifaces)) { for (const info of infos) { if (validateMacAddress(info.mac)) { return resolve(info.mac); </ins> } <del> return reject('Unable to retrieve mac address (unexpected format)'); </del> } <del> }); </del> <ins> } reject('Unable to retrieve mac address (unexpected format)'); </ins> } catch (err) { reject(err); }
export interface IFindInFilesArgs { query?: string; replace?: string; <ins> preserveCase?: boolean; </ins> triggerSearch?: boolean; filesToInclude?: string; filesToExclude?: string; isRegex?: boolean; isCaseSensitive?: boolean; matchWholeWord?: boolean; <ins> excludeSettingAndIgnoreFiles?: boolean; </ins> } export const FindInFilesCommand: ICommandHandler = (accessor, args: IFindInFilesArgs = {}) => {
if (typeof args.triggerSearch === 'boolean' && args.triggerSearch) { this.triggerQueryChange(); } <ins> if (typeof args.preserveCase === 'boolean') { this.searchWidget.replaceInput.setPreserveCase(args.preserveCase); } if (typeof args.excludeSettingAndIgnoreFiles === 'boolean') { this.inputPatternExcludes.setUseExcludesAndIgnoreFiles(args.excludeSettingAndIgnoreFiles); } </ins> } toggleQueryDetails(moveFocus = true, show?: boolean, skipLayout?: boolean, reverse?: boolean): void {
|| (keyCode === KeyCode.End) || (keyCode === KeyCode.PageDown) || (keyCode === KeyCode.PageUp) <ins> || (keyCode === KeyCode.Backspace) </ins> ) { // "Dispatch" on keyCode for these key codes to workaround issues with remote desktoping software // where the scan codes appear to be incorrect (see https://github.com/microsoft/vscode/issues/24107)
containerIcon: icon || viewContainer?.icon, containerTitle: item.contextualTitle || viewContainer?.name, canToggleVisibility: true, <del> canMoveView: true, </del> <ins> canMoveView: viewContainer?.id !== REMOTE, </ins> treeView: type === ViewType.Tree ? this.instantiationService.createInstance(CustomTreeView, item.id, item.name) : undefined, collapsed: this.showCollapsed(container) || initialVisibility === InitialVisibility.Collapsed, order: order,
if (breakpoint.logMessage || breakpoint.condition || breakpoint.hitCondition) { const messages: string[] = []; <ins> let icon = breakpoint.logMessage ? icons.logBreakpoint.regular : icons.conditionalBreakpoint.regular; </ins> if (!breakpoint.supported) { <del> return { icon: icons.debugBreakpointUnsupported, message: localize('breakpointUnsupported', "Breakpoints of this type are not supported by the debugger"), }; </del> <ins> icon = icons.debugBreakpointUnsupported; messages.push(localize('breakpointUnsupported', "Breakpoints of this type are not supported by the debugger")); </ins> } if (breakpoint.logMessage) {
diff = objects.distinct(base, obj); assert.deepEqual(diff, obj); }); <del> }); </del>  No newline at end of file <ins> test('getCaseInsensitive', () => { const obj1 = { lowercase: 123, mIxEdCaSe: 456 }; assert.equal(obj1.lowercase, objects.getCaseInsensitive(obj1, 'lowercase')); assert.equal(obj1.lowercase, objects.getCaseInsensitive(obj1, 'lOwErCaSe')); assert.equal(obj1.mIxEdCaSe, objects.getCaseInsensitive(obj1, 'MIXEDCASE')); assert.equal(obj1.mIxEdCaSe, objects.getCaseInsensitive(obj1, 'mixedcase')); }); }); </ins>
const fullPath = path.join(cwd, command); return await exists(fullPath) ? fullPath : undefined; } <del> if (paths === undefined && isString(env.PATH)) { paths = env.PATH.split(path.delimiter); </del> <ins> const envPath = getCaseInsensitive(env, 'PATH'); if (paths === undefined && isString(envPath)) { paths = envPath.split(path.delimiter); </ins> } // No PATH environment. Make path absolute to the cwd. if (paths === undefined || paths.length === 0) {
const runToolbar = this.setupRunToolbar(runButtonContainer, container, contextKeyService, disposables); const executionOrderLabel = DOM.append(cellContainer, $('div.execution-count-label')); <ins> executionOrderLabel.setAttribute('title', 'Execution Order'); </ins> const editorPart = DOM.append(cellContainer, $('.cell-editor-part')); const editorContainer = DOM.append(editorPart, $('.cell-editor-container'));
registerAction2(class OpenSearchEditorAction extends Action2 { constructor() { super({ <del> id: SearchEditorConstants.OpenNewEditorCommandId, title: localize('search.openNewEditor', "Open New Search Editor"), </del> <ins> id: 'search.action.openNewEditorFromView', title: localize('search.openNewEditor', "Open New Search Editor from View"), </ins> category, icon: searchNewEditorIcon, <del> f1: true, </del> menu: [{ id: MenuId.ViewTitle, group: 'navigation',
export const listInactiveFocusOutline = registerColor('list.inactiveFocusOutline', { dark: null, light: null, hc: null }, nls.localize('listInactiveFocusOutline', "List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")); export const listHoverBackground = registerColor('list.hoverBackground', { dark: '#2A2D2E', light: '#F0F0F0', hc: null }, nls.localize('listHoverBackground', "List/Tree background when hovering over items using the mouse.")); export const listHoverForeground = registerColor('list.hoverForeground', { dark: null, light: null, hc: null }, nls.localize('listHoverForeground', "List/Tree foreground when hovering over items using the mouse.")); <del> export const listDropBackground = registerColor('list.dropBackground', { dark: listFocusBackground, light: listFocusBackground, hc: null }, nls.localize('listDropBackground', "List/Tree drag and drop background when moving items around using the mouse.")); </del> <ins> export const listDropBackground = registerColor('list.dropBackground', { dark: '#062F4A', light: '#D6EBFF', hc: null }, nls.localize('listDropBackground', "List/Tree drag and drop background when moving items around using the mouse.")); </ins> export const listHighlightForeground = registerColor('list.highlightForeground', { dark: '#0097fb', light: '#0066BF', hc: focusBorder }, nls.localize('highlight', 'List/Tree foreground color of the match highlights when searching inside the list/tree.')); export const listInvalidItemForeground = registerColor('list.invalidItemForeground', { dark: '#B89500', light: '#B89500', hc: '#B89500' }, nls.localize('invalidItemForeground', 'List/Tree foreground color for invalid items, for example an unresolved root in explorer.')); export const listErrorForeground = registerColor('list.errorForeground', { dark: '#F88070', light: '#B01011', hc: null }, nls.localize('listErrorForeground', 'Foreground color of list items containing errors.'));
.pipe(jsFilter) .pipe(util.rewriteSourceMappingURL(sourceMappingURLBase)) .pipe(jsFilter.restore) <del> .pipe(createAsar(path.join(process.cwd(), 'node_modules'), ['**/*.node', '**/vscode-ripgrep/bin/*', '**/node-pty/build/Release/*', '**/*.wasm'], 'node_modules.asar')); </del> <ins> .pipe(createAsar(path.join(process.cwd(), 'node_modules'), [ '**/*.node', '**/vscode-ripgrep/bin/*', '**/node-pty/build/Release/*', '**/node-pty/lib/worker/conoutSocketWorker.js', '**/node-pty/lib/shared/conout.js', '**/*.wasm' ], 'node_modules.asar')); </ins> let all = es.merge( packageJsonStream,
"native-is-elevated": "0.4.3", "native-keymap": "2.2.1", "native-watchdog": "1.3.0", <del> "node-pty": "0.10.1", </del> <ins> "node-pty": "0.11.0-beta7", </ins> "nsfw": "2.1.2", "spdlog": "^0.13.0", "sudo-prompt": "9.2.1",
"jschardet": "3.0.0", "minimist": "^1.2.5", "native-watchdog": "1.3.0", <del> "node-pty": "0.10.1", </del> <ins> "node-pty": "0.11.0-beta7", </ins> "nsfw": "2.1.2", "spdlog": "^0.13.0", "tas-client-umd": "0.1.4",
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.1.0.tgz#98b21931557466c6729e51cb77cd39c965f42239" integrity sha512-flmrDNB06LIl5lywUz7YlNGZH/5p0M7W28k8hzd9Lshtdh1wshD2Y+U4h9LD6KObOy1f+fEVdgprPrEymjM5uw== <del> node-pty@0.10.1: version "0.10.1" resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-0.10.1.tgz#cd05d03a2710315ec40221232ec04186f6ac2c6d" integrity sha512-JTdtUS0Im/yRsWJSx7yiW9rtpfmxqxolrtnyKwPLI+6XqTAPW/O2MjS8FYL4I5TsMbH2lVgDb2VMjp+9LoQGNg== </del> <ins> node-pty@0.11.0-beta7: version "0.11.0-beta7" resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-0.11.0-beta7.tgz#aed0888b5032d96c54d8473455e6adfae3bbebbe" integrity sha512-uApPGLglZRiHQcUMWakbZOrBo8HVWvhzIqNnrWvBGJOvc6m/S5lCdbbg93BURyJqHFmBS0GV+4hwiMNDuGRbSA== </ins> dependencies: nan "^2.14.0"
util "^0.11.0" vm-browserify "^1.0.1" <del> node-pty@0.10.1: version "0.10.1" resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-0.10.1.tgz#cd05d03a2710315ec40221232ec04186f6ac2c6d" integrity sha512-JTdtUS0Im/yRsWJSx7yiW9rtpfmxqxolrtnyKwPLI+6XqTAPW/O2MjS8FYL4I5TsMbH2lVgDb2VMjp+9LoQGNg== </del> <ins> node-pty@0.11.0-beta7: version "0.11.0-beta7" resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-0.11.0-beta7.tgz#aed0888b5032d96c54d8473455e6adfae3bbebbe" integrity sha512-uApPGLglZRiHQcUMWakbZOrBo8HVWvhzIqNnrWvBGJOvc6m/S5lCdbbg93BURyJqHFmBS0GV+4hwiMNDuGRbSA== </ins> dependencies: nan "^2.14.0"
private _startBarrier: Barrier; private _persistentTerminalId: number; <ins> public get id(): number { return this._persistentTerminalId; } </ins> private _inReplay = false; constructor( <del> readonly id: number, </del> <ins> private readonly _instanceId: number, </ins> readonly shouldPersist: boolean, private readonly _shellLaunchConfig: IShellLaunchConfig, private readonly _activeWorkspaceRootUri: URI | undefined,
env: this._shellLaunchConfig.env }; <del> this._logService.trace('Spawning remote agent process', { terminalId: this.id, shellLaunchConfigDto }); </del> <ins> this._logService.trace('Spawning remote agent process', { terminalId: this._instanceId, shellLaunchConfigDto }); </ins> const result = await this._remoteTerminalChannel.createTerminalProcess( shellLaunchConfigDto,
this.onActiveTabChanged(() => isRemote ? this._updateRemoteState() : this._updateLocalState()); this.onActiveInstanceChanged(() => isRemote ? this._updateRemoteState() : this._updateLocalState()); this.onInstancesChanged(() => isRemote ? this._updateRemoteState() : this._updateLocalState()); <ins> // The state must be updated when the terminal is relaunched, otherwise the persistent // terminal ID will be stale and the process will be leaked. this.onInstanceProcessIdReady(() => isRemote ? this._updateRemoteState() : this._updateLocalState()); </ins> } public setNativeWindowsDelegate(delegate: ITerminalNativeWindowsDelegate): void {