Update CLI scripts to enhance functionality and error handling. Change shebang in cli-ink.js for improved compatibility with TypeScript. Modify websearch.js to utilize EXA_API_KEY from environment variables, adding error handling for missing keys. Refactor wget.js to use ES module syntax and improve filename generation for downloaded content.

This commit is contained in:
sebseb7
2025-08-12 05:44:17 +00:00
parent 62e9754ab0
commit ac09e4ed08
6 changed files with 66 additions and 7 deletions

3
cli.js
View File

@@ -87,7 +87,8 @@ list_files - (no/empty path means root)
patch_files - (zum anlegen, ändern und löschen von Dateien)
read_file - (nach zeilen)
ripgrep - suchmusater und dateimuster
websearch - eine Google Suche machen mit Schlüsselwörtern`
websearch - eine Google Suche machen mit Schlüsselwörtern
`
}]};
const input = [{"role": "user", "content": [ {"type": "input_text","text": userText } ]}];