Skip to content

Commit 1c7312c

Browse files
feat(api): api update
1 parent 046bc67 commit 1c7312c

5 files changed

Lines changed: 5 additions & 12 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 22
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-d34620b462127c45497743c97fd3569f9e629d9fbd97c0707087eeddbd4b3de1.yml
3-
openapi_spec_hash: 23864c98d555350fe56f1d0e56f205c5
4-
config_hash: a8441af7cb2db855d79fd372ee3b9fb1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-a1da357fcefd3105736841fbf44018022fade78e67ffc81e178cf9196da723ee.yml
3+
openapi_spec_hash: 9bd27afcc5b8f43d8e4223f7c984035f
4+
config_hash: 62b73a3397120578a992bffd1e69386a

api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ Types:
7373

7474
- <code><a href="./src/resources/config.ts">Config</a></code>
7575
- <code><a href="./src/resources/config.ts">KeybindsConfig</a></code>
76-
- <code><a href="./src/resources/config.ts">LayoutConfig</a></code>
7776
- <code><a href="./src/resources/config.ts">McpLocalConfig</a></code>
7877
- <code><a href="./src/resources/config.ts">McpRemoteConfig</a></code>
7978
- <code><a href="./src/resources/config.ts">ModeConfig</a></code>

src/client.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import {
3333
Config,
3434
ConfigResource,
3535
KeybindsConfig,
36-
LayoutConfig,
3736
McpLocalConfig,
3837
McpRemoteConfig,
3938
ModeConfig,
@@ -806,7 +805,6 @@ export declare namespace Opencode {
806805
ConfigResource as ConfigResource,
807806
type Config as Config,
808807
type KeybindsConfig as KeybindsConfig,
809-
type LayoutConfig as LayoutConfig,
810808
type McpLocalConfig as McpLocalConfig,
811809
type McpRemoteConfig as McpRemoteConfig,
812810
type ModeConfig as ModeConfig,

src/resources/config.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ export interface Config {
5050
keybinds?: KeybindsConfig;
5151

5252
/**
53-
* Layout to use for the TUI
53+
* @deprecated Always uses stretch layout.
5454
*/
55-
layout?: LayoutConfig;
55+
layout?: 'auto' | 'stretch';
5656

5757
/**
5858
* Minimum log level to write to log files
@@ -375,8 +375,6 @@ export interface KeybindsConfig {
375375
tool_details: string;
376376
}
377377

378-
export type LayoutConfig = 'auto' | 'stretch';
379-
380378
export interface McpLocalConfig {
381379
/**
382380
* Command and arguments to run the MCP server
@@ -433,7 +431,6 @@ export declare namespace ConfigResource {
433431
export {
434432
type Config as Config,
435433
type KeybindsConfig as KeybindsConfig,
436-
type LayoutConfig as LayoutConfig,
437434
type McpLocalConfig as McpLocalConfig,
438435
type McpRemoteConfig as McpRemoteConfig,
439436
type ModeConfig as ModeConfig,

src/resources/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export {
1818
ConfigResource,
1919
type Config,
2020
type KeybindsConfig,
21-
type LayoutConfig,
2221
type McpLocalConfig,
2322
type McpRemoteConfig,
2423
type ModeConfig,

0 commit comments

Comments
 (0)