@every-app/sdk 0.3.0-rc.1 → 0.3.0-rc.11
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/LICENSE +21 -0
- package/README.md +62 -64
- package/dist/cloudflare/catalogSettings.generated.d.ts +84 -0
- package/dist/cloudflare/catalogSettings.generated.d.ts.map +1 -0
- package/dist/cloudflare/catalogSettings.generated.js +175 -0
- package/dist/cloudflare/index.d.ts +3 -2
- package/dist/cloudflare/index.d.ts.map +1 -1
- package/dist/cloudflare/index.js +4 -1
- package/dist/cloudflare/sentinel.d.ts +60 -2
- package/dist/cloudflare/sentinel.d.ts.map +1 -1
- package/dist/cloudflare/sentinel.js +37 -2
- package/dist/cloudflare/worker.d.ts +391 -63
- package/dist/cloudflare/worker.d.ts.map +1 -1
- package/dist/cloudflare/worker.js +394 -108
- package/dist/dev/index.d.ts +1 -1
- package/dist/dev/index.d.ts.map +1 -1
- package/dist/dev/index.js +1 -1
- package/dist/dev/keypair.d.ts +2 -0
- package/dist/dev/keypair.d.ts.map +1 -1
- package/dist/dev/keypair.js +2 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/internal/aiDefault.d.ts +205 -0
- package/dist/internal/aiDefault.d.ts.map +1 -0
- package/dist/internal/aiDefault.js +335 -0
- package/dist/internal/aiProviders.d.ts +7 -2
- package/dist/internal/aiProviders.d.ts.map +1 -1
- package/dist/internal/aiProviders.js +19 -6
- package/dist/internal/appSettings.d.ts +82 -4
- package/dist/internal/appSettings.d.ts.map +1 -1
- package/dist/internal/appSettings.js +204 -29
- package/dist/internal/audit.d.ts +108 -0
- package/dist/internal/audit.d.ts.map +1 -0
- package/dist/internal/audit.js +235 -0
- package/dist/internal/capabilities.d.ts +2261 -815
- package/dist/internal/capabilities.d.ts.map +1 -1
- package/dist/internal/capabilities.js +122 -1034
- package/dist/internal/catalog/commerce.d.ts +394 -0
- package/dist/internal/catalog/commerce.d.ts.map +1 -0
- package/dist/internal/catalog/commerce.js +477 -0
- package/dist/internal/catalog/comms.d.ts +375 -0
- package/dist/internal/catalog/comms.d.ts.map +1 -0
- package/dist/internal/catalog/comms.js +520 -0
- package/dist/internal/catalog/index.d.ts +2008 -0
- package/dist/internal/catalog/index.d.ts.map +1 -0
- package/dist/internal/catalog/index.js +19 -0
- package/dist/internal/catalog/inference.d.ts +393 -0
- package/dist/internal/catalog/inference.d.ts.map +1 -0
- package/dist/internal/catalog/inference.js +460 -0
- package/dist/internal/catalog/infra.d.ts +458 -0
- package/dist/internal/catalog/infra.d.ts.map +1 -0
- package/dist/internal/catalog/infra.js +608 -0
- package/dist/internal/catalog/search.d.ts +400 -0
- package/dist/internal/catalog/search.d.ts.map +1 -0
- package/dist/internal/catalog/search.js +463 -0
- package/dist/internal/devProviders.d.ts +2 -2
- package/dist/internal/devProviders.d.ts.map +1 -1
- package/dist/internal/devProviders.js +19 -1
- package/dist/internal/events.d.ts +65 -3
- package/dist/internal/events.d.ts.map +1 -1
- package/dist/internal/events.js +110 -5
- package/dist/internal/gatewaySettings.d.ts +3 -2
- package/dist/internal/gatewaySettings.d.ts.map +1 -1
- package/dist/internal/gatewaySettings.js +12 -6
- package/dist/internal/identity.d.ts +41 -4
- package/dist/internal/identity.d.ts.map +1 -1
- package/dist/internal/identity.js +48 -10
- package/dist/internal/index.d.ts +6 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +6 -1
- package/dist/internal/members.d.ts +3 -2
- package/dist/internal/members.d.ts.map +1 -1
- package/dist/internal/oauthBuiltIns.d.ts +101 -0
- package/dist/internal/oauthBuiltIns.d.ts.map +1 -0
- package/dist/internal/oauthBuiltIns.js +122 -0
- package/dist/internal/oauthClient.d.ts +8 -50
- package/dist/internal/oauthClient.d.ts.map +1 -1
- package/dist/internal/oauthClient.js +2 -177
- package/dist/internal/oauthPresets.d.ts +32 -0
- package/dist/internal/oauthPresets.d.ts.map +1 -0
- package/dist/internal/oauthPresets.js +253 -0
- package/dist/internal/oauthScopes.d.ts +43 -100
- package/dist/internal/oauthScopes.d.ts.map +1 -1
- package/dist/internal/oauthScopes.js +83 -382
- package/dist/internal/oauthSpec.d.ts +103 -0
- package/dist/internal/oauthSpec.d.ts.map +1 -0
- package/dist/internal/oauthSpec.js +520 -0
- package/dist/internal/protocol.d.ts +97 -5
- package/dist/internal/protocol.d.ts.map +1 -1
- package/dist/internal/protocol.js +89 -1
- package/dist/internal/providerRegistry.d.ts +17 -6
- package/dist/internal/providerRegistry.d.ts.map +1 -1
- package/dist/internal/providerRegistry.js +71 -8
- package/dist/internal/providerSpec.d.ts +18 -7
- package/dist/internal/providerSpec.d.ts.map +1 -1
- package/dist/internal/providerSpec.js +420 -34
- package/dist/internal/remoteMcp.d.ts.map +1 -1
- package/dist/internal/remoteMcp.js +1 -5
- package/dist/internal/signInProviders.d.ts +104 -0
- package/dist/internal/signInProviders.d.ts.map +1 -0
- package/dist/internal/signInProviders.js +245 -0
- package/dist/internal/tools.d.ts +5 -4
- package/dist/internal/tools.d.ts.map +1 -1
- package/dist/internal/tools.js +4 -3
- package/dist/manifest.d.ts +267 -0
- package/dist/manifest.d.ts.map +1 -0
- package/dist/manifest.js +30 -0
- package/dist/server/ai.d.ts +111 -0
- package/dist/server/ai.d.ts.map +1 -0
- package/dist/server/ai.js +145 -0
- package/dist/server/aiBinding.d.ts +68 -0
- package/dist/server/aiBinding.d.ts.map +1 -0
- package/dist/server/aiBinding.js +294 -0
- package/dist/server/attribution.d.ts +18 -5
- package/dist/server/attribution.d.ts.map +1 -1
- package/dist/server/attribution.js +19 -5
- package/dist/server/connectUrl.d.ts +16 -0
- package/dist/server/connectUrl.d.ts.map +1 -0
- package/dist/server/connectUrl.js +40 -0
- package/dist/server/context.d.ts +68 -0
- package/dist/server/context.d.ts.map +1 -0
- package/dist/server/context.js +117 -0
- package/dist/server/emailBinding.d.ts +72 -0
- package/dist/server/emailBinding.d.ts.map +1 -0
- package/dist/server/emailBinding.js +124 -0
- package/dist/server/emit.d.ts +1 -1
- package/dist/server/emit.d.ts.map +1 -1
- package/dist/server/emit.js +7 -7
- package/dist/server/env.d.ts +44 -0
- package/dist/server/env.d.ts.map +1 -0
- package/dist/server/env.js +1 -0
- package/dist/server/eventsEndpoint.d.ts +48 -0
- package/dist/server/eventsEndpoint.d.ts.map +1 -0
- package/dist/server/eventsEndpoint.js +145 -0
- package/dist/server/everyApp.d.ts +40 -11
- package/dist/server/everyApp.d.ts.map +1 -1
- package/dist/server/everyApp.js +116 -6
- package/dist/server/fromMcpTools.d.ts +89 -0
- package/dist/server/fromMcpTools.d.ts.map +1 -0
- package/dist/server/fromMcpTools.js +192 -0
- package/dist/server/gatewayFetch.d.ts +42 -18
- package/dist/server/gatewayFetch.d.ts.map +1 -1
- package/dist/server/gatewayFetch.js +138 -19
- package/dist/server/gatewayUrl.d.ts +13 -0
- package/dist/server/gatewayUrl.d.ts.map +1 -0
- package/dist/server/gatewayUrl.js +34 -0
- package/dist/server/index.d.ts +16 -4
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +13 -3
- package/dist/server/integrationFetch.d.ts +92 -73
- package/dist/server/integrationFetch.d.ts.map +1 -1
- package/dist/server/integrationFetch.js +206 -319
- package/dist/server/listMembers.d.ts +1 -1
- package/dist/server/listMembers.d.ts.map +1 -1
- package/dist/server/listMembers.js +8 -11
- package/dist/server/refusal.d.ts +55 -0
- package/dist/server/refusal.d.ts.map +1 -0
- package/dist/server/refusal.js +193 -0
- package/dist/server/sendEmail.d.ts +1 -1
- package/dist/server/sendEmail.d.ts.map +1 -1
- package/dist/server/sendEmail.js +7 -7
- package/dist/server/tools.d.ts +7 -2
- package/dist/server/tools.d.ts.map +1 -1
- package/dist/server/tools.js +2 -1
- package/dist/server/toolsEndpoint.d.ts +3 -1
- package/dist/server/toolsEndpoint.d.ts.map +1 -1
- package/dist/server/toolsEndpoint.js +19 -7
- package/dist/server/webhooks.d.ts +56 -0
- package/dist/server/webhooks.d.ts.map +1 -0
- package/dist/server/webhooks.js +205 -0
- package/dist/tanstack-start/index.d.ts +9 -0
- package/dist/tanstack-start/index.d.ts.map +1 -0
- package/dist/tanstack-start/index.js +29 -0
- package/dist/testing/index.d.ts +93 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +156 -0
- package/package.json +35 -14
- package/dist/server/authorizeUrl.d.ts +0 -43
- package/dist/server/authorizeUrl.d.ts.map +0 -1
- package/dist/server/authorizeUrl.js +0 -110
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
export declare const INFRA: {
|
|
2
|
+
readonly cloudflare: {
|
|
3
|
+
readonly mode: "api_key";
|
|
4
|
+
readonly label: "Cloudflare";
|
|
5
|
+
readonly description: "Cloudflare's API: zones, DNS, Workers, R2, D1, KV and the rest of an account.";
|
|
6
|
+
readonly auth: {
|
|
7
|
+
readonly kind: "bearer";
|
|
8
|
+
readonly secret: "CLOUDFLARE_PROVIDER_API_TOKEN";
|
|
9
|
+
};
|
|
10
|
+
readonly docs: "https://dash.cloudflare.com/profile/api-tokens";
|
|
11
|
+
readonly api: "https://developers.cloudflare.com/api/";
|
|
12
|
+
readonly hosts: readonly ["api.cloudflare.com"];
|
|
13
|
+
readonly data: "account";
|
|
14
|
+
readonly access: readonly ["read", "write"];
|
|
15
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
16
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
17
|
+
readonly accountWidePaths: readonly [readonly ["client", "v4", "user"], readonly ["client", "v4", "memberships"], readonly ["client", "v4", "organizations"], readonly ["client", "v4", "tenants"], readonly ["members"], readonly ["tokens"], readonly ["roles"], readonly ["iam"], readonly ["subscriptions"], readonly ["payment-methods"], readonly ["pay-invoice"], readonly ["receipts"], readonly ["invoices"], readonly ["client-secret"], readonly ["billing"], readonly ["logs", "audit"], readonly ["audit_logs"], readonly ["alerting", "v3", "destinations", "webhooks"], readonly ["ai", "run"], readonly ["ai", "v1"]];
|
|
18
|
+
readonly hint: "An API token from My Profile > API Tokens with only the permissions the app needs; the Gateway sends it as a bearer token. A token on the Gateway's own account can read and change the Gateway, so keep it narrow or use another account.";
|
|
19
|
+
readonly secrets: readonly [{
|
|
20
|
+
readonly name: "CLOUDFLARE_PROVIDER_API_TOKEN";
|
|
21
|
+
readonly hint: "A user or account-owned API token scoped to the zones and permissions the app needs, never a Global API Key.";
|
|
22
|
+
}];
|
|
23
|
+
readonly smoke: {
|
|
24
|
+
readonly method: "GET";
|
|
25
|
+
readonly path: "/client/v4/user/tokens/verify";
|
|
26
|
+
readonly expect: readonly [200];
|
|
27
|
+
readonly free: true;
|
|
28
|
+
readonly note: "For a user token; account-owned tokens use /client/v4/accounts/<id>/tokens/verify. Account-wide, so run it from the person's terminal.";
|
|
29
|
+
};
|
|
30
|
+
readonly rate: {
|
|
31
|
+
readonly note: "1,200 requests per 5 minutes per user or account token; 200 a second per IP; GraphQL by query cost, at most 320 per 5 minutes.";
|
|
32
|
+
};
|
|
33
|
+
readonly example: "list the DNS records for my domain";
|
|
34
|
+
readonly verified: {
|
|
35
|
+
readonly on: "2026-10-25";
|
|
36
|
+
readonly how: "docs";
|
|
37
|
+
};
|
|
38
|
+
readonly tags: readonly ["infrastructure", "dns", "hosting"];
|
|
39
|
+
};
|
|
40
|
+
readonly posthog: {
|
|
41
|
+
readonly mode: "api_key";
|
|
42
|
+
readonly label: "PostHog";
|
|
43
|
+
readonly description: "Product analytics: insights, feature flags, persons, cohorts, experiments and HogQL queries.";
|
|
44
|
+
readonly auth: {
|
|
45
|
+
readonly kind: "bearer";
|
|
46
|
+
readonly secret: "POSTHOG_PERSONAL_API_KEY";
|
|
47
|
+
};
|
|
48
|
+
readonly docs: "https://us.posthog.com/settings/user-api-keys";
|
|
49
|
+
readonly api: "https://posthog.com/docs/api";
|
|
50
|
+
readonly hosts: readonly ["us.posthog.com", "eu.posthog.com"];
|
|
51
|
+
readonly data: "account";
|
|
52
|
+
readonly access: readonly ["read", "write"];
|
|
53
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
54
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
55
|
+
readonly accountWidePaths: readonly [readonly ["api", "users"], readonly ["api", "user"], readonly ["api", "organizations"], readonly ["api", "billing"], readonly ["api", "revoke_leaked_key"], readonly ["project_secret_api_keys"], readonly ["billing"], readonly ["activity_log"], readonly ["advanced_activity_logs"], readonly ["hog_functions"], readonly ["batch_exports"], readonly ["integrations"]];
|
|
56
|
+
readonly hint: "A personal API key from Settings > Personal API keys, with only the scopes the app needs; the Gateway sends it as a bearer token to us.posthog.com or eu.posthog.com. HogQL queries are POSTs, so an app that runs them asks for write.";
|
|
57
|
+
readonly secrets: readonly [{
|
|
58
|
+
readonly name: "POSTHOG_PERSONAL_API_KEY";
|
|
59
|
+
readonly hint: "A personal API key (phx_...) with only the scopes the app needs, from the region the project lives in; never the project token.";
|
|
60
|
+
}];
|
|
61
|
+
readonly smoke: {
|
|
62
|
+
readonly method: "GET";
|
|
63
|
+
readonly host: "us.posthog.com";
|
|
64
|
+
readonly path: "/api/users/@me/";
|
|
65
|
+
readonly expect: readonly [200];
|
|
66
|
+
readonly free: true;
|
|
67
|
+
readonly note: "Needs the user:read scope; use eu.posthog.com for an EU project. Account-wide, so run it from the person's terminal.";
|
|
68
|
+
};
|
|
69
|
+
readonly rate: {
|
|
70
|
+
readonly perMinute: 480;
|
|
71
|
+
readonly note: "Create, read, update and delete endpoints 480 a minute and 4,800 an hour; analytics endpoints 240 a minute; the query endpoint 2,400 an hour.";
|
|
72
|
+
};
|
|
73
|
+
readonly example: "list the feature flags in my project and whether each is on";
|
|
74
|
+
readonly verified: {
|
|
75
|
+
readonly on: "2026-10-25";
|
|
76
|
+
readonly how: "docs";
|
|
77
|
+
};
|
|
78
|
+
readonly tags: readonly ["analytics", "product", "feature-flags"];
|
|
79
|
+
};
|
|
80
|
+
readonly mixpanel: {
|
|
81
|
+
readonly mode: "api_key";
|
|
82
|
+
readonly label: "Mixpanel";
|
|
83
|
+
readonly description: "Product analytics: saved reports, profiles, raw event export and event import.";
|
|
84
|
+
readonly auth: {
|
|
85
|
+
readonly kind: "basic";
|
|
86
|
+
readonly secret: "MIXPANEL_SERVICE_ACCOUNT_SECRET";
|
|
87
|
+
readonly as: "password";
|
|
88
|
+
readonly user: {
|
|
89
|
+
readonly secret: "MIXPANEL_SERVICE_ACCOUNT_USERNAME";
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
readonly docs: "https://mixpanel.com/settings/org#serviceaccounts";
|
|
93
|
+
readonly api: "https://docs.mixpanel.com/reference/overview";
|
|
94
|
+
readonly hosts: readonly ["mixpanel.com", "eu.mixpanel.com", "in.mixpanel.com", "data.mixpanel.com", "data-eu.mixpanel.com", "data-in.mixpanel.com", "api.mixpanel.com", "api-eu.mixpanel.com", "api-in.mixpanel.com"];
|
|
95
|
+
readonly data: "account";
|
|
96
|
+
readonly access: readonly ["read", "write"];
|
|
97
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
98
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
99
|
+
readonly accountWidePaths: readonly [readonly ["api", "app", "me"], readonly ["api", "app", "organizations"], readonly ["service-accounts"], readonly ["data-retrievals"], readonly ["data-deletions"], readonly ["nessie"]];
|
|
100
|
+
readonly hint: "A service account from Organization Settings > Service Accounts; the Gateway sends its username and secret as HTTP Basic. Most calls also need the project_id parameter, and an EU or India project uses its own hosts.";
|
|
101
|
+
readonly secrets: readonly [{
|
|
102
|
+
readonly name: "MIXPANEL_SERVICE_ACCOUNT_USERNAME";
|
|
103
|
+
readonly hint: "The service account's username, shown when it is created in Organization Settings > Service Accounts.";
|
|
104
|
+
}, {
|
|
105
|
+
readonly name: "MIXPANEL_SERVICE_ACCOUNT_SECRET";
|
|
106
|
+
readonly hint: "The service account's secret, shown once when it is created; give the account the narrowest role and only the projects the app needs.";
|
|
107
|
+
}];
|
|
108
|
+
readonly smoke: {
|
|
109
|
+
readonly method: "GET";
|
|
110
|
+
readonly host: "mixpanel.com";
|
|
111
|
+
readonly path: "/api/app/me";
|
|
112
|
+
readonly expect: readonly [200];
|
|
113
|
+
readonly free: true;
|
|
114
|
+
readonly note: "Lists the organizations and projects the service account reaches. Account-wide, so run it from the person's terminal.";
|
|
115
|
+
};
|
|
116
|
+
readonly rate: {
|
|
117
|
+
readonly note: "Per project: Query API 60 queries an hour, 5 at once; Raw Data Export 60 an hour, 3 a second, 100 at once; ingestion about 2 GB a minute.";
|
|
118
|
+
};
|
|
119
|
+
readonly example: "pull last week's numbers from my saved Insights report";
|
|
120
|
+
readonly verified: {
|
|
121
|
+
readonly on: "2026-10-25";
|
|
122
|
+
readonly how: "docs";
|
|
123
|
+
};
|
|
124
|
+
readonly tags: readonly ["analytics", "product"];
|
|
125
|
+
};
|
|
126
|
+
readonly segment: {
|
|
127
|
+
readonly mode: "api_key";
|
|
128
|
+
readonly label: "Segment";
|
|
129
|
+
readonly description: "Sends identify, track, page, group and alias events to a Segment source.";
|
|
130
|
+
readonly auth: {
|
|
131
|
+
readonly kind: "basic";
|
|
132
|
+
readonly secret: "SEGMENT_WRITE_KEY";
|
|
133
|
+
readonly as: "username";
|
|
134
|
+
};
|
|
135
|
+
readonly docs: "https://www.twilio.com/docs/segment/connections/find-writekey";
|
|
136
|
+
readonly api: "https://www.twilio.com/docs/segment/connections/sources/catalog/libraries/server/http-api";
|
|
137
|
+
readonly hosts: readonly ["api.segment.io", "events.eu1.segmentapis.com"];
|
|
138
|
+
readonly data: "account";
|
|
139
|
+
readonly access: readonly ["write"];
|
|
140
|
+
readonly readMethods: readonly [];
|
|
141
|
+
readonly writeMethods: readonly ["POST"];
|
|
142
|
+
readonly accountWidePaths: readonly [];
|
|
143
|
+
readonly hint: "The write key of an HTTP API source, from the source's Settings > API Keys; the Gateway sends it as the Basic username with an empty password. It only sends events; an EU workspace uses events.eu1.segmentapis.com.";
|
|
144
|
+
readonly secrets: readonly [{
|
|
145
|
+
readonly name: "SEGMENT_WRITE_KEY";
|
|
146
|
+
readonly hint: "The write key of an HTTP API source, from the source's Settings > API Keys.";
|
|
147
|
+
}];
|
|
148
|
+
readonly rate: {
|
|
149
|
+
readonly perSecond: 1000;
|
|
150
|
+
readonly note: "Recommended ceiling per workspace; 32 KB per call, 500 KB and 2,500 events per batch.";
|
|
151
|
+
};
|
|
152
|
+
readonly example: "record a Signed Up event for a new user";
|
|
153
|
+
readonly verified: {
|
|
154
|
+
readonly on: "2026-10-25";
|
|
155
|
+
readonly how: "docs";
|
|
156
|
+
};
|
|
157
|
+
readonly tags: readonly ["analytics", "events", "cdp"];
|
|
158
|
+
};
|
|
159
|
+
readonly supabase: {
|
|
160
|
+
readonly mode: "api_key";
|
|
161
|
+
readonly label: "Supabase";
|
|
162
|
+
readonly description: "A Supabase project's Postgres REST API and Storage, with its secret key.";
|
|
163
|
+
readonly auth: {
|
|
164
|
+
readonly kind: "header";
|
|
165
|
+
readonly secret: "SUPABASE_SECRET_KEY";
|
|
166
|
+
readonly header: "apikey";
|
|
167
|
+
};
|
|
168
|
+
readonly docs: "https://supabase.com/dashboard/project/_/settings/api-keys";
|
|
169
|
+
readonly api: "https://supabase.com/docs/guides/api";
|
|
170
|
+
readonly hosts: readonly [];
|
|
171
|
+
readonly hostSetting: "SUPABASE_HOST";
|
|
172
|
+
readonly data: "account";
|
|
173
|
+
readonly access: readonly ["read", "write"];
|
|
174
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
175
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
176
|
+
readonly accountWidePaths: readonly [readonly ["auth", "v1", "admin"], readonly ["pg"]];
|
|
177
|
+
readonly hint: "A secret key (sb_secret_...) from Settings > API Keys and the project's host; the Gateway sends the key in the apikey header. The key bypasses Row Level Security, and RPC calls are POSTs, so they need write.";
|
|
178
|
+
readonly secrets: readonly [{
|
|
179
|
+
readonly name: "SUPABASE_SECRET_KEY";
|
|
180
|
+
readonly hint: "A secret key (sb_secret_...) from Settings > API Keys, made for this Gateway alone; it bypasses Row Level Security.";
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "SUPABASE_HOST";
|
|
183
|
+
readonly hint: "The project's host, <project-ref>.supabase.co, from the project URL.";
|
|
184
|
+
}];
|
|
185
|
+
readonly smoke: {
|
|
186
|
+
readonly method: "GET";
|
|
187
|
+
readonly path: "/rest/v1/";
|
|
188
|
+
readonly expect: readonly [200];
|
|
189
|
+
readonly free: true;
|
|
190
|
+
readonly note: "The REST API's OpenAPI root, which only a secret key may read; sent to the host in SUPABASE_HOST.";
|
|
191
|
+
};
|
|
192
|
+
readonly example: "list the ten newest rows in my orders table";
|
|
193
|
+
readonly verified: {
|
|
194
|
+
readonly on: "2026-10-25";
|
|
195
|
+
readonly how: "docs";
|
|
196
|
+
};
|
|
197
|
+
readonly tags: readonly ["database", "postgres", "storage"];
|
|
198
|
+
};
|
|
199
|
+
readonly turso: {
|
|
200
|
+
readonly mode: "api_key";
|
|
201
|
+
readonly label: "Turso";
|
|
202
|
+
readonly description: "Turso's Platform API: databases, groups, locations and usage for one organization.";
|
|
203
|
+
readonly auth: {
|
|
204
|
+
readonly kind: "bearer";
|
|
205
|
+
readonly secret: "TURSO_API_TOKEN";
|
|
206
|
+
};
|
|
207
|
+
readonly docs: "https://docs.turso.tech/api-reference/authentication";
|
|
208
|
+
readonly api: "https://docs.turso.tech/api-reference/introduction";
|
|
209
|
+
readonly hosts: readonly ["api.turso.tech"];
|
|
210
|
+
readonly data: "account";
|
|
211
|
+
readonly access: readonly ["read", "write"];
|
|
212
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
213
|
+
readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
|
|
214
|
+
readonly accountWidePaths: readonly [readonly ["auth"], readonly ["api-tokens"], readonly ["members"], readonly ["invites"], readonly ["invoices"], readonly ["subscription"], readonly ["plans"], readonly ["audit-logs"], readonly ["v1", "user"]];
|
|
215
|
+
readonly hint: "An organization-scoped Platform API token (turso auth api-tokens mint <name> --org <org>); the Gateway sends it as a bearer token to api.turso.tech. It manages databases and cannot query them: that is the turso-db entry.";
|
|
216
|
+
readonly secrets: readonly [{
|
|
217
|
+
readonly name: "TURSO_API_TOKEN";
|
|
218
|
+
readonly hint: "An organization-scoped or group-scoped Platform API token from turso auth api-tokens mint <name> --org <org>; never an unrestricted one.";
|
|
219
|
+
}];
|
|
220
|
+
readonly smoke: {
|
|
221
|
+
readonly method: "GET";
|
|
222
|
+
readonly path: "/v1/auth/validate";
|
|
223
|
+
readonly expect: readonly [200];
|
|
224
|
+
readonly free: true;
|
|
225
|
+
readonly note: "Account-wide, so run it from the person's terminal.";
|
|
226
|
+
};
|
|
227
|
+
readonly example: "list the databases in my Turso organization";
|
|
228
|
+
readonly verified: {
|
|
229
|
+
readonly on: "2026-10-25";
|
|
230
|
+
readonly how: "docs";
|
|
231
|
+
};
|
|
232
|
+
readonly tags: readonly ["database", "sqlite"];
|
|
233
|
+
};
|
|
234
|
+
readonly "turso-db": {
|
|
235
|
+
readonly mode: "api_key";
|
|
236
|
+
readonly label: "Turso database";
|
|
237
|
+
readonly description: "SQL over HTTP to one Turso database: queries, dumps and migration status.";
|
|
238
|
+
readonly auth: {
|
|
239
|
+
readonly kind: "bearer";
|
|
240
|
+
readonly secret: "TURSO_DB_AUTH_TOKEN";
|
|
241
|
+
};
|
|
242
|
+
readonly docs: "https://docs.turso.tech/sdk/authorization/tokens";
|
|
243
|
+
readonly api: "https://docs.turso.tech/sdk/http/reference";
|
|
244
|
+
readonly hosts: readonly [];
|
|
245
|
+
readonly hostSetting: "TURSO_DB_HOST";
|
|
246
|
+
readonly data: "account";
|
|
247
|
+
readonly access: readonly ["read", "write"];
|
|
248
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
249
|
+
readonly writeMethods: readonly ["POST"];
|
|
250
|
+
readonly accountWidePaths: readonly [];
|
|
251
|
+
readonly hint: "A database token (turso db tokens create <db>) and the database's HTTP host; the Gateway sends the token as a bearer token. Every query is a POST to /v2/pipeline, so an app that queries asks for write; a --read-only token keeps it to reads.";
|
|
252
|
+
readonly secrets: readonly [{
|
|
253
|
+
readonly name: "TURSO_DB_AUTH_TOKEN";
|
|
254
|
+
readonly hint: "A database token from turso db tokens create <db>, with --read-only or fine-grained permissions when the app only reads.";
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "TURSO_DB_HOST";
|
|
257
|
+
readonly hint: "The database's HTTP host, <db>-<org>.turso.io, from turso db show <db> --http-url.";
|
|
258
|
+
}];
|
|
259
|
+
readonly example: "count the rows in my users table";
|
|
260
|
+
readonly verified: {
|
|
261
|
+
readonly on: "2026-10-25";
|
|
262
|
+
readonly how: "docs";
|
|
263
|
+
};
|
|
264
|
+
readonly tags: readonly ["database", "sqlite", "sql"];
|
|
265
|
+
};
|
|
266
|
+
readonly neon: {
|
|
267
|
+
readonly mode: "api_key";
|
|
268
|
+
readonly label: "Neon";
|
|
269
|
+
readonly description: "Neon's management API: Postgres projects, branches, databases, roles and endpoints.";
|
|
270
|
+
readonly auth: {
|
|
271
|
+
readonly kind: "bearer";
|
|
272
|
+
readonly secret: "NEON_API_KEY";
|
|
273
|
+
};
|
|
274
|
+
readonly docs: "https://neon.com/docs/manage/api-keys";
|
|
275
|
+
readonly api: "https://neon.com/docs/reference/api";
|
|
276
|
+
readonly hosts: readonly ["console.neon.tech"];
|
|
277
|
+
readonly data: "account";
|
|
278
|
+
readonly access: readonly ["read", "write"];
|
|
279
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
280
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
281
|
+
readonly accountWidePaths: readonly [readonly ["api", "v2", "auth"], readonly ["api", "v2", "organizations"], readonly ["users", "me"], readonly ["api_keys"], readonly ["members"], readonly ["invitations"], readonly ["permissions"], readonly ["transfer_requests"], readonly ["billing"], readonly ["consumption_history"], readonly ["connection_uri"], readonly ["reveal_password"], readonly ["reset_password"], readonly ["credentials"], readonly ["realtime", "secret"], readonly ["rotate_secret"], readonly ["auth", "keys"], readonly ["auth", "webhooks"], readonly ["oauth_providers"], readonly ["email_server"], readonly ["email_provider"], readonly ["auth", "plugins"]];
|
|
282
|
+
readonly hint: "A project-scoped or organization API key from Settings > API keys; the Gateway sends it as a bearer token to console.neon.tech. It manages projects and branches; the database itself takes Postgres credentials, not this key.";
|
|
283
|
+
readonly secrets: readonly [{
|
|
284
|
+
readonly name: "NEON_API_KEY";
|
|
285
|
+
readonly hint: "A project-scoped or organization API key from Settings > API keys; a project-scoped key reaches one project only.";
|
|
286
|
+
}];
|
|
287
|
+
readonly smoke: {
|
|
288
|
+
readonly method: "GET";
|
|
289
|
+
readonly path: "/api/v2/auth";
|
|
290
|
+
readonly expect: readonly [200];
|
|
291
|
+
readonly free: true;
|
|
292
|
+
readonly note: "Says which credential and identity the key is. Account-wide, so run it from the person's terminal.";
|
|
293
|
+
};
|
|
294
|
+
readonly rate: {
|
|
295
|
+
readonly perMinute: 700;
|
|
296
|
+
readonly note: "About 11 a second, with bursts of 40 a second per route.";
|
|
297
|
+
};
|
|
298
|
+
readonly example: "list my Neon projects and their branches";
|
|
299
|
+
readonly verified: {
|
|
300
|
+
readonly on: "2026-10-25";
|
|
301
|
+
readonly how: "docs";
|
|
302
|
+
};
|
|
303
|
+
readonly tags: readonly ["database", "postgres"];
|
|
304
|
+
};
|
|
305
|
+
readonly pinecone: {
|
|
306
|
+
readonly mode: "api_key";
|
|
307
|
+
readonly label: "Pinecone";
|
|
308
|
+
readonly description: "Vector database: indexes, namespaces, vectors and documents, plus hosted embedding and rerank.";
|
|
309
|
+
readonly auth: {
|
|
310
|
+
readonly kind: "header";
|
|
311
|
+
readonly secret: "PINECONE_API_KEY";
|
|
312
|
+
readonly header: "Api-Key";
|
|
313
|
+
};
|
|
314
|
+
readonly docs: "https://app.pinecone.io/organizations/-/projects/-/keys";
|
|
315
|
+
readonly api: "https://docs.pinecone.io/reference/api/introduction";
|
|
316
|
+
readonly hosts: readonly ["api.pinecone.io"];
|
|
317
|
+
readonly hostSetting: "PINECONE_HOST";
|
|
318
|
+
readonly data: "account";
|
|
319
|
+
readonly access: readonly ["read", "write"];
|
|
320
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
321
|
+
readonly writeMethods: readonly ["POST", "PATCH", "DELETE"];
|
|
322
|
+
readonly accountWidePaths: readonly [readonly ["admin"], readonly ["api-keys"]];
|
|
323
|
+
readonly hint: "An API key from the project's API keys page and the host of the index the app uses; the Gateway sends the key in the Api-Key header to api.pinecone.io and that host. Query, search, embed and rerank are POSTs, so an app that uses them asks for write.";
|
|
324
|
+
readonly secrets: readonly [{
|
|
325
|
+
readonly name: "PINECONE_API_KEY";
|
|
326
|
+
readonly hint: "An API key from the project's API keys page in the Pinecone console.";
|
|
327
|
+
}, {
|
|
328
|
+
readonly name: "PINECONE_HOST";
|
|
329
|
+
readonly hint: "The host of the index the app uses, <index>-<id>.svc.<env>.pinecone.io, from describe_index or the console.";
|
|
330
|
+
}];
|
|
331
|
+
readonly smoke: {
|
|
332
|
+
readonly method: "GET";
|
|
333
|
+
readonly host: "api.pinecone.io";
|
|
334
|
+
readonly path: "/indexes";
|
|
335
|
+
readonly expect: readonly [200];
|
|
336
|
+
readonly free: true;
|
|
337
|
+
readonly note: "Lists the project's indexes; the app sends X-Pinecone-Api-Version itself.";
|
|
338
|
+
};
|
|
339
|
+
readonly example: "list my Pinecone indexes and their dimensions";
|
|
340
|
+
readonly verified: {
|
|
341
|
+
readonly on: "2026-10-25";
|
|
342
|
+
readonly how: "docs";
|
|
343
|
+
};
|
|
344
|
+
readonly tags: readonly ["vector", "database", "search"];
|
|
345
|
+
};
|
|
346
|
+
readonly mapbox: {
|
|
347
|
+
readonly mode: "api_key";
|
|
348
|
+
readonly label: "Mapbox";
|
|
349
|
+
readonly description: "Maps and location: geocoding, directions, styles, tilesets and datasets.";
|
|
350
|
+
readonly auth: {
|
|
351
|
+
readonly kind: "query";
|
|
352
|
+
readonly secret: "MAPBOX_ACCESS_TOKEN";
|
|
353
|
+
readonly param: "access_token";
|
|
354
|
+
};
|
|
355
|
+
readonly docs: "https://console.mapbox.com/account/access-tokens/";
|
|
356
|
+
readonly api: "https://docs.mapbox.com/api/overview/";
|
|
357
|
+
readonly hosts: readonly ["api.mapbox.com"];
|
|
358
|
+
readonly data: "account";
|
|
359
|
+
readonly access: readonly ["read", "write"];
|
|
360
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
361
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
362
|
+
readonly accountWidePaths: readonly [readonly ["tokens"]];
|
|
363
|
+
readonly hint: "An access token from Access tokens in the Mapbox console, with only the scopes the app needs; the Gateway adds it to every call as the access_token parameter.";
|
|
364
|
+
readonly secrets: readonly [{
|
|
365
|
+
readonly name: "MAPBOX_ACCESS_TOKEN";
|
|
366
|
+
readonly hint: "An access token with only the scopes the app needs, from Access tokens in the Mapbox console.";
|
|
367
|
+
}];
|
|
368
|
+
readonly rate: {
|
|
369
|
+
readonly note: "Per token and per API: Geocoding 1,000 a minute, Directions 300, Static Images 1,250; the Tokens API 100 a minute per account.";
|
|
370
|
+
};
|
|
371
|
+
readonly example: "turn a street address into map coordinates";
|
|
372
|
+
readonly verified: {
|
|
373
|
+
readonly on: "2026-10-25";
|
|
374
|
+
readonly how: "docs";
|
|
375
|
+
};
|
|
376
|
+
readonly tags: readonly ["maps", "geocoding", "location"];
|
|
377
|
+
};
|
|
378
|
+
readonly openweather: {
|
|
379
|
+
readonly mode: "api_key";
|
|
380
|
+
readonly label: "OpenWeather";
|
|
381
|
+
readonly description: "Weather data: current conditions, forecasts, One Call, history and weather map tiles.";
|
|
382
|
+
readonly auth: {
|
|
383
|
+
readonly kind: "query";
|
|
384
|
+
readonly secret: "OPENWEATHER_API_KEY";
|
|
385
|
+
readonly param: "appid";
|
|
386
|
+
};
|
|
387
|
+
readonly docs: "https://home.openweathermap.org/api_keys";
|
|
388
|
+
readonly api: "https://openweathermap.org/api";
|
|
389
|
+
readonly hosts: readonly ["api.openweathermap.org", "pro.openweathermap.org", "history.openweathermap.org", "tile.openweathermap.org", "maps.openweathermap.org"];
|
|
390
|
+
readonly data: "per-call";
|
|
391
|
+
readonly access: readonly ["read"];
|
|
392
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
393
|
+
readonly accountWidePaths: readonly [readonly ["data", "3", "stations"], readonly ["data", "3", "measurements"]];
|
|
394
|
+
readonly hint: "An API key from the API keys tab of your OpenWeather account; the Gateway adds it to every call as the appid parameter. Paid products (hourly forecast, history, Weather Maps 2.0) need a plan that includes them.";
|
|
395
|
+
readonly secrets: readonly [{
|
|
396
|
+
readonly name: "OPENWEATHER_API_KEY";
|
|
397
|
+
readonly hint: "An API key from the API keys tab of the OpenWeather account; a new key can take up to two hours to activate.";
|
|
398
|
+
}];
|
|
399
|
+
readonly smoke: {
|
|
400
|
+
readonly method: "GET";
|
|
401
|
+
readonly host: "api.openweathermap.org";
|
|
402
|
+
readonly path: "/data/2.5/weather?lat=51.51&lon=-0.13";
|
|
403
|
+
readonly expect: readonly [200];
|
|
404
|
+
readonly free: true;
|
|
405
|
+
readonly note: "Counts one call against the plan's quota; free within it. A bad or not yet active key answers 401.";
|
|
406
|
+
};
|
|
407
|
+
readonly cost: {
|
|
408
|
+
readonly unit: "call";
|
|
409
|
+
readonly note: "One Call API 3.0 includes 1,000 calls a day free, then is paid per call.";
|
|
410
|
+
};
|
|
411
|
+
readonly rate: {
|
|
412
|
+
readonly perMinute: 60;
|
|
413
|
+
readonly note: "The Free plan answers 429 past 60 calls a minute.";
|
|
414
|
+
};
|
|
415
|
+
readonly example: "get the current weather in Lisbon";
|
|
416
|
+
readonly verified: {
|
|
417
|
+
readonly on: "2026-10-25";
|
|
418
|
+
readonly how: "docs";
|
|
419
|
+
};
|
|
420
|
+
readonly tags: readonly ["weather", "forecast"];
|
|
421
|
+
};
|
|
422
|
+
readonly daytona: {
|
|
423
|
+
readonly mode: "api_key";
|
|
424
|
+
readonly label: "Daytona";
|
|
425
|
+
readonly description: "Sandboxes for running code: create, start, stop, archive and delete sandboxes, and manage their snapshots and volumes.";
|
|
426
|
+
readonly auth: {
|
|
427
|
+
readonly kind: "bearer";
|
|
428
|
+
readonly secret: "DAYTONA_API_KEY";
|
|
429
|
+
};
|
|
430
|
+
readonly docs: "https://www.daytona.io/docs/en/api-keys/";
|
|
431
|
+
readonly api: "https://www.daytona.io/docs/en/tools/api/";
|
|
432
|
+
readonly hosts: readonly ["app.daytona.io"];
|
|
433
|
+
readonly data: "account";
|
|
434
|
+
readonly access: readonly ["read", "write"];
|
|
435
|
+
readonly readMethods: readonly ["GET", "HEAD"];
|
|
436
|
+
readonly writeMethods: readonly ["POST", "PUT", "PATCH", "DELETE"];
|
|
437
|
+
readonly accountWidePaths: readonly [readonly ["organizations"], readonly ["organization"], readonly ["billing"], readonly ["api-keys"], readonly ["users"], readonly ["audit"], readonly ["webhooks"], readonly ["secret"], readonly ["docker-registry"], readonly ["object-storage"], readonly ["regions"], readonly ["runners"], readonly ["for-runner"], readonly ["jobs"], readonly ["warm-pools"], readonly ["preview"], readonly ["ssh-access", "validate"]];
|
|
438
|
+
readonly hint: "An API key from the Daytona dashboard's Keys page, with only the permissions the apps need; the Gateway sends it as a bearer token to app.daytona.io. Any key of an organization reaches every running sandbox in it, so give the Gateway a Daytona organization of its own.";
|
|
439
|
+
readonly secrets: readonly [{
|
|
440
|
+
readonly name: "DAYTONA_API_KEY";
|
|
441
|
+
readonly hint: "An API key from the Daytona dashboard's Keys page: write:sandboxes and delete:sandboxes (and the snapshot or volume ones) only if an app needs them, and never manage:api_keys, manage:secrets, manage:billing or the region and runner permissions.";
|
|
442
|
+
}];
|
|
443
|
+
readonly smoke: {
|
|
444
|
+
readonly method: "GET";
|
|
445
|
+
readonly path: "/api/sandbox";
|
|
446
|
+
readonly expect: readonly [200];
|
|
447
|
+
readonly free: true;
|
|
448
|
+
readonly note: "Lists the organization's sandboxes; any key may read them.";
|
|
449
|
+
};
|
|
450
|
+
readonly example: "start a sandbox from my snapshot and stop it when the run is done";
|
|
451
|
+
readonly verified: {
|
|
452
|
+
readonly on: "2026-11-01";
|
|
453
|
+
readonly how: "docs";
|
|
454
|
+
};
|
|
455
|
+
readonly tags: readonly ["sandbox", "compute", "hosting"];
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
//# sourceMappingURL=infra.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra.d.ts","sourceRoot":"","sources":["../../../src/internal/catalog/infra.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4mBmC,CAAC"}
|