lynkr 9.2.1 → 9.2.3
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.
- package/package.json +1 -1
- package/src/api/router.js +13 -0
- package/src/config/index.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lynkr",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.3",
|
|
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": {
|
package/src/api/router.js
CHANGED
|
@@ -28,6 +28,19 @@ function estimateTokenCount(messages = [], system = null, model = null) {
|
|
|
28
28
|
return countMessagesTokens(messages, system, model);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
// Root route - Claude Code health check
|
|
32
|
+
router.head("/", (req, res) => {
|
|
33
|
+
res.status(200).end();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
router.get("/", (req, res) => {
|
|
37
|
+
res.json({
|
|
38
|
+
service: "Lynkr",
|
|
39
|
+
version: require("../../package.json").version,
|
|
40
|
+
status: "running"
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
|
|
31
44
|
router.get("/health", (req, res) => {
|
|
32
45
|
res.json({ status: "ok" });
|
|
33
46
|
});
|
package/src/config/index.js
CHANGED
|
@@ -688,6 +688,7 @@ var config = {
|
|
|
688
688
|
policy: {
|
|
689
689
|
maxStepsPerTurn: Number.isNaN(policyMaxSteps) ? 8 : policyMaxSteps,
|
|
690
690
|
maxToolCallsPerTurn: Number.isNaN(policyMaxToolCalls) ? 12 : policyMaxToolCalls,
|
|
691
|
+
maxToolCallsPerRequest: Number.isNaN(policyMaxToolCalls) ? 12 : policyMaxToolCalls, // Orchestrator uses this name
|
|
691
692
|
toolLoopThreshold: Number.isNaN(policyToolLoopThreshold) ? 10 : policyToolLoopThreshold, // Max tool results before force-terminating
|
|
692
693
|
disallowedTools: policyDisallowedTools,
|
|
693
694
|
git: {
|