Skip to content

Commit a5334fc

Browse files
mcj-coderclaude
andauthored
feat: migrate original code bundle to project structure (#60)
## Summary - Add ClaudeMonitor class for PTY-based Claude CLI monitoring with rate limit detection - Add WrapperConfig record for configurable wrapper behavior - Integrate PTY package (1.0.3) for cross-platform pseudo-terminal support - Update Program.cs with full CLI argument parsing and ClaudeMonitor integration - Add InvalidArguments exit code and update test suite ## Test plan - [x] Build passes with zero warnings and errors - [x] All unit tests pass (27 tests) - [x] All architecture tests pass (4 tests) - [x] Pre-commit hooks pass (dotnet format, cspell) - [x] Pre-push hooks pass (unit tests, branch validation) ## Implementation Notes The original code bundle (ClaudeAutoResume.zip) has been adapted to use: - PTY 1.0.3 package instead of Pty.Net (which is no longer available on NuGet) - Modern C# patterns (records, pattern matching, collection expressions) - Full analyzer compliance with zero suppressions needed for actual issues - Proper async/await with ConfigureAwait(false) throughout Closes #14 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent fc3067d commit a5334fc

File tree

20 files changed

+2008
-67
lines changed

20 files changed

+2008
-67
lines changed

Directory.Packages.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<PackageVersion Include="xunit" Version="2.9.2" />
1818
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.0" />
1919
<PackageVersion Include="xunit.analyzers" Version="1.18.0" />
20+
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.23" />
2021
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
2122
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
2223
<PackageVersion Include="AwesomeAssertions" Version="8.2.0" />
@@ -40,6 +41,9 @@
4041
<!-- Hosting -->
4142
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
4243

44+
<!-- PTY (Pseudo-Terminal) -->
45+
<PackageVersion Include="PTY" Version="1.0.3" />
46+
4347
<!-- Benchmarking -->
4448
<PackageVersion Include="BenchmarkDotNet" Version="0.14.0" />
4549
</ItemGroup>

0 commit comments

Comments
 (0)