@amazon-devices/amazon-devices-buildertools-mcp 0.1.29 → 0.1.31

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/README.ja.md CHANGED
@@ -22,6 +22,11 @@ Amazon Devices Builder Tools MCPは以下の機能をサポートしています
22
22
  | **フォーカス管理** | TVインターフェース用のD-Padナビゲーションとフォーカス管理を実装 | <ul><li>`フォーカス管理を示すために2つのボタンを持つアプリを作成できますか?`</li></ul> |
23
23
  | **SDK & CLI** | SDKのインストール/更新と、仕様駆動型CLIを介した効率的なCLIツールの実行 | <ul><li>`AIエージェントからSDKをインストール/更新`</li><li>`アプリをビルド`</li><li>`仮想デバイスでアプリを実行`</li><li>`物理デバイスでアプリを実行`</li><li>`KPI Visualizerを実行してパフォーマンス結果を取得`</li></ul> |
24
24
  | **クラッシュ分析** | JavaScript、Native、LMK、ANRクラッシュの自動ACR分析による診断 | <ul><li>`なぜアプリがクラッシュしたのですか?`</li><li>`このACRファイルを分析してください /path/to/crash.acr`</li></ul> |
25
+ | **キー入力レイテンシー** | JSスレッドパフォーマンスと入力イベント分析によるキー入力レイテンシーの問題を診断・解決 | <ul><li>`なぜアプリのキー入力が遅いのですか?`</li><li>`Vegaアプリのキー入力レイテンシーを診断してください`</li><li>`ボタンクリックが遅く感じます、助けてください`</li></ul> |
26
+ | **UI流暢性** | コンポーネント再レンダリングとCPUパフォーマンス分析によるUI流暢性KPI障害の診断 | <ul><li>`アプリのUI流暢性スコアが低いです、診断してください`</li><li>`Vegaアプリのフレームドロップとジャンクを修正してください`</li><li>`アプリのスクロールがスムーズでないのはなぜですか?`</li></ul> |
27
+ | **アプリ移植** *(ベータ)* | アプリタイプの自動検出によるFireOSアプリのVegaへの移植、またはWeb URLをVega WebViewアプリとしてラップ。4つの入力パスをサポート:FOS WebView → Vega WebView、FOS React Native → VegaScript、FOS Native (Java/Kotlin) → VegaScript *(部分的サポート)*、Web URL → Vega WebView。 | <ul><li>`TVアプリをVegaに移植してください`</li><li>`/path/to/fos-appにあるFireOSアプリをVegaに移行してください`</li><li>`FOS React NativeアプリをVegaScriptに移植してください`</li><li>`FOS WebViewアプリをVega Webアプリに変換してください`</li><li>`https://example.com をVega WebViewアプリとしてラップしてください`</li></ul> |
28
+ | **RNアップグレード** *(アルファ)* | AI支援による移行でVegaScriptアプリのReact Nativeバージョンをアップグレード。包括的なアップグレードガイド、破壊的変更の分析、バージョンアップグレード(例:RN 0.72 → 0.83)のためのインタラクティブなTODOベースのワークフローを提供。 | <ul><li>`VegaアプリをReact Native 0.72から0.83にアップグレードしてください`</li><li>`RN 0.83にアップグレードする際の破壊的変更は何ですか?`</li><li>`React Nativeアップグレードプロセスをガイドしてください`</li></ul> |
29
+ | **Appstore IAP統合** | VegaアプリでAmazon Appstoreアプリ内課金(IAP)SDKを統合・テスト | <ul><li>`VegaアプリにIAPを統合してください`</li><li>`Vegaアプリのアプリ内課金をセットアップするにはどうすればよいですか?`</li><li>`VegaアプリでIAPをテストしてください`</li></ul> |
25
30
  | **フィードバックの提供** | MCPの使用体験についてAmazonにフィードバックを提供 | <ul><li>`フィードバックを提供したい`</li><li>`Vega MCPのフィードバックを提供するにはどうすればよいですか?`</li></ul> |
26
31
 
27
32
  ## ワンクリックインストール
@@ -225,6 +230,9 @@ Amazon Devices Builder Tools MCPが提供するツールをリストしてくだ
225
230
  - analyze_perfetto_traces
226
231
  - read_document
227
232
  - list_documents
233
+ - diagnose_crash
234
+ - diagnose_key_input_latency
235
+ - diagnose_ui_fluidity
228
236
 
