Commit Graph

562 Commits

Author SHA1 Message Date
aesoft b812a0e924 Merge pull request #926 from rtk-ai/release-please--branches--master--components--rtk
chore(master): release 0.34.2
dev-0.34.3-rc.97 dev-0.34.3-rc.96 dev-0.34.3-rc.95 dev-0.34.3-rc.94 dev-0.34.3-rc.93 dev-0.34.3-rc.92 dev-0.34.3-rc.91 v0.34.2
2026-03-30 15:30:19 +02:00
github-actions[bot] 51939a50de chore(master): release 0.34.2 2026-03-30 13:13:33 +00:00
aesoft 927daef49b Merge pull request #869 from rtk-ai/develop
fix(refacto-codebase): technical docs & sub folders
2026-03-30 15:13:00 +02:00
Adrien Eppling c1c56f24d7 style: fix cargo fmt in ls.rs assert macros
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 15:02:17 +02:00
aesoft 495a152059 fix(emots): replace 📊 with "Summary:" 2026-03-30 14:41:21 +02:00
Adrien Eppling 9521dcab83 Merge remote-tracking branch 'origin/master' into develop
# Conflicts:
#	src/hooks/init.rs
2026-03-30 12:45:18 +02:00
Florian BRUNIAUX c54afe3da8 Merge pull request #884 from manulqwerty/fix/hook-rewrite-wc 2026-03-30 10:22:55 +02:00
aesoft 6444c4b018 Merge pull request #903 from rtk-ai/release-please--branches--master--components--rtk
chore(master): release 0.34.1
dev-0.35.0-rc.85 dev-0.35.0-rc.88 dev-0.35.0-rc.87 dev-0.35.0-rc.86 v0.34.1
2026-03-28 22:27:59 +01:00
github-actions[bot] ad5a155e45 chore(master): release 0.34.1 2026-03-28 21:11:03 +00:00
aesoft 92996b1272 Merge pull request #898 from rtk-ai/cherry-pick-security-fix
fix(telemetry): hash + salt
2026-03-28 22:10:35 +01:00
aesoft 5eae11d164 fix(security): set 0600 permissions on salt file 2026-03-28 14:14:13 +01:00
aesoft 22dc059310 fix(telemetry): cache salt in-process 2026-03-28 14:14:13 +01:00
aesoft 33195cc686 fix(telemetry): docs + real info from "rtk init -g" 2026-03-28 14:14:13 +01:00
aesoft 51f9c888b8 fix(security): missing toml pkg 2026-03-28 14:07:53 +01:00
aesoft 32fdbbbb69 fix(security): salt device hash for telemetry 2026-03-28 14:07:53 +01:00
aesoft 2d2f199983 Merge pull request #883 from rtk-ai/hotfix/telemetry-salt-hash
fix(security): salt device hash for telemetry
2026-03-28 14:00:26 +01:00
aesoft 8ab0f3da47 Merge pull request #706 from shwoop/go-tool-golangci
feat(go): Support golangci-lint via go tool
2026-03-28 11:47:57 +01:00
aesoft 8e42120ea3 fix(security): set 0600 permissions on salt file 2026-03-28 10:46:08 +01:00
Florian BRUNIAUX 9b9075cbb1 Merge pull request #847 from MauroDeryckere/fix/cat-flag-rewrite
Correct fix. cat flags like -A/-v/-e have no rtk read equivalent — skipping rewrite is the right behavior. cat -n correctly preserved. Well tested.
2026-03-28 02:07:23 +01:00
Florian BRUNIAUX a0d6874f7b Merge pull request #677 from TechWizard9999/fix/cargo-clippy-show-error-details
LGTM after code review. truncate() correctly imported, error_details block placed before rule frequency table, test covers the main case. Minor duplication for error[Exxxx] style but not a bug.
2026-03-28 01:57:32 +01:00
Florian BRUNIAUX 9ecdc02aee Merge pull request #753 from sveitser/fix-shebangs
Standard portability fix. /bin/bash is not guaranteed on NixOS or macOS with Homebrew bash. /usr/bin/env bash is the correct practice.
2026-03-28 01:53:02 +01:00
Florian BRUNIAUX 5a0144d185 Merge pull request #763 from mvanhorn/osc/759-include-finished-line-in-cargo-output
Correct. The Finished line carries useful signal (build time + profile). Defensive implementation with Option fallback.
2026-03-28 01:50:18 +01:00
Florian BRUNIAUX 0a5d5d5392 Merge pull request #650 from tobwen/fix/psql-disable-help-flag
Correct fix. disable_help_flag = true is the right pattern for passthrough commands — consistent with other commands in the codebase.
2026-03-28 01:49:32 +01:00
Florian BRUNIAUX da67c3e46a Merge pull request #562 from yogasw/fix/gain-history-utc-to-local-time
Correct fix. UTC timestamps in a local CLI history view is a UX bug — chrono::Local is already a dependency.
2026-03-28 01:48:40 +01:00
Florian BRUNIAUX cb30d174f7 Merge pull request #525 from zerone0x/fix/docs-branch-naming-474
Docs correct — branch names use slash prefixes, not conventional-commit format in parentheses.
2026-03-28 01:46:47 +01:00
Florian BRUNIAUX fb35e23952 Merge pull request #865 from timeshift92/fix/windows-startup-stack-849
LGTM. Correct fix — Clap's command graph can overflow the default 1MB Windows stack. /STACK:8388608 is a standard mitigation.
2026-03-28 01:46:45 +01:00
Florian BRUNIAUX b79623c3a6 fix(ls): suppress summary line when stdout is piped
fix(ls): suppress summary line when stdout is piped
2026-03-28 01:15:21 +01:00
shwoop 8f985a22d1 feat(go): Support golangci-lint via go tool
As of go v1.24, tools such as golanci-lint can be managed via the mod
file and called directly on the go binary via the tool subcommand.

