Skip to content

[beta] process freezes after typing "/" #91

Closed

Description

@seatedro

After typing /, the application becomes completely unresponsive to further keyboard input

opencode.mp4

Expected Behavior

  • All keyboard input should remain responsive throughout the session
  • /model should work without breaking the input system
  • At the very least, ctrl-c should work

Current Behavior

  • Complete input freeze after entering / character
  • No error messages or feedback when input stops working
  • Unable to exit without pkill

Environment

  • Platform: macOS
  • OS Version: Sequoia 15.1
  • Shell: Fish
  • Terminal: Ghostty

Steps to Reproduce

  1. Launch the application
  2. Type / character
  3. Attempt to continue typing (input will be unresponsive)

Side note: The startup times are too long as well (~15 seconds or more, the video is in real time)

Activity

  1. thdxr commented on Jun 14, 2025

    @thdxr
    Member

    can you do opencode --print-logs so i can see where the lag is?

  2. seatedro commented on Jun 14, 2025

    @seatedro
    Author
    CleanShot.2025-06-13.at.22.27.04.mp4
    2025-06-14T05:27:06.572Z version=0.1.38 args=--print-logs opencode
    2025-06-14T05:27:06.572Z service=app cwd=/Users/ro creating
    2025-06-14T05:27:06.573Z service=app git
    2025-06-14T05:27:06.576Z service=app name=provider registering service
    2025-06-14T05:27:06.576Z service=app name=config registering service
    2025-06-14T05:27:06.576Z service=config loaded
    2025-06-14T05:27:06.577Z service=models.dev refreshing
    2025-06-14T05:27:06.577Z service=provider loading
    2025-06-14T05:27:06.577Z service=provider providerID=groq loaded
    2025-06-14T05:27:06.577Z service=provider providerID=anthropic loaded
    2025-06-14T05:27:06.577Z service=provider providerID=deepseek loaded
    2025-06-14T05:27:06.577Z service=provider providerID=openai loaded
    2025-06-14T05:27:06.577Z service=app name=share registering service
    2025-06-14T05:27:06.577Z service=bus type=storage.write subscribing
    2025-06-14T05:27:06.577Z service=app name=bus registering service
    2025-06-14T05:27:06.598Z service=server method=POST path=/path_get request
    2025-06-14T05:27:06.600Z service=server method=POST path=/app_info request
    2025-06-14T05:27:06.600Z service=server method=POST path=/provider_list request
    2025-06-14T05:27:06.602Z service=server method=POST path=/file_search request
    2025-06-14T05:27:06.603Z service=fzf filepath=/opt/homebrew/bin/fzf found
    2025-06-14T05:27:24.271Z service=server method=GET path=/event request
    2025-06-14T05:27:24.271Z service=server event connected
    2025-06-14T05:27:24.272Z service=bus type=* subscribing
    2025-06-14T05:28:07.477Z service=bus type=* unsubscribing
    2025-06-14T05:28:07.477Z service=server event disconnected
    
  3. thdxr commented on Jun 14, 2025

    @thdxr
    Member

    ok it seems to be doing a blocking file search on start for some reason - extra slow since it's in your home dir

    opening in a project should avoid the issue - we'll fix either way

  4. seatedro commented on Jun 14, 2025

    @seatedro
    Author

    ah, fzf, might be good to throw a warning on start too if people open it up in home dir. I think i saw claude code do this

  5. thdxr commented on Jun 14, 2025

    @thdxr
    Member

    i actually open it in my home directory all the time because sometimes i need it to do something unrelated to a project

    i pushed a mitigation in v0.1.39 but need to fix the underlying thing

  6. assigned and unassigned on Jun 14, 2025
  7. GeneCodeSavvy commented on Jun 14, 2025

    @GeneCodeSavvy
    Contributor

    ok it seems to be doing a blocking file search on start for some reason - extra slow since it's in your home dir

    opening in a project should avoid the issue - we'll fix either way

    I am having a similar experience inside a project directory.

    Screen.Recording.2025-06-14.at.21.10.53.mp4
     ❯ opencode --print-logs
    2025-06-14T15:41:08.556Z service=default version=0.1.40 args=--print-logs opencode
    2025-06-14T15:41:08.557Z service=app cwd=/Users/harshsharma/Desktop/100xdevs/sbol/SBOL-Notebooks creating
    2025-06-14T15:41:08.559Z service=app git=/Users/harshsharma/Desktop/100xdevs/sbol/SBOL-Notebooks git
    2025-06-14T15:41:08.563Z service=app name=provider registering service
    2025-06-14T15:41:08.563Z service=app name=config registering service
    2025-06-14T15:41:08.563Z service=config loaded
    2025-06-14T15:41:08.564Z service=models.dev refreshing
    2025-06-14T15:41:08.565Z service=provider loading
    2025-06-14T15:41:08.566Z service=provider providerID=google loaded
    2025-06-14T15:41:08.566Z service=app name=share registering service
    2025-06-14T15:41:08.566Z service=bus type=storage.write subscribing
    2025-06-14T15:41:08.566Z service=app name=bus registering service
    2025-06-14T15:41:08.647Z service=server method=POST path=/path_get request
    2025-06-14T15:41:08.648Z service=server duration=1 response
    2025-06-14T15:41:08.650Z service=server method=POST path=/app_info request
    2025-06-14T15:41:08.650Z service=server duration=0 response
    2025-06-14T15:41:08.651Z service=server method=POST path=/provider_list request
    2025-06-14T15:41:08.651Z service=server duration=0 response
    2025-06-14T15:41:08.654Z service=server method=POST path=/file_search request
    2025-06-14T15:41:08.655Z service=fzf filepath=/opt/homebrew/bin/fzf found
    2025-06-14T15:41:08.676Z service=fzf count=0 results
    2025-06-14T15:41:08.676Z service=server duration=22 response
    2025-06-14T15:41:08.677Z service=server method=GET path=/event request
    2025-06-14T15:41:08.677Z service=server event connected
    2025-06-14T15:41:08.679Z service=bus type=* subscribing
    2025-06-14T15:41:08.680Z service=server duration=3 response
    2025-06-14T15:41:30.591Z service=bus type=* unsubscribing
    2025-06-14T15:41:30.591Z service=server event disconnected
    
  8. adamdotdevin commented on Jun 16, 2025

    @adamdotdevin
    Member

    @thdxr i made some improvements in the TUI around this as well, should be more responsive there

  9. thdxr commented on Jun 24, 2025

    @thdxr
    Member

    should be fixed now closing

  10. seatedro commented on Jun 24, 2025

    @seatedro
    Author

    hell yeah let's go

  11. added a commit that references this issue on Jan 9, 2026
  12. 8 remaining items

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions