@ggui-ai/dev-stack 0.1.0-rc.3 → 0.2.0-alpha.1
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/dev-server/sandbox-proxy.d.ts +46 -0
- package/dist/dev-server/sandbox-proxy.d.ts.map +1 -0
- package/dist/dev-server/sandbox-proxy.js +270 -0
- package/dist/hub-preview/client.js +13897 -1989
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export { openEventStream, type SseOptions } from './dev-server/events.js';
|
|
|
29
29
|
export { renderHubHtml, serveHubShell, type HubShellContext, } from './dev-server/hub.js';
|
|
30
30
|
export { renderHubPreviewHtml, serveHubPreviewShell, serveHubPreviewBundle, resolveHubPreviewBundlePath, extractSelectedId, type HubPreviewShellContext, } from './dev-server/hub-preview.js';
|
|
31
31
|
export { createSecurityPolicy, type CreatePolicyOptions, type DevServerSecurityPolicy, type PolicyOutcome, } from './dev-server/auth.js';
|
|
32
|
+
export { startSandboxProxyServer, type SandboxProxyServerOptions, type SandboxProxyServerHandle, } from './dev-server/sandbox-proxy.js';
|
|
32
33
|
export { runDev, GguiDevError, DEFAULT_DEV_PORT, DEFAULT_DEV_HOST, type DevOptions, type DevBootstrap, } from './run-dev.js';
|
|
33
34
|
export { RuntimeSupervisor, DEFAULT_RUNTIME_BUFFER_SIZE, emptyRuntimeSnapshot, formatRuntimeEventLine, type RuntimeSupervisorOptions, type RuntimeStateSnapshot, type EmptyRuntimeStateSnapshot, type AnyRuntimeStateSnapshot, type RuntimeEventRecord, } from './runtime-supervisor.js';
|
|
34
35
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;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C"}
|
package/dist/index.js
CHANGED
|
@@ -41,6 +41,10 @@ export { renderHubHtml, serveHubShell, } from './dev-server/hub.js';
|
|
|
41
41
|
export { renderHubPreviewHtml, serveHubPreviewShell, serveHubPreviewBundle, resolveHubPreviewBundlePath, extractSelectedId, } from './dev-server/hub-preview.js';
|
|
42
42
|
// Auth / CORS policy
|
|
43
43
|
export { createSecurityPolicy, } from './dev-server/auth.js';
|
|
44
|
+
// MCP-Apps sandbox proxy — second HTTP server on a different origin
|
|
45
|
+
// that serves `sandbox.html` for `<AppRenderer>`'s two-iframe
|
|
46
|
+
// sandboxing pattern (R5; see ./dev-server/sandbox-proxy.ts).
|
|
47
|
+
export { startSandboxProxyServer, } from './dev-server/sandbox-proxy.js';
|
|
44
48
|
// Orchestration — the seam every local-dev host composes against.
|
|
45
49
|
export { runDev, GguiDevError, DEFAULT_DEV_PORT, DEFAULT_DEV_HOST, } from './run-dev.js';
|
|
46
50
|
// Runtime supervision — ring-buffered view of the supervised agent
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggui-ai/dev-stack",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-alpha.1",
|
|
4
4
|
"description": "Shared local dev engine for the ggui protocol: local UI registry discovery, compile-on-demand, filesystem watcher with SSE, and a read-only HTTP surface for dev tooling. Framework-neutral — agent runtime supervision plugs in via an adapter seam, so no agent SDK is hardcoded.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ggui",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"chokidar": "^4.0.3",
|
|
30
30
|
"esbuild": "^0.25.12",
|
|
31
31
|
"tinyglobby": "^0.2.16",
|
|
32
|
-
"@ggui-ai/agent-runtime": "0.
|
|
33
|
-
"@ggui-ai/project-config": "0.
|
|
34
|
-
"@ggui-ai/ui-registry": "0.
|
|
32
|
+
"@ggui-ai/agent-runtime": "0.2.0-alpha.1",
|
|
33
|
+
"@ggui-ai/project-config": "0.2.0-alpha.1",
|
|
34
|
+
"@ggui-ai/ui-registry": "0.2.0-alpha.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^24.0.0",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"react-dom": "^19.0.0",
|
|
42
42
|
"typescript": "^5.0.0",
|
|
43
43
|
"vitest": "^3.0.0",
|
|
44
|
-
"@ggui-ai/react": "0.
|
|
45
|
-
"@ggui-ai/design": "0.
|
|
46
|
-
"@ggui-ai/wire": "0.
|
|
44
|
+
"@ggui-ai/react": "0.2.0-alpha.1",
|
|
45
|
+
"@ggui-ai/design": "0.2.0-alpha.1",
|
|
46
|
+
"@ggui-ai/wire": "0.2.0-alpha.1"
|
|
47
47
|
},
|
|
48
48
|
"repository": {
|
|
49
49
|
"type": "git",
|