@module-federation/observability-plugin 0.0.0-feat-operate-openruntime-20260726151341 → 0.0.0-feat-operate-openruntime-20260729120109
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 +16 -18
- package/dist/CHANGELOG.md +12 -6
- package/dist/README.md +16 -18
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +1 -1
- package/dist/chrome-devtool.d.ts +1 -1
- package/dist/chrome-devtool.js +1 -1
- package/dist/{core-Cbzq9Lsj.js → core-g-_ChGdB.js} +590 -528
- package/dist/esm/browser.js +1 -1
- package/dist/esm/chrome-devtool.js +1 -1
- package/dist/esm/{core-BywcQy4b.js → core-DsPVxJ5T.js} +590 -528
- package/dist/esm/index.js +1 -1
- package/dist/esm/node.js +1 -1
- package/dist/{core-BLVCDZ4z.d.ts → index-fTH8rzAd.d.ts} +7 -11
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -155,28 +155,26 @@ For agent-led debugging, use the repository's single `mf` skill entry with the
|
|
|
155
155
|
`observability` sub-command. The skill is the maintained guide for reading
|
|
156
156
|
reports and deciding the next debugging step.
|
|
157
157
|
|
|
158
|
-
##
|
|
158
|
+
## Divebell targets
|
|
159
159
|
|
|
160
|
-
When `
|
|
161
|
-
loading state into
|
|
162
|
-
import
|
|
160
|
+
When `divebell` is enabled, the observability plugin syncs Module Federation
|
|
161
|
+
loading state into Divebell targets. The host application does not need to
|
|
162
|
+
import Divebell directly.
|
|
163
163
|
|
|
164
164
|
```ts
|
|
165
165
|
ObservabilityPlugin({
|
|
166
166
|
level: 'verbose',
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
port: 17321,
|
|
170
|
-
},
|
|
167
|
+
divebell: {
|
|
168
|
+
source: 'module-federation',
|
|
171
169
|
},
|
|
172
170
|
});
|
|
173
171
|
```
|
|
174
172
|
|
|
175
|
-
Use the
|
|
173
|
+
Use the Divebell CLI to inspect the page:
|
|
176
174
|
|
|
177
175
|
```bash
|
|
178
|
-
|
|
179
|
-
|
|
176
|
+
divebell targets --url "http://127.0.0.1:3005/observability"
|
|
177
|
+
divebell snapshot --url "http://127.0.0.1:3005/observability"
|
|
180
178
|
```
|
|
181
179
|
|
|
182
180
|
### `mf:remote:<remoteName>`
|
|
@@ -215,7 +213,7 @@ the remote or expose data.
|
|
|
215
213
|
Common wait:
|
|
216
214
|
|
|
217
215
|
```bash
|
|
218
|
-
|
|
216
|
+
divebell wait-for mf:remote:runtime_remote2 ready --url "http://127.0.0.1:3005/observability"
|
|
219
217
|
```
|
|
220
218
|
|
|
221
219
|
### `mf:remote:<remoteName>:expose:<exposeName>`
|
|
@@ -255,7 +253,7 @@ status already carry that information.
|
|
|
255
253
|
Common wait:
|
|
256
254
|
|
|
257
255
|
```bash
|
|
258
|
-
|
|
256
|
+
divebell wait-for mf:remote:runtime_remote2:expose:ButtonOldAnt ready --url "http://127.0.0.1:3005/observability"
|
|
259
257
|
```
|
|
260
258
|
|
|
261
259
|
### `mf:shared:<sharedName>:<version>:<shareScope>`
|
|
@@ -302,18 +300,18 @@ Snapshot data:
|
|
|
302
300
|
|
|
303
301
|
The shared snapshot intentionally omits `selectedVersion`,
|
|
304
302
|
`availableVersions`, `get`, `useIn`, and `from`. If a user needs broader
|
|
305
|
-
runtime global state, use the
|
|
303
|
+
runtime global state, use the Divebell actions below.
|
|
306
304
|
|
|
307
305
|
Common waits:
|
|
308
306
|
|
|
309
307
|
```bash
|
|
310
|
-
|
|
311
|
-
|
|
308
|
+
divebell wait-for mf:shared:observability-provider-choice:2.0.0:observability-provider-scope loaded --url "http://127.0.0.1:3005/observability"
|
|
309
|
+
divebell wait-for mf:shared:observability-async-shared:1.0.0:default error --url "http://127.0.0.1:3005/observability"
|
|
312
310
|
```
|
|
313
311
|
|
|
314
312
|
### Actions
|
|
315
313
|
|
|
316
|
-
The plugin also registers safe
|
|
314
|
+
The plugin also registers safe Divebell actions for deeper inspection:
|
|
317
315
|
|
|
318
316
|
- `mf:list-reports`: list report summaries. Supports filters such as `remote`,
|
|
319
317
|
`expose`, `shared`, `traceId`, `status`, and `outcome`.
|
|
@@ -329,7 +327,7 @@ The plugin also registers safe OpenRuntime actions for deeper inspection:
|
|
|
329
327
|
Example:
|
|
330
328
|
|
|
331
329
|
```bash
|
|
332
|
-
|
|
330
|
+
divebell run-action mf:list-reports --url "http://127.0.0.1:3005/observability" --payload '{"remote":"runtime_remote2"}'
|
|
333
331
|
```
|
|
334
332
|
|
|
335
333
|
`errorLoadShare` is used only for observation. Shared dependency miss, version
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
# @module-federation/observability-plugin
|
|
2
2
|
|
|
3
|
-
## 0.0.0-feat-operate-openruntime-
|
|
3
|
+
## 0.0.0-feat-operate-openruntime-20260729120109
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- cc604a6: Add Divebell synchronization and safe multi-instance runtime state with stable report and relationship association.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- bdb1531: Extend the existing Bridge render and destroy hooks with semantic context, add a route synchronization hook, and keep timing, sanitization, and correlation in the observability plugin.
|
|
12
|
+
- 6317f28: Extend the semantic shared registration and resolution hooks with explicit load context, while keeping provider, candidate, and selection diagnostics in the observability plugin and ignoring legacy share-scope metadata.
|
|
13
|
+
- 2b5f837: Extend the semantic manifest, remote entry, and preload hooks with resource context and results, while keeping cache, timing, timeout, failure, and recovery diagnostics in the observability plugin.
|
|
14
|
+
- @module-federation/sdk@0.0.0-feat-operate-openruntime-20260729120109
|
|
15
|
+
|
|
16
|
+
## 2.5.5
|
|
8
17
|
|
|
9
18
|
### Patch Changes
|
|
10
19
|
|
|
11
|
-
- 21d8004: Extend the existing Bridge render and destroy hooks with semantic context, add a route synchronization hook, and keep timing, sanitization, and correlation in the observability plugin.
|
|
12
|
-
- 5b8174a: Extend the semantic shared registration and resolution hooks with explicit load context, while keeping provider, candidate, and selection diagnostics in the observability plugin.
|
|
13
|
-
- 54e7333: Extend the semantic manifest, remote entry, and preload hooks with resource context and results, while keeping cache, timing, timeout, failure, and recovery diagnostics in the observability plugin.
|
|
14
20
|
- Updated dependencies [d901e2c]
|
|
15
|
-
- @module-federation/sdk@
|
|
21
|
+
- @module-federation/sdk@2.8.1
|
|
16
22
|
|
|
17
23
|
## 2.5.4
|
|
18
24
|
|
package/dist/README.md
CHANGED
|
@@ -155,28 +155,26 @@ For agent-led debugging, use the repository's single `mf` skill entry with the
|
|
|
155
155
|
`observability` sub-command. The skill is the maintained guide for reading
|
|
156
156
|
reports and deciding the next debugging step.
|
|
157
157
|
|
|
158
|
-
##
|
|
158
|
+
## Divebell targets
|
|
159
159
|
|
|
160
|
-
When `
|
|
161
|
-
loading state into
|
|
162
|
-
import
|
|
160
|
+
When `divebell` is enabled, the observability plugin syncs Module Federation
|
|
161
|
+
loading state into Divebell targets. The host application does not need to
|
|
162
|
+
import Divebell directly.
|
|
163
163
|
|
|
164
164
|
```ts
|
|
165
165
|
ObservabilityPlugin({
|
|
166
166
|
level: 'verbose',
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
port: 17321,
|
|
170
|
-
},
|
|
167
|
+
divebell: {
|
|
168
|
+
source: 'module-federation',
|
|
171
169
|
},
|
|
172
170
|
});
|
|
173
171
|
```
|
|
174
172
|
|
|
175
|
-
Use the
|
|
173
|
+
Use the Divebell CLI to inspect the page:
|
|
176
174
|
|
|
177
175
|
```bash
|
|
178
|
-
|
|
179
|
-
|
|
176
|
+
divebell targets --url "http://127.0.0.1:3005/observability"
|
|
177
|
+
divebell snapshot --url "http://127.0.0.1:3005/observability"
|
|
180
178
|
```
|
|
181
179
|
|
|
182
180
|
### `mf:remote:<remoteName>`
|
|
@@ -215,7 +213,7 @@ the remote or expose data.
|
|
|
215
213
|
Common wait:
|
|
216
214
|
|
|
217
215
|
```bash
|
|
218
|
-
|
|
216
|
+
divebell wait-for mf:remote:runtime_remote2 ready --url "http://127.0.0.1:3005/observability"
|
|
219
217
|
```
|
|
220
218
|
|
|
221
219
|
### `mf:remote:<remoteName>:expose:<exposeName>`
|
|
@@ -255,7 +253,7 @@ status already carry that information.
|
|
|
255
253
|
Common wait:
|
|
256
254
|
|
|
257
255
|
```bash
|
|
258
|
-
|
|
256
|
+
divebell wait-for mf:remote:runtime_remote2:expose:ButtonOldAnt ready --url "http://127.0.0.1:3005/observability"
|
|
259
257
|
```
|
|
260
258
|
|
|
261
259
|
### `mf:shared:<sharedName>:<version>:<shareScope>`
|
|
@@ -302,18 +300,18 @@ Snapshot data:
|
|
|
302
300
|
|
|
303
301
|
The shared snapshot intentionally omits `selectedVersion`,
|
|
304
302
|
`availableVersions`, `get`, `useIn`, and `from`. If a user needs broader
|
|
305
|
-
runtime global state, use the
|
|
303
|
+
runtime global state, use the Divebell actions below.
|
|
306
304
|
|
|
307
305
|
Common waits:
|
|
308
306
|
|
|
309
307
|
```bash
|
|
310
|
-
|
|
311
|
-
|
|
308
|
+
divebell wait-for mf:shared:observability-provider-choice:2.0.0:observability-provider-scope loaded --url "http://127.0.0.1:3005/observability"
|
|
309
|
+
divebell wait-for mf:shared:observability-async-shared:1.0.0:default error --url "http://127.0.0.1:3005/observability"
|
|
312
310
|
```
|
|
313
311
|
|
|
314
312
|
### Actions
|
|
315
313
|
|
|
316
|
-
The plugin also registers safe
|
|
314
|
+
The plugin also registers safe Divebell actions for deeper inspection:
|
|
317
315
|
|
|
318
316
|
- `mf:list-reports`: list report summaries. Supports filters such as `remote`,
|
|
319
317
|
`expose`, `shared`, `traceId`, `status`, and `outcome`.
|
|
@@ -329,7 +327,7 @@ The plugin also registers safe OpenRuntime actions for deeper inspection:
|
|
|
329
327
|
Example:
|
|
330
328
|
|
|
331
329
|
```bash
|
|
332
|
-
|
|
330
|
+
divebell run-action mf:list-reports --url "http://127.0.0.1:3005/observability" --payload '{"remote":"runtime_remote2"}'
|
|
333
331
|
```
|
|
334
332
|
|
|
335
333
|
`errorLoadShare` is used only for observation. Shared dependency miss, version
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as ObservabilityRuntimePlugin, N as ObservabilityPluginOptions } from "./index-fTH8rzAd.js";
|
|
2
2
|
|
|
3
3
|
//#region src/browser.d.ts
|
|
4
4
|
declare function ObservabilityPlugin(options?: ObservabilityPluginOptions): ObservabilityRuntimePlugin;
|
package/dist/browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const require_core = require('./core-
|
|
2
|
+
const require_core = require('./core-g-_ChGdB.js');
|
|
3
3
|
|
|
4
4
|
//#region src/browser.ts
|
|
5
5
|
function ObservabilityPlugin(options = {}) {
|
package/dist/chrome-devtool.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as ObservabilityRuntimePlugin, N as ObservabilityPluginOptions } from "./index-fTH8rzAd.js";
|
|
2
2
|
|
|
3
3
|
//#region src/chrome-devtool.d.ts
|
|
4
4
|
declare function ChromeObservabilityPlugin(options?: ObservabilityPluginOptions): ObservabilityRuntimePlugin;
|
package/dist/chrome-devtool.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const require_core = require('./core-
|
|
2
|
+
const require_core = require('./core-g-_ChGdB.js');
|
|
3
3
|
|
|
4
4
|
//#region src/chrome-devtool.ts
|
|
5
5
|
function ChromeObservabilityPlugin(options = {}) {
|