229
237
  ## MCPツール
230
238
 
@@ -382,3 +390,35 @@ Amazon Devices Builder Tools MCPは、AIエージェントの`/prompts`でワン
382
390
  ```
383
391
  > @diagnose_crash /path/to/crash.acr
384
392
  ```
393
+
394
+ ### 7. `diagnose_key_input_latency`
395
+
396
+ **説明:** JSスレッドパフォーマンス、CPUボトルネック、入力イベント処理の最適化を体系的に分析し、React Native Vegaアプリのキー入力レイテンシーの問題を診断・解決します。
397
+
398
+ **パラメータ:**
399
+
400
+ - `vega_app_package_path`(必須、文字列): Vegaアプリパッケージのルートディレクトリへの絶対パス
401
+ - `app_process_name`(任意、文字列): 入力レイテンシーが発生しているアプリプロセスの名前。指定しない場合、manifest.tomlから自動的に解決されます。
402
+ - `perfetto_trace_file_path`(任意、文字列): 既存のPerfettoトレースファイルへの絶対パス(既にキャプチャ済みの場合)
403
+ - `target_component_or_button`(任意、文字列): 調査する特定のボタンまたはコンポーネント名
404
+ - `latency_threshold_ms`(任意、数値): 許容される最大入力レイテンシー(ミリ秒)。デフォルトは100。
405
+
406
+ **使用例:**
407
+
408
+ ```
409
+ > @diagnose_key_input_latency /path/to/my-vega-app
410
+ ```
411
+
412
+ ### 8. `diagnose_ui_fluidity`
413
+
414
+ **説明:** コンポーネント再レンダリングとCPUパフォーマンスボトルネックの体系的な分析を通じて、React Native VegaアプリのUI流暢性KPI障害を診断します。
415
+
416
+ **パラメータ:**
417
+
418
+ - `vega_app_package_path`(必須、文字列): Vegaアプリパッケージのルートディレクトリへの絶対パス
419
+
420
+ **使用例:**
421
+
422
+ ```
423
+ > @diagnose_ui_fluidity /path/to/my-vega-app
424
+ ```
package/README.md CHANGED
@@ -22,6 +22,11 @@ The Amazon Devices Builder Tools MCP supports the following capabilities:
22
22
  | **Focus Management** | Implement D-Pad navigation and focus management for TV interfaces | <ul><li>`Can you create an app with 2 buttons to show case focus management?`</li></ul> |
23
23
  | **Give Feedback** | Provide feedback to Amazon about your experience with the MCP | <ul><li>`I want to provide feedback`</li><li>`How can I provide vega mcp feedback?`</li></ul> |
24
24
  | **Crash Analysis** | Diagnose JavaScript, Native, LMK, and ANR crashes with automated ACR analysis | <ul><li>`Why did my app crash?`</li><li>`Help me analyze this ACR file /path/to/crash.acr`</li></ul> |
25
+ | **Key Input Latency** | Diagnose and resolve key input latency issues through JS Thread performance and input event analysis | <ul><li>`Why is my app responding slowly to key presses?`</li><li>`Help me diagnose key input latency in my Vega app`</li><li>`My button clicks feel laggy, can you help?`</li></ul> |
26
+ | **UI Fluidity** | Diagnose UI fluidity KPI failures through component re-rendering and CPU performance analysis | <ul><li>`My app's UI fluidity score is low, help me diagnose it`</li><li>`Help me fix frame drops and jank in my Vega app`</li><li>`Why is scrolling not smooth in my app?`</li></ul> |
27
+ | **App Porting** *(Beta)* | Port FireOS apps to Vega or wrap a web URL as a Vega app, with auto-detection of app type. Supports four input paths: FOS WebView → Vega WebView, FOS React Native → VegaScript, FOS Native (Java/Kotlin) → VegaScript *(partial support)*, and Web URL → Vega WebView. | <ul><li>`Port my TV app to Vega`</li><li>`Help me migrate my FireOS app at /path/to/fos-app to Vega`</li><li>`Port my FOS React Native app to VegaScript`</li><li>`Convert my FOS WebView app to a Vega Web App`</li><li>`Wrap https://example.com as a Vega WebView app`</li></ul> |
28
+ | **RN Upgrade** *(Alpha)* | Upgrade React Native version in VegaScript apps with AI-assisted migration. Provides comprehensive upgrade guides, breaking change analysis, and interactive TODO-based workflow for version upgrades (e.g., RN 0.72 → 0.83). | <ul><li>`Help me upgrade my Vega app from React Native 0.72 to 0.83`</li><li>`What are the breaking changes when upgrading to RN 0.83?`</li><li>`Guide me through the React Native upgrade process`</li></ul> |
29
+ | **Appstore IAP Integration** | Integrate and test Amazon Appstore In-App Purchasing (IAP) SDK in Vega apps | <ul><li>`Help me integrate IAP in my Vega app`</li><li>`How do I set up In-App Purchasing for my Vega app?`</li><li>`Help me test IAP in my Vega app`</li></ul> |
25
30
  | **SDK & CLI** | Install/update SDK and efficiently run CLI tools via spec-driven CLI | <ul><li>`Install/update SDK from AI agents`</li><li>`Build my app`</li><li>`Run my app on virtual device`</li><li>`Run my app on physical device`</li><li>`Run KPI Visualizer and get performance results`</li></ul> |
