@rk0429/agentic-relay 0.9.1 → 0.10.0
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/relay.mjs +11 -9
- package/package.json +1 -1
package/dist/relay.mjs
CHANGED
|
@@ -637,7 +637,7 @@ var init_spawn_agent = __esm({
|
|
|
637
637
|
definitionPath: z2.string().describe("Path to the agent definition file (e.g., '.claude/agents/software-engineer.md')")
|
|
638
638
|
}).optional().describe("Agent definition file to inject into the sub-agent's system prompt"),
|
|
639
639
|
preferredBackend: z2.enum(["claude", "codex", "gemini"]).optional().describe("Preferred backend override. Takes priority over automatic selection based on agent/task type."),
|
|
640
|
-
taskType: z2.enum(["code", "document", "
|
|
640
|
+
taskType: z2.enum(["code-writing", "code-review", "document-writing", "document-review", "research", "mixed"]).optional().describe("Task type hint for automatic backend selection when preferredBackend is not specified. code-writing\u2192codex, code-review\u2192claude, document-writing\u2192claude, document-review\u2192codex, research\u2192codex, mixed\u2192claude."),
|
|
641
641
|
timeoutMs: z2.number().optional().describe("Timeout in milliseconds for agent execution. Default: no timeout."),
|
|
642
642
|
taskInstructionPath: z2.string().optional().describe(
|
|
643
643
|
"Path to a file containing task instructions. Content is prepended to the prompt. Path is resolved relative to the project root and validated against path traversal."
|
|
@@ -961,10 +961,12 @@ var init_backend_selector = __esm({
|
|
|
961
961
|
"payments-billing": "codex"
|
|
962
962
|
};
|
|
963
963
|
TASK_TYPE_TO_BACKEND_MAP = {
|
|
964
|
-
code: "codex",
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
964
|
+
"code-writing": "codex",
|
|
965
|
+
"code-review": "claude",
|
|
966
|
+
"document-writing": "claude",
|
|
967
|
+
"document-review": "codex",
|
|
968
|
+
"research": "codex",
|
|
969
|
+
"mixed": "claude"
|
|
968
970
|
};
|
|
969
971
|
DEFAULT_BACKEND = "claude";
|
|
970
972
|
BackendSelector = class {
|
|
@@ -1113,7 +1115,7 @@ var init_server = __esm({
|
|
|
1113
1115
|
this.backendSelector = new BackendSelector();
|
|
1114
1116
|
this.server = new McpServer({
|
|
1115
1117
|
name: "agentic-relay",
|
|
1116
|
-
version: "0.
|
|
1118
|
+
version: "0.10.0"
|
|
1117
1119
|
});
|
|
1118
1120
|
this.registerTools(this.server);
|
|
1119
1121
|
}
|
|
@@ -1421,7 +1423,7 @@ var init_server = __esm({
|
|
|
1421
1423
|
});
|
|
1422
1424
|
const server = new McpServer({
|
|
1423
1425
|
name: "agentic-relay",
|
|
1424
|
-
version: "0.
|
|
1426
|
+
version: "0.10.0"
|
|
1425
1427
|
});
|
|
1426
1428
|
this.registerTools(server);
|
|
1427
1429
|
transport.onclose = () => {
|
|
@@ -4369,7 +4371,7 @@ function createVersionCommand(registry2) {
|
|
|
4369
4371
|
description: "Show relay and backend versions"
|
|
4370
4372
|
},
|
|
4371
4373
|
async run() {
|
|
4372
|
-
const relayVersion = "0.
|
|
4374
|
+
const relayVersion = "0.10.0";
|
|
4373
4375
|
console.log(`agentic-relay v${relayVersion}`);
|
|
4374
4376
|
console.log("");
|
|
4375
4377
|
console.log("Backends:");
|
|
@@ -4719,7 +4721,7 @@ void configManager.getConfig().then((config) => {
|
|
|
4719
4721
|
var main = defineCommand10({
|
|
4720
4722
|
meta: {
|
|
4721
4723
|
name: "relay",
|
|
4722
|
-
version: "0.
|
|
4724
|
+
version: "0.10.0",
|
|
4723
4725
|
description: "Unified CLI proxy for Claude Code, Codex CLI, and Gemini CLI"
|
|
4724
4726
|
},
|
|
4725
4727
|
subCommands: {
|
package/package.json
CHANGED