diff --git a/.netconfig b/.netconfig index 04557b4..59d2a2d 100644 --- a/.netconfig +++ b/.netconfig @@ -10,13 +10,13 @@ etag = 2c6335b37e4ae05eea7c01f5d0c9d82b49c488f868a8b5ba7bff7c6ff01f3994 weak -[file "Directory.Build.props"] +[file "src/Directory.Build.props"] url = https://github.com/devlooped/oss/tree/main/src/Directory.Build.props sha = 2fff747a9673b499c99f2da183cdd5263fdc9333 etag = 0fccddf04f282fe98122ab2610dc2972c205a521254559bf013655c6271b0017 weak -[file "Directory.Build.targets"] +[file "src/Directory.Build.targets"] url = https://github.com/devlooped/oss/tree/main/src/Directory.Build.targets sha = a8b208093599263b7f2d1fe3854634c588ea5199 diff --git a/Smith.slnx b/Smith.slnx new file mode 100644 index 0000000..ef93140 --- /dev/null +++ b/Smith.slnx @@ -0,0 +1,4 @@ + + + + diff --git a/assets/icon.png b/assets/icon.png new file mode 100644 index 0000000..a2f61dc Binary files /dev/null and b/assets/icon.png differ diff --git a/assets/icon.svg b/assets/icon.svg new file mode 100644 index 0000000..6b1d2f9 --- /dev/null +++ b/assets/icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/readme.md b/readme.md index 3b13798..20ad9bb 100644 --- a/readme.md +++ b/readme.md @@ -1,10 +1,15 @@ -An opinionated meta-package for doing AI agents using Microsoft.Extensions.AI and MCP and dotnet run file. +![Icon](assets/icon.png) Smith +============ [![Version](https://img.shields.io/nuget/vpre/Smith.svg?color=royalblue)](https://www.nuget.org/packages/Smith) [![Downloads](https://img.shields.io/nuget/dt/Smith.svg?color=green)](https://www.nuget.org/packages/Smith) [![License](https://img.shields.io/github/license/devlooped/Smith.svg?color=blue)](https://github.com//devlooped/Smith/blob/main/license.txt) [![Build](https://github.com/devlooped/Smith/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/devlooped/Smith/actions) + + +An opinionated meta-package for doing AI agents using Microsoft.Extensions.AI and MCP and dotnet run file. + Example Claude-based agent: ![](https://raw.githubusercontent.com/devlooped/smith/main/assets/run.png) @@ -15,8 +20,8 @@ Example Claude-based agent: var configuration = new ConfigurationBuilder() .AddEnvironmentVariables() .AddUserSecrets() - .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true) - .AddIniFile("appsettings.ini", optional: true, reloadOnChange: true) + .AddJsonFile("appsettings.json", optional: true) + .AddIniFile("appsettings.ini", optional: true) .Build(); var services = new ServiceCollection(); diff --git a/Directory.Build.props b/src/Directory.Build.props similarity index 100% rename from Directory.Build.props rename to src/Directory.Build.props diff --git a/Directory.Build.targets b/src/Directory.Build.targets similarity index 100% rename from Directory.Build.targets rename to src/Directory.Build.targets diff --git a/src/Smith.Extensions/Smith.Extensions.csproj b/src/Smith.Extensions/Smith.Extensions.csproj new file mode 100644 index 0000000..cd03483 --- /dev/null +++ b/src/Smith.Extensions/Smith.Extensions.csproj @@ -0,0 +1,11 @@ + + + + net10.0 + + + + + + + diff --git a/Smith.msbuildproj b/src/Smith/Smith.msbuildproj similarity index 85% rename from Smith.msbuildproj rename to src/Smith/Smith.msbuildproj index 28e01b4..40e3b46 100644 --- a/Smith.msbuildproj +++ b/src/Smith/Smith.msbuildproj @@ -19,7 +19,7 @@ - + @@ -28,6 +28,13 @@ - + + + + + + + + \ No newline at end of file diff --git a/Smith.props b/src/Smith/Smith.props similarity index 100% rename from Smith.props rename to src/Smith/Smith.props diff --git a/Smith.targets b/src/Smith/Smith.targets similarity index 100% rename from Smith.targets rename to src/Smith/Smith.targets diff --git a/cs/AddUserSecrets.cs b/src/Smith/cs/AddUserSecrets.cs similarity index 100% rename from cs/AddUserSecrets.cs rename to src/Smith/cs/AddUserSecrets.cs diff --git a/src/Smith/readme.md b/src/Smith/readme.md new file mode 100644 index 0000000..2bf6101 --- /dev/null +++ b/src/Smith/readme.md @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/icon.png b/src/icon.png similarity index 100% rename from icon.png rename to src/icon.png