@opencode-ai/plugin 0.0.0-next-15371 → 0.0.0-next-15375

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/tui.d.ts +53 -3
  2. package/package.json +4 -4
package/dist/tui.d.ts CHANGED
@@ -328,10 +328,60 @@ type TuiAttentionConfigView = {
328
328
  sound_pack: string;
329
329
  sounds: Partial<Record<TuiAttentionSoundName, string>>;
330
330
  };
331
- type TuiConfigView = Pick<PluginConfig, "$schema" | "theme" | "plugin"> & NonNullable<PluginConfig["tui"]> & {
332
- leader_timeout: number;
333
- attention: TuiAttentionConfigView;
331
+ type TuiConfigView = {
332
+ $schema?: string;
333
+ theme?: string | {
334
+ name?: string;
335
+ mode?: "system" | "dark" | "light";
336
+ };
337
+ plugin?: PluginConfig["plugin"];
338
+ plugins?: ReadonlyArray<string | {
339
+ package: string;
340
+ options?: Record<string, any>;
341
+ }>;
334
342
  plugin_enabled?: Record<string, boolean>;
343
+ leader?: {
344
+ timeout: number;
345
+ };
346
+ leader_timeout?: number;
347
+ scroll?: {
348
+ speed?: number;
349
+ acceleration?: boolean;
350
+ };
351
+ scroll_speed?: number;
352
+ scroll_acceleration?: {
353
+ enabled: boolean;
354
+ };
355
+ attention: TuiAttentionConfigView;
356
+ diffs?: {
357
+ wrap?: "word" | "none";
358
+ tree?: boolean;
359
+ single?: boolean;
360
+ view?: "auto" | "split" | "unified";
361
+ };
362
+ diff_style?: "auto" | "stacked";
363
+ terminal?: {
364
+ title?: boolean;
365
+ };
366
+ prompt?: {
367
+ editor?: boolean;
368
+ paste?: "compact" | "full";
369
+ } | {
370
+ max_height?: number;
371
+ max_width?: number | "auto";
372
+ };
373
+ session?: {
374
+ sidebar?: "auto" | "hide";
375
+ scrollbar?: boolean;
376
+ thinking?: "show" | "hide";
377
+ grouping?: "auto" | "none";
378
+ };
379
+ hints?: {
380
+ tips?: boolean;
381
+ onboarding?: boolean;
382
+ };
383
+ animations?: boolean;
384
+ mouse: boolean;
335
385
  keybinds: TuiBindingLookupView;
336
386
  };
337
387
  export type TuiApp = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/plugin",
4
- "version": "0.0.0-next-15371",
4
+ "version": "0.0.0-next-15375",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -48,9 +48,9 @@
48
48
  ],
49
49
  "dependencies": {
50
50
  "@ai-sdk/provider": "3.0.8",
51
- "@opencode-ai/client": "0.0.0-next-15371",
52
- "@opencode-ai/schema": "0.0.0-next-15371",
53
- "@opencode-ai/sdk": "0.0.0-next-15371",
51
+ "@opencode-ai/client": "0.0.0-next-15375",
52
+ "@opencode-ai/schema": "0.0.0-next-15375",
53
+ "@opencode-ai/sdk": "0.0.0-next-15375",
54
54
  "effect": "4.0.0-beta.83",
55
55
  "zod": "4.1.8"
56
56
  },