Skip to content

feat: add Quick Start button for scratch sessions#6733

Closed
iso2kx wants to merge 1 commit into
anomalyco:devfrom
iso2kx:feat/quick-start-session
Closed

feat: add Quick Start button for scratch sessions#6733
iso2kx wants to merge 1 commit into
anomalyco:devfrom
iso2kx:feat/quick-start-session

Conversation

@iso2kx

@iso2kx iso2kx commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

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

@ctbk

ctbk commented Jan 3, 2026

Copy link
Copy Markdown

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.
@iso2kx

iso2kx commented Jan 3, 2026

Copy link
Copy Markdown
Contributor Author

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.

@github-actions

github-actions Bot commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Mar 5, 2026
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