@veolab/discoverylab 1.2.1 → 1.3.0

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 (160) hide show
  1. package/.mcp.json +2 -2
  2. package/README.md +182 -0
  3. package/dist/{chunk-TAODYZ52.js → chunk-3QRQEDWR.js} +510 -213
  4. package/dist/{chunk-L4SA5F5W.js → chunk-4L76GPRC.js} +1162 -58
  5. package/dist/chunk-6EGBXRDK.js +30 -0
  6. package/dist/{chunk-I6YD3QFM.js → chunk-FIL7IWEL.js} +5 -3
  7. package/dist/{chunk-4KLG6DDE.js → chunk-FNUN7EPB.js} +6 -6
  8. package/dist/chunk-GAKEFJ5T.js +481 -0
  9. package/dist/chunk-LB3RNE3O.js +109 -0
  10. package/dist/chunk-N6JJ2RGV.js +2680 -0
  11. package/dist/{chunk-XUKWS2CE.js → chunk-VRM42PML.js} +3546 -926
  12. package/dist/{chunk-TJ3H23LL.js → chunk-VVIOB362.js} +3 -1
  13. package/dist/{chunk-W3WJGYR6.js → chunk-XFVDP332.js} +8 -2
  14. package/dist/{chunk-QJXXHOV7.js → chunk-XKX6NBHF.js} +5 -1
  15. package/dist/cli.js +405 -11
  16. package/dist/{db-ADBEBNH6.js → db-6WLEVKUV.js} +3 -1
  17. package/dist/esvp-GSISVXLC.js +52 -0
  18. package/dist/esvp-mobile-GC7MAGMI.js +20 -0
  19. package/dist/index.d.ts +123 -1
  20. package/dist/index.html +11689 -8690
  21. package/dist/index.js +67 -11
  22. package/dist/{ocr-UTWC7537.js → ocr-QDYNCSPE.js} +1 -1
  23. package/dist/{playwright-R7Y5HREH.js → playwright-VZ7PXDC5.js} +2 -2
  24. package/dist/runtime/esvp-host-runtime/darwin-arm64/esvp-host-runtime +0 -0
  25. package/dist/runtime/esvp-host-runtime/manifest.json +10 -0
  26. package/dist/{server-3FBHBA7L.js → server-6N3KIEGP.js} +2 -1
  27. package/dist/server-FO3UVUZU.js +22 -0
  28. package/dist/{setup-27CQAX6K.js → setup-2SQC5UHJ.js} +4 -3
  29. package/dist/{tools-L6PKKQPY.js → tools-OCRMOQ4U.js} +63 -8
  30. package/package.json +36 -5
  31. package/dist/chunk-22OCFYHG.js +0 -6283
  32. package/dist/chunk-24VARQVO.js +0 -7818
  33. package/dist/chunk-2OGZX6C4.js +0 -588
  34. package/dist/chunk-2WCNIFRO.js +0 -6191
  35. package/dist/chunk-43U6UYV7.js +0 -590
  36. package/dist/chunk-4H2E3K2G.js +0 -7638
  37. package/dist/chunk-4MS6YW2B.js +0 -6490
  38. package/dist/chunk-4NNTRJOI.js +0 -7791
  39. package/dist/chunk-5F76VWME.js +0 -6397
  40. package/dist/chunk-5NEFN42O.js +0 -7791
  41. package/dist/chunk-63MEQ6UH.js +0 -7673
  42. package/dist/chunk-6H3NXFX3.js +0 -6861
  43. package/dist/chunk-7IDQLLBW.js +0 -311
  44. package/dist/chunk-7NP64TGJ.js +0 -6822
  45. package/dist/chunk-AATLY4KT.js +0 -6505
  46. package/dist/chunk-C7QUR7XX.js +0 -6397
  47. package/dist/chunk-CGKCE6MC.js +0 -6279
  48. package/dist/chunk-D25V6IWE.js +0 -6487
  49. package/dist/chunk-EQOZSXAT.js +0 -6822
  50. package/dist/chunk-FPHD7HSQ.js +0 -6812
  51. package/dist/chunk-GGJJUCFK.js +0 -7160
  52. package/dist/chunk-GLHOY3NN.js +0 -7805
  53. package/dist/chunk-GML5MKQA.js +0 -6398
  54. package/dist/chunk-GOL6FUJL.js +0 -6045
  55. package/dist/chunk-GSWHWEYC.js +0 -1346
  56. package/dist/chunk-HDKEQOF5.js +0 -7788
  57. package/dist/chunk-HZGSWVVS.js +0 -7111
  58. package/dist/chunk-IGZ5TICZ.js +0 -334
  59. package/dist/chunk-IRKQG33A.js +0 -7054
  60. package/dist/chunk-JFTBF4JR.js +0 -6040
  61. package/dist/chunk-JVLVBPUJ.js +0 -6180
  62. package/dist/chunk-JY3KC67R.js +0 -6504
  63. package/dist/chunk-KUFBCBNJ.js +0 -6815
  64. package/dist/chunk-KV7KDJ43.js +0 -7639
  65. package/dist/chunk-L5IJZV5F.js +0 -6822
  66. package/dist/chunk-MFFPQLU4.js +0 -7102
  67. package/dist/chunk-MJS2YKNR.js +0 -6397
  68. package/dist/chunk-MN6LCZHZ.js +0 -1320
  69. package/dist/chunk-NBAUZ7X2.js +0 -1336
  70. package/dist/chunk-NDBW6ELQ.js +0 -7638
  71. package/dist/chunk-O2HBSDI2.js +0 -6175
  72. package/dist/chunk-OFFIUYMG.js +0 -6341
  73. package/dist/chunk-OVCQGF2J.js +0 -1321
  74. package/dist/chunk-P4S7ZY6G.js +0 -7638
  75. package/dist/chunk-PBHUHSC3.js +0 -6002
  76. package/dist/chunk-PC4LR4ZI.js +0 -6359
  77. package/dist/chunk-PMTGGZ7R.js +0 -6397
  78. package/dist/chunk-PTXSB3UV.js +0 -497
  79. package/dist/chunk-PYUCY3U6.js +0 -1340
  80. package/dist/chunk-RDZDSOAL.js +0 -7750
  81. package/dist/chunk-RLW2OI2L.js +0 -6383
  82. package/dist/chunk-RUGHHO4K.js +0 -6395
  83. package/dist/chunk-SIOQVM2E.js +0 -6819
  84. package/dist/chunk-SR67SRIT.js +0 -1336
  85. package/dist/chunk-SSRXIO2V.js +0 -6822
  86. package/dist/chunk-SWSEKFON.js +0 -6487
  87. package/dist/chunk-TBG76CYG.js +0 -6395
  88. package/dist/chunk-V3CBINLD.js +0 -6812
  89. package/dist/chunk-VPYSLEGM.js +0 -6710
  90. package/dist/chunk-VY3BLXBW.js +0 -329
  91. package/dist/chunk-WTFOGVJQ.js +0 -6365
  92. package/dist/chunk-X64SFUT5.js +0 -6099
  93. package/dist/chunk-XIBF5LBD.js +0 -6395
  94. package/dist/chunk-Y5VDMSYC.js +0 -6701
  95. package/dist/chunk-YUBL36H4.js +0 -6605
  96. package/dist/chunk-YWVXFVSW.js +0 -6456
  97. package/dist/chunk-ZXZACOLD.js +0 -6822
  98. package/dist/db-IWIL65EX.js +0 -33
  99. package/dist/gridCompositor-ENKLFPWR.js +0 -409
  100. package/dist/playwright-A3OGSDRG.js +0 -38
  101. package/dist/playwright-ATDC4NYW.js +0 -38
  102. package/dist/playwright-E6EUFIJG.js +0 -38
  103. package/dist/server-2DXLKLFM.js +0 -13
  104. package/dist/server-2ICEWJVK.js +0 -13
  105. package/dist/server-2MQV3FNY.js +0 -13
  106. package/dist/server-2NGD7GE3.js +0 -13
  107. package/dist/server-2VKO76UK.js +0 -14
  108. package/dist/server-3BK2VFU7.js +0 -13
  109. package/dist/server-4LDOB3NX.js +0 -13
  110. package/dist/server-4YI44KDR.js +0 -13
  111. package/dist/server-64XMXA5P.js +0 -13
  112. package/dist/server-6IPHVUYT.js +0 -14
  113. package/dist/server-73ORHMJN.js +0 -13
  114. package/dist/server-73P7M3QB.js +0 -14
  115. package/dist/server-BPVRW5LJ.js +0 -14
  116. package/dist/server-BW4RKZIX.js +0 -13
  117. package/dist/server-CFS5SM5K.js +0 -13
  118. package/dist/server-DX7VYHHM.js +0 -13
  119. package/dist/server-F3YPX6ET.js +0 -13
  120. package/dist/server-FUXTR33I.js +0 -13
  121. package/dist/server-G2SY3DOS.js +0 -13
  122. package/dist/server-G32U7VOQ.js +0 -13
  123. package/dist/server-IOOZK4NP.js +0 -14
  124. package/dist/server-J52LMTBT.js +0 -13
  125. package/dist/server-JG7UKFGK.js +0 -14
  126. package/dist/server-JSCHEBOD.js +0 -13
  127. package/dist/server-K6KC4ZOM.js +0 -13
  128. package/dist/server-KJVRGWFE.js +0 -13
  129. package/dist/server-LCPB2L4U.js +0 -13
  130. package/dist/server-M7LDYKAJ.js +0 -13
  131. package/dist/server-MKVK6ZQQ.js +0 -13
  132. package/dist/server-MU52LCXT.js +0 -13
  133. package/dist/server-NM5CKDUU.js +0 -13
  134. package/dist/server-NPZN3FWO.js +0 -14
  135. package/dist/server-O5FIAHSY.js +0 -14
  136. package/dist/server-OESJUEYC.js +0 -13
  137. package/dist/server-ONSKQO4W.js +0 -13
  138. package/dist/server-P27BZXBL.js +0 -14
  139. package/dist/server-Q4FBWQUA.js +0 -13
  140. package/dist/server-RNQ7VUAL.js +0 -13
  141. package/dist/server-S6B5WUBT.js +0 -14
  142. package/dist/server-SRYNSGSP.js +0 -14
  143. package/dist/server-SUN3W2YK.js +0 -13
  144. package/dist/server-UA62LHZB.js +0 -13
  145. package/dist/server-UJB44EW5.js +0 -13
  146. package/dist/server-X3TLP6DX.js +0 -14
  147. package/dist/server-YT2UGEZK.js +0 -13
  148. package/dist/server-ZBPQ33V6.js +0 -14
  149. package/dist/setup-AQX4JQVR.js +0 -17
  150. package/dist/setup-EQTU7FI6.js +0 -17
  151. package/dist/tools-2KPB37GK.js +0 -178
  152. package/dist/tools-3H6IOWXV.js +0 -178
  153. package/dist/tools-3KYHPDCJ.js +0 -178
  154. package/dist/tools-75BAPCUM.js +0 -177
  155. package/dist/tools-BUVCUCRL.js +0 -178
  156. package/dist/tools-HDNODRS6.js +0 -178
  157. package/dist/tools-HP5MNY3D.js +0 -177
  158. package/dist/tools-N5N2IO7V.js +0 -178
  159. package/dist/tools-NFJEZ2FF.js +0 -177
  160. package/dist/tools-TLCKABUW.js +0 -178
