feat(images): migrate openclaw acp runtime to typescript#161
Conversation
👍 GitRank PR AnalysisScore: 5 points
Eligibility Checks
Impact SummaryThis PR migrates the OpenClaw ACP runtime from JavaScript to TypeScript with proper compilation, adds comprehensive test coverage including new CI workflows, and refactors gateway proxy logic into a dedicated module. The changes improve code quality, type safety, and maintainability while keeping live tool/thought streaming prompt-scoped rather than replaying stale transcript state. The PR includes 3622 total lines changed across 21 files with new test files and CI integration. Analysis DetailsComponent Classification: This PR is a refactoring/modernization effort that migrates JavaScript runtime code to TypeScript across the OpenClaw ACP example image. While it touches multiple subsystems, it doesn't fit neatly into a specific functional component and is primarily a code quality/infrastructure improvement. Severity Justification: This is a P3 (Low) severity contribution as it represents a refactoring and modernization effort with no reported bugs being fixed. The changes improve code maintainability and add CI coverage but don't address critical functionality, security issues, or data loss concerns. Eligibility Notes: Tests are required and included: the PR adds extensive test files (acp-server.test.ts, acp-wrapper.test.ts, gateway-proxy tests, etc.) and a new CI workflow (example-image-tests.yml). This is a refactoring/modernization effort that warrants tests to ensure behavior is preserved during the JavaScript-to-TypeScript migration. No specific issue is referenced, but the PR is well-documented with clear description of the migration goals and improvements. Analyzed by GitRank 🤖 |
This moves the generic OpenClaw ACP runtime and shared ACP server into the Spritz example image build as proper TypeScript sources with a real compile step. It also keeps live tool/thought streaming prompt-scoped instead of replaying stale transcript state, and adds upstream tests plus CI coverage for the example runtime image.