@bto-labs/agy-bridge 0.6.0 → 0.6.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.
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -566,8 +566,9 @@ function createToolHandler(tool, cfg, registry, deps = defaultDeps, cooldowns =
|
|
|
566
566
|
const conversationId = args.session_id;
|
|
567
567
|
const prompt = tool.buildPrompt(args, cwd);
|
|
568
568
|
const timeoutSec = cfg.perToolTimeouts[tool.name] ?? (cfg.timeoutExplicit ? cfg.timeoutSec : tool.timeoutSec);
|
|
569
|
-
const
|
|
570
|
-
|
|
569
|
+
const explicitModel = args.model;
|
|
570
|
+
const resolution = tool.name === "follow_up" && !explicitModel ? { models: [void 0], note: void 0 } : await registry.resolveChain({
|
|
571
|
+
explicit: explicitModel,
|
|
571
572
|
chain: tool.chain,
|
|
572
573
|
defaultModel: cfg.defaultModel
|
|
573
574
|
});
|
|
@@ -640,7 +641,7 @@ function createServer() {
|
|
|
640
641
|
return stdout;
|
|
641
642
|
});
|
|
642
643
|
const cooldowns = new CooldownRegistry();
|
|
643
|
-
const server = new McpServer({ name: "agy-bridge", version: "0.6.
|
|
644
|
+
const server = new McpServer({ name: "agy-bridge", version: "0.6.1" });
|
|
644
645
|
for (const tool of TOOLS) {
|
|
645
646
|
server.registerTool(
|
|
646
647
|
tool.name,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bto-labs/agy-bridge",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "MCP bridge that lets Claude Code delegate heavy tasks to the Antigravity CLI (agy) — purpose-built tools, model routing with fallback, and multi-turn session continuity.",
|
|
5
5
|
"mcpName": "io.github.bto-labs.agy-bridge",
|
|
6
6
|
"type": "module",
|