Added some more commands and mades some quality of life improvements
All checks were successful
Build / build (push) Successful in 4m27s

This commit is contained in:
Leon Mika 2026-01-25 11:00:40 +11:00
parent 3a23118036
commit 3cb5795ca5
17 changed files with 432 additions and 75 deletions

View file

@ -1,9 +1,10 @@
package main
type TextSpan struct {
Text string `json:"text"`
Pos int `json:"pos"`
Len int `json:"len"`
Text string `json:"text"`
Pos int `json:"pos"`
Len int `json:"len"`
Append bool `json:"append"`
}
type ProcessTextRequest struct {
@ -11,6 +12,16 @@ type ProcessTextRequest struct {
Input []TextSpan `json:"input"`
}
type ListProcessorsResponse struct {
Name string `json:"name"`
Label string `json:"label"`
}
type SetStatusbarMessage struct {
Message string `json:"message"`
Error bool `json:"error"`
}
type ProcessTextResponse struct {
Output []TextSpan `json:"output"`
}