mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 21:04:23 +01:00
chore(lint): replace ESLint with Oxlint and clear anti-slop findings
This commit is contained in:
1 parent
c6c13335e5
commit
b625acfc0c
1083 files changed
+67089
-80136
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import type { Context } from '@opencode/plugin/tui/context'
|
||||
|
||||
export type OcmTuiContext = {
|
||||
readonly ui: {
|
||||
readonly toast: Pick<Context['ui']['toast'], 'show'>
|
||||
readonly dialog: Pick<Context['ui']['dialog'], 'confirm' | 'select' | 'prompt'>
|
||||
readonly router: Pick<Context['ui']['router'], 'current' | 'navigate'>
|
||||
readonly tabs: Pick<Context['ui']['tabs'], 'enabled' | 'open' | 'focus'>
|
||||
readonly slot: Context['ui']['slot']
|
||||
}
|
||||
readonly data: {
|
||||
readonly session: Pick<Context['data']['session'], 'get'>
|
||||
readonly location: {
|
||||
readonly model: Pick<Context['data']['location']['model'], 'list' | 'sync'>
|
||||
readonly provider: Pick<Context['data']['location']['provider'], 'list' | 'sync'>
|
||||
}
|
||||
}
|
||||
readonly keymap: Pick<Context['keymap'], 'layer' | 'dispatch'>
|
||||
readonly client: {
|
||||
readonly session: Pick<Context['client']['session'], 'export'>
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user