Commit Graph

353 Commits

Author SHA1 Message Date
Maximilian Roos 636e94cce6 docs: Update README with clearer explanations and examples
Refine descriptions for `wt merge`, `wt list`, and shell integration.
Add more detail to the design philosophy and automation features.
Improve clarity and conciseness of various sections.

Co-authored-by: Claude <no-reply@anthropic.com>
2025-11-22 00:12:03 -08:00
Maximilian Roos 318e411918 feat: Refine push handling and standardize snapshot configurations 2025-11-21 23:49:40 -08:00
Maximilian Roos b8ba573600 feat: Add and standardize --stage option and config
The `--stage` option has been added to `wt commit` and `wt merge` to control whether changes are staged before committing/merging. A new `[commit]` config section now provides a shared `stage` default for this behavior.

- **`wt commit` and `wt merge`**: Now support the `--stage` option.
- **`[commit]` config section**: Introduced with a `stage` field to set the default behavior for the `--stage` option across `wt commit` and `wt merge`.
- **`wt beta squash`**: Updated to use `--stage` for consistency.
- **`tracked_only` config field**: Removed as it is no longer used.
2025-11-21 21:41:16 -08:00
Maximilian Roos 19babc5a02 docs: Reorganize global options in help output
Moves global options to a dedicated section across all command help outputs for better clarity.
2025-11-21 20:11:40 -08:00
Maximilian Roos 99e15e5632 docs: Rename LLM-authored messages to LLM messages
The previous naming was verbose and redundant since all LLM output is authored by the LLM. This also aligns with `wt config --help` which already uses the shorter form.
2025-11-21 19:15:56 -08:00
Maximilian Roos f7d0d01f21 docs: Move installation troubleshooting to end of README
Relocates the "Installation fails with C compilation errors" section to improve readability and flow.

Co-authored-by: Claude <no-reply@anthropic.com>
2025-11-21 15:47:37 -08:00
Maximilian Roos 0aab82597d docs: Reword commit generation and status sections 2025-11-21 15:28:20 -08:00
Maximilian Roos aa9e5d5d9e refactor: Move dev resources to dev/ directory
Moves `scripts/` and `config.example.toml` into a new `dev/` directory.

This clarifies the separation between user-facing content and development-related assets.

- Updates all internal references (`README.md`, `CLAUDE.md`, `config.rs`, `.gitignore`).
- Renames `scripts/setup-claude-code-web.sh` to `dev/setup-claude-code-web.sh`.
- Renames `scripts/wt-demo-build.sh` to `dev/wt-demo-build.sh`.
- Renames `scripts/wt-demo/` to `dev/wt-demo/`.
- Renames `config.example.toml` to `dev/config.example.toml`.
- Adds `dev/wt-demo/README.md` to reflect the new path.
2025-11-21 15:25:41 -08:00
Maximilian Roos 7658d63fc5 docs: Improve shell integration documentation
Reorder shell integration section and sync README to plugin reference.
2025-11-21 15:23:53 -08:00
Maximilian Roos 356e2623f3 docs: Update skill reference and add tip on using hooks 2025-11-21 14:36:01 -08:00
Maximilian Roos 45f13dcc7e Refactor: Remove worktree asynchronously for speed
Worktrees now remove in the background, making `wt merge` complete faster. The output now indicates that the removal is happening asynchronously.
2025-11-21 14:33:34 -08:00
Maximilian Roos a8bd46fdfb feat: Enhance shell configuration and help messages 2025-11-21 14:17:44 -08:00
Maximilian Roos 0f3e3352bc fix: Display command path correctly in help output 2025-11-21 13:49:04 -08:00
Maximilian Roos d11bd107fa docs: Sync plugin README with main README
Syncs the Claude plugin skill `README.md` to include recent `wt list` options, LLM model updates, and project hook behavior corrections.
2025-11-21 10:06:42 -08:00
Maximilian Roos b104bd7c7f feat: Embed demo GIF in README
Adds the `wt-demo.gif` to the README, removing the placeholder comment.

