jupyterlab_claude_code_extension 1.0.38 → 1.0.41

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
@@ -62,7 +62,6 @@ export declare class ClaudeCodeSessionsWidget extends Widget {
62
62
  private readonly _app;
63
63
  private readonly _serverSettings;
64
64
  private _bodyEl;
65
- private _statusEl;
66
65
  private _refreshBtn;
67
66
  private _sessions;
68
67
  private _expanded;
package/lib/widget.js CHANGED
@@ -149,14 +149,10 @@ export class ClaudeCodeSessionsWidget extends Widget {
149
149
  });
150
150
  const body = document.createElement('div');
151
151
  body.className = 'jp-ClaudeSessionsPanel-body';
152
- const status = document.createElement('div');
153
- status.className = 'jp-ClaudeSessionsPanel-status';
154
152
  root.appendChild(header);
155
153
  root.appendChild(search);
156
154
  root.appendChild(body);
157
- root.appendChild(status);
158
155
  this._bodyEl = body;
159
- this._statusEl = status;
160
156
  }
161
157
  /** Normalise strings for filter comparison: NFD-decompose, strip combining
162
158
  * diacritic marks, lowercase, and collapse separators (`-`, `_`, `.`, `/`,
@@ -239,18 +235,17 @@ export class ClaudeCodeSessionsWidget extends Widget {
239
235
  this._fuzzyMatch(this._lookupName(s), q));
240
236
  }
241
237
  _showLoading() {
242
- this._statusEl.textContent = this._sessions === null ? 'Loading...' : '';
238
+ // No visual indicator - the spinning refresh button conveys loading state.
243
239
  }
244
240
  _showError(err) {
245
241
  const message = err instanceof Error ? err.message : String(err);
246
- this._statusEl.textContent = `Error: ${message}`;
242
+ console.error('[jupyterlab_claude_code_extension]', message);
247
243
  }
248
244
  // ------------------------------------------------------------------ data
249
245
  async _fetch() {
250
246
  var _a;
251
247
  const data = await requestAPI('sessions', this._serverSettings);
252
248
  this._sessions = (_a = data.sessions) !== null && _a !== void 0 ? _a : [];
253
- this._statusEl.textContent = '';
254
249
  this._render();
255
250
  }
256
251
  async _toggleFavourite(session) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jupyterlab_claude_code_extension",
3
- "version": "1.0.38",
3
+ "version": "1.0.41",
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
@@ -190,16 +190,11 @@ export class ClaudeCodeSessionsWidget extends Widget {
190
190
  const body = document.createElement('div');
191
191
  body.className = 'jp-ClaudeSessionsPanel-body';
192
192
 
193
- const status = document.createElement('div');
194
- status.className = 'jp-ClaudeSessionsPanel-status';
195
-
196
193
  root.appendChild(header);
197
194
  root.appendChild(search);
198
195
  root.appendChild(body);
199
- root.appendChild(status);
200
196
 
201
197
  this._bodyEl = body;
202
- this._statusEl = status;
203
198
  }
204
199
 
205
200
  /** Normalise strings for filter comparison: NFD-decompose, strip combining
@@ -289,12 +284,12 @@ export class ClaudeCodeSessionsWidget extends Widget {
289
284
  }
290
285
 
291
286
  private _showLoading(): void {
292
- this._statusEl.textContent = this._sessions === null ? 'Loading...' : '';
287
+ // No visual indicator - the spinning refresh button conveys loading state.
293
288
  }
294
289
 
295
290
  private _showError(err: unknown): void {
296
291
  const message = err instanceof Error ? err.message : String(err);
297
- this._statusEl.textContent = `Error: ${message}`;
292
+ console.error('[jupyterlab_claude_code_extension]', message);
298
293
  }
299
294
 
300
295
  // ------------------------------------------------------------------ data
@@ -305,7 +300,6 @@ export class ClaudeCodeSessionsWidget extends Widget {
305
300
  this._serverSettings
306
301
  );
307
302
  this._sessions = data.sessions ?? [];
308
- this._statusEl.textContent = '';
309
303
  this._render();
310
304
  }
311
305
 
@@ -899,7 +893,6 @@ export class ClaudeCodeSessionsWidget extends Widget {
899
893
  private readonly _app: JupyterFrontEnd;
900
894
  private readonly _serverSettings: ServerConnection.ISettings;
901
895
  private _bodyEl!: HTMLDivElement;
902
- private _statusEl!: HTMLDivElement;
903
896
  private _refreshBtn: HTMLButtonElement | null = null;
904
897
  private _sessions: ISession[] | null = null;
905
898
  private _expanded: Record<SectionKey, boolean> = loadExpanded();
package/style/base.css CHANGED
@@ -88,14 +88,6 @@
88
88
  min-height: 0;
89
89
  }
90
90
 
91
- .jp-ClaudeSessionsPanel-status {
92
- flex: 0 0 auto;
93
- padding: 4px 8px;
94
- font-size: var(--jp-ui-font-size0);
95
- color: var(--jp-warn-color1);
96
- min-height: 14px;
97
- }
98
-
99
91
  .jp-ClaudeSessionsPanel-empty,
100
92
  .jp-ClaudeSessionsPanel-emptySection {
101
93
  padding: 8px 12px;