polydev-ai 1.9.32 → 1.9.34
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/mcp/manifest.json +0 -614
- package/mcp/stdio-wrapper.js +11 -16
- package/package.json +1 -1
package/mcp/manifest.json
CHANGED
|
@@ -163,57 +163,6 @@
|
|
|
163
163
|
"type": "string",
|
|
164
164
|
"description": "Polydev user authentication token (get from dashboard)",
|
|
165
165
|
"minLength": 1
|
|
166
|
-
},
|
|
167
|
-
"project_memory": {
|
|
168
|
-
"type": "string",
|
|
169
|
-
"description": "Project context level - 'none', 'light' (recent files), or 'full' (TF-IDF similarity)",
|
|
170
|
-
"enum": ["none", "light", "full"],
|
|
171
|
-
"default": "none"
|
|
172
|
-
},
|
|
173
|
-
"max_messages": {
|
|
174
|
-
"type": "integer",
|
|
175
|
-
"description": "Maximum number of messages to process for tool calls",
|
|
176
|
-
"minimum": 1,
|
|
177
|
-
"maximum": 50,
|
|
178
|
-
"default": 10
|
|
179
|
-
},
|
|
180
|
-
"temperature": {
|
|
181
|
-
"type": "number",
|
|
182
|
-
"description": "Temperature for model responses",
|
|
183
|
-
"minimum": 0,
|
|
184
|
-
"maximum": 2,
|
|
185
|
-
"default": 0.7
|
|
186
|
-
},
|
|
187
|
-
"max_tokens": {
|
|
188
|
-
"type": "integer",
|
|
189
|
-
"description": "Maximum tokens per response",
|
|
190
|
-
"minimum": 100,
|
|
191
|
-
"maximum": 16000,
|
|
192
|
-
"default": 10000
|
|
193
|
-
},
|
|
194
|
-
"project_context": {
|
|
195
|
-
"type": "object",
|
|
196
|
-
"description": "Project context for memory retrieval",
|
|
197
|
-
"properties": {
|
|
198
|
-
"root_path": {
|
|
199
|
-
"type": "string",
|
|
200
|
-
"description": "Root directory path for project"
|
|
201
|
-
},
|
|
202
|
-
"includes": {
|
|
203
|
-
"type": "array",
|
|
204
|
-
"description": "File patterns to include",
|
|
205
|
-
"items": {
|
|
206
|
-
"type": "string"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
"excludes": {
|
|
210
|
-
"type": "array",
|
|
211
|
-
"description": "File patterns to exclude",
|
|
212
|
-
"items": {
|
|
213
|
-
"type": "string"
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
166
|
}
|
|
218
167
|
},
|
|
219
168
|
"required": ["prompt"]
|
|
@@ -291,569 +240,6 @@
|
|
|
291
240
|
}
|
|
292
241
|
}
|
|
293
242
|
]
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"name": "force_cli_detection",
|
|
297
|
-
"description": "Force detection and status update for CLI tools (Claude Code, Codex CLI, Gemini CLI). Updates local cache and reports status to MCP server via Supabase.",
|
|
298
|
-
"inputSchema": {
|
|
299
|
-
"type": "object",
|
|
300
|
-
"properties": {
|
|
301
|
-
"user_id": {
|
|
302
|
-
"type": "string",
|
|
303
|
-
"description": "User ID for database status updates (optional for stdio-wrapper)",
|
|
304
|
-
"minLength": 1
|
|
305
|
-
},
|
|
306
|
-
"provider_id": {
|
|
307
|
-
"type": "string",
|
|
308
|
-
"description": "Specific CLI provider to detect (optional, detects all if not provided)",
|
|
309
|
-
"enum": ["claude_code", "codex_cli", "gemini_cli"]
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
"outputSchema": {
|
|
314
|
-
"type": "object",
|
|
315
|
-
"properties": {
|
|
316
|
-
"success": {
|
|
317
|
-
"type": "boolean",
|
|
318
|
-
"description": "Whether detection was successful"
|
|
319
|
-
},
|
|
320
|
-
"results": {
|
|
321
|
-
"type": "object",
|
|
322
|
-
"description": "Detection results for each provider",
|
|
323
|
-
"additionalProperties": {
|
|
324
|
-
"type": "object",
|
|
325
|
-
"properties": {
|
|
326
|
-
"available": {
|
|
327
|
-
"type": "boolean",
|
|
328
|
-
"description": "Whether CLI is available"
|
|
329
|
-
},
|
|
330
|
-
"authenticated": {
|
|
331
|
-
"type": "boolean",
|
|
332
|
-
"description": "Whether CLI is authenticated"
|
|
333
|
-
},
|
|
334
|
-
"version": {
|
|
335
|
-
"type": "string",
|
|
336
|
-
"description": "CLI version if available"
|
|
337
|
-
},
|
|
338
|
-
"path": {
|
|
339
|
-
"type": "string",
|
|
340
|
-
"description": "Path to CLI executable"
|
|
341
|
-
},
|
|
342
|
-
"error": {
|
|
343
|
-
"type": "string",
|
|
344
|
-
"description": "Error message if detection failed"
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
"message": {
|
|
350
|
-
"type": "string",
|
|
351
|
-
"description": "Human-readable result message"
|
|
352
|
-
},
|
|
353
|
-
"timestamp": {
|
|
354
|
-
"type": "string",
|
|
355
|
-
"description": "Detection timestamp"
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
"required": ["success", "results", "message", "timestamp"]
|
|
359
|
-
},
|
|
360
|
-
"examples": [
|
|
361
|
-
{
|
|
362
|
-
"description": "Detect all CLI providers",
|
|
363
|
-
"input": {
|
|
364
|
-
"user_id": "user_123"
|
|
365
|
-
},
|
|
366
|
-
"output": {
|
|
367
|
-
"success": true,
|
|
368
|
-
"results": {
|
|
369
|
-
"claude_code": {
|
|
370
|
-
"available": true,
|
|
371
|
-
"authenticated": true,
|
|
372
|
-
"version": "claude-code v1.2.3",
|
|
373
|
-
"path": "/usr/local/bin/claude"
|
|
374
|
-
},
|
|
375
|
-
"codex_cli": {
|
|
376
|
-
"available": false,
|
|
377
|
-
"authenticated": false,
|
|
378
|
-
"error": "Codex CLI not found in PATH. Install Codex CLI from OpenAI"
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
"message": "CLI detection completed for all providers",
|
|
382
|
-
"timestamp": "2024-01-15T10:30:00Z"
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
]
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"name": "get_cli_status",
|
|
389
|
-
"description": "Get current CLI status with caching support. Returns cached results if available and fresh, otherwise performs new detection.",
|
|
390
|
-
"inputSchema": {
|
|
391
|
-
"type": "object",
|
|
392
|
-
"properties": {
|
|
393
|
-
"user_id": {
|
|
394
|
-
"type": "string",
|
|
395
|
-
"description": "User ID for database status retrieval (optional for stdio-wrapper)",
|
|
396
|
-
"minLength": 1
|
|
397
|
-
},
|
|
398
|
-
"provider_id": {
|
|
399
|
-
"type": "string",
|
|
400
|
-
"description": "Specific CLI provider status to get (optional, gets all if not provided)",
|
|
401
|
-
"enum": ["claude_code", "codex_cli", "gemini_cli"]
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
"outputSchema": {
|
|
406
|
-
"type": "object",
|
|
407
|
-
"properties": {
|
|
408
|
-
"success": {
|
|
409
|
-
"type": "boolean",
|
|
410
|
-
"description": "Whether status retrieval was successful"
|
|
411
|
-
},
|
|
412
|
-
"results": {
|
|
413
|
-
"type": "object",
|
|
414
|
-
"description": "Status results for each provider",
|
|
415
|
-
"additionalProperties": {
|
|
416
|
-
"type": "object",
|
|
417
|
-
"properties": {
|
|
418
|
-
"available": {
|
|
419
|
-
"type": "boolean"
|
|
420
|
-
},
|
|
421
|
-
"authenticated": {
|
|
422
|
-
"type": "boolean"
|
|
423
|
-
},
|
|
424
|
-
"version": {
|
|
425
|
-
"type": "string"
|
|
426
|
-
},
|
|
427
|
-
"lastChecked": {
|
|
428
|
-
"type": "string",
|
|
429
|
-
"description": "Last status check timestamp"
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
"message": {
|
|
435
|
-
"type": "string"
|
|
436
|
-
},
|
|
437
|
-
"timestamp": {
|
|
438
|
-
"type": "string"
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
|
-
"required": ["success", "results"]
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"name": "send_cli_prompt",
|
|
446
|
-
"description": "Send a prompt to a CLI provider and get response. Supports both stdin and argument modes for maximum compatibility.",
|
|
447
|
-
"inputSchema": {
|
|
448
|
-
"type": "object",
|
|
449
|
-
"properties": {
|
|
450
|
-
"provider_id": {
|
|
451
|
-
"type": "string",
|
|
452
|
-
"description": "CLI provider to send prompt to",
|
|
453
|
-
"enum": ["claude_code", "codex_cli", "gemini_cli"]
|
|
454
|
-
},
|
|
455
|
-
"prompt": {
|
|
456
|
-
"type": "string",
|
|
457
|
-
"description": "Prompt to send to the CLI",
|
|
458
|
-
"minLength": 1
|
|
459
|
-
},
|
|
460
|
-
"mode": {
|
|
461
|
-
"type": "string",
|
|
462
|
-
"description": "Prompt sending mode",
|
|
463
|
-
"enum": ["stdin", "args"],
|
|
464
|
-
"default": "args"
|
|
465
|
-
},
|
|
466
|
-
"timeout_ms": {
|
|
467
|
-
"type": "integer",
|
|
468
|
-
"description": "Timeout in milliseconds (90 seconds default for CLI-within-CLI scenarios)",
|
|
469
|
-
"minimum": 1000,
|
|
470
|
-
"maximum": 600000,
|
|
471
|
-
"default": 90000
|
|
472
|
-
},
|
|
473
|
-
"user_id": {
|
|
474
|
-
"type": "string",
|
|
475
|
-
"description": "User ID for usage tracking (optional)",
|
|
476
|
-
"minLength": 1
|
|
477
|
-
}
|
|
478
|
-
},
|
|
479
|
-
"required": ["prompt"]
|
|
480
|
-
},
|
|
481
|
-
"outputSchema": {
|
|
482
|
-
"type": "object",
|
|
483
|
-
"properties": {
|
|
484
|
-
"success": {
|
|
485
|
-
"type": "boolean",
|
|
486
|
-
"description": "Whether the prompt was sent successfully"
|
|
487
|
-
},
|
|
488
|
-
"content": {
|
|
489
|
-
"type": "string",
|
|
490
|
-
"description": "CLI response content"
|
|
491
|
-
},
|
|
492
|
-
"error": {
|
|
493
|
-
"type": "string",
|
|
494
|
-
"description": "Error message if prompt failed"
|
|
495
|
-
},
|
|
496
|
-
"tokens_used": {
|
|
497
|
-
"type": "integer",
|
|
498
|
-
"description": "Number of tokens used"
|
|
499
|
-
},
|
|
500
|
-
"latency_ms": {
|
|
501
|
-
"type": "integer",
|
|
502
|
-
"description": "Response latency in milliseconds"
|
|
503
|
-
},
|
|
504
|
-
"provider": {
|
|
505
|
-
"type": "string",
|
|
506
|
-
"description": "CLI provider used"
|
|
507
|
-
},
|
|
508
|
-
"mode": {
|
|
509
|
-
"type": "string",
|
|
510
|
-
"description": "Mode used for sending"
|
|
511
|
-
},
|
|
512
|
-
"timestamp": {
|
|
513
|
-
"type": "string",
|
|
514
|
-
"description": "Response timestamp"
|
|
515
|
-
}
|
|
516
|
-
},
|
|
517
|
-
"required": ["success", "provider", "timestamp"]
|
|
518
|
-
},
|
|
519
|
-
"examples": [
|
|
520
|
-
{
|
|
521
|
-
"description": "Send prompt to Claude Code",
|
|
522
|
-
"input": {
|
|
523
|
-
"provider_id": "claude_code",
|
|
524
|
-
"prompt": "Help me debug this TypeScript error: Property 'map' does not exist on type 'string'",
|
|
525
|
-
"mode": "args",
|
|
526
|
-
"user_id": "user_123"
|
|
527
|
-
},
|
|
528
|
-
"output": {
|
|
529
|
-
"success": true,
|
|
530
|
-
"content": "This error occurs when you're trying to use the .map() method on a string variable. The .map() method is an array method, not a string method...",
|
|
531
|
-
"tokens_used": 150,
|
|
532
|
-
"latency_ms": 1200,
|
|
533
|
-
"provider": "claude_code",
|
|
534
|
-
"mode": "args",
|
|
535
|
-
"timestamp": "2024-01-15T10:35:00Z"
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
]
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"name": "enable_status_reporting",
|
|
542
|
-
"description": "Enable automatic CLI status reporting to polydev.ai server. Reports are sent when CLI detection runs and via periodic heartbeat. Requires a Polydev user token.",
|
|
543
|
-
"inputSchema": {
|
|
544
|
-
"type": "object",
|
|
545
|
-
"properties": {
|
|
546
|
-
"user_token": {
|
|
547
|
-
"type": "string",
|
|
548
|
-
"description": "Polydev user token (pd_xxx or polydev_xxx). Can also be set via POLYDEV_USER_TOKEN env var.",
|
|
549
|
-
"minLength": 1
|
|
550
|
-
},
|
|
551
|
-
"heartbeat_interval_minutes": {
|
|
552
|
-
"type": "integer",
|
|
553
|
-
"description": "How often to send status updates (in minutes)",
|
|
554
|
-
"minimum": 5,
|
|
555
|
-
"maximum": 1440,
|
|
556
|
-
"default": 15
|
|
557
|
-
},
|
|
558
|
-
"start_heartbeat": {
|
|
559
|
-
"type": "boolean",
|
|
560
|
-
"description": "Whether to start automatic heartbeat immediately",
|
|
561
|
-
"default": true
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
},
|
|
565
|
-
"outputSchema": {
|
|
566
|
-
"type": "object",
|
|
567
|
-
"properties": {
|
|
568
|
-
"success": { "type": "boolean" },
|
|
569
|
-
"message": { "type": "string" },
|
|
570
|
-
"heartbeat_enabled": { "type": "boolean" },
|
|
571
|
-
"heartbeat_interval_minutes": { "type": "integer" },
|
|
572
|
-
"initial_status": { "type": "object" },
|
|
573
|
-
"timestamp": { "type": "string" }
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"name": "disable_status_reporting",
|
|
579
|
-
"description": "Disable automatic CLI status reporting to polydev.ai server. Stops heartbeat and disables reporting.",
|
|
580
|
-
"inputSchema": {
|
|
581
|
-
"type": "object",
|
|
582
|
-
"properties": {}
|
|
583
|
-
},
|
|
584
|
-
"outputSchema": {
|
|
585
|
-
"type": "object",
|
|
586
|
-
"properties": {
|
|
587
|
-
"success": { "type": "boolean" },
|
|
588
|
-
"message": { "type": "string" },
|
|
589
|
-
"timestamp": { "type": "string" }
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"name": "get_status_reporting_info",
|
|
595
|
-
"description": "Get current status reporting configuration and history. Shows whether reporting is enabled, heartbeat status, and recent report history.",
|
|
596
|
-
"inputSchema": {
|
|
597
|
-
"type": "object",
|
|
598
|
-
"properties": {}
|
|
599
|
-
},
|
|
600
|
-
"outputSchema": {
|
|
601
|
-
"type": "object",
|
|
602
|
-
"properties": {
|
|
603
|
-
"success": { "type": "boolean" },
|
|
604
|
-
"available": { "type": "boolean" },
|
|
605
|
-
"config": {
|
|
606
|
-
"type": "object",
|
|
607
|
-
"properties": {
|
|
608
|
-
"serverUrl": { "type": "string" },
|
|
609
|
-
"reportingEnabled": { "type": "boolean" },
|
|
610
|
-
"heartbeatRunning": { "type": "boolean" },
|
|
611
|
-
"heartbeatIntervalMs": { "type": "integer" },
|
|
612
|
-
"isOnline": { "type": "boolean" },
|
|
613
|
-
"pendingReportsCount": { "type": "integer" }
|
|
614
|
-
}
|
|
615
|
-
},
|
|
616
|
-
"history": {
|
|
617
|
-
"type": "array",
|
|
618
|
-
"items": {
|
|
619
|
-
"type": "object",
|
|
620
|
-
"properties": {
|
|
621
|
-
"provider": { "type": "string" },
|
|
622
|
-
"status": { "type": "string" },
|
|
623
|
-
"success": { "type": "boolean" },
|
|
624
|
-
"timestamp": { "type": "string" }
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
},
|
|
628
|
-
"timestamp": { "type": "string" }
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
"name": "detect_memory_sources",
|
|
634
|
-
"description": "Detect all available memory sources across CLI tools (Claude Code, Cline, Codex, Cursor, Continue, Aider). Returns file paths for global memory, project memory, and recent conversations.",
|
|
635
|
-
"inputSchema": {
|
|
636
|
-
"type": "object",
|
|
637
|
-
"properties": {
|
|
638
|
-
"project_path": {
|
|
639
|
-
"type": "string",
|
|
640
|
-
"description": "Project directory path to scan for memory sources",
|
|
641
|
-
"default": "."
|
|
642
|
-
},
|
|
643
|
-
"cli_tools": {
|
|
644
|
-
"type": "array",
|
|
645
|
-
"items": {
|
|
646
|
-
"type": "string",
|
|
647
|
-
"enum": ["claude_code", "cline", "codex_cli", "cursor", "continue", "aider", "generic", "all"]
|
|
648
|
-
},
|
|
649
|
-
"description": "CLI tools to detect memory for",
|
|
650
|
-
"default": ["all"]
|
|
651
|
-
},
|
|
652
|
-
"memory_types": {
|
|
653
|
-
"type": "array",
|
|
654
|
-
"items": {
|
|
655
|
-
"type": "string",
|
|
656
|
-
"enum": ["global", "project", "conversation", "config"]
|
|
657
|
-
},
|
|
658
|
-
"description": "Types of memory to detect",
|
|
659
|
-
"default": ["global", "project", "conversation"]
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
},
|
|
663
|
-
"outputSchema": {
|
|
664
|
-
"type": "object",
|
|
665
|
-
"properties": {
|
|
666
|
-
"success": { "type": "boolean" },
|
|
667
|
-
"sources": {
|
|
668
|
-
"type": "array",
|
|
669
|
-
"items": {
|
|
670
|
-
"type": "object",
|
|
671
|
-
"properties": {
|
|
672
|
-
"cli_tool": { "type": "string" },
|
|
673
|
-
"memory_type": { "type": "string" },
|
|
674
|
-
"file_path": { "type": "string" },
|
|
675
|
-
"exists": { "type": "boolean" },
|
|
676
|
-
"size_bytes": { "type": "number" },
|
|
677
|
-
"last_modified": { "type": "string" }
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
},
|
|
681
|
-
"summary": {
|
|
682
|
-
"type": "object",
|
|
683
|
-
"properties": {
|
|
684
|
-
"total_sources": { "type": "number" },
|
|
685
|
-
"sources_by_tool": { "type": "object" },
|
|
686
|
-
"sources_by_type": { "type": "object" }
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
"name": "extract_memory",
|
|
694
|
-
"description": "Extract and optionally encrypt memory content from detected CLI tool sources. Provides TF-IDF relevance scoring and content analysis.",
|
|
695
|
-
"inputSchema": {
|
|
696
|
-
"type": "object",
|
|
697
|
-
"properties": {
|
|
698
|
-
"user_token": {
|
|
699
|
-
"type": "string",
|
|
700
|
-
"description": "Polydev user authentication token for server storage",
|
|
701
|
-
"minLength": 1
|
|
702
|
-
},
|
|
703
|
-
"project_path": {
|
|
704
|
-
"type": "string",
|
|
705
|
-
"description": "Project directory path",
|
|
706
|
-
"default": "."
|
|
707
|
-
},
|
|
708
|
-
"cli_tools": {
|
|
709
|
-
"type": "array",
|
|
710
|
-
"items": { "type": "string" },
|
|
711
|
-
"default": ["all"]
|
|
712
|
-
},
|
|
713
|
-
"memory_types": {
|
|
714
|
-
"type": "array",
|
|
715
|
-
"items": { "type": "string" },
|
|
716
|
-
"default": ["global", "project", "conversation"]
|
|
717
|
-
},
|
|
718
|
-
"encryption_enabled": {
|
|
719
|
-
"type": "boolean",
|
|
720
|
-
"description": "Enable zero-knowledge encryption for extracted content",
|
|
721
|
-
"default": true
|
|
722
|
-
},
|
|
723
|
-
"max_file_size_kb": {
|
|
724
|
-
"type": "integer",
|
|
725
|
-
"minimum": 1,
|
|
726
|
-
"maximum": 1000,
|
|
727
|
-
"default": 500
|
|
728
|
-
},
|
|
729
|
-
"relevance_threshold": {
|
|
730
|
-
"type": "number",
|
|
731
|
-
"minimum": 0,
|
|
732
|
-
"maximum": 1,
|
|
733
|
-
"default": 0.3
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
"required": ["user_token"]
|
|
737
|
-
}
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
"name": "get_recent_conversations",
|
|
741
|
-
"description": "Get recent conversations from CLI tools with TF-IDF relevance scoring against query context. Supports encrypted storage and retrieval.",
|
|
742
|
-
"inputSchema": {
|
|
743
|
-
"type": "object",
|
|
744
|
-
"properties": {
|
|
745
|
-
"user_token": {
|
|
746
|
-
"type": "string",
|
|
747
|
-
"description": "Polydev user authentication token",
|
|
748
|
-
"minLength": 1
|
|
749
|
-
},
|
|
750
|
-
"query_context": {
|
|
751
|
-
"type": "string",
|
|
752
|
-
"description": "Current query for relevance scoring and context matching"
|
|
753
|
-
},
|
|
754
|
-
"limit": {
|
|
755
|
-
"type": "integer",
|
|
756
|
-
"minimum": 1,
|
|
757
|
-
"maximum": 50,
|
|
758
|
-
"default": 6
|
|
759
|
-
},
|
|
760
|
-
"cli_tools": {
|
|
761
|
-
"type": "array",
|
|
762
|
-
"items": { "type": "string" },
|
|
763
|
-
"default": ["all"]
|
|
764
|
-
},
|
|
765
|
-
"time_range_hours": {
|
|
766
|
-
"type": "integer",
|
|
767
|
-
"minimum": 1,
|
|
768
|
-
"maximum": 168,
|
|
769
|
-
"default": 24
|
|
770
|
-
},
|
|
771
|
-
"project_path": {
|
|
772
|
-
"type": "string",
|
|
773
|
-
"default": "."
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
"required": ["user_token"]
|
|
777
|
-
}
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
"name": "get_memory_context",
|
|
781
|
-
"description": "Get formatted memory and conversation context for injection into prompts. Automatically handles decryption and relevance scoring.",
|
|
782
|
-
"inputSchema": {
|
|
783
|
-
"type": "object",
|
|
784
|
-
"properties": {
|
|
785
|
-
"user_token": {
|
|
786
|
-
"type": "string",
|
|
787
|
-
"description": "Polydev user authentication token",
|
|
788
|
-
"minLength": 1
|
|
789
|
-
},
|
|
790
|
-
"query_context": {
|
|
791
|
-
"type": "string",
|
|
792
|
-
"description": "Query to find relevant memory and conversations for"
|
|
793
|
-
},
|
|
794
|
-
"max_memory_kb": {
|
|
795
|
-
"type": "integer",
|
|
796
|
-
"minimum": 1,
|
|
797
|
-
"maximum": 200,
|
|
798
|
-
"default": 50
|
|
799
|
-
},
|
|
800
|
-
"max_conversations": {
|
|
801
|
-
"type": "integer",
|
|
802
|
-
"minimum": 1,
|
|
803
|
-
"maximum": 20,
|
|
804
|
-
"default": 6
|
|
805
|
-
},
|
|
806
|
-
"cli_tools": {
|
|
807
|
-
"type": "array",
|
|
808
|
-
"items": { "type": "string" },
|
|
809
|
-
"default": ["all"]
|
|
810
|
-
},
|
|
811
|
-
"memory_types": {
|
|
812
|
-
"type": "array",
|
|
813
|
-
"items": { "type": "string" },
|
|
814
|
-
"default": ["project", "conversation"]
|
|
815
|
-
}
|
|
816
|
-
},
|
|
817
|
-
"required": ["user_token"]
|
|
818
|
-
}
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"name": "manage_memory_preferences",
|
|
822
|
-
"description": "Configure memory extraction and privacy preferences. Control which CLI tools and memory types are enabled, encryption settings, and context injection behavior.",
|
|
823
|
-
"inputSchema": {
|
|
824
|
-
"type": "object",
|
|
825
|
-
"properties": {
|
|
826
|
-
"user_token": {
|
|
827
|
-
"type": "string",
|
|
828
|
-
"description": "Polydev user authentication token",
|
|
829
|
-
"minLength": 1
|
|
830
|
-
},
|
|
831
|
-
"action": {
|
|
832
|
-
"type": "string",
|
|
833
|
-
"enum": ["get", "update"],
|
|
834
|
-
"description": "Action to perform",
|
|
835
|
-
"default": "get"
|
|
836
|
-
},
|
|
837
|
-
"preferences": {
|
|
838
|
-
"type": "object",
|
|
839
|
-
"description": "Memory preferences to update",
|
|
840
|
-
"properties": {
|
|
841
|
-
"memory_enabled": { "type": "boolean" },
|
|
842
|
-
"privacy_mode": { "type": "boolean" },
|
|
843
|
-
"auto_extraction": { "type": "boolean" },
|
|
844
|
-
"cli_tools_enabled": { "type": "object" },
|
|
845
|
-
"memory_types_enabled": { "type": "object" },
|
|
846
|
-
"auto_inject_context": { "type": "boolean" },
|
|
847
|
-
"context_relevance_threshold": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
848
|
-
"max_conversations_inject": { "type": "integer" },
|
|
849
|
-
"max_memory_inject_kb": { "type": "integer" },
|
|
850
|
-
"key_rotation_days": { "type": "integer" },
|
|
851
|
-
"cache_ttl_minutes": { "type": "integer" }
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
},
|
|
855
|
-
"required": ["user_token"]
|
|
856
|
-
}
|
|
857
243
|
}
|
|
858
244
|
],
|
|
859
245
|
"configuration": {
|
package/mcp/stdio-wrapper.js
CHANGED
|
@@ -3407,34 +3407,29 @@ function createSandboxServer() {
|
|
|
3407
3407
|
}
|
|
3408
3408
|
},
|
|
3409
3409
|
{
|
|
3410
|
-
name: '
|
|
3411
|
-
description: 'Check
|
|
3410
|
+
name: 'get_auth_status',
|
|
3411
|
+
description: 'Check Polydev authentication status and setup instructions.',
|
|
3412
3412
|
inputSchema: {
|
|
3413
3413
|
type: 'object',
|
|
3414
3414
|
properties: {
|
|
3415
|
-
|
|
3415
|
+
user_token: {
|
|
3416
3416
|
type: 'string',
|
|
3417
|
-
description: '
|
|
3417
|
+
description: 'Polydev user authentication token (optional)'
|
|
3418
3418
|
}
|
|
3419
3419
|
}
|
|
3420
3420
|
}
|
|
3421
3421
|
},
|
|
3422
3422
|
{
|
|
3423
|
-
name: '
|
|
3424
|
-
description: '
|
|
3425
|
-
inputSchema: { type: 'object', properties: {} }
|
|
3426
|
-
},
|
|
3427
|
-
{
|
|
3428
|
-
name: 'send_cli_prompt',
|
|
3429
|
-
description: 'Send prompt to local CLI with perspectives fallback',
|
|
3423
|
+
name: 'login',
|
|
3424
|
+
description: 'Authenticate with Polydev by opening your browser.',
|
|
3430
3425
|
inputSchema: {
|
|
3431
3426
|
type: 'object',
|
|
3432
3427
|
properties: {
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3428
|
+
user_token: {
|
|
3429
|
+
type: 'string',
|
|
3430
|
+
description: 'Polydev user token for sandboxed environments'
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3438
3433
|
}
|
|
3439
3434
|
}
|
|
3440
3435
|
]
|