When called via tools, we now apply the same logic to compact the
results as in the directly called command.

Signed-off-by: shwoop <monkey.mambo.al.ferguson@gmail.com>
2026-03-27 19:53:39 +01:00
aesoft 699f68236b fix(telemetry): cache salt in-process 2026-03-27 19:36:41 +01:00
aesoft f7ec883a78 fix(telemetry): docs + real info from "rtk init -g" 2026-03-27 19:28:43 +01:00
aesoft eae2fee0c2 fix(security): missing toml pkg 2026-03-27 19:20:15 +01:00
Manuel LOpez 099a8f3e6d fix(hook): rewrite wc commands to rtk wc 2026-03-27 19:19:35 +01:00
aesoft 60cba0f5d8 fix(security): salt device hash for telemetry 2026-03-27 19:17:00 +01:00
Mauro Deryckere 2fce6bfee7 fix(rewrite): skip cat rewrite when incompatible flags are present
cat flags like -v, -A, -e, -t, -s have different semantics than
rtk read flags (-v means verbose, -n means line numbers). Blindly
forwarding flags caused incorrect behavior (e.g. cat -A file →
rtk read -A file which fails).

Only skip rewrite for incompatible flags. cat -n (line numbers) maps
correctly to rtk read -n, so it is still rewritten for token savings.
Plain `cat file` continues to rewrite to `rtk read file` as before.
2026-03-27 09:13:26 +01:00
Yoga Setiawan 140e1f5958 fix(gain): convert history timestamps from UTC to local timezone 2026-03-27 14:43:34 +07:00
Roopesh def3424eb4 fix(cargo): show clippy error details in compact output
Signed-off-by: Roopesh <roopesh1724989@gmail.com>
2026-03-27 07:18:50 +05:30
Ousama Ben Younes 6e0f52b192 docs: update ARCHITECTURE.md module count from 60 to 64
Fixes Documentation Validation CI check (main.rs=64, ARCHITECTURE.md was 60).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ousama Ben Younes <benyounes.ousama@gmail.com>
2026-03-26 19:16:06 +00:00
Ousama Ben Younes 6fe769cf00 refactor(ls): remove unnecessary entries.clone() in pipe branch
Avoids one allocation since entries is not used after the if/else.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ousama Ben Younes <benyounes.ousama@gmail.com>
2026-03-26 19:15:44 +00:00
Ousama Ben Younes 3e1f75a8d5 fix(ls): suppress summary line when stdout is piped
rtk ls | wc -l returned N+2 instead of N because the summary line
(📊 X files, Y dirs) and blank line were always written to stdout.

Now uses std::io::stdout().is_terminal() to suppress the summary
when piped, following standard Unix convention (ls, grep, find all
do this).

Fixes #482

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ousama Ben Younes <benyounes.ousama@gmail.com>
2026-03-26 19:15:44 +00:00
Matt Van Horn 72b1e592d9 fix: include Finished line in cargo build success output
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 11:58:29 -07:00
sveitser bec18c40a2 fix: use /usr/bin/env shebangs for portability across systems 2026-03-26 19:46:28 +01:00
aesoft 2efe860f45 Merge pull request #826 from rtk-ai/refacto-folders-and-documentation
feat(refacto-codebase-onboarding): partie 1 - folders and technical docs
2026-03-26 19:36:50 +01:00
aesoft bacff347b7 Merge pull request #868 from rtk-ai/release-please--branches--master--components--rtk
chore(master): release 0.34.0
dev-0.34.1-rc.72 dev-0.34.1-rc.79 v0.34.0 dev-0.34.1-rc.80 dev-0.35.0-rc.82 dev-0.35.0-rc.81 dev-0.34.1-rc.71
2026-03-26 19:13:24 +01:00
github-actions[bot] 153f9e0459 chore(master): release 0.34.0 2026-03-26 18:10:56 +00:00
aesoft 966bcbe638 Merge pull request #859 from rtk-ai/develop
fix: truncation accuracy + Copilot init + binary file detection
2026-03-26 19:10:08 +01:00
aesoft b7b2ef50fe Merge branch 'master' into develop 2026-03-26 18:28:06 +01:00
aesoft d9be630bef Merge branch 'develop' of https://github.com/rtk-ai/rtk into refacto-folders-and-documentation 2026-03-26 18:11:34 +01:00
Ахмедов Нурбек Медетбаевич 12276c1743 fix(build): increase Windows startup stack
Signed-off-by: Ахмедов Нурбек Медетбаевич <n.akhmedov@uzdc.uz>
2026-03-26 21:39:11 +05:00
patrick szymkowiak 58a9633474 Merge pull request #833 from rtk-ai/fix/truncation-accuracy-tests
fix(truncation): accurate overflow counts and omission indicators
2026-03-26 10:20:17 +01:00
Florian BRUNIAUX 23f4fee2a7 chore: fix fmt + add CHANGELOG entries for truncation fixes
- Run cargo fmt on diff_cmd.rs and init.rs (line length violations)
- Add Unreleased section to CHANGELOG.md with the two bug fixes
  from this PR (required by doc review CI gate)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Florian BRUNIAUX <florian@bruniaux.com>
2026-03-26 10:06:43 +01:00