Commit Graph
130 Commits
Author SHA1 Message Date
bendtherules 2849fbb5cd chore: bump version to 0.0.7 2026-04-14 19:24:23 +05:30
bendtherules f8180dda42 feat(mcp-server): add Zod schema for prompt arguments, rename ask262 prompt to ask, and enhance orchestration guidance text. 2026-04-14 19:24:20 +05:30
bendtherules bd85bb214f chore: bump version to 0.0.6 2026-04-14 19:08:44 +05:30
bendtherules 4a6347807c feat: Add prompt to mcp server 2026-04-14 19:08:24 +05:30
bendtherules 6f61102163 chore: bump version to 0.0.5 2026-04-14 18:24:37 +05:30
bendtherules a7b2d617a3 refactor(mcp-server): resolve STORAGE_DIR to absolute path using __dirname
- Import path and fileURLToPath for path resolution.
- Rename imported STORAGE_DIR to STORAGE_DIR_REL.
- Compute STORAGE_DIR as an absolute path relative to the script’s directory.
2026-04-14 18:24:33 +05:30
bendtherules d608a62fa4 chore: bump version to 0.0.4 2026-04-14 18:21:54 +05:30
bendtherules 5946daa29e Fix: bin file in package.json 2026-04-14 18:21:14 +05:30
bendtherules 8e81078661 docs: update OpenCode configuration example in README
---

