Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Environment:777genius Agent teams ai GitHub Releases

From Leeroopedia
Knowledge Sources
Domains Infrastructure, CI_CD
Last Updated 2026-10-22 00:00 GMT

Overview

GitHub Releases infrastructure for publishing platform-specific distribution artifacts and staging runtime binaries for the agent-teams app.

Description

GitHub Releases is used to distribute packaged Electron builds (macOS, Windows, Linux) and to stage runtime binaries (CLI runtimes, Terminal Platform SDK). The release process creates a GitHub release with platform artifacts, publishes auto-update manifests, and promotes draft releases. Runtime binaries are staged from release assets with checksum verification. The release promotion guide (`docs/release-promotion.md`) documents the full workflow including version bumping, changelog generation, and platform artifact upload.

Usage

Use this environment for runtime binary staging and GitHub release publication implementations.

System Requirements

Category Requirement Notes
Platform GitHub.com Repository: 777genius/agent-teams-ai
Auth GitHub token For API access to create releases and upload assets
CI GitHub Actions Release builds run in CI

Dependencies

System Packages

  • `gh` (GitHub CLI) — for release creation and asset upload

Node.js Packages

  • `electron-builder` (produces platform artifacts)
  • `@sentry/vite-plugin` (source map upload during release build)

Credentials

  • `GITHUB_TOKEN` — GitHub API token for release creation and asset upload
  • `SENTRY_AUTH_TOKEN` — Sentry source map upload (release builds)

Quick Install

# Install GitHub CLI
brew install gh  # macOS
# or: sudo apt install gh  # Linux

# Authenticate
gh auth login

# Stage runtime binaries from GitHub Releases
pnpm stage-runtime

# Full distribution build with runtime staging
pnpm dist

Code Evidence

Runtime staging script from `package.json:48`:

"stage-runtime": "node ./scripts/stage-runtime.mjs"

Full distribution build from `package.json:61`:

"dist": "pnpm build && node ./scripts/stage-runtime.mjs && node ./scripts/stage-terminal-platform-runtime.mjs && node ./scripts/stage-opencode-console-wrapper.mjs && node ./scripts/electron-builder/dist.mjs"

Platform-specific distribution from `package.json:63`:

"dist:mac:arm64": "pnpm build && node ./scripts/stage-runtime.mjs --platform darwin-arm64 && ..."

Common Errors

Error Message Cause Solution
Runtime binary checksum mismatch Corrupted download Re-run `stage-runtime`; verify sha512
Release creation fails Insufficient GitHub token permissions Token needs `repo` scope
Draft promotion fails Release already published Use `promoteExistingDraft` for recovery

Compatibility Notes

  • Platform artifacts: Separate releases per platform (darwin-arm64, darwin-x64, win32-x64, win32-arm64, linux-x64).
  • Runtime lock files: `runtime.lock.json` and `terminal-platform.lock.json` pin specific runtime versions.
  • Auto-update: electron-updater checks GitHub Releases for update manifests.

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment