@mercury-fw/cli 0.44.0 → 0.44.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mercury-fw/cli
2
2
 
3
+ ## 0.44.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c24de78: A Google Chat sender is recognised as their ZITADEL user.
8
+
9
+ - `channel-google-chat` passes the sender's email on as a claim (`claims.email`), on messages and on card clicks, when Google vouches for it: a person's (`HUMAN`) only.
10
+ - `zitadelDirectory` resolves a Google Chat sender to the one active ZITADEL user with that email, verified, whose links to the Google identity provider (`ZITADEL_GOOGLE_IDP_ID`, new and optional) include the sender's own Google account. Without that variable nobody is recognised from Chat. Anyone else on Chat stays unknown and can link their account with a code.
11
+ - `mfw create` lists `ZITADEL_GOOGLE_IDP_ID` in the env example of an app with the ZITADEL directory.
12
+ - @mercury-fw/core@0.44.1
13
+ - @mercury-fw/utils@0.44.1
14
+
3
15
  ## 0.44.0
4
16
 
5
17
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercury-fw/cli",
3
- "version": "0.44.0",
3
+ "version": "0.44.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -41,21 +41,21 @@
41
41
  "comment:shape": "The Mercury CLI (`mfw`). `mfw create <dir>` writes a new Mercury app from the template. The framework packages move in lockstep with it, so a new app gets them at the CLI's own version; plugins and channels at the registry's latest. The plugin and channel packages are devDependencies only for the catalog test. `main(argv)` is exported for create-mercury-agent.",
42
42
  "dependencies": {
43
43
  "@clack/prompts": "^1.8.1",
44
- "@mercury-fw/core": "0.44.0",
45
- "@mercury-fw/utils": "0.44.0",
44
+ "@mercury-fw/core": "0.44.1",
45
+ "@mercury-fw/utils": "0.44.1",
46
46
  "commander": "^15.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@mercury-fw/auth-oidc": "0.1.0",
50
50
  "@mercury-fw/auth-static": "0.2.0",
51
- "@mercury-fw/channel-google-chat": "0.5.0",
51
+ "@mercury-fw/channel-google-chat": "0.6.0",
52
52
  "@mercury-fw/channel-http": "0.7.0",
53
53
  "@mercury-fw/directory-static": "0.1.0",
54
- "@mercury-fw/formatter": "0.44.0",
54
+ "@mercury-fw/formatter": "0.44.1",
55
55
  "@mercury-fw/plugin-atlassian-admin": "0.3.1",
56
56
  "@mercury-fw/plugin-bitbucket": "0.3.1",
57
57
  "@mercury-fw/plugin-jira": "0.6.1",
58
- "@mercury-fw/plugin-zitadel": "0.2.0",
58
+ "@mercury-fw/plugin-zitadel": "0.3.0",
59
59
  "@mercury-fw/typescript-config": "*",
60
60
  "@types/bun": "^1.4.2",
61
61
  "typescript": "^6.0.3"
package/src/catalog.ts CHANGED
@@ -141,7 +141,10 @@ export const CATALOG: CatalogEntry[] = [
141
141
  kind: "directory",
142
142
  package: "@mercury-fw/plugin-zitadel",
143
143
  exportName: "zitadelDirectory",
144
- env: [{ name: "ZITADEL_PROJECT_ID", comment: "Required: the ZITADEL project whose roles count" }],
144
+ env: [
145
+ { name: "ZITADEL_PROJECT_ID", comment: "Required: the ZITADEL project whose roles count" },
146
+ { name: "ZITADEL_GOOGLE_IDP_ID", comment: "Optional: the Google identity provider's id in ZITADEL, to recognise Google Chat senders" },
147
+ ],
145
148
  // It calls the zitadel CLI, which the package downloads as it installs.
146
149
  trusts: ["@mercury-fw/plugin-zitadel"],
147
150
  },