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
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ Before running any Unity command, ensure `unity-cli` is available:

```bash
if ! command -v unity-cli >/dev/null 2>&1; then
if command -v cargo >/dev/null 2>&1; then
cargo install unity-cli
hash -r
elif [ -f Cargo.toml ] && grep -q '^name = "unity-cli"' Cargo.toml; then
if [ -f Cargo.toml ] && grep -q '^name = "unity-cli"' Cargo.toml; then
echo "unity-cli is not installed globally. Use: cargo run -- <args>"
else
echo "Install Rust first: https://rustup.rs"
echo "unity-cli is not installed."
echo "Install a release binary from https://github.com/akiojin/unity-cli/releases"
echo "or clone the repo and run: cargo install --path ."
exit 1
fi
fi
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
- `dotnet test lsp/Server.Tests.csproj`
- `cargo llvm-cov` (Rust coverage gate, line >= 90%)
- `dotnet test ... /p:CollectCoverage=true` (LSP coverage gate, line >= 90%)
- `unity-cli-release.yml`
- triggers on `v*` tag
- builds release binaries for Linux/macOS/Windows
- `release.yml`
- runs after `chore(release):` pushes to `main` or manual dispatch
- creates the release tag, builds release binaries for Linux/macOS/Windows
- publishes GitHub Release assets
- `specs-readme.yml`
- verifies `specs/specs.md` is in sync with Spec Kit
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ jobs:
lsp-perf:
name: LSP Performance (required)
runs-on: ubuntu-latest
if: >-
!(
github.event_name == 'push'
&& github.ref == 'refs/heads/main'
&& contains(github.event.head_commit.message, 'chore(release):')
)
steps:
- uses: actions/checkout@v6

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [0.2.4] - 2026-03-06

### 🐛 Bug Fixes

- *(ci)* Skip lsp-perf job on release commits to avoid 404 race condition
- *(release)* Publish crate and align install docs
## [0.2.3] - 2026-03-05

### 🚀 Features
Expand Down
6 changes: 3 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ dotnet test lsp/Server.Tests.csproj

## リリース

- バージョン同期: `node scripts/release/update-versions.mjs <X.Y.Z>`
- リリース実行: `./scripts/publish.sh <major|minor|patch>`
- タグ: `vX.Y.Z`
- GitHub Actions: `.github/workflows/unity-cli-release.yml`
- crates.io 公開: `cargo publish`
- GitHub Actions: `.github/workflows/release.yml`
- crates.io 公開: `scripts/publish.sh` が `cargo publish` を実行

## 主要ディレクトリ

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unity-cli"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
description = "Rust CLI for Unity Editor automation over the Unity TCP protocol"
readme = "README.md"
Expand Down
11 changes: 9 additions & 2 deletions README.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Installieren Sie das `unity-cli` Plugin aus dem Claude Code Marketplace:
/plugin marketplace add akiojin/unity-cli
```

Wenn `cargo` verfugbar ist, kann das Plugin Setup `unity-cli` automatisch installieren oder aktualisieren.
Das Marketplace Plugin installiert nur Skills. Installieren Sie das
`unity-cli` Binary separat mit einer der manuellen Optionen unten.

### Codex Skills

Expand All @@ -41,8 +42,14 @@ Es ist keine zusatzliche Einrichtung erforderlich — klonen Sie einfach das Rep

### Manuelle Installation

