Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.6 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 2.6 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
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "exactly-once",
"version": "0.3.1",
"description": "Exactly-once PostgreSQL commits for AI agent actions, with domain validation and persisted receipts.",
"license": "MIT",
"author": "Alejandro Alvarado (roddcode) <roddcode.dev@gmail.com>",
"homepage": "https://roddcode.com",
"repository": {
"type": "git",
"url": "git+https://github.com/roddcode/exactly-once.git"
},
"keywords": [
"ai-agents",
"exactly-once",
"idempotency",
"agent-actions",
"postgres",
"llm",
"transactions"
],
"packageManager": "pnpm@11.1.3",
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=22.13.0"
},
"files": [
"dist",
"docs",
"CHANGELOG.md"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./mcp": {
"import": {
"types": "./dist/mcp.d.mts",
"default": "./dist/mcp.mjs"
},
"require": {
"types": "./dist/mcp.d.cts",
"default": "./dist/mcp.cjs"
}
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsdown",
"check": "biome check --write .",
"lint": "biome check .",
"typecheck": "tsc --noEmit",
"test": "vitest run test/unit",
"test:db": "vitest run --config vitest.db.config.ts --no-file-parallelism",
"test:coverage": "vitest run --config vitest.db.config.ts --no-file-parallelism --coverage",
"db:up": "docker compose up -d --wait",
"db:down": "docker compose down -v",
"validate:package": "publint && attw --pack .",
"smoke:mcp": "node smoke.mjs",
"example:mcp-retry": "node examples/mcp-retry/run.mjs"
},
"typesVersions": {
"*": {
"mcp": [
"dist/mcp.d.mts"
]
}
},
"peerDependencies": {
"@modelcontextprotocol/sdk": "^1.32.0",
"zod": "^3.25 || ^4.6.6"
},
"peerDependenciesMeta": {
"@modelcontextprotocol/sdk": {
"optional": true
},
"zod": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@biomejs/biome": "^2.5.14",
"@modelcontextprotocol/sdk": "^1.32.2",
"@types/node": "^26.6.2",
"@types/pg": "^8.23.1",
"@vitest/coverage-v8": "^5.1.0",
"pg": "^8.23.0",
"publint": "^0.3.24",
"tsdown": "^0.23.0",
"typescript": "^7.0.2",
"vite": "8.3.8",
"vitest": "^5.1.0",
"zod": "4.6.7"
}
}