@vibescope/mcp-server 0.3.14 → 0.3.15

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.
@@ -4,7 +4,11 @@
4
4
  * HTTP client for communicating with the Vibescope API.
5
5
  * All database operations are handled server-side through these endpoints.
6
6
  */
7
+ import crypto from 'crypto';
7
8
  const DEFAULT_API_URL = 'https://vibescope.dev';
9
+ // Stable instance ID for this process — persists across start_work_session calls
10
+ // so the API can recognise reconnections after context clears
11
+ const PROCESS_INSTANCE_ID = crypto.randomUUID();
8
12
  // Retry configuration defaults
9
13
  const DEFAULT_RETRY_STATUS_CODES = [429, 503, 504];
10
14
  const DEFAULT_MAX_RETRIES = 3;
@@ -133,7 +137,10 @@ export class VibescopeApiClient {
133
137
  }
134
138
  // Session endpoints
135
139
  async startSession(params) {
136
- return this.request('POST', '/api/mcp/sessions/start', params);
140
+ return this.request('POST', '/api/mcp/sessions/start', {
141
+ ...params,
142
+ instance_id: PROCESS_INSTANCE_ID,
143
+ });
137
144
  }
138
145
  async heartbeat(sessionId, options) {
139
146
  return this.request('POST', '/api/mcp/sessions/heartbeat', {
package/docs/TOOLS.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Auto-generated from tool definitions. Do not edit manually.
4
4
  >
5
- > Generated: 2026-02-19
5
+ > Generated: 2026-02-21
6
6
  >
7
7
  > Total tools: 159
8
8
 
@@ -33,7 +33,7 @@
33
33
  - [roles](#roles) - Agent role management (4 tools)
34
34
  - [file_locks](#file-locks) - File checkout/locking for multi-agent (6 tools)
35
35
  - [connectors](#connectors) - External integration connectors (7 tools)
36
- - [cloud_agents](#cloud-agents) - Cloud agent management and cleanup (2 tools)
36
+ - [cloud_agents](#cloud-agents) - Cloud agent management and cleanup (3 tools)
37
37
  - [chat](#chat) - Project-wide chat channel for agent and user communication (2 tools)
38
38
  - [version](#version) - MCP server version management and updates (2 tools)
39
39
 
@@ -2416,6 +2416,34 @@ Get event history for a connector or project. Shows delivery status and errors.
2416
2416
 
2417
2417
  *Cloud agent management and cleanup*
2418
2418
 
2419
+ ### update_agent_status
2420
+
2421
+ Report what you're currently doing. This updates the status message shown on the dashboard.
2422
+
2423
+ Call this at key milestones during boot and work:
2424
+
2425
+ - "Installing dependencies..."
2426
+
2427
+ - "Running start_work_session..."
2428
+
2429
+ - "Working on: <task title>"
2430
+
2431
+ - "Running tests..."
2432
+
2433
+ - "Committing changes..."
2434
+
2435
+ Keep messages short (under 80 chars). The dashboard shows this in real-time.
2436
+
2437
+ **Parameters:**
2438
+
2439
+ | Parameter | Type | Required | Description |
2440
+ |-----------|------|----------|-------------|
2441
+ | `status_message` | `string` | Yes | Short status message to display on dashboard (max 80 chars) |
2442
+ | `project_id` | `string` | No | Project UUID (optional if session has project context) |
2443
+ | `agent_name` | `string` | No | Agent name (used to find the spawned_agents record) |
2444
+
2445
+ ---
2446
+
2419
2447
  ### cleanup_stale_cloud_agents
2420
2448
 
2421
2449
  Clean up stale cloud agents that failed to start or lost connection.
@@ -2515,35 +2543,3 @@ Update the Vibescope MCP server to the latest version. Runs npm install to fetch
2515
2543
  | `global` | `boolean` | No | If true, update the global installation (npm install -g). If false, update locally. Default: true. |
2516
2544
 
2517
2545
  ---
2518
-
2519
- ## Uncategorized
2520
-
2521
- *Tools not yet assigned to a category*
2522
-
2523
- ### update_agent_status
2524
-
2525
- Report what you're currently doing. This updates the status message shown on the dashboard.
2526
-
2527
- Call this at key milestones during boot and work:
2528
-
2529
- - "Installing dependencies..."
2530
-
2531
- - "Running start_work_session..."
2532
-
2533
- - "Working on: <task title>"
2534
-
2535
- - "Running tests..."
2536
-
2537
- - "Committing changes..."
2538
-
2539
- Keep messages short (under 80 chars). The dashboard shows this in real-time.
2540
-
2541
- **Parameters:**
2542
-
2543
- | Parameter | Type | Required | Description |
2544
- |-----------|------|----------|-------------|
2545
- | `status_message` | `string` | Yes | Short status message to display on dashboard (max 80 chars) |
2546
- | `project_id` | `string` | No | Project UUID (optional if session has project context) |
2547
- | `agent_name` | `string` | No | Agent name (used to find the spawned_agents record) |
2548
-
2549
- ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibescope/mcp-server",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "MCP server for Vibescope - AI project tracking tools",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/api-client.ts CHANGED
@@ -5,8 +5,14 @@
5
5
  * All database operations are handled server-side through these endpoints.
6
6
  */
7
7
 
8
+ import crypto from 'crypto';
9
+
8
10
  const DEFAULT_API_URL = 'https://vibescope.dev';
9
11
 
12
+ // Stable instance ID for this process — persists across start_work_session calls
13
+ // so the API can recognise reconnections after context clears
14
+ const PROCESS_INSTANCE_ID = crypto.randomUUID();
15
+
10
16
  // Retry configuration defaults
11
17
  const DEFAULT_RETRY_STATUS_CODES = [429, 503, 504];
12
18
  const DEFAULT_MAX_RETRIES = 3;
@@ -278,7 +284,10 @@ export class VibescopeApiClient {
278
284
  next_action?: string;
279
285
  error?: string;
280
286
  }>> {
281
- return this.request('POST', '/api/mcp/sessions/start', params);
287
+ return this.request('POST', '/api/mcp/sessions/start', {
288
+ ...params,
289
+ instance_id: PROCESS_INSTANCE_ID,
290
+ });
282
291
  }
283
292
 
284
293
  async heartbeat(sessionId: string, options?: {