diff --git a/AGENTS.md b/AGENTS.md index 520aab2..057cfbc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -22,7 +22,7 @@ Users ask questions like: *"How does the if statement work?"* or *"Which functio ``` ask262/ ├── agent.ts # Main ReAct agent - answers user queries -├── agentTools/ # Agent tool implementations +├── agent-tools/ # Agent tool implementations ├── constants.ts # Directory paths and file locations ├── config.json # API keys and endpoints (user-created) ├── setup/ diff --git a/agentTools/graphExplorer.ts b/agent-tools/graphExplorer.ts similarity index 100% rename from agentTools/graphExplorer.ts rename to agent-tools/graphExplorer.ts diff --git a/agentTools/index.ts b/agent-tools/index.ts similarity index 100% rename from agentTools/index.ts rename to agent-tools/index.ts diff --git a/agentTools/reranker.ts b/agent-tools/reranker.ts similarity index 100% rename from agentTools/reranker.ts rename to agent-tools/reranker.ts diff --git a/agentTools/sectionRetriever.ts b/agent-tools/sectionRetriever.ts similarity index 100% rename from agentTools/sectionRetriever.ts rename to agent-tools/sectionRetriever.ts diff --git a/agentTools/specRetriever.ts b/agent-tools/specRetriever.ts similarity index 100% rename from agentTools/specRetriever.ts rename to agent-tools/specRetriever.ts diff --git a/agent.ts b/agent.ts index 5dd2ab9..e9430d7 100644 --- a/agent.ts +++ b/agent.ts @@ -10,7 +10,7 @@ import { createGraphExplorerTool, createSectionRetrieverTool, createSpecRetrieverTool, -} from "./agentTools"; +} from "./agent-tools"; import { EMBEDDING_MODEL, GRAPH_FILE, STORAGE_DIR } from "./constants"; const embeddings = new OllamaEmbeddings({ diff --git a/setup/ingest.ts b/setup/ingest.ts index b6e7eb5..da11d64 100644 --- a/setup/ingest.ts +++ b/setup/ingest.ts @@ -9,7 +9,7 @@ import * as cheerio from "cheerio"; import { glob } from "glob"; import ora from "ora"; import { EMBEDDING_MODEL, SPEC_DIR, STORAGE_DIR } from "../constants"; -import { HTMLTextSplitter } from "./textsplitters"; +import { HTMLTextSplitter } from "./text-splitters"; import { formatForIngestion } from "./utils/formatHTMLForIngestion"; const embeddings = new OllamaEmbeddings({ diff --git a/setup/textsplitters/HtmlTextSplitter.test.ts b/setup/text-splitters/HtmlTextSplitter.test.ts similarity index 100% rename from setup/textsplitters/HtmlTextSplitter.test.ts rename to setup/text-splitters/HtmlTextSplitter.test.ts diff --git a/setup/textsplitters/HtmlTextSplitter.ts b/setup/text-splitters/HtmlTextSplitter.ts similarity index 100% rename from setup/textsplitters/HtmlTextSplitter.ts rename to setup/text-splitters/HtmlTextSplitter.ts diff --git a/setup/textsplitters/index.ts b/setup/text-splitters/index.ts similarity index 100% rename from setup/textsplitters/index.ts rename to setup/text-splitters/index.ts diff --git a/test/manual/test-spec-retriever.ts b/test/manual/test-spec-retriever.ts index 5ceeaf9..0a54ea1 100644 --- a/test/manual/test-spec-retriever.ts +++ b/test/manual/test-spec-retriever.ts @@ -5,7 +5,7 @@ import * as lancedbSdk from "@lancedb/lancedb"; import { OllamaEmbeddings } from "@langchain/ollama"; -import { createSpecRetrieverTool } from "../../agentTools"; +import { createSpecRetrieverTool } from "../../agent-tools"; import { EMBEDDING_MODEL, STORAGE_DIR } from "../../constants"; async function main() {