@iwsdk/create 1.2.0-rc.1 → 1.2.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.
Files changed (59) hide show
  1. package/README.md +1 -0
  2. package/dist/cli.js +121 -9
  3. package/dist/guidance/files/.agents/skills/iwsdk-build-model/SKILL.md +1 -1
  4. package/dist/guidance/files/.agents/skills/iwsdk-compose-scene/SKILL.md +1 -1
  5. package/dist/guidance/files/.agents/skills/iwsdk-debug/SKILL.md +1 -1
  6. package/dist/guidance/files/.agents/skills/iwsdk-depth-occlusion/SKILL.md +1 -1
  7. package/dist/guidance/files/.agents/skills/iwsdk-dev/SKILL.md +20 -1
  8. package/dist/guidance/files/.agents/skills/iwsdk-glasses-test/SKILL.md +1 -1
  9. package/dist/guidance/files/.agents/skills/iwsdk-grab/SKILL.md +1 -1
  10. package/dist/guidance/files/.agents/skills/iwsdk-hosting/SKILL.md +1 -1
  11. package/dist/guidance/files/.agents/skills/iwsdk-metavr-native/SKILL.md +216 -0
  12. package/dist/guidance/files/.agents/skills/iwsdk-metavr-native/assets/iwn-host.mjs +71 -0
  13. package/dist/guidance/files/.agents/skills/iwsdk-native-xr-test/SKILL.md +1 -1
  14. package/dist/guidance/files/.agents/skills/iwsdk-offline/SKILL.md +1 -1
  15. package/dist/guidance/files/.agents/skills/iwsdk-physics/SKILL.md +1 -1
  16. package/dist/guidance/files/.agents/skills/iwsdk-pwa-packaging/SKILL.md +6 -2
  17. package/dist/guidance/files/.agents/skills/iwsdk-ray/SKILL.md +1 -1
  18. package/dist/guidance/files/.agents/skills/iwsdk-ui/SKILL.md +1 -1
  19. package/dist/guidance/files/.agents/skills/iwsdk-upgrade/SKILL.md +1 -1
  20. package/dist/guidance/files/.claude/agents/iwsdk-project-code-reviewer.md +1 -1
  21. package/dist/guidance/files/.claude/rules/assets-and-manifest.md +1 -1
  22. package/dist/guidance/files/.claude/rules/ecs-api.md +1 -1
  23. package/dist/guidance/files/.claude/rules/scene-json.md +1 -1
  24. package/dist/guidance/files/.claude/rules/uikitml.md +1 -1
  25. package/dist/guidance/files/.claude/settings.json +1 -0
  26. package/dist/guidance/files/.claude/skills/iwsdk-build-model/SKILL.md +1 -1
  27. package/dist/guidance/files/.claude/skills/iwsdk-compose-scene/SKILL.md +1 -1
  28. package/dist/guidance/files/.claude/skills/iwsdk-debug/SKILL.md +1 -1
  29. package/dist/guidance/files/.claude/skills/iwsdk-depth-occlusion/SKILL.md +1 -1
  30. package/dist/guidance/files/.claude/skills/iwsdk-dev/SKILL.md +20 -1
  31. package/dist/guidance/files/.claude/skills/iwsdk-glasses-test/SKILL.md +1 -1
  32. package/dist/guidance/files/.claude/skills/iwsdk-grab/SKILL.md +1 -1
  33. package/dist/guidance/files/.claude/skills/iwsdk-hosting/SKILL.md +1 -1
  34. package/dist/guidance/files/.claude/skills/iwsdk-metavr-native/SKILL.md +216 -0
  35. package/dist/guidance/files/.claude/skills/iwsdk-metavr-native/assets/iwn-host.mjs +71 -0
  36. package/dist/guidance/files/.claude/skills/iwsdk-native-xr-test/SKILL.md +1 -1
  37. package/dist/guidance/files/.claude/skills/iwsdk-offline/SKILL.md +1 -1
  38. package/dist/guidance/files/.claude/skills/iwsdk-physics/SKILL.md +1 -1
  39. package/dist/guidance/files/.claude/skills/iwsdk-pwa-packaging/SKILL.md +6 -2
  40. package/dist/guidance/files/.claude/skills/iwsdk-ray/SKILL.md +1 -1
  41. package/dist/guidance/files/.claude/skills/iwsdk-ui/SKILL.md +1 -1
  42. package/dist/guidance/files/.claude/skills/iwsdk-upgrade/SKILL.md +1 -1
  43. package/dist/guidance/files/.cursor/rules/assets-and-manifest.mdc +1 -1
  44. package/dist/guidance/files/.cursor/rules/ecs-api.mdc +1 -1
  45. package/dist/guidance/files/.cursor/rules/scene-json.mdc +1 -1
  46. package/dist/guidance/files/.cursor/rules/uikitml.mdc +1 -1
  47. package/dist/guidance/files/.github/instructions/assets-and-manifest.instructions.md +1 -1
  48. package/dist/guidance/files/.github/instructions/ecs-api.instructions.md +1 -1
  49. package/dist/guidance/files/.github/instructions/scene-json.instructions.md +1 -1
  50. package/dist/guidance/files/.github/instructions/uikitml.instructions.md +1 -1
  51. package/dist/guidance/files/AGENTS.md +10 -1
  52. package/dist/guidance/files/public/scenes/AGENTS.md +1 -1
  53. package/dist/guidance/files/public/ui/AGENTS.md +1 -1
  54. package/dist/guidance/files/src/AGENTS.md +1 -1
  55. package/dist/guidance/manifest.json +36 -6
  56. package/dist/template/scenes/ar.iwsdk.scene.json +1 -0
  57. package/dist/template/scenes/immersive.iwsdk.scene.json +1 -0
  58. package/package.json +4 -4
  59. package/scripts/verify-release-ready.mjs +2 -2
