Skip to content

Commit 02bb10e

Browse files
joshspicerCopilot
andcommitted
Merge origin/main into joshspicer/managed-approval-required-sdk
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2 parents 8e7c16f + 0394797 commit 02bb10e

22 files changed

Lines changed: 3926 additions & 81 deletions

dotnet/src/Types.cs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3104,15 +3104,8 @@ protected SessionConfigBase(SessionConfigBase? other)
31043104
public string? ConfigDirectory { get; set; }
31053105

31063106
/// <summary>
3107-
/// When <see langword="true"/>, automatically discovers MCP server configurations
3108-
/// (e.g. <c>.mcp.json</c>, <c>.vscode/mcp.json</c>) and skill directories from
3109-
/// the working directory and merges them with any explicitly provided
3110-
/// <see cref="McpServers"/> and <see cref="SkillDirectories"/>, with explicit
3111-
/// values taking precedence on name collision.
3112-
/// <para>
3113-
/// Custom instruction files (<c>.github/copilot-instructions.md</c>, <c>AGENTS.md</c>, etc.)
3114-
/// are always loaded from the working directory regardless of this setting.
3115-
/// </para>
3107+
/// Enables runtime discovery of supported configuration. Explicitly supplied
3108+
/// configuration takes precedence over discovered values.
31163109
/// </summary>
31173110
public bool? EnableConfigDiscovery { get; set; }
31183111

