Opencode just hangs #1818

Closed
opened 2026-02-16 17:32:46 -05:00 by yindo · 22 comments
Owner

Originally created by @tonsV2 on GitHub (Sep 24, 2025).

Originally assigned to: @thdxr on GitHub.

All of a sudden opencode just hangs when I try to launch

tons@p1 ~> opencode --print-logs --log-level DEBUG .
INFO  2025-09-24T22:54:21 +75ms service=default version=0.11.3 args=["--print-logs","--log-level","DEBUG","."] opencode
INFO  2025-09-24T22:54:21 +1ms service=project directory=/home/tons fromDirectory
INFO  2025-09-24T22:54:21 +8ms service=config path=/home/tons/.config/opencode/config.json loading
INFO  2025-09-24T22:54:21 +0ms service=config path=/home/tons/.config/opencode/opencode.json loading
INFO  2025-09-24T22:54:21 +5ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading
INFO  2025-09-24T22:54:21 +2ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin
INFO  2025-09-24T22:54:21 +0ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution
INFO  2025-09-24T22:54:21 +0ms service=bun cmd=["/home/tons/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/tons/.cache/opencode running

It never gets past the above.

I tried downgrading but that didn't help. I also tried rebooting and deleting the cache files in ~/.cache/opencode.

Originally created by @tonsV2 on GitHub (Sep 24, 2025). Originally assigned to: @thdxr on GitHub. All of a sudden opencode just hangs when I try to launch ``` tons@p1 ~> opencode --print-logs --log-level DEBUG . INFO 2025-09-24T22:54:21 +75ms service=default version=0.11.3 args=["--print-logs","--log-level","DEBUG","."] opencode INFO 2025-09-24T22:54:21 +1ms service=project directory=/home/tons fromDirectory INFO 2025-09-24T22:54:21 +8ms service=config path=/home/tons/.config/opencode/config.json loading INFO 2025-09-24T22:54:21 +0ms service=config path=/home/tons/.config/opencode/opencode.json loading INFO 2025-09-24T22:54:21 +5ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading INFO 2025-09-24T22:54:21 +2ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin INFO 2025-09-24T22:54:21 +0ms service=bun pkg=opencode-copilot-auth version=0.0.3 installing package using Bun's default registry resolution INFO 2025-09-24T22:54:21 +0ms service=bun cmd=["/home/tons/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-copilot-auth@0.0.3"] cwd=/home/tons/.cache/opencode running ``` It never gets past the above. I tried downgrading but that didn't help. I also tried rebooting and deleting the cache files in ~/.cache/opencode.
yindo closed this issue 2026-02-16 17:32:46 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 24, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2341: opencode-copilot-auth error - Reports similar issue with opencode-copilot-auth plugin installation failure
  • #2765: I removed bundle.pem from user folder and now opencode is not running - Shows similar hanging during plugin installation with bun add errors
  • #2224: Support for airgapped installation - Reports hanging during plugin installation when network access is limited
  • #1533: NPM Provider install seems to be hardcoded to use "beta" tag - Plugin installation issues during startup

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 24, 2025): This issue might be a duplicate of existing issues. Please check: - #2341: opencode-copilot-auth error - Reports similar issue with opencode-copilot-auth plugin installation failure - #2765: I removed bundle.pem from user folder and now opencode is not running - Shows similar hanging during plugin installation with bun add errors - #2224: Support for airgapped installation - Reports hanging during plugin installation when network access is limited - #1533: NPM Provider install seems to be hardcoded to use "beta" tag - Plugin installation issues during startup Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Sep 24, 2025):

@tonsV2 what do you see if you do:

cat ~/.cache/opencode/node_modules/@ai-sdk/openai/package.json

what version is in here?

Does that even exist?

also try::

cat ~/.cache/opencode/package.json

@rekram1-node commented on GitHub (Sep 24, 2025): @tonsV2 what do you see if you do: cat ~/.cache/opencode/node_modules/@ai-sdk/openai/package.json what version is in here? Does that even exist? also try:: cat ~/.cache/opencode/package.json
Author
Owner

@tonsV2 commented on GitHub (Sep 24, 2025):

@rekram1-node I get the below. I normally install using bash but since it stopped working I tried to install using npm

tons@p1 ~> cat ~/.cache/opencode/node_modules/@ai-sdk/openai/package.json
cat: /home/tons/.cache/opencode/node_modules/@ai-sdk/openai/package.json: No such file or directory
tons@p1 ~ [1]> cat ~/.cache/opencode/package.json
{
  "dependencies": {
    "opencode-copilot-auth": "0.0.2"
  }
}

After letting opencode hang for longer period I get some more output.

tons@p1 ~> opencode --print-logs --log-level DEBUG .
INFO  2025-09-24T23:01:25 +70ms service=default version=0.6.4 args=["--print-logs","--log-level","DEBUG","."] opencode
INFO  2025-09-24T23:01:25 +0ms service=project directory=/home/tons fromDirectory
INFO  2025-09-24T23:01:25 +8ms service=config path=/home/tons/.config/opencode/config.json loading
INFO  2025-09-24T23:01:25 +0ms service=config path=/home/tons/.config/opencode/opencode.json loading
INFO  2025-09-24T23:01:25 +0ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading
INFO  2025-09-24T23:01:25 +1ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin
INFO  2025-09-24T23:01:25 +0ms service=bun pkg=opencode-copilot-auth version=0.0.2 installing package using Bun's default registry resolution
INFO  2025-09-24T23:01:25 +1ms service=bun cmd=["/home/tons/.config/yarn/global/node_modules/opencode-linux-x64/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-copilot-auth@0.0.2"] cwd=/home/tons/.cache/opencode running
INFO  2025-09-24T23:01:25 +4ms service=bun code=0 stdout=bun add v1.2.19 (aad3abea)

installed opencode-copilot-auth@0.0.2

1 package installed [1.00ms]
 stderr=Saved lockfile
 done
INFO  2025-09-24T23:01:25 +5ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
INFO  2025-09-24T23:01:25 +0ms service=bun pkg=opencode-anthropic-auth version=0.0.2 installing package using Bun's default registry resolution
INFO  2025-09-24T23:01:25 +0ms service=bun cmd=["/home/tons/.config/yarn/global/node_modules/opencode-linux-x64/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-anthropic-auth@0.0.2"] cwd=/home/tons/.cache/opencode running

I normally use yarn over npm but I don't recall setting it as default for anything and I guess it should work regardless.

