@modootoday/datalab-extension-mcp 1.8.20 → 1.8.21
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/README.en.md
CHANGED
|
@@ -61,7 +61,7 @@ One command finds **every** AI app on your computer and connects them automatica
|
|
|
61
61
|
2. **Paste this command and press Enter.** The saved command names an exact bootstrap version. At startup and while idle, the connector checks the canonical release and promotes itself to the current secure, compatible version. Diagnostic environments can opt out with `--no-self-update`.
|
|
62
62
|
|
|
63
63
|
```
|
|
64
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
64
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 install
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
Lines of English scrolling by is normal. This only downloads and runs the connector — it touches nothing else.
|
|
@@ -145,10 +145,10 @@ Registration is once per browser. The connection itself lives only while the sid
|
|
|
145
145
|
Installing also places the bundled **writing skills**. An AI app reads the name and description of every installed skill on every start, so the more are installed the less room the conversation has. The default therefore places only the ones that work right away.
|
|
146
146
|
|
|
147
147
|
```
|
|
148
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
149
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
150
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
151
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
148
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 skills list
|
|
149
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 skills status
|
|
150
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 skills attach <name>
|
|
151
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 skills detach <name>
|
|
152
152
|
```
|
|
153
153
|
|
|
154
154
|
- `list` shows everything in this version, name and description.
|
|
@@ -167,10 +167,10 @@ The **workbench** is this computer, where the connector runs. If you use more th
|
|
|
167
167
|
Make the code in extension settings → **다른 AI 앱에 연결 (MCP)** → expand **[다른 브라우저 추가 (선택)]** (add another browser, optional) below box 3 → [등록 코드 만들기]. Or from the terminal.
|
|
168
168
|
|
|
169
169
|
```
|
|
170
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
171
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
172
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
173
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
170
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 browsers add "Work Chrome"
|
|
171
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 browsers list
|
|
172
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 browsers revoke <handle>
|
|
173
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 browsers repair
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
`add` **asks you to paste the install key** — the same value you used to
|
|
@@ -271,7 +271,7 @@ Start it again after a full quit and it picks the tools up. If they still aren't
|
|
|
271
271
|
- **When the connection disappears** — run the very command you used at the start once more; it safely re-registers. (Some AI apps clean up their settings file and drop the connection.)
|
|
272
272
|
|
|
273
273
|
```
|
|
274
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
274
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 install
|
|
275
275
|
```
|
|
276
276
|
|
|
277
277
|
- **`'npx' is not recognized...`** — Node.js isn't installed. The "No Node.js?" one-liner in Step 2 is the simplest fix.
|
|
@@ -301,7 +301,7 @@ Start it again after a full quit and it picks the tools up. If they still aren't
|
|
|
301
301
|
1. Run this in a terminal (it removes the entries registered in your AI apps).
|
|
302
302
|
|
|
303
303
|
```
|
|
304
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
304
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 uninstall
|
|
305
305
|
```
|
|
306
306
|
|
|
307
307
|
2. Turn **MCP 연결** off in the extension settings. The panel is the bridge, so with it off a leftover config line can look nothing up.
|
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ Claude 같은 AI 앱을 데이터랩툴즈에 연결해 주는 작은 무료 프
|
|
|
55
55
|
2. **아래 명령을 붙여넣고 Enter를 눌러요.** 저장되는 명령은 정확한 시작 버전을 적습니다. 커넥터는 시작할 때와 유휴 상태에서 정본 릴리스를 확인해 현재의 안전하고 호환되는 버전으로 승격합니다. 진단 환경에서는 `--no-self-update`로 승격을 끌 수 있어요.
|
|
56
56
|
|
|
57
57
|
```
|
|
58
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
58
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 install
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
영어 글자가 여러 줄 올라오는 건 정상이에요. 이 명령은 커넥터를 내려받아 실행할 뿐, 다른 건 건드리지 않아요.
|
|
@@ -133,10 +133,10 @@ Claude 같은 AI 앱을 데이터랩툴즈에 연결해 주는 작은 무료 프
|
|
|
133
133
|
설치할 때 **글쓰기 도움말(스킬)** 도 함께 놓입니다. AI 앱은 켜질 때마다 설치된 도움말의 이름과 설명을 전부 읽기 때문에, 많이 깔수록 대화에 쓸 자리가 줄어들어요. 그래서 기본은 **바로 쓸 수 있는 것만** 놓습니다.
|
|
134
134
|
|
|
135
135
|
```
|
|
136
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
137
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
138
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
139
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
136
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 skills list
|
|
137
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 skills status
|
|
138
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 skills attach <이름>
|
|
139
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 skills detach <이름>
|
|
140
140
|
```
|
|
141
141
|
|
|
142
142
|
- `list` 는 이 버전에 들어 있는 전부를 이름과 설명으로 보여 줘요.
|
|
@@ -155,10 +155,10 @@ npx -y @modootoday/datalab-extension-mcp@1.8.20 skills detach <이름>
|
|
|
155
155
|
확장 설정 → **다른 AI 앱에 연결 (MCP)** → 3번 아래의 **[다른 브라우저 추가 (선택)]** 를 펼쳐 [등록 코드 만들기]를 눌러도 되고, 터미널을 쓰셔도 돼요.
|
|
156
156
|
|
|
157
157
|
```
|
|
158
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
159
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
160
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
161
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
158
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 browsers add "회사 크롬"
|
|
159
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 browsers list
|
|
160
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 browsers revoke <handle>
|
|
161
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 browsers repair
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
`add` 를 실행하면 **설치 인증키를 붙여넣으라고 물어봐요** — 설치할 때와 같은 값이고, 설정 화면 1번의 `복사` 버튼으로 얻습니다. 그러면 브라우저 등록 코드가 **한 번만** 출력돼요. 커넥터는 그 코드를 저장하지 않고 지문만 남기므로 다시 보여 줄 수 없어요.
|
|
@@ -237,7 +237,7 @@ AI가 "그런 기능은 없다" 고 답하면, **"도구 목록을 확인해 보
|
|
|
237
237
|
- **연결이 사라졌을 때** — 처음 실행했던 그 명령을 한 번 더 실행하면 안전하게 다시 등록돼요. (일부 AI 앱이 설정 파일을 정리하며 연결을 지우기도 해요.)
|
|
238
238
|
|
|
239
239
|
```
|
|
240
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
240
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 install
|
|
241
241
|
```
|
|
242
242
|
|
|
243
243
|
- **`'npx'을(는) 내부 또는 외부 명령...`** — Node.js가 없는 거예요. 위 2단계의 "Node.js가 없다면" 한 줄 설치가 가장 간단해요.
|
|
@@ -267,7 +267,7 @@ AI가 "그런 기능은 없다" 고 답하면, **"도구 목록을 확인해 보
|
|
|
267
267
|
1. 터미널에서 아래 명령을 실행해요(AI 앱에 등록된 설정을 지워 줘요).
|
|
268
268
|
|
|
269
269
|
```
|
|
270
|
-
npx -y @modootoday/datalab-extension-mcp@1.8.
|
|
270
|
+
npx -y @modootoday/datalab-extension-mcp@1.8.21 uninstall
|
|
271
271
|
```
|
|
272
272
|
|
|
273
273
|
2. 확장 설정에서 **MCP 연결을 꺼요.** 패널이 브릿지라, 꺼 두면 어딘가 설정 줄이 남아 있어도 AI 앱이 아무것도 조회할 수 없어요.
|
|
@@ -1177,6 +1177,19 @@ var CONNECTOR_NAME = "datalab-extension-mcp-server";
|
|
|
1177
1177
|
var PROBE_TIMEOUT_MS = 2e3;
|
|
1178
1178
|
var RELEASE_ATTEMPTS = 20;
|
|
1179
1179
|
var RELEASE_INTERVAL_MS = 150;
|
|
1180
|
+
function olderThan(incumbent, installed) {
|
|
1181
|
+
const plain = /^\d+\.\d+\.\d+$/;
|
|
1182
|
+
if (incumbent === null || installed === void 0) return false;
|
|
1183
|
+
if (!plain.test(incumbent) || !plain.test(installed)) return false;
|
|
1184
|
+
const a = incumbent.split(".").map(Number);
|
|
1185
|
+
const b = installed.split(".").map(Number);
|
|
1186
|
+
for (let i = 0; i < 3; i += 1) {
|
|
1187
|
+
const x = a[i] ?? 0;
|
|
1188
|
+
const y = b[i] ?? 0;
|
|
1189
|
+
if (x !== y) return x < y;
|
|
1190
|
+
}
|
|
1191
|
+
return false;
|
|
1192
|
+
}
|
|
1180
1193
|
function url(port, path) {
|
|
1181
1194
|
return `http://${HOST}:${String(port)}${path}`;
|
|
1182
1195
|
}
|
|
@@ -1203,13 +1216,18 @@ async function post(fetchImpl, target, body) {
|
|
|
1203
1216
|
}
|
|
1204
1217
|
async function probePort(fetchImpl, port) {
|
|
1205
1218
|
const res = await get(fetchImpl, url(port, "/bridge/health"));
|
|
1206
|
-
if (res === null) return "free";
|
|
1207
|
-
if (!res.ok) return "foreign";
|
|
1219
|
+
if (res === null) return { state: "free", version: null };
|
|
1220
|
+
if (!res.ok) return { state: "foreign", version: null };
|
|
1208
1221
|
try {
|
|
1209
1222
|
const body = await res.json();
|
|
1210
|
-
|
|
1223
|
+
if (body.name !== CONNECTOR_NAME)
|
|
1224
|
+
return { state: "foreign", version: null };
|
|
1225
|
+
return {
|
|
1226
|
+
state: "ours",
|
|
1227
|
+
version: typeof body.version === "string" ? body.version : null
|
|
1228
|
+
};
|
|
1211
1229
|
} catch {
|
|
1212
|
-
return "foreign";
|
|
1230
|
+
return { state: "foreign", version: null };
|
|
1213
1231
|
}
|
|
1214
1232
|
}
|
|
1215
1233
|
function killCommand(platform, port) {
|
|
@@ -1242,18 +1260,20 @@ async function reclaimPort(io, token, deps = {}) {
|
|
|
1242
1260
|
const port = asked !== void 0 && Number.isInteger(asked) && asked > 0 ? asked : DEFAULT_PORT2;
|
|
1243
1261
|
const fetchImpl = deps.fetchImpl ?? io.fetch ?? globalThis.fetch;
|
|
1244
1262
|
const sleep = deps.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
|
|
1245
|
-
const
|
|
1246
|
-
if (state === "free") return { kind: "not-needed" };
|
|
1247
|
-
if (state === "foreign") return { kind: "foreign" };
|
|
1263
|
+
const probe = await probePort(fetchImpl, port);
|
|
1264
|
+
if (probe.state === "free") return { kind: "not-needed" };
|
|
1265
|
+
if (probe.state === "foreign") return { kind: "foreign" };
|
|
1248
1266
|
const authorised = await post(fetchImpl, url(port, "/mcp/authority"), {
|
|
1249
1267
|
token
|
|
1250
1268
|
});
|
|
1251
|
-
if (authorised?.status === 204
|
|
1269
|
+
if (authorised?.status === 204 && !olderThan(probe.version, deps.version)) {
|
|
1270
|
+
return { kind: "not-needed" };
|
|
1271
|
+
}
|
|
1252
1272
|
const stood = await post(fetchImpl, url(port, "/mcp/shutdown"), { token });
|
|
1253
1273
|
const gone = async () => {
|
|
1254
1274
|
for (let i = 0; i < RELEASE_ATTEMPTS; i += 1) {
|
|
1255
1275
|
await sleep(RELEASE_INTERVAL_MS);
|
|
1256
|
-
if (await probePort(fetchImpl, port) === "free") return true;
|
|
1276
|
+
if ((await probePort(fetchImpl, port)).state === "free") return true;
|
|
1257
1277
|
}
|
|
1258
1278
|
return false;
|
|
1259
1279
|
};
|
|
@@ -1947,11 +1967,10 @@ async function runInstall(opts, io) {
|
|
|
1947
1967
|
});
|
|
1948
1968
|
}
|
|
1949
1969
|
}
|
|
1950
|
-
const reclaimed = await reclaimPort(
|
|
1951
|
-
|
|
1952
|
-
entryOpts.
|
|
1953
|
-
|
|
1954
|
-
);
|
|
1970
|
+
const reclaimed = await reclaimPort(io, entryOpts.token, {
|
|
1971
|
+
version: entryOpts.version,
|
|
1972
|
+
...entryOpts.port === void 0 ? {} : { port: entryOpts.port }
|
|
1973
|
+
});
|
|
1955
1974
|
if (reclaimed.kind === "retired" || reclaimed.kind === "forced") {
|
|
1956
1975
|
io.out(" \uC608\uC804 \uC5F0\uACB0 \uD504\uB85C\uADF8\uB7A8\uC744 \uC815\uB9AC\uD588\uC5B4\uC694.");
|
|
1957
1976
|
} else if (reclaimed.kind === "foreign") {
|
package/dist/cli.js
CHANGED
|
@@ -17,7 +17,7 @@ function log(message) {
|
|
|
17
17
|
`);
|
|
18
18
|
}
|
|
19
19
|
async function runInstaller(sub, argv) {
|
|
20
|
-
const { createNodeIo, runInstall, runUninstall } = await import("./dist-
|
|
20
|
+
const { createNodeIo, runInstall, runUninstall } = await import("./dist-OJ5WOLYS.js");
|
|
21
21
|
const opts = { version: VERSION };
|
|
22
22
|
for (let i = 0; i < argv.length; i += 1) {
|
|
23
23
|
const flag = argv[i];
|
|
@@ -62,8 +62,8 @@ async function main() {
|
|
|
62
62
|
// Loaded lazily, like the installer: the adapter path is what an MCP host
|
|
63
63
|
// spawns and must not pay for a command only an operator types.
|
|
64
64
|
browsers: async (argv) => {
|
|
65
|
-
const { runBrowsers } = await import("./browsers-
|
|
66
|
-
const { createNodeIo } = await import("./dist-
|
|
65
|
+
const { runBrowsers } = await import("./browsers-JLTAY3ZC.js");
|
|
66
|
+
const { createNodeIo } = await import("./dist-OJ5WOLYS.js");
|
|
67
67
|
const io = createNodeIo();
|
|
68
68
|
const code = await runBrowsers(argv, {
|
|
69
69
|
env: process.env,
|
|
@@ -88,7 +88,7 @@ async function main() {
|
|
|
88
88
|
attachSkill,
|
|
89
89
|
detachSkill,
|
|
90
90
|
skillsPayloadRoot
|
|
91
|
-
} = await import("./dist-
|
|
91
|
+
} = await import("./dist-OJ5WOLYS.js");
|
|
92
92
|
const io = createNodeIo();
|
|
93
93
|
const root = skillsPayloadRoot();
|
|
94
94
|
const code = await runSkills(argv, {
|