Commit Graph

1077 Commits

Author SHA1 Message Date
aesoft 4f4a6a02ae Merge pull request #1266 from shalk/fix/commit-multibyte-panic-rebased
fix(git): fix panic on multibyte chars in commit output
dev-0.43.0-rc.260
2026-06-03 17:20:40 +02:00
aesoft 57e935094b Merge pull request #2239 from KuSh/1669-restore_double_dash-fix
fix(grep): command token duplication in output withsame value filename or positional arg
dev-0.43.0-rc.259
2026-06-03 15:55:22 +02:00
Nicolas Le Cam 89ae19b1cf fix(grep): command token duplication in output withsame value filename or positional arg 2026-06-03 14:01:32 +02:00
patrick szymkowiak 4c278d18c8 Merge pull request #2002 from YOMXXX/feat/msrv-1.91
chore(cargo): declare MSRV via rust-version = "1.91"
dev-0.43.0-rc.256
2026-06-01 18:44:39 +02:00
patrick szymkowiak 68737644b7 Merge pull request #2188 from jsiu93/fix/go-build-pattern-errors
fix(go): respect build failure exit status
dev-0.43.0-rc.255
2026-06-01 15:16:28 +02:00
xiaozh f69ad6ed6f fix(go): respect build failure exit status
Gate go build success output on the child exit code and surface unrecognized non-zero build output instead of reporting success.

Closes #2185.
2026-06-01 00:00:43 +08:00
patrick 41285725e4 fix(gh): show fallback note when PR/issue body is filtered to empty
When `filter_markdown_body()` strips a PR or issue body to empty
(body contained only badges, images, HTML comments, or horizontal
rules), `format_pr_view` and `format_issue_view` previously skipped
the body section silently. Users had no indication that body content
had been present and filtered.

Now both views emit a fallback note when the filtered body is empty
but the raw body was not:

  PR view:    (body contained only badges/images/comments)
  Issue view: Description: (body contained only badges/images/comments)

The 4 added tests cover:
- PR body with only badges/images/comments -> fallback note appears
- PR body with real content -> no fallback note (sanity)
- PR body empty (raw) -> no fallback note (no signal to give)
- Issue body badges-only -> fallback note appears

Closes #235

Co-authored-by: polaminggkub-debug <polaminggkub-debug@users.noreply.github.com>
dev-0.43.0-rc.254
2026-05-31 17:35:20 +02:00
Christian C. Berclaz f1474b4c12 fix(init): use fs::canonicalize for symlink resolution
Simplify resolve_atomic_target() per review feedback — fs::canonicalize
handles chained symlinks, relative paths, and all edge cases.

Co-authored-by: Roopesh <roopesh1724989@gmail.com>
dev-0.43.0-rc.253
2026-05-31 17:18:06 +02:00
Christian C. Berclaz 508192dbdc fix(init): preserve settings.json symlink during atomic write
atomic_write() replaced symlinked settings.json with a regular file.
Now resolves symlink targets before the tempfile+rename so the link
itself is preserved and the real file gets updated.

Covers both absolute and relative symlink targets.

Closes #653
2026-05-31 17:18:06 +02:00
Nicolas Le Cam 83cd93e7d7 chore(args): introduce a more generic solution for restoring double dashes in args
Fixes #1669
dev-0.43.0-rc.252
2026-05-31 17:06:26 +02:00
aesoft 653a209485 Merge pull request #2172 from KuSh/2150-encode_project_path
fix(provider): sanatize more chars when encoding claude code project pathes
dev-0.43.0-rc.251
2026-05-31 16:31:08 +02:00
aesoft e9f42e5404 Merge pull request #2173 from KuSh/supported-agents-fixes
doc(init): fix documentation inconsistencies arount `rtk init`
2026-05-31 16:30:10 +02:00
Nicolas Le Cam 67a5958459 doc(init): fix documentation inconsistencies arount rtk init
Fixes #213
2026-05-30 18:16:41 +02:00
Nicolas Le Cam 5989ac91b0 fix(provider): sanatize more chars when encoding claude code project pathes
Fixes #2150
2026-05-30 17:19:13 +02:00
aesoft 3c8d29a57d Merge pull request #2123 from B-Galati/fix/optional-gh-glab-id
fix(gh,glab): don't pre-reject view/checks/run subcommands missing the id
dev-0.43.0-rc.249
2026-05-29 18:04:02 +02:00
aesoft a9a978c10a Merge pull request #2101 from rtk-ai/fix/copilot-cli-hook-config-schema
feat(copilot): CLI native integration
dev-0.43.0-rc.248
2026-05-29 16:53:41 +02:00
aesoft acfd6c5889 Merge pull request #1048 from ashwingopalsamy/master
fix: prevent crashes when output is piped
dev-0.43.0-rc.247
2026-05-29 13:22:09 +02:00
aesoft 26ff547c25 Update main.rs 2026-05-29 13:15:24 +02:00
aesoft dd5362fd54 Update main.rs 2026-05-29 13:03:02 +02:00
aesoft b11f82751d allow unsafe code clippy + semgrep 2026-05-29 12:57:03 +02:00
aesoft 7853819fe0 Update main.rs 2026-05-29 12:51:04 +02:00
aesoft bcee6cc2ea fix: fmt 2026-05-29 09:26:32 +02:00
aesoft e3ad973617 fix(copilot-cli): use user-level instruction for -g
-g was missing user level instructions which are available for copilot
2026-05-29 09:16:22 +02:00
aesoft b6ecf965a4 missing test tag 2026-05-28 16:50:18 +02:00
aesoft 207c82a585 missing bracket 2026-05-28 16:44:06 +02:00
aesoft 852bcda7ae Merge branch 'develop' into master 2026-05-28 16:42:18 +02:00
aesoft 878af7de99 Merge pull request #2128 from LaraGb/develop
docs(readme): add Portuguese translation
dev-0.43.0-rc.246
2026-05-28 09:00:11 +02:00
Lara f2a2e01e7a docs(readme): add Portuguese translation 2026-05-27 16:00:32 -03:00
Benoit Galati e1bb17f85d fix(gh,glab): don't pre-reject view/checks/run subcommands missing the id
gh and glab both accept several subcommands without an explicit id and
resolve it from the current branch (gh pr view, gh pr checks, glab mr
view) or open an interactive picker (gh run view). RTK was pre-rejecting
with "X number required" before the underlying tool ever ran.

