diff --git a/extensions/positron-zed/src/positronZedLanguageRuntime.ts b/extensions/positron-zed/src/positronZedLanguageRuntime.ts index 209bac4107f..a954586c0c4 100644 --- a/extensions/positron-zed/src/positronZedLanguageRuntime.ts +++ b/extensions/positron-zed/src/positronZedLanguageRuntime.ts @@ -1743,7 +1743,7 @@ export class PositronZedRuntimeSession implements positron.LanguageRuntimeSessio type: positron.LanguageRuntimeMessageType.CommClosed, comm_id: target.id, target_name: 'positron.connection', - data: { name: target.name } + data: { name: target.name }, } as positron.LanguageRuntimeCommClosed); // Emit text output so something shows up in the console. @@ -1886,7 +1886,7 @@ export class PositronZedRuntimeSession implements positron.LanguageRuntimeSessio type: positron.LanguageRuntimeMessageType.Input, state: positron.RuntimeOnlineState.Busy, code: code, - execution_count: 1 + execution_count: 1, } as positron.LanguageRuntimeInput); // If the preview is open, add it to the preview's recent commands. diff --git a/src/positron-dts/positron.d.ts b/src/positron-dts/positron.d.ts index 1bdad193f6c..6a969a2c8e5 100644 --- a/src/positron-dts/positron.d.ts +++ b/src/positron-dts/positron.d.ts @@ -201,7 +201,7 @@ declare module 'positron' { type: LanguageRuntimeMessageType; /** Additional metadata, if any */ - metadata: Record; + metadata?: Record; } /** LanguageRuntimeOutput is a LanguageRuntimeMessage representing output (text, plots, etc.) */ diff --git a/src/vs/workbench/services/languageRuntime/common/languageRuntimeService.ts b/src/vs/workbench/services/languageRuntime/common/languageRuntimeService.ts index 735d7d04953..6ae4a96a694 100644 --- a/src/vs/workbench/services/languageRuntime/common/languageRuntimeService.ts +++ b/src/vs/workbench/services/languageRuntime/common/languageRuntimeService.ts @@ -58,7 +58,7 @@ export interface ILanguageRuntimeMessage { when: string; /** Additional metadata, if any */ - metadata: Record; + metadata?: Record; } /**