@ait-co/devtools 0.1.106 → 0.1.107
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/dist/mcp/cli.js +8 -8
- package/dist/mcp/server.js +2 -2
- package/dist/mcp/server.js.map +1 -1
- package/dist/panel/index.js +1 -1
- package/dist/{relay-secret-store-I5q2Wvvv.cjs → relay-secret-store-CPBBlV3J.cjs} +2 -2
- package/dist/{relay-secret-store-I5q2Wvvv.cjs.map → relay-secret-store-CPBBlV3J.cjs.map} +1 -1
- package/dist/{relay-secret-store-Bns5rndt.js → relay-secret-store-DBwzoCXQ.js} +2 -2
- package/dist/{relay-secret-store-Bns5rndt.js.map → relay-secret-store-DBwzoCXQ.js.map} +1 -1
- package/dist/{relay-secret-store-B0DH-8Qb.js → relay-secret-store-DhzAnnj-.js} +2 -2
- package/dist/{relay-secret-store-B0DH-8Qb.js.map → relay-secret-store-DhzAnnj-.js.map} +1 -1
- package/dist/{relay-url-store-CvmnevcO.cjs → relay-url-store-C9QLhB2p.cjs} +2 -2
- package/dist/{relay-url-store-CvmnevcO.cjs.map → relay-url-store-C9QLhB2p.cjs.map} +1 -1
- package/dist/{relay-url-store-BPeUZsiY.js → relay-url-store-CwKT7i04.js} +2 -2
- package/dist/{relay-url-store-BPeUZsiY.js.map → relay-url-store-CwKT7i04.js.map} +1 -1
- package/dist/{relay-url-store-DJHZjk8o.js → relay-url-store-j16TRTiJ.js} +2 -2
- package/dist/{relay-url-store-DJHZjk8o.js.map → relay-url-store-j16TRTiJ.js.map} +1 -1
- package/dist/{totp-BmKSPb5d.js → totp-95OAa20j.js} +2 -2
- package/dist/totp-95OAa20j.js.map +1 -0
- package/dist/{totp-BwDZ6dUT.cjs → totp-BjtoQNfu.cjs} +2 -2
- package/dist/totp-BjtoQNfu.cjs.map +1 -0
- package/dist/totp-D1pulXLa.js +3 -0
- package/dist/{totp-DYdP9N3o.js → totp-DIbrZtI7.js} +2 -2
- package/dist/totp-DIbrZtI7.js.map +1 -0
- package/dist/{totp-CNw0w89F.cjs → totp-Df252ZdA.cjs} +2 -2
- package/dist/totp-Df252ZdA.cjs.map +1 -0
- package/dist/{totp-Xq3ACwkm.js → totp-WY6l0ysP.js} +2 -2
- package/dist/totp-WY6l0ysP.js.map +1 -0
- package/dist/{tunnel-BmDcTrnU.js → tunnel-BjJROkcj.js} +2 -2
- package/dist/{tunnel-BmDcTrnU.js.map → tunnel-BjJROkcj.js.map} +1 -1
- package/dist/{tunnel-RB5zB8IK.cjs → tunnel-d_G9AIFn.cjs} +2 -2
- package/dist/{tunnel-RB5zB8IK.cjs.map → tunnel-d_G9AIFn.cjs.map} +1 -1
- package/dist/unplugin/index.cjs +4 -4
- package/dist/unplugin/index.js +4 -4
- package/dist/unplugin/tunnel.cjs +1 -1
- package/dist/unplugin/tunnel.js +1 -1
- package/package.json +1 -1
- package/dist/totp-BcBNRoDD.js +0 -3
- package/dist/totp-BmKSPb5d.js.map +0 -1
- package/dist/totp-BwDZ6dUT.cjs.map +0 -1
- package/dist/totp-CNw0w89F.cjs.map +0 -1
- package/dist/totp-DYdP9N3o.js.map +0 -1
- package/dist/totp-Xq3ACwkm.js.map +0 -1
package/dist/mcp/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as generateTotp, n as assertRelayAuthConfigured, r as buildRelayVerifyAuth } from "../totp-
|
|
3
|
-
import { t as loadRelaySecretReadOnly } from "../relay-secret-store-
|
|
2
|
+
import { i as generateTotp, n as assertRelayAuthConfigured, r as buildRelayVerifyAuth } from "../totp-WY6l0ysP.js";
|
|
3
|
+
import { t as loadRelaySecretReadOnly } from "../relay-secret-store-DhzAnnj-.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { existsSync, mkdirSync, readFileSync, realpathSync, rmSync, writeFileSync } from "node:fs";
|
|
6
6
|
import { argv } from "node:process";
|
|
@@ -4855,7 +4855,7 @@ async function readMcpSdkVersion() {
|
|
|
4855
4855
|
* some test environments that skip the build step).
|
|
4856
4856
|
*/
|
|
4857
4857
|
function readDevtoolsVersion() {
|
|
4858
|
-
return "0.1.
|
|
4858
|
+
return "0.1.107";
|
|
4859
4859
|
}
|
|
4860
4860
|
/**
|
|
4861
4861
|
* Derives the next recommended action from a completed diagnostics snapshot.
|
|
@@ -5447,7 +5447,7 @@ function createDebugServer(deps) {
|
|
|
5447
5447
|
const collector = collectorDep ?? new InMemoryDiagnosticsCollector();
|
|
5448
5448
|
const server = new Server({
|
|
5449
5449
|
name: "ait-debug",
|
|
5450
|
-
version: "0.1.
|
|
5450
|
+
version: "0.1.107"
|
|
5451
5451
|
}, { capabilities: { tools: { listChanged: true } } });
|
|
5452
5452
|
server.setRequestHandler(ListToolsRequestSchema, () => {
|
|
5453
5453
|
const conn = router.active;
|
|
@@ -5535,7 +5535,7 @@ function createDebugServer(deps) {
|
|
|
5535
5535
|
const buildProjectRoot = typeof rawBuildProjectRoot === "string" ? rawBuildProjectRoot : void 0;
|
|
5536
5536
|
let tunnelHttpUrl = process.env.AIT_TUNNEL_BASE_URL?.trim() ?? "";
|
|
5537
5537
|
if (tunnelHttpUrl === "" && buildProjectRoot !== void 0) {
|
|
5538
|
-
const { readRelayUrls } = await import("../relay-url-store-
|
|
5538
|
+
const { readRelayUrls } = await import("../relay-url-store-CwKT7i04.js");
|
|
5539
5539
|
tunnelHttpUrl = (await readRelayUrls({ projectRoot: buildProjectRoot }))?.tunnelBaseUrl ?? "";
|
|
5540
5540
|
}
|
|
5541
5541
|
if (tunnelHttpUrl === "") return mcpError("build_attach_url(mobile): AIT_TUNNEL_BASE_URL이 설정되지 않았습니다. dev 서버가 tunnel:{cdp:true}로 기동 중이면 .ait_urls 파일이 자동 생성돼 있어야 합니다. 자동 발견이 되지 않을 경우 앱 HTTP 터널 URL을 AIT_TUNNEL_BASE_URL 환경변수로 직접 전달하세요.");
|
|
@@ -6289,7 +6289,7 @@ async function readRelayLocalUrl(env = process.env, projectRoot) {
|
|
|
6289
6289
|
const envValue = (env.AIT_RELAY_LOCAL_URL ?? "").trim();
|
|
6290
6290
|
if (envValue !== "") return envValue;
|
|
6291
6291
|
if (projectRoot !== void 0) try {
|
|
6292
|
-
const { readRelayUrls } = await import("../relay-url-store-
|
|
6292
|
+
const { readRelayUrls } = await import("../relay-url-store-CwKT7i04.js");
|
|
6293
6293
|
const stored = await readRelayUrls({ projectRoot });
|
|
6294
6294
|
if (stored?.relayLocalUrl) return stored.relayLocalUrl;
|
|
6295
6295
|
} catch {}
|
|
@@ -6343,7 +6343,7 @@ async function readMobileRelayBaseUrl(env = process.env, projectRoot) {
|
|
|
6343
6343
|
const envValue = typeof raw === "string" ? raw.trim() : "";
|
|
6344
6344
|
if (envValue !== "") return envValue;
|
|
6345
6345
|
if (projectRoot !== void 0) {
|
|
6346
|
-
const { readRelayUrls } = await import("../relay-url-store-
|
|
6346
|
+
const { readRelayUrls } = await import("../relay-url-store-CwKT7i04.js");
|
|
6347
6347
|
const stored = await readRelayUrls({ projectRoot });
|
|
6348
6348
|
if (stored?.relayBaseUrl !== void 0) return stored.relayBaseUrl;
|
|
6349
6349
|
}
|
|
@@ -7585,7 +7585,7 @@ function createDevServer(deps = {}) {
|
|
|
7585
7585
|
const aitSource = deps.aitSource ?? new HttpAitSource({ stateEndpoint });
|
|
7586
7586
|
const server = new Server({
|
|
7587
7587
|
name: "ait-devtools",
|
|
7588
|
-
version: "0.1.
|
|
7588
|
+
version: "0.1.107"
|
|
7589
7589
|
}, { capabilities: { tools: {} } });
|
|
7590
7590
|
server.setRequestHandler(ListToolsRequestSchema, () => ({ tools: DEV_TOOL_DEFINITIONS.map((tool) => ({ ...tool })) }));
|
|
7591
7591
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
package/dist/mcp/server.js
CHANGED
|
@@ -252,7 +252,7 @@ SIGNATURES.map((s) => s.name);
|
|
|
252
252
|
"[ait-debug] AIT_DEBUG_TOTP_SECRET이 필수입니다. 32자 이상 16진수(hex) 문자열을 설정하세요.",
|
|
253
253
|
"발급: openssl rand -hex 32",
|
|
254
254
|
"데몬은 start_debug의 projectRoot 인자로 받은 디렉토리에서 .ait_relay 파일을 읽어 이 시크릿을 채웁니다.",
|
|
255
|
-
"프로젝트에서 pnpm dev를 한 번 띄우면 unplugin이 .ait_relay를 자동
|
|
255
|
+
"프로젝트에서 pnpm dev:phone:cdp를 한 번 띄우면 unplugin이 .ait_relay를 자동 생성하니(tunnel.cdp 옵션 필요), projectRoot를 전달하세요.",
|
|
256
256
|
"자세히: https://docs.aitc.dev/guides/relay-auth-totp"
|
|
257
257
|
].join("\n");
|
|
258
258
|
new Set([
|
|
@@ -968,7 +968,7 @@ function createDevServer(deps = {}) {
|
|
|
968
968
|
const aitSource = deps.aitSource ?? new HttpAitSource({ stateEndpoint });
|
|
969
969
|
const server = new Server({
|
|
970
970
|
name: "ait-devtools",
|
|
971
|
-
version: "0.1.
|
|
971
|
+
version: "0.1.107"
|
|
972
972
|
}, { capabilities: { tools: {} } });
|
|
973
973
|
server.setRequestHandler(ListToolsRequestSchema, () => ({ tools: DEV_TOOL_DEFINITIONS.map((tool) => ({ ...tool })) }));
|
|
974
974
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|