@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.d.mts
CHANGED
|
@@ -273,7 +273,7 @@ declare const HOUSE_AGENT_SUBTITLE = "Included \u2014 no setup";
|
|
|
273
273
|
* endpoints and the mobile/web surfaces speak. The internal `AgentId`
|
|
274
274
|
* (`'claude' | 'codex' | …`) is what the runtimes / provisioning key on.
|
|
275
275
|
*/
|
|
276
|
-
type LinkedAgentId = 'claude_code' | 'codex' | 'cursor' | 'aider' | 'coderabbit' | 'gemini' | 'kimi' | typeof HOUSE_AGENT_ID;
|
|
276
|
+
type LinkedAgentId = 'claude_code' | 'codex' | 'cursor' | 'aider' | 'coderabbit' | 'gemini' | 'kimi' | 'omniroute' | typeof HOUSE_AGENT_ID;
|
|
277
277
|
declare const LINKED_AGENT_IDS: readonly LinkedAgentId[];
|
|
278
278
|
declare function isLinkedAgentId(value: string): value is LinkedAgentId;
|
|
279
279
|
/**
|
|
@@ -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
|
@@ -273,7 +273,7 @@ declare const HOUSE_AGENT_SUBTITLE = "Included \u2014 no setup";
|
|
|
273
273
|
* endpoints and the mobile/web surfaces speak. The internal `AgentId`
|
|
274
274
|
* (`'claude' | 'codex' | …`) is what the runtimes / provisioning key on.
|
|
275
275
|
*/
|
|
276
|
-
type LinkedAgentId = 'claude_code' | 'codex' | 'cursor' | 'aider' | 'coderabbit' | 'gemini' | 'kimi' | typeof HOUSE_AGENT_ID;
|
|
276
|
+
type LinkedAgentId = 'claude_code' | 'codex' | 'cursor' | 'aider' | 'coderabbit' | 'gemini' | 'kimi' | 'omniroute' | typeof HOUSE_AGENT_ID;
|
|
277
277
|
declare const LINKED_AGENT_IDS: readonly LinkedAgentId[];
|
|
278
278
|
declare function isLinkedAgentId(value: string): value is LinkedAgentId;
|
|
279
279
|
/**
|
|
@@ -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
|
@@ -459,6 +459,7 @@ var LINKED_AGENT_IDS = [
|
|
|
459
459
|
"coderabbit",
|
|
460
460
|
"gemini",
|
|
461
461
|
"kimi",
|
|
462
|
+
"omniroute",
|
|
462
463
|
HOUSE_AGENT_ID
|
|
463
464
|
];
|
|
464
465
|
function isLinkedAgentId(value) {
|
|
@@ -477,6 +478,11 @@ var PUBLIC_TO_INTERNAL = {
|
|
|
477
478
|
coderabbit: "coderabbit",
|
|
478
479
|
gemini: "gemini",
|
|
479
480
|
kimi: "kimi",
|
|
481
|
+
// OmniRoute runs Claude Code under the hood, pointed at the user's OmniRoute
|
|
482
|
+
// gateway (their vaulted base URL + token) instead of the house MiniMax
|
|
483
|
+
// proxy. Same internal runtime as the house agent — `claude` — differing only
|
|
484
|
+
// in WHERE Anthropic env is pointed (a buildOmniRouteBootstrap variant).
|
|
485
|
+
omniroute: "claude",
|
|
480
486
|
// The house agent runs Claude Code under the hood (pointed at the
|
|
481
487
|
// MiniMax proxy). Its internal runtime is therefore `claude`.
|
|
482
488
|
[HOUSE_AGENT_ID]: "claude"
|
|
@@ -1124,6 +1130,42 @@ var INTEGRATION_REGISTRY = {
|
|
|
1124
1130
|
}
|
|
1125
1131
|
}
|
|
1126
1132
|
}
|
|
1133
|
+
},
|
|
1134
|
+
stitch: {
|
|
1135
|
+
id: "stitch",
|
|
1136
|
+
name: "Stitch",
|
|
1137
|
+
icon: "stitch",
|
|
1138
|
+
category: "design",
|
|
1139
|
+
// LIVE — api_key: the user pastes a Stitch API key (Google Stitch →
|
|
1140
|
+
// Settings → API Key). Stitch's MCP is hosted-only (stitch.googleapis.com)
|
|
1141
|
+
// and accepts the key as the `X-Goog-Api-Key` header headless (verified) —
|
|
1142
|
+
// no OAuth, no GSM secret. Delivery uses the shim's HTTP transport.
|
|
1143
|
+
// (Stitch ALSO supports Google OAuth 2.0, but that's a follow-up — our model
|
|
1144
|
+
// is one auth kind per integration and api_key is the simple, headless path.)
|
|
1145
|
+
enabled: true,
|
|
1146
|
+
auth: {
|
|
1147
|
+
kind: "api_key",
|
|
1148
|
+
fields: [
|
|
1149
|
+
{
|
|
1150
|
+
key: "accessToken",
|
|
1151
|
+
label: "API Key",
|
|
1152
|
+
placeholder: "Stitch API key",
|
|
1153
|
+
secret: true,
|
|
1154
|
+
help: "Google Stitch \u2192 profile menu \u2192 Stitch Settings \u2192 API Key \u2192 Create Key."
|
|
1155
|
+
}
|
|
1156
|
+
]
|
|
1157
|
+
},
|
|
1158
|
+
delivery: {
|
|
1159
|
+
mcp: {
|
|
1160
|
+
// HTTP transport — the shim relays to Stitch's hosted MCP with the key
|
|
1161
|
+
// as the X-Goog-Api-Key header. Key stays server-side of the shim.
|
|
1162
|
+
command: "",
|
|
1163
|
+
args: [],
|
|
1164
|
+
envMapping: {},
|
|
1165
|
+
httpUrl: "https://stitch.googleapis.com/mcp",
|
|
1166
|
+
httpHeaders: { "X-Goog-Api-Key": "{accessToken}" }
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1127
1169
|
}
|
|
1128
1170
|
};
|
|
1129
1171
|
function getEnabledIntegrations() {
|
|
@@ -1298,6 +1340,16 @@ var INTEGRATION_BRANDING = {
|
|
|
1298
1340
|
brandColor: "#F24E1E",
|
|
1299
1341
|
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
1342
|
},
|
|
1343
|
+
stitch: {
|
|
1344
|
+
id: "stitch",
|
|
1345
|
+
name: "Stitch",
|
|
1346
|
+
vendor: "Google",
|
|
1347
|
+
tagline: "AI UI design \u2192 code",
|
|
1348
|
+
brandColor: "#A855F7",
|
|
1349
|
+
// A simple 4-point design "sparkle" mark (Google Stitch has no simple-icons
|
|
1350
|
+
// entry) — white on dark, re-tintable via brandColor like the other marks.
|
|
1351
|
+
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>'
|
|
1352
|
+
},
|
|
1301
1353
|
trello: {
|
|
1302
1354
|
id: "trello",
|
|
1303
1355
|
name: "Trello",
|