summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/js
diff options
context:
space:
mode:
authorAriane Emory <[email protected]>2025-11-26 00:34:58 -0500
committerGitHub <[email protected]>2025-11-25 23:34:58 -0600
commit57644a4be8bdf65eb0563724a16ae384720459c6 (patch)
tree41969e0aa54cb7478dae030df354ffe4f80f63ee /packages/sdk/js
parentda2099137a12a20bdaa5c37989613e69c38518bc (diff)
downloadopencode-57644a4be8bdf65eb0563724a16ae384720459c6.tar.gz
opencode-57644a4be8bdf65eb0563724a16ae384720459c6.zip
feat: add a diff_style option to allow disabling columnar diffs (resolve #4677) (#4756)
Co-authored-by: Dax Raad <[email protected]> Co-authored-by: GitHub Action <[email protected]> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> Co-authored-by: rekram1-node <[email protected]>
Diffstat (limited to 'packages/sdk/js')
-rw-r--r--packages/sdk/js/src/gen/types.gen.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts
index 7e211148f..4ec6b15df 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/packages/sdk/js/src/gen/types.gen.ts
@@ -1003,6 +1003,10 @@ export type Config = {
*/
enabled: boolean
}
+ /**
+ * Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column
+ */
+ diff_style?: "auto" | "stacked"
}
/**
* Command configuration, see https://opencode.ai/docs/commands