AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0
CoreEvents
Built-in core events (strongly typed)
Signature
interface CoreEvents {
"core.navigation.changed": {
path: string;
paneId: string;
};
"core.selection.changed": {
paths: string[];
paneId: string;
};
"core.tab.created": {
tabId: string;
};
"core.tab.closed": {
tabId: string;
};
"core.tab.switched": {
tabId: string;
previousTabId: string;
};
"core.file.renamed": {
oldPath: string;
newPath: string;
};
"core.file.deleted": {
paths: string[];
};
"core.file.saved": {
path: string;
};
"core.file.opened": {
path: string;
};
"core.file.created": {
path: string;
};
"core.directory.changed": {
path: string;
paneId: string;
};
"core.directory.renamed": {
oldPath: string;
newPath: string;
};
"core.directory.deleted": {
path: string;
};
"core.directory.created": {
path: string;
};
"core.settings.changed": {
key: string;
value: unknown;
};
"core.known-vials.changed": {
paths: string[];
};
"core.config.hidden-globs.changed": {
globs: string[];
};
"core.audio.track.changed": {
trackId: string | null;
path: string | null;
index: number;
};
"core.audio.queue.changed": {
trackIds: string[];
length: number;
};
"core.audio.playback.error": {
trackId: string | null;
message: string;
};
"core.drives.changed": DrivesChangedPayload;
"core.columns.layout.changed": ColumnLayoutChangedPayload;
}Members
| Name | Type | Required | Description |
|---|---|---|---|
"core.navigation.changed" | { … } | yes | Pane navigation path changed |
"core.selection.changed" | { … } | yes | File selection changed in a pane |
"core.tab.created" | { … } | yes | New tab created |
"core.tab.closed" | { … } | yes | Tab closed |
"core.tab.switched" | { … } | yes | Active tab changed |
"core.file.renamed" | { … } | yes | File or directory renamed |
"core.file.deleted" | { … } | yes | Files deleted |
"core.file.saved" | { … } | yes | File saved |
"core.file.opened" | { … } | yes | File opened |
"core.file.created" | { … } | yes | File created |
"core.directory.changed" | { … } | yes | Directory contents changed (files added/removed/modified) |
"core.directory.renamed" | { … } | yes | Directory renamed |
"core.directory.deleted" | { … } | yes | Directory deleted |
"core.directory.created" | { … } | yes | Directory created |
"core.settings.changed" | { … } | yes | App setting value changed |
"core.known-vials.changed" | { … } | yes | Known vials list changed (add/remove/rename in session) |
"core.config.hidden-globs.changed" | { … } | yes | Explorer always-hide globs changed |
"core.audio.track.changed" | { … } | yes | Global audio: current track or index changed |
"core.audio.queue.changed" | { … } | yes | Global audio: queue contents changed |
"core.audio.playback.error" | { … } | yes | Global audio: playback error (e.g. decode / missing file) |
"core.drives.changed" | DrivesChangedPayload | yes | Drive/volume set may have changed (after pane drive caches refreshed) |
"core.columns.layout.changed" | ColumnLayoutChangedPayload | yes | Details column layout changed in a pane (path-owned or saved-view-owned) |