Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

2.6 KB
Raw Blame
import { questionControlFor } from '../engines/questionControls.js'
import { modelControlFor } from '../engines/modelControls.js'
import { screenFor } from '../engines/screens.js'
import { submissionFor } from '../engines/submissions.js'
import { nativeControlFor } from '../engines/nativeControls.js'
import { describe, expect, it } from 'vitest'
import { engineTranscriptFor } from '../engines/transcripts.js'
import { liveFor } from '../engines/live.js'
import { runtimeFor } from '../engines/runtime.js'
import { startGateway } from '../gateway/start.js'
import { startAgentCleanup } from './agentCleanup.js'
import { startMemory } from './memory.js'
import { startConnectors } from './connectors.js'
import { startDevices } from './devices.js'
import { startHandoff } from './handoff.js'
import * as inline from './inline.js'
import { startModels } from './models.js'
import { startMessagesInCore } from './messages.js'
import { startMonitor } from './monitor.js'
import { startOrchestrator } from './orchestrator.js'
import { startOsDevice } from './osDevice.js'
import { startMachineAddons } from './machineAddons.js'
import { startProjects } from './projects.js'
import { startRecaps } from './recaps.js'
import { startRouter } from './router.js'
import { startCloud } from './cloud.js'
import { startSearch } from './search.js'
import { startShell } from './shell.js'
import { startSharedMachines } from './sharedMachines.js'
import { startSharing } from './sharing.js'
import { startStoreInCore } from './store.js'
import { startUsageInCore } from './usage.js'
import { startViewers } from './viewers.js'
import { startWifi } from './wifi.js'
import { startWindowNames } from './windowNames.js'
import { startWorkspaces } from './workspaces.js'

describe('the services the core runs in its own process only when they do not run in theirs', () => {
  // The Swarm's own start is the Swarm's entry's (superTabs/inCore.ts), loaded only while it is on: a core running every
  // service in its process with the Swarm off loads none of it.
  it('are their own starts, unchanged: the same services either way', () => {
    expect({ ...inline }).toEqual({ engineTranscriptFor, liveFor, runtimeFor, screenFor, submissionFor, nativeControlFor, modelControlFor, questionControlFor, startAgentCleanup, startCloud, startConnectors, startDevices, startHandoff, startGateway, startMemory, startModels, startMonitor, startOrchestrator, startOsDevice, startMachineAddons, startProjects, startRecaps, startRouter, startSearch, startSharedMachines, startSharing, startShell, startStoreInCore, startMessagesInCore, startUsageInCore, startViewers, startWifi, startWindowNames, startWorkspaces })
  })
})