mindgraph-mcp 0.14.6 → 0.14.7
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/dist/cli.js +10 -1
- package/dist/index.js +10 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2891,6 +2891,7 @@ async function handleRetrieve(client2, args) {
|
|
|
2891
2891
|
limit,
|
|
2892
2892
|
offset,
|
|
2893
2893
|
include_chunks,
|
|
2894
|
+
include_documents,
|
|
2894
2895
|
include_graph,
|
|
2895
2896
|
graph_expansion_limit,
|
|
2896
2897
|
graph_max_depth,
|
|
@@ -2908,6 +2909,10 @@ async function handleRetrieve(client2, args) {
|
|
|
2908
2909
|
node_types,
|
|
2909
2910
|
layer,
|
|
2910
2911
|
chunk_limit: include_chunks ? limit ?? 5 : 0,
|
|
2912
|
+
// Scoped by default, never walled: the coding profile drops the
|
|
2913
|
+
// document/article leg (the "Bob Work" class of noise) unless the
|
|
2914
|
+
// model opts in for a genuinely document-shaped question.
|
|
2915
|
+
...process.env.MINDGRAPH_PROFILE === "coding" && !include_documents ? { article_limit: 0 } : {},
|
|
2911
2916
|
include_graph,
|
|
2912
2917
|
graph_expansion_limit: graph_expansion_limit ?? 3,
|
|
2913
2918
|
graph_max_depth: graph_max_depth ?? 2
|
|
@@ -3940,6 +3945,10 @@ var init_tools = __esm({
|
|
|
3940
3945
|
type: "number",
|
|
3941
3946
|
description: "Pagination offset (for stale_derivations)"
|
|
3942
3947
|
},
|
|
3948
|
+
include_documents: {
|
|
3949
|
+
type: "boolean",
|
|
3950
|
+
description: "Include ingested documents and wiki articles in context results. The coding profile defaults these OFF so engineering questions aren't answered from unrelated ingested content; pass true when the question is about a document, spec, or article."
|
|
3951
|
+
},
|
|
3943
3952
|
include_chunks: {
|
|
3944
3953
|
type: "boolean",
|
|
3945
3954
|
description: "Include source document chunks in context results (default: false \u2014 set true to fetch full chunk text for citations or deep reading)"
|
|
@@ -4908,7 +4917,7 @@ Capture knowledge when the user shares something worth remembering:
|
|
|
4908
4917
|
server = new import_server.Server(
|
|
4909
4918
|
{
|
|
4910
4919
|
name: "mindgraph",
|
|
4911
|
-
version: "0.14.
|
|
4920
|
+
version: "0.14.7"
|
|
4912
4921
|
},
|
|
4913
4922
|
{
|
|
4914
4923
|
capabilities: {
|
package/dist/index.js
CHANGED
|
@@ -2060,6 +2060,10 @@ var TOOLS = [
|
|
|
2060
2060
|
type: "number",
|
|
2061
2061
|
description: "Pagination offset (for stale_derivations)"
|
|
2062
2062
|
},
|
|
2063
|
+
include_documents: {
|
|
2064
|
+
type: "boolean",
|
|
2065
|
+
description: "Include ingested documents and wiki articles in context results. The coding profile defaults these OFF so engineering questions aren't answered from unrelated ingested content; pass true when the question is about a document, spec, or article."
|
|
2066
|
+
},
|
|
2063
2067
|
include_chunks: {
|
|
2064
2068
|
type: "boolean",
|
|
2065
2069
|
description: "Include source document chunks in context results (default: false \u2014 set true to fetch full chunk text for citations or deep reading)"
|
|
@@ -2923,6 +2927,7 @@ async function handleRetrieve(client2, args) {
|
|
|
2923
2927
|
limit,
|
|
2924
2928
|
offset,
|
|
2925
2929
|
include_chunks,
|
|
2930
|
+
include_documents,
|
|
2926
2931
|
include_graph,
|
|
2927
2932
|
graph_expansion_limit,
|
|
2928
2933
|
graph_max_depth,
|
|
@@ -2940,6 +2945,10 @@ async function handleRetrieve(client2, args) {
|
|
|
2940
2945
|
node_types,
|
|
2941
2946
|
layer,
|
|
2942
2947
|
chunk_limit: include_chunks ? limit ?? 5 : 0,
|
|
2948
|
+
// Scoped by default, never walled: the coding profile drops the
|
|
2949
|
+
// document/article leg (the "Bob Work" class of noise) unless the
|
|
2950
|
+
// model opts in for a genuinely document-shaped question.
|
|
2951
|
+
...process.env.MINDGRAPH_PROFILE === "coding" && !include_documents ? { article_limit: 0 } : {},
|
|
2943
2952
|
include_graph,
|
|
2944
2953
|
graph_expansion_limit: graph_expansion_limit ?? 3,
|
|
2945
2954
|
graph_max_depth: graph_max_depth ?? 2
|
|
@@ -3946,7 +3955,7 @@ if (PROFILE === "coding") {
|
|
|
3946
3955
|
var server = new import_server.Server(
|
|
3947
3956
|
{
|
|
3948
3957
|
name: "mindgraph",
|
|
3949
|
-
version: "0.14.
|
|
3958
|
+
version: "0.14.7"
|
|
3950
3959
|
},
|
|
3951
3960
|
{
|
|
3952
3961
|
capabilities: {
|