action_collections.ts

Declarations
#

6 declarations

view source

action_specs
#

action_collections.ts view source

({ method: string; initiator: "both" | "frontend" | "backend"; side_effects: true | null; input: ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>; output: ZodType<unknown, unknown, $ZodTypeInternals<...>>; description: string; kind: "request_response"; auth: "public" | ... 2 more ... | { ...; }; async:...

ActionEventDatas
#

action_collections.ts view source

ActionEventDatas

Action event data types indexed by method name. These represent the full discriminated union of all possible states for each action's event data, properly typed with inputs and outputs.

ping

type ActionEventRequestResponseData<'ping'>

session_load

type ActionEventRequestResponseData<'session_load'>

filer_change

type ActionEventRemoteNotificationData<'filer_change'>

diskfile_update

type ActionEventRequestResponseData<'diskfile_update'>

diskfile_delete

type ActionEventRequestResponseData<'diskfile_delete'>

directory_create

type ActionEventRequestResponseData<'directory_create'>

completion_create

type ActionEventRequestResponseData<'completion_create'>

completion_progress

type ActionEventRemoteNotificationData<'completion_progress'>

ollama_progress

type ActionEventRemoteNotificationData<'ollama_progress'>

toggle_main_menu

type ActionEventLocalCallData<'toggle_main_menu'>

ollama_list

type ActionEventRequestResponseData<'ollama_list'>

ollama_ps

type ActionEventRequestResponseData<'ollama_ps'>

ollama_show

type ActionEventRequestResponseData<'ollama_show'>

ollama_pull

type ActionEventRequestResponseData<'ollama_pull'>

ollama_delete

type ActionEventRequestResponseData<'ollama_delete'>

ollama_copy

type ActionEventRequestResponseData<'ollama_copy'>

ollama_create

type ActionEventRequestResponseData<'ollama_create'>

ollama_unload

type ActionEventRequestResponseData<'ollama_unload'>

provider_load_status

type ActionEventRequestResponseData<'provider_load_status'>

provider_update_api_key

type ActionEventRequestResponseData<'provider_update_api_key'>

terminal_create

type ActionEventRequestResponseData<'terminal_create'>

terminal_data_send

type ActionEventRequestResponseData<'terminal_data_send'>

terminal_data

type ActionEventRemoteNotificationData<'terminal_data'>

terminal_resize

type ActionEventRequestResponseData<'terminal_resize'>

terminal_close

type ActionEventRequestResponseData<'terminal_close'>

ActionInputs
#

action_collections.ts view source

{ readonly ping: ZodOptional<ZodVoid>; readonly session_load: ZodOptional<ZodVoid>; readonly filer_change: ZodObject<{ change: ZodObject<{ type: ZodEnum<{ add: "add"; change: "change"; delete: "delete"; }>; path: $ZodBranded<...>; }, $strict>; disknode: ZodObject<...>; }, $strict>; ... 21 more ...; readonly terminal...

Action parameter schemas indexed by method name. These represent the input data for each action, e.g. JSON-RPC request/notification params and local call arguments.

ActionMethods
#

action_collections.ts view source

ZodEnum<{ ping: "ping"; session_load: "session_load"; filer_change: "filer_change"; diskfile_update: "diskfile_update"; diskfile_delete: "diskfile_delete"; directory_create: "directory_create"; ... 18 more ...; terminal_close: "terminal_close"; }>

All method types combined.

ActionOutputs
#

action_collections.ts view source

{ readonly ping: ZodObject<{ ping_id: ZodUnion<readonly [ZodString, ZodNumber]>; }, $strict>; readonly session_load: ZodObject<{ data: ZodObject<{ zzz_dir: $ZodBranded<ZodPipe<ZodPipe<...>, $ZodBranded<...>>, "DiskfileDirectoryPath", "out">; scoped_dirs: ZodReadonly<...>; files: ZodArray<...>; provider_status: ZodAr...

Action result schemas indexed by method name. These represent the output data for each action, e.g. JSON-RPC response results and local call return values.

ActionSpecs
#

action_collections.ts view source

{ readonly ping: { method: string; kind: "request_response"; initiator: "both"; auth: "public"; side_effects: null; input: ZodOptional<ZodVoid>; output: ZodObject<{ ping_id: ZodUnion<readonly [ZodString, ZodNumber]>; }, $strict>; async: true; description: string; }; ... 23 more ...; readonly terminal_close: { ...; }...

Action specifications indexed by method name. These represent the complete action spec definitions.

Depends on
#

Imported by
#