@codeam/shared 2.61.46 → 2.61.47

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/index.mjs CHANGED
@@ -1042,6 +1042,42 @@ var INTEGRATION_REGISTRY = {
1042
1042
  }
1043
1043
  }
1044
1044
  }
1045
+ },
1046
+ stitch: {
1047
+ id: "stitch",
1048
+ name: "Stitch",
1049
+ icon: "stitch",
1050
+ category: "design",
1051
+ // LIVE — api_key: the user pastes a Stitch API key (Google Stitch →
1052
+ // Settings → API Key). Stitch's MCP is hosted-only (stitch.googleapis.com)
1053
+ // and accepts the key as the `X-Goog-Api-Key` header headless (verified) —
1054
+ // no OAuth, no GSM secret. Delivery uses the shim's HTTP transport.
1055
+ // (Stitch ALSO supports Google OAuth 2.0, but that's a follow-up — our model
1056
+ // is one auth kind per integration and api_key is the simple, headless path.)
1057
+ enabled: true,
1058
+ auth: {
1059
+ kind: "api_key",
1060
+ fields: [
1061
+ {
1062
+ key: "accessToken",
1063
+ label: "API Key",
1064
+ placeholder: "Stitch API key",
1065
+ secret: true,
1066
+ help: "Google Stitch \u2192 profile menu \u2192 Stitch Settings \u2192 API Key \u2192 Create Key."
1067
+ }
1068
+ ]
1069
+ },
1070
+ delivery: {
1071
+ mcp: {
1072
+ // HTTP transport — the shim relays to Stitch's hosted MCP with the key
1073
+ // as the X-Goog-Api-Key header. Key stays server-side of the shim.
1074
+ command: "",
1075
+ args: [],
1076
+ envMapping: {},
1077
+ httpUrl: "https://stitch.googleapis.com/mcp",
1078
+ httpHeaders: { "X-Goog-Api-Key": "{accessToken}" }
1079
+ }
1080
+ }
1045
1081
  }
1046
1082
  };
1047
1083
  function getEnabledIntegrations() {
@@ -1216,6 +1252,16 @@ var INTEGRATION_BRANDING = {
1216
1252
  brandColor: "#F24E1E",
1217
1253
  logoSvg: '<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Figma</title><path fill="#FFFFFF" d="M15.852 8.981h-4.588V0h4.588c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.491-4.49 4.491zM12.735 7.51h3.117c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-3.117V7.51zm0 1.471H8.148c-2.476 0-4.49-2.014-4.49-4.49S5.672 0 8.148 0h4.588v8.981zm-4.587-7.51c-1.665 0-3.019 1.355-3.019 3.019s1.354 3.02 3.019 3.02h3.117V1.471H8.148zm4.587 15.019H8.148c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h4.588v8.98zM8.148 8.981c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h3.117V8.981H8.148zM8.172 24c-2.489 0-4.515-2.014-4.515-4.49s2.014-4.49 4.49-4.49h4.588v4.441c0 2.503-2.047 4.539-4.563 4.539zm-.024-7.51a3.023 3.023 0 0 0-3.019 3.019c0 1.665 1.365 3.019 3.044 3.019 1.705 0 3.093-1.376 3.093-3.068v-2.97H8.148zm7.704 0h-.098c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h.098c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.49-4.49 4.49zm-.097-7.509c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h.098c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-.098z"/></svg>'
1218
1254
  },
1255
+ stitch: {
1256
+ id: "stitch",
1257
+ name: "Stitch",
1258
+ vendor: "Google",
1259
+ tagline: "AI UI design \u2192 code",
1260
+ brandColor: "#A855F7",
1261
+ // A simple 4-point design "sparkle" mark (Google Stitch has no simple-icons
1262
+ // entry) — white on dark, re-tintable via brandColor like the other marks.
1263
+ logoSvg: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="#FFFFFF" d="M12 1.5l1.9 6.3a4 4 0 0 0 2.3 2.3l6.3 1.9-6.3 1.9a4 4 0 0 0-2.3 2.3L12 22.5l-1.9-6.3a4 4 0 0 0-2.3-2.3L1.5 12l6.3-1.9a4 4 0 0 0 2.3-2.3L12 1.5z"/></svg>'
1264
+ },
1219
1265
  trello: {
1220
1266
  id: "trello",
1221
1267
  name: "Trello",