@codeam/shared 2.61.46 → 2.61.48
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +52 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -377,6 +377,7 @@ var LINKED_AGENT_IDS = [
|
|
|
377
377
|
"coderabbit",
|
|
378
378
|
"gemini",
|
|
379
379
|
"kimi",
|
|
380
|
+
"omniroute",
|
|
380
381
|
HOUSE_AGENT_ID
|
|
381
382
|
];
|
|
382
383
|
function isLinkedAgentId(value) {
|
|
@@ -395,6 +396,11 @@ var PUBLIC_TO_INTERNAL = {
|
|
|
395
396
|
coderabbit: "coderabbit",
|
|
396
397
|
gemini: "gemini",
|
|
397
398
|
kimi: "kimi",
|
|
399
|
+
// OmniRoute runs Claude Code under the hood, pointed at the user's OmniRoute
|
|
400
|
+
// gateway (their vaulted base URL + token) instead of the house MiniMax
|
|
401
|
+
// proxy. Same internal runtime as the house agent — `claude` — differing only
|
|
402
|
+
// in WHERE Anthropic env is pointed (a buildOmniRouteBootstrap variant).
|
|
403
|
+
omniroute: "claude",
|
|
398
404
|
// The house agent runs Claude Code under the hood (pointed at the
|
|
399
405
|
// MiniMax proxy). Its internal runtime is therefore `claude`.
|
|
400
406
|
[HOUSE_AGENT_ID]: "claude"
|
|
@@ -1042,6 +1048,42 @@ var INTEGRATION_REGISTRY = {
|
|
|
1042
1048
|
}
|
|
1043
1049
|
}
|
|
1044
1050
|
}
|
|
1051
|
+
},
|
|
1052
|
+
stitch: {
|
|
1053
|
+
id: "stitch",
|
|
1054
|
+
name: "Stitch",
|
|
1055
|
+
icon: "stitch",
|
|
1056
|
+
category: "design",
|
|
1057
|
+
// LIVE — api_key: the user pastes a Stitch API key (Google Stitch →
|
|
1058
|
+
// Settings → API Key). Stitch's MCP is hosted-only (stitch.googleapis.com)
|
|
1059
|
+
// and accepts the key as the `X-Goog-Api-Key` header headless (verified) —
|
|
1060
|
+
// no OAuth, no GSM secret. Delivery uses the shim's HTTP transport.
|
|
1061
|
+
// (Stitch ALSO supports Google OAuth 2.0, but that's a follow-up — our model
|
|
1062
|
+
// is one auth kind per integration and api_key is the simple, headless path.)
|
|
1063
|
+
enabled: true,
|
|
1064
|
+
auth: {
|
|
1065
|
+
kind: "api_key",
|
|
1066
|
+
fields: [
|
|
1067
|
+
{
|
|
1068
|
+
key: "accessToken",
|
|
1069
|
+
label: "API Key",
|
|
1070
|
+
placeholder: "Stitch API key",
|
|
1071
|
+
secret: true,
|
|
1072
|
+
help: "Google Stitch \u2192 profile menu \u2192 Stitch Settings \u2192 API Key \u2192 Create Key."
|
|
1073
|
+
}
|
|
1074
|
+
]
|
|
1075
|
+
},
|
|
1076
|
+
delivery: {
|
|
1077
|
+
mcp: {
|
|
1078
|
+
// HTTP transport — the shim relays to Stitch's hosted MCP with the key
|
|
1079
|
+
// as the X-Goog-Api-Key header. Key stays server-side of the shim.
|
|
1080
|
+
command: "",
|
|
1081
|
+
args: [],
|
|
1082
|
+
envMapping: {},
|
|
1083
|
+
httpUrl: "https://stitch.googleapis.com/mcp",
|
|
1084
|
+
httpHeaders: { "X-Goog-Api-Key": "{accessToken}" }
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1045
1087
|
}
|
|
1046
1088
|
};
|
|
1047
1089
|
function getEnabledIntegrations() {
|
|
@@ -1216,6 +1258,16 @@ var INTEGRATION_BRANDING = {
|
|
|
1216
1258
|
brandColor: "#F24E1E",
|
|
1217
1259
|
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
1260
|
},
|
|
1261
|
+
stitch: {
|
|
1262
|
+
id: "stitch",
|
|
1263
|
+
name: "Stitch",
|
|
1264
|
+
vendor: "Google",
|
|
1265
|
+
tagline: "AI UI design \u2192 code",
|
|
1266
|
+
brandColor: "#A855F7",
|
|
1267
|
+
// A simple 4-point design "sparkle" mark (Google Stitch has no simple-icons
|
|
1268
|
+
// entry) — white on dark, re-tintable via brandColor like the other marks.
|
|
1269
|
+
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>'
|
|
1270
|
+
},
|
|
1219
1271
|
trello: {
|
|
1220
1272
|
id: "trello",
|
|
1221
1273
|
name: "Trello",
|