@kynver-app/mcp-agent-os 0.1.0 → 0.1.1
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/server.js +3 -3
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -38,7 +38,7 @@ export function createAgentOsServer() {
|
|
|
38
38
|
const defaultAgentOsSlug = () => process.env.KYNVER_AGENT_OS_SLUG?.trim() || "ghost";
|
|
39
39
|
const osSlug = (s) => (s && s.trim()) || defaultAgentOsSlug();
|
|
40
40
|
register("agent_os_get_context", "Get the agent's full Agentic-OS state in one call: identity, open goals, active projects with current focus/next-actions/blockers, recent sessions, contacts, and long-term memory stats. Use at session start instead of reading SOUL.md / USER.md / MEMORY.md.", { slug: z.string().optional().describe("AgentOS slug. Defaults to KYNVER_AGENT_OS_SLUG, then 'ghost'.") }, async (args) => jsonResult(await get(`/agent-os/${osSlug(args.slug)}/stats`)));
|
|
41
|
-
register("agent_os_open_session", "
|
|
41
|
+
register("agent_os_open_session", "Call this at the START of every session. Records channel, model, and opens a session record for continuity. Ghost calls this immediately after agent_os_get_context on startup.", {
|
|
42
42
|
channel: z.string().describe("Runtime channel: 'webchat' | 'telegram' | 'discord' | …"),
|
|
43
43
|
model: z.string().optional().describe("Model used for the session (default 'claude-sonnet-4-6')."),
|
|
44
44
|
slug: z.string().optional().describe("AgentOS slug. Defaults to KYNVER_AGENT_OS_SLUG, then 'ghost'."),
|
|
@@ -46,7 +46,7 @@ export function createAgentOsServer() {
|
|
|
46
46
|
const { slug, ...body } = args;
|
|
47
47
|
return jsonResult(await post(`/agent-os/${osSlug(slug)}/sessions`, body));
|
|
48
48
|
});
|
|
49
|
-
register("agent_os_close_session", "
|
|
49
|
+
register("agent_os_close_session", "Call this at the END of every session with a summary of what was accomplished and key decisions made. This is how Ghost maintains cross-session continuity — without it, the next session has no record of what happened.", {
|
|
50
50
|
sessionId: z.string(),
|
|
51
51
|
summary: z.string(),
|
|
52
52
|
topicsWorked: z.array(z.string()).optional(),
|
|
@@ -142,7 +142,7 @@ export function createAgentOsServer() {
|
|
|
142
142
|
const { projectId, slug, ...body } = args;
|
|
143
143
|
return jsonResult(await patch(`/agent-os/${osSlug(slug)}/projects/${projectId}`, body));
|
|
144
144
|
});
|
|
145
|
-
register("agent_os_search_memory", "Semantic + keyword hybrid search over the agent's long-term MARM memory (ownerType=agent). Use to recall specific decisions, project details, or lessons without loading full context. Replaces grep/reading MEMORY.md.", {
|
|
145
|
+
register("agent_os_search_memory", "Semantic + keyword hybrid search over the agent's long-term MARM memory (ownerType=agent). Use to recall specific decisions, project details, or lessons without loading full context. Replaces grep/reading MEMORY.md. Results include rrfScore — a Reciprocal Rank Fusion score where ~0.033 is a near-perfect match. Higher is better; do not treat low numbers as poor results.", {
|
|
146
146
|
query: z.string().describe("Natural language query to search memory."),
|
|
147
147
|
k: z.number().optional().describe("Number of results (default 10, max 50)."),
|
|
148
148
|
slug: z.string().optional(),
|
package/package.json
CHANGED