From https://github.com/microsoft/vscode/issues/146831 Opening to track migrating off of VS Code's `notebook.deprecate` api proposal. This proposal is currently not on track for finalization The suggested fix in this case is to move the output id into the custom metadata: https://github.com/microsoft/vscode/issues/146831#issuecomment-1090265265