@codeam/shared 2.61.30 → 2.61.31
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 +22 -7
- package/dist/index.d.ts +22 -7
- package/dist/index.js +28 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -590,6 +590,30 @@ var INTEGRATION_REGISTRY = {
|
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
592
|
},
|
|
593
|
+
github: {
|
|
594
|
+
id: "github",
|
|
595
|
+
name: "GitHub",
|
|
596
|
+
icon: "github",
|
|
597
|
+
category: "version_control",
|
|
598
|
+
// LIVE. GitHub is the product's code substrate (codespaces + the PR
|
|
599
|
+
// Command Center), and it was historically the ONE connection outside this
|
|
600
|
+
// registry: its credential lives in a `ProviderToken` row rather than the
|
|
601
|
+
// integrations vault, so it was rendered by a hand-written special-case row
|
|
602
|
+
// and could not legally appear in a deploy's `integrationIds` (the manifest
|
|
603
|
+
// resolver rejects unknown ids — a recurring bug class).
|
|
604
|
+
//
|
|
605
|
+
// `kind: 'connection'` closes that gap without re-plumbing OAuth: the entry
|
|
606
|
+
// makes GitHub a first-class, categorised catalog row whose credential the
|
|
607
|
+
// backend resolves from the SAME `ProviderToken` it always used, while the
|
|
608
|
+
// connect/disconnect flow stays owned by the codespaces rail (the clients
|
|
609
|
+
// route those two actions there). ⚠️ It is a REAL connection with a REAL
|
|
610
|
+
// disconnect — do NOT treat it like `github_issues`, which merely derives
|
|
611
|
+
// from it and has no actions of its own.
|
|
612
|
+
enabled: true,
|
|
613
|
+
auth: { kind: "connection", connection: "github" },
|
|
614
|
+
// No MCP: a deployed box already has an authenticated `gh` on PATH.
|
|
615
|
+
delivery: {}
|
|
616
|
+
},
|
|
593
617
|
github_issues: {
|
|
594
618
|
id: "github_issues",
|
|
595
619
|
name: "GitHub Issues",
|
|
@@ -850,10 +874,10 @@ function getIntegrationsByCategory(category) {
|
|
|
850
874
|
|
|
851
875
|
// src/integrations/branding.ts
|
|
852
876
|
var INTEGRATION_BRANDING = {
|
|
853
|
-
// GitHub — a
|
|
854
|
-
//
|
|
855
|
-
//
|
|
856
|
-
//
|
|
877
|
+
// GitHub — now a REAL `IntegrationId` (`version_control`, `kind: 'connection'`).
|
|
878
|
+
// It started life here as a brand-only entry, back when GitHub was rendered by
|
|
879
|
+
// a hand-written special-case row; the mark is unchanged, it's just also the
|
|
880
|
+
// catalog row's logo now. Still used by the PR/MR Command Center surfaces.
|
|
857
881
|
github: {
|
|
858
882
|
id: "github",
|
|
859
883
|
name: "GitHub",
|