-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsmithery.yaml
More file actions
39 lines (39 loc) · 1.25 KB
/
smithery.yaml
File metadata and controls
39 lines (39 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
startCommand:
type: stdio
configSchema:
type: object
properties:
mode:
type: string
enum: [full, fast, both]
default: both
description: Which reasoning tools to expose
vizMode:
type: string
enum: [auto, always, never]
default: auto
description: Visualization rendering mode. auto = render only when the AoT call sets viz:true; always = render every call; never = ignore viz param
maxDepth:
type: number
default: 5
description: Maximum reasoning depth
outputDir:
type: string
description: Visualization output directory
downloadsDir:
type: string
description: Approval file scan directory
commandFunction:
|-
(config) => {
const args = ['build/index.js'];
if (config.mode) args.push('--mode', config.mode);
if (config.vizMode) args.push('--viz', config.vizMode);
if (config.maxDepth) args.push('--max-depth', String(config.maxDepth));
if (config.outputDir) args.push('--output-dir', config.outputDir);
if (config.downloadsDir) args.push('--downloads-dir', config.downloadsDir);
return { command: 'node', args };
}
exampleConfig:
mode: both
vizMode: auto