velixar-mcp-server 0.2.4 → 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/README.md +120 -64
- package/dist/api.d.ts +64 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +405 -0
- package/dist/api.js.map +1 -0
- package/dist/errors.d.ts +19 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +52 -0
- package/dist/errors.js.map +1 -0
- package/dist/justify.d.ts +9 -0
- package/dist/justify.d.ts.map +1 -0
- package/dist/justify.js +114 -0
- package/dist/justify.js.map +1 -0
- package/dist/prompts.d.ts +88 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +693 -0
- package/dist/prompts.js.map +1 -0
- package/dist/resources.d.ts +25 -0
- package/dist/resources.d.ts.map +1 -0
- package/dist/resources.js +278 -0
- package/dist/resources.js.map +1 -0
- package/dist/server.d.ts +3 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +392 -0
- package/dist/server.js.map +1 -0
- package/dist/simulation/personas.d.ts +41 -0
- package/dist/simulation/personas.d.ts.map +1 -0
- package/dist/simulation/personas.js +173 -0
- package/dist/simulation/personas.js.map +1 -0
- package/dist/simulation/report.d.ts +28 -0
- package/dist/simulation/report.d.ts.map +1 -0
- package/dist/simulation/report.js +105 -0
- package/dist/simulation/report.js.map +1 -0
- package/dist/simulation/runner.d.ts +63 -0
- package/dist/simulation/runner.d.ts.map +1 -0
- package/dist/simulation/runner.js +167 -0
- package/dist/simulation/runner.js.map +1 -0
- package/dist/temporal_merge.d.ts +70 -0
- package/dist/temporal_merge.d.ts.map +1 -0
- package/dist/temporal_merge.js +258 -0
- package/dist/temporal_merge.js.map +1 -0
- package/dist/tools/clairvoyance.d.ts +9 -0
- package/dist/tools/clairvoyance.d.ts.map +1 -0
- package/dist/tools/clairvoyance.js +321 -0
- package/dist/tools/clairvoyance.js.map +1 -0
- package/dist/tools/cognitive.d.ts +10 -0
- package/dist/tools/cognitive.d.ts.map +1 -0
- package/dist/tools/cognitive.js +462 -0
- package/dist/tools/cognitive.js.map +1 -0
- package/dist/tools/construction.d.ts +9 -0
- package/dist/tools/construction.d.ts.map +1 -0
- package/dist/tools/construction.js +350 -0
- package/dist/tools/construction.js.map +1 -0
- package/dist/tools/graph.d.ts +14 -0
- package/dist/tools/graph.d.ts.map +1 -0
- package/dist/tools/graph.js +263 -0
- package/dist/tools/graph.js.map +1 -0
- package/dist/tools/graph_sanitizer.d.ts +24 -0
- package/dist/tools/graph_sanitizer.d.ts.map +1 -0
- package/dist/tools/graph_sanitizer.js +79 -0
- package/dist/tools/graph_sanitizer.js.map +1 -0
- package/dist/tools/lifecycle.d.ts +9 -0
- package/dist/tools/lifecycle.d.ts.map +1 -0
- package/dist/tools/lifecycle.js +1091 -0
- package/dist/tools/lifecycle.js.map +1 -0
- package/dist/tools/livedata.d.ts +9 -0
- package/dist/tools/livedata.d.ts.map +1 -0
- package/dist/tools/livedata.js +222 -0
- package/dist/tools/livedata.js.map +1 -0
- package/dist/tools/memory.d.ts +10 -0
- package/dist/tools/memory.d.ts.map +1 -0
- package/dist/tools/memory.js +275 -0
- package/dist/tools/memory.js.map +1 -0
- package/dist/tools/recall.d.ts +9 -0
- package/dist/tools/recall.d.ts.map +1 -0
- package/dist/tools/recall.js +206 -0
- package/dist/tools/recall.js.map +1 -0
- package/dist/tools/retrieval.d.ts +9 -0
- package/dist/tools/retrieval.d.ts.map +1 -0
- package/dist/tools/retrieval.js +338 -0
- package/dist/tools/retrieval.js.map +1 -0
- package/dist/tools/system.d.ts +12 -0
- package/dist/tools/system.d.ts.map +1 -0
- package/dist/tools/system.js +228 -0
- package/dist/tools/system.js.map +1 -0
- package/dist/types.d.ts +234 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +5 -0
- package/dist/types.js.map +1 -0
- package/dist/validate.d.ts +79 -0
- package/dist/validate.d.ts.map +1 -0
- package/dist/validate.js +174 -0
- package/dist/validate.js.map +1 -0
- package/dist/validate_retrieval.d.ts +33 -0
- package/dist/validate_retrieval.d.ts.map +1 -0
- package/dist/validate_retrieval.js +97 -0
- package/dist/validate_retrieval.js.map +1 -0
- package/package.json +22 -6
- package/server.json +2 -2
- package/.github/workflows/ci.yml +0 -18
- package/.mcpregistry_github_token +0 -1
- package/.mcpregistry_registry_token +0 -1
- package/src/index.js +0 -262
- package/tests/server.test.js +0 -193
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export interface WorkflowPrompt {
|
|
2
|
+
name: string;
|
|
3
|
+
description: string;
|
|
4
|
+
version: string;
|
|
5
|
+
arguments?: Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
messages: Array<{
|
|
11
|
+
role: 'user' | 'assistant';
|
|
12
|
+
content: string;
|
|
13
|
+
}>;
|
|
14
|
+
}
|
|
15
|
+
export declare const COGNITIVE_MODES: readonly [{
|
|
16
|
+
readonly mode: "Orientation";
|
|
17
|
+
readonly question: "\"Understand the situation broadly\"";
|
|
18
|
+
readonly tool: "velixar_context";
|
|
19
|
+
}, {
|
|
20
|
+
readonly mode: "Retrieval";
|
|
21
|
+
readonly question: "\"I know what I'm looking for\"";
|
|
22
|
+
readonly tool: "velixar_search";
|
|
23
|
+
}, {
|
|
24
|
+
readonly mode: "Deep Retrieval";
|
|
25
|
+
readonly question: "\"I need comprehensive coverage\"";
|
|
26
|
+
readonly tool: "velixar_multi_search";
|
|
27
|
+
}, {
|
|
28
|
+
readonly mode: "Structure";
|
|
29
|
+
readonly question: "\"Understand connections\"";
|
|
30
|
+
readonly tool: "velixar_graph_traverse";
|
|
31
|
+
}, {
|
|
32
|
+
readonly mode: "Continuity";
|
|
33
|
+
readonly question: "\"How did this evolve?\"";
|
|
34
|
+
readonly tool: "velixar_timeline";
|
|
35
|
+
}, {
|
|
36
|
+
readonly mode: "Conflict";
|
|
37
|
+
readonly question: "\"Something contradicts\"";
|
|
38
|
+
readonly tool: "velixar_contradictions";
|
|
39
|
+
}, {
|
|
40
|
+
readonly mode: "Consolidation";
|
|
41
|
+
readonly question: "\"Preserve what matters\"";
|
|
42
|
+
readonly tool: "velixar_distill";
|
|
43
|
+
}, {
|
|
44
|
+
readonly mode: "Verification";
|
|
45
|
+
readonly question: "\"Is my context complete?\"";
|
|
46
|
+
readonly tool: "velixar_coverage_check";
|
|
47
|
+
}, {
|
|
48
|
+
readonly mode: "Construction";
|
|
49
|
+
readonly question: "\"Assemble what I need to answer\"";
|
|
50
|
+
readonly tool: "velixar_prepare_context";
|
|
51
|
+
}, {
|
|
52
|
+
readonly mode: "Personalization";
|
|
53
|
+
readonly question: "\"What do I know about this user?\"";
|
|
54
|
+
readonly tool: "velixar_identity";
|
|
55
|
+
}, {
|
|
56
|
+
readonly mode: "Inference";
|
|
57
|
+
readonly question: "\"What patterns hold across these memories?\"";
|
|
58
|
+
readonly tool: "velixar_patterns";
|
|
59
|
+
}, {
|
|
60
|
+
readonly mode: "Stewardship";
|
|
61
|
+
readonly question: "\"Will future sessions need this work?\"";
|
|
62
|
+
readonly tool: "velixar_store";
|
|
63
|
+
}];
|
|
64
|
+
export declare function renderModesTable(): string;
|
|
65
|
+
export declare const allPrompts: WorkflowPrompt[];
|
|
66
|
+
export declare function getPromptList(): {
|
|
67
|
+
prompts: {
|
|
68
|
+
name: string;
|
|
69
|
+
description: string;
|
|
70
|
+
version: string;
|
|
71
|
+
arguments: {
|
|
72
|
+
name: string;
|
|
73
|
+
description: string;
|
|
74
|
+
required?: boolean;
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
}[];
|
|
77
|
+
};
|
|
78
|
+
export declare function getPrompt(name: string, promptArgs?: Record<string, string>): {
|
|
79
|
+
description: string;
|
|
80
|
+
messages: {
|
|
81
|
+
role: "user" | "assistant";
|
|
82
|
+
content: {
|
|
83
|
+
type: "text";
|
|
84
|
+
text: string;
|
|
85
|
+
};
|
|
86
|
+
}[];
|
|
87
|
+
};
|
|
88
|
+
//# sourceMappingURL=prompts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAC7E,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClE;AAID,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAalB,CAAC;AAEX,wBAAgB,gBAAgB,IAAI,MAAM,CAGzC;AA0nBD,eAAO,MAAM,UAAU,EAAE,cAAc,EA4BtC,CAAC;AAEF,wBAAgB,aAAa;;;;;;kBAhrBD,MAAM;yBAAe,MAAM;uBAAa,OAAO;;;EAyrB1E;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM;;;cAoBlD,MAAM,GAAG,WAAW;;;;;;EAIhD"}
|