
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@jgalego/teamapi-core
Advanced tools
Team API as Code resolution, graph building, cognitive load, context mapping, and diagram generation
$ref resolution, org graph building, cognitive load scoring, DDD context-map derivation, and
Mermaid/DOT diagram generation for the Team API as Code
extended spec.
This is the shared engine behind the teamapi CLI, the REST API, the MCP server, and the chat
tool-use loop — you normally don't depend on it directly unless you're building another adapter
on top of the same org graph.
npm install @jgalego/teamapi-core @jgalego/teamapi-schema
import { buildOrgGraph, buildTopologyDiagram, toMermaid } from "@jgalego/teamapi-core";
// seedUris are resolved file paths (expand any globs yourself, e.g. with `fast-glob`)
const graph = await buildOrgGraph({ seedUris: ["./examples/acme-org/stream-checkout/teamapi.yml"] });
console.log(toMermaid(buildTopologyDiagram(graph)));
buildOrgGraph, OrgGraphStore (a live, reloadable wrapper around
buildOrgGraph), LoaderRegistry/FileLoader/HttpLoader (resolve/loaders),
formatZodError (turns a Zod validation failure into a readable message).OrgGraph, GraphEdge, RoleGraphEdge, ResolvedTeam types (model/org-graph);
listTeams, getTeam, getInteractions, getDependencies, listServices,
findServiceOwner, listRoles, listMembers, searchOrg (model/queries).scoreCognitiveLoad, orgWideCognitiveLoadReport
(cognitive-load/score).deriveContextMap, MODE_TO_PATTERN_HEURISTIC
(context-map/derive, context-map/patterns).buildTopologyDiagram, buildHierarchyDiagram, buildOrgHierarchyDiagram,
buildContextMapDiagram (one per --scope), plus toMermaid/toDot renderers and the
DiagramModel type they share.toTeamSummaryDto, toTeamDetailDto, listTeamSummaries,
toOrgGraphDto (serialize/team-dto) — the single source of truth both the REST API and the
MCP server use to turn a ResolvedTeam/OrgGraph into a wire-format object, so their
responses are identical by construction.buildCrewAiCrewConfig/buildCrewAiOrgConfig plus the
toCrewAiCrewYaml/toCrewAiOrgYaml serializers (generators/crewai) — turn a team's (or the
whole org's) roles into CrewAI agents.yaml/tasks.yaml. buildBackstageCatalog/
buildBackstageOrgCatalog plus toBackstageYaml (generators/backstage) — turn a team's (or
the whole org's) services[]/members[] into a Backstage catalog-info.yaml
(Group/User/System/Component entities).diffOrgGraphs, isEmptyDiff, formatOrgGraphDiff (diff/diff-graph) — diff two
resolved OrgGraphs (teams added/removed, per-team role/member/service/cognitive-load changes,
edge changes) and render the result as a human-readable report. Git-agnostic — teamapi diff
is what supplies "the org as of a git revision" as one side of the comparison.Full docs: https://github.com/JGalego/TeamAPI
MIT
FAQs
Team API as Code resolution, graph building, cognitive load, context mapping, and diagram generation
The npm package @jgalego/teamapi-core receives a total of 45 weekly downloads. As such, @jgalego/teamapi-core popularity was classified as not popular.
We found that @jgalego/teamapi-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.