@tonsV2 commented on GitHub (Sep 24, 2025): @rekram1-node I get the below. I normally install using bash but since it stopped working I tried to install using npm ``` tons@p1 ~> cat ~/.cache/opencode/node_modules/@ai-sdk/openai/package.json cat: /home/tons/.cache/opencode/node_modules/@ai-sdk/openai/package.json: No such file or directory tons@p1 ~ [1]> cat ~/.cache/opencode/package.json { "dependencies": { "opencode-copilot-auth": "0.0.2" } } ``` After letting opencode hang for longer period I get some more output. ``` tons@p1 ~> opencode --print-logs --log-level DEBUG . INFO 2025-09-24T23:01:25 +70ms service=default version=0.6.4 args=["--print-logs","--log-level","DEBUG","."] opencode INFO 2025-09-24T23:01:25 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-24T23:01:25 +8ms service=config path=/home/tons/.config/opencode/config.json loading INFO 2025-09-24T23:01:25 +0ms service=config path=/home/tons/.config/opencode/opencode.json loading INFO 2025-09-24T23:01:25 +0ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading INFO 2025-09-24T23:01:25 +1ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin INFO 2025-09-24T23:01:25 +0ms service=bun pkg=opencode-copilot-auth version=0.0.2 installing package using Bun's default registry resolution INFO 2025-09-24T23:01:25 +1ms service=bun cmd=["/home/tons/.config/yarn/global/node_modules/opencode-linux-x64/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-copilot-auth@0.0.2"] cwd=/home/tons/.cache/opencode running INFO 2025-09-24T23:01:25 +4ms service=bun code=0 stdout=bun add v1.2.19 (aad3abea) installed opencode-copilot-auth@0.0.2 1 package installed [1.00ms] stderr=Saved lockfile done INFO 2025-09-24T23:01:25 +5ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin INFO 2025-09-24T23:01:25 +0ms service=bun pkg=opencode-anthropic-auth version=0.0.2 installing package using Bun's default registry resolution INFO 2025-09-24T23:01:25 +0ms service=bun cmd=["/home/tons/.config/yarn/global/node_modules/opencode-linux-x64/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-anthropic-auth@0.0.2"] cwd=/home/tons/.cache/opencode running ``` I normally use yarn over npm but I don't recall setting it as default for anything and I guess it should work regardless.
Author
Owner

@tonsV2 commented on GitHub (Sep 24, 2025):

After a very very long time it actually came up!

Image

I'm now seeing that but something is definitely wrong.

Below is the complete output I got after exiting

tons@p1 ~> opencode --print-logs --log-level DEBUG .
INFO  2025-09-24T23:01:25 +70ms service=default version=0.6.4 args=["--print-logs","--log-level","DEBUG","."] opencode
INFO  2025-09-24T23:01:25 +0ms service=project directory=/home/tons fromDirectory
INFO  2025-09-24T23:01:25 +8ms service=config path=/home/tons/.config/opencode/config.json loading
INFO  2025-09-24T23:01:25 +0ms service=config path=/home/tons/.config/opencode/opencode.json loading
INFO  2025-09-24T23:01:25 +0ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading
INFO  2025-09-24T23:01:25 +1ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin
INFO  2025-09-24T23:01:25 +0ms service=bun pkg=opencode-copilot-auth version=0.0.2 installing package using Bun's default registry resolution
INFO  2025-09-24T23:01:25 +1ms service=bun cmd=["/home/tons/.config/yarn/global/node_modules/opencode-linux-x64/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-copilot-auth@0.0.2"] cwd=/home/tons/.cache/opencode running
INFO  2025-09-24T23:01:25 +4ms service=bun code=0 stdout=bun add v1.2.19 (aad3abea)

installed opencode-copilot-auth@0.0.2

1 package installed [1.00ms]
 stderr=Saved lockfile
 done
INFO  2025-09-24T23:01:25 +5ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
INFO  2025-09-24T23:01:25 +0ms service=bun pkg=opencode-anthropic-auth version=0.0.2 installing package using Bun's default registry resolution
INFO  2025-09-24T23:01:25 +0ms service=bun cmd=["/home/tons/.config/yarn/global/node_modules/opencode-linux-x64/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-anthropic-auth@0.0.2"] cwd=/home/tons/.cache/opencode running
INFO  2025-09-25T00:07:55 +3989888ms service=bun code=0 stdout=bun add v1.2.19 (aad3abea)

+ opencode-copilot-auth@0.0.2

installed opencode-anthropic-auth@0.0.2

14 packages installed [3989.88s]
 stderr=Resolving dependencies
Resolved, downloaded and extracted [6]
Saved lockfile
 done
INFO  2025-09-25T00:07:55 +19ms service=bus type=* subscribing
INFO  2025-09-25T00:07:55 +1ms service=bus type=session.updated subscribing
INFO  2025-09-25T00:07:55 +0ms service=bus type=message.updated subscribing
INFO  2025-09-25T00:07:55 +0ms service=bus type=message.part.updated subscribing
INFO  2025-09-25T00:07:55 +0ms service=format init
INFO  2025-09-25T00:07:55 +0ms service=bus type=file.edited subscribing
INFO  2025-09-25T00:07:55 +1ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd enabled LSP servers
INFO  2025-09-25T00:07:55 +3ms service=models.dev file={} refreshing
INFO  2025-09-25T00:07:55 +3ms service=provider init
INFO  2025-09-25T00:07:55 +1ms service=provider providerID=opencode found
INFO  2025-09-25T00:07:55 +10ms service=default cmd=["/home/tons/.cache/opencode/tui/tui-9rm8w16e."] tui
INFO  2025-09-25T00:07:55 +67ms service=server method=GET path=/path request
INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
INFO  2025-09-25T00:07:55 +2ms service=server duration=2 response
INFO  2025-09-25T00:07:55 +0ms service=server method=GET path=/project/current request
INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
INFO  2025-09-25T00:07:55 +0ms service=server duration=0 response
INFO  2025-09-25T00:07:55 +1ms service=server method=GET path=/agent request
INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
INFO  2025-09-25T00:07:55 +0ms service=server duration=0 response
INFO  2025-09-25T00:07:55 +1ms service=server method=GET path=/config request
INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
INFO  2025-09-25T00:07:55 +0ms service=server duration=0 response
INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
DEBUG 2025-09-25T00:07:55 +1ms service=tui TUI launched
INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
DEBUG 2025-09-25T00:07:55 +1ms service=tui tool=wl-copy Clipboard tool found
INFO  2025-09-25T00:07:55 +4ms service=server method=GET path=/command request
INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
INFO  2025-09-25T00:07:55 +0ms service=server duration=0 response
INFO  2025-09-25T00:07:55 +1ms service=project directory=/home/tons fromDirectory
DEBUG 2025-09-25T00:07:55 +0ms service=tui config={"$schema":"","agent":{"build":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"general":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"plan":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0}},"autoshare":false,"autoupdate":false,"command":{},"disabled_providers":[],"experimental":{"hook":{"file_edited":{},"session_completed":[]}},"formatter":{},"instructions":[],"keybinds":{"agent_cycle":"","agent_cycle_reverse":"","agent_list":"","app_exit":"","app_help":"","editor_open":"","file_close":"","file_diff_toggle":"","file_list":"","file_search":"","input_clear":"","input_newline":"","input_paste":"","input_submit":"","leader":"ctrl+x","messages_copy":"","messages_first":"","messages_half_page_down":"","messages_half_page_up":"","messages_last":"","messages_layout_toggle":"","messages_next":"","messages_page_down":"","messages_page_up":"","messages_previous":"","messages_redo":"","messages_revert":"","messages_undo":"","model_cycle_recent":"","model_cycle_recent_reverse":"","model_list":"","project_init":"","session_child_cycle":"","session_child_cycle_reverse":"","session_compact":"","session_export":"","session_interrupt":"","session_list":"","session_new":"","session_share":"","session_timeline":"","session_unshare":"","switch_agent":"","switch_agent_reverse":"","switch_mode":"","switch_mode_reverse":"","theme_list":"","thinking_blocks":"","tool_details":""},"layout":"","lsp":{},"mcp":{},"mode":{"build":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"plan":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0}},"model":"","permission":{"edit":"","webfetch":""},"plugin":[],"provider":{},"share":"","small_model":"","snapshot":false,"theme":"","tools":{},"tui":{"scroll_speed":0},"username":"tons"} Loaded config
INFO  2025-09-25T00:07:55 +0ms service=server method=GET path=/file/status request
INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
INFO  2025-09-25T00:07:55 +1ms service=server duration=1 response
                                                                 INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
                                                                                                                                                  INFO  2025-09-25T00:07:55 +0ms service=tui commands={"agent_cycle":{},"agent_cycle_reverse":{},"agent_list":{},"app_exit":{},"app_help":{},"editor_open":{},"input_clear":{},"input_newline":{},"input_paste":{},"input_submit":{},"messages_copy":{},"messages_first":{},"messages_half_page_down":{},"messages_half_page_up":{},"messages_last":{},"messages_page_down":{},"messages_page_up":{},"messages_redo":{},"messages_undo":{},"model_cycle_recent":{},"model_cycle_recent_reverse":{},"model_list":{},"project_init":{},"session_child_cycle":{},"session_child_cycle_reverse":{},"session_compact":{},"session_export":{},"session_interrupt":{},"session_list":{},"session_new":{},"session_share":{},"session_timeline":{},"session_unshare":{},"theme_list":{},"thinking_blocks":{},"tool_details":{}} Loaded commands
                               INFO  2025-09-25T00:07:55 +0ms service=server method=GET path=/config/providers request
                                                                                                                      INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
               INFO  2025-09-25T00:07:55 +1ms service=server duration=1 response
                                                                                INFO  2025-09-25T00:07:55 +0ms service=server method=GET path=/tui/control/next request
                                                                                                                                                                       INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
                                                                INFO  2025-09-25T00:07:55 +1ms service=server method=GET path=/event request
                                                                                                                                            INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
                                     INFO  2025-09-25T00:07:55 +0ms service=server event connected
                                                                                                  INFO  2025-09-25T00:07:55 +2ms service=bus type=* subscribing
                                                                                                                                                               INFO  2025-09-25T00:07:55 +2ms service=server duration=4 response
                                        INFO  2025-09-25T00:07:55 +2ms service=project directory=/home/tons fromDirectory
                                                                                                                         DEBUG 2025-09-25T00:07:55 +0ms service=tui model=grok-code provider=opencode Recent model not found
                                    INFO  2025-09-25T00:07:55 +2ms service=project directory=/home/tons fromDirectory
                                                                                                                     DEBUG 2025-09-25T00:07:55 +0ms service=tui model=grok-code provider=opencode State model not found
                               INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
                                                                                                                DEBUG 2025-09-25T00:07:55 +0ms service=tui model=x-ai/grok-code-fast-1 provider=opencode Selected model from fallback (first available)
                                                               INFO  2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory
                                                                                                                                                DEBUG 2025-09-25T00:07:55 +1ms service=tui timeTakenMs=0 messages.renderView
                                    INFO  2025-09-25T00:12:37 +282123ms service=bus type=* unsubscribing
