@iwsdk/create 1.2.0-rc.0 → 1.2.0-rc.1
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/README.md +21 -6
- package/dist/cli.js +470 -90
- package/dist/guidance/files/.agents/skills/iwsdk-build-model/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-compose-scene/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-debug/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-depth-occlusion/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-dev/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-dev/references/api-reference.md +2 -1
- package/dist/guidance/files/.agents/skills/iwsdk-dev/references/headless-rendering.md +15 -1
- package/dist/guidance/files/.agents/skills/iwsdk-dev/references/iterate.md +7 -3
- package/dist/guidance/files/.agents/skills/iwsdk-glasses-test/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-grab/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-hosting/SKILL.md +3 -2
- package/dist/guidance/files/.agents/skills/iwsdk-native-xr-test/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-offline/SKILL.md +217 -0
- package/dist/guidance/files/.agents/skills/iwsdk-offline/assets/offline.ts.template +99 -0
- package/dist/guidance/files/.agents/skills/iwsdk-offline/assets/sw.js.template +241 -0
- package/dist/guidance/files/.agents/skills/iwsdk-offline/assets/write-service-worker.mjs.template +72 -0
- package/dist/guidance/files/.agents/skills/iwsdk-offline/references/build-step.md +71 -0
- package/dist/guidance/files/.agents/skills/iwsdk-offline/references/page.md +70 -0
- package/dist/guidance/files/.agents/skills/iwsdk-offline/references/service-worker.md +107 -0
- package/dist/guidance/files/.agents/skills/iwsdk-offline/references/testing.md +57 -0
- package/dist/guidance/files/.agents/skills/iwsdk-physics/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-physics/references/tuning-and-config.md +1 -0
- package/dist/guidance/files/.agents/skills/iwsdk-physics/references/workflows.md +9 -3
- package/dist/guidance/files/.agents/skills/iwsdk-pwa-packaging/SKILL.md +13 -2
- package/dist/guidance/files/.agents/skills/iwsdk-pwa-packaging/references/manifest-and-icons.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-pwa-packaging/references/troubleshooting.md +30 -0
- package/dist/guidance/files/.agents/skills/iwsdk-ray/SKILL.md +1 -1
- package/dist/guidance/files/.agents/skills/iwsdk-ui/SKILL.md +12 -5
- package/dist/guidance/files/.agents/skills/iwsdk-upgrade/SKILL.md +1 -1
- package/dist/guidance/files/.claude/agents/iwsdk-project-code-reviewer.md +1 -1
- package/dist/guidance/files/.claude/rules/assets-and-manifest.md +1 -1
- package/dist/guidance/files/.claude/rules/ecs-api.md +1 -1
- package/dist/guidance/files/.claude/rules/scene-json.md +1 -1
- package/dist/guidance/files/.claude/rules/uikitml.md +1 -1
- package/dist/guidance/files/.claude/settings.json +1 -0
- package/dist/guidance/files/.claude/skills/iwsdk-build-model/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-compose-scene/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-debug/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-depth-occlusion/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-dev/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-dev/references/api-reference.md +2 -1
- package/dist/guidance/files/.claude/skills/iwsdk-dev/references/headless-rendering.md +15 -1
- package/dist/guidance/files/.claude/skills/iwsdk-dev/references/iterate.md +7 -3
- package/dist/guidance/files/.claude/skills/iwsdk-glasses-test/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-grab/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-hosting/SKILL.md +3 -2
- package/dist/guidance/files/.claude/skills/iwsdk-native-xr-test/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-offline/SKILL.md +217 -0
- package/dist/guidance/files/.claude/skills/iwsdk-offline/assets/offline.ts.template +99 -0
- package/dist/guidance/files/.claude/skills/iwsdk-offline/assets/sw.js.template +241 -0
- package/dist/guidance/files/.claude/skills/iwsdk-offline/assets/write-service-worker.mjs.template +72 -0
- package/dist/guidance/files/.claude/skills/iwsdk-offline/references/build-step.md +71 -0
- package/dist/guidance/files/.claude/skills/iwsdk-offline/references/page.md +70 -0
- package/dist/guidance/files/.claude/skills/iwsdk-offline/references/service-worker.md +107 -0
- package/dist/guidance/files/.claude/skills/iwsdk-offline/references/testing.md +57 -0
- package/dist/guidance/files/.claude/skills/iwsdk-physics/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-physics/references/tuning-and-config.md +1 -0
- package/dist/guidance/files/.claude/skills/iwsdk-physics/references/workflows.md +9 -3
- package/dist/guidance/files/.claude/skills/iwsdk-pwa-packaging/SKILL.md +13 -2
- package/dist/guidance/files/.claude/skills/iwsdk-pwa-packaging/references/manifest-and-icons.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-pwa-packaging/references/troubleshooting.md +30 -0
- package/dist/guidance/files/.claude/skills/iwsdk-ray/SKILL.md +1 -1
- package/dist/guidance/files/.claude/skills/iwsdk-ui/SKILL.md +12 -5
- package/dist/guidance/files/.claude/skills/iwsdk-upgrade/SKILL.md +1 -1
- package/dist/guidance/files/.cursor/rules/assets-and-manifest.mdc +1 -1
- package/dist/guidance/files/.cursor/rules/ecs-api.mdc +1 -1
- package/dist/guidance/files/.cursor/rules/scene-json.mdc +1 -1
- package/dist/guidance/files/.cursor/rules/uikitml.mdc +1 -1
- package/dist/guidance/files/.github/instructions/assets-and-manifest.instructions.md +1 -1
- package/dist/guidance/files/.github/instructions/ecs-api.instructions.md +1 -1
- package/dist/guidance/files/.github/instructions/scene-json.instructions.md +1 -1
- package/dist/guidance/files/.github/instructions/uikitml.instructions.md +1 -1
- package/dist/guidance/files/AGENTS.md +1 -1
- package/dist/guidance/files/public/scenes/AGENTS.md +1 -1
- package/dist/guidance/files/public/ui/AGENTS.md +1 -1
- package/dist/guidance/files/src/AGENTS.md +1 -1
- package/dist/guidance/manifest.json +111 -11
- package/package.json +4 -4
|
@@ -80,6 +80,12 @@ it on the headset after sideloading (step 4).
|
|
|
80
80
|
`index.html` ships `<link rel="icon" href="data:," />` and no manifest link, so
|
|
81
81
|
the app is not installable until step 3 adds them.
|
|
82
82
|
|
|
83
|
+
**Optional: launch offline.** The TWA loads `<DOMAIN>` over the network, so with
|
|
84
|
+
no connection an installed app shows an error page instead of the app. If it
|
|
85
|
+
must launch offline, add an offline copy with the `iwsdk-offline` skill before
|
|
86
|
+
packaging: one online launch then keeps the release on the device. Keep the
|
|
87
|
+
manifest's `start_url` and `scope` inside the service worker's scope.
|
|
88
|
+
|
|
83
89
|
Then confirm the app itself is sound before wrapping it — `npm run --if-present typecheck`,
|
|
84
90
|
and `npm run build` producing a `dist/` you have actually loaded. Packaging a
|
|
85
91
|
broken build wastes a full round trip through hosting, signing, and upload.
|
|
@@ -191,6 +197,10 @@ retry the identical command. Tool download, auth, and flag reference:
|
|
|
191
197
|
| App logic, assets, styling, manifest text, icons, asset links | republish `<DOMAIN>`; installed TWA picks it up next launch |
|
|
192
198
|
| Package id, app name, launcher icon, version, **app mode**, signing | rebuild the APK and re-upload |
|
|
193
199
|
|
|
200
|
+
With an offline copy (`iwsdk-offline`), a republished release installs in the
|
|
201
|
+
background during a launch and takes over when the app is idle, or on the
|
|
202
|
+
launch after that.
|
|
203
|
+
|
|
194
204
|
## Security
|
|
195
205
|
|
|
196
206
|
The keystore and the app secret never go near `public/` or `dist/`. After every
|
|
@@ -213,7 +223,8 @@ updated — only replaced by a new Store entry.
|
|
|
213
223
|
| [`references/store-upload.md`](references/store-upload.md) | Step 5 — `ovr-platform-util`, auth, channels, the DDA blocker |
|
|
214
224
|
| [`references/troubleshooting.md`](references/troubleshooting.md) | Anything installed but misbehaving — stuck loading, URL bar, will-not-launch |
|
|
215
225
|
|
|
216
|
-
Getting the app online is the `iwsdk-hosting` skill
|
|
226
|
+
Getting the app online is the `iwsdk-hosting` skill, and keeping it working
|
|
227
|
+
offline is `iwsdk-offline`. Building the app itself is
|
|
217
228
|
`iwsdk-planner` and the other `iwsdk-*` skills — do not re-derive IWSDK
|
|
218
229
|
patterns here.
|
|
219
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
230
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=2fbb9b9e9245162fa8cdb51e0a1396dde89b3d459ad5bcc29b45b92ade7a0022 name=iwsdk-pwa-packaging (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
package/dist/guidance/files/.claude/skills/iwsdk-pwa-packaging/references/manifest-and-icons.md
CHANGED
|
@@ -34,7 +34,7 @@ it is served at `/manifest.webmanifest` with no further wiring.
|
|
|
34
34
|
| Field | Why it matters here |
|
|
35
35
|
| ----- | ------------------- |
|
|
36
36
|
| `name` / `short_name` | `short_name` is the launcher label; keep it under ~12 characters or it truncates |
|
|
37
|
-
| `start_url` / `scope` | must match the hosting path — `/` at an origin root, `/<path>/` on a subpath deployment |
|
|
37
|
+
| `start_url` / `scope` | must match the hosting path — `/` at an origin root, `/<path>/` on a subpath deployment; with an offline copy (`iwsdk-offline`), both must also sit inside the service worker's scope |
|
|
38
38
|
| `display` | `standalone` for both modes; `browser` forces a URL bar |
|
|
39
39
|
| `background_color` | painted before first frame — match the app's clear color or launch flashes white |
|
|
40
40
|
| `theme_color` | colors the custom tab bar on a 2D panel; add `theme_color_dark` if the app is dark-first |
|
package/dist/guidance/files/.claude/skills/iwsdk-pwa-packaging/references/troubleshooting.md
CHANGED
|
@@ -10,6 +10,8 @@ symptoms, so start there.
|
|
|
10
10
|
| Opens with a browser URL bar | `horizonOSAppMode: "2D"` on an immersive app | [App mode](#app-mode-failures) |
|
|
11
11
|
| Opens flat, no URL bar, never enters VR | auto-enter code missing or not firing | [App mode](#app-mode-failures) |
|
|
12
12
|
| Blank / white / error page | the origin is unreachable from the device | [Origin](#origin-failures) |
|
|
13
|
+
| Error page only when the headset is offline | no offline copy, or the app never launched online | [Offline](#offline-failures) |
|
|
14
|
+
| Old version after a web redeploy | an offline copy waiting for an idle moment or the next launch | [Offline](#offline-failures) |
|
|
13
15
|
|
|
14
16
|
Before diagnosing, establish which layer is wrong. A **web** bug is fixed by
|
|
15
17
|
republishing `<DOMAIN>`; a **native** bug needs a new APK and a new upload.
|
|
@@ -116,6 +118,34 @@ to `/<path>/` and republish. The scaffolded `base: './'` handles the bundle
|
|
|
116
118
|
paths already, so if bundles load and only `public/` assets 404, look for a
|
|
117
119
|
publish that missed those files.
|
|
118
120
|
|
|
121
|
+
## Offline failures
|
|
122
|
+
|
|
123
|
+
These apply only when the site keeps an offline copy (`iwsdk-offline`).
|
|
124
|
+
|
|
125
|
+
### Error page only when the headset is offline
|
|
126
|
+
|
|
127
|
+
The device has no copy to serve. Usually one of:
|
|
128
|
+
|
|
129
|
+
- **No offline copy** — the site registers no service worker. Add one with
|
|
130
|
+
`iwsdk-offline`.
|
|
131
|
+
- **The app never launched online** since the copy was added. The copy is made
|
|
132
|
+
on the first online launch.
|
|
133
|
+
- **`start_url` or `scope` sits outside the worker's scope**, so the launch
|
|
134
|
+
misses the copy. Serve `sw.js` from the root of that scope.
|
|
135
|
+
|
|
136
|
+
Confirm the worker is live and uncached:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
curl -sI https://<DOMAIN>/sw.js | grep -iE '^(HTTP|cache-control)' # want 200, no-cache
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Old version after a web redeploy
|
|
143
|
+
|
|
144
|
+
Expected for one launch: the new release installs in the background during a
|
|
145
|
+
launch and takes over when the app is idle, or on the launch after that. If it
|
|
146
|
+
never arrives, `sw.js` is being cached — serve it with `Cache-Control: no-cache`
|
|
147
|
+
and purge the CDN.
|
|
148
|
+
|
|
119
149
|
## Packaging failures
|
|
120
150
|
|
|
121
151
|
### bubblewrap hangs or exits without doing anything
|
|
@@ -67,4 +67,4 @@ When the request names an artifact path, save it directly with
|
|
|
67
67
|
context and then add a copy step.
|
|
68
68
|
Stop when the real input and resulting named state are proven, leaving all
|
|
69
69
|
buttons released.
|
|
70
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
70
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=ec23dce5226ca91367042de7907fb3664c055a1ceb737fede2fd6710eab1f37f name=iwsdk-ray (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -265,10 +265,17 @@ npx @iwsdk/cli xr set-input-mode --input-json '{"mode":"hand"}'
|
|
|
265
265
|
npx @iwsdk/cli xr run-sequence --input-json '{"device":"hand-right","steps":[{"target":"Btn_Action","press":{}}]}' --timeout 45000
|
|
266
266
|
```
|
|
267
267
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
268
|
+
A press result reports contact, not a click: a `presses[0].contactMs` of 800 or
|
|
269
|
+
less does not prove the control clicked, because the fingertip can touch the
|
|
270
|
+
panel or a neighbouring control instead. Verify the click by the state it
|
|
271
|
+
changes, with `ui inspect` on the control or a query of the app state it
|
|
272
|
+
drives, and press once more if nothing changed. A contact of more than 800 ms
|
|
273
|
+
never clicks. A slow headless frame can hold the touch that long. So can a
|
|
274
|
+
press on a control out of reach: the body walks to it during the press (a
|
|
275
|
+
contact of seconds). Walk to such a control in a step of its own before the
|
|
276
|
+
press:
|
|
277
|
+
`"steps":[{"body":{"stepTo":"Btn_Action"}},{"target":"Btn_Action","press":{}}]`.
|
|
278
|
+
`xr list-targets` lists the element IDs that can be pressed.
|
|
272
279
|
|
|
273
280
|
The commands in this section are the supported path. Do not call broad
|
|
274
281
|
`iwsdk`, `ui`, `browser`, `ecs`, or `xr` help. If a shown command fails, use its
|
|
@@ -325,4 +332,4 @@ The final visual check must confirm:
|
|
|
325
332
|
Finish with a passing typecheck and production build, no UIKit parser/resource
|
|
326
333
|
errors, and concise runtime evidence. Remove temporary preview files or camera
|
|
327
334
|
workarounds that are not deliverables.
|
|
328
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
335
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=9b79caeeedded4cb53e69688c7e5006daa1187c951a333ef06cbdb3063f062a2 name=iwsdk-ui (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -71,4 +71,4 @@ error-free browser log, and enter XR when the app is an XR app.
|
|
|
71
71
|
|
|
72
72
|
The upgrade is done when every migration guide is applied, the comparison
|
|
73
73
|
shows no new errors, and the user knows which existing errors remain.
|
|
74
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
74
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=5ccb37dbe152b3611496740e89bc8e42c8d59dfed8be7512635d877924b79988 name=iwsdk-upgrade (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -59,4 +59,4 @@ mesh lowers to one `InstancedMesh`.
|
|
|
59
59
|
Start assets at `castShadow: false` and opt in only for grounded focal masses.
|
|
60
60
|
Don't build contact-shadow blob cards or `ShadowMaterial` catcher planes here: put
|
|
61
61
|
`ContactShadow` or `ShadowCatcher` node components on the scene nodes instead.
|
|
62
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
62
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=e6b8d299d9f7590043801fae63d23de387e937bcb87bafe59b9b70f6e0622db3 name=assets-and-manifest.mdc (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -102,4 +102,4 @@ buttons. Browser controls live at `world.input.keyboard` and
|
|
|
102
102
|
`world.visibilityState` reports `NonImmersive`, `Visible`, `VisibleBlurred` —
|
|
103
103
|
pause simulation on blur. `world.camera.position` is local to `world.player`; use
|
|
104
104
|
`getWorldPosition()` when logic needs the true viewer position.
|
|
105
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
105
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=f09a86b27ce781f8e69b6471051167bee392ac2f503526df33ded757940268f6 name=ecs-api.mdc (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -71,4 +71,4 @@ back. Render each changed module before the root.
|
|
|
71
71
|
|
|
72
72
|
For composing a scene rather than editing one, use the `iwsdk-compose-scene`
|
|
73
73
|
skill — it owns the intake, review and stop-rule procedure this file does not.
|
|
74
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
74
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=f32c3e7d4024f56a3ff5ae32b42c236377551cbd3b2b231e84ada68362b68266 name=scene-json.mdc (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -65,4 +65,4 @@ can.
|
|
|
65
65
|
For the authoring procedure — isolated preview, placement, editing, wiring
|
|
66
66
|
runtime behavior, and the completion checklist — use the `iwsdk-ui` skill rather
|
|
67
67
|
than improvising. This file is the format reference it relies on.
|
|
68
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
68
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=ce002bd4759a1d087c3e18fd3e2a9a009eb3bef5561d0a698f86726a1bd7f9c3 name=uikitml.mdc (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -52,4 +52,4 @@ mesh lowers to one `InstancedMesh`.
|
|
|
52
52
|
Start assets at `castShadow: false` and opt in only for grounded focal masses.
|
|
53
53
|
Don't build contact-shadow blob cards or `ShadowMaterial` catcher planes here: put
|
|
54
54
|
`ContactShadow` or `ShadowCatcher` node components on the scene nodes instead.
|
|
55
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
55
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=6949b512ef5bb71b488b7e8544b4e572f46f73f72a941b248a0856228299bfad name=assets-and-manifest.instructions.md (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -98,4 +98,4 @@ buttons. Browser controls live at `world.input.keyboard` and
|
|
|
98
98
|
`world.visibilityState` reports `NonImmersive`, `Visible`, `VisibleBlurred` —
|
|
99
99
|
pause simulation on blur. `world.camera.position` is local to `world.player`; use
|
|
100
100
|
`getWorldPosition()` when logic needs the true viewer position.
|
|
101
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
101
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=724a02986ce0999bc31c02b4f1e4a7b6b83c9966f994979a340e36b6243d26fd name=ecs-api.instructions.md (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -68,4 +68,4 @@ back. Render each changed module before the root.
|
|
|
68
68
|
|
|
69
69
|
For composing a scene rather than editing one, use the `iwsdk-compose-scene`
|
|
70
70
|
skill — it owns the intake, review and stop-rule procedure this file does not.
|
|
71
|
-
<!-- iwsdk-agent-guidance version=1.2.0-rc.
|
|
71
|
+
<!-- iwsdk-agent-guidance version=1.2.0-rc.1 sha256=c73f635cec34f9e99b2bc59ffe63583842d40e419a499225a56cbb7838d9bccd name=scene-json.instructions.md (installed by IWSDK; `npx @iwsdk/cli@latest agents sync` refreshes it and leaves it alone once edited) -->
|
|
@@ -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.
|
|
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) -->
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.
|
|
1
|
+
<!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.1 sha256=bb25ffd600c99d3f30cdc95518bb89161659907c667de45adcb29315b669bc7f -->
|
|
2
2
|
# IWSDK project
|
|
3
3
|
|
|
4
4
|
IWSDK changes faster than model training data. GLXF scenes, the external 0.4
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.
|
|
1
|
+
<!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.1 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
|
+
<!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.1 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
|
+
<!-- BEGIN iwsdk-agent-guidance version=1.2.0-rc.1 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.
|
|
4
|
+
"version": "1.2.0-rc.1",
|
|
5
5
|
"units": [
|
|
6
6
|
{
|
|
7
7
|
"kind": "directory",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"copilot",
|
|
79
79
|
"opencode"
|
|
80
80
|
],
|
|
81
|
-
"sha256": "
|
|
81
|
+
"sha256": "58d4ce27ef04658c338d8bb0883b0718ba52037bd043fcc5f80783550bc20673",
|
|
82
82
|
"files": [
|
|
83
83
|
"SKILL.md",
|
|
84
84
|
"references/api-reference.md",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"copilot",
|
|
125
125
|
"opencode"
|
|
126
126
|
],
|
|
127
|
-
"sha256": "
|
|
127
|
+
"sha256": "360be8c5297e0b33bdbdf82188b95dbbcfc586b00d0c0840a21094eb9745e21d",
|
|
128
128
|
"files": [
|
|
129
129
|
"SKILL.md",
|
|
130
130
|
"references/existing-hosts.md",
|
|
@@ -145,6 +145,27 @@
|
|
|
145
145
|
"SKILL.md"
|
|
146
146
|
]
|
|
147
147
|
},
|
|
148
|
+
{
|
|
149
|
+
"kind": "directory",
|
|
150
|
+
"path": ".agents/skills/iwsdk-offline",
|
|
151
|
+
"tools": [
|
|
152
|
+
"codex",
|
|
153
|
+
"cursor",
|
|
154
|
+
"copilot",
|
|
155
|
+
"opencode"
|
|
156
|
+
],
|
|
157
|
+
"sha256": "7f4f5034d84d6f0aaf3c353603e4d6d18eb99d107c5946ec018f8674e1001f38",
|
|
158
|
+
"files": [
|
|
159
|
+
"SKILL.md",
|
|
160
|
+
"assets/offline.ts.template",
|
|
161
|
+
"assets/sw.js.template",
|
|
162
|
+
"assets/write-service-worker.mjs.template",
|
|
163
|
+
"references/build-step.md",
|
|
164
|
+
"references/page.md",
|
|
165
|
+
"references/service-worker.md",
|
|
166
|
+
"references/testing.md"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
148
169
|
{
|
|
149
170
|
"kind": "directory",
|
|
150
171
|
"path": ".agents/skills/iwsdk-physics",
|
|
@@ -154,7 +175,7 @@
|
|
|
154
175
|
"copilot",
|
|
155
176
|
"opencode"
|
|
156
177
|
],
|
|
157
|
-
"sha256": "
|
|
178
|
+
"sha256": "24a1d1e5a61472ec045759f5e385de1843df34b6e43613dcd6b591c439ec69f1",
|
|
158
179
|
"files": [
|
|
159
180
|
"SKILL.md",
|
|
160
181
|
"references/component-reference.md",
|
|
@@ -171,7 +192,7 @@
|
|
|
171
192
|
"copilot",
|
|
172
193
|
"opencode"
|
|
173
194
|
],
|
|
174
|
-
"sha256": "
|
|
195
|
+
"sha256": "2fbb9b9e9245162fa8cdb51e0a1396dde89b3d459ad5bcc29b45b92ade7a0022",
|
|
175
196
|
"files": [
|
|
176
197
|
"SKILL.md",
|
|
177
198
|
"references/app-modes.md",
|
|
@@ -204,7 +225,7 @@
|
|
|
204
225
|
"copilot",
|
|
205
226
|
"opencode"
|
|
206
227
|
],
|
|
207
|
-
"sha256": "
|
|
228
|
+
"sha256": "9b79caeeedded4cb53e69688c7e5006daa1187c951a333ef06cbdb3063f062a2",
|
|
208
229
|
"files": [
|
|
209
230
|
"SKILL.md"
|
|
210
231
|
]
|
|
@@ -279,6 +300,7 @@
|
|
|
279
300
|
"iwsdk-grab",
|
|
280
301
|
"iwsdk-hosting",
|
|
281
302
|
"iwsdk-native-xr-test",
|
|
303
|
+
"iwsdk-offline",
|
|
282
304
|
"iwsdk-physics",
|
|
283
305
|
"iwsdk-pwa-packaging",
|
|
284
306
|
"iwsdk-ray",
|
|
@@ -346,7 +368,7 @@
|
|
|
346
368
|
"tools": [
|
|
347
369
|
"claude"
|
|
348
370
|
],
|
|
349
|
-
"sha256": "
|
|
371
|
+
"sha256": "58d4ce27ef04658c338d8bb0883b0718ba52037bd043fcc5f80783550bc20673",
|
|
350
372
|
"files": [
|
|
351
373
|
"SKILL.md",
|
|
352
374
|
"references/api-reference.md",
|
|
@@ -383,7 +405,7 @@
|
|
|
383
405
|
"tools": [
|
|
384
406
|
"claude"
|
|
385
407
|
],
|
|
386
|
-
"sha256": "
|
|
408
|
+
"sha256": "360be8c5297e0b33bdbdf82188b95dbbcfc586b00d0c0840a21094eb9745e21d",
|
|
387
409
|
"files": [
|
|
388
410
|
"SKILL.md",
|
|
389
411
|
"references/existing-hosts.md",
|
|
@@ -401,13 +423,31 @@
|
|
|
401
423
|
"SKILL.md"
|
|
402
424
|
]
|
|
403
425
|
},
|
|
426
|
+
{
|
|
427
|
+
"kind": "directory",
|
|
428
|
+
"path": ".claude/skills/iwsdk-offline",
|
|
429
|
+
"tools": [
|
|
430
|
+
"claude"
|
|
431
|
+
],
|
|
432
|
+
"sha256": "7f4f5034d84d6f0aaf3c353603e4d6d18eb99d107c5946ec018f8674e1001f38",
|
|
433
|
+
"files": [
|
|
434
|
+
"SKILL.md",
|
|
435
|
+
"assets/offline.ts.template",
|
|
436
|
+
"assets/sw.js.template",
|
|
437
|
+
"assets/write-service-worker.mjs.template",
|
|
438
|
+
"references/build-step.md",
|
|
439
|
+
"references/page.md",
|
|
440
|
+
"references/service-worker.md",
|
|
441
|
+
"references/testing.md"
|
|
442
|
+
]
|
|
443
|
+
},
|
|
404
444
|
{
|
|
405
445
|
"kind": "directory",
|
|
406
446
|
"path": ".claude/skills/iwsdk-physics",
|
|
407
447
|
"tools": [
|
|
408
448
|
"claude"
|
|
409
449
|
],
|
|
410
|
-
"sha256": "
|
|
450
|
+
"sha256": "24a1d1e5a61472ec045759f5e385de1843df34b6e43613dcd6b591c439ec69f1",
|
|
411
451
|
"files": [
|
|
412
452
|
"SKILL.md",
|
|
413
453
|
"references/component-reference.md",
|
|
@@ -421,7 +461,7 @@
|
|
|
421
461
|
"tools": [
|
|
422
462
|
"claude"
|
|
423
463
|
],
|
|
424
|
-
"sha256": "
|
|
464
|
+
"sha256": "2fbb9b9e9245162fa8cdb51e0a1396dde89b3d459ad5bcc29b45b92ade7a0022",
|
|
425
465
|
"files": [
|
|
426
466
|
"SKILL.md",
|
|
427
467
|
"references/app-modes.md",
|
|
@@ -448,7 +488,7 @@
|
|
|
448
488
|
"tools": [
|
|
449
489
|
"claude"
|
|
450
490
|
],
|
|
451
|
-
"sha256": "
|
|
491
|
+
"sha256": "9b79caeeedded4cb53e69688c7e5006daa1187c951a333ef06cbdb3063f062a2",
|
|
452
492
|
"files": [
|
|
453
493
|
"SKILL.md"
|
|
454
494
|
]
|
|
@@ -850,5 +890,65 @@
|
|
|
850
890
|
"0b6b6554212a990bf7fa8747f1bac863e3a5b574e3de3e88504e4ed51de48561",
|
|
851
891
|
"b60c812e637c6f5bd8f4480f83d7c28a93e042abac20fee504238e8981fa2b6f"
|
|
852
892
|
]
|
|
893
|
+
},
|
|
894
|
+
"successors": {
|
|
895
|
+
".agents/skills/iwsdk-planner": [
|
|
896
|
+
".agents/skills/iwsdk-dev"
|
|
897
|
+
],
|
|
898
|
+
".agents/skills/iwsdk-scene-composer": [
|
|
899
|
+
".agents/skills/iwsdk-build-model",
|
|
900
|
+
".agents/skills/iwsdk-compose-scene"
|
|
901
|
+
],
|
|
902
|
+
".claude/skills/iwsdk-planner": [
|
|
903
|
+
".claude/skills/iwsdk-dev"
|
|
904
|
+
],
|
|
905
|
+
".claude/skills/iwsdk-scene-composer": [
|
|
906
|
+
".claude/skills/iwsdk-build-model",
|
|
907
|
+
".claude/skills/iwsdk-compose-scene"
|
|
908
|
+
],
|
|
909
|
+
".cursor/rules/iwsdk.mdc": [
|
|
910
|
+
".agents/skills/iwsdk-build-model",
|
|
911
|
+
".agents/skills/iwsdk-compose-scene",
|
|
912
|
+
".agents/skills/iwsdk-debug",
|
|
913
|
+
".agents/skills/iwsdk-depth-occlusion",
|
|
914
|
+
".agents/skills/iwsdk-dev",
|
|
915
|
+
".agents/skills/iwsdk-glasses-test",
|
|
916
|
+
".agents/skills/iwsdk-grab",
|
|
917
|
+
".agents/skills/iwsdk-hosting",
|
|
918
|
+
".agents/skills/iwsdk-native-xr-test",
|
|
919
|
+
".agents/skills/iwsdk-offline",
|
|
920
|
+
".agents/skills/iwsdk-physics",
|
|
921
|
+
".agents/skills/iwsdk-pwa-packaging",
|
|
922
|
+
".agents/skills/iwsdk-ray",
|
|
923
|
+
".agents/skills/iwsdk-ui",
|
|
924
|
+
".agents/skills/iwsdk-upgrade",
|
|
925
|
+
".cursor/rules/assets-and-manifest.mdc",
|
|
926
|
+
".cursor/rules/ecs-api.mdc",
|
|
927
|
+
".cursor/rules/scene-json.mdc",
|
|
928
|
+
".cursor/rules/uikitml.mdc",
|
|
929
|
+
"AGENTS.md"
|
|
930
|
+
],
|
|
931
|
+
".github/copilot-instructions.md": [
|
|
932
|
+
".agents/skills/iwsdk-build-model",
|
|
933
|
+
".agents/skills/iwsdk-compose-scene",
|
|
934
|
+
".agents/skills/iwsdk-debug",
|
|
935
|
+
".agents/skills/iwsdk-depth-occlusion",
|
|
936
|
+
".agents/skills/iwsdk-dev",
|
|
937
|
+
".agents/skills/iwsdk-glasses-test",
|
|
938
|
+
".agents/skills/iwsdk-grab",
|
|
939
|
+
".agents/skills/iwsdk-hosting",
|
|
940
|
+
".agents/skills/iwsdk-native-xr-test",
|
|
941
|
+
".agents/skills/iwsdk-offline",
|
|
942
|
+
".agents/skills/iwsdk-physics",
|
|
943
|
+
".agents/skills/iwsdk-pwa-packaging",
|
|
944
|
+
".agents/skills/iwsdk-ray",
|
|
945
|
+
".agents/skills/iwsdk-ui",
|
|
946
|
+
".agents/skills/iwsdk-upgrade",
|
|
947
|
+
".github/instructions/assets-and-manifest.instructions.md",
|
|
948
|
+
".github/instructions/ecs-api.instructions.md",
|
|
949
|
+
".github/instructions/scene-json.instructions.md",
|
|
950
|
+
".github/instructions/uikitml.instructions.md",
|
|
951
|
+
"AGENTS.md"
|
|
952
|
+
]
|
|
853
953
|
}
|
|
854
954
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iwsdk/create",
|
|
3
|
-
"version": "1.2.0-rc.
|
|
3
|
+
"version": "1.2.0-rc.1",
|
|
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.
|
|
50
|
-
"@iwsdk/
|
|
51
|
-
"@iwsdk/
|
|
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"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"prebuild": "node scripts/gen-version.cjs && node scripts/ensure-cli-build.mjs && node scripts/build-template.mjs",
|