@devframes/plugin-inspect 0.8.2 → 0.9.0-beta.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.
- package/dist/cli.mjs +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/{index-B7KBbd3U.d.mts → index-DEz0yTau.d.mts} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/node/index.d.mts +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/rpc/index.d.mts +2 -2
- package/dist/rpc/index.mjs +1 -1
- package/dist/{rpc-BCuMcHnd.mjs → rpc-YAeJURfa.mjs} +9 -8
- package/dist/spa/assets/index-CVNDXVYM.js +8 -0
- package/dist/spa/index.html +1 -1
- package/dist/{src-CzzEF2WN.mjs → src-DXMxyuay.mjs} +3 -3
- package/dist/{types-_vo7QhmS.d.mts → types-CiRcsiuh.d.mts} +5 -5
- package/dist/vite.mjs +1 -1
- package/package.json +13 -14
- package/dist/spa/assets/index-BQQo1YFH.js +0 -6
package/dist/spa/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
6
6
|
<base href="./" />
|
|
7
7
|
<title>Devframe Inspector</title>
|
|
8
|
-
<script type="module" crossorigin src="./assets/index-
|
|
8
|
+
<script type="module" crossorigin src="./assets/index-CVNDXVYM.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="./assets/index-Bi2WD_B3.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { setupInspect } from "./node/index.mjs";
|
|
2
2
|
import { existsSync } from "node:fs";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
|
-
import { defineDevframe } from "devframe
|
|
4
|
+
import { defineDevframe } from "devframe";
|
|
5
5
|
//#region package.json
|
|
6
6
|
var name = "@devframes/plugin-inspect";
|
|
7
|
-
var version = "0.
|
|
8
|
-
var description = "Devframe plugin
|
|
7
|
+
var version = "0.9.0-beta.2";
|
|
8
|
+
var description = "Devframe plugin that inspects the RPC registry, shared state, and agent surface of a connection.";
|
|
9
9
|
var homepage = "https://github.com/devframes/devframe#readme";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/index.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentManifest } from "devframe
|
|
1
|
+
import { AgentManifest } from "devframe";
|
|
2
2
|
//#region src/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Agent-exposure projection surfaced for each RPC function. Mirrors the
|
|
@@ -15,8 +15,8 @@ interface RpcFunctionAgentInfo {
|
|
|
15
15
|
/**
|
|
16
16
|
* Serializable description of a single registered RPC function. Returned
|
|
17
17
|
* by `devframes:plugin:inspect:list-functions`. JSON-safe by construction
|
|
18
|
-
* —
|
|
19
|
-
* sent as live objects.
|
|
18
|
+
* — Standard Schema args/return schemas are projected to JSON Schema (best
|
|
19
|
+
* effort), never sent as live objects.
|
|
20
20
|
*/
|
|
21
21
|
interface RpcFunctionInfo {
|
|
22
22
|
/** Full namespaced function name (e.g. `my-plugin:do-thing`). */
|
|
@@ -29,9 +29,9 @@ interface RpcFunctionInfo {
|
|
|
29
29
|
snapshot: boolean;
|
|
30
30
|
/** Whether results may be cached client-side. */
|
|
31
31
|
cacheable: boolean;
|
|
32
|
-
/** Whether an args
|
|
32
|
+
/** Whether an args schema is declared. */
|
|
33
33
|
hasArgs: boolean;
|
|
34
|
-
/** Whether a return
|
|
34
|
+
/** Whether a return schema is declared. */
|
|
35
35
|
hasReturns: boolean;
|
|
36
36
|
/** Whether an explicit dump definition is declared. */
|
|
37
37
|
hasDump: boolean;
|
package/dist/vite.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/plugin-inspect",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"description": "Devframe plugin
|
|
4
|
+
"version": "0.9.0-beta.2",
|
|
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",
|
|
8
8
|
"homepage": "https://github.com/devframes/devframe#readme",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"vite": "^7.0.0 || ^8.0.0",
|
|
41
|
-
"devframe": "0.
|
|
41
|
+
"devframe": "0.9.0-beta.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"vite": {
|
|
@@ -46,32 +46,31 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@valibot/to-json-schema": "^1.7.1",
|
|
50
49
|
"cac": "^7.0.0",
|
|
51
50
|
"nostics": "^1.2.0"
|
|
52
51
|
},
|
|
53
52
|
"devDependencies": {
|
|
54
|
-
"@antfu/design": "^0.3.
|
|
53
|
+
"@antfu/design": "^0.3.4",
|
|
55
54
|
"@iconify-json/ph": "^1.2.2",
|
|
56
55
|
"@standard-schema/spec": "^1.1.0",
|
|
57
|
-
"@storybook/addon-docs": "^10.5.
|
|
58
|
-
"@storybook/vue3-vite": "^10.5.
|
|
56
|
+
"@storybook/addon-docs": "^10.5.7",
|
|
57
|
+
"@storybook/vue3-vite": "^10.5.7",
|
|
59
58
|
"@unocss/preset-icons": "^66.7.5",
|
|
60
59
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
61
60
|
"colorjs.io": "^0.7.1",
|
|
62
61
|
"floating-vue": "^5.2.2",
|
|
63
62
|
"get-port-please": "^3.2.0",
|
|
64
63
|
"h3": "^2.0.1-rc.26",
|
|
65
|
-
"reka-ui": "^2.10.
|
|
66
|
-
"storybook": "^10.5.
|
|
64
|
+
"reka-ui": "^2.10.3",
|
|
65
|
+
"storybook": "^10.5.7",
|
|
67
66
|
"tsdown": "^0.22.14",
|
|
68
67
|
"unocss": "^66.7.5",
|
|
69
|
-
"vite": "^8.2.
|
|
68
|
+
"vite": "^8.2.1",
|
|
70
69
|
"vitest": "^4.1.10",
|
|
71
|
-
"vue": "^3.5.
|
|
72
|
-
"ws": "^8.21.
|
|
73
|
-
"@devframes/hub": "0.
|
|
74
|
-
"devframe": "0.
|
|
70
|
+
"vue": "^3.5.41",
|
|
71
|
+
"ws": "^8.21.3",
|
|
72
|
+
"@devframes/hub": "0.9.0-beta.2",
|
|
73
|
+
"devframe": "0.9.0-beta.2"
|
|
75
74
|
},
|
|
76
75
|
"scripts": {
|
|
77
76
|
"build": "tsdown && vite build --config src/spa/vite.config.ts",
|