@jclvsh/xmark 0.1.0 → 0.2.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/dist/cli.js CHANGED
@@ -41,7 +41,7 @@ program
41
41
  .description("Trigger a fresh sync from X")
42
42
  .action(async () => {
43
43
  const result = await client().post("/bookmarks/sync");
44
- console.log(`Synced ${result.count} bookmarks (${result.newCount} new) in ${result.durationMs}ms.`);
44
+ console.log(`Synced ${result.count} bookmarks (${result.newCount} new, ${result.removedCount} removed) in ${result.durationMs}ms.`);
45
45
  });
46
46
  program
47
47
  .command("list")
@@ -40,7 +40,7 @@ export function registerBookmarkTools(server, client) {
40
40
  content: [
41
41
  {
42
42
  type: "text",
43
- text: `Synced ${result.count} bookmarks (${result.newCount} new) in ${result.durationMs}ms.`,
43
+ text: `Synced ${result.count} bookmarks (${result.newCount} new, ${result.removedCount} removed) in ${result.durationMs}ms.`,
44
44
  },
45
45
  ],
46
46
  };
package/dist/types.d.ts CHANGED
@@ -45,6 +45,7 @@ export interface ChatResult {
45
45
  export interface SyncResult {
46
46
  count: number;
47
47
  newCount: number;
48
+ removedCount: number;
48
49
  durationMs: number;
49
50
  }
50
51
  export interface Conversation {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jclvsh/xmark",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "MCP server and CLI for the xmark API — chat with your X bookmarks from inside Claude Code, Cursor, or any MCP client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",