vibe-annotations-server 0.1.14 → 0.1.16

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 +94 -21
  2. package/lib/server.js +4 -1
  3. package/package.json +2 -2
package/LICENSE CHANGED
@@ -1,21 +1,94 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Raphael Regnier
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
+ PolyForm Shield License 1.0.0
2
+
3
+ Copyright (c) 2025 Raphael Regnier / Spellbind Creative Studio
4
+ https://www.vibe-annotations.com | https://www.spellbind.me
5
+
6
+ This software and associated documentation files (the "Software") are
7
+ made available under the PolyForm Shield License 1.0.0.
8
+
9
+ ## Acceptance
10
+
11
+ In order to get any license under these terms, you must agree to their
12
+ rules. The rules of these terms are both obligations under that
13
+ agreement and conditions to your licenses. These terms take effect on
14
+ the date of your first download, installation, or use of the Software,
15
+ or any later date you choose.
16
+
17
+ ## Copyright License
18
+
19
+ The licensor grants you a copyright license for the Software to do
20
+ everything you might do with the Software that would otherwise infringe
21
+ the licensor's copyright in it for any permitted purpose. However, you
22
+ may only distribute the Software according to Distribution License and
23
+ make changes or new works based on the Software according to Changes
24
+ and New Works License.
25
+
26
+ ## Distribution License
27
+
28
+ The licensor grants you an additional copyright license to distribute
29
+ copies of the Software. Your license to distribute covers distributing
30
+ the Software with changes and new works permitted by Changes and New
31
+ Works License.
32
+
33
+ ## Notices
34
+
35
+ You must ensure that anyone who gets a copy of any part of the Software
36
+ from you also gets a copy of these terms or the URL for them above, as
37
+ well as copies of any plain-text lines beginning with "Required
38
+ Notice:" that the licensor provided with the Software.
39
+
40
+ Required Notice: Copyright (c) 2025 Raphael Regnier / Spellbind Creative Studio
41
+
42
+ ## Changes and New Works License
43
+
44
+ The licensor grants you an additional copyright license to make changes
45
+ and new works based on the Software for any permitted purpose.
46
+
47
+ ## Patent License
48
+
49
+ The licensor grants you a patent license for the Software that covers
50
+ patent claims the licensor can license, or becomes able to license,
51
+ that you would infringe by using the Software.
52
+
53
+ ## Noncompete
54
+
55
+ Any purpose is a permitted purpose, except for providing any product or
56
+ service that competes with the Software or any product or service the
57
+ licensor or any of its affiliates provides using the Software.
58
+
59
+ ## Competition
60
+
61
+ Copying the Software's behavior as demonstrated in its documentation
62
+ or marketing materials, or making similar use of any of its features,
63
+ for a competing product or service is a violation of this license.
64
+
65
+ ## Robustness
66
+
67
+ No Licensor will be liable to you on any legal theory for any
68
+ consequential, special, incidental, or punitive damages arising out of
69
+ these terms, even if advised of the possibility of such damages.
70
+
71
+ ## Disclaimer
72
+
73
+ ***The Software is provided "as is", without warranty of any kind,
74
+ express or implied, including but not limited to the warranties of
75
+ merchantability, fitness for a particular purpose and noninfringement.
76
+ In no event shall the authors or copyright holders be liable for any
77
+ claim, damages or other liability, whether in an action of contract,
78
+ tort or otherwise, arising from, out of or in connection with the
79
+ Software or the use or other dealings in the Software.***
80
+
81
+ ## Other Agreements
82
+
83
+ These terms do not alter the terms of any separate agreement you have
84
+ entered into with the licensor regarding the Software.
85
+
86
+ ---
87
+
88
+ Note: Versions of this Software published prior to March 2026 were
89
+ released under the MIT License. Those versions remain available under
90
+ MIT terms at the commit history prior to the license change. All
91
+ versions from v1.5.0 onward are governed exclusively by the PolyForm
92
+ Shield License 1.0.0.
93
+
94
+ Full license text: https://polyformproject.org/licenses/shield/1.0.0
package/lib/server.js CHANGED
@@ -95,7 +95,10 @@ class LocalAnnotationsServer {
95
95
  filtered = filtered.filter(a => a.url === url);
96
96
  }
97
97
 
98
- filtered = filtered.slice(0, parseInt(limit));
98
+ const parsedLimit = parseInt(limit);
99
+ if (parsedLimit > 0) {
100
+ filtered = filtered.slice(0, parsedLimit);
101
+ }
99
102
 
100
103
  res.json({
101
104
  annotations: filtered,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-annotations-server",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "Global MCP server for Vibe Annotations browser extension",
5
5
  "main": "lib/server.js",
6
6
  "type": "module",
@@ -29,7 +29,7 @@
29
29
  "development"
30
30
  ],
31
31
  "author": "Raphaël Régnier",
32
- "license": "MIT",
32
+ "license": "LicenseRef-PolyForm-Shield-1.0.0",
33
33
  "engines": {
34
34
  "node": ">=18.0.0"
35
35
  },