@ait-co/devtools 0.1.63 → 0.1.64
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 +19 -3
- package/dist/mcp/cli.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/panel/index.js +2 -2
- package/dist/{tunnel-EVTPTwlb.js → tunnel-CIc0oSit.js} +12 -2
- package/dist/{tunnel-EVTPTwlb.js.map → tunnel-CIc0oSit.js.map} +1 -1
- package/dist/{tunnel-g6assoEq.cjs → tunnel-H7VujZz5.cjs} +12 -2
- package/dist/{tunnel-g6assoEq.cjs.map → tunnel-H7VujZz5.cjs.map} +1 -1
- package/dist/unplugin/index.cjs +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/unplugin/tunnel.cjs +11 -1
- package/dist/unplugin/tunnel.cjs.map +1 -1
- package/dist/unplugin/tunnel.d.cts.map +1 -1
- package/dist/unplugin/tunnel.d.ts.map +1 -1
- package/dist/unplugin/tunnel.js +11 -1
- package/dist/unplugin/tunnel.js.map +1 -1
- package/package.json +1 -1
package/dist/mcp/cli.js
CHANGED
|
@@ -3938,7 +3938,7 @@ async function readMcpSdkVersion() {
|
|
|
3938
3938
|
* some test environments that skip the build step).
|
|
3939
3939
|
*/
|
|
3940
3940
|
function readDevtoolsVersion() {
|
|
3941
|
-
return "0.1.
|
|
3941
|
+
return "0.1.64";
|
|
3942
3942
|
}
|
|
3943
3943
|
/**
|
|
3944
3944
|
* Derives the next recommended action from a completed diagnostics snapshot.
|
|
@@ -4426,7 +4426,7 @@ function createDebugServer(deps) {
|
|
|
4426
4426
|
const collector = collectorDep ?? new InMemoryDiagnosticsCollector();
|
|
4427
4427
|
const server = new Server({
|
|
4428
4428
|
name: "ait-debug",
|
|
4429
|
-
version: "0.1.
|
|
4429
|
+
version: "0.1.64"
|
|
4430
4430
|
}, { capabilities: { tools: { listChanged: true } } });
|
|
4431
4431
|
server.setRequestHandler(ListToolsRequestSchema, () => {
|
|
4432
4432
|
const conn = router.active;
|
|
@@ -5633,6 +5633,12 @@ async function runLocalDebugServer(options = {}) {
|
|
|
5633
5633
|
} catch (err) {
|
|
5634
5634
|
logWarn("server.start", { msg: `QR HTTP 서버 시작 실패 (text QR fallback 사용): ${err instanceof Error ? err.message : String(err)}` });
|
|
5635
5635
|
}
|
|
5636
|
+
const TOTP_REFRESH_INTERVAL_MS = 2e4;
|
|
5637
|
+
let totpRefreshHandle = null;
|
|
5638
|
+
totpRefreshHandle = setInterval(() => {
|
|
5639
|
+
if (lastAttachParts !== null) qrServer?.notifyStateChange();
|
|
5640
|
+
}, TOTP_REFRESH_INTERVAL_MS);
|
|
5641
|
+
totpRefreshHandle.unref();
|
|
5636
5642
|
const server = createDebugServer({
|
|
5637
5643
|
connection: router.active,
|
|
5638
5644
|
router,
|
|
@@ -5655,6 +5661,7 @@ async function runLocalDebugServer(options = {}) {
|
|
|
5655
5661
|
if (closed) return;
|
|
5656
5662
|
closed = true;
|
|
5657
5663
|
parentWatcher?.stop();
|
|
5664
|
+
if (totpRefreshHandle) clearInterval(totpRefreshHandle);
|
|
5658
5665
|
router.stopWatcher();
|
|
5659
5666
|
for (const family of router.bootedFamilies()) family.stop();
|
|
5660
5667
|
server.close();
|
|
@@ -5668,6 +5675,7 @@ async function runLocalDebugServer(options = {}) {
|
|
|
5668
5675
|
if (!closed) {
|
|
5669
5676
|
closed = true;
|
|
5670
5677
|
parentWatcher?.stop();
|
|
5678
|
+
if (totpRefreshHandle) clearInterval(totpRefreshHandle);
|
|
5671
5679
|
router.stopWatcher();
|
|
5672
5680
|
for (const family of router.bootedFamilies()) family.stop();
|
|
5673
5681
|
lockHandle.release();
|
|
@@ -5773,6 +5781,12 @@ async function runMobileDebugServer(options = {}) {
|
|
|
5773
5781
|
} catch (err) {
|
|
5774
5782
|
logWarn("server.start", { msg: `QR HTTP 서버 시작 실패 (text QR fallback 사용): ${err instanceof Error ? err.message : String(err)}` });
|
|
5775
5783
|
}
|
|
5784
|
+
const TOTP_REFRESH_INTERVAL_MS = 2e4;
|
|
5785
|
+
let totpRefreshHandle = null;
|
|
5786
|
+
totpRefreshHandle = setInterval(() => {
|
|
5787
|
+
if (lastAttachParts !== null) qrServer?.notifyStateChange();
|
|
5788
|
+
}, TOTP_REFRESH_INTERVAL_MS);
|
|
5789
|
+
totpRefreshHandle.unref();
|
|
5776
5790
|
const server = createDebugServer({
|
|
5777
5791
|
connection: router.active,
|
|
5778
5792
|
router,
|
|
@@ -5795,6 +5809,7 @@ async function runMobileDebugServer(options = {}) {
|
|
|
5795
5809
|
if (closed) return;
|
|
5796
5810
|
closed = true;
|
|
5797
5811
|
parentWatcher?.stop();
|
|
5812
|
+
if (totpRefreshHandle) clearInterval(totpRefreshHandle);
|
|
5798
5813
|
router.stopWatcher();
|
|
5799
5814
|
for (const family of router.bootedFamilies()) family.stop();
|
|
5800
5815
|
server.close();
|
|
@@ -5808,6 +5823,7 @@ async function runMobileDebugServer(options = {}) {
|
|
|
5808
5823
|
if (!closed) {
|
|
5809
5824
|
closed = true;
|
|
5810
5825
|
parentWatcher?.stop();
|
|
5826
|
+
if (totpRefreshHandle) clearInterval(totpRefreshHandle);
|
|
5811
5827
|
router.stopWatcher();
|
|
5812
5828
|
for (const family of router.bootedFamilies()) family.stop();
|
|
5813
5829
|
lockHandle.release();
|
|
@@ -6276,7 +6292,7 @@ function createDevServer(deps = {}) {
|
|
|
6276
6292
|
const aitSource = deps.aitSource ?? new HttpAitSource({ stateEndpoint });
|
|
6277
6293
|
const server = new Server({
|
|
6278
6294
|
name: "ait-devtools",
|
|
6279
|
-
version: "0.1.
|
|
6295
|
+
version: "0.1.64"
|
|
6280
6296
|
}, { capabilities: { tools: {} } });
|
|
6281
6297
|
server.setRequestHandler(ListToolsRequestSchema, () => ({ tools: DEV_TOOL_DEFINITIONS.map((tool) => ({ ...tool })) }));
|
|
6282
6298
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|