@hasna/files 0.1.4 → 0.1.6
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/index.js +107 -8935
- package/dist/db/pg-migrations.d.ts +4 -0
- package/dist/index.d.ts +114 -15
- package/dist/index.js +411 -9300
- package/dist/mcp/index.js +95 -8922
- package/dist/server/index.js +87 -8915
- package/package.json +7 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/files",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Agent-first file management
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "Agent-first file management \u2014 index local folders and S3 buckets, tag, search, and retrieve files via CLI + MCP",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -23,17 +23,18 @@
|
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "cd dashboard && bun run build && cd .. && bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk && bun build src/server/index.ts --outdir dist/server --target bun && bun build src/index.ts --outdir dist --target bun &&
|
|
26
|
+
"build": "cd dashboard && bun run build && cd .. && bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk && bun build src/server/index.ts --outdir dist/server --target bun && bun build src/index.ts --outdir dist --target bun && cp src/types/index.ts dist/index.d.ts",
|
|
27
27
|
"build:cli": "bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external @modelcontextprotocol/sdk",
|
|
28
28
|
"build:mcp": "bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk",
|
|
29
29
|
"build:server": "bun build src/server/index.ts --outdir dist/server --target bun",
|
|
30
|
-
"build:lib": "bun build src/index.ts --outdir dist --target bun &&
|
|
30
|
+
"build:lib": "bun build src/index.ts --outdir dist --target bun && cp src/types/index.ts dist/index.d.ts",
|
|
31
31
|
"build:dashboard": "cd dashboard && bun run build",
|
|
32
32
|
"typecheck": "tsc --noEmit",
|
|
33
33
|
"test": "bun test",
|
|
34
34
|
"dev:cli": "bun run src/cli/index.tsx",
|
|
35
35
|
"dev:mcp": "bun run src/mcp/index.ts",
|
|
36
|
-
"dev:serve": "bun run src/server/index.ts"
|
|
36
|
+
"dev:serve": "bun run src/server/index.ts",
|
|
37
|
+
"postinstall": "mkdir -p $HOME/.hasna/files 2>/dev/null || true"
|
|
37
38
|
},
|
|
38
39
|
"keywords": [
|
|
39
40
|
"files",
|
|
@@ -75,4 +76,4 @@
|
|
|
75
76
|
"bun-types": "latest",
|
|
76
77
|
"typescript": "^5.8.2"
|
|
77
78
|
}
|
|
78
|
-
}
|
|
79
|
+
}
|