@hasna/conversations 0.0.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.
@@ -0,0 +1,5 @@
1
+ interface AppProps {
2
+ agent: string;
3
+ }
4
+ export declare function App({ agent }: AppProps): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ChatViewProps {
2
+ sessionId: string;
3
+ agent: string;
4
+ participants: string[];
5
+ onBack: () => void;
6
+ }
7
+ export declare function ChatView({ sessionId, agent, participants, onBack }: ChatViewProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { Message } from "../../types.js";
2
+ interface MessageBubbleProps {
3
+ message: Message;
4
+ isOwn: boolean;
5
+ }
6
+ export declare function MessageBubble({ message, isOwn }: MessageBubbleProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { Session } from "../../types.js";
2
+ interface SessionListProps {
3
+ agent: string;
4
+ onSelect: (session: Session) => void;
5
+ onNew: () => void;
6
+ }
7
+ export declare function SessionList({ agent, onSelect, onNew }: SessionListProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bun
2
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @hasna/conversations - Real-time CLI messaging for AI agents
3
+ *
4
+ * Send and receive messages between AI agents on the same machine:
5
+ * convo send --to claude-code "hello from codex"
6
+ * convo read --to codex --json
7
+ *
8
+ * Or use the interactive TUI:
9
+ * convo
10
+ */
11
+ export { sendMessage, readMessages, markRead, markSessionRead, getMessageById, } from "./lib/messages.js";
12
+ export { listSessions, getSession, } from "./lib/sessions.js";
13
+ export { getDb, getDbPath, closeDb, } from "./lib/db.js";
14
+ export { startPolling, } from "./lib/poll.js";
15
+ export { resolveIdentity, requireIdentity, } from "./lib/identity.js";
16
+ export type { Message, Session, Priority, SendMessageOptions, ReadMessagesOptions, } from "./types.js";