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

11 lines 610 B
import { startLanguageServer } from 'langium/lsp'; import { NodeFileSystem } from 'langium/node'; import { createConnection, ProposedFeatures } from 'vscode-languageserver/node.js'; import { createAgentlangServices } from './agentlang-module.js'; // Create a connection to the client const connection = createConnection(ProposedFeatures.all); // Inject the shared services and language-specific services const { shared } = createAgentlangServices(Object.assign({ connection }, NodeFileSystem)); // Start the language server with the shared services startLanguageServer(shared); //# sourceMappingURL=main.js.map