chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-04-01 04:36:02 -05:00
parent 53583f8d83
commit c8ef5a4f38
92 changed files with 3573 additions and 692 deletions
-1
View File
@@ -49,7 +49,6 @@ export type AutomationResponse = {
next_runs: number[] | null;
};
export const getAutomationItems = async (
token: string,
query: string | null,
+5 -1
View File
@@ -45,7 +45,11 @@ export const getTerminalConfig = async (
return res.json().catch(() => null);
};
export const getCwd = async (baseUrl: string, apiKey: string, sessionId?: string): Promise<string | null> => {
export const getCwd = async (
baseUrl: string,
apiKey: string,
sessionId?: string
): Promise<string | null> => {
const url = `${baseUrl.replace(/\/$/, '')}/files/cwd`;
const headers: Record<string, string> = { Authorization: `Bearer ${apiKey}` };
if (sessionId) headers['X-Session-Id'] = sessionId;