Laden Sie das neueste Binary von [GitHub
Releases](https://github.com/akiojin/unity-cli/releases) herunter oder
installieren Sie es aus einem lokalen Checkout:

```bash
cargo install unity-cli
git clone https://github.com/akiojin/unity-cli.git
cd unity-cli
cargo install --path .
```

UPM Paket URL auf Unity Seite:
Expand Down
11 changes: 9 additions & 2 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Instala el plugin `unity-cli` desde Claude Code Marketplace:
/plugin marketplace add akiojin/unity-cli
```

Si `cargo` esta disponible, la configuracion del plugin puede instalar o actualizar `unity-cli` automaticamente.
El plugin del Marketplace instala solo los skills. Instala el binario
`unity-cli` por separado con una de las opciones manuales de abajo.

### Codex Skills

Expand All @@ -41,8 +42,14 @@ No se requiere configuracion adicional — solo clona el repositorio.

### Instalacion manual

Descarga el binario mas reciente desde [GitHub
Releases](https://github.com/akiojin/unity-cli/releases), o instalalo desde
un clon local:

```bash
cargo install unity-cli
git clone https://github.com/akiojin/unity-cli.git
cd unity-cli
cargo install --path .
```

URL del paquete UPM para Unity:
Expand Down
11 changes: 9 additions & 2 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Installez le plugin `unity-cli` depuis la Marketplace de Claude Code:
/plugin marketplace add akiojin/unity-cli
```

Si `cargo` est disponible, l installation du plugin peut installer ou mettre a jour automatiquement `unity-cli`.
Le plugin Marketplace installe uniquement les skills. Installez le binaire
`unity-cli` separement avec l une des options manuelles ci-dessous.

### Codex Skills

Expand All @@ -41,8 +42,14 @@ Aucune configuration supplementaire n est necessaire — il suffit de cloner le

### Installation manuelle

Telechargez le dernier binaire depuis [GitHub
Releases](https://github.com/akiojin/unity-cli/releases), ou installez-le
depuis un clone local:

```bash
cargo install unity-cli
git clone https://github.com/akiojin/unity-cli.git
cd unity-cli
cargo install --path .
```

URL du package UPM cote Unity:
Expand Down
11 changes: 9 additions & 2 deletions README.it.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Installa il plugin `unity-cli` dal Claude Code Marketplace:
/plugin marketplace add akiojin/unity-cli
```

Se `cargo` e disponibile, il setup del plugin puo installare o aggiornare automaticamente `unity-cli`.
Il plugin del Marketplace installa solo gli skill. Installa il binario
`unity-cli` separatamente con una delle opzioni manuali qui sotto.

### Codex Skills

Expand All @@ -41,8 +42,14 @@ Non e necessaria alcuna configurazione aggiuntiva — basta clonare il repositor

### Installazione manuale

Scarica il binary piu recente da [GitHub
Releases](https://github.com/akiojin/unity-cli/releases), oppure installalo da
un clone locale:

```bash
cargo install unity-cli
git clone https://github.com/akiojin/unity-cli.git
cd unity-cli
cargo install --path .
```

URL del pacchetto UPM lato Unity:
Expand Down
11 changes: 9 additions & 2 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Claude Code Marketplace から `unity-cli` プラグインをインストール
/plugin marketplace add akiojin/unity-cli
```

`cargo` が利用可能な環境では、プラグインセットアップ時に `unity-cli` を自動インストールまたは更新できます。
Marketplace プラグインがインストールするのはスキルのみです。
`unity-cli` バイナリ自体は、以下の手動手順のいずれかで別途導入してください。

### Codex スキル

Expand All @@ -41,8 +42,14 @@ Codex でこのリポジトリを利用する場合、`.codex/skills/` にスキ

### 手動インストール

最新バイナリは [GitHub
Releases](https://github.com/akiojin/unity-cli/releases) から取得できます。
Cargo を使う場合は、ローカル clone からインストールしてください:

```bash
cargo install unity-cli
git clone https://github.com/akiojin/unity-cli.git
cd unity-cli
cargo install --path .
```

Unity 側 UPM パッケージ URL:
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Install the `unity-cli` plugin from Claude Code Marketplace:
/plugin marketplace add akiojin/unity-cli
```

When `cargo` is available, plugin setup can install or update `unity-cli` automatically.
The marketplace plugin installs skills only. Install the `unity-cli` binary
separately using one of the manual options below.

### Codex Skills

Expand All @@ -41,8 +42,14 @@ No additional setup is required — just clone the repository.

### Manual Install

Download the latest binary from [GitHub
Releases](https://github.com/akiojin/unity-cli/releases), or install from a
local checkout:

```bash
cargo install unity-cli
git clone https://github.com/akiojin/unity-cli.git
cd unity-cli
cargo install --path .
```

Unity-side UPM package URL:
Expand Down
9 changes: 7 additions & 2 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Claude Code
/plugin marketplace add akiojin/unity-cli
```

如果环境中可用 `cargo`,插件安装流程可自动安装或更新 `unity-cli`。
Marketplace 插件只会安装 skills。`unity-cli` 二进制本体需要使用下面的手动方式之一单独安装

### Codex Skills

Expand All @@ -41,8 +41,13 @@ Claude Code

### 手动安装

可以从 [GitHub Releases](https://github.com/akiojin/unity-cli/releases)
下载最新二进制,或者从本地 clone 安装:

```bash
cargo install unity-cli
git clone https://github.com/akiojin/unity-cli.git
cd unity-cli
cargo install --path .
```

Unity 侧 UPM 包 URL:
Expand Down
Loading
Loading