@ait-co/devtools 0.1.66 → 0.1.68

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.
Files changed (47) hide show
  1. package/dist/chii-relay-BNd3G3UG.js +152 -0
  2. package/dist/chii-relay-BNd3G3UG.js.map +1 -0
  3. package/dist/chii-relay-DngjQ2_A.cjs +151 -0
  4. package/dist/chii-relay-DngjQ2_A.cjs.map +1 -0
  5. package/dist/in-app/index.d.ts +24 -6
  6. package/dist/in-app/index.d.ts.map +1 -1
  7. package/dist/in-app/index.js +27 -8
  8. package/dist/in-app/index.js.map +1 -1
  9. package/dist/mcp/cli.js +495 -68
  10. package/dist/mcp/cli.js.map +1 -1
  11. package/dist/mcp/server.js +2 -2
  12. package/dist/mcp/server.js.map +1 -1
  13. package/dist/panel/index.js +56 -20
  14. package/dist/panel/index.js.map +1 -1
  15. package/dist/{qr-http-server-BuyQnaS6.js → qr-http-server-CyVQphTM.js} +376 -45
  16. package/dist/qr-http-server-CyVQphTM.js.map +1 -0
  17. package/dist/{qr-http-server-CLtsKfPF.js → qr-http-server-DKEca8J3.js} +376 -45
  18. package/dist/qr-http-server-DKEca8J3.js.map +1 -0
  19. package/dist/{qr-http-server-CMJmKkb8.cjs → qr-http-server-DR__VNnX.cjs} +376 -45
  20. package/dist/qr-http-server-DR__VNnX.cjs.map +1 -0
  21. package/dist/{qr-http-server-CQwQumPJ.cjs → qr-http-server-DnQSQ3hC.cjs} +376 -45
  22. package/dist/qr-http-server-DnQSQ3hC.cjs.map +1 -0
  23. package/dist/{tunnel-BpllDsRw.cjs → tunnel-BMY7KgO5.cjs} +4 -3
  24. package/dist/{tunnel-BpllDsRw.cjs.map → tunnel-BMY7KgO5.cjs.map} +1 -1
  25. package/dist/{tunnel-fm4hDfV-.js → tunnel-DIN5Vvbo.js} +4 -3
  26. package/dist/{tunnel-fm4hDfV-.js.map → tunnel-DIN5Vvbo.js.map} +1 -1
  27. package/dist/unplugin/index.cjs +10 -3
  28. package/dist/unplugin/index.cjs.map +1 -1
  29. package/dist/unplugin/index.d.cts.map +1 -1
  30. package/dist/unplugin/index.d.ts.map +1 -1
  31. package/dist/unplugin/index.js +10 -3
  32. package/dist/unplugin/index.js.map +1 -1
  33. package/dist/unplugin/tunnel.cjs +3 -2
  34. package/dist/unplugin/tunnel.cjs.map +1 -1
  35. package/dist/unplugin/tunnel.d.cts.map +1 -1
  36. package/dist/unplugin/tunnel.d.ts.map +1 -1
  37. package/dist/unplugin/tunnel.js +3 -2
  38. package/dist/unplugin/tunnel.js.map +1 -1
  39. package/package.json +1 -1
  40. package/dist/chii-relay-57BfqF_5.cjs +0 -88
  41. package/dist/chii-relay-57BfqF_5.cjs.map +0 -1
  42. package/dist/chii-relay-itXOz7kS.js +0 -89
  43. package/dist/chii-relay-itXOz7kS.js.map +0 -1
  44. package/dist/qr-http-server-BuyQnaS6.js.map +0 -1
  45. package/dist/qr-http-server-CLtsKfPF.js.map +0 -1
  46. package/dist/qr-http-server-CMJmKkb8.cjs.map +0 -1
  47. package/dist/qr-http-server-CQwQumPJ.cjs.map +0 -1
@@ -25376,19 +25376,32 @@ const en = {
25376
25376
  "dashboard.attach.hint": "Call the build_attach_url MCP tool to show the QR here.",
25377
25377
  "dashboard.pages.section": "Connected Pages",
25378
25378
  "dashboard.pages.empty": "No attached pages",
25379
+ "dashboard.url.copy": "Copy",
25380
+ "dashboard.url.copied": "Copied",
25379
25381
  "attach.title": "AIT Debug Session — QR Scan",
25380
25382
  "attach.deployment": "deployment: {label}",
25381
25383
  "attach.steps.section": "How to scan",
25382
- "attach.step1": "Open the Toss app.",
25383
- "attach.step2": "Scan the QR code with your phone camera app.",
25384
- "attach.step3": "Tap <strong>\"Open in Toss\"</strong> when the popup appears.",
25385
- "attach.step4": "The mini-app opens and the debug session attaches automatically.",
25386
25384
  "attach.faq.section": "Troubleshooting checklist",
25387
- "attach.faq.appNotOpen": "<strong>Toss app does not open</strong> — check app version; scan with the system camera app (not the Toss in-app QR reader)",
25388
- "attach.faq.prepare": "<strong>Mini-app stuck in PREPARE state</strong> — verify the deep-link has a <code>_deploymentId</code> parameter",
25389
- "attach.faq.chii": "<strong>Chii injection failure / console is empty</strong> — verify the mini-app bundle has an <code>in-app</code> debug import",
25390
- "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",
25391
25385
  "attach.url.section": "URL (fallback)",
25386
+ "attach.mode.sandbox": "Env 2 — AITC Sandbox PWA",
25387
+ "attach.mode.intossDev": "Env 3 — intoss-private relay dev",
25388
+ "attach.mode.intossLive": "Env 4 — intoss live relay debug",
25389
+ "attach.sandbox.step1": "Launch the launcher PWA icon on your home screen (if the Safari address bar is visible, it is not standalone).",
25390
+ "attach.sandbox.step2": "Scan this QR code with <strong>\"Scan QR with camera\"</strong> inside the launcher.",
25391
+ "attach.sandbox.step3": "The mini-app opens fullscreen and the debug session attaches automatically.",
25392
+ "attach.sandbox.faq.notInstalled": "<strong>Launcher is not installed</strong> — open <code>devtools.aitc.dev/launcher/</code> once and add it to your home screen",
25393
+ "attach.sandbox.faq.cameraApp": "<strong>Scanning with the camera app opens a Safari tab (bottom tab bar visible)</strong> — relaunch from the launcher icon and use the in-app scanner",
25394
+ "attach.sandbox.faq.totp": "<strong>QR expired (TOTP 30 s)</strong> — scan a fresh QR code",
25395
+ "attach.sandbox.faq.chii": "<strong>Chii injection failure / console is empty</strong> — verify the mini-app bundle has an <code>in-app</code> debug import",
25396
+ "attach.intoss.step1": "Open the Toss app.",
25397
+ "attach.intoss.step2": "Scan the QR code with your phone camera app.",
25398
+ "attach.intoss.step3": "Tap <strong>\"Open in Toss\"</strong> when the popup appears.",
25399
+ "attach.intoss.step4": "The mini-app opens and the debug session attaches automatically.",
25400
+ "attach.intoss.faq.appNotOpen": "<strong>Toss app does not open</strong> — check app version; scan with the system camera app (not the Toss in-app QR reader)",
25401
+ "attach.intoss.faq.prepare": "<strong>Mini-app stuck in PREPARE state</strong> — verify the deep-link has a <code>_deploymentId</code> parameter",
25402
+ "attach.intoss.faq.chii": "<strong>Chii injection failure / console is empty</strong> — verify the mini-app bundle has an <code>in-app</code> debug import",
25403
+ "attach.intoss.faq.totp": "<strong>TOTP gate Layer C is inactive</strong> — check that <code>AIT_DEBUG_TOTP_SECRET</code> is set on the relay server",
25404
+ "attach.intoss.faq.liveReadOnly": "<strong>LIVE session is read-only</strong> — <code>call_sdk</code>/<code>evaluate</code> require an explicit <code>confirm</code>",
25392
25405
  "launcher.title": "AITC DevTools Launcher",
25393
25406
  "launcher.description": "Scan the terminal QR code or paste the tunnel URL.",
25394
25407
  "launcher.installCta": "Install launcher to your phone",
@@ -25402,7 +25415,12 @@ const en = {
25402
25415
  "launcher.invalidUrl": "Enter a valid http(s):// URL.",
25403
25416
  "launcher.debugAuthFailed": "Debug connection authentication failed",
25404
25417
  "launcher.debugAuthFailedHint": "The QR code may have expired. Scan a fresh QR code.",
25405
- "launcher.debugAuthRescanCta": "Scan a new QR"
25418
+ "launcher.debugAuthRescanCta": "Scan a new QR",
25419
+ "launcher.diagFab": "Diag",
25420
+ "launcher.diagTitle": "Viewport diagnostics",
25421
+ "launcher.diagYes": "yes",
25422
+ "launcher.diagNo": "no",
25423
+ "launcher.letterboxDetected": "Display area is {pt}pt short — likely an iOS standalone letterbox. Removing and re-adding the launcher to the home screen may fix it."
25406
25424
  };
25407
25425
  //#endregion
25408
25426
  //#region src/i18n/ko.ts
@@ -25585,19 +25603,32 @@ const ko = {
25585
25603
  "dashboard.attach.hint": "build_attach_url MCP tool을 호출하면 QR이 여기에 표시됩니다.",
25586
25604
  "dashboard.pages.section": "연결된 Pages",
25587
25605
  "dashboard.pages.empty": "attach된 페이지 없음",
25606
+ "dashboard.url.copy": "복사",
25607
+ "dashboard.url.copied": "복사됨",
25588
25608
  "attach.title": "AIT 디버그 세션 — QR 스캔",
25589
25609
  "attach.deployment": "deployment: {label}",
25590
25610
  "attach.steps.section": "스캔 절차",
25591
- "attach.step1": "토스 앱을 실행하세요.",
25592
- "attach.step2": "폰 카메라 앱으로 QR 코드를 스캔하세요.",
25593
- "attach.step3": "팝업이 뜨면 <strong>\"토스로 열기\"</strong>를 탭하세요.",
25594
- "attach.step4": "미니앱이 열리고 디버그 세션이 자동으로 attach됩니다.",
25595
25611
  "attach.faq.section": "진단 체크리스트",
25596
- "attach.faq.appNotOpen": "<strong>토스 앱이 안 열리는 경우</strong> — 앱 버전 확인, 카메라 앱으로 스캔 (토스 앱 내 QR 리더 X)",
25597
- "attach.faq.prepare": "<strong>미니앱이 PREPARE 상태에서 멈추는 경우</strong> — deep-link에 <code>_deploymentId</code> 파라미터가 있는지 확인",
25598
- "attach.faq.chii": "<strong>Chii 주입 실패 / 콘솔이 비어 있는 경우</strong> — 미니앱 번들에 <code>in-app</code> debug import가 있는지 확인",
25599
- "attach.faq.totp": "<strong>TOTP gate Layer C가 비활성인 경우</strong> — relay 서버에 <code>AIT_DEBUG_TOTP_SECRET</code>이 설정돼 있는지 확인",
25600
25612
  "attach.url.section": "URL (fallback)",
25613
+ "attach.mode.sandbox": "환경 2 — AITC Sandbox PWA",
25614
+ "attach.mode.intossDev": "환경 3 — intoss-private relay dev",
25615
+ "attach.mode.intossLive": "환경 4 — intoss live relay debug",
25616
+ "attach.sandbox.step1": "홈 화면의 launcher PWA 아이콘으로 실행하세요 (Safari 주소창이 보이면 standalone이 아닙니다).",
25617
+ "attach.sandbox.step2": "launcher 안의 <strong>\"QR 카메라로 스캔\"</strong>으로 이 QR 코드를 스캔하세요.",
25618
+ "attach.sandbox.step3": "미니앱이 풀스크린으로 열리고 디버그 세션이 자동으로 attach됩니다.",
25619
+ "attach.sandbox.faq.notInstalled": "<strong>launcher가 설치돼 있지 않은 경우</strong> — <code>devtools.aitc.dev/launcher/</code>를 한 번 열어 홈 화면에 추가하세요",
25620
+ "attach.sandbox.faq.cameraApp": "<strong>카메라 앱으로 스캔하면 Safari 탭으로 열립니다 (하단 탭 바 노출)</strong> — launcher 아이콘으로 다시 실행해 인앱 스캔을 사용하세요",
25621
+ "attach.sandbox.faq.totp": "<strong>QR이 만료된 경우 (TOTP 30초)</strong> — 새 QR을 다시 스캔하세요",
25622
+ "attach.sandbox.faq.chii": "<strong>Chii 주입 실패 / 콘솔이 비어 있는 경우</strong> — 미니앱 번들에 <code>in-app</code> debug import가 있는지 확인",
25623
+ "attach.intoss.step1": "토스 앱을 실행하세요.",
25624
+ "attach.intoss.step2": "폰 카메라 앱으로 QR 코드를 스캔하세요.",
25625
+ "attach.intoss.step3": "팝업이 뜨면 <strong>\"토스로 열기\"</strong>를 탭하세요.",
25626
+ "attach.intoss.step4": "미니앱이 열리고 디버그 세션이 자동으로 attach됩니다.",
25627
+ "attach.intoss.faq.appNotOpen": "<strong>토스 앱이 안 열리는 경우</strong> — 앱 버전 확인, 카메라 앱으로 스캔 (토스 앱 내 QR 리더 X)",
25628
+ "attach.intoss.faq.prepare": "<strong>미니앱이 PREPARE 상태에서 멈추는 경우</strong> — deep-link에 <code>_deploymentId</code> 파라미터가 있는지 확인",
25629
+ "attach.intoss.faq.chii": "<strong>Chii 주입 실패 / 콘솔이 비어 있는 경우</strong> — 미니앱 번들에 <code>in-app</code> debug import가 있는지 확인",
25630
+ "attach.intoss.faq.totp": "<strong>TOTP gate Layer C가 비활성인 경우</strong> — relay 서버에 <code>AIT_DEBUG_TOTP_SECRET</code>이 설정돼 있는지 확인",
25631
+ "attach.intoss.faq.liveReadOnly": "<strong>LIVE 세션은 read-only입니다</strong> — <code>call_sdk</code>/<code>evaluate</code> 실행에는 명시적 <code>confirm</code>이 필요합니다",
25601
25632
  "launcher.title": "AITC DevTools Launcher",
25602
25633
  "launcher.description": "터미널 QR을 스캔하거나 URL을 입력하세요.",
25603
25634
  "launcher.installCta": "폰에 런처 설치하기",
@@ -25611,7 +25642,12 @@ const ko = {
25611
25642
  "launcher.invalidUrl": "올바른 http(s):// URL을 입력하세요.",
25612
25643
  "launcher.debugAuthFailed": "디버그 연결 인증 실패",
25613
25644
  "launcher.debugAuthFailedHint": "QR 코드가 만료되었을 수 있어요. 새 QR을 다시 스캔하세요.",
25614
- "launcher.debugAuthRescanCta": "새 QR 스캔하기"
25645
+ "launcher.debugAuthRescanCta": "새 QR 스캔하기",
25646
+ "launcher.diagFab": "진단",
25647
+ "launcher.diagTitle": "뷰포트 진단",
25648
+ "launcher.diagYes": "예",
25649
+ "launcher.diagNo": "아니요",
25650
+ "launcher.letterboxDetected": "표시 영역이 {pt}pt 부족합니다 — iOS standalone letterbox로 보입니다. 런처를 홈 화면에서 제거 후 다시 설치하면 해소될 수 있어요."
25615
25651
  };
25616
25652
  //#endregion
25617
25653
  //#region src/i18n/index.ts
@@ -26436,7 +26472,7 @@ function readGlobalString(key) {
26436
26472
  }
26437
26473
  const TELEMETRY_ENDPOINT = readGlobalString("__TELEMETRY_ENDPOINT__") ?? "https://t.aitc.dev";
26438
26474
  function getVersion() {
26439
- return "0.1.66";
26475
+ return "0.1.68";
26440
26476
  }
26441
26477
  let panelVisibleSince = null;
26442
26478
  let accumulatedMs = 0;
@@ -30687,7 +30723,7 @@ function Panel() {
30687
30723
  color: "#666",
30688
30724
  fontWeight: 400
30689
30725
  },
30690
- children: ["v", "0.1.66"]
30726
+ children: ["v", "0.1.68"]
30691
30727
  }),
30692
30728
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
30693
30729
  type: "button",