@every-app/sdk 0.3.0-rc.10 → 0.3.0-rc.12

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.
Files changed (120) hide show
  1. package/README.md +67 -67
  2. package/dist/cloudflare/catalogSettings.generated.d.ts +7 -4
  3. package/dist/cloudflare/catalogSettings.generated.d.ts.map +1 -1
  4. package/dist/cloudflare/catalogSettings.generated.js +7 -6
  5. package/dist/cloudflare/index.d.ts +1 -1
  6. package/dist/cloudflare/index.d.ts.map +1 -1
  7. package/dist/cloudflare/worker.d.ts +36 -2
  8. package/dist/cloudflare/worker.d.ts.map +1 -1
  9. package/dist/cloudflare/worker.js +32 -6
  10. package/dist/index.d.ts +1 -1
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/internal/aiDefault.d.ts +36 -79
  13. package/dist/internal/aiDefault.d.ts.map +1 -1
  14. package/dist/internal/aiDefault.js +47 -149
  15. package/dist/internal/aiProviders.d.ts.map +1 -1
  16. package/dist/internal/aiProviders.js +2 -2
  17. package/dist/internal/appSettings.d.ts +14 -17
  18. package/dist/internal/appSettings.d.ts.map +1 -1
  19. package/dist/internal/appSettings.js +2 -16
  20. package/dist/internal/capabilities.d.ts +106 -489
  21. package/dist/internal/capabilities.d.ts.map +1 -1
  22. package/dist/internal/capabilities.js +49 -550
  23. package/dist/internal/catalog/commerce.js +1 -1
  24. package/dist/internal/catalog/index.d.ts +35 -0
  25. package/dist/internal/catalog/index.d.ts.map +1 -1
  26. package/dist/internal/catalog/infra.d.ts +35 -0
  27. package/dist/internal/catalog/infra.d.ts.map +1 -1
  28. package/dist/internal/catalog/infra.js +65 -0
  29. package/dist/internal/events.d.ts +52 -1
  30. package/dist/internal/events.d.ts.map +1 -1
  31. package/dist/internal/events.js +65 -3
  32. package/dist/internal/gatewaySettings.d.ts +2 -2
  33. package/dist/internal/gatewaySettings.d.ts.map +1 -1
  34. package/dist/internal/gatewaySettings.js +0 -6
  35. package/dist/internal/oauthBuiltIns.d.ts +101 -0
  36. package/dist/internal/oauthBuiltIns.d.ts.map +1 -0
  37. package/dist/internal/oauthBuiltIns.js +122 -0
  38. package/dist/internal/oauthClient.d.ts +7 -47
  39. package/dist/internal/oauthClient.d.ts.map +1 -1
  40. package/dist/internal/oauthClient.js +1 -115
  41. package/dist/internal/oauthPresets.d.ts +14 -15
  42. package/dist/internal/oauthPresets.d.ts.map +1 -1
  43. package/dist/internal/oauthPresets.js +42 -853
  44. package/dist/internal/oauthScopes.d.ts +43 -155
  45. package/dist/internal/oauthScopes.d.ts.map +1 -1
  46. package/dist/internal/oauthScopes.js +82 -475
  47. package/dist/internal/oauthSpec.d.ts +72 -71
  48. package/dist/internal/oauthSpec.d.ts.map +1 -1
  49. package/dist/internal/oauthSpec.js +178 -447
  50. package/dist/internal/protocol.d.ts +24 -14
  51. package/dist/internal/protocol.d.ts.map +1 -1
  52. package/dist/internal/protocol.js +26 -7
  53. package/dist/internal/providerRegistry.d.ts +1 -61
  54. package/dist/internal/providerRegistry.d.ts.map +1 -1
  55. package/dist/internal/providerRegistry.js +8 -115
  56. package/dist/internal/providerSpec.d.ts.map +1 -1
  57. package/dist/internal/providerSpec.js +14 -36
  58. package/dist/internal/remoteMcp.d.ts +4 -6
  59. package/dist/internal/remoteMcp.d.ts.map +1 -1
  60. package/dist/internal/remoteMcp.js +8 -15
  61. package/dist/internal/tools.d.ts +12 -7
  62. package/dist/internal/tools.d.ts.map +1 -1
  63. package/dist/internal/tools.js +9 -8
  64. package/dist/manifest.d.ts +41 -28
  65. package/dist/manifest.d.ts.map +1 -1
  66. package/dist/manifest.js +1 -1
  67. package/dist/server/ai.d.ts +1 -93
  68. package/dist/server/ai.d.ts.map +1 -1
  69. package/dist/server/ai.js +17 -111
  70. package/dist/server/attribution.d.ts +10 -1
  71. package/dist/server/attribution.d.ts.map +1 -1
  72. package/dist/server/attribution.js +7 -1
  73. package/dist/server/connectUrl.d.ts +4 -9
  74. package/dist/server/connectUrl.d.ts.map +1 -1
  75. package/dist/server/connectUrl.js +17 -14
  76. package/dist/server/context.d.ts +12 -14
  77. package/dist/server/context.d.ts.map +1 -1
  78. package/dist/server/context.js +23 -25
  79. package/dist/server/eventsEndpoint.d.ts +48 -0
  80. package/dist/server/eventsEndpoint.d.ts.map +1 -0
  81. package/dist/server/eventsEndpoint.js +145 -0
  82. package/dist/server/everyApp.d.ts +16 -26
  83. package/dist/server/everyApp.d.ts.map +1 -1
  84. package/dist/server/everyApp.js +22 -46
  85. package/dist/server/gatewayFetch.d.ts +1 -1
  86. package/dist/server/gatewayFetch.js +1 -1
  87. package/dist/server/index.d.ts +6 -9
  88. package/dist/server/index.d.ts.map +1 -1
  89. package/dist/server/index.js +4 -8
  90. package/dist/server/integrationFetch.d.ts +60 -72
  91. package/dist/server/integrationFetch.d.ts.map +1 -1
  92. package/dist/server/integrationFetch.js +117 -392
  93. package/dist/server/refusal.d.ts +0 -9
  94. package/dist/server/refusal.d.ts.map +1 -1
  95. package/dist/server/refusal.js +0 -22
  96. package/dist/server/tools.d.ts +13 -5
  97. package/dist/server/tools.d.ts.map +1 -1
  98. package/dist/server/tools.js +10 -3
  99. package/dist/server/toolsEndpoint.d.ts +2 -1
  100. package/dist/server/toolsEndpoint.d.ts.map +1 -1
  101. package/dist/server/toolsEndpoint.js +4 -3
  102. package/dist/server/webhooks.d.ts +56 -0
  103. package/dist/server/webhooks.d.ts.map +1 -0
  104. package/dist/server/webhooks.js +205 -0
  105. package/dist/testing/index.d.ts +2 -3
  106. package/dist/testing/index.d.ts.map +1 -1
  107. package/dist/testing/index.js +2 -6
  108. package/package.json +1 -1
  109. package/dist/server/aiBinding.d.ts +0 -68
  110. package/dist/server/aiBinding.d.ts.map +0 -1
  111. package/dist/server/aiBinding.js +0 -294
  112. package/dist/server/authorizeUrl.d.ts +0 -43
  113. package/dist/server/authorizeUrl.d.ts.map +0 -1
  114. package/dist/server/authorizeUrl.js +0 -106
  115. package/dist/server/emailBinding.d.ts +0 -72
  116. package/dist/server/emailBinding.d.ts.map +0 -1
  117. package/dist/server/emailBinding.js +0 -124
  118. package/dist/server/fromMcpTools.d.ts +0 -89
  119. package/dist/server/fromMcpTools.d.ts.map +0 -1
  120. package/dist/server/fromMcpTools.js +0 -192
