@abyssinia-labs/sokie 0.1.0 → 0.1.1-staging.106

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,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,7 @@
1
+ Sokie CLI (@abyssinia-labs/sokie)
2
+ Copyright 2026 Abyssinia Labs
3
+
4
+ Licensed under the Apache License, Version 2.0 (LICENSE).
5
+
6
+ This package bundles third-party software. Their licenses and notices are
7
+ in dist/THIRD-PARTY-NOTICES.txt.
package/README.md ADDED
@@ -0,0 +1,76 @@
1
+ # sokie
2
+
3
+ The command line for [Sokie](https://sokie.sh). Give it an OpenAPI or Swagger
4
+ spec and every endpoint becomes a typed tool on an MCP server: run it on your
5
+ machine, then deploy it to its own address at `<name>.sokie.cloud/mcp`, where
6
+ claude.ai, ChatGPT, Cursor, Claude Code and VS Code can call it.
7
+
8
+ ```bash
9
+ npm i -g @abyssinia-labs/sokie
10
+ ```
11
+
12
+ You need Node 22 or later. This installs `sokie`, and `sok` as a short alias.
13
+
14
+ ## From a spec to a live server
15
+
16
+ ```bash
17
+ sokie login
18
+ sokie init https://petstore3.swagger.io/api/v3/openapi.json petstore
19
+ cd petstore
20
+ sokie dev
21
+ sokie deploy --create
22
+ ```
23
+
24
+ - `sokie login` opens your browser to sign this computer in. The same page
25
+ makes your account. On a machine you reach over SSH, add `--no-browser`.
26
+ - `sokie init` reads an OpenAPI 3 or Swagger 2 spec, from a file or a URL, and
27
+ writes the server: `sokie.json`, a copy of the spec, and one Markdown file per
28
+ tool in `tools/`. Those files are the whole server, with no generated code to
29
+ maintain.
30
+ - `sokie dev` runs it on the same runtime a deploy uses, with an inspector to
31
+ call each tool, and reloads on every save.
32
+ - `sokie deploy --create` puts it live and prints its address. After the first
33
+ time, `sokie deploy` is enough.
34
+
35
+ The [quickstart](https://sokie.sh/docs/quickstart) walks through it, including
36
+ the key the Petstore API asks for and connecting claude.ai.
37
+
38
+ ## Commands
39
+
40
+ | Command | What it does |
41
+ | --- | --- |
42
+ | `init` | Start a server from an OpenAPI or Swagger spec. |
43
+ | `check` | Check the server the way a deploy would, without deploying. |
44
+ | `tools` | List the tools, or show one with its effect and findings. |
45
+ | `call` | Call one tool as an agent would, on `sokie dev` or a deploy. |
46
+ | `test` | Run the cases in `tests/` on `sokie dev` or a deploy. |
47
+ | `fmt` | Write `sokie.json` the one way Sokie writes it. |
48
+ | `dev` | Run the server locally on the real runtime, reloading on every edit. |
49
+ | `edit` | Open a server's repository in your editor, with `sokie dev` running. |
50
+ | `login`, `logout`, `whoami` | Sign this computer in or out, or show who it's signed in as. |
51
+ | `deploy` | Deploy the server and wait until it's live. |
52
+ | `deploys` | Show what a deploy changed for agents, tool by tool. |
53
+ | `link` | Deploy the server from its GitHub repository. |
54
+ | `secrets` | List, set or remove the server's secrets. |
55
+ | `logs` | Show the server's calls, as far back as your plan keeps them. |
56
+ | `audit` | Show who changed what in your workspace. |
57
+ | `config` | Show or shorten how long CLI sign-ins last. |
58
+
59
+ Every command takes `--help`, and `--json` when a script reads its output.
60
+ Commands that talk to Sokie take `--site <url>` (or `SOKIE_SITE`) for a site
61
+ other than sokie.sh. The [CLI reference](https://sokie.sh/docs/cli) lists every
62
+ option.
63
+
64
+ ## Links
65
+
66
+ - [Docs](https://sokie.sh/docs)
67
+ - [Changelog](https://sokie.sh/changelog)
68
+ - Questions and bugs: [hello@sokie.sh](mailto:hello@sokie.sh)
69
+
70
+ ## License
71
+
72
+ Apache-2.0: see the `LICENSE` and `NOTICE` files in this package. The CLI
73
+ bundles third-party packages, whose licenses are in
74
+ `dist/THIRD-PARTY-NOTICES.txt`.
75
+ Using the hosted service at sokie.sh is covered by its
76
+ [terms](https://sokie.sh/terms).
@@ -0,0 +1,775 @@
1
+ Third-party notices for @abyssinia-labs/sokie
2
+
3
+ dist/sokie.mjs bundles the 8 npm packages below. Each is under its own
4
+ license, reproduced as the package ships it. Miniflare is installed beside
5
+ the CLI as a dependency and carries its own license.
6
+
7
+ ========================================================================
8
+ @modelcontextprotocol/client 2.3.1 (Apache-2.0)
9
+ ========================================================================
10
+
11
+ 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.
12
+
13
+ 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.
14
+
15
+ No rights beyond those granted by the applicable original license are conveyed for such contributions.
16
+
17
+ ---
18
+
19
+ Apache License
20
+ Version 2.0, January 2004
21
+ http://www.apache.org/licenses/
22
+
23
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
24
+
25
+ 1. Definitions.
26
+
27
+ "License" shall mean the terms and conditions for use, reproduction,
28
+ and distribution as defined by Sections 1 through 9 of this document.
29
+
30
+ "Licensor" shall mean the copyright owner or entity authorized by
31
+ the copyright owner that is granting the License.
32
+
33
+ "Legal Entity" shall mean the union of the acting entity and all
34
+ other entities that control, are controlled by, or are under common
35
+ control with that entity. For the purposes of this definition,
36
+ "control" means (i) the power, direct or indirect, to cause the
37
+ direction or management of such entity, whether by contract or
38
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
39
+ outstanding shares, or (iii) beneficial ownership of such entity.
40
+
41
+ "You" (or "Your") shall mean an individual or Legal Entity
42
+ exercising permissions granted by this License.
43
+
44
+ "Source" form shall mean the preferred form for making modifications,
45
+ including but not limited to software source code, documentation
46
+ source, and configuration files.
47
+
48
+ "Object" form shall mean any form resulting from mechanical
49
+ transformation or translation of a Source form, including but
50
+ not limited to compiled object code, generated documentation,
51
+ and conversions to other media types.
52
+
53
+ "Work" shall mean the work of authorship, whether in Source or
54
+ Object form, made available under the License, as indicated by a
55
+ copyright notice that is included in or attached to the work
56
+ (an example is provided in the Appendix below).
57
+
58
+ "Derivative Works" shall mean any work, whether in Source or Object
59
+ form, that is based on (or derived from) the Work and for which the
60
+ editorial revisions, annotations, elaborations, or other modifications
61
+ represent, as a whole, an original work of authorship. For the purposes
62
+ of this License, Derivative Works shall not include works that remain
63
+ separable from, or merely link (or bind by name) to the interfaces of,
64
+ the Work and Derivative Works thereof.
65
+
66
+ "Contribution" shall mean any work of authorship, including
67
+ the original version of the Work and any modifications or additions
68
+ to that Work or Derivative Works thereof, that is intentionally
69
+ submitted to the Licensor for inclusion in the Work by the copyright
70
+ owner or by an individual or Legal Entity authorized to submit on behalf
71
+ of the copyright owner. For the purposes of this definition, "submitted"
72
+ means any form of electronic, verbal, or written communication sent
73
+ to the Licensor or its representatives, including but not limited to
74
+ communication on electronic mailing lists, source code control systems,
75
+ and issue tracking systems that are managed by, or on behalf of, the
76
+ Licensor for the purpose of discussing and improving the Work, but
77
+ excluding communication that is conspicuously marked or otherwise
78
+ designated in writing by the copyright owner as "Not a Contribution."
79
+
80
+ "Contributor" shall mean Licensor and any individual or Legal Entity
81
+ on behalf of whom a Contribution has been received by Licensor and
82
+ subsequently incorporated within the Work.
83
+
84
+ 2. Grant of Copyright License. Subject to the terms and conditions of
85
+ this License, each Contributor hereby grants to You a perpetual,
86
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
87
+ copyright license to reproduce, prepare Derivative Works of,
88
+ publicly display, publicly perform, sublicense, and distribute the
89
+ Work and such Derivative Works in Source or Object form.
90
+
91
+ 3. Grant of Patent License. Subject to the terms and conditions of
92
+ this License, each Contributor hereby grants to You a perpetual,
93
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
94
+ (except as stated in this section) patent license to make, have made,
95
+ use, offer to sell, sell, import, and otherwise transfer the Work,
96
+ where such license applies only to those patent claims licensable
97
+ by such Contributor that are necessarily infringed by their
98
+ Contribution(s) alone or by combination of their Contribution(s)
99
+ with the Work to which such Contribution(s) was submitted. If You
100
+ institute patent litigation against any entity (including a
101
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
102
+ or a Contribution incorporated within the Work constitutes direct
103
+ or contributory patent infringement, then any patent licenses
104
+ granted to You under this License for that Work shall terminate
105
+ as of the date such litigation is filed.
106
+
107
+ 4. Redistribution. You may reproduce and distribute copies of the
108
+ Work or Derivative Works thereof in any medium, with or without
109
+ modifications, and in Source or Object form, provided that You
110
+ meet the following conditions:
111
+
112
+ (a) You must give any other recipients of the Work or
113
+ Derivative Works a copy of this License; and
114
+
115
+ (b) You must cause any modified files to carry prominent notices
116
+ stating that You changed the files; and
117
+
118
+ (c) You must retain, in the Source form of any Derivative Works
119
+ that You distribute, all copyright, patent, trademark, and
120
+ attribution notices from the Source form of the Work,
121
+ excluding those notices that do not pertain to any part of
122
+ the Derivative Works; and
123
+
124
+ (d) If the Work includes a "NOTICE" text file as part of its
125
+ distribution, then any Derivative Works that You distribute must
126
+ include a readable copy of the attribution notices contained
127
+ within such NOTICE file, excluding those notices that do not
128
+ pertain to any part of the Derivative Works, in at least one
129
+ of the following places: within a NOTICE text file distributed
130
+ as part of the Derivative Works; within the Source form or
131
+ documentation, if provided along with the Derivative Works; or,
132
+ within a display generated by the Derivative Works, if and
133
+ wherever such third-party notices normally appear. The contents
134
+ of the NOTICE file are for informational purposes only and
135
+ do not modify the License. You may add Your own attribution
136
+ notices within Derivative Works that You distribute, alongside
137
+ or as an addendum to the NOTICE text from the Work, provided
138
+ that such additional attribution notices cannot be construed
139
+ as modifying the License.
140
+
141
+ You may add Your own copyright statement to Your modifications and
142
+ may provide additional or different license terms and conditions
143
+ for use, reproduction, or distribution of Your modifications, or
144
+ for any such Derivative Works as a whole, provided Your use,
145
+ reproduction, and distribution of the Work otherwise complies with
146
+ the conditions stated in this License.
147
+
148
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
149
+ any Contribution intentionally submitted for inclusion in the Work
150
+ by You to the Licensor shall be under the terms and conditions of
151
+ this License, without any additional terms or conditions.
152
+ Notwithstanding the above, nothing herein shall supersede or modify
153
+ the terms of any separate license agreement you may have executed
154
+ with Licensor regarding such Contributions.
155
+
156
+ 6. Trademarks. This License does not grant permission to use the trade
157
+ names, trademarks, service marks, or product names of the Licensor,
158
+ except as required for reasonable and customary use in describing the
159
+ origin of the Work and reproducing the content of the NOTICE file.
160
+
161
+ 7. Disclaimer of Warranty. Unless required by applicable law or
162
+ agreed to in writing, Licensor provides the Work (and each
163
+ Contributor provides its Contributions) on an "AS IS" BASIS,
164
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
165
+ implied, including, without limitation, any warranties or conditions
166
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
167
+ PARTICULAR PURPOSE. You are solely responsible for determining the
168
+ appropriateness of using or redistributing the Work and assume any
169
+ risks associated with Your exercise of permissions under this License.
170
+
171
+ 8. Limitation of Liability. In no event and under no legal theory,
172
+ whether in tort (including negligence), contract, or otherwise,
173
+ unless required by applicable law (such as deliberate and grossly
174
+ negligent acts) or agreed to in writing, shall any Contributor be
175
+ liable to You for damages, including any direct, indirect, special,
176
+ incidental, or consequential damages of any character arising as a
177
+ result of this License or out of the use or inability to use the
178
+ Work (including but not limited to damages for loss of goodwill,
179
+ work stoppage, computer failure or malfunction, or any and all
180
+ other commercial damages or losses), even if such Contributor
181
+ has been advised of the possibility of such damages.
182
+
183
+ 9. Accepting Warranty or Additional Liability. While redistributing
184
+ the Work or Derivative Works thereof, You may choose to offer,
185
+ and charge a fee for, acceptance of support, warranty, indemnity,
186
+ or other liability obligations and/or rights consistent with this
187
+ License. However, in accepting such obligations, You may act only
188
+ on Your own behalf and on Your sole responsibility, not on behalf
189
+ of any other Contributor, and only if You agree to indemnify,
190
+ defend, and hold each Contributor harmless for any liability
191
+ incurred by, or claims asserted against, such Contributor by reason
192
+ of your accepting any such warranty or additional liability.
193
+
194
+ END OF TERMS AND CONDITIONS
195
+
196
+ ---
197
+
198
+ MIT License
199
+
200
+ Copyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.
201
+
202
+ Permission is hereby granted, free of charge, to any person obtaining a copy
203
+ of this software and associated documentation files (the "Software"), to deal
204
+ in the Software without restriction, including without limitation the rights
205
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
206
+ copies of the Software, and to permit persons to whom the Software is
207
+ furnished to do so, subject to the following conditions:
208
+
209
+ The above copyright notice and this permission notice shall be included in all
210
+ copies or substantial portions of the Software.
211
+
212
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
213
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
214
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
215
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
216
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
217
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
218
+ SOFTWARE.
219
+
220
+ ---
221
+
222
+ Creative Commons Attribution 4.0 International (CC-BY-4.0)
223
+
224
+ Documentation in this project (excluding specifications) is licensed under
225
+ CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
226
+ the full license text.
227
+
228
+ ========================================================================
229
+ @modelcontextprotocol/core 2.3.1 (Apache-2.0)
230
+ ========================================================================
231
+
232
+ 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.
233
+
234
+ 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.
235
+
236
+ No rights beyond those granted by the applicable original license are conveyed for such contributions.
237
+
238
+ ---
239
+
240
+ Apache License
241
+ Version 2.0, January 2004
242
+ http://www.apache.org/licenses/
243
+
244
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
245
+
246
+ 1. Definitions.
247
+
248
+ "License" shall mean the terms and conditions for use, reproduction,
249
+ and distribution as defined by Sections 1 through 9 of this document.
250
+
251
+ "Licensor" shall mean the copyright owner or entity authorized by
252
+ the copyright owner that is granting the License.
253
+
254
+ "Legal Entity" shall mean the union of the acting entity and all
255
+ other entities that control, are controlled by, or are under common
256
+ control with that entity. For the purposes of this definition,
257
+ "control" means (i) the power, direct or indirect, to cause the
258
+ direction or management of such entity, whether by contract or
259
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
260
+ outstanding shares, or (iii) beneficial ownership of such entity.
261
+
262
+ "You" (or "Your") shall mean an individual or Legal Entity
263
+ exercising permissions granted by this License.
264
+
265
+ "Source" form shall mean the preferred form for making modifications,
266
+ including but not limited to software source code, documentation
267
+ source, and configuration files.
268
+
269
+ "Object" form shall mean any form resulting from mechanical
270
+ transformation or translation of a Source form, including but
271
+ not limited to compiled object code, generated documentation,
272
+ and conversions to other media types.
273
+
274
+ "Work" shall mean the work of authorship, whether in Source or
275
+ Object form, made available under the License, as indicated by a
276
+ copyright notice that is included in or attached to the work
277
+ (an example is provided in the Appendix below).
278
+
279
+ "Derivative Works" shall mean any work, whether in Source or Object
280
+ form, that is based on (or derived from) the Work and for which the
281
+ editorial revisions, annotations, elaborations, or other modifications
282
+ represent, as a whole, an original work of authorship. For the purposes
283
+ of this License, Derivative Works shall not include works that remain
284
+ separable from, or merely link (or bind by name) to the interfaces of,
285
+ the Work and Derivative Works thereof.
286
+
287
+ "Contribution" shall mean any work of authorship, including
288
+ the original version of the Work and any modifications or additions
289
+ to that Work or Derivative Works thereof, that is intentionally
290
+ submitted to the Licensor for inclusion in the Work by the copyright
291
+ owner or by an individual or Legal Entity authorized to submit on behalf
292
+ of the copyright owner. For the purposes of this definition, "submitted"
293
+ means any form of electronic, verbal, or written communication sent
294
+ to the Licensor or its representatives, including but not limited to
295
+ communication on electronic mailing lists, source code control systems,
296
+ and issue tracking systems that are managed by, or on behalf of, the
297
+ Licensor for the purpose of discussing and improving the Work, but
298
+ excluding communication that is conspicuously marked or otherwise
299
+ designated in writing by the copyright owner as "Not a Contribution."
300
+
301
+ "Contributor" shall mean Licensor and any individual or Legal Entity
302
+ on behalf of whom a Contribution has been received by Licensor and
303
+ subsequently incorporated within the Work.
304
+
305
+ 2. Grant of Copyright License. Subject to the terms and conditions of
306
+ this License, each Contributor hereby grants to You a perpetual,
307
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
308
+ copyright license to reproduce, prepare Derivative Works of,
309
+ publicly display, publicly perform, sublicense, and distribute the
310
+ Work and such Derivative Works in Source or Object form.
311
+
312
+ 3. Grant of Patent License. Subject to the terms and conditions of
313
+ this License, each Contributor hereby grants to You a perpetual,
314
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
315
+ (except as stated in this section) patent license to make, have made,
316
+ use, offer to sell, sell, import, and otherwise transfer the Work,
317
+ where such license applies only to those patent claims licensable
318
+ by such Contributor that are necessarily infringed by their
319
+ Contribution(s) alone or by combination of their Contribution(s)
320
+ with the Work to which such Contribution(s) was submitted. If You
321
+ institute patent litigation against any entity (including a
322
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
323
+ or a Contribution incorporated within the Work constitutes direct
324
+ or contributory patent infringement, then any patent licenses
325
+ granted to You under this License for that Work shall terminate
326
+ as of the date such litigation is filed.
327
+
328
+ 4. Redistribution. You may reproduce and distribute copies of the
329
+ Work or Derivative Works thereof in any medium, with or without
330
+ modifications, and in Source or Object form, provided that You
331
+ meet the following conditions:
332
+
333
+ (a) You must give any other recipients of the Work or
334
+ Derivative Works a copy of this License; and
335
+
336
+ (b) You must cause any modified files to carry prominent notices
337
+ stating that You changed the files; and
338
+
339
+ (c) You must retain, in the Source form of any Derivative Works
340
+ that You distribute, all copyright, patent, trademark, and
341
+ attribution notices from the Source form of the Work,
342
+ excluding those notices that do not pertain to any part of
343
+ the Derivative Works; and
344
+
345
+ (d) If the Work includes a "NOTICE" text file as part of its
346
+ distribution, then any Derivative Works that You distribute must
347
+ include a readable copy of the attribution notices contained
348
+ within such NOTICE file, excluding those notices that do not
349
+ pertain to any part of the Derivative Works, in at least one
350
+ of the following places: within a NOTICE text file distributed
351
+ as part of the Derivative Works; within the Source form or
352
+ documentation, if provided along with the Derivative Works; or,
353
+ within a display generated by the Derivative Works, if and
354
+ wherever such third-party notices normally appear. The contents
355
+ of the NOTICE file are for informational purposes only and
356
+ do not modify the License. You may add Your own attribution
357
+ notices within Derivative Works that You distribute, alongside
358
+ or as an addendum to the NOTICE text from the Work, provided
359
+ that such additional attribution notices cannot be construed
360
+ as modifying the License.
361
+
362
+ You may add Your own copyright statement to Your modifications and
363
+ may provide additional or different license terms and conditions
364
+ for use, reproduction, or distribution of Your modifications, or
365
+ for any such Derivative Works as a whole, provided Your use,
366
+ reproduction, and distribution of the Work otherwise complies with
367
+ the conditions stated in this License.
368
+
369
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
370
+ any Contribution intentionally submitted for inclusion in the Work
371
+ by You to the Licensor shall be under the terms and conditions of
372
+ this License, without any additional terms or conditions.
373
+ Notwithstanding the above, nothing herein shall supersede or modify
374
+ the terms of any separate license agreement you may have executed
375
+ with Licensor regarding such Contributions.
376
+
377
+ 6. Trademarks. This License does not grant permission to use the trade
378
+ names, trademarks, service marks, or product names of the Licensor,
379
+ except as required for reasonable and customary use in describing the
380
+ origin of the Work and reproducing the content of the NOTICE file.
381
+
382
+ 7. Disclaimer of Warranty. Unless required by applicable law or
383
+ agreed to in writing, Licensor provides the Work (and each
384
+ Contributor provides its Contributions) on an "AS IS" BASIS,
385
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
386
+ implied, including, without limitation, any warranties or conditions
387
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
388
+ PARTICULAR PURPOSE. You are solely responsible for determining the
389
+ appropriateness of using or redistributing the Work and assume any
390
+ risks associated with Your exercise of permissions under this License.
391
+
392
+ 8. Limitation of Liability. In no event and under no legal theory,
393
+ whether in tort (including negligence), contract, or otherwise,
394
+ unless required by applicable law (such as deliberate and grossly
395
+ negligent acts) or agreed to in writing, shall any Contributor be
396
+ liable to You for damages, including any direct, indirect, special,
397
+ incidental, or consequential damages of any character arising as a
398
+ result of this License or out of the use or inability to use the
399
+ Work (including but not limited to damages for loss of goodwill,
400
+ work stoppage, computer failure or malfunction, or any and all
401
+ other commercial damages or losses), even if such Contributor
402
+ has been advised of the possibility of such damages.
403
+
404
+ 9. Accepting Warranty or Additional Liability. While redistributing
405
+ the Work or Derivative Works thereof, You may choose to offer,
406
+ and charge a fee for, acceptance of support, warranty, indemnity,
407
+ or other liability obligations and/or rights consistent with this
408
+ License. However, in accepting such obligations, You may act only
409
+ on Your own behalf and on Your sole responsibility, not on behalf
410
+ of any other Contributor, and only if You agree to indemnify,
411
+ defend, and hold each Contributor harmless for any liability
412
+ incurred by, or claims asserted against, such Contributor by reason
413
+ of your accepting any such warranty or additional liability.
414
+
415
+ END OF TERMS AND CONDITIONS
416
+
417
+ ---
418
+
419
+ MIT License
420
+
421
+ Copyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.
422
+
423
+ Permission is hereby granted, free of charge, to any person obtaining a copy
424
+ of this software and associated documentation files (the "Software"), to deal
425
+ in the Software without restriction, including without limitation the rights
426
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
427
+ copies of the Software, and to permit persons to whom the Software is
428
+ furnished to do so, subject to the following conditions:
429
+
430
+ The above copyright notice and this permission notice shall be included in all
431
+ copies or substantial portions of the Software.
432
+
433
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
434
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
435
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
436
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
437
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
438
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
439
+ SOFTWARE.
440
+
441
+ ---
442
+
443
+ Creative Commons Attribution 4.0 International (CC-BY-4.0)
444
+
445
+ Documentation in this project (excluding specifications) is licensed under
446
+ CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
447
+ the full license text.
448
+
449
+ ========================================================================
450
+ convex 1.45.0 (Apache-2.0)
451
+ ========================================================================
452
+
453
+ Apache License
454
+ Version 2.0, January 2004
455
+ http://www.apache.org/licenses/
456
+
457
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
458
+
459
+ 1. Definitions.
460
+
461
+ "License" shall mean the terms and conditions for use, reproduction,
462
+ and distribution as defined by Sections 1 through 9 of this document.
463
+
464
+ "Licensor" shall mean the copyright owner or entity authorized by
465
+ the copyright owner that is granting the License.
466
+
467
+ "Legal Entity" shall mean the union of the acting entity and all
468
+ other entities that control, are controlled by, or are under common
469
+ control with that entity. For the purposes of this definition,
470
+ "control" means (i) the power, direct or indirect, to cause the
471
+ direction or management of such entity, whether by contract or
472
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
473
+ outstanding shares, or (iii) beneficial ownership of such entity.
474
+
475
+ "You" (or "Your") shall mean an individual or Legal Entity
476
+ exercising permissions granted by this License.
477
+
478
+ "Source" form shall mean the preferred form for making modifications,
479
+ including but not limited to software source code, documentation
480
+ source, and configuration files.
481
+
482
+ "Object" form shall mean any form resulting from mechanical
483
+ transformation or translation of a Source form, including but
484
+ not limited to compiled object code, generated documentation,
485
+ and conversions to other media types.
486
+
487
+ "Work" shall mean the work of authorship, whether in Source or
488
+ Object form, made available under the License, as indicated by a
489
+ copyright notice that is included in or attached to the work
490
+ (an example is provided in the Appendix below).
491
+
492
+ "Derivative Works" shall mean any work, whether in Source or Object
493
+ form, that is based on (or derived from) the Work and for which the
494
+ editorial revisions, annotations, elaborations, or other modifications
495
+ represent, as a whole, an original work of authorship. For the purposes
496
+ of this License, Derivative Works shall not include works that remain
497
+ separable from, or merely link (or bind by name) to the interfaces of,
498
+ the Work and Derivative Works thereof.
499
+
500
+ "Contribution" shall mean any work of authorship, including
501
+ the original version of the Work and any modifications or additions
502
+ to that Work or Derivative Works thereof, that is intentionally
503
+ submitted to Licensor for inclusion in the Work by the copyright owner
504
+ or by an individual or Legal Entity authorized to submit on behalf of
505
+ the copyright owner. For the purposes of this definition, "submitted"
506
+ means any form of electronic, verbal, or written communication sent
507
+ to the Licensor or its representatives, including but not limited to
508
+ communication on electronic mailing lists, source code control systems,
509
+ and issue tracking systems that are managed by, or on behalf of, the
510
+ Licensor for the purpose of discussing and improving the Work, but
511
+ excluding communication that is conspicuously marked or otherwise
512
+ designated in writing by the copyright owner as "Not a Contribution."
513
+
514
+ "Contributor" shall mean Licensor and any individual or Legal Entity
515
+ on behalf of whom a Contribution has been received by Licensor and
516
+ subsequently incorporated within the Work.
517
+
518
+ 2. Grant of Copyright License. Subject to the terms and conditions of
519
+ this License, each Contributor hereby grants to You a perpetual,
520
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
521
+ copyright license to reproduce, prepare Derivative Works of,
522
+ publicly display, publicly perform, sublicense, and distribute the
523
+ Work and such Derivative Works in Source or Object form.
524
+
525
+ 3. Grant of Patent License. Subject to the terms and conditions of
526
+ this License, each Contributor hereby grants to You a perpetual,
527
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
528
+ (except as stated in this section) patent license to make, have made,
529
+ use, offer to sell, sell, import, and otherwise transfer the Work,
530
+ where such license applies only to those patent claims licensable
531
+ by such Contributor that are necessarily infringed by their
532
+ Contribution(s) alone or by combination of their Contribution(s)
533
+ with the Work to which such Contribution(s) was submitted. If You
534
+ institute patent litigation against any entity (including a
535
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
536
+ or a Contribution incorporated within the Work constitutes direct
537
+ or contributory patent infringement, then any patent licenses
538
+ granted to You under this License for that Work shall terminate
539
+ as of the date such litigation is filed.
540
+
541
+ 4. Redistribution. You may reproduce and distribute copies of the
542
+ Work or Derivative Works thereof in any medium, with or without
543
+ modifications, and in Source or Object form, provided that You
544
+ meet the following conditions:
545
+
546
+ (a) You must give any other recipients of the Work or
547
+ Derivative Works a copy of this License; and
548
+
549
+ (b) You must cause any modified files to carry prominent notices
550
+ stating that You changed the files; and
551
+
552
+ (c) You must retain, in the Source form of any Derivative Works
553
+ that You distribute, all copyright, patent, trademark, and
554
+ attribution notices from the Source form of the Work,
555
+ excluding those notices that do not pertain to any part of
556
+ the Derivative Works; and
557
+
558
+ (d) If the Work includes a "NOTICE" text file as part of its
559
+ distribution, then any Derivative Works that You distribute must
560
+ include a readable copy of the attribution notices contained
561
+ within such NOTICE file, excluding those notices that do not
562
+ pertain to any part of the Derivative Works, in at least one
563
+ of the following places: within a NOTICE text file distributed
564
+ as part of the Derivative Works; within the Source form or
565
+ documentation, if provided along with the Derivative Works; or,
566
+ within a display generated by the Derivative Works, if and
567
+ wherever such third-party notices normally appear. The contents
568
+ of the NOTICE file are for informational purposes only and
569
+ do not modify the License. You may add Your own attribution
570
+ notices within Derivative Works that You distribute, alongside
571
+ or as an addendum to the NOTICE text from the Work, provided
572
+ that such additional attribution notices cannot be construed
573
+ as modifying the License.
574
+
575
+ You may add Your own copyright statement to Your modifications and
576
+ may provide additional or different license terms and conditions
577
+ for use, reproduction, or distribution of Your modifications, or
578
+ for any such Derivative Works as a whole, provided Your use,
579
+ reproduction, and distribution of the Work otherwise complies with
580
+ the conditions stated in this License.
581
+
582
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
583
+ any Contribution intentionally submitted for inclusion in the Work
584
+ by You to the Licensor shall be under the terms and conditions of
585
+ this License, without any additional terms or conditions.
586
+ Notwithstanding the above, nothing herein shall supersede or modify
587
+ the terms of any separate license agreement you may have executed
588
+ with Licensor regarding such Contributions.
589
+
590
+ 6. Trademarks. This License does not grant permission to use the trade
591
+ names, trademarks, service marks, or product names of the Licensor,
592
+ except as required for reasonable and customary use in describing the
593
+ origin of the Work and reproducing the content of the NOTICE file.
594
+
595
+ 7. Disclaimer of Warranty. Unless required by applicable law or
596
+ agreed to in writing, Licensor provides the Work (and each
597
+ Contributor provides its Contributions) on an "AS IS" BASIS,
598
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
599
+ implied, including, without limitation, any warranties or conditions
600
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
601
+ PARTICULAR PURPOSE. You are solely responsible for determining the
602
+ appropriateness of using or redistributing the Work and assume any
603
+ risks associated with Your exercise of permissions under this License.
604
+
605
+ 8. Limitation of Liability. In no event and under no legal theory,
606
+ whether in tort (including negligence), contract, or otherwise,
607
+ unless required by applicable law (such as deliberate and grossly
608
+ negligent acts) or agreed to in writing, shall any Contributor be
609
+ liable to You for damages, including any direct, indirect, special,
610
+ incidental, or consequential damages of any character arising as a
611
+ result of this License or out of the use or inability to use the
612
+ Work (including but not limited to damages for loss of goodwill,
613
+ work stoppage, computer failure or malfunction, or any and all
614
+ other commercial damages or losses), even if such Contributor
615
+ has been advised of the possibility of such damages.
616
+
617
+ 9. Accepting Warranty or Additional Liability. While redistributing
618
+ the Work or Derivative Works thereof, You may choose to offer,
619
+ and charge a fee for, acceptance of support, warranty, indemnity,
620
+ or other liability obligations and/or rights consistent with this
621
+ License. However, in accepting such obligations, You may act only
622
+ on Your own behalf and on Your sole responsibility, not on behalf
623
+ of any other Contributor, and only if You agree to indemnify,
624
+ defend, and hold each Contributor harmless for any liability
625
+ incurred by, or claims asserted against, such Contributor by reason
626
+ of your accepting any such warranty or additional liability.
627
+
628
+ END OF TERMS AND CONDITIONS
629
+
630
+ APPENDIX: How to apply the Apache License to your work.
631
+
632
+ To apply the Apache License to your work, attach the following
633
+ boilerplate notice, with the fields enclosed by brackets "[]"
634
+ replaced with your own identifying information. (Don't include
635
+ the brackets!) The text should be enclosed in the appropriate
636
+ comment syntax for the file format. We also recommend that a
637
+ file or class name and description of purpose be included on the
638
+ same "printed page" as the copyright notice for easier
639
+ identification within third-party archives.
640
+
641
+ Copyright 2026 Convex, Inc.
642
+
643
+ Licensed under the Apache License, Version 2.0 (the "License");
644
+ you may not use this file except in compliance with the License.
645
+ You may obtain a copy of the License at
646
+
647
+ http://www.apache.org/licenses/LICENSE-2.0
648
+
649
+ Unless required by applicable law or agreed to in writing, software
650
+ distributed under the License is distributed on an "AS IS" BASIS,
651
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
652
+ See the License for the specific language governing permissions and
653
+ limitations under the License.
654
+
655
+ ========================================================================
656
+ eventsource-parser 3.1.1 (MIT)
657
+ ========================================================================
658
+
659
+ MIT License
660
+
661
+ Copyright (c) 2026 Espen Hovlandsdal <espen@hovlandsdal.com>
662
+
663
+ Permission is hereby granted, free of charge, to any person obtaining a copy
664
+ of this software and associated documentation files (the "Software"), to deal
665
+ in the Software without restriction, including without limitation the rights
666
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
667
+ copies of the Software, and to permit persons to whom the Software is
668
+ furnished to do so, subject to the following conditions:
669
+
670
+ The above copyright notice and this permission notice shall be included in all
671
+ copies or substantial portions of the Software.
672
+
673
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
674
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
675
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
676
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
677
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
678
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
679
+ SOFTWARE.
680
+
681
+ ========================================================================
682
+ graphql 17.0.2 (MIT)
683
+ ========================================================================
684
+
685
+ MIT License
686
+
687
+ Copyright (c) GraphQL Contributors
688
+
689
+ Permission is hereby granted, free of charge, to any person obtaining a copy
690
+ of this software and associated documentation files (the "Software"), to deal
691
+ in the Software without restriction, including without limitation the rights
692
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
693
+ copies of the Software, and to permit persons to whom the Software is
694
+ furnished to do so, subject to the following conditions:
695
+
696
+ The above copyright notice and this permission notice shall be included in all
697
+ copies or substantial portions of the Software.
698
+
699
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
700
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
701
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
702
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
703
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
704
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
705
+ SOFTWARE.
706
+
707
+ ========================================================================
708
+ pkce-challenge 5.0.1 (MIT)
709
+ ========================================================================
710
+
711
+ MIT License
712
+
713
+ Copyright (c) 2019
714
+
715
+ Permission is hereby granted, free of charge, to any person obtaining a copy
716
+ of this software and associated documentation files (the "Software"), to deal
717
+ in the Software without restriction, including without limitation the rights
718
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
719
+ copies of the Software, and to permit persons to whom the Software is
720
+ furnished to do so, subject to the following conditions:
721
+
722
+ The above copyright notice and this permission notice shall be included in all
723
+ copies or substantial portions of the Software.
724
+
725
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
726
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
727
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
728
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
729
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
730
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
731
+ SOFTWARE.
732
+
733
+ ========================================================================
734
+ yaml 2.9.1 (ISC)
735
+ ========================================================================
736
+
737
+ Copyright Eemeli Aro <eemeli@gmail.com>
738
+
739
+ Permission to use, copy, modify, and/or distribute this software for any purpose
740
+ with or without fee is hereby granted, provided that the above copyright notice
741
+ and this permission notice appear in all copies.
742
+
743
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
744
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
745
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
746
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
747
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
748
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
749
+ THIS SOFTWARE.
750
+
751
+ ========================================================================
752
+ zod 4.5.4 (MIT)
753
+ ========================================================================
754
+
755
+ MIT License
756
+
757
+ Copyright (c) 2025 Colin McDonnell
758
+
759
+ Permission is hereby granted, free of charge, to any person obtaining a copy
760
+ of this software and associated documentation files (the "Software"), to deal
761
+ in the Software without restriction, including without limitation the rights
762
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
763
+ copies of the Software, and to permit persons to whom the Software is
764
+ furnished to do so, subject to the following conditions:
765
+
766
+ The above copyright notice and this permission notice shall be included in all
767
+ copies or substantial portions of the Software.
768
+
769
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
770
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
771
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
772
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
773
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
774
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
775
+ SOFTWARE.
package/dist/sokie.mjs CHANGED
@@ -24031,7 +24031,10 @@ var require___dev__ = __commonJS((exports, module) => {
24031
24031
  module.exports = require_graphql2();
24032
24032
  });
24033
24033
  // package.json
24034
- var version = "0.1.0";
24034
+ var version = "0.1.1-staging.106";
24035
+ var sokie = {
24036
+ site: "https://staging.sokie.sh"
24037
+ };
24035
24038
 
24036
24039
  // src/command.ts
24037
24040
  import { parseArgs } from "node:util";
@@ -45511,7 +45514,7 @@ function forwardErrorData(errorData, error62) {
45511
45514
  return error62;
45512
45515
  }
45513
45516
  // src/platform.ts
45514
- var DEFAULT_SITE = "https://sokie.sh";
45517
+ var DEFAULT_SITE = sokie.site;
45515
45518
  function siteUrl(flag, env = process.env) {
45516
45519
  const raw = (flag ?? env.SOKIE_SITE ?? DEFAULT_SITE).trim().replace(/\/+$/, "");
45517
45520
  const url2 = new URL(raw);
@@ -45596,7 +45599,7 @@ async function maybeNotice(out, client, site, now = Date.now(), store = fileStor
45596
45599
 
45597
45600
  // src/site.ts
45598
45601
  var SITE_OPTION = { site: { type: "string" } };
45599
- var SITE_HELP = `--site <url> The Sokie site (default https://sokie.sh, or $SOKIE_SITE).`;
45602
+ var SITE_HELP = `--site <url> The Sokie site (default ${DEFAULT_SITE}, or $SOKIE_SITE).`;
45600
45603
  function resolveSite(flag) {
45601
45604
  try {
45602
45605
  return siteUrl(flag);
package/package.json CHANGED
@@ -1,19 +1,25 @@
1
1
  {
2
2
  "name": "@abyssinia-labs/sokie",
3
3
  "type": "module",
4
- "version": "0.1.0",
5
- "description": "The sokie command (alias sok): build, check and run MCP servers locally, and deploy them to Sokie.",
6
- "license": "UNLICENSED",
4
+ "version": "0.1.1-staging.106",
5
+ "description": "Turn an OpenAPI or Swagger spec into an MCP server, run it on your machine, and deploy it to Sokie. The sokie command (alias sok).",
6
+ "license": "Apache-2.0",
7
7
  "homepage": "https://sokie.sh/docs/cli",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/Abyssinia-Labs/sokie.git",
11
- "directory": "packages/cli"
8
+ "bugs": {
9
+ "email": "hello@sokie.sh"
10
+ },
11
+ "author": "Abyssinia Labs <hello@sokie.sh> (https://sokie.sh)",
12
+ "sokie": {
13
+ "site": "https://staging.sokie.sh"
12
14
  },
13
15
  "keywords": [
14
16
  "mcp",
17
+ "mcp-server",
15
18
  "model-context-protocol",
16
19
  "openapi",
20
+ "swagger",
21
+ "api",
22
+ "ai-agents",
17
23
  "cli",
18
24
  "sokie"
19
25
  ],
@@ -25,14 +31,15 @@
25
31
  "sok": "dist/sokie.mjs"
26
32
  },
27
33
  "files": [
28
- "dist"
34
+ "dist",
35
+ "NOTICE"
29
36
  ],
30
37
  "publishConfig": {
31
38
  "access": "public"
32
39
  },
33
40
  "scripts": {
34
- "//build": "One Node file plus the inspector's page in dist/, which is all the npm package ships (docs/ops/cli-release.md). Everything is bundled but Miniflare: it ships the workerd binary, so it stays the one dependency. Bun runs the build; Node runs the result (src/dev/worker.ts says why).",
35
- "build": "rm -rf dist && bun build src/main.ts --target node --outfile dist/sokie.mjs --external miniflare --banner '#!/usr/bin/env node' && mkdir -p dist/inspector && cp inspector/* ../tokens/tokens.css ../tokens/favicon.svg dist/inspector/",
41
+ "//build": "One Node file plus the inspector's page in dist/, which is all the npm package ships besides README, LICENSE and NOTICE (docs/ops/cli-release.md). Everything is bundled but Miniflare: it ships the workerd binary, so it stays the one dependency. src/notices-build.ts then writes the bundled packages' licenses to dist/THIRD-PARTY-NOTICES.txt. Bun runs the build; Node runs the result (src/dev/worker.ts says why).",
42
+ "build": "rm -rf dist && bun build src/main.ts --target node --outfile dist/sokie.mjs --external miniflare --banner '#!/usr/bin/env node' && mkdir -p dist/inspector && cp inspector/* ../tokens/tokens.css ../tokens/favicon.svg dist/inspector/ && bun src/notices-build.ts",
36
43
  "typecheck": "tsc --noEmit -p tsconfig.json",
37
44
  "test": "vitest run",
38
45
  "reference": "bun src/reference-build.ts",