@decaf-ts/for-couchdb 0.3.13 → 0.3.14

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.
package/LICENSE.md CHANGED
@@ -20,56 +20,3 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
22
 
23
- ---
24
-
25
- ## Section 2. AGPL Trigger: AI-Generated Code Usage
26
-
27
- If this software is incorporated into a product, service, or system that **uses AI generation of code**, then instead of MIT, the software is governed by the **GNU Affero General Public License v3.0 (AGPL-3.0)**, *in full*.
28
-
29
- **What “Uses AI generation of code” means (any of the following):**
30
- 1. The product uses AI to automatically generate **Decaf-TS front-end or back-end code**.
31
- 2. The product incorporates AI tools, pipelines, or workflows where **Decaf-TS code is generated** automatically or on demand.
32
- 3. Usage via **Decaf MCP** or any equivalent integration which enables AI-driven Decaf-TS code generation.
33
- 4. The product uses **Decaf-TS to dynamically generate UI** for AI agent conversation systems (chat, multimodal, interactive).
34
- 5. The product uses this software plus AI to generate software **“at scale”** (e.g. via automated bulk pipelines, continuous generation).
35
- 6. The product or service commercializes or sells software, tools, or applications **that were generated by AI using this software**.
36
-
37
- **Clarifications & Exceptions (these do *not* trigger AGPL):**
38
- - If AI is used only during **development time** (e.g. a developer uses AI + Decaf tooling as an assistant, writes or reviews code, then commits)—this **does not** count as “uses AI generation of code” in Section 2.
39
- - If a company builds a **Decaf-based product** using AI internally, but the **resulting product does not itself dynamically generate additional Decaf code**, then Section 2 is **not triggered**.
40
- - If a company builds a **Decaf-based product** using AI internally, and while the **resulting product does generate it's UI dynamically via Decaf, the product does not itself dynamically generate additional Decaf code as a service**, then Section 2 is **not triggered**.
41
-
42
- In all other cases meeting the six trigger conditions above, the software is subject to AGPL-3.0 — you must comply with all AGPL obligations (source disclosure, network interaction clause, etc.)
43
-
44
- ## Section 3. Reference to AGPL
45
-
46
- The full text of the GNU Affero General Public License v3.0 is available from the Free Software Foundation at:
47
- https://www.gnu.org/licenses/agpl-3.0.html
48
-
49
- ---
50
-
51
- ## Notes & Examples (for clarity)
52
-
53
- - A CLI tool that helps you scaffold Decaf code locally (without runtime AI generation) remains under MIT.
54
- - A web service that uses AI at runtime to produce new Decaf UI or backend code for users must operate under AGPL.
55
- - A SaaS product that sells modules generated via AI using this software falls under AGPL.
56
- - Internal use or development with AI suggestions, without dynamic generation in the delivered product, is under MIT.
57
-
58
- ---
59
-
60
- **Legal disclaimers, warranty, and liability** follow the same as in MIT or AGPL as applicable.
61
-
62
- ---
63
-
64
- ### Why this is more “bullet-proof” (improvements over earlier drafts)
65
-
66
- - The **trigger conditions** are enumerated and explicit (six bullet points).
67
- - The **exceptions** are limited and clearly stated (development-time, non-code-generating product).
68
- - We embed the MIT text fully (so recipients see their rights).
69
- - We **link to the full AGPL** rather than embed it (keeping the file manageable) but still make it binding by reference.
70
- - We include a **Notes & Examples** section to show boundary cases and reduce ambiguity.
71
- - The style is more “plain English + structured” (like n8n’s) to reduce misinterpretation.
72
-
73
- ---
74
-
75
- If you like, I can generate this as a **downloadable `LICENSE.md` file** for you right away, so you can drop it in your repo. Would you like me to do that?
package/README.md CHANGED
@@ -458,6 +458,6 @@ So if you can, if this project in any way. either by learning something or simpl
458
458
 
459
459
  ## License
460
460
 
461
- This project is released under MIT with an AGPL-3.0 trigger for AI-generated code usage; MIT covers standard development, but AI-driven Decaf code generation activates full AGPL obligations—see [LICENSE.md](./LICENSE.md) for full terms.
461
+ This project is released under the [MIT License](./LICENSE.md).
462
462
 
463
463
  By developers, for developers...