jupyterlab_claude_code_extension 1.1.12 → 1.1.14

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/lib/widget.d.ts CHANGED
@@ -50,7 +50,8 @@ export declare class ClaudeCodeSessionsWidget extends Widget {
50
50
  private _findTerminalForCwd;
51
51
  private _showCloseExistingDialog;
52
52
  /** Show a modal with a spinner while the terminal is being launched. The
53
- * caller must dismiss it via ``.resolve()`` once the work is done.
53
+ * caller must dismiss it via ``.dispose()`` once the work is done - the
54
+ * dialog has no buttons so ``.resolve()`` would be a no-op.
54
55
  */
55
56
  private _showLaunchSpinner;
56
57
  private _wireTerminalDisposal;
package/lib/widget.js CHANGED
@@ -366,7 +366,7 @@ export class ClaudeCodeSessionsWidget extends Widget {
366
366
  }
367
367
  }
368
368
  finally {
369
- spinner.resolve();
369
+ spinner.dispose();
370
370
  }
371
371
  }
372
372
  catch (err) {
@@ -452,7 +452,8 @@ export class ClaudeCodeSessionsWidget extends Widget {
452
452
  });
453
453
  }
454
454
  /** Show a modal with a spinner while the terminal is being launched. The
455
- * caller must dismiss it via ``.resolve()`` once the work is done.
455
+ * caller must dismiss it via ``.dispose()`` once the work is done - the
456
+ * dialog has no buttons so ``.resolve()`` would be a no-op.
456
457
  */
457
458
  _showLaunchSpinner(label) {
458
459
  const body = new Widget();
@@ -468,7 +469,7 @@ export class ClaudeCodeSessionsWidget extends Widget {
468
469
  const dialog = new Dialog({
469
470
  title: 'Opening Claude Code session',
470
471
  body,
471
- buttons: [Dialog.cancelButton({ label: 'Run in background' })]
472
+ buttons: []
472
473
  });
473
474
  // launch() returns a Promise we don't await - we resolve programmatically
474
475
  // when the spawn completes (or errors).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jupyterlab_claude_code_extension",
3
- "version": "1.1.12",
3
+ "version": "1.1.14",
4
4
  "description": "Browse, resume, and manage your Claude Code CLI sessions from a JupyterLab side panel. One click reactivates the right terminal - no duplicate tabs, live remote-control indicator, and favourites for the projects you keep coming back to.",
5
5
  "keywords": [
6
6
  "jupyter",
package/src/widget.ts CHANGED
@@ -457,7 +457,7 @@ export class ClaudeCodeSessionsWidget extends Widget {
457
457
  this._focusTerminal(widget);
458
458
  }
459
459
  } finally {
460
- spinner.resolve();
460
+ spinner.dispose();
461
461
  }
462
462
  } catch (err) {
463
463
  this._showError(err);
@@ -545,7 +545,8 @@ export class ClaudeCodeSessionsWidget extends Widget {
545
545
  }
546
546
 
547
547
  /** Show a modal with a spinner while the terminal is being launched. The
548
- * caller must dismiss it via ``.resolve()`` once the work is done.
548
+ * caller must dismiss it via ``.dispose()`` once the work is done - the
549
+ * dialog has no buttons so ``.resolve()`` would be a no-op.
549
550
  */
550
551
  private _showLaunchSpinner(label: string): Dialog<unknown> {
551
552
  const body = new Widget();
@@ -564,7 +565,7 @@ export class ClaudeCodeSessionsWidget extends Widget {
564
565
  const dialog = new Dialog<unknown>({
565
566
  title: 'Opening Claude Code session',
566
567
  body,
567
- buttons: [Dialog.cancelButton({ label: 'Run in background' })]
568
+ buttons: []
568
569
  });
569
570
  // launch() returns a Promise we don't await - we resolve programmatically
570
571
  // when the spawn completes (or errors).