INFO  2025-09-25T00:12:37 +0ms service=server event disconnected
@tonsV2 commented on GitHub (Sep 24, 2025): After a very very long time it actually came up! <img width="2560" height="1600" alt="Image" src="https://github.com/user-attachments/assets/545acfc8-3a70-44ef-9210-0259e5ec959c" /> I'm now seeing that but something is definitely wrong. Below is the complete output I got after exiting ``` tons@p1 ~> opencode --print-logs --log-level DEBUG . INFO 2025-09-24T23:01:25 +70ms service=default version=0.6.4 args=["--print-logs","--log-level","DEBUG","."] opencode INFO 2025-09-24T23:01:25 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-24T23:01:25 +8ms service=config path=/home/tons/.config/opencode/config.json loading INFO 2025-09-24T23:01:25 +0ms service=config path=/home/tons/.config/opencode/opencode.json loading INFO 2025-09-24T23:01:25 +0ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading INFO 2025-09-24T23:01:25 +1ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin INFO 2025-09-24T23:01:25 +0ms service=bun pkg=opencode-copilot-auth version=0.0.2 installing package using Bun's default registry resolution INFO 2025-09-24T23:01:25 +1ms service=bun cmd=["/home/tons/.config/yarn/global/node_modules/opencode-linux-x64/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-copilot-auth@0.0.2"] cwd=/home/tons/.cache/opencode running INFO 2025-09-24T23:01:25 +4ms service=bun code=0 stdout=bun add v1.2.19 (aad3abea) installed opencode-copilot-auth@0.0.2 1 package installed [1.00ms] stderr=Saved lockfile done INFO 2025-09-24T23:01:25 +5ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin INFO 2025-09-24T23:01:25 +0ms service=bun pkg=opencode-anthropic-auth version=0.0.2 installing package using Bun's default registry resolution INFO 2025-09-24T23:01:25 +0ms service=bun cmd=["/home/tons/.config/yarn/global/node_modules/opencode-linux-x64/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-anthropic-auth@0.0.2"] cwd=/home/tons/.cache/opencode running INFO 2025-09-25T00:07:55 +3989888ms service=bun code=0 stdout=bun add v1.2.19 (aad3abea) + opencode-copilot-auth@0.0.2 installed opencode-anthropic-auth@0.0.2 14 packages installed [3989.88s] stderr=Resolving dependencies Resolved, downloaded and extracted [6] Saved lockfile done INFO 2025-09-25T00:07:55 +19ms service=bus type=* subscribing INFO 2025-09-25T00:07:55 +1ms service=bus type=session.updated subscribing INFO 2025-09-25T00:07:55 +0ms service=bus type=message.updated subscribing INFO 2025-09-25T00:07:55 +0ms service=bus type=message.part.updated subscribing INFO 2025-09-25T00:07:55 +0ms service=format init INFO 2025-09-25T00:07:55 +0ms service=bus type=file.edited subscribing INFO 2025-09-25T00:07:55 +1ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd enabled LSP servers INFO 2025-09-25T00:07:55 +3ms service=models.dev file={} refreshing INFO 2025-09-25T00:07:55 +3ms service=provider init INFO 2025-09-25T00:07:55 +1ms service=provider providerID=opencode found INFO 2025-09-25T00:07:55 +10ms service=default cmd=["/home/tons/.cache/opencode/tui/tui-9rm8w16e."] tui INFO 2025-09-25T00:07:55 +67ms service=server method=GET path=/path request INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +2ms service=server duration=2 response INFO 2025-09-25T00:07:55 +0ms service=server method=GET path=/project/current request INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +0ms service=server duration=0 response INFO 2025-09-25T00:07:55 +1ms service=server method=GET path=/agent request INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +0ms service=server duration=0 response INFO 2025-09-25T00:07:55 +1ms service=server method=GET path=/config request INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +0ms service=server duration=0 response INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory DEBUG 2025-09-25T00:07:55 +1ms service=tui TUI launched INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory DEBUG 2025-09-25T00:07:55 +1ms service=tui tool=wl-copy Clipboard tool found INFO 2025-09-25T00:07:55 +4ms service=server method=GET path=/command request INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +0ms service=server duration=0 response INFO 2025-09-25T00:07:55 +1ms service=project directory=/home/tons fromDirectory DEBUG 2025-09-25T00:07:55 +0ms service=tui config={"$schema":"","agent":{"build":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"general":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"plan":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0}},"autoshare":false,"autoupdate":false,"command":{},"disabled_providers":[],"experimental":{"hook":{"file_edited":{},"session_completed":[]}},"formatter":{},"instructions":[],"keybinds":{"agent_cycle":"","agent_cycle_reverse":"","agent_list":"","app_exit":"","app_help":"","editor_open":"","file_close":"","file_diff_toggle":"","file_list":"","file_search":"","input_clear":"","input_newline":"","input_paste":"","input_submit":"","leader":"ctrl+x","messages_copy":"","messages_first":"","messages_half_page_down":"","messages_half_page_up":"","messages_last":"","messages_layout_toggle":"","messages_next":"","messages_page_down":"","messages_page_up":"","messages_previous":"","messages_redo":"","messages_revert":"","messages_undo":"","model_cycle_recent":"","model_cycle_recent_reverse":"","model_list":"","project_init":"","session_child_cycle":"","session_child_cycle_reverse":"","session_compact":"","session_export":"","session_interrupt":"","session_list":"","session_new":"","session_share":"","session_timeline":"","session_unshare":"","switch_agent":"","switch_agent_reverse":"","switch_mode":"","switch_mode_reverse":"","theme_list":"","thinking_blocks":"","tool_details":""},"layout":"","lsp":{},"mcp":{},"mode":{"build":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0},"plan":{"description":"","disable":false,"mode":"","model":"","permission":{"edit":"","webfetch":""},"prompt":"","temperature":0,"tools":{},"top_p":0}},"model":"","permission":{"edit":"","webfetch":""},"plugin":[],"provider":{},"share":"","small_model":"","snapshot":false,"theme":"","tools":{},"tui":{"scroll_speed":0},"username":"tons"} Loaded config INFO 2025-09-25T00:07:55 +0ms service=server method=GET path=/file/status request INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +1ms service=server duration=1 response INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +0ms service=tui commands={"agent_cycle":{},"agent_cycle_reverse":{},"agent_list":{},"app_exit":{},"app_help":{},"editor_open":{},"input_clear":{},"input_newline":{},"input_paste":{},"input_submit":{},"messages_copy":{},"messages_first":{},"messages_half_page_down":{},"messages_half_page_up":{},"messages_last":{},"messages_page_down":{},"messages_page_up":{},"messages_redo":{},"messages_undo":{},"model_cycle_recent":{},"model_cycle_recent_reverse":{},"model_list":{},"project_init":{},"session_child_cycle":{},"session_child_cycle_reverse":{},"session_compact":{},"session_export":{},"session_interrupt":{},"session_list":{},"session_new":{},"session_share":{},"session_timeline":{},"session_unshare":{},"theme_list":{},"thinking_blocks":{},"tool_details":{}} Loaded commands INFO 2025-09-25T00:07:55 +0ms service=server method=GET path=/config/providers request INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +1ms service=server duration=1 response INFO 2025-09-25T00:07:55 +0ms service=server method=GET path=/tui/control/next request INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +1ms service=server method=GET path=/event request INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory INFO 2025-09-25T00:07:55 +0ms service=server event connected INFO 2025-09-25T00:07:55 +2ms service=bus type=* subscribing INFO 2025-09-25T00:07:55 +2ms service=server duration=4 response INFO 2025-09-25T00:07:55 +2ms service=project directory=/home/tons fromDirectory DEBUG 2025-09-25T00:07:55 +0ms service=tui model=grok-code provider=opencode Recent model not found INFO 2025-09-25T00:07:55 +2ms service=project directory=/home/tons fromDirectory DEBUG 2025-09-25T00:07:55 +0ms service=tui model=grok-code provider=opencode State model not found INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory DEBUG 2025-09-25T00:07:55 +0ms service=tui model=x-ai/grok-code-fast-1 provider=opencode Selected model from fallback (first available) INFO 2025-09-25T00:07:55 +0ms service=project directory=/home/tons fromDirectory DEBUG 2025-09-25T00:07:55 +1ms service=tui timeTakenMs=0 messages.renderView INFO 2025-09-25T00:12:37 +282123ms service=bus type=* unsubscribing INFO 2025-09-25T00:12:37 +0ms service=server event disconnected ```
Author
Owner

