@particle-academy/gmail-ui 0.5.1 → 0.5.2

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 (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +10 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,22 @@ The four packages share one version, because they are generated from one
7
7
  `provider/` definition and a version that meant something different in each
8
8
  would be a version nobody could reason about.
9
9
 
10
+ ## [0.5.2] — 2026-11-14
11
+
12
+ ### Added
13
+
14
+ - **Complete setup steps**, in SETUP.md and the registry index. Every Google connector shares
15
+ the same first four, because they share one consent grant:
16
+ - the Cloud project;
17
+ - enabling the API;
18
+ - the consent screen (Branding, Audience with test users, Data Access with this
19
+ connector's scopes);
20
+ - a Web application OAuth client with `{{oauthRedirectUrl}}` as an authorized redirect URI.
21
+ - an AGENT step that connects an account and checks it works.
22
+
23
+ Each step cites the Google page it was checked against on 2026-11-14.
24
+ - A one-line `summary`.
25
+
10
26
  ## [0.5.1] — 2026-11-08
11
27
 
12
28
  ### Fixed
package/README.md CHANGED
@@ -33,6 +33,16 @@ dependencies nobody is tracking.
33
33
 
34
34
  Everything below is generated from `provider/manifest.json`, so it cannot disagree with what the packages do.
35
35
 
36
+ ### On Gmail's side
37
+
38
+ 1. **Create (or reuse) the Google Cloud project for **your app's name**** — Every Google connector shares ONE consent grant (oauth.grant "google"), so use one project and one OAuth client for all of them: one consent and one refresh token per person. ([developers.google.com](https://developers.google.com/workspace/guides/create-project))
39
+ 2. **Enable the Gmail API** — Console: APIs & Services, Library; open the Gmail API and click Enable. ([developers.google.com](https://developers.google.com/workspace/guides/enable-apis))
40
+ 3. **Configure the consent screen** — Console: Google Auth platform, Branding (app name **your app's name**, support email, contact email), then Audience: Internal for people inside your Google Workspace organisation only, or External (while it is in testing, add each tester under Test users). Then Data Access, Add or Remove Scopes, and add `https://www.googleapis.com/auth/gmail.send` beside the scopes of any other Google connector you use. You cannot remove the consent screen once it is configured. ([developers.google.com](https://developers.google.com/workspace/guides/configure-oauth-consent))
41
+ 4. **Create a Web application OAuth client** — Console: Google Auth platform, Clients, Create Client; type Web application. Under Authorized redirect URIs click Add URI and paste **your host's OAuth redirect URL**, then Create. Copy the client ID and client secret when the client is created. ([developers.google.com](https://developers.google.com/workspace/guides/create-credentials))
42
+ 5. **Connect an account and check it works** — Connect one Google account through **your app's name**'s OAuth flow, then run the check below. ([developers.google.com](https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages/send))
43
+
44
+ Every step in full — who does it, what to paste, which credentials it yields, and how you know it worked — is in [SETUP.md](SETUP.md).
45
+
36
46
  ### Credentials
37
47
 
38
48
  A Gmail connection holds 4 values.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/gmail-ui",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Gmail's authoring surface for fancy-flow — the node kinds, their config schemas and their declared output shapes. React on every host; carries no executor.",
5
5
  "repository": {
6
6
  "type": "git",