jupyterlab_claude_code_extension 1.2.33 → 1.2.34
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 +7 -5
- package/lib/widget.js +7 -5
- package/package.json +1 -1
- package/src/widget.ts +7 -5
package/lib/widget.d.ts
CHANGED
|
@@ -146,11 +146,13 @@ export declare class ClaudeCodeSessionsWidget extends Widget {
|
|
|
146
146
|
* the uuid is generated here so the forked JSONL is known up front, and
|
|
147
147
|
* ``-n`` makes claude own the name: it writes the chosen name as a
|
|
148
148
|
* custom-title record on its first turn and re-stamps it every turn, so
|
|
149
|
-
* it sticks even though the fork inherits the parent's title. The
|
|
150
|
-
* the
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
149
|
+
* it sticks even though the fork inherits the parent's title. The backend
|
|
150
|
+
* pins the fork as the project's current conversation at launch, so the fork
|
|
151
|
+
* becomes the row's primary the moment its JSONL lands - recency alone would
|
|
152
|
+
* not, since the actively-written parent it was branched from quickly
|
|
153
|
+
* overtakes the fork's mtime. claude writes the fork's JSONL lazily (on its
|
|
154
|
+
* first turn), so the branch appears on the next poll once it materialises -
|
|
155
|
+
* the panel cannot list a file that does not exist yet.
|
|
154
156
|
*/
|
|
155
157
|
private _branchSession;
|
|
156
158
|
/** Switch the active row's project to another conversation branch.
|
package/lib/widget.js
CHANGED
|
@@ -1750,11 +1750,13 @@ export class ClaudeCodeSessionsWidget extends Widget {
|
|
|
1750
1750
|
* the uuid is generated here so the forked JSONL is known up front, and
|
|
1751
1751
|
* ``-n`` makes claude own the name: it writes the chosen name as a
|
|
1752
1752
|
* custom-title record on its first turn and re-stamps it every turn, so
|
|
1753
|
-
* it sticks even though the fork inherits the parent's title. The
|
|
1754
|
-
* the
|
|
1755
|
-
*
|
|
1756
|
-
*
|
|
1757
|
-
*
|
|
1753
|
+
* it sticks even though the fork inherits the parent's title. The backend
|
|
1754
|
+
* pins the fork as the project's current conversation at launch, so the fork
|
|
1755
|
+
* becomes the row's primary the moment its JSONL lands - recency alone would
|
|
1756
|
+
* not, since the actively-written parent it was branched from quickly
|
|
1757
|
+
* overtakes the fork's mtime. claude writes the fork's JSONL lazily (on its
|
|
1758
|
+
* first turn), so the branch appears on the next poll once it materialises -
|
|
1759
|
+
* the panel cannot list a file that does not exist yet.
|
|
1758
1760
|
*/
|
|
1759
1761
|
async _branchSession(forceDangerous) {
|
|
1760
1762
|
const session = this._activeSession;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jupyterlab_claude_code_extension",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.34",
|
|
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
|
@@ -1994,11 +1994,13 @@ export class ClaudeCodeSessionsWidget extends Widget {
|
|
|
1994
1994
|
* the uuid is generated here so the forked JSONL is known up front, and
|
|
1995
1995
|
* ``-n`` makes claude own the name: it writes the chosen name as a
|
|
1996
1996
|
* custom-title record on its first turn and re-stamps it every turn, so
|
|
1997
|
-
* it sticks even though the fork inherits the parent's title. The
|
|
1998
|
-
* the
|
|
1999
|
-
*
|
|
2000
|
-
*
|
|
2001
|
-
*
|
|
1997
|
+
* it sticks even though the fork inherits the parent's title. The backend
|
|
1998
|
+
* pins the fork as the project's current conversation at launch, so the fork
|
|
1999
|
+
* becomes the row's primary the moment its JSONL lands - recency alone would
|
|
2000
|
+
* not, since the actively-written parent it was branched from quickly
|
|
2001
|
+
* overtakes the fork's mtime. claude writes the fork's JSONL lazily (on its
|
|
2002
|
+
* first turn), so the branch appears on the next poll once it materialises -
|
|
2003
|
+
* the panel cannot list a file that does not exist yet.
|
|
2002
2004
|
*/
|
|
2003
2005
|
private async _branchSession(forceDangerous: boolean): Promise<void> {
|
|
2004
2006
|
const session = this._activeSession;
|