@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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +46 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -351,7 +351,7 @@ declare function isHeadroomWrappable(agentId: string): boolean;
|
|
|
351
351
|
* ubiquitous CLI for the tool → `cliEnv`; otherwise → `mcp`. A tool may
|
|
352
352
|
* declare both.
|
|
353
353
|
*/
|
|
354
|
-
type IntegrationId = 'jira' | 'sentry' | 'linear' | 'slack' | 'notion' | 'azure_devops' | 'figma' | 'microsoft_teams' | 'google_chat' | 'discord' | 'resend' | 'posthog' | 'datadog' | 'github_issues' | 'github' | 'gitlab';
|
|
354
|
+
type IntegrationId = 'jira' | 'sentry' | 'linear' | 'slack' | 'notion' | 'azure_devops' | 'figma' | 'microsoft_teams' | 'google_chat' | 'discord' | 'resend' | 'posthog' | 'datadog' | 'stitch' | 'github_issues' | 'github' | 'gitlab';
|
|
355
355
|
/**
|
|
356
356
|
* `derived` = no link flow of its own: the credential is BORROWED live from a
|
|
357
357
|
* connection the user already made elsewhere (see `derivedFrom`). The backend
|
package/dist/index.d.ts
CHANGED
|
@@ -351,7 +351,7 @@ declare function isHeadroomWrappable(agentId: string): boolean;
|
|
|
351
351
|
* ubiquitous CLI for the tool → `cliEnv`; otherwise → `mcp`. A tool may
|
|
352
352
|
* declare both.
|
|
353
353
|
*/
|
|
354
|
-
type IntegrationId = 'jira' | 'sentry' | 'linear' | 'slack' | 'notion' | 'azure_devops' | 'figma' | 'microsoft_teams' | 'google_chat' | 'discord' | 'resend' | 'posthog' | 'datadog' | 'github_issues' | 'github' | 'gitlab';
|
|
354
|
+
type IntegrationId = 'jira' | 'sentry' | 'linear' | 'slack' | 'notion' | 'azure_devops' | 'figma' | 'microsoft_teams' | 'google_chat' | 'discord' | 'resend' | 'posthog' | 'datadog' | 'stitch' | 'github_issues' | 'github' | 'gitlab';
|
|
355
355
|
/**
|
|
356
356
|
* `derived` = no link flow of its own: the credential is BORROWED live from a
|
|
357
357
|
* connection the user already made elsewhere (see `derivedFrom`). The backend
|
package/dist/index.js
CHANGED
|
@@ -1124,6 +1124,42 @@ var INTEGRATION_REGISTRY = {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
}
|
|
1126
1126
|
}
|
|
1127
|
+
},
|
|
1128
|
+
stitch: {
|
|
1129
|
+
id: "stitch",
|
|
1130
|
+
name: "Stitch",
|
|
1131
|
+
icon: "stitch",
|
|
1132
|
+
category: "design",
|
|
1133
|
+
// LIVE — api_key: the user pastes a Stitch API key (Google Stitch →
|
|
1134
|
+
// Settings → API Key). Stitch's MCP is hosted-only (stitch.googleapis.com)
|
|
1135
|
+
// and accepts the key as the `X-Goog-Api-Key` header headless (verified) —
|
|
1136
|
+
// no OAuth, no GSM secret. Delivery uses the shim's HTTP transport.
|
|
1137
|
+
// (Stitch ALSO supports Google OAuth 2.0, but that's a follow-up — our model
|
|
1138
|
+
// is one auth kind per integration and api_key is the simple, headless path.)
|
|
1139
|
+
enabled: true,
|
|
1140
|
+
auth: {
|
|
1141
|
+
kind: "api_key",
|
|
1142
|
+
fields: [
|
|
1143
|
+
{
|
|
1144
|
+
key: "accessToken",
|
|
1145
|
+
label: "API Key",
|
|
1146
|
+
placeholder: "Stitch API key",
|
|
1147
|
+
secret: true,
|
|
1148
|
+
help: "Google Stitch \u2192 profile menu \u2192 Stitch Settings \u2192 API Key \u2192 Create Key."
|
|
1149
|
+
}
|
|
1150
|
+
]
|
|
1151
|
+
},
|
|
1152
|
+
delivery: {
|
|
1153
|
+
mcp: {
|
|
1154
|
+
// HTTP transport — the shim relays to Stitch's hosted MCP with the key
|
|
1155
|
+
// as the X-Goog-Api-Key header. Key stays server-side of the shim.
|
|
1156
|
+
command: "",
|
|
1157
|
+
args: [],
|
|
1158
|
+
envMapping: {},
|
|
1159
|
+
httpUrl: "https://stitch.googleapis.com/mcp",
|
|
1160
|
+
httpHeaders: { "X-Goog-Api-Key": "{accessToken}" }
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1127
1163
|
}
|
|
1128
1164
|
};
|
|
1129
1165
|
function getEnabledIntegrations() {
|
|
@@ -1298,6 +1334,16 @@ var INTEGRATION_BRANDING = {
|
|
|
1298
1334
|
brandColor: "#F24E1E",
|
|
1299
1335
|
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>'
|
|
1300
1336
|
},
|
|
1337
|
+
stitch: {
|
|
1338
|
+
id: "stitch",
|
|
1339
|
+
name: "Stitch",
|
|
1340
|
+
vendor: "Google",
|
|
1341
|
+
tagline: "AI UI design \u2192 code",
|
|
1342
|
+
brandColor: "#A855F7",
|
|
1343
|
+
// A simple 4-point design "sparkle" mark (Google Stitch has no simple-icons
|
|
1344
|
+
// entry) — white on dark, re-tintable via brandColor like the other marks.
|
|
1345
|
+
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>'
|
|
1346
|
+
},
|
|
1301
1347
|
trello: {
|
|
1302
1348
|
id: "trello",
|
|
1303
1349
|
name: "Trello",
|