mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 21:31:46 +00:00
Fix: bin file in package.json
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@
|
||||
"type": "module",
|
||||
"main": "src/mcp-server.ts",
|
||||
"bin": {
|
||||
"ask262": "bun run src/mcp-server.ts"
|
||||
"ask262": "src/mcp-server.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"type-check": "tsc --noEmit",
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bun
|
||||
/**
|
||||
* Ask262 MCP Server
|
||||
* Provides MCP-compatible tools for exploring the ECMAScript specification.
|
||||
@@ -81,7 +82,7 @@ const embeddings = new OllamaEmbeddings({
|
||||
baseUrl: process.env.OLLAMA_HOST,
|
||||
});
|
||||
|
||||
async function main() {
|
||||
export async function main() {
|
||||
// Connect to LanceDB
|
||||
const db = await lancedbSdk.connect(STORAGE_DIR);
|
||||
const table = await db.openTable("spec_vectors");
|
||||
|
||||
Reference in New Issue
Block a user