package/dist/index.d.ts CHANGED
@@ -1593,6 +1593,128 @@ declare function nextEventSeq(): number;
1593
1593
  */
1594
1594
  declare function resetEventSeq(): void;
1595
1595
 
1596
+ interface ESVPResolvedConnection {
1597
+ mode: 'remote' | 'local';
1598
+ serverUrl: string;
1599
+ }
1600
+
1601
+ /**
1602
+ * ESVP Public Client
1603
+ *
1604
+ * Thin HTTP adapter for the public ESVP contract.
1605
+ * This client intentionally depends only on the open contract and does not
1606
+ * embed any private Entropy Lab implementation details.
1607
+ *
1608
+ * Connection modes:
1609
+ * - remote: explicit serverUrl or ESVP_BASE_URL
1610
+ * - local: embedded OSS runtime via @entropylab/esvp-local or DISCOVERYLAB_ESVP_LOCAL_MODULE
1611
+ */
1612
+
1613
+ type ESVPExecutor = 'fake' | 'adb' | 'ios-sim' | 'maestro-ios';
1614
+ interface ESVPArtifactSummary {
1615
+ t?: number;
1616
+ kind?: string;
1617
+ path?: string;
1618
+ sha256?: string;
1619
+ bytes?: number;
1620
+ meta?: Record<string, unknown> | null;
1621
+ abs_path?: string | null;
1622
+ [key: string]: unknown;
1623
+ }
1624
+ interface ESVPManagedProxyState {
1625
+ id?: string | null;
1626
+ active?: boolean;
1627
+ bind_host?: string | null;
1628
+ host?: string | null;
1629
+ port?: number | null;
1630
+ url?: string | null;
1631
+ started_at?: string | null;
1632
+ entry_count?: number | null;
1633
+ capture_mode?: string | null;
1634
+ [key: string]: unknown;
1635
+ }
1636
+ interface ESVPSessionNetworkState {
1637
+ supported?: boolean;
1638
+ capabilities?: Record<string, unknown> | null;
1639
+ active_profile?: Record<string, unknown> | null;
1640
+ effective_profile?: Record<string, unknown> | null;
1641
+ managed_proxy?: ESVPManagedProxyState | null;
1642
+ configured_at?: string | null;
1643
+ cleared_at?: string | null;
1644
+ trace_count?: number;
1645
+ trace_kinds?: string[];
1646
+ last_result?: Record<string, unknown> | null;
1647
+ last_error?: string | null;
1648
+ [key: string]: unknown;
1649
+ }
1650
+ interface ESVPCreateSessionInput {
1651
+ executor: ESVPExecutor;
1652
+ deviceId?: string;
1653
+ meta?: Record<string, unknown>;
1654
+ crash_clip?: {
1655
+ enabled?: boolean;
1656
+ pre_seconds?: number;
1657
+ post_seconds?: number;
1658
+ chunk_seconds?: number;
1659
+ };
1660
+ }
1661
+ interface ESVPAction {
1662
+ name: string;
1663
+ args?: Record<string, unknown>;
1664
+ checkpointAfter?: boolean;
1665
+ checkpointLabel?: string;
1666
+ }
1667
+ declare function getESVPBaseUrl(serverUrl?: string): string;
1668
+ declare function resolveESVPBaseUrl(serverUrl?: string): Promise<string>;
1669
+ declare function getESVPConnection(serverUrl?: string): Promise<ESVPResolvedConnection>;
1670
+ declare function getESVPHealth(serverUrl?: string): Promise<any>;
1671
+ declare function listESVPSessions(serverUrl?: string): Promise<any>;
1672
+ declare function createESVPSession(input: ESVPCreateSessionInput, serverUrl?: string): Promise<any>;
1673
+ declare function getESVPSession(sessionId: string, serverUrl?: string): Promise<any>;
1674
+ declare function getESVPTranscript(sessionId: string, serverUrl?: string): Promise<any>;
1675
+ declare function listESVPArtifacts(sessionId: string, serverUrl?: string): Promise<any>;
1676
+ declare function runESVPActions(sessionId: string, input: {
1677
+ actions: ESVPAction[];
1678
+ finish?: boolean;
1679
+ captureLogcat?: boolean;
1680
+ checkpointAfterEach?: boolean;
1681
+ }, serverUrl?: string): Promise<any>;
1682
+ declare function finishESVPSession(sessionId: string, input?: {
1683
+ captureLogcat?: boolean;
1684
+ }, serverUrl?: string): Promise<any>;
1685
+ interface ESVPPreflightRule {
1686
+ kind: 'permission' | 'dismiss_dialog' | 'wait_for_stable' | 'clear_data' | 'set_setting';
1687
+ [key: string]: unknown;
1688
+ }
1689
+ interface ESVPPreflightConfig {
1690
+ policy?: string;
1691
+ appId?: string;
1692
+ rules?: ESVPPreflightRule[];
1693
+ [key: string]: unknown;
1694
+ }
1695
+ declare function runESVPPreflight(sessionId: string, config: ESVPPreflightConfig, serverUrl?: string): Promise<any>;
1696
+ declare function inspectESVPSession(sessionId: string, input?: {
1697
+ includeTranscript?: boolean;
1698
+ includeArtifacts?: boolean;
1699
+ }, serverUrl?: string): Promise<any>;
1700
+ declare function getESVPArtifactContent(sessionId: string, artifactPath: string, serverUrl?: string): Promise<any>;
1701
+ declare function getESVPSessionNetwork(sessionId: string, serverUrl?: string): Promise<any>;
1702
+ declare function replayESVPSession(sessionId: string, input?: {
1703
+ executor?: ESVPExecutor;
1704
+ deviceId?: string;
1705
+ captureLogcat?: boolean;
1706
+ meta?: Record<string, unknown>;
1707
+ }, serverUrl?: string): Promise<any>;
1708
+ declare function getESVPReplayConsistency(sessionId: string, serverUrl?: string): Promise<any>;
1709
+ declare function validateESVPReplay(sessionId: string, serverUrl?: string): Promise<any>;
1710
+ declare function captureESVPCheckpoint(sessionId: string, input?: {
1711
+ label?: string;
1712
+ }, serverUrl?: string): Promise<any>;
1713
+ declare function configureESVPNetwork(sessionId: string, input: Record<string, unknown>, serverUrl?: string): Promise<any>;
1714
+ declare function clearESVPNetwork(sessionId: string, serverUrl?: string): Promise<any>;
1715
+ declare function attachESVPNetworkTrace(sessionId: string, input: Record<string, unknown>, serverUrl?: string): Promise<any>;
1716
+ declare function listESVPDevices(platform?: 'adb' | 'ios-sim' | 'maestro-ios' | 'all', serverUrl?: string): Promise<any>;
1717
+
1596
1718
  /**
1597
1719
  * DiscoveryLab Skills System - Types
1598
1720
  *
@@ -1814,4 +1936,4 @@ declare function formatSkillInfo(skill: Skill): string;
1814
1936
  */