Six call sites now treat the identifier as optional and forward the
request unchanged, letting gh/glab decide:

- gh pr view, gh pr checks, gh issue view, gh run view
- glab mr view, glab issue view

A new `parse_optional_identifier` helper in each file captures the
"(Option<id>, Vec<extra>)" parse so the no-id branch is unit-testable.
format_run_view also drops the dangling `#` from its header when the
run id is empty (interactive-picker passthrough).
2026-05-27 17:47:32 +02:00
Adrien Eppling db483e6c58 fix(hook): omit permissionDecision so Copilot prompts for the rewritten command 2026-05-26 21:26:33 +02:00
Adrien Eppling 6c5e440d83 fix(hook): preserve Copilot CLI toolArgs metadata when rewriting command 2026-05-26 20:50:06 +02:00
Adrien Eppling 69c10b6588 fix(hook): default Copilot CLI rewrite to 'ask' to preserve permission prompts 2026-05-26 20:41:03 +02:00
Adrien Eppling 4b0bbf269b feat(hook): --global Copilot install + transparent rewrite via modifiedArgs 2026-05-26 19:56:04 +02:00
Adrien Eppling 557e57c9f9 fix(hook): semgrep marker + regression tests for Copilot hook isolation 2026-05-26 13:31:20 +02:00
Adrien Eppling 84b703d7d0 feat(hook): wire Copilot into uninstall, telemetry, and discover 2026-05-25 22:19:58 +02:00
Adrien Eppling 8fb29e2f75 fix(hook): emit Copilot CLI-compatible hook config + strip BOM on Windows 2026-05-25 22:19:57 +02:00
aesoft 5a149a7fdb Merge pull request #2092 from rtk-ai/fix/cicd/mit-to-apache
fix(cicd): MIT to Apache 2.0
dev-0.43.0-rc.245
2026-05-25 21:47:15 +02:00
aesoft e132896d3f fix(cicd): MIT to Apache 2.0 2026-05-25 21:42:07 +02:00
Nicolas Le Cam 39f044efd8 fix(hook): collapse bash line continuations before matching (#1572)
Fixes #1564
dev-0.43.0-rc.244
2026-05-25 15:33:51 +02:00
Nicolas Le Cam 3c356b3241 fix: remove remaining noise and rework comments 2026-05-25 15:24:19 +02:00
Nicolas Le Cam 6e76f911d6 fix(ls): preserve permission info as octal when -l/-la is passed (#1675) dev-0.43.0-rc.243 2026-05-25 15:17:15 +02:00
Sai Asish Y 0ec99de8f4 fix(tests): use rewrite_command_no_prefixes in line-continuation tests
Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
2026-05-25 06:16:18 -07:00
Sai Asish Y 42ac86ce2f fix(hook): use maintainer regex suggestion for line continuation
Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
2026-05-25 06:14:28 -07:00
Nicolas Le Cam 8fcc0dc56c fix: handle GNU --format=long and --format=verbose long args 2026-05-25 14:55:32 +02:00
Nicolas Le Cam 8e04ac4212 fix(grep): parse single-file output containing colons (#1554) dev-0.43.0-rc.242 2026-05-25 14:37:35 +02:00
Nicolas Le Cam 53b5e79561 feat: prefer short args and cleanup comments 2026-05-25 14:12:16 +02:00
Ryan A 6c4dfc727a fix(ls): preserve permission info as octal when -l/-la is passed
Closes #1672

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 12:46:23 +01:00
aesoft 4c099e4b5f Merge pull request #2084 from rtk-ai/fix/docs/mit-to-apache-remaining
fix(docs): replace remaining MIT license references with Apache 2.0
dev-0.42.1-rc.241
2026-05-25 13:38:11 +02:00
Adrien Eppling 9bbc7bb79e fix(docs): replace remaining MIT license references with Apache 2.0 2026-05-25 12:13:43 +02:00
aesoft fa11c6c3eb Merge pull request #2082 from rtk-ai/fix/pkg/MIT-to-apache-2
fix(pkg): rtk is Apache 2.0 and no MIT
dev-0.42.1-rc.240
2026-05-25 10:15:22 +02:00