Dialog Engine — Source-Available License (v1)

Copyright (c) 2026 Danila Shubin, Saveliy Khvostov. All rights reserved.

TERMS AND CONDITIONS

1. Definitions. "Software" means the dialog-engine package, its source code,
   object code (if any), and documentation distributed with it.

2. Grant of use. Subject to this License, you are granted a worldwide,
   royalty-free, non-exclusive license to:
   (a) install and run the Software;
   (b) import, call, and link to the Software as a library in your own
       programs;
   (c) copy and redistribute unmodified copies of the Software (including
       through package indexes such as PyPI), provided that you retain this
       License and copyright notices.

3. Modification and derivatives PROHIBITED. You may not modify, adapt,
   translate, merge, or otherwise create derivative works of the Software.
   You may not distribute the Software, or any part of it, if you have changed
   its source files. You may not publicly fork or publish a variant of this
   project that includes altered library source code.

   Bug reports and feature suggestions are welcome through the channels
   indicated in the project repository; they do not constitute permission to
   modify and redistribute.

4. No reverse engineering for circumvention. You may not circumvent the
   restrictions in section 3 by decompiling or disassembling the Software except
   to the extent that applicable law expressly permits and cannot be waived.

5. Attribution. Redistributions of the Software must reproduce this License
   and the copyright notice above.

6. No trademark. This License does not grant permission to use trade names,
   trademarks, or service marks of the copyright holders, except as required
   for reasonable and customary use in describing the origin of the Software.

7. Disclaimer of warranty. 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.

8. Termination. If you violate this License, your rights under it terminate
   automatically.

---

Note on "open source": This license is NOT an Open Source Initiative (OSI)
approved license, because it does not grant the freedom to modify and share
modified versions — a requirement of the Open Source Definition. It is a
source-available license: the source is visible for transparency and
auditing, but changing and redistributing changed source is not permitted.

For comparison, Creative Commons offers "NoDerivatives" variants (e.g. CC BY-ND),
but Creative Commons discourages using CC licenses for software; a dedicated
software license (such as this text) is a common approach when you want
use-without-modification terms.
