runwarden 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +402 -2
- package/assets/gate-overview.svg +80 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +21 -0
- package/dist/index.d.ts +1235 -0
- package/dist/index.js +1336 -0
- package/dist/init-Dm_qLwix.js +242 -0
- package/dist/rolldown-runtime-D8jQpDG7.js +12 -0
- package/migrations/0000_init.sql +84 -0
- package/migrations/meta/0000_snapshot.json +720 -0
- package/migrations/meta/_journal.json +13 -0
- package/package.json +105 -4
package/package.json
CHANGED
|
@@ -1,6 +1,107 @@
|
|
|
1
1
|
{
|
|
2
|
+
"author": "Eric Lee",
|
|
3
|
+
"bin": {
|
|
4
|
+
"runwarden": "./dist/cli.js"
|
|
5
|
+
},
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/happyeric77/runwarden/issues"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@ai-sdk/openai-compatible": "3.0.60",
|
|
11
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
12
|
+
"@types/pg": "^8.15.5",
|
|
13
|
+
"ai": "7.0.123",
|
|
14
|
+
"drizzle-orm": "^0.45.4",
|
|
15
|
+
"pg": "^8.23.1",
|
|
16
|
+
"zod": "^3.24.1"
|
|
17
|
+
},
|
|
18
|
+
"description": "A lightweight, self-hosted TypeScript agent runtime: durable invocations on your own Postgres, with enforced tool-call policy, governance, and audit.",
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@ianvs/prettier-plugin-sort-imports": "4.7.0",
|
|
21
|
+
"@types/node": "^22.10.2",
|
|
22
|
+
"drizzle-kit": "^0.31.11",
|
|
23
|
+
"embedded-postgres": "^18.4.0-beta.17",
|
|
24
|
+
"prettier": "3.6.2",
|
|
25
|
+
"tsdown": "^0.23.4",
|
|
26
|
+
"tsx": "^4.19.2",
|
|
27
|
+
"typescript": "^5.7.2",
|
|
28
|
+
"vitest": "^2.1.8"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=22.0.0"
|
|
32
|
+
},
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"default": "./dist/index.js"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"assets",
|
|
41
|
+
"dist",
|
|
42
|
+
"migrations"
|
|
43
|
+
],
|
|
44
|
+
"homepage": "https://github.com/happyeric77/runwarden#readme",
|
|
45
|
+
"keywords": [
|
|
46
|
+
"agent",
|
|
47
|
+
"ai",
|
|
48
|
+
"audit",
|
|
49
|
+
"durable",
|
|
50
|
+
"mcp",
|
|
51
|
+
"policy",
|
|
52
|
+
"postgres",
|
|
53
|
+
"runtime",
|
|
54
|
+
"typescript"
|
|
55
|
+
],
|
|
56
|
+
"license": "MIT",
|
|
57
|
+
"main": "./dist/index.js",
|
|
2
58
|
"name": "runwarden",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
59
|
+
"packageManager": "pnpm@10.34.9",
|
|
60
|
+
"pnpm": {
|
|
61
|
+
"onlyBuiltDependencies": [
|
|
62
|
+
"@embedded-postgres/darwin-arm64",
|
|
63
|
+
"@embedded-postgres/darwin-x64",
|
|
64
|
+
"@embedded-postgres/linux-arm",
|
|
65
|
+
"@embedded-postgres/linux-arm64",
|
|
66
|
+
"@embedded-postgres/linux-ia32",
|
|
67
|
+
"@embedded-postgres/linux-ppc64",
|
|
68
|
+
"@embedded-postgres/linux-x64",
|
|
69
|
+
"@embedded-postgres/windows-x64"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"prettier": {
|
|
73
|
+
"importOrder": [
|
|
74
|
+
"<BUILTIN_MODULES>",
|
|
75
|
+
"",
|
|
76
|
+
"<THIRD_PARTY_MODULES>",
|
|
77
|
+
"",
|
|
78
|
+
"^[./]"
|
|
79
|
+
],
|
|
80
|
+
"plugins": [
|
|
81
|
+
"@ianvs/prettier-plugin-sort-imports"
|
|
82
|
+
],
|
|
83
|
+
"printWidth": 80,
|
|
84
|
+
"semi": true,
|
|
85
|
+
"singleQuote": true,
|
|
86
|
+
"trailingComma": "all"
|
|
87
|
+
},
|
|
88
|
+
"repository": {
|
|
89
|
+
"type": "git",
|
|
90
|
+
"url": "git+https://github.com/happyeric77/runwarden.git"
|
|
91
|
+
},
|
|
92
|
+
"scripts": {
|
|
93
|
+
"build": "tsdown",
|
|
94
|
+
"demo": "tsx examples/governed-invocation.ts",
|
|
95
|
+
"format": "prettier --write '**/*.{ts,json,md}'",
|
|
96
|
+
"format:check": "prettier --check '**/*.{ts,json,md}'",
|
|
97
|
+
"prepack": "npm run build",
|
|
98
|
+
"quickstart": "tsx examples/quickstart/main.ts",
|
|
99
|
+
"test": "vitest run",
|
|
100
|
+
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
101
|
+
"typecheck": "tsc --noEmit"
|
|
102
|
+
},
|
|
103
|
+
"sideEffects": false,
|
|
104
|
+
"type": "module",
|
|
105
|
+
"types": "./dist/index.d.ts",
|
|
106
|
+
"version": "0.2.0"
|
|
107
|
+
}
|