@ynhcj/xiaoyi-channel 0.0.86-beta → 0.0.87-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.
@@ -134,7 +134,7 @@ export const xiaoyiProvider = {
134
134
  const sessionCtx = getCurrentSessionContext();
135
135
  if (sessionCtx?.deviceType) {
136
136
  const rawDevice = sessionCtx.deviceType;
137
- const displayDevice = (rawDevice === "phone") ? "phone" : "鸿蒙PC";
137
+ const displayDevice = (rawDevice === "2in1") ? "鸿蒙PC" : rawDevice;
138
138
  const deviceSection = `\n\n## Current User Device Context\nThe current user is using the following device: ${displayDevice}\n`;
139
139
  context.systemPrompt = (context.systemPrompt ?? "") + deviceSection;
140
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynhcj/xiaoyi-channel",
3
- "version": "0.0.86-beta",
3
+ "version": "0.0.87-beta",
4
4
  "description": "OpenClaw Xiaoyi Channel plugin - Xiaoyi A2A protocol integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",