@ggui-ai/dev-stack 0.6.3 → 0.8.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.
@@ -34209,7 +34209,7 @@ config(en_default());
34209
34209
 
34210
34210
  // ../protocol/dist/gadgets/stdlib-gadgets.js
34211
34211
  var STDLIB_GADGETS_PACKAGE = "@ggui-ai/gadgets";
34212
- var STDLIB_GADGETS_VERSION = "0.6.3";
34212
+ var STDLIB_GADGETS_VERSION = "0.8.0";
34213
34213
  var STDLIB_GADGETS = [
34214
34214
  {
34215
34215
  package: STDLIB_GADGETS_PACKAGE,
@@ -34696,7 +34696,13 @@ var listFeaturedBlueprintsInputShape = {};
34696
34696
  var listFeaturedBlueprintsInputSchema = external_exports.object(listFeaturedBlueprintsInputShape);
34697
34697
  var searchBlueprintsInputShape = {
34698
34698
  query: external_exports.string().min(1).describe("Natural-language description of the UI you're looking for"),
34699
- limit: external_exports.number().int().min(1).max(100).optional()
34699
+ limit: external_exports.number().int().min(1).max(100).optional(),
34700
+ // Charset mirrors `MCP_TOOL_BINDING_NAME_RE` in
34701
+ // `@ggui-ai/artifact-manifest` (src/mcp-tool-bindings.ts). Inlined:
34702
+ // protocol cannot import artifact-manifest — the dependency points
34703
+ // the other way.
34704
+ tool: external_exports.string().regex(/^[A-Za-z0-9_.-]{1,128}$/).optional().describe("Filter registry-sourced candidates to artifacts declaring a binding for this exact MCP tool name (case-sensitive). Local results are unaffected."),
34705
+ server: external_exports.string().regex(/^[A-Za-z0-9_.-]{1,128}$/).optional().describe("Filter registry-sourced candidates to artifacts declaring a binding for this exact MCP server name (case-sensitive). Combine with `tool` to require the exact (server, tool) pair.")
34700
34706
  };
34701
34707
  var searchBlueprintsInputSchema = external_exports.object(searchBlueprintsInputShape);
34702
34708
  var renderBlueprintInputShape = {
@@ -34705,12 +34711,6 @@ var renderBlueprintInputShape = {
34705
34711
  var renderBlueprintInputSchema = external_exports.object(renderBlueprintInputShape);
34706
34712
  var discoverInputShape = {};
34707
34713
  var discoverInputSchema = external_exports.object(discoverInputShape);
34708
- var requestCredentialInputShape = {
34709
- serviceId: external_exports.string().min(1),
34710
- reason: external_exports.string().optional(),
34711
- sessionId: external_exports.string().optional()
34712
- };
34713
- var requestCredentialInputSchema = external_exports.object(requestCredentialInputShape);
34714
34714
  var handshakeInputSchema = external_exports.object({
34715
34715
  /**
34716
34716
  * Concise semantic identity of the UI. Same intent across calls =
@@ -34832,6 +34832,17 @@ var renderErrorSchema = external_exports.object({
34832
34832
  code: renderErrorCodeSchema.describe("Canonical failure class. PRODUCTION_FAILED: generation did not produce a component. VALIDATION_ERROR: a server-side precondition rejected the render before generation. NO_PLATFORM_KEY: the server's managed provider-key configuration has no key for the resolved route. NO_CREDENTIALS: no generation credentials are configured on the server."),
34833
34833
  message: external_exports.string().describe("Human-readable failure detail \u2014 fold into the next attempt or surface to the operator.")
34834
34834
  });
34835
+ var resourceReadErrorCodeSchema = external_exports.enum([
34836
+ "NOT_FOUND",
34837
+ "BLUEPRINT_UNRESOLVABLE",
34838
+ "NOT_SUPPORTED",
34839
+ "NOT_MOUNTABLE"
34840
+ ]);
34841
+ var resourceReadErrorSchema = external_exports.object({
34842
+ code: resourceReadErrorCodeSchema.describe("Canonical failure class. NOT_FOUND: no live render and no restorable record (also the response when the caller may not read this locator). BLUEPRINT_UNRESOLVABLE: a record exists but the component behind it is gone. NOT_SUPPORTED: this server keeps no durable record, so an evicted locator can never be restored. NOT_MOUNTABLE: the render resolved but no delivery channel is available."),
34843
+ message: external_exports.string().describe("Human-readable failure detail. Replaced by a constant on NOT_FOUND."),
34844
+ detail: external_exports.string().optional().describe("Extra diagnostic context for operators. Dropped on NOT_FOUND so a denied read cannot be told apart from a miss.")
34845
+ });
34835
34846
  var renderOutputSchema = external_exports.object({
34836
34847
  sessionId: external_exports.string(),
34837
34848
  /**
@@ -41746,8 +41757,16 @@ function Toast({ message, variant = "info", title, duration: duration22 = 5e3, o
41746
41757
  const timer = setTimeout(onClose, duration22);
41747
41758
  return () => clearTimeout(timer);
41748
41759
  }, [visible, duration22, onClose]);
41749
- if (!visible)
41750
- return null;
41760
+ if (!visible) {
41761
+ return (0, import_jsx_runtime29.jsx)("div", { role: "alert", "aria-live": "assertive", className, style: {
41762
+ position: "absolute",
41763
+ width: "1px",
41764
+ height: "1px",
41765
+ overflow: "hidden",
41766
+ clipPath: "inset(50%)",
41767
+ whiteSpace: "nowrap"
41768
+ } });
41769
+ }
41751
41770
  const vs = variantStyles4[variant];
41752
41771
  const toastStyle = {
41753
41772
  display: "flex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggui-ai/dev-stack",
3
- "version": "0.6.3",
3
+ "version": "0.8.0",
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",
@@ -28,9 +28,9 @@
28
28
  "dependencies": {
29
29
  "chokidar": "^4.0.3",
30
30
  "esbuild": "^0.25.12",
31
- "@ggui-ai/agent-runtime": "0.6.3",
32
- "@ggui-ai/project-config": "0.6.3",
33
- "@ggui-ai/ui-registry": "0.6.3"
31
+ "@ggui-ai/agent-runtime": "0.8.0",
32
+ "@ggui-ai/ui-registry": "0.8.0",
33
+ "@ggui-ai/project-config": "0.8.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^24.0.0",
@@ -40,9 +40,9 @@
40
40
  "react-dom": "^19.0.0",
41
41
  "typescript": "^5.0.0",
42
42
  "vitest": "^3.2.6",
43
- "@ggui-ai/design": "0.6.3",
44
- "@ggui-ai/react": "0.6.3",
45
- "@ggui-ai/wire": "0.6.3"
43
+ "@ggui-ai/react": "0.8.0",
44
+ "@ggui-ai/design": "0.8.0",
45
+ "@ggui-ai/wire": "0.8.0"
46
46
  },
47
47
  "repository": {
48
48
  "type": "git",