Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
Merge remote-tracking branch 'origin/feat/github-sync-foundation' into feat/github-pr-ci-cards
review144ef89c7f45
diff --cc src/core/github/service.tsindex e0dbfdb13,ab1ecd841..665f396f4--- a/src/core/github/service.ts+++ b/src/core/github/service.ts@@@ -925,10 -808,14 +925,17 @@@ export class GitHubIssueService.catch((error: unknown) =>error instanceof ConfigurationChangedError ? null : Promise.reject(error))if (!beat) return+ // The heartbeat is also what decides whether pull request CI/mergeability is worth a GraphQL+ // read. It runs beside the issue scan, not after it: the board's issues never wait on it.+ this.readPullStatusAfterHeartbeat(captured, !beat.notModified, !background)- if (beat.notModified && !full && previous && !state.incomplete) return+ if (beat.notModified && !full && previous && !state.incomplete) {+ // Nothing to fetch — but subscribers still re-read their pages, from the local cache, as every+ // successful refresh has always made them do. A page is not only issues: read only, the+ // mapping approval and the completion column are derived by the host at query time, and a+ // board never prompted keeps showing the old answer (e.g. read only after its approval).+ this.emitDelta(state, [], true)+ return+ }const heartbeatEtag = beat.etagconst etags: Record<string, string> = heartbeatEtag ? { [HEARTBEAT_ETAG_KEY]: heartbeatEtag } : {}let page = 1diff --cc src/renderer/components/kanban/KanbanView.tsxindex 5e462491b,1f0781f51..1d6aa6844--- a/src/renderer/components/kanban/KanbanView.tsx+++ b/src/renderer/components/kanban/KanbanView.tsx@@@ -34,10 -34,7 +34,10 @@@ importgithubMoveIntent,type GitHubMoveConfirmation} from '../../lib/githubIssueMove'- import { githubThrottleSentence } from '../../lib/githubSyncStatus'+ import { GITHUB_MAPPING_NOT_APPROVED, githubThrottleSentence } from '../../lib/githubSyncStatus'+import { pullStatusFreshness, type GitHubPullStatus } from '@shared/github-pull-status'+import { pullsClosingIssue, pullsForCard, pullStatusByNumber } from '../../lib/pullLinks'+import { usePullAutoMove, usePullChase } from './usePullAutoMove'/** One session node shown as a board card — derived LIVE from the canvas nodes; the board* itself stores only column assignments. */diff --cc src/renderer/components/settings/sections/GitHubIssuesSection.tsxindex 1a27d0448,4cc2f5628..13f93bf4d--- a/src/renderer/components/settings/sections/GitHubIssuesSection.tsx+++ b/src/renderer/components/settings/sections/GitHubIssuesSection.tsx@@@ -6,9 -6,8 +6,10 @@@ import typeProjectKanbanGitHub} from '@shared/github-issues'import { useProjects } from '../../../state/projects'+import { useSettings } from '../../../state/settings'+import { prunePullAutoMove, sanitizeKanbanPullAutoMove } from '@shared/kanban-pull-links'import { markWorkspaceDirty } from '../../../state/workspaceDirty'+ import { SAVE_DEBOUNCE_MS } from '../../../lib/savePersistence'import { SettingsSection } from '../SettingsSection'import { SearchableRow } from '../SearchableRow'import { useSettingsSearch } from '../context'diff --cc src/renderer/state/githubIssues.tsindex 463d45642,faab216c8..fb73a6f5d--- a/src/renderer/state/githubIssues.ts+++ b/src/renderer/state/githubIssues.ts@@@ -6,7 -6,7 +6,8 @@@ import typeGitHubIssuesApi,GitHubMutationResult} from '@shared/github-issues'+import type { GitHubPullBoard } from '@shared/github-pull-status'+ import { GITHUB_MAPPING_NOT_APPROVED } from '../lib/githubSyncStatus'export interface GitHubProjectPages {pages: Record<string, GitHubIssuePage>@@@ -48,16 -45,11 +49,21 @@@ interface GitHubIssuesStateconst keyFor = (columnId: string | null): string => columnId ?? 'ungrouped'+/** A host that cannot answer (older build over a relay, a transient failure) leaves the board+ * without pull status; the issue and PR cards still render exactly as before. */+async function loadPullBoard(api: GitHubIssuesApi, projectId: string): Promise<GitHubPullBoard | undefined> {+ try {+ return await api.pullStatus(projectId)+ } catch {+ return undefined+ }+}++ /** The pages say the board is read only because the column mapping is not approved here. */+ function mappingNotApproved(project: GitHubProjectPages | undefined): boolean {+ return Object.values(project?.pages ?? {}).some((page) => page.mappingNotApproved)+ }+/** Pages every column for one kind. Both kinds are served from the one cached snapshot in core,* so the second pass is a read of data already fetched, not a second refresh. */async function pageColumns(