diff --git a/README.md b/README.md index 00a8ef54..b38083b6 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ OSに依存しにくい開発CLI/runtimeは一度だけ宣言する。 - GitHub CLI / Infisical CLI - Claude Code / Codex / OpenCode / Devin - Worktrunk / Herdr +- res (Device Resource Utility) - Open Code Review / npkill / cargo-clean-all - ripgrep / fd / fzf / jq / bat / gdu - ShellCheck / Neovim diff --git a/mise.global.lock b/mise.global.lock index 6380f2a9..4b82bfe6 100644 --- a/mise.global.lock +++ b/mise.global.lock @@ -165,6 +165,11 @@ version = "22.1.5" backend = "cargo:cargo-update" specifiers = ["latest"] +[[tools."cargo:device-resource-utility"]] +version = "0.1.1" +backend = "cargo:device-resource-utility" +specifiers = ["latest"] + [[tools."cargo:just"]] version = "1.59.0" backend = "cargo:just" diff --git a/mise.global.toml b/mise.global.toml index 2781b069..6ac43336 100644 --- a/mise.global.toml +++ b/mise.global.toml @@ -70,6 +70,9 @@ herdr = { version = "latest", os = ["linux", "macos"] } # `crate` names the crate because the rtk repository holds more than one. "cargo:rtk-ai/rtk" = { version = "tag:v0.42.4", crate = "rtk", depends = ["rust"], os = ["windows"] } "cargo:rust-mcp-stack/rust-mcp-filesystem" = { version = "tag:v0.4.2", depends = ["rust"], os = ["windows"] } +# res (Device Resource Utility): the crates.io package is +# `device-resource-utility`; it provides the `res` CLI on every OS. +"cargo:device-resource-utility" = { version = "latest", depends = ["rust"] } ripgrep = "latest" fd = "latest" diff --git a/platforms/nixos/verify.sh b/platforms/nixos/verify.sh index b7e02fb2..4b923bdf 100755 --- a/platforms/nixos/verify.sh +++ b/platforms/nixos/verify.sh @@ -82,6 +82,7 @@ commands=( claude opencode devin + res wt herdr npkill diff --git a/platforms/ubuntu-wsl/verify.sh b/platforms/ubuntu-wsl/verify.sh index 3b51a551..5b4b54dd 100755 --- a/platforms/ubuntu-wsl/verify.sh +++ b/platforms/ubuntu-wsl/verify.sh @@ -56,6 +56,7 @@ snapshot() { printf 'opencode=%s\n' "$(first_line opencode --version)" printf 'rex=%s\n' "$(first_line rex version)" printf 'devin=%s\n' "$(first_line devin --version)" + printf 'res=%s\n' "$(first_line res --version)" printf 'shellcheck=%s\n' "$(first_line shellcheck --version)" printf 'python=%s\n' "$(first_line python3 --version)" printf 'cmake=%s\n' "$(first_line cmake --version)" @@ -63,7 +64,7 @@ snapshot() { } if [[ "$SNAPSHOT" -eq 1 ]]; then - required=(git gh rg fd fzf jq bat gdu bun rustc cargo wt claude opencode rex devin shellcheck python3 cmake clang) + required=(git gh rg fd fzf jq bat gdu bun rustc cargo wt claude opencode rex devin res shellcheck python3 cmake clang) for cmd in "${required[@]}"; do if ! command -v "$cmd" >/dev/null 2>&1; then printf 'Cannot create complete snapshot: missing command %s\n' "$cmd" >&2 @@ -157,6 +158,7 @@ commands=( opencode rex devin + res shellcheck python3 cmake