fix(plugin): retain legacy kv api shape · argszero/opencode@9db5073 · GitHub
Skip to content

Commit 9db5073

Browse files
committed
fix(plugin): retain legacy kv api shape
1 parent 775fce0 commit 9db5073

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

packages/plugin/src/tui.ts

Lines changed: 9 additions & 0 deletions

packages/tui/src/attention.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type {
55
TuiAttentionNotifyResult,
66
TuiAttentionNotifySkipReason,
77
TuiAttentionWhen,
8+
TuiKV,
89
TuiAttentionSoundName,
910
TuiAttentionSoundPack,
1011
TuiAttentionSoundPackInfo,
@@ -113,6 +114,8 @@ export function createTuiAttention(input: {
113114
renderer: AttentionRenderer
114115
config: Pick<Config.Resolved, "attention">
115116
update?: Config.Interface["update"]
117+
/** @deprecated Ignored. Sound-pack persistence uses CLI config. */
118+
kv?: TuiKV
116119
audio?: Pick<typeof TuiAudio, "loadSoundFile" | "play">
117120
}): TuiAttentionHost {
118121
let focus: FocusState = "unknown"

packages/tui/src/plugin/adapters.tsx

Lines changed: 8 additions & 0 deletions

0 commit comments

Comments
 (0)