Skip to content

Conversation

@usvimal
Copy link

@usvimal usvimal commented Jan 3, 2026

Summary

Adds a "Quick Start" button on the home page that opens a session in the user's home directory, allowing users to start working without selecting a specific project folder.

Use Case

  • Quick experiments or prototyping
  • General-purpose AI assistance
  • When you want to "figure something out" but not as a project

Changes

  • Added quickStart() function that opens session in home directory
  • Added "Quick Start" button next to "Open project" (when projects exist)
  • Added "Quick Start" button in empty state (no recent projects)

UI

Recent projects                    [Quick start] [Open project]
─────────────────────────────────────────────────────────────
~/project-1                                      2 hours ago
~/project-2                                      yesterday

@usvimal usvimal force-pushed the feat/quick-start-session branch from 590572d to facb892 Compare January 3, 2026 05:58
@ctbk
Copy link

ctbk commented Jan 3, 2026

I’m a little uncomfortable about using the home dir as a default for scratch sessions. I think there’s some danger of sensitive files contents ending up in models prompts. Can it be a dedicated default scratch dir instead?

Adds a Quick Start button on the home page that opens a session in the
user's home directory. This allows users to start working without having
to select a specific project folder - useful for quick experiments or
general-purpose AI assistance.
@usvimal usvimal force-pushed the feat/quick-start-session branch from facb892 to bf6994d Compare January 3, 2026 09:10
@usvimal
Copy link
Author

usvimal commented Jan 3, 2026

Good point! Updated to use a dedicated scratch directory at ${state}/scratch (e.g., ~/.local/state/opencode/scratch) instead of the home directory.

This isolates scratch sessions from sensitive files in the home folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants