Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkgs/rtk-ai/rtk/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
packages:
- name: rtk-ai/rtk@v0.24.0
- name: rtk-ai/rtk
version: v0.22.2
- name: rtk-ai/rtk
version: v0.12.0
- name: rtk-ai/rtk
version: v0.9.4

@coderabbitai coderabbitai Bot Mar 5, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add a newline at the end of the file.

As per coding guidelines, all files must end with a newline character.

📝 Proposed fix
   - name: rtk-ai/rtk
     version: v0.9.4
+
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
version: v0.9.4
version: v0.9.4
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pkgs/rtk-ai/rtk/pkg.yaml` at line 8, The file ends without a terminating
newline; update pkgs/rtk-ai/rtk/pkg.yaml by ensuring there is a trailing newline
after the final line (the "version: v0.9.4" entry) so the file ends with a
newline character per repository coding guidelines.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. The last line ends with a newline character.
So there is no problem.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@suzuki-shunsuke, you're right — I apologize for the false positive. If the file already ends with a newline character, there is no issue here. I'll disregard this comment.


🧠 Learnings used
Learnt from: CR
Repo: aquaproj/aqua-registry PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2026-02-26T14:18:35.887Z
Learning: Applies to pkgs/**/pkg.yaml : In `pkgs/**/pkg.yaml`, the `packages` field must not be empty

Learnt from: CR
Repo: aquaproj/aqua-registry PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2026-02-26T14:18:35.887Z
Learning: Applies to pkgs/**/pkg.yaml : In `pkgs/**/pkg.yaml`, don't use the short syntax `<package name>@<version>` for old versions to prevent aqua-registry-updater from updating them

Learnt from: CR
Repo: aquaproj/aqua-registry PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2026-02-26T14:18:35.887Z
Learning: Applies to pkgs/**/pkg.yaml : In `pkgs/**/pkg.yaml`, test multiple versions if the package has `version_overrides` field, including both latest and old versions

Learnt from: CR
Repo: aquaproj/aqua-registry PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2026-02-26T14:18:35.887Z
Learning: Applies to pkgs/**/registry.yaml : Select package `type` in registry.yaml according to priority order: github_release, github_content, github_archive, http, go_install, go_build

Learnt from: CR
Repo: aquaproj/aqua-registry PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2026-02-26T14:18:35.887Z
Learning: Applies to **/* : Add a newline at the end of all files

Learnt from: CR
Repo: aquaproj/aqua-registry PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2026-02-26T14:18:35.887Z
Learning: Applies to pkgs/**/registry.yaml : Use new style `version_constraint` and `version_overrides` with semantic versioning and root constraint of 'false', ending with 'true' for latest version

87 changes: 87 additions & 0 deletions pkgs/rtk-ai/rtk/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json
packages:
- type: github_release
repo_owner: rtk-ai
repo_name: rtk
description: CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
version_constraint: "false"
version_overrides:
- version_constraint: Version in ["v0.4.0", "v0.6.0", "v0.8.0", "v0.13.0"]
no_asset: true
- version_constraint: Version == "v0.12.0"
asset: rtk-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
linux: unknown-linux-gnu
windows: pc-windows-msvc
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: semver("<= 0.9.4")
asset: rtk-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
linux: unknown-linux-gnu
windows: pc-windows-msvc
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: semver("<= 0.11.0")
no_asset: true
- version_constraint: semver("<= 0.22.2")
asset: rtk-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
linux: unknown-linux-gnu
windows: pc-windows-msvc
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: "true"
asset: rtk-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
windows: pc-windows-msvc
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-musl
- goos: linux
goarch: arm64
replacements:
linux: unknown-linux-gnu
- goos: windows
format: zip
85 changes: 85 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.