@@ -1,172 +1,60 @@
1
1
  /**
2
- * Scope sets for an `oauth_client` capability with a `scopePolicy`
3
- * (docs/capabilities.md "OAuth clients"): what an app's manifest entry
4
- * declares, what that lets the app ask the provider for, how each provider
5
- * spells what it granted, and which API routes a set unlocks. Pure
6
- * functions over the registry, shared by the gateway's token-endpoint
7
- * check, the SDK's local-dev twin of it and, later, the proxy and the
8
- * outbound Worker. Nothing here reads a secret or a token value.
9
- */
10
- import type { OAuthScopeDialect, OAuthScopePolicy } from "./capabilities.js";
11
- import type { TokenRequest } from "./oauthClient.js";
12
- /** Scopes by the token they belong to: the bot or only token, and Slack's user token. */
13
- export interface ScopeList {
14
- scopes: string[];
15
- userScopes: string[];
16
- }
17
- /** What a token response says it granted; a field is present when that kind of token is. */
18
- export interface GrantedScopes {
19
- scopes?: string[];
20
- userScopes?: string[];
21
- }
22
- /**
23
- * The scope set names a manifest entry declares, or null when the entry
24
- * voids its grant: `scopes` missing, not an array, empty, a non-string
25
- * element, a name listed twice, or any name the policy doesn't offer. An
26
- * unknown name voids the whole grant rather than narrowing it silently, so
27
- * a newer CLI's set name reaching an older gateway is refused outright and
28
- * a message can say so.
29
- */
30
- export declare function declaredScopeSets(policy: OAuthScopePolicy, entry: {
31
- scopes?: unknown;
32
- } | undefined): string[] | null;
33
- /**
34
- * What an app with `sets` asks the provider for: the sets' scopes in
35
- * registry order, deduplicated, then `alwaysRequested`. The status hands
36
- * these out and the authorize URL (Microsoft: the token leg too) carries
37
- * them verbatim.
38
- */
39
- export declare function requestedScopes(policy: OAuthScopePolicy, sets: readonly string[]): ScopeList;
40
- /**
41
- * What a token an app with `sets` is handed may carry: the requested
42
- * scopes and the tolerated ones, in the dialect's canonical spelling so a
43
- * granted list canonicalised the same way compares exactly.
44
- */
45
- export declare function allowedScopes(policy: OAuthScopePolicy, sets: readonly string[]): ScopeList;
46
- /**
47
- * Whether a token response body carries a token: an access, refresh or ID
48
- * token, or Slack's user token under `authed_user`. A 2xx without one
49
- * (Slack's `ok: false`) is an error the app must see, not a grant.
50
- */
51
- export declare function carriesToken(json: unknown): boolean;
52
- /**
53
- * The scopes a token response says it granted, canonicalised per dialect,
54
- * or null when the answer names none for a token it carries, which fails
55
- * closed: every documented success response of the three providers names
56
- * them (map-providers: Google and Microsoft `scope`, Slack `scope` and
57
- * `authed_user.scope`), so a missing field is an answer the gateway can't
58
- * hold to anything.
59
- */
60
- export declare function grantedScopes(policy: OAuthScopePolicy, json: unknown): GrantedScopes | null;
61
- /**
62
- * What a token response granted, for the Gateway-owned flow: as
63
- * {@link grantedScopes}, except that a `space` or `comma` provider that
64
- * names no `scope` at all is taken at its word (RFC 6749 §5.1: the field
65
- * is optional when the grant matches the request), so `requested` stands.
66
- * The three parsed dialects keep failing closed.
67
- */
68
- export declare function grantedScopesOrRequested(policy: OAuthScopePolicy, json: unknown, requested: ScopeList): GrantedScopes | null;
69
- /** Why the proxy refuses a held-token call, with what would let it through. */
70
- export type HeldTokenRefusal = {
71
- ok: false;
72
- code: "integration_not_connected";
73
- /** The declared sets the connection was not granted. */
74
- missingSets: string[];
75
- } | {
76
- ok: false;
77
- code: "integration_scope_not_allowed" | "integration_method_not_allowed";
78
- message: string;
79
- };
80
- /**
81
- * Whether an app's call with a held token goes through, and under which
82
- * set (docs/design/2026-10-oauth-providers.md section 7). In order: every
83
- * set the app declares must be among the connection's (else the person
84
- * connects again: `integration_not_connected` with the missing sets); the
85
- * host must be one of the provider's `api` hosts; the path passes the
86
- * segment rules (`scopeRouteAllows`'s: no batch tunnels, no dot segments,
87
- * no denied segments); then a declared set with routes must cover the
88
- * call, or a declared set without routes covers its hosts by access: a
89
- * read set unlocks `readMethods` (GET and HEAD by default), a write set
90
- * every method the provider offers. `writes` says whether the method is
91
- * one the grant allows beyond reads, decided by the caller as for an
92
- * API-key provider.
2
+ * Scopes for an OAuth provider the Gateway runs the flow for: what a
3
+ * connect asks for, what a token response says it granted, whether that
4
+ * is more than was asked, and whether a connection holds what an app
5
+ * declares. One set of rules for every provider, driven by its spec
6
+ * (./oauthSpec.ts): the separator, the prefix, the identity scopes and
7
+ * the tolerated ones. Nothing here names a provider, reads a secret or a
8
+ * token value.
9
+ *
10
+ * An app's `everyapp.config.ts` lists the provider's own scope strings,
11
+ * short (`gmail.modify`, joined onto the spec's `scopePrefix`) or in
12
+ * full. Comparison is of the canonical form: percent-decoded, lower case,
13
+ * the prefix taken off.
93
14
  */
