@iwsdk/vite-plugin-dev 1.0.0-rc.1 → 1.0.0-rc.2

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/dist/types.d.ts CHANGED
@@ -16,6 +16,9 @@ export interface SEMOptions {
16
16
  defaultScene?: 'living_room' | 'meeting_room' | 'music_room' | 'office_large' | 'office_small';
17
17
  }
18
18
  export type AiMode = 'agent' | 'collaborate';
19
+ export interface TargetDevicePreviewOptions {
20
+ gazeSimulation: 'head' | false;
21
+ }
19
22
  /**
20
23
  * AI agent tooling configuration.
21
24
  * Enables AI agent control of the emulated XR runtime via MCP + WebSocket.
@@ -84,7 +87,7 @@ export interface EmulatorOptions {
84
87
  * XR device to emulate
85
88
  * @default 'metaQuest3'
86
89
  */
87
- device?: 'metaQuest2' | 'metaQuest3' | 'metaQuestPro' | 'oculusQuest1';
90
+ device?: 'metaQuest2' | 'metaQuest3' | 'metaQuestPro' | 'metaVRGlasses' | 'oculusQuest1';
88
91
  /**
89
92
  * When to activate the WebXR emulation
90
93
  * 'localhost' - only activate when running on localhost (127.0.0.1, localhost)
@@ -208,7 +211,7 @@ export type IWERPluginOptions = DevPluginOptions;
208
211
  export interface ProcessedDevOptions {
209
212
  assetManifest?: string;
210
213
  componentManifest?: string;
211
- device: 'metaQuest2' | 'metaQuest3' | 'metaQuestPro' | 'oculusQuest1';
214
+ device: 'metaQuest2' | 'metaQuest3' | 'metaQuestPro' | 'metaVRGlasses' | 'oculusQuest1';
212
215
  sem?: {
213
216
  defaultScene: string;
214
217
  };
@@ -247,6 +250,7 @@ export interface ProcessedDevOptions {
247
250
  userAgentException?: RegExp | string;
248
251
  iwer: boolean;
249
252
  nativeXRControl?: boolean;
253
+ targetDevicePreview?: TargetDevicePreviewOptions;
250
254
  }
251
255
  /** @deprecated Use `ProcessedDevOptions` instead */
252
256
  export type ProcessedIWEROptions = ProcessedDevOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iwsdk/vite-plugin-dev",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0-rc.2",
4
4
  "type": "module",
5
5
  "description": "Vite plugin for IWSDK development — XR emulation, AI agent tooling, and Playwright browser",
6
6
  "main": "dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "license": "MIT",
44
44
  "dependencies": {
45
45
  "@drawcall/uikitml": "0.1.8",
46
- "@iwer/devui": "^2.3.0",
46
+ "@iwer/devui": "^2.5.0",
47
47
  "@preact/signals-core": "^1.12.1",
48
48
  "@vitejs/plugin-basic-ssl": "^2.3.0",
49
49
  "lucide": "^0.468.0",
@@ -54,15 +54,15 @@
54
54
  "three": "npm:super-three@0.181.0",
55
55
  "three-viewport-gizmo": "^2.2.0",
56
56
  "ws": "^8.21.1",
57
- "@iwsdk/core": "1.0.0-rc.1",
58
- "@iwsdk/scene-composition": "1.0.0-rc.1"
57
+ "@iwsdk/core": "1.0.0-rc.2",
58
+ "@iwsdk/scene-composition": "1.0.0-rc.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@iwer/sem": "^2.3.0",
61
+ "@iwer/sem": "^2.5.0",
62
62
  "@types/ws": "^8.5.13",
63
- "iwer": "^2.4.0",
63
+ "iwer": "^2.5.0",
64
64
  "vitest": "^4.1.10",
65
- "@iwsdk/cli": "1.0.0-rc.1"
65
+ "@iwsdk/cli": "1.0.0-rc.2"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "vite": "^7.0.0"