From e59ce64eae5de21d5a6605e1c8ae6014d60d396e Mon Sep 17 00:00:00 2001 From: megaproxy Date: Fri, 10 Jul 2026 22:13:26 +0100 Subject: [PATCH] Consolidate onto F:\jankenstein; seed Unity MCP config + runbook, Unity .gitignore/.gitattributes --- .gitattributes | 29 ++++++++++++++++++ .gitignore | 76 +++++++++++++++++++++++++++++++++-------------- .mcp.json.example | 8 +++++ 3 files changed, 91 insertions(+), 22 deletions(-) create mode 100644 .gitattributes create mode 100644 .mcp.json.example diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ff623c8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,29 @@ +# Normalize line endings; Unity is happiest with LF for its YAML text assets. +* text=auto eol=lf +*.cs text diff=csharp eol=lf + +# Unity YAML text assets — mergeable with UnityYAMLMerge +*.unity merge=unityyamlmerge eol=lf +*.prefab merge=unityyamlmerge eol=lf +*.asset merge=unityyamlmerge eol=lf +*.meta merge=unityyamlmerge eol=lf +*.mat merge=unityyamlmerge eol=lf +*.anim merge=unityyamlmerge eol=lf +*.controller merge=unityyamlmerge eol=lf + +# Common binary asset types (mark binary so git doesn't mangle them) +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.psd binary +*.fbx binary +*.obj binary +*.wav binary +*.mp3 binary +*.ogg binary +*.dll binary +*.a binary +*.so binary + +# NOTE: no Git LFS yet. Add it (and move large binaries to LFS) once real art/audio lands. diff --git a/.gitignore b/.gitignore index 4e649ae..631f2a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# Secrets — never commit +# ---- Secrets — never commit ---- .env .env.* !.env.example @@ -11,32 +11,64 @@ credentials/ .aws/ .ssh/ -# Dependencies / build artifacts +# ---- Unity ---- +# Generated / cache folders (must not be committed) +[Ll]ibrary/ +[Tt]emp/ +[Oo]bj/ +[Bb]uild/ +[Bb]uilds/ +[Ll]ogs/ +[Uu]ser[Ss]ettings/ +[Mm]emoryCaptures/ +[Rr]ecordings/ +.consulo/ +# Asset meta data should only be ignored when the corresponding asset is also ignored +!/[Aa]ssets/**/*.meta +# Unity3D-generated IDE/solution files +*.csproj +*.unityproj +*.sln +*.suo +*.tmp +*.user +*.userprefs +*.pidb +*.booproj +*.svd +*.pdb +*.mdb +*.opendb +*.VC.db +# Unity3D build/crash files +sysinfo.txt +*.apk +*.aab +*.unitypackage +*.app +crashlytics-build.properties +# Visual Studio / Rider +.vs/ +.idea/ +ExportedObj/ +.gradle/ + +# ---- Editor / OS noise ---- +.DS_Store +Thumbs.db +.vscode/ +*.swp +*.swo + +# ---- Claude local settings (per-machine) ---- +.claude/settings.local.json + +# ---- Misc dependencies / build artifacts (non-Unity tooling) ---- node_modules/ __pycache__/ *.py[cod] .venv/ venv/ -env/ dist/ -build/ -target/ -*.egg-info/ - -# Editor / OS noise -.DS_Store -Thumbs.db -.vscode/ -.idea/ -*.swp -*.swo - -# Logs / caches *.log .cache/ -.pytest_cache/ -.mypy_cache/ -.ruff_cache/ -coverage/ -.coverage -.nyc_output/ diff --git a/.mcp.json.example b/.mcp.json.example new file mode 100644 index 0000000..7d9d2a2 --- /dev/null +++ b/.mcp.json.example @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "unity": { + "type": "http", + "url": "http://:8080/mcp" + } + } +}