@rekram1-node commented on GitHub (Sep 24, 2025):

@tonsV2 if you run without print logs flag it will work as expected

@rekram1-node commented on GitHub (Sep 24, 2025): @tonsV2 if you run without print logs flag it will work as expected
Author
Owner

@tonsV2 commented on GitHub (Sep 24, 2025):

@rekram1-node it does now. But that's what I normally do. I only added the debug and print logs arguments to debug and so I could post some meaningful information here

@tonsV2 commented on GitHub (Sep 24, 2025): @rekram1-node it does now. But that's what I normally do. I only added the debug and print logs arguments to debug and so I could post some meaningful information here
Author
Owner

@tonsV2 commented on GitHub (Sep 24, 2025):

Sorry, for the confusion here. It actually doesn't work. installing with npm seems to give me a very old version (version=0.6.4) as it's since in the output above. After removing that and installing with bash it hangs again.

@tonsV2 commented on GitHub (Sep 24, 2025): Sorry, for the confusion here. It actually doesn't work. installing with npm seems to give me a very old version (version=0.6.4) as it's since in the output above. After removing that and installing with bash it hangs again.
Author
Owner

@tonsV2 commented on GitHub (Sep 24, 2025):

Image

It starts but nothing happens when I type input

@tonsV2 commented on GitHub (Sep 24, 2025): <img width="2560" height="1600" alt="Image" src="https://github.com/user-attachments/assets/105c51b4-66bb-42fb-ab4f-b1d3aa5ad372" /> It starts but nothing happens when I type input
Author
Owner

@rekram1-node commented on GitHub (Sep 24, 2025):

what if you do:

opencode run hello --print-logs

^^

@rekram1-node commented on GitHub (Sep 24, 2025): what if you do: opencode run hello --print-logs ^^
Author
Owner

@rekram1-node commented on GitHub (Sep 24, 2025):

are you running in a special environment? seems weird that it takes so long to do anything, maybe poor internet?

@rekram1-node commented on GitHub (Sep 24, 2025): are you running in a special environment? seems weird that it takes so long to do anything, maybe poor internet?
Author
Owner

@tonsV2 commented on GitHub (Sep 24, 2025):

