Skip to content
Merged
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
154 changes: 154 additions & 0 deletions THIRD-PARTY-NOTICES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
THIRD-PARTY SOFTWARE NOTICES
============================

MandoCode Desktop incorporates components from the projects listed below.
MandoCode Desktop itself is licensed under the MIT License (see LICENSE);
the components below remain under their own licenses, reproduced or
referenced here as those licenses require.

--------------------------------------------------------------------------
Bundled web assets (shipped in Assets/web, rendered in the transcript)
--------------------------------------------------------------------------

highlight.js β€” https://highlightjs.org
Copyright (c) 2006, Ivan Sagalaev
License: BSD 3-Clause (Appendix C)

--------------------------------------------------------------------------
.NET package dependencies (compiled into the application)
--------------------------------------------------------------------------

Markdig β€” https://github.com/xoofx/markdig
Copyright (c) 2016-2025, Alexandre Mutel
License: BSD 2-Clause (Appendix B)

HtmlAgilityPack β€” https://html-agility-pack.net
Copyright (c) ZZZ Projects Inc.
License: MIT (Appendix A)

Microsoft.SemanticKernel (and Connectors.Ollama) β€” https://github.com/microsoft/semantic-kernel
Copyright (c) Microsoft Corporation
License: MIT (Appendix A)

Microsoft.Extensions.AI, Microsoft.Extensions.AI.Abstractions,
Microsoft.Extensions.DependencyInjection, Microsoft.Extensions.FileSystemGlobbing
β€” https://github.com/dotnet
Copyright (c) .NET Foundation and Contributors
License: MIT (Appendix A)

ModelContextProtocol (C# SDK) β€” https://github.com/modelcontextprotocol/csharp-sdk
Copyright (c) 2025 Anthropic, PBC and contributors
License: MIT (Appendix A)

OllamaSharp β€” https://github.com/awaescher/OllamaSharp
Copyright (c) Andreas WΓ€scher
License: MIT (Appendix A)

NAudio β€” https://github.com/naudio/NAudio
Copyright (c) 2020 Mark Heath
License: MIT (Appendix A)

RazorConsole.Core β€” https://github.com/LittleLittleCloud/RazorConsole
Copyright (c) RazorConsole contributors
License: MIT (Appendix A)

Spectre.Console β€” https://github.com/spectreconsole/spectre.console
Copyright (c) Patrik Svensson, Phil Scott, Nils Andresen, CΓ©dric Luthi, Frank Ray
License: MIT (Appendix A)

YamlDotNet β€” https://github.com/aaubry/YamlDotNet
Copyright (c) 2008-2019 Antoine Aubry and contributors
License: MIT (Appendix A)

Microsoft.WindowsAppSDK / Microsoft.Web.WebView2
Copyright (c) Microsoft Corporation
License: Microsoft Software License Terms β€”
https://aka.ms/windowsappsdklicense and
https://developer.microsoft.com/microsoft-edge/webview2 (SDK license)

--------------------------------------------------------------------------
Appendix A β€” MIT License
--------------------------------------------------------------------------

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

(The copyright notice applicable to each MIT-licensed component is the one
listed for that component above.)

--------------------------------------------------------------------------
Appendix B β€” BSD 2-Clause License (Markdig)
--------------------------------------------------------------------------

Copyright (c) 2016-2025, Alexandre Mutel
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------
Appendix C β€” BSD 3-Clause License (highlight.js)
--------------------------------------------------------------------------

Copyright (c) 2006, Ivan Sagalaev.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of highlight.js nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
28 changes: 27 additions & 1 deletion src/MandoCode.Desktop/App.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Application
x:Class="MandoCode.Desktop.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
RequestedTheme="Dark">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
Expand All @@ -20,6 +21,31 @@
<SolidColorBrush x:Key="MandoSkyBrush" Color="{StaticResource MandoSkyColor}" />
<SolidColorBrush x:Key="MandoGreenBrush" Color="{StaticResource MandoGreenColor}" />
<SolidColorBrush x:Key="MandoRedBrush" Color="{StaticResource MandoRedColor}" />

<!-- Surface colors, same values as the WebView2 transcript CSS variables
in TranscriptHtmlBuilder (bg, panel, border, fg, dim), so native
pages and the chat render on identical surfaces -->
<Color x:Key="MandoBackgroundColor">#16121F</Color>
<Color x:Key="MandoPanelColor">#201A2E</Color>
<Color x:Key="MandoBorderColor">#362C4D</Color>
<Color x:Key="MandoTextColor">#E6E1F0</Color>
<Color x:Key="MandoDimColor">#8F87A3</Color>
<SolidColorBrush x:Key="MandoBackgroundBrush" Color="{StaticResource MandoBackgroundColor}" />
<SolidColorBrush x:Key="MandoPanelBrush" Color="{StaticResource MandoPanelColor}" />
<SolidColorBrush x:Key="MandoBorderBrush" Color="{StaticResource MandoBorderColor}" />
<SolidColorBrush x:Key="MandoTextBrush" Color="{StaticResource MandoTextColor}" />
<SolidColorBrush x:Key="MandoDimBrush" Color="{StaticResource MandoDimColor}" />

<!-- Replace the user's Windows accent color with MandoCode purple so
accent buttons, toggle switches, sliders, and selection highlights
match the brand on every machine -->
<Color x:Key="SystemAccentColor">#C864FF</Color>
<Color x:Key="SystemAccentColorLight1">#D183FF</Color>
<Color x:Key="SystemAccentColorLight2">#C864FF</Color>
<Color x:Key="SystemAccentColorLight3">#E3ADFF</Color>
<Color x:Key="SystemAccentColorDark1">#A94FE0</Color>
<Color x:Key="SystemAccentColorDark2">#8C3BC2</Color>
<Color x:Key="SystemAccentColorDark3">#6F2AA3</Color>
</ResourceDictionary>
</Application.Resources>
</Application>
Loading
Loading