@maxceem/agw 0.8.0 → 0.8.1
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/dist/agw.mjs +4 -4
- package/package.json +2 -1
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.8.
|
|
9
|
+
var define_AGW_MANIFEST_default = { version: "0.8.1", wrangler: "4.96.0", upgradeFrom: ["0.8.1", "0.8.0", "0.7.2", "0.7.1", "0.7.0", "0.6.4", "0.6.3", "0.6.2", "0.6.1", "0.6.0", "0.5.2", "0.5.1", "0.5.0", "0.4.0"], release: { url: "https://github.com/maxceem/app-ai-gateway/releases/download/v0.8.1/gateway-0.8.1.tar.gz", sha256: "632a38fc6ab15c15b1b30a1fe02b72d91970423f14589f7bb52dbbd4fa4690f9", manifest: "18a9813f9769d80e686913e2b872ebd3294d5870487a2fb8351a51932b8a6f68" } };
|
|
10
10
|
|
|
11
11
|
// src/main.ts
|
|
12
12
|
import { Writable as Writable2 } from "node:stream";
|
|
@@ -17122,7 +17122,7 @@ ${snippet}`;
|
|
|
17122
17122
|
...snippet ? { snippet } : {},
|
|
17123
17123
|
app: app2,
|
|
17124
17124
|
...key ? { applicationKey: key } : {},
|
|
17125
|
-
guidance: doc.config.authentication.type === "apple_app_attest" ? `Add https://github.com/maxceem/app-ai-gateway-swift from 1.4.
|
|
17125
|
+
guidance: doc.config.authentication.type === "apple_app_attest" ? `Add https://github.com/maxceem/app-ai-gateway-swift from 1.4.1, enable App Attest, and test on a supported physical device. Run agw app snippet ${app2.id} --provider <slug> for integration code. Production releases should use production-only App Attest.` : `Store the generated key on your server; never embed it in a mobile application. Run agw app snippet ${app2.id} for this request again.`
|
|
17126
17126
|
};
|
|
17127
17127
|
}
|
|
17128
17128
|
}
|
|
@@ -18571,7 +18571,7 @@ var CATALOG = {
|
|
|
18571
18571
|
method: "POST",
|
|
18572
18572
|
path: "/v1/apps/{app}/auth/token",
|
|
18573
18573
|
tags: ["Application authentication"],
|
|
18574
|
-
summary: "Exchange
|
|
18574
|
+
summary: "Exchange a client proof for a gateway token",
|
|
18575
18575
|
description: "App Attest clients send key_id, assertion, and challenge; the assertion is verified here whatever the application's verify_on, and the answer's verify_on says whether requests sent with the token must also carry X-AppAttest-Proof. Issuer-backed API-key clients send api_key and issuer_token. The verified issuer claim is always the resulting user identity.",
|
|
18576
18576
|
security: "public",
|
|
18577
18577
|
params: APP_PARAM,
|
|
@@ -18910,7 +18910,7 @@ var CATALOG = {
|
|
|
18910
18910
|
method: "PUT",
|
|
18911
18911
|
path: "/v1/admin/providers/{id}",
|
|
18912
18912
|
tags: ["Admin providers"],
|
|
18913
|
-
summary: "
|
|
18913
|
+
summary: "Update, rotate or disable a provider credential",
|
|
18914
18914
|
description: "Requires the revision returned by the provider read this edit is based on; a stale revision returns 409 conflict. Sending status disables or re-enables the instance. Disabling keeps the secret, the pricing and the slug, so requests to it fail with provider_disabled and no other instance can take its slug meanwhile. Re-enabling does not require reclaiming the slug. Sending a non-null baseUrl also requires secret in the same request: the stored key is write-only and is never decrypted to be sent to an origin it has not been sent to before, so a move carries the key it is to be used with. Sending baseUrl: null returns the instance to its provider type's own origin and needs nothing else.",
|
|
18915
18915
|
security: "management",
|
|
18916
18916
|
params: { id: { example: "b0a1\u2026" } },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxceem/agw",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"type": "module",
|
|
5
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
6
|
"keywords": [
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"bugs": "https://github.com/maxceem/app-ai-gateway/issues",
|
|
28
28
|
"upgradeFrom": [
|
|
29
|
+
"0.8.0",
|
|
29
30
|
"0.7.2",
|
|
30
31
|
"0.7.1",
|
|
31
32
|
"0.7.0",
|