From 8e607d927c30a0842ace96579697b6332bac6a0b Mon Sep 17 00:00:00 2001 From: Shadow Date: Mon, 9 Feb 2026 19:06:16 -0600 Subject: [PATCH] Docs: require labeler + label updates for channels/extensions --- .github/labeler.yml | 21 +++++++++++++++++++++ AGENTS.md | 2 +- src/agents/pi-embedded-helpers/errors.ts | 2 +- src/gateway/server-methods/CLAUDE.md | 2 +- 4 files changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index a1259f44aa4..3147321ee37 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -79,6 +79,11 @@ - any-glob-to-any-file: - "extensions/tlon/**" - "docs/channels/tlon.md" +"channel: twitch": + - changed-files: + - any-glob-to-any-file: + - "extensions/twitch/**" + - "docs/channels/twitch.md" "channel: voice-call": - changed-files: - any-glob-to-any-file: @@ -226,3 +231,19 @@ - changed-files: - any-glob-to-any-file: - "extensions/qwen-portal-auth/**" +"extensions: device-pair": + - changed-files: + - any-glob-to-any-file: + - "extensions/device-pair/**" +"extensions: minimax-portal-auth": + - changed-files: + - any-glob-to-any-file: + - "extensions/minimax-portal-auth/**" +"extensions: phone-control": + - changed-files: + - any-glob-to-any-file: + - "extensions/phone-control/**" +"extensions: talk-voice": + - changed-files: + - any-glob-to-any-file: + - "extensions/talk-voice/**" diff --git a/AGENTS.md b/AGENTS.md index 55d86e4d8da..902a76db688 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,7 +15,7 @@ - Core channel docs: `docs/channels/` - Core channel code: `src/telegram`, `src/discord`, `src/slack`, `src/signal`, `src/imessage`, `src/web` (WhatsApp web), `src/channels`, `src/routing` - Extensions (channel plugins): `extensions/*` (e.g. `extensions/msteams`, `extensions/matrix`, `extensions/zalo`, `extensions/zalouser`, `extensions/voice-call`) -- When adding channels/extensions/apps/docs, review `.github/labeler.yml` for label coverage. +- When adding channels/extensions/apps/docs, update `.github/labeler.yml` and create matching GitHub labels (use existing channel/extension label colors). ## Docs Linking (Mintlify) diff --git a/src/agents/pi-embedded-helpers/errors.ts b/src/agents/pi-embedded-helpers/errors.ts index f718786d12f..129de9480bb 100644 --- a/src/agents/pi-embedded-helpers/errors.ts +++ b/src/agents/pi-embedded-helpers/errors.ts @@ -534,7 +534,7 @@ export function isBillingErrorMessage(raw: string): boolean { if (!value) { return false; } - + return matchesErrorPatterns(value, ERROR_PATTERNS.billing); } diff --git a/src/gateway/server-methods/CLAUDE.md b/src/gateway/server-methods/CLAUDE.md index 47dc3e3d863..c3170642553 120000 --- a/src/gateway/server-methods/CLAUDE.md +++ b/src/gateway/server-methods/CLAUDE.md @@ -1 +1 @@ -AGENTS.md \ No newline at end of file +AGENTS.md