go/types.go

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,13 +1163,9 @@ type SessionConfig struct {
11631163
// ConfigDirectory overrides the default configuration directory location.
11641164
// When specified, the session will use this directory for storing config and state.
11651165
ConfigDirectory string
1166-
// EnableConfigDiscovery, when non-nil, controls automatic discovery of MCP server configurations
1167-
// (e.g. .mcp.json, .vscode/mcp.json) and skill directories from the working directory
1168-
// and merges them with any explicitly provided MCPServers and SkillDirectories, with
1169-
// explicit values taking precedence on name collision.
1166+
// EnableConfigDiscovery enables runtime discovery of supported configuration.
1167+
// Explicitly supplied configuration takes precedence over discovered values.
11701168
// Nil leaves the runtime default unchanged; use Bool(false) to explicitly disable discovery.
1171-
// Custom instruction files (.github/copilot-instructions.md, AGENTS.md, etc.) are
1172-
// always loaded from the working directory regardless of this setting.
11731169
EnableConfigDiscovery *bool
11741170
// SkipEmbeddingRetrieval, when non-nil, controls embedding-based retrieval
11751171
// for this session. Use in multitenant deployments to prevent cross-session
@@ -1722,13 +1718,9 @@ type ResumeSessionConfig struct {
17221718
WorkingDirectory string
17231719
// ConfigDirectory overrides the default configuration directory location.
17241720
ConfigDirectory string
1725-
// EnableConfigDiscovery, when non-nil, controls automatic discovery of MCP server configurations
1726-
// (e.g. .mcp.json, .vscode/mcp.json) and skill directories from the working directory
1727-
// and merges them with any explicitly provided MCPServers and SkillDirectories, with
1728-
// explicit values taking precedence on name collision.
1721+
// EnableConfigDiscovery enables runtime discovery of supported configuration.
1722+
// Explicitly supplied configuration takes precedence over discovered values.
17291723
// Nil leaves the runtime default unchanged; use Bool(false) to explicitly disable discovery.
1730-
// Custom instruction files (.github/copilot-instructions.md, AGENTS.md, etc.) are
1731-
// always loaded from the working directory regardless of this setting.
17321724
EnableConfigDiscovery *bool
17331725
// SkipEmbeddingRetrieval, when non-nil, controls embedding-based retrieval
17341726
// for this session. Use in multitenant deployments to prevent cross-session

java/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<dependency>
9898
<groupId>com.fasterxml.jackson.core</groupId>
9999
<artifactId>jackson-databind</artifactId>
100-
<version>2.22.0</version>
100+
<version>2.22.1</version>
101101
</dependency>
102102
<dependency>
103103
<groupId>com.fasterxml.jackson.core</groupId>
@@ -107,14 +107,14 @@
107107
<dependency>
108108
<groupId>com.fasterxml.jackson.datatype</groupId>
109109
<artifactId>jackson-datatype-jsr310</artifactId>
110-
<version>2.22.0</version>
110+
<version>2.22.1</version>
111111
</dependency>
112112

113113
<!-- SpotBugs annotations for suppressing warnings -->
114114
<dependency>
115115
<groupId>com.github.spotbugs</groupId>
116116
<artifactId>spotbugs-annotations</artifactId>
117-
<version>4.10.2</version>
117+
<version>4.10.3</version>
118118
<scope>provided</scope>
119119
</dependency>
120120

@@ -149,7 +149,7 @@
149149
<plugin>
150150
<groupId>com.github.spotbugs</groupId>
151151
<artifactId>spotbugs-maven-plugin</artifactId>
152-
<version>4.10.2.0</version>
152+
<version>4.10.3.0</version>
153153
<configuration>
154154
<excludeFilterFile>config/spotbugs/spotbugs-exclude.xml</excludeFilterFile>
155155
</configuration>
@@ -176,7 +176,7 @@
176176
<plugin>
177177
<groupId>org.apache.maven.plugins</groupId>
178178
<artifactId>maven-jar-plugin</artifactId>
179-
<version>3.5.0</version>
179+
<version>3.5.1</version>
180180
</plugin>
181181
<plugin>
182182
<groupId>org.apache.maven.plugins</groupId>
@@ -462,7 +462,7 @@
462462
<plugin>
463463
<groupId>org.sonatype.central</groupId>
464464
<artifactId>central-publishing-maven-plugin</artifactId>
465-
<version>0.10.0</version>
465+
<version>0.11.0</version>
466466
<extensions>true</extensions>
467467
<configuration>
468468
<publishingServerId>central</publishingServerId>

java/src/main/java/com/github/copilot/rpc/ResumeSessionConfig.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -847,12 +847,8 @@ public Optional<Boolean> getEnableConfigDiscovery() {
847847
}
848848

849849
/**
850-
* Sets whether to automatically discover MCP server configurations and skill
851-
* directories from the working directory.
852-
* <p>
853-
* When {@code true}, the CLI scans the working directory for {@code .mcp.json},
854-
* {@code .vscode/mcp.json} and skill directories, and merges them with
855-
* explicitly provided configurations.
850+
* Enables runtime discovery of supported configuration. Explicitly supplied
851+
* configuration takes precedence over discovered values.
856852
*
857853
* @param enableConfigDiscovery
858854
* {@code true} to enable discovery, {@code false} to disable

java/src/main/java/com/github/copilot/rpc/SessionConfig.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,14 +1234,8 @@ public Optional<Boolean> getEnableConfigDiscovery() {
12341234
}
12351235

12361236
/**
1237-
* Sets whether to automatically discover MCP server configurations and skill
1238-
* directories from the working directory.
1239-
* <p>
1240-
* When {@code true}, the CLI scans the working directory for {@code .mcp.json},
1241-
* {@code .vscode/mcp.json} and skill directories, and merges them with
1242-
* explicitly provided {@link #setMcpServers(Map)} and
1243-
* {@link #setSkillDirectories(List)}, with explicit values taking precedence on
1244-
* name collision.
1237+
* Enables runtime discovery of supported configuration. Explicitly supplied
1238+
* configuration takes precedence over discovered values.
12451239
*
12461240
* @param enableConfigDiscovery
12471241
* {@code true} to enable discovery, {@code false} to disable

nodejs/docs/extensions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,5 @@ The `session` object provides methods for sending messages, logging to the timel
5656
## Further Reading
5757

5858
- `examples.md` — Practical code examples for tools, hooks, events, and complete extensions
59+
- `factories.md`: Authoring, running, resuming, and observing Agent Factories
5960
- `agent-author.md` — Step-by-step workflow for agents authoring extensions programmatically

0 commit comments

Comments
 (0)