Skip to content

Commit a38f578

Browse files
zackman0010claude
andcommitted
Refactor commands into subpackage with unified local/cowork session picker
- Move all commands into commands/ subpackage with pkgutil auto-discovery - Add shared decorator hierarchy: output_options < interactive_options < local_options - Unify local and cowork pickers: local now shows both Code and Cowork sessions with source column - Add --source flag to local (code/cowork/filepath) and all (same semantics) - Add code and cowork proxy commands that delegate to local with preset source - Add Cowork session support to all batch command with include_json support - Make find_cowork_sessions limit optional (default: all) - Add transcript_label to Session dataclass; batch HTML uses it per session - Add pytest-cov; add htmlcov/ to .gitignore - Add tests for source flag filtering, proxy commands, include_json behavior Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9a79b45 commit a38f578

File tree

15 files changed

+1222
-701
lines changed

15 files changed

+1222
-701
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
__pycache__
33
uv.lock
44
.playwright-mcp/
5+
htmlcov/
6+
.coverage

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ build-backend = "uv_build"
3434
[dependency-groups]
3535
dev = [
3636
"pytest>=9.0.2",
37+
"pytest-cov>=7.1.0",
3738
"pytest-httpx>=0.35.0",
3839
"syrupy>=5.0.0",
3940
]

0 commit comments

Comments
 (0)