Also adjusts formatting for the dimmed rows note and JSON output section.
2025-11-21 03:45:33 -08:00
Maximilian Roos ade9edf47e feat: Add --remotes flag to wt list and update snapshots
refactor: Comment out missing demo gif reference
2025-11-21 03:39:51 -08:00
Maximilian Roos 7ca9f3596c refactor: Rename config init to config create 2025-11-21 03:36:47 -08:00
Maximilian Roos 59ab6129ef feat: Add Rust project and mock CI demo 2025-11-21 03:29:12 -08:00
Maximilian Roos 8062f85c06 feat: improve wt list help docs and update shell completion snapshots 2025-11-21 02:42:09 -08:00
Maximilian Roos 206b72faa0 feat: Streamline error handling and improve styling utilities
Refactor error helpers to return `anyhow::Error` directly, move terminal width calculations to styling module, and rename `primary` worktree to `main`.
2025-11-21 02:04:42 -08:00
Maximilian Roos 4614bfb6d9 feat: Distinguish worktree and merge-tree conflict symbols 2025-11-20 23:39:27 -08:00
Maximilian Roos ef7aef8e86 docs: Update status symbols documentation and sync plugin skill README 2025-11-20 23:17:35 -08:00
Maximilian Roos 278dfaa17d feat: Add base_branch to all collect calls 2025-11-20 19:42:40 -08:00
Maximilian Roos b51218d4b4 feat: Add "Alternatives" section to README 2025-11-20 13:08:51 -08:00
Maximilian Roos 0ab426b6b3 Remove manual hook setup note from README (#16) 2025-11-20 01:56:41 -08:00
Maximilian Roos 8d0944ceb8 Remove shared status note from README (#17) 2025-11-20 01:56:21 -08:00
Maximilian Roos bbf827f7bb Fix typos in README (#15) 2025-11-20 01:09:34 -08:00
Maximilian Roos 6d6e28bedb feat(status): Consolidate and refine worktree status symbols
Refactor status symbols for better JSON querying and update snapshots to normalize platform-specific git behavior. Clarify "orphaned" worktrees as "prunable".
2025-11-19 21:21:18 -08:00
Maximilian Roos f00a9f5591 docs: Refine README for clarity and consistency
Improve wording for worktree management, merge flow, and design philosophy.
Standardize formatting for command behaviors and examples.
Add LLM setup guide for better user experience.

Co-authored-by: Claude <no-reply@anthropic.com>
2025-11-19 18:28:08 -08:00
Maximilian Roos 84c56df07a feat(status): Enhance command execution and consolidate state symbols 2025-11-19 18:26:44 -08:00
Maximilian Roos ef58b2835d feat: Enhance README with internal links and add project image 2025-11-19 18:06:30 -08:00
Maximilian Roos fae284b15d feat: Improve help output and command readability
Refine CLI help output with a new help pager for improved viewing. This commit also improves command readability in the documentation by removing extra indentation, and sets stdin to null for streamed commands. The shell completion snapshots have been updated accordingly.
2025-11-19 17:28:15 -08:00
Maximilian Roos d5fbd0a1c7 feat(list): Enhance performance, optimize rendering, and clarify documentation 2025-11-19 16:57:02 -08:00
Maximilian Roos 38de0d3979 docs: refactor(readme): Improve command readability and remove extra indentation 2025-11-19 16:57:02 -08:00
Maximilian Roos 3ac21f6940 feat(list): Implement progressive rendering and optimize column truncation, and accept shell completion snapshots for verbose flag update 2025-11-19 16:02:53 -08:00
Maximilian Roos bd88211d39 feat(docs): Enhance README for clarity and consistency 2025-11-19 15:51:10 -08:00
Maximilian Roos 0909d0f967 docs: update README.md examples for latest CLI output 2025-11-19 15:05:43 -08:00
Maximilian Roos 3b2942be8d Docs: Clarify and refine README content
Improve clarity and conciseness of descriptions for worktrees, LLM commit messages, project hooks, and shell integration. Update wording for consistency and better readability.

Co-authored-by: Claude <no-reply@anthropic.com>
2025-11-19 12:47:14 -08:00
Maximilian Roos 60109838e4 feat: Add wt config status commands to manage worktree status 2025-11-18 12:31:38 -08:00
Maximilian Roos b7a8b8172e feat: Add ^ symbol for main/default branch
This adds the `^` symbol as a shortcut for the main/default branch in `wt switch` and `wt remove` commands, aligning with `@` for current and `-` for previous.

It also updates related documentation and CLI help text to reflect this new shorthand.
2025-11-18 10:32:10 -08:00
Maximilian Roos a15fdd8e0f feat: Temporarily disable tier 2 shells for wt config shell 2025-11-17 14:16:44 -08:00
Maximilian Roos 9d2bedc445 Refactor config documentation in README
Improve clarity and structure for config file locations and examples.
Separate global and project config descriptions.
2025-11-12 05:10:18 -08:00
Maximilian Roos c204e70b67 feat: Update wt config help to wt config --help 2025-11-10 22:27:59 -08:00
Maximilian Roos 0aaa5f1c93 Update README and add test for pre/post-merge hooks
Adds snapshot tests for post-create and pre-merge hooks with example `uv` output, and updates the README to reference these new snapshots.

This ensures the examples in the README accurately reflect the tool's behavior and are tied to automated tests.
2025-11-10 22:25:03 -08:00
Maximilian Roos b2901047a4 feat: Add custom prompt templates and update documentation 2025-11-10 22:04:19 -08:00
Maximilian Roos 8799eff7a0 Clarify LLM commit generation in README
Update description for LLM commit message generation to specify
binary invocation and configurable prompt, rather than specific
LLM analysis details.
2025-11-10 19:08:57 -08:00
Maximilian Roos a6b23cece9 docs: Improve README clarity, add FAQ, and clarify command execution 2025-11-10 18:59:53 -08:00
Maximilian Roos 85ffbee9f2 feat: Enhance shell completion and diff parsing, fix rustdoc warning, and add link exclusions 2025-11-10 18:58:38 -08:00
Maximilian Roos f862a75494 Refactor: Update README badges for clarity
Updates badges in the README to use `for-the-badge` style, adds logos, and organizes them into "User" and "Dev" sections.
Also removes a comment about `cargo-release` installation.
2025-11-10 17:56:11 -08:00
Maximilian Roos 50cfc30f24 Refactor: Use Jinja2-style template variables
Switches all template variables from `{var}` to `{{ var }}` for Worktrunk
config files and documentation.

This change unifies template syntax across the codebase using Jinja2-style
double curly braces. It also migrates the internal template expansion
logic from simple string replacement to `minijinja`, which provides
more robust and secure templating capabilities.

Key changes:
- All `{var}` instances in `.toml` config files and `.md` documentation
  are updated to `{{ var }}`.
- The `src/config/expansion.rs` module is refactored to use `minijinja`
  for template rendering.
- Template variables are now automatically shell-escaped to prevent
  injection vulnerabilities.
- `main-worktree` variable is renamed to `main_worktree` for consistency
  with Jinja2 snake_case conventions.
- Tests are updated to reflect the new template syntax and `minijinja`
  behavior.
2025-11-10 13:44:01 -08:00