Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions agentic-workflows/dotnet-msbuild/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ $KnowledgeGroups = [ordered]@{
$KnowledgeTargets = @{
'agentic-workflows' = @{
OutputDir = Join-Path $PSScriptRoot 'shared' 'compiled'
MaxChars = 40000
MaxChars = 80000
}
}

Expand All @@ -101,10 +101,11 @@ function Read-Skill([string]$SkillName) {
$content = $Matches[1]
}

# Inline linked references: replace [text](references/file.md) with file content
$content = [regex]::Replace($content, '\[([^\]]*)\]\((references/[^\)]+\.md)\)', {
# Inline linked references: replace [text](references/file.md) and [text](../../shared/file.md) with file content
$content = [regex]::Replace($content, '\[([^\]]*)\]\(((?:references|\.\.\/\.\.\/shared)/[^\)]+\.md)\)', {
param($m)
$refPath = Join-Path $skillDir $m.Groups[2].Value
$relPath = $m.Groups[2].Value
$refPath = [System.IO.Path]::GetFullPath((Join-Path $skillDir $relPath))
if (Test-Path $refPath) {
$refContent = (Get-Content $refPath -Raw).Trim()
return $refContent
Expand Down
429 changes: 311 additions & 118 deletions agentic-workflows/dotnet-msbuild/shared/compiled/build-errors.lock.md

Large diffs are not rendered by default.

Loading