-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.51 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 2.51 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
{
"name": "agent-cli-proxy",
"version": "0.2.6",
"description": "Self-hosted AI API proxy with per-tool usage monitoring, account attribution, and cost tracking for OpenAI/Anthropic-compatible APIs.",
"module": "./dist/index.js",
"type": "module",
"private": false,
"author": "Agent CLI Proxy contributors",
"license": "MIT",
"homepage": "https://github.com/INONONO66/agent-cli-proxy",
"repository": {
"type": "git",
"url": "git+https://github.com/INONONO66/agent-cli-proxy.git"
},
"bugs": {
"url": "https://github.com/INONONO66/agent-cli-proxy/issues"
},
"keywords": [
"ai",
"proxy",
"anthropic",
"openai",
"claude",
"cli",
"usage-tracking",
"cost-tracking",
"self-hosted"
],
"engines": {
"bun": ">=1.3.0",
"node": ">=20.0.0"
},
"bin": {
"agent-cli-proxy": "./dist/cli.js"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"dev": "bun run --watch src/index.ts",
"build": "bun build src/index.ts src/cli.ts --target=bun --outdir=./dist && rm -rf dist/migrations && cp -R src/storage/migrations dist/migrations && bun run scripts/post-build.ts",
"typecheck": "bunx tsc --noEmit",
"test": "bun test",
"release-check": "bun run typecheck && bun run test && bun run build && (bunx publint . || bun run scripts/release-fallback-check.ts)",
"prepublishOnly": "bun run release-check",
"pack:check": "bun pm pack --dry-run",
"test:e2e": "bun test tests/e2e/",
"test:e2e:mock": "MOCK_CLI_PROXY=1 CLI_PROXY_API_URL=http://localhost:18317 bun test tests/e2e/admin-auth.test.ts && MOCK_CLI_PROXY=1 CLI_PROXY_API_URL=http://localhost:18317 bun test tests/e2e/body-size-limit.test.ts && MOCK_CLI_PROXY=1 CLI_PROXY_API_URL=http://localhost:18317 bun test tests/e2e/ready.test.ts && MOCK_CLI_PROXY=1 CLI_PROXY_API_URL=http://localhost:18317 bun test tests/e2e/proxy.test.ts && MOCK_CLI_PROXY=1 CLI_PROXY_API_URL=http://localhost:18317 bun test tests/e2e/transforms.test.ts",
"start": "bun run dist/index.js",
"backfill:costs": "bun run src/cli.ts backfill-costs --env .env",
"release": "bun run scripts/release.ts",
"release:patch": "bun run scripts/release.ts patch",
"release:minor": "bun run scripts/release.ts minor",
"release:major": "bun run scripts/release.ts major",
"release:dry-run": "bun run scripts/release.ts --dry-run"
},
"devDependencies": {
"@types/bun": "latest",
"@types/node": "^25.9.1"
},
"peerDependencies": {
"typescript": "^5"
}
}