@iwsdk/cli 1.0.0-rc.1 → 1.0.0

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/cli.js CHANGED
@@ -3041,7 +3041,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3041
3041
  // =============================================================================
3042
3042
  {
3043
3043
  name: 'xr_get_transform',
3044
- description: 'Get position and orientation of a tracked device',
3044
+ description: 'Get position and orientation of a tracked device. Gaze reports the headset-derived origin and its world orientation.',
3045
3045
  inputSchema: {
3046
3046
  type: 'object',
3047
3047
  properties: {
@@ -3053,6 +3053,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3053
3053
  'controller-right',
3054
3054
  'hand-left',
3055
3055
  'hand-right',
3056
+ 'gaze',
3056
3057
  ],
3057
3058
  description: 'The device to query',
3058
3059
  },
@@ -3062,7 +3063,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3062
3063
  },
3063
3064
  {
3064
3065
  name: 'xr_set_transform',
3065
- description: 'Set position and/or orientation of a tracked device. Position is in meters, orientation can be quaternion or euler angles (degrees).',
3066
+ description: 'Set position and/or orientation of a tracked device. Position is in meters, orientation can be quaternion or euler angles (degrees). Gaze accepts orientation only; move its origin with the headset.',
3066
3067
  inputSchema: {
3067
3068
  type: 'object',
3068
3069
  properties: {
@@ -3074,6 +3075,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3074
3075
  'controller-right',
3075
3076
  'hand-left',
3076
3077
  'hand-right',
3078
+ 'gaze',
3077
3079
  ],
3078
3080
  description: 'The device to move',
3079
3081
  },
@@ -3117,7 +3119,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3117
3119
  },
3118
3120
  {
3119
3121
  name: 'xr_look_at',
3120
- description: 'Orient a device to look at a specific world position',
3122
+ description: 'Orient a device to look at a specific world position. Gaze keeps its headset-derived origin.',
3121
3123
  inputSchema: {
3122
3124
  type: 'object',
3123
3125
  properties: {
@@ -3129,6 +3131,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3129
3131
  'controller-right',
3130
3132
  'hand-left',
3131
3133
  'hand-right',
3134
+ 'gaze',
3132
3135
  ],
3133
3136
  description: 'The device to orient',
3134
3137
  },
@@ -3144,7 +3147,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3144
3147
  },
3145
3148
  moveToDistance: {
3146
3149
  type: 'number',
3147
- description: 'Optional: move device to this distance from target',
3150
+ description: 'Optional: move device to this distance from target (not supported for gaze)',
3148
3151
  },
3149
3152
  },
3150
3153
  required: ['device', 'target'],
@@ -3152,7 +3155,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3152
3155
  },
3153
3156
  {
3154
3157
  name: 'xr_animate_to',
3155
- description: 'Smoothly animate a device to a new position/orientation over time',
3158
+ description: 'Smoothly animate a device to a new position/orientation over time. Gaze accepts orientation only.',
3156
3159
  inputSchema: {
3157
3160
  type: 'object',
3158
3161
  properties: {
@@ -3164,6 +3167,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3164
3167
  'controller-right',
3165
3168
  'hand-left',
3166
3169
  'hand-right',
3170
+ 'gaze',
3167
3171
  ],
3168
3172
  description: 'The device to animate',
3169
3173
  },
@@ -3223,7 +3227,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3223
3227
  },
3224
3228
  {
3225
3229
  name: 'xr_set_connected',
3226
- description: 'Connect or disconnect an input device',
3230
+ description: 'Connect or disconnect a controller, hand, or gaze source',
3227
3231
  inputSchema: {
3228
3232
  type: 'object',
3229
3233
  properties: {
@@ -3234,6 +3238,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3234
3238
  'controller-right',
3235
3239
  'hand-left',
3236
3240
  'hand-right',
3241
+ 'gaze',
3237
3242
  ],
3238
3243
  description: 'The input device',
3239
3244
  },
@@ -3623,7 +3628,7 @@ const ALL_RUNTIME_MCP_TOOLS = [
3623
3628
  // =============================================================================
3624
3629
  {
3625
3630
  name: 'xr_get_device_state',
3626
- description: 'Get comprehensive state of the XR device including headset, controllers, and hands',
3631
+ description: 'Get comprehensive state of the XR device including headset, controllers, hands, and gaze',
3627
3632
  inputSchema: {
3628
3633
  type: 'object',
3629
3634
  properties: {},
@@ -3720,6 +3725,23 @@ const ALL_RUNTIME_MCP_TOOLS = [
3720
3725
  },
3721
3726
  },
3722
3727
  },
3728
+ gaze: {
3729
+ type: 'object',
3730
+ additionalProperties: false,
3731
+ description: 'Gaze state. Its origin is derived from the headset and cannot be set independently.',
3732
+ properties: {
3733
+ orientation: {
3734
+ type: 'object',
3735
+ properties: {
3736
+ x: { type: 'number' },
3737
+ y: { type: 'number' },
3738
+ z: { type: 'number' },
3739
+ w: { type: 'number' },
3740
+ },
3741
+ },
3742
+ connected: { type: 'boolean' },
3743
+ },
3744
+ },
3723
3745
  },
3724
3746
  },
3725
3747
  },