feat(api): api update

This commit is contained in:
stainless-app[bot] 2025-07-22 16:06:10 +00:00
parent 60df30faf5
commit 6e577d0bde
19 changed files with 171 additions and 521 deletions

4
api.md
View file

@ -140,10 +140,10 @@ Methods:
Types:
```python
from opencode_ai.types import TuiOpenHelpResponse, TuiPromptResponse
from opencode_ai.types import TuiAppendPromptResponse, TuiOpenHelpResponse
```
Methods:
- <code title="post /tui/append-prompt">client.tui.<a href="./src/opencode_ai/resources/tui.py">append_prompt</a>(\*\*<a href="src/opencode_ai/types/tui_append_prompt_params.py">params</a>) -> <a href="./src/opencode_ai/types/tui_append_prompt_response.py">TuiAppendPromptResponse</a></code>
- <code title="post /tui/open-help">client.tui.<a href="./src/opencode_ai/resources/tui.py">open_help</a>() -> <a href="./src/opencode_ai/types/tui_open_help_response.py">TuiOpenHelpResponse</a></code>
- <code title="post /tui/prompt">client.tui.<a href="./src/opencode_ai/resources/tui.py">prompt</a>(\*\*<a href="src/opencode_ai/types/tui_prompt_params.py">params</a>) -> <a href="./src/opencode_ai/types/tui_prompt_response.py">TuiPromptResponse</a></code>