@@ -62,4 +62,4 @@ can.
62
62
  For the authoring procedure — isolated preview, placement, editing, wiring
63
63
  runtime behavior, and the completion checklist — use the `iwsdk-ui` skill rather
64
64
  than improvising. This file is the format reference it relies on.
65
- <!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=f06c88f681a856a0b8b93b5552257dd316f189082dfc0a6bca87e2e642ecbb3e name=uikitml.instructions.md (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
65
+ <!-- iwsdk-agent-guidance version=1.2.0-rc.2 sha256=f06c88f681a856a0b8b93b5552257dd316f189082dfc0a6bca87e2e642ecbb3e name=uikitml.instructions.md (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
@@ -1,4 +1,4 @@
1
- <!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.1 sha256=bb25ffd600c99d3f30cdc95518bb89161659907c667de45adcb29315b669bc7f -->
1
+ <!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.2 sha256=38bd04c1a307ecc19d3693e1482b6f7883fb08e2be0141169ce9857c2c4e75c4 -->
2
2
  # IWSDK project
3
3
 
4
4
  IWSDK changes faster than model training data. GLXF scenes, the external 0.4
@@ -227,6 +227,15 @@ debug it), never when the user wants to put the headset on and try it, and
227
227
  `iwsdk-glasses-test` whenever the user targets Meta VR Glasses or asks for gaze
228
228
  input.
229
229
 
230
+ Distribution skills are invoked directly too, without `iwsdk-dev`, when the
231
+ request ships an app rather than changes it: `iwsdk-hosting` to put it on a
232
+ public HTTPS origin, `iwsdk-pwa-packaging` for a PWA/TWA APK of the hosted
233
+ site, `iwsdk-offline` to keep it working without a connection, and
234
+ `iwsdk-metavr-native` for a standalone APK built with `@iwer/native`
235
+ (`npm run build:metavr`, a `native` section in `iwsdk.config.json`) and for
236
+ installing, running and debugging that APK. "Make an APK" alone is ambiguous:
237
+ ask which of the last two the user wants.
238
+
230
239
  The failure worth guarding against is improvising a domain that already has a
231
240
  skill because the naive approach looks tractable. Before hand-authoring scene
232
241
  JSON, a 3D model, a UIKitML panel, or a physics body, invoke the owning skill.
@@ -1,4 +1,4 @@
1
- <!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.1 sha256=4451a5b98ba38a835cca3fc49666cbe62ba77353f6b8d0ed7d46b691d35067c1 -->
1
+ <!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.2 sha256=4451a5b98ba38a835cca3fc49666cbe62ba77353f6b8d0ed7d46b691d35067c1 -->
2
2
  # IWSDK scoped project guidance
3
3
 
4
4
  This file augments the repository-root `AGENTS.md` for files in this directory.
@@ -1,4 +1,4 @@
1
- <!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.1 sha256=abe74e27fdcd33f9fbdfa6fef5b11cd1427fe15c66fec1a0b884f3a09b750266 -->
1
+ <!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.2 sha256=abe74e27fdcd33f9fbdfa6fef5b11cd1427fe15c66fec1a0b884f3a09b750266 -->
2
2
  # IWSDK scoped project guidance
3
3
 
4
4
  This file augments the repository-root `AGENTS.md` for files in this directory.
@@ -1,4 +1,4 @@
1
- <!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.1 sha256=b60c812e637c6f5bd8f4480f83d7c28a93e042abac20fee504238e8981fa2b6f -->
1
+ <!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.2 sha256=b60c812e637c6f5bd8f4480f83d7c28a93e042abac20fee504238e8981fa2b6f -->
2
2
  # IWSDK scoped project guidance
3
3
 
4
4
  This file augments the repository-root `AGENTS.md` for files in this directory.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "format": 1,
3
3
  "package": "@iwsdk/core",
4
- "version": "1.2.0-rc.1",
4
+ "version": "1.2.0-rc.2",
5
5
  "units": [
6
6
  {
7
7
  "kind": "directory",
@@ -78,7 +78,7 @@
78
78
  "copilot",
79
79
  "opencode"
80
80
  ],
81
- "sha256": "58d4ce27ef04658c338d8bb0883b0718ba52037bd043fcc5f80783550bc20673",
81
+ "sha256": "f21471a15775b322906d8b1431a149aab73ac6d34acfef6cc05159f7a9d005fb",
82
82
  "files": [
83
83
  "SKILL.md",
84
84
  "references/api-reference.md",
@@ -131,6 +131,21 @@
131
131
  "references/vercel.md"
132
132
  ]
133
133
  },
134
+ {
135
+ "kind": "directory",
136
+ "path": ".agents/skills/iwsdk-metavr-native",
137
+ "tools": [
138
+ "codex",
139
+ "cursor",
140
+ "copilot",
141
+ "opencode"
142
+ ],
143
+ "sha256": "c28e2ac59fab5db24f36df736b7f246c7abbc2b016de2ae90a76a9a20669686e",
144
+ "files": [
145
+ "SKILL.md",
146
+ "assets/iwn-host.mjs"
147
+ ]
148
+ },
134
149
  {
135
150
  "kind": "directory",
136
151
  "path": ".agents/skills/iwsdk-native-xr-test",
@@ -192,7 +207,7 @@
192
207
  "copilot",
193
208
  "opencode"
194
209
  ],
195
- "sha256": "2fbb9b9e9245162fa8cdb51e0a1396dde89b3d459ad5bcc29b45b92ade7a0022",
210
+ "sha256": "6f7204ddddf36831ef555a3ede4202384ea029d217c59fdbf3dc51b903ebdb57",
196
211
  "files": [
197
212
  "SKILL.md",
198
213
  "references/app-modes.md",
@@ -299,6 +314,7 @@
299
314
  "iwsdk-glasses-test",
300
315
  "iwsdk-grab",
301
316
  "iwsdk-hosting",
317
+ "iwsdk-metavr-native",
302
318
  "iwsdk-native-xr-test",
303
319
  "iwsdk-offline",
304
320
  "iwsdk-physics",
@@ -368,7 +384,7 @@
368
384
  "tools": [
369
385
  "claude"
370
386
  ],
371
- "sha256": "58d4ce27ef04658c338d8bb0883b0718ba52037bd043fcc5f80783550bc20673",
387
+ "sha256": "f21471a15775b322906d8b1431a149aab73ac6d34acfef6cc05159f7a9d005fb",
372
388
  "files": [
373
389
  "SKILL.md",
374
390
  "references/api-reference.md",
@@ -412,6 +428,18 @@
412
428
  "references/vercel.md"
413
429
  ]
414
430
  },
431
+ {
432
+ "kind": "directory",
433
+ "path": ".claude/skills/iwsdk-metavr-native",
434
+ "tools": [
435
+ "claude"
436
+ ],
437
+ "sha256": "c28e2ac59fab5db24f36df736b7f246c7abbc2b016de2ae90a76a9a20669686e",
438
+ "files": [
439
+ "SKILL.md",
440
+ "assets/iwn-host.mjs"
441
+ ]
442
+ },
415
443
  {
416
444
  "kind": "directory",
417
445
  "path": ".claude/skills/iwsdk-native-xr-test",
@@ -461,7 +489,7 @@
461
489
  "tools": [
462
490
  "claude"
463
491
  ],
464
- "sha256": "2fbb9b9e9245162fa8cdb51e0a1396dde89b3d459ad5bcc29b45b92ade7a0022",
492
+ "sha256": "6f7204ddddf36831ef555a3ede4202384ea029d217c59fdbf3dc51b903ebdb57",
465
493
  "files": [
466
494
  "SKILL.md",
467
495
  "references/app-modes.md",
@@ -578,7 +606,7 @@
578
606
  "codex",
579
607
  "opencode"
580
608
  ],
581
- "sha256": "bb25ffd600c99d3f30cdc95518bb89161659907c667de45adcb29315b669bc7f"
609
+ "sha256": "38bd04c1a307ecc19d3693e1482b6f7883fb08e2be0141169ce9857c2c4e75c4"
582
610
  },
583
611
  {
584
612
  "kind": "claude-import",
@@ -915,6 +943,7 @@
915
943
  ".agents/skills/iwsdk-glasses-test",
916
944
  ".agents/skills/iwsdk-grab",
917
945
  ".agents/skills/iwsdk-hosting",
946
+ ".agents/skills/iwsdk-metavr-native",
918
947
  ".agents/skills/iwsdk-native-xr-test",
919
948
  ".agents/skills/iwsdk-offline",
920
949
  ".agents/skills/iwsdk-physics",
@@ -937,6 +966,7 @@
937
966
  ".agents/skills/iwsdk-glasses-test",
938
967
  ".agents/skills/iwsdk-grab",
939
968
  ".agents/skills/iwsdk-hosting",
969
+ ".agents/skills/iwsdk-metavr-native",
940
970
  ".agents/skills/iwsdk-native-xr-test",
941
971
  ".agents/skills/iwsdk-offline",
942
972
  ".agents/skills/iwsdk-physics",
@@ -359,6 +359,7 @@
359
359
  "scale": 0.27
360
360
  },
361
361
  "components": {
362
+ "PokeInteractable": {},
362
363
  "RayInteractable": {}
363
364
  }
364
365
  },
