This repository was archived by the owner on Aug 17, 2026. It is now read-only.
Repository navigation
Commit da4b349
committed
feat(grunt/tui): bare gruntcode auto-lands in session route (sidebar visible from first frame)
Refs hivemind anomalyco#229. The hivemind sidebar lives inside the session route — so
bare `gruntcode` landing on the home/splash route HID the sidebar until the
user submitted their first prompt. Nik's intent was 'open gruntcode tab and
already be in that view, ready to type'.
This effect auto-creates an empty session and navigates when:
- No explicit --session / --continue / --fork
- No --prompt (--prompt has its own auto-submit path on home)
- Currently on home route
- sync + model are ready (session.create requires agent + model)
Escape hatch: OPENCODE_DISABLE_AUTO_SESSION=1 keeps legacy 'land on splash'
behavior for users who prefer the home route.1 parent 8e04da9 commit da4b349
1 file changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
426 | 472 | | |
427 | 473 | | |
428 | 474 | | |
| |||
0 commit comments