Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.22"
".": "0.1.0-alpha.23"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-d34620b462127c45497743c97fd3569f9e629d9fbd97c0707087eeddbd4b3de1.yml
openapi_spec_hash: 23864c98d555350fe56f1d0e56f205c5
config_hash: a8441af7cb2db855d79fd372ee3b9fb1
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-a1da357fcefd3105736841fbf44018022fade78e67ffc81e178cf9196da723ee.yml
openapi_spec_hash: 9bd27afcc5b8f43d8e4223f7c984035f
config_hash: 62b73a3397120578a992bffd1e69386a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.23 (2025-07-18)

Full Changelog: [v0.1.0-alpha.22...v0.1.0-alpha.23](https://github.com/sst/opencode-sdk-python/compare/v0.1.0-alpha.22...v0.1.0-alpha.23)

### Features

* **api:** api update ([d8c9fc9](https://github.com/sst/opencode-sdk-python/commit/d8c9fc984c48b7dadce8840c5c1e010a508d58b4))

## 0.1.0-alpha.22 (2025-07-17)

Full Changelog: [v0.1.0-alpha.21...v0.1.0-alpha.22](https://github.com/sst/opencode-sdk-python/compare/v0.1.0-alpha.21...v0.1.0-alpha.22)
Expand Down
9 changes: 1 addition & 8 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,7 @@ Methods:
Types:

```python
from opencode_ai.types import (
Config,
KeybindsConfig,
LayoutConfig,
McpLocalConfig,
McpRemoteConfig,
ModeConfig,
)
from opencode_ai.types import Config, KeybindsConfig, McpLocalConfig, McpRemoteConfig, ModeConfig
```

Methods:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "opencode-ai"
version = "0.1.0-alpha.22"
version = "0.1.0-alpha.23"
description = "The official Python library for the opencode API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/opencode_ai/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "opencode_ai"
__version__ = "0.1.0-alpha.22" # x-release-please-version
__version__ = "0.1.0-alpha.23" # x-release-please-version
1 change: 0 additions & 1 deletion src/opencode_ai/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
from .tool_part import ToolPart as ToolPart
from .mode_config import ModeConfig as ModeConfig
from .user_message import UserMessage as UserMessage
from .layout_config import LayoutConfig as LayoutConfig
from .snapshot_part import SnapshotPart as SnapshotPart
from .app_log_params import AppLogParams as AppLogParams
from .keybinds_config import KeybindsConfig as KeybindsConfig
Expand Down
5 changes: 2 additions & 3 deletions src/opencode_ai/types/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from .._models import BaseModel
from .log_level import LogLevel
from .mode_config import ModeConfig
from .layout_config import LayoutConfig
from .keybinds_config import KeybindsConfig
from .mcp_local_config import McpLocalConfig
from .mcp_remote_config import McpRemoteConfig
Expand Down Expand Up @@ -144,8 +143,8 @@ class Config(BaseModel):
keybinds: Optional[KeybindsConfig] = None
"""Custom keybind configurations"""

layout: Optional[LayoutConfig] = None
"""Layout to use for the TUI"""
layout: Optional[Literal["auto", "stretch"]] = None
"""@deprecated Always uses stretch layout."""

log_level: Optional[LogLevel] = None
"""Minimum log level to write to log files"""
Expand Down
7 changes: 0 additions & 7 deletions src/opencode_ai/types/layout_config.py

This file was deleted.