@mercury-fw/cli 0.36.0 → 0.37.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,21 @@
1
1
  # @mercury-fw/cli
2
2
 
3
+ ## 0.37.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fbaa7aa: The admin panel is gone.
8
+
9
+ - Breaking, `@mercury-fw/core`: `composeMercury` no longer returns `startAdmin`, and `ADMIN_PANEL_ENABLED`/`ADMIN_PANEL_PORT` do nothing. An existing app removes the two lines of its `src/index.ts` that start and stop it (`const adminServer = app.startAdmin();` and `adminServer?.stop();`).
10
+ - New apps don't start it.
11
+ - What it showed is in the HTTP surface's read routes, scoped to the caller, and in `mfw vault` / `mfw memory` for the operator.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [fbaa7aa]
16
+ - @mercury-fw/core@0.37.0
17
+ - @mercury-fw/utils@0.37.0
18
+
3
19
  ## 0.36.0
4
20
 
5
21
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercury-fw/cli",
3
- "version": "0.36.0",
3
+ "version": "0.37.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -41,8 +41,8 @@
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.36.0",
45
- "@mercury-fw/utils": "0.36.0",
44
+ "@mercury-fw/core": "0.37.0",
45
+ "@mercury-fw/utils": "0.37.0",
46
46
  "commander": "^15.0.0"
47
47
  },
48
48
  "devDependencies": {
@@ -50,7 +50,7 @@
50
50
  "@mercury-fw/channel-http": "0.4.0",
51
51
  "@mercury-fw/auth-oidc": "0.1.0",
52
52
  "@mercury-fw/auth-static": "0.1.0",
53
- "@mercury-fw/formatter": "0.36.0",
53
+ "@mercury-fw/formatter": "0.37.0",
54
54
  "@mercury-fw/plugin-atlassian-admin": "0.1.2",
55
55
  "@mercury-fw/plugin-bitbucket": "0.1.2",
56
56
  "@mercury-fw/plugin-jira": "0.4.3",
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Service entrypoint: builds the app with `composeMercury`, fed
3
3
  * `mercury.config.ts`, and starts what a long-running service runs: the
4
- * declared channels, the admin panel (when enabled) and the memory crons.
4
+ * declared channels and the memory crons.
5
5
  * Headless; the interactive terminal is `bun run repl` (`repl.ts`).
6
6
  *
7
7
  * Stays alive on the channels' background resources and the cron intervals,
@@ -18,7 +18,6 @@ for (const { name, provider } of loadedChannels) {
18
18
  console.error(`[channel] ${name} started`);
19
19
  }
20
20
 
21
- const adminServer = app.startAdmin();
22
21
  const crons = app.startCrons();
23
22
  console.error("[service] up — channels and crons started; waiting for SIGINT/SIGTERM");
24
23
 
@@ -31,7 +30,6 @@ async function shutdown(signal: string): Promise<void> {
31
30
  shuttingDown = true;
32
31
  console.error(`[shutdown] ${signal} received, releasing subsystems`);
33
32
  crons.stop();
34
- adminServer?.stop();
35
33
  for (const { name, provider } of loadedChannels) {
36
34
  await provider.stop?.();
37
35
  console.error(`[shutdown] channel ${name} stopped`);
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Dev REPL entrypoint (`bun run repl`): boots the same app the service runs and
3
3
  * opens an interactive terminal on it. For trying things out and debugging, not
4
- * a channel: no user identity (nothing goes to per-user memory), no channels,
5
- * crons or admin panel.
4
+ * a channel: no user identity (nothing goes to per-user memory), no channels
5
+ * or crons.
6
6
  */
7
7
  import { composeMercury, createTerminalProvider } from "@mercury-fw/core";
8
8
  import mercuryConfig from "../mercury.config.ts";