Commit Graph

792 Commits

Author SHA1 Message Date
aesoft 5c9e1ac6d7 Merge pull request #1382 from rtk-ai/release-please--branches--master--components--rtk
chore(master): release 0.37.1
dev-0.37.2-rc.163 dev-0.37.2-rc.162 v0.37.1 dev-0.37.2-rc.165 dev-0.37.2-rc.164
2026-04-18 15:51:04 +02:00
github-actions[bot] 92823bf21d chore(master): release 0.37.1 2026-04-18 13:46:53 +00:00
aesoft c8d68787fb Merge pull request #1381 from rtk-ai/develop
fix(docs): user facing docs
2026-04-18 15:46:20 +02:00
Adrien Eppling ea56548009 Revert "fix(discover): weighted savings rate per bucket, decimal already_rtk percent"
This reverts commit 82c62eb893.
2026-04-18 15:29:36 +02:00
aesoft 9673727333 Merge pull request #1304 from rtk-ai/docs/adrien-review
docs: Adrien review — hierarchy, counts, consistency, gaps
2026-04-18 15:07:43 +02:00
aesoft 6d2e5e532e Merge pull request #1360 from rtk-ai/release-please--branches--master--components--rtk
chore(master): release 0.37.0
dev-0.37.1-rc.159 v0.37.0 dev-0.37.1-rc.158
2026-04-17 09:51:09 +02:00
github-actions[bot] 75bcf9dec6 chore(master): release 0.37.0 2026-04-17 07:45:25 +00:00
aesoft 66080056dd Merge pull request #1277 from rtk-ai/develop
Next Release
2026-04-17 09:44:43 +02:00
aesoft 22ef2871a8 Merge pull request #1359 from rtk-ai/fix-conflict-next-release
Fix conflict next release
2026-04-17 09:36:27 +02:00
aesoft 953bb11442 Merge master into develop to resolve conflicts 2026-04-17 09:35:21 +02:00
aesoft df8e03558d Merge pull request #1346 from rtk-ai/feat-hook-engine
fix: P0+P1 fixes from pre-merge review of hook engine
2026-04-16 21:29:35 +02:00
aesoft d8ddefe78e fix: isolate cursor hook tests from local settings (determinist) 2026-04-16 21:00:13 +02:00
aesoft a1d46f39c2 fix(stream): missing stderr fields 2026-04-16 20:39:01 +02:00
aesoft e92d0993c9 fix(runner): preserve fd separation on command failure 2026-04-16 20:27:13 +02:00
aesoft d34389c3d0 fix: P0+P1 fixes from pre-merge review of hook engine
- runner: print captured output on non-zero exit (P0.1)
- main: add hook/pipe to META_COMMANDS (P0.2)
- init: store integrity hash after Gemini script install (P0.3)
- hook_cmd: audit log + permission check for all agent paths (P1.1, P1.2)
- runner: include failure_lines in cargo test summary (P1.5)
- Cargo.toml: remove unconditional libc dep (P1.7)
- init: clean stale settings.json entries during migration (P1.8)
2026-04-16 15:41:20 +02:00
aesoft e7b7f9ab66 Merge pull request #956 from rtk-ai/feat-hook-engine
feat(refacto-core): binary hook w/ native cmd exec + streaming
2026-04-15 18:58:17 +02:00
Adrien Eppling dfc009a4d6 restore cursor and copilot hook scripts for backward compat 2026-04-14 22:54:03 +02:00
aesoft 7591a14e4c Merge pull request #1151 from rtk-ai/fix/release-please-changelog
fix(docs): use release please changelog no manual
2026-04-14 20:54:16 +02:00
aesoft 0f93f0e3e6 Merge branch 'develop' into fix/release-please-changelog 2026-04-14 20:54:08 +02:00
Adrien Eppling 5916ecd86f fix: rename ship.md to ship/SKILL.md to match develop 2026-04-14 20:52:34 +02:00
Florian BRUNIAUX 4c9b528206 docs: Adrien review — hierarchy, counts, consistency, gaps
Hierarchy:
- Move troubleshooting.md and what-rtk-covers.md to guide/resources/
- Add guide/resources/telemetry.md (adapted from docs/TELEMETRY.md,
  user-facing: consent, opt-out, GDPR rights — without internal sections)

