@ledgerhq/device-management-kit 0.0.0-develop-20261104000847 → 0.0.0-develop-20261105000842

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.md CHANGED
@@ -418,17 +418,21 @@ Check [the sample app](https://github.com/LedgerHQ/device-sdk-ts/tree/develop/ap
418
418
 
419
419
  Developer tools are available to help debug your DMK integration:
420
420
 
421
- - **Real-time logging** — View DMK logs with filtering by level and tag
421
+ - **Real-time logging** — View DMK logs with filtering by level, tag and text, search and payload trees
422
422
  - **Device session inspector** — Monitor connected devices and their states
423
+ - **APDU list** — Every APDU of a session, named after its command (needs the logger)
423
424
  - **Device discovery** — Discover and connect to devices from the dashboard
424
425
  - **APDU sender** — Send raw APDU commands to devices
425
- - **DMK configuration** — View and modify settings like the My Ledger API provider
426
+ - **Mock server** — The mock device's live screen, when the app uses the mock server transport
427
+ - **AI debugging** _(desktop app only)_ — Claude explains selected logs or APDUs and can file the bug in Jira
428
+
429
+ See the [devtools-core README](../devtools/core/README.md#features) for details.
426
430
 
427
431
  ### Web, Node.js or Electron app
428
432
 
429
433
  For web apps, Node.js apps, Electron apps, or any JavaScript runtime with WebSocket support (including React Native), use the WebSocket-based devtools with the Electron dashboard app.
430
434
 
431
- > **React Native users:** This setup also works for React Native apps. However, if you have [Rozenite](https://www.rozenite.dev/) set up in your app, we recommend the [Rozenite-based devtools](#react-native-app-with-rozenite) instead — it provides a more integrated experience directly within the React Native DevTools, with less setup required.
435
+ > **React Native users:** This setup also works for React Native apps. If you have [Rozenite](https://www.rozenite.dev/) set up in your app, the [Rozenite-based devtools](#react-native-app-with-rozenite) need less setup and run directly within the React Native DevTools, but they have no AI debugging yet. Use this setup to get it.
432
436
 
433
437
  #### Set up
434
438
 
@@ -462,7 +466,10 @@ const dmk = new DeviceManagementKitBuilder()
462
466
 
463
467
  // Optional: Enable inspector for device sessions and DMK interaction
464
468
  // This must be done AFTER the DMK is built
465
- const inspector = new DevToolsDmkInspector(connector, dmk);
469
+ const inspector = new DevToolsDmkInspector(connector, dmk, {
470
+ // Optional: with the mock server transport, shows the mock device's screen
471
+ mockServer: { url: mockServerUrl, sessionToken },
472
+ });
466
473
 
467
474
  // Clean up when done (e.g., on app unmount)
468
475
  // inspector.destroy();
@@ -479,6 +486,8 @@ The devtools can be accessed as an Electron app.
479
486
 
480
487
  If you have [Rozenite](https://www.rozenite.dev/) already set up in your React Native app, the DMK developer tools can be accessed directly in the React Native DevTools.
481
488
 
489
+ > **AI debugging is not available yet in Rozenite.** It runs Claude Code on your computer, which only the desktop app can do. To use it, connect your app to the desktop app with the [WebSocket setup](#web-nodejs-or-electron-app) instead.
490
+
482
491
  #### Set up
483
492
 
484
493
  Install those packages:
@@ -61,5 +61,5 @@
61
61
  "watch:builds": "pnpm ldmk-tool watch --entryPoints index.ts,src/**/*.ts --tsconfig tsconfig.prod.json",
62
62
  "watch:types": "concurrently \"tsc --watch -p tsconfig.prod.json\" \"tsc-alias --watch -p tsconfig.prod.json\""
63
63
  },
64
- "version": "0.0.0-develop-20261104000847"
64
+ "version": "0.0.0-develop-20261105000842"
65
65
  }
@@ -61,5 +61,5 @@
61
61
  "watch:builds": "pnpm ldmk-tool watch --entryPoints index.ts,src/**/*.ts --tsconfig tsconfig.prod.json",
62
62
  "watch:types": "concurrently \"tsc --watch -p tsconfig.prod.json\" \"tsc-alias --watch -p tsconfig.prod.json\""
63
63
  },
64
- "version": "0.0.0-develop-20261104000847"
64
+ "version": "0.0.0-develop-20261105000842"
65
65
  }