OpenTUI: /init command is missing in v1.0.x #2405

Closed
opened 2026-02-16 17:35:29 -05:00 by yindo · 7 comments
Owner

Originally created by @dchasman on GitHub (Oct 31, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Updated today to 1.0.0, then 1.0.1, then 1.0.2 - saw /session return to the set of slash commands in 1.0.1, but still no support for the critical /init functionality?

OpenCode version

1.0.2

Steps to reproduce

Begin to type /in in the input box, and observe that no suggestion to complete the /init command appears.

Screenshot and/or share link

https://opencode.ai/s/fMI0RwyD

Image

Operating System

MacOS Tahoe, Windows 11, Windows 11 via WSL Ubuntu

Terminal

Alacritty, Windows Terminal

Workaround

Static prompt text behind /Init command is here https://github.com/sst/opencode/blob/c72f8b17c67f21e62cdb2502ad3b55c2c01db4bf/packages/opencode/src/session/prompt/initialize.txt

Please analyze this codebase and create an AGENTS.md file containing:
1. Build/lint/test commands - especially for running a single test
2. Code style guidelines including imports, formatting, types, naming conventions, error handling, etc.

The file you create will be given to agentic coding agents (such as yourself) that operate in this repository. Make it about 20 lines long.
If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them.

If there's already an AGENTS.md, improve it if it's located in ${path}
Originally created by @dchasman on GitHub (Oct 31, 2025). Originally assigned to: @thdxr on GitHub. ### Description Updated today to 1.0.0, then 1.0.1, then 1.0.2 - saw **_/session_** return to the set of slash commands in 1.0.1, but still no support for the critical **_/init_** functionality? ### OpenCode version 1.0.2 ### Steps to reproduce Begin to type **/in** in the input box, and observe that no suggestion to complete the **/init** command appears. ### Screenshot and/or share link https://opencode.ai/s/fMI0RwyD <img width="1379" height="173" alt="Image" src="https://github.com/user-attachments/assets/acc8cb16-8003-4273-adbb-dfa238b1f799" /> ### Operating System MacOS Tahoe, Windows 11, Windows 11 via WSL Ubuntu ### Terminal Alacritty, Windows Terminal ## Workaround Static prompt text behind /Init command is here https://github.com/sst/opencode/blob/c72f8b17c67f21e62cdb2502ad3b55c2c01db4bf/packages/opencode/src/session/prompt/initialize.txt ``` Please analyze this codebase and create an AGENTS.md file containing: 1. Build/lint/test commands - especially for running a single test 2. Code style guidelines including imports, formatting, types, naming conventions, error handling, etc. The file you create will be given to agentic coding agents (such as yourself) that operate in this repository. Make it about 20 lines long. If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them. If there's already an AGENTS.md, improve it if it's located in ${path} ```
yindo added the opentuibug labels 2026-02-16 17:35:29 -05:00
yindo closed this issue 2026-02-16 17:35:29 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 31, 2025):

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

  • #3632: /theme command now missing - Similar issue about missing slash commands in 1.0.2
  • #3630: model_cycle_recent action is now missing - Another 1.0.2 regression with missing functionality
  • #1398: feature request: expose '/init' , '/compact' to Opencode CLI - Previously requested /init CLI exposure
  • #1285: /init command does nothing - Historical issue with /init not working (closed)
  • #3147: Can't create AGENTS.md with /init - Similar /init functionality issue (closed)

This appears to be part of a broader pattern of functionality regression in the 1.0.x releases. Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 31, 2025): This issue might be a duplicate of existing issues. Please check: - #3632: /theme command now missing - Similar issue about missing slash commands in 1.0.2 - #3630: model_cycle_recent action is now missing - Another 1.0.2 regression with missing functionality - #1398: feature request: expose '/init' , '/compact' to Opencode CLI - Previously requested /init CLI exposure - #1285: /init command does nothing - Historical issue with /init not working (closed) - #3147: Can't create AGENTS.md with /init - Similar /init functionality issue (closed) This appears to be part of a broader pattern of functionality regression in the 1.0.x releases. Feel free to ignore if none of these address your specific case.
Author
Owner

@anasmohammed361 commented on GitHub (Oct 31, 2025):

+1

@anasmohammed361 commented on GitHub (Oct 31, 2025): +1
Author
Owner

@felixti commented on GitHub (Oct 31, 2025):

+1

@felixti commented on GitHub (Oct 31, 2025): +1
Author
Owner

@svenroettjer commented on GitHub (Oct 31, 2025):

+1

@svenroettjer commented on GitHub (Oct 31, 2025): +1
Author
Owner

@dchasman commented on GitHub (Oct 31, 2025):

Posted a workaround to the initial issue description.

@dchasman commented on GitHub (Oct 31, 2025): Posted a workaround to the initial issue description.
Author
Owner

@rekram1-node commented on GitHub (Nov 1, 2025):

fixed in next release

@rekram1-node commented on GitHub (Nov 1, 2025): fixed in next release
Author
Owner

@rekram1-node commented on GitHub (Nov 1, 2025):

also thanks @dchasman for providing a work around, that's nice of u :)

@rekram1-node commented on GitHub (Nov 1, 2025): also thanks @dchasman for providing a work around, that's nice of u :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2405