@atelierai/uco 1.0.7 → 1.0.9
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 +29 -8
- package/package.json +2 -2
- package/vendor/plugin/com.atelierai.unity.copilot/CHANGELOG.md +4 -4
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/DependencyResolver/NuGetConfig.cs +132 -132
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/DependencyResolver/NuGetDependencyResolver.cs +237 -237
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/DependencyResolver/NuGetDownloader.cs +82 -82
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Resource/MenuItems.cs +247 -247
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Resource/ToolGroups.cs +153 -153
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/SystemTool/Skills.Create.SkillBody.cs +155 -155
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Tool/Console.GetLogs.cs +95 -95
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Tool/Docs.HttpFetcher.cs +139 -139
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Tool/Instance.ListAll.cs +72 -72
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Tool/PathReadHelper.cs +106 -106
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Tool/Script.Validate.cs +252 -252
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Tool/Tests/TestResultCollector.cs +537 -537
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Tool/Tests.cs +400 -400
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/API/Tool/ToolGroups.SetEnabled.cs +92 -92
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Branding/ProductInfo.cs +62 -62
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/CopilotServerManager.cs +887 -1034
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Skills/Skill_InitialSetup.cs +197 -197
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Startup.Editor.cs +201 -201
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Startup.cs +67 -67
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/CopilotListWindowBase.cs +393 -393
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/CopilotWindowBase.cs +113 -113
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowEditor.Connection.cs +3 -3
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowEditor.CopilotFeatures.cs +195 -195
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowEditor.CopilotServer.cs +22 -22
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowEditor.CreateGUI.cs +354 -354
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowEditor.cs +78 -78
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/MainWindowInitializer.cs +47 -47
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UI/Window/SerializationCheckWindow.cs +190 -190
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UnityCopilotPluginEditor.Build.cs +91 -91
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UnityCopilotPluginEditor.Config.cs +298 -298
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UnityCopilotPluginEditor.Static.cs +296 -296
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/UnityCopilotPluginEditor.cs +69 -69
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/PackageUtils.cs +168 -168
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/PrefsKeyMigration.cs +119 -119
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/SafeDefaultsGuard.cs +180 -180
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/ScriptUtils.cs +229 -229
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/ToolGroupRegistry.cs +461 -460
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/ToolsManifestGenerator.cs +200 -200
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/UnityAuthoringAdapters.cs +1467 -1467
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/UnityAuthoringSafetyReloadGuard.cs +65 -65
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/Scripts/Utils/UnityCopilotUpdateProjectSettings.cs +66 -66
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uss/CopilotPromptsWindow.uss +11 -11
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uss/CopilotResourcesWindow.uss +16 -16
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uss/CopilotToolsWindow.uss +36 -36
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uss/MainWindow.uss +183 -183
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uss/common/{_mcp-list-window.uss → _copilot-list-window.uss} +18 -18
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uss/common/_list-view.uss +77 -77
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uxml/CopilotPromptsWindow.uxml +18 -18
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uxml/CopilotResourcesWindow.uxml +18 -18
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uxml/CopilotToolsWindow.uxml +18 -18
- package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uxml/MainWindow.uxml +115 -115
- package/vendor/plugin/com.atelierai.unity.copilot/Plugins/ReflectorNet.dll +0 -0
- package/vendor/plugin/com.atelierai.unity.copilot/Plugins/Uco.Framework.Common.dll +0 -0
- package/vendor/plugin/com.atelierai.unity.copilot/Plugins/Uco.Framework.dll +0 -0
- package/vendor/plugin/com.atelierai.unity.copilot/README.md +88 -88
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/Converter/Json/Structures/EntityIdConverter.cs +120 -120
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/Data/GameObjectMetadata.cs +110 -110
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/Data/GameObjectMetadata.pre-Unity.6.5.cs +110 -110
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/Unity/Logs/FileLogStorage.cs +547 -547
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/UnityCopilotPlugin.Build.cs +243 -243
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/UnityCopilotPlugin.Config.cs +3 -3
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/UnityCopilotPlugin.cs +295 -295
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/UnityCopilotPluginBuilder.cs +105 -105
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/UnityCopilotPluginRuntime.Static.cs +155 -155
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/UnityCopilotPluginRuntime.cs +59 -59
- package/vendor/plugin/com.atelierai.unity.copilot/Runtime/Utils/EnvironmentUtils.cs +11 -11
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/AtomicApi/AtomicApiTestFixtures.cs +99 -99
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/AtomicApi/TryModifyAtTests.cs +227 -227
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/AuthoringSafetyPilotTests.cs +1050 -1050
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/DependencyResolver/NuGetExtractorDevelopmentDependencyTests.cs +148 -148
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/DependencyResolver/NuGetExtractorFlatLayoutTests.cs +166 -166
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/DependencyResolver/NuGetInstallManifestTests.cs +436 -436
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/DependencyResolver/NuGetLegacyMigrationTests.cs +304 -304
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/DependencyResolver/NuGetPackageInstallerStaleVersionCleanupTests.cs +200 -200
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Environment/EnvironmentUtilsTests.cs +2 -2
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ReflectionConverter/BlacklistTypeTests.cs +416 -416
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ReflectionConverter/DataFieldScriptableObjectPopulationTests.cs +172 -172
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ReflectionConverter/DataFieldScriptableObjectPopulationTests.pre-Unity.6.5.cs +169 -169
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ReflectionConverter/DataPopulationTests.cs +182 -182
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ReflectionConverter/DataPopulationTests.pre-Unity.6.5.cs +179 -179
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ReflectionConverter/DataPropertyPopulationTests.cs +175 -175
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ReflectionConverter/DataPropertyPopulationTests.pre-Unity.6.5.cs +174 -174
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ReflectionConverter/DataPropertyScriptableObjectPopulationTests.cs +171 -171
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ReflectionConverter/DataPropertyScriptableObjectPopulationTests.pre-Unity.6.5.cs +170 -170
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Assets/AssetsCreateFolderTests.cs +243 -243
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Assets/AssetsMaterialTests.cs +101 -101
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Assets/AssetsPrefabCreateTests.cs +348 -348
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Assets/AssetsPrefabCreateTests.pre-Unity.6.5.cs +348 -348
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Assets/AssetsShaderTests.cs +194 -194
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/GameObject/TestJsonSchema.cs +199 -199
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/PathBasedToolTests.cs +573 -573
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/PathBasedToolTests.pre-Unity.6.5.cs +513 -513
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Screenshot/ScreenshotCameraTests.cs +154 -154
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Screenshot/ScreenshotCameraTests.pre-Unity.6.5.cs +154 -154
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Screenshot/ScreenshotGameViewTests.cs +164 -164
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/Screenshot/ScreenshotSceneViewTests.cs +155 -155
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/ToolParameterTests.cs +56 -56
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/ToolThreadSafetyTests.cs +651 -651
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/Tool/ToolThreadSafetyTests.pre-Unity.6.5.cs +651 -651
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/ToolBatchExecutionIntegrationTests.cs +407 -407
- package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/{McpPluginTests.cs → UcoPluginTests.cs} +105 -105
- package/vendor/plugin/com.atelierai.unity.copilot/package.json +1 -1
- /package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uss/common/{_mcp-list-window.uss.meta → _copilot-list-window.uss.meta} +0 -0
- /package/vendor/plugin/com.atelierai.unity.copilot/Tests/Editor/{McpPluginTests.cs.meta → UcoPluginTests.cs.meta} +0 -0
|
@@ -1,184 +1,184 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
AI Connector Window Styles
|
|
3
|
-
Imports common styles and adds connector-specific customizations
|
|
4
|
-
========================================================================== */
|
|
5
|
-
|
|
6
|
-
@import url("common/_base.uss");
|
|
7
|
-
@import url("common/_typography.uss");
|
|
8
|
-
@import url("common/_buttons.uss");
|
|
9
|
-
@import url("common/_forms.uss");
|
|
10
|
-
@import url("common/_status-indicators.uss");
|
|
11
|
-
@import url("common/_animations.uss");
|
|
12
|
-
@import url("common/_foldout.uss");
|
|
13
|
-
|
|
14
|
-
/* ==========================================================================
|
|
15
|
-
Agent Icon - Icon displayed next to agent name in configuration panels
|
|
16
|
-
========================================================================== */
|
|
17
|
-
|
|
18
|
-
.agent-icon {
|
|
19
|
-
width: 32px;
|
|
20
|
-
height: 32px;
|
|
21
|
-
min-width: 32px;
|
|
22
|
-
min-height: 32px;
|
|
23
|
-
margin-right: 8px;
|
|
24
|
-
margin-bottom: 6px;
|
|
25
|
-
flex-shrink: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* ==========================================================================
|
|
29
|
-
Connection Timeline - Vertical TODO-like list with connected points
|
|
30
|
-
========================================================================== */
|
|
31
|
-
|
|
32
|
-
.connection-timeline {
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
margin-top: 0;
|
|
35
|
-
margin-bottom: 0;
|
|
36
|
-
padding-left: 4px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.timeline-point {
|
|
40
|
-
flex-direction: row;
|
|
41
|
-
align-items: stretch;
|
|
42
|
-
min-height: 40px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.timeline-indicator {
|
|
46
|
-
flex-direction: column;
|
|
47
|
-
align-items: center;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
width: 20px;
|
|
50
|
-
margin-right: 4px;
|
|
51
|
-
position: relative;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.timeline-indicator > .status-indicator-circle {
|
|
55
|
-
flex-shrink: 0;
|
|
56
|
-
margin-right: 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.timeline-line {
|
|
60
|
-
position: absolute;
|
|
61
|
-
width: 2px;
|
|
62
|
-
top: 50%;
|
|
63
|
-
bottom: -10px;
|
|
64
|
-
left: 9px;
|
|
65
|
-
margin-top: 10px;
|
|
66
|
-
background-color: rgb(80, 80, 80);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.timeline-point-last .timeline-line {
|
|
70
|
-
display: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.timeline-content {
|
|
74
|
-
flex-direction: row;
|
|
75
|
-
flex-grow: 1;
|
|
76
|
-
align-items: center;
|
|
77
|
-
justify-content: space-between;
|
|
78
|
-
padding-bottom: 0;
|
|
79
|
-
/* padding-bottom: 16px; */
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.timeline-point-last {
|
|
83
|
-
padding-bottom: 0;
|
|
84
|
-
margin-top: 12px;
|
|
85
|
-
min-height: 16px;
|
|
86
|
-
align-items: flex-start;
|
|
87
|
-
margin-bottom: 4px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.timeline-label {
|
|
91
|
-
flex-grow: 0;
|
|
92
|
-
-unity-text-align: middle-left;
|
|
93
|
-
color: var(--unity-colors-default-text);
|
|
94
|
-
font-size: 13px;
|
|
95
|
-
-unity-font-style: bold;
|
|
96
|
-
|
|
97
|
-
/* Simulate the underline with a bottom border */
|
|
98
|
-
border-bottom-width: 0.3px;
|
|
99
|
-
border-bottom-color: var(--unity-colors-default-text);
|
|
100
|
-
|
|
101
|
-
/* Adjust padding so the line isn't touching the letters */
|
|
102
|
-
padding-bottom: 1px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.timeline-btn {
|
|
106
|
-
flex-shrink: 0;
|
|
107
|
-
min-width: 60px;
|
|
108
|
-
margin-top: 0;
|
|
109
|
-
margin-bottom: 0;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/* Frame/Group containers */
|
|
113
|
-
/* ==========================================================================
|
|
114
|
-
Remote Token Input - Read-only token display field
|
|
115
|
-
========================================================================== */
|
|
116
|
-
|
|
117
|
-
.token-input {
|
|
118
|
-
flex-grow: 1;
|
|
119
|
-
flex-shrink: 1;
|
|
120
|
-
height: 20px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.token-input > .unity-base-field__input {
|
|
124
|
-
color: var(--unity-colors-helpbox-text);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.token-input.token-placeholder > .unity-base-field__input {
|
|
128
|
-
color: var(--unity-colors-helpbox-text);
|
|
129
|
-
opacity: 0.7;
|
|
130
|
-
-unity-font-style: italic;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/* ==========================================================================
|
|
134
|
-
Alert Frame - Setup required notification panel
|
|
135
|
-
========================================================================== */
|
|
136
|
-
|
|
137
|
-
.alert-frame {
|
|
138
|
-
background-color: rgba(180, 120, 40, 0.12);
|
|
139
|
-
border-radius: 10px;
|
|
140
|
-
border-width: 1px;
|
|
141
|
-
border-color: rgba(220, 160, 60, 0.45);
|
|
142
|
-
padding: 10px 12px;
|
|
143
|
-
margin-top: 8px;
|
|
144
|
-
margin-bottom: 4px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.alert-frame-title {
|
|
148
|
-
font-size: 13px;
|
|
149
|
-
-unity-font-style: bold;
|
|
150
|
-
color: rgb(255, 200, 100);
|
|
151
|
-
margin-bottom: 4px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.alert-frame-message {
|
|
155
|
-
font-size: 12px;
|
|
156
|
-
color: rgb(210, 180, 130);
|
|
157
|
-
white-space: normal;
|
|
158
|
-
margin-bottom: 2px;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.alert-frame-item {
|
|
162
|
-
font-size: 12px;
|
|
163
|
-
color: rgb(210, 180, 130);
|
|
164
|
-
white-space: normal;
|
|
165
|
-
padding-left: 8px;
|
|
166
|
-
margin-bottom: 1px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.alert-frame-item-recommended {
|
|
170
|
-
color: rgb(255, 200, 100);
|
|
171
|
-
-unity-font-style: bold;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.frame-
|
|
175
|
-
/* background-color: rgba(20, 40, 69, 0.2); */
|
|
176
|
-
border-radius: 10px;
|
|
177
|
-
|
|
178
|
-
margin-bottom: -4px;
|
|
179
|
-
margin-top: 2px;
|
|
180
|
-
padding-top: 2px;
|
|
181
|
-
|
|
182
|
-
margin-right: -6px;
|
|
183
|
-
padding-right: 6px;
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
AI Connector Window Styles
|
|
3
|
+
Imports common styles and adds connector-specific customizations
|
|
4
|
+
========================================================================== */
|
|
5
|
+
|
|
6
|
+
@import url("common/_base.uss");
|
|
7
|
+
@import url("common/_typography.uss");
|
|
8
|
+
@import url("common/_buttons.uss");
|
|
9
|
+
@import url("common/_forms.uss");
|
|
10
|
+
@import url("common/_status-indicators.uss");
|
|
11
|
+
@import url("common/_animations.uss");
|
|
12
|
+
@import url("common/_foldout.uss");
|
|
13
|
+
|
|
14
|
+
/* ==========================================================================
|
|
15
|
+
Agent Icon - Icon displayed next to agent name in configuration panels
|
|
16
|
+
========================================================================== */
|
|
17
|
+
|
|
18
|
+
.agent-icon {
|
|
19
|
+
width: 32px;
|
|
20
|
+
height: 32px;
|
|
21
|
+
min-width: 32px;
|
|
22
|
+
min-height: 32px;
|
|
23
|
+
margin-right: 8px;
|
|
24
|
+
margin-bottom: 6px;
|
|
25
|
+
flex-shrink: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* ==========================================================================
|
|
29
|
+
Connection Timeline - Vertical TODO-like list with connected points
|
|
30
|
+
========================================================================== */
|
|
31
|
+
|
|
32
|
+
.connection-timeline {
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
margin-top: 0;
|
|
35
|
+
margin-bottom: 0;
|
|
36
|
+
padding-left: 4px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.timeline-point {
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
align-items: stretch;
|
|
42
|
+
min-height: 40px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.timeline-indicator {
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
width: 20px;
|
|
50
|
+
margin-right: 4px;
|
|
51
|
+
position: relative;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.timeline-indicator > .status-indicator-circle {
|
|
55
|
+
flex-shrink: 0;
|
|
56
|
+
margin-right: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.timeline-line {
|
|
60
|
+
position: absolute;
|
|
61
|
+
width: 2px;
|
|
62
|
+
top: 50%;
|
|
63
|
+
bottom: -10px;
|
|
64
|
+
left: 9px;
|
|
65
|
+
margin-top: 10px;
|
|
66
|
+
background-color: rgb(80, 80, 80);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.timeline-point-last .timeline-line {
|
|
70
|
+
display: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.timeline-content {
|
|
74
|
+
flex-direction: row;
|
|
75
|
+
flex-grow: 1;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: space-between;
|
|
78
|
+
padding-bottom: 0;
|
|
79
|
+
/* padding-bottom: 16px; */
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.timeline-point-last {
|
|
83
|
+
padding-bottom: 0;
|
|
84
|
+
margin-top: 12px;
|
|
85
|
+
min-height: 16px;
|
|
86
|
+
align-items: flex-start;
|
|
87
|
+
margin-bottom: 4px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.timeline-label {
|
|
91
|
+
flex-grow: 0;
|
|
92
|
+
-unity-text-align: middle-left;
|
|
93
|
+
color: var(--unity-colors-default-text);
|
|
94
|
+
font-size: 13px;
|
|
95
|
+
-unity-font-style: bold;
|
|
96
|
+
|
|
97
|
+
/* Simulate the underline with a bottom border */
|
|
98
|
+
border-bottom-width: 0.3px;
|
|
99
|
+
border-bottom-color: var(--unity-colors-default-text);
|
|
100
|
+
|
|
101
|
+
/* Adjust padding so the line isn't touching the letters */
|
|
102
|
+
padding-bottom: 1px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.timeline-btn {
|
|
106
|
+
flex-shrink: 0;
|
|
107
|
+
min-width: 60px;
|
|
108
|
+
margin-top: 0;
|
|
109
|
+
margin-bottom: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* Frame/Group containers */
|
|
113
|
+
/* ==========================================================================
|
|
114
|
+
Remote Token Input - Read-only token display field
|
|
115
|
+
========================================================================== */
|
|
116
|
+
|
|
117
|
+
.token-input {
|
|
118
|
+
flex-grow: 1;
|
|
119
|
+
flex-shrink: 1;
|
|
120
|
+
height: 20px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.token-input > .unity-base-field__input {
|
|
124
|
+
color: var(--unity-colors-helpbox-text);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.token-input.token-placeholder > .unity-base-field__input {
|
|
128
|
+
color: var(--unity-colors-helpbox-text);
|
|
129
|
+
opacity: 0.7;
|
|
130
|
+
-unity-font-style: italic;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* ==========================================================================
|
|
134
|
+
Alert Frame - Setup required notification panel
|
|
135
|
+
========================================================================== */
|
|
136
|
+
|
|
137
|
+
.alert-frame {
|
|
138
|
+
background-color: rgba(180, 120, 40, 0.12);
|
|
139
|
+
border-radius: 10px;
|
|
140
|
+
border-width: 1px;
|
|
141
|
+
border-color: rgba(220, 160, 60, 0.45);
|
|
142
|
+
padding: 10px 12px;
|
|
143
|
+
margin-top: 8px;
|
|
144
|
+
margin-bottom: 4px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.alert-frame-title {
|
|
148
|
+
font-size: 13px;
|
|
149
|
+
-unity-font-style: bold;
|
|
150
|
+
color: rgb(255, 200, 100);
|
|
151
|
+
margin-bottom: 4px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.alert-frame-message {
|
|
155
|
+
font-size: 12px;
|
|
156
|
+
color: rgb(210, 180, 130);
|
|
157
|
+
white-space: normal;
|
|
158
|
+
margin-bottom: 2px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.alert-frame-item {
|
|
162
|
+
font-size: 12px;
|
|
163
|
+
color: rgb(210, 180, 130);
|
|
164
|
+
white-space: normal;
|
|
165
|
+
padding-left: 8px;
|
|
166
|
+
margin-bottom: 1px;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.alert-frame-item-recommended {
|
|
170
|
+
color: rgb(255, 200, 100);
|
|
171
|
+
-unity-font-style: bold;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.frame-server {
|
|
175
|
+
/* background-color: rgba(20, 40, 69, 0.2); */
|
|
176
|
+
border-radius: 10px;
|
|
177
|
+
|
|
178
|
+
margin-bottom: -4px;
|
|
179
|
+
margin-top: 2px;
|
|
180
|
+
padding-top: 2px;
|
|
181
|
+
|
|
182
|
+
margin-right: -6px;
|
|
183
|
+
padding-right: 6px;
|
|
184
184
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
|
|
3
|
-
Shared imports for Tools, Prompts, and Resources windows
|
|
4
|
-
========================================================================== */
|
|
5
|
-
|
|
6
|
-
@import url("_base.uss");
|
|
7
|
-
@import url("_typography.uss");
|
|
8
|
-
@import url("_buttons.uss");
|
|
9
|
-
@import url("_forms.uss");
|
|
10
|
-
@import url("_list-view.uss");
|
|
11
|
-
@import url("_toggle-switch.uss");
|
|
12
|
-
@import url("_foldout.uss");
|
|
13
|
-
|
|
14
|
-
/* Common item metadata styles (role, uri, mimetype, etc.) */
|
|
15
|
-
.item-metadata {
|
|
16
|
-
font-size: 12px;
|
|
17
|
-
-unity-font-style: italic;
|
|
18
|
-
}
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Copilot List Window Common Imports
|
|
3
|
+
Shared imports for Tools, Prompts, and Resources windows
|
|
4
|
+
========================================================================== */
|
|
5
|
+
|
|
6
|
+
@import url("_base.uss");
|
|
7
|
+
@import url("_typography.uss");
|
|
8
|
+
@import url("_buttons.uss");
|
|
9
|
+
@import url("_forms.uss");
|
|
10
|
+
@import url("_list-view.uss");
|
|
11
|
+
@import url("_toggle-switch.uss");
|
|
12
|
+
@import url("_foldout.uss");
|
|
13
|
+
|
|
14
|
+
/* Common item metadata styles (role, uri, mimetype, etc.) */
|
|
15
|
+
.item-metadata {
|
|
16
|
+
font-size: 12px;
|
|
17
|
+
-unity-font-style: italic;
|
|
18
|
+
}
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
List View Styles - List containers and item styles
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
/* Base List View */
|
|
6
|
-
.
|
|
7
|
-
flex-grow: 1;
|
|
8
|
-
padding-left: 0;
|
|
9
|
-
padding-right: 0;
|
|
10
|
-
padding-bottom: 0;
|
|
11
|
-
padding-top: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.
|
|
15
|
-
background-color: rgba(0, 0, 0, 0);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.
|
|
19
|
-
padding-left: 15px;
|
|
20
|
-
padding-right: 15px;
|
|
21
|
-
padding-top: 20px;
|
|
22
|
-
padding-bottom: 20px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* Item Container */
|
|
26
|
-
.item-container {
|
|
27
|
-
background-color: var(--unity-colors-helpbox-background);
|
|
28
|
-
border-radius: 12px;
|
|
29
|
-
padding: 10px;
|
|
30
|
-
margin-bottom: 7px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* Item Header */
|
|
34
|
-
.item-header {
|
|
35
|
-
flex-direction: row;
|
|
36
|
-
justify-content: space-between;
|
|
37
|
-
align-items: flex-start;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* Item Title Container */
|
|
41
|
-
.item-title-container {
|
|
42
|
-
flex-grow: 1;
|
|
43
|
-
margin-right: 10px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Item Title */
|
|
47
|
-
.item-title {
|
|
48
|
-
font-size: 16px;
|
|
49
|
-
-unity-font-style: bold;
|
|
50
|
-
white-space: normal;
|
|
51
|
-
flex-grow: 1;
|
|
52
|
-
flex-shrink: 1;
|
|
53
|
-
margin-right: 10px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Item ID/Subtitle */
|
|
57
|
-
.item-id {
|
|
58
|
-
font-size: 12px;
|
|
59
|
-
color: var(--unity-colors-helpbox-text);
|
|
60
|
-
flex-shrink: 1;
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
text-overflow: ellipsis;
|
|
63
|
-
white-space: nowrap;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* Item Highlighting States — semitransparent tints layer over the
|
|
67
|
-
theme-aware base so the card stays readable on both light and dark
|
|
68
|
-
editor skins. */
|
|
69
|
-
.item-container.enabled {
|
|
70
|
-
background-color: rgba(80, 160, 80, 0.18);
|
|
71
|
-
transition-duration: 200ms;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.item-container.disabled {
|
|
75
|
-
background-color: rgba(160, 80, 80, 0.18);
|
|
76
|
-
transition-duration: 200ms;
|
|
77
|
-
}
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
List View Styles - List containers and item styles
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/* Base List View */
|
|
6
|
+
.copilot-list-view {
|
|
7
|
+
flex-grow: 1;
|
|
8
|
+
padding-left: 0;
|
|
9
|
+
padding-right: 0;
|
|
10
|
+
padding-bottom: 0;
|
|
11
|
+
padding-top: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.copilot-list-view .unity-list-view__item:hover {
|
|
15
|
+
background-color: rgba(0, 0, 0, 0);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.copilot-list-view .unity-scroll-view__content-container {
|
|
19
|
+
padding-left: 15px;
|
|
20
|
+
padding-right: 15px;
|
|
21
|
+
padding-top: 20px;
|
|
22
|
+
padding-bottom: 20px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Item Container */
|
|
26
|
+
.item-container {
|
|
27
|
+
background-color: var(--unity-colors-helpbox-background);
|
|
28
|
+
border-radius: 12px;
|
|
29
|
+
padding: 10px;
|
|
30
|
+
margin-bottom: 7px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Item Header */
|
|
34
|
+
.item-header {
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
align-items: flex-start;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Item Title Container */
|
|
41
|
+
.item-title-container {
|
|
42
|
+
flex-grow: 1;
|
|
43
|
+
margin-right: 10px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Item Title */
|
|
47
|
+
.item-title {
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
-unity-font-style: bold;
|
|
50
|
+
white-space: normal;
|
|
51
|
+
flex-grow: 1;
|
|
52
|
+
flex-shrink: 1;
|
|
53
|
+
margin-right: 10px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Item ID/Subtitle */
|
|
57
|
+
.item-id {
|
|
58
|
+
font-size: 12px;
|
|
59
|
+
color: var(--unity-colors-helpbox-text);
|
|
60
|
+
flex-shrink: 1;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
text-overflow: ellipsis;
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Item Highlighting States — semitransparent tints layer over the
|
|
67
|
+
theme-aware base so the card stays readable on both light and dark
|
|
68
|
+
editor skins. */
|
|
69
|
+
.item-container.enabled {
|
|
70
|
+
background-color: rgba(80, 160, 80, 0.18);
|
|
71
|
+
transition-duration: 200ms;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.item-container.disabled {
|
|
75
|
+
background-color: rgba(160, 80, 80, 0.18);
|
|
76
|
+
transition-duration: 200ms;
|
|
77
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
|
2
|
-
<ui:VisualElement class="root-container" style="min-width: 320px;">
|
|
3
|
-
<ui:VisualElement class="header-container">
|
|
4
|
-
<ui:Label text="Prompts" class="header-title" tooltip="Browse and control all
|
|
5
|
-
<ui:VisualElement class="filter-row">
|
|
6
|
-
<ui:Label text="Filter:" class="filter-label" />
|
|
7
|
-
<ui:TextField name="filter-textfield" class="filter-textfield styled-text-field" />
|
|
8
|
-
</ui:VisualElement>
|
|
9
|
-
<ui:VisualElement class="filter-row">
|
|
10
|
-
<ui:Label text="Type:" class="filter-label" />
|
|
11
|
-
<ui:DropdownField name="type-dropdown" index="0" class="type-dropdown styled-dropdown" />
|
|
12
|
-
<ui:Label text="Filtered: 0, Total: 0" name="filter-stats-label" class="filter-stats-label" />
|
|
13
|
-
</ui:VisualElement>
|
|
14
|
-
</ui:VisualElement>
|
|
15
|
-
<ui:Label name="empty-list-label" text="No prompts by current filter" class="empty-list-label" />
|
|
16
|
-
<ui:ListView name="
|
|
17
|
-
</ui:VisualElement>
|
|
18
|
-
</ui:UXML>
|
|
1
|
+
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
|
2
|
+
<ui:VisualElement class="root-container" style="min-width: 320px;">
|
|
3
|
+
<ui:VisualElement class="header-container">
|
|
4
|
+
<ui:Label text="Prompts" class="header-title" tooltip="Browse and control all prompts. Prompts are slash-commands the user can invoke from the AI client. They do not passively consume context — only when explicitly invoked. Disable prompts you don't need to keep your commands list clean." />
|
|
5
|
+
<ui:VisualElement class="filter-row">
|
|
6
|
+
<ui:Label text="Filter:" class="filter-label" />
|
|
7
|
+
<ui:TextField name="filter-textfield" class="filter-textfield styled-text-field" />
|
|
8
|
+
</ui:VisualElement>
|
|
9
|
+
<ui:VisualElement class="filter-row">
|
|
10
|
+
<ui:Label text="Type:" class="filter-label" />
|
|
11
|
+
<ui:DropdownField name="type-dropdown" index="0" class="type-dropdown styled-dropdown" />
|
|
12
|
+
<ui:Label text="Filtered: 0, Total: 0" name="filter-stats-label" class="filter-stats-label" />
|
|
13
|
+
</ui:VisualElement>
|
|
14
|
+
</ui:VisualElement>
|
|
15
|
+
<ui:Label name="empty-list-label" text="No prompts by current filter" class="empty-list-label" />
|
|
16
|
+
<ui:ListView name="copilot-list-view" class="copilot-list-view" />
|
|
17
|
+
</ui:VisualElement>
|
|
18
|
+
</ui:UXML>
|
package/vendor/plugin/com.atelierai.unity.copilot/Editor/UI/uxml/CopilotResourcesWindow.uxml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
|
2
|
-
<ui:VisualElement class="root-container" style="min-width: 320px;">
|
|
3
|
-
<ui:VisualElement class="header-container">
|
|
4
|
-
<ui:Label text="Resources" class="header-title" tooltip="Browse and control all
|
|
5
|
-
<ui:VisualElement class="filter-row">
|
|
6
|
-
<ui:Label text="Filter:" class="filter-label" />
|
|
7
|
-
<ui:TextField name="filter-textfield" class="filter-textfield styled-text-field" />
|
|
8
|
-
</ui:VisualElement>
|
|
9
|
-
<ui:VisualElement class="filter-row">
|
|
10
|
-
<ui:Label text="Type:" class="filter-label" />
|
|
11
|
-
<ui:DropdownField name="type-dropdown" index="0" class="type-dropdown styled-dropdown" />
|
|
12
|
-
<ui:Label text="Filtered: 0, Total: 0" name="filter-stats-label" class="filter-stats-label" />
|
|
13
|
-
</ui:VisualElement>
|
|
14
|
-
</ui:VisualElement>
|
|
15
|
-
<ui:Label name="empty-list-label" text="No resources by current filter" class="empty-list-label" />
|
|
16
|
-
<ui:ListView name="
|
|
17
|
-
</ui:VisualElement>
|
|
18
|
-
</ui:UXML>
|
|
1
|
+
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
|
2
|
+
<ui:VisualElement class="root-container" style="min-width: 320px;">
|
|
3
|
+
<ui:VisualElement class="header-container">
|
|
4
|
+
<ui:Label text="Resources" class="header-title" tooltip="Browse and control all resources. Resources are read-only data providers the AI can query for project information — scene hierarchy, asset metadata, settings. They never modify state. Disable unused resources to keep the list focused." />
|
|
5
|
+
<ui:VisualElement class="filter-row">
|
|
6
|
+
<ui:Label text="Filter:" class="filter-label" />
|
|
7
|
+
<ui:TextField name="filter-textfield" class="filter-textfield styled-text-field" />
|
|
8
|
+
</ui:VisualElement>
|
|
9
|
+
<ui:VisualElement class="filter-row">
|
|
10
|
+
<ui:Label text="Type:" class="filter-label" />
|
|
11
|
+
<ui:DropdownField name="type-dropdown" index="0" class="type-dropdown styled-dropdown" />
|
|
12
|
+
<ui:Label text="Filtered: 0, Total: 0" name="filter-stats-label" class="filter-stats-label" />
|
|
13
|
+
</ui:VisualElement>
|
|
14
|
+
</ui:VisualElement>
|
|
15
|
+
<ui:Label name="empty-list-label" text="No resources by current filter" class="empty-list-label" />
|
|
16
|
+
<ui:ListView name="copilot-list-view" class="copilot-list-view" />
|
|
17
|
+
</ui:VisualElement>
|
|
18
|
+
</ui:UXML>
|