@maxceem/agw 0.1.6 → 0.1.7
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/README.md +18 -15
- package/dist/agw.mjs +1 -1
- package/package.json +25 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# App AI Gateway CLI
|
|
2
2
|
|
|
3
|
-
`agw` sets up and manages [App AI Gateway](https://
|
|
3
|
+
`agw` sets up and manages [App AI Gateway](https://appaigateway.com/)
|
|
4
4
|
from a terminal or a coding agent: providers, apps, usage, and your own
|
|
5
5
|
deployment. Requires Node.js 22.19+.
|
|
6
6
|
|
|
@@ -10,31 +10,34 @@ npm install -g @maxceem/agw
|
|
|
10
10
|
|
|
11
11
|
## Quick start
|
|
12
12
|
|
|
13
|
+
Sign in with a management key. Create one in the console at
|
|
14
|
+
[appaigateway.com](https://appaigateway.com/): user menu, then **Management keys**.
|
|
15
|
+
|
|
13
16
|
```sh
|
|
14
|
-
# 1. Sign in. Create a management key in the console: user menu -> Management keys.
|
|
15
17
|
agw account login
|
|
18
|
+
```
|
|
16
19
|
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
No account yet? Skip login. A free anonymous account is created for you
|
|
21
|
+
automatically as soon as you add your first provider or app below. You can
|
|
22
|
+
claim it later with `agw account claim`.
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
agw app add --type ios --team-id ABCDE12345 --bundle-id com.example.app
|
|
24
|
+
Add a provider. Paste its API key into the hidden prompt.
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
agw
|
|
26
|
+
```sh
|
|
27
|
+
agw provider add --type openai
|
|
25
28
|
```
|
|
26
29
|
|
|
27
|
-
|
|
28
|
-
same kind of key:
|
|
30
|
+
Add an app. It uses every provider you have added.
|
|
29
31
|
|
|
30
32
|
```sh
|
|
31
|
-
agw
|
|
33
|
+
agw app add --type ios --team-id ABCDE12345 --bundle-id com.example.app
|
|
32
34
|
```
|
|
33
35
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
>
|
|
36
|
+
Print the Swift code that calls the gateway from that app.
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
agw app snippet <app-id> --provider openai
|
|
40
|
+
```
|
|
38
41
|
|
|
39
42
|
## Self-host on Cloudflare
|
|
40
43
|
|
package/dist/agw.mjs
CHANGED
|
@@ -6,7 +6,7 @@ var __export = (target, all) => {
|
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
// <define:__AGW_MANIFEST__>
|
|
9
|
-
var define_AGW_MANIFEST_default = { version: "0.1.
|
|
9
|
+
var define_AGW_MANIFEST_default = { version: "0.1.7", wrangler: "4.96.0", upgradeFrom: ["0.1.7", "0.1.6", "0.1.5", "0.1.4", "0.1.3", "0.1.2", "0.1.1", "0.1.0"], release: { url: "https://github.com/maxceem/app-ai-gateway/releases/download/v0.1.7/gateway-0.1.7.tar.gz", sha256: "e9a154b8b0c71e38296995b8ae478f26b563d2eb7fb1111e575d3fde33815b88", manifest: "ac56329e6cc34a01ecb3c8820b671b74bd4fabfb69d2c9353307a5306332a663" } };
|
|
10
10
|
|
|
11
11
|
// src/main.ts
|
|
12
12
|
import { Writable } from "node:stream";
|
package/package.json
CHANGED
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxceem/agw",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "App AI Gateway
|
|
6
|
-
"
|
|
5
|
+
"description": "Manage App AI Gateway from a terminal or coding agent: providers, iOS and server apps, usage, and self-hosted deployment on Cloudflare",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"ai-gateway",
|
|
8
|
+
"llm-gateway",
|
|
9
|
+
"ai-proxy",
|
|
10
|
+
"llm-proxy",
|
|
11
|
+
"openai",
|
|
12
|
+
"anthropic",
|
|
13
|
+
"gemini",
|
|
14
|
+
"ios",
|
|
15
|
+
"swift",
|
|
16
|
+
"app-attest",
|
|
17
|
+
"cloudflare-workers",
|
|
18
|
+
"self-hosted",
|
|
19
|
+
"cli"
|
|
20
|
+
],
|
|
21
|
+
"homepage": "https://appaigateway.com/",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/maxceem/app-ai-gateway.git",
|
|
25
|
+
"directory": "cli"
|
|
26
|
+
},
|
|
27
|
+
"bugs": "https://github.com/maxceem/app-ai-gateway/issues",
|
|
28
|
+
"upgradeFrom": ["0.1.6", "0.1.5", "0.1.4", "0.1.3", "0.1.2", "0.1.1", "0.1.0"],
|
|
7
29
|
"license": "Apache-2.0",
|
|
8
30
|
"bin": {
|
|
9
31
|
"agw": "dist/agw.mjs"
|