From 4357e06910e6b21c0891b495b35f5d81ad94e278 Mon Sep 17 00:00:00 2001 From: "Robert J. Good" Date: Thu, 12 Nov 2026 22:51:29 -0800 Subject: [PATCH 1/4] init now parameterized --- .../dotnet/Sync-DotnetUserSecretKeyVault.ps1 | 4 +- ...d-digitalproduct-standalone-dev.bicepparam | 4 +- ...framework-standalone-web-api-sql-aoai.yml} | 20 ++--- ...tc-platform-standalone-web-api-sql-iac.yml | 2 +- .github/copilot-instructions.md | 2 +- .github/scripts/repo/New-GithubSecret.ps1 | 2 +- .github/scripts/setup/Initialize-Product.ps1 | 13 +-- .../tests/WorkloadDeployment.Tests.ps1 | 40 +++++---- .../{agent-app.yml => agentframework-app.yml} | 8 +- .../{agent-iac.yml => agentframework-iac.yml} | 8 +- Initialize-Installation.ps1 | 7 +- README.md | 26 +++--- Update-Branding.Tests.ps1 | 81 ++++++++++++++++++- Update-Branding.ps1 | 12 ++- branding.map.json | 20 ++++- docs/first-time-setup.md | 14 +++- docs/governance/ai-policy.md | 8 +- docs/governance/architecture-chat-journey.md | 14 ++-- docs/governance/playbook-workflow-types.md | 5 +- docs/product/features/feature-chat-journey.md | 14 ++-- .../feature-semantic-intent-classification.md | 25 +----- .../PlaybookWorkflowGraphExecutor.cs | 3 +- 22 files changed, 216 insertions(+), 116 deletions(-) rename .azuredevops/pipelines/{gtc-agent-standalone-web-api-sql-aoai.yml => gtc-agentframework-standalone-web-api-sql-aoai.yml} (97%) rename .github/workflows/{agent-app.yml => agentframework-app.yml} (99%) rename .github/workflows/{agent-iac.yml => agentframework-iac.yml} (98%) diff --git a/.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 b/.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 index 8682b1d..a8a4b69 100644 --- a/.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 +++ b/.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 @@ -9,11 +9,11 @@ Existing values are overwritten with the latest ones. .EXAMPLE # Publish the Web project's user-secrets (single line, safe to paste): -pwsh -File ./dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction ToKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "my-kv" -ProductName "compass" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" +pwsh -File ./dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction ToKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "my-kv" -ProductName "agentframework" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" .EXAMPLE # Restore them on a new machine (single line, safe to paste): -pwsh -File ./dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction FromKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "my-kv" -ProductName "compass" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" +pwsh -File ./dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction FromKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "my-kv" -ProductName "agentframework" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" .NOTES - Requires the .NET SDK and the Az.Accounts and Az.KeyVault modules. diff --git a/.azure/variables/workload-digitalproduct-standalone-dev.bicepparam b/.azure/variables/workload-digitalproduct-standalone-dev.bicepparam index 3fce1ee..3d2035e 100644 --- a/.azure/variables/workload-digitalproduct-standalone-dev.bicepparam +++ b/.azure/variables/workload-digitalproduct-standalone-dev.bicepparam @@ -2,9 +2,9 @@ using '../templates/workload-digitalproduct.bicep' // Phase 1 (mode 1, standalone): plan, Log Analytics, App Insights, web, API and SQL all live in this RG. // RG: {product}-{env}-{region}-{instance}-rg. Set SQL_ENTRA_ADMIN_GROUP_OBJECT_ID and AZURE_TENANT_ID to workload-tenant IDs before deployment. -// Deploy: az deployment group create -g agent-dev-wus2-100-rg -f .azure/templates/workload-digitalproduct.bicep -p .azure/variables/workload-digitalproduct-standalone-dev.bicepparam +// Deploy: az deployment group create -g agentframework-dev-wus2-100-rg -f .azure/templates/workload-digitalproduct.bicep -p .azure/variables/workload-digitalproduct-standalone-dev.bicepparam -var productIac = 'agent' +var productIac = 'agentframework' var environmentIac = 'dev' var regionIac = 'wus2' var instanceIac = '100' diff --git a/.azuredevops/pipelines/gtc-agent-standalone-web-api-sql-aoai.yml b/.azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml similarity index 97% rename from .azuredevops/pipelines/gtc-agent-standalone-web-api-sql-aoai.yml rename to .azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml index 4c8ea87..475ffe3 100644 --- a/.azuredevops/pipelines/gtc-agent-standalone-web-api-sql-aoai.yml +++ b/.azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml @@ -5,7 +5,7 @@ trigger: - main paths: include: - - .azuredevops/pipelines/gtc-agent-standalone-web-api-sql-aoai.yml + - .azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml - src/** pr: @@ -14,7 +14,7 @@ pr: - main paths: include: - - .azuredevops/pipelines/gtc-agent-standalone-web-api-sql-aoai.yml + - .azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml - src/** pool: @@ -57,9 +57,9 @@ variables: - name: sqlPassword value: '' - ${{ if eq(parameters.Environment, 'development') }}: - - group: gtc-agent-dev + - group: gtc-agentframework-dev - ${{ if eq(parameters.Environment, 'production') }}: - - group: gtc-agent-prod + - group: gtc-agentframework-prod - name: API_ARTIFACT_OUTPUT value: publish_output - name: WEB_ARTIFACT_OUTPUT @@ -109,17 +109,17 @@ variables: value: true # Manual environment resource mapping for CD (update if IaC names change) - name: appiName - value: agent-dev-wus2-001-appi + value: agentframework-dev-wus2-001-appi - name: azureApiAppName - value: agent-dev-wus2-001-api + value: agentframework-dev-wus2-001-api - name: azureWebAppName - value: agent-dev-wus2-001-web + value: agentframework-dev-wus2-001-web - name: azureRgName - value: agent-dev-wus2-001-rg + value: agentframework-dev-wus2-001-rg - name: sqlName - value: agent-dev-wus2-001-sql + value: agentframework-dev-wus2-001-sql - name: sqlDbName - value: agent-dev-wus2-001-sqldb + value: agentframework-dev-wus2-001-sqldb - name: versionMajor value: '2' - name: versionMinor diff --git a/.azuredevops/pipelines/gtc-platform-standalone-web-api-sql-iac.yml b/.azuredevops/pipelines/gtc-platform-standalone-web-api-sql-iac.yml index b494bc6..c92bebe 100644 --- a/.azuredevops/pipelines/gtc-platform-standalone-web-api-sql-iac.yml +++ b/.azuredevops/pipelines/gtc-platform-standalone-web-api-sql-iac.yml @@ -44,7 +44,7 @@ variables: - name: DOTNET_SYSTEM_GLOBALIZATION_INVARIANT value: 'true' - name: productRgName - value: agent-dev-wus2-001-rg + value: agentframework-dev-wus2-001-rg - name: productRgLocation value: westus2 - name: productBicepTemplate diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 5f9ddab..cb9c660 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -18,7 +18,7 @@ - **Test:** Run `dotnet test src/Tests.Integration/Tests.Integration.csproj`; integration behavior uses Reqnroll Gherkin specifications. - **Run:** Launch via Visual Studio or `dotnet run` from solution root. - **CI/CD:** Managed by GitHub Actions (`.github/workflows/`). -- **IaC Deploy:** See `agent-iac.yml` for infrastructure deployment. +- **IaC Deploy:** See `agentframework-iac.yml` for infrastructure deployment. ## Non-Negotiable Architecture - Preserve dependency direction: Presentation -> Application -> Domain; Infrastructure depends on Application and Domain as required; Domain has no project dependencies. diff --git a/.github/scripts/repo/New-GithubSecret.ps1 b/.github/scripts/repo/New-GithubSecret.ps1 index 045bf2d..3380d22 100644 --- a/.github/scripts/repo/New-GithubSecret.ps1 +++ b/.github/scripts/repo/New-GithubSecret.ps1 @@ -19,7 +19,7 @@ Secret values are sent to gh on stdin, never on the command line. .EXAMPLE # Upsert one secret in a list of repos, as repository secrets: -.\New-GithubSecret.ps1 -Owner censicai -Repo crucible,compass -SecretName AZURE_OPENAI_ENDPOINT -SecretValue "https://ai-dev-wus2-100-aif.openai.azure.com/" +.\New-GithubSecret.ps1 -Owner contoso -Repo assist,portal -SecretName AZURE_OPENAI_ENDPOINT -SecretValue "https://example.openai.azure.com/" .EXAMPLE # Set many secrets at once in one repo environment: diff --git a/.github/scripts/setup/Initialize-Product.ps1 b/.github/scripts/setup/Initialize-Product.ps1 index 13b3395..b387585 100644 --- a/.github/scripts/setup/Initialize-Product.ps1 +++ b/.github/scripts/setup/Initialize-Product.ps1 @@ -9,6 +9,8 @@ No commits, pushes, resource deletion, or authentication-mode conversion are per [CmdletBinding()] param( [Parameter(Mandatory)][string]$RepositoryRoot, + [Parameter(Mandatory)][ValidatePattern('^[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*$')][string]$CompanyName, + [Parameter(Mandatory)][ValidatePattern('^[A-Za-z_][A-Za-z0-9_]*$')][string]$ProductName, [ValidateSet('Local', 'Cloud', 'Both')][string]$Mode = 'Local', [ValidateSet('Prepare', 'Complete', 'Check')][string]$Stage = 'Prepare', [ValidateSet('development', 'production')][string]$Environment = 'development', @@ -35,10 +37,11 @@ $ErrorActionPreference = 'Stop' $PSNativeCommandUseErrorActionPreference = $false $RepositoryRoot = (Resolve-Path -LiteralPath $RepositoryRoot).Path if ($Mode -eq 'Local' -and $Stage -eq 'Complete') { throw 'Local mode uses Prepare or Check, not Complete.' } -$product = if (Test-Path "$RepositoryRoot/Censic.Crucible.slnx") { 'crucible' } - elseif (Test-Path "$RepositoryRoot/Censic.Compass.Web.slnx") { 'compass' } - elseif (Test-Path "$RepositoryRoot/Goodtocode.AgentFramework.Web.slnx") { 'agent' } - else { throw 'No supported product solution found at RepositoryRoot.' } +$product = $ProductName.ToLowerInvariant() +$solutionPrefix = "$CompanyName.$ProductName" +if (-not (Get-ChildItem -LiteralPath $RepositoryRoot -Filter '*.slnx' -File | Where-Object { + $_.BaseName -eq $solutionPrefix -or $_.BaseName.StartsWith("$solutionPrefix.", [StringComparison]::OrdinalIgnoreCase) +})) { throw "No solution found for $solutionPrefix at RepositoryRoot." } $apiProject = "$RepositoryRoot/src/Presentation.Api/Presentation.Api.csproj" $webProject = "$RepositoryRoot/src/Presentation.Web/Presentation.Web.csproj" $e2eProject = "$RepositoryRoot/src/Tests.Endtoend.Api/Tests.Endtoend.Api.csproj" @@ -169,7 +172,7 @@ try { } if ($Mode -ne 'Cloud') { - $database = if ($product -eq 'crucible') { 'Crucible' } else { 'AgentFramework' } + $database = $ProductName $localConnection = "Server=(localdb)\MSSQLLocalDB;Database=$database;Integrated Security=True;Encrypt=True;TrustServerCertificate=True" Save-Settings $apiProject @{ 'ConnectionStrings:DefaultConnection' = $localConnection } if (-not $SkipDatabase) { diff --git a/.github/scripts/tests/WorkloadDeployment.Tests.ps1 b/.github/scripts/tests/WorkloadDeployment.Tests.ps1 index 79b66f1..7394d4b 100644 --- a/.github/scripts/tests/WorkloadDeployment.Tests.ps1 +++ b/.github/scripts/tests/WorkloadDeployment.Tests.ps1 @@ -197,8 +197,8 @@ Describe 'Deployment scripts' { } It 'uses YAML or secret SQL inputs without GitHub Variables dependencies' { - $iac = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agent-iac.yml" -Raw - $app = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agent-app.yml" -Raw + $iac = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-iac.yml" -Raw + $app = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-app.yml" -Raw $selection = '${{ secrets.SQL_ENTRA_ADMIN_GROUP_OBJECT_ID || env.SQL_ENTRA_ADMIN_GROUP_OBJECT_ID }}' ([regex]::Matches($iac, [regex]::Escape($selection))).Count | Should -Be 4 $iac | Should -Not -Match '\$\{\{\s*vars\.' @@ -342,8 +342,8 @@ Describe 'Deployment scripts' { Describe 'Entra deployment workflow ordering' { It 'provisions password users after infrastructure and before migrations without runtime secrets' { - $iac = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agent-iac.yml" -Raw - $app = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agent-app.yml" -Raw + $iac = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-iac.yml" -Raw + $app = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-app.yml" -Raw $iac.IndexOf('name: Provision SQL-auth database access') | Should -BeGreaterThan $iac.IndexOf('name: Deploy ${{ env.PRODUCT_RG_NAME }}') $app.IndexOf('name: Provision SQL-auth database access') | Should -BeGreaterThan $app.IndexOf('name: Read exact infrastructure deployment targets') $app.IndexOf('name: Deploy SQL script') | Should -BeGreaterThan $app.IndexOf('name: Provision SQL-auth database access') @@ -355,7 +355,7 @@ Describe 'Deployment scripts' { } It 'configures application settings and database access before deploying binaries' { - $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agent-app.yml" -Raw + $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-app.yml" -Raw foreach ($component in @('API', 'WEB')) { $settings = $workflow.IndexOf('name: ${{ env.AZURE_' + $component + 'APP_NAME }} app settings') $deploy = $workflow.IndexOf('name: Deploy ${{ env.AZURE_' + $component + 'APP_NAME }}') @@ -370,7 +370,7 @@ Describe 'Deployment scripts' { } It 'compiles and checks identity inputs before mutating Azure resources' { - $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agent-iac.yml" -Raw + $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-iac.yml" -Raw $compile = $workflow.IndexOf('name: Compile workload contract and parameters') $identity = $workflow.IndexOf('name: Check Entra-only SQL administrator inputs') $create = $workflow.IndexOf('name: Create ${{ env.PRODUCT_RG_NAME }}') @@ -385,7 +385,7 @@ Describe 'Deployment scripts' { } It 'deploys the selected authentication policy without mode transition paths' { - $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agent-iac.yml" -Raw + $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-iac.yml" -Raw $workflow | Should -Not -Match 'prepareSqlBootstrap|SQL_ENTRA_CUTOVER_READY|sqlEntraOnlyAuthentication|Resolve-AzureSqlAuthentication' $workflow | Should -Match 'sqlCreateServer=\$env:SQL_CREATE_SERVER' $workflow | Should -Match 'secrets.SQL_ADMIN_PASSWORD' @@ -393,7 +393,7 @@ Describe 'Deployment scripts' { } It 'serializes resource and application mutations for each environment' { - foreach ($file in @('agent-app.yml', 'agent-iac.yml')) { + foreach ($file in @('agentframework-app.yml', 'agentframework-iac.yml')) { $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\$file" -Raw $workflow | Should -Match 'group: workload-deployment-\$\{\{ matrix.environment \}\}' $workflow | Should -Match 'cancel-in-progress: false' @@ -401,7 +401,7 @@ Describe 'Deployment scripts' { } It 'keeps artifacts environment-neutral and remaining authentication configuration explicit' { - $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agent-app.yml" -Raw + $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-app.yml" -Raw $workflow | Should -Not -Match 'variable-substitution|azure/sql-action' $workflow | Should -Match 'AzureOpenAI__Endpoint' $workflow | Should -Match 'EntraExternalId:Instance' @@ -424,30 +424,36 @@ Describe 'Root setup orchestration' { Mock dotnet { throw 'Preflight must not change projects.' } } - It 'discovers each supported product without changing configuration' -ForEach @( - @{ Solution = 'Censic.Crucible.slnx'; Product = 'crucible' }, - @{ Solution = 'Censic.Compass.Web.slnx'; Product = 'compass' }, - @{ Solution = 'Goodtocode.AgentFramework.Web.slnx'; Product = 'agent' } + It 'checks the explicitly supplied brand without changing configuration' -ForEach @( + @{ Solution = 'Contoso.Assist.slnx'; Company = 'Contoso'; Product = 'Assist' }, + @{ Solution = 'Fabrikam.Portal.Web.slnx'; Company = 'Fabrikam'; Product = 'Portal' }, + @{ Solution = 'Goodtocode.AgentFramework.Web.slnx'; Company = 'Goodtocode'; Product = 'AgentFramework' } ) { Set-Content (Join-Path $setupRoot $Solution) 'synthetic solution fixture' - $output = & $initializer -RepositoryRoot $setupRoot -Mode Both -Stage Check 6>&1 + $output = & $initializer -RepositoryRoot $setupRoot -CompanyName $Company -ProductName $Product -Mode Both -Stage Check 6>&1 ($output | Out-String) | Should -Match "verified for $Product" Should -Invoke Read-Host -Times 0 -Exactly Should -Invoke dotnet -Times 0 -Exactly } It 'rejects local Complete before prompting or accessing credentials' { - { & $initializer -RepositoryRoot $setupRoot -Mode Local -Stage Complete } | Should -Throw '*Local mode uses Prepare or Check*' + { & $initializer -RepositoryRoot $setupRoot -CompanyName Contoso -ProductName Assist -Mode Local -Stage Complete } | Should -Throw '*Local mode uses Prepare or Check*' Should -Invoke Read-Host -Times 0 -Exactly } It 'does not install missing prerequisites in Check mode' { - Set-Content (Join-Path $setupRoot 'Censic.Crucible.slnx') 'synthetic solution fixture' + Set-Content (Join-Path $setupRoot 'Contoso.Assist.slnx') 'synthetic solution fixture' Mock Get-Command { $null } -ParameterFilter { ($Name -join ',') -eq 'dotnet' } - { & $initializer -RepositoryRoot $setupRoot -Mode Local -Stage Check -InstallPrerequisites } | Should -Throw '*Install dotnet*' + { & $initializer -RepositoryRoot $setupRoot -CompanyName Contoso -ProductName Assist -Mode Local -Stage Check -InstallPrerequisites } | Should -Throw '*Install dotnet*' Should -Invoke dotnet -Times 0 -Exactly } + It 'rejects a brand that does not match the solution before prompting' { + Set-Content (Join-Path $setupRoot 'Contoso.Assist.slnx') 'synthetic solution fixture' + { & $initializer -RepositoryRoot $setupRoot -CompanyName Fabrikam -ProductName Portal -Stage Check } | Should -Throw '*No solution found*' + Should -Invoke Read-Host -Times 0 -Exactly + } + It 'reuses a stored private value without prompting or rotating it' { $tokens = $null $errors = $null diff --git a/.github/workflows/agent-app.yml b/.github/workflows/agentframework-app.yml similarity index 99% rename from .github/workflows/agent-app.yml rename to .github/workflows/agentframework-app.yml index 01f21f2..3d6d02b 100644 --- a/.github/workflows/agent-app.yml +++ b/.github/workflows/agentframework-app.yml @@ -1,4 +1,4 @@ -name: 'Agent App CI/CD' +name: 'AgentFramework App CI/CD' # One pipeline for web, API and SQL migrations. Turn components on or off with HAS_WEB, HAS_API and HAS_SQL. # CI builds and tests once; CD deploys to the development environment. @@ -11,14 +11,14 @@ on: branches: - main paths: - - .github/workflows/agent-app.yml + - .github/workflows/agentframework-app.yml - src/** - .github/scripts/cd/** push: branches: - main paths: - - .github/workflows/agent-app.yml + - .github/workflows/agentframework-app.yml - src/** - .github/scripts/cd/** workflow_dispatch: @@ -42,7 +42,7 @@ permissions: env: # ===== EDIT PER INSTALL: naming slots (names: {product}-{env}-{region}-{instance}-{type}) ===== - PRODUCT: "agent" + PRODUCT: "agentframework" REGION: "wus2" INSTANCE: "100" IAC_DEPLOYMENT_NAME: "workload-digitalproduct" diff --git a/.github/workflows/agent-iac.yml b/.github/workflows/agentframework-iac.yml similarity index 98% rename from .github/workflows/agent-iac.yml rename to .github/workflows/agentframework-iac.yml index b8d5466..ce09983 100644 --- a/.github/workflows/agent-iac.yml +++ b/.github/workflows/agentframework-iac.yml @@ -1,4 +1,4 @@ -name: 'agent IaC' +name: 'AgentFramework IaC' # One pipeline for every mode and phase. The mode picks the parameter file; the environment matrix # runs development first, then production behind the 'production' environment's required reviewers. @@ -12,7 +12,7 @@ on: branches: - main paths: - - .github/workflows/agent-iac.yml + - .github/workflows/agentframework-iac.yml - .azure/**/*.bicep - .azure/**/*.bicepparam - .github/scripts/cd/** @@ -20,7 +20,7 @@ on: branches: - main paths: - - .github/workflows/agent-iac.yml + - .github/workflows/agentframework-iac.yml - .azure/**/*.bicep - .azure/**/*.bicepparam - .github/scripts/cd/** @@ -40,7 +40,7 @@ on: env: # ===== EDIT PER INSTALL: naming slots (RG: {product}-{env}-{region}-{instance}-rg) ===== - PRODUCT: "agent" + PRODUCT: "agentframework" REGION: "wus2" INSTANCE: "100" LOCATION: "westus2" diff --git a/Initialize-Installation.ps1 b/Initialize-Installation.ps1 index 4adee7a..878ddc2 100644 --- a/Initialize-Installation.ps1 +++ b/Initialize-Installation.ps1 @@ -10,6 +10,8 @@ Initializes local development, CI/CD configuration, and Azure identity dependenc #> [CmdletBinding()] param( + [ValidatePattern('^[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*$')][string]$CompanyName = 'Goodtocode', + [ValidatePattern('^[A-Za-z_][A-Za-z0-9_]*$')][string]$ProductName = 'AgentFramework', [ValidateSet('Local', 'Cloud', 'Both')][string]$Mode = 'Local', [ValidateSet('Prepare', 'Complete', 'Check')][string]$Stage = 'Prepare', [ValidateSet('development', 'production')][string]$Environment = 'development', @@ -30,4 +32,7 @@ param( [switch]$RotateSecrets, [switch]$InstallPrerequisites ) -& "$PSScriptRoot/.github/scripts/setup/Initialize-Product.ps1" -RepositoryRoot $PSScriptRoot @PSBoundParameters \ No newline at end of file +$setupArguments = @{} + $PSBoundParameters +$setupArguments.CompanyName = $CompanyName +$setupArguments.ProductName = $ProductName +& "$PSScriptRoot/.github/scripts/setup/Initialize-Product.ps1" -RepositoryRoot $PSScriptRoot @setupArguments \ No newline at end of file diff --git a/README.md b/README.md index 7c4a67d..55360cb 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,11 @@ **Azure Bicep Infrastucture as Standalone Landing Zone** -[![Landing Zone IaC](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agent-iac.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agent-iac.yml) +[![Landing Zone IaC](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentframework-iac.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentframework-iac.yml) **Clean Architecture C# Blazor Microapp and Web API Microservice** -[![Web & API & SQL CI/CD](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agent-app.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agent-app.yml) +[![Web & API & SQL CI/CD](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentframework-app.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentframework-app.yml) Microsoft Agent Framework Quick-start is a enterprise-ready starter kit for building modern, agentic applications with C#, Blazor (Fluent UI), and ASP.NET Core Web API. This solution demonstrates how to use the Microsoft Agent Framework to create a Copilot-style chat client, fully integrated with SQL Server for persistent storage of authors, chat sessions, and messages—all orchestrated through a clean architecture pattern. @@ -31,11 +31,11 @@ a workload subscription and permission to create registrations and GitHub federa ```powershell ./Initialize-Installation.ps1 -Mode Local -InstallPrerequisites ./Initialize-Installation.ps1 -Mode Cloud -SqlAuthentication SqlAuth -InstallPrerequisites -# Run agent-iac.yml with runcd=true, then resume +# Run agentframework-iac.yml with runcd=true, then resume ./Initialize-Installation.ps1 -Mode Cloud -Stage Complete ``` -Then run `agent-app.yml` with `runcd=true`. Entra-only SQL uses +Then run `agentframework-app.yml` with `runcd=true`. Entra-only SQL uses `-SqlAuthentication EntraOnly`; resume as a member of its SQL administrator group. Rerun the same commands for an existing installation. `-Mode Both` prepares local and cloud; `-Environment production` selects production when its workflow/parameters are enabled; @@ -49,17 +49,21 @@ quotas, cold starts or dedicated hosting features require it. Front Door is opti edge template defaults to Standard custom-rule WAF and skips creation when no origins are configured. ## Rebrand a clone for your organization -After cloning, `Update-Branding.ps1` replaces the original organization and Quick-start product branding across the whole repo (source, solution files, GitHub Actions, Azure DevOps, IaC, docs). It is a dry run unless `-Apply` is given, never replaces the repo's NuGet package dependencies, Entra scopes, user-secrets keys or the `AgentFramework` EF context/database names, and regenerates the `UserSecretsId` values. +After cloning, `Update-Branding.ps1` replaces organization and product branding across source, solution files, GitHub Actions, IaC, scripts, and docs. It is a dry run unless `-Apply` is given. Both `-NewCompany` and `-NewProduct` are required; missing values fail before any writes. EF contexts, databases, migration filenames, workflow filenames and resource prefixes are rebranded. `Infrastructure.AgentFramework`, Microsoft SDK/package names, library dependencies, Entra scopes and user-secrets keys are preserved. `UserSecretsId` values are regenerated unless `-KeepUserSecretsIds` is supplied. ```powershell # Preview (no changes) -pwsh -File ./Update-Branding.ps1 -NewCompany "Contoso" -NewProduct "Contoso Assist" -Namespace "Contoso.Assist" +pwsh -File ./Update-Branding.ps1 -NewCompany Contoso -NewProduct Assist # Apply on a clean working tree, then review the diff -pwsh -File ./Update-Branding.ps1 -NewCompany "Contoso" -NewProduct "Contoso Assist" -Namespace "Contoso.Assist" -Apply +pwsh -File ./Update-Branding.ps1 -NewCompany Contoso -NewProduct Assist -Apply ``` -See `branding.sample.json` (use with `-ConfigFile`) for all values. Rules are in `branding.map.json`. Afterwards, run the Entra setup steps above for the new product. +The namespace defaults to `Company.Product`. For display names containing spaces, supply an explicit `-Namespace Contoso.Assist`; its company and product identifiers become the setup defaults. See `branding.sample.json` (use with `-ConfigFile`) for all values. Rules are in `branding.map.json`. + +Rebranding writes the company/product defaults into the root `Initialize-Installation.ps1`, which passes them explicitly to the shared initializer. Run it afterward without brand arguments; it is now locked to the clone's brand. Explicit `-CompanyName` / `-ProductName` overrides must match its solution. The shared initializer never guesses a product from known customer names. Installation does not run rebranding. + +The template's workflow/resource prefix is now `agentframework` (formerly `agent`). Existing AFQS cloud installations must explicitly reuse their existing resource group and review IaC naming before deployment; this is not a resource migration. Rebranding a fresh clone changes that prefix to the new product identifier in lowercase. --- @@ -371,7 +375,7 @@ doc's **UI Changes** and **API Changes** sections for details. # Github Actions for Azure IaC and CI/CD ## GitHub Actions (.github folder) -The `.github/workflows` folder contains the GitHub Actions pipelines for CI/CD. Workflows follow the [github-actions](https://github.com/goodtocode/github-actions) conventions and are named `{product}-{capability}.yml`. The naming slots (`PRODUCT`, `REGION`, `INSTANCE`, `MODE`) at the top of each workflow produce the Azure names `{product}-{env}-{region}-{instance}-{type}`, for example `agent-dev-wus2-100-rg`. Below is a summary of the workflow files, their purposes, and triggers: +The `.github/workflows` folder contains the GitHub Actions pipelines for CI/CD. Workflows follow the [github-actions](https://github.com/goodtocode/github-actions) conventions and are named `{product}-{capability}.yml`. The naming slots (`PRODUCT`, `REGION`, `INSTANCE`, `MODE`) at the top of each workflow produce the Azure names `{product}-{env}-{region}-{instance}-{type}`, for example `agentframework-dev-wus2-100-rg`. Below is a summary of the workflow files, their purposes, and triggers: ### Triggers All workflow YAML files in this repo are designed to: @@ -380,8 +384,8 @@ All workflow YAML files in this repo are designed to: | Workflow File | Purpose | CI Trigger (PR) | CD Trigger (Push to main) | |--------------------------------------|-----------------------------------------------------------------------------------------|-------------------------|---------------------------| -| `agent-app.yml` | Build, test and deploy the Blazor web, Web API and SQL migrations to Azure App Service | Yes | Yes | -| `agent-iac.yml` | Deploy the standalone Azure infrastructure (`.azure/templates/workload-digitalproduct.bicep`) | Yes (what-if) | Yes | +| `agentframework-app.yml` | Build, test and deploy the Blazor web, Web API and SQL migrations to Azure App Service | Yes | Yes | +| `agentframework-iac.yml` | Deploy the standalone Azure infrastructure (`.azure/templates/workload-digitalproduct.bicep`) | Yes (what-if) | Yes | To add a production environment, add a `production` entry to the plan job of both workflows, add `.azure/variables/workload-digitalproduct-standalone-prod.bicepparam`, and require reviewers on the `production` GitHub environment. --- diff --git a/Update-Branding.Tests.ps1 b/Update-Branding.Tests.ps1 index 50fe437..ab2ee22 100644 --- a/Update-Branding.Tests.ps1 +++ b/Update-Branding.Tests.ps1 @@ -4,9 +4,29 @@ BeforeAll { function New-Fixture { $root = Join-Path ([System.IO.Path]::GetTempPath()) ("brand-" + [guid]::NewGuid()) - New-Item -ItemType Directory -Path "$root\src\App", "$root\.github\workflows" -Force | Out-Null + New-Item -ItemType Directory -Path "$root\src\App", "$root\.github\workflows", "$root\src\Infrastructure.AgentFramework", "$root\.github\scripts\setup", "$root\.github\scripts\cd", "$root\.azure\scripts", "$root\.azure\variables", "$root\.azuredevops\pipelines", "$root\src\Presentation.Api", "$root\src\Presentation.Web" -Force | Out-Null Set-Content "$root\Goodtocode.AgentFramework.Web.slnx" '' - Set-Content "$root\.github\workflows\agent-iac.yml" 'name: Agent IaC' + Set-Content "$root\.github\workflows\agentframework-iac.yml" 'PRODUCT: "agentframework"' + Set-Content "$root\.azure\variables\development.bicepparam" "var productIac = 'agentframework'" + Set-Content "$root\.azuredevops\pipelines\gtc-agentframework-app.yml" 'group: gtc-agentframework-dev' + $entryPoint = Get-Content "$PSScriptRoot\Initialize-Installation.ps1" -Raw + $entryPoint = $entryPoint -replace '\$CompanyName = ''[^'']+''', '$CompanyName = ''Goodtocode''' + $entryPoint = $entryPoint -replace '\$ProductName = ''[^'']+''', '$ProductName = ''AgentFramework''' + Set-Content "$root\Initialize-Installation.ps1" $entryPoint + Copy-Item "$PSScriptRoot\.github\scripts\setup\Initialize-Product.ps1" "$root\.github\scripts\setup" + foreach ($file in @('src\Presentation.Api\Presentation.Api.csproj', 'src\Presentation.Web\Presentation.Web.csproj', '.azure\scripts\New-EntraDotnetSolution.ps1', '.github\scripts\cd\New-Github-Azure-Federation.ps1')) { + Set-Content (Join-Path $root $file) 'synthetic setup fixture' + } + Set-Content "$root\src\App\IAgentFrameworkContext.cs" 'namespace Goodtocode.AgentFramework.App; interface IAgentFrameworkContext {}' + Set-Content "$root\src\App\AgentFrameworkContextModelSnapshot.cs" 'class AgentFrameworkContextModelSnapshot {}' + Set-Content "$root\src\App\20260101000000_InitialCreate-AgentFrameworkContext.Designer.cs" '[DbContext(typeof(AgentFrameworkContext))]' + Set-Content "$root\Reset-EfDatabase.ps1" '$Products = @{ Name = "AgentFramework"; Database = "AgentFramework" }' + Set-Content "$root\src\Infrastructure.AgentFramework\Infrastructure.AgentFramework.csproj" @' +Goodtocode.AgentFramework.Infrastructure.AgentFramework + + +'@ + Set-Content "$root\src\App\Database.json" '{"Connection":"Initial Catalog=AgentFramework","Context":"AgentFrameworkContext"}' Set-Content "$root\src\App\App.csproj" @' Goodtocode.AgentFramework.App @@ -36,7 +56,7 @@ Describe 'Update-Branding Values' { & $Script -Path $Root -NewCompany Contoso -NewProduct 'Contoso Assist' -Namespace Contoso.Assist -Apply -Force | Out-Null $LASTEXITCODE | Should -Be 0 Test-Path "$Root\Contoso.Assist.Web.slnx" | Should -BeTrue - Test-Path "$Root\.github\workflows\agent-iac.yml" | Should -BeTrue + Test-Path "$Root\.github\workflows\assist-iac.yml" | Should -BeTrue $csproj = Get-Content "$Root\src\App\App.csproj" -Raw $csproj | Should -Match 'Contoso\.Assist\.App' $csproj | Should -Match 'Goodtocode\.Mediator' @@ -44,6 +64,61 @@ Describe 'Update-Branding Values' { $csproj | Should -Not -Match 'bf5b92ab-f3fe-4af6-b299-583240397247' Get-Content "$Root\src\App\Page.razor" -Raw | Should -Match 'Contoso Assist.*Contoso \| developers@contoso\.com' Get-Content "$Root\src\App\Auth.cs" -Raw | Should -Match 'access_as_user' + Test-Path "$Root\src\App\IAssistContext.cs" | Should -BeTrue + Test-Path "$Root\src\App\AssistContextModelSnapshot.cs" | Should -BeTrue + Test-Path "$Root\src\App\20260101000000_InitialCreate-AssistContext.Designer.cs" | Should -BeTrue + Get-Content "$Root\src\App\Database.json" -Raw | Should -Match 'Initial Catalog=Assist.*AssistContext' + Get-Content "$Root\Reset-EfDatabase.ps1" -Raw | Should -Match 'Name = "Assist"; Database = "Assist"' + Get-Content "$Root\.github\workflows\assist-iac.yml" -Raw | Should -Match 'PRODUCT: "assist"' + Get-Content "$Root\.azure\variables\development.bicepparam" -Raw | Should -Match "productIac = 'assist'" + $infrastructure = Get-Content "$Root\src\Infrastructure.AgentFramework\Infrastructure.AgentFramework.csproj" -Raw + $infrastructure | Should -Match 'Contoso.Assist.Infrastructure.AgentFramework' + $infrastructure | Should -Match 'Include="Microsoft.AgentFramework"' + $infrastructure | Should -Match 'Include="Microsoft.Agents.AI"' + Test-Path "$Root\src\Infrastructure.Assist" | Should -BeFalse + Get-Content "$Root\.azuredevops\pipelines\contoso-assist-app.yml" -Raw | Should -Match 'group: contoso-assist-dev' + } + + It 'requires both brand values before writing anything' { + { & $Script -Path $Root -Apply -Force } | Should -Throw '*NewCompany is required*' + { & $Script -Path $Root -NewCompany Contoso -Apply -Force } | Should -Throw '*NewProduct is required*' + { & $Script -Path $Root -NewCompany Contoso -NewProduct ' ' -Apply -Force } | Should -Throw '*NewProduct is required*' + Test-Path "$Root\Goodtocode.AgentFramework.Web.slnx" | Should -BeTrue + } + + It 'derives the namespace from two brand parameters and persists setup defaults' { + & $Script -Path $Root -NewCompany Contoso -NewProduct Assist -Apply -Force | Out-Null + $LASTEXITCODE | Should -Be 0 + Test-Path "$Root\Contoso.Assist.Web.slnx" | Should -BeTrue + Mock Get-Command { [pscustomobject]@{ Name = 'Available' } } -ParameterFilter { $Name -in @('dotnet', 'git') } + Mock Read-Host { throw 'Check must not prompt.' } + $output = & "$Root\Initialize-Installation.ps1" -Stage Check 6>&1 + ($output | Out-String) | Should -Match 'verified for assist' + Should -Invoke Read-Host -Times 0 -Exactly + $setup = Get-Content "$Root\Initialize-Installation.ps1" -Raw + $setup | Should -Match "CompanyName = 'Contoso'" + $setup | Should -Match "ProductName = 'Assist'" + } + + It 'reads both brands from a configuration file' { + Set-Content "$Root\branding.json" '{"NewCompany":"Fabrikam","NewProduct":"Portal"}' + & $Script -Path $Root -ConfigFile "$Root\branding.json" -Apply -Force | Out-Null + $LASTEXITCODE | Should -Be 0 + Test-Path "$Root\Fabrikam.Portal.Web.slnx" | Should -BeTrue + } + + It 'keeps explicit multi-part namespaces consistent with installation' { + & $Script -Path $Root -NewCompany Contoso -NewProduct Assist -Namespace Contoso.Products.Assist -Apply -Force | Out-Null + $LASTEXITCODE | Should -Be 0 + Test-Path "$Root\Contoso.Products.Assist.Web.slnx" | Should -BeTrue + Mock Get-Command { [pscustomobject]@{ Name = 'Available' } } -ParameterFilter { $Name -in @('dotnet', 'git') } + $output = & "$Root\Initialize-Installation.ps1" -Stage Check 6>&1 + ($output | Out-String) | Should -Match 'verified for assist' + } + + It 'rejects invalid inferred identifiers before writing' { + { & $Script -Path $Root -NewCompany Contoso -NewProduct 'Contoso Assist' -Apply -Force } | Should -Throw '*dotted .NET identifier*' + Test-Path "$Root\Goodtocode.AgentFramework.Web.slnx" | Should -BeTrue } It 'keeps UserSecretsId values with -KeepUserSecretsIds' { diff --git a/Update-Branding.ps1 b/Update-Branding.ps1 index 289407d..745bab4 100644 --- a/Update-Branding.ps1 +++ b/Update-Branding.ps1 @@ -61,11 +61,16 @@ if ($isValues) { } } } - foreach ($required in 'NewCompany', 'NewProduct', 'Namespace') { + foreach ($required in 'NewCompany', 'NewProduct') { if ([string]::IsNullOrWhiteSpace((Get-Variable -Name $required -ValueOnly))) { throw "-$required is required for -Target Values (or supply it in -ConfigFile)." } } + if (-not $Namespace) { $Namespace = "$NewCompany.$NewProduct" } + if ($Namespace -cnotmatch '^[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)+$') { + throw '-Namespace must be a dotted .NET identifier. Supply it explicitly when company or product display names contain spaces.' + } + $namespaceParts = $Namespace.Split('.') if (-not $CompanySlug) { $CompanySlug = (ConvertTo-Slug $NewCompany).Replace('-', '') } if (-not $CompanyShort) { $CompanyShort = $CompanySlug } if (-not $Domain) { $Domain = "$CompanySlug.com" } @@ -77,6 +82,8 @@ if ($isValues) { NewCompany = $NewCompany; NewProduct = $NewProduct; Namespace = $Namespace CompanySlug = $CompanySlug; CompanyShort = $CompanyShort; Domain = $Domain ContactEmail = $ContactEmail; RepoOwner = $RepoOwner; RepoName = $RepoName; TenantHost = $TenantHost + CompanyName = ($namespaceParts[0..($namespaceParts.Length - 2)] -join '.') + ProductName = $namespaceParts[-1]; ProductSlug = $namespaceParts[-1].ToLowerInvariant() } if ($Apply -and -not $Force -and (Get-Command git -ErrorAction SilentlyContinue)) { @@ -213,12 +220,13 @@ if ($isValues) { } | Sort-Object { $_.FullName.Length } -Descending foreach ($item in $items) { - $newName = $item.Name + $newName = Protect-Text $item.Name foreach ($r in $map.renames) { $to = $r.value foreach ($key in $values.Keys) { $to = $to.Replace("{$key}", $values[$key]) } $newName = $newName.Replace($r.find, $to) } + $newName = Restore-Text $newName if ($newName -ne $item.Name) { $renames.Add([pscustomobject]@{ From = $item.FullName.Substring($rootLen); To = $newName }) if ($Apply) { Rename-Item -LiteralPath $item.FullName -NewName $newName } diff --git a/branding.map.json b/branding.map.json index 7d21381..1a2543d 100644 --- a/branding.map.json +++ b/branding.map.json @@ -35,6 +35,14 @@ { "id": "namespace-prefix", "find": "Goodtocode.AgentFramework", "kind": "literal", "value": "{Namespace}", "tokens": { "DotnetNew": null, "Vsix": null } }, + { "id": "setup-company", "find": "$CompanyName = 'Goodtocode'", "kind": "literal", "value": "$CompanyName = '{CompanyName}'", + "tokens": { "DotnetNew": null, "Vsix": null } }, + { "id": "product-identifier", "find": "AgentFramework", "kind": "literal", "value": "{ProductName}", + "tokens": { "DotnetNew": null, "Vsix": null } }, + { "id": "product-slug", "find": "agentframework", "kind": "literal", "value": "{ProductSlug}", + "tokens": { "DotnetNew": null, "Vsix": null } }, + { "id": "company-short", "find": "(?`, `IEvaluateStepTool<,>`, `IRecordStepTool<,>`) obtained from the same `IPlaybookStepToolResolver<...>` used by the deterministic workflow. Swapping a deterministic tool for an agentic one (or vice versa) for any one stage never changes the -graph shape — only the tool registered for that stage's resolver key changes. This mirrors -the pattern already proven in `crucible-web`'s `PipelineWorkflowStepExecutor`. +graph shape — only the tool registered for that stage's resolver key changes. ## Governance Expectations diff --git a/docs/product/features/feature-chat-journey.md b/docs/product/features/feature-chat-journey.md index 3d9caca..6face96 100644 --- a/docs/product/features/feature-chat-journey.md +++ b/docs/product/features/feature-chat-journey.md @@ -1,9 +1,9 @@ # Feature: Pipeline Workspace Chat Journey ## Status -This document describes an already-implemented customer/user journey in Crucible-specific terms: +This document describes an example customer/user journey for a template-derived pipeline product: using the AI agent chat surface to progressively browse Pipeline Kits → Pipelines → Executions → -(Chronicle + Timelines, viewed in parallel) → Timeline Events. It is the Crucible instantiation of +(Chronicle + Timelines, viewed in parallel) → Timeline Events. It is a product-specific instantiation of two universal governance patterns and should be read alongside them, not instead of them: - `docs/governance/design-ux-progressive-selection-chat.md` — the AI agent chat protocol pattern @@ -27,7 +27,7 @@ implementation boundaries. A user lands on `/chat`, and without needing to know any identifiers, can: -1. **List Pipeline Kits/Pipelines** — "Query our pipeline list in Censic Crucible." +1. **List Pipeline Kits/Pipelines** — "Query our pipeline list." 2. **Select a Pipeline** — click a `pipeline` chip (or type "Select pipeline ``"). 3. **List Executions for that Pipeline** — the assistant now implicitly scopes to the selected pipeline. @@ -46,7 +46,7 @@ selected. ## Journey Actors -Per `docs/product/sprint-0/crucible-ux-journeys.md`, the primary actors for this chat journey are +The primary actors for this example chat journey are the **Operator** (day-to-day: "what's running, what happened, what's next") and the **Auditor / Reviewer** (historical: "what happened, why, what evidence"). The **Platform Administrator** and **Solution Builder** use this same journey when triaging failures or validating a pipeline's @@ -58,7 +58,7 @@ narrative/timeline output during iteration. - Tool: `QueryOurPipelineListAsync` ("list pipelines", "show our pipelines", "browse pipelines"). - Returns a markdown table of tenant pipelines plus one `[selection|pipeline|...]` token per row. - Suggested prompts (no context selected): - - "Query our pipeline list in Censic Crucible" + - "Query our pipeline list" - "Query my actor user profile details by current authenticated user scope" - "Show how to select a pipeline and inspect executions, chronicles, and timelines" - "List my chat sessions" @@ -108,8 +108,8 @@ requires visiting the other first: timeline groups, each carrying a `timeline` selection token (`[selection|timeline||...]`). Its next suggested action points to timeline events for the selected timeline. -This parallel framing matches the Crucible value flow (`Scope → Plan → Runtime → Actions → -Statements` in `docs/product/sprint-0/crucible-ux-journeys.md`): Chronicle is the explainable +This parallel framing matches the example value flow (`Scope → Plan → Runtime → Actions → +Statements`): Chronicle is the explainable narrative/statement view of a run; Timelines is the CER-aware, event-level operational view of the same run. An Auditor typically starts from Chronicle; an Operator typically starts from Timelines — the journey supports both entry points equally. diff --git a/docs/product/features/feature-semantic-intent-classification.md b/docs/product/features/feature-semantic-intent-classification.md index 2e4cf49..b794f4c 100644 --- a/docs/product/features/feature-semantic-intent-classification.md +++ b/docs/product/features/feature-semantic-intent-classification.md @@ -4,12 +4,8 @@ Add embedding-based intent classification as a controlled second tier between deterministic rule matching and the general Microsoft Agent Framework (MAF) fallback. The feature improves recognition of novel user phrasing while preserving deterministic routing, typed tool boundaries, authorization, observability, and a disabled-by-default rollout. -This feature applies to both template-derived products: - -- `crucible-web` -- `agent-framework-quick-start` - -The implementations share the same contracts and behavior. Their embedding initialization triggers differ because Crucible has a StateOfYour business-seeding workflow while the quick-start application owns its startup lifecycle. +This feature applies to `agent-framework-quick-start` and its template-derived products. +The quick-start application owns embedding initialization through its startup lifecycle. ## Business Problem @@ -131,22 +127,7 @@ Azure embedding settings are bound through `AzureOpenAIOptions`, including `Embe `SqlIntentEmbeddingStore` stores example vectors in the `Chat.IntentEmbeddings` table and performs cosine-similarity search. The store is behind `IIntentEmbeddingStore` so a future vector backend can replace SQL without changing the classifier contract. -## Project Implementations - -### crucible-web - -Crucible seeds embeddings through `Seed.StateOfYour`: - -1. `StateOfYourSqlServerRuntimeScenario` invokes the seeder during product-data setup. -2. The seeder exits without work when semantic classification is disabled. -3. When enabled, it reads the current `IntentCatalog`. -4. It batches each intent's examples through the configured Azure embedding deployment. -5. It upserts the generated vectors into the Crucible SQL database. -6. Non-cancellation failures are logged and do not disable rule-based execution. - -This path is intended for the StateOfYour SQL-backed business scenario and requires a real SQL connection and embedding deployment when enabled. - -### agent-framework-quick-start +## Application Initialization The quick-start application seeds embeddings through `IntentEmbeddingInitializationService`: diff --git a/src/Infrastructure.AgentFramework/Execution/PlaybookWorkflowGraphExecutor.cs b/src/Infrastructure.AgentFramework/Execution/PlaybookWorkflowGraphExecutor.cs index 692098b..4cb7311 100644 --- a/src/Infrastructure.AgentFramework/Execution/PlaybookWorkflowGraphExecutor.cs +++ b/src/Infrastructure.AgentFramework/Execution/PlaybookWorkflowGraphExecutor.cs @@ -13,8 +13,7 @@ namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; /// , , /// and instances supplied to /// vary - deterministic for the hybrid workflow, agentic for the -/// fully agentic workflow - mirroring the pattern already proven in crucible-web's -/// PipelineWorkflowStepExecutor. Each node calls the shared +/// fully agentic workflow. Each node calls the shared /// after its /// stage completes, so governance capture is identical regardless of orchestration model. When an /// optional skips any stage, the full From 0cb163de456353c44cd73486d8fde8769489eeac Mon Sep 17 00:00:00 2001 From: "Robert J. Good" Date: Thu, 12 Nov 2026 23:17:42 -0800 Subject: [PATCH 2/4] Agentframework -> AgentStart --- .../dotnet/Sync-DotnetUserSecretKeyVault.ps1 | 4 +- ...d-digitalproduct-standalone-dev.bicepparam | 4 +- ...gentstart-standalone-web-api-sql-aoai.yml} | 24 +++---- ...tc-platform-standalone-web-api-sql-iac.yml | 2 +- .github/copilot-instructions.md | 4 +- .../scripts/setup/Initialize-Development.ps1 | 4 +- .../tests/WorkloadDeployment.Tests.ps1 | 20 +++--- ...ntframework-app.yml => agentstart-app.yml} | 12 ++-- ...ntframework-iac.yml => agentstart-iac.yml} | 8 +-- .vscode/settings.json | 2 +- ...Api.slnx => Goodtocode.AgentStart.Api.slnx | 0 ...Web.slnx => Goodtocode.AgentStart.Web.slnx | 0 Initialize-Installation.ps1 | 2 +- README.md | 30 ++++---- Reset-EfDatabase.ps1 | 2 +- Reset-EfNswag.ps1 | 2 +- Update-Branding.Tests.ps1 | 65 ++++++++++++------ Update-Branding.ps1 | 3 +- Update-NSwag.ps1 | 2 +- branding.map.json | 21 +++--- ...Start-Quick-start-Blazor-Side-by-Side.png} | Bin docs/first-time-setup.md | 16 ++--- .../Abstractions/ChatRoutingMode.cs | 2 +- .../Abstractions/IActorResponse.cs | 2 +- .../Abstractions/IActorsTool.cs | 2 +- ...orkContext.cs => IApplicationDbContext.cs} | 14 ++-- .../Abstractions/IChatMessageRouter.cs | 2 +- .../Abstractions/IMyChatMessagesTool.cs | 2 +- .../Abstractions/IMyChatSessionsTool.cs | 2 +- .../Abstractions/IWebSearchProvider.cs | 2 +- .../Abstractions/WebSearchItem.cs | 2 +- .../Abstractions/WebSearchResult.cs | 2 +- src/Core.Application/Actors/ActorDto.cs | 4 +- src/Core.Application/Actors/ActorGuard.cs | 2 +- .../Actors/CreateOurActorCommand.cs | 8 +-- .../Actors/CreateOurActorCommandValidator.cs | 2 +- .../Actors/DeleteOurActorByOwnerIdCommand.cs | 6 +- ...DeleteOurActorByOwnerIdCommandValidator.cs | 2 +- .../Actors/DeleteOurActorCommand.cs | 6 +- .../Actors/DeleteOurActorCommandValidator.cs | 2 +- .../Actors/GetMyActorQuery.cs | 6 +- .../Actors/GetMyActorQueryValidator.cs | 2 +- .../Actors/GetMyActorsQuery.cs | 6 +- .../Actors/GetOurActorChatSessionQuery.cs | 8 +-- .../GetOurActorChatSessionQueryValidator.cs | 2 +- .../GetOurActorChatSessionsPaginatedQuery.cs | 8 +-- ...ctorChatSessionsPaginatedQueryValidator.cs | 2 +- .../Actors/GetOurActorChatSessionsQuery.cs | 8 +-- .../GetOurActorChatSessionsQueryValidator.cs | 2 +- .../Actors/GetOurActorQuery.cs | 6 +- .../Actors/GetOurActorQueryValidator.cs | 2 +- .../Actors/GetOurActorsByNameQuery.cs | 6 +- .../GetOurActorsByNameQueryValidator.cs | 2 +- .../Actors/GetOurActorsQuery.cs | 6 +- .../Actors/SaveMyActorCommand.cs | 8 +-- .../Actors/SaveMyActorCommandValidator.cs | 2 +- src/Core.Application/Chats/ChatGuard.cs | 4 +- src/Core.Application/Chats/ChatMessageDto.cs | 4 +- src/Core.Application/Chats/ChatSessionDto.cs | 4 +- .../Chats/CreateMyChatMessageCommand.cs | 10 +-- .../CreateMyChatMessageCommandValidator.cs | 2 +- .../Chats/CreateMyChatSessionCommand.cs | 12 ++-- .../CreateMyChatSessionCommandValidator.cs | 2 +- .../Chats/DeleteMyChatSessionCommand.cs | 6 +- .../DeleteMyChatSessionCommandValidator.cs | 2 +- .../Chats/GetMyChatMessageQuery.cs | 6 +- .../Chats/GetMyChatMessageQueryValidator.cs | 2 +- .../Chats/GetMyChatMessagesPaginatedQuery.cs | 6 +- ...etMyChatMessagesPaginatedQueryValidator.cs | 2 +- .../Chats/GetMyChatSessionMessagesQuery.cs | 6 +- .../GetMyChatSessionMessagesQueryValidator.cs | 2 +- .../Chats/GetMyChatSessionQuery.cs | 6 +- .../Chats/GetMyChatSessionQueryValidator.cs | 2 +- .../Chats/GetMyChatSessionsPaginatedQuery.cs | 6 +- ...etMyChatSessionsPaginatedQueryValidator.cs | 2 +- .../Chats/GetMyChatSessionsQuery.cs | 6 +- .../Chats/GetMyChatSessionsQueryValidator.cs | 2 +- .../Chats/Journeys/ChatJourneyActionOption.cs | 2 +- .../Journeys/ChatJourneyActionOptionDto.cs | 2 +- .../Chats/Journeys/ChatJourneyContext.cs | 2 +- .../Chats/Journeys/ChatJourneyLevel.cs | 2 +- .../Chats/Journeys/ChatJourneyStep.cs | 2 +- .../Chats/Journeys/ChatJourneyStepDto.cs | 2 +- .../Journeys/ChatJourneySuggestedPrompt.cs | 2 +- .../Journeys/ChatJourneySuggestedPromptDto.cs | 2 +- .../Journeys/ChatSelectionTokenParser.cs | 2 +- .../Chats/Journeys/GetChatJourneyStepQuery.cs | 8 +-- .../GetChatJourneyStepQueryValidator.cs | 2 +- .../Journeys/IChatJourneyContextAccessor.cs | 2 +- .../Chats/Journeys/IChatJourneyProvider.cs | 2 +- .../Journeys/IChatSelectionTokenParser.cs | 2 +- .../Chats/PatchMyChatSessionCommand.cs | 6 +- .../PatchMyChatSessionCommandValidator.cs | 2 +- .../Common/Auth/ClaimsRlsContext.cs | 2 +- .../Common/Auth/IClaimsReader.cs | 2 +- .../Common/Auth/IRequiresUserContext.cs | 2 +- .../Common/Auth/IRlsContext.cs | 2 +- .../Common/Auth/IUserContext.cs | 2 +- .../Common/Auth/UserContext.cs | 2 +- .../Common/Auth/UserScopedRequest.cs | 2 +- .../Common/Behaviors/CustomLoggingBehavior.cs | 2 +- .../Behaviors/CustomPerformanceBehavior.cs | 2 +- .../CustomUnhandledExceptionBehavior.cs | 2 +- .../Behaviors/CustomValidationBehavior.cs | 2 +- .../Common/Behaviors/IdempotencyBehavior.cs | 10 +-- .../Common/CustomLoggerExtensions.cs | 2 +- .../Exceptions/CustomConflictException.cs | 2 +- .../CustomForbiddenAccessException.cs | 2 +- .../Exceptions/CustomNotFoundException.cs | 2 +- .../IIdempotencyDuplicateWindowPolicy.cs | 2 +- .../IIdempotencyRequestMetadata.cs | 2 +- .../Common/Idempotency/IIdempotentRequest.cs | 2 +- .../Common/Idempotency/IdempotencyData.cs | 2 +- .../Common/Idempotency/IdempotencyDefaults.cs | 2 +- .../IdempotencyDuplicateWindowPolicy.cs | 2 +- .../IdempotentUserScopedRequest.cs | 2 +- .../Common/Mappings/MappingExtensions.cs | 2 +- .../Common/Mappings/MappingHelpers.cs | 2 +- .../Common/Models/CommandResult.cs | 2 +- .../Common/Models/PaginatedList.cs | 2 +- .../Common/Pagination/IPaginatedList.cs | 2 +- .../Common/Validators/SecuredValidator.cs | 2 +- src/Core.Application/ConfigureServices.cs | 18 ++--- src/Core.Application/Core.Application.csproj | 4 +- src/Core.Application/GlobalUsings.cs | 20 +++--- .../Governance/ChatGovernanceGate.cs | 4 +- .../Playbooks/CreatePlaybookCommand.cs | 8 +-- .../CreatePlaybookCommandValidator.cs | 2 +- .../Playbooks/DeletePlaybookCommand.cs | 6 +- .../DeletePlaybookCommandValidator.cs | 2 +- .../DocumentReviewPlaybookDefinition.cs | 2 +- .../Playbooks/DocumentReviewTypes.cs | 2 +- .../Essay/EssayGovernanceActivityRecorder.cs | 6 +- .../Playbooks/Essay/EssayTypes.cs | 4 +- .../Playbooks/Essay/EvaluateEssayCommand.cs | 6 +- .../Essay/RunEssayPlaybookCommand.cs | 6 +- .../Playbooks/GetPlaybookQuery.cs | 6 +- .../Playbooks/GetPlaybooksQuery.cs | 6 +- .../Governance/IPlaybookKnowledgeHolder.cs | 2 +- .../IPlaybookStageSummarySelector.cs | 2 +- .../PlaybookMaterializationSummary.cs | 2 +- ...haredPlaybookGovernanceActivityRecorder.cs | 6 +- .../GetMyLatestPlaybookExecutionQuery.cs | 6 +- .../Persistence/PlaybookExecutionPersister.cs | 2 +- .../PlaybookReplaySourceResolver.cs | 8 +-- .../SavePlaybookExecutionCommand.cs | 8 +-- src/Core.Application/Playbooks/PlaybookDto.cs | 4 +- .../Playbooks/PlaybookExecutionResultDto.cs | 4 +- .../PlaybookGovernanceActivityRecorder.cs | 6 +- .../Playbooks/PlaybookStepDto.cs | 4 +- .../PlaybookRepeatCoordinator.cs | 6 +- .../RunSqlStatisticsPlaybookCommand.cs | 6 +- .../SqlDatabaseStatisticsQuery.cs | 2 +- .../SqlStatisticsClassificationRunner.cs | 2 +- ...SqlStatisticsGovernanceActivityRecorder.cs | 6 +- .../SqlStatisticsPlaybookDefinition.cs | 2 +- .../SqlStatisticsStageSummarySelector.cs | 4 +- .../SqlStatistics/SqlStatisticsTypes.cs | 4 +- .../Taxonomy/ClassifyTaxonomyCommand.cs | 2 +- .../Taxonomy/RunTaxonomyPlaybookCommand.cs | 6 +- .../TaxonomyGovernanceActivityRecorder.cs | 6 +- .../Playbooks/Taxonomy/TaxonomyTypes.cs | 4 +- .../Playbooks/UpdatePlaybookCommand.cs | 6 +- .../UpdatePlaybookCommandValidator.cs | 2 +- .../Playbooks/UpdatePlaybookStepCommand.cs | 8 +-- .../UpdatePlaybookStepCommandValidator.cs | 2 +- src/Core.Domain/Actors/ActorEntity.cs | 2 +- src/Core.Domain/Chats/ChatMessageEntity.cs | 2 +- src/Core.Domain/Chats/ChatMessageRoles.cs | 2 +- src/Core.Domain/Chats/ChatSessionEntity.cs | 2 +- .../Common/RequestIdempotencyEntity.cs | 2 +- src/Core.Domain/Core.Domain.csproj | 4 +- .../Governance/ChatGovernanceEntity.cs | 2 +- .../Playbooks/PlaybookActionFormat.cs | 2 +- src/Core.Domain/Playbooks/PlaybookEntity.cs | 2 +- .../Playbooks/PlaybookExecutionEntity.cs | 2 +- .../Playbooks/PlaybookStepEntity.cs | 2 +- src/Core.Domain/Playbooks/PlaybookStepType.cs | 2 +- .../AgentInstructionsComposer.cs | 6 +- .../ChatMessageIntentRouter.cs | 18 ++--- .../ConfigureServices.cs | 36 +++++----- .../AzureOpenAiEmbeddingGenerator.cs | 4 +- .../Embeddings/Embedding.cs | 2 +- .../Embeddings/EmbeddingMatch.cs | 2 +- .../Embeddings/EmbeddingSource.cs | 2 +- .../Embeddings/IEmbeddingGenerator.cs | 2 +- .../Embeddings/IIntentEmbeddingStore.cs | 2 +- .../IntentEmbeddingInitializationService.cs | 6 +- .../Execution/IToolApplicationExecutor.cs | 2 +- .../PlaybookWorkflowGraphExecutor.cs | 2 +- .../Execution/ToolApplicationExecutor.cs | 2 +- .../GlobalUsings.cs | 8 +-- .../Governance/ChatGovernanceScope.cs | 2 +- .../Governance/SampleIntentPolicy.cs | 2 +- .../InferencePurpose.cs | 2 +- .../Infrastructure.AgentFramework.csproj | 4 +- .../Intents/CaptureKind.cs | 2 +- .../Intents/DefaultIntentCatalogFactory.cs | 2 +- .../Intents/FutureTenseGuard.cs | 2 +- .../Intents/HybridIntentClassifier.cs | 4 +- .../Intents/IIntentClassifier.cs | 2 +- .../Intents/IIntentRouter.cs | 2 +- .../Intents/IntentCatalog.cs | 2 +- .../Intents/IntentDefinition.cs | 2 +- .../Intents/IntentDefinitionFactory.cs | 2 +- .../Intents/IntentMatch.cs | 2 +- .../Intents/IntentNames.cs | 2 +- .../Intents/IntentTokenMatcher.cs | 2 +- .../Intents/IntentTokenRule.cs | 2 +- .../Intents/PhraseCapture.cs | 2 +- .../Intents/RuleIntentClassifier.cs | 2 +- .../Intents/SemanticIntentClassifier.cs | 6 +- .../Intents/ToolRoutingInstructions.cs | 2 +- .../AgentChatJourneyContextAccessor.cs | 6 +- .../Journeys/ChatJourneyCatalog.cs | 4 +- .../Journeys/ChatJourneyCatalogFactory.cs | 2 +- .../Journeys/ChatJourneyDefinition.cs | 4 +- .../DefaultChatJourneyCatalogContributor.cs | 4 +- .../IChatJourneyCatalogContributor.cs | 2 +- .../Journeys/RuleChatJourneyProvider.cs | 4 +- .../MarkdownTableFormatter.cs | 2 +- .../Options/AgentProviderOptions.cs | 2 +- .../Options/AgentToolInstructionsOptions.cs | 2 +- .../Options/AzureAIFoundryOptions.cs | 2 +- .../Options/AzureOpenAIOptions.cs | 2 +- .../CopilotKnowledgeEnrichmentOptions.cs | 4 +- .../Options/GitHubCopilotSdkOptions.cs | 2 +- .../Options/GovernedIntentOptions.cs | 2 +- .../Options/IntentClassificationOptions.cs | 2 +- .../Options/OllamaOptions.cs | 2 +- .../Options/OpenAIOptions.cs | 2 +- .../Options/SearchProviderOptions.cs | 2 +- .../Playbooks/AgentStructuredOutputParser.cs | 2 +- .../Playbooks/DocumentReviewCollectTool.cs | 4 +- .../Playbooks/DocumentReviewEvaluateTool.cs | 4 +- .../DocumentReviewPlaybookToolRegistration.cs | 4 +- .../Playbooks/DocumentReviewRecordTool.cs | 4 +- .../Playbooks/Essay/EssayCollectTool.cs | 4 +- .../Playbooks/Essay/EssayEvaluateAgentTool.cs | 6 +- .../Playbooks/Essay/EssayEvaluationRunner.cs | 6 +- .../Essay/EssayPlaybookToolRegistration.cs | 4 +- .../Playbooks/Essay/EssayRecordTool.cs | 4 +- ...laybookCatalogSeedInitializationService.cs | 6 +- .../SqlStatistics/SqlStatisticsCollectTool.cs | 6 +- .../SqlStatisticsEvaluateTool.cs | 4 +- .../SqlStatisticsPlaybookToolRegistration.cs | 4 +- .../SqlStatistics/SqlStatisticsRecordTool.cs | 4 +- .../Taxonomy/TaxonomyClassificationRunner.cs | 6 +- .../Taxonomy/TaxonomyCollectAgentTool.cs | 4 +- .../Taxonomy/TaxonomyEvaluateAgentTool.cs | 4 +- .../TaxonomyPlaybookToolRegistration.cs | 4 +- .../Taxonomy/TaxonomyRecordAgentTool.cs | 4 +- .../Providers/BingSearchProvider.cs | 4 +- .../Providers/NoOpWebSearchProvider.cs | 2 +- .../Tools/ActorsTool.cs | 4 +- .../Tools/AgentChatContextAccessor.cs | 2 +- .../Tools/ChatToolSessionContext.cs | 2 +- .../Tools/IAgentChatContextAccessor.cs | 2 +- .../Tools/MyChatMessagesTool.cs | 4 +- .../Tools/MyChatSessionsTool.cs | 4 +- .../Tools/ScopedAgentTool.cs | 4 +- .../Tools/WebSearchTool.cs | 2 +- src/Infrastructure.SqlServer/ColumnTypes.cs | 2 +- .../ConfigureServices.cs | 18 ++--- .../Converters/TagCanonicalNameConverter.cs | 2 +- .../TagCanonicalNameValueConverter.cs | 2 +- .../Embeddings/SqlIntentEmbeddingStore.cs | 12 ++-- src/Infrastructure.SqlServer/GlobalUsings.cs | 2 +- .../Infrastructure.SqlServer.csproj | 4 +- .../JsonSerializerOptionsProvider.cs | 2 +- ...alCreate-ApplicationDbContext.Designer.cs} | 44 ++++++------ ...027_InitialCreate-ApplicationDbContext.cs} | 4 +- ...s => ApplicationDbContextModelSnapshot.cs} | 42 +++++------ ...workContext.cs => ApplicationDbContext.cs} | 24 +++---- .../Configurations/ActorsConfig.cs | 4 +- .../Configurations/ChatGovernanceConfig.cs | 4 +- .../Configurations/ChatMessagesConfig.cs | 4 +- .../Configurations/ChatSessionsConfig.cs | 4 +- .../IntentEmbeddingConfiguration.cs | 4 +- .../PlaybookExecutionsConfig.cs | 4 +- .../Configurations/PlaybookStepsConfig.cs | 4 +- .../Configurations/PlaybooksConfig.cs | 4 +- .../RequestIdempotencyConfig.cs | 4 +- .../Entities/IntentEmbeddingEntity.cs | 2 +- .../SqlServerDatabaseStatisticsProvider.cs | 10 +-- .../Common/ApiResponseMapper.cs | 2 +- .../Common/Auth/HttpClaimsReader.cs | 2 +- .../Common/Auth/InjectUserContextBehavior.cs | 2 +- .../Common/Exceptions/ApiExceptionHandler.cs | 2 +- .../ApiExceptionHandlingExtensions.cs | 2 +- src/Presentation.Api/ConfigureServices.cs | 4 +- src/Presentation.Api/ConfigureServicesAuth.cs | 6 +- .../ConfigureServicesTelemetry.cs | 4 +- .../Endpoints/Actors/MyActorEndpoints.cs | 4 +- .../Endpoints/Chats/MyChatMessageEndpoints.cs | 6 +- .../Endpoints/Chats/MyChatSessionEndpoints.cs | 8 +-- src/Presentation.Api/Endpoints/EndpointMap.cs | 8 +-- .../Playbooks/MyPlaybookEndpoints.cs | 12 ++-- .../Playbooks/PlaybookCatalogEndpoints.cs | 6 +- .../Generate-NswagClientCode.json | 2 +- .../Generate-NswagClientCode.ps1 | 6 +- src/Presentation.Api/GlobalUsings.cs | 8 +-- .../Options/ApplicationInsightsOptions.cs | 2 +- .../Options/EntraExternalIdApiOptions.cs | 2 +- src/Presentation.Api/Presentation.Api.csproj | 4 +- src/Presentation.Api/Program.cs | 12 ++-- src/Presentation.Api/appsettings.local.json | 2 +- src/Presentation.Web/ConfigureServices.cs | 18 ++--- src/Presentation.Web/ConfigureServicesAuth.cs | 8 +-- .../ConfigureServicesTelemetry.cs | 4 +- .../Features/Chats/ChatPage.razor | 8 +-- .../Chats/Components/ChatActionStrip.razor | 2 +- .../Chats/Components/ChatMessageList.razor | 4 +- .../Chats/Components/ChatSessionList.razor | 6 +- .../Chats/Components/ChatSessionStrip.razor | 6 +- .../Chats/Components/NewChatMessageCard.razor | 6 +- .../Components/NewChatMessageInput.razor | 6 +- .../Chats/Formatting/IChatMessageFormatter.cs | 2 +- .../MarkdownChatMessageFormatter.cs | 2 +- .../Chats/Models/ChatJourneyStepModel.cs | 2 +- .../Features/Chats/Models/ChatMessageModel.cs | 2 +- .../Chats/Models/ChatSelectionOption.cs | 2 +- .../Features/Chats/Models/ChatSessionModel.cs | 2 +- .../Chats/Models/ChatSessionTreeViewItem.cs | 2 +- .../Chats/Models/ChatSessionsModel.cs | 2 +- .../Features/Chats/Services/ChatService.cs | 8 +-- .../Components/PlaybookOverviewCard.razor | 2 +- .../Components/PlaybookReplayControls.razor | 2 +- .../Components/PlaybookResultPanel.razor | 2 +- .../Components/PlaybookStepDetail.razor | 4 +- .../Components/PlaybookStepToggle.razor | 2 +- .../Components/PlaybookSummaryCard.razor | 2 +- .../Playbooks/EssayPlaybookPage.razor | 6 +- .../PlaybookDisplayTextFormatter.cs | 2 +- .../Playbooks/Models/PlaybookCatalogModel.cs | 2 +- .../Playbooks/Models/PlaybookCerStep.cs | 2 +- .../Models/PlaybookExecutionResultModel.cs | 2 +- .../Playbooks/Models/PlaybookReplayMode.cs | 2 +- .../Playbooks/Services/PlaybookService.cs | 10 +-- .../Playbooks/SqlStatisticsPlaybookPage.razor | 8 +-- .../Playbooks/TaxonomyPlaybookPage.razor | 6 +- src/Presentation.Web/GlobalUsings.cs | 2 +- .../Infrastructure/Auth/UserSyncService.cs | 8 +-- .../Clients/BackendApiClient.Idempotency.cs | 2 +- .../Clients/BackendApiClient.g.cs | 2 +- .../Infrastructure/Http/ApiErrorMessage.cs | 2 +- .../Infrastructure/Http/ApiService.cs | 2 +- .../Storage/LocalStorageService.cs | 2 +- .../Analytics/AnalyticsConsentBanner.razor | 2 +- .../Library/Auth/Components/UserProfile.razor | 2 +- .../Library/Auth/HttpClaimsReader.cs | 2 +- .../Library/Auth/IClaimsReader.cs | 2 +- .../DownstreamApiAccessTokenProvider.cs | 4 +- .../Middleware/MsGraphAccessTokenProvider.cs | 2 +- ...ginLogoutEndpointRouteBuilderExtensions.cs | 2 +- .../Routing/RedirectToResetPassword.razor | 2 +- .../Auth/Routing/RedirectToSignOut.razor | 2 +- .../Library/Auth/Routing/RouteConstants.cs | 2 +- .../Library/Auth/Services/IUserSyncService.cs | 2 +- .../Library/Form/FormChangeType.cs | 2 +- .../HorizontalMenu/HorizontalMenu.razor | 2 +- .../Models/HorizontalMenuItem.cs | 2 +- .../Models/PlatformNavigationModel.cs | 6 +- .../HorizontalMenu/WorkspaceNavigation.razor | 2 +- .../Library/Spacers/VerticalSpacer.razor | 2 +- .../Library/Version/VersionHistoryItem.cs | 2 +- .../Library/Wizard/WizardLayout.razor | 2 +- src/Presentation.Web/Library/_Imports.razor | 4 +- .../Options/ApplicationInsightsOptions.cs | 2 +- .../Options/BackendApiOptions.cs | 2 +- .../Options/EntraExternalIdWebOptions.cs | 2 +- .../Options/ResilientHttpClientOptions.cs | 2 +- src/Presentation.Web/Presentation.Web.csproj | 4 +- src/Presentation.Web/Program.cs | 6 +- src/Presentation.Web/Shell/App.razor | 4 +- .../Shell/Layout/MainLayout.razor | 14 ++-- src/Presentation.Web/Shell/Routes.razor | 4 +- src/Presentation.Web/_Imports.razor | 10 +-- .../Actors/CreateActorCommand.feature.cs | 2 +- .../CreateActorCommandStepDefinitions.cs | 6 +- .../Actors/DeleteActorCommand.feature.cs | 2 +- .../DeleteActorCommandStepDefinitions.cs | 6 +- .../Actors/GetActorByOwnerIdQuery.feature.cs | 2 +- .../GetActorByOwnerIdQueryStepDefinitions.cs | 6 +- .../Actors/GetActorQuery.feature.cs | 2 +- .../Actors/GetActorQueryStepDefinitions.cs | 6 +- .../Actors/GetOurActorsByNameQuery.feature.cs | 2 +- .../GetOurActorsByNameQueryStepDefinitions.cs | 6 +- .../Actors/SaveActorCommand.feature.cs | 2 +- .../Actors/SaveActorCommandStepDefinitions.cs | 6 +- .../AgentFunctionRegistrationTests.cs | 4 +- .../AzureOpenAiEmbeddingGeneratorTests.cs | 6 +- .../AgentFramework/BingSearchProviderTests.cs | 6 +- .../ChatJourneyProviderTests.cs | 6 +- .../AgentFramework/ChatMessageRouterTests.cs | 6 +- .../AgentFramework/FutureTenseGuardTests.cs | 4 +- .../AgentFramework/InferencePurposeTests.cs | 12 ++-- .../AgentFramework/IntentClassifierTests.cs | 8 +-- .../McpNotFoundSemanticsTests.cs | 4 +- .../SemanticIntentClassification.feature.cs | 2 +- ...nticIntentClassificationStepDefinitions.cs | 10 +-- .../TokenIntentClassification.feature.cs | 2 +- ...okenIntentClassificationStepDefinitions.cs | 4 +- .../WebSearchProviderRegistrationTests.cs | 8 +-- .../Application/NotFoundSemanticsTests.cs | 6 +- .../Chats/ChatWriteIdempotencyTests.cs | 6 +- .../Chats/CreateChatMessageCommand.feature.cs | 2 +- ...CreateChatMessageCommandStepDefinitions.cs | 8 +-- .../Chats/CreateChatSessionCommand.feature.cs | 2 +- ...CreateChatSessionCommandStepDefinitions.cs | 8 +-- .../Chats/DeleteChatSessionCommand.feature.cs | 2 +- ...DeleteChatSessionCommandStepDefinitions.cs | 6 +- .../Chats/GetChatJourneyStepQuery.feature.cs | 2 +- .../GetChatJourneyStepQueryStepDefinitions.cs | 10 +-- .../Chats/GetChatMessageQuery.feature.cs | 2 +- .../GetChatMessageQueryStepDefinitions.cs | 6 +- .../GetChatMessagesPaginatedQuery.feature.cs | 2 +- ...atMessagesPaginatedQueryStepDefinitions.cs | 6 +- .../GetMyChatSessionMessagesQuery.feature.cs | 2 +- ...ChatSessionMessagesQueryStepDefinitions.cs | 6 +- .../Chats/GetMyChatSessionQuery.feature.cs | 2 +- .../GetMyChatSessionQueryStepDefinitions.cs | 6 +- ...GetMyChatSessionsPaginatedQuery.feature.cs | 2 +- ...atSessionsPaginatedQueryStepDefinitions.cs | 6 +- .../Chats/GetMyChatSessionsQuery.feature.cs | 2 +- .../GetMyChatSessionsQueryStepDefinitions.cs | 6 +- .../Chats/PatchChatSessionCommand.feature.cs | 2 +- .../PatchChatSessionCommandStepDefinitions.cs | 6 +- src/Tests.Integration/GlobalUsings.cs | 4 +- .../ChatGovernanceInvocationTests.cs | 10 +-- .../SqlIntentEmbeddingStoreTests.cs | 16 ++--- .../FakeSqlDatabaseStatisticsProvider.cs | 4 +- src/Tests.Integration/Mocks/MockAIAgent.cs | 2 +- .../Mocks/MockAgentResponse.cs | 2 +- .../Mocks/MockAgentSession.cs | 2 +- .../Mocks/MockClaimsReader.cs | 2 +- .../Mocks/MockResponseUpdate.cs | 2 +- .../Mocks/TestInjectUserContextBehavior.cs | 2 +- .../DocumentReviewPlaybook.feature.cs | 2 +- .../DocumentReviewPlaybookStepDefinitions.cs | 4 +- .../Playbooks/DocumentReviewPlaybookTests.cs | 4 +- .../Playbooks/EssayPlaybook.feature.cs | 2 +- .../Playbooks/EssayPlaybookStepDefinitions.cs | 6 +- .../Playbooks/EssayPlaybookTests.cs | 6 +- .../PlaybookRepeatability.feature.cs | 2 +- .../PlaybookRepeatabilityStepDefinitions.cs | 10 +-- .../Playbooks/PlaybookReplayTests.cs | 12 ++-- .../SqlStatisticsPlaybook.feature.cs | 2 +- .../SqlStatisticsPlaybookStepDefinitions.cs | 4 +- .../Playbooks/SqlStatisticsPlaybookTests.cs | 4 +- .../Playbooks/TaxonomyPlaybook.feature.cs | 2 +- .../TaxonomyPlaybookStepDefinitions.cs | 4 +- .../Playbooks/TaxonomyPlaybookTests.cs | 4 +- src/Tests.Integration/TestBase.cs | 58 ++++++++-------- .../Tests.Integration.csproj | 4 +- 455 files changed, 1071 insertions(+), 1052 deletions(-) rename .azuredevops/pipelines/{gtc-agentframework-standalone-web-api-sql-aoai.yml => gtc-agentstart-standalone-web-api-sql-aoai.yml} (97%) rename .github/workflows/{agentframework-app.yml => agentstart-app.yml} (98%) rename .github/workflows/{agentframework-iac.yml => agentstart-iac.yml} (98%) rename Goodtocode.AgentFramework.Api.slnx => Goodtocode.AgentStart.Api.slnx (100%) rename Goodtocode.AgentFramework.Web.slnx => Goodtocode.AgentStart.Web.slnx (100%) rename docs/{AgentFramework-Quick-start-Blazor-Side-by-Side.png => AgentStart-Quick-start-Blazor-Side-by-Side.png} (100%) rename src/Core.Application/Abstractions/{IAgentFrameworkContext.cs => IApplicationDbContext.cs} (66%) rename src/Infrastructure.SqlServer/Migrations/{20261022032027_InitialCreate-AgentFrameworkContext.Designer.cs => 20261022032027_InitialCreate-ApplicationDbContext.Designer.cs} (92%) rename src/Infrastructure.SqlServer/Migrations/{20261022032027_InitialCreate-AgentFrameworkContext.cs => 20261022032027_InitialCreate-ApplicationDbContext.cs} (99%) rename src/Infrastructure.SqlServer/Migrations/{AgentFrameworkContextModelSnapshot.cs => ApplicationDbContextModelSnapshot.cs} (92%) rename src/Infrastructure.SqlServer/Persistence/{AgentFrameworkContext.cs => ApplicationDbContext.cs} (79%) diff --git a/.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 b/.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 index a8a4b69..f66937d 100644 --- a/.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 +++ b/.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 @@ -9,11 +9,11 @@ Existing values are overwritten with the latest ones. .EXAMPLE # Publish the Web project's user-secrets (single line, safe to paste): -pwsh -File ./dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction ToKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "my-kv" -ProductName "agentframework" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" +pwsh -File ./dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction ToKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "my-kv" -ProductName "agentstart" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" .EXAMPLE # Restore them on a new machine (single line, safe to paste): -pwsh -File ./dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction FromKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "my-kv" -ProductName "agentframework" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" +pwsh -File ./dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction FromKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "my-kv" -ProductName "agentstart" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" .NOTES - Requires the .NET SDK and the Az.Accounts and Az.KeyVault modules. diff --git a/.azure/variables/workload-digitalproduct-standalone-dev.bicepparam b/.azure/variables/workload-digitalproduct-standalone-dev.bicepparam index 3d2035e..d4d743f 100644 --- a/.azure/variables/workload-digitalproduct-standalone-dev.bicepparam +++ b/.azure/variables/workload-digitalproduct-standalone-dev.bicepparam @@ -2,9 +2,9 @@ using '../templates/workload-digitalproduct.bicep' // Phase 1 (mode 1, standalone): plan, Log Analytics, App Insights, web, API and SQL all live in this RG. // RG: {product}-{env}-{region}-{instance}-rg. Set SQL_ENTRA_ADMIN_GROUP_OBJECT_ID and AZURE_TENANT_ID to workload-tenant IDs before deployment. -// Deploy: az deployment group create -g agentframework-dev-wus2-100-rg -f .azure/templates/workload-digitalproduct.bicep -p .azure/variables/workload-digitalproduct-standalone-dev.bicepparam +// Deploy: az deployment group create -g agentstart-dev-wus2-100-rg -f .azure/templates/workload-digitalproduct.bicep -p .azure/variables/workload-digitalproduct-standalone-dev.bicepparam -var productIac = 'agentframework' +var productIac = 'agentstart' var environmentIac = 'dev' var regionIac = 'wus2' var instanceIac = '100' diff --git a/.azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml b/.azuredevops/pipelines/gtc-agentstart-standalone-web-api-sql-aoai.yml similarity index 97% rename from .azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml rename to .azuredevops/pipelines/gtc-agentstart-standalone-web-api-sql-aoai.yml index 475ffe3..8cc0a81 100644 --- a/.azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml +++ b/.azuredevops/pipelines/gtc-agentstart-standalone-web-api-sql-aoai.yml @@ -5,7 +5,7 @@ trigger: - main paths: include: - - .azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml + - .azuredevops/pipelines/gtc-agentstart-standalone-web-api-sql-aoai.yml - src/** pr: @@ -14,7 +14,7 @@ pr: - main paths: include: - - .azuredevops/pipelines/gtc-agentframework-standalone-web-api-sql-aoai.yml + - .azuredevops/pipelines/gtc-agentstart-standalone-web-api-sql-aoai.yml - src/** pool: @@ -57,9 +57,9 @@ variables: - name: sqlPassword value: '' - ${{ if eq(parameters.Environment, 'development') }}: - - group: gtc-agentframework-dev + - group: gtc-agentstart-dev - ${{ if eq(parameters.Environment, 'production') }}: - - group: gtc-agentframework-prod + - group: gtc-agentstart-prod - name: API_ARTIFACT_OUTPUT value: publish_output - name: WEB_ARTIFACT_OUTPUT @@ -78,7 +78,7 @@ variables: - name: srcPath value: $(System.DefaultWorkingDirectory)/src - name: srcSolution - value: $(System.DefaultWorkingDirectory)/Goodtocode.AgentFramework.Web.slnx + value: $(System.DefaultWorkingDirectory)/Goodtocode.AgentStart.Web.slnx - name: apiPath value: Presentation.Api - name: apiProject @@ -96,7 +96,7 @@ variables: - name: infraProject value: Infrastructure.SqlServer.csproj - name: infraDbContext - value: AgentFrameworkContext + value: ApplicationDbContext - name: runtimeEnv value: Development - name: buildConfiguration @@ -109,17 +109,17 @@ variables: value: true # Manual environment resource mapping for CD (update if IaC names change) - name: appiName - value: agentframework-dev-wus2-001-appi + value: agentstart-dev-wus2-001-appi - name: azureApiAppName - value: agentframework-dev-wus2-001-api + value: agentstart-dev-wus2-001-api - name: azureWebAppName - value: agentframework-dev-wus2-001-web + value: agentstart-dev-wus2-001-web - name: azureRgName - value: agentframework-dev-wus2-001-rg + value: agentstart-dev-wus2-001-rg - name: sqlName - value: agentframework-dev-wus2-001-sql + value: agentstart-dev-wus2-001-sql - name: sqlDbName - value: agentframework-dev-wus2-001-sqldb + value: agentstart-dev-wus2-001-sqldb - name: versionMajor value: '2' - name: versionMinor diff --git a/.azuredevops/pipelines/gtc-platform-standalone-web-api-sql-iac.yml b/.azuredevops/pipelines/gtc-platform-standalone-web-api-sql-iac.yml index c92bebe..9e0c1ed 100644 --- a/.azuredevops/pipelines/gtc-platform-standalone-web-api-sql-iac.yml +++ b/.azuredevops/pipelines/gtc-platform-standalone-web-api-sql-iac.yml @@ -44,7 +44,7 @@ variables: - name: DOTNET_SYSTEM_GLOBALIZATION_INVARIANT value: 'true' - name: productRgName - value: agentframework-dev-wus2-001-rg + value: agentstart-dev-wus2-001-rg - name: productRgLocation value: westus2 - name: productBicepTemplate diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index cb9c660..883703b 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -14,11 +14,11 @@ - **IaC:** `.azure` (Bicep), Azure Bicep in deployment scripts ## Developer Workflows -- **Build:** Run `dotnet build Goodtocode.AgentFramework.Web.slnx` from the repository root. +- **Build:** Run `dotnet build Goodtocode.AgentStart.Web.slnx` from the repository root. - **Test:** Run `dotnet test src/Tests.Integration/Tests.Integration.csproj`; integration behavior uses Reqnroll Gherkin specifications. - **Run:** Launch via Visual Studio or `dotnet run` from solution root. - **CI/CD:** Managed by GitHub Actions (`.github/workflows/`). -- **IaC Deploy:** See `agentframework-iac.yml` for infrastructure deployment. +- **IaC Deploy:** See `agentstart-iac.yml` for infrastructure deployment. ## Non-Negotiable Architecture - Preserve dependency direction: Presentation -> Application -> Domain; Infrastructure depends on Application and Domain as required; Domain has no project dependencies. diff --git a/.github/scripts/setup/Initialize-Development.ps1 b/.github/scripts/setup/Initialize-Development.ps1 index be90cf4..75226bd 100644 --- a/.github/scripts/setup/Initialize-Development.ps1 +++ b/.github/scripts/setup/Initialize-Development.ps1 @@ -46,7 +46,7 @@ param( [switch]$SkipEntra, # Local SQL database (LocalDB by default); the EF migrations are applied to it - [string]$DatabaseConnectionString = "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=AgentFramework;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30", + [string]$DatabaseConnectionString = "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=AgentStart;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30", [switch]$SkipDatabase ) @@ -128,7 +128,7 @@ else { if (-not (Get-Command dotnet-ef -ErrorAction SilentlyContinue) -and -not (dotnet tool list --global | Select-String '^dotnet-ef\s')) { dotnet tool install --global dotnet-ef } - dotnet ef database update --project "$repoRoot\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj" --startup-project "$apiProject\Presentation.Api.csproj" --context AgentFrameworkContext --connection $DatabaseConnectionString + dotnet ef database update --project "$repoRoot\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj" --startup-project "$apiProject\Presentation.Api.csproj" --context ApplicationDbContext --connection $DatabaseConnectionString if ($LASTEXITCODE -ne 0) { throw "dotnet ef database update failed. Stop any running Presentation.Api or Presentation.Web (they lock the build output), check that SQL Server LocalDB (or the server in -DatabaseConnectionString) is running, or re-run with -SkipDatabase." } } diff --git a/.github/scripts/tests/WorkloadDeployment.Tests.ps1 b/.github/scripts/tests/WorkloadDeployment.Tests.ps1 index 7394d4b..8255e16 100644 --- a/.github/scripts/tests/WorkloadDeployment.Tests.ps1 +++ b/.github/scripts/tests/WorkloadDeployment.Tests.ps1 @@ -197,8 +197,8 @@ Describe 'Deployment scripts' { } It 'uses YAML or secret SQL inputs without GitHub Variables dependencies' { - $iac = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-iac.yml" -Raw - $app = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-app.yml" -Raw + $iac = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentstart-iac.yml" -Raw + $app = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentstart-app.yml" -Raw $selection = '${{ secrets.SQL_ENTRA_ADMIN_GROUP_OBJECT_ID || env.SQL_ENTRA_ADMIN_GROUP_OBJECT_ID }}' ([regex]::Matches($iac, [regex]::Escape($selection))).Count | Should -Be 4 $iac | Should -Not -Match '\$\{\{\s*vars\.' @@ -342,8 +342,8 @@ Describe 'Deployment scripts' { Describe 'Entra deployment workflow ordering' { It 'provisions password users after infrastructure and before migrations without runtime secrets' { - $iac = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-iac.yml" -Raw - $app = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-app.yml" -Raw + $iac = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentstart-iac.yml" -Raw + $app = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentstart-app.yml" -Raw $iac.IndexOf('name: Provision SQL-auth database access') | Should -BeGreaterThan $iac.IndexOf('name: Deploy ${{ env.PRODUCT_RG_NAME }}') $app.IndexOf('name: Provision SQL-auth database access') | Should -BeGreaterThan $app.IndexOf('name: Read exact infrastructure deployment targets') $app.IndexOf('name: Deploy SQL script') | Should -BeGreaterThan $app.IndexOf('name: Provision SQL-auth database access') @@ -355,7 +355,7 @@ Describe 'Deployment scripts' { } It 'configures application settings and database access before deploying binaries' { - $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-app.yml" -Raw + $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentstart-app.yml" -Raw foreach ($component in @('API', 'WEB')) { $settings = $workflow.IndexOf('name: ${{ env.AZURE_' + $component + 'APP_NAME }} app settings') $deploy = $workflow.IndexOf('name: Deploy ${{ env.AZURE_' + $component + 'APP_NAME }}') @@ -370,7 +370,7 @@ Describe 'Deployment scripts' { } It 'compiles and checks identity inputs before mutating Azure resources' { - $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-iac.yml" -Raw + $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentstart-iac.yml" -Raw $compile = $workflow.IndexOf('name: Compile workload contract and parameters') $identity = $workflow.IndexOf('name: Check Entra-only SQL administrator inputs') $create = $workflow.IndexOf('name: Create ${{ env.PRODUCT_RG_NAME }}') @@ -385,7 +385,7 @@ Describe 'Deployment scripts' { } It 'deploys the selected authentication policy without mode transition paths' { - $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-iac.yml" -Raw + $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentstart-iac.yml" -Raw $workflow | Should -Not -Match 'prepareSqlBootstrap|SQL_ENTRA_CUTOVER_READY|sqlEntraOnlyAuthentication|Resolve-AzureSqlAuthentication' $workflow | Should -Match 'sqlCreateServer=\$env:SQL_CREATE_SERVER' $workflow | Should -Match 'secrets.SQL_ADMIN_PASSWORD' @@ -393,7 +393,7 @@ Describe 'Deployment scripts' { } It 'serializes resource and application mutations for each environment' { - foreach ($file in @('agentframework-app.yml', 'agentframework-iac.yml')) { + foreach ($file in @('agentstart-app.yml', 'agentstart-iac.yml')) { $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\$file" -Raw $workflow | Should -Match 'group: workload-deployment-\$\{\{ matrix.environment \}\}' $workflow | Should -Match 'cancel-in-progress: false' @@ -401,7 +401,7 @@ Describe 'Deployment scripts' { } It 'keeps artifacts environment-neutral and remaining authentication configuration explicit' { - $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentframework-app.yml" -Raw + $workflow = Get-Content -LiteralPath "$PSScriptRoot\..\..\workflows\agentstart-app.yml" -Raw $workflow | Should -Not -Match 'variable-substitution|azure/sql-action' $workflow | Should -Match 'AzureOpenAI__Endpoint' $workflow | Should -Match 'EntraExternalId:Instance' @@ -427,7 +427,7 @@ Describe 'Root setup orchestration' { It 'checks the explicitly supplied brand without changing configuration' -ForEach @( @{ Solution = 'Contoso.Assist.slnx'; Company = 'Contoso'; Product = 'Assist' }, @{ Solution = 'Fabrikam.Portal.Web.slnx'; Company = 'Fabrikam'; Product = 'Portal' }, - @{ Solution = 'Goodtocode.AgentFramework.Web.slnx'; Company = 'Goodtocode'; Product = 'AgentFramework' } + @{ Solution = 'Goodtocode.AgentStart.Web.slnx'; Company = 'Goodtocode'; Product = 'AgentStart' } ) { Set-Content (Join-Path $setupRoot $Solution) 'synthetic solution fixture' $output = & $initializer -RepositoryRoot $setupRoot -CompanyName $Company -ProductName $Product -Mode Both -Stage Check 6>&1 diff --git a/.github/workflows/agentframework-app.yml b/.github/workflows/agentstart-app.yml similarity index 98% rename from .github/workflows/agentframework-app.yml rename to .github/workflows/agentstart-app.yml index 3d6d02b..4e69e72 100644 --- a/.github/workflows/agentframework-app.yml +++ b/.github/workflows/agentstart-app.yml @@ -1,4 +1,4 @@ -name: 'AgentFramework App CI/CD' +name: 'AgentStart App CI/CD' # One pipeline for web, API and SQL migrations. Turn components on or off with HAS_WEB, HAS_API and HAS_SQL. # CI builds and tests once; CD deploys to the development environment. @@ -11,14 +11,14 @@ on: branches: - main paths: - - .github/workflows/agentframework-app.yml + - .github/workflows/agentstart-app.yml - src/** - .github/scripts/cd/** push: branches: - main paths: - - .github/workflows/agentframework-app.yml + - .github/workflows/agentstart-app.yml - src/** - .github/scripts/cd/** workflow_dispatch: @@ -42,7 +42,7 @@ permissions: env: # ===== EDIT PER INSTALL: naming slots (names: {product}-{env}-{region}-{instance}-{type}) ===== - PRODUCT: "agentframework" + PRODUCT: "agentstart" REGION: "wus2" INSTANCE: "100" IAC_DEPLOYMENT_NAME: "workload-digitalproduct" @@ -75,7 +75,7 @@ jobs: env: SCRIPTS_PATH: "./.github/scripts" SRC_PATH: "./src" - SRC_SLN: "Goodtocode.AgentFramework.Web.slnx" + SRC_SLN: "Goodtocode.AgentStart.Web.slnx" API_PATH: "Presentation.Api" API_PROJECT: "Presentation.Api.csproj" TEST_PATH: "Tests.Integration" @@ -84,7 +84,7 @@ jobs: WEB_PROJECT: "Presentation.Web.csproj" INFRA_PATH: 'Infrastructure.SqlServer' INFRA_PROJECT: 'Infrastructure.SqlServer.csproj' - INFRA_DBCONTEXT: 'AgentFrameworkContext' + INFRA_DBCONTEXT: 'ApplicationDbContext' RUNTIME_ENV: "Development" CONFIGURATION: "Release" VERSION_MAJOR: '2' diff --git a/.github/workflows/agentframework-iac.yml b/.github/workflows/agentstart-iac.yml similarity index 98% rename from .github/workflows/agentframework-iac.yml rename to .github/workflows/agentstart-iac.yml index ce09983..d102abc 100644 --- a/.github/workflows/agentframework-iac.yml +++ b/.github/workflows/agentstart-iac.yml @@ -1,4 +1,4 @@ -name: 'AgentFramework IaC' +name: 'AgentStart IaC' # One pipeline for every mode and phase. The mode picks the parameter file; the environment matrix # runs development first, then production behind the 'production' environment's required reviewers. @@ -12,7 +12,7 @@ on: branches: - main paths: - - .github/workflows/agentframework-iac.yml + - .github/workflows/agentstart-iac.yml - .azure/**/*.bicep - .azure/**/*.bicepparam - .github/scripts/cd/** @@ -20,7 +20,7 @@ on: branches: - main paths: - - .github/workflows/agentframework-iac.yml + - .github/workflows/agentstart-iac.yml - .azure/**/*.bicep - .azure/**/*.bicepparam - .github/scripts/cd/** @@ -40,7 +40,7 @@ on: env: # ===== EDIT PER INSTALL: naming slots (RG: {product}-{env}-{region}-{instance}-rg) ===== - PRODUCT: "agentframework" + PRODUCT: "agentstart" REGION: "wus2" INSTANCE: "100" LOCATION: "westus2" diff --git a/.vscode/settings.json b/.vscode/settings.json index 9fc203f..ed68b20 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "dotnet.defaultSolution": "Goodtocode.AgentFramework.Web.slnx" + "dotnet.defaultSolution": "Goodtocode.AgentStart.Web.slnx" } \ No newline at end of file diff --git a/Goodtocode.AgentFramework.Api.slnx b/Goodtocode.AgentStart.Api.slnx similarity index 100% rename from Goodtocode.AgentFramework.Api.slnx rename to Goodtocode.AgentStart.Api.slnx diff --git a/Goodtocode.AgentFramework.Web.slnx b/Goodtocode.AgentStart.Web.slnx similarity index 100% rename from Goodtocode.AgentFramework.Web.slnx rename to Goodtocode.AgentStart.Web.slnx diff --git a/Initialize-Installation.ps1 b/Initialize-Installation.ps1 index 878ddc2..38cc2ef 100644 --- a/Initialize-Installation.ps1 +++ b/Initialize-Installation.ps1 @@ -11,7 +11,7 @@ Initializes local development, CI/CD configuration, and Azure identity dependenc [CmdletBinding()] param( [ValidatePattern('^[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*$')][string]$CompanyName = 'Goodtocode', - [ValidatePattern('^[A-Za-z_][A-Za-z0-9_]*$')][string]$ProductName = 'AgentFramework', + [ValidatePattern('^[A-Za-z_][A-Za-z0-9_]*$')][string]$ProductName = 'AgentStart', [ValidateSet('Local', 'Cloud', 'Both')][string]$Mode = 'Local', [ValidateSet('Prepare', 'Complete', 'Check')][string]$Stage = 'Prepare', [ValidateSet('development', 'production')][string]$Environment = 'development', diff --git a/README.md b/README.md index 55360cb..249d7a5 100644 --- a/README.md +++ b/README.md @@ -3,17 +3,17 @@ **Azure Bicep Infrastucture as Standalone Landing Zone** -[![Landing Zone IaC](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentframework-iac.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentframework-iac.yml) +[![Landing Zone IaC](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentstart-iac.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentstart-iac.yml) **Clean Architecture C# Blazor Microapp and Web API Microservice** -[![Web & API & SQL CI/CD](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentframework-app.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentframework-app.yml) +[![Web & API & SQL CI/CD](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentstart-app.yml/badge.svg)](https://github.com/goodtocode/agent-framework-quick-start/actions/workflows/agentstart-app.yml) Microsoft Agent Framework Quick-start is a enterprise-ready starter kit for building modern, agentic applications with C#, Blazor (Fluent UI), and ASP.NET Core Web API. This solution demonstrates how to use the Microsoft Agent Framework to create a Copilot-style chat client, fully integrated with SQL Server for persistent storage of authors, chat sessions, and messages—all orchestrated through a clean architecture pattern. With built-in tools (plugins) for querying and managing your own data, automated Azure infrastructure (Bicep), and seamless CI/CD (GitHub Actions), this repo provides everything you need to build, deploy, and extend real-world AI-powered apps on a traditional .NET stack—no JavaScript, no raw HTML, just pure Blazor and Fluent UI. Perfect for teams looking to modernize with AI while leveraging familiar, pragmatic enterprise patterns. -![Microsoft Agent Framework Quick-start Blazor](./docs/AgentFramework-Quick-start-Blazor-Side-by-Side.png) +![Microsoft Agent Framework Quick-start Blazor](./docs/AgentStart-Quick-start-Blazor-Side-by-Side.png) Agent Framework is an SDK that integrates Large Language Models (LLMs) like OpenAI, Azure OpenAI, and Hugging Face with conventional programming languages like C#, Python, and Java. Agent Framework allows developers to define plugins that can be chained together in just a few lines of code. @@ -31,11 +31,11 @@ a workload subscription and permission to create registrations and GitHub federa ```powershell ./Initialize-Installation.ps1 -Mode Local -InstallPrerequisites ./Initialize-Installation.ps1 -Mode Cloud -SqlAuthentication SqlAuth -InstallPrerequisites -# Run agentframework-iac.yml with runcd=true, then resume +# Run agentstart-iac.yml with runcd=true, then resume ./Initialize-Installation.ps1 -Mode Cloud -Stage Complete ``` -Then run `agentframework-app.yml` with `runcd=true`. Entra-only SQL uses +Then run `agentstart-app.yml` with `runcd=true`. Entra-only SQL uses `-SqlAuthentication EntraOnly`; resume as a member of its SQL administrator group. Rerun the same commands for an existing installation. `-Mode Both` prepares local and cloud; `-Environment production` selects production when its workflow/parameters are enabled; @@ -49,7 +49,9 @@ quotas, cold starts or dedicated hosting features require it. Front Door is opti edge template defaults to Standard custom-rule WAF and skips creation when no origins are configured. ## Rebrand a clone for your organization -After cloning, `Update-Branding.ps1` replaces organization and product branding across source, solution files, GitHub Actions, IaC, scripts, and docs. It is a dry run unless `-Apply` is given. Both `-NewCompany` and `-NewProduct` are required; missing values fail before any writes. EF contexts, databases, migration filenames, workflow filenames and resource prefixes are rebranded. `Infrastructure.AgentFramework`, Microsoft SDK/package names, library dependencies, Entra scopes and user-secrets keys are preserved. `UserSecretsId` values are regenerated unless `-KeepUserSecretsIds` is supplied. +AgentStart is the internal product identity (`Goodtocode.AgentStart`, database `AgentStart`, resource prefix `agentstart`). The repository and package display names remain Agent Framework Quick Start for Blazor/WebApi. + +After cloning, `Update-Branding.ps1` replaces organization and product branding across source, solution files, GitHub Actions, IaC, scripts, Swagger/OpenAPI titles, NSwag namespaces, and docs. It is a dry run unless `-Apply` is given. Both `-NewCompany` and `-NewProduct` are required; missing values fail before any writes. `IApplicationDbContext`, `ApplicationDbContext`, and their migration/snapshot filenames are deliberately brand-neutral and do not change during rebranding; their namespaces do. The replacement token is `AgentStart`, not `AgentFramework`, so `Infrastructure.AgentFramework` and Microsoft SDK names need no special-case exclusions. Library dependencies, Entra scopes and user-secrets keys are preserved. `UserSecretsId` values are regenerated unless `-KeepUserSecretsIds` is supplied. ```powershell # Preview (no changes) @@ -63,7 +65,7 @@ The namespace defaults to `Company.Product`. For display names containing spaces Rebranding writes the company/product defaults into the root `Initialize-Installation.ps1`, which passes them explicitly to the shared initializer. Run it afterward without brand arguments; it is now locked to the clone's brand. Explicit `-CompanyName` / `-ProductName` overrides must match its solution. The shared initializer never guesses a product from known customer names. Installation does not run rebranding. -The template's workflow/resource prefix is now `agentframework` (formerly `agent`). Existing AFQS cloud installations must explicitly reuse their existing resource group and review IaC naming before deployment; this is not a resource migration. Rebranding a fresh clone changes that prefix to the new product identifier in lowercase. +The template's workflow/resource prefix is now `agentstart` (formerly `agent` / `agentframework`) and its default local database is `AgentStart`. Existing AFQS installations must explicitly reuse their existing database/resource group and review IaC naming before deployment; this is not a database or resource migration. Rebranding a fresh clone changes that prefix to the new product identifier in lowercase. --- @@ -155,7 +157,7 @@ If you already have app registrations, re-run the orchestrator. It only adds wha pwsh -File ./.azure/scripts/New-EntraDotnetSolution.ps1 -EntraInstanceUrl "https://your-tenant-name.ciamlogin.com" -TenantId "" -WebAppRegistrationName "myproduct-web-dev-001" -ApiAppRegistrationName "myproduct-api-dev-001" -WebProjectPath "./src/Presentation.Web" -ApiProjectPath "./src/Presentation.Api" ``` ``` -pwsh -File ./.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction FromKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "" -ProductName "agentframework" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" +pwsh -File ./.azure/scripts/dotnet/Sync-DotnetUserSecretKeyVault.ps1 -Direction FromKeyVault -TenantId "" -SubscriptionId "" -KeyVaultName "" -ProductName "agentstart" -ProjectName "Web" -ProjectPath "./src/Presentation.Web" ``` **3. OR: Configure everything manually:** @@ -253,12 +255,12 @@ dotnet user-secrets set "ConnectionStrings:DefaultConnection" "YOUR_SQL_CONNECTI 3. Deploy new entities and configurations to database ``` - dotnet ef database update --project .\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj --startup-project .\src\Presentation.Api\Presentation.Api.csproj --context AgentFrameworkContext --connection "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=AgentFramework;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30" + dotnet ef database update --project .\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj --startup-project .\src\Presentation.Api\Presentation.Api.csproj --context ApplicationDbContext --connection "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=AgentStart;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30" ``` 4. When an entity changes, is created or deleted, create a new migration. Suggest doing this each new version. ``` - dotnet ef migrations add v1.1.1 --project .\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj --startup-project .\src\Presentation.Api\Presentation.Api.csproj --context AgentFrameworkContext - dotnet ef database update --project .\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj --startup-project .\src\Presentation.Api\Presentation.Api.csproj --context AgentFrameworkContext --connection "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=AgentFramework;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30" + dotnet ef migrations add v1.1.1 --project .\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj --startup-project .\src\Presentation.Api\Presentation.Api.csproj --context ApplicationDbContext + dotnet ef database update --project .\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj --startup-project .\src\Presentation.Api\Presentation.Api.csproj --context ApplicationDbContext --connection "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=AgentStart;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30" ``` # Running the Application @@ -375,7 +377,7 @@ doc's **UI Changes** and **API Changes** sections for details. # Github Actions for Azure IaC and CI/CD ## GitHub Actions (.github folder) -The `.github/workflows` folder contains the GitHub Actions pipelines for CI/CD. Workflows follow the [github-actions](https://github.com/goodtocode/github-actions) conventions and are named `{product}-{capability}.yml`. The naming slots (`PRODUCT`, `REGION`, `INSTANCE`, `MODE`) at the top of each workflow produce the Azure names `{product}-{env}-{region}-{instance}-{type}`, for example `agentframework-dev-wus2-100-rg`. Below is a summary of the workflow files, their purposes, and triggers: +The `.github/workflows` folder contains the GitHub Actions pipelines for CI/CD. Workflows follow the [github-actions](https://github.com/goodtocode/github-actions) conventions and are named `{product}-{capability}.yml`. The naming slots (`PRODUCT`, `REGION`, `INSTANCE`, `MODE`) at the top of each workflow produce the Azure names `{product}-{env}-{region}-{instance}-{type}`, for example `agentstart-dev-wus2-100-rg`. Below is a summary of the workflow files, their purposes, and triggers: ### Triggers All workflow YAML files in this repo are designed to: @@ -384,8 +386,8 @@ All workflow YAML files in this repo are designed to: | Workflow File | Purpose | CI Trigger (PR) | CD Trigger (Push to main) | |--------------------------------------|-----------------------------------------------------------------------------------------|-------------------------|---------------------------| -| `agentframework-app.yml` | Build, test and deploy the Blazor web, Web API and SQL migrations to Azure App Service | Yes | Yes | -| `agentframework-iac.yml` | Deploy the standalone Azure infrastructure (`.azure/templates/workload-digitalproduct.bicep`) | Yes (what-if) | Yes | +| `agentstart-app.yml` | Build, test and deploy the Blazor web, Web API and SQL migrations to Azure App Service | Yes | Yes | +| `agentstart-iac.yml` | Deploy the standalone Azure infrastructure (`.azure/templates/workload-digitalproduct.bicep`) | Yes (what-if) | Yes | To add a production environment, add a `production` entry to the plan job of both workflows, add `.azure/variables/workload-digitalproduct-standalone-prod.bicepparam`, and require reviewers on the `production` GitHub environment. --- diff --git a/Reset-EfDatabase.ps1 b/Reset-EfDatabase.ps1 index 4dda5a6..0d927f7 100644 --- a/Reset-EfDatabase.ps1 +++ b/Reset-EfDatabase.ps1 @@ -18,7 +18,7 @@ Notes: param ( [Parameter(Mandatory = $false)] [array]$Products = @( - @{ Name = "AgentFramework"; Root = ".\src"; Database = "AgentFramework"; ApiProject = "Presentation.Api" } + @{ Name = "AgentStart"; Root = ".\src"; Database = "AgentStart"; ApiProject = "Presentation.Api" } ), [switch]$DropDatabase, [switch]$DropTables, diff --git a/Reset-EfNswag.ps1 b/Reset-EfNswag.ps1 index 7268f1e..2be1664 100644 --- a/Reset-EfNswag.ps1 +++ b/Reset-EfNswag.ps1 @@ -22,7 +22,7 @@ Example usage: param ( [Parameter(Mandatory = $false)] [array]$Products = @( - @{ Name = "AgentFramework"; Root = ".\src"; Database = "AgentFramework"; ApiProject = "Presentation.Api" } + @{ Name = "AgentStart"; Root = ".\src"; Database = "AgentStart"; ApiProject = "Presentation.Api" } ), [switch]$SkipResetMigrations, [switch]$DropDatabase, diff --git a/Update-Branding.Tests.ps1 b/Update-Branding.Tests.ps1 index ab2ee22..2ee6f11 100644 --- a/Update-Branding.Tests.ps1 +++ b/Update-Branding.Tests.ps1 @@ -5,31 +5,37 @@ BeforeAll { function New-Fixture { $root = Join-Path ([System.IO.Path]::GetTempPath()) ("brand-" + [guid]::NewGuid()) New-Item -ItemType Directory -Path "$root\src\App", "$root\.github\workflows", "$root\src\Infrastructure.AgentFramework", "$root\.github\scripts\setup", "$root\.github\scripts\cd", "$root\.azure\scripts", "$root\.azure\variables", "$root\.azuredevops\pipelines", "$root\src\Presentation.Api", "$root\src\Presentation.Web" -Force | Out-Null - Set-Content "$root\Goodtocode.AgentFramework.Web.slnx" '' - Set-Content "$root\.github\workflows\agentframework-iac.yml" 'PRODUCT: "agentframework"' - Set-Content "$root\.azure\variables\development.bicepparam" "var productIac = 'agentframework'" - Set-Content "$root\.azuredevops\pipelines\gtc-agentframework-app.yml" 'group: gtc-agentframework-dev' + Set-Content "$root\Goodtocode.AgentStart.Web.slnx" '' + Set-Content "$root\.github\workflows\agentstart-iac.yml" 'PRODUCT: "agentstart"' + Set-Content "$root\.azure\variables\development.bicepparam" "var productIac = 'agentstart'" + Set-Content "$root\.azuredevops\pipelines\gtc-agentstart-app.yml" 'group: gtc-agentstart-dev' $entryPoint = Get-Content "$PSScriptRoot\Initialize-Installation.ps1" -Raw $entryPoint = $entryPoint -replace '\$CompanyName = ''[^'']+''', '$CompanyName = ''Goodtocode''' - $entryPoint = $entryPoint -replace '\$ProductName = ''[^'']+''', '$ProductName = ''AgentFramework''' + $entryPoint = $entryPoint -replace '\$ProductName = ''[^'']+''', '$ProductName = ''AgentStart''' Set-Content "$root\Initialize-Installation.ps1" $entryPoint Copy-Item "$PSScriptRoot\.github\scripts\setup\Initialize-Product.ps1" "$root\.github\scripts\setup" foreach ($file in @('src\Presentation.Api\Presentation.Api.csproj', 'src\Presentation.Web\Presentation.Web.csproj', '.azure\scripts\New-EntraDotnetSolution.ps1', '.github\scripts\cd\New-Github-Azure-Federation.ps1')) { Set-Content (Join-Path $root $file) 'synthetic setup fixture' } - Set-Content "$root\src\App\IAgentFrameworkContext.cs" 'namespace Goodtocode.AgentFramework.App; interface IAgentFrameworkContext {}' - Set-Content "$root\src\App\AgentFrameworkContextModelSnapshot.cs" 'class AgentFrameworkContextModelSnapshot {}' - Set-Content "$root\src\App\20260101000000_InitialCreate-AgentFrameworkContext.Designer.cs" '[DbContext(typeof(AgentFrameworkContext))]' - Set-Content "$root\Reset-EfDatabase.ps1" '$Products = @{ Name = "AgentFramework"; Database = "AgentFramework" }' + Copy-Item "$PSScriptRoot\src\Presentation.Api\ConfigureServices.cs" "$root\src\Presentation.Api" + Copy-Item "$PSScriptRoot\src\Presentation.Api\Generate-NswagClientCode.json" "$root\src\Presentation.Api" + New-Item -ItemType Directory -Path "$root\src\Presentation.Api\swagger\v1" -Force | Out-Null + Set-Content "$root\src\Presentation.Api\swagger\v1\swagger.json" '{"openapi":"3.0.1","info":{"title":"AgentStart API (Development)","version":"1.0","contact":{"name":"GoodToCode"}},"paths":{}}' + Set-Content "$root\src\App\IApplicationDbContext.cs" 'namespace Goodtocode.AgentStart.App; interface IApplicationDbContext {}' + Set-Content "$root\src\App\ApplicationDbContext.cs" 'namespace Goodtocode.AgentStart.App; class ApplicationDbContext : IApplicationDbContext {}' + Set-Content "$root\src\App\ApplicationDbContextModelSnapshot.cs" 'class ApplicationDbContextModelSnapshot {}' + Set-Content "$root\src\App\20260101000000_InitialCreate-ApplicationDbContext.Designer.cs" '[DbContext(typeof(ApplicationDbContext))]' + Set-Content "$root\Reset-EfDatabase.ps1" '$Products = @{ Name = "AgentStart"; Database = "AgentStart" }' Set-Content "$root\src\Infrastructure.AgentFramework\Infrastructure.AgentFramework.csproj" @' -Goodtocode.AgentFramework.Infrastructure.AgentFramework +Goodtocode.AgentStart.Infrastructure.AgentFramework '@ - Set-Content "$root\src\App\Database.json" '{"Connection":"Initial Catalog=AgentFramework","Context":"AgentFrameworkContext"}' + Set-Content "$root\src\App\Database.json" '{"Connection":"Initial Catalog=AgentStart","Context":"ApplicationDbContext"}' + Set-Content "$root\src\App\Framework.json" '{"Package":"Microsoft.AgentFramework","Repository":"https://github.com/microsoft/agentframework"}' Set-Content "$root\src\App\App.csproj" @' -Goodtocode.AgentFramework.App +Goodtocode.AgentStart.App bf5b92ab-f3fe-4af6-b299-583240397247 @@ -37,7 +43,7 @@ BeforeAll { '@ Set-Content "$root\src\App\Page.razor" 'Quick-start for Microsoft Agent Framework

GoodToCode | developers@goodtocode.com

' - Set-Content "$root\src\App\Auth.cs" 'var s = "access_as_user"; // Goodtocode.AgentFramework.App' + Set-Content "$root\src\App\Auth.cs" 'var s = "access_as_user"; // Goodtocode.AgentStart.App' return $root } } @@ -49,7 +55,7 @@ Describe 'Update-Branding Values' { It 'is a dry run by default' { & $Script -Path $Root -NewCompany Contoso -NewProduct 'Contoso Assist' -Namespace Contoso.Assist | Out-Null Get-Content "$Root\src\App\Page.razor" -Raw | Should -Match 'GoodToCode' - Test-Path "$Root\Goodtocode.AgentFramework.Web.slnx" | Should -BeTrue + Test-Path "$Root\Goodtocode.AgentStart.Web.slnx" | Should -BeTrue } It 'rebrands content and renames files while preserving dependencies and contracts' { @@ -64,10 +70,12 @@ Describe 'Update-Branding Values' { $csproj | Should -Not -Match 'bf5b92ab-f3fe-4af6-b299-583240397247' Get-Content "$Root\src\App\Page.razor" -Raw | Should -Match 'Contoso Assist.*Contoso \| developers@contoso\.com' Get-Content "$Root\src\App\Auth.cs" -Raw | Should -Match 'access_as_user' - Test-Path "$Root\src\App\IAssistContext.cs" | Should -BeTrue - Test-Path "$Root\src\App\AssistContextModelSnapshot.cs" | Should -BeTrue - Test-Path "$Root\src\App\20260101000000_InitialCreate-AssistContext.Designer.cs" | Should -BeTrue - Get-Content "$Root\src\App\Database.json" -Raw | Should -Match 'Initial Catalog=Assist.*AssistContext' + Test-Path "$Root\src\App\IApplicationDbContext.cs" | Should -BeTrue + Test-Path "$Root\src\App\ApplicationDbContext.cs" | Should -BeTrue + Test-Path "$Root\src\App\ApplicationDbContextModelSnapshot.cs" | Should -BeTrue + Test-Path "$Root\src\App\20260101000000_InitialCreate-ApplicationDbContext.Designer.cs" | Should -BeTrue + Get-Content "$Root\src\App\ApplicationDbContext.cs" -Raw | Should -Match 'namespace Contoso.Assist.App; class ApplicationDbContext : IApplicationDbContext' + Get-Content "$Root\src\App\Database.json" -Raw | Should -Match 'Initial Catalog=Assist.*ApplicationDbContext' Get-Content "$Root\Reset-EfDatabase.ps1" -Raw | Should -Match 'Name = "Assist"; Database = "Assist"' Get-Content "$Root\.github\workflows\assist-iac.yml" -Raw | Should -Match 'PRODUCT: "assist"' Get-Content "$Root\.azure\variables\development.bicepparam" -Raw | Should -Match "productIac = 'assist'" @@ -76,14 +84,29 @@ Describe 'Update-Branding Values' { $infrastructure | Should -Match 'Include="Microsoft.AgentFramework"' $infrastructure | Should -Match 'Include="Microsoft.Agents.AI"' Test-Path "$Root\src\Infrastructure.Assist" | Should -BeFalse + $framework = Get-Content "$Root\src\App\Framework.json" -Raw | ConvertFrom-Json + $framework.Package | Should -Be 'Microsoft.AgentFramework' + $framework.Repository | Should -Be 'https://github.com/microsoft/agentframework' Get-Content "$Root\.azuredevops\pipelines\contoso-assist-app.yml" -Raw | Should -Match 'group: contoso-assist-dev' } + It 'rebrands Swagger metadata and NSwag namespaces without changing the client class' { + & $Script -Path $Root -NewCompany Contoso -NewProduct Assist -Apply -Force | Out-Null + $LASTEXITCODE | Should -Be 0 + Get-Content "$Root\src\Presentation.Api\ConfigureServices.cs" -Raw | Should -Match 'Title = \$"Assist API' + $swagger = Get-Content "$Root\src\Presentation.Api\swagger\v1\swagger.json" -Raw | ConvertFrom-Json + $swagger.info.title | Should -Match '^Assist API' + $swagger.info.contact.name | Should -Be 'Contoso' + $nswag = Get-Content "$Root\src\Presentation.Api\Generate-NswagClientCode.json" -Raw | ConvertFrom-Json + $nswag.codeGenerators.openApiToCSharpClient.namespace | Should -Be 'Contoso.Assist.Api.Clients' + $nswag.codeGenerators.openApiToCSharpClient.className | Should -Be 'BackendApiClient' + } + It 'requires both brand values before writing anything' { { & $Script -Path $Root -Apply -Force } | Should -Throw '*NewCompany is required*' { & $Script -Path $Root -NewCompany Contoso -Apply -Force } | Should -Throw '*NewProduct is required*' { & $Script -Path $Root -NewCompany Contoso -NewProduct ' ' -Apply -Force } | Should -Throw '*NewProduct is required*' - Test-Path "$Root\Goodtocode.AgentFramework.Web.slnx" | Should -BeTrue + Test-Path "$Root\Goodtocode.AgentStart.Web.slnx" | Should -BeTrue } It 'derives the namespace from two brand parameters and persists setup defaults' { @@ -118,7 +141,7 @@ Describe 'Update-Branding Values' { It 'rejects invalid inferred identifiers before writing' { { & $Script -Path $Root -NewCompany Contoso -NewProduct 'Contoso Assist' -Apply -Force } | Should -Throw '*dotted .NET identifier*' - Test-Path "$Root\Goodtocode.AgentFramework.Web.slnx" | Should -BeTrue + Test-Path "$Root\Goodtocode.AgentStart.Web.slnx" | Should -BeTrue } It 'keeps UserSecretsId values with -KeepUserSecretsIds' { @@ -136,7 +159,7 @@ Describe 'Update-Branding token targets' { $LASTEXITCODE | Should -Be 0 Get-Content "$Root\src\App\Page.razor" -Raw | Should -Match '__PRODUCT_NAME__.*__COMPANY_NAME__' $csproj = Get-Content "$Root\src\App\App.csproj" -Raw - $csproj | Should -Match 'Goodtocode\.AgentFramework\.App' + $csproj | Should -Match 'Goodtocode\.AgentStart\.App' $csproj | Should -Match '__USER_SECRETS_ID_API__' } diff --git a/Update-Branding.ps1 b/Update-Branding.ps1 index 745bab4..c21e3c6 100644 --- a/Update-Branding.ps1 +++ b/Update-Branding.ps1 @@ -220,13 +220,12 @@ if ($isValues) { } | Sort-Object { $_.FullName.Length } -Descending foreach ($item in $items) { - $newName = Protect-Text $item.Name + $newName = $item.Name foreach ($r in $map.renames) { $to = $r.value foreach ($key in $values.Keys) { $to = $to.Replace("{$key}", $values[$key]) } $newName = $newName.Replace($r.find, $to) } - $newName = Restore-Text $newName if ($newName -ne $item.Name) { $renames.Add([pscustomobject]@{ From = $item.FullName.Substring($rootLen); To = $newName }) if ($Apply) { Rename-Item -LiteralPath $item.FullName -NewName $newName } diff --git a/Update-NSwag.ps1 b/Update-NSwag.ps1 index 2b529b1..90a321d 100644 --- a/Update-NSwag.ps1 +++ b/Update-NSwag.ps1 @@ -13,7 +13,7 @@ Example usage: param ( [Parameter(Mandatory = $false)] [array]$Products = @( - @{ Name = "AgentFramework"; Root = ".\src"; Database = "AgentFramework"; ApiProject = "Presentation.Api" } + @{ Name = "AgentStart"; Root = ".\src"; Database = "AgentStart"; ApiProject = "Presentation.Api" } ) ) diff --git a/branding.map.json b/branding.map.json index 1a2543d..376c839 100644 --- a/branding.map.json +++ b/branding.map.json @@ -33,13 +33,13 @@ { "id": "company-domain", "find": "(?" --project # (Api and Tests.Integration) only when you need to override the appsettings values. # Create or update SQL schema -dotnet ef database update --project .\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj --startup-project .\src\Presentation.Api\Presentation.Api.csproj --context AgentFrameworkContext --connection "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=AgentFramework;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30" +dotnet ef database update --project .\src\Infrastructure.SqlServer\Infrastructure.SqlServer.csproj --startup-project .\src\Presentation.Api\Presentation.Api.csproj --context ApplicationDbContext --connection "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=AgentStart;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30" ``` For detailed alternatives and troubleshooting, see the Authentication section below. diff --git a/src/Core.Application/Abstractions/ChatRoutingMode.cs b/src/Core.Application/Abstractions/ChatRoutingMode.cs index e390f6b..6066bf2 100644 --- a/src/Core.Application/Abstractions/ChatRoutingMode.cs +++ b/src/Core.Application/Abstractions/ChatRoutingMode.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; /// /// Selects how a chat reply is resolved. diff --git a/src/Core.Application/Abstractions/IActorResponse.cs b/src/Core.Application/Abstractions/IActorResponse.cs index d037602..05a0458 100644 --- a/src/Core.Application/Abstractions/IActorResponse.cs +++ b/src/Core.Application/Abstractions/IActorResponse.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; public interface IActorResponse { diff --git a/src/Core.Application/Abstractions/IActorsTool.cs b/src/Core.Application/Abstractions/IActorsTool.cs index 83b2eee..2196095 100644 --- a/src/Core.Application/Abstractions/IActorsTool.cs +++ b/src/Core.Application/Abstractions/IActorsTool.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; public interface IActorsTool { diff --git a/src/Core.Application/Abstractions/IAgentFrameworkContext.cs b/src/Core.Application/Abstractions/IApplicationDbContext.cs similarity index 66% rename from src/Core.Application/Abstractions/IAgentFrameworkContext.cs rename to src/Core.Application/Abstractions/IApplicationDbContext.cs index fc67ec9..1b378d5 100644 --- a/src/Core.Application/Abstractions/IAgentFrameworkContext.cs +++ b/src/Core.Application/Abstractions/IApplicationDbContext.cs @@ -1,13 +1,13 @@ -using Goodtocode.AgentFramework.Core.Domain.Actors; -using Goodtocode.AgentFramework.Core.Domain.Chats; -using Goodtocode.AgentFramework.Core.Domain.Common; -using Goodtocode.AgentFramework.Core.Domain.Governance; -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Domain.Common; +using Goodtocode.AgentStart.Core.Domain.Governance; +using Goodtocode.AgentStart.Core.Domain.Playbooks; using Microsoft.EntityFrameworkCore.Metadata; -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; -public interface IAgentFrameworkContext +public interface IApplicationDbContext { DbSet ChatMessages { get; } DbSet ChatSessions { get; } diff --git a/src/Core.Application/Abstractions/IChatMessageRouter.cs b/src/Core.Application/Abstractions/IChatMessageRouter.cs index 5002ceb..8bb1c14 100644 --- a/src/Core.Application/Abstractions/IChatMessageRouter.cs +++ b/src/Core.Application/Abstractions/IChatMessageRouter.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; /// /// Resolves an assistant reply while keeping chat presentation, intent routing, and AI integration diff --git a/src/Core.Application/Abstractions/IMyChatMessagesTool.cs b/src/Core.Application/Abstractions/IMyChatMessagesTool.cs index b2224a5..4d2ae7b 100644 --- a/src/Core.Application/Abstractions/IMyChatMessagesTool.cs +++ b/src/Core.Application/Abstractions/IMyChatMessagesTool.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; public interface IMyChatMessagesTool { diff --git a/src/Core.Application/Abstractions/IMyChatSessionsTool.cs b/src/Core.Application/Abstractions/IMyChatSessionsTool.cs index b4d133b..af36608 100644 --- a/src/Core.Application/Abstractions/IMyChatSessionsTool.cs +++ b/src/Core.Application/Abstractions/IMyChatSessionsTool.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; public interface IMyChatSessionsTool { diff --git a/src/Core.Application/Abstractions/IWebSearchProvider.cs b/src/Core.Application/Abstractions/IWebSearchProvider.cs index 4659b0e..b683e45 100644 --- a/src/Core.Application/Abstractions/IWebSearchProvider.cs +++ b/src/Core.Application/Abstractions/IWebSearchProvider.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; public interface IWebSearchProvider { diff --git a/src/Core.Application/Abstractions/WebSearchItem.cs b/src/Core.Application/Abstractions/WebSearchItem.cs index 79b2cf3..3c1c32c 100644 --- a/src/Core.Application/Abstractions/WebSearchItem.cs +++ b/src/Core.Application/Abstractions/WebSearchItem.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; public sealed class WebSearchItem { diff --git a/src/Core.Application/Abstractions/WebSearchResult.cs b/src/Core.Application/Abstractions/WebSearchResult.cs index 37fdbcb..7c66e2f 100644 --- a/src/Core.Application/Abstractions/WebSearchResult.cs +++ b/src/Core.Application/Abstractions/WebSearchResult.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Abstractions; +namespace Goodtocode.AgentStart.Core.Application.Abstractions; public sealed class WebSearchResult { diff --git a/src/Core.Application/Actors/ActorDto.cs b/src/Core.Application/Actors/ActorDto.cs index 744a02c..fe58202 100644 --- a/src/Core.Application/Actors/ActorDto.cs +++ b/src/Core.Application/Actors/ActorDto.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class ActorDto { diff --git a/src/Core.Application/Actors/ActorGuard.cs b/src/Core.Application/Actors/ActorGuard.cs index dbcde28..072384e 100644 --- a/src/Core.Application/Actors/ActorGuard.cs +++ b/src/Core.Application/Actors/ActorGuard.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public static class ActorGuard { diff --git a/src/Core.Application/Actors/CreateOurActorCommand.cs b/src/Core.Application/Actors/CreateOurActorCommand.cs index f7524f5..255bfc2 100644 --- a/src/Core.Application/Actors/CreateOurActorCommand.cs +++ b/src/Core.Application/Actors/CreateOurActorCommand.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class CreateOurActorCommand : UserScopedRequest, IRequest { @@ -9,9 +9,9 @@ public class CreateOurActorCommand : UserScopedRequest, IRequest public string? Email { get; set; } } -public class CreateOurActorCommandHandler(IAgentFrameworkContext context) : IRequestHandler +public class CreateOurActorCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(CreateOurActorCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/CreateOurActorCommandValidator.cs b/src/Core.Application/Actors/CreateOurActorCommandValidator.cs index 955f4c7..550966e 100644 --- a/src/Core.Application/Actors/CreateOurActorCommandValidator.cs +++ b/src/Core.Application/Actors/CreateOurActorCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class CreateOurActorCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommand.cs b/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommand.cs index f58292c..3df14ef 100644 --- a/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommand.cs +++ b/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommand.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class DeleteActorByOwnerIdCommand : UserScopedRequest, IRequest { @@ -6,9 +6,9 @@ public class DeleteActorByOwnerIdCommand : UserScopedRequest, IRequest +public class DeleteActorByOwnerIdCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(DeleteActorByOwnerIdCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommandValidator.cs b/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommandValidator.cs index fbebddd..323f42f 100644 --- a/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommandValidator.cs +++ b/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class DeleteOurActorByOwnerIdCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Actors/DeleteOurActorCommand.cs b/src/Core.Application/Actors/DeleteOurActorCommand.cs index 3d2965c..0b91dac 100644 --- a/src/Core.Application/Actors/DeleteOurActorCommand.cs +++ b/src/Core.Application/Actors/DeleteOurActorCommand.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class DeleteOurActorCommand : UserScopedRequest, IRequest { @@ -6,9 +6,9 @@ public class DeleteOurActorCommand : UserScopedRequest, IRequest } -public class DeleteActorCommandHandler(IAgentFrameworkContext context) : IRequestHandler +public class DeleteActorCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(DeleteOurActorCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/DeleteOurActorCommandValidator.cs b/src/Core.Application/Actors/DeleteOurActorCommandValidator.cs index d10b613..bc1ab49 100644 --- a/src/Core.Application/Actors/DeleteOurActorCommandValidator.cs +++ b/src/Core.Application/Actors/DeleteOurActorCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class DeleteOurActorCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Actors/GetMyActorQuery.cs b/src/Core.Application/Actors/GetMyActorQuery.cs index b6d95d7..29057d6 100644 --- a/src/Core.Application/Actors/GetMyActorQuery.cs +++ b/src/Core.Application/Actors/GetMyActorQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetMyActorQuery : UserScopedRequest, IRequest { @@ -6,9 +6,9 @@ public class GetMyActorQuery : UserScopedRequest, IRequest } -public class GetActorByOwnerIdQueryHandler(IAgentFrameworkContext context) : IRequestHandler +public class GetActorByOwnerIdQueryHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(GetMyActorQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/GetMyActorQueryValidator.cs b/src/Core.Application/Actors/GetMyActorQueryValidator.cs index 093d8cf..2c14421 100644 --- a/src/Core.Application/Actors/GetMyActorQueryValidator.cs +++ b/src/Core.Application/Actors/GetMyActorQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetMyActorQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actors/GetMyActorsQuery.cs b/src/Core.Application/Actors/GetMyActorsQuery.cs index fc96343..62ca894 100644 --- a/src/Core.Application/Actors/GetMyActorsQuery.cs +++ b/src/Core.Application/Actors/GetMyActorsQuery.cs @@ -1,12 +1,12 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetMyActorsQuery : UserScopedRequest, IRequest> { } -public class GetMyActorsQueryHandler(IAgentFrameworkContext context) : IRequestHandler> +public class GetMyActorsQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetMyActorsQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/GetOurActorChatSessionQuery.cs b/src/Core.Application/Actors/GetOurActorChatSessionQuery.cs index 59dbb69..5086346 100644 --- a/src/Core.Application/Actors/GetOurActorChatSessionQuery.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionQuery.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorChatSessionQuery : UserScopedRequest, IRequest { @@ -9,9 +9,9 @@ public class GetOurActorChatSessionQuery : UserScopedRequest, IRequest +public class GetOurActorChatSessionQueryHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(GetOurActorChatSessionQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/GetOurActorChatSessionQueryValidator.cs b/src/Core.Application/Actors/GetOurActorChatSessionQueryValidator.cs index edff521..1ffd575 100644 --- a/src/Core.Application/Actors/GetOurActorChatSessionQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorChatSessionQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQuery.cs b/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQuery.cs index f57e5e0..236dd48 100644 --- a/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQuery.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQuery.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorChatSessionsPaginatedQuery : UserScopedRequest, IRequest> { @@ -12,9 +12,9 @@ public class GetOurActorChatSessionsPaginatedQuery : UserScopedRequest, IRequest } -public class GetOurActorChatSessionsPaginatedQueryHandler(IAgentFrameworkContext context) : IRequestHandler> +public class GetOurActorChatSessionsPaginatedQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetOurActorChatSessionsPaginatedQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQueryValidator.cs b/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQueryValidator.cs index dc76c6a..f35a462 100644 --- a/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorChatSessionsPaginatedQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actors/GetOurActorChatSessionsQuery.cs b/src/Core.Application/Actors/GetOurActorChatSessionsQuery.cs index 83f6937..8218e66 100644 --- a/src/Core.Application/Actors/GetOurActorChatSessionsQuery.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionsQuery.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorChatSessionsQuery : UserScopedRequest, IRequest> { @@ -10,9 +10,9 @@ public class GetOurActorChatSessionsQuery : UserScopedRequest, IRequest> +public class GetOurActorChatSessionsQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetOurActorChatSessionsQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/GetOurActorChatSessionsQueryValidator.cs b/src/Core.Application/Actors/GetOurActorChatSessionsQueryValidator.cs index eb386bc..77585dc 100644 --- a/src/Core.Application/Actors/GetOurActorChatSessionsQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionsQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorChatSessionsQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actors/GetOurActorQuery.cs b/src/Core.Application/Actors/GetOurActorQuery.cs index 6f9a5f4..525ee36 100644 --- a/src/Core.Application/Actors/GetOurActorQuery.cs +++ b/src/Core.Application/Actors/GetOurActorQuery.cs @@ -1,13 +1,13 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorQuery : UserScopedRequest, IRequest { public Guid ActorId { get; set; } } -public class GetActorQueryHandler(IAgentFrameworkContext context) : IRequestHandler +public class GetActorQueryHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(GetOurActorQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/GetOurActorQueryValidator.cs b/src/Core.Application/Actors/GetOurActorQueryValidator.cs index aee4094..6f1aeb8 100644 --- a/src/Core.Application/Actors/GetOurActorQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actors/GetOurActorsByNameQuery.cs b/src/Core.Application/Actors/GetOurActorsByNameQuery.cs index 1e030b0..9f9ab42 100644 --- a/src/Core.Application/Actors/GetOurActorsByNameQuery.cs +++ b/src/Core.Application/Actors/GetOurActorsByNameQuery.cs @@ -1,13 +1,13 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorsByNameQuery : UserScopedRequest, IRequest> { public string Name { get; set; } = string.Empty; } -public class GetOurActorsByNameQueryHandler(IAgentFrameworkContext context) : IRequestHandler> +public class GetOurActorsByNameQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetOurActorsByNameQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/GetOurActorsByNameQueryValidator.cs b/src/Core.Application/Actors/GetOurActorsByNameQueryValidator.cs index 7f13383..055bf54 100644 --- a/src/Core.Application/Actors/GetOurActorsByNameQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorsByNameQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorsByNameQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actors/GetOurActorsQuery.cs b/src/Core.Application/Actors/GetOurActorsQuery.cs index de52525..1a51c53 100644 --- a/src/Core.Application/Actors/GetOurActorsQuery.cs +++ b/src/Core.Application/Actors/GetOurActorsQuery.cs @@ -1,12 +1,12 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class GetOurActorsQuery : UserScopedRequest, IRequest> { } -public class GetOurActorsQueryHandler(IAgentFrameworkContext context) : IRequestHandler> +public class GetOurActorsQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetOurActorsQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/SaveMyActorCommand.cs b/src/Core.Application/Actors/SaveMyActorCommand.cs index e36c28d..5daa1e8 100644 --- a/src/Core.Application/Actors/SaveMyActorCommand.cs +++ b/src/Core.Application/Actors/SaveMyActorCommand.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class SaveMyActorCommand : UserScopedRequest, IRequest { @@ -10,9 +10,9 @@ public class SaveMyActorCommand : UserScopedRequest, IRequest } -public class SaveMyActorCommandHandler(IAgentFrameworkContext context) : IRequestHandler +public class SaveMyActorCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(SaveMyActorCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Actors/SaveMyActorCommandValidator.cs b/src/Core.Application/Actors/SaveMyActorCommandValidator.cs index f207656..8c9d2dd 100644 --- a/src/Core.Application/Actors/SaveMyActorCommandValidator.cs +++ b/src/Core.Application/Actors/SaveMyActorCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actors; +namespace Goodtocode.AgentStart.Core.Application.Actors; public class SaveMyActorCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/ChatGuard.cs b/src/Core.Application/Chats/ChatGuard.cs index 5f1e0fc..1b73311 100644 --- a/src/Core.Application/Chats/ChatGuard.cs +++ b/src/Core.Application/Chats/ChatGuard.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public static class ChatGuard { diff --git a/src/Core.Application/Chats/ChatMessageDto.cs b/src/Core.Application/Chats/ChatMessageDto.cs index ae8f824..dd266c1 100644 --- a/src/Core.Application/Chats/ChatMessageDto.cs +++ b/src/Core.Application/Chats/ChatMessageDto.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class ChatMessageDto { diff --git a/src/Core.Application/Chats/ChatSessionDto.cs b/src/Core.Application/Chats/ChatSessionDto.cs index 81ac784..1cc49e6 100644 --- a/src/Core.Application/Chats/ChatSessionDto.cs +++ b/src/Core.Application/Chats/ChatSessionDto.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class ChatSessionDto { diff --git a/src/Core.Application/Chats/CreateMyChatMessageCommand.cs b/src/Core.Application/Chats/CreateMyChatMessageCommand.cs index 5cce9ef..69c88b0 100644 --- a/src/Core.Application/Chats/CreateMyChatMessageCommand.cs +++ b/src/Core.Application/Chats/CreateMyChatMessageCommand.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Common.Idempotency; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Common.Idempotency; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class CreateMyChatMessageCommand : IdempotentUserScopedRequest, IRequest>, IIdempotencyRequestMetadata { @@ -20,11 +20,11 @@ public string BuildRequestHash() } public class CreateChatMessageCommandHandler( - IAgentFrameworkContext context, + IApplicationDbContext context, IChatMessageRouter routingService, IIdempotencyDuplicateWindowPolicy duplicateWindowPolicy) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; private readonly IChatMessageRouter _routingService = routingService; private readonly IIdempotencyDuplicateWindowPolicy _duplicateWindowPolicy = duplicateWindowPolicy; diff --git a/src/Core.Application/Chats/CreateMyChatMessageCommandValidator.cs b/src/Core.Application/Chats/CreateMyChatMessageCommandValidator.cs index 5bb8a9b..2c2b76b 100644 --- a/src/Core.Application/Chats/CreateMyChatMessageCommandValidator.cs +++ b/src/Core.Application/Chats/CreateMyChatMessageCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class CreateMyChatMessageCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/CreateMyChatSessionCommand.cs b/src/Core.Application/Chats/CreateMyChatSessionCommand.cs index f60873d..415fdfa 100644 --- a/src/Core.Application/Chats/CreateMyChatSessionCommand.cs +++ b/src/Core.Application/Chats/CreateMyChatSessionCommand.cs @@ -1,9 +1,9 @@ using System.Globalization; -using Goodtocode.AgentFramework.Core.Application.Common.Idempotency; -using Goodtocode.AgentFramework.Core.Domain.Actors; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Common.Idempotency; +using Goodtocode.AgentStart.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class CreateMyChatSessionCommand : IdempotentUserScopedRequest, IRequest, IIdempotencyRequestMetadata { @@ -25,11 +25,11 @@ public string BuildRequestHash() } public class CreateMyChatSessionCommandHandler( - IAgentFrameworkContext context, + IApplicationDbContext context, ISender sender, IIdempotencyDuplicateWindowPolicy duplicateWindowPolicy) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; private readonly ISender _sender = sender; private readonly IIdempotencyDuplicateWindowPolicy _duplicateWindowPolicy = duplicateWindowPolicy; diff --git a/src/Core.Application/Chats/CreateMyChatSessionCommandValidator.cs b/src/Core.Application/Chats/CreateMyChatSessionCommandValidator.cs index d220a90..e7148f7 100644 --- a/src/Core.Application/Chats/CreateMyChatSessionCommandValidator.cs +++ b/src/Core.Application/Chats/CreateMyChatSessionCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class CreateMyChatSessionCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/DeleteMyChatSessionCommand.cs b/src/Core.Application/Chats/DeleteMyChatSessionCommand.cs index 7967db5..d630b30 100644 --- a/src/Core.Application/Chats/DeleteMyChatSessionCommand.cs +++ b/src/Core.Application/Chats/DeleteMyChatSessionCommand.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class DeleteMyChatSessionCommand : UserScopedRequest, IRequest { @@ -6,9 +6,9 @@ public class DeleteMyChatSessionCommand : UserScopedRequest, IRequest +public class DeleteMyChatSessionCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(DeleteMyChatSessionCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Chats/DeleteMyChatSessionCommandValidator.cs b/src/Core.Application/Chats/DeleteMyChatSessionCommandValidator.cs index 4529f80..f6576ed 100644 --- a/src/Core.Application/Chats/DeleteMyChatSessionCommandValidator.cs +++ b/src/Core.Application/Chats/DeleteMyChatSessionCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class DeleteMyChatSessionCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/GetMyChatMessageQuery.cs b/src/Core.Application/Chats/GetMyChatMessageQuery.cs index ef37d71..b652fb6 100644 --- a/src/Core.Application/Chats/GetMyChatMessageQuery.cs +++ b/src/Core.Application/Chats/GetMyChatMessageQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatMessageQuery : UserScopedRequest, IRequest { @@ -6,9 +6,9 @@ public class GetMyChatMessageQuery : UserScopedRequest, IRequest +public class GetMyChatMessageQueryHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(GetMyChatMessageQuery request, CancellationToken cancellationToken) diff --git a/src/Core.Application/Chats/GetMyChatMessageQueryValidator.cs b/src/Core.Application/Chats/GetMyChatMessageQueryValidator.cs index ba69e39..851d0ed 100644 --- a/src/Core.Application/Chats/GetMyChatMessageQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatMessageQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatMessageQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/GetMyChatMessagesPaginatedQuery.cs b/src/Core.Application/Chats/GetMyChatMessagesPaginatedQuery.cs index aa55939..69e77c8 100644 --- a/src/Core.Application/Chats/GetMyChatMessagesPaginatedQuery.cs +++ b/src/Core.Application/Chats/GetMyChatMessagesPaginatedQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatMessagesPaginatedQuery : UserScopedRequest, IRequest> { @@ -9,9 +9,9 @@ public class GetMyChatMessagesPaginatedQuery : UserScopedRequest, IRequest> +public class GetMyChatMessagesPaginatedQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetMyChatMessagesPaginatedQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Chats/GetMyChatMessagesPaginatedQueryValidator.cs b/src/Core.Application/Chats/GetMyChatMessagesPaginatedQueryValidator.cs index 29923b0..5675679 100644 --- a/src/Core.Application/Chats/GetMyChatMessagesPaginatedQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatMessagesPaginatedQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatMessagesPaginatedQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/GetMyChatSessionMessagesQuery.cs b/src/Core.Application/Chats/GetMyChatSessionMessagesQuery.cs index 90caa32..e747258 100644 --- a/src/Core.Application/Chats/GetMyChatSessionMessagesQuery.cs +++ b/src/Core.Application/Chats/GetMyChatSessionMessagesQuery.cs @@ -1,13 +1,13 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatSessionMessagesQuery : UserScopedRequest, IRequest> { public Guid ChatSessionId { get; set; } } -public class GetMyChatSessionMessagesQueryHandler(IAgentFrameworkContext context) : IRequestHandler> +public class GetMyChatSessionMessagesQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetMyChatSessionMessagesQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Chats/GetMyChatSessionMessagesQueryValidator.cs b/src/Core.Application/Chats/GetMyChatSessionMessagesQueryValidator.cs index 3a4e485..4c7b96b 100644 --- a/src/Core.Application/Chats/GetMyChatSessionMessagesQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatSessionMessagesQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatSessionMessagesQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/GetMyChatSessionQuery.cs b/src/Core.Application/Chats/GetMyChatSessionQuery.cs index 76dbcfd..8b39dcd 100644 --- a/src/Core.Application/Chats/GetMyChatSessionQuery.cs +++ b/src/Core.Application/Chats/GetMyChatSessionQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatSessionQuery : UserScopedRequest, IRequest { @@ -6,9 +6,9 @@ public class GetMyChatSessionQuery : UserScopedRequest, IRequest +public class GetMyChatSessionQueryHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(GetMyChatSessionQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Chats/GetMyChatSessionQueryValidator.cs b/src/Core.Application/Chats/GetMyChatSessionQueryValidator.cs index e2ba9b2..ee0a4b9 100644 --- a/src/Core.Application/Chats/GetMyChatSessionQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatSessionQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatSessionQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/GetMyChatSessionsPaginatedQuery.cs b/src/Core.Application/Chats/GetMyChatSessionsPaginatedQuery.cs index c345b09..737d4c7 100644 --- a/src/Core.Application/Chats/GetMyChatSessionsPaginatedQuery.cs +++ b/src/Core.Application/Chats/GetMyChatSessionsPaginatedQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatSessionsPaginatedQuery : UserScopedRequest, IRequest> { @@ -9,9 +9,9 @@ public class GetMyChatSessionsPaginatedQuery : UserScopedRequest, IRequest> +public class GetMyChatSessionsPaginatedQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetMyChatSessionsPaginatedQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Chats/GetMyChatSessionsPaginatedQueryValidator.cs b/src/Core.Application/Chats/GetMyChatSessionsPaginatedQueryValidator.cs index dcae49b..8a8d3c5 100644 --- a/src/Core.Application/Chats/GetMyChatSessionsPaginatedQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatSessionsPaginatedQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatSessionsPaginatedQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/GetMyChatSessionsQuery.cs b/src/Core.Application/Chats/GetMyChatSessionsQuery.cs index 55fa0e9..7dbb369 100644 --- a/src/Core.Application/Chats/GetMyChatSessionsQuery.cs +++ b/src/Core.Application/Chats/GetMyChatSessionsQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatSessionsQuery : UserScopedRequest, IRequest> { @@ -7,9 +7,9 @@ public class GetMyChatSessionsQuery : UserScopedRequest, IRequest> +public class GetMyChatSessionsQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetMyChatSessionsQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Chats/GetMyChatSessionsQueryValidator.cs b/src/Core.Application/Chats/GetMyChatSessionsQueryValidator.cs index 82be05b..cfbce81 100644 --- a/src/Core.Application/Chats/GetMyChatSessionsQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatSessionsQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class GetMyChatSessionsQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/Journeys/ChatJourneyActionOption.cs b/src/Core.Application/Chats/Journeys/ChatJourneyActionOption.cs index d73e937..16cfd1f 100644 --- a/src/Core.Application/Chats/Journeys/ChatJourneyActionOption.cs +++ b/src/Core.Application/Chats/Journeys/ChatJourneyActionOption.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// A clickable follow-up selection presented after a journey step, parsed from the selection diff --git a/src/Core.Application/Chats/Journeys/ChatJourneyActionOptionDto.cs b/src/Core.Application/Chats/Journeys/ChatJourneyActionOptionDto.cs index 79d4894..075dd16 100644 --- a/src/Core.Application/Chats/Journeys/ChatJourneyActionOptionDto.cs +++ b/src/Core.Application/Chats/Journeys/ChatJourneyActionOptionDto.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; public class ChatJourneyActionOptionDto { diff --git a/src/Core.Application/Chats/Journeys/ChatJourneyContext.cs b/src/Core.Application/Chats/Journeys/ChatJourneyContext.cs index 8c476fc..4fb18ad 100644 --- a/src/Core.Application/Chats/Journeys/ChatJourneyContext.cs +++ b/src/Core.Application/Chats/Journeys/ChatJourneyContext.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// The accumulated selections a customer has made during a chat journey. The deepest populated diff --git a/src/Core.Application/Chats/Journeys/ChatJourneyLevel.cs b/src/Core.Application/Chats/Journeys/ChatJourneyLevel.cs index 728ff7e..c973095 100644 --- a/src/Core.Application/Chats/Journeys/ChatJourneyLevel.cs +++ b/src/Core.Application/Chats/Journeys/ChatJourneyLevel.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// The depth a customer has reached within a chat journey. A journey starts at diff --git a/src/Core.Application/Chats/Journeys/ChatJourneyStep.cs b/src/Core.Application/Chats/Journeys/ChatJourneyStep.cs index b67fa0d..96ca6f6 100644 --- a/src/Core.Application/Chats/Journeys/ChatJourneyStep.cs +++ b/src/Core.Application/Chats/Journeys/ChatJourneyStep.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// The current position in a chat journey: the resolved level, the suggested prompts that can diff --git a/src/Core.Application/Chats/Journeys/ChatJourneyStepDto.cs b/src/Core.Application/Chats/Journeys/ChatJourneyStepDto.cs index 65df579..0d10c13 100644 --- a/src/Core.Application/Chats/Journeys/ChatJourneyStepDto.cs +++ b/src/Core.Application/Chats/Journeys/ChatJourneyStepDto.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; public class ChatJourneyStepDto { diff --git a/src/Core.Application/Chats/Journeys/ChatJourneySuggestedPrompt.cs b/src/Core.Application/Chats/Journeys/ChatJourneySuggestedPrompt.cs index 54bc64b..70a9267 100644 --- a/src/Core.Application/Chats/Journeys/ChatJourneySuggestedPrompt.cs +++ b/src/Core.Application/Chats/Journeys/ChatJourneySuggestedPrompt.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// A single suggested prompt offered to the customer. A suggested prompt is submitted through the diff --git a/src/Core.Application/Chats/Journeys/ChatJourneySuggestedPromptDto.cs b/src/Core.Application/Chats/Journeys/ChatJourneySuggestedPromptDto.cs index 155f603..3f958e9 100644 --- a/src/Core.Application/Chats/Journeys/ChatJourneySuggestedPromptDto.cs +++ b/src/Core.Application/Chats/Journeys/ChatJourneySuggestedPromptDto.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; public class ChatJourneySuggestedPromptDto { diff --git a/src/Core.Application/Chats/Journeys/ChatSelectionTokenParser.cs b/src/Core.Application/Chats/Journeys/ChatSelectionTokenParser.cs index 69ed7de..9e48680 100644 --- a/src/Core.Application/Chats/Journeys/ChatSelectionTokenParser.cs +++ b/src/Core.Application/Chats/Journeys/ChatSelectionTokenParser.cs @@ -1,6 +1,6 @@ using System.Text.RegularExpressions; -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// Pure, deterministic implementation of . Has no AI or diff --git a/src/Core.Application/Chats/Journeys/GetChatJourneyStepQuery.cs b/src/Core.Application/Chats/Journeys/GetChatJourneyStepQuery.cs index ab9db41..eca3fc9 100644 --- a/src/Core.Application/Chats/Journeys/GetChatJourneyStepQuery.cs +++ b/src/Core.Application/Chats/Journeys/GetChatJourneyStepQuery.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// Resolves the customer's current position in the chat journey for a session: the suggested @@ -13,13 +13,13 @@ public class GetChatJourneyStepQuery : UserScopedRequest, IRequest { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; private readonly IChatJourneyProvider _journeyProvider = journeyProvider; private readonly IChatJourneyContextAccessor _journeyContextAccessor = journeyContextAccessor; private readonly IChatSelectionTokenParser _selectionTokenParser = selectionTokenParser; diff --git a/src/Core.Application/Chats/Journeys/GetChatJourneyStepQueryValidator.cs b/src/Core.Application/Chats/Journeys/GetChatJourneyStepQueryValidator.cs index d5b8305..42f9786 100644 --- a/src/Core.Application/Chats/Journeys/GetChatJourneyStepQueryValidator.cs +++ b/src/Core.Application/Chats/Journeys/GetChatJourneyStepQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; public class GetChatJourneyStepQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chats/Journeys/IChatJourneyContextAccessor.cs b/src/Core.Application/Chats/Journeys/IChatJourneyContextAccessor.cs index e076af6..4438152 100644 --- a/src/Core.Application/Chats/Journeys/IChatJourneyContextAccessor.cs +++ b/src/Core.Application/Chats/Journeys/IChatJourneyContextAccessor.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// Reads the accumulated journey selections for a chat session. Implemented in diff --git a/src/Core.Application/Chats/Journeys/IChatJourneyProvider.cs b/src/Core.Application/Chats/Journeys/IChatJourneyProvider.cs index 2bf73d1..a3b7bdb 100644 --- a/src/Core.Application/Chats/Journeys/IChatJourneyProvider.cs +++ b/src/Core.Application/Chats/Journeys/IChatJourneyProvider.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// Resolves the suggested prompts for a chat journey context. Implemented in diff --git a/src/Core.Application/Chats/Journeys/IChatSelectionTokenParser.cs b/src/Core.Application/Chats/Journeys/IChatSelectionTokenParser.cs index 840e600..26a403d 100644 --- a/src/Core.Application/Chats/Journeys/IChatSelectionTokenParser.cs +++ b/src/Core.Application/Chats/Journeys/IChatSelectionTokenParser.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +namespace Goodtocode.AgentStart.Core.Application.Chats.Journeys; /// /// Parses the [selection|kind|id|value|label] tokens a routed tool response emits into diff --git a/src/Core.Application/Chats/PatchMyChatSessionCommand.cs b/src/Core.Application/Chats/PatchMyChatSessionCommand.cs index 998182b..83c64d9 100644 --- a/src/Core.Application/Chats/PatchMyChatSessionCommand.cs +++ b/src/Core.Application/Chats/PatchMyChatSessionCommand.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class PatchMyChatSessionCommand : UserScopedRequest, IRequest { @@ -7,9 +7,9 @@ public class PatchMyChatSessionCommand : UserScopedRequest, IRequest +public class PatchChatSessionCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(PatchMyChatSessionCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Chats/PatchMyChatSessionCommandValidator.cs b/src/Core.Application/Chats/PatchMyChatSessionCommandValidator.cs index 97c72b2..76edf18 100644 --- a/src/Core.Application/Chats/PatchMyChatSessionCommandValidator.cs +++ b/src/Core.Application/Chats/PatchMyChatSessionCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chats; +namespace Goodtocode.AgentStart.Core.Application.Chats; public class PatchMyChatSessionCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Common/Auth/ClaimsRlsContext.cs b/src/Core.Application/Common/Auth/ClaimsRlsContext.cs index e45c47a..0c35391 100644 --- a/src/Core.Application/Common/Auth/ClaimsRlsContext.cs +++ b/src/Core.Application/Common/Auth/ClaimsRlsContext.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Auth; +namespace Goodtocode.AgentStart.Core.Application.Common.Auth; /// /// Provides the current user context by reading from HTTP authentication claims. diff --git a/src/Core.Application/Common/Auth/IClaimsReader.cs b/src/Core.Application/Common/Auth/IClaimsReader.cs index be34d59..dde89cb 100644 --- a/src/Core.Application/Common/Auth/IClaimsReader.cs +++ b/src/Core.Application/Common/Auth/IClaimsReader.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Auth; +namespace Goodtocode.AgentStart.Core.Application.Common.Auth; /// /// Infrastructure service for reading user identity claims from HTTP authentication context. diff --git a/src/Core.Application/Common/Auth/IRequiresUserContext.cs b/src/Core.Application/Common/Auth/IRequiresUserContext.cs index e9c970d..302e0f4 100644 --- a/src/Core.Application/Common/Auth/IRequiresUserContext.cs +++ b/src/Core.Application/Common/Auth/IRequiresUserContext.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Auth; +namespace Goodtocode.AgentStart.Core.Application.Common.Auth; /// /// Marker interface for requests that require user context to be injected via pipeline behavior. diff --git a/src/Core.Application/Common/Auth/IRlsContext.cs b/src/Core.Application/Common/Auth/IRlsContext.cs index 41b888f..089a9da 100644 --- a/src/Core.Application/Common/Auth/IRlsContext.cs +++ b/src/Core.Application/Common/Auth/IRlsContext.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Auth; +namespace Goodtocode.AgentStart.Core.Application.Common.Auth; public interface IRlsContext { diff --git a/src/Core.Application/Common/Auth/IUserContext.cs b/src/Core.Application/Common/Auth/IUserContext.cs index f3312f2..efdf74b 100644 --- a/src/Core.Application/Common/Auth/IUserContext.cs +++ b/src/Core.Application/Common/Auth/IUserContext.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Auth; +namespace Goodtocode.AgentStart.Core.Application.Common.Auth; /// /// Represents the authenticated user's context, including their identity, tenant association, and authorization permissions. diff --git a/src/Core.Application/Common/Auth/UserContext.cs b/src/Core.Application/Common/Auth/UserContext.cs index 1951037..14ad444 100644 --- a/src/Core.Application/Common/Auth/UserContext.cs +++ b/src/Core.Application/Common/Auth/UserContext.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Auth; +namespace Goodtocode.AgentStart.Core.Application.Common.Auth; public struct UserRoles { diff --git a/src/Core.Application/Common/Auth/UserScopedRequest.cs b/src/Core.Application/Common/Auth/UserScopedRequest.cs index 84a994f..69ddf82 100644 --- a/src/Core.Application/Common/Auth/UserScopedRequest.cs +++ b/src/Core.Application/Common/Auth/UserScopedRequest.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Auth; +namespace Goodtocode.AgentStart.Core.Application.Common.Auth; /// /// Abstract base class for requests that require a user context. diff --git a/src/Core.Application/Common/Behaviors/CustomLoggingBehavior.cs b/src/Core.Application/Common/Behaviors/CustomLoggingBehavior.cs index 05d8346..5cf426d 100644 --- a/src/Core.Application/Common/Behaviors/CustomLoggingBehavior.cs +++ b/src/Core.Application/Common/Behaviors/CustomLoggingBehavior.cs @@ -1,6 +1,6 @@ using Microsoft.Extensions.Logging; -namespace Goodtocode.AgentFramework.Core.Application.Common.Behaviors; +namespace Goodtocode.AgentStart.Core.Application.Common.Behaviors; public class CustomLoggingBehavior(ILogger logger) : IRequestPreProcessor where TRequest : notnull { diff --git a/src/Core.Application/Common/Behaviors/CustomPerformanceBehavior.cs b/src/Core.Application/Common/Behaviors/CustomPerformanceBehavior.cs index eb10e06..96dfd83 100644 --- a/src/Core.Application/Common/Behaviors/CustomPerformanceBehavior.cs +++ b/src/Core.Application/Common/Behaviors/CustomPerformanceBehavior.cs @@ -1,7 +1,7 @@ using System.Diagnostics; using Microsoft.Extensions.Logging; -namespace Goodtocode.AgentFramework.Core.Application.Common.Behaviors; +namespace Goodtocode.AgentStart.Core.Application.Common.Behaviors; public class CustomPerformanceBehavior( ILogger logger) : IPipelineBehavior where TRequest : notnull diff --git a/src/Core.Application/Common/Behaviors/CustomUnhandledExceptionBehavior.cs b/src/Core.Application/Common/Behaviors/CustomUnhandledExceptionBehavior.cs index 63cabb2..c6afad8 100644 --- a/src/Core.Application/Common/Behaviors/CustomUnhandledExceptionBehavior.cs +++ b/src/Core.Application/Common/Behaviors/CustomUnhandledExceptionBehavior.cs @@ -2,7 +2,7 @@ using System.Reflection; using Microsoft.Extensions.Logging; -namespace Goodtocode.AgentFramework.Core.Application.Common.Behaviors; +namespace Goodtocode.AgentStart.Core.Application.Common.Behaviors; public class CustomUnhandledExceptionBehavior(ILogger logger) : IPipelineBehavior where TRequest : notnull { diff --git a/src/Core.Application/Common/Behaviors/CustomValidationBehavior.cs b/src/Core.Application/Common/Behaviors/CustomValidationBehavior.cs index 2cf48fa..d7b5e1b 100644 --- a/src/Core.Application/Common/Behaviors/CustomValidationBehavior.cs +++ b/src/Core.Application/Common/Behaviors/CustomValidationBehavior.cs @@ -1,5 +1,5 @@  -namespace Goodtocode.AgentFramework.Core.Application.Common.Behaviors; +namespace Goodtocode.AgentStart.Core.Application.Common.Behaviors; public class CustomValidationBehavior(IEnumerable> validators) : IPipelineBehavior diff --git a/src/Core.Application/Common/Behaviors/IdempotencyBehavior.cs b/src/Core.Application/Common/Behaviors/IdempotencyBehavior.cs index a2d13c2..3f497ca 100644 --- a/src/Core.Application/Common/Behaviors/IdempotencyBehavior.cs +++ b/src/Core.Application/Common/Behaviors/IdempotencyBehavior.cs @@ -1,13 +1,13 @@ -using Goodtocode.AgentFramework.Core.Application.Common.Idempotency; -using Goodtocode.AgentFramework.Core.Domain.Common; +using Goodtocode.AgentStart.Core.Application.Common.Idempotency; +using Goodtocode.AgentStart.Core.Domain.Common; -namespace Goodtocode.AgentFramework.Core.Application.Common.Behaviors; +namespace Goodtocode.AgentStart.Core.Application.Common.Behaviors; -public sealed class IdempotencyBehavior(IAgentFrameworkContext context) +public sealed class IdempotencyBehavior(IApplicationDbContext context) : IPipelineBehavior where TRequest : notnull { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle( TRequest request, diff --git a/src/Core.Application/Common/CustomLoggerExtensions.cs b/src/Core.Application/Common/CustomLoggerExtensions.cs index 90aba23..c858f17 100644 --- a/src/Core.Application/Common/CustomLoggerExtensions.cs +++ b/src/Core.Application/Common/CustomLoggerExtensions.cs @@ -1,6 +1,6 @@ using Microsoft.Extensions.Logging; -namespace Goodtocode.AgentFramework.Core.Application.Common +namespace Goodtocode.AgentStart.Core.Application.Common { public static partial class CustomLoggingBehaviorExtensions { diff --git a/src/Core.Application/Common/Exceptions/CustomConflictException.cs b/src/Core.Application/Common/Exceptions/CustomConflictException.cs index 4e4fb36..418bf18 100644 --- a/src/Core.Application/Common/Exceptions/CustomConflictException.cs +++ b/src/Core.Application/Common/Exceptions/CustomConflictException.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Exceptions; +namespace Goodtocode.AgentStart.Core.Application.Common.Exceptions; public class CustomConflictException : Exception { diff --git a/src/Core.Application/Common/Exceptions/CustomForbiddenAccessException.cs b/src/Core.Application/Common/Exceptions/CustomForbiddenAccessException.cs index 3b21140..1389c9b 100644 --- a/src/Core.Application/Common/Exceptions/CustomForbiddenAccessException.cs +++ b/src/Core.Application/Common/Exceptions/CustomForbiddenAccessException.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Exceptions; +namespace Goodtocode.AgentStart.Core.Application.Common.Exceptions; public class CustomForbiddenAccessException : Exception { diff --git a/src/Core.Application/Common/Exceptions/CustomNotFoundException.cs b/src/Core.Application/Common/Exceptions/CustomNotFoundException.cs index bbb807e..9dfa3d8 100644 --- a/src/Core.Application/Common/Exceptions/CustomNotFoundException.cs +++ b/src/Core.Application/Common/Exceptions/CustomNotFoundException.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Exceptions; +namespace Goodtocode.AgentStart.Core.Application.Common.Exceptions; public class CustomNotFoundException : Exception { diff --git a/src/Core.Application/Common/Idempotency/IIdempotencyDuplicateWindowPolicy.cs b/src/Core.Application/Common/Idempotency/IIdempotencyDuplicateWindowPolicy.cs index e1ef891..eeb6908 100644 --- a/src/Core.Application/Common/Idempotency/IIdempotencyDuplicateWindowPolicy.cs +++ b/src/Core.Application/Common/Idempotency/IIdempotencyDuplicateWindowPolicy.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Idempotency; +namespace Goodtocode.AgentStart.Core.Application.Common.Idempotency; public interface IIdempotencyDuplicateWindowPolicy { diff --git a/src/Core.Application/Common/Idempotency/IIdempotencyRequestMetadata.cs b/src/Core.Application/Common/Idempotency/IIdempotencyRequestMetadata.cs index c5f33d2..b337101 100644 --- a/src/Core.Application/Common/Idempotency/IIdempotencyRequestMetadata.cs +++ b/src/Core.Application/Common/Idempotency/IIdempotencyRequestMetadata.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Idempotency; +namespace Goodtocode.AgentStart.Core.Application.Common.Idempotency; public interface IIdempotencyRequestMetadata { diff --git a/src/Core.Application/Common/Idempotency/IIdempotentRequest.cs b/src/Core.Application/Common/Idempotency/IIdempotentRequest.cs index f584963..21aa27d 100644 --- a/src/Core.Application/Common/Idempotency/IIdempotentRequest.cs +++ b/src/Core.Application/Common/Idempotency/IIdempotentRequest.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Idempotency; +namespace Goodtocode.AgentStart.Core.Application.Common.Idempotency; public interface IIdempotentRequest { diff --git a/src/Core.Application/Common/Idempotency/IdempotencyData.cs b/src/Core.Application/Common/Idempotency/IdempotencyData.cs index 070e7c7..9dfa121 100644 --- a/src/Core.Application/Common/Idempotency/IdempotencyData.cs +++ b/src/Core.Application/Common/Idempotency/IdempotencyData.cs @@ -3,7 +3,7 @@ using System.Text.Json; using System.Text.RegularExpressions; -namespace Goodtocode.AgentFramework.Core.Application.Common.Idempotency; +namespace Goodtocode.AgentStart.Core.Application.Common.Idempotency; public static partial class IdempotencyData { diff --git a/src/Core.Application/Common/Idempotency/IdempotencyDefaults.cs b/src/Core.Application/Common/Idempotency/IdempotencyDefaults.cs index 1f8b4c4..ab9fe3e 100644 --- a/src/Core.Application/Common/Idempotency/IdempotencyDefaults.cs +++ b/src/Core.Application/Common/Idempotency/IdempotencyDefaults.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Idempotency; +namespace Goodtocode.AgentStart.Core.Application.Common.Idempotency; public static class IdempotencyDefaults { diff --git a/src/Core.Application/Common/Idempotency/IdempotencyDuplicateWindowPolicy.cs b/src/Core.Application/Common/Idempotency/IdempotencyDuplicateWindowPolicy.cs index 08b2345..f2d053c 100644 --- a/src/Core.Application/Common/Idempotency/IdempotencyDuplicateWindowPolicy.cs +++ b/src/Core.Application/Common/Idempotency/IdempotencyDuplicateWindowPolicy.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Idempotency; +namespace Goodtocode.AgentStart.Core.Application.Common.Idempotency; public sealed class IdempotencyDuplicateWindowPolicy : IIdempotencyDuplicateWindowPolicy { diff --git a/src/Core.Application/Common/Idempotency/IdempotentUserScopedRequest.cs b/src/Core.Application/Common/Idempotency/IdempotentUserScopedRequest.cs index 4319fa7..7d31cb2 100644 --- a/src/Core.Application/Common/Idempotency/IdempotentUserScopedRequest.cs +++ b/src/Core.Application/Common/Idempotency/IdempotentUserScopedRequest.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Idempotency; +namespace Goodtocode.AgentStart.Core.Application.Common.Idempotency; public abstract class IdempotentUserScopedRequest : UserScopedRequest, IIdempotentRequest { diff --git a/src/Core.Application/Common/Mappings/MappingExtensions.cs b/src/Core.Application/Common/Mappings/MappingExtensions.cs index 8f0c9b9..303bf89 100644 --- a/src/Core.Application/Common/Mappings/MappingExtensions.cs +++ b/src/Core.Application/Common/Mappings/MappingExtensions.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Mappings; +namespace Goodtocode.AgentStart.Core.Application.Common.Mappings; public static class MappingExtensions { diff --git a/src/Core.Application/Common/Mappings/MappingHelpers.cs b/src/Core.Application/Common/Mappings/MappingHelpers.cs index 47d6f40..e30d6a3 100644 --- a/src/Core.Application/Common/Mappings/MappingHelpers.cs +++ b/src/Core.Application/Common/Mappings/MappingHelpers.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace Goodtocode.AgentFramework.Core.Application.Common.Mappings; +namespace Goodtocode.AgentStart.Core.Application.Common.Mappings; public static class MappingHelpers { diff --git a/src/Core.Application/Common/Models/CommandResult.cs b/src/Core.Application/Common/Models/CommandResult.cs index 390402f..39967e4 100644 --- a/src/Core.Application/Common/Models/CommandResult.cs +++ b/src/Core.Application/Common/Models/CommandResult.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Models; +namespace Goodtocode.AgentStart.Core.Application.Common.Models; public class CommandResult { diff --git a/src/Core.Application/Common/Models/PaginatedList.cs b/src/Core.Application/Common/Models/PaginatedList.cs index 7d9dd7e..a7f591e 100644 --- a/src/Core.Application/Common/Models/PaginatedList.cs +++ b/src/Core.Application/Common/Models/PaginatedList.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Models; +namespace Goodtocode.AgentStart.Core.Application.Common.Models; public class PaginatedList(IReadOnlyCollection items, int count, int pageNumber, int pageSize) : IPaginatedList { diff --git a/src/Core.Application/Common/Pagination/IPaginatedList.cs b/src/Core.Application/Common/Pagination/IPaginatedList.cs index 8b28525..513c239 100644 --- a/src/Core.Application/Common/Pagination/IPaginatedList.cs +++ b/src/Core.Application/Common/Pagination/IPaginatedList.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Pagination; +namespace Goodtocode.AgentStart.Core.Application.Common.Pagination; public interface IPaginatedList { diff --git a/src/Core.Application/Common/Validators/SecuredValidator.cs b/src/Core.Application/Common/Validators/SecuredValidator.cs index 76b5959..c807281 100644 --- a/src/Core.Application/Common/Validators/SecuredValidator.cs +++ b/src/Core.Application/Common/Validators/SecuredValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Common.Validators; +namespace Goodtocode.AgentStart.Core.Application.Common.Validators; public abstract class SecuredValidator : Validator where TCommand : IRequiresUserContext diff --git a/src/Core.Application/ConfigureServices.cs b/src/Core.Application/ConfigureServices.cs index ddb929e..9ee5562 100644 --- a/src/Core.Application/ConfigureServices.cs +++ b/src/Core.Application/ConfigureServices.cs @@ -1,16 +1,16 @@ -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; -using Goodtocode.AgentFramework.Core.Application.Common.Behaviors; -using Goodtocode.AgentFramework.Core.Application.Common.Idempotency; -using Goodtocode.AgentFramework.Core.Application.Governance; -using Goodtocode.AgentFramework.Core.Application.Playbooks; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Core.Application.Common.Behaviors; +using Goodtocode.AgentStart.Core.Application.Common.Idempotency; +using Goodtocode.AgentStart.Core.Application.Governance; +using Goodtocode.AgentStart.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; using Goodtocode.Agents.Governance.Application; using Goodtocode.Agents.Playbook.Execution; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Core.Application; +namespace Goodtocode.AgentStart.Core.Application; public static class ConfigureServices { diff --git a/src/Core.Application/Core.Application.csproj b/src/Core.Application/Core.Application.csproj index b4eee9c..d7708cf 100644 --- a/src/Core.Application/Core.Application.csproj +++ b/src/Core.Application/Core.Application.csproj @@ -1,8 +1,8 @@  - Goodtocode.AgentFramework.Core.Application - Goodtocode.AgentFramework.Core.Application + Goodtocode.AgentStart.Core.Application + Goodtocode.AgentStart.Core.Application 1.0.0 net10.0 false diff --git a/src/Core.Application/GlobalUsings.cs b/src/Core.Application/GlobalUsings.cs index 2f43d79..e2622f2 100644 --- a/src/Core.Application/GlobalUsings.cs +++ b/src/Core.Application/GlobalUsings.cs @@ -1,13 +1,13 @@ -global using Goodtocode.AgentFramework.Core.Application.Abstractions; -global using Goodtocode.AgentFramework.Core.Application.Common.Auth; -global using Goodtocode.AgentFramework.Core.Application.Common.Exceptions; -global using Goodtocode.AgentFramework.Core.Application.Common.Mappings; -global using Goodtocode.AgentFramework.Core.Application.Common.Models; -global using Goodtocode.AgentFramework.Core.Application.Common.Pagination; -global using Goodtocode.AgentFramework.Core.Application.Common.Validators; +global using Goodtocode.AgentStart.Core.Application.Abstractions; +global using Goodtocode.AgentStart.Core.Application.Common.Auth; +global using Goodtocode.AgentStart.Core.Application.Common.Exceptions; +global using Goodtocode.AgentStart.Core.Application.Common.Mappings; +global using Goodtocode.AgentStart.Core.Application.Common.Models; +global using Goodtocode.AgentStart.Core.Application.Common.Pagination; +global using Goodtocode.AgentStart.Core.Application.Common.Validators; global using Goodtocode.Mediator; global using Goodtocode.Validation; global using Microsoft.EntityFrameworkCore; -global using ICollectStepTool = Goodtocode.Agents.Playbook.Steps.ICollectStepTool; -global using IEvaluateStepTool = Goodtocode.Agents.Playbook.Steps.IEvaluateStepTool; -global using IRecordStepTool = Goodtocode.Agents.Playbook.Steps.IRecordStepTool; +global using ICollectStepTool = Goodtocode.Agents.Playbook.Steps.ICollectStepTool; +global using IEvaluateStepTool = Goodtocode.Agents.Playbook.Steps.IEvaluateStepTool; +global using IRecordStepTool = Goodtocode.Agents.Playbook.Steps.IRecordStepTool; diff --git a/src/Core.Application/Governance/ChatGovernanceGate.cs b/src/Core.Application/Governance/ChatGovernanceGate.cs index 1dd76c7..2bc8bdb 100644 --- a/src/Core.Application/Governance/ChatGovernanceGate.cs +++ b/src/Core.Application/Governance/ChatGovernanceGate.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Domain.Governance; +using Goodtocode.AgentStart.Core.Domain.Governance; using Goodtocode.Agents.Governance.Application; using Goodtocode.Agents.Governance.Domain; -namespace Goodtocode.AgentFramework.Core.Application.Governance; +namespace Goodtocode.AgentStart.Core.Application.Governance; public sealed class ChatGovernanceGate { diff --git a/src/Core.Application/Playbooks/CreatePlaybookCommand.cs b/src/Core.Application/Playbooks/CreatePlaybookCommand.cs index 3ce8e48..0b66d20 100644 --- a/src/Core.Application/Playbooks/CreatePlaybookCommand.cs +++ b/src/Core.Application/Playbooks/CreatePlaybookCommand.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Creates a new Playbook catalog entry with its three required CER steps. Playbooks are shared @@ -26,9 +26,9 @@ public sealed class PlaybookStepInput public required string ActionDefinition { get; init; } } -public class CreatePlaybookCommandHandler(IAgentFrameworkContext context) : IRequestHandler +public class CreatePlaybookCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(CreatePlaybookCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Playbooks/CreatePlaybookCommandValidator.cs b/src/Core.Application/Playbooks/CreatePlaybookCommandValidator.cs index e7f42dd..9919ca9 100644 --- a/src/Core.Application/Playbooks/CreatePlaybookCommandValidator.cs +++ b/src/Core.Application/Playbooks/CreatePlaybookCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; public class CreatePlaybookCommandValidator : Validator { diff --git a/src/Core.Application/Playbooks/DeletePlaybookCommand.cs b/src/Core.Application/Playbooks/DeletePlaybookCommand.cs index d005c58..18e6931 100644 --- a/src/Core.Application/Playbooks/DeletePlaybookCommand.cs +++ b/src/Core.Application/Playbooks/DeletePlaybookCommand.cs @@ -1,13 +1,13 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; public class DeletePlaybookCommand : IRequest { public required Guid Id { get; init; } } -public class DeletePlaybookCommandHandler(IAgentFrameworkContext context) : IRequestHandler +public class DeletePlaybookCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(DeletePlaybookCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Playbooks/DeletePlaybookCommandValidator.cs b/src/Core.Application/Playbooks/DeletePlaybookCommandValidator.cs index b9baed7..c236ae4 100644 --- a/src/Core.Application/Playbooks/DeletePlaybookCommandValidator.cs +++ b/src/Core.Application/Playbooks/DeletePlaybookCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; public class DeletePlaybookCommandValidator : Validator { diff --git a/src/Core.Application/Playbooks/DocumentReviewPlaybookDefinition.cs b/src/Core.Application/Playbooks/DocumentReviewPlaybookDefinition.cs index 3baa4a5..2000bcd 100644 --- a/src/Core.Application/Playbooks/DocumentReviewPlaybookDefinition.cs +++ b/src/Core.Application/Playbooks/DocumentReviewPlaybookDefinition.cs @@ -1,7 +1,7 @@ using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Document Review example playbook: resolves its Collect/Evaluate/Record tools per execution via diff --git a/src/Core.Application/Playbooks/DocumentReviewTypes.cs b/src/Core.Application/Playbooks/DocumentReviewTypes.cs index adbacca..cbf04dd 100644 --- a/src/Core.Application/Playbooks/DocumentReviewTypes.cs +++ b/src/Core.Application/Playbooks/DocumentReviewTypes.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Example Collect input: raw document content to review. diff --git a/src/Core.Application/Playbooks/Essay/EssayGovernanceActivityRecorder.cs b/src/Core.Application/Playbooks/Essay/EssayGovernanceActivityRecorder.cs index 340075d..c0e9d9f 100644 --- a/src/Core.Application/Playbooks/Essay/EssayGovernanceActivityRecorder.cs +++ b/src/Core.Application/Playbooks/Essay/EssayGovernanceActivityRecorder.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Common.Auth; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +using Goodtocode.AgentStart.Core.Application.Common.Auth; +using Goodtocode.AgentStart.Core.Application.Playbooks.Governance; using Goodtocode.Agents.Governance.Application; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Essay; /// /// Projects the Essay Rubric Evaluation playbook's CER outputs into governance summaries, diff --git a/src/Core.Application/Playbooks/Essay/EssayTypes.cs b/src/Core.Application/Playbooks/Essay/EssayTypes.cs index 788320a..1fd9727 100644 --- a/src/Core.Application/Playbooks/Essay/EssayTypes.cs +++ b/src/Core.Application/Playbooks/Essay/EssayTypes.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +using Goodtocode.AgentStart.Core.Application.Playbooks.Governance; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Essay; /// /// Shared, versioned evaluation criteria for the Essay Rubric Evaluation example playbook, diff --git a/src/Core.Application/Playbooks/Essay/EvaluateEssayCommand.cs b/src/Core.Application/Playbooks/Essay/EvaluateEssayCommand.cs index 8b3d011..e78d6b2 100644 --- a/src/Core.Application/Playbooks/Essay/EvaluateEssayCommand.cs +++ b/src/Core.Application/Playbooks/Essay/EvaluateEssayCommand.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Application.Common.Exceptions; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Common.Exceptions; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Essay; /// /// Framework-agnostic abstraction over running the Essay Rubric Evaluation example playbook. diff --git a/src/Core.Application/Playbooks/Essay/RunEssayPlaybookCommand.cs b/src/Core.Application/Playbooks/Essay/RunEssayPlaybookCommand.cs index 4aec7a4..5666d2f 100644 --- a/src/Core.Application/Playbooks/Essay/RunEssayPlaybookCommand.cs +++ b/src/Core.Application/Playbooks/Essay/RunEssayPlaybookCommand.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Repeatability; +using Goodtocode.AgentStart.Core.Application.Playbooks.Persistence; +using Goodtocode.AgentStart.Core.Application.Playbooks.Repeatability; using Goodtocode.Agents.Governance.Domain; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Essay; /// /// API-facing command for running the Essay Rubric Evaluation example playbook directly against diff --git a/src/Core.Application/Playbooks/GetPlaybookQuery.cs b/src/Core.Application/Playbooks/GetPlaybookQuery.cs index 5dfd99b..c474874 100644 --- a/src/Core.Application/Playbooks/GetPlaybookQuery.cs +++ b/src/Core.Application/Playbooks/GetPlaybookQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Retrieves one Playbook catalog entry, including its three CER steps, by either its Id or its @@ -10,9 +10,9 @@ public class GetPlaybookQuery : IRequest public string? Key { get; init; } } -public class GetPlaybookQueryHandler(IAgentFrameworkContext context) : IRequestHandler +public class GetPlaybookQueryHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(GetPlaybookQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Playbooks/GetPlaybooksQuery.cs b/src/Core.Application/Playbooks/GetPlaybooksQuery.cs index 7f66688..c421d22 100644 --- a/src/Core.Application/Playbooks/GetPlaybooksQuery.cs +++ b/src/Core.Application/Playbooks/GetPlaybooksQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Lists every Playbook catalog entry, including their CER steps, ordered by name. @@ -7,9 +7,9 @@ public class GetPlaybooksQuery : IRequest> { } -public class GetPlaybooksQueryHandler(IAgentFrameworkContext context) : IRequestHandler> +public class GetPlaybooksQueryHandler(IApplicationDbContext context) : IRequestHandler> { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task> Handle(GetPlaybooksQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Playbooks/Governance/IPlaybookKnowledgeHolder.cs b/src/Core.Application/Playbooks/Governance/IPlaybookKnowledgeHolder.cs index a3c7c88..1f34fb4 100644 --- a/src/Core.Application/Playbooks/Governance/IPlaybookKnowledgeHolder.cs +++ b/src/Core.Application/Playbooks/Governance/IPlaybookKnowledgeHolder.cs @@ -1,6 +1,6 @@ using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Governance; /// /// Thin, per-playbook wrapper around a shared instance. Every diff --git a/src/Core.Application/Playbooks/Governance/IPlaybookStageSummarySelector.cs b/src/Core.Application/Playbooks/Governance/IPlaybookStageSummarySelector.cs index f6334dd..276b4b5 100644 --- a/src/Core.Application/Playbooks/Governance/IPlaybookStageSummarySelector.cs +++ b/src/Core.Application/Playbooks/Governance/IPlaybookStageSummarySelector.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Governance; /// /// Projects a playbook's typed Collect/Evaluate/Record outputs into short, human-readable diff --git a/src/Core.Application/Playbooks/Governance/PlaybookMaterializationSummary.cs b/src/Core.Application/Playbooks/Governance/PlaybookMaterializationSummary.cs index c3f7cf1..e78f021 100644 --- a/src/Core.Application/Playbooks/Governance/PlaybookMaterializationSummary.cs +++ b/src/Core.Application/Playbooks/Governance/PlaybookMaterializationSummary.cs @@ -1,6 +1,6 @@ using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Governance; /// /// Marks a Record-stage materialization as carrying a human-readable string, diff --git a/src/Core.Application/Playbooks/Governance/SharedPlaybookGovernanceActivityRecorder.cs b/src/Core.Application/Playbooks/Governance/SharedPlaybookGovernanceActivityRecorder.cs index 55066a2..aff4e59 100644 --- a/src/Core.Application/Playbooks/Governance/SharedPlaybookGovernanceActivityRecorder.cs +++ b/src/Core.Application/Playbooks/Governance/SharedPlaybookGovernanceActivityRecorder.cs @@ -1,15 +1,15 @@ -using Goodtocode.AgentFramework.Core.Application.Common.Auth; +using Goodtocode.AgentStart.Core.Application.Common.Auth; using Goodtocode.Agents.Governance.Application; using Goodtocode.Agents.Governance.Domain; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Governance; /// /// Generic that /// produces a real, validated after each CER stage for /// any example playbook, reusing the same governance pillar shape -/// builds +/// builds /// for chat, so playbook execution and chat inference share one governance contract. /// /// diff --git a/src/Core.Application/Playbooks/Persistence/GetMyLatestPlaybookExecutionQuery.cs b/src/Core.Application/Playbooks/Persistence/GetMyLatestPlaybookExecutionQuery.cs index 9238db0..449a33e 100644 --- a/src/Core.Application/Playbooks/Persistence/GetMyLatestPlaybookExecutionQuery.cs +++ b/src/Core.Application/Playbooks/Persistence/GetMyLatestPlaybookExecutionQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Persistence; /// /// Fetches the current user's most recently completed execution of one Playbook, so a Playbook @@ -10,10 +10,10 @@ public class GetMyLatestPlaybookExecutionQuery : UserScopedRequest, IRequest { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(GetMyLatestPlaybookExecutionQuery request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Playbooks/Persistence/PlaybookExecutionPersister.cs b/src/Core.Application/Playbooks/Persistence/PlaybookExecutionPersister.cs index 37ceb4e..5f470a1 100644 --- a/src/Core.Application/Playbooks/Persistence/PlaybookExecutionPersister.cs +++ b/src/Core.Application/Playbooks/Persistence/PlaybookExecutionPersister.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Persistence; /// /// Shared helper so every example playbook's Run*PlaybookCommandHandler persists its execution the diff --git a/src/Core.Application/Playbooks/Persistence/PlaybookReplaySourceResolver.cs b/src/Core.Application/Playbooks/Persistence/PlaybookReplaySourceResolver.cs index 0dee432..7b69b46 100644 --- a/src/Core.Application/Playbooks/Persistence/PlaybookReplaySourceResolver.cs +++ b/src/Core.Application/Playbooks/Persistence/PlaybookReplaySourceResolver.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Common.Exceptions; -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Application.Common.Exceptions; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Persistence; /// /// Resolves the prior a Recall or Replay request should run @@ -12,7 +12,7 @@ namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; public static class PlaybookReplaySourceResolver { public static async Task ResolveAsync( - IAgentFrameworkContext context, + IApplicationDbContext context, string playbookKey, Guid ownerId, Guid tenantId, diff --git a/src/Core.Application/Playbooks/Persistence/SavePlaybookExecutionCommand.cs b/src/Core.Application/Playbooks/Persistence/SavePlaybookExecutionCommand.cs index cf089c8..5a2c9c2 100644 --- a/src/Core.Application/Playbooks/Persistence/SavePlaybookExecutionCommand.cs +++ b/src/Core.Application/Playbooks/Persistence/SavePlaybookExecutionCommand.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Persistence; /// /// Persists one actual run of a Playbook - the user's Collect-stage input plus each stage's @@ -26,9 +26,9 @@ public sealed class SavePlaybookExecutionCommand : UserScopedRequest, IRequest +public sealed class SavePlaybookExecutionCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(SavePlaybookExecutionCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Playbooks/PlaybookDto.cs b/src/Core.Application/Playbooks/PlaybookDto.cs index 0ba6cf1..023164f 100644 --- a/src/Core.Application/Playbooks/PlaybookDto.cs +++ b/src/Core.Application/Playbooks/PlaybookDto.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Transport shape for one : its identity/description plus its diff --git a/src/Core.Application/Playbooks/PlaybookExecutionResultDto.cs b/src/Core.Application/Playbooks/PlaybookExecutionResultDto.cs index 1d18ed7..8339a61 100644 --- a/src/Core.Application/Playbooks/PlaybookExecutionResultDto.cs +++ b/src/Core.Application/Playbooks/PlaybookExecutionResultDto.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +using Goodtocode.AgentStart.Core.Application.Playbooks.Governance; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Transport shape shared by every example Playbook's "run" endpoint: one flat DTO carrying the diff --git a/src/Core.Application/Playbooks/PlaybookGovernanceActivityRecorder.cs b/src/Core.Application/Playbooks/PlaybookGovernanceActivityRecorder.cs index 4e3fbff..44eb516 100644 --- a/src/Core.Application/Playbooks/PlaybookGovernanceActivityRecorder.cs +++ b/src/Core.Application/Playbooks/PlaybookGovernanceActivityRecorder.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Common.Auth; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +using Goodtocode.AgentStart.Core.Application.Common.Auth; +using Goodtocode.AgentStart.Core.Application.Playbooks.Governance; using Goodtocode.Agents.Governance.Application; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Document Review example playbook's governance activity recorder: a thin specialization of diff --git a/src/Core.Application/Playbooks/PlaybookStepDto.cs b/src/Core.Application/Playbooks/PlaybookStepDto.cs index 696c9ac..3f8197f 100644 --- a/src/Core.Application/Playbooks/PlaybookStepDto.cs +++ b/src/Core.Application/Playbooks/PlaybookStepDto.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Transport shape for one : its identity plus the persisted diff --git a/src/Core.Application/Playbooks/Repeatability/PlaybookRepeatCoordinator.cs b/src/Core.Application/Playbooks/Repeatability/PlaybookRepeatCoordinator.cs index 043be77..1df2081 100644 --- a/src/Core.Application/Playbooks/Repeatability/PlaybookRepeatCoordinator.cs +++ b/src/Core.Application/Playbooks/Repeatability/PlaybookRepeatCoordinator.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; +using Goodtocode.AgentStart.Core.Application.Playbooks.Persistence; using Goodtocode.Agents.Governance.Domain; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Repeatability; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Repeatability; /// /// Everything a Run*PlaybookCommand handler needs to execute a repeat: the Governance request, the Playbook @@ -18,7 +18,7 @@ public sealed record PreparedRepeat( /// Resolves the source execution for a repeat and builds the Playbook execution request. Which stages run is /// decided by the Governance policy inside the Playbook executor, not here. /// -public sealed class PlaybookRepeatCoordinator(IAgentFrameworkContext context) +public sealed class PlaybookRepeatCoordinator(IApplicationDbContext context) { public async Task> PrepareAsync( string playbookKey, diff --git a/src/Core.Application/Playbooks/SqlStatistics/RunSqlStatisticsPlaybookCommand.cs b/src/Core.Application/Playbooks/SqlStatistics/RunSqlStatisticsPlaybookCommand.cs index d723bae..878c119 100644 --- a/src/Core.Application/Playbooks/SqlStatistics/RunSqlStatisticsPlaybookCommand.cs +++ b/src/Core.Application/Playbooks/SqlStatistics/RunSqlStatisticsPlaybookCommand.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Repeatability; +using Goodtocode.AgentStart.Core.Application.Playbooks.Persistence; +using Goodtocode.AgentStart.Core.Application.Playbooks.Repeatability; using Goodtocode.Agents.Governance.Domain; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; /// /// API-facing command for running the SQL Statistics Classification example playbook end to end diff --git a/src/Core.Application/Playbooks/SqlStatistics/SqlDatabaseStatisticsQuery.cs b/src/Core.Application/Playbooks/SqlStatistics/SqlDatabaseStatisticsQuery.cs index 7b64507..349db8b 100644 --- a/src/Core.Application/Playbooks/SqlStatistics/SqlDatabaseStatisticsQuery.cs +++ b/src/Core.Application/Playbooks/SqlStatistics/SqlDatabaseStatisticsQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; /// /// Framework-agnostic abstraction over the deterministic retrieval of SQL Server database diff --git a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsClassificationRunner.cs b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsClassificationRunner.cs index 4b20b7a..ee94ba2 100644 --- a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsClassificationRunner.cs +++ b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsClassificationRunner.cs @@ -1,6 +1,6 @@ using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; /// /// Framework-agnostic entry point for running the SQL Statistics Classification example playbook. diff --git a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsGovernanceActivityRecorder.cs b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsGovernanceActivityRecorder.cs index 7303137..0081e80 100644 --- a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsGovernanceActivityRecorder.cs +++ b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsGovernanceActivityRecorder.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Common.Auth; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +using Goodtocode.AgentStart.Core.Application.Common.Auth; +using Goodtocode.AgentStart.Core.Application.Playbooks.Governance; using Goodtocode.Agents.Governance.Application; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; /// /// SQL Statistics Classification example playbook's governance activity recorder: a thin diff --git a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsPlaybookDefinition.cs b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsPlaybookDefinition.cs index d7dba0a..f30a7a1 100644 --- a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsPlaybookDefinition.cs +++ b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsPlaybookDefinition.cs @@ -1,7 +1,7 @@ using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; /// /// SQL Statistics Classification example playbook (Workflow Type 1): a fully deterministic, diff --git a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsStageSummarySelector.cs b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsStageSummarySelector.cs index d9bc3b1..94c3387 100644 --- a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsStageSummarySelector.cs +++ b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsStageSummarySelector.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +using Goodtocode.AgentStart.Core.Application.Playbooks.Governance; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; /// /// Projects the SQL Statistics Classification playbook's CER outputs into governance summaries, diff --git a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsTypes.cs b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsTypes.cs index 22e0949..c0483ad 100644 --- a/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsTypes.cs +++ b/src/Core.Application/Playbooks/SqlStatistics/SqlStatisticsTypes.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +using Goodtocode.AgentStart.Core.Application.Playbooks.Governance; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; /// /// SQL Statistics Classification example playbook: database size classification bands. diff --git a/src/Core.Application/Playbooks/Taxonomy/ClassifyTaxonomyCommand.cs b/src/Core.Application/Playbooks/Taxonomy/ClassifyTaxonomyCommand.cs index 657d37b..5e43a29 100644 --- a/src/Core.Application/Playbooks/Taxonomy/ClassifyTaxonomyCommand.cs +++ b/src/Core.Application/Playbooks/Taxonomy/ClassifyTaxonomyCommand.cs @@ -1,6 +1,6 @@ using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; /// /// Framework-agnostic abstraction over running the Taxonomy Extraction and Classification example diff --git a/src/Core.Application/Playbooks/Taxonomy/RunTaxonomyPlaybookCommand.cs b/src/Core.Application/Playbooks/Taxonomy/RunTaxonomyPlaybookCommand.cs index bf92902..913c992 100644 --- a/src/Core.Application/Playbooks/Taxonomy/RunTaxonomyPlaybookCommand.cs +++ b/src/Core.Application/Playbooks/Taxonomy/RunTaxonomyPlaybookCommand.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Repeatability; +using Goodtocode.AgentStart.Core.Application.Playbooks.Persistence; +using Goodtocode.AgentStart.Core.Application.Playbooks.Repeatability; using Goodtocode.Agents.Governance.Domain; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; /// /// API-facing command for running the Taxonomy Extraction and Classification example playbook end diff --git a/src/Core.Application/Playbooks/Taxonomy/TaxonomyGovernanceActivityRecorder.cs b/src/Core.Application/Playbooks/Taxonomy/TaxonomyGovernanceActivityRecorder.cs index 60bf757..7a6fe48 100644 --- a/src/Core.Application/Playbooks/Taxonomy/TaxonomyGovernanceActivityRecorder.cs +++ b/src/Core.Application/Playbooks/Taxonomy/TaxonomyGovernanceActivityRecorder.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Common.Auth; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +using Goodtocode.AgentStart.Core.Application.Common.Auth; +using Goodtocode.AgentStart.Core.Application.Playbooks.Governance; using Goodtocode.Agents.Governance.Application; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; /// /// Projects the Taxonomy Extraction and Classification playbook's CER outputs into governance diff --git a/src/Core.Application/Playbooks/Taxonomy/TaxonomyTypes.cs b/src/Core.Application/Playbooks/Taxonomy/TaxonomyTypes.cs index 88e051e..edb6525 100644 --- a/src/Core.Application/Playbooks/Taxonomy/TaxonomyTypes.cs +++ b/src/Core.Application/Playbooks/Taxonomy/TaxonomyTypes.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Governance; +using Goodtocode.AgentStart.Core.Application.Playbooks.Governance; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +namespace Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; /// /// Shared, versioned evaluation criteria for the Taxonomy Extraction and Classification example diff --git a/src/Core.Application/Playbooks/UpdatePlaybookCommand.cs b/src/Core.Application/Playbooks/UpdatePlaybookCommand.cs index ac0cbbf..91af2da 100644 --- a/src/Core.Application/Playbooks/UpdatePlaybookCommand.cs +++ b/src/Core.Application/Playbooks/UpdatePlaybookCommand.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Updates a Playbook's name/description. Key, WorkflowType, and Version are immutable identity @@ -11,9 +11,9 @@ public class UpdatePlaybookCommand : IRequest public string? Description { get; init; } } -public class UpdatePlaybookCommandHandler(IAgentFrameworkContext context) : IRequestHandler +public class UpdatePlaybookCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(UpdatePlaybookCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Playbooks/UpdatePlaybookCommandValidator.cs b/src/Core.Application/Playbooks/UpdatePlaybookCommandValidator.cs index 033837f..1bacc20 100644 --- a/src/Core.Application/Playbooks/UpdatePlaybookCommandValidator.cs +++ b/src/Core.Application/Playbooks/UpdatePlaybookCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; public class UpdatePlaybookCommandValidator : Validator { diff --git a/src/Core.Application/Playbooks/UpdatePlaybookStepCommand.cs b/src/Core.Application/Playbooks/UpdatePlaybookStepCommand.cs index 5044710..fb3f7d0 100644 --- a/src/Core.Application/Playbooks/UpdatePlaybookStepCommand.cs +++ b/src/Core.Application/Playbooks/UpdatePlaybookStepCommand.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; /// /// Updates one CER step's persisted processing/action content on an existing Playbook - the @@ -16,9 +16,9 @@ public class UpdatePlaybookStepCommand : IRequest public string? ActionDefinition { get; init; } } -public class UpdatePlaybookStepCommandHandler(IAgentFrameworkContext context) : IRequestHandler +public class UpdatePlaybookStepCommandHandler(IApplicationDbContext context) : IRequestHandler { - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; public async Task Handle(UpdatePlaybookStepCommand request, CancellationToken cancellationToken) { diff --git a/src/Core.Application/Playbooks/UpdatePlaybookStepCommandValidator.cs b/src/Core.Application/Playbooks/UpdatePlaybookStepCommandValidator.cs index 6392f32..cf1857f 100644 --- a/src/Core.Application/Playbooks/UpdatePlaybookStepCommandValidator.cs +++ b/src/Core.Application/Playbooks/UpdatePlaybookStepCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Playbooks; +namespace Goodtocode.AgentStart.Core.Application.Playbooks; public class UpdatePlaybookStepCommandValidator : Validator { diff --git a/src/Core.Domain/Actors/ActorEntity.cs b/src/Core.Domain/Actors/ActorEntity.cs index 532ec3a..39783aa 100644 --- a/src/Core.Domain/Actors/ActorEntity.cs +++ b/src/Core.Domain/Actors/ActorEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Actors; +namespace Goodtocode.AgentStart.Core.Domain.Actors; public class ActorEntity : SecuredEntity { diff --git a/src/Core.Domain/Chats/ChatMessageEntity.cs b/src/Core.Domain/Chats/ChatMessageEntity.cs index c84ec9f..500c807 100644 --- a/src/Core.Domain/Chats/ChatMessageEntity.cs +++ b/src/Core.Domain/Chats/ChatMessageEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Chats; +namespace Goodtocode.AgentStart.Core.Domain.Chats; public class ChatMessageEntity : SecuredEntity, IDomainEntity { diff --git a/src/Core.Domain/Chats/ChatMessageRoles.cs b/src/Core.Domain/Chats/ChatMessageRoles.cs index b98a163..7bd41ed 100644 --- a/src/Core.Domain/Chats/ChatMessageRoles.cs +++ b/src/Core.Domain/Chats/ChatMessageRoles.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Chats; +namespace Goodtocode.AgentStart.Core.Domain.Chats; public enum ChatMessageRole { diff --git a/src/Core.Domain/Chats/ChatSessionEntity.cs b/src/Core.Domain/Chats/ChatSessionEntity.cs index 9b58c5a..394a0b6 100644 --- a/src/Core.Domain/Chats/ChatSessionEntity.cs +++ b/src/Core.Domain/Chats/ChatSessionEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Chats; +namespace Goodtocode.AgentStart.Core.Domain.Chats; public class ChatSessionEntity : SecuredEntity { diff --git a/src/Core.Domain/Common/RequestIdempotencyEntity.cs b/src/Core.Domain/Common/RequestIdempotencyEntity.cs index e93c70c..bed09ad 100644 --- a/src/Core.Domain/Common/RequestIdempotencyEntity.cs +++ b/src/Core.Domain/Common/RequestIdempotencyEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Common; +namespace Goodtocode.AgentStart.Core.Domain.Common; public class RequestIdempotencyEntity : SecuredEntity { diff --git a/src/Core.Domain/Core.Domain.csproj b/src/Core.Domain/Core.Domain.csproj index 337e485..f7fb439 100644 --- a/src/Core.Domain/Core.Domain.csproj +++ b/src/Core.Domain/Core.Domain.csproj @@ -1,8 +1,8 @@  - Goodtocode.AgentFramework.Core.Domain - Goodtocode.AgentFramework.Core.Domain + Goodtocode.AgentStart.Core.Domain + Goodtocode.AgentStart.Core.Domain 1.0.0 net10.0 false diff --git a/src/Core.Domain/Governance/ChatGovernanceEntity.cs b/src/Core.Domain/Governance/ChatGovernanceEntity.cs index e894b6c..d70100b 100644 --- a/src/Core.Domain/Governance/ChatGovernanceEntity.cs +++ b/src/Core.Domain/Governance/ChatGovernanceEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Governance; +namespace Goodtocode.AgentStart.Core.Domain.Governance; public class ChatGovernanceEntity : SecuredEntity { diff --git a/src/Core.Domain/Playbooks/PlaybookActionFormat.cs b/src/Core.Domain/Playbooks/PlaybookActionFormat.cs index 6e8155d..86079be 100644 --- a/src/Core.Domain/Playbooks/PlaybookActionFormat.cs +++ b/src/Core.Domain/Playbooks/PlaybookActionFormat.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Playbooks; +namespace Goodtocode.AgentStart.Core.Domain.Playbooks; /// /// Describes the shape of a , so the diff --git a/src/Core.Domain/Playbooks/PlaybookEntity.cs b/src/Core.Domain/Playbooks/PlaybookEntity.cs index cd1841e..2aedf24 100644 --- a/src/Core.Domain/Playbooks/PlaybookEntity.cs +++ b/src/Core.Domain/Playbooks/PlaybookEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Playbooks; +namespace Goodtocode.AgentStart.Core.Domain.Playbooks; /// /// A Playbook's semi-static definition: its identity plus exactly one Collect, one Evaluate, and diff --git a/src/Core.Domain/Playbooks/PlaybookExecutionEntity.cs b/src/Core.Domain/Playbooks/PlaybookExecutionEntity.cs index 6ea152e..d91c98c 100644 --- a/src/Core.Domain/Playbooks/PlaybookExecutionEntity.cs +++ b/src/Core.Domain/Playbooks/PlaybookExecutionEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Playbooks; +namespace Goodtocode.AgentStart.Core.Domain.Playbooks; /// /// Persisted record of one actual run of a : the user-supplied diff --git a/src/Core.Domain/Playbooks/PlaybookStepEntity.cs b/src/Core.Domain/Playbooks/PlaybookStepEntity.cs index 22e90e3..105077c 100644 --- a/src/Core.Domain/Playbooks/PlaybookStepEntity.cs +++ b/src/Core.Domain/Playbooks/PlaybookStepEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Playbooks; +namespace Goodtocode.AgentStart.Core.Domain.Playbooks; /// /// The persisted, slow-moving "processing/action" portion of one Collect, Evaluate, or Record diff --git a/src/Core.Domain/Playbooks/PlaybookStepType.cs b/src/Core.Domain/Playbooks/PlaybookStepType.cs index 2476125..008b161 100644 --- a/src/Core.Domain/Playbooks/PlaybookStepType.cs +++ b/src/Core.Domain/Playbooks/PlaybookStepType.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Playbooks; +namespace Goodtocode.AgentStart.Core.Domain.Playbooks; /// /// The three, and only three, stages a Playbook step can be. Every diff --git a/src/Infrastructure.AgentFramework/AgentInstructionsComposer.cs b/src/Infrastructure.AgentFramework/AgentInstructionsComposer.cs index 8a78e29..258849c 100644 --- a/src/Infrastructure.AgentFramework/AgentInstructionsComposer.cs +++ b/src/Infrastructure.AgentFramework/AgentInstructionsComposer.cs @@ -1,9 +1,9 @@ using System.Text; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; using Microsoft.Extensions.Options; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework; /// /// Composes MAF's single instruction string from reloadable global and per-tool configuration. diff --git a/src/Infrastructure.AgentFramework/ChatMessageIntentRouter.cs b/src/Infrastructure.AgentFramework/ChatMessageIntentRouter.cs index a9a3f03..5331f2d 100644 --- a/src/Infrastructure.AgentFramework/ChatMessageIntentRouter.cs +++ b/src/Infrastructure.AgentFramework/ChatMessageIntentRouter.cs @@ -1,11 +1,11 @@ using System.Globalization; using System.Text; -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Application.Common.Auth; -using Goodtocode.AgentFramework.Core.Application.Governance; -using Goodtocode.AgentFramework.Core.Domain.Governance; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Governance; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Common.Auth; +using Goodtocode.AgentStart.Core.Application.Governance; +using Goodtocode.AgentStart.Core.Domain.Governance; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Governance; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; using Goodtocode.Agents.Governance.Application; using Goodtocode.Agents.Governance.Domain; using Goodtocode.Mediator; @@ -14,7 +14,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework; /// /// Resolves chat replies through deterministic intent routing and purpose-specific inference. @@ -25,7 +25,7 @@ public sealed class ChatMessageIntentRouter( AIAgent agent, [FromKeyedServices(InferencePurpose.Chat)] AIAgent chatAgent, ISender sender, - IAgentFrameworkContext context, + IApplicationDbContext context, ChatGovernanceGate governanceGate, IRlsContext rlsContext, IWebSearchProvider webSearchProvider, @@ -47,7 +47,7 @@ public sealed class ChatMessageIntentRouter( private static readonly string[] ChatHistoryIntentPhrases = ["chat sessions", "chat session history", "chat history", "chat messages", "my conversations", "previous conversations"]; private readonly ISender _sender = sender; - private readonly IAgentFrameworkContext _context = context; + private readonly IApplicationDbContext _context = context; private readonly ChatGovernanceGate _governanceGate = governanceGate; private readonly IRlsContext _rlsContext = rlsContext; private readonly IWebSearchProvider _webSearchProvider = webSearchProvider; diff --git a/src/Infrastructure.AgentFramework/ConfigureServices.cs b/src/Infrastructure.AgentFramework/ConfigureServices.cs index 959c70a..c444ff4 100644 --- a/src/Infrastructure.AgentFramework/ConfigureServices.cs +++ b/src/Infrastructure.AgentFramework/ConfigureServices.cs @@ -1,19 +1,19 @@ -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; -using Goodtocode.AgentFramework.Core.Application.Governance; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Governance; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Essay; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Taxonomy; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Providers; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Core.Application.Governance; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Execution; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Governance; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Essay; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Providers; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; using Goodtocode.Agents.Governance.Application; using Goodtocode.Agents.Playbook.Prompting.Governance; using Microsoft.Agents.AI; @@ -25,7 +25,7 @@ using OpenAI; using OpenAI.Chat; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework; public static class ConfigureServices { @@ -224,7 +224,7 @@ public static IServiceCollection AddAgentFrameworkOpenAIServices(this IServiceCo var agentOptions = new ChatClientAgentOptions { Name = $"CopilotAgent{purpose}", - Description = "GoodToCode AgentFramework Copilot", + Description = "GoodToCode AgentStart Copilot", ChatOptions = new Microsoft.Extensions.AI.ChatOptions { Tools = tools diff --git a/src/Infrastructure.AgentFramework/Embeddings/AzureOpenAiEmbeddingGenerator.cs b/src/Infrastructure.AgentFramework/Embeddings/AzureOpenAiEmbeddingGenerator.cs index b98d752..4dbc6d6 100644 --- a/src/Infrastructure.AgentFramework/Embeddings/AzureOpenAiEmbeddingGenerator.cs +++ b/src/Infrastructure.AgentFramework/Embeddings/AzureOpenAiEmbeddingGenerator.cs @@ -1,12 +1,12 @@ using System.ClientModel; using System.ClientModel.Primitives; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using OpenAI; using OpenAI.Embeddings; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; /// /// Implementation of IEmbeddingGenerator using Azure OpenAI (or Azure AI Foundry). diff --git a/src/Infrastructure.AgentFramework/Embeddings/Embedding.cs b/src/Infrastructure.AgentFramework/Embeddings/Embedding.cs index 04b6758..397a1ed 100644 --- a/src/Infrastructure.AgentFramework/Embeddings/Embedding.cs +++ b/src/Infrastructure.AgentFramework/Embeddings/Embedding.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; /// /// Immutable value type representing a single embedding vector and its metadata. diff --git a/src/Infrastructure.AgentFramework/Embeddings/EmbeddingMatch.cs b/src/Infrastructure.AgentFramework/Embeddings/EmbeddingMatch.cs index e15576c..9449ec0 100644 --- a/src/Infrastructure.AgentFramework/Embeddings/EmbeddingMatch.cs +++ b/src/Infrastructure.AgentFramework/Embeddings/EmbeddingMatch.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; /// /// Immutable value type representing a single search result from semantic similarity matching. diff --git a/src/Infrastructure.AgentFramework/Embeddings/EmbeddingSource.cs b/src/Infrastructure.AgentFramework/Embeddings/EmbeddingSource.cs index 83b2095..72895a1 100644 --- a/src/Infrastructure.AgentFramework/Embeddings/EmbeddingSource.cs +++ b/src/Infrastructure.AgentFramework/Embeddings/EmbeddingSource.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; /// /// Categorizes the origin/type of an embedding vector. diff --git a/src/Infrastructure.AgentFramework/Embeddings/IEmbeddingGenerator.cs b/src/Infrastructure.AgentFramework/Embeddings/IEmbeddingGenerator.cs index 09a87ba..68af80d 100644 --- a/src/Infrastructure.AgentFramework/Embeddings/IEmbeddingGenerator.cs +++ b/src/Infrastructure.AgentFramework/Embeddings/IEmbeddingGenerator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; /// /// Abstracts embedding vector generation from a specific model/provider. diff --git a/src/Infrastructure.AgentFramework/Embeddings/IIntentEmbeddingStore.cs b/src/Infrastructure.AgentFramework/Embeddings/IIntentEmbeddingStore.cs index bfffcc2..0d356c8 100644 --- a/src/Infrastructure.AgentFramework/Embeddings/IIntentEmbeddingStore.cs +++ b/src/Infrastructure.AgentFramework/Embeddings/IIntentEmbeddingStore.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; /// /// Abstraction for intent embedding storage and semantic similarity search. diff --git a/src/Infrastructure.AgentFramework/Embeddings/IntentEmbeddingInitializationService.cs b/src/Infrastructure.AgentFramework/Embeddings/IntentEmbeddingInitializationService.cs index f61be8c..f2e3a09 100644 --- a/src/Infrastructure.AgentFramework/Embeddings/IntentEmbeddingInitializationService.cs +++ b/src/Infrastructure.AgentFramework/Embeddings/IntentEmbeddingInitializationService.cs @@ -1,11 +1,11 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; /// /// Seeds intent example embeddings once at startup when semantic classification is enabled. diff --git a/src/Infrastructure.AgentFramework/Execution/IToolApplicationExecutor.cs b/src/Infrastructure.AgentFramework/Execution/IToolApplicationExecutor.cs index f7716cc..d777020 100644 --- a/src/Infrastructure.AgentFramework/Execution/IToolApplicationExecutor.cs +++ b/src/Infrastructure.AgentFramework/Execution/IToolApplicationExecutor.cs @@ -1,6 +1,6 @@ using Goodtocode.Mediator; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Execution; /// /// Executes application requests for AI tools through the mediator pipeline. diff --git a/src/Infrastructure.AgentFramework/Execution/PlaybookWorkflowGraphExecutor.cs b/src/Infrastructure.AgentFramework/Execution/PlaybookWorkflowGraphExecutor.cs index 4cb7311..a440841 100644 --- a/src/Infrastructure.AgentFramework/Execution/PlaybookWorkflowGraphExecutor.cs +++ b/src/Infrastructure.AgentFramework/Execution/PlaybookWorkflowGraphExecutor.cs @@ -4,7 +4,7 @@ using Goodtocode.Agents.Playbook.Steps; using Microsoft.Agents.AI.Workflows; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Execution; /// /// Builds and runs the shared three-node Collect -> Evaluate -> Record Microsoft Agent diff --git a/src/Infrastructure.AgentFramework/Execution/ToolApplicationExecutor.cs b/src/Infrastructure.AgentFramework/Execution/ToolApplicationExecutor.cs index 09bd9e2..e7ae127 100644 --- a/src/Infrastructure.AgentFramework/Execution/ToolApplicationExecutor.cs +++ b/src/Infrastructure.AgentFramework/Execution/ToolApplicationExecutor.cs @@ -1,6 +1,6 @@ using Goodtocode.Mediator; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Execution; /// /// Default mediator-backed executor used by AI tools for application commands and queries. diff --git a/src/Infrastructure.AgentFramework/GlobalUsings.cs b/src/Infrastructure.AgentFramework/GlobalUsings.cs index 5b43bc0..0002de7 100644 --- a/src/Infrastructure.AgentFramework/GlobalUsings.cs +++ b/src/Infrastructure.AgentFramework/GlobalUsings.cs @@ -1,4 +1,4 @@ -global using Goodtocode.AgentFramework.Core.Application.Abstractions; -global using ICollectStepTool = Goodtocode.Agents.Playbook.Steps.ICollectStepTool; -global using IEvaluateStepTool = Goodtocode.Agents.Playbook.Steps.IEvaluateStepTool; -global using IRecordStepTool = Goodtocode.Agents.Playbook.Steps.IRecordStepTool; \ No newline at end of file +global using Goodtocode.AgentStart.Core.Application.Abstractions; +global using ICollectStepTool = Goodtocode.Agents.Playbook.Steps.ICollectStepTool; +global using IEvaluateStepTool = Goodtocode.Agents.Playbook.Steps.IEvaluateStepTool; +global using IRecordStepTool = Goodtocode.Agents.Playbook.Steps.IRecordStepTool; \ No newline at end of file diff --git a/src/Infrastructure.AgentFramework/Governance/ChatGovernanceScope.cs b/src/Infrastructure.AgentFramework/Governance/ChatGovernanceScope.cs index ea3dd7f..95c77ba 100644 --- a/src/Infrastructure.AgentFramework/Governance/ChatGovernanceScope.cs +++ b/src/Infrastructure.AgentFramework/Governance/ChatGovernanceScope.cs @@ -1,7 +1,7 @@ using Goodtocode.Agents.Governance.Application; using Goodtocode.Agents.Playbook.Prompting.Governance; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Governance; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Governance; /// /// Ambient governed scope read by the singleton governed chat client. The chat router opens it once per diff --git a/src/Infrastructure.AgentFramework/Governance/SampleIntentPolicy.cs b/src/Infrastructure.AgentFramework/Governance/SampleIntentPolicy.cs index a415276..2c4a4e9 100644 --- a/src/Infrastructure.AgentFramework/Governance/SampleIntentPolicy.cs +++ b/src/Infrastructure.AgentFramework/Governance/SampleIntentPolicy.cs @@ -1,6 +1,6 @@ using Goodtocode.Agents.Governance.Domain; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Governance; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Governance; /// /// Small, readable, tenant-agnostic sample Agentic Intent policy. Replace it by registering your own diff --git a/src/Infrastructure.AgentFramework/InferencePurpose.cs b/src/Infrastructure.AgentFramework/InferencePurpose.cs index d07a90c..386d564 100644 --- a/src/Infrastructure.AgentFramework/InferencePurpose.cs +++ b/src/Infrastructure.AgentFramework/InferencePurpose.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework; /// Identifies the deployment contract required by an inference consumer. public enum InferencePurpose diff --git a/src/Infrastructure.AgentFramework/Infrastructure.AgentFramework.csproj b/src/Infrastructure.AgentFramework/Infrastructure.AgentFramework.csproj index 891bd67..419c2da 100644 --- a/src/Infrastructure.AgentFramework/Infrastructure.AgentFramework.csproj +++ b/src/Infrastructure.AgentFramework/Infrastructure.AgentFramework.csproj @@ -1,8 +1,8 @@  - Goodtocode.AgentFramework.Infrastructure.AgentFramework - Goodtocode.AgentFramework.Infrastructure.AgentFramework + Goodtocode.AgentStart.Infrastructure.AgentFramework + Goodtocode.AgentStart.Infrastructure.AgentFramework 1.0.0 net10.0 false diff --git a/src/Infrastructure.AgentFramework/Intents/CaptureKind.cs b/src/Infrastructure.AgentFramework/Intents/CaptureKind.cs index 49b8f78..2251cfd 100644 --- a/src/Infrastructure.AgentFramework/Intents/CaptureKind.cs +++ b/src/Infrastructure.AgentFramework/Intents/CaptureKind.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// The kind of value a extracts after its literal prefix phrase. diff --git a/src/Infrastructure.AgentFramework/Intents/DefaultIntentCatalogFactory.cs b/src/Infrastructure.AgentFramework/Intents/DefaultIntentCatalogFactory.cs index cd7e0b6..17c3475 100644 --- a/src/Infrastructure.AgentFramework/Intents/DefaultIntentCatalogFactory.cs +++ b/src/Infrastructure.AgentFramework/Intents/DefaultIntentCatalogFactory.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Builds the default used in production: one diff --git a/src/Infrastructure.AgentFramework/Intents/FutureTenseGuard.cs b/src/Infrastructure.AgentFramework/Intents/FutureTenseGuard.cs index 01eac6e..1e69a64 100644 --- a/src/Infrastructure.AgentFramework/Intents/FutureTenseGuard.cs +++ b/src/Infrastructure.AgentFramework/Intents/FutureTenseGuard.cs @@ -1,7 +1,7 @@ using System.Text; using System.Text.RegularExpressions; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Validates model-generated replies against the no-future-tense rule: a reply may only report what is diff --git a/src/Infrastructure.AgentFramework/Intents/HybridIntentClassifier.cs b/src/Infrastructure.AgentFramework/Intents/HybridIntentClassifier.cs index 7d4b8b3..a8c1954 100644 --- a/src/Infrastructure.AgentFramework/Intents/HybridIntentClassifier.cs +++ b/src/Infrastructure.AgentFramework/Intents/HybridIntentClassifier.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Runs deterministic classification first and semantic classification only when rules do not match. diff --git a/src/Infrastructure.AgentFramework/Intents/IIntentClassifier.cs b/src/Infrastructure.AgentFramework/Intents/IIntentClassifier.cs index 49433df..edc5deb 100644 --- a/src/Infrastructure.AgentFramework/Intents/IIntentClassifier.cs +++ b/src/Infrastructure.AgentFramework/Intents/IIntentClassifier.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Classifies a raw chat message into a known , or returns diff --git a/src/Infrastructure.AgentFramework/Intents/IIntentRouter.cs b/src/Infrastructure.AgentFramework/Intents/IIntentRouter.cs index c65ca84..5e4f27c 100644 --- a/src/Infrastructure.AgentFramework/Intents/IIntentRouter.cs +++ b/src/Infrastructure.AgentFramework/Intents/IIntentRouter.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Dispatches a classified to its concrete handler and returns the reply diff --git a/src/Infrastructure.AgentFramework/Intents/IntentCatalog.cs b/src/Infrastructure.AgentFramework/Intents/IntentCatalog.cs index 886a2be..e13769a 100644 --- a/src/Infrastructure.AgentFramework/Intents/IntentCatalog.cs +++ b/src/Infrastructure.AgentFramework/Intents/IntentCatalog.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// The ordered collection of all known deterministic chat intents. Replaces inline conditional logic diff --git a/src/Infrastructure.AgentFramework/Intents/IntentDefinition.cs b/src/Infrastructure.AgentFramework/Intents/IntentDefinition.cs index ac0ca1b..ded0f83 100644 --- a/src/Infrastructure.AgentFramework/Intents/IntentDefinition.cs +++ b/src/Infrastructure.AgentFramework/Intents/IntentDefinition.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Declarative description of a single deterministic chat intent: its known-good phrasings diff --git a/src/Infrastructure.AgentFramework/Intents/IntentDefinitionFactory.cs b/src/Infrastructure.AgentFramework/Intents/IntentDefinitionFactory.cs index c39397b..508c0e2 100644 --- a/src/Infrastructure.AgentFramework/Intents/IntentDefinitionFactory.cs +++ b/src/Infrastructure.AgentFramework/Intents/IntentDefinitionFactory.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Factory helpers that turn the proven "known-good phrasing bypasses the LLM's own tool selection" diff --git a/src/Infrastructure.AgentFramework/Intents/IntentMatch.cs b/src/Infrastructure.AgentFramework/Intents/IntentMatch.cs index 1bf4b84..88f2d94 100644 --- a/src/Infrastructure.AgentFramework/Intents/IntentMatch.cs +++ b/src/Infrastructure.AgentFramework/Intents/IntentMatch.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Result of a successful call. The constructor is diff --git a/src/Infrastructure.AgentFramework/Intents/IntentNames.cs b/src/Infrastructure.AgentFramework/Intents/IntentNames.cs index 1c48821..b96b2ff 100644 --- a/src/Infrastructure.AgentFramework/Intents/IntentNames.cs +++ b/src/Infrastructure.AgentFramework/Intents/IntentNames.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Stable names for every deterministic chat intent. Used both by entries diff --git a/src/Infrastructure.AgentFramework/Intents/IntentTokenMatcher.cs b/src/Infrastructure.AgentFramework/Intents/IntentTokenMatcher.cs index fa1bfe2..ca265f8 100644 --- a/src/Infrastructure.AgentFramework/Intents/IntentTokenMatcher.cs +++ b/src/Infrastructure.AgentFramework/Intents/IntentTokenMatcher.cs @@ -1,6 +1,6 @@ using System.Text; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Performs lightweight, deterministic token normalization and intent-rule matching. diff --git a/src/Infrastructure.AgentFramework/Intents/IntentTokenRule.cs b/src/Infrastructure.AgentFramework/Intents/IntentTokenRule.cs index 5cf8220..70ce92c 100644 --- a/src/Infrastructure.AgentFramework/Intents/IntentTokenRule.cs +++ b/src/Infrastructure.AgentFramework/Intents/IntentTokenRule.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Declarative criteria for matching an intent against normalized message tokens. diff --git a/src/Infrastructure.AgentFramework/Intents/PhraseCapture.cs b/src/Infrastructure.AgentFramework/Intents/PhraseCapture.cs index 95d768e..d674ee3 100644 --- a/src/Infrastructure.AgentFramework/Intents/PhraseCapture.cs +++ b/src/Infrastructure.AgentFramework/Intents/PhraseCapture.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// A readable, regex-free replacement for parameterized "select X {value}"/"search the web for diff --git a/src/Infrastructure.AgentFramework/Intents/RuleIntentClassifier.cs b/src/Infrastructure.AgentFramework/Intents/RuleIntentClassifier.cs index e33a34f..43034b6 100644 --- a/src/Infrastructure.AgentFramework/Intents/RuleIntentClassifier.cs +++ b/src/Infrastructure.AgentFramework/Intents/RuleIntentClassifier.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Deterministic rule-based : matches a message against each diff --git a/src/Infrastructure.AgentFramework/Intents/SemanticIntentClassifier.cs b/src/Infrastructure.AgentFramework/Intents/SemanticIntentClassifier.cs index 79e8d3c..ff2f52b 100644 --- a/src/Infrastructure.AgentFramework/Intents/SemanticIntentClassifier.cs +++ b/src/Infrastructure.AgentFramework/Intents/SemanticIntentClassifier.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Classifies messages by comparing their embedding to seeded intent examples. diff --git a/src/Infrastructure.AgentFramework/Intents/ToolRoutingInstructions.cs b/src/Infrastructure.AgentFramework/Intents/ToolRoutingInstructions.cs index dda83a9..4037a13 100644 --- a/src/Infrastructure.AgentFramework/Intents/ToolRoutingInstructions.cs +++ b/src/Infrastructure.AgentFramework/Intents/ToolRoutingInstructions.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; /// /// Single source of truth for the "don't announce intent, call the tool now" instruction. This is diff --git a/src/Infrastructure.AgentFramework/Journeys/AgentChatJourneyContextAccessor.cs b/src/Infrastructure.AgentFramework/Journeys/AgentChatJourneyContextAccessor.cs index e5940eb..0ca9c3d 100644 --- a/src/Infrastructure.AgentFramework/Journeys/AgentChatJourneyContextAccessor.cs +++ b/src/Infrastructure.AgentFramework/Journeys/AgentChatJourneyContextAccessor.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; /// /// Projects the per-chat-session tool selection state the chat router maintains into the diff --git a/src/Infrastructure.AgentFramework/Journeys/ChatJourneyCatalog.cs b/src/Infrastructure.AgentFramework/Journeys/ChatJourneyCatalog.cs index a3dd37d..39a90c8 100644 --- a/src/Infrastructure.AgentFramework/Journeys/ChatJourneyCatalog.cs +++ b/src/Infrastructure.AgentFramework/Journeys/ChatJourneyCatalog.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; /// /// All known s. Mirrors IntentCatalog: declarative data diff --git a/src/Infrastructure.AgentFramework/Journeys/ChatJourneyCatalogFactory.cs b/src/Infrastructure.AgentFramework/Journeys/ChatJourneyCatalogFactory.cs index 298a4e7..564359f 100644 --- a/src/Infrastructure.AgentFramework/Journeys/ChatJourneyCatalogFactory.cs +++ b/src/Infrastructure.AgentFramework/Journeys/ChatJourneyCatalogFactory.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; /// /// Aggregates every registered into a single diff --git a/src/Infrastructure.AgentFramework/Journeys/ChatJourneyDefinition.cs b/src/Infrastructure.AgentFramework/Journeys/ChatJourneyDefinition.cs index 1f5b59c..d1c0263 100644 --- a/src/Infrastructure.AgentFramework/Journeys/ChatJourneyDefinition.cs +++ b/src/Infrastructure.AgentFramework/Journeys/ChatJourneyDefinition.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; /// /// Declarative definition of the suggested prompts offered at one . diff --git a/src/Infrastructure.AgentFramework/Journeys/DefaultChatJourneyCatalogContributor.cs b/src/Infrastructure.AgentFramework/Journeys/DefaultChatJourneyCatalogContributor.cs index 7287933..3bb0fe6 100644 --- a/src/Infrastructure.AgentFramework/Journeys/DefaultChatJourneyCatalogContributor.cs +++ b/src/Infrastructure.AgentFramework/Journeys/DefaultChatJourneyCatalogContributor.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; /// /// The built-in chat journey: top-level prompts start a journey at an aggregate, and each diff --git a/src/Infrastructure.AgentFramework/Journeys/IChatJourneyCatalogContributor.cs b/src/Infrastructure.AgentFramework/Journeys/IChatJourneyCatalogContributor.cs index 46951eb..02d5e19 100644 --- a/src/Infrastructure.AgentFramework/Journeys/IChatJourneyCatalogContributor.cs +++ b/src/Infrastructure.AgentFramework/Journeys/IChatJourneyCatalogContributor.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; /// /// Extension point allowing downstream projects to contribute additional diff --git a/src/Infrastructure.AgentFramework/Journeys/RuleChatJourneyProvider.cs b/src/Infrastructure.AgentFramework/Journeys/RuleChatJourneyProvider.cs index 1e04615..ff5577f 100644 --- a/src/Infrastructure.AgentFramework/Journeys/RuleChatJourneyProvider.cs +++ b/src/Infrastructure.AgentFramework/Journeys/RuleChatJourneyProvider.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; /// /// Deterministic suggested-prompt resolution by resolved journey level and optional scope code. diff --git a/src/Infrastructure.AgentFramework/MarkdownTableFormatter.cs b/src/Infrastructure.AgentFramework/MarkdownTableFormatter.cs index 08c5f07..3e6e8b5 100644 --- a/src/Infrastructure.AgentFramework/MarkdownTableFormatter.cs +++ b/src/Infrastructure.AgentFramework/MarkdownTableFormatter.cs @@ -1,7 +1,7 @@ using System.Globalization; using System.Text; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework; public static class MarkdownTableFormatter { diff --git a/src/Infrastructure.AgentFramework/Options/AgentProviderOptions.cs b/src/Infrastructure.AgentFramework/Options/AgentProviderOptions.cs index 09966bc..1714a18 100644 --- a/src/Infrastructure.AgentFramework/Options/AgentProviderOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/AgentProviderOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; public sealed class AgentProviderOptions { diff --git a/src/Infrastructure.AgentFramework/Options/AgentToolInstructionsOptions.cs b/src/Infrastructure.AgentFramework/Options/AgentToolInstructionsOptions.cs index b750c0a..3bb2456 100644 --- a/src/Infrastructure.AgentFramework/Options/AgentToolInstructionsOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/AgentToolInstructionsOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; /// /// Defines the routing instructions for one registered agent tool. diff --git a/src/Infrastructure.AgentFramework/Options/AzureAIFoundryOptions.cs b/src/Infrastructure.AgentFramework/Options/AzureAIFoundryOptions.cs index 98a2487..d1c0c1b 100644 --- a/src/Infrastructure.AgentFramework/Options/AzureAIFoundryOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/AzureAIFoundryOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; /// /// Azure AI Foundry model inference settings. diff --git a/src/Infrastructure.AgentFramework/Options/AzureOpenAIOptions.cs b/src/Infrastructure.AgentFramework/Options/AzureOpenAIOptions.cs index e94cf78..32fc1fa 100644 --- a/src/Infrastructure.AgentFramework/Options/AzureOpenAIOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/AzureOpenAIOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; /// /// Azure OpenAI settings. diff --git a/src/Infrastructure.AgentFramework/Options/CopilotKnowledgeEnrichmentOptions.cs b/src/Infrastructure.AgentFramework/Options/CopilotKnowledgeEnrichmentOptions.cs index a25a5d4..4bf3cfe 100644 --- a/src/Infrastructure.AgentFramework/Options/CopilotKnowledgeEnrichmentOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/CopilotKnowledgeEnrichmentOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; /// /// Configuration for Copilot SDK-backed knowledge enrichment. @@ -16,7 +16,7 @@ public sealed class CopilotKnowledgeEnrichmentOptions /// Source metadata value emitted in enrichment results. /// [Required] - public string Source { get; set; } = "copilot-sdk-agentframework"; + public string Source { get; set; } = "copilot-sdk-agentstart"; /// /// Timeout in seconds for each enrichment invocation. diff --git a/src/Infrastructure.AgentFramework/Options/GitHubCopilotSdkOptions.cs b/src/Infrastructure.AgentFramework/Options/GitHubCopilotSdkOptions.cs index 9cc8c1c..fe9a866 100644 --- a/src/Infrastructure.AgentFramework/Options/GitHubCopilotSdkOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/GitHubCopilotSdkOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; public sealed class GitHubCopilotSdkOptions { diff --git a/src/Infrastructure.AgentFramework/Options/GovernedIntentOptions.cs b/src/Infrastructure.AgentFramework/Options/GovernedIntentOptions.cs index 7ebd520..c9d33dc 100644 --- a/src/Infrastructure.AgentFramework/Options/GovernedIntentOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/GovernedIntentOptions.cs @@ -1,6 +1,6 @@ using Goodtocode.Agents.Governance.Domain; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; /// /// Options for the governed Agentic Intent chat client. diff --git a/src/Infrastructure.AgentFramework/Options/IntentClassificationOptions.cs b/src/Infrastructure.AgentFramework/Options/IntentClassificationOptions.cs index 3d87f5c..4c4a204 100644 --- a/src/Infrastructure.AgentFramework/Options/IntentClassificationOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/IntentClassificationOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; /// /// Controls semantic intent classification behavior. diff --git a/src/Infrastructure.AgentFramework/Options/OllamaOptions.cs b/src/Infrastructure.AgentFramework/Options/OllamaOptions.cs index 78040a5..ebf024f 100644 --- a/src/Infrastructure.AgentFramework/Options/OllamaOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/OllamaOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; /// /// Ollama OpenAI-compatible settings. diff --git a/src/Infrastructure.AgentFramework/Options/OpenAIOptions.cs b/src/Infrastructure.AgentFramework/Options/OpenAIOptions.cs index caecc51..a6dee4c 100644 --- a/src/Infrastructure.AgentFramework/Options/OpenAIOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/OpenAIOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; /// /// OpenAI settings. diff --git a/src/Infrastructure.AgentFramework/Options/SearchProviderOptions.cs b/src/Infrastructure.AgentFramework/Options/SearchProviderOptions.cs index bf29926..32aadb2 100644 --- a/src/Infrastructure.AgentFramework/Options/SearchProviderOptions.cs +++ b/src/Infrastructure.AgentFramework/Options/SearchProviderOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; public sealed class SearchProviderOptions { diff --git a/src/Infrastructure.AgentFramework/Playbooks/AgentStructuredOutputParser.cs b/src/Infrastructure.AgentFramework/Playbooks/AgentStructuredOutputParser.cs index 115203c..5ec84c9 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/AgentStructuredOutputParser.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/AgentStructuredOutputParser.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks; /// /// Shared helper for agentic Playbook stage tools: validates and deserializes a model's raw text diff --git a/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewCollectTool.cs b/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewCollectTool.cs index 4f520e5..c5cb67b 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewCollectTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewCollectTool.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks; /// /// Deterministic Collect stage for the Document Review example playbook: forwards the document diff --git a/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewEvaluateTool.cs b/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewEvaluateTool.cs index 7c1a5b5..e99cc44 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewEvaluateTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewEvaluateTool.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks; /// /// Deterministic Evaluate stage for the Document Review example playbook: a fixed, rule-based diff --git a/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewPlaybookToolRegistration.cs b/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewPlaybookToolRegistration.cs index 71db13c..0762a55 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewPlaybookToolRegistration.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewPlaybookToolRegistration.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks; using Goodtocode.Agents.Playbook.Tools; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks; /// /// Discovers and registers the Document Review example playbook's Collect/Evaluate/Record tools, diff --git a/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewRecordTool.cs b/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewRecordTool.cs index b86765c..5edae14 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewRecordTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/DocumentReviewRecordTool.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks; /// /// Deterministic Record stage for the Document Review example playbook: shapes the finding into a diff --git a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayCollectTool.cs b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayCollectTool.cs index 4d8988b..6763023 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayCollectTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayCollectTool.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Essay; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Essay; /// /// Deterministic Collect stage for the Essay Rubric Evaluation example playbook: a thin diff --git a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayEvaluateAgentTool.cs b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayEvaluateAgentTool.cs index 8bc8117..1c49a69 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayEvaluateAgentTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayEvaluateAgentTool.cs @@ -1,6 +1,6 @@ using System.Text.Json.Serialization; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks; using Goodtocode.Agents.Playbook.Execution; using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; @@ -8,7 +8,7 @@ using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Essay; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Essay; /// /// Agentic Evaluate stage for the Essay Rubric Evaluation example playbook: asks the model to diff --git a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayEvaluationRunner.cs b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayEvaluationRunner.cs index 18bdc31..628af64 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayEvaluationRunner.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayEvaluationRunner.cs @@ -1,10 +1,10 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Execution; using Goodtocode.Agents.Governance.Application; using Goodtocode.Agents.Playbook.Execution; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Essay; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Essay; /// /// MAF-backed implementation of : resolves the deterministic diff --git a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayPlaybookToolRegistration.cs b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayPlaybookToolRegistration.cs index b78189c..ffb5ac4 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayPlaybookToolRegistration.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayPlaybookToolRegistration.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; using Goodtocode.Agents.Playbook.Tools; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Essay; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Essay; /// /// Discovers and registers the Essay Rubric Evaluation example playbook's Collect/Evaluate/Record diff --git a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayRecordTool.cs b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayRecordTool.cs index ce3c3ec..ca4d9a7 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayRecordTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Essay/EssayRecordTool.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Essay; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Essay; /// /// Deterministic Record stage for the Essay Rubric Evaluation example playbook: bands the diff --git a/src/Infrastructure.AgentFramework/Playbooks/PlaybookCatalogSeedInitializationService.cs b/src/Infrastructure.AgentFramework/Playbooks/PlaybookCatalogSeedInitializationService.cs index 6366adf..bfb9d22 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/PlaybookCatalogSeedInitializationService.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/PlaybookCatalogSeedInitializationService.cs @@ -1,11 +1,11 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; using Goodtocode.Mediator; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks; /// /// Seeds the three built-in example Playbooks (SQL Statistics, Taxonomy, Essay) - their diff --git a/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsCollectTool.cs b/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsCollectTool.cs index 8be38c5..41e7e13 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsCollectTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsCollectTool.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Execution; using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.SqlStatistics; /// /// Deterministic Collect stage for the SQL Statistics Classification example playbook: takes the diff --git a/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsEvaluateTool.cs b/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsEvaluateTool.cs index c311370..9ac7973 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsEvaluateTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsEvaluateTool.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; using Goodtocode.Agents.Playbook.Execution; using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.SqlStatistics; /// /// Deterministic Evaluate stage for the SQL Statistics Classification example playbook: diff --git a/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsPlaybookToolRegistration.cs b/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsPlaybookToolRegistration.cs index 65f7073..ec6f560 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsPlaybookToolRegistration.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsPlaybookToolRegistration.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; using Goodtocode.Agents.Playbook.Tools; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.SqlStatistics; /// /// Discovers and registers the SQL Statistics Classification example playbook's diff --git a/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsRecordTool.cs b/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsRecordTool.cs index 475e5eb..51071ba 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsRecordTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/SqlStatistics/SqlStatisticsRecordTool.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.SqlStatistics; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.SqlStatistics; /// /// Deterministic Record stage for the SQL Statistics Classification example playbook: shapes the diff --git a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyClassificationRunner.cs b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyClassificationRunner.cs index 8cac422..6ffacf5 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyClassificationRunner.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyClassificationRunner.cs @@ -1,10 +1,10 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Execution; using Goodtocode.Agents.Governance.Application; using Goodtocode.Agents.Playbook.Execution; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Taxonomy; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Taxonomy; /// /// MAF-backed implementation of : resolves the three diff --git a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyCollectAgentTool.cs b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyCollectAgentTool.cs index 124e91c..7a22624 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyCollectAgentTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyCollectAgentTool.cs @@ -1,12 +1,12 @@ using System.Text.Json.Serialization; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; using Microsoft.Agents.AI; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Taxonomy; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Taxonomy; /// /// Agentic Collect stage for the Taxonomy Extraction and Classification example playbook: asks the diff --git a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyEvaluateAgentTool.cs b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyEvaluateAgentTool.cs index 246217a..afd66bd 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyEvaluateAgentTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyEvaluateAgentTool.cs @@ -1,5 +1,5 @@ using System.Text.Json.Serialization; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; using Goodtocode.Agents.Playbook.Execution; using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; @@ -7,7 +7,7 @@ using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Taxonomy; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Taxonomy; /// /// Agentic Evaluate stage for the Taxonomy Extraction and Classification example playbook: asks diff --git a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyPlaybookToolRegistration.cs b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyPlaybookToolRegistration.cs index 7ef92b3..b90160b 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyPlaybookToolRegistration.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyPlaybookToolRegistration.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; using Goodtocode.Agents.Playbook.Tools; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Taxonomy; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Taxonomy; /// /// Discovers and registers the Taxonomy Extraction and Classification example playbook's diff --git a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyRecordAgentTool.cs b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyRecordAgentTool.cs index 9113fbb..f154ce4 100644 --- a/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyRecordAgentTool.cs +++ b/src/Infrastructure.AgentFramework/Playbooks/Taxonomy/TaxonomyRecordAgentTool.cs @@ -1,12 +1,12 @@ using System.Text.Json.Serialization; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; using Goodtocode.Agents.Playbook.Steps; using Goodtocode.Agents.Playbook.Tools; using Microsoft.Agents.AI; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Taxonomy; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Taxonomy; /// /// Agentic Record stage for the Taxonomy Extraction and Classification example playbook: asks the diff --git a/src/Infrastructure.AgentFramework/Providers/BingSearchProvider.cs b/src/Infrastructure.AgentFramework/Providers/BingSearchProvider.cs index 6bd1985..be066a9 100644 --- a/src/Infrastructure.AgentFramework/Providers/BingSearchProvider.cs +++ b/src/Infrastructure.AgentFramework/Providers/BingSearchProvider.cs @@ -1,10 +1,10 @@ using System.Net; using System.Text.Json; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Providers; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Providers; public sealed class BingSearchProvider( HttpClient httpClient, diff --git a/src/Infrastructure.AgentFramework/Providers/NoOpWebSearchProvider.cs b/src/Infrastructure.AgentFramework/Providers/NoOpWebSearchProvider.cs index 6bcf620..1f69b01 100644 --- a/src/Infrastructure.AgentFramework/Providers/NoOpWebSearchProvider.cs +++ b/src/Infrastructure.AgentFramework/Providers/NoOpWebSearchProvider.cs @@ -1,6 +1,6 @@ using Microsoft.Extensions.Logging; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Providers; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Providers; public sealed class NoOpWebSearchProvider(ILogger logger) : IWebSearchProvider { diff --git a/src/Infrastructure.AgentFramework/Tools/ActorsTool.cs b/src/Infrastructure.AgentFramework/Tools/ActorsTool.cs index c809f41..f4038eb 100644 --- a/src/Infrastructure.AgentFramework/Tools/ActorsTool.cs +++ b/src/Infrastructure.AgentFramework/Tools/ActorsTool.cs @@ -1,7 +1,7 @@ using System.ComponentModel; -using Goodtocode.AgentFramework.Core.Application.Actors; +using Goodtocode.AgentStart.Core.Application.Actors; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; public class ActorResponse : IActorResponse { diff --git a/src/Infrastructure.AgentFramework/Tools/AgentChatContextAccessor.cs b/src/Infrastructure.AgentFramework/Tools/AgentChatContextAccessor.cs index 2bccfc2..14053fb 100644 --- a/src/Infrastructure.AgentFramework/Tools/AgentChatContextAccessor.cs +++ b/src/Infrastructure.AgentFramework/Tools/AgentChatContextAccessor.cs @@ -1,6 +1,6 @@ using System.Collections.Concurrent; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; public sealed class AgentChatContextAccessor : IAgentChatContextAccessor { diff --git a/src/Infrastructure.AgentFramework/Tools/ChatToolSessionContext.cs b/src/Infrastructure.AgentFramework/Tools/ChatToolSessionContext.cs index 2b7b3b1..e0d5a8f 100644 --- a/src/Infrastructure.AgentFramework/Tools/ChatToolSessionContext.cs +++ b/src/Infrastructure.AgentFramework/Tools/ChatToolSessionContext.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; /// /// Per-chat-session state for deterministic follow-up/parameter questions (e.g. "select actor diff --git a/src/Infrastructure.AgentFramework/Tools/IAgentChatContextAccessor.cs b/src/Infrastructure.AgentFramework/Tools/IAgentChatContextAccessor.cs index 572671e..51989ae 100644 --- a/src/Infrastructure.AgentFramework/Tools/IAgentChatContextAccessor.cs +++ b/src/Infrastructure.AgentFramework/Tools/IAgentChatContextAccessor.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; /// /// Tracks per-chat-session selection state (currently selected actor, currently selected chat diff --git a/src/Infrastructure.AgentFramework/Tools/MyChatMessagesTool.cs b/src/Infrastructure.AgentFramework/Tools/MyChatMessagesTool.cs index b499cd3..406eb1b 100644 --- a/src/Infrastructure.AgentFramework/Tools/MyChatMessagesTool.cs +++ b/src/Infrastructure.AgentFramework/Tools/MyChatMessagesTool.cs @@ -1,8 +1,8 @@ using System.ComponentModel; using System.Globalization; -using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; public sealed class MyChatMessagesTool(IServiceProvider serviceProvider) : ScopedAgentTool(serviceProvider), IMyChatMessagesTool { diff --git a/src/Infrastructure.AgentFramework/Tools/MyChatSessionsTool.cs b/src/Infrastructure.AgentFramework/Tools/MyChatSessionsTool.cs index 4cbeae5..cdf31f3 100644 --- a/src/Infrastructure.AgentFramework/Tools/MyChatSessionsTool.cs +++ b/src/Infrastructure.AgentFramework/Tools/MyChatSessionsTool.cs @@ -1,8 +1,8 @@ using System.ComponentModel; using System.Globalization; -using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; public sealed class MyChatSessionsTool(IServiceProvider serviceProvider) : ScopedAgentTool(serviceProvider), IMyChatSessionsTool { diff --git a/src/Infrastructure.AgentFramework/Tools/ScopedAgentTool.cs b/src/Infrastructure.AgentFramework/Tools/ScopedAgentTool.cs index ca24427..18343e5 100644 --- a/src/Infrastructure.AgentFramework/Tools/ScopedAgentTool.cs +++ b/src/Infrastructure.AgentFramework/Tools/ScopedAgentTool.cs @@ -2,12 +2,12 @@ using System.Reflection; using System.Security.Cryptography; using System.Text; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Execution; using Goodtocode.Mediator; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; /// /// Shared base class for AI tools that execute application requests in an isolated scope. diff --git a/src/Infrastructure.AgentFramework/Tools/WebSearchTool.cs b/src/Infrastructure.AgentFramework/Tools/WebSearchTool.cs index 5cf330d..9ff9d05 100644 --- a/src/Infrastructure.AgentFramework/Tools/WebSearchTool.cs +++ b/src/Infrastructure.AgentFramework/Tools/WebSearchTool.cs @@ -1,7 +1,7 @@ using System.ComponentModel; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +namespace Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; public sealed class WebSearchTool(IServiceProvider serviceProvider) : ScopedAgentTool(serviceProvider) { diff --git a/src/Infrastructure.SqlServer/ColumnTypes.cs b/src/Infrastructure.SqlServer/ColumnTypes.cs index 19146e4..4b874a9 100644 --- a/src/Infrastructure.SqlServer/ColumnTypes.cs +++ b/src/Infrastructure.SqlServer/ColumnTypes.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer; public static class ColumnTypes { diff --git a/src/Infrastructure.SqlServer/ConfigureServices.cs b/src/Infrastructure.SqlServer/ConfigureServices.cs index 9b358a9..2405bb9 100644 --- a/src/Infrastructure.SqlServer/ConfigureServices.cs +++ b/src/Infrastructure.SqlServer/ConfigureServices.cs @@ -1,24 +1,24 @@ -using Goodtocode.AgentFramework.Core.Application.Abstractions; -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Playbooks; +using Goodtocode.AgentStart.Core.Application.Abstractions; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Playbooks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer; public static class ConfigureServices { public static IServiceCollection AddDbContextServices(this IServiceCollection services, IConfiguration configuration) { - services.AddDbContext(options => + services.AddDbContext(options => options.UseSqlServer(configuration.GetConnectionString("DefaultConnection"), - builder => builder.MigrationsAssembly(typeof(AgentFrameworkContext).Assembly.FullName)) + builder => builder.MigrationsAssembly(typeof(ApplicationDbContext).Assembly.FullName)) .UseLazyLoadingProxies()); - services.AddScoped(); + services.AddScoped(); services.AddHttpClient(); services.AddScoped(provider => provider.GetRequiredService()); diff --git a/src/Infrastructure.SqlServer/Converters/TagCanonicalNameConverter.cs b/src/Infrastructure.SqlServer/Converters/TagCanonicalNameConverter.cs index c046d91..70498c0 100644 --- a/src/Infrastructure.SqlServer/Converters/TagCanonicalNameConverter.cs +++ b/src/Infrastructure.SqlServer/Converters/TagCanonicalNameConverter.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Converters; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Converters; public class TagCanonicalNameConverter : ValueConverter, string> { diff --git a/src/Infrastructure.SqlServer/Converters/TagCanonicalNameValueConverter.cs b/src/Infrastructure.SqlServer/Converters/TagCanonicalNameValueConverter.cs index 519485d..b456381 100644 --- a/src/Infrastructure.SqlServer/Converters/TagCanonicalNameValueConverter.cs +++ b/src/Infrastructure.SqlServer/Converters/TagCanonicalNameValueConverter.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Converters; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Converters; public class TagCanonicalNameValueConverter : ValueConverter, string> { diff --git a/src/Infrastructure.SqlServer/Embeddings/SqlIntentEmbeddingStore.cs b/src/Infrastructure.SqlServer/Embeddings/SqlIntentEmbeddingStore.cs index 6f5eb1d..37daf80 100644 --- a/src/Infrastructure.SqlServer/Embeddings/SqlIntentEmbeddingStore.cs +++ b/src/Infrastructure.SqlServer/Embeddings/SqlIntentEmbeddingStore.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Entities; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Entities; using Microsoft.Extensions.Logging; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Embeddings; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Embeddings; /// /// SQL Server implementation of IIntentEmbeddingStore. @@ -12,7 +12,7 @@ namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Embeddings; /// public sealed class SqlIntentEmbeddingStore : IIntentEmbeddingStore { - private readonly AgentFrameworkContext _context; + private readonly ApplicationDbContext _context; private readonly ILogger _logger; /// @@ -21,7 +21,7 @@ public sealed class SqlIntentEmbeddingStore : IIntentEmbeddingStore /// EF Core database context. /// Structured logger. public SqlIntentEmbeddingStore( - AgentFrameworkContext context, + ApplicationDbContext context, ILogger logger) { _context = context ?? throw new ArgumentNullException(nameof(context)); diff --git a/src/Infrastructure.SqlServer/GlobalUsings.cs b/src/Infrastructure.SqlServer/GlobalUsings.cs index bd37724..f2f2b85 100644 --- a/src/Infrastructure.SqlServer/GlobalUsings.cs +++ b/src/Infrastructure.SqlServer/GlobalUsings.cs @@ -1,4 +1,4 @@ -global using Goodtocode.AgentFramework.Core.Application.Common.Auth; +global using Goodtocode.AgentStart.Core.Application.Common.Auth; global using Goodtocode.Domain.Entities; global using Microsoft.EntityFrameworkCore; global using Microsoft.EntityFrameworkCore.Metadata.Builders; diff --git a/src/Infrastructure.SqlServer/Infrastructure.SqlServer.csproj b/src/Infrastructure.SqlServer/Infrastructure.SqlServer.csproj index 1d8fba5..444c561 100644 --- a/src/Infrastructure.SqlServer/Infrastructure.SqlServer.csproj +++ b/src/Infrastructure.SqlServer/Infrastructure.SqlServer.csproj @@ -1,7 +1,7 @@ - Goodtocode.AgentFramework.Infrastructure.SqlServer - Goodtocode.AgentFramework.Infrastructure.SqlServer + Goodtocode.AgentStart.Infrastructure.SqlServer + Goodtocode.AgentStart.Infrastructure.SqlServer 1.0.0 net10.0 false diff --git a/src/Infrastructure.SqlServer/JsonSerializerOptionsProvider.cs b/src/Infrastructure.SqlServer/JsonSerializerOptionsProvider.cs index a65599b..9304181 100644 --- a/src/Infrastructure.SqlServer/JsonSerializerOptionsProvider.cs +++ b/src/Infrastructure.SqlServer/JsonSerializerOptionsProvider.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer; public static class JsonSerializerOptionsProvider { diff --git a/src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-AgentFrameworkContext.Designer.cs b/src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-ApplicationDbContext.Designer.cs similarity index 92% rename from src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-AgentFrameworkContext.Designer.cs rename to src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-ApplicationDbContext.Designer.cs index 599f5f4..90248b0 100644 --- a/src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-AgentFrameworkContext.Designer.cs +++ b/src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-ApplicationDbContext.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -9,11 +9,11 @@ #nullable disable -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Migrations +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Migrations { - [DbContext(typeof(AgentFrameworkContext))] - [Migration("20261022032027_InitialCreate-AgentFrameworkContext")] - partial class InitialCreateAgentFrameworkContext + [DbContext(typeof(ApplicationDbContext))] + [Migration("20261022032027_InitialCreate-ApplicationDbContext")] + partial class InitialCreateApplicationDbContext { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) @@ -29,7 +29,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Actors.ActorEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Actors.ActorEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -90,7 +90,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.ToTable("Actors", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Chats.ChatMessageEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Chats.ChatMessageEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -151,7 +151,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.ToTable("ChatMessages", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Chats.ChatSessionEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Chats.ChatSessionEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -212,7 +212,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.ToTable("ChatSessions", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Common.RequestIdempotencyEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Common.RequestIdempotencyEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -302,7 +302,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.ToTable("RequestIdempotency", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Governance.ChatGovernanceEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Governance.ChatGovernanceEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -428,7 +428,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.ToTable("ChatGovernance", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -485,7 +485,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.ToTable("Playbooks", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookExecutionEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookExecutionEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -588,7 +588,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.ToTable("PlaybookExecutions", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookStepEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookStepEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -648,7 +648,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.ToTable("PlaybookSteps", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Entities.IntentEmbeddingEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Entities.IntentEmbeddingEntity", b => { b.Property("Id") .HasColumnType("uniqueidentifier") @@ -706,9 +706,9 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.ToTable("IntentEmbeddings", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Chats.ChatMessageEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Chats.ChatMessageEntity", b => { - b.HasOne("Goodtocode.AgentFramework.Core.Domain.Chats.ChatSessionEntity", "ChatSession") + b.HasOne("Goodtocode.AgentStart.Core.Domain.Chats.ChatSessionEntity", "ChatSession") .WithMany("Messages") .HasForeignKey("ChatSessionId") .OnDelete(DeleteBehavior.Cascade) @@ -717,9 +717,9 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Navigation("ChatSession"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookExecutionEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookExecutionEntity", b => { - b.HasOne("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookEntity", "Playbook") + b.HasOne("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookEntity", "Playbook") .WithMany() .HasForeignKey("PlaybookId") .OnDelete(DeleteBehavior.Cascade) @@ -728,9 +728,9 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Navigation("Playbook"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookStepEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookStepEntity", b => { - b.HasOne("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookEntity", "Playbook") + b.HasOne("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookEntity", "Playbook") .WithMany("Steps") .HasForeignKey("PlaybookId") .OnDelete(DeleteBehavior.Cascade) @@ -739,12 +739,12 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) b.Navigation("Playbook"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Chats.ChatSessionEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Chats.ChatSessionEntity", b => { b.Navigation("Messages"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookEntity", b => { b.Navigation("Steps"); }); diff --git a/src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-AgentFrameworkContext.cs b/src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-ApplicationDbContext.cs similarity index 99% rename from src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-AgentFrameworkContext.cs rename to src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-ApplicationDbContext.cs index 183ec7e..bb2a4f9 100644 --- a/src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-AgentFrameworkContext.cs +++ b/src/Infrastructure.SqlServer/Migrations/20261022032027_InitialCreate-ApplicationDbContext.cs @@ -3,10 +3,10 @@ #nullable disable -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Migrations +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Migrations { /// - public partial class InitialCreateAgentFrameworkContext : Migration + public partial class InitialCreateApplicationDbContext : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) diff --git a/src/Infrastructure.SqlServer/Migrations/AgentFrameworkContextModelSnapshot.cs b/src/Infrastructure.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs similarity index 92% rename from src/Infrastructure.SqlServer/Migrations/AgentFrameworkContextModelSnapshot.cs rename to src/Infrastructure.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs index da7a983..8eeb29c 100644 --- a/src/Infrastructure.SqlServer/Migrations/AgentFrameworkContextModelSnapshot.cs +++ b/src/Infrastructure.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -8,10 +8,10 @@ #nullable disable -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Migrations +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Migrations { - [DbContext(typeof(AgentFrameworkContext))] - partial class AgentFrameworkContextModelSnapshot : ModelSnapshot + [DbContext(typeof(ApplicationDbContext))] + partial class ApplicationDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { @@ -26,7 +26,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Actors.ActorEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Actors.ActorEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -87,7 +87,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("Actors", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Chats.ChatMessageEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Chats.ChatMessageEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -148,7 +148,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("ChatMessages", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Chats.ChatSessionEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Chats.ChatSessionEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -209,7 +209,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("ChatSessions", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Common.RequestIdempotencyEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Common.RequestIdempotencyEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -299,7 +299,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("RequestIdempotency", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Governance.ChatGovernanceEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Governance.ChatGovernanceEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -425,7 +425,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("ChatGovernance", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -482,7 +482,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("Playbooks", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookExecutionEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookExecutionEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -585,7 +585,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("PlaybookExecutions", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookStepEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookStepEntity", b => { b.Property("Id") .ValueGeneratedOnAdd() @@ -645,7 +645,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("PlaybookSteps", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Entities.IntentEmbeddingEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Entities.IntentEmbeddingEntity", b => { b.Property("Id") .HasColumnType("uniqueidentifier") @@ -703,9 +703,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("IntentEmbeddings", "Chat"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Chats.ChatMessageEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Chats.ChatMessageEntity", b => { - b.HasOne("Goodtocode.AgentFramework.Core.Domain.Chats.ChatSessionEntity", "ChatSession") + b.HasOne("Goodtocode.AgentStart.Core.Domain.Chats.ChatSessionEntity", "ChatSession") .WithMany("Messages") .HasForeignKey("ChatSessionId") .OnDelete(DeleteBehavior.Cascade) @@ -714,9 +714,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Navigation("ChatSession"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookExecutionEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookExecutionEntity", b => { - b.HasOne("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookEntity", "Playbook") + b.HasOne("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookEntity", "Playbook") .WithMany() .HasForeignKey("PlaybookId") .OnDelete(DeleteBehavior.Cascade) @@ -725,9 +725,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Navigation("Playbook"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookStepEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookStepEntity", b => { - b.HasOne("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookEntity", "Playbook") + b.HasOne("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookEntity", "Playbook") .WithMany("Steps") .HasForeignKey("PlaybookId") .OnDelete(DeleteBehavior.Cascade) @@ -736,12 +736,12 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Navigation("Playbook"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Chats.ChatSessionEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Chats.ChatSessionEntity", b => { b.Navigation("Messages"); }); - modelBuilder.Entity("Goodtocode.AgentFramework.Core.Domain.Playbooks.PlaybookEntity", b => + modelBuilder.Entity("Goodtocode.AgentStart.Core.Domain.Playbooks.PlaybookEntity", b => { b.Navigation("Steps"); }); diff --git a/src/Infrastructure.SqlServer/Persistence/AgentFrameworkContext.cs b/src/Infrastructure.SqlServer/Persistence/ApplicationDbContext.cs similarity index 79% rename from src/Infrastructure.SqlServer/Persistence/AgentFrameworkContext.cs rename to src/Infrastructure.SqlServer/Persistence/ApplicationDbContext.cs index 24c274c..730e310 100644 --- a/src/Infrastructure.SqlServer/Persistence/AgentFrameworkContext.cs +++ b/src/Infrastructure.SqlServer/Persistence/ApplicationDbContext.cs @@ -1,16 +1,16 @@ using System.Reflection; -using Goodtocode.AgentFramework.Core.Application.Abstractions; -using Goodtocode.AgentFramework.Core.Domain.Actors; -using Goodtocode.AgentFramework.Core.Domain.Chats; -using Goodtocode.AgentFramework.Core.Domain.Common; -using Goodtocode.AgentFramework.Core.Domain.Governance; -using Goodtocode.AgentFramework.Core.Domain.Playbooks; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Entities; +using Goodtocode.AgentStart.Core.Application.Abstractions; +using Goodtocode.AgentStart.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Domain.Common; +using Goodtocode.AgentStart.Core.Domain.Governance; +using Goodtocode.AgentStart.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Entities; using Microsoft.EntityFrameworkCore.ChangeTracking; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence; -public class AgentFrameworkContext : DbContext, IAgentFrameworkContext +public class ApplicationDbContext : DbContext, IApplicationDbContext { private readonly IRlsContext? CurrentRlsContext; @@ -24,10 +24,10 @@ public class AgentFrameworkContext : DbContext, IAgentFrameworkContext public DbSet PlaybookSteps => Set(); public DbSet PlaybookExecutions => Set(); - protected AgentFrameworkContext() { } + protected ApplicationDbContext() { } - public AgentFrameworkContext( - DbContextOptions options, + public ApplicationDbContext( + DbContextOptions options, IRlsContext currentRlsContext) : base(options) { CurrentRlsContext = currentRlsContext; diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/ActorsConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/ActorsConfig.cs index 782e4af..ab259e9 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/ActorsConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/ActorsConfig.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Configurations; public class ActorsConfig : IEntityTypeConfiguration { diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatGovernanceConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatGovernanceConfig.cs index 07fab9f..0727d45 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatGovernanceConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatGovernanceConfig.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Governance; +using Goodtocode.AgentStart.Core.Domain.Governance; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Configurations; public class ChatGovernanceConfig : IEntityTypeConfiguration { diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatMessagesConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatMessagesConfig.cs index 191d86f..16d3c8a 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatMessagesConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatMessagesConfig.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Configurations; public class ChatMessagesConfig : IEntityTypeConfiguration { diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatSessionsConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatSessionsConfig.cs index e1cd0e9..e211e41 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatSessionsConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatSessionsConfig.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Configurations; public class ChatSessionsConfig : IEntityTypeConfiguration { diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/IntentEmbeddingConfiguration.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/IntentEmbeddingConfiguration.cs index 1cf49cc..9c1aae7 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/IntentEmbeddingConfiguration.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/IntentEmbeddingConfiguration.cs @@ -1,8 +1,8 @@ using System.Text.Json; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Entities; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Entities; using Microsoft.EntityFrameworkCore.ChangeTracking; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Configurations; /// /// EF Core entity configuration for . diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybookExecutionsConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybookExecutionsConfig.cs index efd75dc..e256e05 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybookExecutionsConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybookExecutionsConfig.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Configurations; public class PlaybookExecutionsConfig : IEntityTypeConfiguration { diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybookStepsConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybookStepsConfig.cs index fe380c2..d5e0053 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybookStepsConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybookStepsConfig.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Configurations; public class PlaybookStepsConfig : IEntityTypeConfiguration { diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybooksConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybooksConfig.cs index 12ebbe0..5d46a88 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybooksConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/PlaybooksConfig.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Configurations; public class PlaybooksConfig : IEntityTypeConfiguration { diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/RequestIdempotencyConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/RequestIdempotencyConfig.cs index a99fe84..e29bc05 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/RequestIdempotencyConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/RequestIdempotencyConfig.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Common; +using Goodtocode.AgentStart.Core.Domain.Common; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Configurations; public sealed class RequestIdempotencyConfig : IEntityTypeConfiguration { diff --git a/src/Infrastructure.SqlServer/Persistence/Entities/IntentEmbeddingEntity.cs b/src/Infrastructure.SqlServer/Persistence/Entities/IntentEmbeddingEntity.cs index 252aa7b..c6177ee 100644 --- a/src/Infrastructure.SqlServer/Persistence/Entities/IntentEmbeddingEntity.cs +++ b/src/Infrastructure.SqlServer/Persistence/Entities/IntentEmbeddingEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Entities; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence.Entities; /// /// EF Core entity representing a single intent embedding vector stored in SQL Server. diff --git a/src/Infrastructure.SqlServer/Playbooks/SqlServerDatabaseStatisticsProvider.cs b/src/Infrastructure.SqlServer/Playbooks/SqlServerDatabaseStatisticsProvider.cs index 3bb8370..d0aa5b7 100644 --- a/src/Infrastructure.SqlServer/Playbooks/SqlServerDatabaseStatisticsProvider.cs +++ b/src/Infrastructure.SqlServer/Playbooks/SqlServerDatabaseStatisticsProvider.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence; using Microsoft.Data.SqlClient; -namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Playbooks; +namespace Goodtocode.AgentStart.Infrastructure.SqlServer.Playbooks; /// /// SQL Server-specific implementation of : queries the @@ -10,9 +10,9 @@ namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Playbooks; /// involvement; this is the Collect-stage data source for the SQL Statistics Classification /// example playbook. /// -public sealed class SqlServerDatabaseStatisticsProvider(AgentFrameworkContext context) : ISqlDatabaseStatisticsProvider +public sealed class SqlServerDatabaseStatisticsProvider(ApplicationDbContext context) : ISqlDatabaseStatisticsProvider { - private readonly AgentFrameworkContext _context = context; + private readonly ApplicationDbContext _context = context; public async Task GetStatisticsAsync(string databaseName, CancellationToken cancellationToken) { diff --git a/src/Presentation.Api/Common/ApiResponseMapper.cs b/src/Presentation.Api/Common/ApiResponseMapper.cs index 6bb6c68..de38645 100644 --- a/src/Presentation.Api/Common/ApiResponseMapper.cs +++ b/src/Presentation.Api/Common/ApiResponseMapper.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Api.Common; +namespace Goodtocode.AgentStart.Presentation.Api.Common; /// /// Maps application-layer query and command results to consistent HTTP API responses. diff --git a/src/Presentation.Api/Common/Auth/HttpClaimsReader.cs b/src/Presentation.Api/Common/Auth/HttpClaimsReader.cs index 35c882d..17a8390 100644 --- a/src/Presentation.Api/Common/Auth/HttpClaimsReader.cs +++ b/src/Presentation.Api/Common/Auth/HttpClaimsReader.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Api.Common.Auth; +namespace Goodtocode.AgentStart.Presentation.Api.Common.Auth; /// /// Infrastructure implementation that reads user claims from the current HTTP request context. diff --git a/src/Presentation.Api/Common/Auth/InjectUserContextBehavior.cs b/src/Presentation.Api/Common/Auth/InjectUserContextBehavior.cs index 77d6a0c..079c705 100644 --- a/src/Presentation.Api/Common/Auth/InjectUserContextBehavior.cs +++ b/src/Presentation.Api/Common/Auth/InjectUserContextBehavior.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Api.Common.Auth; +namespace Goodtocode.AgentStart.Presentation.Api.Common.Auth; /// /// Pipeline behavior that automatically injects authenticated user context into requests diff --git a/src/Presentation.Api/Common/Exceptions/ApiExceptionHandler.cs b/src/Presentation.Api/Common/Exceptions/ApiExceptionHandler.cs index 9f15f17..a520ea8 100644 --- a/src/Presentation.Api/Common/Exceptions/ApiExceptionHandler.cs +++ b/src/Presentation.Api/Common/Exceptions/ApiExceptionHandler.cs @@ -1,6 +1,6 @@ using System.ClientModel; -namespace Goodtocode.AgentFramework.Presentation.Api.Common.Exceptions; +namespace Goodtocode.AgentStart.Presentation.Api.Common.Exceptions; /// /// Handles unhandled API exceptions and maps them to HTTP problem responses. diff --git a/src/Presentation.Api/Common/Exceptions/ApiExceptionHandlingExtensions.cs b/src/Presentation.Api/Common/Exceptions/ApiExceptionHandlingExtensions.cs index cf4104f..56eb227 100644 --- a/src/Presentation.Api/Common/Exceptions/ApiExceptionHandlingExtensions.cs +++ b/src/Presentation.Api/Common/Exceptions/ApiExceptionHandlingExtensions.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Api.Common.Exceptions; +namespace Goodtocode.AgentStart.Presentation.Api.Common.Exceptions; /// /// Provides service registration helpers for API exception handling. diff --git a/src/Presentation.Api/ConfigureServices.cs b/src/Presentation.Api/ConfigureServices.cs index d783ab6..505fb6a 100644 --- a/src/Presentation.Api/ConfigureServices.cs +++ b/src/Presentation.Api/ConfigureServices.cs @@ -1,6 +1,6 @@ using Microsoft.OpenApi; -namespace Goodtocode.AgentFramework.Presentation.Api; +namespace Goodtocode.AgentStart.Presentation.Api; /// /// Presentation Layer WebApi Configuration @@ -112,7 +112,7 @@ private static OpenApiInfo CreateVersionInfo(ApiVersionDescription description) { var info = new OpenApiInfo { - Title = $"Quick-start for Microsoft Agent Framework API ({Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")})", + Title = $"AgentStart API ({Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")})", Version = description.ApiVersion.ToString(), Description = "An API to interact with this application", Contact = new OpenApiContact diff --git a/src/Presentation.Api/ConfigureServicesAuth.cs b/src/Presentation.Api/ConfigureServicesAuth.cs index 97ced02..c142195 100644 --- a/src/Presentation.Api/ConfigureServicesAuth.cs +++ b/src/Presentation.Api/ConfigureServicesAuth.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Presentation.Api.Common.Auth; -using Goodtocode.AgentFramework.Presentation.Api.Options; +using Goodtocode.AgentStart.Presentation.Api.Common.Auth; +using Goodtocode.AgentStart.Presentation.Api.Options; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Identity.Web; -namespace Goodtocode.AgentFramework.Presentation.Api; +namespace Goodtocode.AgentStart.Presentation.Api; /// /// Presentation Layer WebApi Authentication Configuration diff --git a/src/Presentation.Api/ConfigureServicesTelemetry.cs b/src/Presentation.Api/ConfigureServicesTelemetry.cs index 63c9ad3..990ef0d 100644 --- a/src/Presentation.Api/ConfigureServicesTelemetry.cs +++ b/src/Presentation.Api/ConfigureServicesTelemetry.cs @@ -1,10 +1,10 @@ using Azure.Monitor.OpenTelemetry.AspNetCore; using Azure.Monitor.OpenTelemetry.Exporter; -using Goodtocode.AgentFramework.Presentation.Api.Options; +using Goodtocode.AgentStart.Presentation.Api.Options; using OpenTelemetry.Metrics; using OpenTelemetry.Trace; -namespace Goodtocode.AgentFramework.Presentation.Api; +namespace Goodtocode.AgentStart.Presentation.Api; /// /// Presentation Layer telemetry configuration diff --git a/src/Presentation.Api/Endpoints/Actors/MyActorEndpoints.cs b/src/Presentation.Api/Endpoints/Actors/MyActorEndpoints.cs index 3ae1875..54c6ded 100644 --- a/src/Presentation.Api/Endpoints/Actors/MyActorEndpoints.cs +++ b/src/Presentation.Api/Endpoints/Actors/MyActorEndpoints.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Actors; +using Goodtocode.AgentStart.Core.Application.Actors; -namespace Goodtocode.AgentFramework.Presentation.Api.Endpoints.Actors; +namespace Goodtocode.AgentStart.Presentation.Api.Endpoints.Actors; /// /// Maps identity actor endpoints. diff --git a/src/Presentation.Api/Endpoints/Chats/MyChatMessageEndpoints.cs b/src/Presentation.Api/Endpoints/Chats/MyChatMessageEndpoints.cs index d5d711e..5440a02 100644 --- a/src/Presentation.Api/Endpoints/Chats/MyChatMessageEndpoints.cs +++ b/src/Presentation.Api/Endpoints/Chats/MyChatMessageEndpoints.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Application.Common.Idempotency; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Common.Idempotency; -namespace Goodtocode.AgentFramework.Presentation.Api.Endpoints.Chats; +namespace Goodtocode.AgentStart.Presentation.Api.Endpoints.Chats; /// /// Maps chat message endpoints. diff --git a/src/Presentation.Api/Endpoints/Chats/MyChatSessionEndpoints.cs b/src/Presentation.Api/Endpoints/Chats/MyChatSessionEndpoints.cs index 52551de..63a3576 100644 --- a/src/Presentation.Api/Endpoints/Chats/MyChatSessionEndpoints.cs +++ b/src/Presentation.Api/Endpoints/Chats/MyChatSessionEndpoints.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; -using Goodtocode.AgentFramework.Core.Application.Common.Idempotency; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Core.Application.Common.Idempotency; -namespace Goodtocode.AgentFramework.Presentation.Api.Endpoints.Chats; +namespace Goodtocode.AgentStart.Presentation.Api.Endpoints.Chats; /// /// Maps chat session endpoints. diff --git a/src/Presentation.Api/Endpoints/EndpointMap.cs b/src/Presentation.Api/Endpoints/EndpointMap.cs index 8519eb8..f90f06c 100644 --- a/src/Presentation.Api/Endpoints/EndpointMap.cs +++ b/src/Presentation.Api/Endpoints/EndpointMap.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Presentation.Api.Endpoints.Actors; -using Goodtocode.AgentFramework.Presentation.Api.Endpoints.Chats; -using Goodtocode.AgentFramework.Presentation.Api.Endpoints.Playbooks; +using Goodtocode.AgentStart.Presentation.Api.Endpoints.Actors; +using Goodtocode.AgentStart.Presentation.Api.Endpoints.Chats; +using Goodtocode.AgentStart.Presentation.Api.Endpoints.Playbooks; -namespace Goodtocode.AgentFramework.Presentation.Api.Endpoints; +namespace Goodtocode.AgentStart.Presentation.Api.Endpoints; /// /// Maps all minimal API endpoint groups for the Presentation API. diff --git a/src/Presentation.Api/Endpoints/Playbooks/MyPlaybookEndpoints.cs b/src/Presentation.Api/Endpoints/Playbooks/MyPlaybookEndpoints.cs index 825f77e..35cded7 100644 --- a/src/Presentation.Api/Endpoints/Playbooks/MyPlaybookEndpoints.cs +++ b/src/Presentation.Api/Endpoints/Playbooks/MyPlaybookEndpoints.cs @@ -1,10 +1,10 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Persistence; -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Core.Application.Playbooks.Persistence; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; -namespace Goodtocode.AgentFramework.Presentation.Api.Endpoints.Playbooks; +namespace Goodtocode.AgentStart.Presentation.Api.Endpoints.Playbooks; /// /// Maps the three example Playbook "run" endpoints (SQL Statistics, Taxonomy, Essay). Each takes diff --git a/src/Presentation.Api/Endpoints/Playbooks/PlaybookCatalogEndpoints.cs b/src/Presentation.Api/Endpoints/Playbooks/PlaybookCatalogEndpoints.cs index b2e2263..8ba8f9c 100644 --- a/src/Presentation.Api/Endpoints/Playbooks/PlaybookCatalogEndpoints.cs +++ b/src/Presentation.Api/Endpoints/Playbooks/PlaybookCatalogEndpoints.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Domain.Playbooks; -namespace Goodtocode.AgentFramework.Presentation.Api.Endpoints.Playbooks; +namespace Goodtocode.AgentStart.Presentation.Api.Endpoints.Playbooks; /// /// Maps the Playbook catalog CRUD endpoints: query, create, update, and delete a Playbook and its diff --git a/src/Presentation.Api/Generate-NswagClientCode.json b/src/Presentation.Api/Generate-NswagClientCode.json index 49e0c38..3630724 100644 --- a/src/Presentation.Api/Generate-NswagClientCode.json +++ b/src/Presentation.Api/Generate-NswagClientCode.json @@ -59,7 +59,7 @@ "wrapResponseMethods": [], "generateResponseClasses": true, "responseClass": "SwaggerResponse", - "namespace": "Goodtocode.AgentFramework.Api.Clients", + "namespace": "Goodtocode.AgentStart.Api.Clients", "requiredPropertiesMustBeDefined": true, "dateType": "System.DateTimeOffset", "jsonConverters": null, diff --git a/src/Presentation.Api/Generate-NswagClientCode.ps1 b/src/Presentation.Api/Generate-NswagClientCode.ps1 index 7c8b791..9cebd9c 100644 --- a/src/Presentation.Api/Generate-NswagClientCode.ps1 +++ b/src/Presentation.Api/Generate-NswagClientCode.ps1 @@ -11,10 +11,10 @@ param ( [string]$SwaggerJsonPath = 'swagger', - [string]$ApiAssembly = 'Goodtocode.AgentFramework.Presentation.Api.dll', + [string]$ApiAssembly = 'Goodtocode.AgentStart.Presentation.Api.dll', [string]$ApiVersion = 'v1', - [string]$ClientPathFile = '../Goodtocode.AgentFramework.Web/Infrastructure/Clients/BackendApiClient.g.cs', - [string]$ClientNamespace = 'Goodtocode.AgentFramework.Web', + [string]$ClientPathFile = '../Presentation.Web/Infrastructure/Clients/BackendApiClient.g.cs', + [string]$ClientNamespace = 'Goodtocode.AgentStart.Api.Clients', [string]$Configuration = 'Debug', [string]$TargetFramework = 'net10.0', [switch]$SkipBuildRestore diff --git a/src/Presentation.Api/GlobalUsings.cs b/src/Presentation.Api/GlobalUsings.cs index 7f6e897..6a4186a 100644 --- a/src/Presentation.Api/GlobalUsings.cs +++ b/src/Presentation.Api/GlobalUsings.cs @@ -1,10 +1,10 @@ global using Asp.Versioning; global using Asp.Versioning.ApiExplorer; global using Asp.Versioning.Builder; -global using Goodtocode.AgentFramework.Core.Application.Common.Auth; -global using Goodtocode.AgentFramework.Core.Application.Common.Exceptions; -global using Goodtocode.AgentFramework.Core.Application.Common.Models; -global using Goodtocode.AgentFramework.Presentation.Api.Common; +global using Goodtocode.AgentStart.Core.Application.Common.Auth; +global using Goodtocode.AgentStart.Core.Application.Common.Exceptions; +global using Goodtocode.AgentStart.Core.Application.Common.Models; +global using Goodtocode.AgentStart.Presentation.Api.Common; global using Goodtocode.Mediator; global using Goodtocode.Validation; global using Microsoft.AspNetCore.Diagnostics; diff --git a/src/Presentation.Api/Options/ApplicationInsightsOptions.cs b/src/Presentation.Api/Options/ApplicationInsightsOptions.cs index ffdae27..f1b3be2 100644 --- a/src/Presentation.Api/Options/ApplicationInsightsOptions.cs +++ b/src/Presentation.Api/Options/ApplicationInsightsOptions.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Api.Options; +namespace Goodtocode.AgentStart.Presentation.Api.Options; /// /// Application Insights (Azure Monitor) settings. The section is required; the connection string may be empty. diff --git a/src/Presentation.Api/Options/EntraExternalIdApiOptions.cs b/src/Presentation.Api/Options/EntraExternalIdApiOptions.cs index 67455bd..80901f6 100644 --- a/src/Presentation.Api/Options/EntraExternalIdApiOptions.cs +++ b/src/Presentation.Api/Options/EntraExternalIdApiOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Presentation.Api.Options; +namespace Goodtocode.AgentStart.Presentation.Api.Options; /// /// Configuration values for API-side Entra External ID token validation. diff --git a/src/Presentation.Api/Presentation.Api.csproj b/src/Presentation.Api/Presentation.Api.csproj index 880cb36..149424f 100644 --- a/src/Presentation.Api/Presentation.Api.csproj +++ b/src/Presentation.Api/Presentation.Api.csproj @@ -1,7 +1,7 @@  - Goodtocode.AgentFramework.Presentation.Api - Goodtocode.AgentFramework.Presentation.Api + Goodtocode.AgentStart.Presentation.Api + Goodtocode.AgentStart.Presentation.Api 1.0.0 net10.0 enable diff --git a/src/Presentation.Api/Program.cs b/src/Presentation.Api/Program.cs index fb08552..dc10b2d 100644 --- a/src/Presentation.Api/Program.cs +++ b/src/Presentation.Api/Program.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Core.Application; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework; -using Goodtocode.AgentFramework.Infrastructure.SqlServer; -using Goodtocode.AgentFramework.Presentation.Api; -using Goodtocode.AgentFramework.Presentation.Api.Common.Exceptions; -using Goodtocode.AgentFramework.Presentation.Api.Endpoints; +using Goodtocode.AgentStart.Core.Application; +using Goodtocode.AgentStart.Infrastructure.AgentFramework; +using Goodtocode.AgentStart.Infrastructure.SqlServer; +using Goodtocode.AgentStart.Presentation.Api; +using Goodtocode.AgentStart.Presentation.Api.Common.Exceptions; +using Goodtocode.AgentStart.Presentation.Api.Endpoints; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Presentation.Api/appsettings.local.json b/src/Presentation.Api/appsettings.local.json index 2f705d5..9f84f29 100644 --- a/src/Presentation.Api/appsettings.local.json +++ b/src/Presentation.Api/appsettings.local.json @@ -10,7 +10,7 @@ "ConnectionString": "InstrumentationKey=f4ad3bcf-ee0a-4f14-97ec-0be166a3954e;IngestionEndpoint=https://westus2-2.in.applicationinsights.azure.com/;LiveEndpoint=https://westus2.livediagnostics.monitor.azure.com/;ApplicationId=eca9128d-eefe-4a5b-85ed-8df47a1d3ad8" }, "ConnectionStrings": { - "DefaultConnection": "Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=AgentFramework;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" + "DefaultConnection": "Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=AgentStart;Min Pool Size=3;MultipleActiveResultSets=True;Trusted_Connection=Yes;TrustServerCertificate=True;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" }, "AllowedHosts": "*", "EntraExternalId": { diff --git a/src/Presentation.Web/ConfigureServices.cs b/src/Presentation.Web/ConfigureServices.cs index 79ddd99..f92e873 100644 --- a/src/Presentation.Web/ConfigureServices.cs +++ b/src/Presentation.Web/ConfigureServices.cs @@ -1,16 +1,16 @@ using System.Reflection; -using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Auth; -using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Storage; -using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services; -using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Formatting; -using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Services; +using Goodtocode.AgentStart.Presentation.Web.Infrastructure.Auth; +using Goodtocode.AgentStart.Presentation.Web.Infrastructure.Storage; +using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Services; +using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Formatting; +using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Services; using Microsoft.Extensions.Options; using Microsoft.FluentUI.AspNetCore.Components; -using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Services; -using Goodtocode.AgentFramework.Presentation.Web.Library.Auth; -using Goodtocode.AgentFramework.Presentation.Web.Options; +using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Services; +using Goodtocode.AgentStart.Presentation.Web.Library.Auth; +using Goodtocode.AgentStart.Presentation.Web.Options; -namespace Goodtocode.AgentFramework.Presentation.Web; +namespace Goodtocode.AgentStart.Presentation.Web; public static class ConfigureServices { diff --git a/src/Presentation.Web/ConfigureServicesAuth.cs b/src/Presentation.Web/ConfigureServicesAuth.cs index c15e2dc..5c01964 100644 --- a/src/Presentation.Web/ConfigureServicesAuth.cs +++ b/src/Presentation.Web/ConfigureServicesAuth.cs @@ -1,12 +1,12 @@ -using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Middleware; -using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Services; -using Goodtocode.AgentFramework.Presentation.Web.Options; +using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Middleware; +using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Services; +using Goodtocode.AgentStart.Presentation.Web.Options; using Goodtocode.SecuredHttpClient.Middleware; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.Extensions.Http.Resilience; using Microsoft.Identity.Web; -namespace Goodtocode.AgentFramework.Presentation.Web; +namespace Goodtocode.AgentStart.Presentation.Web; public static class ConfigureServicesAuth { diff --git a/src/Presentation.Web/ConfigureServicesTelemetry.cs b/src/Presentation.Web/ConfigureServicesTelemetry.cs index a6e5ae7..efb6bc2 100644 --- a/src/Presentation.Web/ConfigureServicesTelemetry.cs +++ b/src/Presentation.Web/ConfigureServicesTelemetry.cs @@ -1,11 +1,11 @@ using Azure.Monitor.OpenTelemetry.AspNetCore; using Azure.Monitor.OpenTelemetry.Exporter; -using Goodtocode.AgentFramework.Presentation.Web.Options; +using Goodtocode.AgentStart.Presentation.Web.Options; using Microsoft.Extensions.Options; using OpenTelemetry.Metrics; using OpenTelemetry.Trace; -namespace Goodtocode.AgentFramework.Presentation.Web; +namespace Goodtocode.AgentStart.Presentation.Web; /// /// Presentation Layer telemetry configuration diff --git a/src/Presentation.Web/Features/Chats/ChatPage.razor b/src/Presentation.Web/Features/Chats/ChatPage.razor index 0811704..b633f11 100644 --- a/src/Presentation.Web/Features/Chats/ChatPage.razor +++ b/src/Presentation.Web/Features/Chats/ChatPage.razor @@ -1,9 +1,9 @@ @page "/chat" -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Components -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services -@using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Services +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Components +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Services +@using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Services @using Microsoft.AspNetCore.Authorization @using Microsoft.AspNetCore.Components.Authorization @using Microsoft.JSInterop diff --git a/src/Presentation.Web/Features/Chats/Components/ChatActionStrip.razor b/src/Presentation.Web/Features/Chats/Components/ChatActionStrip.razor index 3b7a485..9266f99 100644 --- a/src/Presentation.Web/Features/Chats/Components/ChatActionStrip.razor +++ b/src/Presentation.Web/Features/Chats/Components/ChatActionStrip.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models @if (Actions.Count > 0) { diff --git a/src/Presentation.Web/Features/Chats/Components/ChatMessageList.razor b/src/Presentation.Web/Features/Chats/Components/ChatMessageList.razor index 674b103..255e124 100644 --- a/src/Presentation.Web/Features/Chats/Components/ChatMessageList.razor +++ b/src/Presentation.Web/Features/Chats/Components/ChatMessageList.razor @@ -1,6 +1,6 @@ @using System.Text.RegularExpressions -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Formatting -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Formatting +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models @using Microsoft.AspNetCore.Components @inject IChatMessageFormatter ChatMessageFormatter diff --git a/src/Presentation.Web/Features/Chats/Components/ChatSessionList.razor b/src/Presentation.Web/Features/Chats/Components/ChatSessionList.razor index 040a09e..35a7fdd 100644 --- a/src/Presentation.Web/Features/Chats/Components/ChatSessionList.razor +++ b/src/Presentation.Web/Features/Chats/Components/ChatSessionList.razor @@ -1,6 +1,6 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services -@using Goodtocode.AgentFramework.Presentation.Web.Library.Skeleton +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Services +@using Goodtocode.AgentStart.Presentation.Web.Library.Skeleton @inject IChatService chatService diff --git a/src/Presentation.Web/Features/Chats/Components/ChatSessionStrip.razor b/src/Presentation.Web/Features/Chats/Components/ChatSessionStrip.razor index 4557ff9..55e78cb 100644 --- a/src/Presentation.Web/Features/Chats/Components/ChatSessionStrip.razor +++ b/src/Presentation.Web/Features/Chats/Components/ChatSessionStrip.razor @@ -1,6 +1,6 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services -@using Goodtocode.AgentFramework.Presentation.Web.Library.Skeleton +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Services +@using Goodtocode.AgentStart.Presentation.Web.Library.Skeleton @inject IChatService chatService diff --git a/src/Presentation.Web/Features/Chats/Components/NewChatMessageCard.razor b/src/Presentation.Web/Features/Chats/Components/NewChatMessageCard.razor index f1bea98..a53fb8c 100644 --- a/src/Presentation.Web/Features/Chats/Components/NewChatMessageCard.razor +++ b/src/Presentation.Web/Features/Chats/Components/NewChatMessageCard.razor @@ -1,6 +1,6 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services -@using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Http +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Services +@using Goodtocode.AgentStart.Presentation.Web.Infrastructure.Http @inject IChatService chatService diff --git a/src/Presentation.Web/Features/Chats/Components/NewChatMessageInput.razor b/src/Presentation.Web/Features/Chats/Components/NewChatMessageInput.razor index c0b4758..a7f0fcb 100644 --- a/src/Presentation.Web/Features/Chats/Components/NewChatMessageInput.razor +++ b/src/Presentation.Web/Features/Chats/Components/NewChatMessageInput.razor @@ -1,6 +1,6 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services -@using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Http +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Services +@using Goodtocode.AgentStart.Presentation.Web.Infrastructure.Http @inject IChatService chatService diff --git a/src/Presentation.Web/Features/Chats/Formatting/IChatMessageFormatter.cs b/src/Presentation.Web/Features/Chats/Formatting/IChatMessageFormatter.cs index 79ce009..20ba0e2 100644 --- a/src/Presentation.Web/Features/Chats/Formatting/IChatMessageFormatter.cs +++ b/src/Presentation.Web/Features/Chats/Formatting/IChatMessageFormatter.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Formatting; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Chats.Formatting; public interface IChatMessageFormatter { diff --git a/src/Presentation.Web/Features/Chats/Formatting/MarkdownChatMessageFormatter.cs b/src/Presentation.Web/Features/Chats/Formatting/MarkdownChatMessageFormatter.cs index f520989..ef6c083 100644 --- a/src/Presentation.Web/Features/Chats/Formatting/MarkdownChatMessageFormatter.cs +++ b/src/Presentation.Web/Features/Chats/Formatting/MarkdownChatMessageFormatter.cs @@ -1,7 +1,7 @@ using System.Text.RegularExpressions; using Markdig; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Formatting; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Chats.Formatting; public sealed partial class MarkdownChatMessageFormatter : IChatMessageFormatter { diff --git a/src/Presentation.Web/Features/Chats/Models/ChatJourneyStepModel.cs b/src/Presentation.Web/Features/Chats/Models/ChatJourneyStepModel.cs index f96c7c6..d113c64 100644 --- a/src/Presentation.Web/Features/Chats/Models/ChatJourneyStepModel.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatJourneyStepModel.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models; /// /// The customer's current position in the chat journey: suggested prompts that start or continue diff --git a/src/Presentation.Web/Features/Chats/Models/ChatMessageModel.cs b/src/Presentation.Web/Features/Chats/Models/ChatMessageModel.cs index f67ba4c..c4cd76c 100644 --- a/src/Presentation.Web/Features/Chats/Models/ChatMessageModel.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatMessageModel.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models; public class ChatMessageModel { diff --git a/src/Presentation.Web/Features/Chats/Models/ChatSelectionOption.cs b/src/Presentation.Web/Features/Chats/Models/ChatSelectionOption.cs index aeb747e..e5ac08a 100644 --- a/src/Presentation.Web/Features/Chats/Models/ChatSelectionOption.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatSelectionOption.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models; public sealed class ChatSelectionOption { diff --git a/src/Presentation.Web/Features/Chats/Models/ChatSessionModel.cs b/src/Presentation.Web/Features/Chats/Models/ChatSessionModel.cs index 5ddf1f4..f9f532b 100644 --- a/src/Presentation.Web/Features/Chats/Models/ChatSessionModel.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatSessionModel.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models; public class ChatSessionModel : INotifyPropertyChanged { diff --git a/src/Presentation.Web/Features/Chats/Models/ChatSessionTreeViewItem.cs b/src/Presentation.Web/Features/Chats/Models/ChatSessionTreeViewItem.cs index 1d0ab67..80a9471 100644 --- a/src/Presentation.Web/Features/Chats/Models/ChatSessionTreeViewItem.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatSessionTreeViewItem.cs @@ -1,6 +1,6 @@ using Microsoft.FluentUI.AspNetCore.Components; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models +namespace Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models { public class ChatSessionTreeViewItem(ChatSessionModel session) : ITreeViewItem { diff --git a/src/Presentation.Web/Features/Chats/Models/ChatSessionsModel.cs b/src/Presentation.Web/Features/Chats/Models/ChatSessionsModel.cs index 6f3f9f9..d195cf4 100644 --- a/src/Presentation.Web/Features/Chats/Models/ChatSessionsModel.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatSessionsModel.cs @@ -1,7 +1,7 @@ using System.Collections.ObjectModel; using System.ComponentModel; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models; public class ChatSessionsModel : Collection { diff --git a/src/Presentation.Web/Features/Chats/Services/ChatService.cs b/src/Presentation.Web/Features/Chats/Services/ChatService.cs index da15f59..5fe8f79 100644 --- a/src/Presentation.Web/Features/Chats/Services/ChatService.cs +++ b/src/Presentation.Web/Features/Chats/Services/ChatService.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Http; -using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; -using Goodtocode.AgentFramework.Presentation.Web.Library.Auth; +using Goodtocode.AgentStart.Presentation.Web.Infrastructure.Http; +using Goodtocode.AgentStart.Presentation.Web.Features.Chats.Models; +using Goodtocode.AgentStart.Presentation.Web.Library.Auth; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Chats.Services; public interface IChatService { diff --git a/src/Presentation.Web/Features/Playbooks/Components/PlaybookOverviewCard.razor b/src/Presentation.Web/Features/Playbooks/Components/PlaybookOverviewCard.razor index ab9a9fe..cc0775a 100644 --- a/src/Presentation.Web/Features/Playbooks/Components/PlaybookOverviewCard.razor +++ b/src/Presentation.Web/Features/Playbooks/Components/PlaybookOverviewCard.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models diff --git a/src/Presentation.Web/Features/Playbooks/Components/PlaybookReplayControls.razor b/src/Presentation.Web/Features/Playbooks/Components/PlaybookReplayControls.razor index 772f147..4dac528 100644 --- a/src/Presentation.Web/Features/Playbooks/Components/PlaybookReplayControls.razor +++ b/src/Presentation.Web/Features/Playbooks/Components/PlaybookReplayControls.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models diff --git a/src/Presentation.Web/Features/Playbooks/Components/PlaybookResultPanel.razor b/src/Presentation.Web/Features/Playbooks/Components/PlaybookResultPanel.razor index 2dd2595..e735698 100644 --- a/src/Presentation.Web/Features/Playbooks/Components/PlaybookResultPanel.razor +++ b/src/Presentation.Web/Features/Playbooks/Components/PlaybookResultPanel.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models diff --git a/src/Presentation.Web/Features/Playbooks/Components/PlaybookStepDetail.razor b/src/Presentation.Web/Features/Playbooks/Components/PlaybookStepDetail.razor index ca15232..3cdc930 100644 --- a/src/Presentation.Web/Features/Playbooks/Components/PlaybookStepDetail.razor +++ b/src/Presentation.Web/Features/Playbooks/Components/PlaybookStepDetail.razor @@ -1,5 +1,5 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Formatting -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Formatting +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models diff --git a/src/Presentation.Web/Features/Playbooks/Components/PlaybookStepToggle.razor b/src/Presentation.Web/Features/Playbooks/Components/PlaybookStepToggle.razor index 6b7539b..f1cb265 100644 --- a/src/Presentation.Web/Features/Playbooks/Components/PlaybookStepToggle.razor +++ b/src/Presentation.Web/Features/Playbooks/Components/PlaybookStepToggle.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models
@foreach (var step in Steps) diff --git a/src/Presentation.Web/Features/Playbooks/Components/PlaybookSummaryCard.razor b/src/Presentation.Web/Features/Playbooks/Components/PlaybookSummaryCard.razor index aa17f19..85fa93e 100644 --- a/src/Presentation.Web/Features/Playbooks/Components/PlaybookSummaryCard.razor +++ b/src/Presentation.Web/Features/Playbooks/Components/PlaybookSummaryCard.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models diff --git a/src/Presentation.Web/Features/Playbooks/EssayPlaybookPage.razor b/src/Presentation.Web/Features/Playbooks/EssayPlaybookPage.razor index 7750697..e1541d0 100644 --- a/src/Presentation.Web/Features/Playbooks/EssayPlaybookPage.razor +++ b/src/Presentation.Web/Features/Playbooks/EssayPlaybookPage.razor @@ -1,8 +1,8 @@ @page "/playbooks/essay" -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Components -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Services +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Components +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Services @using Microsoft.AspNetCore.Authorization @attribute [Authorize] diff --git a/src/Presentation.Web/Features/Playbooks/Formatting/PlaybookDisplayTextFormatter.cs b/src/Presentation.Web/Features/Playbooks/Formatting/PlaybookDisplayTextFormatter.cs index 8929e30..e46e8a6 100644 --- a/src/Presentation.Web/Features/Playbooks/Formatting/PlaybookDisplayTextFormatter.cs +++ b/src/Presentation.Web/Features/Playbooks/Formatting/PlaybookDisplayTextFormatter.cs @@ -1,6 +1,6 @@ using System.Text.RegularExpressions; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Formatting; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Formatting; public static partial class PlaybookDisplayTextFormatter { diff --git a/src/Presentation.Web/Features/Playbooks/Models/PlaybookCatalogModel.cs b/src/Presentation.Web/Features/Playbooks/Models/PlaybookCatalogModel.cs index 783d53b..46dae09 100644 --- a/src/Presentation.Web/Features/Playbooks/Models/PlaybookCatalogModel.cs +++ b/src/Presentation.Web/Features/Playbooks/Models/PlaybookCatalogModel.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models; /// /// UI-facing projection of a PlaybookDto: the persisted, slow-moving catalog definition diff --git a/src/Presentation.Web/Features/Playbooks/Models/PlaybookCerStep.cs b/src/Presentation.Web/Features/Playbooks/Models/PlaybookCerStep.cs index 6e9eab0..5f55f81 100644 --- a/src/Presentation.Web/Features/Playbooks/Models/PlaybookCerStep.cs +++ b/src/Presentation.Web/Features/Playbooks/Models/PlaybookCerStep.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models; /// /// The three Playbook CER stages a user can toggle between in the result panel: Collect, diff --git a/src/Presentation.Web/Features/Playbooks/Models/PlaybookExecutionResultModel.cs b/src/Presentation.Web/Features/Playbooks/Models/PlaybookExecutionResultModel.cs index 049e024..11fb75d 100644 --- a/src/Presentation.Web/Features/Playbooks/Models/PlaybookExecutionResultModel.cs +++ b/src/Presentation.Web/Features/Playbooks/Models/PlaybookExecutionResultModel.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models; /// /// UI-facing projection of PlaybookExecutionResultDto, the shared shape every example diff --git a/src/Presentation.Web/Features/Playbooks/Models/PlaybookReplayMode.cs b/src/Presentation.Web/Features/Playbooks/Models/PlaybookReplayMode.cs index 7b2a1f1..42167d4 100644 --- a/src/Presentation.Web/Features/Playbooks/Models/PlaybookReplayMode.cs +++ b/src/Presentation.Web/Features/Playbooks/Models/PlaybookReplayMode.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models; /// /// UI-facing mirror of Goodtocode.Agents.Playbook.Execution.PlaybookReplayMode: which of diff --git a/src/Presentation.Web/Features/Playbooks/Services/PlaybookService.cs b/src/Presentation.Web/Features/Playbooks/Services/PlaybookService.cs index 739631f..fbfb948 100644 --- a/src/Presentation.Web/Features/Playbooks/Services/PlaybookService.cs +++ b/src/Presentation.Web/Features/Playbooks/Services/PlaybookService.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models; -using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Http; -using ClientReplayMode = Goodtocode.AgentFramework.Api.Clients.RepeatMode; -using UiReplayMode = Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models.PlaybookReplayMode; +using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models; +using Goodtocode.AgentStart.Presentation.Web.Infrastructure.Http; +using ClientReplayMode = Goodtocode.AgentStart.Api.Clients.RepeatMode; +using UiReplayMode = Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models.PlaybookReplayMode; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Services; +namespace Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Services; /// /// Runs the three example Playbooks (SQL Statistics, Taxonomy, Essay) through the shared diff --git a/src/Presentation.Web/Features/Playbooks/SqlStatisticsPlaybookPage.razor b/src/Presentation.Web/Features/Playbooks/SqlStatisticsPlaybookPage.razor index 942a16b..3da8a3b 100644 --- a/src/Presentation.Web/Features/Playbooks/SqlStatisticsPlaybookPage.razor +++ b/src/Presentation.Web/Features/Playbooks/SqlStatisticsPlaybookPage.razor @@ -1,8 +1,8 @@ @page "/playbooks/sql-statistics" -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Components -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Services +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Components +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Services @using Microsoft.AspNetCore.Authorization @attribute [Authorize] @@ -21,7 +21,7 @@ diff --git a/src/Presentation.Web/Features/Playbooks/TaxonomyPlaybookPage.razor b/src/Presentation.Web/Features/Playbooks/TaxonomyPlaybookPage.razor index 0ed4d02..d840ab5 100644 --- a/src/Presentation.Web/Features/Playbooks/TaxonomyPlaybookPage.razor +++ b/src/Presentation.Web/Features/Playbooks/TaxonomyPlaybookPage.razor @@ -1,8 +1,8 @@ @page "/playbooks/taxonomy" -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Components -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Playbooks.Services +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Components +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Models +@using Goodtocode.AgentStart.Presentation.Web.Features.Playbooks.Services @using Microsoft.AspNetCore.Authorization @attribute [Authorize] diff --git a/src/Presentation.Web/GlobalUsings.cs b/src/Presentation.Web/GlobalUsings.cs index cf1f1ff..f51b1ff 100644 --- a/src/Presentation.Web/GlobalUsings.cs +++ b/src/Presentation.Web/GlobalUsings.cs @@ -1 +1 @@ -global using Goodtocode.AgentFramework.Api.Clients; \ No newline at end of file +global using Goodtocode.AgentStart.Api.Clients; \ No newline at end of file diff --git a/src/Presentation.Web/Infrastructure/Auth/UserSyncService.cs b/src/Presentation.Web/Infrastructure/Auth/UserSyncService.cs index 81ca396..c594d87 100644 --- a/src/Presentation.Web/Infrastructure/Auth/UserSyncService.cs +++ b/src/Presentation.Web/Infrastructure/Auth/UserSyncService.cs @@ -1,10 +1,10 @@ using System.Security.Authentication; using System.Security.Claims; -using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Http; -using Goodtocode.AgentFramework.Presentation.Web.Library.Auth; -using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Services; +using Goodtocode.AgentStart.Presentation.Web.Infrastructure.Http; +using Goodtocode.AgentStart.Presentation.Web.Library.Auth; +using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Services; -namespace Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Auth; +namespace Goodtocode.AgentStart.Presentation.Web.Infrastructure.Auth; public class UserSyncService(BackendApiClient apiClient, IClaimsReader userInfo) : ApiService, IUserSyncService { diff --git a/src/Presentation.Web/Infrastructure/Clients/BackendApiClient.Idempotency.cs b/src/Presentation.Web/Infrastructure/Clients/BackendApiClient.Idempotency.cs index 9c4aea0..58b5d1d 100644 --- a/src/Presentation.Web/Infrastructure/Clients/BackendApiClient.Idempotency.cs +++ b/src/Presentation.Web/Infrastructure/Clients/BackendApiClient.Idempotency.cs @@ -1,6 +1,6 @@ using System.Text; -namespace Goodtocode.AgentFramework.Api.Clients; +namespace Goodtocode.AgentStart.Api.Clients; public partial class BackendApiClient { diff --git a/src/Presentation.Web/Infrastructure/Clients/BackendApiClient.g.cs b/src/Presentation.Web/Infrastructure/Clients/BackendApiClient.g.cs index 00dcae9..b2b7262 100644 --- a/src/Presentation.Web/Infrastructure/Clients/BackendApiClient.g.cs +++ b/src/Presentation.Web/Infrastructure/Clients/BackendApiClient.g.cs @@ -20,7 +20,7 @@ #pragma warning disable 8625 // Disable "CS8625 Cannot convert null literal to non-nullable reference type" #pragma warning disable 8765 // Disable "CS8765 Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes)." -namespace Goodtocode.AgentFramework.Api.Clients +namespace Goodtocode.AgentStart.Api.Clients { using System = global::System; diff --git a/src/Presentation.Web/Infrastructure/Http/ApiErrorMessage.cs b/src/Presentation.Web/Infrastructure/Http/ApiErrorMessage.cs index cd51ead..58210d2 100644 --- a/src/Presentation.Web/Infrastructure/Http/ApiErrorMessage.cs +++ b/src/Presentation.Web/Infrastructure/Http/ApiErrorMessage.cs @@ -1,7 +1,7 @@ using Polly.CircuitBreaker; using Polly.Timeout; -namespace Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Http; +namespace Goodtocode.AgentStart.Presentation.Web.Infrastructure.Http; /// /// Translates failures from Presentation.Api calls into messages that are safe to show to the user. diff --git a/src/Presentation.Web/Infrastructure/Http/ApiService.cs b/src/Presentation.Web/Infrastructure/Http/ApiService.cs index 7a85b76..d4ff890 100644 --- a/src/Presentation.Web/Infrastructure/Http/ApiService.cs +++ b/src/Presentation.Web/Infrastructure/Http/ApiService.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; using System.Text.Json; -namespace Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Http; +namespace Goodtocode.AgentStart.Presentation.Web.Infrastructure.Http; public abstract class ApiService { diff --git a/src/Presentation.Web/Infrastructure/Storage/LocalStorageService.cs b/src/Presentation.Web/Infrastructure/Storage/LocalStorageService.cs index 772c696..9b50970 100644 --- a/src/Presentation.Web/Infrastructure/Storage/LocalStorageService.cs +++ b/src/Presentation.Web/Infrastructure/Storage/LocalStorageService.cs @@ -1,6 +1,6 @@ using Microsoft.JSInterop; -namespace Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Storage; +namespace Goodtocode.AgentStart.Presentation.Web.Infrastructure.Storage; public static class LocalStorageFunctions { diff --git a/src/Presentation.Web/Library/Analytics/AnalyticsConsentBanner.razor b/src/Presentation.Web/Library/Analytics/AnalyticsConsentBanner.razor index 1cb0069..b6d1697 100644 --- a/src/Presentation.Web/Library/Analytics/AnalyticsConsentBanner.razor +++ b/src/Presentation.Web/Library/Analytics/AnalyticsConsentBanner.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Storage +@using Goodtocode.AgentStart.Presentation.Web.Infrastructure.Storage @inject ILocalStorageService LocalStorageService @inject NavigationManager Navigation diff --git a/src/Presentation.Web/Library/Auth/Components/UserProfile.razor b/src/Presentation.Web/Library/Auth/Components/UserProfile.razor index 1a32a7a..f1fb1bf 100644 --- a/src/Presentation.Web/Library/Auth/Components/UserProfile.razor +++ b/src/Presentation.Web/Library/Auth/Components/UserProfile.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Routing +@using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Routing @using Microsoft.AspNetCore.Components.Authorization @inject NavigationManager Navigation diff --git a/src/Presentation.Web/Library/Auth/HttpClaimsReader.cs b/src/Presentation.Web/Library/Auth/HttpClaimsReader.cs index 293c343..4773d53 100644 --- a/src/Presentation.Web/Library/Auth/HttpClaimsReader.cs +++ b/src/Presentation.Web/Library/Auth/HttpClaimsReader.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Library.Auth; +namespace Goodtocode.AgentStart.Presentation.Web.Library.Auth; /// /// Infrastructure implementation that reads user claims from the current HTTP request context. diff --git a/src/Presentation.Web/Library/Auth/IClaimsReader.cs b/src/Presentation.Web/Library/Auth/IClaimsReader.cs index 5eaeb62..91295f9 100644 --- a/src/Presentation.Web/Library/Auth/IClaimsReader.cs +++ b/src/Presentation.Web/Library/Auth/IClaimsReader.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Library.Auth; +namespace Goodtocode.AgentStart.Presentation.Web.Library.Auth; /// /// Infrastructure service for reading user identity claims from HTTP authentication context. diff --git a/src/Presentation.Web/Library/Auth/Middleware/DownstreamApiAccessTokenProvider.cs b/src/Presentation.Web/Library/Auth/Middleware/DownstreamApiAccessTokenProvider.cs index f8e0410..197aaf1 100644 --- a/src/Presentation.Web/Library/Auth/Middleware/DownstreamApiAccessTokenProvider.cs +++ b/src/Presentation.Web/Library/Auth/Middleware/DownstreamApiAccessTokenProvider.cs @@ -1,9 +1,9 @@ using Goodtocode.SecuredHttpClient.Middleware; using Microsoft.Identity.Web; using Microsoft.Extensions.Options; -using Goodtocode.AgentFramework.Presentation.Web.Options; +using Goodtocode.AgentStart.Presentation.Web.Options; -namespace Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Middleware; +namespace Goodtocode.AgentStart.Presentation.Web.Library.Auth.Middleware; public class DownstreamApiAccessTokenProvider(IHttpContextAccessor httpContextAccessor, ITokenAcquisition tokenAcquisition, IOptions backendApiOptions) : IAccessTokenProvider { diff --git a/src/Presentation.Web/Library/Auth/Middleware/MsGraphAccessTokenProvider.cs b/src/Presentation.Web/Library/Auth/Middleware/MsGraphAccessTokenProvider.cs index 376a5da..ad421df 100644 --- a/src/Presentation.Web/Library/Auth/Middleware/MsGraphAccessTokenProvider.cs +++ b/src/Presentation.Web/Library/Auth/Middleware/MsGraphAccessTokenProvider.cs @@ -2,7 +2,7 @@ using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.OpenIdConnect; -namespace Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Middleware; +namespace Goodtocode.AgentStart.Presentation.Web.Library.Auth.Middleware; public class MsGraphAccessTokenProvider(IHttpContextAccessor httpContextAccessor) : IAccessTokenProvider { diff --git a/src/Presentation.Web/Library/Auth/Routing/LoginLogoutEndpointRouteBuilderExtensions.cs b/src/Presentation.Web/Library/Auth/Routing/LoginLogoutEndpointRouteBuilderExtensions.cs index 277d110..7caea61 100644 --- a/src/Presentation.Web/Library/Auth/Routing/LoginLogoutEndpointRouteBuilderExtensions.cs +++ b/src/Presentation.Web/Library/Auth/Routing/LoginLogoutEndpointRouteBuilderExtensions.cs @@ -2,7 +2,7 @@ using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; -namespace Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Routing; +namespace Goodtocode.AgentStart.Presentation.Web.Library.Auth.Routing; public static class LoginLogoutEndpointRouteBuilderExtensions { diff --git a/src/Presentation.Web/Library/Auth/Routing/RedirectToResetPassword.razor b/src/Presentation.Web/Library/Auth/Routing/RedirectToResetPassword.razor index 95a4f64..45e20c9 100644 --- a/src/Presentation.Web/Library/Auth/Routing/RedirectToResetPassword.razor +++ b/src/Presentation.Web/Library/Auth/Routing/RedirectToResetPassword.razor @@ -1,5 +1,5 @@ @inject NavigationManager Navigation -@inject Microsoft.Extensions.Options.IOptions EntraExternalIdOptions +@inject Microsoft.Extensions.Options.IOptions EntraExternalIdOptions Redirecting to password reset... diff --git a/src/Presentation.Web/Library/Auth/Routing/RedirectToSignOut.razor b/src/Presentation.Web/Library/Auth/Routing/RedirectToSignOut.razor index 0790fab..4a87a52 100644 --- a/src/Presentation.Web/Library/Auth/Routing/RedirectToSignOut.razor +++ b/src/Presentation.Web/Library/Auth/Routing/RedirectToSignOut.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Routing +@using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Routing @inject NavigationManager Navigation diff --git a/src/Presentation.Web/Library/Auth/Routing/RouteConstants.cs b/src/Presentation.Web/Library/Auth/Routing/RouteConstants.cs index 14e6669..1ca03fd 100644 --- a/src/Presentation.Web/Library/Auth/Routing/RouteConstants.cs +++ b/src/Presentation.Web/Library/Auth/Routing/RouteConstants.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Routing; +namespace Goodtocode.AgentStart.Presentation.Web.Library.Auth.Routing; public partial struct RouteConstants { diff --git a/src/Presentation.Web/Library/Auth/Services/IUserSyncService.cs b/src/Presentation.Web/Library/Auth/Services/IUserSyncService.cs index 37609b7..32aa102 100644 --- a/src/Presentation.Web/Library/Auth/Services/IUserSyncService.cs +++ b/src/Presentation.Web/Library/Auth/Services/IUserSyncService.cs @@ -1,6 +1,6 @@ using System.Security.Claims; -namespace Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Services; +namespace Goodtocode.AgentStart.Presentation.Web.Library.Auth.Services; public interface IUserSyncService { diff --git a/src/Presentation.Web/Library/Form/FormChangeType.cs b/src/Presentation.Web/Library/Form/FormChangeType.cs index 23cd55d..14680aa 100644 --- a/src/Presentation.Web/Library/Form/FormChangeType.cs +++ b/src/Presentation.Web/Library/Form/FormChangeType.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Library.Form; +namespace Goodtocode.AgentStart.Presentation.Web.Library.Form; public enum FormChangeType { diff --git a/src/Presentation.Web/Library/HorizontalMenu/HorizontalMenu.razor b/src/Presentation.Web/Library/HorizontalMenu/HorizontalMenu.razor index eda965f..fc0cfff 100644 --- a/src/Presentation.Web/Library/HorizontalMenu/HorizontalMenu.razor +++ b/src/Presentation.Web/Library/HorizontalMenu/HorizontalMenu.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Library.HorizontalMenu.Models +@using Goodtocode.AgentStart.Presentation.Web.Library.HorizontalMenu.Models @inject NavigationManager Navigation Items { get; init; } - public static PlatformNavigationModel AgentFramework { get; } = new() + public static PlatformNavigationModel AgentStart { get; } = new() { Prefix = "agent-framework", Title = "Navigation", @@ -23,6 +23,6 @@ public sealed class PlatformNavigationModel public static IReadOnlyList All { get; } = [ - AgentFramework + AgentStart ]; } diff --git a/src/Presentation.Web/Library/HorizontalMenu/WorkspaceNavigation.razor b/src/Presentation.Web/Library/HorizontalMenu/WorkspaceNavigation.razor index 1250583..90bbaf4 100644 --- a/src/Presentation.Web/Library/HorizontalMenu/WorkspaceNavigation.razor +++ b/src/Presentation.Web/Library/HorizontalMenu/WorkspaceNavigation.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Library.HorizontalMenu.Models +@using Goodtocode.AgentStart.Presentation.Web.Library.HorizontalMenu.Models diff --git a/src/Presentation.Web/Library/Spacers/VerticalSpacer.razor b/src/Presentation.Web/Library/Spacers/VerticalSpacer.razor index 0935012..d09cc3e 100644 --- a/src/Presentation.Web/Library/Spacers/VerticalSpacer.razor +++ b/src/Presentation.Web/Library/Spacers/VerticalSpacer.razor @@ -1,4 +1,4 @@ -@namespace Goodtocode.AgentFramework.Presentation.Web.Library +@namespace Goodtocode.AgentStart.Presentation.Web.Library diff --git a/src/Presentation.Web/Library/Version/VersionHistoryItem.cs b/src/Presentation.Web/Library/Version/VersionHistoryItem.cs index aa3973a..d32f5ce 100644 --- a/src/Presentation.Web/Library/Version/VersionHistoryItem.cs +++ b/src/Presentation.Web/Library/Version/VersionHistoryItem.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Library.Version; +namespace Goodtocode.AgentStart.Presentation.Web.Library.Version; public sealed record VersionHistoryItem( int Version, diff --git a/src/Presentation.Web/Library/Wizard/WizardLayout.razor b/src/Presentation.Web/Library/Wizard/WizardLayout.razor index 85ce679..b130f5b 100644 --- a/src/Presentation.Web/Library/Wizard/WizardLayout.razor +++ b/src/Presentation.Web/Library/Wizard/WizardLayout.razor @@ -1,5 +1,5 @@ @using System.Collections.ObjectModel -@using Goodtocode.AgentFramework.Presentation.Web.Library.Icons +@using Goodtocode.AgentStart.Presentation.Web.Library.Icons
diff --git a/src/Presentation.Web/Library/_Imports.razor b/src/Presentation.Web/Library/_Imports.razor index 3ba3648..3263684 100644 --- a/src/Presentation.Web/Library/_Imports.razor +++ b/src/Presentation.Web/Library/_Imports.razor @@ -8,5 +8,5 @@ @using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons @using Microsoft.JSInterop @using System.ComponentModel.DataAnnotations -@using Goodtocode.AgentFramework.Presentation.Web.Library.Auth -@using Goodtocode.AgentFramework.Presentation.Web.Library.Typography +@using Goodtocode.AgentStart.Presentation.Web.Library.Auth +@using Goodtocode.AgentStart.Presentation.Web.Library.Typography diff --git a/src/Presentation.Web/Options/ApplicationInsightsOptions.cs b/src/Presentation.Web/Options/ApplicationInsightsOptions.cs index 26ac426..f9451b4 100644 --- a/src/Presentation.Web/Options/ApplicationInsightsOptions.cs +++ b/src/Presentation.Web/Options/ApplicationInsightsOptions.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Options; +namespace Goodtocode.AgentStart.Presentation.Web.Options; /// /// Application Insights (Azure Monitor) settings. The section is required; the connection string may be empty. diff --git a/src/Presentation.Web/Options/BackendApiOptions.cs b/src/Presentation.Web/Options/BackendApiOptions.cs index 0712c71..f273372 100644 --- a/src/Presentation.Web/Options/BackendApiOptions.cs +++ b/src/Presentation.Web/Options/BackendApiOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Presentation.Web.Options; +namespace Goodtocode.AgentStart.Presentation.Web.Options; /// /// Presentation.Api settings diff --git a/src/Presentation.Web/Options/EntraExternalIdWebOptions.cs b/src/Presentation.Web/Options/EntraExternalIdWebOptions.cs index df6f5b9..8eed234 100644 --- a/src/Presentation.Web/Options/EntraExternalIdWebOptions.cs +++ b/src/Presentation.Web/Options/EntraExternalIdWebOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Goodtocode.AgentFramework.Presentation.Web.Options; +namespace Goodtocode.AgentStart.Presentation.Web.Options; /// /// Configuration values for Web app Entra External ID sign-in and downstream API access. diff --git a/src/Presentation.Web/Options/ResilientHttpClientOptions.cs b/src/Presentation.Web/Options/ResilientHttpClientOptions.cs index ac09a24..38611ae 100644 --- a/src/Presentation.Web/Options/ResilientHttpClientOptions.cs +++ b/src/Presentation.Web/Options/ResilientHttpClientOptions.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Options; +namespace Goodtocode.AgentStart.Presentation.Web.Options; public class ResilientHttpClientOptions { diff --git a/src/Presentation.Web/Presentation.Web.csproj b/src/Presentation.Web/Presentation.Web.csproj index a6d27e5..a82c82f 100644 --- a/src/Presentation.Web/Presentation.Web.csproj +++ b/src/Presentation.Web/Presentation.Web.csproj @@ -1,8 +1,8 @@  - Goodtocode.AgentFramework.Presentation.Web - Goodtocode.AgentFramework.Presentation.Web + Goodtocode.AgentStart.Presentation.Web + Goodtocode.AgentStart.Presentation.Web 1.0.0 net10.0 enable diff --git a/src/Presentation.Web/Program.cs b/src/Presentation.Web/Program.cs index 68e35e7..f8d7fe8 100644 --- a/src/Presentation.Web/Program.cs +++ b/src/Presentation.Web/Program.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Presentation.Web; -using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Routing; -using Goodtocode.AgentFramework.Presentation.Web.Shell; +using Goodtocode.AgentStart.Presentation.Web; +using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Routing; +using Goodtocode.AgentStart.Presentation.Web.Shell; using Microsoft.AspNetCore.HttpOverrides; using Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Presentation.Web/Shell/App.razor b/src/Presentation.Web/Shell/App.razor index 6bbe70b..efb54a6 100644 --- a/src/Presentation.Web/Shell/App.razor +++ b/src/Presentation.Web/Shell/App.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Library.Analytics +@using Goodtocode.AgentStart.Presentation.Web.Library.Analytics @inject IConfiguration Configuration @@ -28,7 +28,7 @@ - + diff --git a/src/Presentation.Web/Shell/Layout/MainLayout.razor b/src/Presentation.Web/Shell/Layout/MainLayout.razor index ec41130..83fc2b4 100644 --- a/src/Presentation.Web/Shell/Layout/MainLayout.razor +++ b/src/Presentation.Web/Shell/Layout/MainLayout.razor @@ -1,10 +1,10 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Library -@using Goodtocode.AgentFramework.Presentation.Web.Library.Analytics -@using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Components -@using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Routing -@using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Services -@using Goodtocode.AgentFramework.Presentation.Web.Library.HorizontalMenu -@using Goodtocode.AgentFramework.Presentation.Web.Library.HorizontalMenu.Models +@using Goodtocode.AgentStart.Presentation.Web.Library +@using Goodtocode.AgentStart.Presentation.Web.Library.Analytics +@using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Components +@using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Routing +@using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Services +@using Goodtocode.AgentStart.Presentation.Web.Library.HorizontalMenu +@using Goodtocode.AgentStart.Presentation.Web.Library.HorizontalMenu.Models @using Microsoft.AspNetCore.Components.Authorization @using Microsoft.Identity.Web diff --git a/src/Presentation.Web/Shell/Routes.razor b/src/Presentation.Web/Shell/Routes.razor index af3948f..5f226e1 100644 --- a/src/Presentation.Web/Shell/Routes.razor +++ b/src/Presentation.Web/Shell/Routes.razor @@ -1,5 +1,5 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Routing -@using Goodtocode.AgentFramework.Presentation.Web.Shell.Layout +@using Goodtocode.AgentStart.Presentation.Web.Library.Auth.Routing +@using Goodtocode.AgentStart.Presentation.Web.Shell.Layout @using Microsoft.AspNetCore.Components.Authorization diff --git a/src/Presentation.Web/_Imports.razor b/src/Presentation.Web/_Imports.razor index d84a09e..d2ebe3e 100644 --- a/src/Presentation.Web/_Imports.razor +++ b/src/Presentation.Web/_Imports.razor @@ -1,11 +1,11 @@ @using System.ComponentModel.DataAnnotations @using System.Net.Http @using System.Net.Http.Json -@using Goodtocode.AgentFramework.Presentation.Web.Library -@using Goodtocode.AgentFramework.Presentation.Web.Library.Auth -@using Goodtocode.AgentFramework.Presentation.Web.Library.Form -@using Goodtocode.AgentFramework.Presentation.Web.Library.Skeleton -@using Goodtocode.AgentFramework.Presentation.Web.Library.Typography +@using Goodtocode.AgentStart.Presentation.Web.Library +@using Goodtocode.AgentStart.Presentation.Web.Library.Auth +@using Goodtocode.AgentStart.Presentation.Web.Library.Form +@using Goodtocode.AgentStart.Presentation.Web.Library.Skeleton +@using Goodtocode.AgentStart.Presentation.Web.Library.Typography @using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons @using Microsoft.AspNetCore.Authorization @using Microsoft.AspNetCore.Components.Forms diff --git a/src/Tests.Integration/Actors/CreateActorCommand.feature.cs b/src/Tests.Integration/Actors/CreateActorCommand.feature.cs index 835ff4b..e30a722 100644 --- a/src/Tests.Integration/Actors/CreateActorCommand.feature.cs +++ b/src/Tests.Integration/Actors/CreateActorCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors +namespace Goodtocode.AgentStart.Tests.Integration.Actors { diff --git a/src/Tests.Integration/Actors/CreateActorCommandStepDefinitions.cs b/src/Tests.Integration/Actors/CreateActorCommandStepDefinitions.cs index 3ee2800..c4cf644 100644 --- a/src/Tests.Integration/Actors/CreateActorCommandStepDefinitions.cs +++ b/src/Tests.Integration/Actors/CreateActorCommandStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Actors; -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Application.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors; +namespace Goodtocode.AgentStart.Tests.Integration.Actors; [Binding] [Scope(Tag = "createActorCommand")] diff --git a/src/Tests.Integration/Actors/DeleteActorCommand.feature.cs b/src/Tests.Integration/Actors/DeleteActorCommand.feature.cs index adafe39..e2c65ba 100644 --- a/src/Tests.Integration/Actors/DeleteActorCommand.feature.cs +++ b/src/Tests.Integration/Actors/DeleteActorCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors +namespace Goodtocode.AgentStart.Tests.Integration.Actors { diff --git a/src/Tests.Integration/Actors/DeleteActorCommandStepDefinitions.cs b/src/Tests.Integration/Actors/DeleteActorCommandStepDefinitions.cs index 9227f03..5a76f94 100644 --- a/src/Tests.Integration/Actors/DeleteActorCommandStepDefinitions.cs +++ b/src/Tests.Integration/Actors/DeleteActorCommandStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Actors; -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Application.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors +namespace Goodtocode.AgentStart.Tests.Integration.Actors { [Binding] [Scope(Tag = "deleteActorCommand")] diff --git a/src/Tests.Integration/Actors/GetActorByOwnerIdQuery.feature.cs b/src/Tests.Integration/Actors/GetActorByOwnerIdQuery.feature.cs index b20f348..5548ce3 100644 --- a/src/Tests.Integration/Actors/GetActorByOwnerIdQuery.feature.cs +++ b/src/Tests.Integration/Actors/GetActorByOwnerIdQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors +namespace Goodtocode.AgentStart.Tests.Integration.Actors { diff --git a/src/Tests.Integration/Actors/GetActorByOwnerIdQueryStepDefinitions.cs b/src/Tests.Integration/Actors/GetActorByOwnerIdQueryStepDefinitions.cs index e687673..5ce51b7 100644 --- a/src/Tests.Integration/Actors/GetActorByOwnerIdQueryStepDefinitions.cs +++ b/src/Tests.Integration/Actors/GetActorByOwnerIdQueryStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Actors; -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Application.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors; +namespace Goodtocode.AgentStart.Tests.Integration.Actors; [Binding] [Scope(Tag = "getAuthorByOwnerIdQuery")] diff --git a/src/Tests.Integration/Actors/GetActorQuery.feature.cs b/src/Tests.Integration/Actors/GetActorQuery.feature.cs index 8ebd6b2..4e20d92 100644 --- a/src/Tests.Integration/Actors/GetActorQuery.feature.cs +++ b/src/Tests.Integration/Actors/GetActorQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors +namespace Goodtocode.AgentStart.Tests.Integration.Actors { diff --git a/src/Tests.Integration/Actors/GetActorQueryStepDefinitions.cs b/src/Tests.Integration/Actors/GetActorQueryStepDefinitions.cs index 226b125..235c46c 100644 --- a/src/Tests.Integration/Actors/GetActorQueryStepDefinitions.cs +++ b/src/Tests.Integration/Actors/GetActorQueryStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Actors; -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Application.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors; +namespace Goodtocode.AgentStart.Tests.Integration.Actors; [Binding] [Scope(Tag = "getAuthorQuery")] diff --git a/src/Tests.Integration/Actors/GetOurActorsByNameQuery.feature.cs b/src/Tests.Integration/Actors/GetOurActorsByNameQuery.feature.cs index e44446a..384e085 100644 --- a/src/Tests.Integration/Actors/GetOurActorsByNameQuery.feature.cs +++ b/src/Tests.Integration/Actors/GetOurActorsByNameQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors +namespace Goodtocode.AgentStart.Tests.Integration.Actors { diff --git a/src/Tests.Integration/Actors/GetOurActorsByNameQueryStepDefinitions.cs b/src/Tests.Integration/Actors/GetOurActorsByNameQueryStepDefinitions.cs index 5f9dc59..2655e90 100644 --- a/src/Tests.Integration/Actors/GetOurActorsByNameQueryStepDefinitions.cs +++ b/src/Tests.Integration/Actors/GetOurActorsByNameQueryStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Actors; -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Application.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors; +namespace Goodtocode.AgentStart.Tests.Integration.Actors; [Binding] [Scope(Tag = "getOurActorsByNameQuery")] diff --git a/src/Tests.Integration/Actors/SaveActorCommand.feature.cs b/src/Tests.Integration/Actors/SaveActorCommand.feature.cs index 264eb82..088c7eb 100644 --- a/src/Tests.Integration/Actors/SaveActorCommand.feature.cs +++ b/src/Tests.Integration/Actors/SaveActorCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors +namespace Goodtocode.AgentStart.Tests.Integration.Actors { diff --git a/src/Tests.Integration/Actors/SaveActorCommandStepDefinitions.cs b/src/Tests.Integration/Actors/SaveActorCommandStepDefinitions.cs index c46ff6e..ca1e904 100644 --- a/src/Tests.Integration/Actors/SaveActorCommandStepDefinitions.cs +++ b/src/Tests.Integration/Actors/SaveActorCommandStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Actors; -using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Application.Actors; +using Goodtocode.AgentStart.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Tests.Integration.Actors; +namespace Goodtocode.AgentStart.Tests.Integration.Actors; [Binding] [Scope(Tag = "saveActorCommand")] diff --git a/src/Tests.Integration/AgentFramework/AgentFunctionRegistrationTests.cs b/src/Tests.Integration/AgentFramework/AgentFunctionRegistrationTests.cs index 8b08879..fd30e2c 100644 --- a/src/Tests.Integration/AgentFramework/AgentFunctionRegistrationTests.cs +++ b/src/Tests.Integration/AgentFramework/AgentFunctionRegistrationTests.cs @@ -1,10 +1,10 @@ using DescriptionAttribute = System.ComponentModel.DescriptionAttribute; using System.Reflection; using System.Text.Json; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public sealed class AgentFunctionRegistrationTests diff --git a/src/Tests.Integration/AgentFramework/AzureOpenAiEmbeddingGeneratorTests.cs b/src/Tests.Integration/AgentFramework/AzureOpenAiEmbeddingGeneratorTests.cs index 2488e19..a6c3f9a 100644 --- a/src/Tests.Integration/AgentFramework/AzureOpenAiEmbeddingGeneratorTests.cs +++ b/src/Tests.Integration/AgentFramework/AzureOpenAiEmbeddingGeneratorTests.cs @@ -1,11 +1,11 @@ using System.Net; using System.Text; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Options; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public sealed class AzureOpenAiEmbeddingGeneratorTests diff --git a/src/Tests.Integration/AgentFramework/BingSearchProviderTests.cs b/src/Tests.Integration/AgentFramework/BingSearchProviderTests.cs index 8dc5eb1..8725e67 100644 --- a/src/Tests.Integration/AgentFramework/BingSearchProviderTests.cs +++ b/src/Tests.Integration/AgentFramework/BingSearchProviderTests.cs @@ -1,11 +1,11 @@ using System.Net; using System.Text; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Providers; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Providers; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Options; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public class BingSearchProviderTests diff --git a/src/Tests.Integration/AgentFramework/ChatJourneyProviderTests.cs b/src/Tests.Integration/AgentFramework/ChatJourneyProviderTests.cs index aaaecc8..eb1d259 100644 --- a/src/Tests.Integration/AgentFramework/ChatJourneyProviderTests.cs +++ b/src/Tests.Integration/AgentFramework/ChatJourneyProviderTests.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public sealed class ChatJourneyProviderTests diff --git a/src/Tests.Integration/AgentFramework/ChatMessageRouterTests.cs b/src/Tests.Integration/AgentFramework/ChatMessageRouterTests.cs index 49b121d..79db957 100644 --- a/src/Tests.Integration/AgentFramework/ChatMessageRouterTests.cs +++ b/src/Tests.Integration/AgentFramework/ChatMessageRouterTests.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Core.Application.Abstractions; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Core.Application.Abstractions; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; using Microsoft.Agents.AI; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public sealed class ChatMessageRouterTests : TestBase diff --git a/src/Tests.Integration/AgentFramework/FutureTenseGuardTests.cs b/src/Tests.Integration/AgentFramework/FutureTenseGuardTests.cs index 1d42ab6..d49be49 100644 --- a/src/Tests.Integration/AgentFramework/FutureTenseGuardTests.cs +++ b/src/Tests.Integration/AgentFramework/FutureTenseGuardTests.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public sealed class FutureTenseGuardTests diff --git a/src/Tests.Integration/AgentFramework/InferencePurposeTests.cs b/src/Tests.Integration/AgentFramework/InferencePurposeTests.cs index 035e578..d90c080 100644 --- a/src/Tests.Integration/AgentFramework/InferencePurposeTests.cs +++ b/src/Tests.Integration/AgentFramework/InferencePurposeTests.cs @@ -4,11 +4,11 @@ using System.Reflection; using System.Text; using System.Text.Json; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Governance; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Essay; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Infrastructure.AgentFramework; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Governance; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Essay; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Taxonomy; using Goodtocode.Agents.Governance.Application; using Goodtocode.Agents.Governance.Domain; using Microsoft.Agents.AI; @@ -17,7 +17,7 @@ using OpenAI; using OpenAI.Chat; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public sealed class InferencePurposeTests diff --git a/src/Tests.Integration/AgentFramework/IntentClassifierTests.cs b/src/Tests.Integration/AgentFramework/IntentClassifierTests.cs index 2f9d581..a135a0f 100644 --- a/src/Tests.Integration/AgentFramework/IntentClassifierTests.cs +++ b/src/Tests.Integration/AgentFramework/IntentClassifierTests.cs @@ -1,10 +1,10 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Options; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public sealed class IntentClassifierTests diff --git a/src/Tests.Integration/AgentFramework/McpNotFoundSemanticsTests.cs b/src/Tests.Integration/AgentFramework/McpNotFoundSemanticsTests.cs index 90cfe1e..b7a4d94 100644 --- a/src/Tests.Integration/AgentFramework/McpNotFoundSemanticsTests.cs +++ b/src/Tests.Integration/AgentFramework/McpNotFoundSemanticsTests.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public class McpNotFoundSemanticsTests : TestBase diff --git a/src/Tests.Integration/AgentFramework/SemanticIntentClassification.feature.cs b/src/Tests.Integration/AgentFramework/SemanticIntentClassification.feature.cs index cd17eee..32c2b23 100644 --- a/src/Tests.Integration/AgentFramework/SemanticIntentClassification.feature.cs +++ b/src/Tests.Integration/AgentFramework/SemanticIntentClassification.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework { diff --git a/src/Tests.Integration/AgentFramework/SemanticIntentClassificationStepDefinitions.cs b/src/Tests.Integration/AgentFramework/SemanticIntentClassificationStepDefinitions.cs index fcfc741..f51a921 100644 --- a/src/Tests.Integration/AgentFramework/SemanticIntentClassificationStepDefinitions.cs +++ b/src/Tests.Integration/AgentFramework/SemanticIntentClassificationStepDefinitions.cs @@ -1,11 +1,11 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Embeddings; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Embeddings; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Options; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [Binding] [Scope(Tag = "semanticIntentClassification")] diff --git a/src/Tests.Integration/AgentFramework/TokenIntentClassification.feature.cs b/src/Tests.Integration/AgentFramework/TokenIntentClassification.feature.cs index b195ba4..71f5384 100644 --- a/src/Tests.Integration/AgentFramework/TokenIntentClassification.feature.cs +++ b/src/Tests.Integration/AgentFramework/TokenIntentClassification.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework { diff --git a/src/Tests.Integration/AgentFramework/TokenIntentClassificationStepDefinitions.cs b/src/Tests.Integration/AgentFramework/TokenIntentClassificationStepDefinitions.cs index d8ce9e4..aea854f 100644 --- a/src/Tests.Integration/AgentFramework/TokenIntentClassificationStepDefinitions.cs +++ b/src/Tests.Integration/AgentFramework/TokenIntentClassificationStepDefinitions.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [Binding] [Scope(Tag = "tokenIntentClassification")] diff --git a/src/Tests.Integration/AgentFramework/WebSearchProviderRegistrationTests.cs b/src/Tests.Integration/AgentFramework/WebSearchProviderRegistrationTests.cs index 19d9252..8529408 100644 --- a/src/Tests.Integration/AgentFramework/WebSearchProviderRegistrationTests.cs +++ b/src/Tests.Integration/AgentFramework/WebSearchProviderRegistrationTests.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Abstractions; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Providers; +using Goodtocode.AgentStart.Core.Application.Abstractions; +using Goodtocode.AgentStart.Infrastructure.AgentFramework; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Providers; -namespace Goodtocode.AgentFramework.Tests.Integration.AgentFramework; +namespace Goodtocode.AgentStart.Tests.Integration.AgentFramework; [TestClass] public sealed class WebSearchProviderRegistrationTests diff --git a/src/Tests.Integration/Application/NotFoundSemanticsTests.cs b/src/Tests.Integration/Application/NotFoundSemanticsTests.cs index 993676c..d208b77 100644 --- a/src/Tests.Integration/Application/NotFoundSemanticsTests.cs +++ b/src/Tests.Integration/Application/NotFoundSemanticsTests.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Actors; -using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Actors; +using Goodtocode.AgentStart.Core.Application.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Application; +namespace Goodtocode.AgentStart.Tests.Integration.Application; [TestClass] public class NotFoundSemanticsTests : TestBase diff --git a/src/Tests.Integration/Chats/ChatWriteIdempotencyTests.cs b/src/Tests.Integration/Chats/ChatWriteIdempotencyTests.cs index 2ca48ec..4fa38ba 100644 --- a/src/Tests.Integration/Chats/ChatWriteIdempotencyTests.cs +++ b/src/Tests.Integration/Chats/ChatWriteIdempotencyTests.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [TestClass] public sealed class ChatWriteIdempotencyTests : TestBase diff --git a/src/Tests.Integration/Chats/CreateChatMessageCommand.feature.cs b/src/Tests.Integration/Chats/CreateChatMessageCommand.feature.cs index e80162b..07af224 100644 --- a/src/Tests.Integration/Chats/CreateChatMessageCommand.feature.cs +++ b/src/Tests.Integration/Chats/CreateChatMessageCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/CreateChatMessageCommandStepDefinitions.cs b/src/Tests.Integration/Chats/CreateChatMessageCommandStepDefinitions.cs index 2d0c52d..7e3dc3b 100644 --- a/src/Tests.Integration/Chats/CreateChatMessageCommandStepDefinitions.cs +++ b/src/Tests.Integration/Chats/CreateChatMessageCommandStepDefinitions.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Actors; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [Binding] [Scope(Tag = "createChatMessageCommand")] diff --git a/src/Tests.Integration/Chats/CreateChatSessionCommand.feature.cs b/src/Tests.Integration/Chats/CreateChatSessionCommand.feature.cs index e335abe..43ce2a7 100644 --- a/src/Tests.Integration/Chats/CreateChatSessionCommand.feature.cs +++ b/src/Tests.Integration/Chats/CreateChatSessionCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/CreateChatSessionCommandStepDefinitions.cs b/src/Tests.Integration/Chats/CreateChatSessionCommandStepDefinitions.cs index 847d365..129d06a 100644 --- a/src/Tests.Integration/Chats/CreateChatSessionCommandStepDefinitions.cs +++ b/src/Tests.Integration/Chats/CreateChatSessionCommandStepDefinitions.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Actors; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [Binding] [Scope(Tag = "createChatSessionCommand")] diff --git a/src/Tests.Integration/Chats/DeleteChatSessionCommand.feature.cs b/src/Tests.Integration/Chats/DeleteChatSessionCommand.feature.cs index 94a7083..36a7e5f 100644 --- a/src/Tests.Integration/Chats/DeleteChatSessionCommand.feature.cs +++ b/src/Tests.Integration/Chats/DeleteChatSessionCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/DeleteChatSessionCommandStepDefinitions.cs b/src/Tests.Integration/Chats/DeleteChatSessionCommandStepDefinitions.cs index 74b8c97..e624c0d 100644 --- a/src/Tests.Integration/Chats/DeleteChatSessionCommandStepDefinitions.cs +++ b/src/Tests.Integration/Chats/DeleteChatSessionCommandStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { [Binding] [Scope(Tag = "deleteChatSessionCommand")] diff --git a/src/Tests.Integration/Chats/GetChatJourneyStepQuery.feature.cs b/src/Tests.Integration/Chats/GetChatJourneyStepQuery.feature.cs index 1ba66dd..19f0254 100644 --- a/src/Tests.Integration/Chats/GetChatJourneyStepQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetChatJourneyStepQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/GetChatJourneyStepQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetChatJourneyStepQueryStepDefinitions.cs index eedd652..39b49c9 100644 --- a/src/Tests.Integration/Chats/GetChatJourneyStepQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetChatJourneyStepQueryStepDefinitions.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Core.Application.Abstractions; -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; -using Goodtocode.AgentFramework.Core.Domain.Actors; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Abstractions; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [Binding] [Scope(Tag = "getChatJourneyStepQuery")] diff --git a/src/Tests.Integration/Chats/GetChatMessageQuery.feature.cs b/src/Tests.Integration/Chats/GetChatMessageQuery.feature.cs index 8ddbcca..0ee6752 100644 --- a/src/Tests.Integration/Chats/GetChatMessageQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetChatMessageQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/GetChatMessageQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetChatMessageQueryStepDefinitions.cs index bb5c778..9a1f5a3 100644 --- a/src/Tests.Integration/Chats/GetChatMessageQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetChatMessageQueryStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [Binding] [Scope(Tag = "getChatMessageQuery")] diff --git a/src/Tests.Integration/Chats/GetChatMessagesPaginatedQuery.feature.cs b/src/Tests.Integration/Chats/GetChatMessagesPaginatedQuery.feature.cs index 420eb34..f4ef82a 100644 --- a/src/Tests.Integration/Chats/GetChatMessagesPaginatedQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetChatMessagesPaginatedQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/GetChatMessagesPaginatedQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetChatMessagesPaginatedQueryStepDefinitions.cs index 82a8955..001d8dd 100644 --- a/src/Tests.Integration/Chats/GetChatMessagesPaginatedQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetChatMessagesPaginatedQueryStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [Binding] [Scope(Tag = "getChatMessagesPaginatedQuery")] diff --git a/src/Tests.Integration/Chats/GetMyChatSessionMessagesQuery.feature.cs b/src/Tests.Integration/Chats/GetMyChatSessionMessagesQuery.feature.cs index b1920ff..de5d6b3 100644 --- a/src/Tests.Integration/Chats/GetMyChatSessionMessagesQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionMessagesQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/GetMyChatSessionMessagesQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetMyChatSessionMessagesQueryStepDefinitions.cs index 5cee305..26e4216 100644 --- a/src/Tests.Integration/Chats/GetMyChatSessionMessagesQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionMessagesQueryStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [Binding] [Scope(Tag = "getMyChatSessionMessagesQuery")] diff --git a/src/Tests.Integration/Chats/GetMyChatSessionQuery.feature.cs b/src/Tests.Integration/Chats/GetMyChatSessionQuery.feature.cs index b0ce4df..69e5fa4 100644 --- a/src/Tests.Integration/Chats/GetMyChatSessionQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/GetMyChatSessionQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetMyChatSessionQueryStepDefinitions.cs index f092b89..6cba024 100644 --- a/src/Tests.Integration/Chats/GetMyChatSessionQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionQueryStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [Binding] [Scope(Tag = "getChatSessionQuery")] diff --git a/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQuery.feature.cs b/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQuery.feature.cs index cd5df06..1176c7d 100644 --- a/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQueryStepDefinitions.cs index a95400d..14a0997 100644 --- a/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQueryStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [Binding] [Scope(Tag = "getChatSessionsPaginatedQuery")] diff --git a/src/Tests.Integration/Chats/GetMyChatSessionsQuery.feature.cs b/src/Tests.Integration/Chats/GetMyChatSessionsQuery.feature.cs index 87ff2d9..7b0e6e7 100644 --- a/src/Tests.Integration/Chats/GetMyChatSessionsQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionsQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/GetMyChatSessionsQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetMyChatSessionsQueryStepDefinitions.cs index ccb44d9..40e1868 100644 --- a/src/Tests.Integration/Chats/GetMyChatSessionsQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionsQueryStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats; +namespace Goodtocode.AgentStart.Tests.Integration.Chats; [Binding] [Scope(Tag = "getChatSessionsQuery")] diff --git a/src/Tests.Integration/Chats/PatchChatSessionCommand.feature.cs b/src/Tests.Integration/Chats/PatchChatSessionCommand.feature.cs index 8fcce71..07dbd67 100644 --- a/src/Tests.Integration/Chats/PatchChatSessionCommand.feature.cs +++ b/src/Tests.Integration/Chats/PatchChatSessionCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { diff --git a/src/Tests.Integration/Chats/PatchChatSessionCommandStepDefinitions.cs b/src/Tests.Integration/Chats/PatchChatSessionCommandStepDefinitions.cs index f983ea4..0c2aab9 100644 --- a/src/Tests.Integration/Chats/PatchChatSessionCommandStepDefinitions.cs +++ b/src/Tests.Integration/Chats/PatchChatSessionCommandStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Chats +namespace Goodtocode.AgentStart.Tests.Integration.Chats { [Binding] [Scope(Tag = "patchChatSessionCommand")] diff --git a/src/Tests.Integration/GlobalUsings.cs b/src/Tests.Integration/GlobalUsings.cs index 4c8a738..c1b51b6 100644 --- a/src/Tests.Integration/GlobalUsings.cs +++ b/src/Tests.Integration/GlobalUsings.cs @@ -1,5 +1,5 @@ -global using Goodtocode.AgentFramework.Core.Application.Common.Auth; -global using Goodtocode.AgentFramework.Core.Application.Common.Pagination; +global using Goodtocode.AgentStart.Core.Application.Common.Auth; +global using Goodtocode.AgentStart.Core.Application.Common.Pagination; global using Goodtocode.Assertion; global using Goodtocode.Mediator; global using Goodtocode.Validation; diff --git a/src/Tests.Integration/Governance/ChatGovernanceInvocationTests.cs b/src/Tests.Integration/Governance/ChatGovernanceInvocationTests.cs index 2a65523..bf982f8 100644 --- a/src/Tests.Integration/Governance/ChatGovernanceInvocationTests.cs +++ b/src/Tests.Integration/Governance/ChatGovernanceInvocationTests.cs @@ -1,10 +1,10 @@ -using Goodtocode.AgentFramework.Core.Application.Chats; -using Goodtocode.AgentFramework.Core.Application.Abstractions; -using Goodtocode.AgentFramework.Core.Domain.Actors; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Chats; +using Goodtocode.AgentStart.Core.Application.Abstractions; +using Goodtocode.AgentStart.Core.Domain.Actors; +using Goodtocode.AgentStart.Core.Domain.Chats; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Tests.Integration.Governance; +namespace Goodtocode.AgentStart.Tests.Integration.Governance; [TestClass] public class ChatGovernanceInvocationTests : TestBase diff --git a/src/Tests.Integration/Infrastructure/SqlIntentEmbeddingStoreTests.cs b/src/Tests.Integration/Infrastructure/SqlIntentEmbeddingStoreTests.cs index 7745dcc..12fd6b4 100644 --- a/src/Tests.Integration/Infrastructure/SqlIntentEmbeddingStoreTests.cs +++ b/src/Tests.Integration/Infrastructure/SqlIntentEmbeddingStoreTests.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Embeddings; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Embeddings; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Embeddings; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Embeddings; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence; using Microsoft.Extensions.Logging.Abstractions; -namespace Goodtocode.AgentFramework.Tests.Integration.Infrastructure; +namespace Goodtocode.AgentStart.Tests.Integration.Infrastructure; [TestClass] public sealed class SqlIntentEmbeddingStoreTests @@ -47,15 +47,15 @@ public async Task DeleteRemovesEmbeddingsAndReadinessReflectsStore() Assert.IsFalse(await store.IsReadyAsync(CancellationToken.None)); } - private static SqlIntentEmbeddingStore CreateStore(AgentFrameworkContext context) + private static SqlIntentEmbeddingStore CreateStore(ApplicationDbContext context) => new(context, NullLogger.Instance); - private static AgentFrameworkContext CreateContext() + private static ApplicationDbContext CreateContext() { - var options = new DbContextOptionsBuilder() + var options = new DbContextOptionsBuilder() .UseInMemoryDatabase(Guid.NewGuid().ToString()) .Options; - return new AgentFrameworkContext(options, new TestRlsContext()); + return new ApplicationDbContext(options, new TestRlsContext()); } private static IEnumerable CreateEmbeddings() diff --git a/src/Tests.Integration/Mocks/FakeSqlDatabaseStatisticsProvider.cs b/src/Tests.Integration/Mocks/FakeSqlDatabaseStatisticsProvider.cs index 56f5879..308ddc5 100644 --- a/src/Tests.Integration/Mocks/FakeSqlDatabaseStatisticsProvider.cs +++ b/src/Tests.Integration/Mocks/FakeSqlDatabaseStatisticsProvider.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; -namespace Goodtocode.AgentFramework.Tests.Integration.Mocks; +namespace Goodtocode.AgentStart.Tests.Integration.Mocks; /// /// Deterministic test double for , configurable per diff --git a/src/Tests.Integration/Mocks/MockAIAgent.cs b/src/Tests.Integration/Mocks/MockAIAgent.cs index 57d7724..de941f4 100644 --- a/src/Tests.Integration/Mocks/MockAIAgent.cs +++ b/src/Tests.Integration/Mocks/MockAIAgent.cs @@ -2,7 +2,7 @@ using Microsoft.Agents.AI; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Tests.Integration.Mocks; +namespace Goodtocode.AgentStart.Tests.Integration.Mocks; public class MockAIAgent : AIAgent { diff --git a/src/Tests.Integration/Mocks/MockAgentResponse.cs b/src/Tests.Integration/Mocks/MockAgentResponse.cs index 8e6b51c..4f49b18 100644 --- a/src/Tests.Integration/Mocks/MockAgentResponse.cs +++ b/src/Tests.Integration/Mocks/MockAgentResponse.cs @@ -1,7 +1,7 @@ using Microsoft.Agents.AI; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Tests.Integration.Mocks; +namespace Goodtocode.AgentStart.Tests.Integration.Mocks; public class MockAgentResponse : AgentResponse { diff --git a/src/Tests.Integration/Mocks/MockAgentSession.cs b/src/Tests.Integration/Mocks/MockAgentSession.cs index 3d7a3f6..7a3833b 100644 --- a/src/Tests.Integration/Mocks/MockAgentSession.cs +++ b/src/Tests.Integration/Mocks/MockAgentSession.cs @@ -1,6 +1,6 @@ using Microsoft.Agents.AI; -namespace Goodtocode.AgentFramework.Tests.Integration.Mocks; +namespace Goodtocode.AgentStart.Tests.Integration.Mocks; public class MockAgentSession : AgentSession { diff --git a/src/Tests.Integration/Mocks/MockClaimsReader.cs b/src/Tests.Integration/Mocks/MockClaimsReader.cs index ce2fe0c..21e172e 100644 --- a/src/Tests.Integration/Mocks/MockClaimsReader.cs +++ b/src/Tests.Integration/Mocks/MockClaimsReader.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Tests.Integration.Mocks; +namespace Goodtocode.AgentStart.Tests.Integration.Mocks; internal sealed class MockClaimsReader : IClaimsReader { diff --git a/src/Tests.Integration/Mocks/MockResponseUpdate.cs b/src/Tests.Integration/Mocks/MockResponseUpdate.cs index 93e1ce1..7ca6dbf 100644 --- a/src/Tests.Integration/Mocks/MockResponseUpdate.cs +++ b/src/Tests.Integration/Mocks/MockResponseUpdate.cs @@ -1,7 +1,7 @@ using Microsoft.Agents.AI; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Tests.Integration.Mocks; +namespace Goodtocode.AgentStart.Tests.Integration.Mocks; public class MockAgentResponseUpdate : AgentResponseUpdate { diff --git a/src/Tests.Integration/Mocks/TestInjectUserContextBehavior.cs b/src/Tests.Integration/Mocks/TestInjectUserContextBehavior.cs index 464c2d2..5ebb23f 100644 --- a/src/Tests.Integration/Mocks/TestInjectUserContextBehavior.cs +++ b/src/Tests.Integration/Mocks/TestInjectUserContextBehavior.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Tests.Integration.Mocks; +namespace Goodtocode.AgentStart.Tests.Integration.Mocks; /// /// Pipeline behavior that automatically injects authenticated user context into requests diff --git a/src/Tests.Integration/Playbooks/DocumentReviewPlaybook.feature.cs b/src/Tests.Integration/Playbooks/DocumentReviewPlaybook.feature.cs index 0314356..676e852 100644 --- a/src/Tests.Integration/Playbooks/DocumentReviewPlaybook.feature.cs +++ b/src/Tests.Integration/Playbooks/DocumentReviewPlaybook.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks { diff --git a/src/Tests.Integration/Playbooks/DocumentReviewPlaybookStepDefinitions.cs b/src/Tests.Integration/Playbooks/DocumentReviewPlaybookStepDefinitions.cs index 0197079..5149b91 100644 --- a/src/Tests.Integration/Playbooks/DocumentReviewPlaybookStepDefinitions.cs +++ b/src/Tests.Integration/Playbooks/DocumentReviewPlaybookStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; [Binding] [Scope(Tag = "documentReviewPlaybook")] diff --git a/src/Tests.Integration/Playbooks/DocumentReviewPlaybookTests.cs b/src/Tests.Integration/Playbooks/DocumentReviewPlaybookTests.cs index 8b022bf..fc9b996 100644 --- a/src/Tests.Integration/Playbooks/DocumentReviewPlaybookTests.cs +++ b/src/Tests.Integration/Playbooks/DocumentReviewPlaybookTests.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks; using Goodtocode.Agents.Playbook.Execution; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; [TestClass] public sealed class DocumentReviewPlaybookTests : TestBase diff --git a/src/Tests.Integration/Playbooks/EssayPlaybook.feature.cs b/src/Tests.Integration/Playbooks/EssayPlaybook.feature.cs index c4028d3..f8d4443 100644 --- a/src/Tests.Integration/Playbooks/EssayPlaybook.feature.cs +++ b/src/Tests.Integration/Playbooks/EssayPlaybook.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks { diff --git a/src/Tests.Integration/Playbooks/EssayPlaybookStepDefinitions.cs b/src/Tests.Integration/Playbooks/EssayPlaybookStepDefinitions.cs index 3591ba2..4c81c96 100644 --- a/src/Tests.Integration/Playbooks/EssayPlaybookStepDefinitions.cs +++ b/src/Tests.Integration/Playbooks/EssayPlaybookStepDefinitions.cs @@ -1,8 +1,8 @@ using System.Text.Json; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; [Binding] [Scope(Tag = "essayPlaybook")] diff --git a/src/Tests.Integration/Playbooks/EssayPlaybookTests.cs b/src/Tests.Integration/Playbooks/EssayPlaybookTests.cs index f9b97b4..2db6817 100644 --- a/src/Tests.Integration/Playbooks/EssayPlaybookTests.cs +++ b/src/Tests.Integration/Playbooks/EssayPlaybookTests.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; -using Goodtocode.AgentFramework.Core.Domain.Chats; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Core.Domain.Chats; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; [TestClass] public sealed class EssayPlaybookTests : TestBase diff --git a/src/Tests.Integration/Playbooks/PlaybookRepeatability.feature.cs b/src/Tests.Integration/Playbooks/PlaybookRepeatability.feature.cs index 7802a55..af91859 100644 --- a/src/Tests.Integration/Playbooks/PlaybookRepeatability.feature.cs +++ b/src/Tests.Integration/Playbooks/PlaybookRepeatability.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks { diff --git a/src/Tests.Integration/Playbooks/PlaybookRepeatabilityStepDefinitions.cs b/src/Tests.Integration/Playbooks/PlaybookRepeatabilityStepDefinitions.cs index efc6bf6..d873450 100644 --- a/src/Tests.Integration/Playbooks/PlaybookRepeatabilityStepDefinitions.cs +++ b/src/Tests.Integration/Playbooks/PlaybookRepeatabilityStepDefinitions.cs @@ -1,10 +1,10 @@ -using Goodtocode.AgentFramework.Core.Application.Common.Exceptions; -using Goodtocode.AgentFramework.Core.Application.Playbooks; -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Application.Common.Exceptions; +using Goodtocode.AgentStart.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Domain.Playbooks; using Goodtocode.Agents.Governance.Domain; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; [Binding] [Scope(Tag = "playbookRepeatability")] diff --git a/src/Tests.Integration/Playbooks/PlaybookReplayTests.cs b/src/Tests.Integration/Playbooks/PlaybookReplayTests.cs index 748b04d..068adc7 100644 --- a/src/Tests.Integration/Playbooks/PlaybookReplayTests.cs +++ b/src/Tests.Integration/Playbooks/PlaybookReplayTests.cs @@ -1,10 +1,10 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks; -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; -using Goodtocode.AgentFramework.Core.Domain.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Core.Domain.Playbooks; using Goodtocode.Agents.Governance.Domain; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; /// /// Verifies the repeatability governance pillar end to end through the real Run*PlaybookCommand @@ -12,7 +12,7 @@ namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; /// Recall re-renders the prior finding without any new Collect/Evaluate work, and Replay reuses /// the prior evidence while re-running Evaluate and Record. Covers both the deterministic SQL /// Statistics playbook (the package's own PlaybookExecutor replay overload) and the -/// agentic Taxonomy playbook (the repo-owned ), +/// agentic Taxonomy playbook (the repo-owned ), /// since each uses a different replay mechanism. /// [TestClass] diff --git a/src/Tests.Integration/Playbooks/SqlStatisticsPlaybook.feature.cs b/src/Tests.Integration/Playbooks/SqlStatisticsPlaybook.feature.cs index a28e431..72bae23 100644 --- a/src/Tests.Integration/Playbooks/SqlStatisticsPlaybook.feature.cs +++ b/src/Tests.Integration/Playbooks/SqlStatisticsPlaybook.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks { diff --git a/src/Tests.Integration/Playbooks/SqlStatisticsPlaybookStepDefinitions.cs b/src/Tests.Integration/Playbooks/SqlStatisticsPlaybookStepDefinitions.cs index 2d33bc0..fac7994 100644 --- a/src/Tests.Integration/Playbooks/SqlStatisticsPlaybookStepDefinitions.cs +++ b/src/Tests.Integration/Playbooks/SqlStatisticsPlaybookStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; [Binding] [Scope(Tag = "sqlStatisticsPlaybook")] diff --git a/src/Tests.Integration/Playbooks/SqlStatisticsPlaybookTests.cs b/src/Tests.Integration/Playbooks/SqlStatisticsPlaybookTests.cs index 16e9398..c2dd21e 100644 --- a/src/Tests.Integration/Playbooks/SqlStatisticsPlaybookTests.cs +++ b/src/Tests.Integration/Playbooks/SqlStatisticsPlaybookTests.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; using Goodtocode.Agents.Playbook.Execution; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; [TestClass] public sealed class SqlStatisticsPlaybookTests : TestBase diff --git a/src/Tests.Integration/Playbooks/TaxonomyPlaybook.feature.cs b/src/Tests.Integration/Playbooks/TaxonomyPlaybook.feature.cs index b64d973..fcccfce 100644 --- a/src/Tests.Integration/Playbooks/TaxonomyPlaybook.feature.cs +++ b/src/Tests.Integration/Playbooks/TaxonomyPlaybook.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks { diff --git a/src/Tests.Integration/Playbooks/TaxonomyPlaybookStepDefinitions.cs b/src/Tests.Integration/Playbooks/TaxonomyPlaybookStepDefinitions.cs index 78de84b..04b1fa8 100644 --- a/src/Tests.Integration/Playbooks/TaxonomyPlaybookStepDefinitions.cs +++ b/src/Tests.Integration/Playbooks/TaxonomyPlaybookStepDefinitions.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; using Goodtocode.Agents.Playbook.Execution; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; [Binding] [Scope(Tag = "taxonomyPlaybook")] diff --git a/src/Tests.Integration/Playbooks/TaxonomyPlaybookTests.cs b/src/Tests.Integration/Playbooks/TaxonomyPlaybookTests.cs index 51837a0..753f96e 100644 --- a/src/Tests.Integration/Playbooks/TaxonomyPlaybookTests.cs +++ b/src/Tests.Integration/Playbooks/TaxonomyPlaybookTests.cs @@ -1,8 +1,8 @@ -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; using Goodtocode.Agents.Playbook.Execution; using Goodtocode.Agents.Playbook.Tools; -namespace Goodtocode.AgentFramework.Tests.Integration.Playbooks; +namespace Goodtocode.AgentStart.Tests.Integration.Playbooks; [TestClass] public sealed class TaxonomyPlaybookTests : TestBase diff --git a/src/Tests.Integration/TestBase.cs b/src/Tests.Integration/TestBase.cs index 01ec05c..704b560 100644 --- a/src/Tests.Integration/TestBase.cs +++ b/src/Tests.Integration/TestBase.cs @@ -1,29 +1,29 @@ -using Goodtocode.AgentFramework.Core.Application; -using Goodtocode.AgentFramework.Core.Application.Abstractions; -using Goodtocode.AgentFramework.Core.Application.Chats.Journeys; -using Goodtocode.AgentFramework.Core.Application.Governance; -using Goodtocode.AgentFramework.Core.Application.Common.Exceptions; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Governance; +using Goodtocode.AgentStart.Core.Application; +using Goodtocode.AgentStart.Core.Application.Abstractions; +using Goodtocode.AgentStart.Core.Application.Chats.Journeys; +using Goodtocode.AgentStart.Core.Application.Governance; +using Goodtocode.AgentStart.Core.Application.Common.Exceptions; +using Goodtocode.AgentStart.Infrastructure.AgentFramework; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Governance; using Goodtocode.Agents.Governance.Application; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Options; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Execution; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Intents; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Journeys; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Essay; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Playbooks.Taxonomy; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Providers; -using Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; -using Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Essay; -using Goodtocode.AgentFramework.Core.Application.Playbooks.SqlStatistics; -using Goodtocode.AgentFramework.Core.Application.Playbooks.Taxonomy; -using Goodtocode.AgentFramework.Tests.Integration.Mocks; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Options; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Execution; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Intents; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Journeys; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Essay; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Providers; +using Goodtocode.AgentStart.Infrastructure.AgentFramework.Tools; +using Goodtocode.AgentStart.Infrastructure.SqlServer.Persistence; +using Goodtocode.AgentStart.Core.Application.Playbooks.Essay; +using Goodtocode.AgentStart.Core.Application.Playbooks.SqlStatistics; +using Goodtocode.AgentStart.Core.Application.Playbooks.Taxonomy; +using Goodtocode.AgentStart.Tests.Integration.Mocks; using Microsoft.Agents.AI; -namespace Goodtocode.AgentFramework.Tests.Integration; +namespace Goodtocode.AgentStart.Tests.Integration; public abstract class TestBase : IDisposable { @@ -43,7 +43,7 @@ public enum CommandResponseType internal CommandResponseType responseType; internal ValidationResult validationResponse = new(); - internal AgentFrameworkContext context; + internal ApplicationDbContext context; internal IConfiguration configuration; internal IClaimsReader claimsReader; @@ -109,18 +109,18 @@ public TestBase() services.AddEssayPlaybookTools(); services.AddScoped(); - services.AddDbContext(options => - options.UseInMemoryDatabase($"AgentFrameworkContext-{Guid.NewGuid()}") + services.AddDbContext(options => + options.UseInMemoryDatabase($"ApplicationDbContext-{Guid.NewGuid()}") .UseLazyLoadingProxies()); - services.AddScoped(provider => - provider.GetRequiredService()); + services.AddScoped(provider => + provider.GetRequiredService()); ConfigureServices(services); ServiceProvider = services.BuildServiceProvider(); claimsReader = ServiceProvider.GetRequiredService(); rlsContext = ServiceProvider.GetRequiredService(); - context = ServiceProvider.GetRequiredService(); + context = ServiceProvider.GetRequiredService(); Sender = ServiceProvider.GetRequiredService(); } diff --git a/src/Tests.Integration/Tests.Integration.csproj b/src/Tests.Integration/Tests.Integration.csproj index b795614..106360a 100644 --- a/src/Tests.Integration/Tests.Integration.csproj +++ b/src/Tests.Integration/Tests.Integration.csproj @@ -1,8 +1,8 @@  - Goodtocode.AgentFramework.Tests.Integration - Goodtocode.AgentFramework.Tests.Integration + Goodtocode.AgentStart.Tests.Integration + Goodtocode.AgentStart.Tests.Integration 1.0.0 net10.0 false From ff2a24337a61233173d34774cbae62b8dfbde003 Mon Sep 17 00:00:00 2001 From: "Robert J. Good" Date: Fri, 13 Nov 2026 22:06:21 -0800 Subject: [PATCH 3/4] New-GithubSecret fail fast --- .github/scripts/repo/New-GithubSecret.ps1 | 17 +++++++++++++---- docs/first-time-setup.md | 2 ++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/scripts/repo/New-GithubSecret.ps1 b/.github/scripts/repo/New-GithubSecret.ps1 index 3380d22..5abd9f6 100644 --- a/.github/scripts/repo/New-GithubSecret.ps1 +++ b/.github/scripts/repo/New-GithubSecret.ps1 @@ -5,7 +5,7 @@ Creates or updates (upserts) GitHub Actions secrets in one repo, several repos, .DESCRIPTION Requires GitHub CLI (gh) and an authenticated session. Installs GitHub CLI if it is not present and prompts for GitHub authentication if not already authenticated. A secret that already exists is overwritten, so rerunning is safe and rotates the value. -Without -Environment the secrets are repository secrets. With -Environment they are environment secrets, and an environment that does not exist in a repo is skipped with a warning. +Without -Environment the secrets are repository secrets. With -Environment they are environment secrets. Inaccessible targets and failed uploads fail the script. -AllRepos targets every non-archived, non-fork repo of -Owner. Use -WhatIf to list what would be set without changing anything. Secret values are sent to gh on stdin, never on the command line. @@ -41,6 +41,14 @@ $ErrorActionPreference = 'Stop' if (-not $AllRepos -and -not $Repo) { throw 'Specify -Repo or -AllRepos.' } if ($AllRepos -and $Repo) { throw 'Use either -Repo or -AllRepos, not both.' } +if ($PSCmdlet.ParameterSetName -eq 'Single') { $Secrets = @{ $SecretName = $SecretValue } } +if ($Secrets.Count -eq 0) { throw 'Specify at least one secret to upload.' } +foreach ($name in $Secrets.Keys) { + if ([string]::IsNullOrWhiteSpace([string]$name) -or [string]::IsNullOrWhiteSpace([string]$Secrets[$name])) { + throw 'Secret names and values must be nonempty. No secrets were uploaded.' + } +} + if (-not (Get-Command gh -ErrorAction SilentlyContinue)) { Write-Host "GitHub CLI not found. Installing via winget..." -ForegroundColor Red winget install --id GitHub.cli -e --silent @@ -52,10 +60,9 @@ gh auth status 2>$null | Out-Null if ($LASTEXITCODE -ne 0) { Write-Host "GitHub CLI not authenticated. Please login." -ForegroundColor Red gh auth login + if ($LASTEXITCODE -ne 0) { throw 'GitHub authentication failed. No secrets were uploaded.' } } -if ($PSCmdlet.ParameterSetName -eq 'Single') { $Secrets = @{ $SecretName = $SecretValue } } - if ($AllRepos) { Write-Host "Listing repos of $Owner..." $Repo = @(gh repo list $Owner --source --no-archived --limit 1000 --json name --jq '.[].name') @@ -106,4 +113,6 @@ foreach ($r in $Repo) { } Write-Host "Done. Set: $set, skipped: $skipped, failed: $failed." -if ($failed -gt 0) { exit 1 } +if ($failed -gt 0 -or $skipped -gt 0) { + throw "GitHub secret upload incomplete. Set: $set, skipped: $skipped, failed: $failed." +} diff --git a/docs/first-time-setup.md b/docs/first-time-setup.md index 734ef4a..139d207 100644 --- a/docs/first-time-setup.md +++ b/docs/first-time-setup.md @@ -21,6 +21,8 @@ sign-in tenant or Azure OpenAI deployment, and CI tests require the AI endpoint Prepare reconciles sign-in registrations and GitHub federation/environment/secrets. It needs a user authorized to create or update app registrations, grant consent, and assign the deployment identity its Azure role. It prompts privately for missing existing credentials and exits at the IaC checkpoint. +Secret publishing rejects empty values and fails if any repository/environment is inaccessible +or any upload fails; a skipped target is not a successful Prepare. Complete verifies successful named deployment outputs, adds hosted redirects and provisions Entra database users as the authorized signed-in SQL administrator. SQL-auth pipelines provision database users automatically. No resource deletion, database reset or authentication conversion occurs. From c8c1ccdc993c622b848f59d079ca2a6707d1618a Mon Sep 17 00:00:00 2001 From: "Robert J. Good" Date: Sat, 14 Nov 2026 22:18:28 -0800 Subject: [PATCH 4/4] harden and idempotence --- .azure/scripts/New-EntraDotnetSolution.ps1 | 17 ++- .../entra/New-EntraAppRegistration.ps1 | 49 +++++-- .../tests/New-EntraAppRegistration.Tests.ps1 | 127 +++++++++++++++++- 3 files changed, 182 insertions(+), 11 deletions(-) diff --git a/.azure/scripts/New-EntraDotnetSolution.ps1 b/.azure/scripts/New-EntraDotnetSolution.ps1 index ba20b44..15b9e98 100644 --- a/.azure/scripts/New-EntraDotnetSolution.ps1 +++ b/.azure/scripts/New-EntraDotnetSolution.ps1 @@ -49,6 +49,9 @@ param( [string]$E2EAppRegistrationName = "", [string]$E2EProjectPath = "", + # Additional application roles for the existing E2E/automation identity. + [string[]]$E2EAdditionalApiRoles = @(), + [string]$ApiProjectPath = "", # Secrets are gated to prevent credential sprawl @@ -69,6 +72,12 @@ if ($IncludeE2E -and [string]::IsNullOrWhiteSpace($E2EAppRegistrationName)) { Write-Error "FATAL: -IncludeE2E requires -E2EAppRegistrationName." exit 1 } +if ($E2EAdditionalApiRoles.Count -gt 0 -and -not $IncludeE2E) { + throw "Additional automation API roles require -IncludeE2E." +} +if (@($E2EAdditionalApiRoles | Where-Object { [string]::IsNullOrWhiteSpace($_) }).Count -gt 0) { + throw "Additional automation API roles must not be empty." +} # ── .NET SDK (needed for user-secrets); modules are handled by the registration script ─ $dotnetInstalled = & dotnet --list-sdks 2>$null | Select-String "^$DotNetVersion\." @@ -100,11 +109,16 @@ Write-Host "" Write-Host "──────────────────────────────────────────────────" Write-Host " Step 1: API App Registration (resource server)" Write-Host "──────────────────────────────────────────────────" -$api = Invoke-Registration -Label 'API' -Arguments @{ +$apiArgs = @{ Type = 'Api' TenantId = $TenantId AppRegistrationName = $ApiAppRegistrationName } +if ($E2EAdditionalApiRoles.Count -gt 0) { + $apiArgs.ApplicationRoles = @(@('Asset.Automation') + $E2EAdditionalApiRoles | Select-Object -Unique) + $apiArgs.StrictApplicationRoles = $E2EAdditionalApiRoles +} +$api = Invoke-Registration -Label 'API' -Arguments $apiArgs Save-DotnetUserSecrets -Label 'API' -ProjectPath $ApiProjectPath -ShowSecrets:$ShowSecrets -Secrets @{ "EntraExternalId:Instance" = $EntraInstanceUrl "EntraExternalId:TenantId" = $TenantId @@ -163,6 +177,7 @@ if ($IncludeE2E) { TenantId = $TenantId AppRegistrationName = $E2EAppRegistrationName ApiAppId = $api.AppId + ApiRole = @(@('Asset.Automation') + $E2EAdditionalApiRoles | Select-Object -Unique) ProjectName = (Get-DotnetProjectName $E2EProjectPath) SkipPrerequisites = $true } diff --git a/.azure/scripts/entra/New-EntraAppRegistration.ps1 b/.azure/scripts/entra/New-EntraAppRegistration.ps1 index f9fbbbc..fb1e4f8 100644 --- a/.azure/scripts/entra/New-EntraAppRegistration.ps1 +++ b/.azure/scripts/entra/New-EntraAppRegistration.ps1 @@ -51,12 +51,13 @@ param( # Web and E2E: the API registration they call. Required for E2E, optional for Web. [string]$ApiAppId, [string[]]$ApiScopes = @('access_as_user', 'assets.read', 'assets.edit', 'assets.delete'), - [string]$ApiRole = 'Asset.Automation', + [string[]]$ApiRole = @('Asset.Automation'), # Api: what the resource server exposes. [string[]]$Scopes = @('access_as_user', 'assets.read', 'assets.edit', 'assets.delete'), [string[]]$UserRoles, [string[]]$ApplicationRoles, + [string[]]$StrictApplicationRoles = @(), [ValidateSet(1, 2)][int]$AccessTokenVersion = 2, # Web: sign-in configuration. @@ -103,6 +104,9 @@ if (-not $PSBoundParameters.ContainsKey('AccessTokenClaims')) { if ($Type -eq 'E2E' -and [string]::IsNullOrWhiteSpace($ApiAppId)) { throw "-ApiAppId is required for -Type E2E." } +if ($Type -eq 'E2E' -and (@($ApiRole).Count -eq 0 -or @($ApiRole | Where-Object { [string]::IsNullOrWhiteSpace($_) }).Count -gt 0)) { + throw "At least one nonempty API application role is required for -Type E2E." +} if ($Type -eq 'Api' -and $SecretOnly) { throw "A resource server does not need a client secret; -SecretOnly is not valid for -Type Api." } @@ -196,6 +200,17 @@ function New-RoleSpec([string]$Value, [string]$MemberType) { return @{ Id = [guid]::NewGuid(); Value = $Value; DisplayName = $t[0]; Description = $t[1]; IsEnabled = $true; AllowedMemberTypes = @($MemberType) } } +function Assert-StrictApplicationRoles([object[]]$ExistingRoles, [string[]]$RequiredRoles, [string[]]$UserRoleValues) { + foreach ($strictRole in $RequiredRoles) { + $matchingRoles = @($ExistingRoles | Where-Object { $_.Value -eq $strictRole }) + if ($strictRole -in $UserRoleValues -or ($matchingRoles | Where-Object { + -not $_.IsEnabled -or @($_.AllowedMemberTypes).Count -ne 1 -or 'Application' -notin $_.AllowedMemberTypes + })) { + throw "Role '$strictRole' must be enabled and restricted to application members. Correct the existing role before continuing." + } + } +} + function ConvertTo-ClaimSpec($c) { $spec = @{ name = $c.Name } if ($c.Source) { $spec.source = $c.Source } @@ -244,6 +259,24 @@ function Get-MergedResourceAccess($app, [string]$ResourceAppId, [object[]]$Wante return @($byResource.Keys | ForEach-Object { @{ ResourceAppId = $_; ResourceAccess = @($byResource[$_]) } }) } +function Get-ApiApplicationRoles($api, [string[]]$RoleNames, [string]$ResourceAppId) { + foreach ($name in ($RoleNames | Select-Object -Unique)) { + $role = $api.AppRoles | Where-Object { + $_.Value -eq $name -and $_.IsEnabled -and $_.AllowedMemberTypes -contains 'Application' + } | Select-Object -First 1 + if (-not $role) { throw "Enabled application role '$name' not found on API '$ResourceAppId'." } + $role + } +} + +function Get-MissingApiRoleAssignments([object[]]$Roles, [object[]]$Assignments, $ResourceId) { + foreach ($role in $Roles) { + if (-not ($Assignments | Where-Object { $_.AppRoleId -eq $role.Id -and $_.ResourceId -eq $ResourceId })) { + $role + } + } +} + # ── Resolve the API this registration depends on ────────────────────────────── $apiReg = $null if ($Type -ne 'Api' -and -not [string]::IsNullOrWhiteSpace($ApiAppId)) { @@ -298,6 +331,7 @@ if (-not $SecretOnly) { if ($Type -in 'Api', 'Web') { $existingRoles = @(@($app.AppRoles) | Where-Object { $_ } | ForEach-Object { ConvertTo-RoleSpec $_ }) + Assert-StrictApplicationRoles $existingRoles $StrictApplicationRoles $UserRoles $existingRoleValues = @($existingRoles | ForEach-Object { $_.Value }) $newRoles = @() $newRoles += @($UserRoles | Where-Object { $_ -and $_ -notin $existingRoleValues } | ForEach-Object { New-RoleSpec $_ 'User' }) @@ -347,9 +381,9 @@ if (-not $SecretOnly) { } if ($Type -eq 'E2E') { - $role = $apiReg.AppRoles | Where-Object { $_.Value -eq $ApiRole -and $_.AllowedMemberTypes -contains 'Application' } | Select-Object -First 1 - if (-not $role) { throw "Application role '$ApiRole' not found on API '$ApiAppId'. Create the API with -ApplicationRoles '$ApiRole' first." } - $merged = Get-MergedResourceAccess $app $ApiAppId @(@{ Id = $role.Id; Type = 'Role' }) + $roles = @(Get-ApiApplicationRoles $apiReg $ApiRole $ApiAppId) + $wantedRoles = @($roles | ForEach-Object { @{ Id = $_.Id; Type = 'Role' } }) + $merged = Get-MergedResourceAccess $app $ApiAppId $wantedRoles if ($merged) { Update-MgApplication -ApplicationId $app.Id -RequiredResourceAccess $merged; $app = Wait-ForApplication $app.Id } } @@ -367,10 +401,9 @@ if (-not $SecretOnly) { if ($Type -eq 'E2E') { $apiSp = Get-OrNew-ServicePrincipal $ApiAppId - $assigned = Get-MgServicePrincipalAppRoleAssignment -ServicePrincipalId $sp.Id -ErrorAction SilentlyContinue | - Where-Object { $_.AppRoleId -eq $role.Id -and $_.ResourceId -eq $apiSp.Id } - if (-not $assigned) { - Write-Host "Granting '$ApiRole' to the E2E service principal..." + $assigned = @(Get-MgServicePrincipalAppRoleAssignment -ServicePrincipalId $sp.Id -All -ErrorAction Stop) + foreach ($role in @(Get-MissingApiRoleAssignments $roles $assigned $apiSp.Id)) { + Write-Host "Granting '$($role.Value)' to the automation service principal..." New-MgServicePrincipalAppRoleAssignment -ServicePrincipalId $sp.Id -PrincipalId $sp.Id -ResourceId $apiSp.Id -AppRoleId $role.Id | Out-Null } } diff --git a/.azure/scripts/tests/New-EntraAppRegistration.Tests.ps1 b/.azure/scripts/tests/New-EntraAppRegistration.Tests.ps1 index 9d22766..ed7c960 100644 --- a/.azure/scripts/tests/New-EntraAppRegistration.Tests.ps1 +++ b/.azure/scripts/tests/New-EntraAppRegistration.Tests.ps1 @@ -2,7 +2,7 @@ BeforeAll { $path = Join-Path $PSScriptRoot '..\entra\New-EntraAppRegistration.ps1' $script:registrationPath = $path $ast = [System.Management.Automation.Language.Parser]::ParseFile($path, [ref]$null, [ref]$null) - $wanted = 'ConvertTo-ScopeSpec', 'New-ScopeSpec', 'ConvertTo-RoleSpec', 'New-RoleSpec', 'ConvertTo-ClaimSpec', 'Get-MergedOptionalClaims', 'Get-MergedResourceAccess' + $wanted = 'ConvertTo-ScopeSpec', 'New-ScopeSpec', 'ConvertTo-RoleSpec', 'New-RoleSpec', 'Assert-StrictApplicationRoles', 'ConvertTo-ClaimSpec', 'Get-MergedOptionalClaims', 'Get-MergedResourceAccess', 'Get-ApiApplicationRoles', 'Get-MissingApiRoleAssignments' # Definitions only: the script itself signs in to Entra, so run just its pure helper functions and lookup tables. $assignments = $ast.FindAll({ param($n) $n -is [System.Management.Automation.Language.AssignmentStatementAst] -and $n.Left.Extent.Text -in '$knownText', '$knownRoles' }, $false) @@ -27,7 +27,6 @@ BeforeAll { return @($IdTokenClaims.Count, $AccessTokenClaims.Count) } } - Describe 'identifier URI under strict mode' { It 'handles an existing registration with no identifier URI' { Set-StrictMode -Version Latest @@ -147,3 +146,127 @@ Describe 'spec builders' { (ConvertTo-RoleSpec $r).Value | Should -Be 'X' } } + +Describe 'strict application roles' { + It 'accepts a missing role or an enabled application-only role' { + { Assert-StrictApplicationRoles @() @('Product.Install') @() } | Should -Not -Throw + $role = @{ Value = 'Product.Install'; IsEnabled = $true; AllowedMemberTypes = @('Application') } + { Assert-StrictApplicationRoles @($role) @('Product.Install') @() } | Should -Not -Throw + } + + It 'rejects roles that permit users or are disabled' { + $role = @{ Value = 'Product.Install'; IsEnabled = $true; AllowedMemberTypes = @('Application', 'User') } + { Assert-StrictApplicationRoles @($role) @('Product.Install') @() } | Should -Throw + $role.AllowedMemberTypes = @('Application') + $role.IsEnabled = $false + { Assert-StrictApplicationRoles @($role) @('Product.Install') @() } | Should -Throw + { Assert-StrictApplicationRoles @() @('Product.Install') @('Product.Install') } | Should -Throw + } + + Describe 'shared automation application roles' { + BeforeEach { + $script:api = [pscustomobject]@{ + AppRoles = @( + [pscustomobject]@{ Id = 'automation'; Value = 'Asset.Automation'; IsEnabled = $true; AllowedMemberTypes = @('Application') } + [pscustomobject]@{ Id = 'install'; Value = 'Product.Install'; IsEnabled = $true; AllowedMemberTypes = @('Application') } + ) + } + } + + It 'resolves both roles and preserves unrelated resource permissions' { + $roles = @(Get-ApiApplicationRoles $api @('Asset.Automation', 'Product.Install') 'api') + $roles.Value | Should -Be @('Asset.Automation', 'Product.Install') + $app = [pscustomobject]@{ RequiredResourceAccess = @( + [pscustomobject]@{ ResourceAppId = 'other'; ResourceAccess = @([pscustomobject]@{ Id = 'other-id'; Type = 'Scope' }) } + [pscustomobject]@{ ResourceAppId = 'api'; ResourceAccess = @([pscustomobject]@{ Id = 'automation'; Type = 'Role' }) } + ) } + $wanted = @($roles | ForEach-Object { @{ Id = $_.Id; Type = 'Role' } }) + $merged = Get-MergedResourceAccess $app 'api' $wanted + @(($merged | Where-Object ResourceAppId -EQ 'api').ResourceAccess.Id) | Should -Be @('automation', 'install') + @(($merged | Where-Object ResourceAppId -EQ 'other').ResourceAccess.Id) | Should -Be @('other-id') + } + + It 'adds only missing assignments and is idempotent on rerun' { + $roles = @(Get-ApiApplicationRoles $api @('Asset.Automation', 'Product.Install') 'api') + $existing = @([pscustomobject]@{ AppRoleId = 'automation'; ResourceId = 'api-sp' }) + @(Get-MissingApiRoleAssignments $roles $existing 'api-sp').Value | Should -Be @('Product.Install') + $existing += [pscustomobject]@{ AppRoleId = 'install'; ResourceId = 'api-sp' } + @(Get-MissingApiRoleAssignments $roles $existing 'api-sp').Count | Should -Be 0 + } + + It 'grants both roles to the same service principal without duplicating them' { + $roleAssignmentBlock = $ast.Find({ + param($node) + $node -is [System.Management.Automation.Language.IfStatementAst] -and + $node.Extent.Text.StartsWith("if (`$Type -eq 'E2E')") -and + $node.Extent.Text.Contains('New-MgServicePrincipalAppRoleAssignment') + }, $true) + $Type = 'E2E' + $ApiAppId = 'api' + $roles = @(Get-ApiApplicationRoles $api @('Asset.Automation', 'Product.Install') 'api') + $sp = [pscustomobject]@{ Id = 'automation-sp' } + $script:assignedRoles = @() + $script:grantCount = 0 + function Get-OrNew-ServicePrincipal { param($AppId) return [pscustomobject]@{ Id = 'api-sp' } } + function Get-MgServicePrincipalAppRoleAssignment { + param($ServicePrincipalId, [switch]$All) + return $script:assignedRoles + } + function New-MgServicePrincipalAppRoleAssignment { + param($ServicePrincipalId, $PrincipalId, $ResourceId, $AppRoleId) + if ($ServicePrincipalId -ne 'automation-sp' -or $PrincipalId -ne 'automation-sp') { + throw 'Roles must be assigned to the existing automation principal.' + } + $script:grantCount++ + $script:assignedRoles += [pscustomobject]@{ AppRoleId = $AppRoleId; ResourceId = $ResourceId } + } + + Invoke-Expression $roleAssignmentBlock.Extent.Text + Invoke-Expression $roleAssignmentBlock.Extent.Text + $script:grantCount | Should -Be 2 + @($script:assignedRoles.AppRoleId) | Should -Be @('automation', 'install') + } + + It 'fails if a requested role is missing or disabled' { + { Get-ApiApplicationRoles $api @('Asset.Automation', 'missing') 'api' } | Should -Throw '*missing*' + $api.AppRoles[1].IsEnabled = $false + { Get-ApiApplicationRoles $api @('Asset.Automation', 'Product.Install') 'api' } | Should -Throw '*Product.Install*' + } + + It 'requires E2E when extra automation roles are requested' { + $scriptPath = Join-Path $PSScriptRoot '..\New-EntraDotnetSolution.ps1' + { & $scriptPath -EntraInstanceUrl 'https://example.invalid' -TenantId 'synthetic' -ApiAppRegistrationName 'api' -E2EAdditionalApiRoles 'Product.Install' } | + Should -Throw '*require -IncludeE2E*' + } + + It 'requests both roles on the API and the existing E2E registration' { + $scriptPath = Join-Path $PSScriptRoot '..\New-EntraDotnetSolution.ps1' + $solutionAst = [System.Management.Automation.Language.Parser]::ParseFile($scriptPath, [ref]$null, [ref]$null) + $apiArgs = @{} + $E2EAdditionalApiRoles = @('Product.Install') + $apiRoleMapping = $solutionAst.Find({ + param($node) + $node -is [System.Management.Automation.Language.IfStatementAst] -and + $node.Extent.Text.StartsWith('if ($E2EAdditionalApiRoles.Count -gt 0)') -and + $node.Extent.Text.Contains('$apiArgs.ApplicationRoles') + }, $true) + Invoke-Expression $apiRoleMapping.Extent.Text + $apiArgs.ApplicationRoles | Should -Be @('Asset.Automation', 'Product.Install') + $apiArgs.StrictApplicationRoles | Should -Be @('Product.Install') + + $e2eArgsAssignment = $solutionAst.Find({ + param($node) + $node -is [System.Management.Automation.Language.AssignmentStatementAst] -and + $node.Left.Extent.Text -eq '$e2eArgs' + }, $true) + $TenantId = 'synthetic' + $E2EAppRegistrationName = 'existing-e2e' + $E2EProjectPath = 'existing-project' + $api = [pscustomobject]@{ AppId = 'api' } + function Get-DotnetProjectName { param($ProjectPath) return $ProjectPath } + Invoke-Expression $e2eArgsAssignment.Extent.Text + $e2eArgs.AppRegistrationName | Should -Be 'existing-e2e' + $e2eArgs.ApiRole | Should -Be @('Asset.Automation', 'Product.Install') + } + } +}