completion_create
type {
send_request?: (
action_event: ActionEvent<'completion_create', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'completion_create', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'completion_create', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'completion_create', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
completion_progress
type {
receive?: (
action_event: ActionEvent<'completion_progress', Frontend, 'receive', 'handling'>,
) => void | Promise<void>;
}
directory_create
type {
send_request?: (
action_event: ActionEvent<'directory_create', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'directory_create', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'directory_create', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'directory_create', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
diskfile_delete
type {
send_request?: (
action_event: ActionEvent<'diskfile_delete', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'diskfile_delete', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'diskfile_delete', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'diskfile_delete', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
diskfile_update
type {
send_request?: (
action_event: ActionEvent<'diskfile_update', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'diskfile_update', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'diskfile_update', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'diskfile_update', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
filer_change
type {
receive?: (
action_event: ActionEvent<'filer_change', Frontend, 'receive', 'handling'>,
) => void | Promise<void>;
}
ollama_copy
type {
send_request?: (
action_event: ActionEvent<'ollama_copy', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'ollama_copy', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'ollama_copy', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'ollama_copy', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
ollama_create
type {
send_request?: (
action_event: ActionEvent<'ollama_create', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'ollama_create', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'ollama_create', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'ollama_create', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
ollama_delete
type {
send_request?: (
action_event: ActionEvent<'ollama_delete', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'ollama_delete', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'ollama_delete', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'ollama_delete', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
ollama_list
type {
send_request?: (
action_event: ActionEvent<'ollama_list', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'ollama_list', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'ollama_list', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'ollama_list', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
ollama_progress
type {
receive?: (
action_event: ActionEvent<'ollama_progress', Frontend, 'receive', 'handling'>,
) => void | Promise<void>;
}
ollama_ps
type {
send_request?: (
action_event: ActionEvent<'ollama_ps', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'ollama_ps', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'ollama_ps', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'ollama_ps', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
ollama_pull
type {
send_request?: (
action_event: ActionEvent<'ollama_pull', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'ollama_pull', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'ollama_pull', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'ollama_pull', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
ollama_show
type {
send_request?: (
action_event: ActionEvent<'ollama_show', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'ollama_show', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'ollama_show', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'ollama_show', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
ollama_unload
type {
send_request?: (
action_event: ActionEvent<'ollama_unload', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'ollama_unload', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'ollama_unload', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'ollama_unload', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
ping
type {
send_request?: (
action_event: ActionEvent<'ping', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'ping', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'ping', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'ping', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
receive_request?: (
action_event: ActionEvent<'ping', Frontend, 'receive_request', 'handling'>,
) => ActionOutputs['ping'] | Promise<ActionOutputs['ping']>;
send_response?: (
action_event: ActionEvent<'ping', Frontend, 'send_response', 'handling'>,
) => void | Promise<void>;
}
provider_load_status
type {
send_request?: (
action_event: ActionEvent<'provider_load_status', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'provider_load_status', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'provider_load_status', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'provider_load_status', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
provider_update_api_key
type {
send_request?: (
action_event: ActionEvent<'provider_update_api_key', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<
'provider_update_api_key',
Frontend,
'receive_response',
'handling'
>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'provider_update_api_key', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'provider_update_api_key', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
session_load
type {
send_request?: (
action_event: ActionEvent<'session_load', Frontend, 'send_request', 'handling'>,
) => void | Promise<void>;
receive_response?: (
action_event: ActionEvent<'session_load', Frontend, 'receive_response', 'handling'>,
) => void | Promise<void>;
send_error?: (
action_event: ActionEvent<'session_load', Frontend, 'send_error', 'handling'>,
) => void | Promise<void>;
receive_error?: (
action_event: ActionEvent<'session_load', Frontend, 'receive_error', 'handling'>,
) => void | Promise<void>;
}
toggle_main_menu
type {
execute?: (
action_event: ActionEvent<'toggle_main_menu', Frontend, 'execute', 'handling'>,
) => ActionOutputs['toggle_main_menu'];
}