@opennous/mcp 0.55.0 → 0.57.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/package.json +1 -1
- package/src/server.js +7 -1
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -676,11 +676,17 @@ export function createServer() {
|
|
|
676
676
|
: "MEMBER — you see only your own book plus the shared graph";
|
|
677
677
|
const roles = Array.isArray(y.roles) && y.roles.length ? y.roles.join(", ") : "none set";
|
|
678
678
|
const cap = y.capability === "read_only" ? "read-only" : "read/write";
|
|
679
|
+
const s = r.setup || {};
|
|
680
|
+
// The orientation line — what the agent should do NEXT, right now.
|
|
681
|
+
const next = !s.onboarded
|
|
682
|
+
? "Setup: NOT onboarded yet (fresh workspace). NEXT → run the `onboard` skill now to build the graph."
|
|
683
|
+
: `Setup: onboarded · ${s.accounts || 0} accounts · ICP ${s.has_icp ? "set" : "not set"}. NEXT → run \`focus\` for today's worklist.`;
|
|
679
684
|
return { content: [{ type: "text", text:
|
|
680
685
|
`You are acting as ${who} on ${w.name || "this workspace"}.\n` +
|
|
681
686
|
`Scope: ${scope}.\n` +
|
|
682
687
|
`Role(s): ${roles}.\n` +
|
|
683
|
-
`Capability: ${cap}
|
|
688
|
+
`Capability: ${cap}.\n` +
|
|
689
|
+
next }] };
|
|
684
690
|
}
|
|
685
691
|
);
|
|
686
692
|
|