26
31
 
27
32
  ## One-Click Installation
@@ -230,10 +235,13 @@ You should see a response that includes the following tools:
230
235
  - get_app_hot_functions
231
236
  - read_document
232
237
  - list_documents
233
- - search_documents
238
+ - search_documentation
234
239
  - execute_query
235
240
  - get_database_schema
236
241
  - read_asset
242
+ - diagnose_crash
243
+ - diagnose_key_input_latency
244
+ - diagnose_ui_fluidity
237
245
 
238
246
  ## MCP Tools
239
247
 
@@ -317,7 +325,7 @@ or with time window filtering:
317
325
  Analyze hot functions in /path/to/trace.json from 5 to 15 seconds with a limit of 20 functions
318
326
  ```
319
327
 
320
- ### 5. `search_documents`
328
+ ### 5. `search_documentation`
321
329
 
322
330
  Search Vega development documentation using full-text search. Returns document IDs and relevant snippets matching the query. Use `read_document` with the returned ID to get full content.
323
331
 
@@ -352,7 +360,7 @@ Get the database schema for Vega documentation
352
360
 
353
361
  ### 7. `execute_query`
354
362
 
355
- Execute a SQL query against the Vega documentation database. Use this tool for more complex queries when `search_documents` is insufficient. Use `get_database_schema` first to understand available tables and FTS5 syntax. The database is read-only.
363
+ Execute a SQL query against the Vega documentation database. Use this tool for more complex queries when `search_documentation` is insufficient. Use `get_database_schema` first to understand available tables and FTS5 syntax. The database is read-only.
356
364
 
357
365
  **Parameters:**
358
366
 
@@ -484,3 +492,35 @@ Amazon Devices Builder Tools MCP provides the following pre-defined prompt templ
484
492
  ```
485
493
  > @diagnose_crash /path/to/crash.acr
486
494
  ```
495
+
496
+ ### 7. `diagnose_key_input_latency`
497
+
498
+ **Description:** Diagnose and resolve key input latency issues in React Native Vega apps through systematic analysis of JS Thread performance, CPU bottlenecks, and input event handling optimization.
499
+
500
+ **Parameters:**
501
+
502
+ - `vega_app_package_path` (required, string): Absolute path to the Vega app package root directory
503
+ - `app_process_name` (optional, string): Name of the app process experiencing input latency. If not provided, resolved automatically from manifest.toml.
504
+ - `perfetto_trace_file_path` (optional, string): Absolute path to existing Perfetto trace file (if already captured)
505
+ - `target_component_or_button` (optional, string): Specific button or component name to investigate
506
+ - `latency_threshold_ms` (optional, number): Maximum acceptable input latency in milliseconds. Default is 100.
507
+
508
+ **Example usage:**
509
+
510
+ ```
511
+ > @diagnose_key_input_latency /path/to/my-vega-app
512
+ ```
513
+
514
+ ### 8. `diagnose_ui_fluidity`
515
+
516
+ **Description:** Diagnose UI fluidity KPI failures in React Native Vega apps through systematic analysis of component re-rendering and CPU performance bottlenecks.
517
+
518
+ **Parameters:**
519
+
520
+ - `vega_app_package_path` (required, string): Absolute path to the Vega app package root directory
521
+
522
+ **Example usage:**
523
+
524
+ ```
525
+ > @diagnose_ui_fluidity /path/to/my-vega-app
526
+ ```