Initial commit: ClawdDotNet

Import des bestehenden Projektstands in Git.
- .NET 10 WinForms Anwendung (Multi-Agent / Tool-System)
- .gitignore fuer Build-Artefakte, Secrets und Runtime-Daten ergaenzt

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Richard
2026-07-26 18:21:46 +02:00
co-authored by Claude Opus 4.8
commit 2fed388c99
154 changed files with 29736 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
namespace ClawdDotNet;
public sealed partial class frm_AddService : Form
{
public string ServiceName => txtName.Text.Trim();
public string ServiceType => cbType.SelectedItem?.ToString() ?? "Custom";
public int ServicePort => int.TryParse(txtPort.Text, out var p) ? p : 0;
public string ServiceDescription => txtDescription.Text.Trim();
public frm_AddService()
{
InitializeComponent();
cbType.SelectedIndex = 0;
OnTypeChanged(this, EventArgs.Empty);
}
private void OnTypeChanged(object? sender, EventArgs e)
{
var type = cbType.SelectedItem?.ToString() ?? "";
if (string.IsNullOrWhiteSpace(txtName.Text) || txtName.Text.StartsWith("Neuer "))
txtName.Text = $"Neuer {type}";
txtDescription.Text = type switch
{
"StaticFileServer" => "Statischer Datei-Server",
"ReverseProxy" => "Reverse-Proxy zu einem externen Service",
"Custom" => "Benutzerdefinierter Service",
_ => ""
};
}
private void OnOkClick(object? sender, EventArgs e)
{
if (string.IsNullOrWhiteSpace(txtName.Text))
{
MessageBox.Show("Bitte einen Namen eingeben.", "Validierung",
MessageBoxButtons.OK, MessageBoxIcon.Warning);
DialogResult = DialogResult.None;
return;
}
if (!int.TryParse(txtPort.Text, out var port) || port < 1 || port > 65535)
{
MessageBox.Show("Bitte einen gültigen Port (1-65535) eingeben.", "Validierung",
MessageBoxButtons.OK, MessageBoxIcon.Warning);
DialogResult = DialogResult.None;
}
}
}