npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@p-dsh-market/amap-map-assistant

v0.1.4

Published

DSH 高德地图查询、搜索与路线规划可视化插件

Downloads

219

Readme

高德地图

@p-dsh-market/amap-map-assistant 是 DSH 的高德地图展示插件。它与 Desktop 内建的 amap MCP 配合使用:高德 MCP 查询真实地点、POI 和路线,插件只保存经过校验的展示 DTO,并在正式的 DSH slots 中提供地图卡片、侧边栏入口和右侧地图面板。

能力

  • amap_present_map 展示单地点、POI 列表和四类路线结果。
  • conversation.view 提供“地图”大地图会话页;sidebar.footer.action 也提供同一会话的地图入口。
  • DSH Desktop 右上角标题栏的“地图设置”通过受控 pluginRpc 打开设置面板。
  • tool.call.toolview 只显示地图卡片;用户可以点击“在地图中查看”打开右侧面板,或切换到“地图”大地图页。
  • shell.overlay 提供可读的路线摘要、点位列表和在线高德 JS API 地图。
  • 驾车路线支持最多 16 个有序途经点;其它出行方式会按地点顺序绘制分段路线,失败时保留有序连线。
  • 当前会话状态保存到用户级插件目录,不复制完整对话或 MCP 原始响应。

前置条件

  1. 在 DSH Desktop 的 MCP 管理页启用高德地图并配置 Web 服务 Key。
  2. 点击 DSH Desktop 右上角的“地图设置”,填写 Web JS API Key 与 securityJsCode;三种 Key 不会自动互相复制。
  3. 安装本包到 DSH web profile 后重启 DSH,并在对话中按 Skill 规则先调用 mcp__amap__*,再调用 amap_present_map。

JS API 只在线加载,不打包高德脚本、瓦片或样式。安全代理固定使用一级路由 /_AMapService,插件设置只返回两项凭据的配置状态,不回显密值;缺少 JS 凭据时,正文卡片仍保留 MCP 返回的地点、列表和路线摘要。