Stores the action history.
inheritance
Cell<typeof ActionsJson>
items
type IndexedCollection<Action>
history_limit
type number
constructor
type new (options: ActionsOptions): Actions
options
set_json
Override to populate the indexed collection after parsing JSON.
type (value?: { id?: string | undefined; created?: string | undefined; updated?: string | undefined; items?: { method: "completion_create" | "completion_progress" | "directory_create" | "diskfile_delete" | ... 15 more ... | "toggle_main_menu"; id?: string | undefined; created?: string | undefined; updated?: string | undefined; action_event_data?: { ...; } | undefined; }[] | undefined; } | undefined): void
value?
{ id?: string | undefined; created?: string | undefined; updated?: string | undefined; items?: { method: "completion_create" | "completion_progress" | "directory_create" | "diskfile_delete" | ... 15 more ... | "toggle_main_menu"; id?: string | undefined; created?: string | undefined; updated?: string | undefined; ac...voidadd
type (action: Action): void
action
voidadd_from_json
type (action_json: { method: "completion_create" | "completion_progress" | "directory_create" | "diskfile_delete" | "diskfile_update" | "filer_change" | "ollama_copy" | "ollama_create" | "ollama_delete" | ... 10 more ... | "toggle_main_menu"; id?: string | undefined; created?: string | undefined; updated?: string | undefined; action_event_data?: { ...; } | undefined; }): Action
action_json
{ method: "completion_create" | "completion_progress" | "directory_create" | "diskfile_delete" | "diskfile_update" | "filer_change" | "ollama_copy" | "ollama_create" | "ollama_delete" | ... 10 more ... | "toggle_main_menu"; id?: string | undefined; created?: string | undefined; updated?: string | undefined; action_e...