@linxiraos/pi-channels 1.1.12 → 1.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [1.1.13] - 2026-09-10
6
+
7
+ - 上游 v18.1.16 同步,内部修复。
8
+
5
9
  ## [1.1.12] - 2026-09-10
6
10
 
7
11
  - 品牌与合并工具链维护版本;无本包用户可见变更。
@@ -15,11 +15,11 @@ import { ChannelHost } from "./host.js";
15
15
  import type { ChannelSession, ChannelsWebConfig } from "./types.js";
16
16
  import { type WeChatQrStatus } from "./wechat.js";
17
17
  export type { ChannelId, ChatChannel, ChatImage } from "./channel.js";
18
- export { FeishuChannel, type FeishuChannelOptions, type FeishuInboundHandler, } from "./feishu.js";
18
+ export { FeishuChannel, type FeishuChannelOptions, type FeishuInboundHandler } from "./feishu.js";
19
19
  export { ChannelHost } from "./host.js";
20
- export { TelegramChannel, type TelegramChannelOptions, type TelegramInboundHandler, } from "./telegram.js";
21
- export type { ChannelSession, ChannelSessionEvent, ChannelsWebConfig, IrcMessage, } from "./types.js";
22
- export { WeChatChannel, type WeChatChannelOptions, type WeChatInboundHandler, type WeChatQrStatus, } from "./wechat.js";
20
+ export { TelegramChannel, type TelegramChannelOptions, type TelegramInboundHandler } from "./telegram.js";
21
+ export type { ChannelSession, ChannelSessionEvent, ChannelsWebConfig, IrcMessage } from "./types.js";
22
+ export { WeChatChannel, type WeChatChannelOptions, type WeChatInboundHandler, type WeChatQrStatus } from "./wechat.js";
23
23
  /** One channel's runtime state, surfaced to the gateway (`/api/channels/status`). */
24
24
  export interface ChannelStatus {
25
25
  id: ChannelId;
package/package.json CHANGED
@@ -22,23 +22,23 @@
22
22
  "bun": ">=1.3.14"
23
23
  },
24
24
  "peerDependencies": {
25
- "@linxiraos/pi-ai": "1.1.12"
25
+ "@linxiraos/pi-ai": "1.1.13"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/bun": "^1.3.14",
29
- "@linxiraos/pi-ai": "1.1.12"
29
+ "@linxiraos/pi-ai": "1.1.13"
30
30
  },
31
31
  "dependencies": {
32
32
  "@larksuiteoapi/node-sdk": "^1.71.1",
33
- "@linxiraos/pi-utils": "1.1.12"
33
+ "@linxiraos/pi-utils": "1.1.13"
34
34
  },
35
35
  "scripts": {
36
36
  "test": "bun test --parallel",
37
- "fmt": "biome format --write .",
38
- "fix": "biome check --write --unsafe .",
39
- "lint": "biome lint .",
37
+ "fmt": "oxfmt 'src/**/*.{ts,tsx}' '*.{ts,tsx}'",
38
+ "fix": "oxlint --fix . && oxfmt 'src/**/*.{ts,tsx}' '*.{ts,tsx}'",
39
+ "lint": "oxlint .",
40
40
  "check:types": "tsgo -p tsconfig.json --noEmit",
41
- "check": "biome check . && bun run check:types"
41
+ "check": "oxlint . && oxfmt --check --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '*.{ts,tsx}' && bun run check:types"
42
42
  },
43
43
  "types": "./dist/types/index.d.ts",
44
44
  "main": "./src/index.ts",
@@ -62,6 +62,6 @@
62
62
  "homepage": "https://linxira-os.github.io/zeta/",
63
63
  "description": "IM channel adapters for Zeta (WeChat / Feishu / Telegram)",
64
64
  "type": "module",
65
- "version": "1.1.12",
65
+ "version": "1.1.13",
66
66
  "name": "@linxiraos/pi-channels"
67
67
  }
package/src/index.ts CHANGED
@@ -20,29 +20,11 @@ import type { ChannelSession, ChannelsWebConfig } from "./types";
20
20
  import { WeChatChannel, type WeChatQrStatus } from "./wechat";
21
21
 
22
22
  export type { ChannelId, ChatChannel, ChatImage } from "./channel";
23
- export {
24
- FeishuChannel,
25
- type FeishuChannelOptions,
26
- type FeishuInboundHandler,
27
- } from "./feishu";
23
+ export { FeishuChannel, type FeishuChannelOptions, type FeishuInboundHandler } from "./feishu";
28
24
  export { ChannelHost } from "./host";
29
- export {
30
- TelegramChannel,
31
- type TelegramChannelOptions,
32
- type TelegramInboundHandler,
33
- } from "./telegram";
34
- export type {
35
- ChannelSession,
36
- ChannelSessionEvent,
37
- ChannelsWebConfig,
38
- IrcMessage,
39
- } from "./types";
40
- export {
41
- WeChatChannel,
42
- type WeChatChannelOptions,
43
- type WeChatInboundHandler,
44
- type WeChatQrStatus,
45
- } from "./wechat";
25
+ export { TelegramChannel, type TelegramChannelOptions, type TelegramInboundHandler } from "./telegram";
26
+ export type { ChannelSession, ChannelSessionEvent, ChannelsWebConfig, IrcMessage } from "./types";
27
+ export { WeChatChannel, type WeChatChannelOptions, type WeChatInboundHandler, type WeChatQrStatus } from "./wechat";
46
28
 
47
29
  /**
48
30
  * Module-level QR-login state bridge between the running channel and the web