Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
568 changes: 172 additions & 396 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@
"@codemirror/view": "^6.43.1",
"@deadlyjack/ajax": "^1.2.6",
"@emmetio/codemirror6-plugin": "^0.4.1",
"@lezer/common": "^1.5.0",
"@lezer/highlight": "^1.2.3",
"@lezer/lr": "^1.4.7",
"@ungap/custom-elements": "^1.3.0",
"@xterm/addon-attach": "^0.11.0",
"@xterm/addon-fit": "^0.10.0",
Expand Down
11 changes: 9 additions & 2 deletions src/components/searchbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ import actionStack from "lib/actionStack";
* @param {(hide:Function)=>void} setHide
* @param {()=>void} onhideCb callback to be called when search bar is hidden
* @param {(value:string)=>HTMLElement[]} searchFunction
* @param {boolean} cloneResults whether search results should be cloned
*/
function searchBar($list, setHide, onhideCb, searchFunction) {
function searchBar(
$list,
setHide,
onhideCb,
searchFunction,
cloneResults = true,
) {
let hideOnBlur = true;
let timeout = null;
const $searchInput = Ref();
Expand Down Expand Up @@ -93,7 +100,7 @@ function searchBar($list, setHide, onhideCb, searchFunction) {
}

$list.textContent = "";
$list.append(...buildSearchContent(result, val));
$list.append(...(cloneResults ? buildSearchContent(result, val) : result));
}

/**
Expand Down
10 changes: 10 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ interface Executor {
write: (uuid: string, input: string) => Promise<void>;
stop: (uuid: string) => Promise<void>;
isRunning: (uuid: string) => Promise<boolean>;
listProcesses: () => Promise<ExecutorProcess[]>;
/** Move the executor service to the foreground (shows notification) */
moveToForeground: () => Promise<void>;
/** Move the executor service to the background (hides notification) */
Expand All @@ -59,6 +60,15 @@ interface Executor {
BackgroundExecutor: Executor;
}

interface ExecutorProcess {
id: string;
pid: number;
command: string;
alpine: boolean;
startedAt: number;
background: boolean;
}
Comment thread
greptile-apps[bot] marked this conversation as resolved.

declare const Executor: Executor | undefined;

interface Window {
Expand Down
3 changes: 2 additions & 1 deletion src/lang/ar-ye.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "مضغوط",
"off": "إيقاف",
"quick tools height": "ارتفاع الأدوات السريعة",
"quick tools toggler": "مبدل الأدوات السريعة"
"quick tools toggler": "مبدل الأدوات السريعة",
"running processes": "Running processes"
}
3 changes: 2 additions & 1 deletion src/lang/be-by.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "Кампактны",
"off": "Выкл",
"quick tools height": "Вышыня хуткіх інструментаў",
"quick tools toggler": "Пераключальнік хуткіх інструментаў"
"quick tools toggler": "Пераключальнік хуткіх інструментаў",
"running processes": "Running processes"
}
3 changes: 2 additions & 1 deletion src/lang/bn-bd.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "কম্প্যাক্ট",
"off": "বন্ধ",
"quick tools height": "কুইক টুলসের উচ্চতা",
"quick tools toggler": "কুইক টুলস টগলার"
"quick tools toggler": "কুইক টুলস টগলার",
"running processes": "Running processes"
}
3 changes: 2 additions & 1 deletion src/lang/cs-cz.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "Kompaktní",
"off": "Vypnuto",
"quick tools height": "Výška rychlých nástrojů",
"quick tools toggler": "Přepínač rychlých nástrojů"
"quick tools toggler": "Přepínač rychlých nástrojů",
"running processes": "Running processes"
}
3 changes: 2 additions & 1 deletion src/lang/de-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "Kompakt",
"off": "Aus",
"quick tools height": "Schnellwerkzeug-Höhe",
"quick tools toggler": "Schnellwerkzeug-Schaltfläche"
"quick tools toggler": "Schnellwerkzeug-Schaltfläche",
"running processes": "Running processes"
}
1 change: 1 addition & 0 deletions src/lang/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"running processes": "Running processes",
"terminal not installed prompt": "Terminal is not installed. Would you like to initialize it now?",
"terminal first launch prompt": "Terminal environment is not installed. It enables running commands, SSH, and scripting. Install now?",
"don't ask again": "Don't ask again",
Expand Down
3 changes: 2 additions & 1 deletion src/lang/es-sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "Compacto",
"off": "Apagado",
"quick tools height": "Altura de herramientas rápidas",
"quick tools toggler": "Alternador de herramientas rápidas"
"quick tools toggler": "Alternador de herramientas rápidas",
"running processes": "Running processes"
}
3 changes: 2 additions & 1 deletion src/lang/fr-fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "Compact",
"off": "Désactivé",
"quick tools height": "Hauteur des outils rapides",
"quick tools toggler": "Bascule des outils rapides"
"quick tools toggler": "Bascule des outils rapides",
"running processes": "Running processes"
}
3 changes: 2 additions & 1 deletion src/lang/he-il.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "קומפקטי",
"off": "כבוי",
"quick tools height": "גובה כלים מהירים",
"quick tools toggler": "מחליף כלים מהירים"
"quick tools toggler": "מחליף כלים מהירים",
"running processes": "Running processes"
}
3 changes: 2 additions & 1 deletion src/lang/hi-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "संक्षिप्त",
"off": "बंद",
"quick tools height": "त्वरित उपकरण ऊंचाई",
"quick tools toggler": "त्वरित उपकरण टॉगलर"
"quick tools toggler": "त्वरित उपकरण टॉगलर",
"running processes": "Running processes"
}
3 changes: 2 additions & 1 deletion src/lang/hu-hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "Kompakt",
"off": "Kikapcsolva",
"quick tools height": "Gyorseszközök magassága",
"quick tools toggler": "Gyorseszközök be/ki"
"quick tools toggler": "Gyorseszközök be/ki",
"running processes": "Running processes"
}
3 changes: 2 additions & 1 deletion src/lang/id-id.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,5 +763,6 @@
"compact": "Ringkas",
"off": "Mati",
"quick tools height": "Tinggi alat cepat",
"quick tools toggler": "Pengalih alat cepat"
"quick tools toggler": "Pengalih alat cepat",
"running processes": "Running processes"
}
Loading