@unson/brainbase-mcp 0.1.0 → 0.2.2
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 +70 -15
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +200 -37
- package/dist/connected-onboarding.d.ts +123 -0
- package/dist/connected-onboarding.js +934 -0
- package/dist/guided-onboarding.d.ts +1 -1
- package/dist/guided-onboarding.js +78 -39
- package/dist/import-extract.d.ts +1 -0
- package/dist/import-extract.js +30 -8
- package/dist/judgment-host.d.ts +205 -0
- package/dist/judgment-host.js +1474 -0
- package/dist/onboarding.d.ts +8 -2
- package/dist/onboarding.js +72 -44
- package/dist/operationalization.js +36 -33
- package/dist/server.d.ts +295 -3
- package/dist/server.js +334 -4
- package/dist/skills.d.ts +1 -1
- package/dist/skills.js +42 -8
- package/dist/ssot.d.ts +9 -0
- package/dist/ssot.js +66 -6
- package/dist/tools.js +16 -5
- package/package.json +2 -2
package/dist/tools.js
CHANGED
|
@@ -107,15 +107,24 @@ export function onboardingStatus(os) {
|
|
|
107
107
|
firstValueReady: valueDemoReady
|
|
108
108
|
});
|
|
109
109
|
return {
|
|
110
|
-
connected: true,
|
|
111
110
|
dataDir: os.dataDir,
|
|
111
|
+
localBackend: {
|
|
112
|
+
connected: true,
|
|
113
|
+
backend: 'local'
|
|
114
|
+
},
|
|
115
|
+
agentMcp: {
|
|
116
|
+
status: 'not_verified',
|
|
117
|
+
verification: 'MCP設定を反映した新しいエージェントセッションで get_context / search を確認してください。'
|
|
118
|
+
},
|
|
119
|
+
operationallyReady: false,
|
|
112
120
|
seeded,
|
|
113
121
|
missing,
|
|
114
122
|
valueDemo: {
|
|
123
|
+
scope: 'local_cli_sample',
|
|
115
124
|
ready: valueDemoReady,
|
|
116
125
|
missing,
|
|
117
|
-
command:
|
|
118
|
-
completionSignal: valueDemoReady ? '
|
|
126
|
+
command: `brainbase onboard:demo --dir ${shellArg(os.dataDir)} --scenario "<real request>"`,
|
|
127
|
+
completionSignal: valueDemoReady ? 'cli_sample_ready' : 'needs_seed'
|
|
119
128
|
},
|
|
120
129
|
operationalization,
|
|
121
130
|
counts: {
|
|
@@ -124,10 +133,12 @@ export function onboardingStatus(os) {
|
|
|
124
133
|
relationships: os.relationships.relationships.length,
|
|
125
134
|
decisions: os.decisions.length,
|
|
126
135
|
rawSources: os.sourceCount
|
|
127
|
-
}
|
|
128
|
-
backend: 'local'
|
|
136
|
+
}
|
|
129
137
|
};
|
|
130
138
|
}
|
|
139
|
+
function shellArg(value) {
|
|
140
|
+
return /^[A-Za-z0-9_./:@%+=,-]+$/.test(value) ? value : JSON.stringify(value);
|
|
141
|
+
}
|
|
131
142
|
function rank(results, limit) {
|
|
132
143
|
return results
|
|
133
144
|
.filter((result) => result.score > 0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unson/brainbase-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Local-first Brainbase MCP server and personal onboarding kit.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=20"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "de6ebc16b28dd6ac37c05443f0f6fe8b5abd0602"
|
|
65
65
|
}
|