-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.54 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
{
"name": "recourse-cli",
"version": "0.1.39",
"mcpName": "io.github.recourseOS/recourse",
"description": "MCP server for AI agents to evaluate consequences before destructive actions. Analyzes Terraform plans, shell commands, and MCP tool calls.",
"main": "dist/index.js",
"bin": {
"recourse": "bin/recourse"
},
"scripts": {
"build": "tsc",
"prepack": "npm run build",
"postversion": "node -e \"const v=require('./package.json').version; const fs=require('fs'); let f=fs.readFileSync('docs/index.html','utf8'); f=f.replace(/· v[0-9]+\\.[0-9]+\\.[0-9]+/g,'· v'+v); fs.writeFileSync('docs/index.html',f);\" && git add docs/index.html",
"pack:check": "npm pack --dry-run --cache .npm-cache",
"dev": "tsc --watch",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"test:cli": "npm run build && vitest --run tests/cli-scenarios.test.ts",
"test:all": "npm run build && vitest --run && vitest --run tests/cli-scenarios.test.ts",
"test:aws-live": "RUN_AWS_LIVE_TESTS=1 vitest --run tests/aws-live.test.ts",
"test:docs:visual": "playwright test",
"mcp:smoke": "npm run build && node dist/tools/smoke-test-mcp.js",
"docs:coverage": "npm run build && node dist/tools/generate-resource-coverage.js",
"docs:pages": "npm run build && node dist/tools/generate-doc-pages.js",
"docs:all": "npm run docs:coverage && npm run docs:pages",
"lint": "eslint src --ext .ts",
"recourse": "node dist/index.js",
"deploy": "wrangler deploy",
"preview": "wrangler dev"
},
"keywords": [
"mcp",
"mcp-server",
"model-context-protocol",
"ai-agents",
"terraform",
"infrastructure",
"consequence-analysis",
"blast-radius",
"safety",
"claude",
"llm"
],
"author": "",
"repository": {
"type": "git",
"url": "git+https://github.com/recourseOS/recourse.git"
},
"homepage": "https://github.com/recourseOS/recourse#readme",
"license": "MIT",
"files": [
"dist",
"bin",
"docs/console.html",
"docs/site.css",
"docs/favicon.svg"
],
"devDependencies": {
"@playwright/test": "^1.59.1",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/coverage-v8": "^4.1.5",
"eslint": "^8.55.0",
"typescript": "^5.3.0",
"vitest": "^4.1.5",
"wrangler": "^4.86.0"
},
"dependencies": {
"@aws-sdk/client-sts": "^3.1045.0",
"chalk": "^5.3.0",
"commander": "^11.1.0"
},
"type": "module",
"engines": {
"node": ">=18.0.0"
}
}