@jshookmcp/jshook 0.3.0 → 0.3.2
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/LICENSE +661 -661
- package/README.md +32 -49
- package/README.zh.md +32 -47
- package/dist/AntiCheatDetector-B6d4Qe9D.mjs +1 -0
- package/dist/BrowserSessionCoordinator-BJ-HOxo0.mjs +1 -0
- package/dist/CacheAdapters-CsNtQIR8.mjs +1 -0
- package/dist/CodeInjector-Cll_7bLJ.mjs +1 -0
- package/dist/ConsoleMonitor-CxDJV15E.mjs +306 -0
- package/dist/DOMInspector-C19J4zeq.mjs +95 -0
- package/dist/DarwinAPI-ZfQdpLNI.mjs +1 -0
- package/dist/DetailedDataManager-DmQ1LT-W.mjs +1 -0
- package/dist/EventBus-DL8iLA09.mjs +1 -0
- package/dist/EvidenceGraphBridge-BtbwXsLC.mjs +1 -0
- package/dist/ExtensionManager-BD724zkO.mjs +1 -0
- package/dist/ExtensionManager.tools-oVMJgPcN.mjs +1 -0
- package/dist/FingerprintManager-DT0EAUEo.mjs +1 -0
- package/dist/HardwareBreakpoint-BUfPdp0f.mjs +1 -0
- package/dist/HeapAnalyzer-B_aqY8oj.mjs +1 -0
- package/dist/{HookGeneratorBuilders.core.generators.storage-CTbB4Lcx.mjs → HookGeneratorBuilders.core.generators.storage-DzD6dIJd.mjs} +66 -101
- package/dist/InstrumentationSession-D_G1ZPyd.mjs +1 -0
- package/dist/MCPServer.search.handlers.domain-BbS-6LnX.mjs +1 -0
- package/dist/MemoryController-X1XNSn1n.mjs +2 -0
- package/dist/MemoryScanSession-DG_F-PjE.mjs +1 -0
- package/dist/MemoryScanner-g1_L1ub5.mjs +1 -0
- package/dist/NativeMemoryManager.impl-DniBe2wf.mjs +1 -0
- package/dist/NativeMemoryManager.utils-BHy1P_jM.mjs +1 -0
- package/dist/NetworkMonitor-B_-au6aV.mjs +185 -0
- package/dist/PEAnalyzer-yWQaGrcx.mjs +1 -0
- package/dist/PageController-Dfsm1_o7.mjs +1 -0
- package/dist/PointerChainEngine-BhCUkmxY.mjs +1 -0
- package/dist/PrerequisiteError-BjCQA-gK.mjs +1 -0
- package/dist/ProcessRegistry-C-bN48oR.mjs +1 -0
- package/dist/ResponseBuilder-BfWP-uaT.mjs +1 -0
- package/dist/ReverseEvidenceGraph-BhSYYdiI.mjs +2 -0
- package/dist/RingBuffer-Dm54ELKT.mjs +1 -0
- package/dist/ScriptManager-LWGPTdvD.mjs +7 -0
- package/dist/ServerRuntimeState-D2bWHqEE.mjs +1 -0
- package/dist/Speedhack-yseDPSZ9.mjs +1 -0
- package/dist/StealthVerifier-BmcxfwSF.mjs +1 -0
- package/dist/StructureAnalyzer-C5lpuZkg.mjs +2 -0
- package/dist/ToolCatalog-CYdD9F5f.mjs +1 -0
- package/dist/ToolError-DWU_z7gp.mjs +1 -0
- package/dist/ToolProbe-C7ZU2x7M.mjs +1 -0
- package/dist/ToolRegistry-C5oB8KP8.mjs +1 -0
- package/dist/ToolRouter.policy-CfhJczkt.mjs +4 -0
- package/dist/TraceRecorder-BiJWBXHX.mjs +272 -0
- package/dist/VersionDetector-CHT36Az0.mjs +9 -0
- package/dist/Win32API-eUCF57l_.mjs +1 -0
- package/dist/Win32Debug-CYrIQBvr.mjs +1 -0
- package/dist/WorkflowEngine-D876meOO.mjs +1 -0
- package/dist/analysis-D4swdMvq.mjs +6 -0
- package/dist/{antidebug-BRKeyt27.mjs → antidebug-7L3ygj_9.mjs} +8 -259
- package/dist/apk-packer-BqXcInnX.mjs +1 -0
- package/dist/artifactRetention-BCPQASm7.mjs +1 -0
- package/dist/artifacts-CkodUM4j.mjs +1 -0
- package/dist/authorization-schema-BOFwSXUN.mjs +1 -0
- package/dist/betterSqlite3-Brtq-SIQ.mjs +1 -0
- package/dist/binary-instrument-DU7V6TUM.mjs +7 -0
- package/dist/binary-secrets-PdMVoyt0.mjs +1 -0
- package/dist/bind-helpers-m2U8glkF.mjs +1 -0
- package/dist/boringssl-inspector-BBaJwwkU.mjs +2 -0
- package/dist/browser-Qqco2rOT.mjs +11 -0
- package/dist/capabilities-CyXuKUl1.mjs +1 -0
- package/dist/chunk-C_pMuVsO.mjs +1 -0
- package/dist/collector-Bpl6qy2L.mjs +1 -0
- package/dist/concurrency-DCr8WQ2M.mjs +1 -0
- package/dist/constants-BYj8Xek8.mjs +1 -0
- package/dist/coordination-CWXW1o8K.mjs +1 -0
- package/dist/dart-inspector-7AkPeZ_Q.mjs +0 -0
- package/dist/debugger-DyALjYMk.mjs +1 -0
- package/dist/definitions-BWxBke3r.mjs +1 -0
- package/dist/definitions-BYwATKc-.mjs +1 -0
- package/dist/definitions-B_83XfNQ.mjs +1 -0
- package/dist/definitions-Bf3H1EwV.mjs +1 -0
- package/dist/definitions-BftdXgXI.mjs +1 -0
- package/dist/definitions-Bio5XJYy.mjs +1 -0
- package/dist/definitions-C3qNgSn1.mjs +1 -0
- package/dist/definitions-CB6vmOer.mjs +1 -0
- package/dist/definitions-CMZRSy3k.mjs +1 -0
- package/dist/definitions-CQd7yCQH.mjs +1 -0
- package/dist/definitions-CT8ln6GQ.mjs +1 -0
- package/dist/definitions-Cenu6mxo.mjs +1 -0
- package/dist/definitions-D4g-MS10.mjs +1 -0
- package/dist/definitions-D5wl_8HN.mjs +1 -0
- package/dist/definitions-DAQm1Xar.mjs +1 -0
- package/dist/definitions-DP1vgxEY.mjs +1 -0
- package/dist/definitions-DxFNRQNK2.mjs +1 -0
- package/dist/definitions-Ibci7e_L.mjs +1 -0
- package/dist/definitions-OeLvmlQy.mjs +1 -0
- package/dist/definitions-RZYGD_Ey.mjs +1 -0
- package/dist/definitions-Tls8c0A0.mjs +1 -0
- package/dist/definitions-bybDvnG0.mjs +26 -0
- package/dist/definitions-l7TjdE6V.mjs +1 -0
- package/dist/encoding-ycOaz8Vr.mjs +2 -0
- package/dist/ensure-browser-core-DxWC-NTp.mjs +1 -0
- package/dist/evidence-graph-bridge-CV_UdYqj.mjs +1 -0
- package/dist/factory-CKr4fAE1.mjs +1 -0
- package/dist/flat-target-session-DvcQX7J5.mjs +1 -0
- package/dist/formatAddress-vLA_hOJt.mjs +1 -0
- package/dist/graphql-B2TiPEow.mjs +62 -0
- package/dist/handlers-0yKLRIfo.mjs +2 -0
- package/dist/handlers-8zN_vBIz.mjs +1 -0
- package/dist/handlers-B62K4FTc.mjs +1 -0
- package/dist/handlers-BpDlVVVU.mjs +1 -0
- package/dist/handlers-CMJK7m1c.mjs +31 -0
- package/dist/handlers-D2ZOul9p.mjs +54 -0
- package/dist/handlers-D5E40ssn.mjs +5 -0
- package/dist/handlers-DGbdQAgD.mjs +4 -0
- package/dist/handlers-DHO3rjsW.mjs +1 -0
- package/dist/handlers-FJ80VzUI.mjs +2 -0
- package/dist/handlers-VHWrxbM_.mjs +1 -0
- package/dist/handlers-l8QIKqBj.mjs +2 -0
- package/dist/handlers-mPFiNPe8.mjs +302 -0
- package/dist/{handlers-Dz9PYsCa.mjs → handlers-yo_xYzT8.mjs} +118 -904
- package/dist/handlers.impl-D9Hh8Bgl.mjs +1 -0
- package/dist/hooks-D4XLfgtV.mjs +600 -0
- package/dist/index.mjs +13 -5240
- package/dist/jadx-search-B_Yse0Zh.mjs +5 -0
- package/dist/logger-sBC6IdRT.mjs +1 -0
- package/dist/maintenance-BUpIukhg.mjs +1 -0
- package/dist/manifest-0Jpt_AQa.mjs +1 -0
- package/dist/manifest-B3fZbSWR.mjs +1 -0
- package/dist/manifest-B7NB2rh2.mjs +1 -0
- package/dist/manifest-BDi4nbH1.mjs +1 -0
- package/dist/manifest-BLDfkE7n.mjs +1 -0
- package/dist/manifest-BcXbB4gf.mjs +1 -0
- package/dist/manifest-Bdnc_vrc.mjs +1 -0
- package/dist/manifest-BuYKgCnp.mjs +1 -0
- package/dist/manifest-CBfNnGPV.mjs +1 -0
- package/dist/manifest-CPS1Xv69.mjs +1 -0
- package/dist/manifest-CQH9FhwI.mjs +1 -0
- package/dist/manifest-CRryuZF4.mjs +1 -0
- package/dist/manifest-CctIumog.mjs +1 -0
- package/dist/manifest-CvTe5ZGV2.mjs +1 -0
- package/dist/manifest-D-5GH0DV.mjs +1 -0
- package/dist/manifest-D3Ssf3IC.mjs +1 -0
- package/dist/manifest-D5ck3NvC.mjs +1 -0
- package/dist/manifest-D9jUUJAu.mjs +1 -0
- package/dist/manifest-DCx6w2XV.mjs +1 -0
- package/dist/manifest-DG19q-Ld.mjs +1 -0
- package/dist/manifest-DLMlD0Zc.mjs +1 -0
- package/dist/manifest-DYpn8w_h.mjs +1 -0
- package/dist/manifest-DYzWI8Xs.mjs +1 -0
- package/dist/manifest-D_obs5F4.mjs +1 -0
- package/dist/manifest-DujQqEQR.mjs +2 -0
- package/dist/manifest-DwL2ik8P.mjs +1 -0
- package/dist/manifest-ItF5P8A12.mjs +1 -0
- package/dist/manifest-KZphqIyX.mjs +1 -0
- package/dist/manifest-LG42zPLY2.mjs +1 -0
- package/dist/manifest-LLdI5m4T.mjs +1 -0
- package/dist/manifest-QYbQXJn0.mjs +1 -0
- package/dist/manifest-RcpX_MyZ.mjs +123 -0
- package/dist/manifest-YgVd8Sgz.mjs +1 -0
- package/dist/manifest-Zy7Odg5J.mjs +1 -0
- package/dist/manifest-ff1H7Pdp.mjs +1 -0
- package/dist/manifest-iuhF6pTL2.mjs +1 -0
- package/dist/manifest-nXHmtMSp2.mjs +1 -0
- package/dist/manifest-xWfu6iLo.mjs +1 -0
- package/dist/manifest-yC16OhL2.mjs +1 -0
- package/dist/manifest-ztWJoXy4.mjs +1 -0
- package/dist/matchesWildcardPattern-BAG6LvX5.mjs +1 -0
- package/dist/modules-BPBcSaM-.mjs +333 -0
- package/dist/mojo-ipc-BhwsdVUW.mjs +9 -0
- package/dist/native/scripts/linux/enum-windows.sh +12 -12
- package/dist/native/scripts/macos/enum-windows.applescript +22 -22
- package/dist/native-j8l473zn.mjs +961 -0
- package/dist/network-T0VRwNPd.mjs +7 -0
- package/dist/outputPaths-B4Ic4RZh.mjs +2 -0
- package/dist/parse-args-Bw413PlW.mjs +1 -0
- package/dist/platform-CzaQtISh.mjs +93 -0
- package/dist/playwright-cdp-fallback-DqFdx9-s.mjs +1 -0
- package/dist/process-CWhsCWrf.mjs +2 -0
- package/dist/proxy-DZFlDsG3.mjs +2 -0
- package/dist/registry-DH4sc1dt.mjs +1 -0
- package/dist/renderer-pid-9tJnZ_9N.mjs +1 -0
- package/dist/response-C7rKQst4.mjs +1 -0
- package/dist/search-defaults-lYBVn_3L.mjs +1 -0
- package/dist/server/plugin-api.d.mts +19 -36
- package/dist/server/plugin-api.mjs +1 -293
- package/dist/shared-state-board-BSjXLUV1.mjs +1 -0
- package/dist/sourcemap-Dh3Ai_ur.mjs +1 -0
- package/dist/ssrf-policy-CsIJGkpd.mjs +1 -0
- package/dist/streaming-BcJ0B6ao.mjs +1 -0
- package/dist/tool-builder-qif8M9-K.mjs +1 -0
- package/dist/transform-DOxzeWPB.mjs +103 -0
- package/dist/types-D9EiE5o9.mjs +1 -0
- package/dist/types-Fz69RzbZ.mjs +1 -0
- package/dist/wasm-CZ_HTfKR.mjs +174 -0
- package/dist/webcrack-C1iYG_EX.mjs +46 -0
- package/dist/workflow-BdwQmARn.mjs +101 -0
- package/package.json +55 -82
- package/src/native/scripts/linux/enum-windows.sh +12 -12
- package/src/native/scripts/macos/enum-windows.applescript +22 -22
- package/dist/AntiCheatDetector-CqGDXmfc.mjs +0 -350
- package/dist/CacheAdapters-jJFy20G-.mjs +0 -80
- package/dist/CodeInjector-BdjRfNx7.mjs +0 -150
- package/dist/ConsoleMonitor-DykL3IAw.mjs +0 -2269
- package/dist/DarwinAPI-ETyy0xyo.mjs +0 -363
- package/dist/DetailedDataManager-HT49OrvF.mjs +0 -217
- package/dist/EventBus-DFKvADm3.mjs +0 -141
- package/dist/EvidenceGraphBridge-318Oi0Lf.mjs +0 -153
- package/dist/ExtensionManager-BDMsY2Dz.mjs +0 -721
- package/dist/FingerprintManager-BN4UQWnX.mjs +0 -96
- package/dist/HardwareBreakpoint-Cc2AFq1Y.mjs +0 -239
- package/dist/HeapAnalyzer-DruMgsgj.mjs +0 -284
- package/dist/InstrumentationSession-DLH0vd-z.mjs +0 -244
- package/dist/MemoryController-CMtviNW_.mjs +0 -167
- package/dist/MemoryScanSession-ITgb_NMi.mjs +0 -278
- package/dist/MemoryScanner-CiL7Z3ey.mjs +0 -428
- package/dist/NativeMemoryManager.impl-D9Lkovvn.mjs +0 -485
- package/dist/NativeMemoryManager.utils-BBlAixF5.mjs +0 -165
- package/dist/PEAnalyzer-DMQ44gen.mjs +0 -385
- package/dist/PageController-BPJNqqBN.mjs +0 -431
- package/dist/PointerChainEngine-K7wN8Z-w.mjs +0 -325
- package/dist/PrerequisiteError-TuyZIs6n.mjs +0 -20
- package/dist/ProcessRegistry-zGg12QbE.mjs +0 -74
- package/dist/ResponseBuilder-CJXWmWNw.mjs +0 -143
- package/dist/ReverseEvidenceGraph-C02-gXOh.mjs +0 -269
- package/dist/ScriptManager-ZuWD-0Jg.mjs +0 -3003
- package/dist/Speedhack-D-z0umeT.mjs +0 -156
- package/dist/StealthVerifier-BWmPgQsv.mjs +0 -135
- package/dist/StructureAnalyzer-Cav5AVSL.mjs +0 -429
- package/dist/ToolCatalog-5OJdMiF0.mjs +0 -582
- package/dist/ToolError-jh9whhMd.mjs +0 -15
- package/dist/ToolProbe-DbCFGyrg.mjs +0 -45
- package/dist/ToolRegistry-B9krbTtI.mjs +0 -180
- package/dist/ToolRouter.policy-BGDAGyeH.mjs +0 -344
- package/dist/TraceRecorder-B41Z5XBj.mjs +0 -1286
- package/dist/VersionDetector-K3V4vGsw.mjs +0 -104
- package/dist/Win32API-C2kjj0ze.mjs +0 -346
- package/dist/Win32Debug-CKrGOTpo.mjs +0 -274
- package/dist/WorkflowEngine-DJ6M4opp.mjs +0 -569
- package/dist/analysis-BHeJW2Nb.mjs +0 -1234
- package/dist/artifactRetention-CPXkUJXp.mjs +0 -598
- package/dist/artifacts-DkfosXH3.mjs +0 -59
- package/dist/authorization-schema-DRqyJMSk.mjs +0 -31
- package/dist/betterSqlite3-DLSBZodi.mjs +0 -74
- package/dist/binary-instrument--V3MAhJ4.mjs +0 -971
- package/dist/bind-helpers-ClV34xdn.mjs +0 -42
- package/dist/boringssl-inspector-Bo_LOLaS.mjs +0 -180
- package/dist/browser-Dx3_S2cG.mjs +0 -4369
- package/dist/capabilities-CcHlvWgK.mjs +0 -33
- package/dist/chunk-CjcI7cDX.mjs +0 -15
- package/dist/concurrency-Drev_Vz9.mjs +0 -41
- package/dist/constants-CDZLOoVv.mjs +0 -534
- package/dist/coordination-DgItD9DL.mjs +0 -259
- package/dist/debugger-RS3RSAqs.mjs +0 -1288
- package/dist/definitions-BEoYofW5.mjs +0 -47
- package/dist/definitions-BRaefg3u.mjs +0 -365
- package/dist/definitions-BbkvZkiv.mjs +0 -96
- package/dist/definitions-BtWSHJ3o.mjs +0 -17
- package/dist/definitions-C1gCHO0i.mjs +0 -43
- package/dist/definitions-CDOg_b-l.mjs +0 -138
- package/dist/definitions-CVPD9hzZ.mjs +0 -54
- package/dist/definitions-Cea8Lgl7.mjs +0 -94
- package/dist/definitions-DAgIyjxM.mjs +0 -10
- package/dist/definitions-DJA27nsL.mjs +0 -66
- package/dist/definitions-DKPFU3LW.mjs +0 -25
- package/dist/definitions-DPRpZQ96.mjs +0 -47
- package/dist/definitions-DUE5gmdn.mjs +0 -18
- package/dist/definitions-DYVjOtxa.mjs +0 -26
- package/dist/definitions-DcYLVLCo.mjs +0 -37
- package/dist/definitions-Pp5LI2H4.mjs +0 -27
- package/dist/definitions-j9KdHVNR.mjs +0 -14
- package/dist/definitions-uzkjBwa7.mjs +0 -258
- package/dist/definitions-va-AnLuQ.mjs +0 -28
- package/dist/encoding-DJeqHmpd.mjs +0 -1079
- package/dist/evidence-graph-bridge-DcYizFk2.mjs +0 -136
- package/dist/factory-C90tBff6.mjs +0 -575
- package/dist/flat-target-session-Dgax2Cy3.mjs +0 -29
- package/dist/formatAddress-nnMvEohD.mjs +0 -17
- package/dist/graphql-CoHrhweh.mjs +0 -1197
- package/dist/handlers-4jmR0nMs.mjs +0 -898
- package/dist/handlers-BAHPxcch.mjs +0 -789
- package/dist/handlers-BOs9b907.mjs +0 -2600
- package/dist/handlers-BWXEy6ef.mjs +0 -917
- package/dist/handlers-Bndn6QvE.mjs +0 -111
- package/dist/handlers-BqC4bD4s.mjs +0 -681
- package/dist/handlers-BtYq60bM2.mjs +0 -276
- package/dist/handlers-BzgcB4iv.mjs +0 -799
- package/dist/handlers-CRyRWj2b.mjs +0 -859
- package/dist/handlers-CVv2H1uq.mjs +0 -592
- package/dist/handlers-Dl5a7JS4.mjs +0 -572
- package/dist/handlers-Dx2d7jt7.mjs +0 -2537
- package/dist/handlers-HujRKC3b.mjs +0 -661
- package/dist/handlers.impl-XWXkQfyi.mjs +0 -807
- package/dist/hooks-B1B8NRHL.mjs +0 -898
- package/dist/logger-Dh_xb7_2.mjs +0 -93
- package/dist/maintenance-PRMkLVRW.mjs +0 -835
- package/dist/manifest-67Bok-Si.mjs +0 -58
- package/dist/manifest-6lNTMZAB2.mjs +0 -87
- package/dist/manifest-B2duEHiH.mjs +0 -90
- package/dist/manifest-B6EY9Vm8.mjs +0 -57
- package/dist/manifest-B6nKSbyY.mjs +0 -95
- package/dist/manifest-BL8AQNPF.mjs +0 -106
- package/dist/manifest-BSZvJJmV.mjs +0 -47
- package/dist/manifest-BU7qzUyX.mjs +0 -418
- package/dist/manifest-Bl62e8WK.mjs +0 -49
- package/dist/manifest-Bo5cXjdt.mjs +0 -82
- package/dist/manifest-BpS4gtUK.mjs +0 -1347
- package/dist/manifest-Bv65_e2W.mjs +0 -101
- package/dist/manifest-BytNIF4Z.mjs +0 -117
- package/dist/manifest-C-xtsjS3.mjs +0 -81
- package/dist/manifest-CDYl7OhA.mjs +0 -66
- package/dist/manifest-CRZ3xmkD.mjs +0 -61
- package/dist/manifest-CoW6u4Tp.mjs +0 -132
- package/dist/manifest-Cq5zN_8A.mjs +0 -50
- package/dist/manifest-D7YZM_2e.mjs +0 -194
- package/dist/manifest-DE_VrAeQ.mjs +0 -314
- package/dist/manifest-DGsXSCpT.mjs +0 -39
- package/dist/manifest-DJ2vfEuW.mjs +0 -156
- package/dist/manifest-DPXDYhEu.mjs +0 -80
- package/dist/manifest-Dd4fQb0a.mjs +0 -322
- package/dist/manifest-Deq6opGg.mjs +0 -223
- package/dist/manifest-DfJTafJK.mjs +0 -37
- package/dist/manifest-DgOdgN_j.mjs +0 -50
- package/dist/manifest-DlbMW4v4.mjs +0 -47
- package/dist/manifest-DmVfbH0w.mjs +0 -374
- package/dist/manifest-Dog6Ddjr.mjs +0 -109
- package/dist/manifest-DvgU5FWb.mjs +0 -58
- package/dist/manifest-HsfDBs7j.mjs +0 -50
- package/dist/manifest-I8oQHvCG.mjs +0 -186
- package/dist/manifest-NvH_a-av.mjs +0 -786
- package/dist/manifest-cEJU1v0Z.mjs +0 -129
- package/dist/manifest-wOl5XLB12.mjs +0 -112
- package/dist/modules-tZozf0LQ.mjs +0 -10635
- package/dist/mojo-ipc-DXNEXEqb.mjs +0 -640
- package/dist/network-CPVvwvFg.mjs +0 -3852
- package/dist/outputPaths-um7lCRY3.mjs +0 -1141
- package/dist/parse-args-B4cY5Vx5.mjs +0 -39
- package/dist/platform-CYeFoTWp.mjs +0 -2161
- package/dist/process-BTbgcVc6.mjs +0 -1306
- package/dist/proxy-r8YN6nP1.mjs +0 -192
- package/dist/registry-Bl8ZQW61.mjs +0 -34
- package/dist/response-CWhh2aLo.mjs +0 -34
- package/dist/shared-state-board-BoZnSoj-.mjs +0 -586
- package/dist/sourcemap-BIDHUVXy.mjs +0 -934
- package/dist/ssrf-policy-Dsqd-DTX.mjs +0 -166
- package/dist/streaming-Dal6utPp.mjs +0 -725
- package/dist/tool-builder-BHJp32mV.mjs +0 -186
- package/dist/transform-DRVgGG90.mjs +0 -1011
- package/dist/types-Bx92KJfT.mjs +0 -4
- package/dist/types-DDBWs9UP.mjs +0 -37
- package/dist/wasm-BYx5UOeG.mjs +0 -1044
- package/dist/webcrack-Be0_FccV.mjs +0 -747
- package/dist/workflow-BpuKEtvn.mjs +0 -725
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { n as toolLookup } from "./registry-Bl8ZQW61.mjs";
|
|
2
|
-
import { n as defineMethodRegistrations } from "./bind-helpers-ClV34xdn.mjs";
|
|
3
|
-
import { t as tool } from "./tool-builder-BHJp32mV.mjs";
|
|
4
|
-
//#region src/server/domains/cross-domain/definitions.ts
|
|
5
|
-
const crossDomainToolDefinitions = [
|
|
6
|
-
tool("cross_domain_capabilities", (t) => t.desc("List cross-domain capabilities and workflows.").query()),
|
|
7
|
-
tool("cross_domain_suggest_workflow", (t) => t.desc("Suggest a cross-domain workflow for a goal.").string("goal", "High-level task goal or problem statement to classify").boolean("preferAvailableOnly", "Prefer workflows whose dependent domains are currently enabled", { default: true }).required("goal").query()),
|
|
8
|
-
tool("cross_domain_health", (t) => t.desc("Report cross-domain health.").query()),
|
|
9
|
-
tool("cross_domain_correlate_all", (t) => t.desc("Run the built-in skia, mojo, syscall, and binary correlators and merge the results into the shared evidence graph.").prop("sceneTree", {
|
|
10
|
-
type: "object",
|
|
11
|
-
description: "Skia scene tree with layers and drawCommands",
|
|
12
|
-
additionalProperties: true
|
|
13
|
-
}).array("jsObjects", {
|
|
14
|
-
type: "object",
|
|
15
|
-
additionalProperties: true
|
|
16
|
-
}, "JS object descriptors for Skia correlation").array("mojoMessages", {
|
|
17
|
-
type: "object",
|
|
18
|
-
properties: {
|
|
19
|
-
interface: { type: "string" },
|
|
20
|
-
method: { type: "string" },
|
|
21
|
-
timestamp: { type: "number" },
|
|
22
|
-
messageId: { type: "string" }
|
|
23
|
-
},
|
|
24
|
-
required: [
|
|
25
|
-
"interface",
|
|
26
|
-
"method",
|
|
27
|
-
"timestamp",
|
|
28
|
-
"messageId"
|
|
29
|
-
]
|
|
30
|
-
}, "Mojo messages for MOJO-03 correlation").array("cdpEvents", {
|
|
31
|
-
type: "object",
|
|
32
|
-
properties: {
|
|
33
|
-
eventType: { type: "string" },
|
|
34
|
-
timestamp: { type: "number" },
|
|
35
|
-
url: { type: "string" }
|
|
36
|
-
},
|
|
37
|
-
required: ["eventType", "timestamp"]
|
|
38
|
-
}, "CDP events for MOJO-03 correlation").array("networkRequests", {
|
|
39
|
-
type: "object",
|
|
40
|
-
properties: {
|
|
41
|
-
requestId: { type: "string" },
|
|
42
|
-
url: { type: "string" },
|
|
43
|
-
timestamp: { type: "number" }
|
|
44
|
-
},
|
|
45
|
-
required: [
|
|
46
|
-
"requestId",
|
|
47
|
-
"url",
|
|
48
|
-
"timestamp"
|
|
49
|
-
]
|
|
50
|
-
}, "Network requests for MOJO-03 correlation").array("syscallEvents", {
|
|
51
|
-
type: "object",
|
|
52
|
-
properties: {
|
|
53
|
-
pid: { type: "number" },
|
|
54
|
-
tid: { type: "number" },
|
|
55
|
-
syscallName: { type: "string" },
|
|
56
|
-
timestamp: { type: "number" }
|
|
57
|
-
},
|
|
58
|
-
required: [
|
|
59
|
-
"pid",
|
|
60
|
-
"tid",
|
|
61
|
-
"syscallName",
|
|
62
|
-
"timestamp"
|
|
63
|
-
]
|
|
64
|
-
}, "Syscall events for SYSCALL-02 correlation").array("jsStacks", {
|
|
65
|
-
type: "object",
|
|
66
|
-
properties: {
|
|
67
|
-
threadId: { type: "number" },
|
|
68
|
-
timestamp: { type: "number" },
|
|
69
|
-
frames: {
|
|
70
|
-
type: "array",
|
|
71
|
-
items: {
|
|
72
|
-
type: "object",
|
|
73
|
-
properties: { functionName: { type: "string" } },
|
|
74
|
-
required: ["functionName"]
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
required: [
|
|
79
|
-
"threadId",
|
|
80
|
-
"timestamp",
|
|
81
|
-
"frames"
|
|
82
|
-
]
|
|
83
|
-
}, "JS stacks for SYSCALL-02 correlation").prop("ghidraOutput", {
|
|
84
|
-
type: "object",
|
|
85
|
-
description: "Binary analysis output with moduleName and functions",
|
|
86
|
-
additionalProperties: true
|
|
87
|
-
})),
|
|
88
|
-
tool("cross_domain_evidence_export", (t) => t.desc("Export the shared cross-domain evidence graph as JSON.").query()),
|
|
89
|
-
tool("cross_domain_evidence_stats", (t) => t.desc("Get node and edge statistics for the shared cross-domain evidence graph.").query())
|
|
90
|
-
];
|
|
91
|
-
//#endregion
|
|
92
|
-
//#region src/server/domains/cross-domain/manifest.ts
|
|
93
|
-
const DOMAIN = "cross-domain";
|
|
94
|
-
const DEP_KEY = "crossDomainHandlers";
|
|
95
|
-
const registrations = defineMethodRegistrations({
|
|
96
|
-
domain: DOMAIN,
|
|
97
|
-
depKey: DEP_KEY,
|
|
98
|
-
lookup: toolLookup(crossDomainToolDefinitions),
|
|
99
|
-
entries: [
|
|
100
|
-
{
|
|
101
|
-
tool: "cross_domain_capabilities",
|
|
102
|
-
method: "handleCapabilities"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
tool: "cross_domain_suggest_workflow",
|
|
106
|
-
method: "handleSuggestWorkflow"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
tool: "cross_domain_health",
|
|
110
|
-
method: "handleHealth"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
tool: "cross_domain_correlate_all",
|
|
114
|
-
method: "handleCorrelateAll"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
tool: "cross_domain_evidence_export",
|
|
118
|
-
method: "handleEvidenceExport"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
tool: "cross_domain_evidence_stats",
|
|
122
|
-
method: "handleEvidenceStats"
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
});
|
|
126
|
-
async function ensure(ctx) {
|
|
127
|
-
const { ReverseEvidenceGraph } = await import("./ReverseEvidenceGraph-C02-gXOh.mjs").then((n) => n.t);
|
|
128
|
-
const { CrossDomainEvidenceBridge } = await import("./evidence-graph-bridge-DcYizFk2.mjs");
|
|
129
|
-
const { CrossDomainWorkflowClassifier, CrossDomainHandlers } = await import("./handlers-BAHPxcch.mjs");
|
|
130
|
-
const existing = ctx.getDomainInstance(DEP_KEY);
|
|
131
|
-
if (existing) return existing;
|
|
132
|
-
let graph = ctx.getDomainInstance("evidenceGraph");
|
|
133
|
-
if (!graph) {
|
|
134
|
-
graph = new ReverseEvidenceGraph();
|
|
135
|
-
graph.setEventBus(ctx.eventBus);
|
|
136
|
-
ctx.setDomainInstance("evidenceGraph", graph);
|
|
137
|
-
}
|
|
138
|
-
let bridge = ctx.getDomainInstance("crossDomainEvidenceBridge");
|
|
139
|
-
if (!bridge) {
|
|
140
|
-
bridge = new CrossDomainEvidenceBridge(graph);
|
|
141
|
-
ctx.setDomainInstance("crossDomainEvidenceBridge", bridge);
|
|
142
|
-
}
|
|
143
|
-
let workflowClassifier = ctx.getDomainInstance("crossDomainWorkflowClassifier");
|
|
144
|
-
if (!workflowClassifier) {
|
|
145
|
-
workflowClassifier = new CrossDomainWorkflowClassifier(ctx, true);
|
|
146
|
-
ctx.setDomainInstance("crossDomainWorkflowClassifier", workflowClassifier);
|
|
147
|
-
}
|
|
148
|
-
const handlers = new CrossDomainHandlers(bridge, workflowClassifier);
|
|
149
|
-
ctx.setDomainInstance(DEP_KEY, handlers);
|
|
150
|
-
return handlers;
|
|
151
|
-
}
|
|
152
|
-
const manifest = {
|
|
153
|
-
kind: "domain-manifest",
|
|
154
|
-
version: 1,
|
|
155
|
-
domain: DOMAIN,
|
|
156
|
-
depKey: DEP_KEY,
|
|
157
|
-
profiles: ["full"],
|
|
158
|
-
ensure,
|
|
159
|
-
workflowRule: {
|
|
160
|
-
patterns: [/(cross[- ]domain|multi[- ]domain|evidence graph|correlate).*(v8|network|canvas|syscall|mojo|binary)/i, /(跨域|多域|证据图|关联).*(v8|网络|canvas|syscall|mojo|binary)/i],
|
|
161
|
-
priority: 98,
|
|
162
|
-
tools: [
|
|
163
|
-
"cross_domain_capabilities",
|
|
164
|
-
"cross_domain_suggest_workflow",
|
|
165
|
-
"cross_domain_correlate_all",
|
|
166
|
-
"cross_domain_evidence_stats"
|
|
167
|
-
],
|
|
168
|
-
hint: "Cross-domain reverse workflow: inspect capabilities → suggest mission workflow → correlate evidence from all v5.0 domains → export evidence graph"
|
|
169
|
-
},
|
|
170
|
-
toolDependencies: [
|
|
171
|
-
{
|
|
172
|
-
from: "cross_domain_suggest_workflow",
|
|
173
|
-
to: "deobfuscate",
|
|
174
|
-
relation: "suggests",
|
|
175
|
-
weight: .6
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
from: "cross_domain_suggest_workflow",
|
|
179
|
-
to: "js_heap_search",
|
|
180
|
-
relation: "suggests",
|
|
181
|
-
weight: .6
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
from: "cross_domain_suggest_workflow",
|
|
185
|
-
to: "network_enable",
|
|
186
|
-
relation: "suggests",
|
|
187
|
-
weight: .5
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
from: "cross_domain_suggest_workflow",
|
|
191
|
-
to: "canvas_scene_dump",
|
|
192
|
-
relation: "suggests",
|
|
193
|
-
weight: .5
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
from: "cross_domain_suggest_workflow",
|
|
197
|
-
to: "skia_correlate_objects",
|
|
198
|
-
relation: "suggests",
|
|
199
|
-
weight: .5
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
from: "cross_domain_suggest_workflow",
|
|
203
|
-
to: "syscall_correlate_js",
|
|
204
|
-
relation: "suggests",
|
|
205
|
-
weight: .5
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
from: "cross_domain_suggest_workflow",
|
|
209
|
-
to: "ghidra_analyze",
|
|
210
|
-
relation: "suggests",
|
|
211
|
-
weight: .5
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
from: "cross_domain_correlate_all",
|
|
215
|
-
to: "evidence_export",
|
|
216
|
-
relation: "precedes",
|
|
217
|
-
weight: .7
|
|
218
|
-
}
|
|
219
|
-
],
|
|
220
|
-
registrations
|
|
221
|
-
};
|
|
222
|
-
//#endregion
|
|
223
|
-
export { manifest as default };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { n as toolLookup } from "./registry-Bl8ZQW61.mjs";
|
|
2
|
-
import { n as defineMethodRegistrations } from "./bind-helpers-ClV34xdn.mjs";
|
|
3
|
-
import { t as tool } from "./tool-builder-BHJp32mV.mjs";
|
|
4
|
-
//#region src/server/domains/sandbox/definitions.ts
|
|
5
|
-
const sandboxTools = [tool("execute_sandbox_script", (t) => t.desc("Execute JavaScript in a WASM-isolated QuickJS sandbox with optional tool brid...").string("code", "JavaScript source code to execute inside the sandbox").string("sessionId", "Session ID for scratchpad persistence across executions").number("timeoutMs", "Execution timeout in ms", { default: 1e3 }).boolean("autoCorrect", "Retry failed scripts up to 2 times with error context", { default: false }).required("code"))];
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/server/domains/sandbox/manifest.ts
|
|
8
|
-
const DOMAIN = "sandbox";
|
|
9
|
-
const DEP_KEY = "sandboxHandlers";
|
|
10
|
-
const registrations = defineMethodRegistrations({
|
|
11
|
-
domain: DOMAIN,
|
|
12
|
-
depKey: DEP_KEY,
|
|
13
|
-
lookup: toolLookup(sandboxTools),
|
|
14
|
-
entries: [{
|
|
15
|
-
tool: "execute_sandbox_script",
|
|
16
|
-
method: "handleExecuteSandboxScript"
|
|
17
|
-
}]
|
|
18
|
-
});
|
|
19
|
-
async function ensure(ctx) {
|
|
20
|
-
const { SandboxToolHandlers } = await import("./handlers-BWXEy6ef.mjs");
|
|
21
|
-
const existing = ctx.getDomainInstance(DEP_KEY);
|
|
22
|
-
if (existing) return existing;
|
|
23
|
-
const handlers = new SandboxToolHandlers(ctx);
|
|
24
|
-
ctx.setDomainInstance(DEP_KEY, handlers);
|
|
25
|
-
return handlers;
|
|
26
|
-
}
|
|
27
|
-
const manifest = {
|
|
28
|
-
kind: "domain-manifest",
|
|
29
|
-
version: 1,
|
|
30
|
-
domain: DOMAIN,
|
|
31
|
-
depKey: DEP_KEY,
|
|
32
|
-
profiles: ["full"],
|
|
33
|
-
ensure,
|
|
34
|
-
registrations
|
|
35
|
-
};
|
|
36
|
-
//#endregion
|
|
37
|
-
export { manifest as default };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { n as toolLookup, t as ensureBrowserCore } from "./registry-Bl8ZQW61.mjs";
|
|
2
|
-
import { n as defineMethodRegistrations } from "./bind-helpers-ClV34xdn.mjs";
|
|
3
|
-
import { t as streamingTools } from "./definitions-DcYLVLCo.mjs";
|
|
4
|
-
//#region src/server/domains/streaming/manifest.ts
|
|
5
|
-
const DOMAIN = "streaming";
|
|
6
|
-
const DEP_KEY = "streamingHandlers";
|
|
7
|
-
const registrations = defineMethodRegistrations({
|
|
8
|
-
domain: DOMAIN,
|
|
9
|
-
depKey: DEP_KEY,
|
|
10
|
-
lookup: toolLookup(streamingTools),
|
|
11
|
-
entries: [
|
|
12
|
-
{
|
|
13
|
-
tool: "ws_monitor",
|
|
14
|
-
method: "handleWsMonitorDispatch"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
tool: "ws_get_frames",
|
|
18
|
-
method: "handleWsGetFrames"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
tool: "ws_get_connections",
|
|
22
|
-
method: "handleWsGetConnections"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
tool: "sse_monitor_enable",
|
|
26
|
-
method: "handleSseMonitorEnable"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
tool: "sse_get_events",
|
|
30
|
-
method: "handleSseGetEvents"
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
});
|
|
34
|
-
async function ensure(ctx) {
|
|
35
|
-
const { StreamingToolHandlers } = await import("./streaming-Dal6utPp.mjs");
|
|
36
|
-
await ensureBrowserCore(ctx);
|
|
37
|
-
if (!ctx.streamingHandlers) ctx.streamingHandlers = new StreamingToolHandlers(ctx.collector);
|
|
38
|
-
return ctx.streamingHandlers;
|
|
39
|
-
}
|
|
40
|
-
const manifest = {
|
|
41
|
-
kind: "domain-manifest",
|
|
42
|
-
version: 1,
|
|
43
|
-
domain: DOMAIN,
|
|
44
|
-
depKey: DEP_KEY,
|
|
45
|
-
profiles: ["workflow", "full"],
|
|
46
|
-
ensure,
|
|
47
|
-
registrations
|
|
48
|
-
};
|
|
49
|
-
//#endregion
|
|
50
|
-
export { manifest as default };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { n as toolLookup } from "./registry-Bl8ZQW61.mjs";
|
|
2
|
-
import { n as defineMethodRegistrations } from "./bind-helpers-ClV34xdn.mjs";
|
|
3
|
-
import { t as tool } from "./tool-builder-BHJp32mV.mjs";
|
|
4
|
-
//#region src/server/domains/macro/definitions.ts
|
|
5
|
-
const macroTools = [tool("run_macro", (t) => t.desc("Execute a registered macro by ID with inline progress and atomic bailout").string("macroId", "Macro ID to execute").prop("inputOverrides", {
|
|
6
|
-
type: "object",
|
|
7
|
-
description: "Per-step input overrides keyed by step ID",
|
|
8
|
-
additionalProperties: {
|
|
9
|
-
type: "object",
|
|
10
|
-
additionalProperties: true
|
|
11
|
-
}
|
|
12
|
-
}).required("macroId")), tool("list_macros", (t) => t.desc("List all available macros (built-in + user-defined)").query())];
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/server/domains/macro/manifest.ts
|
|
15
|
-
const DOMAIN = "macro";
|
|
16
|
-
const DEP_KEY = "macroHandlers";
|
|
17
|
-
const registrations = defineMethodRegistrations({
|
|
18
|
-
domain: DOMAIN,
|
|
19
|
-
depKey: DEP_KEY,
|
|
20
|
-
lookup: toolLookup(macroTools),
|
|
21
|
-
entries: [{
|
|
22
|
-
tool: "run_macro",
|
|
23
|
-
method: "handleRunMacro"
|
|
24
|
-
}, {
|
|
25
|
-
tool: "list_macros",
|
|
26
|
-
method: "handleListMacros"
|
|
27
|
-
}]
|
|
28
|
-
});
|
|
29
|
-
async function ensure(ctx) {
|
|
30
|
-
const { MacroToolHandlers } = await import("./handlers-CVv2H1uq.mjs");
|
|
31
|
-
const existing = ctx.getDomainInstance(DEP_KEY);
|
|
32
|
-
if (existing) return existing;
|
|
33
|
-
const handlers = new MacroToolHandlers(ctx);
|
|
34
|
-
ctx.setDomainInstance(DEP_KEY, handlers);
|
|
35
|
-
return handlers;
|
|
36
|
-
}
|
|
37
|
-
const manifest = {
|
|
38
|
-
kind: "domain-manifest",
|
|
39
|
-
version: 1,
|
|
40
|
-
domain: DOMAIN,
|
|
41
|
-
depKey: DEP_KEY,
|
|
42
|
-
profiles: ["full"],
|
|
43
|
-
ensure,
|
|
44
|
-
registrations
|
|
45
|
-
};
|
|
46
|
-
//#endregion
|
|
47
|
-
export { manifest as default };
|