Content fixes:
- Remove all hardcoded counts (9 ecosystems, 12 agents, 60+, 7 more)
  replaced with qualitative language throughout
- Unify DB filename: tracking.db → history.db everywhere
  (canonical: src/core/constants.rs HISTORY_DB)
- installation.md: replace bare `cargo install rtk` with warning +
  explicit git URL to avoid Rust Type Kit name collision
- supported-agents.md: remove hardcoded agent count
- quick-start.md: remove hardcoded ecosystem list, link to what-rtk-covers

New content:
- gain.md: add --quota section explaining pro/5x/20x tier meanings
- gain.md: add callout linking to discover.md (find missed savings)
- index.md: add "Analyze your usage" section (rtk discover, rtk session)
- configuration.md: clarify ignore_dirs/ignore_files scope, add prose
  link to telemetry.md
- what-rtk-covers.md: clarify --ultra-compact vs git -u short flag conflict

Cross-references:
- All internal links updated for new resources/ paths
- index.md: link to troubleshooting, telemetry, what-rtk-covers, analytics
- discover.md: updated relative link to troubleshooting

README:
- Add Core team section (Patrick Szymkowiak, Florian Bruniaux, Adrien Eppling)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 14:17:58 +02:00
Florian BRUNIAUX 82c62eb893 fix(discover): weighted savings rate per bucket, decimal already_rtk percent
B6 — report.rs:already_rtk integer division truncated small ratios to 0%
(e.g. 3/1000 showed "0%" instead of "0.3%"). Now uses f64 division with
one decimal place. Three regression tests added.

