a2a-matrix-quad-oracle 2.0.0__tar.gz
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.
- a2a_matrix_quad_oracle-2.0.0/.github/workflows/ci-and-publish.yml +60 -0
- a2a_matrix_quad_oracle-2.0.0/.gitignore +14 -0
- a2a_matrix_quad_oracle-2.0.0/Dockerfile +33 -0
- a2a_matrix_quad_oracle-2.0.0/LICENSE +21 -0
- a2a_matrix_quad_oracle-2.0.0/PKG-INFO +93 -0
- a2a_matrix_quad_oracle-2.0.0/README.md +68 -0
- a2a_matrix_quad_oracle-2.0.0/cloudflare-worker/src/index.js +58 -0
- a2a_matrix_quad_oracle-2.0.0/cloudflare-worker/wrangler.toml +6 -0
- a2a_matrix_quad_oracle-2.0.0/fly.toml +33 -0
- a2a_matrix_quad_oracle-2.0.0/matrix_cloud_server.py +361 -0
- a2a_matrix_quad_oracle-2.0.0/pyproject.toml +55 -0
- a2a_matrix_quad_oracle-2.0.0/registry-manifests/server.json +17 -0
- a2a_matrix_quad_oracle-2.0.0/registry-manifests/smithery.yaml +21 -0
- a2a_matrix_quad_oracle-2.0.0/server.json +17 -0
- a2a_matrix_quad_oracle-2.0.0/smithery.yaml +21 -0
- a2a_matrix_quad_oracle-2.0.0/src/a2a_matrix_quad/__init__.py +4 -0
- a2a_matrix_quad_oracle-2.0.0/src/a2a_matrix_quad/stdio_mcp.py +362 -0
- a2a_matrix_quad_oracle-2.0.0/tests/test_stdio_mcp.py +72 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
name: CI & Publish to Official MCP Registry + PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: ["main"]
|
|
6
|
+
tags: ["v*"]
|
|
7
|
+
pull_request:
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test-and-validate:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- uses: actions/setup-python@v5
|
|
15
|
+
with:
|
|
16
|
+
python-version: "3.12"
|
|
17
|
+
- name: Install package & dev dependencies
|
|
18
|
+
run: |
|
|
19
|
+
python -m pip install --upgrade pip
|
|
20
|
+
pip install -e ".[dev]"
|
|
21
|
+
- name: Run unit tests
|
|
22
|
+
run: pytest -v
|
|
23
|
+
- name: Validate server.json schema
|
|
24
|
+
run: python -c "import json; d=json.load(open('server.json')); assert d['name']=='io.github.heroson86462-hsnu/a2a-matrix-quad-oracle' and len(d['description'])<=100"
|
|
25
|
+
|
|
26
|
+
publish-mcp-registry:
|
|
27
|
+
needs: test-and-validate
|
|
28
|
+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
29
|
+
runs-on: ubuntu-latest
|
|
30
|
+
permissions:
|
|
31
|
+
id-token: write
|
|
32
|
+
contents: read
|
|
33
|
+
steps:
|
|
34
|
+
- uses: actions/checkout@v4
|
|
35
|
+
- name: Install mcp-publisher & publish via GitHub OIDC
|
|
36
|
+
run: |
|
|
37
|
+
curl -sSL "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher
|
|
38
|
+
chmod +x mcp-publisher
|
|
39
|
+
./mcp-publisher validate server.json
|
|
40
|
+
./mcp-publisher login github-oidc
|
|
41
|
+
./mcp-publisher publish server.json
|
|
42
|
+
|
|
43
|
+
publish-pypi:
|
|
44
|
+
needs: test-and-validate
|
|
45
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
continue-on-error: true
|
|
48
|
+
permissions:
|
|
49
|
+
id-token: write
|
|
50
|
+
steps:
|
|
51
|
+
- uses: actions/checkout@v4
|
|
52
|
+
- uses: actions/setup-python@v5
|
|
53
|
+
with:
|
|
54
|
+
python-version: "3.12"
|
|
55
|
+
- name: Build wheel and sdist
|
|
56
|
+
run: |
|
|
57
|
+
pip install build
|
|
58
|
+
python -m build
|
|
59
|
+
- name: Publish to PyPI (Trusted Publisher OIDC)
|
|
60
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# syntax=docker/dockerfile:1
|
|
2
|
+
FROM python:3.12-slim AS base
|
|
3
|
+
|
|
4
|
+
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
5
|
+
PYTHONUNBUFFERED=1 \
|
|
6
|
+
PORT=8080 \
|
|
7
|
+
MATRIX_DATA_DIR=/data
|
|
8
|
+
|
|
9
|
+
WORKDIR /app
|
|
10
|
+
|
|
11
|
+
RUN useradd -m -u 10001 matrixuser && mkdir -p /data && chown -R matrixuser:matrixuser /data /app
|
|
12
|
+
|
|
13
|
+
COPY requirements.txt ./
|
|
14
|
+
RUN pip install --no-cache-dir --upgrade pip && \
|
|
15
|
+
pip install --no-cache-dir -r requirements.txt
|
|
16
|
+
|
|
17
|
+
COPY a2a_shared_core.py matrix_live_harvesters.py ./
|
|
18
|
+
COPY 06-listingshield ./06-listingshield
|
|
19
|
+
COPY 07-siliconorigin ./07-siliconorigin
|
|
20
|
+
COPY 08-demurrage-audit ./08-demurrage-audit
|
|
21
|
+
COPY 09-saasbench ./09-saasbench
|
|
22
|
+
COPY wave2-matrix-quad-release/matrix_cloud_server.py ./wave2-matrix-quad-release/matrix_cloud_server.py
|
|
23
|
+
|
|
24
|
+
RUN chown -R matrixuser:matrixuser /app /data
|
|
25
|
+
|
|
26
|
+
USER matrixuser
|
|
27
|
+
|
|
28
|
+
EXPOSE 8080
|
|
29
|
+
|
|
30
|
+
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
|
31
|
+
CMD python3 -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/healthz', timeout=4)"
|
|
32
|
+
|
|
33
|
+
CMD ["python3", "wave2-matrix-quad-release/matrix_cloud_server.py"]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 A2A Data Matrix Holdings Inc. (Edmund Hu)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: a2a-matrix-quad-oracle
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: A2A Data Matrix Quad-Oracle — Deterministic MCP & x402 Oracles for Schedule-A/EmpCo, GSA SaaS Floors, FMC 541 Demurrage & NDAA 5949 IC Provenance
|
|
5
|
+
Project-URL: Homepage, https://github.com/heroson86462-hsnu/a2a-matrix-quad-oracle
|
|
6
|
+
Project-URL: Repository, https://github.com/heroson86462-hsnu/a2a-matrix-quad-oracle
|
|
7
|
+
Project-URL: Issues, https://github.com/heroson86462-hsnu/a2a-matrix-quad-oracle/issues
|
|
8
|
+
Author-email: Edmund Hu <edmundhu@helloyunivia.com>
|
|
9
|
+
License: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: ai-agents,compliance,empco,fmc-541,mcp,model-context-protocol,ndaa-5949,saas-pricing,x402
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Requires-Dist: httpx>=0.27.0
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: pytest>=8.2.0; extra == 'dev'
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+
<!--
|
|
27
|
+
mcp-name: io.github.heroson86462-hsnu/a2a-matrix-quad-oracle
|
|
28
|
+
-->
|
|
29
|
+
|
|
30
|
+
# A2A Data Matrix Quad-Oracle (`a2a-matrix-quad-oracle`)
|
|
31
|
+
|
|
32
|
+
**4-in-1 Deterministic Commercial Compliance, Regulatory & Procurement Oracles for AI Agents** (zero runtime LLM cost, `<5ms` deterministic evaluation, Streamable-HTTP MCP + `stdio` `uvx` + Base USDC `x402`).
|
|
33
|
+
|
|
34
|
+
[](https://registry.modelcontextprotocol.io)
|
|
35
|
+
[](https://a2a-matrix-quad-edge.a2a-data-matrix.workers.dev/.well-known/x402-manifest.json)
|
|
36
|
+
[](LICENSE)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Included Deterministic Oracles
|
|
41
|
+
|
|
42
|
+
| Relay | Oracle | Deterministic Scope | Pricing (`x402` Base USDC) |
|
|
43
|
+
| :--- | :--- | :--- | :--- |
|
|
44
|
+
| **#06** | **ListingShield AI** | US Schedule-A TRO stealth wordmarks (`25+` active marks) + EU EmpCo Directive `2024/825` multilingual anti-greenwashing guard (`18` EN/DE/FR phrases) | Free offline `stdio` scan / `0.015 USDC` cloud |
|
|
45
|
+
| **#09** | **SaaSBench AI** | `15` Enterprise SaaS SKUs anchored by US GSA Advantage / USAspending / Texas DIR / UK G-Cloud floors + anti-AI/MCP overage redlines | `0.500 USDC` (free 402 teaser) |
|
|
46
|
+
| **#08** | **DemurrageAudit AI** | US eCFR Title 46 (`46 CFR Part 541`) 30-day billing bar forfeiture (`§541.7`), `§541.6` mandatory invoice fields, & terminal lockout stop-clock | Free offline `stdio` calc / `0.150 USDC` cloud |
|
|
47
|
+
| **#07** | **SiliconOrigin AI** | Unstructured OEM PCN/EOL tracking & US NDAA **Section 5949** wafer fab provenance (`15` high-frequency ICs) + clean-fab DigiKey drop-ins | `0.050 USDC` + authorized affiliate links |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Option 1: Zero-Install Remote Streamable-HTTP MCP
|
|
52
|
+
|
|
53
|
+
Add directly to Claude Desktop, Cursor, Windsurf, or Antigravity:
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
{
|
|
57
|
+
"mcpServers": {
|
|
58
|
+
"a2a-matrix-quad-oracle": {
|
|
59
|
+
"type": "streamable-http",
|
|
60
|
+
"url": "https://a2a-matrix-quad-edge.a2a-data-matrix.workers.dev/mcp"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Option 2: Free Local `stdio` MCP (`uvx`)
|
|
67
|
+
|
|
68
|
+
Includes offline zero-cost `scan_listing_copy_locally` and `check_fmc541_demurrage_stopclock` plus cloud-oracle bridges:
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"mcpServers": {
|
|
73
|
+
"a2a-matrix-quad-oracle": {
|
|
74
|
+
"command": "uvx",
|
|
75
|
+
"args": [
|
|
76
|
+
"--from",
|
|
77
|
+
"git+https://github.com/heroson86462-hsnu/a2a-matrix-quad-oracle",
|
|
78
|
+
"a2a-matrix-quad-oracle"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Live Cloud Endpoints & Interactive Sandbox
|
|
88
|
+
|
|
89
|
+
* **Interactive Cloud Command Center**: https://a2a-matrix-quad-edge.a2a-data-matrix.workers.dev/
|
|
90
|
+
* **Discovery**: `/.well-known/mcp.json` · `/.well-known/x402-manifest.json` · `/llms.txt` · `/healthz`
|
|
91
|
+
* **Companion Runtime Security Firewall (Wave 1)**: [`agenttrust-kye`](https://github.com/heroson86462-hsnu/agenttrust-kye) (`uvx agenttrust-kye`)
|
|
92
|
+
|
|
93
|
+
Built by **A2A Data Matrix Holdings Inc.** · Maintainer: Edmund Hu (`edmundhu@helloyunivia.com`)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
mcp-name: io.github.heroson86462-hsnu/a2a-matrix-quad-oracle
|
|
3
|
+
-->
|
|
4
|
+
|
|
5
|
+
# A2A Data Matrix Quad-Oracle (`a2a-matrix-quad-oracle`)
|
|
6
|
+
|
|
7
|
+
**4-in-1 Deterministic Commercial Compliance, Regulatory & Procurement Oracles for AI Agents** (zero runtime LLM cost, `<5ms` deterministic evaluation, Streamable-HTTP MCP + `stdio` `uvx` + Base USDC `x402`).
|
|
8
|
+
|
|
9
|
+
[](https://registry.modelcontextprotocol.io)
|
|
10
|
+
[](https://a2a-matrix-quad-edge.a2a-data-matrix.workers.dev/.well-known/x402-manifest.json)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Included Deterministic Oracles
|
|
16
|
+
|
|
17
|
+
| Relay | Oracle | Deterministic Scope | Pricing (`x402` Base USDC) |
|
|
18
|
+
| :--- | :--- | :--- | :--- |
|
|
19
|
+
| **#06** | **ListingShield AI** | US Schedule-A TRO stealth wordmarks (`25+` active marks) + EU EmpCo Directive `2024/825` multilingual anti-greenwashing guard (`18` EN/DE/FR phrases) | Free offline `stdio` scan / `0.015 USDC` cloud |
|
|
20
|
+
| **#09** | **SaaSBench AI** | `15` Enterprise SaaS SKUs anchored by US GSA Advantage / USAspending / Texas DIR / UK G-Cloud floors + anti-AI/MCP overage redlines | `0.500 USDC` (free 402 teaser) |
|
|
21
|
+
| **#08** | **DemurrageAudit AI** | US eCFR Title 46 (`46 CFR Part 541`) 30-day billing bar forfeiture (`§541.7`), `§541.6` mandatory invoice fields, & terminal lockout stop-clock | Free offline `stdio` calc / `0.150 USDC` cloud |
|
|
22
|
+
| **#07** | **SiliconOrigin AI** | Unstructured OEM PCN/EOL tracking & US NDAA **Section 5949** wafer fab provenance (`15` high-frequency ICs) + clean-fab DigiKey drop-ins | `0.050 USDC` + authorized affiliate links |
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Option 1: Zero-Install Remote Streamable-HTTP MCP
|
|
27
|
+
|
|
28
|
+
Add directly to Claude Desktop, Cursor, Windsurf, or Antigravity:
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"mcpServers": {
|
|
33
|
+
"a2a-matrix-quad-oracle": {
|
|
34
|
+
"type": "streamable-http",
|
|
35
|
+
"url": "https://a2a-matrix-quad-edge.a2a-data-matrix.workers.dev/mcp"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Option 2: Free Local `stdio` MCP (`uvx`)
|
|
42
|
+
|
|
43
|
+
Includes offline zero-cost `scan_listing_copy_locally` and `check_fmc541_demurrage_stopclock` plus cloud-oracle bridges:
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"mcpServers": {
|
|
48
|
+
"a2a-matrix-quad-oracle": {
|
|
49
|
+
"command": "uvx",
|
|
50
|
+
"args": [
|
|
51
|
+
"--from",
|
|
52
|
+
"git+https://github.com/heroson86462-hsnu/a2a-matrix-quad-oracle",
|
|
53
|
+
"a2a-matrix-quad-oracle"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Live Cloud Endpoints & Interactive Sandbox
|
|
63
|
+
|
|
64
|
+
* **Interactive Cloud Command Center**: https://a2a-matrix-quad-edge.a2a-data-matrix.workers.dev/
|
|
65
|
+
* **Discovery**: `/.well-known/mcp.json` · `/.well-known/x402-manifest.json` · `/llms.txt` · `/healthz`
|
|
66
|
+
* **Companion Runtime Security Firewall (Wave 1)**: [`agenttrust-kye`](https://github.com/heroson86462-hsnu/agenttrust-kye) (`uvx agenttrust-kye`)
|
|
67
|
+
|
|
68
|
+
Built by **A2A Data Matrix Holdings Inc.** · Maintainer: Edmund Hu (`edmundhu@helloyunivia.com`)
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A2A Data Matrix Quad-Oracle — Cloudflare Global Edge Cache & Stateless MCP/x402 Gateway
|
|
3
|
+
* Caches discovery & command center pages at edge for 60s and proxies paid x402 / MCP requests cleanly.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
const EDGE_CACHEABLE_PATHS = new Set([
|
|
7
|
+
"/",
|
|
8
|
+
"/llms.txt",
|
|
9
|
+
"/.well-known/mcp.json",
|
|
10
|
+
"/.well-known/x402-manifest.json",
|
|
11
|
+
]);
|
|
12
|
+
|
|
13
|
+
export default {
|
|
14
|
+
async fetch(request, env, ctx) {
|
|
15
|
+
const url = new URL(request.url);
|
|
16
|
+
const originUrl = new URL(url.pathname + url.search, env.ORIGIN_BASE_URL);
|
|
17
|
+
|
|
18
|
+
if (request.method === "OPTIONS") {
|
|
19
|
+
return new Response(null, {
|
|
20
|
+
status: 204,
|
|
21
|
+
headers: {
|
|
22
|
+
"Access-Control-Allow-Origin": "*",
|
|
23
|
+
"Access-Control-Allow-Methods": "GET, POST, OPTIONS",
|
|
24
|
+
"Access-Control-Allow-Headers": "Content-Type, X-Payment, X-Prepaid-Bearer, X-Idempotency-Key, X-Admin-Token",
|
|
25
|
+
"Access-Control-Max-Age": "86400",
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (request.method === "GET" && EDGE_CACHEABLE_PATHS.has(url.pathname)) {
|
|
31
|
+
const cache = caches.default;
|
|
32
|
+
let response = await cache.match(request);
|
|
33
|
+
if (!response) {
|
|
34
|
+
const originResp = await fetch(originUrl.toString(), {
|
|
35
|
+
headers: { "User-Agent": "A2A-Matrix-Quad-Edge/2.0" },
|
|
36
|
+
});
|
|
37
|
+
response = new Response(originResp.body, originResp);
|
|
38
|
+
response.headers.set("Cache-Control", "public, s-maxage=60, max-age=30");
|
|
39
|
+
response.headers.set("X-Edge-Cache", "MISS");
|
|
40
|
+
ctx.waitUntil(cache.put(request, response.clone()));
|
|
41
|
+
} else {
|
|
42
|
+
response = new Response(response.body, response);
|
|
43
|
+
response.headers.set("X-Edge-Cache", "HIT");
|
|
44
|
+
}
|
|
45
|
+
return response;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const proxyReq = new Request(originUrl.toString(), {
|
|
49
|
+
method: request.method,
|
|
50
|
+
headers: request.headers,
|
|
51
|
+
body: request.method !== "GET" && request.method !== "HEAD" ? request.body : undefined,
|
|
52
|
+
});
|
|
53
|
+
const originResponse = await fetch(proxyReq);
|
|
54
|
+
const out = new Response(originResponse.body, originResponse);
|
|
55
|
+
out.headers.set("Mcp-Stateless-Mode", "enabled");
|
|
56
|
+
return out;
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
app = "a2a-matrix-quad-oracle"
|
|
2
|
+
primary_region = "nrt"
|
|
3
|
+
|
|
4
|
+
[env]
|
|
5
|
+
PORT = "8080"
|
|
6
|
+
MATRIX_DATA_DIR = "/data"
|
|
7
|
+
X402_FACILITATOR_URL = "https://facilitator.payai.network"
|
|
8
|
+
A2A_TREASURY_WALLET = "0x5ab8fBd41e0691876fE3cC3b0dF62A901C2cD044"
|
|
9
|
+
MATRIX_AUTO_HARVEST_INTERVAL_SEC = "7200"
|
|
10
|
+
|
|
11
|
+
[mounts]
|
|
12
|
+
source = "matrix_data"
|
|
13
|
+
destination = "/data"
|
|
14
|
+
|
|
15
|
+
[http_service]
|
|
16
|
+
internal_port = 8080
|
|
17
|
+
force_https = true
|
|
18
|
+
auto_stop_machines = "off"
|
|
19
|
+
auto_start_machines = true
|
|
20
|
+
min_machines_running = 1
|
|
21
|
+
processes = ["app"]
|
|
22
|
+
|
|
23
|
+
[[http_service.checks]]
|
|
24
|
+
grace_period = "15s"
|
|
25
|
+
interval = "30s"
|
|
26
|
+
method = "GET"
|
|
27
|
+
timeout = "5s"
|
|
28
|
+
path = "/healthz"
|
|
29
|
+
|
|
30
|
+
[[vm]]
|
|
31
|
+
memory = "512mb"
|
|
32
|
+
cpu_kind = "shared"
|
|
33
|
+
cpus = 1
|