UNPKG

agentlang

Version:

The easiest way to build the most reliable AI agents - enterprise-grade teams of AI agents that collaborate with each other and humans

10 lines 609 B
import { EmptyFileSystem } from 'langium'; import { startLanguageServer } from 'langium/lsp'; import { BrowserMessageReader, BrowserMessageWriter, createConnection, } from 'vscode-languageserver/browser.js'; import { createAgentlangServices } from './agentlang-module.js'; const messageReader = new BrowserMessageReader(self); const messageWriter = new BrowserMessageWriter(self); const connection = createConnection(messageReader, messageWriter); const { shared } = createAgentlangServices(Object.assign({ connection }, EmptyFileSystem)); startLanguageServer(shared); //# sourceMappingURL=main-browser.js.map