tons@p1 ~/I/d/docker-deployment (docs/monitoring-updates) [SIGINT]> opencode run hello --print-logs
INFO  2025-09-25T01:23:40 +91ms service=default version=0.11.3 args=["run","hello","--print-logs"] opencode
INFO  2025-09-25T01:23:40 +1ms service=project directory=/home/tons/IdeaProjects/dhis2/docker-deployment fromDirectory
INFO  2025-09-25T01:23:40 +14ms service=config path=/home/tons/.config/opencode/config.json loading
INFO  2025-09-25T01:23:40 +1ms service=config path=/home/tons/.config/opencode/opencode.json loading
INFO  2025-09-25T01:23:40 +0ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading
INFO  2025-09-25T01:23:40 +1ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin
INFO  2025-09-25T01:23:40 +2ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
INFO  2025-09-25T01:23:40 +13ms service=bus type=* subscribing
INFO  2025-09-25T01:23:40 +0ms service=bus type=session.updated subscribing
INFO  2025-09-25T01:23:40 +0ms service=bus type=message.updated subscribing
INFO  2025-09-25T01:23:40 +0ms service=bus type=message.part.updated subscribing
INFO  2025-09-25T01:23:40 +0ms service=format init
INFO  2025-09-25T01:23:40 +0ms service=bus type=file.edited subscribing
INFO  2025-09-25T01:23:40 +1ms service=session id=ses_68187f4abffeI0OjszpOZsXndQ version=0.11.3 projectID=af5076a5fa969b59bb429caca92e24545fbfc949 directory=/home/tons/IdeaProjects/dhis2/docker-deployment title=New session - 2025-09-25T01:23:40.500Z time={"created":1758763420500,"updated":1758763420500} created
INFO  2025-09-25T01:23:40 +0ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd, svelte, jdtls enabled LSP servers
INFO  2025-09-25T01:23:40 +1ms service=bus type=session.updated publishing
INFO  2025-09-25T01:23:40 +4ms service=bus type=message.part.updated subscribing
INFO  2025-09-25T01:23:40 +0ms service=bus type=session.error subscribing
INFO  2025-09-25T01:23:40 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ prompt
INFO  2025-09-25T01:23:40 +2ms service=bus type=message.updated publishing
INFO  2025-09-25T01:23:40 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:23:40 +1ms service=bus type=session.updated publishing
INFO  2025-09-25T01:23:40 +2ms service=models.dev file={} refreshing
INFO  2025-09-25T01:23:40 +2ms service=provider init
INFO  2025-09-25T01:23:40 +1ms service=provider providerID=opencode found
INFO  2025-09-25T01:23:40 +0ms service=provider providerID=opencode modelID=grok-code getModel
INFO  2025-09-25T01:23:40 +0ms service=provider status=started providerID=opencode getSDK
INFO  2025-09-25T01:23:40 +0ms service=bun pkg=@ai-sdk/openai-compatible version=latest installing package using Bun's default registry resolution
INFO  2025-09-25T01:23:40 +1ms service=bun cmd=["/home/tons/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","@ai-sdk/openai-compatible@latest"] cwd=/home/tons/.cache/opencode running

Currently hanging there. And no, no special environment of any kind. Just my regular Lenovo P1 with Fedora. I also just want a speed test. I got about 350 Mbps up and down

@tonsV2 commented on GitHub (Sep 24, 2025): ``` tons@p1 ~/I/d/docker-deployment (docs/monitoring-updates) [SIGINT]> opencode run hello --print-logs INFO 2025-09-25T01:23:40 +91ms service=default version=0.11.3 args=["run","hello","--print-logs"] opencode INFO 2025-09-25T01:23:40 +1ms service=project directory=/home/tons/IdeaProjects/dhis2/docker-deployment fromDirectory INFO 2025-09-25T01:23:40 +14ms service=config path=/home/tons/.config/opencode/config.json loading INFO 2025-09-25T01:23:40 +1ms service=config path=/home/tons/.config/opencode/opencode.json loading INFO 2025-09-25T01:23:40 +0ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading INFO 2025-09-25T01:23:40 +1ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin INFO 2025-09-25T01:23:40 +2ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin INFO 2025-09-25T01:23:40 +13ms service=bus type=* subscribing INFO 2025-09-25T01:23:40 +0ms service=bus type=session.updated subscribing INFO 2025-09-25T01:23:40 +0ms service=bus type=message.updated subscribing INFO 2025-09-25T01:23:40 +0ms service=bus type=message.part.updated subscribing INFO 2025-09-25T01:23:40 +0ms service=format init INFO 2025-09-25T01:23:40 +0ms service=bus type=file.edited subscribing INFO 2025-09-25T01:23:40 +1ms service=session id=ses_68187f4abffeI0OjszpOZsXndQ version=0.11.3 projectID=af5076a5fa969b59bb429caca92e24545fbfc949 directory=/home/tons/IdeaProjects/dhis2/docker-deployment title=New session - 2025-09-25T01:23:40.500Z time={"created":1758763420500,"updated":1758763420500} created INFO 2025-09-25T01:23:40 +0ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd, svelte, jdtls enabled LSP servers INFO 2025-09-25T01:23:40 +1ms service=bus type=session.updated publishing INFO 2025-09-25T01:23:40 +4ms service=bus type=message.part.updated subscribing INFO 2025-09-25T01:23:40 +0ms service=bus type=session.error subscribing INFO 2025-09-25T01:23:40 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ prompt INFO 2025-09-25T01:23:40 +2ms service=bus type=message.updated publishing INFO 2025-09-25T01:23:40 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:23:40 +1ms service=bus type=session.updated publishing INFO 2025-09-25T01:23:40 +2ms service=models.dev file={} refreshing INFO 2025-09-25T01:23:40 +2ms service=provider init INFO 2025-09-25T01:23:40 +1ms service=provider providerID=opencode found INFO 2025-09-25T01:23:40 +0ms service=provider providerID=opencode modelID=grok-code getModel INFO 2025-09-25T01:23:40 +0ms service=provider status=started providerID=opencode getSDK INFO 2025-09-25T01:23:40 +0ms service=bun pkg=@ai-sdk/openai-compatible version=latest installing package using Bun's default registry resolution INFO 2025-09-25T01:23:40 +1ms service=bun cmd=["/home/tons/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","@ai-sdk/openai-compatible@latest"] cwd=/home/tons/.cache/opencode running ``` Currently hanging there. And no, no special environment of any kind. Just my regular Lenovo P1 with Fedora. I also just want a speed test. I got about 350 Mbps up and down
Author
Owner

@rekram1-node commented on GitHub (Sep 24, 2025):

weird that installs are taking forever ig you just need to wait it out so it can properly install that provider

ideally we would show something in ui here

@rekram1-node commented on GitHub (Sep 24, 2025): weird that installs are taking forever ig you just need to wait it out so it can properly install that provider ideally we would show something in ui here
Author
Owner

@tonsV2 commented on GitHub (Sep 24, 2025):

