Commit 88b3c6e
feat(craft): persist opencode session data across sandbox sleep/wake
Move opencode's session storage from container-local ~/.local/share/ to
the shared workspace volume via XDG_DATA_HOME. This ensures session data
is captured in snapshots and restored on wake, allowing ephemeral ACP
clients to resume conversation context after sleep/wake cycles.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent de31483 commit 88b3c6e
File tree
2 files changed
+19
-5
lines changed- backend/onyx/server/features/build/sandbox/kubernetes
- internal
2 files changed
+19
-5
lines changedLines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
179 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
180 | 190 | | |
181 | 191 | | |
182 | 192 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1472 | 1472 | | |
1473 | 1473 | | |
1474 | 1474 | | |
| 1475 | + | |
1475 | 1476 | | |
1476 | 1477 | | |
1477 | 1478 | | |
| |||
1496 | 1497 | | |
1497 | 1498 | | |
1498 | 1499 | | |
1499 | | - | |
1500 | | - | |
1501 | | - | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
1502 | 1504 | | |
1503 | 1505 | | |
1504 | 1506 | | |
| |||
1511 | 1513 | | |
1512 | 1514 | | |
1513 | 1515 | | |
| 1516 | + | |
1514 | 1517 | | |
1515 | 1518 | | |
1516 | 1519 | | |
| |||
1632 | 1635 | | |
1633 | 1636 | | |
1634 | 1637 | | |
| 1638 | + | |
1635 | 1639 | | |
1636 | 1640 | | |
1637 | 1641 | | |
| |||
0 commit comments