import{ExtensionServer}from"./ExtensionServer.js";export class ExtensionTraceProvider{constructor(e,t,s,i){this._extensionOrigin=e,this._id=t,this._categoryName=s,this._categoryTooltip=i}start(e){const t=String(++_lastSessionId);ExtensionServer.instance().startTraceRecording(this._id,t,e)}stop(){ExtensionServer.instance().stopTraceRecording(this._id)}shortDisplayName(){return this._categoryName}longDisplayName(){return this._categoryTooltip}persistentIdentifier(){return`${this._extensionOrigin}/${this._categoryName}`}}let _lastSessionId=0;export class TracingSession{complete(e,t){}}