dsh-mobilecode 0.1.1 → 0.1.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 (2) hide show
  1. package/README.md +7 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -123,20 +123,15 @@ double-wrapped quoting, and replaces the Effect/Schema types with plain JS.
123
123
 
124
124
  ## Install / mount
125
125
 
126
- The plugin mounts exactly like dsh-logcat — copy it into the web profile and
127
- add it to the bundle list:
128
-
129
- ```powershell
130
- # from this repo
131
- $profile = "$env:USERPROFILE\.dsh\profiles\web"
132
- Copy-Item -Recurse lib, package.json, cordis.patch.yml "$profile\node_modules\dsh-mobilecode\"
126
+ ```bash
127
+ dsh plugin --profile web add dsh-mobilecode
133
128
  ```
134
129
 
135
- Then add `dsh-mobilecode` to the `dsh.profile.bundles` array in
136
- `$profile\package.json` (the `cordis.patch.yml` insert row takes care of the
137
- roster). Restart the GUI to load the host half; refresh the browser to load
138
- the client bundle (`/plugins/dsh-mobilecode/client.js` — the URL id is the
139
- package name, not the patch row id).
130
+ The package ships with `cordis.patch.yml` + `package.json` (`dsh.bundle.patch`,
131
+ `dsh.client.inject`) so it mounts as a hot-pluggable profile bundle with no
132
+ manual file copying. Restart the GUI to load the host half; refresh the browser
133
+ to load the client bundle (`/plugins/dsh-mobilecode/client.js` — the URL id is
134
+ the package name, not the patch row id).
140
135
 
141
136
  ## Verify
142
137
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-mobilecode",
3
3
  "description": "MobileCode for the dsh web GUI: detect iOS/Android projects, run serve-sim / serve-avd preview servers, and build-install-launch the app on the simulator or emulator from the session — plus agent tools (device_run, device_detect). Hot-pluggable — mounted via the profile bundle list + cordis.patch.yml, no dsh source changes.",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@11.22.0",
7
7
  "engines": {