lynkr 9.3.0 → 9.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +35 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -449,8 +449,9 @@ LOAD_SHEDDING_ENABLED=true
449
449
  | **"Route not found: HEAD /"** | Ignore - harmless health check from Claude Code |
450
450
  | **"Hallucinated tool calls"** | Normal - Lynkr automatically filters invalid tools |
451
451
  | **"Safe Command DSL blocked"** | Add `POLICY_SAFE_COMMANDS_ENABLED=false` to `.env` |
452
+ | **"spawn graphify ENOENT"** | Optional feature. Set `CODE_GRAPH_ENABLED=false` in `.env` (see Advanced Features section for installation) |
452
453
  | **Slow first request (20+ sec)** | Ollama loading model into memory. Add `OLLAMA_KEEP_ALIVE=30m` in Ollama config |
453
- | **No response after N turns** | Increase limits: `POLICY_MAX_STEPS=50` and `POLICY_MAX_TOOL_CALLS=100` |
454
+ | **No response after N turns** | Remove `POLICY_MAX_STEPS` and `POLICY_MAX_TOOL_CALLS` from `.env` (unlimited by default in v9.3.0+) |
454
455
 
455
456
  ---
456
457
 
@@ -482,6 +483,39 @@ LOAD_SHEDDING_HEAP_THRESHOLD=0.85
482
483
  curl -X POST http://localhost:8081/v1/admin/reload
483
484
  ```
484
485
 
486
+ ### Code Intelligence (Optional - Graphify)
487
+
488
+ **Graphify** provides AST-based code analysis for smarter routing decisions.
489
+
490
+ **Installation (Rust required):**
491
+ ```bash
492
+ # Install Rust if not already installed
493
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
494
+ source $HOME/.cargo/env
495
+
496
+ # Build and install graphify
497
+ git clone https://github.com/safishamsi/graphify
498
+ cd graphify
499
+ cargo build --release
500
+ sudo cp target/release/graphify /usr/local/bin/
501
+
502
+ # Verify installation
503
+ graphify --version
504
+ ```
505
+
506
+ **Enable in `.env`:**
507
+ ```bash
508
+ CODE_GRAPH_ENABLED=true
509
+ CODE_GRAPH_WORKSPACE=/path/to/your/project # Optional, defaults to cwd
510
+ ```
511
+
512
+ **Features:**
513
+ - AST-based complexity scoring
514
+ - Structural code analysis (19 languages supported)
515
+ - Enhanced routing decisions based on code structure
516
+
517
+ **Note:** Graphify is completely optional. If not installed, Lynkr falls back to simpler complexity analysis.
518
+
485
519
  ---
486
520
 
487
521
  ## Installation Methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lynkr",
3
- "version": "9.3.0",
3
+ "version": "9.3.2",
4
4
  "description": "Self-hosted Claude Code & Cursor proxy with Databricks,AWS BedRock,Azure adapters, openrouter, Ollama,llamacpp,LM Studio, workspace tooling, and MCP integration.",
5
5
  "main": "index.js",
6
6
  "bin": {