tons@p1 ~/I/d/docker-deployment (docs/monitoring-updates) [SIGINT]> opencode run hello --print-logs
INFO  2025-09-25T01:23:40 +91ms service=default version=0.11.3 args=["run","hello","--print-logs"] opencode
INFO  2025-09-25T01:23:40 +1ms service=project directory=/home/tons/IdeaProjects/dhis2/docker-deployment fromDirectory
INFO  2025-09-25T01:23:40 +14ms service=config path=/home/tons/.config/opencode/config.json loading
INFO  2025-09-25T01:23:40 +1ms service=config path=/home/tons/.config/opencode/opencode.json loading
INFO  2025-09-25T01:23:40 +0ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading
INFO  2025-09-25T01:23:40 +1ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin
INFO  2025-09-25T01:23:40 +2ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
INFO  2025-09-25T01:23:40 +13ms service=bus type=* subscribing
INFO  2025-09-25T01:23:40 +0ms service=bus type=session.updated subscribing
INFO  2025-09-25T01:23:40 +0ms service=bus type=message.updated subscribing
INFO  2025-09-25T01:23:40 +0ms service=bus type=message.part.updated subscribing
INFO  2025-09-25T01:23:40 +0ms service=format init
INFO  2025-09-25T01:23:40 +0ms service=bus type=file.edited subscribing
INFO  2025-09-25T01:23:40 +1ms service=session id=ses_68187f4abffeI0OjszpOZsXndQ version=0.11.3 projectID=af5076a5fa969b59bb429caca92e24545fbfc949 directory=/home/tons/IdeaProjects/dhis2/docker-deployment title=New session - 2025-09-25T01:23:40.500Z time={"created":1758763420500,"updated":1758763420500} created
INFO  2025-09-25T01:23:40 +0ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd, svelte, jdtls enabled LSP servers
INFO  2025-09-25T01:23:40 +1ms service=bus type=session.updated publishing
INFO  2025-09-25T01:23:40 +4ms service=bus type=message.part.updated subscribing
INFO  2025-09-25T01:23:40 +0ms service=bus type=session.error subscribing
INFO  2025-09-25T01:23:40 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ prompt
INFO  2025-09-25T01:23:40 +2ms service=bus type=message.updated publishing
INFO  2025-09-25T01:23:40 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:23:40 +1ms service=bus type=session.updated publishing
INFO  2025-09-25T01:23:40 +2ms service=models.dev file={} refreshing
INFO  2025-09-25T01:23:40 +2ms service=provider init
INFO  2025-09-25T01:23:40 +1ms service=provider providerID=opencode found
INFO  2025-09-25T01:23:40 +0ms service=provider providerID=opencode modelID=grok-code getModel
INFO  2025-09-25T01:23:40 +0ms service=provider status=started providerID=opencode getSDK
INFO  2025-09-25T01:23:40 +0ms service=bun pkg=@ai-sdk/openai-compatible version=latest installing package using Bun's default registry resolution
INFO  2025-09-25T01:23:40 +1ms service=bun cmd=["/home/tons/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","@ai-sdk/openai-compatible@latest"] cwd=/home/tons/.cache/opencode running
INFO  2025-09-25T01:46:09 +1349250ms service=bun code=0 stdout=bun add v1.2.21 (7c45ed97)

+ opencode-anthropic-auth@0.0.2
+ opencode-copilot-auth@0.0.3

installed @ai-sdk/openai-compatible@1.0.18

21 packages installed [1349.24s]
 stderr=Resolving dependencies
Resolved, downloaded and extracted [8]
Saved lockfile
 done
INFO  2025-09-25T01:46:09 +102ms service=provider status=completed duration=1349353 providerID=opencode getSDK
INFO  2025-09-25T01:46:09 +1ms service=provider providerID=opencode modelID=grok-code found
INFO  2025-09-25T01:46:09 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ sessionID=ses_68187f4abffeI0OjszpOZsXndQ locking
INFO  2025-09-25T01:46:09 +39ms service=bus type=message.updated publishing
INFO  2025-09-25T01:46:09 +7ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ process
INFO  2025-09-25T01:46:09 +4ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=start part
INFO  2025-09-25T01:46:11 +1199ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=start-step part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +12ms service=snapshot initialized
INFO  2025-09-25T01:46:11 +25ms service=snapshot hash=4346b1514ae6a4ed6afcceed5f9ca2a3203fe9b6
 cwd=/home/tons/IdeaProjects/dhis2/docker-deployment git=/home/tons/.local/share/opencode/snapshot/af5076a5fa969b59bb429caca92e24545fbfc949 tracking
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-start part
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +1ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +1ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +25ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +684ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:11 +119ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:12 +167ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part
INFO  2025-09-25T01:46:12 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:12 +35ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=text-start part
INFO  2025-09-25T01:46:12 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=text-delta part
INFO  2025-09-25T01:46:12 +0ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:12 +43ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-end part
INFO  2025-09-25T01:46:12 +1ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:12 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=text-end part
INFO  2025-09-25T01:46:12 +1ms service=bus type=message.part.updated publishing

Hello

INFO  2025-09-25T01:46:12 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=finish-step part
INFO  2025-09-25T01:46:12 +1ms service=bus type=message.part.updated publishing
INFO  2025-09-25T01:46:12 +1ms service=bus type=message.updated publishing
INFO  2025-09-25T01:46:12 +4ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=finish part
INFO  2025-09-25T01:46:12 +0ms service=bus type=message.updated publishing
INFO  2025-09-25T01:46:12 +0ms service=bus type=message.updated publishing
INFO  2025-09-25T01:46:12 +1ms service=bus type=message.updated publishing
INFO  2025-09-25T01:46:12 +0ms service=session.compaction pruning
INFO  2025-09-25T01:46:12 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ sessionID=ses_68187f4abffeI0OjszpOZsXndQ unlocking
INFO  2025-09-25T01:46:12 +1ms service=bus type=session.idle publishing
INFO  2025-09-25T01:46:12 +14ms service=session.compaction pruned=0 total=0 found
INFO  2025-09-25T01:46:21 +8933ms service=bus type=session.updated publishing

It finally finished but that's all I got

