@hasna/recordings 0.1.9 → 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/README.md +52 -0
- package/bun.lock +2 -2
- package/dist/cli/index.js +3765 -3129
- package/dist/index.js +3769 -3134
- package/dist/mcp/index.js +9803 -8512
- package/package.json +3 -3
- package/src/cli/index.ts +0 -1
- package/src/mcp/index.ts +2 -0
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/recordings",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Speech-to-text recording tool with MCP and CLI
|
|
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",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"bin": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"postinstall": "mkdir -p $HOME/.hasna/recordings/audio 2>/dev/null || true"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@hasna/cloud": "^0.1.
|
|
31
|
+
"@hasna/cloud": "^0.1.24",
|
|
32
32
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
33
33
|
"chalk": "^5.4.1",
|
|
34
34
|
"commander": "^13.1.0",
|
package/src/cli/index.ts
CHANGED
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);
|