@codeam/shared 2.61.50 → 2.61.52
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 +37 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +37 -7
- 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' | 'stitch' | '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' | 'vercel';
|
|
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
|
|
@@ -380,7 +380,7 @@ type DerivedCredentialSource = 'github';
|
|
|
380
380
|
/** Grouping used by category-driven surfaces (Start-from-Work-Item picker,
|
|
381
381
|
* catalog sections). A future tracker integration joins those features with
|
|
382
382
|
* ZERO feature code — they resolve sources from the registry by category. */
|
|
383
|
-
type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' | 'docs' | 'observability';
|
|
383
|
+
type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' | 'docs' | 'observability' | 'deployment';
|
|
384
384
|
/**
|
|
385
385
|
* One user-entered field for an `api_key` integration (no browser OAuth — the
|
|
386
386
|
* user pastes credentials directly, e.g. a PAT + an org URL). The mobile form
|
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' | 'stitch' | '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' | 'vercel';
|
|
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
|
|
@@ -380,7 +380,7 @@ type DerivedCredentialSource = 'github';
|
|
|
380
380
|
/** Grouping used by category-driven surfaces (Start-from-Work-Item picker,
|
|
381
381
|
* catalog sections). A future tracker integration joins those features with
|
|
382
382
|
* ZERO feature code — they resolve sources from the registry by category. */
|
|
383
|
-
type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' | 'docs' | 'observability';
|
|
383
|
+
type IntegrationCategory = 'version_control' | 'tracker' | 'design' | 'comms' | 'docs' | 'observability' | 'deployment';
|
|
384
384
|
/**
|
|
385
385
|
* One user-entered field for an `api_key` integration (no browser OAuth — the
|
|
386
386
|
* user pastes credentials directly, e.g. a PAT + an org URL). The mobile form
|
package/dist/index.js
CHANGED
|
@@ -437,13 +437,12 @@ var AGENT_REGISTRY = {
|
|
|
437
437
|
displayName: "opencode",
|
|
438
438
|
binaryName: "opencode",
|
|
439
439
|
enabled: true,
|
|
440
|
-
// opencode
|
|
441
|
-
//
|
|
442
|
-
//
|
|
443
|
-
//
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
preferredAuthKind: "oauth_token",
|
|
440
|
+
// opencode is model-AGNOSTIC and AUTO-DETECTS provider API keys from env
|
|
441
|
+
// vars (ANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEY / …) — same
|
|
442
|
+
// model as aider. So the credential is the user's OWN provider key; we set
|
|
443
|
+
// the matching env var (detected by prefix) at deploy. api_key only.
|
|
444
|
+
supportedAuthKinds: ["api_key"],
|
|
445
|
+
preferredAuthKind: "api_key",
|
|
447
446
|
// Not listed by `headroom init --global` (claude/codex/copilot only) — native.
|
|
448
447
|
headroomWrappable: false,
|
|
449
448
|
// Native ACP server: `opencode acp` (stdio JSON-RPC).
|
|
@@ -1188,6 +1187,37 @@ var INTEGRATION_REGISTRY = {
|
|
|
1188
1187
|
httpHeaders: { "X-Goog-Api-Key": "{accessToken}" }
|
|
1189
1188
|
}
|
|
1190
1189
|
}
|
|
1190
|
+
},
|
|
1191
|
+
vercel: {
|
|
1192
|
+
id: "vercel",
|
|
1193
|
+
name: "Vercel",
|
|
1194
|
+
icon: "vercel",
|
|
1195
|
+
category: "deployment",
|
|
1196
|
+
// DARK — OAuth (PKCE public client). The user authorizes our registered
|
|
1197
|
+
// Vercel OAuth app; the access token calls Vercel's OFFICIAL hosted remote
|
|
1198
|
+
// MCP (mcp.vercel.com, Streamable HTTP) as a Bearer header — the SAME shim
|
|
1199
|
+
// HTTP transport as PostHog/Datadog. Vercel MCP is approved-clients + per-
|
|
1200
|
+
// connection OAuth consent, but that consent is the ONE-TIME authorize (not
|
|
1201
|
+
// per MCP request), so a backend-brokered access token works headless.
|
|
1202
|
+
// Endpoints (from mcp.vercel.com/.well-known/oauth-protected-resource →
|
|
1203
|
+
// vercel.com/.well-known/oauth-authorization-server): authorize
|
|
1204
|
+
// https://vercel.com/oauth/authorize, token
|
|
1205
|
+
// https://vercel.com/api/login/oauth/token, PKCE S256, token-endpoint auth
|
|
1206
|
+
// 'none' (public). enabled:false until Step-8 live-verify of the Bearer.
|
|
1207
|
+
enabled: false,
|
|
1208
|
+
auth: {
|
|
1209
|
+
kind: "oauth_redirect",
|
|
1210
|
+
scopes: ["openid", "offline_access"]
|
|
1211
|
+
},
|
|
1212
|
+
delivery: {
|
|
1213
|
+
mcp: {
|
|
1214
|
+
command: "",
|
|
1215
|
+
args: [],
|
|
1216
|
+
envMapping: {},
|
|
1217
|
+
httpUrl: "https://mcp.vercel.com",
|
|
1218
|
+
httpHeaders: { Authorization: "Bearer {accessToken}" }
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1191
1221
|
}
|
|
1192
1222
|
};
|
|
1193
1223
|
function getEnabledIntegrations() {
|