94
- export declare function heldTokenCallAllowed({ policy, declaredSets, connectionSets, hosts, method, upstream, readMethods, writes, }: {
95
- policy: OAuthScopePolicy;
96
- declaredSets: readonly string[];
97
- connectionSets: readonly string[];
98
- /** The provider's `api` hosts. */
99
- hosts: readonly string[];
100
- method: string;
101
- upstream: URL;
102
- readMethods?: readonly string[];
103
- /** Whether `method` is a write the app's grant allows. */
104
- writes: boolean;
105
- }): {
106
- ok: true;
107
- set: string;
108
- } | HeldTokenRefusal;
15
+ import type { OAuthFlow } from "./capabilities.js";
16
+ /** The scope rules of a provider's flow. */
17
+ type ScopeRules = Pick<OAuthFlow, "scopeSeparator" | "scopePrefix" | "identityScopes" | "tolerated">;
109
18
  /**
110
- * What `granted` carries beyond `allowed`, per token kind, for a refusal's
111
- * message and log line: the user token's extras as `user:<scope>`. Both
112
- * lists are in the dialect's canonical spelling already.
19
+ * A scope as the provider is asked for it: an app's short scope joined
20
+ * onto the spec's prefix; a full one (with `://`), one of the spec's own
21
+ * identity or tolerated scopes, or any scope of a provider without a
22
+ * prefix, as written.
113
23
  */
