@spexly/mcp-server 1.1.0 → 1.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Spexly
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * TypeScript definitions for MCP server.
6
6
  */
7
- export declare const EVENT_TYPES: readonly ["task_start", "task_complete", "tool_call", "thinking", "error", "log", "idle", "blocked", "needs_input"];
7
+ export declare const EVENT_TYPES: readonly ["task_start", "task_complete", "tool_call", "thinking", "error", "log", "idle", "blocked", "needs_input", "done"];
8
8
  export type EventType = typeof EVENT_TYPES[number];
9
9
  export declare const STATUS_MAP: Record<EventType, string>;
10
10
  export declare function statusFromEventType(eventType: EventType): string;
@@ -14,7 +14,8 @@ export const EVENT_TYPES = [
14
14
  "log",
15
15
  "idle",
16
16
  "blocked",
17
- "needs_input"
17
+ "needs_input",
18
+ "done"
18
19
  ];
19
20
  // Map event type -> derived status
20
21
  export const STATUS_MAP = {
@@ -26,7 +27,8 @@ export const STATUS_MAP = {
26
27
  'error': 'error',
27
28
  'idle': 'idle',
28
29
  'blocked': 'blocked',
29
- 'needs_input': 'needs_input'
30
+ 'needs_input': 'needs_input',
31
+ 'done': 'offline'
30
32
  };
31
33
  // Derive status from event type
32
34
  export function statusFromEventType(eventType) {
package/dist/index.js CHANGED
@@ -199,7 +199,7 @@ server.registerTool("report_event", {
199
199
  description: "Report your current status to the Spexly monitoring dashboard. " +
200
200
  "CALL THIS whenever your working state changes: " +
201
201
  "task_start (beginning work), task_complete (finished), thinking (reasoning NOT working), " +
202
- "error (problem), idle (waiting), blocked (stuck), needs_input (need clarification). " +
202
+ "error (problem), idle (waiting), blocked (stuck), needs_input (need clarification), done (conversation completed). " +
203
203
  "Use the same id as your register_agent call.",
204
204
  inputSchema: {
205
205
  id: z.string().describe("Unique, consistent identifier for this agent (use the same value for all calls)"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spexly/mcp-server",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Spexly MCP Server - AI agent status monitoring via Model Context Protocol",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -44,4 +44,4 @@
44
44
  "engines": {
45
45
  "node": ">=18.0.0"
46
46
  }
47
- }
47
+ }