@hasna/conversations 0.2.23 → 0.2.25
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/index.js +4488 -3226
- package/bin/mcp.js +3236 -1980
- package/dist/cli/commands/agents.d.ts +2 -0
- package/dist/cli/commands/analytics.d.ts +2 -0
- package/dist/cli/commands/messaging.d.ts +2 -0
- package/dist/cli/commands/projects.d.ts +2 -0
- package/dist/cli/commands/spaces.d.ts +2 -0
- package/dist/mcp/tools/advanced.d.ts +6 -0
- package/dist/mcp/tools/agents.d.ts +8 -0
- package/dist/mcp/tools/cloud.d.ts +7 -0
- package/dist/mcp/tools/messaging.d.ts +8 -0
- package/dist/mcp/tools/projects.d.ts +5 -0
- package/dist/mcp/tools/spaces.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Advanced tools: locks, graph, reactions, read receipts, mentions, unread counts,
|
|
3
|
+
* threads, hot sessions, topics, summary, search_tools, describe_tools, send_feedback
|
|
4
|
+
*/
|
|
5
|
+
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
6
|
+
export declare function registerAdvancedTools(server: McpServer, pkgVersion: string): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent/presence tools: register_agent, heartbeat, list_agents, remove_agent,
|
|
3
|
+
* rename_agent, set_focus, get_focus, unfocus, get_session_activity, get_blockers
|
|
4
|
+
*/
|
|
5
|
+
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
6
|
+
export declare function registerAgentTools(server: McpServer, agentFocus: Map<string, {
|
|
7
|
+
project_id: string | null;
|
|
8
|
+
}>, getAgentFocus: (agentId: string) => string | null): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
+
/**
|
|
3
|
+
* Register enhanced cloud sync tools for conversations.
|
|
4
|
+
* Replaces the generic @hasna/cloud registerCloudTools with
|
|
5
|
+
* conflict detection and sync tracking.
|
|
6
|
+
*/
|
|
7
|
+
export declare function registerCloudSyncTools(server: McpServer): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Messaging tools: send_message, read_messages, read_digest, list_sessions, reply,
|
|
3
|
+
* mark_read, mark_unread, mark_space_read, search_messages, export_messages,
|
|
4
|
+
* delete_message, edit_message, pin_message, unpin_message, get_pinned_messages,
|
|
5
|
+
* mark_all_read, broadcast
|
|
6
|
+
*/
|
|
7
|
+
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
8
|
+
export declare function registerMessagingTools(server: McpServer, resolveProjectId: (explicitProjectId: string | undefined, agentId: string) => string | undefined): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Space tools: create_space, list_spaces, send_to_space, read_space,
|
|
3
|
+
* join_space, leave_space, update_space, archive_space, unarchive_space,
|
|
4
|
+
* set_space_topic, get_space_topic, summarize_space
|
|
5
|
+
*/
|
|
6
|
+
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
7
|
+
export declare function registerSpaceTools(server: McpServer): void;
|