114
- export declare function scopeExcess(granted: GrantedScopes, allowed: ScopeList): string[];
24
+ export declare function expandScope(rules: ScopeRules, scope: string): string;
25
+ /** A scope in the one spelling comparisons use: decoded, lower case, without the prefix. */
26
+ export declare function canonicalScope(rules: ScopeRules, scope: string): string;
27
+ /** `scopes` canonical, deduplicated, order kept. */
28
+ export declare function canonicalScopes(rules: ScopeRules, scopes: readonly string[]): string[];
115
29
  /**
116
- * The scopes a token request itself asks for (`scope`, and Slack's
117
- * `user_scope`, in any case) in its form or JSON body, canonicalised per
118
- * dialect for comparison with `allowedScopes()`, or null when the body
119
- * names none. The query string is never read: the gateway refuses a
120
- * request that puts these there, so only one place decides.
30
+ * What a connect for an app that declares `declared` asks the provider
31
+ * for, in the provider's spelling: the app's scopes, then the spec's
32
+ * identity scopes, each once.
121
33
  */
122
- export declare function requestedTokenScopes(policy: OAuthScopePolicy, request: TokenRequest): GrantedScopes | null;
34
+ export declare function requestedScopes(rules: ScopeRules, declared: readonly string[]): string[];
35
+ /** Scopes joined as the provider's `scope` parameter takes them. */
36
+ export declare function joinScopes(rules: Pick<OAuthFlow, "scopeSeparator">, scopes: readonly string[]): string;
123
37
  /**
124
- * `request` with its `scope`, in any case, as the policy's `requestScope`
125
- * says: replaced by the requested list of the app's `sets`, dropped, or
126
- * kept as sent. A separate step after `injectClientCredentials()`, whose
127
- * re-serialised form or JSON body this edits the same way; any other body
128
- * is left alone.
38
+ * The scopes a token response says it granted, canonical. A response
39
+ * with no `scope` field is taken as granted exactly as `requested` (RFC
40
+ * 6749 §5.1); one whose `scope` isn't a string is null (refused).
129
41
  */
