refactor: centralize structural session snapshot compatibility
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"version": 3,
|
||||
"workspaces": [
|
||||
{
|
||||
"id": "wdev1",
|
||||
"custom_name": null,
|
||||
"identity_cwd": "/home/test/projects/project-a",
|
||||
"tabs": [
|
||||
{
|
||||
"custom_name": null,
|
||||
"layout": {
|
||||
"Pane": 1
|
||||
},
|
||||
"panes": {
|
||||
"1": {
|
||||
"cwd": "/home/test/projects/project-a"
|
||||
}
|
||||
},
|
||||
"zoomed": false,
|
||||
"focused": 1,
|
||||
"root_pane": 1
|
||||
},
|
||||
{
|
||||
"custom_name": "2",
|
||||
"layout": {
|
||||
"Pane": 2
|
||||
},
|
||||
"panes": {
|
||||
"2": {
|
||||
"cwd": "/home/test/projects/project-a"
|
||||
}
|
||||
},
|
||||
"zoomed": false,
|
||||
"focused": 2,
|
||||
"root_pane": 2
|
||||
}
|
||||
],
|
||||
"active_tab": 1
|
||||
},
|
||||
{
|
||||
"id": "wdev2",
|
||||
"custom_name": null,
|
||||
"identity_cwd": "/home/test/projects/project-c",
|
||||
"tabs": [
|
||||
{
|
||||
"custom_name": null,
|
||||
"layout": {
|
||||
"Split": {
|
||||
"direction": "Vertical",
|
||||
"ratio": 0.5,
|
||||
"first": {
|
||||
"Pane": 6
|
||||
},
|
||||
"second": {
|
||||
"Pane": 7
|
||||
}
|
||||
}
|
||||
},
|
||||
"panes": {
|
||||
"7": {
|
||||
"cwd": "/home/test/projects/project-a"
|
||||
},
|
||||
"6": {
|
||||
"cwd": "/home/test/projects/project-c"
|
||||
}
|
||||
},
|
||||
"zoomed": false,
|
||||
"focused": 6,
|
||||
"root_pane": 6
|
||||
}
|
||||
],
|
||||
"active_tab": 0
|
||||
}
|
||||
],
|
||||
"active": 0,
|
||||
"selected": 0,
|
||||
"agent_panel_scope": "CurrentWorkspace"
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"version": 3,
|
||||
"workspaces": [
|
||||
{
|
||||
"id": "wproj1",
|
||||
"custom_name": null,
|
||||
"identity_cwd": "/home/test/projects/project-a",
|
||||
"tabs": [
|
||||
{
|
||||
"custom_name": "separate-pane",
|
||||
"layout": {
|
||||
"Pane": 1
|
||||
},
|
||||
"panes": {
|
||||
"1": {
|
||||
"cwd": "/home/test/projects/project-a"
|
||||
}
|
||||
},
|
||||
"zoomed": false,
|
||||
"focused": 1,
|
||||
"root_pane": 1
|
||||
},
|
||||
{
|
||||
"custom_name": "p",
|
||||
"layout": {
|
||||
"Pane": 2
|
||||
},
|
||||
"panes": {
|
||||
"2": {
|
||||
"cwd": "/home/test/projects/project-a"
|
||||
}
|
||||
},
|
||||
"zoomed": false,
|
||||
"focused": 2,
|
||||
"root_pane": 2
|
||||
}
|
||||
],
|
||||
"active_tab": 0
|
||||
},
|
||||
{
|
||||
"id": "wproj2",
|
||||
"custom_name": null,
|
||||
"identity_cwd": "/home/test/projects/project-b",
|
||||
"tabs": [
|
||||
{
|
||||
"custom_name": null,
|
||||
"layout": {
|
||||
"Pane": 3
|
||||
},
|
||||
"panes": {
|
||||
"3": {
|
||||
"cwd": "/home/test/projects/project-b"
|
||||
}
|
||||
},
|
||||
"zoomed": false,
|
||||
"focused": 3,
|
||||
"root_pane": 3
|
||||
}
|
||||
],
|
||||
"active_tab": 0
|
||||
}
|
||||
],
|
||||
"active": 0,
|
||||
"selected": 0
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"version": 2,
|
||||
"workspaces": [
|
||||
{
|
||||
"custom_name": "legacy",
|
||||
"layout": {
|
||||
"Split": {
|
||||
"direction": "Horizontal",
|
||||
"ratio": 0.5,
|
||||
"first": {
|
||||
"Pane": 0
|
||||
},
|
||||
"second": {
|
||||
"Pane": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"panes": {
|
||||
"0": {
|
||||
"cwd": "/tmp/pion"
|
||||
},
|
||||
"1": {
|
||||
"cwd": "/tmp/herdr"
|
||||
}
|
||||
},
|
||||
"zoomed": false,
|
||||
"focused": 1,
|
||||
"root_pane": 0
|
||||
}
|
||||
],
|
||||
"active": 0,
|
||||
"selected": 0
|
||||
}
|
||||
Reference in New Issue
Block a user