Important
This repository is now archived As the official repository Tencent/openclaw-weixin is now open-sourced, this mirror is no longer maintained. Please visit the official repository for the latest code and support.
This repository is an unofficial mirror of the npm package @tencent-weixin/openclaw-weixin. It is synchronized daily at 03:00 (UTC+8) via GitHub Actions to ensure the mirror stays up-to-date with the latest npm releases.
- Version mirroring: Reliably synchronize
@tencent-weixin/openclaw-weixinreleases from npm into this repository with traceable history. - Source archival: Preserve unpacked source snapshots on the
orphanbranch (one commit and one tag per version). - Release intelligence: Generate English release notes from version diffs and README changes using the GitHub Copilot CLI.
- Developer enablement: Provide readable source, release notes, and historical traceability to support both human and AI-assisted analysis and extension.
flowchart LR
classDef source fill:#f7f7f7,stroke:#999,stroke-width:1px;
classDef engine fill:#eaf3ff,stroke:#4a78c2,stroke-width:2px;
classDef target fill:#eefbf3,stroke:#2f9e64,stroke-width:1px;
subgraph npm[npm Registry]
direction TB
P1[Package Releases]:::source
end
subgraph Engine[Automation Engine]
direction TB
S1[Mirroring Logic]:::engine
S2[AI Intelligence]:::engine
end
subgraph GH[GitHub Repository]
direction TB
A1[(orphan branch<br/>Unpacked Source)]:::target
A2[(Git Tags<br/>Version Pointers)]:::target
A3[(GitHub Releases<br/>AI Changelogs)]:::target
end
P1 -->|Fetch Tarball| S1
S1 -->|Unpack & Commit| A1
S1 -->|Tag Version| A2
A2 -->|Diff Analysis| S2
S2 -->|Publish Notes| A3
- Runtime: Bun (native TypeScript execution)
- Language: TypeScript (ESM)
- Package manager: Bun
- AI Engine: GitHub Copilot CLI (
@github/copilot) - Linter/Formatter: Biome
- Main entrypoint:
scripts/index.ts
- Source Code: The un-minified source code for each version lives on the
orphanbranch, with a linear history (one commit per version). - By Tag/Version: You can browse code for a specific version by running:
git checkout <version>(e.g.,git checkout 1.0.0). Note that tags do not have avprefix. - Releases: View AI-generated changelogs for each version in the GitHub Releases section of this repository.
Install dependencies:
bun install --frozen-lockfileRun the full sync orchestration (check -> sync -> release):
bun run scripts/index.tsCheck code quality (lint & format):
bun run lintAuto-fix code quality issues:
bun run formatType-check scripts:
bun run typecheckRun all tests:
bun test- Main Branch: All automation logic, including GitHub Actions workflows and TypeScript scripts used to synchronize the repository with the npm registry, is located on the
mainbranch. - Process: Versions are synced automatically via a scheduled GitHub Actions workflow. It executes
bun run scripts/index.ts, which checks for unsynced versions, imports tarballs toorphan, and creates releases using the GitHub Copilot CLI for changelog generation. - CI Caching: The workflow utilizes Bun's dependency caching to ensure fast and reliable execution.