@lensmcp/protocol-types 1.24.0 → 1.24.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 (2) hide show
  1. package/lib/dashboard.d.ts +28 -0
  2. package/package.json +1 -1
@@ -223,6 +223,34 @@ export interface DashCluster {
223
223
  title: string;
224
224
  severity: string;
225
225
  }>;
226
+ /** This project's worktree INSTANCES the gateway knows (`lensmcp instance start`) — running or stopped. */
227
+ worktrees?: DashWorktree[];
228
+ /** Set when THIS dashboard is a worktree instance's: whose worktree it is. */
229
+ instance?: {
230
+ name: string;
231
+ baseKey: string;
232
+ apex: string;
233
+ baseDashboard: string;
234
+ };
235
+ }
236
+ /** One worktree instance of the project (a git worktree served beside the main checkout under its own hosts). */
237
+ export interface DashWorktree {
238
+ /** Its lens key, `<baseKey>-<name>`. */
239
+ key: string;
240
+ name: string;
241
+ /** Its apex — every host of the instance is under it (`gate1.foodguard.localhost`). */
242
+ apex?: string;
243
+ /** Its gateway registration is alive. */
244
+ live: boolean;
245
+ /** Its dashboard's path under the lens host (`/foodguard-gate1`). */
246
+ dashboard: string;
247
+ /** The checkout, shortened for display (`~/…/fg/gate1`). */
248
+ root: string;
249
+ /** Its checked-out branch, when git says. */
250
+ branch?: string;
251
+ /** The data the lens made for it (resource names from `nx.json` → `lensmcp.instances`), when on record. */
252
+ data?: string[];
253
+ updatedAt?: string;
226
254
  }
227
255
  export interface DashKpis {
228
256
  at: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensmcp/protocol-types",
3
- "version": "1.24.0",
3
+ "version": "1.24.2",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",