← Catalog

@amaster.ai/pi-wecom

Pi extension for WeCom (enterprise WeChat) workspace — contacts, messages, meetings, schedules, docs and more via wecom-cli.

Extension

Install

Install with PiG

pig install npm:@amaster.ai/pi-wecom

Install with Pi

pi install npm:@amaster.ai/pi-wecom
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/TGYD-helige/pi/master/packages/pi-wecom/preview.png",
  "extensions": [
    "./dist/index.js"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.41 (README.md). PiG does not review it.

@amaster.ai/pi-wecom

pi-wecom preview

Pi extension for WeCom (企业微信) workspace — contacts, messages, meetings, schedules, docs and more via wecom-cli.

Features

  • Uses wecom-cli from PATH first and auto-installs a local copy if needed
  • Injects wecom-cli skills into the agent session
  • Detects authentication status and prompts for QR code login if needed

Configuration

Add to ~/.pi/agent/settings.json or a trusted project's .pi/settings.json:

Project settings are loaded only after project trust is accepted. For environment-backed credentials, use user or agent settings because project settings do not expand ${ENV_VAR}.

{
  "pi-wecom": {
    "botId": "your_bot_id",
    "botSecret": "your_bot_secret"
  }
}
FieldRequiredDescription
botIdYesBot ID from WeCom Admin Console
botSecretYesBot Secret

Note: wecom-cli requires QR code scan for initial authentication. After the extension installs the CLI, run wecom-cli auth init --noninteractive to complete login.

Skills Provided

14 skills from wecom-cli covering:

  • wecomcli-shared — Shared setup and authentication checks
  • wecomcli-message — Messages and conversations
  • wecomcli-contact — Address book, user search
  • wecomcli-meeting — Create, cancel, manage meetings
  • wecomcli-calendar — Schedule CRUD, free/busy
  • wecomcli-todo — Task management
  • wecomcli-email — Email search and reading
  • wecomcli-disk — WeDrive files and folders
  • wecomcli-media — Media upload and download
  • wecomcli-doc-manage — Document search and permissions
  • wecomcli-doc — Online documents
  • wecomcli-sheet — Online spreadsheets
  • wecomcli-smartsheet — Smart Sheet data and structure
  • wecomcli-smartpage — Smart documents

CLI Reference