chore: 简化 MAF1.Core 编译配置并加入 AGENTS.md
- MAF1.Core 移除 <EnableDefaultCompileItems>false> 与显式 Compile Include, 改由 SDK 默认编译所有 .cs,新增文件无需再手动登记 csproj - 新增 AGENTS.md,沉淀项目结构、构建命令、关键陷阱与约定 - .gitignore 移除 /AGENTS.md 与 /CLAUDE.md 排除项,允许指令文件入库
This commit is contained in:
@@ -5,29 +5,8 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>MAF1.Core</RootNamespace>
|
||||
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Agents\AgentStepResult.cs" />
|
||||
<Compile Include="Agents\SystemNodeTypes.cs" />
|
||||
<Compile Include="Agents\FileCity\CityExtraction.cs" />
|
||||
<Compile Include="Agents\FileCity\FileCityAgent.cs" />
|
||||
<Compile Include="Agents\Weather\WeatherAgent.cs" />
|
||||
<Compile Include="Decisions\ConsoleDecisionPrompt.cs" />
|
||||
<Compile Include="Decisions\DecisionModels.cs" />
|
||||
<Compile Include="PluginContract\PluginManifest.cs" />
|
||||
<Compile Include="PluginContract\PluginStdio.cs" />
|
||||
<Compile Include="Tools\FileTools.cs" />
|
||||
<Compile Include="Tools\WeatherOptions.cs" />
|
||||
<Compile Include="Tools\WeatherTools.cs" />
|
||||
<Compile Include="Utils\AgentFactory.cs" />
|
||||
<Compile Include="Utils\DeepSeekThinking.cs" />
|
||||
<Compile Include="Utils\JsonText.cs" />
|
||||
<Compile Include="Utils\LlmOptions.cs" />
|
||||
<Compile Include="Utils\WindowsConsole.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Azure.AI.OpenAI" Version="2.1.0" />
|
||||
<PackageReference Include="Microsoft.Agents.AI.OpenAI" Version="1.19.0" />
|
||||
|
||||
Reference in New Issue
Block a user