130
- export declare function rewriteTokenRequestScope(policy: OAuthScopePolicy, sets: readonly string[], request: TokenRequest): TokenRequest;
42
+ export declare function grantedScopes(rules: ScopeRules, body: Record<string, unknown>, requested: readonly string[]): string[] | null;
131
43
  /**
132
- * The declared set that unlocks `method upstream`, or null. Not wired to
133
- * any live path yet: it becomes the proxy's boundary once the gateway
134
- * holds tokens, and the outbound Worker's for dispatched apps before that.
135
- *
136
- * In order: https only; the host must be on one of the declared sets'
137
- * routes; the raw pathname is refused when it holds `\`, `//` or `%00`;
138
- * each raw segment, and each percent-decoding of it while a `%` remains
139
- * (a provider's layers may each decode once), is refused when it won't
140
- * decode, holds a control or format character or a backslash, is one of
141
- * the policy's denied segments in any case, or splits on `/` into a dot
142
- * segment: `.` or `..`, with or without a `;` parameter (`..;x`), which
143
- * Google's front end resolves like the bare one. The denied comparison is
144
- * of the whole segment, because an encoded slash is part of one id to the
145
- * provider, never a separator: a Search Console site URL whose own path
146
- * holds `batch` stays matchable, and `2%2FmeasurementProtocolSecrets` is
147
- * a data stream id that doesn't exist, not the secrets. Then the raw
148
- * pathname, case preserved, is matched: GET and HEAD need a `paths` entry
149
- * (exact, or a prefix when it ends in `/`), POST needs a `posts` pattern,
150
- * and no other method goes through. Matching the raw path is what lets
151
- * Search Console's `sites/https%3A%2F%2Fexample.com%2F/searchAnalytics/query`
152
- * match `[^/]+` while `..`, batch tunnels and secrets stay refused however
153
- * encoded. `X-HTTP-Method-Override`, `access_token` and `token` parameters
154
- * are the proxy's to strip before it asks; nothing here reads them. The
155
- * proxy fetches with `redirect: "manual"`: Google answers a dot segment it
156
- * resolves with a 302 to the resolved path, and following one would carry
157
- * the token to a path this never matched.
44
+ * The mint check: what `granted` (canonical) carries beyond `requested`,
45
+ * the identity scopes and the tolerated ones. Empty means the token may
46
+ * be kept; anything else and the Gateway drops it.
158
47
  */
159
- export declare function scopeRouteAllows(policy: OAuthScopePolicy, sets: readonly string[], method: string, upstream: URL): string | null;
160
- /** `scopes` in the dialect's one spelling, deduplicated, order kept. */
48
+ export declare function scopeExcess(rules: ScopeRules, granted: readonly string[], requested: readonly string[]): string[];
161
49
  /**
162
- * `scopes` in the dialect's canonical spelling (Google's long names,
163
- * Microsoft's bare lower-case names), for comparing a set's scopes with
164
- * what a token response says it granted.
50
+ * The scopes an app declares that a connection doesn't hold: `held` is
51
+ * the connection's canonical list, `declared` as the app wrote them.
165
52
  */
166
- export declare function canonicalScopes(dialect: OAuthScopeDialect, scopes: readonly string[]): string[];
53
+ export declare function missingScopes(rules: ScopeRules, held: readonly string[], declared: readonly string[]): string[];
167
54
  /**
168
55
  * `text` as a JSON object, or null for anything else (an array, a scalar,
169
- * not JSON). Shared with the gateway's read of a provider's token answer.
56
+ * not JSON). The gateway's read of a provider's token answer.
170
57
  */
171
58
  export declare function jsonObject(text: string): Record<string, unknown> | null;
59
+ export {};
172
60
  //# sourceMappingURL=oauthScopes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"oauthScopes.d.ts","sourceRoot":"","sources":["../../src/internal/oauthScopes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAEjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,yFAAyF;AACzF,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,4FAA4F;AAC5F,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,gBAAgB,EACxB,KAAK,EAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,GACtC,MAAM,EAAE,GAAG,IAAI,CAejB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,gBAAgB,EACxB,IAAI,EAAE,SAAS,MAAM,EAAE,GACtB,SAAS,CASX;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,gBAAgB,EACxB,IAAI,EAAE,SAAS,MAAM,EAAE,GACtB,SAAS,CASX;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CASnD;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,gBAAgB,EACxB,IAAI,EAAE,OAAO,GACZ,aA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