fix(core): preserve shell output tail
Shell truncation read from cursor zero, so large command output kept the head instead of the useful tail. Read the final capture window and cover the direction with head/tail markers.
This commit is contained in:
parent
49cb73b348
commit
d8b7a0a391
9 changed files with 32 additions and 12 deletions
|
|
@ -65,6 +65,7 @@ export interface CreateInput extends Schema.Schema.Type<typeof CreateInput> {}
|
|||
export const OutputInput = Schema.Struct({
|
||||
cursor: optional(NonNegativeInt),
|
||||
limit: optional(NonNegativeInt),
|
||||
keep: optional(Schema.Literals(["head", "tail"])),
|
||||
})
|
||||
export interface OutputInput extends Schema.Schema.Type<typeof OutputInput> {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue