@matrajs/ai 0.5.0 → 0.6.0

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 (3) hide show
  1. package/LICENSE +57 -21
  2. package/README.md +16 -1
  3. package/package.json +5 -4
package/LICENSE CHANGED
@@ -1,21 +1,57 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Nahim Hossain Shohan
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ Matra Commercial License
2
+ Version 1.0, 24 August 2026
3
+ Copyright (c) 2026 Amrela
4
+
5
+ This package is source-available, not open source. The Matra core
6
+ (@matrajs/core, @matrajs/react, @matrajs/vue) is MIT and always will be; this
7
+ package is not.
8
+
9
+ 1. FREE USE
10
+
11
+ You may use, copy and modify this software at no cost for:
12
+
13
+ a. evaluation, development and testing;
14
+ b. personal projects that earn no revenue;
15
+ c. education, research and teaching;
16
+ d. internal tools at an organisation with fewer than three developers
17
+ working on software that includes this package.
18
+
19
+ No key, no signup, no phone-home. We do not check. This clause is the
20
+ licence, not a trial period.
21
+
22
+ 2. PAID USE
23
+
24
+ Any other use in production requires a current subscription, one seat per
25
+ developer working on software that includes this package. If the software
26
+ you ship earns money and more than two developers touch it, that is paid
27
+ use.
28
+
29
+ 3. WHAT YOU MAY ALWAYS DO
30
+
31
+ Read the source. Modify it for your own licensed use. Fork it privately.
32
+ Keep running the version you licensed, forever, even if your subscription
33
+ lapses — a lapsed subscription ends updates and support, not the software
34
+ you already shipped.
35
+
36
+ 4. WHAT YOU MAY NOT DO
37
+
38
+ Redistribute this package, modified or not, as part of a product that
39
+ competes with Matra. Remove or obscure this licence. Sublicense it.
40
+
41
+ 5. NO WARRANTY
42
+
43
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44
+ IMPLIED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
45
+ OTHER LIABILITY ARISING FROM THE SOFTWARE OR ITS USE.
46
+
47
+ 6. TERMINATION
48
+
49
+ This licence ends if you breach it and do not fix the breach within 30 days
50
+ of being told. Clause 3's "keep running what you licensed" survives
51
+ termination for versions you had already licensed and shipped.
52
+
53
+ 7. GOVERNING LAW
54
+
55
+ The laws of Bangladesh.
56
+
57
+ Questions, or a licence that does not fit your situation: licensing@amrela.co
package/README.md CHANGED
@@ -9,4 +9,19 @@ npm i @matrajs/core @matrajs/ai
9
9
  - Docs: https://matrajs.com
10
10
  - Source: https://github.com/amrelaco/matra
11
11
 
12
- MIT.
12
+
13
+ ## Licence
14
+
15
+ Source-available under the [Matra Commercial License](./LICENSE), **not MIT** —
16
+ unlike `@matrajs/core`, which is MIT and stays that way.
17
+
18
+ Free for evaluation, development, testing, personal projects, education, and
19
+ internal tools at organisations with fewer than three developers on the
20
+ codebase. Paid, one seat per developer, for production use beyond that. No
21
+ licence key and no phone-home: the licence is the agreement, not a mechanism.
22
+
23
+ Versions up to and including **0.5.0 were published under MIT**, and that grant
24
+ cannot be withdrawn — if you are already on 0.5.0 you may keep using it under
25
+ MIT indefinitely. The commercial licence applies from 0.6.0 onward.
26
+
27
+ licensing@amrela.co
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@matrajs/ai",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "AI extension for Matra — streaming edits that survive concurrent typing.",
5
- "license": "MIT",
5
+ "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Nahim Hossain Shohan",
7
7
  "homepage": "https://matrajs.com",
8
8
  "repository": {
@@ -38,10 +38,11 @@
38
38
  },
39
39
  "files": [
40
40
  "dist",
41
- "README.md"
41
+ "README.md",
42
+ "LICENSE"
42
43
  ],
43
44
  "dependencies": {
44
- "@matrajs/core": "^0.5.0"
45
+ "@matrajs/core": "^0.6.0"
45
46
  },
46
47
  "scripts": {
47
48
  "build": "tsup",