Starting to modularize into separate cli / server packages. (#55)

* Starting to move a lot of code into packages/server

* More of the massive refactor, builds and runs, some issues though.

* Fixing outstanding issue with double messages.

* Fixing a minor UI issue.

* Fixing the build post-merge.

* Running formatting.

* Addressing comments.
This commit is contained in:
Evan Senter
2025-04-19 19:45:42 +01:00
committed by GitHub
parent 0c9e1ef61b
commit 3fce6cea27
46 changed files with 3946 additions and 3403 deletions

View File

@@ -4,6 +4,31 @@
* SPDX-License-Identifier: Apache-2.0
*/
export function helloServer() {
// TODO: add more things in this package
}
// Export config
export * from './config/config.js';
// Export Core Logic
export * from './core/gemini-client.js';
export * from './core/prompts.js';
export * from './core/turn.js';
// Potentially export types from turn.ts if needed externally
// export { GeminiEventType } from './core/turn.js'; // Example
// Export utilities
export * from './utils/paths.js';
export * from './utils/schemaValidator.js';
export * from './utils/errors.js';
export * from './utils/getFolderStructure.js';
// Export base tool definitions
export * from './tools/tools.js';
// Export specific tool logic
export * from './tools/read-file.js';
export * from './tools/ls.js';
export * from './tools/grep.js';
export * from './tools/glob.js';
export * from './tools/edit.js';
export * from './tools/terminal.js';
export * from './tools/write-file.js';
export * from './tools/web-fetch.js';