Skip to content
Merged
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
a3ead02
docs: Add codebase overview and comprehensive refactor plan
dsarno Jan 27, 2026
c1c0c30
More stuff for cleanup
dsarno Jan 27, 2026
13d85bb
docs: Document null parameter handling inconsistency and test validat…
dsarno Jan 27, 2026
7a2a95f
fix: Prevent characterization tests from mutating editor state
dsarno Jan 27, 2026
6278420
docs: Mark characterization test validation complete
dsarno Jan 27, 2026
3481bb1
fix: Mark StopLocalHttpServer test as Explicit - kills MCP connection
dsarno Jan 27, 2026
a4f2df4
docs: Update progress with complete characterization test validation
dsarno Jan 27, 2026
ac531f6
test: Add 29 Windows/UI domain characterization tests
dsarno Jan 27, 2026
ae443c8
docs: Update progress with Windows characterization tests complete
dsarno Jan 27, 2026
4f386e6
test: Add 53 Models domain characterization tests
dsarno Jan 27, 2026
2895789
docs: Update progress with Models tests complete and bug documentation
dsarno Jan 27, 2026
e90453f
feat: Add pagination and filtering to tests resource
dsarno Jan 27, 2026
2fe83b0
fix: Simplify tests resource to work with fastmcp URI constraints
dsarno Jan 27, 2026
0282d23
docs: Complete pre-refactor utility audit
dsarno Jan 27, 2026
b80488c
refactor: QW-1 Delete dead code
dsarno Jan 27, 2026
497d48b
docs: Update progress with QW-1 complete
dsarno Jan 27, 2026
2e6d6d4
refactor: QW-2 Create JSON parser utility
dsarno Jan 27, 2026
9aaa7cd
docs: Update progress with QW-2 complete
dsarno Jan 27, 2026
514f420
refactor: QW-3 Patch in AssetPathUtility for path normalization
dsarno Jan 27, 2026
0718f3c
docs: Update progress with QW-3 complete
dsarno Jan 27, 2026
2b9e7c4
refactor: QW-4 Create search method constants for CLI commands
dsarno Jan 27, 2026
56415fe
docs: Update REFACTOR_PLAN with QW-4 completion status
dsarno Jan 27, 2026
88dfd2a
refactor: QW-5 Create confirmation dialog utility for CLI commands
dsarno Jan 27, 2026
8d6234d
docs: Add QW-5 completion and comprehensive verification summary
dsarno Jan 27, 2026
86d3718
docs: Add URI to all 21 MCP resource descriptions for better discover…
dsarno Jan 27, 2026
cedea74
refactor: P1-1 Create ToolParams validation wrapper
dsarno Jan 27, 2026
225a604
refactor: P1-1 Apply ToolParams to ManageScript and ReadConsole
dsarno Jan 27, 2026
8cf2596
fix: Resolve compilation errors in ToolParams implementation
dsarno Jan 27, 2026
e4972dd
test: Update ManageEditor null params test to reflect P1-1 fix
dsarno Jan 28, 2026
de82134
docs: Add P1-1.5 Python MCP Parameter Aliasing plan
dsarno Jan 28, 2026
5b25758
fix: Address PR #642 CodeRabbit review feedback
dsarno Jan 28, 2026
ed63d95
fix: Address remaining PR #642 CodeRabbit feedback
dsarno Jan 28, 2026
ea38301
fix: Address final PR #642 CodeRabbit feedback for tests
dsarno Jan 28, 2026
bc0c254
docs: Integrate CodeRabbit feedback into P1-1.5 plan
dsarno Jan 28, 2026
d8a7fe2
feat: P1-1.5 Add parameter normalization middleware for camelCase sup…
dsarno Jan 28, 2026
08cfa9e
refactor: P1-1.5 Use Pydantic AliasChoices instead of middleware
dsarno Jan 28, 2026
016cabe
docs: Update P1-1.5 status - pattern established, expansion bookmarked
dsarno Jan 28, 2026
8c8c043
refactor: P1-6 Consolidate duplicate test fixtures
dsarno Jan 28, 2026
17c7448
docs: Update progress - P1-6 done, P1-2 and P2-3 skipped
dsarno Jan 28, 2026
631cd25
refactor: P2-1 Add handle_unity_errors decorator for CLI commands
dsarno Jan 28, 2026
cb4fb7a
docs: Update progress - P2-1 in progress
dsarno Jan 28, 2026
2bbee03
refactor: P2-1 Complete - Apply handle_unity_errors decorator to all …
dsarno Jan 28, 2026
7e3ebf8
docs: Update progress - P2-1 complete
dsarno Jan 28, 2026
7a709ea
docs: Add P2-8 CLI Consistency Pass to refactor plan
dsarno Jan 28, 2026
3ea1c9f
refactor: P1-3 Add nullable coercion methods and consolidate TryParse…
dsarno Jan 28, 2026
0ddc679
docs: Update progress - P1-3 complete
dsarno Jan 28, 2026
ff7762d
docs: Add P2-9 focus nudge improvements task to refactor plan
dsarno Jan 28, 2026
c76ffba
refactor(P2-8): Add --force flag to texture delete command
dsarno Jan 28, 2026
f3525c7
docs: Update P2-8 CLI Consistency Pass status
dsarno Jan 28, 2026
d3a8995
fix: Address CodeRabbit PR feedback
dsarno Jan 28, 2026
7fa808e
test(P3-1): Add ServerManagementService characterization tests
dsarno Jan 28, 2026
f3c3921
refactor(P3-1): Add Server component interfaces
dsarno Jan 28, 2026
9d78108
refactor(P3-1): Extract ProcessDetector from ServerManagementService
dsarno Jan 28, 2026
a8cb6f9
refactor(P3-1): Extract PidFileManager from ServerManagementService
dsarno Jan 28, 2026
1908846
refactor(P3-1): Extract ProcessTerminator from ServerManagementService
dsarno Jan 28, 2026
dac96e8
refactor(P3-1): Extract ServerCommandBuilder from ServerManagementSer…
dsarno Jan 28, 2026
9989467
refactor(P3-1): Extract TerminalLauncher from ServerManagementService
dsarno Jan 28, 2026
530a6b0
refactor(P3-1): Complete ServerManagementService decomposition
dsarno Jan 28, 2026
7782077
fix(critical): Prevent ProcessTerminator from killing all processes
dsarno Jan 28, 2026
e03a404
fix(tests): Correct characterization tests to document actual behavior
dsarno Jan 28, 2026
6ec08c1
refactor(P1-5): Add EditorConfigurationCache to eliminate scattered E…
dsarno Jan 28, 2026
3bba507
docs: Mark P1-5 Configuration Cache as complete
dsarno Jan 28, 2026
f07fd91
docs: Fix misleading parameter documentation in tests.py resources
dsarno Jan 28, 2026
0fbe228
docs: Update REFACTOR_PROGRESS.md with P3-1 and P1-5 completions
dsarno Jan 28, 2026
f372019
docs: Update P2-6 plan with detailed VFX split + utility consolidation
dsarno Jan 28, 2026
bcbd786
refactor(P2-6): Consolidate string case utilities
dsarno Jan 28, 2026
eae5812
refactor(P2-6): Extract VFX Graph code from ManageVFX
dsarno Jan 28, 2026
f6ab62c
docs: Update REFACTOR_PROGRESS.md with P2-6 completion
dsarno Jan 28, 2026
16ca408
fix(P1-5): Add cache refresh when toggling HTTP/STDIO transport
dsarno Jan 28, 2026
aaf08ca
refactor(P2-9): Improve focus nudge timing for better test reliability
dsarno Jan 28, 2026
e90ac6b
docs: Mark refactor plan complete - all items evaluated
dsarno Jan 28, 2026
089b57d
fix: Add conftest.py to fix Python path for pytest
dsarno Jan 28, 2026
f610484
test: Enable domain reload resilience tests
dsarno Jan 28, 2026
2589e71
refactor(P2-9): Implement exponential backoff for focus nudges
dsarno Jan 28, 2026
6d36473
fix(P2-9): Wait for window switch and use exponential focus duration
dsarno Jan 28, 2026
7d3bf0e
feat(P2-9): Add PID-based focus nudging for multi-instance support
dsarno Jan 28, 2026
225ef5b
fix(P2-9): Use bundle ID activation to fully wake Unity on macOS
dsarno Jan 28, 2026
161920f
fix(tests): Fix asyncio event loop issues in transport tests
dsarno Jan 28, 2026
9114435
fix(tests): Fix telemetry mock patches to use correct import location
dsarno Jan 28, 2026
b63af09
fix(tests): Add telemetry singleton cleanup to prevent Python crashes
dsarno Jan 28, 2026
7c57b07
fix(tests): Reorder test collection to run characterization tests bef…
dsarno Jan 28, 2026
c8c3cf4
docs: Clean up refactor artifacts and rewrite developer guide
dsarno Jan 28, 2026
f961d81
fix: Remove absolute path from docstring example
dsarno Jan 28, 2026
0939008
fix: Remove orphaned .meta files for deleted markdown docs
dsarno Jan 28, 2026
8a6c8ba
fix: Gate MCP startup logs behind debug mode toggle
dsarno Jan 28, 2026
798ead6
fix: Use relative path for MCP package in test project manifest
dsarno Jan 28, 2026
f57c6d8
fix: Remove personal Claude settings and gitignore it
dsarno Jan 28, 2026
84e4b3a
fix: Remove orphaned test README files referencing deleted docs
dsarno Jan 28, 2026
128d7b5
fix: Remove test artifact Materials and Prefabs
dsarno Jan 28, 2026
78d2bdc
fix: Remove test artifacts (QW3 scene, screenshots, textures, models …
dsarno Jan 28, 2026
605e38a
fix: Remove file with corrupted filename
dsarno Jan 28, 2026
14718d8
docs: Remove redundant OVERVIEW.md (covered by CLAUDE.md)
dsarno Jan 28, 2026
b6d5705
fix: Address CodeRabbit review feedback
dsarno Jan 28, 2026
2d5f605
fix(coderabbit): Address critical CodeRabbit feedback issues
dsarno Jan 28, 2026
d67fdf9
fix(coderabbit): Address linting and validation feedback
dsarno Jan 28, 2026
6d15fee
debug: Use McpLog.Warn for guaranteed LineRenderer debug visibility
dsarno Jan 28, 2026
4e2274c
cleanup: Remove debug logging from LineWrite (tool verified working)
dsarno Jan 28, 2026
4c30f1c
fix(coderabbit): Safe float parsing and unused import cleanup
dsarno Jan 28, 2026
4bb752f
fix: OpenCode configurator preserves existing config
dsarno Jan 28, 2026
845a8f6
security: Fix AppleScript injection vulnerability in focus_nudge.py
dsarno Jan 28, 2026
2da4c7c
fix: Fix middleware job state cleanup and improve test error handling
dsarno Jan 28, 2026
adeca0e
fix: Mark slow process inspection tests as [Explicit]
dsarno Jan 29, 2026
210ca08
fix: Only increment consecutive nudges counter after focus attempt
dsarno Jan 29, 2026
f4325f0
fix: Address remaining CodeRabbit feedback
dsarno Jan 29, 2026
77f9bfa
fix: Final CodeRabbit feedback - VFX and telemetry hardening
dsarno Jan 29, 2026
4a2cd9a
cleanup: Remove orphaned .meta files for deleted empty folders
dsarno Jan 29, 2026
91d8175
feat: Add dict/hex format support for vectors and colors
dsarno Jan 29, 2026
3b0b14f
Fix VFX graph asset handling and harden CI GO merge
dsarno Jan 29, 2026
904f370
Fix VFX graph asset handling and harden CI GO merge
dsarno Jan 29, 2026
c33a761
Merge remote changes
dsarno Jan 29, 2026
8e9c123
Deduplicate VFX template listing
dsarno Jan 29, 2026
dbfdb17
Avoid duplicate GO fragment merges
dsarno Jan 29, 2026
3ed6e2e
Harden test job handling and tool validation
dsarno Jan 29, 2026
57ad589
Relax VFX version checks and harden VFX tools
dsarno Jan 29, 2026
30a40f5
Expect uv cache error when uv missing
dsarno Jan 29, 2026
a16d544
Drop unused regex import after uv cache test update
dsarno Jan 29, 2026
4228f30
Resolve beta merge conflict in uv cache test
dsarno Jan 29, 2026
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 @@ -4,6 +4,8 @@
using MCPForUnity.Editor.Services;
using MCPForUnity.Editor.Constants;
using UnityEditor;
using UnityEngine;
using UnityEngine.TestTools;

namespace MCPForUnityTests.Editor.Services.Characterization
{
Expand Down Expand Up @@ -337,11 +339,33 @@ public void ClearUvxCache_DoesNotThrow()
// Arrange
_service = new ServerManagementService();

string lastLog = null;
Application.LogCallback handler = (condition, stackTrace, type) =>
{
if (condition != null && condition.Contains("uv cache"))
{
lastLog = condition;
}
};

// Act & Assert - Should not throw even if uvx is not installed
Assert.DoesNotThrow(() =>
{
_service.ClearUvxCache();
LogAssert.ignoreFailingMessages = true;
Application.logMessageReceived += handler;
try
{
_service.ClearUvxCache();
}
finally
{
Application.logMessageReceived -= handler;
LogAssert.ignoreFailingMessages = false;
}
}, "ClearUvxCache should handle missing uvx gracefully");

Assert.IsNotNull(lastLog, "Expected a uv cache log message.");
StringAssert.Contains("uv cache", lastLog);
}

#endregion
Expand Down