@tonsV2 commented on GitHub (Sep 24, 2025): ``` tons@p1 ~/I/d/docker-deployment (docs/monitoring-updates) [SIGINT]> opencode run hello --print-logs INFO 2025-09-25T01:23:40 +91ms service=default version=0.11.3 args=["run","hello","--print-logs"] opencode INFO 2025-09-25T01:23:40 +1ms service=project directory=/home/tons/IdeaProjects/dhis2/docker-deployment fromDirectory INFO 2025-09-25T01:23:40 +14ms service=config path=/home/tons/.config/opencode/config.json loading INFO 2025-09-25T01:23:40 +1ms service=config path=/home/tons/.config/opencode/opencode.json loading INFO 2025-09-25T01:23:40 +0ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading INFO 2025-09-25T01:23:40 +1ms service=plugin path=opencode-copilot-auth@0.0.3 loading plugin INFO 2025-09-25T01:23:40 +2ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin INFO 2025-09-25T01:23:40 +13ms service=bus type=* subscribing INFO 2025-09-25T01:23:40 +0ms service=bus type=session.updated subscribing INFO 2025-09-25T01:23:40 +0ms service=bus type=message.updated subscribing INFO 2025-09-25T01:23:40 +0ms service=bus type=message.part.updated subscribing INFO 2025-09-25T01:23:40 +0ms service=format init INFO 2025-09-25T01:23:40 +0ms service=bus type=file.edited subscribing INFO 2025-09-25T01:23:40 +1ms service=session id=ses_68187f4abffeI0OjszpOZsXndQ version=0.11.3 projectID=af5076a5fa969b59bb429caca92e24545fbfc949 directory=/home/tons/IdeaProjects/dhis2/docker-deployment title=New session - 2025-09-25T01:23:40.500Z time={"created":1758763420500,"updated":1758763420500} created INFO 2025-09-25T01:23:40 +0ms service=lsp serverIds=typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, rust, clangd, svelte, jdtls enabled LSP servers INFO 2025-09-25T01:23:40 +1ms service=bus type=session.updated publishing INFO 2025-09-25T01:23:40 +4ms service=bus type=message.part.updated subscribing INFO 2025-09-25T01:23:40 +0ms service=bus type=session.error subscribing INFO 2025-09-25T01:23:40 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ prompt INFO 2025-09-25T01:23:40 +2ms service=bus type=message.updated publishing INFO 2025-09-25T01:23:40 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:23:40 +1ms service=bus type=session.updated publishing INFO 2025-09-25T01:23:40 +2ms service=models.dev file={} refreshing INFO 2025-09-25T01:23:40 +2ms service=provider init INFO 2025-09-25T01:23:40 +1ms service=provider providerID=opencode found INFO 2025-09-25T01:23:40 +0ms service=provider providerID=opencode modelID=grok-code getModel INFO 2025-09-25T01:23:40 +0ms service=provider status=started providerID=opencode getSDK INFO 2025-09-25T01:23:40 +0ms service=bun pkg=@ai-sdk/openai-compatible version=latest installing package using Bun's default registry resolution INFO 2025-09-25T01:23:40 +1ms service=bun cmd=["/home/tons/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","@ai-sdk/openai-compatible@latest"] cwd=/home/tons/.cache/opencode running INFO 2025-09-25T01:46:09 +1349250ms service=bun code=0 stdout=bun add v1.2.21 (7c45ed97) + opencode-anthropic-auth@0.0.2 + opencode-copilot-auth@0.0.3 installed @ai-sdk/openai-compatible@1.0.18 21 packages installed [1349.24s] stderr=Resolving dependencies Resolved, downloaded and extracted [8] Saved lockfile done INFO 2025-09-25T01:46:09 +102ms service=provider status=completed duration=1349353 providerID=opencode getSDK INFO 2025-09-25T01:46:09 +1ms service=provider providerID=opencode modelID=grok-code found INFO 2025-09-25T01:46:09 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ sessionID=ses_68187f4abffeI0OjszpOZsXndQ locking INFO 2025-09-25T01:46:09 +39ms service=bus type=message.updated publishing INFO 2025-09-25T01:46:09 +7ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ process INFO 2025-09-25T01:46:09 +4ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=start part INFO 2025-09-25T01:46:11 +1199ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=start-step part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +12ms service=snapshot initialized INFO 2025-09-25T01:46:11 +25ms service=snapshot hash=4346b1514ae6a4ed6afcceed5f9ca2a3203fe9b6 cwd=/home/tons/IdeaProjects/dhis2/docker-deployment git=/home/tons/.local/share/opencode/snapshot/af5076a5fa969b59bb429caca92e24545fbfc949 tracking INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-start part INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +1ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +1ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +1ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +25ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +684ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:11 +119ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:11 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:12 +167ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-delta part INFO 2025-09-25T01:46:12 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:12 +35ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=text-start part INFO 2025-09-25T01:46:12 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=text-delta part INFO 2025-09-25T01:46:12 +0ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:12 +43ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=reasoning-end part INFO 2025-09-25T01:46:12 +1ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:12 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=text-end part INFO 2025-09-25T01:46:12 +1ms service=bus type=message.part.updated publishing Hello INFO 2025-09-25T01:46:12 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=finish-step part INFO 2025-09-25T01:46:12 +1ms service=bus type=message.part.updated publishing INFO 2025-09-25T01:46:12 +1ms service=bus type=message.updated publishing INFO 2025-09-25T01:46:12 +4ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ type=finish part INFO 2025-09-25T01:46:12 +0ms service=bus type=message.updated publishing INFO 2025-09-25T01:46:12 +0ms service=bus type=message.updated publishing INFO 2025-09-25T01:46:12 +1ms service=bus type=message.updated publishing INFO 2025-09-25T01:46:12 +0ms service=session.compaction pruning INFO 2025-09-25T01:46:12 +0ms service=session.prompt session=ses_68187f4abffeI0OjszpOZsXndQ sessionID=ses_68187f4abffeI0OjszpOZsXndQ unlocking INFO 2025-09-25T01:46:12 +1ms service=bus type=session.idle publishing INFO 2025-09-25T01:46:12 +14ms service=session.compaction pruned=0 total=0 found INFO 2025-09-25T01:46:21 +8933ms service=bus type=session.updated publishing ``` It finally finished but that's all I got
Author
Owner

@rekram1-node commented on GitHub (Sep 24, 2025):

does it work now? haha

@rekram1-node commented on GitHub (Sep 24, 2025): does it work now? haha
Author
Owner

@tonsV2 commented on GitHub (Sep 25, 2025):

Yes 🙂 Do you know what happened?

@tonsV2 commented on GitHub (Sep 25, 2025): Yes 🙂 Do you know what happened?
Author
Owner

@rekram1-node commented on GitHub (Sep 25, 2025):

I think it was just latency for installing the necessary package(s) to run opencode for you

Realistically on our end the only thing i see as a take away is having an installing indicator or something but it is pretty weird that it took so much time

@rekram1-node commented on GitHub (Sep 25, 2025): I think it was just latency for installing the necessary package(s) to run opencode for you Realistically on our end the only thing i see as a take away is having an installing indicator or something but it is pretty weird that it took so much time
Author
Owner

@tonsV2 commented on GitHub (Sep 25, 2025):

Thanks for the support here 🙏

@tonsV2 commented on GitHub (Sep 25, 2025): Thanks for the support here 🙏
Author
Owner

@yusu-netapp commented on GitHub (Jan 15, 2026):

I'm into a situation that if I exited the opencode and the next time I open it it will hang, and the VSZ is so high

userA     2772938  0.0  0.0 233776  6528 pts/0    Ss   15:57   0:00 bash
userA     2773444  2.0  1.0 74512036 328512 pts/0 Sl+  15:57   0:06 opencode

The log from .local/share/opencode/log shows almost nothing:

INFO  2026-01-15T21:02:16 +30004ms service=server method=GET path=/event request
INFO  2026-01-15T21:02:16 +0ms service=server status=started method=GET path=/event request
INFO  2026-01-15T21:02:46 +30032ms service=server method=GET path=/event request
INFO  2026-01-15T21:02:46 +0ms service=server status=started method=GET path=/event request
INFO  2026-01-15T21:03:16 +30004ms service=server method=GET path=/event request
INFO  2026-01-15T21:03:16 +0ms service=server status=started method=GET path=/event request
INFO  2026-01-15T21:03:46 +30009ms service=server method=GET path=/event request
INFO  2026-01-15T21:03:46 +0ms service=server status=started method=GET path=/event request
INFO  2026-01-15T21:04:16 +30007ms service=server method=GET path=/event request
INFO  2026-01-15T21:04:16 +0ms service=server status=started method=GET path=/event request
INFO  2026-01-15T21:04:46 +30005ms service=server method=GET path=/event request
INFO  2026-01-15T21:04:46 +0ms service=server status=started method=GET path=/event request
INFO  2026-01-15T21:05:16 +30005ms service=server method=GET path=/event request
INFO  2026-01-15T21:05:16 +0ms service=server status=started method=GET path=/event request

