Migrate from Python/ADK to Node.js/Bun with TypeScript#13
Merged
elicollinson merged 7 commits intosolenoid-nodefrom Jan 27, 2026
Merged
Migrate from Python/ADK to Node.js/Bun with TypeScript#13elicollinson merged 7 commits intosolenoid-nodefrom
elicollinson merged 7 commits intosolenoid-nodefrom
Conversation
…w-6isc7 Add Claude code configuration and verification workflow guide
This commit migrates the solenoid-node branch from Node.js/npm to Bun: Package Changes: - Replace npm with bun for package management - Remove vitest in favor of Bun's native test runner - Remove eslint in favor of Biome for linting - Remove pino in favor of custom JSON logger - Remove better-sqlite3 in favor of Bun's native bun:sqlite - Remove tsx since Bun runs TypeScript natively - Add bun-types for TypeScript support Database Changes: - Migrate from better-sqlite3 to bun:sqlite - Maintain sqlite-vec extension support for vector search - Update all database operations to use Bun's SQLite API Test Changes: - Convert all tests from vitest to bun:test - Replace vi.mock() with mock.module() - Replace vi.fn() with mock() - Update test assertions to use Bun's expect API Configuration Changes: - Update tsconfig.json for Bun compatibility - Add biome.json for linting/formatting - Remove vitest.config.ts and .eslintrc.cjs - Update GitHub workflow to use Bun https://claude.ai/code/session_01LALSEnt9kehERfr2Kgw886
Code Review - CLAUDE.md Compliance IssueIssue Found: The CLAUDE.md file still references Python/Poetry commands that no longer work after the migration to Node.js/Bun:
These commands should be updated to: bun test
bun test tests/e2e/harness-integration.test.tsxReference: Lines 22 to 35 in 598437b |
- Add type annotations to fix noImplicitAnyLet errors in agent files - Change bracket notation to dot notation for useLiteralKeys compliance - Fix parameter reassignment in test-harness.tsx - Auto-format code with Biome (import organization, string templates) - Configure noArrayIndexKey as warning for stable React list patterns https://claude.ai/code/session_01LALSEnt9kehERfr2Kgw886
Replace outdated Python/Poetry commands with Bun equivalents: - poetry run pytest tests/ → bun test - poetry run python -m tests.eval.run_eval → bun test tests/e2e/harness-integration.test.tsx https://claude.ai/code/session_01LALSEnt9kehERfr2Kgw886
ink requires react-devtools-core for its devtools functionality. Adding it as a devDependency fixes the build error. https://claude.ai/code/session_01LALSEnt9kehERfr2Kgw886
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR represents a major architectural shift, migrating the entire codebase from a Python-based Google ADK agent system to a Node.js/Bun runtime with TypeScript. The Python agent framework, memory management, code execution, and related infrastructure have been removed in favor of a modern JavaScript/TypeScript stack.
Key Changes
Removed Components
user_proxy_agent,code_executor_agent,chart_generator_agent)Added Components
.github/workflows/test-node.ymlwith:src/,tests/, and config filespackage.jsonfor dependency managementtsconfig.jsonfor TypeScript configurationbiome.jsonfor code formatting/linting.gitignoreto excludenode_modules/and added a new.gitignoretemplate with Node.js-specific patternsMigration Path
The codebase is transitioning from:
Implementation Details
Notes
https://claude.ai/code/session_01LALSEnt9kehERfr2Kgw886