jupyterlab_claude_code_extension 1.1.20 → 1.1.21
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/types.d.ts +1 -1
- package/lib/widget.js +5 -0
- package/package.json +1 -1
- package/src/types.ts +1 -1
- package/src/widget.ts +5 -0
package/lib/types.d.ts
CHANGED
package/lib/widget.js
CHANGED
|
@@ -527,6 +527,11 @@ export class ClaudeCodeSessionsWidget extends Widget {
|
|
|
527
527
|
if (this._presentationMode === 'path') {
|
|
528
528
|
return this._displayPath(s.project_path) || folder;
|
|
529
529
|
}
|
|
530
|
+
// Honour the session name Claude records (e.g. a `/rename`); fall back
|
|
531
|
+
// to the folder basename when the backend reports no session name.
|
|
532
|
+
if (s.name_source === 'session' && s.name) {
|
|
533
|
+
return s.name;
|
|
534
|
+
}
|
|
530
535
|
return folder;
|
|
531
536
|
}
|
|
532
537
|
_basename(p) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jupyterlab_claude_code_extension",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.21",
|
|
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/types.ts
CHANGED
package/src/widget.ts
CHANGED
|
@@ -622,6 +622,11 @@ export class ClaudeCodeSessionsWidget extends Widget {
|
|
|
622
622
|
if (this._presentationMode === 'path') {
|
|
623
623
|
return this._displayPath(s.project_path) || folder;
|
|
624
624
|
}
|
|
625
|
+
// Honour the session name Claude records (e.g. a `/rename`); fall back
|
|
626
|
+
// to the folder basename when the backend reports no session name.
|
|
627
|
+
if (s.name_source === 'session' && s.name) {
|
|
628
|
+
return s.name;
|
|
629
|
+
}
|
|
625
630
|
return folder;
|
|
626
631
|
}
|
|
627
632
|
|