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

@atomic-ai/msco-openclaw

v0.1.13

Published

Microsoft Copilot provider plugin for OpenClaw.

Readme

msco-openclaw

Microsoft Copilot provider plugin for OpenClaw.

Install

Install from a local path:

openclaw plugins install /absolute/path/to/msco-openclaw

Enable the provider plugin:

openclaw plugins enable msco-openclaw

Restart OpenClaw after enabling.

Authenticate

Run token auth:

openclaw models auth login --provider microsoft-copilot --set-default

When prompted, paste your Microsoft Copilot access token.

Configuration

Environment variables:

MICROSOFT_COPILOT_ACCESS_TOKEN=
MICROSOFT_COPILOT_COOKIE=
MICROSOFT_COPILOT_CONVERSATION_ID=
MICROSOFT_COPILOT_CLIENT_SESSION_ID=
MICROSOFT_COPILOT_MODE=reasoning
MICROSOFT_COPILOT_CHANNEL=edge
MICROSOFT_COPILOT_API_VERSION=2
MICROSOFT_COPILOT_DEBUG=0
MICROSOFT_COPILOT_TRACE=0
MICROSOFT_COPILOT_TRACE_FILE=logs/copilot-session.ndjson

Legacy COPILOT_* names are accepted.

Model

This plugin currently exposes one model:

  • microsoft-copilot/copilot

Thinking mapping:

  • off, minimal, low -> smart
  • medium, high, xhigh -> reasoning

Limitations (v1)

  • Single-model provider: only microsoft-copilot/copilot is supported.
  • Token-based auth only (paste token via openclaw models auth login).
  • Usage/quota endpoint integration is not included in v1.

Troubleshooting

  • Microsoft Copilot token missing

    • Re-run:
      openclaw models auth login --provider microsoft-copilot --set-default
    • Confirm MICROSOFT_COPILOT_ACCESS_TOKEN is set (or configured in OpenClaw auth storage).
  • Unknown model error

    • Use exactly: microsoft-copilot/copilot.
    • This provider is intentionally single-model in v1.
  • Plugin not available after install

    • Ensure plugin is enabled:
      openclaw plugins enable msco-openclaw
    • Restart OpenClaw after enabling.
  • No usage/quota numbers shown

    • Expected in v1. Usage endpoint wiring is not implemented yet.
  • No output and no visible Copilot web conversation

    • Use daemon-safe env (recommended):
      mkdir -p ~/.openclaw/logs
      cat > ~/.openclaw/.env <<'EOF'
      MICROSOFT_COPILOT_TRACE=1
      MICROSOFT_COPILOT_TRACE_FILE=$HOME/.openclaw/logs/msco-openclaw.ndjson
      EOF
    • Restart gateway and retry once:
      openclaw gateway restart
    • Inspect trace (latest entries):
      tail -n 120 ~/.openclaw/logs/msco-openclaw.ndjson
    • Quick verification filters:
      grep -E "plugin.debug.enabled|plugin.stream.invoked|conversation.create.request|config.fetch.request|socket.connecting|request.start|request.completed|request.failed" ~/.openclaw/logs/msco-openclaw.ndjson | tail -n 80
    • Look for these events:
      • plugin.debug.enabled (confirms daemon loaded env + plugin startup)
      • provider.wrapStreamFn (confirms OpenClaw actually wired this provider's stream path)
      • plugin.stream.invoked (confirms your actual request executed through this plugin)
      • conversation.create.request / config.fetch.request (sanitized outbound HTTP request details)
      • socket.connecting (sanitized websocket URL + headers used)
      • request.start
      • conversation.create.start / conversation.create.done
      • socket.inbound.event
      • request.completed or request.failed
    • TUI-visible validation: when debug is enabled and request fails, the trace now includes explicit reasons such as No Copilot response events received before timeout, which should align with the user-facing error path.