@devframes/plugin-inspect 0.9.4 → 0.9.6
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 +6 -6
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-DC-dExrx.mjs → src-DiqnXz7_.mjs} +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @devframes/plugin-inspect
|
|
2
2
|
|
|
3
3
|
> [!WARNING] Experimental
|
|
4
|
-
> This
|
|
4
|
+
> This devframe is experimental and may change without a major version bump until
|
|
5
5
|
> it stabilizes.
|
|
6
6
|
|
|
7
|
-
A devframe
|
|
8
|
-
|
|
7
|
+
A built-in devframe that inspects *its own* connection (and, when mounted in a
|
|
8
|
+
hub, the hub's): browse every registered RPC function with its metadata,
|
|
9
9
|
invoke read-only `query`/`static` functions and inspect the results, watch
|
|
10
|
-
shared-state keys update live, explore the agent-exposed
|
|
10
|
+
shared-state keys update live, explore the agent-exposed API, and — while
|
|
11
11
|
running against a live backend — list the other devframe dev servers running
|
|
12
12
|
alongside it.
|
|
13
13
|
|
|
@@ -47,7 +47,7 @@ import { createInspectDevframe } from '@devframes/plugin-inspect'
|
|
|
47
47
|
const devframe = createInspectDevframe({ port: 9100 })
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
## RPC
|
|
50
|
+
## RPC
|
|
51
51
|
|
|
52
52
|
All functions are namespaced `devframes:plugin:inspect:*`:
|
|
53
53
|
|
|
@@ -61,6 +61,6 @@ All functions are namespaced `devframes:plugin:inspect:*`:
|
|
|
61
61
|
|
|
62
62
|
The three snapshot `query` functions are agent-exposed (read-only) and bake into
|
|
63
63
|
the static dump, so the inspector still lists functions, state keys, and the
|
|
64
|
-
agent
|
|
64
|
+
agent-exposed API when deployed as a static SPA. `list-instances` is live rather
|
|
65
65
|
than baked (the set of running processes is meaningless in a static dump), so
|
|
66
66
|
the Instances tab appears only against a live backend.
|
package/dist/cli.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createInspectDevframe } from "./src-
|
|
1
|
+
import { t as createInspectDevframe } from "./src-DiqnXz7_.mjs";
|
|
2
2
|
export { createInspectDevframe, createInspectDevframe as default };
|
|
@@ -2,7 +2,7 @@ import { setupInspect } from "./node/index.mjs";
|
|
|
2
2
|
import { defineDevframe } from "devframe";
|
|
3
3
|
//#region package.json
|
|
4
4
|
var name = "@devframes/plugin-inspect";
|
|
5
|
-
var version = "0.9.
|
|
5
|
+
var version = "0.9.6";
|
|
6
6
|
var description = "Devframe plugin that inspects the RPC registry, shared state, and agent surface of a connection.";
|
|
7
7
|
var homepage = "https://github.com/devframes/devframe#readme";
|
|
8
8
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/plugin-inspect",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.6",
|
|
5
5
|
"description": "Devframe plugin that inspects the RPC registry, shared state, and agent surface of a connection.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
],
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"vite": "^7.0.0 || ^8.0.0",
|
|
40
|
-
"@devframes/plugin-inspect--assets": "0.9.
|
|
41
|
-
"devframe": "0.9.
|
|
40
|
+
"@devframes/plugin-inspect--assets": "0.9.6",
|
|
41
|
+
"devframe": "0.9.6"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"@devframes/plugin-inspect--assets": {
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
"vitest": "^4.1.10",
|
|
71
71
|
"vue": "^3.5.41",
|
|
72
72
|
"ws": "^8.21.3",
|
|
73
|
-
"@devframes/hub": "0.9.
|
|
74
|
-
"@devframes/
|
|
75
|
-
"
|
|
76
|
-
"
|
|
73
|
+
"@devframes/hub": "0.9.6",
|
|
74
|
+
"@devframes/vite": "0.9.6",
|
|
75
|
+
"devframe": "0.9.6",
|
|
76
|
+
"@devframes/plugin-inspect--assets": "0.9.6"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"build": "tsdown && vite build --config src/spa/vite.config.ts",
|