v0.1.2: Fix deprecated dependencies and CI stability#4
Merged
ApiliumDevTeam merged 21 commits intomainfrom Mar 2, 2026
Merged
Conversation
Keep Claude Code project instructions local-only, preventing accidental commits of per-developer config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Bump minimatch 10.2.1 → 10.2.3 (2x HIGH ReDoS) - Bump fast-xml-parser 5.3.6 → 5.3.8 (LOW stack overflow) - Bump node-llama-cpp 3.15.1 → 3.17.1 (cmake-js 8, drops deprecated deps) - Remove @discordjs/opus direct dep, override to opusscript (eliminates node-pre-gyp chain: rimraf@3, glob@7, inflight, npmlog, gauge)
Un-gitignore docs/reference/templates/IDENTITY.md, docs/reference/templates/USER.md, and src/canvas-host/a2ui/a2ui.bundle.js so CI check-docs, tests, and build-artifacts pipelines can find them.
vitest 4.x no longer hoists vi.mock() from helper/harness files. Migrate all affected tests to use vi.hoisted() + inline vi.mock() factories, ensuring mocks are properly initialized before imports. - BlueBubbles: separate vi.hoisted() from export declarations - Telegram: move mock setup from external harness into test file - Slack: use vi.hoisted() for enqueueSystemEvent mock - Feishu: inline mock implementations in vi.mock() factories - Agent runner: sync factories + default mock return values - Cron: polling-based assertions, fix storeLocks cross-test collision - CortexSidecar: update spawn/signal mock patterns - hooks/install: use import.meta.url for fixture path resolution Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The *.tgz gitignore rule was excluding this test fixture, causing ENOENT in hooks/install.test.ts on CI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
## Summary - **Docs**: Rename clawnet → meshnet, update platform docs (en + zh-CN), fix README links (maryos → mayros) - **Platforms**: iOS (PrivacyInfo, config), Android (Play Store + sideload flavors), macOS (Package.swift) - **Extensions**: zod v4, observability route API, esbuild import fix - **Source**: plugin SDK exports, legacy plist references renamed - **Security**: fix deprecated/vulnerable transitive dependencies (minimatch, fast-xml-parser, node-llama-cpp, drop @discordjs/opus) - **CI**: Dependabot Docker config, workflow and build script updates - **Release**: bump to v0.1.2 (38 extensions synced) ## Dependency fixes | Package | Change | Severity | |---------|--------|----------| | minimatch | 10.2.1 → 10.2.3 | 2x HIGH ReDoS | | fast-xml-parser | 5.3.6 → 5.3.8 | LOW stack overflow | | node-llama-cpp | 3.15.1 → 3.17.1 | cmake-js 8, drops deprecated deps | | @discordjs/opus | removed + override to opusscript | eliminates node-pre-gyp chain | ## Test plan - [x] `pnpm install` — no resolution errors - [x] `pnpm audit` — 0 vulnerabilities - [x] `pnpm build` — succeeds - [x] `pnpm tsgo` — 0 type errors - [x] `pnpm test` — 848/848 passed
ApiliumDevTeam
added a commit
that referenced
this pull request
Mar 9, 2026
## Summary - **Bump pnpm overrides**: `minimatch` 10.2.1→10.2.3 (2x HIGH ReDoS), `fast-xml-parser` 5.3.6→5.3.8 (LOW stack overflow) - **Bump node-llama-cpp** 3.15.1→3.17.1: drops 4 deprecated transitive packages (npmlog, gauge, are-we-there-yet, old tar) - **Drop @discordjs/opus**: eliminates 7 deprecated packages from the `node-pre-gyp` chain; `opusscript` is already the preferred codec - **Fix 107 README links**: maryos→mayros across all docs - **Fix 15 broken internal doc links** caught by `docs:check-links` - **Fix 15 test files for vitest 4.x** mock hoisting compatibility (BlueBubbles, Telegram, Slack, Feishu, agent-runner, cron, hooks/install, CortexSidecar) - **Track CI-required assets** (.gitignore negation rules for template docs, a2ui bundle placeholder, test fixture tgz) - **Bump version to 0.1.2** + sync 38 extensions - Platform updates: iOS, Android (Play Store + sideload flavors), macOS - Rename clawnet→meshnet in refactor docs ## Test plan - [x] `pnpm install` — no resolution errors - [x] `pnpm build` — succeeds - [x] All 239 previously-failing tests pass locally (12 test files verified) - [x] CI: check-docs, build-artifacts, CodeQL, skills-python, protocol, android test/build all green - [ ] CI: full test suite on push - [ ] CI: macOS job 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
minimatch10.2.1→10.2.3 (2x HIGH ReDoS),fast-xml-parser5.3.6→5.3.8 (LOW stack overflow)node-pre-gypchain;opusscriptis already the preferred codecdocs:check-linksTest plan
pnpm install— no resolution errorspnpm build— succeeds🤖 Generated with Claude Code