@mesh-tech/mesh-cli 0.35.2 → 0.36.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.
@@ -1,4 +1,4 @@
1
1
  {
2
- "commit": "e94d26027",
3
- "builtAt": "2026-09-30T01:19:58.301Z"
2
+ "commit": "b7fc53c73",
3
+ "builtAt": "2026-09-30T06:17:11.107Z"
4
4
  }
@@ -33,6 +33,7 @@ export declare function generateComposableApp(appDir: string, context: {
33
33
  meshRange: string;
34
34
  esmBundleRange: string;
35
35
  eventsServiceRange: string;
36
+ eventsUiRange: string;
36
37
  authzRange: string;
37
38
  typesNodeRange: string;
38
39
  tsxRange: string;
@@ -515,6 +515,9 @@ async function runComposable(tenant, name, primitives, test) {
515
515
  const eventsService = workspaceDeps || !primitives.includes("events")
516
516
  ? { range: "", resolved: true }
517
517
  : resolvePublishedRange("@mesh-tech/events-service", repoRoot);
518
+ const eventsUi = workspaceDeps || !primitives.includes("events")
519
+ ? { range: "", resolved: true }
520
+ : resolvePublishedRange("@mesh-tech/events-ui", repoRoot);
518
521
  const authz = workspaceDeps || !primitives.includes("events")
519
522
  ? { range: "", resolved: true }
520
523
  : resolvePublishedRange("@mesh-tech/authz", repoRoot);
@@ -536,6 +539,7 @@ async function runComposable(tenant, name, primitives, test) {
536
539
  meshRange: mesh.range,
537
540
  esmBundleRange: esmBundle.range,
538
541
  eventsServiceRange: eventsService.range,
542
+ eventsUiRange: eventsUi.range,
539
543
  authzRange: authz.range,
540
544
  typesNodeRange: SCAFFOLD_TOOLCHAIN["@types/node"],
541
545
  tsxRange: SCAFFOLD_TOOLCHAIN.tsx,
@@ -2,6 +2,7 @@ export declare const SCAFFOLD_PACKAGE_LINES: {
2
2
  readonly "@mesh-tech/app-kit": "^1.45.0";
3
3
  readonly "@mesh-tech/esm-bundle": "^0.1.1";
4
4
  readonly "@mesh-tech/events-service": "^0.1.0";
5
+ readonly "@mesh-tech/events-ui": "^0.1.0";
5
6
  readonly "@mesh-tech/authz": "^1.19.0";
6
7
  };
7
8
  export type ScaffoldPackage = keyof typeof SCAFFOLD_PACKAGE_LINES;
@@ -3,6 +3,7 @@ export const SCAFFOLD_PACKAGE_LINES = {
3
3
  "@mesh-tech/app-kit": "^1.45.0",
4
4
  "@mesh-tech/esm-bundle": "^0.1.1",
5
5
  "@mesh-tech/events-service": "^0.1.0",
6
+ "@mesh-tech/events-ui": "^0.1.0",
6
7
  "@mesh-tech/authz": "^1.19.0",
7
8
  };
8
9
  export const SCAFFOLD_TOOLCHAIN = {
@@ -113,8 +113,10 @@ const config = new mesh.apps.AppConfig("config", {
113
113
  // for endpoint credentials, the publisher key, the Zitadel introspection app,
114
114
  // the delivery task queue, the worker registration that lists the app's
115
115
  // Temporal namespace on the Hub's Workflows page (with the service's own
116
- // housekeeping workflows marked internal, so only staff see them there), and
117
- // the registry surface — all children of this one declaration.
116
+ // housekeeping workflows marked internal, so only staff see them there), the
117
+ // registry surface, and the operator UI (`@mesh-tech/events-ui`, installed in
118
+ // package.json) as its own signed-in Service at `{app}-events-ui` — all
119
+ // children of this one declaration.
118
120
  //
119
121
  // Its database's schema migration gates the deploy: `pulumi up` waits for the
120
122
  // migration Job and fails when it fails, and the service's pods are held until
@@ -127,7 +129,7 @@ const config = new mesh.apps.AppConfig("config", {
127
129
  // that as "use the default".
128
130
  const events = new mesh.apps.EventsService("events", {
129
131
  env,
130
- identity: { connector, projectId: identity.projectId },
132
+ identity: { connector, projectId: identity.projectId, dependsOn: [identity] },
131
133
  config,
132
134
  // "thin" sends identifiers only, so nothing the API would mask reaches a
133
135
  // third-party endpoint and the consumer follows the identifiers back to the
@@ -12,6 +12,7 @@
12
12
  {{#if events}}
13
13
  "@mesh-tech/authz": "{{#if workspaceDeps}}workspace:*{{else}}{{authzRange}}{{/if}}",
14
14
  "@mesh-tech/events-service": "{{#if workspaceDeps}}workspace:*{{else}}{{eventsServiceRange}}{{/if}}",
15
+ "@mesh-tech/events-ui": "{{#if workspaceDeps}}workspace:*{{else}}{{eventsUiRange}}{{/if}}",
15
16
  {{/if}}
16
17
  "@mesh-tech/infra-components": "{{#if workspaceDeps}}workspace:*{{else}}{{meshRange}}{{/if}}",
17
18
  {{#if events}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mesh-tech/mesh-cli",
3
- "version": "0.35.2",
3
+ "version": "0.36.0",
4
4
  "description": "CLI for Mesh platform development utilities",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@mesh-tech/agent-contracts": "0.2.0",
45
- "@mesh-tech/tsconfig": "2.36.0",
45
+ "@mesh-tech/tsconfig": "2.37.0",
46
46
  "@mesh-tech/workflow-viz": "0.3.1",
47
47
  "@tanstack/intent": "^0.3.6",
48
48
  "@types/node": "^20.0.0",