Skip to content

chore: migrate dev tooling from UniCli to the official Unity CLI#149

Merged
VPDPersonal merged 2 commits into
mainfrom
chore/migrate-unicli-to-unity-cli
Jul 21, 2026
Merged

chore: migrate dev tooling from UniCli to the official Unity CLI#149
VPDPersonal merged 2 commits into
mainfrom
chore/migrate-unicli-to-unity-cli

Conversation

@VPDPersonal

Copy link
Copy Markdown
Owner

Summary

  • 🔧 Replace the third-party com.yucchiy.unicli-server UPM package with the official com.unity.pipeline 0.3.1-exp.1 — the live-Editor bridge for the new Unity CLI (eval, console logs, screenshots, test runner, package ops)
  • 🔧 Drop the unicli Claude Code plugin and marketplace from .claude/settings.json
  • ✨ Add a dev-only sr_gate CLI command (unity command sr_gate --scope missing|required|full) wrapping the SerializeReference gate scanner: runs in the live Editor and returns violations as structured JSON, no batchmode relaunch needed
  • 🔧 New editor-only assembly Aspid.FastTools.DevTests.CliCommands.Editor under Assets/DevTests/; package internals exposed to it via InternalsVisibleTo

Notes for review

  • ⚠️ com.unity.pipeline is experimental; the command lives in Assets/DevTests/ on purpose — nothing ships to package users and the package itself gains no dependency on it
  • ✅ Verified live: eval / logs / screenshots / run_tests (310/310 passed), sr_gate finds the two known Required violations in RequiredViolationsDevTest.prefab and honors --warn_only / --fail severity overrides
🇷🇺 Описание на русском

Кратко

  • 🔧 Сторонний UPM-пакет com.yucchiy.unicli-server заменён официальным com.unity.pipeline 0.3.1-exp.1 — мост в живой редактор для нового Unity CLI (eval, логи консоли, скриншоты, тест-раннер, операции с пакетами)
  • 🔧 Из .claude/settings.json убраны плагин и marketplace unicli
  • ✨ Добавлена dev-команда sr_gate (unity command sr_gate --scope missing|required|full) — обёртка над сканером SerializeReference-гейта: работает в живом редакторе и возвращает нарушения структурированным JSON без batchmode-перезапуска
  • 🔧 Новая editor-only сборка Aspid.FastTools.DevTests.CliCommands.Editor в Assets/DevTests/; internals пакета открыты ей через InternalsVisibleTo

Заметки для ревью

  • ⚠️ com.unity.pipeline — экспериментальный; команда сознательно живёт в Assets/DevTests/ — пользователям пакета ничего не уезжает, у самого пакета зависимости не появляется
  • ✅ Проверено вживую: eval / логи / скриншоты / run_tests (310/310), sr_gate находит два известных Required-нарушения в RequiredViolationsDevTest.prefab и уважает переопределения severity --warn_only / --fail

🤖 Generated with Claude Code

https://claude.ai/code/session_01B1JLXgHBRVUtJJquu1RnCm

VPDPersonal and others added 2 commits July 22, 2026 00:13
- replace com.yucchiy.unicli-server with com.unity.pipeline 0.3.1-exp.1 in the Unity project manifest
- drop the unicli Claude Code plugin and marketplace from project settings

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1JLXgHBRVUtJJquu1RnCm
…eference gate scanner

- new dev-only editor assembly under Assets/DevTests/CliCommands referencing Unity.Pipeline
- sr_gate runs the gate scan (missing | required | full) in the live Editor and returns structured JSON, no batchmode relaunch needed
- expose package internals to the new assembly via InternalsVisibleTo

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1JLXgHBRVUtJJquu1RnCm
@VPDPersonal VPDPersonal added type: chore Maintenance, version bumps, tooling status: needs-review Ready for review area: editor Editor-only code area: claude Claude Code automation (.claude/ skills, agents, hooks) labels Jul 21, 2026
@VPDPersonal
VPDPersonal merged commit 13d1279 into main Jul 21, 2026
3 checks passed
@VPDPersonal
VPDPersonal deleted the chore/migrate-unicli-to-unity-cli branch July 21, 2026 21:18
@github-actions github-actions Bot removed the status: needs-review Ready for review label Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: claude Claude Code automation (.claude/ skills, agents, hooks) area: editor Editor-only code type: chore Maintenance, version bumps, tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant