feat: Remote-Execute für Linux/Bash – OS-basierte Tool-Descriptions und remote.sh Script
Remote-Verbindungen erkennen jetzt das OS des Clients und passen die Tool-Description dynamisch an (PowerShell für Windows, Bash für Linux). Neues remote.sh Script für Linux/macOS-Clients mit embedded Python WebSocket-Client. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
1035066a39
commit
53cee67bef
11 files changed
+381
-27
No files matched your search
@@ -31,6 +31,7 @@ public partial class AnthropicService
|
||||
public bool AllowUserChoice { get; init; }
|
||||
public bool PlanMode { get; init; }
|
||||
public bool IncludeRemote { get; init; }
|
||||
public string RemoteOs { get; init; }
|
||||
public bool IncludeGitHubSearch { get; init; }
|
||||
public bool IncludeSerperSearch { get; init; }
|
||||
}
|
||||
@@ -337,7 +338,7 @@ public partial class AnthropicService
|
||||
var allTools = _toolService.GetToolDefinitions(new ToolDefinitionOptions
|
||||
{
|
||||
IncludeFileTools = hasWorkspace, IncludeMemory = includeMemory,
|
||||
IncludeUserChoice = opts.AllowUserChoice, IncludeRemote = opts.IncludeRemote,
|
||||
IncludeUserChoice = opts.AllowUserChoice, IncludeRemote = opts.IncludeRemote, RemoteOs = opts.RemoteOs,
|
||||
IncludeMemorySearch = includeMemorySearch, IncludeSendToSession = includeSendToSession,
|
||||
IncludeGitHubSearch = opts.IncludeGitHubSearch, IncludeSerperSearch = opts.IncludeSerperSearch
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user