fix(ts-unused-code): Complete testing and integration phase#67
Open
chris-schra wants to merge 8 commits intomainfrom
Open
fix(ts-unused-code): Complete testing and integration phase#67chris-schra wants to merge 8 commits intomainfrom
chris-schra wants to merge 8 commits intomainfrom
Conversation
Create foundational package structure for ts-unused-code command with: - package.json with tsr@^1.3.4 dependency and workspace configuration - TypeScript configuration files (tsconfig.json, tsconfig.build.json) - Build script using esbuild/tsc approach from ts-validate patterns - README with comprehensive false positive warnings - Empty src/ directory for future implementation Configuration follows exact patterns from ts-validate package. Build will fail until src/index.ts is implemented (expected and normal). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…#56 - Created comprehensive TypeScript type definitions for TSR integration - Defined interfaces for unused exports and files detection - Added command options with CLI and MCP support - Implemented SEAM extension points for future enhancements - Fixed build script to use npx tsc for proper TypeScript compilation - All types properly documented with JSDoc - Build generates declaration files successfully 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…#59 Implement command class that provides MCP tool interface and CLI execution for the ts-unused-code functionality: - Created TsUnusedCodeCommand implementing ICommand interface - Defined MCP tool schema with comprehensive input validation using zod - Implemented MCP execution path with AI-friendly result formatting - Implemented CLI execution path with argument parsing and help - Added proper error handling and exit codes - Created mock TsrProcessor for compilation (actual processor in Spark #58) - Updated index.ts to export command and removed placeholder - Included prominent false positive warnings in output - Added extensive CLI help and usage information 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
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
Test Results
Changes
Closes #65
Closes #66
Related to #60