diff --git a/Cargo.toml b/Cargo.toml index d9c6e55..c8cd387 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,8 @@ resolver = "2" [workspace.package] edition = "2021" authors = ["Kevin Francis Tan "] -license = "Proprietary" +license = "LicenseRef-LA-Proprietary" +license-file = "LICENSE" [workspace.dependencies] tokio = { version = "1", features = ["full"] } diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..828521b --- /dev/null +++ b/NOTICE @@ -0,0 +1,44 @@ +AYIN — Universal MCP Observability Suite +Copyright (c) 2025-2026 Kevin Francis Tan + +Licensed under proprietary terms — see LICENSE for details. +Source code: https://github.com/TheLightArchitects/AYIN + +--- + +This software incorporates third-party open source components. +Full license texts are in the THIRD-PARTY-LICENSES/ directory. + +The third-party crate listing below is a baseline that must be regenerated +against AYIN's actual Cargo.lock via `cargo about generate`. Pending the +addition of `about.hbs` + `about.toml` to this repo (tracked separately). + +## MIT + +- clap (and sub-crates) +- dashmap +- regex +- serde / serde_json / serde_yaml +- tokio +- tracing / tracing-subscriber +- walkdir + +## Apache-2.0 + +- chrono +- uuid + +## MIT / Apache-2.0 dual + +Most Rust ecosystem crates use the MIT/Apache-2.0 dual license. +Full texts for both are in THIRD-PARTY-LICENSES/. + +--- + +For the canonical, machine-generated version of this notice, run: + + cargo install --locked cargo-about + cargo about generate about.hbs > NOTICE.html + +Once `about.hbs` and `about.toml` are added to this repo, this NOTICE file can +be regenerated automatically as part of the release pipeline. diff --git a/THIRD-PARTY-LICENSES/Apache-2.0.txt b/THIRD-PARTY-LICENSES/Apache-2.0.txt new file mode 100644 index 0000000..1c738ff --- /dev/null +++ b/THIRD-PARTY-LICENSES/Apache-2.0.txt @@ -0,0 +1,126 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship made available under + the License, as indicated by a copyright notice that is included in + or attached to the work (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other transformations + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean, as defined by Sections 4 and 5: + any work of authorship, including the original version of the Work and + any modifications or additions to that Work or Derivative Works of + the Work, that is intentionally submitted to the Licensor for inclusion + in the Work by the copyright owner or by an individual or Legal Entity + authorized to submit on behalf of the copyright owner. + + "Contributor" shall mean Licensor and any Legal Entity on behalf of + whom a Contribution has been received by the Licensor and included + within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by the combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative + Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file, you must include a + readable copy of the attribution notices contained within such + NOTICE file, in at least one of the following places: within a + NOTICE text file distributed as part of the Derivative Works; + within the Source form or documentation, if provided along with + the Derivative Works; or, within a display generated by the + Derivative Works, if and wherever such third-party notices + normally appear. The contents of the NOTICE file are for + informational purposes only and do not modify the License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or agreed + to in writing, Licensor provides the Work (and each Contributor provides + its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS + OF ANY KIND, either express or implied. + + 8. Limitation of Liability. In no event and under no legal theory, whether + in tort (including negligence), contract, or otherwise, unless required + by applicable law, shall any Contributor be liable to You for damages. + + 9. Accepting Warranty or Additional Liability. While redistributing the Work + or Derivative Works thereof, You may choose to offer, and charge a fee for, + acceptance of support, warranty, indemnity, or other liability obligations + consistent with this License. + + END OF TERMS AND CONDITIONS diff --git a/THIRD-PARTY-LICENSES/BSD-2-Clause.txt b/THIRD-PARTY-LICENSES/BSD-2-Clause.txt new file mode 100644 index 0000000..e4548b3 --- /dev/null +++ b/THIRD-PARTY-LICENSES/BSD-2-Clause.txt @@ -0,0 +1,25 @@ +BSD 2-Clause License + +Copyright (c) , +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. \ No newline at end of file diff --git a/THIRD-PARTY-LICENSES/BSD-3-Clause.txt b/THIRD-PARTY-LICENSES/BSD-3-Clause.txt new file mode 100644 index 0000000..87c4e67 --- /dev/null +++ b/THIRD-PARTY-LICENSES/BSD-3-Clause.txt @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) , +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. + +3. Neither the name of the copyright holder 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. \ No newline at end of file diff --git a/THIRD-PARTY-LICENSES/ISC.txt b/THIRD-PARTY-LICENSES/ISC.txt new file mode 100644 index 0000000..847f230 --- /dev/null +++ b/THIRD-PARTY-LICENSES/ISC.txt @@ -0,0 +1,15 @@ +ISC License + +Copyright (c) , + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/THIRD-PARTY-LICENSES/MIT.txt b/THIRD-PARTY-LICENSES/MIT.txt new file mode 100644 index 0000000..9cf1062 --- /dev/null +++ b/THIRD-PARTY-LICENSES/MIT.txt @@ -0,0 +1,19 @@ +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. diff --git a/THIRD-PARTY-LICENSES/MPL-2.0.txt b/THIRD-PARTY-LICENSES/MPL-2.0.txt new file mode 100644 index 0000000..daf9888 --- /dev/null +++ b/THIRD-PARTY-LICENSES/MPL-2.0.txt @@ -0,0 +1,149 @@ +Mozilla Public License Version 2.0 +===================================== + +1. Definitions +-------------- + +1.1. "Contributor" means each individual or legal entity that creates, contributes +to the creation of, or owns Covered Software. + +1.2. "Contributor Version" means the combination of the Contributions of others +(if any) used by a Contributor and that particular Contributor's Contribution. + +1.3. "Covered Software" means Covered Software is the Original Code, or +Modifications, or the combination of the Original Code and Modifications, +in each case including portions thereof. + +1.4. "Executable Form" means any form of the work other than Source Code Form. + +1.5. "Larger Work" means a work that combines Covered Software with other +material, in a separate file or files, that is not Covered Software. + +1.6. "License" means this document. + +1.7. "Licensable" means having the right to grant, to the maximum extent +possible, whether at the time of the initial grant or subsequently, any and +all of the rights conveyed by this License. + +1.8. "Modifications" means any of the following: + +(a) any file in Source Code Form that results from an addition to, deletion + from, or modification of the contents of Covered Software; or + +(b) any new file in Source Code Form that contains any Covered Software. + +1.9. "Patent Claims of a Contributor" means any patent claim(s), including +without limitation, method, process, and apparatus claims, in any patent +Licensable by such Contributor that would be infringed by making, using, +selling, offering for sale, having made, importing, or transferring either +its Contributions or any Contributor Version. + +1.10. "Source Code Form" means the form of the work preferred for making +modifications. + +1.11. "You" (or "Your") means an individual or a legal entity exercising +rights under this License. For legal entities, "You" includes any entity +that controls, is controlled by, or is under common control with You. + +2. License Grants and Conditions +--------------------------------- + +2.1. Grant of Copyright License + +Subject to the terms and conditions of this License, each Contributor hereby +grants You a world-wide, royalty-free, non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, enhance, and distribute the Covered Software; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer for + sale, have made, import, and otherwise transfer the Covered Software, + in each case including portions thereof. + +2.2. Grant of Patent License + +Subject to the terms and conditions of this License, each Contributor hereby +grants You a world-wide, royalty-free, non-exclusive license under Patent +Claims of such Contributor to make, use, sell, offer for sale, have made, +import, and otherwise transfer the Covered Software. + +2.3. Conditions + +The grants in Section 2.1 and 2.2 are made on the condition that You comply +with the conditions described below. + +3. Copyleft Notice +------------------ + +3.1. Copyleft + +Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive +license to distribute the Covered Software, in any medium, under the +condition that You distribute the Covered Software only under the terms of +this License or a future version of this License released under Section 7.1, +and You make available the Source Code Form of the Covered Software. + +3.2. Weak Copyleft + +The Covered Software may be combined with other code in a Larger Work, and +the resulting Larger Work may be distributed under terms different from the +terms of this License, provided that the Source Code Form of the Covered +Software is made available under the terms of this License. + +For the avoidance of doubt, this Section 3.2 does not affect any rights +in the Larger Work that is not Covered Software. + +4. Inability to Comply Due to Statute or Regulation +----------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this License +with respect to some or all of the Covered Software due to statute, judicial +order, or regulation, then You must: (a) comply with the terms of this License +to the maximum extent possible; and (b) describe the limitations and the +code they affect. Such description must be included in the LEGAL file +described in Section 7.1. + +5. Application of This License +------------------------------- + +This License applies to Covered Software and any Larger Work that combines +Covered Software with other material. + +6. Versions of This License +---------------------------- + +6.1. New Versions + +The Mozilla Foundation is the sole steward of this License. The Mozilla +Foundation may publish revised and/or new versions of this License from +time to time. Each version will be given a distinguishing version number. + +6.2. Effect of New Versions + +You may always distribute Covered Software under the terms of the version +of this License under which You originally received it. You may also choose +to distribute such Covered Software under the terms of any subsequent +version of this License published by the Mozilla Foundation. + +7. Disclaimer of Warranty +-------------------------- + +COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT +WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, +WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, +MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + +8. Limitation of Liability +--------------------------- + +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT, CONTRACT, +STRICT LIABILITY, OR OTHERWISE, SHALL ANY CONTRIBUTOR BE LIABLE TO YOU +FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES +OF ANY CHARACTER. + +9. Termination +--------------- + +This License and the rights granted hereunder will terminate automatically +if You fail to comply with any term of this License. \ No newline at end of file diff --git a/THIRD-PARTY-LICENSES/Zlib.txt b/THIRD-PARTY-LICENSES/Zlib.txt new file mode 100644 index 0000000..75e1f20 --- /dev/null +++ b/THIRD-PARTY-LICENSES/Zlib.txt @@ -0,0 +1,22 @@ +zlib License + +Copyright (c) , + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + +3. This notice may not be removed or altered from any source + distribution. \ No newline at end of file diff --git a/ayin/Cargo.toml b/ayin/Cargo.toml index 850ed3f..0a02a2e 100644 --- a/ayin/Cargo.toml +++ b/ayin/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" authors = ["Kevin Francis Tan "] description = "AYIN Universal MCP Observability Suite — universal observability for MCP servers and agentic applications" -license = "Proprietary" +license = "LicenseRef-LA-Proprietary" [dependencies] tokio = { workspace = true } diff --git a/deny.toml b/deny.toml new file mode 100644 index 0000000..4f022f8 --- /dev/null +++ b/deny.toml @@ -0,0 +1,51 @@ +# cargo-deny configuration for AYIN +# Run: cargo deny check +# Docs: https://embarkstudios.github.io/cargo-deny/ +# +# This file follows Variant 1 (Proprietary) from: +# ~/lightarchitects/soul/helix/user/standards/deny-toml-template.toml + +[graph] +targets = [] +all-features = true + +[advisories] +db-path = "~/.cargo/advisory-db" +db-urls = ["https://github.com/rustsec/advisory-db"] + +[licenses] +allow = [ + "MIT", + "Apache-2.0", + "BSD-2-Clause", + "BSD-3-Clause", + "ISC", + "Unicode-3.0", + "MPL-2.0", + "Zlib", + "CC0-1.0", + "LicenseRef-LA-Proprietary", # project's own (LA Proprietary) +] + +[[licenses.clarify]] +name = "ayin" +version = "*" +expression = "LicenseRef-LA-Proprietary" +license-files = ["LICENSE"] + +[[licenses.clarify]] +name = "ayin-viewer" +version = "*" +expression = "LicenseRef-LA-Proprietary" +license-files = ["LICENSE"] + +[bans] +multiple-versions = "warn" +wildcards = "warn" +highlight = "all" + +[sources] +unknown-registry = "deny" +unknown-git = "deny" +allow-registry = ["https://github.com/rust-lang/crates.io-index"] +allow-git = ["https://github.com/TheLightArchitects/lightarchitects-sdk.git"]