diff --git a/.claude/agents/technical-writer.md b/.claude/agents/technical-writer.md index f5341af46..4bcfeb440 100644 --- a/.claude/agents/technical-writer.md +++ b/.claude/agents/technical-writer.md @@ -141,9 +141,7 @@ rtk --version **Binary Download** (faster): ```bash -curl -sSL https://github.com/rtk-ai/rtk/releases/download/v0.16.0/rtk-linux-x86_64 -o rtk -chmod +x rtk -sudo mv rtk /usr/local/bin/ +curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh rtk --version ``` diff --git a/.claude/skills/ship/SKILL.md b/.claude/skills/ship/SKILL.md index 6ae7fc2ea..813af9c84 100644 --- a/.claude/skills/ship/SKILL.md +++ b/.claude/skills/ship/SKILL.md @@ -187,9 +187,9 @@ gh release view v0.17.0 ### 3. Installation Verification ```bash -# Test installation from release -curl -sSL https://github.com/rtk-ai/rtk/releases/download/v0.17.0/rtk-macos-latest -o rtk -chmod +x rtk +# Test installation from release (replace VERSION + ARCH as needed) +curl -sSL https://github.com/rtk-ai/rtk/releases/download/v0.17.0/rtk-aarch64-apple-darwin.tar.gz -o rtk.tar.gz +tar xzf rtk.tar.gz ./rtk --version # Should show v0.17.0 ``` diff --git a/.rtk/filters.toml b/.rtk/filters.toml index d9bd43fee..833c72175 100644 --- a/.rtk/filters.toml +++ b/.rtk/filters.toml @@ -1,6 +1,6 @@ # Project-local RTK filters — commit this file with your repo. # Filters here override user-global and built-in filters. -# Docs: https://github.com/rtk-ai/rtk#custom-filters +# Docs: https://github.com/rtk-ai/rtk/blob/HEAD/src/filters/README.md schema_version = 1 # Example: suppress build noise from a custom tool diff --git a/README.md b/README.md index a0db81d25..e0dce7957 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@

WebsiteInstall • - Troubleshooting • + TroubleshootingArchitectureDiscord

@@ -370,7 +370,7 @@ RTK supports 13 AI coding tools. Each integration rewrites shell commands to `rt | **Kilo Code** | `rtk init --agent kilocode` | .kilocode/rules/rtk-rules.md (project-scoped) | | **Google Antigravity** | `rtk init --agent antigravity` | .agents/rules/antigravity-rtk-rules.md (project-scoped) | -For per-agent setup details, override controls, and graceful degradation, see the [Supported Agents guide](https://www.rtk-ai.app/guide/getting-started/supported-agents). The Hermes plugin source and tests live in `hooks/hermes/`; installed Hermes runtime files still live under `~/.hermes/plugins/rtk-rewrite/`. +For per-agent setup details, override controls, and graceful degradation, see the [Supported Agents guide](https://www.rtk-ai.app/docs/getting-started/supported-agents/). The Hermes plugin source and tests live in `hooks/hermes/`; installed Hermes runtime files still live under `~/.hermes/plugins/rtk-rewrite/`. ## Configuration @@ -392,7 +392,7 @@ FAILED: 2/15 tests [full output: ~/.local/share/rtk/tee/1707753600_cargo_test.log] ``` -For the full config reference (all sections, env vars, per-project filters), see the [Configuration guide](https://www.rtk-ai.app/guide/getting-started/configuration). +For the full config reference (all sections, env vars, per-project filters), see the [Configuration guide](https://www.rtk-ai.app/docs/getting-started/configuration/). ### Uninstall @@ -404,7 +404,7 @@ brew uninstall rtk # If installed via Homebrew ## Documentation -- **[rtk-ai.app/guide](https://www.rtk-ai.app/guide)** — full user guide (installation, supported agents, what gets optimized, analytics, configuration, troubleshooting) +- **[rtk-ai.app/docs](https://www.rtk-ai.app/docs/)** — full user guide (installation, supported agents, what gets optimized, analytics, configuration, troubleshooting) - **[INSTALL.md](INSTALL.md)** — detailed installation reference - **[ARCHITECTURE.md](docs/contributing/ARCHITECTURE.md)** — system design and technical decisions - **[CONTRIBUTING.md](CONTRIBUTING.md)** — contribution guide diff --git a/docs/guide/index.md b/docs/guide/index.md index 44e82095d..540da02bb 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -62,4 +62,4 @@ See [Discover and Session](./analytics/discover.md) for details. - [Configuration](./getting-started/configuration.md) — config.toml, global flags, env vars, tee recovery - [Troubleshooting](./resources/troubleshooting.md) — common issues and fixes - [Telemetry & Privacy](./resources/telemetry.md) — what RTK collects and how to opt out -- [ARCHITECTURE.md](https://github.com/rtk-ai/rtk/blob/master/ARCHITECTURE.md) — system design for contributors +- [ARCHITECTURE.md](https://github.com/rtk-ai/rtk/blob/HEAD/docs/contributing/ARCHITECTURE.md) — system design for contributors diff --git a/scripts/check-installation.sh b/scripts/check-installation.sh index e7a56fb7a..33d2a3eaa 100755 --- a/scripts/check-installation.sh +++ b/scripts/check-installation.sh @@ -24,7 +24,7 @@ else echo -e " ${RED}❌ RTK is NOT installed${NC}" echo "" echo " Install with:" - echo " curl -fsSL https://github.com/rtk-ai/rtk/blob/master/install.sh| sh" + echo " curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh" exit 1 fi echo "" @@ -45,7 +45,7 @@ else echo "" echo " You installed the wrong package. Fix it with:" echo " cargo uninstall rtk" - echo " curl -fsSL https://github.com/rtk-ai/rtk/blob/master/install.sh | sh" + echo " curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh" CORRECT_RTK=false fi echo "" @@ -142,7 +142,7 @@ if [ ${#MISSING_FEATURES[@]} -gt 0 ]; then echo "" echo "To get all features, install the fork:" echo " cargo uninstall rtk" - echo " curl -fsSL https://github.com/rtk-ai/rtk/blob/master/install.sh | sh" + echo " curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh" echo " cd rtk && git checkout feat/all-features" echo " cargo install --path . --force" else diff --git a/src/hooks/init.rs b/src/hooks/init.rs index 21da7c748..c939f3451 100644 --- a/src/hooks/init.rs +++ b/src/hooks/init.rs @@ -29,7 +29,7 @@ const RTK_SLIM_CODEX: &str = include_str!("../../hooks/codex/rtk-awareness.md"); /// Template written by `rtk init` when no filters.toml exists yet. const FILTERS_TEMPLATE: &str = r#"# Project-local RTK filters — commit this file with your repo. # Filters here override user-global and built-in filters. -# Docs: https://github.com/rtk-ai/rtk#custom-filters +# Docs: https://github.com/rtk-ai/rtk/blob/HEAD/src/filters/README.md schema_version = 1 # Example: suppress build noise from a custom tool @@ -45,7 +45,7 @@ schema_version = 1 /// Template for user-global filters (~/.config/rtk/filters.toml). const FILTERS_GLOBAL_TEMPLATE: &str = r#"# User-global RTK filters — apply to all your projects. # Project-local .rtk/filters.toml takes precedence over these. -# Docs: https://github.com/rtk-ai/rtk#custom-filters +# Docs: https://github.com/rtk-ai/rtk/blob/HEAD/src/filters/README.md schema_version = 1 # Example: suppress noise from a tool you use everywhere