agent-orchestrator-mcp-server 0.4.2 → 0.4.4

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.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Local implementation of agent-orchestrator MCP server",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
@@ -16,6 +16,7 @@ export interface RawAgentRoot {
16
16
  default_stop_condition?: string;
17
17
  default?: boolean;
18
18
  default_mcp_servers?: string[];
19
+ default_skills?: string[];
19
20
  }
20
21
  /**
21
22
  * Maps a raw API agent root to the normalized AgentRootInfo interface.
@@ -415,6 +415,7 @@ export function createIntegrationMockOrchestratorClient(initialMockData) {
415
415
  git_root: 'https://github.com/pulsemcp/mcp-servers.git',
416
416
  default_branch: 'main',
417
417
  default_mcp_servers: ['github-development'],
418
+ default_skills: ['discovery-classify', 'discovery-validate'],
418
419
  },
419
420
  ],
420
421
  stop_conditions: [
@@ -18,6 +18,7 @@ export function mapAgentRoot(raw) {
18
18
  default_subdirectory: raw.subdirectory,
19
19
  default_stop_condition: raw.default_stop_condition,
20
20
  default_mcp_servers: raw.default_mcp_servers,
21
+ default_skills: raw.default_skills,
21
22
  };
22
23
  }
23
24
  /** Default timeout for API requests in milliseconds */
@@ -35,11 +35,11 @@ export const ActionSessionSchema = z.object({
35
35
  const TOOL_DESCRIPTION = `Perform an action on an agent session.
36
36
 
37
37
  **Actions:**
38
- - **follow_up**: Send a follow-up prompt to a paused session (requires "prompt" parameter)
39
- - **pause**: Pause a running session, transitioning it to "needs_input" status
40
- - **restart**: Restart a paused or failed session without providing new input
38
+ - **follow_up**: Send a follow-up prompt to an idle session (requires "prompt" parameter)
39
+ - **pause**: Pause a running session, transitioning it to idle "needs_input" status
40
+ - **restart**: Restart an idle or failed session without providing new input
41
41
  - **archive**: Archive a session (marks as completed)
42
- - **unarchive**: Restore an archived session to "needs_input" status
42
+ - **unarchive**: Restore an archived session to idle "needs_input" status
43
43
  - **change_mcp_servers**: Update the MCP servers for a session (requires "mcp_servers" parameter)
44
44
  - **fork**: Fork a session from a specific transcript message (requires "message_index")
45
45
  - **refresh**: Refresh a single session's status from the execution provider
@@ -11,7 +11,7 @@ const TOOL_DESCRIPTION = `Fetches all static configuration data in a single call
11
11
 
12
12
  Returns:
13
13
  - **MCP servers**: Available servers for use with start_session (name, title, description)
14
- - **Agent roots**: Preconfigured repository settings with defaults (git_root, branch, mcp_servers, stop_condition)
14
+ - **Agent roots**: Preconfigured repository settings with defaults (git_root, branch, mcp_servers, skills, stop_condition)
15
15
  - **Stop conditions**: Available session completion criteria (id, name, description)
16
16
 
17
17
  **Use this tool** to get all configuration options before calling start_session.
@@ -156,6 +156,9 @@ function formatAgentRoot(lines, root) {
156
156
  if (root.default_stop_condition) {
157
157
  lines.push(`- **Default Stop Condition:** \`${root.default_stop_condition}\``);
158
158
  }
159
+ if (root.default_skills && root.default_skills.length > 0) {
160
+ lines.push(`- **Default Skills:** ${root.default_skills.map((s) => `\`${s}\``).join(', ')}`);
161
+ }
159
162
  lines.push('');
160
163
  }
161
164
  function formatStopCondition(lines, condition) {
@@ -41,7 +41,7 @@ const TOOL_DESCRIPTION = `Get detailed information about a specific agent sessio
41
41
 
42
42
  **Use cases:**
43
43
  - View detailed session information
44
- - Check session status and progress
44
+ - Check session status and progress (use transcript to determine if a "needs_input" session has completed its task or needs follow-up)
45
45
  - Retrieve session transcript for review
46
46
  - Review logs for debugging
47
47
  - Inspect subagent transcripts`;
@@ -28,14 +28,14 @@ const TOOL_DESCRIPTION = `Quick title-based search for agent sessions in the Age
28
28
  - Find a specific session by ID (set id parameter)
29
29
  - Search sessions by title keyword (set query parameter)
30
30
  - List all sessions with optional status filter
31
- - Monitor sessions requiring attention (status: "needs_input")
31
+ - Monitor sessions that have completed or need attention (status: "needs_input")
32
32
 
33
33
  **Returns:** A list of matching sessions with their status, configuration, and metadata.
34
34
 
35
35
  **Session statuses:**
36
36
  - waiting: Session created, waiting to start
37
37
  - running: Agent is actively executing
38
- - needs_input: Agent paused, waiting for user input
38
+ - needs_input: Agent has completed its current work and is idle. May indicate the task is done (most common) or that the agent needs additional input to continue. Check the session transcript to determine which case applies.
39
39
  - failed: Session encountered an error
40
40
  - archived: Session completed and archived`;
41
41
  /** Maximum characters to display for prompt preview */
package/shared/types.d.ts CHANGED
@@ -114,6 +114,7 @@ export interface AgentRootInfo {
114
114
  default_subdirectory?: string;
115
115
  default_stop_condition?: string;
116
116
  default_mcp_servers?: string[];
117
+ default_skills?: string[];
117
118
  }
118
119
  export interface StopConditionInfo {
119
120
  id: string;