mrmd-editor 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrmd-editor",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Markdown editor with realtime collaboration - the core editor package",
5
5
  "type": "module",
6
6
  "main": "dist/mrmd.cjs",
@@ -535,9 +535,12 @@ export async function createStudio(target, options = {}) {
535
535
  initialPath: python?.venv || '~',
536
536
  showHidden: true, // Show hidden folders like .venv
537
537
  onSelect: async (path) => {
538
+ console.log('[ChangeVenv] onSelect called with path:', path, 'for doc:', docName);
538
539
  try {
539
540
  // Create a dedicated runtime for this document with the selected venv
541
+ console.log('[ChangeVenv] Calling createSession...');
540
542
  const sessionInfo = await shellState.createSession(docName, 'dedicated', path);
543
+ console.log('[ChangeVenv] createSession returned:', sessionInfo);
541
544
 
542
545
  // Reconnect the editor to the new runtime
543
546
  if (editor?.connectRuntime && sessionInfo.url) {