@ait-co/devtools 0.1.59 → 0.1.60
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 +9 -7
- package/dist/mcp/cli.js.map +1 -1
- package/dist/mcp/server.js +5 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/panel/index.js +4 -6
- package/dist/panel/index.js.map +1 -1
- package/dist/{qr-http-server-CQZnEAcl.cjs → qr-http-server-Byk0Yjk_.cjs} +3 -5
- package/dist/qr-http-server-Byk0Yjk_.cjs.map +1 -0
- package/dist/{qr-http-server-GwRt-B9_.cjs → qr-http-server-D_Aj5Vq6.cjs} +3 -5
- package/dist/qr-http-server-D_Aj5Vq6.cjs.map +1 -0
- package/dist/{qr-http-server-Bk-9AO9Y.js → qr-http-server-N4mX8GaC.js} +3 -5
- package/dist/qr-http-server-N4mX8GaC.js.map +1 -0
- package/dist/{qr-http-server-C536UmTm.js → qr-http-server-kYvmlXlg.js} +3 -5
- package/dist/qr-http-server-kYvmlXlg.js.map +1 -0
- package/dist/{tunnel-CAaBFOro.cjs → tunnel-GieyWa22.cjs} +2 -2
- package/dist/{tunnel-CAaBFOro.cjs.map → tunnel-GieyWa22.cjs.map} +1 -1
- package/dist/{tunnel-COMs-wZU.js → tunnel-JuZ5_Pci.js} +2 -2
- package/dist/{tunnel-COMs-wZU.js.map → tunnel-JuZ5_Pci.js.map} +1 -1
- package/dist/unplugin/index.cjs +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/unplugin/tunnel.cjs +1 -1
- package/dist/unplugin/tunnel.js +1 -1
- package/package.json +1 -1
- package/dist/qr-http-server-Bk-9AO9Y.js.map +0 -1
- package/dist/qr-http-server-C536UmTm.js.map +0 -1
- package/dist/qr-http-server-CQZnEAcl.cjs.map +0 -1
- package/dist/qr-http-server-GwRt-B9_.cjs.map +0 -1
package/dist/mcp/cli.js
CHANGED
|
@@ -1837,9 +1837,8 @@ const en = {
|
|
|
1837
1837
|
"attach.faq.totp": "<strong>TOTP gate Layer C is inactive</strong> — check that <code>AIT_DEBUG_TOTP_SECRET</code> is set on the relay server",
|
|
1838
1838
|
"attach.url.section": "URL (fallback)",
|
|
1839
1839
|
"launcher.title": "AITC DevTools Launcher",
|
|
1840
|
-
"launcher.description": "
|
|
1840
|
+
"launcher.description": "Scan the terminal QR code or paste the tunnel URL.",
|
|
1841
1841
|
"launcher.installCta": "Install launcher to your phone",
|
|
1842
|
-
"launcher.openOnce": "Open this once without installing",
|
|
1843
1842
|
"launcher.urlPlaceholder": "https://example.trycloudflare.com",
|
|
1844
1843
|
"launcher.openBtn": "Open",
|
|
1845
1844
|
"launcher.scanBtn": "Scan QR with camera",
|
|
@@ -2058,9 +2057,8 @@ const tables = {
|
|
|
2058
2057
|
"attach.faq.totp": "<strong>TOTP gate Layer C가 비활성인 경우</strong> — relay 서버에 <code>AIT_DEBUG_TOTP_SECRET</code>이 설정돼 있는지 확인",
|
|
2059
2058
|
"attach.url.section": "URL (fallback)",
|
|
2060
2059
|
"launcher.title": "AITC DevTools Launcher",
|
|
2061
|
-
"launcher.description": "
|
|
2060
|
+
"launcher.description": "터미널 QR을 스캔하거나 URL을 입력하세요.",
|
|
2062
2061
|
"launcher.installCta": "폰에 런처 설치하기",
|
|
2063
|
-
"launcher.openOnce": "설치 없이 한 번만 열기",
|
|
2064
2062
|
"launcher.urlPlaceholder": "https://example.trycloudflare.com",
|
|
2065
2063
|
"launcher.openBtn": "Open",
|
|
2066
2064
|
"launcher.scanBtn": "QR 카메라로 스캔",
|
|
@@ -2926,6 +2924,10 @@ const DEBUG_TOOL_DEFINITIONS = [
|
|
|
2926
2924
|
open_in_browser: {
|
|
2927
2925
|
type: "boolean",
|
|
2928
2926
|
description: "If true (default), render the QR as a PNG and open it in the OS default browser. Only works when the MCP server is running on a local GUI machine — headless or remote container environments should set this to false to use the text QR fallback."
|
|
2927
|
+
},
|
|
2928
|
+
projectRoot: {
|
|
2929
|
+
type: "string",
|
|
2930
|
+
description: "Absolute path to the mini-app project root (the directory containing its package.json and .ait_urls). When AIT_TUNNEL_BASE_URL is unset (env 2 / relay-mobile only), the daemon reads the app tunnel URL from <projectRoot>/.ait_urls written by the dev server (tunnel:{cdp:true}). Pass this because the daemon's own cwd is fixed at launch. Omit when AIT_TUNNEL_BASE_URL is set explicitly."
|
|
2929
2931
|
}
|
|
2930
2932
|
},
|
|
2931
2933
|
required: []
|
|
@@ -3909,7 +3911,7 @@ async function readMcpSdkVersion() {
|
|
|
3909
3911
|
* some test environments that skip the build step).
|
|
3910
3912
|
*/
|
|
3911
3913
|
function readDevtoolsVersion() {
|
|
3912
|
-
return "0.1.
|
|
3914
|
+
return "0.1.60";
|
|
3913
3915
|
}
|
|
3914
3916
|
/**
|
|
3915
3917
|
* Derives the next recommended action from a completed diagnostics snapshot.
|
|
@@ -4397,7 +4399,7 @@ function createDebugServer(deps) {
|
|
|
4397
4399
|
const collector = collectorDep ?? new InMemoryDiagnosticsCollector();
|
|
4398
4400
|
const server = new Server({
|
|
4399
4401
|
name: "ait-debug",
|
|
4400
|
-
version: "0.1.
|
|
4402
|
+
version: "0.1.60"
|
|
4401
4403
|
}, { capabilities: { tools: { listChanged: true } } });
|
|
4402
4404
|
server.setRequestHandler(ListToolsRequestSchema, () => {
|
|
4403
4405
|
const conn = router.active;
|
|
@@ -6215,7 +6217,7 @@ function createDevServer(deps = {}) {
|
|
|
6215
6217
|
const aitSource = deps.aitSource ?? new HttpAitSource({ stateEndpoint });
|
|
6216
6218
|
const server = new Server({
|
|
6217
6219
|
name: "ait-devtools",
|
|
6218
|
-
version: "0.1.
|
|
6220
|
+
version: "0.1.60"
|
|
6219
6221
|
}, { capabilities: { tools: {} } });
|
|
6220
6222
|
server.setRequestHandler(ListToolsRequestSchema, () => ({ tools: DEV_TOOL_DEFINITIONS.map((tool) => ({ ...tool })) }));
|
|
6221
6223
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|