siphon-ai 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. siphon_ai-0.1.0/.gitignore +11 -0
  2. siphon_ai-0.1.0/CODE_OF_CONDUCT.md +123 -0
  3. siphon_ai-0.1.0/CONTRIBUTING.md +204 -0
  4. siphon_ai-0.1.0/LICENSE +212 -0
  5. siphon_ai-0.1.0/PKG-INFO +254 -0
  6. siphon_ai-0.1.0/README.md +210 -0
  7. siphon_ai-0.1.0/SECURITY.md +62 -0
  8. siphon_ai-0.1.0/__init__.py +0 -0
  9. siphon_ai-0.1.0/flows/AgentLifecycle.puml +56 -0
  10. siphon_ai-0.1.0/flows/Architecture.puml +100 -0
  11. siphon_ai-0.1.0/flows/HighLevelSystem.puml +79 -0
  12. siphon_ai-0.1.0/pyproject.toml +127 -0
  13. siphon_ai-0.1.0/siphon/__init__.py +9 -0
  14. siphon_ai-0.1.0/siphon/agent/__init__.py +4 -0
  15. siphon_ai-0.1.0/siphon/agent/agent_components/__init__.py +0 -0
  16. siphon_ai-0.1.0/siphon/agent/agent_components/llm.py +55 -0
  17. siphon_ai-0.1.0/siphon/agent/agent_components/stt.py +39 -0
  18. siphon_ai-0.1.0/siphon/agent/agent_components/tts.py +43 -0
  19. siphon_ai-0.1.0/siphon/agent/core/__init__.py +0 -0
  20. siphon_ai-0.1.0/siphon/agent/core/entrypoint.py +299 -0
  21. siphon_ai-0.1.0/siphon/agent/core/utils.py +16 -0
  22. siphon_ai-0.1.0/siphon/agent/core/voice_agent.py +135 -0
  23. siphon_ai-0.1.0/siphon/agent/runner.py +109 -0
  24. siphon_ai-0.1.0/siphon/config/__init__.py +13 -0
  25. siphon_ai-0.1.0/siphon/config/call_metadata.py +281 -0
  26. siphon_ai-0.1.0/siphon/config/call_recording.py +207 -0
  27. siphon_ai-0.1.0/siphon/config/call_transcription.py +77 -0
  28. siphon_ai-0.1.0/siphon/config/data_storage.py +239 -0
  29. siphon_ai-0.1.0/siphon/config/hangup_call.py +98 -0
  30. siphon_ai-0.1.0/siphon/config/logging_config.py +32 -0
  31. siphon_ai-0.1.0/siphon/config/timezone_utils.py +49 -0
  32. siphon_ai-0.1.0/siphon/plugins/__init__.py +21 -0
  33. siphon_ai-0.1.0/siphon/plugins/anthropic.py +60 -0
  34. siphon_ai-0.1.0/siphon/plugins/assemblyai.py +59 -0
  35. siphon_ai-0.1.0/siphon/plugins/cartesia.py +110 -0
  36. siphon_ai-0.1.0/siphon/plugins/cerebras.py +58 -0
  37. siphon_ai-0.1.0/siphon/plugins/deepgram.py +128 -0
  38. siphon_ai-0.1.0/siphon/plugins/deepseek.py +58 -0
  39. siphon_ai-0.1.0/siphon/plugins/elevenlabs.py +73 -0
  40. siphon_ai-0.1.0/siphon/plugins/gemini.py +99 -0
  41. siphon_ai-0.1.0/siphon/plugins/google.py +137 -0
  42. siphon_ai-0.1.0/siphon/plugins/groq.py +149 -0
  43. siphon_ai-0.1.0/siphon/plugins/mistralai.py +103 -0
  44. siphon_ai-0.1.0/siphon/plugins/ollama.py +58 -0
  45. siphon_ai-0.1.0/siphon/plugins/openai.py +171 -0
  46. siphon_ai-0.1.0/siphon/plugins/openrouter.py +68 -0
  47. siphon_ai-0.1.0/siphon/plugins/perplexity.py +58 -0
  48. siphon_ai-0.1.0/siphon/plugins/rime.py +63 -0
  49. siphon_ai-0.1.0/siphon/plugins/sarvam.py +107 -0
  50. siphon_ai-0.1.0/siphon/plugins/together.py +58 -0
  51. siphon_ai-0.1.0/siphon/plugins/xai.py +58 -0
  52. siphon_ai-0.1.0/siphon/telephony/__init__.py +0 -0
  53. siphon_ai-0.1.0/siphon/telephony/inbound/__init__.py +2 -0
  54. siphon_ai-0.1.0/siphon/telephony/inbound/dispatch.py +157 -0
  55. siphon_ai-0.1.0/siphon/telephony/inbound/trunk.py +121 -0
  56. siphon_ai-0.1.0/siphon/telephony/outbound/__init__.py +4 -0
  57. siphon_ai-0.1.0/siphon/telephony/outbound/make_call.py +251 -0
  58. siphon_ai-0.1.0/siphon/telephony/outbound/trunk.py +118 -0
