@ait-co/devtools 0.1.95 → 0.1.97
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/cli.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/mock/index.d.ts +111 -175
- package/dist/mock/index.d.ts.map +1 -1
- package/dist/mock/index.js +37 -60
- package/dist/mock/index.js.map +1 -1
- package/dist/panel/index.js +51 -54
- package/dist/panel/index.js.map +1 -1
- package/dist/{qr-http-server-CkO-CLxK.js → qr-http-server-BpQD4s--.js} +3 -3
- package/dist/{qr-http-server-aYAg1bKl.js.map → qr-http-server-BpQD4s--.js.map} +1 -1
- package/dist/{qr-http-server-aYAg1bKl.js → qr-http-server-CtMI4lpz.js} +3 -3
- package/dist/{qr-http-server-CkO-CLxK.js.map → qr-http-server-CtMI4lpz.js.map} +1 -1
- package/dist/{qr-http-server-BfO-vZEB.cjs → qr-http-server-D0Z1RPyL.cjs} +3 -3
- package/dist/{qr-http-server-CqabMUSq.cjs.map → qr-http-server-D0Z1RPyL.cjs.map} +1 -1
- package/dist/{qr-http-server-CqabMUSq.cjs → qr-http-server-DOtrPEuO.cjs} +3 -3
- package/dist/{qr-http-server-BfO-vZEB.cjs.map → qr-http-server-DOtrPEuO.cjs.map} +1 -1
- package/dist/{tunnel-Bsv-Zg5_.cjs → tunnel-B_MKEH5C.cjs} +2 -2
- package/dist/{tunnel-Bsv-Zg5_.cjs.map → tunnel-B_MKEH5C.cjs.map} +1 -1
- package/dist/{tunnel-BxIGQK50.js → tunnel-a4f_xQ4X.js} +2 -2
- package/dist/{tunnel-BxIGQK50.js.map → tunnel-a4f_xQ4X.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/mcp/cli.js
CHANGED
|
@@ -3431,8 +3431,8 @@ async function startQrHttpServer(getDashboardState, options) {
|
|
|
3431
3431
|
}, refreshIntervalMs).unref();
|
|
3432
3432
|
return {
|
|
3433
3433
|
port,
|
|
3434
|
-
buildAttachPageUrl(
|
|
3435
|
-
return `http://127.0.0.1:${port}
|
|
3434
|
+
buildAttachPageUrl(_attachUrl) {
|
|
3435
|
+
return `http://127.0.0.1:${port}/`;
|
|
3436
3436
|
},
|
|
3437
3437
|
get inspectorStableUrl() {
|
|
3438
3438
|
return `http://127.0.0.1:${port}/inspector`;
|
|
@@ -4332,7 +4332,7 @@ function isLaunchFailureStderr(stderr) {
|
|
|
4332
4332
|
return LAUNCH_FAILURE_PATTERNS.some((p) => p.test(stderr));
|
|
4333
4333
|
}
|
|
4334
4334
|
/**
|
|
4335
|
-
* 로컬 HTTP 서버 URL(`http://127.0.0.1:<port
|
|
4335
|
+
* 로컬 HTTP 서버 루트 URL(`http://127.0.0.1:<port>/`)을 OS 기본 브라우저로 연다 (#595).
|
|
4336
4336
|
*
|
|
4337
4337
|
* platform별 fallback chain으로 시도하며, 모두 실패하면 1회 retry를 수행한다
|
|
4338
4338
|
* (ephemeral process launch 타이밍 문제 대응). retry까지 실패해도 `opened: false` +
|
|
@@ -4340,11 +4340,11 @@ function isLaunchFailureStderr(stderr) {
|
|
|
4340
4340
|
*
|
|
4341
4341
|
* SECRET-HANDLING:
|
|
4342
4342
|
* - tmp 파일을 만들지 않는다 (HTML/PNG는 HTTP 서버가 메모리에서 응답).
|
|
4343
|
-
* - httpUrl
|
|
4343
|
+
* - httpUrl은 `http://127.0.0.1:<port>/`(루트, 시크릿 없음). pngUrl은 127.0.0.1 로컬 전용.
|
|
4344
4344
|
* - stderr 캡처 결과에서 at= 코드 값을 redact한 후 stderrSummary에 포함.
|
|
4345
4345
|
* - attachUrl, deploymentId, TOTP 코드를 stdout/stderr/로그에 직접 출력 금지.
|
|
4346
4346
|
*
|
|
4347
|
-
* @param httpUrl - `http://127.0.0.1:<port
|
|
4347
|
+
* @param httpUrl - `http://127.0.0.1:<port>/` 루트 URL (시크릿 없음, #595).
|
|
4348
4348
|
* @param pngUrl - `http://127.0.0.1:<port>/qr.png?u=<encoded>` PNG fallback URL.
|
|
4349
4349
|
*/
|
|
4350
4350
|
async function openQrInBrowser(httpUrl, pngUrl) {
|
|
@@ -4844,7 +4844,7 @@ async function readMcpSdkVersion() {
|
|
|
4844
4844
|
* some test environments that skip the build step).
|
|
4845
4845
|
*/
|
|
4846
4846
|
function readDevtoolsVersion() {
|
|
4847
|
-
return "0.1.
|
|
4847
|
+
return "0.1.97";
|
|
4848
4848
|
}
|
|
4849
4849
|
/**
|
|
4850
4850
|
* Derives the next recommended action from a completed diagnostics snapshot.
|
|
@@ -5390,7 +5390,7 @@ function createDebugServer(deps) {
|
|
|
5390
5390
|
const collector = collectorDep ?? new InMemoryDiagnosticsCollector();
|
|
5391
5391
|
const server = new Server({
|
|
5392
5392
|
name: "ait-debug",
|
|
5393
|
-
version: "0.1.
|
|
5393
|
+
version: "0.1.97"
|
|
5394
5394
|
}, { capabilities: { tools: { listChanged: true } } });
|
|
5395
5395
|
server.setRequestHandler(ListToolsRequestSchema, () => {
|
|
5396
5396
|
const conn = router.active;
|
|
@@ -7489,7 +7489,7 @@ function createDevServer(deps = {}) {
|
|
|
7489
7489
|
const aitSource = deps.aitSource ?? new HttpAitSource({ stateEndpoint });
|
|
7490
7490
|
const server = new Server({
|
|
7491
7491
|
name: "ait-devtools",
|
|
7492
|
-
version: "0.1.
|
|
7492
|
+
version: "0.1.97"
|
|
7493
7493
|
}, { capabilities: { tools: {} } });
|
|
7494
7494
|
server.setRequestHandler(ListToolsRequestSchema, () => ({ tools: DEV_TOOL_DEFINITIONS.map((tool) => ({ ...tool })) }));
|
|
7495
7495
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|