@ynhcj/xiaoyi-channel 0.0.64-beta → 0.0.65-beta

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.
@@ -1,4 +1,4 @@
1
1
  /** Known device type enum. */
2
- export declare const DEVICE_TYPES: readonly ["car", "pc", "phone"];
2
+ export declare const DEVICE_TYPES: readonly ["car", "2in1", "phone"];
3
3
  export type DeviceType = (typeof DEVICE_TYPES)[number];
4
4
  export declare function filterToolsByDevice(tools: any[], deviceType?: string): any[];
@@ -4,9 +4,9 @@
4
4
  // - denylist: listed tools are blocked, everything else is available (used for permissive devices like pc)
5
5
  // Tools NOT listed in any device entry → available to all devices (no restriction).
6
6
  /** Known device type enum. */
7
- export const DEVICE_TYPES = ["car", "pc", "phone"];
7
+ export const DEVICE_TYPES = ["car", "2in1", "phone"];
8
8
  const DEVICE_TOOL_POLICY = {
9
- pc: {
9
+ "2in1": {
10
10
  allowlist: false,
11
11
  tools: [
12
12
  "xiaoyi_gui_agent",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynhcj/xiaoyi-channel",
3
- "version": "0.0.64-beta",
3
+ "version": "0.0.65-beta",
4
4
  "description": "OpenClaw Xiaoyi Channel plugin - Xiaoyi A2A protocol integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",