From 7e50f8da41e6c48e535aa3e20d09451d004d6927 Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Tue, 9 Jun 2026 03:16:14 +0200 Subject: [PATCH] docs(ai): note opencode settings fixes --- docs/opencode_server_guide.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/opencode_server_guide.md b/docs/opencode_server_guide.md index 62038ea..93c618c 100644 --- a/docs/opencode_server_guide.md +++ b/docs/opencode_server_guide.md @@ -40,6 +40,7 @@ OPENCODE_SERVER_PASSWORD=secret opencode serve \ Default username is `opencode`. Override with `OPENCODE_SERVER_USERNAME=myuser`. Check it's alive: + ```bash curl http://localhost:4096/global/health ``` @@ -53,6 +54,7 @@ opencode attach http://127.0.0.1:4096 ``` To target a specific session from CC, grab the session ID shown in the TUI and run: + ``` settings set opencc.session_id ses_abc123 ``` @@ -61,18 +63,24 @@ settings set opencc.session_id ses_abc123 Run in the ComputerCraft console or CraftOS-PC terminal: +// TOFIX: "settings" does not exist, it was hallucinated by LLM at some point -> but set opencc.userver_url work + ```lua settings set opencc.server_url http://:4096 settings save ``` +// TOFIX: same here With auth: + ```lua settings set opencc.password secret settings save ``` +// TOFIX: same here Optional — override the Basic Auth username (default `opencode`): + ```lua settings set opencc.username myuser settings save