@mercury-fw/cli 0.40.0 → 0.42.0

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,28 @@
1
1
  # @mercury-fw/cli
2
2
 
3
+ ## 0.42.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a7f2f13]
8
+ - @mercury-fw/core@0.42.0
9
+ - @mercury-fw/utils@0.42.0
10
+
11
+ ## 0.41.0
12
+
13
+ ### Minor Changes
14
+
15
+ - 2755f61: New plugin: ZITADEL through the `zitadel` CLI.
16
+
17
+ - New package `@mercury-fw/plugin-zitadel`. It reads users (by email, username or id), their project roles and identity provider links, organizations and projects, as the person Mercury is talking to, who logs in to ZITADEL through Mercury. Nothing it runs changes ZITADEL.
18
+ - The CLI is pinned at 2.6.0. `mfw credentials setup @mercury-fw/plugin-zitadel` sets up the service user the terminal runs as; with `--user-app` it sets up the Native app people log in through.
19
+ - `mfw create` offers it as `zitadel`.
20
+
21
+ ### Patch Changes
22
+
23
+ - @mercury-fw/core@0.41.0
24
+ - @mercury-fw/utils@0.41.0
25
+
3
26
  ## 0.40.0
4
27
 
5
28
  ### Minor Changes
package/README.md CHANGED
@@ -60,7 +60,7 @@ Then it runs `bun install` in the app and creates a git repository on `main` wit
60
60
  | `--assistant-name <name>` | The assistant's name (default `Mercury`). |
61
61
  | `--role <text>` | Completes "You are <name>, …" (default `an internal assistant`). |
62
62
  | `--channels <ids>` | Comma-separated: `google-chat`, `http`. |
63
- | `--plugins <ids>` | Comma-separated: `jira`, `bitbucket`, `atlassian-admin`. |
63
+ | `--plugins <ids>` | Comma-separated: `jira`, `bitbucket`, `atlassian-admin`, `zitadel`. |
64
64
  | `--auth <id>` | The HTTP channel's auth provider, `oidc` or `static`: required with `http`, refused without it, since the channel doesn't start without one. The wizard asks for it once `http` is chosen. |
65
65
  | `--local-packages <folder>` | Installs the packages packed in `<folder>` (`bun pm pack`) instead of the registry's, as [`mfw local-packages`](#mfw-local-packages-folder--mfw-local-packages---off) does on an existing app: their versions come from the tarballs, so a package that isn't published yet works too, and no newer `mfw` is looked up on the registry. For trying unreleased packages in a new app; the test bed makes its apps this way. |
66
66
  | `--git-remote <url>` | The repository's `origin`, taken as typed. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercury-fw/cli",
3
- "version": "0.40.0",
3
+ "version": "0.42.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -41,19 +41,20 @@
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.40.0",
45
- "@mercury-fw/utils": "0.40.0",
44
+ "@mercury-fw/core": "0.42.0",
45
+ "@mercury-fw/utils": "0.42.0",
46
46
  "commander": "^15.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@mercury-fw/channel-google-chat": "0.4.0",
50
- "@mercury-fw/channel-http": "0.5.0",
49
+ "@mercury-fw/channel-google-chat": "0.5.0",
50
+ "@mercury-fw/channel-http": "0.6.0",
51
51
  "@mercury-fw/auth-oidc": "0.1.0",
52
- "@mercury-fw/auth-static": "0.1.0",
53
- "@mercury-fw/formatter": "0.40.0",
54
- "@mercury-fw/plugin-atlassian-admin": "0.3.0",
52
+ "@mercury-fw/auth-static": "0.2.0",
53
+ "@mercury-fw/formatter": "0.42.0",
54
+ "@mercury-fw/plugin-atlassian-admin": "0.3.1",
55
55
  "@mercury-fw/plugin-bitbucket": "0.3.0",
56
56
  "@mercury-fw/plugin-jira": "0.6.0",
57
+ "@mercury-fw/plugin-zitadel": "0.1.0",
57
58
  "@mercury-fw/typescript-config": "*",
58
59
  "@types/bun": "^1.4.2",
59
60
  "typescript": "^6.0.3"
package/src/catalog.ts CHANGED
@@ -115,6 +115,13 @@ export const CATALOG: CatalogEntry[] = [
115
115
  exportName: "atlassianAdminPlugin",
116
116
  env: [],
117
117
  },
118
+ {
119
+ id: "zitadel",
120
+ kind: "tool",
121
+ package: "@mercury-fw/plugin-zitadel",
122
+ exportName: "zitadelPlugin",
123
+ env: [],
124
+ },
118
125
  ];
119
126
 
120
127
  /** The catalog entry of `kind` with `id`, or undefined when there is none. */