1815
1937
  declare function formatSkillList(skills: Skill[]): string;
1816
1938
 
1817
- export { type ActionEventPayload, type ConnectedEventPayload, type ErrorEventPayload, type ExportDestination, type ExportRule, type Frame, type GatingResult, type LiveFrameEventPayload, type LiveStreamStartParams, type LiveStreamStartResponse, type LiveStreamStopParams, type LiveStreamStopResponse, type LiveStreamTapParams, type NewExportDestination, type NewExportRule, type NewFrame, type NewProject, type NewProjectExport, type NewSetting, type NewTestVariable, type ParsedSkillMd, type PingParams, type PingResponse, type Project, type ProjectCreateParams, type ProjectDeleteParams, type ProjectExport, type ProjectGetParams, type ProjectListParams, type RecorderStartParams, type RecorderStartResponse, type RecorderStatusParams, type RecorderStopParams, type RecorderStopResponse, type ScreenshotEventPayload, type SessionEventPayload, type Setting, type Skill, type SkillCategory, type SkillInstallInfo, type SkillLoadResult, type SkillMetadata, type SkillRegistry, type SkillRequirements, type StatusEventPayload, type SupportedOS, type TestVariable, type ValidationError, type ValidationResult, type WSEvent, type WSEventMap, type WSEventType, type WSMessage, type WSMethod, type WSMethodMap, type WSRequest, type WSResponse, availableEvents, availableMethods, checkBinaries, checkBinary, checkEnvVar, checkEnvVars, checkOS, checkSkillRequirements, closeDatabase, createEvent, createRequest, createResponse, createSkillRegistry, exportDestinations, exportRules, formatSkillInfo, formatSkillList, formatValidationErrors, frames, generateSkillMd, getCurrentOS, getDatabase, getInstallInstructions, getSkillRegistry, isWSEvent, isWSMessage, isWSRequest, isWSResponse, loadSkills, mcpServer, nextEventSeq, parseSkillMd, projectExports, projects, readSkillMd, reloadSkillRegistry, resetEventSeq, schemas, settings, startServer, stopServer, testVariables, validateEvent, validateMethodParams, validateRequest, validateResponse };
1939
+ export { type ActionEventPayload, type ConnectedEventPayload, type ESVPAction, type ESVPArtifactSummary, type ESVPCreateSessionInput, type ESVPExecutor, type ESVPManagedProxyState, type ESVPPreflightConfig, type ESVPPreflightRule, type ESVPSessionNetworkState, type ErrorEventPayload, type ExportDestination, type ExportRule, type Frame, type GatingResult, type LiveFrameEventPayload, type LiveStreamStartParams, type LiveStreamStartResponse, type LiveStreamStopParams, type LiveStreamStopResponse, type LiveStreamTapParams, type NewExportDestination, type NewExportRule, type NewFrame, type NewProject, type NewProjectExport, type NewSetting, type NewTestVariable, type ParsedSkillMd, type PingParams, type PingResponse, type Project, type ProjectCreateParams, type ProjectDeleteParams, type ProjectExport, type ProjectGetParams, type ProjectListParams, type RecorderStartParams, type RecorderStartResponse, type RecorderStatusParams, type RecorderStopParams, type RecorderStopResponse, type ScreenshotEventPayload, type SessionEventPayload, type Setting, type Skill, type SkillCategory, type SkillInstallInfo, type SkillLoadResult, type SkillMetadata, type SkillRegistry, type SkillRequirements, type StatusEventPayload, type SupportedOS, type TestVariable, type ValidationError, type ValidationResult, type WSEvent, type WSEventMap, type WSEventType, type WSMessage, type WSMethod, type WSMethodMap, type WSRequest, type WSResponse, attachESVPNetworkTrace, availableEvents, availableMethods, captureESVPCheckpoint, checkBinaries, checkBinary, checkEnvVar, checkEnvVars, checkOS, checkSkillRequirements, clearESVPNetwork, closeDatabase, configureESVPNetwork, createESVPSession, createEvent, createRequest, createResponse, createSkillRegistry, exportDestinations, exportRules, finishESVPSession, formatSkillInfo, formatSkillList, formatValidationErrors, frames, generateSkillMd, getCurrentOS, getDatabase, getESVPArtifactContent, getESVPBaseUrl, getESVPConnection, getESVPHealth, getESVPReplayConsistency, getESVPSession, getESVPSessionNetwork, getESVPTranscript, getInstallInstructions, getSkillRegistry, inspectESVPSession, isWSEvent, isWSMessage, isWSRequest, isWSResponse, listESVPArtifacts, listESVPDevices, listESVPSessions, loadSkills, mcpServer, nextEventSeq, parseSkillMd, projectExports, projects, readSkillMd, reloadSkillRegistry, replayESVPSession, resetEventSeq, resolveESVPBaseUrl, runESVPActions, runESVPPreflight, schemas, settings, startServer, stopServer, testVariables, validateESVPReplay, validateEvent, validateMethodParams, validateRequest, validateResponse };