@rk0429/agentic-relay 1.4.0 → 1.4.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/dist/relay.mjs +9 -5
  2. package/package.json +1 -1
package/dist/relay.mjs CHANGED
@@ -2378,7 +2378,7 @@ var init_server = __esm({
2378
2378
  this.agentEventStore
2379
2379
  );
2380
2380
  this.server = new McpServer(
2381
- { name: "agentic-relay", version: "1.4.0" },
2381
+ { name: "agentic-relay", version: "1.4.1" },
2382
2382
  createMcpServerOptions()
2383
2383
  );
2384
2384
  this.registerTools(this.server);
@@ -2849,7 +2849,7 @@ var init_server = __esm({
2849
2849
  sessionIdGenerator: () => randomUUID()
2850
2850
  });
2851
2851
  const server = new McpServer(
2852
- { name: "agentic-relay", version: "1.4.0" },
2852
+ { name: "agentic-relay", version: "1.4.1" },
2853
2853
  createMcpServerOptions()
2854
2854
  );
2855
2855
  this.registerTools(server);
@@ -3058,7 +3058,7 @@ var init_conversation_engine = __esm({
3058
3058
  return { ...this.totalTokens };
3059
3059
  }
3060
3060
  /** バックエンドを切り替え、新セッションを初期化 */
3061
- async switchBackend(newBackendId, contextSummary, resumeSessionId) {
3061
+ async switchBackend(newBackendId, contextSummary, _resumeSessionId) {
3062
3062
  if (this.sessionId) {
3063
3063
  await this.sessionManager.update(this.sessionId, {
3064
3064
  status: "completed"
@@ -7485,7 +7485,7 @@ function createVersionCommand(registry2) {
7485
7485
  description: "Show relay and backend versions"
7486
7486
  },
7487
7487
  async run() {
7488
- const relayVersion = "1.4.0";
7488
+ const relayVersion = "1.4.1";
7489
7489
  console.log(`agentic-relay v${relayVersion}`);
7490
7490
  console.log("");
7491
7491
  console.log("Backends:");
@@ -7878,10 +7878,11 @@ void configManager.getConfig().then((config) => {
7878
7878
  }
7879
7879
  }).catch((e) => logger.debug("Config load failed:", e));
7880
7880
  var interactiveCmd = createInteractiveCommand(registry, sessionManager, hooksEngine, contextMonitor, configManager);
7881
+ var subCommandNames = /* @__PURE__ */ new Set(["claude", "codex", "gemini", "update", "config", "mcp", "auth", "sessions", "version", "doctor", "init"]);
7881
7882
  var main = defineCommand11({
7882
7883
  meta: {
7883
7884
  name: "relay",
7884
- version: "1.4.0",
7885
+ version: "1.4.1",
7885
7886
  description: "Unified CLI proxy for Claude Code, Codex CLI, and Gemini CLI"
7886
7887
  },
7887
7888
  args: {
@@ -7897,11 +7898,14 @@ var main = defineCommand11({
7897
7898
  }
7898
7899
  },
7899
7900
  async run({ args }) {
7901
+ const hasSubCommand = process.argv.slice(2).some((arg) => subCommandNames.has(arg));
7902
+ if (hasSubCommand) return;
7900
7903
  const interactiveArgs = {
7901
7904
  backend: args.backend ?? "",
7902
7905
  model: args.model ?? ""
7903
7906
  };
7904
7907
  await interactiveCmd.run({
7908
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
7905
7909
  args: interactiveArgs,
7906
7910
  rawArgs: [],
7907
7911
  cmd: interactiveCmd
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rk0429/agentic-relay",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Unified CLI proxy for Claude Code, Codex CLI, and Gemini CLI with MCP-based multi-layer sub-agent orchestration",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",