MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / isAgentRuntime

Function isAgentRuntime

src/workspaces/cli-adapter.ts:245–247  ·  view source on GitHub ↗
(adapter: CliAdapter)

Source from the content-addressed store, hash-verified

243}
244
245export function isAgentRuntime(adapter: CliAdapter): boolean {
246 return adapter.kind !== 'utility' && adapter.id !== 'shell';
247}
248
249export class AdapterRegistry {
250 private readonly adapters = new Map<string, CliAdapter>();

Callers 6

resolveAdapterFunction · 0.85
firstWorkspaceRuntimeFunction · 0.85
validRuntimeForWorkspaceFunction · 0.85
createIssuesRoutesFunction · 0.85
resolveDefaultAgentIdFunction · 0.85
createWorkspaceRoutesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected