mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-16 04:22:36 +00:00
feat: fix types and add type checking plus lazybundle on launch andddd dev flag
This commit is contained in:
parent
5e5e65f6d5
commit
32302c37dd
34 changed files with 1807 additions and 977 deletions
10
ui-tui/packages/hermes-ink/src/ink/events/paste-event.ts
Normal file
10
ui-tui/packages/hermes-ink/src/ink/events/paste-event.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { TerminalEvent } from './terminal-event.js'
|
||||
|
||||
export class PasteEvent extends TerminalEvent {
|
||||
readonly text: string
|
||||
|
||||
constructor(text: string) {
|
||||
super('paste', { bubbles: true, cancelable: true })
|
||||
this.text = text
|
||||
}
|
||||
}
|
||||
12
ui-tui/packages/hermes-ink/src/ink/events/resize-event.ts
Normal file
12
ui-tui/packages/hermes-ink/src/ink/events/resize-event.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { TerminalEvent } from './terminal-event.js'
|
||||
|
||||
export class ResizeEvent extends TerminalEvent {
|
||||
readonly columns: number
|
||||
readonly rows: number
|
||||
|
||||
constructor(columns: number, rows: number) {
|
||||
super('resize', { bubbles: true, cancelable: true })
|
||||
this.columns = columns
|
||||
this.rows = rows
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue