@ait-co/devtools 0.1.92 → 0.1.93

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.
@@ -10128,6 +10128,19 @@ interface AitDevtoolsOptions {
10128
10128
  * Vite 전용: webpack/rspack/esbuild/rollup 환경에서는 무시된다.
10129
10129
  */
10130
10130
  mcp?: boolean;
10131
+ /**
10132
+ * 미니앱의 webViewType (`granite.config.ts`의 `webViewProps.type`)을 빌드 상수
10133
+ * `__WEB_VIEW_TYPE__`로 주입한다 (#580). **Vite 전용** (다른 번들러는 무시).
10134
+ *
10135
+ * 이 상수는 in-app self-report(`@ait-co/devtools/in-app`)가 읽어 launcher(env-2
10136
+ * PWA)에 webViewType을 postMessage로 알리고, launcher가 game 타입 미니앱에서
10137
+ * 수동 `?navBarType=game` URL 편집 없이 game 모드로 자동 진입하게 한다.
10138
+ *
10139
+ * 미지정 시 `'partner'`(web-framework `webViewProps.type`의 `@default`)로 주입한다.
10140
+ * `game`이면 게임 모드로 자동 진입한다. (granite.config.ts를 config 시점에
10141
+ * 자동으로 읽는 것은 TS 모듈 로더가 필요해 보류 — 명시 옵션으로 신뢰성 확보, #580.)
10142
+ */
10143
+ webViewType?: 'partner' | 'game';
10131
10144
  /**
10132
10145
  * Vite dev 서버를 Cloudflare quick tunnel(`*.trycloudflare.com`, 계정 불필요)로
10133
10146
  * 외부 노출해 실제 폰에서 미리보기. **Vite dev 모드 전용** — production은