text stringlengths 19 585k | label stringclasses 2
values | category stringclasses 2
values | language stringclasses 14
values | repo stringclasses 932
values | sha stringlengths 40 40 |
|---|---|---|---|---|---|
@@ -0,0 +1,128 @@
+[<AutoOpen>]
+module Farmer.Arm.AlertsManagement
+
+open Farmer
+
+let prometheusRuleGroups =
+ ResourceType("Microsoft.AlertsManagement/prometheusRuleGroups", "2023-03-01")
+
+type Action = {
+ ActionGroupId: ResourceId
+ ActionProperties: Map<string, string> option
+} with
+
+ member in... | bad | review | fsharp | CompositionalIT/farmer | 73506b86256f26f3547ef6243684eedb2eb2bd38 |
diff --git a/src/Farmer/Arm/AlertsManagement.fs b/src/Farmer/Arm/AlertsManagement.fs
new file mode 100644
index 000000000..fdd043622
--- /dev/null
+++ b/src/Farmer/Arm/AlertsManagement.fs
@@ -0,0 +1,127 @@
+[<AutoOpen>]
+module Farmer.Arm.AlertsManagement
+
+open Farmer
+
+let prometheusRuleGroups =
+ ResourceType("... | good | review_fixed | fsharp | CompositionalIT/farmer | 73506b86256f26f3547ef6243684eedb2eb2bd38 |
@@ -0,0 +1,199 @@
+[<AutoOpen>]
+module Farmer.Builders.AlertsManagement
+
+open Farmer
+open Farmer.Arm
+
+type PrometheusRuleConfig = {
+ Record: string option
+ Expression: string
+ Labels: Map<string, string> option
+ Enabled: FeatureFlag option
+ Alert: string option
+ Severity: AlertSeverity opt... | bad | review | fsharp | CompositionalIT/farmer | 73506b86256f26f3547ef6243684eedb2eb2bd38 |
diff --git a/src/Farmer/Builders/Builders.AlertsManagement.fs b/src/Farmer/Builders/Builders.AlertsManagement.fs
new file mode 100644
index 000000000..44886a1b0
--- /dev/null
+++ b/src/Farmer/Builders/Builders.AlertsManagement.fs
@@ -0,0 +1,199 @@
+[<AutoOpen>]
+module Farmer.Builders.AlertsManagement
+
+open Farmer
+o... | good | review_fixed | fsharp | CompositionalIT/farmer | 73506b86256f26f3547ef6243684eedb2eb2bd38 |
@@ -465,4 +468,23 @@ let tests =
Expect.isSome managedEnvironment.AppInsightsInstrumentationKey "Dapr AI key not set"
}
- ]
\ No newline at end of file
+
+ test "Supports Health Probes" {
+ let apps =
+ fullContainerAppDeployment.Template.Resources... | bad | review | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
diff --git a/src/Tests/ContainerApps.fs b/src/Tests/ContainerApps.fs
index 1cb78c9be..8d24a196a 100644
--- a/src/Tests/ContainerApps.fs
+++ b/src/Tests/ContainerApps.fs
@@ -1,5 +1,6 @@
module ContainerApps
+open System
open Expecto
open Farmer
open Farmer.Builders
@@ -41,6 +42,7 @@ let fullContainerAppDeployment ... | good | review_fixed | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
@@ -465,4 +468,23 @@ let tests =
Expect.isSome managedEnvironment.AppInsightsInstrumentationKey "Dapr AI key not set"
}
- ]
\ No newline at end of file
+
+ test "Supports Health Probes" {
+ let apps =
+ fullContainerAppDeployment.Template.Resources... | bad | review | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
diff --git a/src/Tests/ContainerApps.fs b/src/Tests/ContainerApps.fs
index 1cb78c9be..8d24a196a 100644
--- a/src/Tests/ContainerApps.fs
+++ b/src/Tests/ContainerApps.fs
@@ -1,5 +1,6 @@
module ContainerApps
+open System
open Expecto
open Farmer
open Farmer.Builders
@@ -41,6 +42,7 @@ let fullContainerAppDeployment ... | good | review_fixed | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
@@ -465,4 +468,23 @@ let tests =
Expect.isSome managedEnvironment.AppInsightsInstrumentationKey "Dapr AI key not set"
}
- ]
\ No newline at end of file
+
+ test "Supports Health Probes" {
+ let apps =
+ fullContainerAppDeployment.Template.Resources... | bad | review | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
diff --git a/src/Tests/ContainerApps.fs b/src/Tests/ContainerApps.fs
index 1cb78c9be..8d24a196a 100644
--- a/src/Tests/ContainerApps.fs
+++ b/src/Tests/ContainerApps.fs
@@ -1,5 +1,6 @@
module ContainerApps
+open System
open Expecto
open Farmer
open Farmer.Builders
@@ -41,6 +42,7 @@ let fullContainerAppDeployment ... | good | review_fixed | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
@@ -88,6 +88,7 @@ The Container builder (`container`) is used to define one or more containers for
| cpu_cores | Specifies the CPU cores allocated to the container (maximum 2.0). |
| memory | Specifies the memory in gigabytes allocated to the container (maximum 4.0). |
| add_volume_mount | Adds a volume mount on a c... | bad | review | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 | |
diff --git a/docs/content/api-overview/resources/container-apps.md b/docs/content/api-overview/resources/container-apps.md
index 8dfb90974..25d7633ad 100644
--- a/docs/content/api-overview/resources/container-apps.md
+++ b/docs/content/api-overview/resources/container-apps.md
@@ -88,6 +88,7 @@ The Container builder (`c... | good | review_fixed | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 | |
@@ -19,6 +19,23 @@ let daprComponents =
open Farmer.ContainerAppValidation
open Farmer.Identity
+ | bad | review | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
diff --git a/src/Farmer/Arm/App.fs b/src/Farmer/Arm/App.fs
index dcb613cc6..128461ba4 100644
--- a/src/Farmer/Arm/App.fs
+++ b/src/Farmer/Arm/App.fs
@@ -19,6 +19,21 @@ let daprComponents =
open Farmer.ContainerAppValidation
open Farmer.Identity
+type HealthProbe =
+ | Liveness
+ | Readiness
+ | Startup
+
+... | good | review_fixed | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
@@ -19,6 +19,23 @@ let daprComponents =
open Farmer.ContainerAppValidation
open Farmer.Identity
+
+type HealthProbe =
+ | Liveness
+ | Readiness
+ | Startup
+
+ | bad | review | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
diff --git a/src/Farmer/Arm/App.fs b/src/Farmer/Arm/App.fs
index dcb613cc6..128461ba4 100644
--- a/src/Farmer/Arm/App.fs
+++ b/src/Farmer/Arm/App.fs
@@ -19,6 +19,21 @@ let daprComponents =
open Farmer.ContainerAppValidation
open Farmer.Identity
+type HealthProbe =
+ | Liveness
+ | Readiness
+ | Startup
+
+... | good | review_fixed | fsharp | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 |
@@ -1,6 +1,8 @@
Release Notes
=============
+* Add health probes for Azure Container Apps | bad | review | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 | |
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index b8741d84b..4691d4c7a 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -2,7 +2,7 @@ Release Notes
=============
## 1.9.15
-
+* Container Apps: Adds health probes.
* AKS: Add node_taints parameter to agent pool config.
## 1.9.14
| good | review_fixed | CompositionalIT/farmer | c3906265b90a84b8d1ef432a7def40e316e65643 | |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup = | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,317 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGroups
+
+open Farmer
+open System
+
+let actionGroup =
+ Farmer.ResourceType("microsoft.insights/actionGroups", "2022-06-01")
+
+/// https://learn.microsoft.com/en-us/azur... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Arm/ActionGroup.fs b/src/Farmer/Arm/ActionGroup.fs
new file mode 100644
index 000000000..15b14cc67
--- /dev/null
+++ b/src/Farmer/Arm/ActionGroup.fs
@@ -0,0 +1,331 @@
+/// https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/actiongroups
+[<AutoOpen>]
+module Farmer.Arm.ActionGr... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,167 @@
+[<AutoOpen>]
+module Farmer.Builders.ActionGroup
+
+open Farmer
+open Farmer.Arm.ActionGroups
+
+type ActionGroupConfig =
+ {
+ Name: Farmer.ResourceName
+ GroupShortName: Farmer.ResourceName
+ Enabled: bool
+ ArmRoleReceivers: ArmRoleReceiver list
+ AutomationR... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Builders/Builders.ActionGroup.fs b/src/Farmer/Builders/Builders.ActionGroup.fs
new file mode 100644
index 000000000..b8377a4be
--- /dev/null
+++ b/src/Farmer/Builders/Builders.ActionGroup.fs
@@ -0,0 +1,167 @@
+[<AutoOpen>]
+module Farmer.Builders.ActionGroup
+
+open Farmer
+open Farmer.Arm.Acti... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -0,0 +1,167 @@
+[<AutoOpen>]
+module Farmer.Builders.ActionGroup
+
+open Farmer
+open Farmer.Arm.ActionGroups
+
+type ActionGroupConfig =
+ {
+ Name: Farmer.ResourceName
+ GroupShortName: Farmer.ResourceName
+ Enabled: bool
+ ArmRoleReceivers: ArmRoleReceiver list
+ AutomationR... | bad | review | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
diff --git a/src/Farmer/Builders/Builders.ActionGroup.fs b/src/Farmer/Builders/Builders.ActionGroup.fs
new file mode 100644
index 000000000..b8377a4be
--- /dev/null
+++ b/src/Farmer/Builders/Builders.ActionGroup.fs
@@ -0,0 +1,167 @@
+[<AutoOpen>]
+module Farmer.Builders.ActionGroup
+
+open Farmer
+open Farmer.Arm.Acti... | good | review_fixed | fsharp | CompositionalIT/farmer | 127ab632acab9411a1c2b8fa551f5d4fe6cc9d8b |
@@ -86,3 +104,59 @@ arm {
]
}
```
+
+#### Example of a Gallery Application Version
+
+```fsharp
+open Farmer
+open Farmer.Arm.Gallery
+open Farmer.Builders
+
+let myGallery =
+ gallery {
+ name "mygallery"
+ description "Example Community Image Gallery"
+ sharing_profile (
+ Co... | bad | review | CompositionalIT/farmer | 541450eb173540c60417e5272f169a921ec48191 | |
diff --git a/docs/content/api-overview/resources/gallery.md b/docs/content/api-overview/resources/gallery.md
index 331823e98..15b561751 100644
--- a/docs/content/api-overview/resources/gallery.md
+++ b/docs/content/api-overview/resources/gallery.md
@@ -6,48 +6,66 @@ chapter: false
---
#### Overview
-The `gallery` b... | good | review_fixed | CompositionalIT/farmer | 541450eb173540c60417e5272f169a921ec48191 | |
@@ -440,10 +443,18 @@ type VirtualMachineBuilder() =
/// Sets the operating system of the VM. A set of samples is provided in the `CommonImages` module.
[<CustomOperation "operating_system">]
- member _.ConfigureOs(state: VmConfig, image) =
+ member _.ConfigureOs(state: VmConfig, image: ImageDefinitio... | bad | review | fsharp | CompositionalIT/farmer | 6d9525e84fe33cbb9f47dd7806333089f7eee331 |
diff --git a/src/Farmer/Builders/Builders.Vm.fs b/src/Farmer/Builders/Builders.Vm.fs
index 08a80f289..0571ec910 100644
--- a/src/Farmer/Builders/Builders.Vm.fs
+++ b/src/Farmer/Builders/Builders.Vm.fs
@@ -45,6 +45,7 @@ type VmConfig = {
VNet: ResourceRef<VmConfig>
AddressPrefix: string
SubnetPrefix: stri... | good | review_fixed | fsharp | CompositionalIT/farmer | 6d9525e84fe33cbb9f47dd7806333089f7eee331 |
@@ -821,6 +821,19 @@ module Vm =
OS: OS
}
+ type GalleryImageId = | bad | review | fsharp | CompositionalIT/farmer | 6d9525e84fe33cbb9f47dd7806333089f7eee331 |
diff --git a/src/Farmer/Common.fs b/src/Farmer/Common.fs
index 12e93a453..f956dbef7 100644
--- a/src/Farmer/Common.fs
+++ b/src/Farmer/Common.fs
@@ -217,6 +217,25 @@ module DedicatedHosts =
| WindowsPerpetual -> "Windows_Server_Perpetual"
module Vm =
+
+ type VmProxyAgentMode =
+ | Audit
+ ... | good | review_fixed | fsharp | CompositionalIT/farmer | 6d9525e84fe33cbb9f47dd7806333089f7eee331 |
@@ -378,6 +381,73 @@ type VirtualMachineBuilder() =
| other -> other)
}
+ [<CustomOperation "encryption_atHost">] | bad | review | fsharp | CompositionalIT/farmer | 6d9525e84fe33cbb9f47dd7806333089f7eee331 |
diff --git a/src/Farmer/Builders/Builders.Vm.fs b/src/Farmer/Builders/Builders.Vm.fs
index 08a80f289..0571ec910 100644
--- a/src/Farmer/Builders/Builders.Vm.fs
+++ b/src/Farmer/Builders/Builders.Vm.fs
@@ -45,6 +45,7 @@ type VmConfig = {
VNet: ResourceRef<VmConfig>
AddressPrefix: string
SubnetPrefix: stri... | good | review_fixed | fsharp | CompositionalIT/farmer | 6d9525e84fe33cbb9f47dd7806333089f7eee331 |
@@ -378,6 +381,73 @@ type VirtualMachineBuilder() =
| other -> other)
}
+ [<CustomOperation "encryption_atHost">]
+ member _.Encryption(state: VmConfig, enabled) = {
+ state with
+ SecurityProfile =
+ state.SecurityProfile
+ |> Op... | bad | review | fsharp | CompositionalIT/farmer | 6d9525e84fe33cbb9f47dd7806333089f7eee331 |
diff --git a/src/Farmer/Builders/Builders.Vm.fs b/src/Farmer/Builders/Builders.Vm.fs
index 08a80f289..0571ec910 100644
--- a/src/Farmer/Builders/Builders.Vm.fs
+++ b/src/Farmer/Builders/Builders.Vm.fs
@@ -45,6 +45,7 @@ type VmConfig = {
VNet: ResourceRef<VmConfig>
AddressPrefix: string
SubnetPrefix: stri... | good | review_fixed | fsharp | CompositionalIT/farmer | 6d9525e84fe33cbb9f47dd7806333089f7eee331 |
@@ -7,6 +7,9 @@
"documentationUrl": "https://github.com/CoplayDev/unity-mcp",
"licensesUrl": "https://github.com/CoplayDev/unity-mcp/blob/main/LICENSE",
"dependencies": {
+ "com.unity.modules.imageconversion": "1.0.0",
+ "com.unity.modules.physics2d": "1.0.0",
+ "com.unity.modules.screencapture": "1.0... | bad | review | CoplayDev/unity-mcp | ec9b22a4e1fe03ad7c0ee16dab51f846474c99e9 | |
diff --git a/MCPForUnity/package.json b/MCPForUnity/package.json
index bc01b39d8..a97a44f82 100644
--- a/MCPForUnity/package.json
+++ b/MCPForUnity/package.json
@@ -7,6 +7,13 @@
"documentationUrl": "https://github.com/CoplayDev/unity-mcp",
"licensesUrl": "https://github.com/CoplayDev/unity-mcp/blob/main/LICENSE",... | good | review_fixed | CoplayDev/unity-mcp | ec9b22a4e1fe03ad7c0ee16dab51f846474c99e9 | |
@@ -236,6 +236,71 @@ public static ScreenshotCaptureResult CaptureFromCameraToProjectFolder(
return result;
}
+#if UNITY_EDITOR
+ // Backing state for CaptureCompositedAfterFrame. A transient MonoBehaviour writes the
+ // composited frame here after yielding WaitForEndOfFrame; the ... | bad | review | csharp | CoplayDev/unity-mcp | 6e4302db6a8fe7e2d61b94bad0746b07a7b3152b |
diff --git a/MCPForUnity/Runtime/Helpers/ScreenshotUtility.cs b/MCPForUnity/Runtime/Helpers/ScreenshotUtility.cs
index 440fc5ec9..02de15551 100644
--- a/MCPForUnity/Runtime/Helpers/ScreenshotUtility.cs
+++ b/MCPForUnity/Runtime/Helpers/ScreenshotUtility.cs
@@ -81,6 +81,18 @@ public static bool IsScreenCaptureModuleAvai... | good | review_fixed | csharp | CoplayDev/unity-mcp | 6e4302db6a8fe7e2d61b94bad0746b07a7b3152b |
@@ -236,6 +236,22 @@ public static ScreenshotCaptureResult CaptureFromCameraToProjectFolder(
return result;
}
+#if UNITY_EDITOR
+ // Synchronously drive a WaitForEndOfFrame ScreenshotCapturer by pumping the editor's
+ // player loop. Play-mode only; EditorApplication.Step is a no-o... | bad | review | csharp | CoplayDev/unity-mcp | 6e4302db6a8fe7e2d61b94bad0746b07a7b3152b |
diff --git a/MCPForUnity/Runtime/Helpers/ScreenshotUtility.cs b/MCPForUnity/Runtime/Helpers/ScreenshotUtility.cs
index 440fc5ec9..02de15551 100644
--- a/MCPForUnity/Runtime/Helpers/ScreenshotUtility.cs
+++ b/MCPForUnity/Runtime/Helpers/ScreenshotUtility.cs
@@ -81,6 +81,18 @@ public static bool IsScreenCaptureModuleAvai... | good | review_fixed | csharp | CoplayDev/unity-mcp | 6e4302db6a8fe7e2d61b94bad0746b07a7b3152b |
@@ -0,0 +1,122 @@
+name: Bug report
+description: Something isn't working as expected
+title: "[Bug]: "
+labels: ["bug", "needs-triage"]
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to file a bug. The more specific you can be, the faster we can help.
+
+ **Befor... | bad | review | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 000000000..33cbf6d49
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,122 @@
+name: Bug report
+description: Something isn't working as expected
+title: "[Bug]: "
+labels: ["bug", "n... | good | review_fixed | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
@@ -0,0 +1,89 @@
+name: Docs — Build & Deploy
+
+# Builds the Docusaurus site under /website and, on push to beta, deploys
+# to GitHub Pages at https://coplaydev.github.io/unity-mcp/.
+#
+# PR runs only build (no deploy) as a preview-validation step.
+# Re-deploys also fire when the Python tool/resource registry chang... | bad | review | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml
new file mode 100644
index 000000000..2ee53f24f
--- /dev/null
+++ b/.github/workflows/docs-deploy.yml
@@ -0,0 +1,92 @@
+name: Docs — Build & Deploy
+
+# Builds the Docusaurus site under /website and, on push to beta, deploys
+# to GitHub... | good | review_fixed | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
@@ -0,0 +1,70 @@
+name: Docs — Reference Drift Check
+
+# Fails a PR if the committed /website/docs/reference/ output disagrees
+# with what tools/generate_docs_reference.py would produce from the live
+# Python tool/resource registry. Contributors should regenerate locally:
+#
+# cd Server && uv run python ../tools/... | bad | review | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
diff --git a/.github/workflows/docs-generate.yml b/.github/workflows/docs-generate.yml
new file mode 100644
index 000000000..5db34efb1
--- /dev/null
+++ b/.github/workflows/docs-generate.yml
@@ -0,0 +1,72 @@
+name: Docs — Reference Drift Check
+
+# Fails a PR if the committed /website/docs/reference/ output disagrees
+... | good | review_fixed | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
@@ -0,0 +1,85 @@
+name: Docs — Sync Release Notes
+
+# Keeps website/docs/releases.md and the README's "Recent Updates" block
+# in sync with the GitHub Releases API. Source of truth is GitHub Releases.
+#
+# Triggers:
+# - release.published / edited / unpublished / deleted: instant sync on
+# every release event... | bad | review | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
diff --git a/.github/workflows/sync-releases.yml b/.github/workflows/sync-releases.yml
new file mode 100644
index 000000000..8892af0b0
--- /dev/null
+++ b/.github/workflows/sync-releases.yml
@@ -0,0 +1,78 @@
+name: Docs — Sync Release Notes
+
+# Keeps website/docs/releases.md and the README's "Recent Updates" block
+# ... | good | review_fixed | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
@@ -0,0 +1,85 @@
+name: Docs — Sync Release Notes
+
+# Keeps website/docs/releases.md and the README's "Recent Updates" block
+# in sync with the GitHub Releases API. Source of truth is GitHub Releases.
+#
+# Triggers:
+# - release.published / edited / unpublished / deleted: instant sync on
+# every release event... | bad | review | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
diff --git a/.github/workflows/sync-releases.yml b/.github/workflows/sync-releases.yml
new file mode 100644
index 000000000..8892af0b0
--- /dev/null
+++ b/.github/workflows/sync-releases.yml
@@ -0,0 +1,78 @@
+name: Docs — Sync Release Notes
+
+# Keeps website/docs/releases.md and the README's "Recent Updates" block
+# ... | good | review_fixed | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
@@ -0,0 +1,39 @@
+---
+id: index
+slug: /getting-started
+title: Overview
+sidebar_label: Overview
+description: AI-driven game development for the Unity Editor via the Model Context Protocol.
+---
+
+# Overview
+
+MCP for Unity bridges AI assistants — Claude, Codex, VS Code, local LLMs, and more — with the Unity Edito... | bad | review | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
diff --git a/website/docs/getting-started/index.md b/website/docs/getting-started/index.md
new file mode 100644
index 000000000..2db6581be
--- /dev/null
+++ b/website/docs/getting-started/index.md
@@ -0,0 +1,39 @@
+---
+id: index
+slug: /getting-started
+title: Overview
+sidebar_label: Overview
+description: AI-driven ... | good | review_fixed | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
@@ -0,0 +1,44 @@
+---
+title: manage_asset
+sidebar_label: manage_asset
+description: "Performs asset operations (import, create, modify, delete, etc" | bad | review | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
diff --git a/website/docs/reference/tools/core/manage_asset.md b/website/docs/reference/tools/core/manage_asset.md
new file mode 100644
index 000000000..ad1485f3f
--- /dev/null
+++ b/website/docs/reference/tools/core/manage_asset.md
@@ -0,0 +1,44 @@
+---
+title: manage_asset
+sidebar_label: manage_asset
+description: "... | good | review_fixed | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac | |
@@ -0,0 +1,64 @@
+import React, { useState } from 'react';
+import styles from './styles.module.css';
+
+/**
+ * Minimal "copy to clipboard" button. Shows a 1.5s confirmation state
+ * after a successful copy. Falls back silently when the Clipboard API
+ * isn't available (older browsers, insecure contexts) — the user ... | bad | review | javascript | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac |
diff --git a/website/src/components/CopyButton/index.js b/website/src/components/CopyButton/index.js
new file mode 100644
index 000000000..5b2cf42ff
--- /dev/null
+++ b/website/src/components/CopyButton/index.js
@@ -0,0 +1,72 @@
+import React, { useState, useRef, useEffect } from 'react';
+import styles from './styles.... | good | review_fixed | javascript | CoplayDev/unity-mcp | 7c553f195ed6579760b99968712e3d108e7c66ac |
@@ -13,10 +13,14 @@ public static class RoslynInstaller
private static readonly (string packageId, string version, string dllPath, string dllName)[] NuGetEntries =
{
- ("microsoft.codeanalysis.common", "4.12.0", "lib/netstandard2.0/Microsoft.CodeAnalysis.dll", "Microsoft.CodeAnal... | bad | review | csharp | CoplayDev/unity-mcp | 3b1d1aa525f0e6a9c83fa9a38c4641bc42f9250c |
diff --git a/MCPForUnity/Editor/Setup/RoslynInstaller.cs b/MCPForUnity/Editor/Setup/RoslynInstaller.cs
index 6f4429010..51378a608 100644
--- a/MCPForUnity/Editor/Setup/RoslynInstaller.cs
+++ b/MCPForUnity/Editor/Setup/RoslynInstaller.cs
@@ -1,6 +1,7 @@
using System;
using System.IO;
using System.IO.Compression;
+usi... | good | review_fixed | csharp | CoplayDev/unity-mcp | 3b1d1aa525f0e6a9c83fa9a38c4641bc42f9250c |
@@ -45,6 +45,11 @@ protected McpClientConfiguratorBase(McpClient client)
public abstract string GetConfigPath();
public abstract McpStatus CheckStatus(bool attemptAutoRewrite = true);
public abstract void Configure();
+
+ /// <summary>Default Unregister is a no-op. Override in JsonFile... | bad | review | csharp | CoplayDev/unity-mcp | ad510eb89312dac0de65b426bc88928055896f71 |
diff --git a/MCPForUnity/Editor/Clients/McpClientConfiguratorBase.cs b/MCPForUnity/Editor/Clients/McpClientConfiguratorBase.cs
index 5c3d81c7c..5ae07d7aa 100644
--- a/MCPForUnity/Editor/Clients/McpClientConfiguratorBase.cs
+++ b/MCPForUnity/Editor/Clients/McpClientConfiguratorBase.cs
@@ -45,6 +45,11 @@ protected McpCli... | good | review_fixed | csharp | CoplayDev/unity-mcp | ad510eb89312dac0de65b426bc88928055896f71 |
@@ -62,12 +67,45 @@ public ClientConfigurationSummary ConfigureAllDetectedClients()
return summary;
}
+ private static void ConfigureWithTransportCoercion(IMcpClientConfigurator configurator)
+ {
+ bool originalHttp = EditorConfigurationCache.Instance.UseHttpTransport;
+... | bad | review | csharp | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 |
diff --git a/MCPForUnity/Editor/Services/ClientConfigurationService.cs b/MCPForUnity/Editor/Services/ClientConfigurationService.cs
index 65f0e1d33..d3eb86693 100644
--- a/MCPForUnity/Editor/Services/ClientConfigurationService.cs
+++ b/MCPForUnity/Editor/Services/ClientConfigurationService.cs
@@ -30,7 +30,7 @@ public vo... | good | review_fixed | csharp | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 |
@@ -0,0 +1,54 @@
+using MCPForUnity.Editor.Clients;
+using MCPForUnity.Editor.Constants;
+using MCPForUnity.Editor.Helpers;
+using MCPForUnity.Editor.Models;
+using UnityEditor;
+
+namespace MCPForUnity.Editor.Services
+{
+ /// <summary>
+ /// Once per Editor session, sweeps registered configurators and re-runs C... | bad | review | csharp | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 |
diff --git a/MCPForUnity/Editor/Services/StartupConfigRewrite.cs b/MCPForUnity/Editor/Services/StartupConfigRewrite.cs
new file mode 100644
index 000000000..2df69f3a3
--- /dev/null
+++ b/MCPForUnity/Editor/Services/StartupConfigRewrite.cs
@@ -0,0 +1,96 @@
+using System;
+using System.Reflection;
+using MCPForUnity.Edit... | good | review_fixed | csharp | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 |
@@ -96,6 +114,75 @@ private void OnRefreshClicked()
private void OnDoneClicked()
{
+ if (_dependencyResult != null && _dependencyResult.IsSystemReady)
+ {
+ ShowClientsStep();
+ }
+ else
+ {
+ Setup.SetupWindowServi... | bad | review | csharp | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 |
diff --git a/MCPForUnity/Editor/Windows/MCPSetupWindow.cs b/MCPForUnity/Editor/Windows/MCPSetupWindow.cs
index 628a813d6..502085640 100644
--- a/MCPForUnity/Editor/Windows/MCPSetupWindow.cs
+++ b/MCPForUnity/Editor/Windows/MCPSetupWindow.cs
@@ -1,7 +1,10 @@
using System;
+using System.Collections.Generic;
+using MCPFo... | good | review_fixed | csharp | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 |
@@ -77,11 +77,19 @@ openupm add com.coplaydev.unity-mcp
### 2. Start the Server & Connect
-1. In Unity: `Window > MCP for Unity`
-2. Click **Start Server** (launches HTTP server on `localhost:8080`)
-3. Select your MCP Client from the dropdown and click **Configure**
-4. Look for 🟢 "Connected ✓"
-5. **Connect you... | bad | review | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 | |
diff --git a/README.md b/README.md
index 8327d7656..2a27a18fa 100644
--- a/README.md
+++ b/README.md
@@ -77,11 +77,19 @@ openupm add com.coplaydev.unity-mcp
### 2. Start the Server & Connect
-1. In Unity: `Window > MCP for Unity`
-2. Click **Start Server** (launches HTTP server on `localhost:8080`)
-3. Select your... | good | review_fixed | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 | |
@@ -0,0 +1,37 @@
+using System.Reflection;
+using NUnit.Framework;
+using UnityEditor;
+
+namespace MCPForUnityTests.Editor.Services
+{
+ [TestFixture]
+ public class StartupConfigRewriteTests
+ {
+ [Test]
+ public void StartupConfigRewrite_TypeExists()
+ {
+ var t = System.Type... | bad | review | csharp | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 |
diff --git a/TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/StartupConfigRewriteTests.cs b/TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/StartupConfigRewriteTests.cs
new file mode 100644
index 000000000..eff93be53
--- /dev/null
+++ b/TestProjects/UnityMCPTests/Assets/Tests/EditMode/Services/Start... | good | review_fixed | csharp | CoplayDev/unity-mcp | b70babfa98b4ae0f923aafb09a9e6b869f79cf02 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.