@@ -0,0 +1,11 @@
1
+ .env
2
+ *.pyc
3
+ __pycache__/
4
+ *.egg-info/
5
+ dist/
6
+ build/
7
+ BRD.md
8
+ SRD.md
9
+ .env.local
10
+ .env.*
11
+ requirements.txt
@@ -0,0 +1,123 @@
1
+ # SIPHON Code of Conduct
2
+
3
+ ## 1. Purpose
4
+
5
+ SIPHON is a LiveKit-based telephony AI agent framework. It is intended to make it easier to build responsible, production-grade AI calling systems.
6
+
7
+ This Code of Conduct defines expectations for everyone who participates in the SIPHON ecosystem, including:
8
+
9
+ - Users of the framework
10
+ - Contributors and maintainers
11
+ - Community members in issues, discussions, and any official channels
12
+
13
+ Our goal is to foster a respectful, safe, and inclusive environment for collaboration.
14
+
15
+ ---
16
+
17
+ ## 2. Scope
18
+
19
+ This Code of Conduct applies to all SIPHON-related spaces, including but not limited to:
20
+
21
+ - Project repositories and issue trackers
22
+ - Pull requests, code reviews, and discussions
23
+ - Any official communication channels hosted or moderated by SIPHON maintainers
24
+
25
+ It also applies when representing the project in public spaces, such as conferences, social media, or blog posts, where you are identifiable as a SIPHON user, contributor, or maintainer.
26
+
27
+ ---
28
+
29
+ ## 3. Our Standards
30
+
31
+ ### 3.1 Expected behavior
32
+
33
+ - **Be respectful**
34
+ Treat everyone with courtesy and professionalism. Disagreement is normal; disrespect is not.
35
+
36
+ - **Be inclusive**
37
+ Welcome people of all backgrounds, experience levels, and identities. Avoid exclusionary or dismissive behavior.
38
+
39
+ - **Be constructive**
40
+ - Provide helpful feedback on issues, proposals, and pull requests.
41
+ - Focus on the code, design, and use cases, not the person.
42
+
43
+ - **Protect users and data**
44
+ - Treat telephony and conversational data as sensitive by default.
45
+ - Respect privacy laws and best practices when using SIPHON in production.
46
+ - Avoid sharing real user data or secrets (API keys, credentials, phone numbers) in public spaces.
47
+
48
+ - **Promote responsible AI use**
49
+ - Avoid building or promoting abusive, deceptive, or clearly harmful calling experiences with SIPHON (e.g., fraud, harassment, spam).
50
+ - Follow applicable laws and regulations in your jurisdiction, especially those related to telecom, privacy, consent, and AI.
51
+
52
+ ### 3.2 Unacceptable behavior
53
+
54
+ - **Harassment or discrimination**, including:
55
+ - Hate speech, personal attacks, or slurs.
56
+ - Sexist, racist, or otherwise exclusionary comments or jokes.
57
+
58
+ - **Abusive community behavior**, such as:
59
+ - Persistent trolling or flame wars.
60
+ - Threats of violence or doxxing.
61
+ - Deliberately derailing conversations or PRs.
62
+
63
+ - **Irresponsible or malicious use of SIPHON**, including:
64
+ - Using SIPHON to create harassing, deceptive, or non-consensual calling systems.
65
+ - Intentionally bypassing consent, opt-out, or applicable telephony/AI regulations.
66
+ - Publicly sharing sensitive call logs, transcripts, or recordings without proper redaction and consent.
67
+
68
+ - **Unprofessional collaboration**, such as:
69
+ - Repeatedly ignoring review feedback or project guidelines.
70
+ - Misrepresenting others’ work as your own.
71
+ - Spamming issues, PRs, or discussions.
72
+
73
+ ---
74
+
75
+ ## 4. Responsibilities of Maintainers
76
+
77
+ - **Review and moderate**
78
+ - Maintain a welcoming, respectful space in issues, PRs, and discussions.
79
+ - Intervene when behavior violates this Code of Conduct.
80
+
81
+ - **Set expectations clearly**
82
+ - Provide clear contribution guidelines and technical direction.
83
+ - Communicate decisions and project priorities in a respectful way.
84
+
85
+ - **Take appropriate action**
86
+ - Warn, restrict participation, or temporarily/permanently ban individuals when necessary.
87
+ - Close or reject contributions that are abusive, obviously malicious, or substantially misaligned with project goals (e.g., promoting harmful telephony use cases).
88
+
89
+ ---
90
+
91
+ ## 5. Reporting & Enforcement
92
+
93
+ - **How to report**
94
+ - You can report violations or concerns by contacting the maintainers at:
95
+ - Email: `siphon@blackdwarf.in`
96
+ - Provide as much detail as possible (links, timestamps, screenshots) while respecting the privacy of those involved.
97
+
98
+ - **How reports are handled**
99
+ - Reports will be reviewed by the maintainers in good faith.
100
+ - When appropriate, they may:
101
+ - Ask clarifying questions.
102
+ - Take action on GitHub or other platforms (warnings, content removal, access restrictions).
103
+ - Escalate or involve platform support if needed.
104
+
105
+ - **Confidentiality**
106
+ - The maintainers will treat reports as confidential to the extent reasonably possible, and will only share details as required to investigate and act.
107
+
108
+ - **Consequences**
109
+ - Actions may include, but are not limited to:
110
+ - Verbal or written warning
111
+ - Temporary or permanent ban from project spaces
112
+ - Reversion or rejection of contributions
113
+
114
+ ---
115
+
116
+ ## 6. Changes & Attribution
117
+
118
+ - **Evolution**
119
+ - This Code of Conduct may change over time as the project and community evolve.
120
+ - Substantive changes will be documented in the repository history.
121
+
122
+ - **Attribution**
123
+ - This document is inspired by community standards such as the Contributor Covenant and similar open source Codes of Conduct, adapted for the SIPHON project and its telephony-AI context.
@@ -0,0 +1,204 @@
1
+ # Contributing to SIPHON
2
+
3
+ Thank you for your interest in contributing to **SIPHON**, a LiveKit-based telephony AI agent framework.
4
+
5
+ This document explains how to get set up for development, the types of contributions we welcome, and the standards we expect in this project.
6
+
7
+ ---
8
+
9
+ ## 1. Code of Conduct & Responsible Use
10
+
11
+ By participating in this project, you agree to follow the:
12
+
13
+ - **[SIPHON Code of Conduct](./CODE_OF_CONDUCT.md)**
14
+
15
+ In addition, because SIPHON is used for **telephony and AI calling systems**, we expect contributors to:
16
+
17
+ - Avoid building or promoting **harassing, deceptive, or non-consensual** calling flows.
18
+ - Respect **privacy, telecom, and AI-related regulations** in your jurisdiction.
19
+ - Treat call metadata, audio, and transcripts as **sensitive data** by default.
20
+
21
+ ---
22
+
23
+ ## 2. Ways to Contribute
24
+
25
+ ### 2.1 Good first issues
26
+
27
+ - We may tag some GitHub issues with a label such as **"good first issue"** when they are well-scoped and suitable for newcomers.
28
+ - If you’d like to work on one, please leave a short comment like **“Can I take this?”** so maintainers can assign it to you and avoid duplicate work.
29
+
30
+ ### 2.2 Bug reports
31
+
32
+ - Use the issue tracker to report reproducible bugs.
33
+ - Include environment details, SIP/telephony settings (without secrets), logs, and clear steps to reproduce.
34
+
35
+ ### 2.3 Feature requests & design proposals
36
+
37
+ - Open an issue describing the **use case and motivation**, not only the implementation idea.
38
+ - For larger or potentially breaking changes, start with a brief design discussion (via GitHub issue, discussion, or the project’s preferred chat channel) before writing a lot of code.
39
+
40
+ ### 2.4 Code contributions (PRs)
41
+
42
+ - Fix bugs or add features that align with SIPHON’s goals: LiveKit-based AI telephony, agents, and tooling.
43
+ - Keep changes focused and well-scoped; avoid huge PRs that mix unrelated changes.
44
+
45
+ ### 2.5 Documentation & examples
46
+
47
+ - Improve docs, comments, and README sections.
48
+ - Add small examples for common patterns (e.g. inbound agent, outbound dialer, provider-specific configs).
49
+
50
+ ---
51
+
52
+ ## 3. Development Setup
53
+
54
+ ### 3.1 Prerequisites
55
+
56
+ - Python **3.10+**
57
+ - Git
58
+ - A LiveKit cloud / self-hosted project (for actual telephony tests)
59
+ - Optionally: conda/virtualenv/uv/poetry to manage environments
60
+
61
+ ### 3.2 Clone the repository
62
+
63
+ ```bash
64
+ git clone https://github.com/blackdwarftech/siphon.git
65
+ cd siphon
66
+ ```
67
+
68
+ ### 3.3 Create a virtual environment (recommended)
69
+
70
+ ```bash
71
+ python -m venv .venv
72
+ source .venv/bin/activate # On Windows: .venv\\Scripts\\activate
73
+ ```
74
+
75
+ ### 3.4 Install SIPHON in editable mode
76
+
77
+ SIPHON uses `pyproject.toml` with `hatchling`. For local development, install dependencies in editable mode:
78
+
79
+ ```bash
80
+ pip install -e .
81
+ ```
82
+
83
+ This will install `siphon-ai` and all required runtime dependencies (LiveKit, providers, etc.).
84
+
85
+ ### 3.5 Environment configuration
86
+
87
+ - Copy the example environment file:
88
+
89
+ ```bash
90
+ cp .env.example .env
91
+ ```
92
+
93
+ - Fill in the secrets and configuration required for your setup, for example:
94
+ - LiveKit API keys / URLs
95
+ - Provider API keys (OpenAI, Anthropic, Groq, Deepgram, etc.)
96
+ - Storage / database connection strings if you want recording/metadata persistence
97
+
98
+ Do **not** commit real secrets to the repository.
99
+
100
+ ---
101
+
102
+ ## 4. Running SIPHON During Development
103
+
104
+ SIPHON is organized around:
105
+
106
+ - `siphon.agent` – agent runner and core entrypoint.
107
+ - `siphon.telephony.inbound` – inbound SIP trunk + dispatch helpers.
108
+ - `siphon.telephony.outbound` – outbound call helpers.
109
+ - `siphon.plugins` – model/STT/TTS provider integrations.
110
+
111
+ Typical workflows during development:
112
+
113
+ - **Run an agent worker locally** using `siphon.agent.runner.Agent`.
114
+ - **Configure inbound calling** via `siphon.telephony.inbound.Dispatch`.
115
+ - **Place outbound calls** via `siphon.telephony.outbound.Call`.
116
+
117
+ ---
118
+
119
+ ## 5. Coding Style & Guidelines
120
+
121
+ - **Python style**
122
+ - Follow idiomatic Python and PEP 8 where practical.
123
+ - Prefer explicit over implicit; write clear, maintainable code over clever one-liners.
124
+
125
+ - **Types**
126
+ - Use type hints where reasonable.
127
+ - Keep function signatures clear; use `Dict[str, Any]` only when the structure cannot be strongly typed yet.
128
+
129
+ - **Logging & errors**
130
+ - Use the project’s `get_logger` helper for logging.
131
+ - Include enough context in error logs to debug telephony/agent issues (IDs, trunk/number, but no secrets).
132
+
133
+ - **Abstractions**
134
+ - Keep **LiveKit-specific wiring** localized in `siphon.telephony` and `siphon.agent.core`.
135
+ - Keep provider-specific logic in `siphon.plugins.<provider>`; higher-level code should talk to provider-agnostic interfaces.
136
+
137
+ ---
138
+
139
+ ## 6. Tests & Quality
140
+
141
+ If/when tests are added to the project:
142
+
143
+ - Write tests for new behavior where possible.
144
+ - Ensure existing tests pass before opening a PR.
145
+
146
+ Example:
147
+
148
+ ```bash
149
+ pytest
150
+ ```
151
+
152
+ If there is no test suite yet, consider contributing small, focused tests around:
153
+
154
+ - SIP trunk helpers (inbound/outbound trunk creation and lookup).
155
+ - Metadata handling in `siphon.agent.core.entrypoint`.
156
+ - Provider config parsing in `siphon.agent.agent_components`.
157
+
158
+ ---
159
+
160
+ ## 7. Pull Request Process
161
+
162
+ 1. **Fork** the repository and create a feature branch:
163
+
164
+ ```bash
165
+ git checkout -b feature/my-change
166
+ ```
167
+
168
+ 2. **Make your changes** in small, logical commits.
169
+
170
+ 3. **Add or update documentation** if your change affects public APIs, configuration, or behavior.
171
+
172
+ 4. **Run tests / sanity checks** locally.
173
+
174
+ 5. **Open a Pull Request**
175
+ - In the PR description, briefly explain:
176
+ - What changed.
177
+ - Why the change is needed (link the related issue if there is one).
178
+ - How you tested it (and whether it might be a breaking change).
179
+ - If relevant, mention how it impacts telephony flows or AI/LLM behavior.
180
+
181
+ 6. Engage in review
182
+ - Be open to feedback and iterate as needed.
183
+
184
+ Once tests pass and reviews are resolved, a maintainer will merge your PR (often using squash-merge to keep history tidy).
185
+
186
+ ---
187
+
188
+ ## 8. Security, Privacy & Abuse
189
+
190
+ If you discover a vulnerability, privacy issue, or a way SIPHON could be abused in production deployments, please **do not** open a public issue with exploit details.
191
+
192
+ Instead, contact the maintainers privately so we can assess and respond responsibly.
193
+
194
+ ---
195
+
196
+ ## 9. Questions & Support
197
+
198
+ If you’re unsure how best to contribute or want guidance on an idea:
199
+
200
+ - Open a GitHub issue marked as **question** or **proposal**.
201
+ - Or reach out via the project’s listed contact channels.
202
+ - Our [Discord server](https://discord.gg/YOUR_INVITE_CODE) is constantly open; if you are unsure about anything, it is a good place to discuss. We’d love to collaborate and will always be friendly.
203
+
204
+ Thank you again for helping improve SIPHON!
@@ -0,0 +1,212 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License.
67
+
68
+ Subject to the terms and conditions of this License, each Contributor
69
+ hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
70
+ royalty-free, irrevocable copyright license to reproduce, prepare
71
+ Derivative Works of, publicly display, publicly perform, sublicense,
72
+ and distribute the Work and such Derivative Works in Source or Object
73
+ form.
74
+
75
+ 3. Grant of Patent License.
76
+
77
+ Subject to the terms and conditions of this License, each Contributor
78
+ hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
79
+ royalty-free, irrevocable (except as stated in this section) patent
80
+ license to make, have made, use, offer to sell, sell, import, and
81
+ otherwise transfer the Work, where such license applies only to those
82
+ patent claims licensable by such Contributor that are necessarily
83
+ infringed by their Contribution(s) alone or by combination of their
84
+ Contribution(s) with the Work to which such Contribution(s) was
85
+ submitted. If You institute patent litigation against any entity
86
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
87
+ the Work or a Contribution incorporated within the Work constitutes
88
+ direct or contributory patent infringement, then any patent licenses
89
+ granted to You under this License for that Work shall terminate as of
90
+ the date such litigation is filed.
91
+
92
+ 4. Redistribution.
93
+
94
+ You may reproduce and distribute copies of the Work or Derivative
95
+ Works thereof in any medium, with or without modifications, and in
96
+ Source or Object form, provided that You meet the following conditions:
97
+
98
+ (a) You must give any other recipients of the Work or
99
+ Derivative Works a copy of this License; and
100
+
101
+ (b) You must cause any modified files to carry prominent notices
102
+ stating that You changed the files; and
103
+
104
+ (c) You must retain, in the Source form of any Derivative Works
105
+ that You distribute, all copyright, patent, trademark, and
106
+ attribution notices from the Source form of the Work,
107
+ excluding those notices that do not pertain to any part of
108
+ the Derivative Works; and
109
+
110
+ (d) If the Work includes a "NOTICE" text file as part of its
111
+ distribution, then any Derivative Works that You distribute must
112
+ include a readable copy of the attribution notices contained
113
+ within such NOTICE file, excluding those notices that do not
114
+ pertain to any part of the Derivative Works, in at least one
115
+ of the following places: within a NOTICE text file distributed
116
+ as part of the Derivative Works; within the Source form or
117
+ documentation, if provided along with the Derivative Works; or,
118
+ within a display generated by the Derivative Works, if and
119
+ wherever such third-party notices normally appear. The contents
120
+ of the NOTICE file are for informational purposes only and
121
+ do not modify the License. You may add Your own attribution
122
+ notices within Derivative Works that You distribute, alongside
123
+ or as an addendum to the NOTICE text from the Work, provided
124
+ that such additional attribution notices cannot be construed
125
+ as modifying the License.
126
+
127
+ You may add Your own copyright statement to Your modifications and
128
+ may provide additional or different license terms and conditions
129
+ for use, reproduction, or distribution of Your modifications, or
130
+ for any such Derivative Works as a whole, provided Your use,
131
+ reproduction, and distribution of the Work otherwise complies with
132
+ the conditions stated in this License.
133
+
134
+ 5. Submission of Contributions.
135
+
136
+ Unless You explicitly state otherwise, any Contribution intentionally
137
+ submitted for inclusion in the Work by You to the Licensor shall be
138
+ under the terms and conditions of this License, without any additional
139
+ terms or conditions. Notwithstanding the above, nothing herein shall
140
+ supersede or modify the terms of any separate license agreement you
141
+ may have executed with Licensor regarding such Contributions.
142
+
143
+ 6. Trademarks.
144
+
145
+ This License does not grant permission to use the trade names,
146
+ trademarks, service marks, or product names of the Licensor,
147
+ except as required for reasonable and customary use in describing the
148
+ origin of the Work and reproducing the content of the NOTICE file.
149
+
150
+ 7. Disclaimer of Warranty.
151
+
152
+ Unless required by applicable law or agreed to in writing, Licensor
153
+ provides the Work (and each Contributor provides its Contributions)
154
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
155
+ either express or implied, including, without limitation, any
156
+ warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY,
157
+ or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for
158
+ determining the appropriateness of using or redistributing the Work
159
+ and assume any risks associated with Your exercise of permissions
160
+ under this License.
161
+
162
+ 8. Limitation of Liability.
163
+
164
+ In no event and under no legal theory, whether in tort (including
165
+ negligence), contract, or otherwise, unless required by applicable
166
+ law (such as deliberate and grossly negligent acts) or agreed to in
167
+ writing, shall any Contributor be liable to You for damages, including
168
+ any direct, indirect, special, incidental, or consequential damages
169
+ of any character arising as a result of this License or out of the
170
+ use or inability to use the Work (including but not limited to damages
171
+ for loss of goodwill, work stoppage, computer failure or malfunction,
172
+ or any and all other commercial damages or losses), even if such
173
+ Contributor has been advised of the possibility of such damages.
174
+
175
+ 9. Accepting Warranty or Additional Liability.
176
+
177
+ While redistributing the Work or Derivative Works thereof, You may
178
+ choose to offer, and charge a fee for, acceptance of support,
179
+ warranty, indemnity, or other liability obligations and/or rights
180
+ consistent with this License. However, in accepting such obligations,
181
+ You may act only on Your own behalf and on Your sole responsibility,
182
+ not on behalf of any other Contributor, and only if You agree to
183
+ indemnify, defend, and hold each Contributor harmless for any liability
184
+ incurred by, or claims asserted against, such Contributor by reason
185
+ of your accepting any such warranty or additional liability.
186
+
187
+ END OF TERMS AND CONDITIONS
188
+
189
+ APPENDIX: How to apply the Apache License to your work.
190
+
191
+ To apply the Apache License to your work, attach the following
192
+ boilerplate notice, with the fields enclosed by brackets "[]"
193
+ replaced with your own identifying information. (Don't include
194
+ the brackets!) The text should be enclosed in the appropriate
195
+ comment syntax for the file format. We also recommend that a
196
+ file or class name and description of purpose be included on the
197
+ same "printed page" as the copyright notice for easier
198
+ identification within third-party archives.
199
+
200
+ Copyright 2026 BLACKDWARF
201
+
202
+ Licensed under the Apache License, Version 2.0 (the "License");
203
+ you may not use this file except in compliance with the License.
204
+ You may obtain a copy of the License at
205
+
206
+ http://www.apache.org/licenses/LICENSE-2.0
207
+
208
+ Unless required by applicable law or agreed to in writing, software
209
+ distributed under the License is distributed on an "AS IS" BASIS,
210
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
211
+ See the License for the specific language governing permissions and
212
+ limitations under the License.