agent-orchestrator-mcp-server 0.8.5 → 0.8.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-orchestrator-mcp-server",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "Local implementation of agent-orchestrator MCP server",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
@@ -52,7 +52,7 @@ export declare function startSessionTool(_server: Server, clientFactory: () => I
52
52
  properties: {
53
53
  agent_runtime: {
54
54
  type: string;
55
- description: "Per-spawn agent runtime override. When omitted, the session adopts the agent_root's default_runtime, falling back to \"claude_code\". Currently only \"claude_code\" is registered.";
55
+ description: string;
56
56
  };
57
57
  prompt: {
58
58
  type: string;
@@ -102,7 +102,7 @@ export declare function startSessionTool(_server: Server, clientFactory: () => I
102
102
  };
103
103
  config: {
104
104
  type: string;
105
- description: "Additional configuration as a JSON object.";
105
+ description: string;
106
106
  };
107
107
  custom_metadata: {
108
108
  type: string;
@@ -2,7 +2,10 @@ import { z } from 'zod';
2
2
  import { parseAllowedAgentRoots, validateAgentRootConstraints } from '../allowed-agent-roots.js';
3
3
  import { getConfigsCache, setConfigsCache } from '../cache/configs-cache.js';
4
4
  const PARAM_DESCRIPTIONS = {
5
- agent_runtime: 'Per-spawn agent runtime override. When omitted, the session adopts the agent_root\'s default_runtime, falling back to "claude_code". Currently only "claude_code" is registered.',
5
+ agent_runtime: 'Per-spawn agent runtime override. Valid values are "claude_code" (Claude Code) and "codex" (OpenAI Codex CLI). ' +
6
+ 'When omitted, the session adopts the agent_root\'s default_runtime, falling back to "claude_code". ' +
7
+ "Call get_configs to see each agent root's default_runtime. Pair with `config.model` to pick a model valid for the chosen runtime " +
8
+ '(e.g. "opus"/"sonnet"/"haiku" for claude_code, "gpt-5.5"/"gpt-5.4" for codex).',
6
9
  prompt: 'Initial prompt for the agent. If provided, the agent job is automatically queued. Omit for a clone-only session.',
7
10
  agent_root: 'Agent root name from get_configs. The API resolves git_root, branch, subdirectory, default_model, and other defaults from the agent root configuration. Always pass this so the session inherits the correct repository, model, and settings.',
8
11
  title: 'STRONGLY RECOMMENDED: Always set a title — treat it as effectively required. ' +
@@ -16,7 +19,11 @@ const PARAM_DESCRIPTIONS = {
16
19
  mcp_servers: 'List of MCP server names to enable for this session. Example: ["github-development", "slack"]',
17
20
  skills: 'List of skill names to enable for this session. Always include the agent root\'s default_skills from get_configs as the starting point — omitting skills means the session gets none. Add extras as needed; removing a default should be rare and intentional. Example: ["discovery-classify", "publish-and-pr"]',
18
21
  plugins: 'List of plugin names to enable for this session. Plugins extend agent capabilities with additional integrations. Example: ["my-plugin"]',
19
- config: 'Additional configuration as a JSON object.',
22
+ config: 'Additional configuration as a JSON object. Use `config.model` to choose the agent model for this session ' +
23
+ '(e.g. {"model": "gpt-5.4"} for a codex runtime, or {"model": "sonnet"} for claude_code). ' +
24
+ "The model must be valid for the resolved agent_runtime; call get_configs to see each agent root's default_model. " +
25
+ "When omitted, the session uses the agent root's default_model (or the runtime's default model). " +
26
+ "An explicit config.model always takes precedence over the agent root's default_model.",
20
27
  custom_metadata: 'User-defined metadata as a JSON object. Useful for tracking tickets, projects, etc.',
21
28
  auto_compact_window: 'Optional per-session auto-compact (context) window override, in tokens. ' +
22
29
  '**You should generally rely on the default of 200,000** — omit this parameter and the API default applies. ' +
@@ -59,6 +66,8 @@ const TOOL_DESCRIPTION = `Start a new agent session in the Agent Orchestrator.
59
66
  - **MCP servers:** Start with \`default_mcp_servers\`. Drop servers the task doesn't need (least-privilege). Add extras when the task requires tools beyond the defaults. When \`ALLOWED_AGENT_ROOTS\` is active, you cannot add servers beyond the defaults.
60
67
  - **Skills:** Start with \`default_skills\`. You can freely add skills beyond the defaults. Removing a default skill should be rare and intentional — only when you have a specific reason, like replacing a skill with a more capable variant that covers the same ground. Skills are lightweight text files with no blast radius, so keeping all defaults costs nothing.
61
68
 
69
+ **Runtime and model selection:** Pass \`agent_runtime\` to override which agent runtime the session uses — \`claude_code\` (Claude Code) or \`codex\` (OpenAI Codex CLI). Pass \`config: { model: "..." }\` to choose the model (e.g. \`opus\`/\`sonnet\`/\`haiku\` for claude_code, \`gpt-5.5\`/\`gpt-5.4\` for codex). Both are optional: when omitted, the session inherits the agent root's \`default_runtime\` and \`default_model\`. Call get_configs to discover each root's defaults and pick a model that is valid for the chosen runtime.
70
+
62
71
  **Use cases:**
63
72
  - Start a new agent task on a repository
64
73
  - Create a session to work on a specific branch