-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "@hasna/secrets",
"version": "0.2.22",
"description": "A local secrets vault for AI agents — store API keys, passwords, tokens, and any credentials",
"type": "module",
"main": "./dist/sdk.js",
"types": "./dist/sdk.d.ts",
"bin": {
"secrets": "dist/index.js",
"secrets-mcp": "dist/mcp-server.js",
"secrets-serve": "dist/server/index.js"
},
"exports": {
".": {
"types": "./dist/sdk.d.ts",
"import": "./dist/sdk.js"
},
"./security": {
"types": "./dist/security.d.ts",
"import": "./dist/security.js"
},
"./scanner": {
"types": "./dist/scanner.d.ts",
"import": "./dist/scanner.js"
},
"./redaction": {
"types": "./dist/redaction.d.ts",
"import": "./dist/redaction.js"
},
"./status": {
"types": "./dist/status.d.ts",
"import": "./dist/status.js"
},
"./storage": {
"types": "./dist/storage.d.ts",
"import": "./dist/storage.js"
},
"./sdk": {
"types": "./dist/sdk.d.ts",
"import": "./dist/sdk.js"
}
},
"scripts": {
"build": "rm -rf dist && bun build src/index.ts src/status.ts src/storage.ts src/security.ts src/scanner.ts src/redaction.ts src/loop-tasks.ts src/mcp-server.ts src/sdk.ts --root src --outdir dist --target bun --format esm --external pg --external @aws-sdk/* --external @hasna/events --external @hasna/events/* --external @modelcontextprotocol/sdk && bun build src/server/index.ts --outdir dist/server --target bun --format esm --external pg --external @aws-sdk/* --external @hasna/events --external @hasna/events/* --external @modelcontextprotocol/sdk && chmod +x dist/index.js dist/mcp-server.js dist/server/index.js && tsc --emitDeclarationOnly --outDir dist",
"build:bin": "bun build src/index.ts --compile --outfile dist/secrets",
"typecheck": "tsc --noEmit",
"test": "bun test",
"prepublishOnly": "bun run build",
"postinstall": "mkdir -p $HOME/.hasna/secrets 2>/dev/null || true"
},
"files": [
"dist",
"migrations",
"Dockerfile.package",
"bun.lock",
"README.md",
"LICENSE"
],
"keywords": [
"secrets",
"vault",
"credentials",
"agents",
"ai",
"cli"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hasna/secrets.git"
},
"author": "hasna",
"license": "Apache-2.0",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": {
"@types/pg": "^8.15.6",
"@types/bun": "latest",
"typescript": "^5.7.3",
"@hasna/contracts": "^0.4.2",
"@hasna/mcp-harness": "0.1.0"
},
"dependencies": {
"@aws-sdk/client-secrets-manager": "^3.1008.0",
"@aws-sdk/credential-providers": "^3.1008.0",
"@hasna/events": "^0.1.13",
"@modelcontextprotocol/sdk": "^1.27.1",
"@smithy/core": "^3.25.1",
"commander": "^13.1.0",
"pg": "^8.20.0"
}
}