This is a linux VM. Any suggestions?

@yusu-netapp commented on GitHub (Jan 15, 2026): I'm into a situation that if I exited the opencode and the next time I open it it will hang, and the VSZ is so high ``` userA 2772938 0.0 0.0 233776 6528 pts/0 Ss 15:57 0:00 bash userA 2773444 2.0 1.0 74512036 328512 pts/0 Sl+ 15:57 0:06 opencode ``` The log from `.local/share/opencode/log` shows almost nothing: ``` INFO 2026-01-15T21:02:16 +30004ms service=server method=GET path=/event request INFO 2026-01-15T21:02:16 +0ms service=server status=started method=GET path=/event request INFO 2026-01-15T21:02:46 +30032ms service=server method=GET path=/event request INFO 2026-01-15T21:02:46 +0ms service=server status=started method=GET path=/event request INFO 2026-01-15T21:03:16 +30004ms service=server method=GET path=/event request INFO 2026-01-15T21:03:16 +0ms service=server status=started method=GET path=/event request INFO 2026-01-15T21:03:46 +30009ms service=server method=GET path=/event request INFO 2026-01-15T21:03:46 +0ms service=server status=started method=GET path=/event request INFO 2026-01-15T21:04:16 +30007ms service=server method=GET path=/event request INFO 2026-01-15T21:04:16 +0ms service=server status=started method=GET path=/event request INFO 2026-01-15T21:04:46 +30005ms service=server method=GET path=/event request INFO 2026-01-15T21:04:46 +0ms service=server status=started method=GET path=/event request INFO 2026-01-15T21:05:16 +30005ms service=server method=GET path=/event request INFO 2026-01-15T21:05:16 +0ms service=server status=started method=GET path=/event request ``` This is a linux VM. Any suggestions?
Author
Owner

@rekram1-node commented on GitHub (Jan 15, 2026):

@yusu-netapp see above conversation, following steps there can help debug issue

@rekram1-node commented on GitHub (Jan 15, 2026): @yusu-netapp see above conversation, following steps there can help debug issue
Author
Owner

@yusu-netapp commented on GitHub (Jan 15, 2026):

Sorry, I missed that one line of run hello part. The last few lines of the output is like this:

[31.00ms] done
 stderr=Saved lockfile
 done
INFO  2026-01-16T02:28:59 +0ms service=bun cmd=["/u/userA/.opencode/bin/opencode","install"] cwd=/u/userA/.config/opencode running
ERROR 2026-01-16T02:29:00 +168ms service=default name=ResolveMessage message=Cannot find module './functions/valid' from '/u/userA/.cache/opencode/node_modules/semver/index.js' code=MODULE_NOT_FOUND specifier=./functions/valid referrer=/u/userA/.cache/opencode/node_modules/semver/index.js importKind=require-call fatal
Error: Unexpected error, check log file at  for more details

ResolveMessage: Cannot find module './functions/valid' from '/u/yusu/.cache/opencode/node_modules/semver/index.js'

The weird part is that, it works once, then start to fail.
What should I do to restore this module?

@yusu-netapp commented on GitHub (Jan 15, 2026): Sorry, I missed that one line of run hello part. The last few lines of the output is like this: ``` [31.00ms] done stderr=Saved lockfile done INFO 2026-01-16T02:28:59 +0ms service=bun cmd=["/u/userA/.opencode/bin/opencode","install"] cwd=/u/userA/.config/opencode running ERROR 2026-01-16T02:29:00 +168ms service=default name=ResolveMessage message=Cannot find module './functions/valid' from '/u/userA/.cache/opencode/node_modules/semver/index.js' code=MODULE_NOT_FOUND specifier=./functions/valid referrer=/u/userA/.cache/opencode/node_modules/semver/index.js importKind=require-call fatal Error: Unexpected error, check log file at for more details ResolveMessage: Cannot find module './functions/valid' from '/u/yusu/.cache/opencode/node_modules/semver/index.js' ``` The weird part is that, it works once, then start to fail. What should I do to restore this module?
Author
Owner

@roszakg commented on GitHub (Jan 31, 2026):

I see the same problem on Rocky Linux.
It works once after fresh install and then it stops.

Interestingly enough the workaround I'm using is to go the ~/.cache/opencode a do:

  • rm -rf node_modules
  • npm install

After that opencode starts working correctly again.
Then I guess at some point (usually few days later) it gets an update and stops working again (with the same complaint - "Cannot find module './functions/valid'").

That is when I repeat the removal of node_modules followed by npm install and continue using it without any other issues.

@roszakg commented on GitHub (Jan 31, 2026): I see the same problem on Rocky Linux. It works once after fresh install and then it stops. Interestingly enough the workaround I'm using is to go the ~/.cache/opencode a do: - rm -rf node_modules - npm install After that opencode starts working correctly again. Then I guess at some point (usually few days later) it gets an update and stops working again (with the same complaint - "Cannot find module './functions/valid'"). That is when I repeat the removal of node_modules followed by npm install and continue using it without any other issues.
Author
Owner

@yusu-netapp commented on GitHub (Feb 2, 2026):

I did use Opencode to analyze the opencode repo on then latest v1.1.39, and the conclusion is this:

  • The bun runtime is bundled within opencode, and it is 1.3.5. My machine was running 1.3.6. There could be format corruption somewhere happening.
  • The semver version need to be downloaded with a --exact to make sure the valid is there. I don't get the point since I was manually downloading the semver 7.7.3 tar ball to fix the js file, but anyway that also worked.
  • Nuke the cache and redownload usually would work. I tried, three times a charm. There is a short script provided. Feel free to use it but nothing safe guaranteed, and remember to match the lib versions in your env.
rm -rf /<your/home/dir>/.cache/opencode/*
rm -rf /<your/home/dir>/.bun/install/cache/*
cd /<your/home/dir>/.cache/opencode
bun add "@gitlab/opencode-gitlab-auth@1.3.2" "oh-my-opencode@3.1.7" "opencode-anthropic-auth@0.0.13" "semver@7.6.3" --exact

I'm not a fan of js. Is there anything like gradle in Java we can use for the dependency management?

@yusu-netapp commented on GitHub (Feb 2, 2026): I did use Opencode to analyze the opencode repo on then latest v1.1.39, and the conclusion is this: - The bun runtime is bundled within opencode, and it is 1.3.5. My machine was running 1.3.6. There could be format corruption somewhere happening. - The semver version need to be downloaded with a --exact to make sure the valid is there. I don't get the point since I was manually downloading the semver 7.7.3 tar ball to fix the js file, but anyway that also worked. - Nuke the cache and redownload usually would work. I tried, three times a charm. There is a short script provided. Feel free to use it but nothing safe guaranteed, and remember to match the lib versions in your env. ``` rm -rf /<your/home/dir>/.cache/opencode/* rm -rf /<your/home/dir>/.bun/install/cache/* cd /<your/home/dir>/.cache/opencode bun add "@gitlab/opencode-gitlab-auth@1.3.2" "oh-my-opencode@3.1.7" "opencode-anthropic-auth@0.0.13" "semver@7.6.3" --exact ``` I'm not a fan of js. Is there anything like gradle in Java we can use for the dependency management?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1818