Park remaining local WIP on main. TUI archived, CLI/kernel edits, glass. Sort later. Broken is fine.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -27,25 +27,25 @@
|
||||
"zod": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@opentui/core": ">=0.5.6",
|
||||
"@opentui/keymap": ">=0.5.6",
|
||||
"@opentui/solid": ">=0.5.6"
|
||||
"@neuron-tui/core": ">=0.5.6",
|
||||
"@neuron-tui/keymap": ">=0.5.6",
|
||||
"@neuron-tui/solid": ">=0.5.6"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@opentui/core": {
|
||||
"@neuron-tui/core": {
|
||||
"optional": true
|
||||
},
|
||||
"@opentui/keymap": {
|
||||
"@neuron-tui/keymap": {
|
||||
"optional": true
|
||||
},
|
||||
"@opentui/solid": {
|
||||
"@neuron-tui/solid": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@opentui/core": "catalog:",
|
||||
"@opentui/keymap": "catalog:",
|
||||
"@opentui/solid": "catalog:",
|
||||
"@neuron-tui/core": "workspace:*",
|
||||
"@neuron-tui/keymap": "workspace:*",
|
||||
"@neuron-tui/solid": "workspace:*",
|
||||
"@tsconfig/node22": "catalog:",
|
||||
"@types/node": "catalog:",
|
||||
"typescript": "catalog:",
|
||||
|
||||
@@ -16,22 +16,22 @@ import type {
|
||||
TextPart,
|
||||
Config as SdkConfig,
|
||||
} from "@opencode-ai/sdk/v2"
|
||||
import type { CliRenderer, KeyEvent, RGBA, Renderable, SlotMode } from "@opentui/core"
|
||||
import type { Binding, Keymap } from "@opentui/keymap"
|
||||
import type { CliRenderer, KeyEvent, RGBA, Renderable, SlotMode } from "@neuron-tui/core"
|
||||
import type { Binding, Keymap } from "@neuron-tui/keymap"
|
||||
import {
|
||||
createBindingLookup as createKeymapBindingLookup,
|
||||
type BindingConfig,
|
||||
type CreateBindingLookupOptions,
|
||||
type KeySequenceFormatPart,
|
||||
type SequenceBindingLike,
|
||||
} from "@opentui/keymap/extras"
|
||||
import type { JSX, SolidPlugin } from "@opentui/solid"
|
||||
} from "@neuron-tui/keymap/extras"
|
||||
import type { JSX, SolidPlugin } from "@neuron-tui/solid"
|
||||
import type { Config as PluginConfig, PluginOptions } from "./index.js"
|
||||
|
||||
export type { CliRenderer, KeyEvent, Renderable, SlotMode } from "@opentui/core"
|
||||
export { stringifyKeySequence, stringifyKeyStroke } from "@opentui/keymap"
|
||||
export type { Binding, KeyLike, KeySequencePart, KeyStringifyInput, StringifyOptions } from "@opentui/keymap"
|
||||
export { formatCommandBindings, formatKeySequence } from "@opentui/keymap/extras"
|
||||
export type { CliRenderer, KeyEvent, Renderable, SlotMode } from "@neuron-tui/core"
|
||||
export { stringifyKeySequence, stringifyKeyStroke } from "@neuron-tui/keymap"
|
||||
export type { Binding, KeyLike, KeySequencePart, KeyStringifyInput, StringifyOptions } from "@neuron-tui/keymap"
|
||||
export { formatCommandBindings, formatKeySequence } from "@neuron-tui/keymap/extras"
|
||||
export type {
|
||||
BindingConfig,
|
||||
BindingLookup,
|
||||
@@ -41,7 +41,7 @@ export type {
|
||||
FormatKeySequenceOptions,
|
||||
KeySequenceFormatPart,
|
||||
SequenceBindingLike,
|
||||
} from "@opentui/keymap/extras"
|
||||
} from "@neuron-tui/keymap/extras"
|
||||
|
||||
export function createBindingLookup(
|
||||
config: BindingConfig<Renderable, KeyEvent> | undefined,
|
||||
|
||||
Reference in New Issue
Block a user