feat: deploy gateway to CF (WIP; DNS still pending)

pull/714/head
Travis Fischer 2025-06-29 03:04:47 -05:00
rodzic 771f0d9cc8
commit 48c480eb00
5 zmienionych plików z 10 dodań i 3 usunięć

Wyświetl plik

@ -13,8 +13,8 @@
"type": "module",
"source": "./src/worker.ts",
"scripts": {
"deploy": "wrangler deploy --outdir dist --upload-source-maps --var SENTRY_RELEASE:$(sentry-cli releases propose-version)",
"dev": "wrangler dev",
"deploy": "wrangler deploy --var SENTRY_RELEASE:$(sentry-cli releases propose-version)",
"cf-clear-cache": "del .wrangler",
"clean": "del dist",
"test": "run-s test:*",

Wyświetl plik

@ -13,6 +13,12 @@
"enabled": true,
"head_sampling_rate": 1
},
"routes": [
{
"pattern": "gateway.agentic.so",
"custom_domain": true
}
],
"migrations": [
{
"tag": "v1",

Wyświetl plik

@ -458,7 +458,7 @@ export function getCodeForHTTPConfig({
case 'httpie':
return {
code: `http -j ${url} query='example google search'`,
code: `http ${url} query='example google search'`,
lang: 'bash'
}
}

Wyświetl plik

@ -12,7 +12,7 @@
"source": "./src/worker.ts",
"scripts": {
"dev": "wrangler dev",
"deploy": "wrangler deploy --outdir dist --upload-source-maps",
"deploy": "wrangler deploy",
"test": "run-s test:*",
"test:typecheck": "tsc --noEmit"
},

Wyświetl plik

@ -25,6 +25,7 @@
- add basic legal terms and privacy policy (and update links in stripe)
- add caching to public projects api endpoints
- add support for [`@google/genai`](https://github.com/googleapis/js-genai) tools adapter and examples
- fix gateway sentry deployment upload
## TODO: Post-MVP