B7 — mod.rs:SupportedBucket.savings_pct was set once from the first-seen
sub-command and never updated. For buckets containing multiple sub-commands
(e.g. git add + git diff + git log all under "rtk git"), the displayed
estimated_savings_pct reflected only the first classification. Fix: track
total_raw_output_tokens alongside total_output_tokens (savings). Compute
effective_savings_pct = saved / raw * 100 at entry construction, giving a
weighted average across all sub-commands in the bucket. This rate is exposed
in rtk discover --format json via estimated_savings_pct.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Florian BRUNIAUX <florian@bruniaux.com>
2026-04-14 11:51:40 +02:00
aesoft 906dedd75a Merge remote-tracking branch 'origin/develop' into feat-hook-engine 2026-04-13 21:14:55 +02:00
aesoft 9e96caa0a1 Merge pull request #355 from KuSh/pnpx+dlx
feat(discover): handle more npm/npx/pnpm/pnpx patterns
2026-04-13 20:31:12 +02:00
aesoft a699357461 Merge pull request #1275 from rtk-ai/release-please--branches--master--components--rtk
chore(master): release 0.36.0
v0.36.0 dev-0.37.0-rc.155 dev-0.37.0-rc.154 dev-0.37.0-rc.153 dev-0.37.0-rc.152 dev-0.37.0-rc.151
2026-04-13 20:19:29 +02:00
github-actions[bot] efa8e86c19 chore(master): release 0.36.0 2026-04-13 17:55:56 +00:00
aesoft 314978cd78 Merge pull request #1052 from rtk-ai/develop
Next Release
2026-04-13 19:54:46 +02:00
Florian BRUNIAUX f2985ac5b4 Merge pull request #1217 from ousamabenyounes/fix/issue-1215 2026-04-13 10:30:10 +02:00
Florian BRUNIAUX 1436c2d6bb Merge pull request #1188 from ousamabenyounes/fix/git-push-u-flag-conflict-1086 2026-04-13 10:30:07 +02:00
Florian BRUNIAUX 8126a20824 Merge pull request #1200 from ousamabenyounes/fix/issue-1105 2026-04-13 10:30:04 +02:00
Florian BRUNIAUX e3a86a463b Merge pull request #1199 from ousamabenyounes/fix/issue-1101 2026-04-13 10:30:00 +02:00
Florian BRUNIAUX 9be5cc23f3 Merge pull request #1239 from KuSh/fix-pnpm-list 2026-04-13 10:29:57 +02:00
Florian BRUNIAUX b61f672ab8 Merge pull request #1227 from davidalecrim1/fix/cc-economics-hang 2026-04-13 10:29:55 +02:00
Florian BRUNIAUX 3223c76338 Merge pull request #1172 from iRonin/fix/curl-json-schema-values 2026-04-13 10:18:44 +02:00
Florian BRUNIAUX 60c8416c9e Merge pull request #1214 from rtk-ai/fix/permission-compound-allow-escalation 2026-04-13 10:18:41 +02:00
Florian BRUNIAUX 8f28a05917 Merge pull request #1173 from iRonin/fix/hook-auto-allow-bypass 2026-04-13 10:18:38 +02:00
Florian BRUNIAUX b41be60dd7 Merge pull request #1072 from rtk-ai/fix/tee-utf8-panic 2026-04-13 10:18:35 +02:00
Florian BRUNIAUX 0911bb788f Merge pull request #1067 from rtk-ai/fix/security-email 2026-04-13 10:18:32 +02:00
Florian BRUNIAUX e09a53e5f7 Merge pull request #1181 from rtk-ai/rgpd-telemetry 2026-04-13 09:26:46 +02:00
Florian BRUNIAUX 24875a2e0d Merge pull request #798 from mgierok/fix/golangci-lint-run-wrapper-develop 2026-04-13 09:26:16 +02:00
Florian BRUNIAUX a9e857e725 Merge pull request #1036 from s2005/feat/liquibase 2026-04-13 09:26:11 +02:00
Florian BRUNIAUX 4093d5c13d Merge pull request #1094 from rtk-ai/docs/windows-instructions 2026-04-13 09:26:05 +02:00
Florian BRUNIAUX 8735db5edd Merge pull request #1017 from rtk-ai/feat/skills-dirs-and-command-hints 2026-04-13 09:25:59 +02:00
Florian BRUNIAUX f86c1521cc Merge pull request #961 from chojs23/fix/invalid-gh-pr-status-json-field 2026-04-13 09:25:53 +02:00
Florian BRUNIAUX fadd46b6e4 Merge pull request #970 from zerone0x/fix/issue-968-hook-spawn-eagain 2026-04-13 09:25:48 +02:00
Florian BRUNIAUX 3606bce216 Merge pull request #940 from niklasmarderx/fix/yadm-support-567 2026-04-13 09:25:41 +02:00
Florian BRUNIAUX aa54613df8 Merge pull request #935 from Bortlesboat/fix/empty-pr-issue-list-output 2026-04-13 09:25:32 +02:00
Ousama Ben Younes 6b76fdb87d fix(git): remove -u short alias from --ultra-compact to fix git push -u
The global --ultra-compact flag used -u as its short form which caused
`rtk git push -u origin <branch>` to silently consume -u as ultra-compact
mode instead of forwarding it to git as --set-upstream. The push succeeded
but the upstream tracking branch was never written to .git/config, causing
subsequent plain `git push` calls to fail with "no upstream branch".

Fixes #1086

Generated by Claude Code
Vibe coded by ousamabenyounes

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-12 21:34:52 +00:00
Ousama Ben Younes 3db8070b51 fix(permissions): glob_matches middle-wildcard matches commands without trailing args (#1105)
When glob_matches processed a pattern like "git -C * diff:*" (normalized
to "git -C * diff *"), middle segment " diff " requires a trailing space
to match. For "git -C /path diff" the remaining text is "/path diff"
which ends with " diff" — no trailing space — so .find(" diff ") returned
None and the command was incorrectly rejected.

Fix: in the middle-segment branch, if the full substring search fails,
also check if the remaining text ends with the trimmed (right-stripped)
segment. This handles commands that terminate at the middle token with
no trailing arguments.

Add regression test covering the exact reproduction case from the issue.

Closes #1105

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:33:44 +00:00
Ousama Ben Younes dbeeaed16a fix(find): include hidden files when pattern targets dotfiles (#1101)
rtk find used WalkBuilder with .hidden(true), which skips ALL hidden
files and directories. As a result, `rtk find . -name ".claude.json"`
always returned "0 for '.claude.json'" even when the files existed.

Fix: detect when the -name pattern starts with a dot and set
.hidden(false) for that walk, so hidden entries are visited.
Non-dotfile patterns keep the default .hidden(true) behaviour.

Add regression tests covering both cases.

Closes #1101

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:33:44 +00:00