@maxceem/agw 0.1.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 +202 -0
- package/README.md +63 -0
- package/dist/agw.mjs +18815 -0
- package/dist/release/0.1.0/console/.assetsignore +1 -0
- package/dist/release/0.1.0/console/assets/endpoints-zOm2MGG0.js +12 -0
- package/dist/release/0.1.0/console/assets/index-CZYi3Ga7.js +98 -0
- package/dist/release/0.1.0/console/assets/index-CsWBdB28.css +2 -0
- package/dist/release/0.1.0/console/assets/module-DY58MOwM.js +2 -0
- package/dist/release/0.1.0/console/assets/usage-x48kOqlj.js +42 -0
- package/dist/release/0.1.0/console/favicon.svg +22 -0
- package/dist/release/0.1.0/console/index.html +34 -0
- package/dist/release/0.1.0/manifest.json +23 -0
- package/dist/release/0.1.0/migrations/0000_initial.sql +315 -0
- package/dist/release/0.1.0/worker/index.js +86772 -0
- package/dist/release/0.1.0/wrangler.json +82 -0
- package/dist/release-integrity.json +1 -0
- package/package.json +36 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "app-ai-gateway",
|
|
3
|
+
"main": "./worker/index.js",
|
|
4
|
+
"compatibility_date": "2026-07-24",
|
|
5
|
+
"compatibility_flags": [
|
|
6
|
+
"nodejs_compat"
|
|
7
|
+
],
|
|
8
|
+
"workers_dev": true,
|
|
9
|
+
"preview_urls": false,
|
|
10
|
+
"vars": {
|
|
11
|
+
"SECRET_VAULT_MODE": "local",
|
|
12
|
+
"SECRET_VAULT_LOCAL_KEK_CURRENT_VERSION": "1",
|
|
13
|
+
"ALLOW_ADDITIONAL_REGISTRATIONS": "false",
|
|
14
|
+
"DEPLOYMENT_ID": ""
|
|
15
|
+
},
|
|
16
|
+
"triggers": {
|
|
17
|
+
"crons": [
|
|
18
|
+
"17 3 * * *"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"observability": {
|
|
22
|
+
"enabled": true,
|
|
23
|
+
"logs": {
|
|
24
|
+
"enabled": true,
|
|
25
|
+
"head_sampling_rate": 1
|
|
26
|
+
},
|
|
27
|
+
"traces": {
|
|
28
|
+
"enabled": true,
|
|
29
|
+
"head_sampling_rate": 0.01
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"assets": {
|
|
33
|
+
"directory": "./console",
|
|
34
|
+
"not_found_handling": "single-page-application",
|
|
35
|
+
"run_worker_first": [
|
|
36
|
+
"/v1/*"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"d1_databases": [
|
|
40
|
+
{
|
|
41
|
+
"binding": "DB",
|
|
42
|
+
"migrations_dir": "migrations"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"durable_objects": {
|
|
46
|
+
"bindings": [
|
|
47
|
+
{
|
|
48
|
+
"name": "USER_LIMITER",
|
|
49
|
+
"class_name": "UserLimiter"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "ORG_QUOTA",
|
|
53
|
+
"class_name": "OrgQuota"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "ENDPOINT_RATE_LIMITER",
|
|
57
|
+
"class_name": "EndpointRateLimiter"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"migrations": [
|
|
62
|
+
{
|
|
63
|
+
"tag": "v1",
|
|
64
|
+
"new_sqlite_classes": [
|
|
65
|
+
"UserLimiter"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"tag": "v2",
|
|
70
|
+
"new_sqlite_classes": [
|
|
71
|
+
"OrgQuota"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"tag": "v3",
|
|
76
|
+
"new_sqlite_classes": [
|
|
77
|
+
"EndpointRateLimiter"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"no_bundle": true
|
|
82
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"0.1.0","sha256":"01362496bd1c71b7aa09dcbc9572217976dff220ee5e453c78153b13c9a09ce4"}
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@maxceem/agw",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "App AI Gateway CLI",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"bin": {
|
|
8
|
+
"agw": "dist/agw.mjs"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"README.md",
|
|
13
|
+
"LICENSE"
|
|
14
|
+
],
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=22.19.0"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "node scripts/build.mjs",
|
|
20
|
+
"check": "node scripts/check.mjs",
|
|
21
|
+
"test": "node --test test/*.test.ts",
|
|
22
|
+
"prepack": "node scripts/release.mjs",
|
|
23
|
+
"release:build": "node scripts/release.mjs",
|
|
24
|
+
"typecheck:tsc": "tsc --noEmit"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"wrangler": "4.96.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/node": "^24.0.0",
|
|
31
|
+
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
32
|
+
"esbuild": "0.27.7",
|
|
33
|
+
"jsonc-parser": "3.3.1",
|
|
34
|
+
"typescript": "^5.9.0"
|
|
35
|
+
}
|
|
36
|
+
}
|