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
import { describe, expect, it } from 'vitest'
import {
ANDROID_APP_PUBLISHED,
ANDROID_PLAY_STORE_URL,
IOS_APP_STORE_URL,
mobileStoreLinks,
mobileStoreNames
} from './links'
describe('mobile store links', () => {
it('ships with the Android listing switched ON (Play listing is public)', () => {
expect(ANDROID_APP_PUBLISHED).toBe(true)
})
it('by default offers both stores, App Store first', () => {
expect(mobileStoreLinks().map((l) => l.url)).toEqual([IOS_APP_STORE_URL, ANDROID_PLAY_STORE_URL])
expect(mobileStoreNames()).toBe('the App Store or Google Play')
})
it('offers only the App Store — no dead Play link — while Android is unpublished', () => {
const links = mobileStoreLinks(false)
expect(links.map((l) => l.url)).toEqual([IOS_APP_STORE_URL])
expect(JSON.stringify(links)).not.toContain('play.google.com')
expect(mobileStoreNames(false)).toBe('the App Store')
})
it('adds Google Play, after the App Store, once published', () => {
const links = mobileStoreLinks(true)
expect(links).toEqual([
{ id: 'app-store', label: 'Get it on the App Store', prose: 'the App Store', url: IOS_APP_STORE_URL },
{ id: 'google-play', label: 'Get it on Google Play', prose: 'Google Play', url: ANDROID_PLAY_STORE_URL }
])
expect(mobileStoreNames(true)).toBe('the App Store or Google Play')
})
it('points at the Android package id the app ships under', () => {
expect(ANDROID_PLAY_STORE_URL).toBe(
'https://play.google.com/store/apps/details?id=com.nodeterm.android'
)
})
})