visor-ai 0.2.5 → 0.2.6

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/validator.js CHANGED
@@ -80,16 +80,17 @@ export function parseAndValidate(filePath) {
80
80
  let meta = null;
81
81
  if (isRecord(metaRaw)) {
82
82
  issues.push(...unknownFields(metaRaw, ALLOWED_META, '$.meta'));
83
- issues.push(...requiredFields(metaRaw, ['name', 'version', 'platform'], '$.meta'));
84
- if (metaRaw.platform !== 'ios' && metaRaw.platform !== 'android') {
83
+ issues.push(...requiredFields(metaRaw, ['name', 'version'], '$.meta'));
84
+ if (metaRaw.platform !== undefined &&
85
+ metaRaw.platform !== 'ios' &&
86
+ metaRaw.platform !== 'android') {
85
87
  issues.push(validationIssue('error', 'INPUT_ERROR', 'meta.platform must be ios|android', '$.meta.platform'));
86
88
  }
87
- else if (typeof metaRaw.name === 'string' && typeof metaRaw.version === 'string') {
89
+ if (typeof metaRaw.name === 'string' && typeof metaRaw.version === 'string') {
88
90
  meta = {
89
91
  ...metaRaw,
90
92
  name: metaRaw.name,
91
- version: metaRaw.version,
92
- platform: metaRaw.platform
93
+ version: metaRaw.version
93
94
  };
94
95
  }
95
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visor-ai",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Visor CLI for LLM-driven mobile app interaction and artifact capture",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -51,6 +51,7 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^22.13.10",
54
+ "appium-xcuitest-driver": "^9.10.5",
54
55
  "tsx": "^4.19.3",
55
56
  "typescript": "^5.8.2",
56
57
  "vitest": "^3.0.8"