@hasna/recordings 0.1.8 → 0.1.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/recordings",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "type": "module",
5
5
  "description": "Speech-to-text recording tool with MCP and CLI — records, transcribes, and optionally enhances text using AI",
6
6
  "main": "dist/index.js",
@@ -24,10 +24,11 @@
24
24
  "test": "bun test",
25
25
  "test:coverage": "bun test --coverage",
26
26
  "dev:cli": "bun run src/cli/index.ts",
27
- "dev:mcp": "bun run src/mcp/index.ts"
27
+ "dev:mcp": "bun run src/mcp/index.ts",
28
+ "postinstall": "mkdir -p $HOME/.hasna/recordings/audio 2>/dev/null || true"
28
29
  },
29
30
  "dependencies": {
30
- "@hasna/cloud": "^0.1.0",
31
+ "@hasna/cloud": "^0.1.24",
31
32
  "@modelcontextprotocol/sdk": "^1.12.1",
32
33
  "chalk": "^5.4.1",
33
34
  "commander": "^13.1.0",
@@ -44,4 +45,4 @@
44
45
  },
45
46
  "license": "Apache-2.0",
46
47
  "author": "Hasna <andrei@hasna.com>"
47
- }
48
+ }
package/src/cli/index.ts CHANGED
@@ -1082,7 +1082,6 @@ program
1082
1082
  .command("remove <id>")
1083
1083
  .alias("rm")
1084
1084
  .alias("uninstall")
1085
- .alias("delete")
1086
1085
  .description("Delete a recording by ID")
1087
1086
  .action((id: string) => {
1088
1087
  const deleted = deleteRecording(id);
package/src/mcp/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
+ import { registerCloudTools } from "@hasna/cloud";
4
5
  import { z } from "zod";
5
6
  import { loadConfig, ensureDataDir } from "../lib/config.js";
6
7
  import { getDatabase, getAdapter } from "../db/database.js";
@@ -459,4 +460,5 @@ server.tool(
459
460
  );
460
461
 
461
462
  const transport = new StdioServerTransport();
463
+ registerCloudTools(server, "recordings");
462
464
  await server.connect(transport);