The open source coding agent.
TypeScript
wip: zen
Frankd5275010d52a
diff --git a/cloud/app/sst-env.d.ts b/cloud/app/sst-env.d.tsindex 0397645b50f..b6a7e9066ef 100644--- a/cloud/app/sst-env.d.ts+++ b/cloud/app/sst-env.d.ts@@ -6,4 +6,4 @@/// <reference path="../../sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of filediff --git a/cloud/core/sst-env.d.ts b/cloud/core/sst-env.d.tsindex 0397645b50f..b6a7e9066ef 100644--- a/cloud/core/sst-env.d.ts+++ b/cloud/core/sst-env.d.ts@@ -6,4 +6,4 @@/// <reference path="../../sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of filediff --git a/cloud/function/sst-env.d.ts b/cloud/function/sst-env.d.tsindex 11bc7adea4a..09c60c7c215 100644--- a/cloud/function/sst-env.d.ts+++ b/cloud/function/sst-env.d.ts@@ -6,87 +6,91 @@import "sst"declare module "sst" {export interface Resource {- ANTHROPIC_API_KEY: {- type: "sst.sst.Secret"- value: string- }- AUTH_API_URL: {- type: "sst.sst.Linkable"- value: string- }- BASETEN_API_KEY: {- type: "sst.sst.Secret"- value: string- }- Console: {- type: "sst.cloudflare.SolidStart"- url: string- }- Database: {- database: string- host: string- password: string- port: number- type: "sst.sst.Linkable"- username: string- }- GITHUB_APP_ID: {- type: "sst.sst.Secret"- value: string- }- GITHUB_APP_PRIVATE_KEY: {- type: "sst.sst.Secret"- value: string- }- GITHUB_CLIENT_ID_CONSOLE: {- type: "sst.sst.Secret"- value: string- }- GITHUB_CLIENT_SECRET_CONSOLE: {- type: "sst.sst.Secret"- value: string- }- GOOGLE_CLIENT_ID: {- type: "sst.sst.Secret"- value: string- }- HONEYCOMB_API_KEY: {- type: "sst.sst.Secret"- value: string- }- OPENAI_API_KEY: {- type: "sst.sst.Secret"- value: string- }- STRIPE_SECRET_KEY: {- type: "sst.sst.Secret"- value: string- }- STRIPE_WEBHOOK_SECRET: {- type: "sst.sst.Linkable"- value: string- }- Web: {- type: "sst.cloudflare.Astro"- url: string- }- XAI_API_KEY: {- type: "sst.sst.Secret"- value: string+ "ANTHROPIC_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "AUTH_API_URL": {+ "type": "sst.sst.Linkable"+ "value": string+ }+ "BASETEN_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "Console": {+ "type": "sst.cloudflare.SolidStart"+ "url": string+ }+ "Database": {+ "database": string+ "host": string+ "password": string+ "port": number+ "type": "sst.sst.Linkable"+ "username": string+ }+ "FIREWORKS_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_APP_ID": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_APP_PRIVATE_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_CLIENT_ID_CONSOLE": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_CLIENT_SECRET_CONSOLE": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GOOGLE_CLIENT_ID": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "HONEYCOMB_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "OPENAI_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "STRIPE_SECRET_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "STRIPE_WEBHOOK_SECRET": {+ "type": "sst.sst.Linkable"+ "value": string+ }+ "Web": {+ "type": "sst.cloudflare.Astro"+ "url": string+ }+ "XAI_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string}}}-// cloudflare-import * as cloudflare from "@cloudflare/workers-types"+// cloudflare+import * as cloudflare from "@cloudflare/workers-types";declare module "sst" {export interface Resource {- Api: cloudflare.Service- AuthApi: cloudflare.Service- AuthStorage: cloudflare.KVNamespace- Bucket: cloudflare.R2Bucket- LogProcessor: cloudflare.Service+ "Api": cloudflare.Service+ "AuthApi": cloudflare.Service+ "AuthStorage": cloudflare.KVNamespace+ "Bucket": cloudflare.R2Bucket+ "LogProcessor": cloudflare.Service}}import "sst"-export {}+export {}\ No newline at end of filediff --git a/cloud/resource/sst-env.d.ts b/cloud/resource/sst-env.d.tsindex 11bc7adea4a..09c60c7c215 100644--- a/cloud/resource/sst-env.d.ts+++ b/cloud/resource/sst-env.d.ts@@ -6,87 +6,91 @@import "sst"declare module "sst" {export interface Resource {- ANTHROPIC_API_KEY: {- type: "sst.sst.Secret"- value: string- }- AUTH_API_URL: {- type: "sst.sst.Linkable"- value: string- }- BASETEN_API_KEY: {- type: "sst.sst.Secret"- value: string- }- Console: {- type: "sst.cloudflare.SolidStart"- url: string- }- Database: {- database: string- host: string- password: string- port: number- type: "sst.sst.Linkable"- username: string- }- GITHUB_APP_ID: {- type: "sst.sst.Secret"- value: string- }- GITHUB_APP_PRIVATE_KEY: {- type: "sst.sst.Secret"- value: string- }- GITHUB_CLIENT_ID_CONSOLE: {- type: "sst.sst.Secret"- value: string- }- GITHUB_CLIENT_SECRET_CONSOLE: {- type: "sst.sst.Secret"- value: string- }- GOOGLE_CLIENT_ID: {- type: "sst.sst.Secret"- value: string- }- HONEYCOMB_API_KEY: {- type: "sst.sst.Secret"- value: string- }- OPENAI_API_KEY: {- type: "sst.sst.Secret"- value: string- }- STRIPE_SECRET_KEY: {- type: "sst.sst.Secret"- value: string- }- STRIPE_WEBHOOK_SECRET: {- type: "sst.sst.Linkable"- value: string- }- Web: {- type: "sst.cloudflare.Astro"- url: string- }- XAI_API_KEY: {- type: "sst.sst.Secret"- value: string+ "ANTHROPIC_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "AUTH_API_URL": {+ "type": "sst.sst.Linkable"+ "value": string+ }+ "BASETEN_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "Console": {+ "type": "sst.cloudflare.SolidStart"+ "url": string+ }+ "Database": {+ "database": string+ "host": string+ "password": string+ "port": number+ "type": "sst.sst.Linkable"+ "username": string+ }+ "FIREWORKS_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_APP_ID": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_APP_PRIVATE_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_CLIENT_ID_CONSOLE": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_CLIENT_SECRET_CONSOLE": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GOOGLE_CLIENT_ID": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "HONEYCOMB_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "OPENAI_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "STRIPE_SECRET_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "STRIPE_WEBHOOK_SECRET": {+ "type": "sst.sst.Linkable"+ "value": string+ }+ "Web": {+ "type": "sst.cloudflare.Astro"+ "url": string+ }+ "XAI_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string}}}-// cloudflare-import * as cloudflare from "@cloudflare/workers-types"+// cloudflare+import * as cloudflare from "@cloudflare/workers-types";declare module "sst" {export interface Resource {- Api: cloudflare.Service- AuthApi: cloudflare.Service- AuthStorage: cloudflare.KVNamespace- Bucket: cloudflare.R2Bucket- LogProcessor: cloudflare.Service+ "Api": cloudflare.Service+ "AuthApi": cloudflare.Service+ "AuthStorage": cloudflare.KVNamespace+ "Bucket": cloudflare.R2Bucket+ "LogProcessor": cloudflare.Service}}import "sst"-export {}+export {}\ No newline at end of filediff --git a/cloud/scripts/sst-env.d.ts b/cloud/scripts/sst-env.d.tsindex 0397645b50f..b6a7e9066ef 100644--- a/cloud/scripts/sst-env.d.ts+++ b/cloud/scripts/sst-env.d.ts@@ -6,4 +6,4 @@/// <reference path="../../sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of filediff --git a/github/sst-env.d.ts b/github/sst-env.d.tsindex 6b69016e718..f742a120044 100644--- a/github/sst-env.d.ts+++ b/github/sst-env.d.ts@@ -6,4 +6,4 @@/// <reference path="../sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of filediff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.tsindex 11bc7adea4a..09c60c7c215 100644--- a/packages/function/sst-env.d.ts+++ b/packages/function/sst-env.d.ts@@ -6,87 +6,91 @@import "sst"declare module "sst" {export interface Resource {- ANTHROPIC_API_KEY: {- type: "sst.sst.Secret"- value: string- }- AUTH_API_URL: {- type: "sst.sst.Linkable"- value: string- }- BASETEN_API_KEY: {- type: "sst.sst.Secret"- value: string- }- Console: {- type: "sst.cloudflare.SolidStart"- url: string- }- Database: {- database: string- host: string- password: string- port: number- type: "sst.sst.Linkable"- username: string- }- GITHUB_APP_ID: {- type: "sst.sst.Secret"- value: string- }- GITHUB_APP_PRIVATE_KEY: {- type: "sst.sst.Secret"- value: string- }- GITHUB_CLIENT_ID_CONSOLE: {- type: "sst.sst.Secret"- value: string- }- GITHUB_CLIENT_SECRET_CONSOLE: {- type: "sst.sst.Secret"- value: string- }- GOOGLE_CLIENT_ID: {- type: "sst.sst.Secret"- value: string- }- HONEYCOMB_API_KEY: {- type: "sst.sst.Secret"- value: string- }- OPENAI_API_KEY: {- type: "sst.sst.Secret"- value: string- }- STRIPE_SECRET_KEY: {- type: "sst.sst.Secret"- value: string- }- STRIPE_WEBHOOK_SECRET: {- type: "sst.sst.Linkable"- value: string- }- Web: {- type: "sst.cloudflare.Astro"- url: string- }- XAI_API_KEY: {- type: "sst.sst.Secret"- value: string+ "ANTHROPIC_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "AUTH_API_URL": {+ "type": "sst.sst.Linkable"+ "value": string+ }+ "BASETEN_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "Console": {+ "type": "sst.cloudflare.SolidStart"+ "url": string+ }+ "Database": {+ "database": string+ "host": string+ "password": string+ "port": number+ "type": "sst.sst.Linkable"+ "username": string+ }+ "FIREWORKS_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_APP_ID": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_APP_PRIVATE_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_CLIENT_ID_CONSOLE": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GITHUB_CLIENT_SECRET_CONSOLE": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "GOOGLE_CLIENT_ID": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "HONEYCOMB_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "OPENAI_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "STRIPE_SECRET_KEY": {+ "type": "sst.sst.Secret"+ "value": string+ }+ "STRIPE_WEBHOOK_SECRET": {+ "type": "sst.sst.Linkable"+ "value": string+ }+ "Web": {+ "type": "sst.cloudflare.Astro"+ "url": string+ }+ "XAI_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string}}}-// cloudflare-import * as cloudflare from "@cloudflare/workers-types"+// cloudflare+import * as cloudflare from "@cloudflare/workers-types";declare module "sst" {export interface Resource {- Api: cloudflare.Service- AuthApi: cloudflare.Service- AuthStorage: cloudflare.KVNamespace- Bucket: cloudflare.R2Bucket- LogProcessor: cloudflare.Service+ "Api": cloudflare.Service+ "AuthApi": cloudflare.Service+ "AuthStorage": cloudflare.KVNamespace+ "Bucket": cloudflare.R2Bucket+ "LogProcessor": cloudflare.Service}}import "sst"-export {}+export {}\ No newline at end of filediff --git a/packages/opencode/sst-env.d.ts b/packages/opencode/sst-env.d.tsindex 0397645b50f..b6a7e9066ef 100644--- a/packages/opencode/sst-env.d.ts+++ b/packages/opencode/sst-env.d.ts@@ -6,4 +6,4 @@/// <reference path="../../sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of filediff --git a/packages/plugin/sst-env.d.ts b/packages/plugin/sst-env.d.tsindex 0397645b50f..b6a7e9066ef 100644--- a/packages/plugin/sst-env.d.ts+++ b/packages/plugin/sst-env.d.ts@@ -6,4 +6,4 @@/// <reference path="../../sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of filediff --git a/packages/sdk/js/sst-env.d.ts b/packages/sdk/js/sst-env.d.tsindex bd558821739..9b9de73273f 100644--- a/packages/sdk/js/sst-env.d.ts+++ b/packages/sdk/js/sst-env.d.ts@@ -6,4 +6,4 @@/// <reference path="../../../sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of filediff --git a/packages/web/sst-env.d.ts b/packages/web/sst-env.d.tsindex 0397645b50f..b6a7e9066ef 100644--- a/packages/web/sst-env.d.ts+++ b/packages/web/sst-env.d.ts@@ -6,4 +6,4 @@/// <reference path="../../sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of filediff --git a/sdks/vscode/sst-env.d.ts b/sdks/vscode/sst-env.d.tsindex 0397645b50f..b6a7e9066ef 100644--- a/sdks/vscode/sst-env.d.ts+++ b/sdks/vscode/sst-env.d.ts@@ -6,4 +6,4 @@/// <reference path="../../sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of filediff --git a/sst-env.d.ts b/sst-env.d.tsindex 7db87a85d4c..e45b4e5eabf 100644--- a/sst-env.d.ts+++ b/sst-env.d.ts@@ -5,95 +5,99 @@declare module "sst" {export interface Resource {- ANTHROPIC_API_KEY: {- type: "sst.sst.Secret"- value: string+ "ANTHROPIC_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string}- AUTH_API_URL: {- type: "sst.sst.Linkable"- value: string+ "AUTH_API_URL": {+ "type": "sst.sst.Linkable"+ "value": string}- Api: {- type: "sst.cloudflare.Worker"- url: string+ "Api": {+ "type": "sst.cloudflare.Worker"+ "url": string}- AuthApi: {- type: "sst.cloudflare.Worker"- url: string+ "AuthApi": {+ "type": "sst.cloudflare.Worker"+ "url": string}- AuthStorage: {- type: "sst.cloudflare.Kv"+ "AuthStorage": {+ "type": "sst.cloudflare.Kv"}- BASETEN_API_KEY: {- type: "sst.sst.Secret"- value: string+ "BASETEN_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string}- Bucket: {- name: string- type: "sst.cloudflare.Bucket"+ "Bucket": {+ "name": string+ "type": "sst.cloudflare.Bucket"}- Console: {- type: "sst.cloudflare.SolidStart"- url: string+ "Console": {+ "type": "sst.cloudflare.SolidStart"+ "url": string}- Database: {- database: string- host: string- password: string- port: number- type: "sst.sst.Linkable"- username: string+ "Database": {+ "database": string+ "host": string+ "password": string+ "port": number+ "type": "sst.sst.Linkable"+ "username": string}- GITHUB_APP_ID: {- type: "sst.sst.Secret"- value: string+ "FIREWORKS_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string}- GITHUB_APP_PRIVATE_KEY: {- type: "sst.sst.Secret"- value: string+ "GITHUB_APP_ID": {+ "type": "sst.sst.Secret"+ "value": string}- GITHUB_CLIENT_ID_CONSOLE: {- type: "sst.sst.Secret"- value: string+ "GITHUB_APP_PRIVATE_KEY": {+ "type": "sst.sst.Secret"+ "value": string}- GITHUB_CLIENT_SECRET_CONSOLE: {- type: "sst.sst.Secret"- value: string+ "GITHUB_CLIENT_ID_CONSOLE": {+ "type": "sst.sst.Secret"+ "value": string}- GOOGLE_CLIENT_ID: {- type: "sst.sst.Secret"- value: string+ "GITHUB_CLIENT_SECRET_CONSOLE": {+ "type": "sst.sst.Secret"+ "value": string}- HONEYCOMB_API_KEY: {- type: "sst.sst.Secret"- value: string+ "GOOGLE_CLIENT_ID": {+ "type": "sst.sst.Secret"+ "value": string}- LogProcessor: {- type: "sst.cloudflare.Worker"+ "HONEYCOMB_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string}- OPENAI_API_KEY: {- type: "sst.sst.Secret"- value: string+ "LogProcessor": {+ "type": "sst.cloudflare.Worker"}- STRIPE_SECRET_KEY: {- type: "sst.sst.Secret"- value: string+ "OPENAI_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string}- STRIPE_WEBHOOK_SECRET: {- type: "sst.sst.Linkable"- value: string+ "STRIPE_SECRET_KEY": {+ "type": "sst.sst.Secret"+ "value": string}- Web: {- type: "sst.cloudflare.Astro"- url: string+ "STRIPE_WEBHOOK_SECRET": {+ "type": "sst.sst.Linkable"+ "value": string}- XAI_API_KEY: {- type: "sst.sst.Secret"- value: string+ "Web": {+ "type": "sst.cloudflare.Astro"+ "url": string+ }+ "XAI_API_KEY": {+ "type": "sst.sst.Secret"+ "value": string}}}/// <reference path="sst-env.d.ts" />import "sst"-export {}+export {}\ No newline at end of file