@jshookmcp/jshook 0.2.9 → 0.3.1
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 +25 -50
- package/README.zh.md +25 -48
- package/dist/AntiCheatDetector-CGVGNfy5.mjs +1 -0
- package/dist/CacheAdapters-CdAxBmVW.mjs +1 -0
- package/dist/CodeInjector-BlgyqTOk.mjs +1 -0
- package/dist/ConsoleMonitor-Dkqc0HNi.mjs +490 -0
- package/dist/DOMInspector-BYY_EJ0C.mjs +95 -0
- package/dist/DarwinAPI-DC4HGGLl.mjs +1 -0
- package/dist/DetailedDataManager-BniBJlVv.mjs +1 -0
- package/dist/EventBus-DgciURGg.mjs +1 -0
- package/dist/EvidenceGraphBridge-BIfgB7HP.mjs +1 -0
- package/dist/ExtensionManager-erMpqcLk.mjs +1 -0
- package/dist/FingerprintManager-N7BZqjxP.mjs +1 -0
- package/dist/HardwareBreakpoint-OcJqNFVc.mjs +1 -0
- package/dist/HeapAnalyzer-CqAxZzeS.mjs +1 -0
- package/dist/{HookGeneratorBuilders.core.generators.storage-CtcdK78Q.mjs → HookGeneratorBuilders.core.generators.storage-Bf1fbrNK.mjs} +66 -174
- package/dist/InstrumentationSession-DxXs0sCp.mjs +1 -0
- package/dist/MCPServer.search.handlers.domain-DVbWL1bT.mjs +1 -0
- package/dist/MemoryController-BaqstM5w.mjs +2 -0
- package/dist/MemoryScanSession-CaxAjZJf.mjs +1 -0
- package/dist/MemoryScanner-BLYnMJy6.mjs +1 -0
- package/dist/NativeMemoryManager.impl-CI554XbY.mjs +1 -0
- package/dist/NativeMemoryManager.utils-DM4NC3FE.mjs +1 -0
- package/dist/PEAnalyzer-DJyaJTQJ.mjs +1 -0
- package/dist/PageController-D9jVkH0i.mjs +1 -0
- package/dist/PointerChainEngine-5nF9eNlu.mjs +1 -0
- package/dist/PrerequisiteError-Bl3dK8XA.mjs +1 -0
- package/dist/ProcessRegistry-Hf12LlR9.mjs +1 -0
- package/dist/ResponseBuilder-B2lu4KEl.mjs +1 -0
- package/dist/ReverseEvidenceGraph-B931HeoW.mjs +2 -0
- package/dist/ScriptManager-fgqiALgj.mjs +7 -0
- package/dist/Speedhack-l6s8L2Qw.mjs +1 -0
- package/dist/StealthVerifier-Dhbj4B4P.mjs +1 -0
- package/dist/StructureAnalyzer-A-WamfYE.mjs +2 -0
- package/dist/ToolCatalog-D_IKl1Hu.mjs +1 -0
- package/dist/ToolError-DWU_z7gp.mjs +1 -0
- package/dist/ToolProbe-xsfALmN3.mjs +1 -0
- package/dist/ToolRegistry-B0Zs-phN.mjs +1 -0
- package/dist/ToolRouter.policy-CFHoN_Lw.mjs +4 -0
- package/dist/TraceRecorder-Dd8jLXpi.mjs +272 -0
- package/dist/VersionDetector-DMoUWyNm.mjs +9 -0
- package/dist/Win32API-Bhi5xFBe.mjs +1 -0
- package/dist/Win32Debug-CQteFL4F.mjs +1 -0
- package/dist/WorkflowEngine-CxEp2WXH.mjs +1 -0
- package/dist/analysis-BuR-NgX8.mjs +5 -0
- package/dist/{antidebug-CqDTB_uk.mjs → antidebug-BOTZH6-0.mjs} +8 -259
- package/dist/artifactRetention-NBdncOEW.mjs +1 -0
- package/dist/artifacts-B5xQuEa_.mjs +1 -0
- package/dist/authorization-schema-B40obG1A.mjs +1 -0
- package/dist/betterSqlite3-CGaxz4AX.mjs +1 -0
- package/dist/binary-instrument-Cf9qqLlM.mjs +7 -0
- package/dist/bind-helpers-BlAOQrFQ.mjs +1 -0
- package/dist/boringssl-inspector-BST5vtKx.mjs +2 -0
- package/dist/browser-C4Le3xqA.mjs +11 -0
- package/dist/capabilities-DbYCv-HF.mjs +1 -0
- package/dist/chunk-C_pMuVsO.mjs +1 -0
- package/dist/collector-CKO8RPK8.mjs +1 -0
- package/dist/concurrency-CcK46d0h.mjs +1 -0
- package/dist/constants-Cp6hBrrx.mjs +1 -0
- package/dist/coordination-BbijHEHH.mjs +1 -0
- package/dist/debugger-CRJq_krh.mjs +1 -0
- package/dist/definitions-BGobEDQa.mjs +1 -0
- package/dist/definitions-BGwNSkVm.mjs +1 -0
- package/dist/definitions-BbxOUiP-.mjs +1 -0
- package/dist/definitions-CCP9gphV.mjs +1 -0
- package/dist/definitions-CIO9O-Sw.mjs +1 -0
- package/dist/definitions-CYFbewnd.mjs +1 -0
- package/dist/definitions-CdWEuIkI.mjs +1 -0
- package/dist/definitions-CoQFbggH.mjs +1 -0
- package/dist/definitions-CuJRsJ6N.mjs +1 -0
- package/dist/definitions-DI9YXsJk.mjs +1 -0
- package/dist/definitions-DJklW2sS.mjs +1 -0
- package/dist/definitions-DZ8uKusP.mjs +1 -0
- package/dist/definitions-Dds_zrWx.mjs +1 -0
- package/dist/definitions-Dgrg7f3D.mjs +1 -0
- package/dist/definitions-DtE0XLrT.mjs +1 -0
- package/dist/definitions-LaYTuwQd.mjs +26 -0
- package/dist/definitions-NoVp_9Pm.mjs +1 -0
- package/dist/definitions-OvGsfxdt.mjs +1 -0
- package/dist/definitions-jXPaVy4P.mjs +1 -0
- package/dist/encoding-DGcr6Aj_.mjs +2 -0
- package/dist/ensure-browser-core-Buls24LQ.mjs +1 -0
- package/dist/evidence-graph-bridge-B0yhGPcs.mjs +1 -0
- package/dist/factory-Cx_1LorX.mjs +1 -0
- package/dist/flat-target-session-CO5g78k3.mjs +1 -0
- package/dist/formatAddress-C7j2fDlM.mjs +1 -0
- package/dist/graphql-HLf3MS8H.mjs +62 -0
- package/dist/handlers-BLMa4X7l.mjs +54 -0
- package/dist/handlers-BP12ZsWc.mjs +4 -0
- package/dist/handlers-BZoPla6E.mjs +1 -0
- package/dist/handlers-BggKiVx9.mjs +2 -0
- package/dist/handlers-D3iev8g1.mjs +1 -0
- package/dist/handlers-D49r1-1P.mjs +1 -0
- package/dist/handlers-DCE45Ww8.mjs +2 -0
- package/dist/handlers-DW5AbYs5.mjs +5 -0
- package/dist/handlers-De5u62Ga2.mjs +1 -0
- package/dist/handlers-DmQzIc44.mjs +31 -0
- package/dist/handlers-DnJRGp7t.mjs +302 -0
- package/dist/handlers-Dv_runVv.mjs +2 -0
- package/dist/handlers-S9Ws0IGy.mjs +2 -0
- package/dist/{handlers-Bl8zkwz1.mjs → handlers-pVNpaw4A.mjs} +144 -841
- package/dist/handlers.impl-CD2_kOcC.mjs +1 -0
- package/dist/hooks-DDKppogd.mjs +600 -0
- package/dist/index.mjs +12 -5225
- package/dist/logger-sBC6IdRT.mjs +1 -0
- package/dist/maintenance-CutEO84j.mjs +1 -0
- package/dist/manifest-BFGxlDRh.mjs +123 -0
- package/dist/manifest-BPuE6oH2.mjs +1 -0
- package/dist/manifest-BXry5N09.mjs +1 -0
- package/dist/manifest-BeP_zJGb2.mjs +1 -0
- package/dist/manifest-C0g67k6U.mjs +1 -0
- package/dist/manifest-C1nZkTkO.mjs +1 -0
- package/dist/manifest-C7qV1z7F.mjs +1 -0
- package/dist/manifest-CDeUZGUZ.mjs +1 -0
- package/dist/manifest-CDiCtaQT.mjs +1 -0
- package/dist/manifest-CFn0359q2.mjs +1 -0
- package/dist/manifest-CGq4NpqH2.mjs +1 -0
- package/dist/manifest-CJMGt7Qy.mjs +1 -0
- package/dist/manifest-CRIJq4Hs.mjs +1 -0
- package/dist/manifest-C_hEIjSx.mjs +1 -0
- package/dist/manifest-CeQmtQOY.mjs +1 -0
- package/dist/manifest-Cq0j7GZt.mjs +1 -0
- package/dist/manifest-CtPmHAdn.mjs +1 -0
- package/dist/manifest-Cx2IVMUY.mjs +1 -0
- package/dist/manifest-D16xPXro.mjs +1 -0
- package/dist/manifest-D44TaRJU.mjs +1 -0
- package/dist/manifest-D610kxZr.mjs +2 -0
- package/dist/manifest-DC-SMF6b.mjs +1 -0
- package/dist/manifest-DD3rtxvV.mjs +1 -0
- package/dist/manifest-DKUorv5M.mjs +1 -0
- package/dist/manifest-DMJlcsTR.mjs +1 -0
- package/dist/manifest-DWUUWBz0.mjs +1 -0
- package/dist/manifest-De-6Wf2R.mjs +1 -0
- package/dist/manifest-Dgh0uDW-.mjs +1 -0
- package/dist/manifest-Dm0o3i2U.mjs +1 -0
- package/dist/manifest-DsVh7Y4U.mjs +1 -0
- package/dist/manifest-DtEFSRaq.mjs +1 -0
- package/dist/manifest-H-EpAyZQ.mjs +1 -0
- package/dist/manifest-ais9Afrw.mjs +1 -0
- package/dist/manifest-tmb54wmA.mjs +1 -0
- package/dist/manifest-yu2xiQqe.mjs +1 -0
- package/dist/manifest-zrbrpKCC.mjs +1 -0
- package/dist/matchesWildcardPattern-BGqLSmEs.mjs +1 -0
- package/dist/modules-p-PUNv9r.mjs +332 -0
- package/dist/mojo-ipc-VGlv3Qyp.mjs +9 -0
- package/dist/network-BjZ1Y-GB.mjs +7 -0
- package/dist/outputPaths-BonGThuc.mjs +2 -0
- package/dist/parse-args-Cuk7-xUt.mjs +1 -0
- package/dist/platform-C446Lf97.mjs +93 -0
- package/dist/playwright-cdp-fallback-BwVR-_T3.mjs +1 -0
- package/dist/process-C9f2A5zk.mjs +962 -0
- package/dist/proxy-CvRepxgV.mjs +1 -0
- package/dist/registry-DUHIPE-v.mjs +1 -0
- package/dist/response-C7rKQst4.mjs +1 -0
- package/dist/search-defaults-D2bY-rzH.mjs +1 -0
- package/dist/server/plugin-api.mjs +1 -293
- package/dist/shared-state-board-Cyg-xh_k.mjs +1 -0
- package/dist/sourcemap-D6Q1UuAp.mjs +1 -0
- package/dist/ssrf-policy-T96MR3r6.mjs +1 -0
- package/dist/streaming-CTX58tbb.mjs +1 -0
- package/dist/tool-builder-CI9914Tf.mjs +1 -0
- package/dist/transform-Cv9P2vVD.mjs +103 -0
- package/dist/types-CuyefmGT.mjs +1 -0
- package/dist/types-DtThH00r.mjs +1 -0
- package/dist/wasm-DaJa8J0V.mjs +174 -0
- package/dist/webcrack-CsLLJIs9.mjs +46 -0
- package/dist/workflow-CYIXtrWD.mjs +101 -0
- package/package.json +12 -7
- package/dist/AntiCheatDetector-BNk-EoBt.mjs +0 -244
- package/dist/CacheAdapters-CDe5WPSV.mjs +0 -80
- package/dist/CodeInjector-Cq8q01kp.mjs +0 -150
- package/dist/ConsoleMonitor-CPVQW1Y-.mjs +0 -2201
- package/dist/DarwinAPI-BNPxu0RH.mjs +0 -363
- package/dist/DetailedDataManager-BQQcxh64.mjs +0 -217
- package/dist/EventBus-DgPmwpeu.mjs +0 -141
- package/dist/EvidenceGraphBridge-SFesNera.mjs +0 -153
- package/dist/ExtensionManager-CWYgw0YW.mjs +0 -714
- package/dist/FingerprintManager-gzWtkKuf.mjs +0 -96
- package/dist/HardwareBreakpoint-B9gZCdFP.mjs +0 -239
- package/dist/HeapAnalyzer-BLDH0dCv.mjs +0 -284
- package/dist/InstrumentationSession-CvPC7Jwy.mjs +0 -244
- package/dist/MemoryController-CbVdCIJF.mjs +0 -167
- package/dist/MemoryScanSession-BsDZbLYm.mjs +0 -278
- package/dist/MemoryScanner-Bcpml6II.mjs +0 -425
- package/dist/NativeMemoryManager.impl-dZtA1ZGn.mjs +0 -482
- package/dist/NativeMemoryManager.utils-B-FjA2mJ.mjs +0 -165
- package/dist/PEAnalyzer-D1lzJ_VG.mjs +0 -385
- package/dist/PageController-Bqm2kZ_X.mjs +0 -417
- package/dist/PointerChainEngine-BOhyVsjx.mjs +0 -322
- package/dist/PrerequisiteError-Dl33Svkz.mjs +0 -20
- package/dist/ResponseBuilder-D3iFYx2N.mjs +0 -143
- package/dist/ReverseEvidenceGraph-Dlsk94LC.mjs +0 -269
- package/dist/ScriptManager-aHHq0X7U.mjs +0 -3000
- package/dist/Speedhack-CqdIFlQl.mjs +0 -156
- package/dist/StealthVerifier-Bo4T3bz8.mjs +0 -135
- package/dist/StructureAnalyzer-DhFaPvRO.mjs +0 -426
- package/dist/ToolCatalog-C0JGZoOm.mjs +0 -582
- package/dist/ToolError-jh9whhMd.mjs +0 -15
- package/dist/ToolProbe-oC7aPrkv.mjs +0 -45
- package/dist/ToolRegistry-BjaF4oNz.mjs +0 -131
- package/dist/ToolRouter.policy-BWV67ZK-.mjs +0 -304
- package/dist/TraceRecorder-DgxyVbdQ.mjs +0 -519
- package/dist/VersionDetector-CwVLVdDM.mjs +0 -104
- package/dist/Win32API-CePkipZY.mjs +0 -340
- package/dist/Win32Debug-BvKs-gxc.mjs +0 -274
- package/dist/WorkflowEngine-CuvkZtWu.mjs +0 -598
- package/dist/analysis-CL9uACt9.mjs +0 -463
- package/dist/artifactRetention-CFEprwPw.mjs +0 -591
- package/dist/artifacts-Bk2-_uPq.mjs +0 -59
- package/dist/betterSqlite3-0pqusHHH.mjs +0 -74
- package/dist/binary-instrument-CXfpx6fT.mjs +0 -979
- package/dist/bind-helpers-xFfRF-qm.mjs +0 -22
- package/dist/boringssl-inspector-BH2D3VKc.mjs +0 -180
- package/dist/browser-BpOr5PEx.mjs +0 -4082
- package/dist/chunk-CjcI7cDX.mjs +0 -15
- package/dist/concurrency-Bt0yv1kJ.mjs +0 -41
- package/dist/constants-B0OANIBL.mjs +0 -519
- package/dist/coordination-qUbyF8KU.mjs +0 -259
- package/dist/debugger-gnKxRSN0.mjs +0 -1271
- package/dist/definitions-6M-eejaT.mjs +0 -53
- package/dist/definitions-B18eyf0B.mjs +0 -18
- package/dist/definitions-B3QdlrHv.mjs +0 -34
- package/dist/definitions-B4rAvHNZ.mjs +0 -63
- package/dist/definitions-BB_4jnmy.mjs +0 -37
- package/dist/definitions-BMfYXoNC.mjs +0 -43
- package/dist/definitions-Beid2EB3.mjs +0 -27
- package/dist/definitions-C1UvM5Iy.mjs +0 -126
- package/dist/definitions-CXEI7QC72.mjs +0 -216
- package/dist/definitions-C_4r7Fo-2.mjs +0 -14
- package/dist/definitions-CkFDALoa.mjs +0 -26
- package/dist/definitions-Cke7zEb8.mjs +0 -94
- package/dist/definitions-ClJLzsJQ.mjs +0 -25
- package/dist/definitions-Cq-zroAU.mjs +0 -28
- package/dist/definitions-Cy3Sl6gV.mjs +0 -34
- package/dist/definitions-D3VsGcvz.mjs +0 -47
- package/dist/definitions-DVGfrn7y.mjs +0 -96
- package/dist/definitions-LKpC3-nL.mjs +0 -9
- package/dist/definitions-bAhHQJq9.mjs +0 -359
- package/dist/encoding-Bvz5jLRv.mjs +0 -1065
- package/dist/evidence-graph-bridge-C_fv9PuC.mjs +0 -135
- package/dist/factory-DxlGh9Xf.mjs +0 -575
- package/dist/formatAddress-DVkj9kpI.mjs +0 -17
- package/dist/graphql-DYWzJ29s.mjs +0 -1026
- package/dist/handlers-9sAbfIg-.mjs +0 -2552
- package/dist/handlers-C67ktuRN.mjs +0 -710
- package/dist/handlers-C87g8oCe.mjs +0 -276
- package/dist/handlers-CTsDAO6p.mjs +0 -681
- package/dist/handlers-Cgyg6c0U.mjs +0 -645
- package/dist/handlers-D6j6yka7.mjs +0 -2124
- package/dist/handlers-DdFzXLvF.mjs +0 -446
- package/dist/handlers-DeLOCd5m.mjs +0 -799
- package/dist/handlers-DlCJN4Td.mjs +0 -757
- package/dist/handlers-DxGIq15_2.mjs +0 -917
- package/dist/handlers-U6L4xhuF.mjs +0 -585
- package/dist/handlers-tB9Mp9ZK.mjs +0 -84
- package/dist/handlers-tiy7EIBp.mjs +0 -572
- package/dist/handlers.impl-DS0d9fUw.mjs +0 -761
- package/dist/hooks-CzCWByww.mjs +0 -898
- package/dist/logger-Dh_xb7_2.mjs +0 -93
- package/dist/maintenance-P7ePRXQC.mjs +0 -830
- package/dist/manifest-2ToTpjv8.mjs +0 -106
- package/dist/manifest-3g71z6Bg.mjs +0 -79
- package/dist/manifest-82baTv4U.mjs +0 -45
- package/dist/manifest-B3QVVeBS.mjs +0 -82
- package/dist/manifest-BB2J8IMJ.mjs +0 -149
- package/dist/manifest-BKbgbSiY.mjs +0 -60
- package/dist/manifest-Bcf-TJzH.mjs +0 -848
- package/dist/manifest-BmtZzQiQ2.mjs +0 -45
- package/dist/manifest-Bnd7kqEY.mjs +0 -55
- package/dist/manifest-BqQX6OQC2.mjs +0 -65
- package/dist/manifest-BqrQ4Tpj.mjs +0 -81
- package/dist/manifest-Br4RPFt5.mjs +0 -370
- package/dist/manifest-C5qDjysN.mjs +0 -107
- package/dist/manifest-C9RT5nk32.mjs +0 -34
- package/dist/manifest-CAhOuvSl.mjs +0 -204
- package/dist/manifest-CBYWCUBJ.mjs +0 -51
- package/dist/manifest-CFADCRa1.mjs +0 -37
- package/dist/manifest-CQVhavRF.mjs +0 -114
- package/dist/manifest-CT7zZBV1.mjs +0 -48
- package/dist/manifest-CV12bcrF.mjs +0 -121
- package/dist/manifest-CXsRWjjI.mjs +0 -224
- package/dist/manifest-CZLUCfG02.mjs +0 -95
- package/dist/manifest-D6phHKFd.mjs +0 -131
- package/dist/manifest-DCyjf4n2.mjs +0 -294
- package/dist/manifest-DHsnKgP6.mjs +0 -60
- package/dist/manifest-Df_dliIe.mjs +0 -55
- package/dist/manifest-Dh8WBmEW.mjs +0 -129
- package/dist/manifest-DhKRAT8_.mjs +0 -92
- package/dist/manifest-DlpTj4ic2.mjs +0 -193
- package/dist/manifest-DrbmZcFl2.mjs +0 -253
- package/dist/manifest-DuwHjUa5.mjs +0 -70
- package/dist/manifest-DzwvxPJX.mjs +0 -38
- package/dist/manifest-NXctwWQq.mjs +0 -68
- package/dist/manifest-Sc_0JQ13.mjs +0 -418
- package/dist/manifest-gZ4s_UtG.mjs +0 -96
- package/dist/manifest-qSleDqdO.mjs +0 -1023
- package/dist/modules-C184v-S9.mjs +0 -11365
- package/dist/mojo-ipc-B_H61Afw.mjs +0 -525
- package/dist/network-671Cw6hV.mjs +0 -3346
- package/dist/outputPaths-B1uGmrWZ.mjs +0 -1145
- package/dist/parse-args-BlRjqlkL.mjs +0 -39
- package/dist/platform-WmNn8Sxb.mjs +0 -2070
- package/dist/process-QcbIy5Zq.mjs +0 -1401
- package/dist/proxy-DqNs0bAd.mjs +0 -170
- package/dist/registry-D-6e18lB.mjs +0 -34
- package/dist/response-BQVP-xUn.mjs +0 -28
- package/dist/shared-state-board-DV-dpHFJ.mjs +0 -586
- package/dist/sourcemap-Dq8ez8vS.mjs +0 -650
- package/dist/ssrf-policy-ZaUfvhq7.mjs +0 -166
- package/dist/streaming-BUQ0VJsg.mjs +0 -725
- package/dist/tool-builder-DCbIC5Eo.mjs +0 -186
- package/dist/transform-CiYJfNX0.mjs +0 -1007
- package/dist/types-Bx92KJfT.mjs +0 -4
- package/dist/types-CPhOReNX.mjs +0 -37
- package/dist/wasm-DQTnHDs4.mjs +0 -531
- package/dist/workflow-f3xJOcjx.mjs +0 -725
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { n as toolLookup } from "./registry-D-6e18lB.mjs";
|
|
2
|
-
import { t as bindByDepKey } from "./bind-helpers-xFfRF-qm.mjs";
|
|
3
|
-
import { t as tool } from "./tool-builder-DCbIC5Eo.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 t = toolLookup(macroTools);
|
|
18
|
-
const b = (invoke) => bindByDepKey(DEP_KEY, invoke);
|
|
19
|
-
async function ensure(ctx) {
|
|
20
|
-
const { MacroToolHandlers } = await import("./handlers-U6L4xhuF.mjs");
|
|
21
|
-
const existing = ctx.getDomainInstance(DEP_KEY);
|
|
22
|
-
if (existing) return existing;
|
|
23
|
-
const handlers = new MacroToolHandlers(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
|
-
tool: t("run_macro"),
|
|
36
|
-
domain: DOMAIN,
|
|
37
|
-
bind: b((h, a) => h.handleRunMacro(a))
|
|
38
|
-
}, {
|
|
39
|
-
tool: t("list_macros"),
|
|
40
|
-
domain: DOMAIN,
|
|
41
|
-
bind: b((h) => h.handleListMacros())
|
|
42
|
-
}]
|
|
43
|
-
};
|
|
44
|
-
//#endregion
|
|
45
|
-
export { manifest as default };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { n as toolLookup } from "./registry-D-6e18lB.mjs";
|
|
2
|
-
import { t as bindByDepKey } from "./bind-helpers-xFfRF-qm.mjs";
|
|
3
|
-
import { t as graphqlTools } from "./definitions-Beid2EB3.mjs";
|
|
4
|
-
//#region src/server/domains/graphql/manifest.ts
|
|
5
|
-
const DOMAIN = "graphql";
|
|
6
|
-
const DEP_KEY = "graphqlHandlers";
|
|
7
|
-
const t = toolLookup(graphqlTools);
|
|
8
|
-
const b = (invoke) => bindByDepKey(DEP_KEY, invoke);
|
|
9
|
-
async function ensure(ctx) {
|
|
10
|
-
const { CodeCollector } = await import("./modules-C184v-S9.mjs").then((n) => n.t);
|
|
11
|
-
const { GraphQLToolHandlers } = await import("./graphql-DYWzJ29s.mjs");
|
|
12
|
-
if (!ctx.collector) {
|
|
13
|
-
ctx.collector = new CodeCollector(ctx.config.puppeteer);
|
|
14
|
-
ctx.registerCaches();
|
|
15
|
-
}
|
|
16
|
-
if (!ctx.graphqlHandlers) ctx.graphqlHandlers = new GraphQLToolHandlers(ctx.collector);
|
|
17
|
-
return ctx.graphqlHandlers;
|
|
18
|
-
}
|
|
19
|
-
const manifest = {
|
|
20
|
-
kind: "domain-manifest",
|
|
21
|
-
version: 1,
|
|
22
|
-
domain: DOMAIN,
|
|
23
|
-
depKey: DEP_KEY,
|
|
24
|
-
profiles: ["workflow", "full"],
|
|
25
|
-
ensure,
|
|
26
|
-
registrations: [
|
|
27
|
-
{
|
|
28
|
-
tool: t("call_graph_analyze"),
|
|
29
|
-
domain: DOMAIN,
|
|
30
|
-
bind: b((h, a) => h.handleCallGraphAnalyze(a))
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
tool: t("script_replace_persist"),
|
|
34
|
-
domain: DOMAIN,
|
|
35
|
-
bind: b((h, a) => h.handleScriptReplacePersist(a))
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
tool: t("graphql_introspect"),
|
|
39
|
-
domain: DOMAIN,
|
|
40
|
-
bind: b((h, a) => h.handleGraphqlIntrospect(a))
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
tool: t("graphql_extract_queries"),
|
|
44
|
-
domain: DOMAIN,
|
|
45
|
-
bind: b((h, a) => h.handleGraphqlExtractQueries(a))
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
tool: t("graphql_replay"),
|
|
49
|
-
domain: DOMAIN,
|
|
50
|
-
bind: b((h, a) => h.handleGraphqlReplay(a))
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
};
|
|
54
|
-
//#endregion
|
|
55
|
-
export { manifest as default };
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { n as toolLookup } from "./registry-D-6e18lB.mjs";
|
|
2
|
-
import { t as bindByDepKey } from "./bind-helpers-xFfRF-qm.mjs";
|
|
3
|
-
import { t as PROXY_TOOLS } from "./definitions-C_4r7Fo-2.mjs";
|
|
4
|
-
//#region src/server/domains/proxy/manifest.ts
|
|
5
|
-
const DOMAIN = "proxy";
|
|
6
|
-
const DEP_KEY = "proxyHandlers";
|
|
7
|
-
const t = toolLookup(PROXY_TOOLS);
|
|
8
|
-
const b = (invoke) => bindByDepKey(DEP_KEY, invoke);
|
|
9
|
-
async function ensure(ctx) {
|
|
10
|
-
const { ProxyHandlers } = await import("./proxy-DqNs0bAd.mjs");
|
|
11
|
-
if (!ctx.proxyHandlers) ctx.proxyHandlers = new ProxyHandlers();
|
|
12
|
-
return ctx.proxyHandlers;
|
|
13
|
-
}
|
|
14
|
-
const manifest = {
|
|
15
|
-
kind: "domain-manifest",
|
|
16
|
-
version: 1,
|
|
17
|
-
domain: DOMAIN,
|
|
18
|
-
depKey: DEP_KEY,
|
|
19
|
-
profiles: ["full"],
|
|
20
|
-
ensure,
|
|
21
|
-
registrations: [
|
|
22
|
-
{
|
|
23
|
-
tool: t("proxy_start"),
|
|
24
|
-
domain: DOMAIN,
|
|
25
|
-
bind: b((h, a) => h.handleProxyStart(a))
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
tool: t("proxy_stop"),
|
|
29
|
-
domain: DOMAIN,
|
|
30
|
-
bind: b((h, a) => h.handleProxyStop(a))
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
tool: t("proxy_status"),
|
|
34
|
-
domain: DOMAIN,
|
|
35
|
-
bind: b((h, a) => h.handleProxyStatus(a))
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
tool: t("proxy_export_ca"),
|
|
39
|
-
domain: DOMAIN,
|
|
40
|
-
bind: b((h, a) => h.handleProxyExportCa(a))
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
tool: t("proxy_add_rule"),
|
|
44
|
-
domain: DOMAIN,
|
|
45
|
-
bind: b((h, a) => h.handleProxyAddRule(a))
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
tool: t("proxy_get_requests"),
|
|
49
|
-
domain: DOMAIN,
|
|
50
|
-
bind: b((h, a) => h.handleProxyGetRequests(a))
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
tool: t("proxy_clear_logs"),
|
|
54
|
-
domain: DOMAIN,
|
|
55
|
-
bind: b((h, a) => h.handleProxyClearLogs(a))
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
tool: t("proxy_setup_adb_device"),
|
|
59
|
-
domain: DOMAIN,
|
|
60
|
-
bind: b((h, a) => h.handleProxySetupAdbDevice(a))
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
};
|
|
64
|
-
//#endregion
|
|
65
|
-
export { manifest as default };
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { n as toolLookup } from "./registry-D-6e18lB.mjs";
|
|
2
|
-
import { t as bindByDepKey } from "./bind-helpers-xFfRF-qm.mjs";
|
|
3
|
-
import { t as tool } from "./tool-builder-DCbIC5Eo.mjs";
|
|
4
|
-
//#region src/server/domains/adb-bridge/definitions.ts
|
|
5
|
-
const adbBridgeTools = [
|
|
6
|
-
tool("adb_apk_analyze", (t) => t.desc("Analyze an installed APK — package name, version, permissions, activities, se...").string("serial", "Required. Android device serial or emulator id.").string("packageName", "Required. Android package name, for example com.example.app.").requiredOpenWorld("serial", "packageName")),
|
|
7
|
-
tool("adb_webview_list", (t) => t.desc("List debuggable WebView targets via ADB port forwarding to Chrome DevTools.").string("serial", "Required. Android device serial or emulator id.").number("hostPort", "Optional. Local port to use for forwarding.", { default: 9222 }).requiredOpenWorld("serial")),
|
|
8
|
-
tool("adb_webview_attach", (t) => t.desc("Attach to a WebView via ADB port forwarding; returns WebSocket debugger URL for CDP.").string("serial", "Required. Android device serial or emulator id.").string("targetId", "Required. WebView target id returned by adb_webview_list.").number("hostPort", "Optional. Local port to use for forwarding.", { default: 9222 }).requiredOpenWorld("serial", "targetId"))
|
|
9
|
-
];
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/server/domains/adb-bridge/manifest.ts
|
|
12
|
-
const DOMAIN = "adb-bridge";
|
|
13
|
-
const DEP_KEY = "adbBridgeHandlers";
|
|
14
|
-
const toolByName = toolLookup(adbBridgeTools);
|
|
15
|
-
const bind = (invoke) => bindByDepKey(DEP_KEY, invoke);
|
|
16
|
-
const registrations = [
|
|
17
|
-
{
|
|
18
|
-
tool: toolByName("adb_apk_analyze"),
|
|
19
|
-
domain: DOMAIN,
|
|
20
|
-
bind: bind((handlers, args) => handlers.handleAnalyzeApk(args))
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
tool: toolByName("adb_webview_list"),
|
|
24
|
-
domain: DOMAIN,
|
|
25
|
-
bind: bind((handlers, args) => handlers.handleWebViewList(args))
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
tool: toolByName("adb_webview_attach"),
|
|
29
|
-
domain: DOMAIN,
|
|
30
|
-
bind: bind((handlers, args) => handlers.handleWebViewAttach(args))
|
|
31
|
-
}
|
|
32
|
-
];
|
|
33
|
-
async function ensure(ctx) {
|
|
34
|
-
const { ADBBridgeHandlers } = await import("./handlers-tiy7EIBp.mjs");
|
|
35
|
-
const existingHandlers = ctx.getDomainInstance(DEP_KEY);
|
|
36
|
-
if (existingHandlers) return existingHandlers;
|
|
37
|
-
const handlers = new ADBBridgeHandlers();
|
|
38
|
-
ctx.setDomainInstance(DEP_KEY, handlers);
|
|
39
|
-
return handlers;
|
|
40
|
-
}
|
|
41
|
-
const manifest = {
|
|
42
|
-
kind: "domain-manifest",
|
|
43
|
-
version: 1,
|
|
44
|
-
domain: DOMAIN,
|
|
45
|
-
depKey: DEP_KEY,
|
|
46
|
-
profiles: ["full"],
|
|
47
|
-
registrations,
|
|
48
|
-
ensure,
|
|
49
|
-
workflowRule: {
|
|
50
|
-
patterns: [/(android|adb|mobile|apk|device).*(list|shell|pull|analyze|dump)/i, /(adb|android).*(webview|chrome|debug|cdp|inspect)/i],
|
|
51
|
-
priority: 75,
|
|
52
|
-
tools: [
|
|
53
|
-
"adb_apk_analyze",
|
|
54
|
-
"adb_webview_list",
|
|
55
|
-
"adb_webview_attach"
|
|
56
|
-
],
|
|
57
|
-
hint: "Android/ADB: list devices → run shell commands → pull/analyze APK → debug WebViews via CDP"
|
|
58
|
-
},
|
|
59
|
-
prerequisites: {
|
|
60
|
-
"*": [{
|
|
61
|
-
condition: "ADB server binary must be in PATH",
|
|
62
|
-
fix: "Install Android Platform Tools: https://developer.android.com/studio/command-line/adb"
|
|
63
|
-
}],
|
|
64
|
-
adb_webview_list: [{
|
|
65
|
-
condition: "App must have android:debuggable=\"true\"",
|
|
66
|
-
fix: "Use a debug build of the Android app"
|
|
67
|
-
}],
|
|
68
|
-
adb_webview_attach: [{
|
|
69
|
-
condition: "App must have android:debuggable=\"true\"",
|
|
70
|
-
fix: "Use a debug build of the Android app"
|
|
71
|
-
}]
|
|
72
|
-
},
|
|
73
|
-
toolDependencies: [{
|
|
74
|
-
from: "browser",
|
|
75
|
-
to: "adb-bridge",
|
|
76
|
-
relation: "uses",
|
|
77
|
-
weight: .7
|
|
78
|
-
}]
|
|
79
|
-
};
|
|
80
|
-
//#endregion
|
|
81
|
-
export { manifest as default };
|
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
import { n as toolLookup, t as ensureBrowserCore } from "./registry-D-6e18lB.mjs";
|
|
2
|
-
import { t as bindByDepKey } from "./bind-helpers-xFfRF-qm.mjs";
|
|
3
|
-
import { n as advancedBrowserToolDefinitions, t as browserTools } from "./definitions-bAhHQJq9.mjs";
|
|
4
|
-
//#region src/server/domains/browser/manifest.ts
|
|
5
|
-
const DOMAIN = "browser";
|
|
6
|
-
const DEP_KEY = "browserHandlers";
|
|
7
|
-
const t = toolLookup([...browserTools, ...advancedBrowserToolDefinitions]);
|
|
8
|
-
const b = (invoke) => bindByDepKey(DEP_KEY, invoke);
|
|
9
|
-
async function ensure(ctx) {
|
|
10
|
-
const { BrowserToolHandlers } = await import("./browser-BpOr5PEx.mjs");
|
|
11
|
-
await ensureBrowserCore(ctx);
|
|
12
|
-
if (!ctx.browserHandlers) ctx.browserHandlers = new BrowserToolHandlers(ctx.collector, ctx.pageController, ctx.scriptManager, ctx.consoleMonitor, ctx.eventBus);
|
|
13
|
-
return ctx.browserHandlers;
|
|
14
|
-
}
|
|
15
|
-
const manifest = {
|
|
16
|
-
kind: "domain-manifest",
|
|
17
|
-
version: 1,
|
|
18
|
-
domain: DOMAIN,
|
|
19
|
-
depKey: DEP_KEY,
|
|
20
|
-
profiles: ["workflow", "full"],
|
|
21
|
-
ensure,
|
|
22
|
-
workflowRule: {
|
|
23
|
-
patterns: [/(browser|page|navigate|screenshot|click|type|scrape)/i, /(浏览器|页面|导航|截图|点击|输入|爬取)/i],
|
|
24
|
-
priority: 90,
|
|
25
|
-
tools: [
|
|
26
|
-
"page_navigate",
|
|
27
|
-
"page_screenshot",
|
|
28
|
-
"page_click",
|
|
29
|
-
"page_type",
|
|
30
|
-
"page_evaluate"
|
|
31
|
-
],
|
|
32
|
-
hint: "Browser automation workflow: bootstrap browser/page state -> navigate -> interact -> extract data"
|
|
33
|
-
},
|
|
34
|
-
prerequisites: {
|
|
35
|
-
page_navigate: [{
|
|
36
|
-
condition: "Browser must be launched",
|
|
37
|
-
fix: "Call browser_launch or browser_attach first"
|
|
38
|
-
}],
|
|
39
|
-
page_click: [{
|
|
40
|
-
condition: "Browser must be launched",
|
|
41
|
-
fix: "Call browser_launch or browser_attach first"
|
|
42
|
-
}],
|
|
43
|
-
page_type: [{
|
|
44
|
-
condition: "Browser must be launched",
|
|
45
|
-
fix: "Call browser_launch or browser_attach first"
|
|
46
|
-
}],
|
|
47
|
-
page_screenshot: [{
|
|
48
|
-
condition: "Browser must be launched",
|
|
49
|
-
fix: "Call browser_launch or browser_attach first"
|
|
50
|
-
}],
|
|
51
|
-
page_evaluate: [{
|
|
52
|
-
condition: "Browser must be launched",
|
|
53
|
-
fix: "Call browser_launch or browser_attach first"
|
|
54
|
-
}],
|
|
55
|
-
page_hover: [{
|
|
56
|
-
condition: "Browser must be launched",
|
|
57
|
-
fix: "Call browser_launch or browser_attach first"
|
|
58
|
-
}],
|
|
59
|
-
page_back: [{
|
|
60
|
-
condition: "Browser must be launched",
|
|
61
|
-
fix: "Call browser_launch or browser_attach first"
|
|
62
|
-
}],
|
|
63
|
-
page_forward: [{
|
|
64
|
-
condition: "Browser must be launched",
|
|
65
|
-
fix: "Call browser_launch or browser_attach first"
|
|
66
|
-
}],
|
|
67
|
-
page_reload: [{
|
|
68
|
-
condition: "Browser must be launched",
|
|
69
|
-
fix: "Call browser_launch or browser_attach first"
|
|
70
|
-
}],
|
|
71
|
-
page_scroll: [{
|
|
72
|
-
condition: "Browser must be launched",
|
|
73
|
-
fix: "Call browser_launch or browser_attach first"
|
|
74
|
-
}]
|
|
75
|
-
},
|
|
76
|
-
registrations: [
|
|
77
|
-
{
|
|
78
|
-
tool: t("get_detailed_data"),
|
|
79
|
-
domain: DOMAIN,
|
|
80
|
-
bind: b((h, a) => h.handleGetDetailedData(a))
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
tool: t("browser_attach"),
|
|
84
|
-
domain: DOMAIN,
|
|
85
|
-
bind: b((h, a) => h.handleBrowserAttach(a))
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
tool: t("browser_list_tabs"),
|
|
89
|
-
domain: DOMAIN,
|
|
90
|
-
bind: b((h, a) => h.handleBrowserListTabs(a))
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
tool: t("browser_list_cdp_targets"),
|
|
94
|
-
domain: DOMAIN,
|
|
95
|
-
bind: b((h, a) => h.handleBrowserListCdpTargets(a))
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
tool: t("browser_select_tab"),
|
|
99
|
-
domain: DOMAIN,
|
|
100
|
-
bind: b((h, a) => h.handleBrowserSelectTab(a))
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
tool: t("browser_attach_cdp_target"),
|
|
104
|
-
domain: DOMAIN,
|
|
105
|
-
bind: b((h, a) => h.handleBrowserAttachCdpTarget(a))
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
tool: t("browser_detach_cdp_target"),
|
|
109
|
-
domain: DOMAIN,
|
|
110
|
-
bind: b((h, a) => h.handleBrowserDetachCdpTarget(a))
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
tool: t("browser_evaluate_cdp_target"),
|
|
114
|
-
domain: DOMAIN,
|
|
115
|
-
bind: b((h, a) => h.handleBrowserEvaluateCdpTarget(a))
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
tool: t("browser_launch"),
|
|
119
|
-
domain: DOMAIN,
|
|
120
|
-
bind: b((h, a) => h.handleBrowserLaunch(a))
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
tool: t("browser_close"),
|
|
124
|
-
domain: DOMAIN,
|
|
125
|
-
bind: b((h, a) => h.handleBrowserClose(a))
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
tool: t("browser_status"),
|
|
129
|
-
domain: DOMAIN,
|
|
130
|
-
bind: b((h, a) => h.handleBrowserStatus(a))
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
tool: t("page_navigate"),
|
|
134
|
-
domain: DOMAIN,
|
|
135
|
-
bind: b((h, a) => h.handlePageNavigate(a))
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
tool: t("page_reload"),
|
|
139
|
-
domain: DOMAIN,
|
|
140
|
-
bind: b((h, a) => h.handlePageReload(a))
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
tool: t("page_back"),
|
|
144
|
-
domain: DOMAIN,
|
|
145
|
-
bind: b((h, a) => h.handlePageBack(a))
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
tool: t("page_forward"),
|
|
149
|
-
domain: DOMAIN,
|
|
150
|
-
bind: b((h, a) => h.handlePageForward(a))
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
tool: t("page_click"),
|
|
154
|
-
domain: DOMAIN,
|
|
155
|
-
bind: b((h, a) => h.handlePageClick(a))
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
tool: t("page_type"),
|
|
159
|
-
domain: DOMAIN,
|
|
160
|
-
bind: b((h, a) => h.handlePageType(a))
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
tool: t("page_select"),
|
|
164
|
-
domain: DOMAIN,
|
|
165
|
-
bind: b((h, a) => h.handlePageSelect(a))
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
tool: t("page_hover"),
|
|
169
|
-
domain: DOMAIN,
|
|
170
|
-
bind: b((h, a) => h.handlePageHover(a))
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
tool: t("page_scroll"),
|
|
174
|
-
domain: DOMAIN,
|
|
175
|
-
bind: b((h, a) => h.handlePageScroll(a))
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
tool: t("page_wait_for_selector"),
|
|
179
|
-
domain: DOMAIN,
|
|
180
|
-
bind: b((h, a) => h.handlePageWaitForSelector(a))
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
tool: t("page_evaluate"),
|
|
184
|
-
domain: DOMAIN,
|
|
185
|
-
bind: b((h, a) => h.handlePageEvaluate(a))
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
tool: t("page_screenshot"),
|
|
189
|
-
domain: DOMAIN,
|
|
190
|
-
bind: b((h, a) => h.handlePageScreenshot(a))
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
tool: t("get_all_scripts"),
|
|
194
|
-
domain: DOMAIN,
|
|
195
|
-
bind: b((h, a) => h.handleGetAllScripts(a))
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
tool: t("get_script_source"),
|
|
199
|
-
domain: DOMAIN,
|
|
200
|
-
bind: b((h, a) => h.handleGetScriptSource(a))
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
tool: t("console_monitor"),
|
|
204
|
-
domain: DOMAIN,
|
|
205
|
-
bind: b((h, a) => h.handleConsoleMonitor(a))
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
tool: t("console_get_logs"),
|
|
209
|
-
domain: DOMAIN,
|
|
210
|
-
bind: b((h, a) => h.handleConsoleGetLogs(a))
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
tool: t("console_execute"),
|
|
214
|
-
domain: DOMAIN,
|
|
215
|
-
bind: b((h, a) => h.handleConsoleExecute(a))
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
tool: t("page_inject_script"),
|
|
219
|
-
domain: DOMAIN,
|
|
220
|
-
bind: b((h, a) => h.handlePageInjectScript(a))
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
tool: t("page_cookies"),
|
|
224
|
-
domain: DOMAIN,
|
|
225
|
-
bind: b((h, a) => h.handlePageCookiesDispatch(a))
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
tool: t("page_set_viewport"),
|
|
229
|
-
domain: DOMAIN,
|
|
230
|
-
bind: b((h, a) => h.handlePageSetViewport(a))
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
tool: t("page_emulate_device"),
|
|
234
|
-
domain: DOMAIN,
|
|
235
|
-
bind: b((h, a) => h.handlePageEmulateDevice(a))
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
tool: t("page_local_storage"),
|
|
239
|
-
domain: DOMAIN,
|
|
240
|
-
bind: b((h, a) => h.handlePageLocalStorageDispatch(a))
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
tool: t("page_press_key"),
|
|
244
|
-
domain: DOMAIN,
|
|
245
|
-
bind: b((h, a) => h.handlePagePressKey(a))
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
tool: t("captcha_detect"),
|
|
249
|
-
domain: DOMAIN,
|
|
250
|
-
bind: b((h, a) => h.handleCaptchaDetect(a))
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
tool: t("captcha_wait"),
|
|
254
|
-
domain: DOMAIN,
|
|
255
|
-
bind: b((h, a) => h.handleCaptchaWait(a))
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
tool: t("captcha_config"),
|
|
259
|
-
domain: DOMAIN,
|
|
260
|
-
bind: b((h, a) => h.handleCaptchaConfig(a))
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
tool: t("stealth_inject"),
|
|
264
|
-
domain: DOMAIN,
|
|
265
|
-
bind: b((h, a) => h.handleStealthInject(a))
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
tool: t("stealth_set_user_agent"),
|
|
269
|
-
domain: DOMAIN,
|
|
270
|
-
bind: b((h, a) => h.handleStealthSetUserAgent(a))
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
tool: t("stealth_configure_jitter"),
|
|
274
|
-
domain: DOMAIN,
|
|
275
|
-
bind: b((h, a) => h.handleStealthConfigureJitter(a))
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
tool: t("stealth_generate_fingerprint"),
|
|
279
|
-
domain: DOMAIN,
|
|
280
|
-
bind: b((h, a) => h.handleStealthGenerateFingerprint(a))
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
tool: t("stealth_verify"),
|
|
284
|
-
domain: DOMAIN,
|
|
285
|
-
bind: b((h, a) => h.handleStealthVerify(a))
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
tool: t("camoufox_geolocation"),
|
|
289
|
-
domain: DOMAIN,
|
|
290
|
-
bind: b((h, a) => h.handleCamoufoxGeolocation(a))
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
tool: t("camoufox_server"),
|
|
294
|
-
domain: DOMAIN,
|
|
295
|
-
bind: b((h, a) => h.handleCamoufoxServerDispatch(a))
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
tool: t("framework_state_extract"),
|
|
299
|
-
domain: DOMAIN,
|
|
300
|
-
bind: b((h, a) => h.handleFrameworkStateExtract(a))
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
tool: t("indexeddb_dump"),
|
|
304
|
-
domain: DOMAIN,
|
|
305
|
-
bind: b((h, a) => h.handleIndexedDBDump(a))
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
tool: t("js_heap_search"),
|
|
309
|
-
domain: DOMAIN,
|
|
310
|
-
bind: b((h, a) => h.handleJSHeapSearch(a))
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
tool: t("tab_workflow"),
|
|
314
|
-
domain: DOMAIN,
|
|
315
|
-
bind: b((h, a) => h.handleTabWorkflow(a))
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
tool: t("human_mouse"),
|
|
319
|
-
domain: DOMAIN,
|
|
320
|
-
bind: b((h, a) => h.handleHumanMouse(a))
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
tool: t("human_scroll"),
|
|
324
|
-
domain: DOMAIN,
|
|
325
|
-
bind: b((h, a) => h.handleHumanScroll(a))
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
tool: t("human_typing"),
|
|
329
|
-
domain: DOMAIN,
|
|
330
|
-
bind: b((h, a) => h.handleHumanTyping(a))
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
tool: t("captcha_vision_solve"),
|
|
334
|
-
domain: DOMAIN,
|
|
335
|
-
bind: b((h, a) => h.handleCaptchaVisionSolve(a))
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
tool: t("widget_challenge_solve"),
|
|
339
|
-
domain: DOMAIN,
|
|
340
|
-
bind: b((h, a) => h.handleWidgetChallengeSolve(a))
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
tool: t("browser_jsdom_parse"),
|
|
344
|
-
domain: DOMAIN,
|
|
345
|
-
bind: b((h, a) => h.handleJsdomParse(a))
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
tool: t("browser_jsdom_query"),
|
|
349
|
-
domain: DOMAIN,
|
|
350
|
-
bind: b((h, a) => h.handleJsdomQuery(a))
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
tool: t("browser_jsdom_execute"),
|
|
354
|
-
domain: DOMAIN,
|
|
355
|
-
bind: b((h, a) => h.handleJsdomExecute(a))
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
tool: t("browser_jsdom_serialize"),
|
|
359
|
-
domain: DOMAIN,
|
|
360
|
-
bind: b((h, a) => h.handleJsdomSerialize(a))
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
tool: t("browser_jsdom_cookies"),
|
|
364
|
-
domain: DOMAIN,
|
|
365
|
-
bind: b((h, a) => h.handleJsdomCookies(a))
|
|
366
|
-
}
|
|
367
|
-
]
|
|
368
|
-
};
|
|
369
|
-
//#endregion
|
|
370
|
-
export { manifest as default };
|