MCPcopy Index your code
hub / github.com/LucivHuang/heimdallr-sdk

github.com/LucivHuang/heimdallr-sdk @v0.0.16

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.16 ↗ · + Follow
783 symbols 1,584 edges 286 files 14 documented · 2% updated 16mo ago★ 6874 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

HEIMDALLR-SDK

一款简单易用、轻量化、插件化的前端监控sdk

An easy-to-use, lightweight, plug-in front-end monitoring SDK

Documentation

To check out docs, visit heimdallr-sdk.

Env

  • node version: 16+
  • npm script: yarn

Preparation

Make sure MySQL and RabbitMQ are installed

Dev

Installation Dependency

yarn

Ensure that the local MySQL database service is started

  • host: localhost
  • port: 3306

Initialize the database and automatically create a database named test_base database for debugging

yarn prisma

If this is the first run, execute the build script first

yarn build

Start Local Service

yarn dev

Build

Installation Dependency

yarn

Build a single package

yarn workspace [packageName] build

For example, build a browser package

yarn workspace @heimdallr-sdk/browser build

Build all packages

yarn build

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
packages/browser/global.d.ts
InterfaceResponseType (Interface)
(no doc)
packages/server_producer/src/types/index.ts
RecordDataType (Interface)
(no doc)
packages/record/src/types/index.ts
DomCollectedType (Interface)
(no doc)
packages/dom/src/index.ts
IAnyObject (Interface)
(no doc)
packages/types/src/common.ts
ConsoleDataMsgType (Interface)
(no doc)
packages/console/src/types/index.ts
WxDomDataType (Interface)
(no doc)
packages/wx_dom/src/types/index.ts
WxRouteDataType (Interface)
(no doc)
packages/wx_route/src/types/index.ts

Core symbols most depended-on inside this repo

get
called by 61
packages/performance/src/lib/fps.ts
generateUUID
called by 27
packages/utils/src/helper.ts
formatDate
called by 22
packages/utils/src/helper.ts
formatDecimal
called by 22
packages/utils/src/helper.ts
unshift
called by 20
packages/core/src/breadcrumb.ts
failResponse
called by 16
packages/cli/templates/mqserver/consumer/src/lib/utils.ts
failResponse
called by 16
packages/cli/templates/server/src/lib/utils.ts
failResponse
called by 16
packages/server_consumer/src/lib/utils.ts

Shape

Function 352
Interface 179
Method 140
Class 67
Enum 45

Languages

TypeScript100%

Modules by API surface

packages/manager/src/helper/utils.ts18 symbols
packages/cli/templates/client/src/helper/utils.ts18 symbols
packages/types/src/constant.ts17 symbols
packages/performance/src/lib/fmp.ts17 symbols
packages/wx/src/index.ts16 symbols
packages/manager/src/pages/log/hooks/useListTable.ts12 symbols
packages/cli/templates/client/src/pages/log/hooks/useListTable.ts12 symbols
packages/manager/src/pages/sessions/hooks/useListTable.ts10 symbols
packages/cli/templates/client/src/pages/sessions/hooks/useListTable.ts10 symbols
packages/browser/src/types/index.ts10 symbols
packages/server_consumer/src/types/common.ts9 symbols
packages/server/src/types/common.ts9 symbols

For agents

$ claude mcp add heimdallr-sdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page