@kineviz/gl-mcp 0.1.0 → 0.1.1
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 +21 -201
- package/NOTICE +1 -1
- package/README.md +1 -1
- package/dist/cli.js +25 -29
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,201 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright 2026 Kineviz, Inc.
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Kineviz, Inc.
|
|
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/NOTICE
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Copyright 2026 Kineviz, Inc.
|
|
3
3
|
|
|
4
4
|
This product includes software developed at Kineviz, Inc.
|
|
5
|
-
Licensed under the
|
|
5
|
+
Licensed under the MIT License; see LICENSE.
|
|
6
6
|
|
|
7
7
|
dist/cli.js is a single bundle. It includes code from the following
|
|
8
8
|
third-party packages, each under its own license:
|
package/README.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -5102,10 +5102,10 @@ var require_constants = __commonJS({
|
|
|
5102
5102
|
EMPTY_BUFFER: Buffer.alloc(0),
|
|
5103
5103
|
GUID: "258EAFA5-E914-47DA-95CA-C5AB0DC85B11",
|
|
5104
5104
|
hasBlob,
|
|
5105
|
-
kForOnEventAttribute: Symbol("kIsForOnEventAttribute"),
|
|
5106
|
-
kListener: Symbol("kListener"),
|
|
5107
|
-
kStatusCode: Symbol("status-code"),
|
|
5108
|
-
kWebSocket: Symbol("websocket"),
|
|
5105
|
+
kForOnEventAttribute: /* @__PURE__ */ Symbol("kIsForOnEventAttribute"),
|
|
5106
|
+
kListener: /* @__PURE__ */ Symbol("kListener"),
|
|
5107
|
+
kStatusCode: /* @__PURE__ */ Symbol("status-code"),
|
|
5108
|
+
kWebSocket: /* @__PURE__ */ Symbol("websocket"),
|
|
5109
5109
|
NOOP: () => {
|
|
5110
5110
|
}
|
|
5111
5111
|
};
|
|
@@ -5167,7 +5167,7 @@ var require_buffer_util = __commonJS({
|
|
|
5167
5167
|
var require_limiter = __commonJS({
|
|
5168
5168
|
"node_modules/ws/lib/limiter.js"(exports, module) {
|
|
5169
5169
|
"use strict";
|
|
5170
|
-
var kDone = Symbol("kDone"), kRun = Symbol("kRun"), Limiter = class {
|
|
5170
|
+
var kDone = /* @__PURE__ */ Symbol("kDone"), kRun = /* @__PURE__ */ Symbol("kRun"), Limiter = class {
|
|
5171
5171
|
/**
|
|
5172
5172
|
* Creates a new `Limiter`.
|
|
5173
5173
|
*
|
|
@@ -5208,7 +5208,7 @@ var require_limiter = __commonJS({
|
|
|
5208
5208
|
var require_permessage_deflate = __commonJS({
|
|
5209
5209
|
"node_modules/ws/lib/permessage-deflate.js"(exports, module) {
|
|
5210
5210
|
"use strict";
|
|
5211
|
-
var zlib = __require("zlib"), bufferUtil = require_buffer_util(), Limiter = require_limiter(), { kStatusCode } = require_constants(), FastBuffer = Buffer[Symbol.species], TRAILER = Buffer.from([0, 0, 255, 255]), kPerMessageDeflate = Symbol("permessage-deflate"), kTotalLength = Symbol("total-length"), kCallback = Symbol("callback"), kBuffers = Symbol("buffers"), kError = Symbol("error"), zlibLimiter, PerMessageDeflate2 = class {
|
|
5211
|
+
var zlib = __require("zlib"), bufferUtil = require_buffer_util(), Limiter = require_limiter(), { kStatusCode } = require_constants(), FastBuffer = Buffer[Symbol.species], TRAILER = Buffer.from([0, 0, 255, 255]), kPerMessageDeflate = /* @__PURE__ */ Symbol("permessage-deflate"), kTotalLength = /* @__PURE__ */ Symbol("total-length"), kCallback = /* @__PURE__ */ Symbol("callback"), kBuffers = /* @__PURE__ */ Symbol("buffers"), kError = /* @__PURE__ */ Symbol("error"), zlibLimiter, PerMessageDeflate2 = class {
|
|
5212
5212
|
/**
|
|
5213
5213
|
* Creates a PerMessageDeflate instance.
|
|
5214
5214
|
*
|
|
@@ -5612,7 +5612,7 @@ var require_validation2 = __commonJS({
|
|
|
5612
5612
|
function _isValidUTF8(buf) {
|
|
5613
5613
|
let len = buf.length, i = 0;
|
|
5614
5614
|
for (; i < len; )
|
|
5615
|
-
if (
|
|
5615
|
+
if ((buf[i] & 128) === 0)
|
|
5616
5616
|
i++;
|
|
5617
5617
|
else if ((buf[i] & 224) === 192) {
|
|
5618
5618
|
if (i + 1 === len || (buf[i + 1] & 192) !== 128 || (buf[i] & 254) === 192)
|
|
@@ -5770,7 +5770,7 @@ var require_receiver = __commonJS({
|
|
|
5770
5770
|
return;
|
|
5771
5771
|
}
|
|
5772
5772
|
let buf = this.consume(2);
|
|
5773
|
-
if (buf[0] & 48) {
|
|
5773
|
+
if ((buf[0] & 48) !== 0) {
|
|
5774
5774
|
let error2 = this.createError(
|
|
5775
5775
|
RangeError,
|
|
5776
5776
|
"RSV2 and RSV3 must be clear",
|
|
@@ -5983,7 +5983,7 @@ var require_receiver = __commonJS({
|
|
|
5983
5983
|
this._loop = !1;
|
|
5984
5984
|
return;
|
|
5985
5985
|
}
|
|
5986
|
-
data = this.consume(this._payloadLength), this._masked && this._mask[0] | this._mask[1] | this._mask[2] | this._mask[3] && unmask(data, this._mask);
|
|
5986
|
+
data = this.consume(this._payloadLength), this._masked && (this._mask[0] | this._mask[1] | this._mask[2] | this._mask[3]) !== 0 && unmask(data, this._mask);
|
|
5987
5987
|
}
|
|
5988
5988
|
if (this._opcode > 7) {
|
|
5989
5989
|
this.controlMessage(data, cb);
|
|
@@ -6134,7 +6134,7 @@ var require_receiver = __commonJS({
|
|
|
6134
6134
|
var require_sender = __commonJS({
|
|
6135
6135
|
"node_modules/ws/lib/sender.js"(exports, module) {
|
|
6136
6136
|
"use strict";
|
|
6137
|
-
var { Duplex } = __require("stream"), { randomFillSync } = __require("crypto"), PerMessageDeflate2 = require_permessage_deflate(), { EMPTY_BUFFER, kWebSocket, NOOP } = require_constants(), { isBlob, isValidStatusCode } = require_validation2(), { mask: applyMask, toBuffer } = require_buffer_util(), kByteLength = Symbol("kByteLength"), maskBuffer = Buffer.alloc(4), RANDOM_POOL_SIZE = 8 * 1024, randomPool, randomPoolPointer = RANDOM_POOL_SIZE, DEFAULT = 0, DEFLATING = 1, GET_BLOB_DATA = 2, Sender2 = class _Sender {
|
|
6137
|
+
var { Duplex } = __require("stream"), { randomFillSync } = __require("crypto"), PerMessageDeflate2 = require_permessage_deflate(), { EMPTY_BUFFER, kWebSocket, NOOP } = require_constants(), { isBlob, isValidStatusCode } = require_validation2(), { mask: applyMask, toBuffer } = require_buffer_util(), kByteLength = /* @__PURE__ */ Symbol("kByteLength"), maskBuffer = Buffer.alloc(4), RANDOM_POOL_SIZE = 8 * 1024, randomPool, randomPoolPointer = RANDOM_POOL_SIZE, DEFAULT = 0, DEFLATING = 1, GET_BLOB_DATA = 2, Sender2 = class _Sender {
|
|
6138
6138
|
/**
|
|
6139
6139
|
* Creates a Sender instance.
|
|
6140
6140
|
*
|
|
@@ -6421,7 +6421,7 @@ var require_sender = __commonJS({
|
|
|
6421
6421
|
var require_event_target = __commonJS({
|
|
6422
6422
|
"node_modules/ws/lib/event-target.js"(exports, module) {
|
|
6423
6423
|
"use strict";
|
|
6424
|
-
var { kForOnEventAttribute, kListener } = require_constants(), kCode = Symbol("kCode"), kData = Symbol("kData"), kError = Symbol("kError"), kMessage = Symbol("kMessage"), kReason = Symbol("kReason"), kTarget = Symbol("kTarget"), kType = Symbol("kType"), kWasClean = Symbol("kWasClean"), Event = class {
|
|
6424
|
+
var { kForOnEventAttribute, kListener } = require_constants(), kCode = /* @__PURE__ */ Symbol("kCode"), kData = /* @__PURE__ */ Symbol("kData"), kError = /* @__PURE__ */ Symbol("kError"), kMessage = /* @__PURE__ */ Symbol("kMessage"), kReason = /* @__PURE__ */ Symbol("kReason"), kTarget = /* @__PURE__ */ Symbol("kTarget"), kType = /* @__PURE__ */ Symbol("kType"), kWasClean = /* @__PURE__ */ Symbol("kWasClean"), Event = class {
|
|
6425
6425
|
/**
|
|
6426
6426
|
* Create a new `Event`.
|
|
6427
6427
|
*
|
|
@@ -6713,7 +6713,7 @@ var require_websocket = __commonJS({
|
|
|
6713
6713
|
NOOP
|
|
6714
6714
|
} = require_constants(), {
|
|
6715
6715
|
EventTarget: { addEventListener, removeEventListener }
|
|
6716
|
-
} = require_event_target(), { format, parse: parse3 } = require_extension(), { toBuffer } = require_buffer_util(), kAborted = Symbol("kAborted"), protocolVersions = [8, 13], readyStates = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], subprotocolRegex = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/, WebSocket2 = class _WebSocket extends EventEmitter {
|
|
6716
|
+
} = require_event_target(), { format, parse: parse3 } = require_extension(), { toBuffer } = require_buffer_util(), kAborted = /* @__PURE__ */ Symbol("kAborted"), protocolVersions = [8, 13], readyStates = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], subprotocolRegex = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/, WebSocket2 = class _WebSocket extends EventEmitter {
|
|
6717
6717
|
/**
|
|
6718
6718
|
* Create a new `WebSocket`.
|
|
6719
6719
|
*
|
|
@@ -7730,7 +7730,7 @@ function $constructor(name, initializer3, params) {
|
|
|
7730
7730
|
value: (inst) => params?.Parent && inst instanceof params.Parent ? !0 : inst?._zod?.traits?.has(name)
|
|
7731
7731
|
}), Object.defineProperty(_, "name", { value: name }), _;
|
|
7732
7732
|
}
|
|
7733
|
-
var $
|
|
7733
|
+
var $ZodAsyncError = class extends Error {
|
|
7734
7734
|
constructor() {
|
|
7735
7735
|
super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
|
|
7736
7736
|
}
|
|
@@ -9764,7 +9764,8 @@ function en_default() {
|
|
|
9764
9764
|
}
|
|
9765
9765
|
|
|
9766
9766
|
// node_modules/@modelcontextprotocol/sdk/node_modules/zod/v4/core/registries.js
|
|
9767
|
-
var _a2
|
|
9767
|
+
var _a2;
|
|
9768
|
+
var $ZodRegistry = class {
|
|
9768
9769
|
constructor() {
|
|
9769
9770
|
this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
|
|
9770
9771
|
}
|
|
@@ -12851,9 +12852,6 @@ function isTerminal(status) {
|
|
|
12851
12852
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
12852
12853
|
}
|
|
12853
12854
|
|
|
12854
|
-
// node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
12855
|
-
var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
12856
|
-
|
|
12857
12855
|
// node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
12858
12856
|
var ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
12859
12857
|
|
|
@@ -17184,14 +17182,14 @@ var late = {
|
|
|
17184
17182
|
var instanceOfType = (cls, params = {
|
|
17185
17183
|
message: `Input not instance of ${cls.name}`
|
|
17186
17184
|
}) => custom2((data) => data instanceof cls, params), stringType = ZodString2.create, numberType = ZodNumber2.create, nanType = ZodNaN.create, bigIntType = ZodBigInt.create, booleanType = ZodBoolean2.create, dateType = ZodDate.create, symbolType = ZodSymbol.create, undefinedType = ZodUndefined.create, nullType = ZodNull2.create, anyType = ZodAny.create, unknownType = ZodUnknown2.create, neverType = ZodNever2.create, voidType = ZodVoid.create, arrayType = ZodArray2.create, objectType = ZodObject2.create, strictObjectType = ZodObject2.strictCreate, unionType = ZodUnion2.create, discriminatedUnionType = ZodDiscriminatedUnion2.create, intersectionType = ZodIntersection2.create, tupleType = ZodTuple.create, recordType = ZodRecord2.create, mapType = ZodMap.create, setType = ZodSet.create, functionType = ZodFunction.create, lazyType = ZodLazy.create, literalType = ZodLiteral2.create, enumType = ZodEnum2.create, nativeEnumType = ZodNativeEnum.create, promiseType = ZodPromise.create, effectsType = ZodEffects.create, optionalType = ZodOptional2.create, nullableType = ZodNullable2.create, preprocessType = ZodEffects.createWithPreprocess, pipelineType = ZodPipeline.create, ostring = () => stringType().optional(), onumber = () => numberType().optional(), oboolean = () => booleanType().optional(), coerce = {
|
|
17187
|
-
string: (arg) => ZodString2.create({ ...arg, coerce: !0 }),
|
|
17188
|
-
number: (arg) => ZodNumber2.create({ ...arg, coerce: !0 }),
|
|
17189
|
-
boolean: (arg) => ZodBoolean2.create({
|
|
17185
|
+
string: ((arg) => ZodString2.create({ ...arg, coerce: !0 })),
|
|
17186
|
+
number: ((arg) => ZodNumber2.create({ ...arg, coerce: !0 })),
|
|
17187
|
+
boolean: ((arg) => ZodBoolean2.create({
|
|
17190
17188
|
...arg,
|
|
17191
17189
|
coerce: !0
|
|
17192
|
-
}),
|
|
17193
|
-
bigint: (arg) => ZodBigInt.create({ ...arg, coerce: !0 }),
|
|
17194
|
-
date: (arg) => ZodDate.create({ ...arg, coerce: !0 })
|
|
17190
|
+
})),
|
|
17191
|
+
bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: !0 })),
|
|
17192
|
+
date: ((arg) => ZodDate.create({ ...arg, coerce: !0 }))
|
|
17195
17193
|
}, NEVER = INVALID, ScreenshotDeliverySchema = external_exports.object({
|
|
17196
17194
|
encoding: external_exports.literal("base64"),
|
|
17197
17195
|
mime: external_exports.string().default("image/png"),
|
|
@@ -18802,7 +18800,7 @@ var tellStory = {
|
|
|
18802
18800
|
}
|
|
18803
18801
|
}, ArgsSchema55 = external_exports.object({
|
|
18804
18802
|
mode: external_exports.enum(["planar", "spherical"]).optional().default("planar"),
|
|
18805
|
-
provider: external_exports.string().optional().default("
|
|
18803
|
+
provider: external_exports.string().optional().default("esriDarkGray"),
|
|
18806
18804
|
providerConfig: external_exports.record(external_exports.string()).optional(),
|
|
18807
18805
|
globeRadius: external_exports.number().positive().optional(),
|
|
18808
18806
|
mapSize: external_exports.number().positive().optional(),
|
|
@@ -18812,10 +18810,10 @@ var tellStory = {
|
|
|
18812
18810
|
autoFit: external_exports.boolean().optional().default(!0)
|
|
18813
18811
|
}).strict(), enableMap = {
|
|
18814
18812
|
name: "enableMap",
|
|
18815
|
-
description: "Open a base map tile layer at runtime. mode: planar (flat, default) | spherical (globe). provider: tile provider key, default
|
|
18813
|
+
description: "Open a base map tile layer at runtime. mode: planar (flat, default) | spherical (globe). provider: tile provider key, default esriDarkGray. autoFit: fit viewport to all nodes after enabling (default true). If map is already open with the same provider, this is a no-op.",
|
|
18816
18814
|
argsSchema: ArgsSchema55,
|
|
18817
18815
|
async execute(args, ctx) {
|
|
18818
|
-
let t0 = performance.now(), provider = args.provider ?? "
|
|
18816
|
+
let t0 = performance.now(), provider = args.provider ?? "esriDarkGray";
|
|
18819
18817
|
try {
|
|
18820
18818
|
return ctx.api.map.isEnabled() && ctx.api.map.getActiveProvider() === provider ? {
|
|
18821
18819
|
ok: !0,
|
|
@@ -19650,9 +19648,6 @@ function parseUnionDef2(def, refs) {
|
|
|
19650
19648
|
case "object":
|
|
19651
19649
|
if (x._def.value === null)
|
|
19652
19650
|
return [...acc, "null"];
|
|
19653
|
-
case "symbol":
|
|
19654
|
-
case "undefined":
|
|
19655
|
-
case "function":
|
|
19656
19651
|
default:
|
|
19657
19652
|
return acc;
|
|
19658
19653
|
}
|
|
@@ -20032,6 +20027,7 @@ var DEFAULT_PORT = Number(process.env.GL_BRIDGE_WS_PORT ?? 8765), VERB_TIMEOUT_M
|
|
|
20032
20027
|
this.port = port2;
|
|
20033
20028
|
this.name = "PortInUseError";
|
|
20034
20029
|
}
|
|
20030
|
+
port;
|
|
20035
20031
|
code = "EADDRINUSE";
|
|
20036
20032
|
};
|
|
20037
20033
|
async function startWebSocketRouter(port2 = DEFAULT_PORT) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kineviz/gl-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP server that lets an AI agent drive a live @kineviz/gl graph canvas: 60 typed verbs to read, analyse, style and lay out the graph.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": { "gl-mcp": "dist/cli.js" },
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"engines": { "node": ">=20" },
|
|
9
9
|
"keywords": ["mcp", "model-context-protocol", "graph", "visualization", "agent", "kineviz"],
|
|
10
10
|
"homepage": "https://gl.kineviz.com",
|
|
11
|
-
"license": "
|
|
11
|
+
"license": "MIT"
|
|
12
12
|
}
|