aixyz 0.25.0 → 0.27.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/README.md +2 -0
- package/app/index.ts +4 -0
- package/app/plugins/index-page/html.tsx +8 -1
- package/package.json +4 -4
package/README.md
CHANGED
package/app/index.ts
CHANGED
|
@@ -4,8 +4,12 @@ import { type HttpMethod, type RouteHandler, type Middleware, type RouteEntry }
|
|
|
4
4
|
import { PaymentGateway } from "./payment/payment";
|
|
5
5
|
import { Network } from "@x402/core/types";
|
|
6
6
|
import { getAixyzConfig } from "@aixyz/config";
|
|
7
|
+
import { loadEnvConfig } from "@next/env";
|
|
7
8
|
import { BasePlugin } from "./plugin";
|
|
8
9
|
|
|
10
|
+
// Load .env and .env.production files at runtime (local files are excluded at build time).
|
|
11
|
+
loadEnvConfig(process.cwd());
|
|
12
|
+
|
|
9
13
|
export { BasePlugin };
|
|
10
14
|
export type { HttpMethod, RouteHandler, Middleware, RouteEntry };
|
|
11
15
|
|
|
@@ -613,7 +613,14 @@ export function renderHtml(config: AixyzConfigRuntime, protocols: ProtocolInfo):
|
|
|
613
613
|
<Separator />
|
|
614
614
|
<div class="flex items-center justify-center gap-1.5 mt-5">
|
|
615
615
|
<span class="text-[11px] text-muted-foreground/60">powered by</span>
|
|
616
|
-
<
|
|
616
|
+
<a
|
|
617
|
+
href="https://aixyz.sh"
|
|
618
|
+
target="_blank"
|
|
619
|
+
rel="noopener noreferrer"
|
|
620
|
+
class="text-[11px] text-primary font-semibold no-underline"
|
|
621
|
+
>
|
|
622
|
+
aixyz
|
|
623
|
+
</a>
|
|
617
624
|
</div>
|
|
618
625
|
</footer>
|
|
619
626
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aixyz",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Payment-native SDK for AI Agent",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@a2a-js/sdk": "^0.3.10",
|
|
41
|
-
"@aixyz/cli": "0.
|
|
42
|
-
"@aixyz/config": "0.
|
|
43
|
-
"@aixyz/erc-8004": "0.
|
|
41
|
+
"@aixyz/cli": "0.27.0",
|
|
42
|
+
"@aixyz/config": "0.27.0",
|
|
43
|
+
"@aixyz/erc-8004": "0.27.0",
|
|
44
44
|
"@kitajs/html": "^4.2.13",
|
|
45
45
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
46
46
|
"@next/env": "^16.1.6",
|