mesurer-solid 0.2.6 → 0.2.7-beta.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/AGENT_INTEGRATION.md +1 -1
- package/README.md +1 -1
- package/dist/index.js +6704 -6596
- package/dist/inject-script.js +23 -23
- package/dist/inject.js +6700 -6592
- package/dist/plugins.js +3102 -3051
- package/package.json +1 -1
package/AGENT_INTEGRATION.md
CHANGED
|
@@ -124,7 +124,7 @@ Use the high-level Context and saved-intent methods for normal UI work. The lowe
|
|
|
124
124
|
|
|
125
125
|
| Method | Use it for |
|
|
126
126
|
| --- | --- |
|
|
127
|
-
| `ready()` | Wait for Mesurer to finish loading. |
|
|
127
|
+
| `ready()` | Wait for Mesurer to finish loading: plugins registered, the toolbar rendered with its complete tool set, and layout stable. |
|
|
128
128
|
| `describe()` | Read loaded plugins and their tools, settings, overlays, state, commands, hooks, and services. |
|
|
129
129
|
| `inspect(selector, index?)` | Inspect one matching rendered element. |
|
|
130
130
|
| `inspectAll(selector, limit?)` | Inspect several matches without changing selection. |
|
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ For Vite, put this in the existing browser entry such as `src/main.tsx`, `src/ma
|
|
|
48
48
|
|
|
49
49
|
`src/dev/mesurer.ts` is an optional organization pattern, not a required filename or directory. Do not mount Mesurer from `vite.config.ts`, server/API code, Node-only scripts, an Electron main process, or a module that also executes during SSR.
|
|
50
50
|
|
|
51
|
-
The returned handle owns the mount. Await `mesurer.ready` when startup completion, initial rendered stability, or direct host access matters,
|
|
51
|
+
The returned handle owns the mount. Await `mesurer.ready` when startup completion, initial rendered stability, or direct host access matters. It resolves after every initial plugin has registered and the toolbar has rendered its complete tool set, so toolbar buttons are at their final positions and can be clicked immediately. Call `mesurer.dispose()` for explicit cleanup, or pass `signal` when an existing lifecycle should own disposal.
|
|
52
52
|
|
|
53
53
|
Full placement examples: [Getting started](https://github.com/jhomra21/mesurer-solid/blob/main/docs/GETTING_STARTED.md).
|
|
54
54
|
|