@agentcomms/events-daemon 0.0.0-stage → 0.16.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Criss Moldovan
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.
package/README.md CHANGED
@@ -1,3 +1,147 @@
1
- # Temporary Holding Version
1
+ # @agentcomms/events-daemon
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ `agent-events` watches the Gmail, Slack, Resend and WhatsApp accounts you have already connected with
4
+ agent-communications. When an event matches a rule you approved, it delivers that event to the rule's targets:
5
+ - a signed HTTPS webhook;
6
+ - a local live stream (server-sent events) for your own tools;
7
+ - a dry-run log you read at your terminal.
8
+
9
+ Nothing is collected and nothing leaves this machine until you approve the rule yourself, at your terminal.
10
+
11
+ ```bash
12
+ npm i -g @agentcomms/events-daemon # or run any command with: npx -y @agentcomms/events-daemon <command>
13
+ agent-events run # in a terminal you keep open: the owner of all event state
14
+ ```
15
+
16
+ ## What it needs
17
+
18
+ - **macOS or Linux.** Windows is refused for now: Node cannot yet make a control pipe that only your account can open.
19
+ - **Node 22.16.0 or newer**, the first release with Node's built-in SQLite. An older Node is refused, and the message
20
+ says what to install.
21
+ - **The accounts you want to watch, already connected** with `agent-gmail`, `agent-slack`, `agent-resend` or
22
+ `agent-whatsapp`. The daemon reads through those packages and never sends mail or messages through them.
23
+
24
+ ## How it runs
25
+
26
+ `agent-events run` starts the **foreground owner**. It owns the event database while that terminal runs, and stops
27
+ cleanly on `agent-events stop` or when the terminal closes. There is no background service or autostart in this
28
+ release; the desktop app will supervise it later. Its state lives in an owner-only directory. A state directory so
29
+ deep that its control socket's path would pass the system limit (103 bytes on macOS, 107 on Linux) is refused, with
30
+ a hint to pin a shorter one.
31
+
32
+ ## A first rule: Gmail into the dry-run log
33
+
34
+ The dry-run target keeps what matched in an encrypted local log that only a person at a terminal can read. It is the
35
+ safe way to see what a rule would send before you point it at a webhook.
36
+
37
+ ```bash
38
+ # 1. a target: the local dry-run log, keeping records for a day
39
+ agent-events target add '{"targetId":"log","version":1,"kind":"dry-run","retentionMs":86400000}'
40
+
41
+ # 2. a rule: every received Gmail message with a subject, mapped to its subject only
42
+ agent-events sources list # the Gmail account ids you can name in a rule
43
+ agent-events rule create "$(cat rule.json)"
44
+
45
+ # 3. turn it on: each step prints an approval, which you approve by typing its challenge
46
+ agent-events rule enable mail-subjects 1
47
+ agent-events approve <approval-id>
48
+ agent-events enable-all # the standing approval that starts collection
49
+ agent-events approve <approval-id>
50
+
51
+ # 4. read what matched
52
+ agent-events dryrun list
53
+ ```
54
+
55
+ `rule.json`:
56
+
57
+ ```json
58
+ {
59
+ "ruleId": "mail-subjects",
60
+ "version": 1,
61
+ "source": {
62
+ "channel": "gmail",
63
+ "accountIds": ["<an account id from sources list>"],
64
+ "options": { "channel": "gmail", "labels": "inbox", "includeSpamTrash": false }
65
+ },
66
+ "event": { "type": "gmail.message.received", "version": 1 },
67
+ "condition": { "path": "/subject", "op": "exists" },
68
+ "mapping": { "subject": { "$path": "/subject" } },
69
+ "targets": [{ "targetId": "log", "version": 1, "kind": "dry-run", "retentionMs": 86400000 }],
70
+ "subscribers": [],
71
+ "judges": [],
72
+ "deliveryRateCap": 1,
73
+ "retention": {
74
+ "ingestMs": 86400000,
75
+ "holdMs": 86400000,
76
+ "deliveryMs": 86400000,
77
+ "dryrunMs": 86400000,
78
+ "sseReplayMs": 86400000,
79
+ "deadLetterMs": 86400000,
80
+ "decisionMetadataMs": 604800000
81
+ }
82
+ }
83
+ ```
84
+
85
+ Rules, targets and subscribers are immutable versions. To change one, create its next version and enable it. The
86
+ approval preview then shows exactly what changes.
87
+
88
+ ## What you can do with it
89
+
90
+ - **Sources:**
91
+ - Gmail, received and sent mail, and labels;
92
+ - Slack messages and thread replies;
93
+ - Resend received mail and sent-mail status;
94
+ - WhatsApp messages from the chats WhatsApp for Mac lists. A hidden chat never reaches a target.
95
+
96
+ The event catalogue, `agent-events catalogue list`, gives every event type and field.
97
+ - **Conditions and mapping:** checks on an event's fields, and a mapping that names exactly the fields a target
98
+ receives. Nothing else leaves.
99
+ - **Targets:**
100
+ - **Webhooks:** HTTPS, or plain HTTP to the literal loopback address only. Addresses are pinned, and every attempt
101
+ is signed (Standard Webhooks). Each delivery can be retried or dropped (`delivery retry`, `delivery drop`).
102
+ - **A live stream:** one listener on the loopback address, for tools on this machine. Each subscriber has its own
103
+ token, and its origin is checked.
104
+ - **The dry-run log.**
105
+ - **Control:**
106
+ - `pause` / `resume`;
107
+ - `disable-all`, which stops collection and purges pending work at once;
108
+ - `doctor`, a content-free health report.
109
+
110
+ Every command takes `--json`. The [CLI reference](../../docs/reference/events-daemon-cli.md) lists them all.
111
+
112
+ ## Agents and approvals
113
+
114
+ `agent-events mcp` serves the same operations to a coding agent over MCP. Register it with your client as you would
115
+ any MCP server, with `npx -y @agentcomms/events-daemon mcp` as the command. The
116
+ [`agentcomms-events` skill](../../skills/agentcomms-events/SKILL.md) tells an agent how to use it.
117
+
118
+ - **An agent can:** read the catalogue and your rules, propose rules and targets, and test a rule against a sample
119
+ event.
120
+ - **An agent can never:**
121
+ - approve anything;
122
+ - read what the dry-run log kept;
123
+ - see, set or rotate a webhook secret or stream token;
124
+ - resume a target;
125
+ - decide a held event.
126
+
127
+ Those are human-only, at your terminal. Every event's content is marked as untrusted wherever it is shown. So a
128
+ message that tries to instruct an agent reaches it as quoted data, never as an instruction.
129
+
130
+ ## Judges
131
+
132
+ A rule can later ask a model a yes/no question about an event: hosted Jev, or a model you run on this machine. That
133
+ comes in a later release. In this one, the `judge`, `judges` and `budget` commands answer that judges are not
134
+ available yet, and no event is ever sent to a model.
135
+
136
+ ## For desktop and tool builders
137
+
138
+ The data-only control contract is
139
+ [`b3-control-v1.schema.json`](src/operations/contracts/b3-control-v1.schema.json). Its content-free
140
+ request, result and error vectors are in [`test/fixtures/b3-control-contract-v1`](test/fixtures/b3-control-contract-v1),
141
+ and the terminal approval-preview vectors are in [`test/fixtures/b3-approval-preview-v1`](test/fixtures/b3-approval-preview-v1).
142
+ It covers every capability a desktop app may call, and never contains a secret value. Its doctor result is the closed
143
+ [`doctor-v1.schema.json`](src/operations/contracts/doctor-v1.schema.json).
144
+
145
+ ## Licence
146
+
147
+ MIT. See [LICENSE](LICENSE) and [THIRD_PARTY_LICENSES](THIRD_PARTY_LICENSES).
@@ -0,0 +1,499 @@
1
+ Third-party licences bundled into @agentcomms/events-daemon
2
+
3
+ This package is published as a bundle: the code below is compiled into its published files rather than
4
+ installed beside them, so these notices travel here instead of in node_modules. They are reproduced in
5
+ full, as each licence requires.
6
+
7
+ Generated by scripts/third-party-licenses.mjs from the 4 packages the bundler put into it.
8
+
9
+
10
+ ----------------------------------------------------------------------------------------------------
11
+ @modelcontextprotocol/core@2.0.0 — MIT
12
+ https://modelcontextprotocol.io
13
+ ----------------------------------------------------------------------------------------------------
14
+ The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.
15
+
16
+ Contributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.
17
+
18
+ No rights beyond those granted by the applicable original license are conveyed for such contributions.
19
+
20
+ ---
21
+
22
+ Apache License
23
+ Version 2.0, January 2004
24
+ http://www.apache.org/licenses/
25
+
26
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
27
+
28
+ 1. Definitions.
29
+
30
+ "License" shall mean the terms and conditions for use, reproduction,
31
+ and distribution as defined by Sections 1 through 9 of this document.
32
+
33
+ "Licensor" shall mean the copyright owner or entity authorized by
34
+ the copyright owner that is granting the License.
35
+
36
+ "Legal Entity" shall mean the union of the acting entity and all
37
+ other entities that control, are controlled by, or are under common
38
+ control with that entity. For the purposes of this definition,
39
+ "control" means (i) the power, direct or indirect, to cause the
40
+ direction or management of such entity, whether by contract or
41
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
42
+ outstanding shares, or (iii) beneficial ownership of such entity.
43
+
44
+ "You" (or "Your") shall mean an individual or Legal Entity
45
+ exercising permissions granted by this License.
46
+
47
+ "Source" form shall mean the preferred form for making modifications,
48
+ including but not limited to software source code, documentation
49
+ source, and configuration files.
50
+
51
+ "Object" form shall mean any form resulting from mechanical
52
+ transformation or translation of a Source form, including but
53
+ not limited to compiled object code, generated documentation,
54
+ and conversions to other media types.
55
+
56
+ "Work" shall mean the work of authorship, whether in Source or
57
+ Object form, made available under the License, as indicated by a
58
+ copyright notice that is included in or attached to the work
59
+ (an example is provided in the Appendix below).
60
+
61
+ "Derivative Works" shall mean any work, whether in Source or Object
62
+ form, that is based on (or derived from) the Work and for which the
63
+ editorial revisions, annotations, elaborations, or other modifications
64
+ represent, as a whole, an original work of authorship. For the purposes
65
+ of this License, Derivative Works shall not include works that remain
66
+ separable from, or merely link (or bind by name) to the interfaces of,
67
+ the Work and Derivative Works thereof.
68
+
69
+ "Contribution" shall mean any work of authorship, including
70
+ the original version of the Work and any modifications or additions
71
+ to that Work or Derivative Works thereof, that is intentionally
72
+ submitted to the Licensor for inclusion in the Work by the copyright
73
+ owner or by an individual or Legal Entity authorized to submit on behalf
74
+ of the copyright owner. For the purposes of this definition, "submitted"
75
+ means any form of electronic, verbal, or written communication sent
76
+ to the Licensor or its representatives, including but not limited to
77
+ communication on electronic mailing lists, source code control systems,
78
+ and issue tracking systems that are managed by, or on behalf of, the
79
+ Licensor for the purpose of discussing and improving the Work, but
80
+ excluding communication that is conspicuously marked or otherwise
81
+ designated in writing by the copyright owner as "Not a Contribution."
82
+
83
+ "Contributor" shall mean Licensor and any individual or Legal Entity
84
+ on behalf of whom a Contribution has been received by Licensor and
85
+ subsequently incorporated within the Work.
86
+
87
+ 2. Grant of Copyright License. Subject to the terms and conditions of
88
+ this License, each Contributor hereby grants to You a perpetual,
89
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
90
+ copyright license to reproduce, prepare Derivative Works of,
91
+ publicly display, publicly perform, sublicense, and distribute the
92
+ Work and such Derivative Works in Source or Object form.
93
+
94
+ 3. Grant of Patent License. Subject to the terms and conditions of
95
+ this License, each Contributor hereby grants to You a perpetual,
96
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
97
+ (except as stated in this section) patent license to make, have made,
98
+ use, offer to sell, sell, import, and otherwise transfer the Work,
99
+ where such license applies only to those patent claims licensable
100
+ by such Contributor that are necessarily infringed by their
101
+ Contribution(s) alone or by combination of their Contribution(s)
102
+ with the Work to which such Contribution(s) was submitted. If You
103
+ institute patent litigation against any entity (including a
104
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
105
+ or a Contribution incorporated within the Work constitutes direct
106
+ or contributory patent infringement, then any patent licenses
107
+ granted to You under this License for that Work shall terminate
108
+ as of the date such litigation is filed.
109
+
110
+ 4. Redistribution. You may reproduce and distribute copies of the
111
+ Work or Derivative Works thereof in any medium, with or without
112
+ modifications, and in Source or Object form, provided that You
113
+ meet the following conditions:
114
+
115
+ (a) You must give any other recipients of the Work or
116
+ Derivative Works a copy of this License; and
117
+
118
+ (b) You must cause any modified files to carry prominent notices
119
+ stating that You changed the files; and
120
+
121
+ (c) You must retain, in the Source form of any Derivative Works
122
+ that You distribute, all copyright, patent, trademark, and
123
+ attribution notices from the Source form of the Work,
124
+ excluding those notices that do not pertain to any part of
125
+ the Derivative Works; and
126
+
127
+ (d) If the Work includes a "NOTICE" text file as part of its
128
+ distribution, then any Derivative Works that You distribute must
129
+ include a readable copy of the attribution notices contained
130
+ within such NOTICE file, excluding those notices that do not
131
+ pertain to any part of the Derivative Works, in at least one
132
+ of the following places: within a NOTICE text file distributed
133
+ as part of the Derivative Works; within the Source form or
134
+ documentation, if provided along with the Derivative Works; or,
135
+ within a display generated by the Derivative Works, if and
136
+ wherever such third-party notices normally appear. The contents
137
+ of the NOTICE file are for informational purposes only and
138
+ do not modify the License. You may add Your own attribution
139
+ notices within Derivative Works that You distribute, alongside
140
+ or as an addendum to the NOTICE text from the Work, provided
141
+ that such additional attribution notices cannot be construed
142
+ as modifying the License.
143
+
144
+ You may add Your own copyright statement to Your modifications and
145
+ may provide additional or different license terms and conditions
146
+ for use, reproduction, or distribution of Your modifications, or
147
+ for any such Derivative Works as a whole, provided Your use,
148
+ reproduction, and distribution of the Work otherwise complies with
149
+ the conditions stated in this License.
150
+
151
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
152
+ any Contribution intentionally submitted for inclusion in the Work
153
+ by You to the Licensor shall be under the terms and conditions of
154
+ this License, without any additional terms or conditions.
155
+ Notwithstanding the above, nothing herein shall supersede or modify
156
+ the terms of any separate license agreement you may have executed
157
+ with Licensor regarding such Contributions.
158
+
159
+ 6. Trademarks. This License does not grant permission to use the trade
160
+ names, trademarks, service marks, or product names of the Licensor,
161
+ except as required for reasonable and customary use in describing the
162
+ origin of the Work and reproducing the content of the NOTICE file.
163
+
164
+ 7. Disclaimer of Warranty. Unless required by applicable law or
165
+ agreed to in writing, Licensor provides the Work (and each
166
+ Contributor provides its Contributions) on an "AS IS" BASIS,
167
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
168
+ implied, including, without limitation, any warranties or conditions
169
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
170
+ PARTICULAR PURPOSE. You are solely responsible for determining the
171
+ appropriateness of using or redistributing the Work and assume any
172
+ risks associated with Your exercise of permissions under this License.
173
+
174
+ 8. Limitation of Liability. In no event and under no legal theory,
175
+ whether in tort (including negligence), contract, or otherwise,
176
+ unless required by applicable law (such as deliberate and grossly
177
+ negligent acts) or agreed to in writing, shall any Contributor be
178
+ liable to You for damages, including any direct, indirect, special,
179
+ incidental, or consequential damages of any character arising as a
180
+ result of this License or out of the use or inability to use the
181
+ Work (including but not limited to damages for loss of goodwill,
182
+ work stoppage, computer failure or malfunction, or any and all
183
+ other commercial damages or losses), even if such Contributor
184
+ has been advised of the possibility of such damages.
185
+
186
+ 9. Accepting Warranty or Additional Liability. While redistributing
187
+ the Work or Derivative Works thereof, You may choose to offer,
188
+ and charge a fee for, acceptance of support, warranty, indemnity,
189
+ or other liability obligations and/or rights consistent with this
190
+ License. However, in accepting such obligations, You may act only
191
+ on Your own behalf and on Your sole responsibility, not on behalf
192
+ of any other Contributor, and only if You agree to indemnify,
193
+ defend, and hold each Contributor harmless for any liability
194
+ incurred by, or claims asserted against, such Contributor by reason
195
+ of your accepting any such warranty or additional liability.
196
+
197
+ END OF TERMS AND CONDITIONS
198
+
199
+ ---
200
+
201
+ MIT License
202
+
203
+ Copyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.
204
+
205
+ Permission is hereby granted, free of charge, to any person obtaining a copy
206
+ of this software and associated documentation files (the "Software"), to deal
207
+ in the Software without restriction, including without limitation the rights
208
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
209
+ copies of the Software, and to permit persons to whom the Software is
210
+ furnished to do so, subject to the following conditions:
211
+
212
+ The above copyright notice and this permission notice shall be included in all
213
+ copies or substantial portions of the Software.
214
+
215
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
216
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
217
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
218
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
219
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
220
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
221
+ SOFTWARE.
222
+
223
+ ---
224
+
225
+ Creative Commons Attribution 4.0 International (CC-BY-4.0)
226
+
227
+ Documentation in this project (excluding specifications) is licensed under
228
+ CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
229
+ the full license text.
230
+ ----------------------------------------------------------------------------------------------------
231
+ @modelcontextprotocol/server@2.0.0 — MIT
232
+ https://modelcontextprotocol.io
233
+ ----------------------------------------------------------------------------------------------------
234
+ The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.
235
+
236
+ Contributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.
237
+
238
+ No rights beyond those granted by the applicable original license are conveyed for such contributions.
239
+
240
+ ---
241
+
242
+ Apache License
243
+ Version 2.0, January 2004
244
+ http://www.apache.org/licenses/
245
+
246
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
247
+
248
+ 1. Definitions.
249
+
250
+ "License" shall mean the terms and conditions for use, reproduction,
251
+ and distribution as defined by Sections 1 through 9 of this document.
252
+
253
+ "Licensor" shall mean the copyright owner or entity authorized by
254
+ the copyright owner that is granting the License.
255
+
256
+ "Legal Entity" shall mean the union of the acting entity and all
257
+ other entities that control, are controlled by, or are under common
258
+ control with that entity. For the purposes of this definition,
259
+ "control" means (i) the power, direct or indirect, to cause the
260
+ direction or management of such entity, whether by contract or
261
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
262
+ outstanding shares, or (iii) beneficial ownership of such entity.
263
+
264
+ "You" (or "Your") shall mean an individual or Legal Entity
265
+ exercising permissions granted by this License.
266
+
267
+ "Source" form shall mean the preferred form for making modifications,
268
+ including but not limited to software source code, documentation
269
+ source, and configuration files.
270
+
271
+ "Object" form shall mean any form resulting from mechanical
272
+ transformation or translation of a Source form, including but
273
+ not limited to compiled object code, generated documentation,
274
+ and conversions to other media types.
275
+
276
+ "Work" shall mean the work of authorship, whether in Source or
277
+ Object form, made available under the License, as indicated by a
278
+ copyright notice that is included in or attached to the work
279
+ (an example is provided in the Appendix below).
280
+
281
+ "Derivative Works" shall mean any work, whether in Source or Object
282
+ form, that is based on (or derived from) the Work and for which the
283
+ editorial revisions, annotations, elaborations, or other modifications
284
+ represent, as a whole, an original work of authorship. For the purposes
285
+ of this License, Derivative Works shall not include works that remain
286
+ separable from, or merely link (or bind by name) to the interfaces of,
287
+ the Work and Derivative Works thereof.
288
+
289
+ "Contribution" shall mean any work of authorship, including
290
+ the original version of the Work and any modifications or additions
291
+ to that Work or Derivative Works thereof, that is intentionally
292
+ submitted to the Licensor for inclusion in the Work by the copyright
293
+ owner or by an individual or Legal Entity authorized to submit on behalf
294
+ of the copyright owner. For the purposes of this definition, "submitted"
295
+ means any form of electronic, verbal, or written communication sent
296
+ to the Licensor or its representatives, including but not limited to
297
+ communication on electronic mailing lists, source code control systems,
298
+ and issue tracking systems that are managed by, or on behalf of, the
299
+ Licensor for the purpose of discussing and improving the Work, but
300
+ excluding communication that is conspicuously marked or otherwise
301
+ designated in writing by the copyright owner as "Not a Contribution."
302
+
303
+ "Contributor" shall mean Licensor and any individual or Legal Entity
304
+ on behalf of whom a Contribution has been received by Licensor and
305
+ subsequently incorporated within the Work.
306
+
307
+ 2. Grant of Copyright License. Subject to the terms and conditions of
308
+ this License, each Contributor hereby grants to You a perpetual,
309
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
310
+ copyright license to reproduce, prepare Derivative Works of,
311
+ publicly display, publicly perform, sublicense, and distribute the
312
+ Work and such Derivative Works in Source or Object form.
313
+
314
+ 3. Grant of Patent License. Subject to the terms and conditions of
315
+ this License, each Contributor hereby grants to You a perpetual,
316
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
317
+ (except as stated in this section) patent license to make, have made,
318
+ use, offer to sell, sell, import, and otherwise transfer the Work,
319
+ where such license applies only to those patent claims licensable
320
+ by such Contributor that are necessarily infringed by their
321
+ Contribution(s) alone or by combination of their Contribution(s)
322
+ with the Work to which such Contribution(s) was submitted. If You
323
+ institute patent litigation against any entity (including a
324
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
325
+ or a Contribution incorporated within the Work constitutes direct
326
+ or contributory patent infringement, then any patent licenses
327
+ granted to You under this License for that Work shall terminate
328
+ as of the date such litigation is filed.
329
+
330
+ 4. Redistribution. You may reproduce and distribute copies of the
331
+ Work or Derivative Works thereof in any medium, with or without
332
+ modifications, and in Source or Object form, provided that You
333
+ meet the following conditions:
334
+
335
+ (a) You must give any other recipients of the Work or
336
+ Derivative Works a copy of this License; and
337
+
338
+ (b) You must cause any modified files to carry prominent notices
339
+ stating that You changed the files; and
340
+
341
+ (c) You must retain, in the Source form of any Derivative Works
342
+ that You distribute, all copyright, patent, trademark, and
343
+ attribution notices from the Source form of the Work,
344
+ excluding those notices that do not pertain to any part of
345
+ the Derivative Works; and
346
+
347
+ (d) If the Work includes a "NOTICE" text file as part of its
348
+ distribution, then any Derivative Works that You distribute must
349
+ include a readable copy of the attribution notices contained
350
+ within such NOTICE file, excluding those notices that do not
351
+ pertain to any part of the Derivative Works, in at least one
352
+ of the following places: within a NOTICE text file distributed
353
+ as part of the Derivative Works; within the Source form or
354
+ documentation, if provided along with the Derivative Works; or,
355
+ within a display generated by the Derivative Works, if and
356
+ wherever such third-party notices normally appear. The contents
357
+ of the NOTICE file are for informational purposes only and
358
+ do not modify the License. You may add Your own attribution
359
+ notices within Derivative Works that You distribute, alongside
360
+ or as an addendum to the NOTICE text from the Work, provided
361
+ that such additional attribution notices cannot be construed
362
+ as modifying the License.
363
+
364
+ You may add Your own copyright statement to Your modifications and
365
+ may provide additional or different license terms and conditions
366
+ for use, reproduction, or distribution of Your modifications, or
367
+ for any such Derivative Works as a whole, provided Your use,
368
+ reproduction, and distribution of the Work otherwise complies with
369
+ the conditions stated in this License.
370
+
371
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
372
+ any Contribution intentionally submitted for inclusion in the Work
373
+ by You to the Licensor shall be under the terms and conditions of
374
+ this License, without any additional terms or conditions.
375
+ Notwithstanding the above, nothing herein shall supersede or modify
376
+ the terms of any separate license agreement you may have executed
377
+ with Licensor regarding such Contributions.
378
+
379
+ 6. Trademarks. This License does not grant permission to use the trade
380
+ names, trademarks, service marks, or product names of the Licensor,
381
+ except as required for reasonable and customary use in describing the
382
+ origin of the Work and reproducing the content of the NOTICE file.
383
+
384
+ 7. Disclaimer of Warranty. Unless required by applicable law or
385
+ agreed to in writing, Licensor provides the Work (and each
386
+ Contributor provides its Contributions) on an "AS IS" BASIS,
387
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
388
+ implied, including, without limitation, any warranties or conditions
389
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
390
+ PARTICULAR PURPOSE. You are solely responsible for determining the
391
+ appropriateness of using or redistributing the Work and assume any
392
+ risks associated with Your exercise of permissions under this License.
393
+
394
+ 8. Limitation of Liability. In no event and under no legal theory,
395
+ whether in tort (including negligence), contract, or otherwise,
396
+ unless required by applicable law (such as deliberate and grossly
397
+ negligent acts) or agreed to in writing, shall any Contributor be
398
+ liable to You for damages, including any direct, indirect, special,
399
+ incidental, or consequential damages of any character arising as a
400
+ result of this License or out of the use or inability to use the
401
+ Work (including but not limited to damages for loss of goodwill,
402
+ work stoppage, computer failure or malfunction, or any and all
403
+ other commercial damages or losses), even if such Contributor
404
+ has been advised of the possibility of such damages.
405
+
406
+ 9. Accepting Warranty or Additional Liability. While redistributing
407
+ the Work or Derivative Works thereof, You may choose to offer,
408
+ and charge a fee for, acceptance of support, warranty, indemnity,
409
+ or other liability obligations and/or rights consistent with this
410
+ License. However, in accepting such obligations, You may act only
411
+ on Your own behalf and on Your sole responsibility, not on behalf
412
+ of any other Contributor, and only if You agree to indemnify,
413
+ defend, and hold each Contributor harmless for any liability
414
+ incurred by, or claims asserted against, such Contributor by reason
415
+ of your accepting any such warranty or additional liability.
416
+
417
+ END OF TERMS AND CONDITIONS
418
+
419
+ ---
420
+
421
+ MIT License
422
+
423
+ Copyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.
424
+
425
+ Permission is hereby granted, free of charge, to any person obtaining a copy
426
+ of this software and associated documentation files (the "Software"), to deal
427
+ in the Software without restriction, including without limitation the rights
428
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
429
+ copies of the Software, and to permit persons to whom the Software is
430
+ furnished to do so, subject to the following conditions:
431
+
432
+ The above copyright notice and this permission notice shall be included in all
433
+ copies or substantial portions of the Software.
434
+
435
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
436
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
437
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
438
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
439
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
440
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
441
+ SOFTWARE.
442
+
443
+ ---
444
+
445
+ Creative Commons Attribution 4.0 International (CC-BY-4.0)
446
+
447
+ Documentation in this project (excluding specifications) is licensed under
448
+ CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
449
+ the full license text.
450
+ ----------------------------------------------------------------------------------------------------
451
+ commander@15.0.0 — MIT
452
+ ----------------------------------------------------------------------------------------------------
453
+ (The MIT License)
454
+
455
+ Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
456
+
457
+ Permission is hereby granted, free of charge, to any person obtaining
458
+ a copy of this software and associated documentation files (the
459
+ 'Software'), to deal in the Software without restriction, including
460
+ without limitation the rights to use, copy, modify, merge, publish,
461
+ distribute, sublicense, and/or sell copies of the Software, and to
462
+ permit persons to whom the Software is furnished to do so, subject to
463
+ the following conditions:
464
+
465
+ The above copyright notice and this permission notice shall be
466
+ included in all copies or substantial portions of the Software.
467
+
468
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
469
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
470
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
471
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
472
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
473
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
474
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
475
+ ----------------------------------------------------------------------------------------------------
476
+ zod@4.6.5 — MIT
477
+ https://zod.dev
478
+ ----------------------------------------------------------------------------------------------------
479
+ MIT License
480
+
481
+ Copyright (c) 2025 Colin McDonnell
482
+
483
+ Permission is hereby granted, free of charge, to any person obtaining a copy
484
+ of this software and associated documentation files (the "Software"), to deal
485
+ in the Software without restriction, including without limitation the rights
486
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
487
+ copies of the Software, and to permit persons to whom the Software is
488
+ furnished to do so, subject to the following conditions:
489
+
490
+ The above copyright notice and this permission notice shall be included in all
491
+ copies or substantial portions of the Software.
492
+
493
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
494
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
495
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
496
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
497
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
498
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
499
+ SOFTWARE.