@@ -368,6 +368,7 @@
368
368
  "scale": 0.46
369
369
  },
370
370
  "components": {
371
+ "PokeInteractable": {},
371
372
  "RayInteractable": {}
372
373
  }
373
374
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iwsdk/create",
3
- "version": "1.2.0-rc.1",
3
+ "version": "1.2.0-rc.2",
4
4
  "description": "Interactive CLI to scaffold Immersive Web SDK starter apps",
5
5
  "type": "module",
6
6
  "private": false,
@@ -46,9 +46,9 @@
46
46
  "@types/semver": "^7.5.8",
47
47
  "typescript": "^5.8.3",
48
48
  "vitest": "^4.1.10",
49
- "@iwsdk/cli": "1.2.0-rc.1",
50
- "@iwsdk/core": "1.2.0-rc.1",
51
- "@iwsdk/scene-composition": "1.2.0-rc.1"
49
+ "@iwsdk/cli": "1.2.0-rc.2",
50
+ "@iwsdk/core": "1.2.0-rc.2",
51
+ "@iwsdk/scene-composition": "1.2.0-rc.2"
52
52
  },
53
53
  "scripts": {
54
54
  "prebuild": "node scripts/gen-version.cjs && node scripts/ensure-cli-build.mjs && node scripts/build-template.mjs",
@@ -50,7 +50,7 @@ try {
50
50
  await readFile(path.join(appRoot, 'pnpm-workspace.yaml'), 'utf8'),
51
51
  );
52
52
  if (
53
- packageJson.overrides?.sharp !== '0.35.4' ||
53
+ packageJson.overrides?.sharp !== '0.35.5' ||
54
54
  packageJson.overrides?.three !== 'npm:super-three@0.185.0'
55
55
  ) {
56
56
  blockers.push(
@@ -60,7 +60,7 @@ try {
60
60
  if (
61
61
  pnpmWorkspace.packages?.length !== 1 ||
62
62
  pnpmWorkspace.packages[0] !== '.' ||
63
- pnpmWorkspace.overrides?.sharp !== '0.35.4' ||
63
+ pnpmWorkspace.overrides?.sharp !== '0.35.5' ||
64
64
  pnpmWorkspace.overrides?.three !== 'npm:super-three@0.185.0' ||
65
65
  pnpmWorkspace.allowBuilds?.sharp !== true ||
66
66
  pnpmWorkspace.allowBuilds?.['@meta-quest/metavr'] !== false