lynkr 9.3.0 → 9.3.1

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 +31 -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"** | Install graphify: `npm install -g @safishamsi/graphify` or set `CODE_GRAPH_ENABLED=false` |
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,35 @@ 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:**
491
+ ```bash
492
+ # Option 1: npm (if available)
493
+ npm install -g @safishamsi/graphify
494
+
495
+ # Option 2: Build from source (Rust required)
496
+ git clone https://github.com/safishamsi/graphify
497
+ cd graphify
498
+ cargo build --release
499
+ sudo cp target/release/graphify /usr/local/bin/
500
+ ```
501
+
502
+ **Enable in `.env`:**
503
+ ```bash
504
+ CODE_GRAPH_ENABLED=true
505
+ CODE_GRAPH_WORKSPACE=/path/to/your/project # Optional, defaults to cwd
506
+ ```
507
+
508
+ **Features:**
509
+ - AST-based complexity scoring
510
+ - Structural code analysis (19 languages supported)
511
+ - Enhanced routing decisions based on code structure
512
+
513
+ **Note:** Graphify is completely optional. If not installed, Lynkr falls back to simpler complexity analysis.
514
+
485
515
  ---
486
516
 
487
517
  ## 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.1",
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": {