The 8-iteration-per-turn cap was hardcoded from before this session's feature work and too tight for genuine multi-file tasks, causing "Max tool-call iterations reached" on legitimately multi-step work. Raised the default to 25 and made it configurable via `locode config set maxIterations <n>` / $LOCODE_MAX_ITERATIONS, mirroring the existing contextWindow config pattern. Also bumps the version to 0.2.0 (package.json, --version, and the MCP client's self-reported identity) to reflect the substantial feature additions since 0.1.0. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"name": "locode",
|
|
"version": "0.2.0",
|
|
"description": "Agentic coding CLI for local models served via Ollama and LM Studio",
|
|
"type": "module",
|
|
"bin": {
|
|
"locode": "dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsx src/cli.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"@vscode/ripgrep": "^1.18.0",
|
|
"commander": "^13.0.0",
|
|
"diff": "^9.0.0",
|
|
"env-paths": "^4.0.0",
|
|
"execa": "^9.6.1",
|
|
"fast-glob": "^3.3.3",
|
|
"ink": "^7.1.0",
|
|
"ink-select-input": "^6.2.0",
|
|
"ink-spinner": "^5.0.0",
|
|
"ink-text-input": "^6.0.0",
|
|
"marked": "^15.0.12",
|
|
"marked-terminal": "^7.3.0",
|
|
"openai": "^6.45.0",
|
|
"react": "^19.2.7",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/marked-terminal": "^6.1.1",
|
|
"@types/node": "^22.10.0",
|
|
"@types/react": "^19.2.17",
|
|
"tsup": "^8.3.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.0.0"
|
|
}
|
|
}
|