Skip to content

chore(release): v0.4.0#112

Merged
akiojin merged 5 commits into
mainfrom
develop
Mar 11, 2026
Merged

chore(release): v0.4.0#112
akiojin merged 5 commits into
mainfrom
develop

Conversation

@akiojin

@akiojin akiojin commented Mar 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add managed daemon auto-update feature for unityd and lspd
  • Align all Unity skills documentation with Anthropic guidance

Changes

  • feat(auto-update): Add managed daemon auto-update — daemons can now detect and apply updates automatically
  • docs(skills): Align unity skills with Anthropic guidance — updated all 14 skill definitions with reference documents and improved descriptions

Version

v0.4.0

Closing Issues

None

🤖 Generated with Claude Code

Summary by CodeRabbit

リリースノート

  • 新機能

    • マネージドバイナリのメンテナンスコマンドを追加(cli installcli doctor
    • デーモン起動時の自動更新機能を実装
  • ドキュメント

    • 13のスキルについて詳細なガイダンスセクションを追加
    • 各スキルに推奨ワークフロー、使用例、よくある問題を記載
    • 複数の参考資料ドキュメントを追加し、安全な操作方法を記述

akiojin and others added 5 commits March 10, 2026 20:50
@akiojin akiojin added the release Release PR label Mar 11, 2026
@akiojin
akiojin merged commit e55f826 into main Mar 11, 2026
20 of 23 checks passed
@coderabbitai

coderabbitai Bot commented Mar 11, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 40de8827-1083-4844-8647-fa47a55b5321

📥 Commits

Reviewing files that changed from the base of the PR and between 2b055dd and d405d0c.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (45)
  • .claude-plugin/marketplace.json
  • .claude-plugin/plugins/unity-cli/plugin.json
  • .claude-plugin/plugins/unity-cli/skills/gh-skills-sync/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/gh-skills-sync/references/sync-behavior.md
  • .claude-plugin/plugins/unity-cli/skills/unity-addressables/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-addressables/references/addressables-build-loop.md
  • .claude-plugin/plugins/unity-cli/skills/unity-asset-management/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-asset-management/references/asset-safety.md
  • .claude-plugin/plugins/unity-cli/skills/unity-cli-usage/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-cli-usage/references/runtime-checklist.md
  • .claude-plugin/plugins/unity-cli/skills/unity-csharp-edit/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-csharp-edit/references/lsp-write-safety.md
  • .claude-plugin/plugins/unity-cli/skills/unity-csharp-navigate/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-csharp-navigate/references/code-search-playbook.md
  • .claude-plugin/plugins/unity-cli/skills/unity-editor-tools/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-editor-tools/references/editor-ops-checklist.md
  • .claude-plugin/plugins/unity-cli/skills/unity-gameobject-edit/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-gameobject-edit/references/component-edit-safety.md
  • .claude-plugin/plugins/unity-cli/skills/unity-input-system/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-input-system/references/input-actions-playbook.md
  • .claude-plugin/plugins/unity-cli/skills/unity-playmode-testing/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-playmode-testing/references/playmode-test-loop.md
  • .claude-plugin/plugins/unity-cli/skills/unity-prefab-workflow/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-prefab-workflow/references/prefab-edit-mode.md
  • .claude-plugin/plugins/unity-cli/skills/unity-scene-create/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-scene-create/references/scene-bootstrap-patterns.md
  • .claude-plugin/plugins/unity-cli/skills/unity-scene-inspect/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-scene-inspect/references/scene-inspection-playbook.md
  • .claude-plugin/plugins/unity-cli/skills/unity-ui-automation/SKILL.md
  • .claude-plugin/plugins/unity-cli/skills/unity-ui-automation/references/ui-test-flow.md
  • .github/workflows/release.yml
  • CHANGELOG.md
  • Cargo.toml
  • README.ja.md
  • README.md
  • RELEASE.md
  • UnityCliBridge/Packages/unity-cli-bridge/package.json
  • docs/tools.md
  • package.json
  • src/cli.rs
  • src/lsp.rs
  • src/lsp_manager.rs
  • src/lspd.rs
  • src/main.rs
  • src/unityd.rs

ウォークスルー

プラグインスキルのドキュメント拡張、マネージドバイナリの自動管理機能の実装、CLI コマンド (cli install/cli doctor) の追加、リリースワークフローの多バイナリマニフェスト生成対応、バージョン 0.3.0 から 0.4.0 へのバンプが含まれます。

変更内容

コホート / ファイル(s) 概要
スキルドキュメント拡張
.claude-plugin/plugins/unity-cli/skills/*/SKILL.md, .claude-plugin/plugins/unity-cli/skills/*/references/*
各スキル(gh-skills-sync、unity-addressables、unity-asset-management、unity-cli-usage、unity-csharp-edit、unity-csharp-navigate、unity-editor-tools、unity-gameobject-edit、unity-input-system、unity-playmode-testing、unity-prefab-workflow、unity-scene-create、unity-scene-inspect、unity-ui-automation)に対し、拡張説明、メタデータブロック(著者・バージョン・カテゴリ)、Use When/Do Not Use When セクション、推奨フロー、コマンド例、一般的な問題ガイドを追加。新規参照ドキュメントで詳細な手順と安全性ガイドラインを提供。
マネージドバイナリ管理インフラ
src/lsp_manager.rs
ManagedBinary 列挙型、ManagedBinaryStatus 構造体を導入。cli_install_latest()cli_doctor()cli_status()lsp_status() などの新規公開 API を追加。複数バイナリに対応した RID 別マニフェスト取得と検証ロジックを実装。
CLI コマンド・ダイアウトディスパッチ
src/cli.rs, src/main.rs
新規 CliCommand 列挙型(Install、Doctor サブコマンド)を追加。main.rs でハンドリングを実装。
デーモン・マネージドバイナリ統合
src/lspd.rs, src/unityd.rs, src/lsp.rs
append_managed_status()daemon_command_path() ヘルパーを追加。デーモン起動時にマネージドバイナリの最新化を実行。ステータスレスポンスにバイナリ情報(daemonBinaryPath、localVersion、latest など)を追加。テスト環境での自動更新をスキップするガード機構を導入。
リリースワークフロー・マニフェスト生成
.github/workflows/release.yml, RELEASE.md
generate_manifest(prefix, output) シェル関数を導入。unity-cli-manifest.jsoncsharp-lsp-manifest.json の両方を生成。リリース成果物に両方のマニフェストを含める。
ドキュメント・バージョン更新
README.md, README.ja.md, CHANGELOG.md, docs/tools.md, Cargo.toml, package.json, UnityCliBridge/Packages/unity-cli-bridge/package.json
バージョンを 0.3.0 から 0.4.0 にバンプ。CHANGELOG に 0.4.0 エントリ(マネージドデーモンの自動更新、スキルドキュメント整備)を追加。cli installcli doctor コマンドと管理バイナリメンテナンスに関する説明を README とドキュメントに追加。

シーケンス図

sequenceDiagram
    participant User as ユーザー/CLI
    participant Main as main.rs
    participant LSPMgr as lsp_manager.rs
    participant Release as リリースシステム
    participant Daemon as Daemon

    User->>Main: unity-cli cli install --force
    Main->>LSPMgr: cli_install_latest(force=true)
    LSPMgr->>Release: fetch_latest_release()
    Release-->>LSPMgr: LatestRelease {sha256, url}
    LSPMgr->>LSPMgr: download_latest_binary()
    LSPMgr->>LSPMgr: verify_sha256()
    LSPMgr->>LSPMgr: write_local_version_for()
    LSPMgr-->>Main: Result<Value>
    Main-->>User: install完了

    User->>Main: daemon起動
    Main->>Daemon: start_background()
    Daemon->>LSPMgr: ensure_latest_lsp_for_daemon()
    LSPMgr->>Release: fetch_latest_release_for_repo()
    Release-->>LSPMgr: LatestRelease
    LSPMgr->>LSPMgr: check_version()
    alt バージョン更新が必要
        LSPMgr->>LSPMgr: download_latest_binary()
        LSPMgr->>LSPMgr: verify & write_version()
    end
    LSPMgr-->>Daemon: ManagedBinaryStatus
    Daemon->>Daemon: spawn lspd
    Daemon-->>User: ready
Loading

推定コードレビュー工数

🎯 4 (複雑) | ⏱️ ~60 分

関連する可能性のある PR

🐰 ウサギより愛をこめて

マネージドバイナリをそっと更新し
スキルたちは花咲く説明書に
CLI はふたつのコマンドで装う
デーモンは起動時に整えて
リリースは多くの宝を抱きしめる ✨

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot mentioned this pull request Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Release PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant