@atelierai/uco 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -1
- package/README.md +3 -3
- package/dist/commands/init.js +31 -10
- package/dist/commands/init.js.map +1 -1
- package/dist/devops/lib/install.js +11 -1
- package/dist/devops/lib/install.js.map +1 -1
- package/dist/devops/utils/agents.js +1 -1
- package/dist/devops/utils/agents.js.map +1 -1
- package/docs/INSTALL.zh-CN.md +1 -1
- package/package.json +13 -4
- package/skills/uco-setup/SKILL.md +2 -2
- package/skills/unity-editor/SKILL.md +1 -1
- package/vendor/nuget/Microsoft.Bcl.AsyncInterfaces.dll.meta +39 -39
- package/vendor/nuget/Microsoft.Extensions.DependencyInjection.Abstractions.dll.meta +39 -39
- package/vendor/nuget/Microsoft.Extensions.Logging.Abstractions.dll.meta +39 -39
- package/vendor/nuget/System.Collections.Immutable.dll.meta +39 -39
- package/vendor/nuget/System.Diagnostics.DiagnosticSource.dll.meta +39 -39
- package/vendor/nuget/System.Reflection.Metadata.dll.meta +39 -39
- package/vendor/nuget/System.Runtime.CompilerServices.Unsafe.dll.meta +39 -39
- package/vendor/nuget/System.Text.Encodings.Web.dll.meta +39 -39
- package/vendor/nuget/System.Text.Json.dll.meta +39 -39
- package/vendor/plugin/com.atelierai.unity.copilot/CHANGELOG.md +46 -16
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/DependencyResolver/NuGetResolverMenu.cs +3 -1
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Branding/ProductInfo.cs +4 -5
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/CopilotServerManager.cs +1 -1
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Skills/Skill_InitialSetup.cs +1 -1
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/MenuItems.cs +7 -66
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Overlay/OpenWindowButton.cs +2 -2
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/UnityCopilotProjectSettingsProvider.cs +5 -5
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowEditor.Connection.cs +1 -1
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowEditor.CreateGUI.cs +2 -2
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowEditor.cs +2 -2
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/UpdatePopupWindow.cs +2 -2
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UnityCopilotPluginEditor.cs +1 -1
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/ToolsManifestGenerator.cs +1 -1
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/UnityCopilotUpdateProjectSettings.cs +2 -2
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/UpdateChecker.cs +3 -3
- package/vendor/{nuget → plugin/com.atelierai.unity.copilot/Plugins}/ReflectorNet.dll +0 -0
- package/vendor/{nuget → plugin/com.atelierai.unity.copilot/Plugins}/Uco.Framework.Common.dll +0 -0
- package/vendor/{nuget → plugin/com.atelierai.unity.copilot/Plugins}/Uco.Framework.dll +0 -0
- package/vendor/plugin/com.atelierai.unity.copilot/Plugins.meta +8 -0
- package/vendor/plugin/com.atelierai.unity.copilot/README.md +3 -3
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/UnityCopilotPlugin.cs +1 -1
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Tool/ToolSetEnabledStateTests.cs +1 -1
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/UI/SceneViewToolbarOverlayTests.cs +1 -1
- package/vendor/plugin/com.atelierai.unity.copilot/package.json +3 -3
- /package/vendor/{nuget → plugin/com.atelierai.unity.copilot/Plugins}/ReflectorNet.dll.meta +0 -0
- /package/vendor/{nuget → plugin/com.atelierai.unity.copilot/Plugins}/Uco.Framework.Common.dll.meta +0 -0
- /package/vendor/{nuget → plugin/com.atelierai.unity.copilot/Plugins}/Uco.Framework.dll.meta +0 -0
package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Skills/Skill_InitialSetup.cs
CHANGED
|
@@ -31,7 +31,7 @@ and basic configurations.")]
|
|
|
31
31
|
var globalInstallNote = GetGlobalInstallNote();
|
|
32
32
|
|
|
33
33
|
return $@"
|
|
34
|
-
#
|
|
34
|
+
# Unity Copilot — Initial Setup
|
|
35
35
|
|
|
36
36
|
This guide walks through installing the `unity-mcp-cli` command-line tool and using it to set
|
|
37
37
|
up a Unity project with AI Skills and MCP integration.
|
|
@@ -22,14 +22,14 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
22
22
|
[MenuItem(ProductInfo.MainWindowMenu, priority = 1006)]
|
|
23
23
|
public static void ShowWindow() => MainWindowEditor.ShowWindow();
|
|
24
24
|
|
|
25
|
-
[MenuItem("
|
|
25
|
+
[MenuItem(ProductInfo.ToolsMenuRoot + "/Updates/Check for Updates", priority = 999)]
|
|
26
26
|
public static void CheckForUpdates() => _ = UpdateChecker.CheckForUpdatesAsync(forceCheck: true);
|
|
27
27
|
|
|
28
28
|
// Team-shared kill-switch for the update popup. Toggling this writes through to
|
|
29
|
-
// ProjectSettings/
|
|
29
|
+
// ProjectSettings/Copilot-UpdateSettings.asset (intended to be committed
|
|
30
30
|
// to VCS). The validate method renders the menu's check-mark to match current state.
|
|
31
31
|
// See https://github.com/IvanMurzak/uco-plugin/issues/768.
|
|
32
|
-
private const string DisableUpdatesMenu = "
|
|
32
|
+
private const string DisableUpdatesMenu = ProductInfo.ToolsMenuRoot + "/Updates/Disable Update Notifications (Team)";
|
|
33
33
|
|
|
34
34
|
[MenuItem(DisableUpdatesMenu, priority = 1000)]
|
|
35
35
|
public static void ToggleDisableUpdatesForTeam()
|
|
@@ -48,79 +48,20 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
48
48
|
// (cocli) launched directly by CopilotServerManager; its stdout/stderr is
|
|
49
49
|
// surfaced in the Editor console.
|
|
50
50
|
|
|
51
|
-
[MenuItem("
|
|
52
|
-
public static void LaunchMcpInspector()
|
|
53
|
-
{
|
|
54
|
-
// Run command in a terminal window: npx @modelcontextprotocol/inspector http://localhost:8080 --transport http
|
|
55
|
-
var npxArgs = $"-y @modelcontextprotocol/inspector {UnityCopilotPluginEditor.Host} --transport http";
|
|
56
|
-
Debug.Log($"Launching MCP Inspector with command: npx {npxArgs}");
|
|
57
|
-
|
|
58
|
-
var processInfo = new System.Diagnostics.ProcessStartInfo
|
|
59
|
-
{
|
|
60
|
-
FileName = "npx",
|
|
61
|
-
Arguments = npxArgs,
|
|
62
|
-
UseShellExecute = true,
|
|
63
|
-
CreateNoWindow = false,
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
try
|
|
67
|
-
{
|
|
68
|
-
System.Diagnostics.Process.Start(processInfo);
|
|
69
|
-
}
|
|
70
|
-
catch (System.ComponentModel.Win32Exception ex)
|
|
71
|
-
{
|
|
72
|
-
var command = $"{processInfo.FileName} {processInfo.Arguments}";
|
|
73
|
-
NotificationPopupWindow.Show(
|
|
74
|
-
windowTitle: "Launch Failed",
|
|
75
|
-
title: "Unable to start MCP Inspector",
|
|
76
|
-
message:
|
|
77
|
-
"The MCP Inspector could not be started from Unity.\n\n" +
|
|
78
|
-
"This usually means that Node.js (and npx) is not installed, or 'npx' is not available on your PATH.\n\n" +
|
|
79
|
-
"Prerequisites:\n" +
|
|
80
|
-
" - Install Node.js (which includes npx)\n" +
|
|
81
|
-
" - Ensure 'npx' is available from your terminal/command prompt\n\n" +
|
|
82
|
-
"You can try running the following command manually in a terminal:\n" +
|
|
83
|
-
command + "\n\n" +
|
|
84
|
-
"System error:\n" +
|
|
85
|
-
ex.Message,
|
|
86
|
-
width: 450,
|
|
87
|
-
minWidth: 450,
|
|
88
|
-
height: 460,
|
|
89
|
-
minHeight: 460);
|
|
90
|
-
}
|
|
91
|
-
catch (System.Exception ex)
|
|
92
|
-
{
|
|
93
|
-
var command = $"{processInfo.FileName} {processInfo.Arguments}";
|
|
94
|
-
NotificationPopupWindow.Show(
|
|
95
|
-
windowTitle: "Launch Failed",
|
|
96
|
-
title: "Unexpected error starting MCP Inspector",
|
|
97
|
-
message:
|
|
98
|
-
"An unexpected error occurred while trying to start the MCP Inspector.\n\n" +
|
|
99
|
-
"You can try running the following command manually in a terminal:\n" +
|
|
100
|
-
command + "\n\n" +
|
|
101
|
-
"Error details:\n" +
|
|
102
|
-
ex.Message,
|
|
103
|
-
width: 450,
|
|
104
|
-
minWidth: 450,
|
|
105
|
-
height: 460,
|
|
106
|
-
minHeight: 460);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
[MenuItem("Tools/Unity Co-Pilot/Debug/Show Update Popup", priority = 2000)]
|
|
51
|
+
[MenuItem(ProductInfo.ToolsMenuRoot + "/Debug/Show Update Popup", priority = 2000)]
|
|
111
52
|
public static void ShowUpdatePopup() => UpdatePopupWindow.ShowWindow(UnityCopilotPlugin.Version, "99.99.99");
|
|
112
53
|
|
|
113
|
-
[MenuItem("
|
|
54
|
+
[MenuItem(ProductInfo.ToolsMenuRoot + "/Debug/Reset Update Preferences", priority = 2001)]
|
|
114
55
|
public static void ResetUpdatePreferences()
|
|
115
56
|
{
|
|
116
57
|
UpdateChecker.ClearPreferences();
|
|
117
58
|
Debug.Log("Update preferences have been reset.");
|
|
118
59
|
}
|
|
119
60
|
|
|
120
|
-
[MenuItem("
|
|
61
|
+
[MenuItem(ProductInfo.ToolsMenuRoot + "/Debug/Serialization Check", priority = 2002)]
|
|
121
62
|
public static void ShowSerializationCheck() => SerializationCheckWindow.ShowWindow();
|
|
122
63
|
|
|
123
|
-
[MenuItem("
|
|
64
|
+
[MenuItem(ProductInfo.ToolsMenuRoot + "/Reset Config", priority = 2020)]
|
|
124
65
|
public static void ResetConfig()
|
|
125
66
|
{
|
|
126
67
|
UnityCopilotPluginEditor.ResetConfig();
|
package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Overlay/OpenWindowButton.cs
CHANGED
|
@@ -24,9 +24,9 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
24
24
|
|
|
25
25
|
public OpenWindowButton()
|
|
26
26
|
{
|
|
27
|
-
text = "Unity
|
|
27
|
+
text = "Unity Copilot";
|
|
28
28
|
icon = EditorAssetLoader.LoadAssetAtPath<Texture2D>(EditorAssetLoader.PackageLogoIcon);
|
|
29
|
-
tooltip = "Open Unity
|
|
29
|
+
tooltip = "Open Unity Copilot window";
|
|
30
30
|
clicked += MainWindowEditor.ShowWindowVoid;
|
|
31
31
|
RegisterCallback<DetachFromPanelEvent>(OnDetachFromPanel);
|
|
32
32
|
}
|
|
@@ -18,21 +18,21 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
18
18
|
{
|
|
19
19
|
/// <summary>
|
|
20
20
|
/// Exposes Unity-MCP's team-shared update settings under
|
|
21
|
-
/// <c>Edit ▸ Project Settings ▸ Unity
|
|
21
|
+
/// <c>Edit ▸ Project Settings ▸ Unity Copilot</c>.
|
|
22
22
|
/// </summary>
|
|
23
23
|
/// <remarks>
|
|
24
24
|
/// Mutations write through to <see cref="UnityCopilotUpdateProjectSettings"/>, whose backing
|
|
25
|
-
/// asset (<c>ProjectSettings/
|
|
25
|
+
/// asset (<c>ProjectSettings/Copilot-UpdateSettings.asset</c>) is intended to be
|
|
26
26
|
/// committed to VCS. See https://github.com/IvanMurzak/uco-plugin/issues/768.
|
|
27
27
|
/// </remarks>
|
|
28
28
|
internal static class UnityCopilotProjectSettingsProvider
|
|
29
29
|
{
|
|
30
|
-
private const string SettingsPath = "Project/Unity
|
|
30
|
+
private const string SettingsPath = "Project/Unity Copilot";
|
|
31
31
|
|
|
32
32
|
[SettingsProvider]
|
|
33
33
|
public static SettingsProvider Create() => new SettingsProvider(SettingsPath, SettingsScope.Project)
|
|
34
34
|
{
|
|
35
|
-
label = "Unity
|
|
35
|
+
label = "Unity Copilot",
|
|
36
36
|
guiHandler = _ =>
|
|
37
37
|
{
|
|
38
38
|
EditorGUILayout.LabelField("Update Notifications", EditorStyles.boldLabel);
|
|
@@ -50,7 +50,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
50
50
|
|
|
51
51
|
EditorGUILayout.Space();
|
|
52
52
|
EditorGUILayout.HelpBox(
|
|
53
|
-
"This setting is stored in ProjectSettings/
|
|
53
|
+
"This setting is stored in ProjectSettings/Copilot-UpdateSettings.asset " +
|
|
54
54
|
"and is shared with everyone who clones this project. The per-user 'Do not show again' " +
|
|
55
55
|
"button on the update popup is unaffected by this setting.",
|
|
56
56
|
MessageType.Info);
|
|
@@ -89,7 +89,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
89
89
|
if (UnityCopilotPluginEditor.ConnectionMode != ConnectionMode.Cloud)
|
|
90
90
|
return;
|
|
91
91
|
|
|
92
|
-
Debug.LogWarning("[Unity
|
|
92
|
+
Debug.LogWarning("[Unity Copilot] The server rejected the authorization token. " +
|
|
93
93
|
"The token has been cleared. Please click 'Authorize' to obtain a new token.");
|
|
94
94
|
|
|
95
95
|
UnityCopilotPluginEditor.CloudToken = null;
|
|
@@ -280,7 +280,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
280
280
|
UnityCopilotPluginEditor.LogLevel = Enum.TryParse<LogLevel>(evt.newValue, out var parsed)
|
|
281
281
|
? parsed
|
|
282
282
|
: LogLevel.Warning;
|
|
283
|
-
SaveChanges($"[Unity
|
|
283
|
+
SaveChanges($"[Unity Copilot] LogLevel Changed: {evt.newValue}");
|
|
284
284
|
});
|
|
285
285
|
|
|
286
286
|
var inputTimeoutMs = root.Q<IntegerField>("inputTimeoutMs");
|
|
@@ -297,7 +297,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
297
297
|
|
|
298
298
|
UnityCopilotPluginEditor.TimeoutMs = newValue;
|
|
299
299
|
|
|
300
|
-
SaveChanges($"[Unity
|
|
300
|
+
SaveChanges($"[Unity Copilot] Timeout Changed: {newValue} ms");
|
|
301
301
|
UnityBuildAndConnect();
|
|
302
302
|
});
|
|
303
303
|
|
package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowEditor.cs
CHANGED
|
@@ -29,13 +29,13 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
29
29
|
AlertPanel? _connectionAuthAlert;
|
|
30
30
|
AlertPanel? _connectionConnectAlert;
|
|
31
31
|
|
|
32
|
-
protected override string WindowTitle => "Unity
|
|
32
|
+
protected override string WindowTitle => "Unity Copilot";
|
|
33
33
|
protected override string[] WindowUxmlPaths => _windowUxmlPaths;
|
|
34
34
|
protected override string[] WindowUssPaths => _windowUssPaths;
|
|
35
35
|
|
|
36
36
|
public static MainWindowEditor ShowWindow()
|
|
37
37
|
{
|
|
38
|
-
var window = GetWindow<MainWindowEditor>("Unity
|
|
38
|
+
var window = GetWindow<MainWindowEditor>("Unity Copilot");
|
|
39
39
|
window.SetupWindowWithIcon();
|
|
40
40
|
window.Focus();
|
|
41
41
|
|
package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/UpdatePopupWindow.cs
CHANGED
|
@@ -23,7 +23,7 @@ using UnityEngine.UIElements;
|
|
|
23
23
|
namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
24
24
|
{
|
|
25
25
|
/// <summary>
|
|
26
|
-
/// A popup window that notifies the user when a new version of Unity
|
|
26
|
+
/// A popup window that notifies the user when a new version of Unity Copilot is available.
|
|
27
27
|
/// </summary>
|
|
28
28
|
public class UpdatePopupWindow : NotificationPopupWindow
|
|
29
29
|
{
|
|
@@ -197,7 +197,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.UI
|
|
|
197
197
|
UnityCopilotPluginEditor.Instance.LogInfo("Package updated to version {version}", typeof(UpdatePopupWindow), latestVersion);
|
|
198
198
|
EditorUtility.DisplayDialog(
|
|
199
199
|
"Update Complete",
|
|
200
|
-
$"Unity
|
|
200
|
+
$"Unity Copilot has been updated to version {latestVersion}.\n\nUnity will recompile scripts automatically.",
|
|
201
201
|
"OK");
|
|
202
202
|
}
|
|
203
203
|
else if (addRequest.Status >= StatusCode.Failure)
|
package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UnityCopilotPluginEditor.cs
CHANGED
|
@@ -15,7 +15,7 @@ namespace com.AtelierAI.Unity.Copilot
|
|
|
15
15
|
{
|
|
16
16
|
/// <summary>
|
|
17
17
|
/// Editor-only singleton that owns the persistent MCP connection used
|
|
18
|
-
/// by Unity Editor tooling (
|
|
18
|
+
/// by Unity Editor tooling (Copilot window, configurators, etc.).
|
|
19
19
|
/// Lives in the Editor assembly — not accessible from Runtime code.
|
|
20
20
|
/// </summary>
|
|
21
21
|
public partial class UnityCopilotPluginEditor : UnityCopilotPlugin
|
package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/ToolsManifestGenerator.cs
CHANGED
|
@@ -40,7 +40,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.Utils
|
|
|
40
40
|
/// so the shipped manifest is deterministic across projects.
|
|
41
41
|
/// </para>
|
|
42
42
|
/// <para>
|
|
43
|
-
/// Menu: <b>Tools /
|
|
43
|
+
/// Menu: <b>Tools / Unity Copilot / Generate Tools Manifest</b>.
|
|
44
44
|
/// Requires an embedded or local-copy package installation (writes into
|
|
45
45
|
/// <c>Packages/com.atelierai.unity.copilot/</c>).
|
|
46
46
|
/// </para>
|
|
@@ -16,7 +16,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.Utils
|
|
|
16
16
|
{
|
|
17
17
|
/// <summary>
|
|
18
18
|
/// Team-shared settings for the Unity-MCP update checker, persisted under
|
|
19
|
-
/// <c>ProjectSettings/
|
|
19
|
+
/// <c>ProjectSettings/Copilot-UpdateSettings.asset</c>.
|
|
20
20
|
/// </summary>
|
|
21
21
|
/// <remarks>
|
|
22
22
|
/// Uses Unity's <see cref="ScriptableSingleton{T}"/> + <see cref="FilePathAttribute"/> pattern
|
|
@@ -38,7 +38,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.Utils
|
|
|
38
38
|
/// <c>ProjectSettings/</c>) — NOT against <c>Assets/</c>. That places the asset alongside
|
|
39
39
|
/// other team-shared editor settings such as <c>ProjectSettings/EditorSettings.asset</c>.
|
|
40
40
|
/// </remarks>
|
|
41
|
-
[FilePath("ProjectSettings/
|
|
41
|
+
[FilePath("ProjectSettings/Copilot-UpdateSettings.asset", FilePathAttribute.Location.ProjectFolder)]
|
|
42
42
|
internal sealed class UnityCopilotUpdateProjectSettings : ScriptableSingleton<UnityCopilotUpdateProjectSettings>
|
|
43
43
|
{
|
|
44
44
|
[SerializeField] private bool disableUpdateNotificationsForTeam;
|
|
@@ -33,7 +33,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.Utils
|
|
|
33
33
|
///
|
|
34
34
|
/// Two opt-out layers gate the popup, in this order:
|
|
35
35
|
/// 1. <see cref="IsDisabledForProject"/> — team-shared, stored in
|
|
36
|
-
/// <c>ProjectSettings/
|
|
36
|
+
/// <c>ProjectSettings/Copilot-UpdateSettings.asset</c> via
|
|
37
37
|
/// <see cref="UnityCopilotUpdateProjectSettings"/>. Set this once and commit it to
|
|
38
38
|
/// disable the popup for every team member who clones the project. See
|
|
39
39
|
/// https://github.com/IvanMurzak/uco-plugin/issues/768.
|
|
@@ -112,7 +112,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.Utils
|
|
|
112
112
|
/// <summary>
|
|
113
113
|
/// Gets whether the team-wide kill-switch is enabled for this project. When <c>true</c>,
|
|
114
114
|
/// the popup is suppressed for every team member who has the
|
|
115
|
-
/// <c>ProjectSettings/
|
|
115
|
+
/// <c>ProjectSettings/Copilot-UpdateSettings.asset</c> file in their checkout,
|
|
116
116
|
/// regardless of their per-user <see cref="IsDoNotShowAgain"/> state.
|
|
117
117
|
/// </summary>
|
|
118
118
|
/// <remarks>
|
|
@@ -223,7 +223,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.Utils
|
|
|
223
223
|
/// team-shared via <c>ProjectSettings/</c>, and clearing it from a debug menu would
|
|
224
224
|
/// produce a spurious diff in a committed asset (potentially surprising other team
|
|
225
225
|
/// members). The team flag is reset only through the Project Settings UI or
|
|
226
|
-
/// <c>Tools ▸
|
|
226
|
+
/// <c>Tools ▸ Unity Copilot ▸ Updates ▸ Disable Update Notifications (Team)</c>.
|
|
227
227
|
/// </remarks>
|
|
228
228
|
public static void ClearPreferences()
|
|
229
229
|
{
|
|
Binary file
|
package/vendor/{nuget → plugin/com.atelierai.unity.copilot/Plugins}/Uco.Framework.Common.dll
RENAMED
|
Binary file
|
|
Binary file
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<h1>Unity
|
|
2
|
+
<h1>Unity Copilot</h1>
|
|
3
3
|
<p>Drive the Unity Editor from any AI agent over plain REST + WebSocket — no MCP protocol on the wire.</p>
|
|
4
4
|
<p><code>com.atelierai.unity.copilot</code></p>
|
|
5
5
|
</div>
|
|
6
6
|
|
|
7
|
-
Unity
|
|
7
|
+
Unity Copilot is a Unity Editor/Runtime plugin that exposes the Editor as an
|
|
8
8
|
HTTP service: 160+ tools covering scenes, GameObjects, components, assets,
|
|
9
9
|
prefabs, scripts, packages, screenshots, console, tests, and builds — plus
|
|
10
10
|
prompts and resources. A self-hosted Node bridge connects the Editor to the
|
|
@@ -38,7 +38,7 @@ terminal.
|
|
|
38
38
|
### Via the uco CLI (recommended)
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
npm install -g uco
|
|
41
|
+
npm install -g @atelierai/uco
|
|
42
42
|
uco install <path-to-your-unity-project>
|
|
43
43
|
```
|
|
44
44
|
|
|
@@ -26,7 +26,7 @@ namespace com.AtelierAI.Unity.Copilot
|
|
|
26
26
|
|
|
27
27
|
public partial class UnityCopilotPlugin : IDisposable
|
|
28
28
|
{
|
|
29
|
-
public const string Version = "1.0.
|
|
29
|
+
public const string Version = "1.0.2";
|
|
30
30
|
|
|
31
31
|
private static int _singletonCount = 0;
|
|
32
32
|
public static bool HasAnyInstance => _singletonCount > 0;
|
package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Tool/ToolSetEnabledStateTests.cs
CHANGED
|
@@ -318,7 +318,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.Tests
|
|
|
318
318
|
|
|
319
319
|
try
|
|
320
320
|
{
|
|
321
|
-
// Disable ALL tools (simulates "disable all" in
|
|
321
|
+
// Disable ALL tools (simulates "disable all" in the Copilot window)
|
|
322
322
|
foreach (var tool in allTools)
|
|
323
323
|
toolManager.SetToolEnabled(tool.Name, false);
|
|
324
324
|
UnityCopilotPluginEditor.Instance.Save();
|
package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/UI/SceneViewToolbarOverlayTests.cs
CHANGED
|
@@ -61,7 +61,7 @@ namespace com.AtelierAI.Unity.Copilot.Editor.Tests
|
|
|
61
61
|
public void OpenWindowButton_SetsExpectedTextAndTooltip()
|
|
62
62
|
{
|
|
63
63
|
var button = new OpenWindowButton();
|
|
64
|
-
Assert.AreEqual("Unity
|
|
64
|
+
Assert.AreEqual("Unity Copilot", button.text);
|
|
65
65
|
Assert.IsNotEmpty(button.tooltip);
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.atelierai.unity.copilot",
|
|
3
|
-
"displayName": "Unity
|
|
3
|
+
"displayName": "Unity Copilot",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "AtelierAI"
|
|
6
6
|
},
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"Unity Skills",
|
|
16
16
|
"uco"
|
|
17
17
|
],
|
|
18
|
-
"version": "1.0.
|
|
18
|
+
"version": "1.0.2",
|
|
19
19
|
"unity": "2022.3",
|
|
20
|
-
"description": "uco — Unity
|
|
20
|
+
"description": "uco — Unity Copilot: AI Skills, Tools, and CLI for the Unity Engine, driven over plain REST + WebSocket. Any C# method may be turned into a tool by a single line. Derived from IvanMurzak/Unity-MCP (Apache-2.0).",
|
|
21
21
|
"documentationUrl": "https://github.com/DumoeDss/uco-plugin/tree/main/uco-unity-project/Packages/com.atelierai.unity.copilot#readme",
|
|
22
22
|
"changelogUrl": "https://github.com/DumoeDss/uco-plugin/blob/main/uco-unity-project/Packages/com.atelierai.unity.copilot/CHANGELOG.md",
|
|
23
23
|
"dependencies": {
|
|
File without changes
|
/package/vendor/{nuget → plugin/com.atelierai.unity.copilot/Plugins}/Uco.Framework.Common.dll.meta
RENAMED
|
File without changes
|
|
File without changes
|