Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
162 lines (162 loc) · 7.53 KB
/
Copy pathpackage.json
File metadata and controls
162 lines (162 loc) · 7.53 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "arc-1",
"version": "1.7.0",
"mcpName": "io.github.arc-mcp/arc-1",
"description": "ARC-1 — MCP Server for SAP ABAP Systems",
"author": "Marian Zeis",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/arc-mcp/arc-1"
},
"type": "module",
"engines": {
"node": ">=22.19"
},
"bin": {
"arc-1": "./bin/arc1.js",
"arc1": "./bin/arc1.js",
"arc1-cli": "./bin/arc1-cli.js",
"arc1-source": "./bin/arc1-source.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./public": {
"types": "./dist/public/index.d.ts",
"default": "./dist/public/index.js"
},
"./public/testing": {
"types": "./dist/public/testing.d.ts",
"default": "./dist/public/testing.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"bin",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc && node -e \"const fs=require('fs');fs.cpSync('src/aff/schemas','dist/aff/schemas',{recursive:true});if(fs.existsSync('public/ui'))fs.cpSync('public/ui','dist/public/ui',{recursive:true})\"",
"dev": "tsx src/index.ts",
"dev:http": "npm run build && tsx src/index.ts --transport http-streamable",
"docs:build": "mkdocs build --strict",
"docs:serve": "mkdocs serve --dev-addr 127.0.0.1:8000",
"start": "node dist/index.js",
"test": "vitest run",
"test:watch": "vitest",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:integration:slow": "vitest run --config vitest.integration.slow.config.ts",
"test:integration:btp": "vitest run --config vitest.integration.config.ts tests/integration/btp-abap.integration.test.ts",
"test:integration:btp:smoke": "vitest run --config vitest.integration.config.ts tests/integration/btp-abap.smoke.integration.test.ts",
"test:integration:crud": "vitest run --config vitest.integration.config.ts tests/integration/crud.lifecycle.integration.test.ts",
"test:authz:http": "node scripts/check-authz-http-profiles.mjs",
"test:target-auth:harness": "node --test scripts/spikes/pr677-target-authorization/*.test.mjs",
"test:npx-smoke": "npm run build && node scripts/ci/assert-npx-bin-smoke.mjs",
"test:relations:smoke": "npm run build && tsx scripts/smoke-live-relations.ts",
"bench:context-parsing": "tsx scripts/bench-context-parsing.ts",
"test:integration:skip-summary": "vitest run --config vitest.integration.config.ts --reporter=verbose 2>&1 | node scripts/ci/summarize-skips.mjs",
"test:coverage": "vitest run --coverage",
"test:coverage-report": "node scripts/ci/coverage-summary.mjs",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.scripts.json && tsc --noEmit -p tsconfig.tests.json",
"validate:policy": "tsx scripts/validate-action-policy.ts",
"build:sea": "node scripts/build-sea.mjs",
"test:sea-smoke": "node scripts/ci/smoke-sea.mjs",
"check:sizes": "node scripts/ci/check-file-sizes.mjs && tsx scripts/ci/check-tool-schema-budget.ts",
"cli": "tsx src/cli.ts",
"extract-sap-cookies": "tsx src/extract-sap-cookies.ts",
"probe": "tsx scripts/probe-adt-types.ts",
"prepare": "husky || true",
"prepublishOnly": "npm run build",
"test:eval": "node scripts/run-evals.mjs",
"test:eval:live": "node scripts/run-evals.mjs --backend live",
"test:e2e": "npm run test:e2e:fixtures && vitest run --config tests/e2e/vitest.e2e.config.ts",
"test:e2e:slow": "npm run test:e2e:fixtures && vitest run --config tests/e2e/vitest.e2e.slow.config.ts",
"test:e2e:fixtures": "tsx tests/e2e/sync-fixtures.ts",
"test:e2e:fixtures:clean": "tsx tests/e2e/sync-fixtures.ts --clean",
"test:cleanup": "tsx scripts/test-janitor.ts",
"test:e2e:start": "bash scripts/e2e-start-local.sh",
"test:e2e:stop": "bash scripts/e2e-stop-local.sh",
"test:e2e:deploy": "bash scripts/e2e-deploy.sh",
"test:e2e:stop:remote": "bash scripts/e2e-stop.sh",
"test:e2e:full": "bash scripts/e2e-run-local.sh",
"test:e2e:skip-summary": "vitest run --config tests/e2e/vitest.e2e.config.ts --reporter=verbose 2>&1 | node scripts/ci/summarize-skips.mjs",
"test:reliability-report": "node scripts/ci/collect-test-reliability.mjs",
"test:runtime-report": "node scripts/ci/test-runtime-summary.mjs",
"test:assert-execution": "node scripts/ci/assert-required-test-execution.mjs",
"btp:validate": "npx mbt validate && npx mbt validate -e mta-overrides.mtaext.example && npx mbt validate -e mta-overrides.mtaext.example -e mta-ui-approuter.mtaext && npx mbt validate -e examples/btp/single-basic/profile.mtaext && npx mbt validate -e examples/btp/single-pp/profile.mtaext && npx mbt validate -e examples/btp/multi-pp/profile.mtaext && npx mbt validate -e examples/btp/multi-pp/profile.mtaext -e examples/btp/multi-pp/target-authorization.mtaext && node scripts/ci/check-target-authorization-mta.mjs",
"btp:build": "npx mbt build",
"btp:build-ui-ext": "npx mbt build -e mta-ui-approuter.mtaext",
"btp:deploy": "node -e \"const v=require('./package.json').version;require('child_process').execSync('cf deploy mta_archives/arc1-mcp_'+v+'.mtar',{stdio:'inherit'})\"",
"btp:deploy-ext": "node -e \"const v=require('./package.json').version;require('child_process').execSync('cf deploy mta_archives/arc1-mcp_'+v+'.mtar -e mta-overrides.mtaext',{stdio:'inherit'})\"",
"btp:deploy-ui-ext": "node scripts/btp/prepare-ui-mtaext.mjs && node -e \"const v=require('./package.json').version;require('child_process').execSync('cf deploy mta_archives/arc1-mcp_'+v+'.mtar -e mta-ui-deploy.mtaext',{stdio:'inherit'})\"",
"btp:build-deploy": "npm run btp:build && npm run btp:deploy",
"btp:build-deploy-ext": "npm run btp:build && npm run btp:deploy-ext",
"btp:build-deploy-ui-ext": "npm run btp:build-ui-ext && npm run btp:deploy-ui-ext",
"audit:ci": "audit-ci --config audit-ci.json"
},
"dependencies": {
"@abaplint/core": "^2.120.80",
"@arc-mcp/xsuaa-auth": "^1.1.0",
"@modelcontextprotocol/sdk": "^1.32.1",
"@sap-cloud-sdk/connectivity": "^4.9.1",
"@sap/xsenv": "^6.2.2",
"@sap/xssec": "^4.15.0",
"ajv": "^8.18.0",
"better-sqlite3": "^13.0.3",
"commander": "^15.0.0",
"cors": "2.8.6",
"diff": "^9.0.0",
"dotenv": "^18.0.8",
"express": "^5.3.0",
"express-rate-limit": "^8.7.1",
"fast-xml-parser": "^5.11.2",
"helmet": "^8.3.0",
"jose": "^6.2.12",
"on-headers": "^1.1.0",
"rate-limiter-flexible": "^11.2.2",
"undici": "^8.12.2",
"zod": "^4.6.7"
},
"overrides": {
"@hono/node-server": "2.1.5",
"esbuild": "^0.28.1",
"form-data": "^4.0.6",
"vite": "^8.0.16"
},
"lint-staged": {
"*.{ts,js,json}": "biome check --write --no-errors-on-unmatched"
},
"devDependencies": {
"@biomejs/biome": "^2.5.15",
"@types/better-sqlite3": "^9.6.0",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^22.20.5",
"@types/on-headers": "^1.0.4",
"@types/supertest": "^7.2.1",
"@vitest/coverage-v8": "^5.0.5",
"audit-ci": "7.1.0",
"esbuild": "^0.28.1",
"husky": "^9.1.7",
"lint-staged": "^17.6.0",
"postject": "^1.0.0-alpha.6",
"supertest": "^7.3.1",
"tsx": "^4.23.15",
"typescript": "~7.0.2",
"vitest": "^5.0.0",
"yaml": "^2.9.1"
}
}