## Explanation
The diff only modifies `Readme.md`, changing the OpenCode configuration snippet. The update replaces the old local config path with a global one, adds a `$schema` reference, restructures the `command` field, and introduces `type` and `enabled` properties. Therefore, a **docs**‑type conventional commit is appropriate, describing the documentation change.
2026-04-14 18:10:58 +05:30
bendtherules 726988e65e chore: bump version to 0.0.3 2026-04-14 18:05:13 +05:30
bendtherules 36bbe89cb4 chore: bump version to 0.0.2 2026-04-14 18:04:44 +05:30
bendtherules 3d596983b8 feat: release script with automatic version bump commit 2026-04-14 18:04:28 +05:30
bendtherules 56841bb34d feat: Add npm release script 2026-04-14 18:02:06 +05:30
bendtherules 0eff954a4f docs: replace Setup section with Development guide
Removed the outdated Setup documentation and introduced a new Development section that includes cloning instructions, spec setup steps, and guidance on building the knowledge graph for custom ECMAScript specifications. This reorganization clarifies the workflow for developers and users building the project from source.
2026-04-14 17:50:10 +05:30
bendtherules 96d8f9047b feat(server): allow Ollama custom via OLLAMA_HOST env var
Update README to specify pulling the `qwen3-embedding:0.6b` model and document the optional `OLLAMA_HOST` environment variable. Adjust server code to import `EMBEDDING_MODEL`, use it for Ollama embeddings, and pass `process.env.OLLAMA_HOST` as the base URL.
2026-04-14 17:48:13 +05:30
bendtherules 011d850e65 fix(.opencode/tools): fix tool call in .opencode/tools 2026-04-14 17:42:17 +05:30
bendtherules 02af2003e2 chore(package): keep only engine262.mjs file from engine262/lib build
- drop graphology directory.
2026-04-14 17:36:45 +05:30
bendtherules a1283e169e docs(readme): update MCP configuration instructions to use bunx instead of bun and remove outdated install sections. 2026-04-14 17:30:43 +05:30
bendtherules d248fe1b09 docs: remove config.json references and update setup instructions 2026-04-14 17:25:05 +05:30
bendtherules c239e28119 chore: remove obsolete config.json references
Deleted the `config.json` entry from the package file list and removed the corresponding `CONFIG_FILE` constant, cleaning up unused configuration references.
2026-04-14 17:17:26 +05:30
bendtherules b87cb31e03 docs(readme): replace placeholder repository URL with actual GitHub URL in README. 2026-04-14 17:09:53 +05:30
bendtherules 88e81238de biome - Ignore html type errors 2026-04-14 17:04:55 +05:30
bendtherules 08500bb7c8 chore: fix biome issues 2026-04-14 17:00:51 +05:30
bendtherules 2e0093025f chore: Remove agent.ts 2026-04-14 16:57:27 +05:30
bendtherules e9417984a9 graph - Ignore type errors 2026-04-14 16:57:17 +05:30
bendtherules 164747c255 chore(types) - Fix type checks 2026-04-14 16:47:20 +05:30
bendtherules 5413f86d2b chore: downgrade version to 0.0.1 and add prepublish / publish npm scripts 2026-04-14 14:41:24 +05:30
bendtherules 78745f7195 Prepare npm release 2026-04-14 14:34:25 +05:30
bendtherules 132cf3e13a feat(agent-tools): run child process with Bun instead of Node 2026-04-14 14:34:17 +05:30
bendtherules cd386bd09f fix(test/manual): correct sectionId typo for array.map section
Updated the `sectionId` value from `sec-array-prototype-map` to `sec-array.prototype.map` to match the proper identifier format.
2026-04-14 14:16:26 +05:30
bendtherules 57d2493b9f feat(evaluate) - Run evaluateInEngine262 in child_process with strict timeout 2026-04-14 14:16:10 +05:30
bendtherules 61823dcb23 feat: add reset method to Ask262Debug and use it in evaluateInEngine262 tool to clear captured marks and internal state. 2026-04-14 13:24:38 +05:30
bendtherules 60582fc6ae feat(mcp-server): enable idempotentHint by default
Changed the `idempotentHint` annotation from `false` to `true` in the MCP server configuration. This enables idempotent behavior hints for relevant operations.
2026-04-14 13:04:30 +05:30
bendtherules 07a4d4957d feat(agent-tools/mcp-server): unify evaluate output schema and improve error handling
- Replace union output schema with a single combined schema containing optional fields for success and error cases, addressing MCP SDK limitation with union types.
- Add `importantSections`, `otherSections`, and `consoleOutput` as optional fields in the new schema.
- Update exported `outputSchema` and `EvaluateToolOutput` type to use the combined schema.
- Refactor execution logic to handle engine262's `ThrowCompletion_` instead of relying on thrown exceptions, extracting a readable error message.
- Adjust MCP server error detection to check `result.error !== undefined` rather than using the `in` operator.
- Update related comments and documentation to reflect the new schema design and error handling approach.
2026-04-14 11:12:17 +05:30
bendtherules 887ad3e5a4 feat(mcp-server): Add MCP server with tool registrations
Add MCP server implementation with support for:
- ask262_search_spec_sections tool
- ask262_get_section_content tool
- ask262_evaluate_in_engine262 tool
Includes proper error handling, input/output schemas, and structured
content responses.
2026-04-14 11:12:03 +05:30
bendtherules 1c9d08f7fa style: reorder tool import after other imports for consistency 2026-04-14 09:33:14 +05:30
bendtherules e34441c341 Fix tsconfig 2026-04-13 18:46:55 +05:30
bendtherules 76fb177b3a feat(evaluateInEngine262): Add mock global console, capture results and return
- Updated tool metadata to describe pure ECMAScript restrictions and new JSON output (importantSections, otherSections, consoleOutput).
- Added `ConsoleEntry` type and logic to capture console method calls during evaluation.
- Exposed a global `console` with `log`, `warn`, `debug`, and `error` methods to the evaluated code.
- Adjusted argument description and example usage accordingly.
2026-04-11 18:06:48 +05:30
bendtherules 741bfee670 Tools - Move all description to a named export toolMetadata 2026-04-09 10:05:09 +05:30
bendtherules bc28df017f docs: clarify ask262Debug usage in engine262 evaluation tool descriptions and add usage example. 2026-04-09 09:59:15 +05:30
bendtherules f30ddce003 chore(package): add missing newline at end of .opencode/package.json 2026-04-09 09:54:56 +05:30
bendtherules b18cab1f5f fix(agent): replace ask262_graph_explorer with ask262_search_spec_sections for function lookup
Also added missing newline at the end of `.opencode/package.json`.
2026-04-09 09:54:49 +05:30
bendtherules 3c4893c320 searchSpecSections.ts and consumer - mention vector search 2026-04-09 09:54:28 +05:30
bendtherules 26509680ea feat(tool): add recursive flag to section content retrieval
- Introduce `recursive` boolean argument (default true) to the getSectionContent tool schema.
- Update descriptions to clarify that recursive fetching occurs only when `recursive=true`.
- Pass the `recursive` parameter from the CLI wrapper to the core tool function.
- Modify the content fetching logic to traverse child sections only when `recursive` is enabled.
2026-04-09 09:51:43 +05:30
bendtherules 1b338ffed7 build: Add opencode tools for testing 2026-04-08 19:04:29 +05:30
bendtherules 606896a676 chore: remove debug console.log statements from agent tool implementations (evaluateInEngine262, graphExplorer, searchSpecSections) 2026-04-08 19:03:53 +05:30
bendtherules c109acba01 refactor: rename tools 2026-04-08 18:40:45 +05:30
bendtherules 30debd2cf9 build: EvaluateInEngine262 tool 2026-04-08 18:38:58 +05:30
bendtherules 06be8cfd53 refactor: rename files 2026-04-08 16:31:53 +05:30
bendtherules e0546affec docs: update AGENTS.md
replace LlamaIndex with LanceDB, update prerequisites, CLI commands, and expand project structure in AGENTS.md
2026-04-08 16:20:59 +05:30