secondbrainos-mcp-server 1.10.0 → 1.10.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/bin/cli.js +2 -2
- package/build/index.js +1 -0
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import axios from 'axios';
|
|
|
4
4
|
import { promises as fs } from 'fs';
|
|
5
5
|
import * as fsSync from 'fs'; // Add this line to import the synchronous fs functions
|
|
6
6
|
import path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
7
|
+
import { fileURLToPath, pathToFileURL } from 'url';
|
|
8
8
|
import { homedir } from 'os';
|
|
9
9
|
import { exec } from 'child_process';
|
|
10
10
|
import { promisify } from 'util';
|
|
@@ -211,7 +211,7 @@ async function serve() {
|
|
|
211
211
|
// Import and run the server
|
|
212
212
|
const packageRoot = path.resolve(__dirname, '..');
|
|
213
213
|
const serverModule = path.join(packageRoot, 'build', 'index.js');
|
|
214
|
-
await import(serverModule);
|
|
214
|
+
await import(pathToFileURL(serverModule).href);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
async function main() {
|
package/build/index.js
CHANGED
|
@@ -655,6 +655,7 @@ These terms are synonyms and used interchangeably in SBOS:
|
|
|
655
655
|
- **Tabs / Agents** — AI agents with behaviour, knowledge, tools, and skills
|
|
656
656
|
- **Services / Tools** — always MCP tools
|
|
657
657
|
- **Workflows / Skills** — a skill is a structured set of prompts, enabling optimised context per step so the agent can progress through a skill without overload
|
|
658
|
+
- A workflow **contains prompts**, and those prompts are the skill itself — to fetch or run them you must use the \`runPromptChain\` tool (with \`entity\` + \`entity_id\`); there is no other way to access a workflow's prompts
|
|
658
659
|
|
|
659
660
|
## Agent Architecture
|
|
660
661
|
An agent definition combines:
|