@ggui-ai/console 0.2.0-alpha.3 → 0.3.0-rc.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/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ggui-ai/console
|
|
2
2
|
|
|
3
|
-
Server-served operator landing page + minimal
|
|
3
|
+
Server-served operator landing page + minimal render viewer for a
|
|
4
4
|
self-hosted `@ggui-ai/mcp-server` instance. Single-origin, static
|
|
5
5
|
bundle, Vite + React 19.
|
|
6
6
|
|
|
@@ -10,9 +10,9 @@ bundle, Vite + React 19.
|
|
|
10
10
|
`http://localhost:<port>/` against the server they just started.
|
|
11
11
|
Shows the server's name / version + the currently pending pair-code
|
|
12
12
|
(if any), and — when opened at `/s/<shortCode>` — a minimal live
|
|
13
|
-
view of the
|
|
13
|
+
view of the render bound to that short-code.
|
|
14
14
|
- **IS NOT:** a multi-origin hosted product dashboard, the MCP Apps
|
|
15
|
-
iframe thin shell (`
|
|
15
|
+
iframe thin shell (`GGUI_RENDER_SHELL_HTML`), or any cross-origin
|
|
16
16
|
control surface. No server switcher, no cross-origin anything.
|
|
17
17
|
|
|
18
18
|
## Surface
|
|
@@ -48,7 +48,7 @@ await server.listen(4567);
|
|
|
48
48
|
// → http://127.0.0.1:4567/ serves the landing page.
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
With the
|
|
51
|
+
With the render viewer (requires `renderChannel` + a
|
|
52
52
|
`shortCodeIndex`):
|
|
53
53
|
|
|
54
54
|
```ts
|
|
@@ -59,7 +59,7 @@ const shortCodeIndex = new InMemoryShortCodeIndex();
|
|
|
59
59
|
|
|
60
60
|
const server = createGguiServer({
|
|
61
61
|
pairing: true,
|
|
62
|
-
|
|
62
|
+
renderChannel: true,
|
|
63
63
|
shortCodeIndex,
|
|
64
64
|
console: { sessionCookie: true },
|
|
65
65
|
// bootstrapSecret: process.env.GGUI_SECRET — use a deterministic
|
|
@@ -67,7 +67,7 @@ const server = createGguiServer({
|
|
|
67
67
|
});
|
|
68
68
|
await server.listen(4567);
|
|
69
69
|
// → http://127.0.0.1:4567/ landing page
|
|
70
|
-
// → http://127.0.0.1:4567/s/<code>
|
|
70
|
+
// → http://127.0.0.1:4567/s/<code> render viewer
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
Path override:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as s,r as c}from"./index-
|
|
1
|
+
import{g as s,r as c}from"./index-Hsl7YkHa.js";function f(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=c();const p=s(i),g=f({__proto__:null,default:p},[i]);export{g as i};
|