@qontinui/navigation 0.1.1 → 0.1.3

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/dist/index.cjs CHANGED
@@ -30,6 +30,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
+ AUTOMATE_GROUP: () => AUTOMATE_GROUP,
34
+ AUTOMATE_ITEMS: () => AUTOMATE_ITEMS,
33
35
  BUILD_GROUP: () => BUILD_GROUP,
34
36
  BUILD_ITEMS: () => BUILD_ITEMS,
35
37
  CHILDREN_MAP: () => CHILDREN_MAP,
@@ -38,24 +40,22 @@ __export(index_exports, {
38
40
  DEV_GROUP: () => DEV_GROUP,
39
41
  DEV_ITEMS: () => DEV_ITEMS,
40
42
  ICON_NAMES: () => ICON_NAMES,
41
- LEARN_GROUP: () => LEARN_GROUP,
42
- LEARN_ITEMS: () => LEARN_ITEMS,
43
+ INSIGHTS_GROUP: () => INSIGHTS_GROUP,
44
+ INSIGHTS_ITEMS: () => INSIGHTS_ITEMS,
43
45
  NAVIGATION_GROUPS: () => NAVIGATION_GROUPS,
44
46
  NavigationItemShell: () => NavigationItemShell,
45
- OBSERVE_GROUP: () => OBSERVE_GROUP,
46
- OBSERVE_ITEMS: () => OBSERVE_ITEMS,
47
+ REVIEW_GROUP: () => REVIEW_GROUP,
48
+ REVIEW_ITEMS: () => REVIEW_ITEMS,
47
49
  RUNS_ITEMS: () => RUNS_ITEMS,
48
- RUN_GROUP: () => RUN_GROUP,
49
- RUN_ITEMS: () => RUN_ITEMS,
50
- SCHEDULE_GROUP: () => SCHEDULE_GROUP,
51
- SCHEDULE_ITEMS: () => SCHEDULE_ITEMS,
52
50
  SESSION_ITEMS: () => SESSION_ITEMS,
53
51
  SETTINGS_ITEMS: () => SETTINGS_ITEMS,
52
+ SPEND_GROUP: () => SPEND_GROUP,
53
+ SPEND_ITEMS: () => SPEND_ITEMS,
54
54
  STORAGE_KEYS: () => STORAGE_KEYS,
55
55
  SYSTEM_GROUP: () => SYSTEM_GROUP,
56
56
  SYSTEM_ITEMS: () => SYSTEM_ITEMS,
57
- WRAPPERS_GROUP: () => WRAPPERS_GROUP,
58
- WRAPPERS_ITEMS: () => WRAPPERS_ITEMS,
57
+ WORKSPACE_GROUP: () => WORKSPACE_GROUP,
58
+ WORKSPACE_ITEMS: () => WORKSPACE_ITEMS,
59
59
  createInitialState: () => createInitialState,
60
60
  deserializeState: () => deserializeState,
61
61
  filterGroupForPlatform: () => filterGroupForPlatform,
@@ -69,6 +69,7 @@ __export(index_exports, {
69
69
  getNavigationGroups: () => getNavigationGroups,
70
70
  getProductMode: () => getProductMode,
71
71
  getRunnerNavigation: () => getRunnerNavigation,
72
+ getShowHiddenItems: () => getShowHiddenItems,
72
73
  getWebNavigation: () => getWebNavigation,
73
74
  isDevelopmentMode: () => isDevelopmentMode,
74
75
  isGroupExpanded: () => isGroupExpanded,
@@ -82,12 +83,13 @@ __export(index_exports, {
82
83
  serializeState: () => serializeState,
83
84
  setDevelopmentMode: () => setDevelopmentMode,
84
85
  setProductMode: () => setProductMode,
86
+ setShowHiddenItems: () => setShowHiddenItems,
85
87
  useNavigationItem: () => useNavigationItem
86
88
  });
87
89
  module.exports = __toCommonJS(index_exports);
88
90
 
89
91
  // src/groups.ts
90
- var TOP_LEVEL_ITEMS = [
92
+ var WORKSPACE_ITEMS = [
91
93
  {
92
94
  id: "visual-dashboard",
93
95
  label: "Dashboard",
@@ -96,15 +98,7 @@ var TOP_LEVEL_ITEMS = [
96
98
  route: "/tools/visual-automation",
97
99
  color: "#10B981",
98
100
  productMode: "visual"
99
- }
100
- ];
101
- var TOP_LEVEL_GROUP = {
102
- id: "top-level",
103
- label: "",
104
- items: TOP_LEVEL_ITEMS,
105
- defaultExpanded: true
106
- };
107
- var RUN_ITEMS = [
101
+ },
108
102
  {
109
103
  id: "prompt-home",
110
104
  label: "Home",
@@ -123,15 +117,6 @@ var RUN_ITEMS = [
123
117
  color: "#10B981",
124
118
  productMode: "visual"
125
119
  },
126
- {
127
- id: "active",
128
- label: "Active",
129
- icon: "Activity",
130
- description: "Monitor active executions",
131
- route: "/runs/active",
132
- color: "#4A90D9",
133
- productMode: "ai"
134
- },
135
120
  {
136
121
  id: "terminal",
137
122
  label: "Terminal",
@@ -143,13 +128,13 @@ var RUN_ITEMS = [
143
128
  platforms: ["runner"]
144
129
  },
145
130
  {
146
- id: "orchestration-loop",
147
- label: "Orchestration",
148
- icon: "Repeat",
149
- description: "Iterative workflow loop with pipeline mode (build/reflect/fix)",
150
- route: "/orchestration-loop",
151
- color: "#8B5CF6",
152
- platforms: ["runner"]
131
+ id: "active",
132
+ label: "Active",
133
+ icon: "Activity",
134
+ description: "Monitor active executions",
135
+ route: "/runs/active",
136
+ color: "#4A90D9",
137
+ productMode: "ai"
153
138
  },
154
139
  {
155
140
  id: "productivity",
@@ -159,21 +144,12 @@ var RUN_ITEMS = [
159
144
  route: "/productivity",
160
145
  color: "#F59E0B",
161
146
  platforms: ["runner"]
162
- },
163
- {
164
- id: "wrappers",
165
- label: "Wrappers",
166
- icon: "Package",
167
- description: "Wrapper configurations and manifest management",
168
- route: "/wrappers",
169
- color: "#F59E0B",
170
- platforms: ["runner"]
171
147
  }
172
148
  ];
173
- var RUN_GROUP = {
174
- id: "run",
175
- label: "RUN",
176
- items: RUN_ITEMS,
149
+ var WORKSPACE_GROUP = {
150
+ id: "workspace",
151
+ label: "WORKSPACE",
152
+ items: WORKSPACE_ITEMS,
177
153
  defaultExpanded: true
178
154
  };
179
155
  var SESSION_ITEMS = [
@@ -261,7 +237,7 @@ var RUNS_ITEMS = [
261
237
  platforms: ["web"]
262
238
  }
263
239
  ];
264
- var OBSERVE_ITEMS = [
240
+ var REVIEW_ITEMS = [
265
241
  {
266
242
  id: "runs",
267
243
  label: "Runs",
@@ -283,40 +259,32 @@ var OBSERVE_ITEMS = [
283
259
  productMode: "ai"
284
260
  },
285
261
  {
286
- id: "error-monitor",
287
- label: "Error Monitor",
288
- icon: "AlertCircle",
289
- description: "Monitor and fix application errors from log sources",
290
- route: "/tools/error-monitor",
291
- color: "#4A90D9",
292
- productMode: "ai"
293
- },
294
- {
295
- id: "processes",
296
- label: "Processes",
297
- icon: "Cpu",
298
- description: "Manage and monitor spawned child processes",
299
- color: "#06B6D4",
262
+ id: "memory",
263
+ label: "Memory",
264
+ icon: "Brain",
265
+ description: "Cross-session observation memory from past runs",
266
+ route: "/observe/memory",
267
+ color: "#8B5CF6",
300
268
  productMode: "ai"
301
269
  },
302
270
  {
303
- id: "activity-timeline",
304
- label: "Activity Timeline",
305
- icon: "Activity",
306
- description: "Searchable capture history \u2014 everything seen on screen during automation",
307
- route: "/observe/activity-timeline",
308
- color: "#06B6D4",
309
- platforms: ["runner"]
310
- },
311
- {
312
- id: "automation-health",
313
- label: "Automation Health",
314
- icon: "Activity",
315
- description: "UI Bridge automation quality, selector reliability, and improvement recommendations",
316
- color: "#10B981",
271
+ id: "knowledge-explorer",
272
+ label: "Knowledge",
273
+ icon: "Globe",
274
+ description: "Search external knowledge sources and view acquisition stats \u2014 web search, vulnerability intelligence, API docs",
275
+ route: "/observe/knowledge",
276
+ color: "#F97316",
317
277
  platforms: ["runner"],
318
278
  productMode: "ai"
319
- },
279
+ }
280
+ ];
281
+ var REVIEW_GROUP = {
282
+ id: "review",
283
+ label: "REVIEW",
284
+ items: REVIEW_ITEMS,
285
+ defaultExpanded: true
286
+ };
287
+ var SPEND_ITEMS = [
320
288
  {
321
289
  id: "llm-analytics",
322
290
  label: "LLM Analytics",
@@ -336,98 +304,41 @@ var OBSERVE_ITEMS = [
336
304
  productMode: "ai"
337
305
  }
338
306
  ];
339
- var OBSERVE_GROUP = {
340
- id: "observe",
341
- label: "OBSERVE",
342
- items: OBSERVE_ITEMS,
307
+ var SPEND_GROUP = {
308
+ id: "spend",
309
+ label: "SPEND",
310
+ items: SPEND_ITEMS,
343
311
  defaultExpanded: false
344
312
  };
345
- var LEARN_ITEMS = [
313
+ var AUTOMATE_ITEMS = [
346
314
  {
347
- id: "memory",
348
- label: "Memory",
349
- icon: "Brain",
350
- description: "Cross-session observation memory from past runs",
351
- route: "/observe/memory",
352
- color: "#8B5CF6",
353
- productMode: "ai"
354
- },
355
- {
356
- id: "knowledge-explorer",
357
- label: "Knowledge",
358
- icon: "Globe",
359
- description: "Search external knowledge sources and view acquisition stats \u2014 web search, vulnerability intelligence, API docs",
360
- route: "/observe/knowledge",
361
- color: "#F97316",
362
- platforms: ["runner"],
363
- productMode: "ai"
364
- },
365
- {
366
- id: "decision-trail",
367
- label: "Decision Trail",
368
- icon: "ListChecks",
369
- description: "Architectural decision history \u2014 what was decided, why, and what alternatives were considered",
370
- route: "/observe/decision-trail",
371
- color: "#8B5CF6",
372
- productMode: "ai",
373
- platforms: ["runner"]
374
- },
375
- {
376
- id: "session-recap",
377
- label: "Session Recap",
378
- icon: "GitBranch",
379
- description: "Semantic dependency map of what was built \u2014 files, types, endpoints, and how they connect",
380
- route: "/observe/session-recap",
381
- color: "#8B5CF6",
382
- platforms: ["runner"],
383
- productMode: "ai"
384
- },
385
- {
386
- id: "reflection",
387
- label: "Reflection",
388
- icon: "RotateCcw",
389
- description: "Reflection fix effectiveness and history",
390
- productMode: "ai"
391
- },
392
- {
393
- id: "architecture",
394
- label: "Architecture",
395
- icon: "GitBranch",
396
- description: "Component dependency graph and SDK project architecture",
315
+ id: "tasks",
316
+ label: "Scheduled Tasks",
317
+ icon: "Calendar",
318
+ description: "Manage scheduled automation",
397
319
  productMode: "ai"
398
320
  },
399
321
  {
400
- id: "api-surface",
401
- label: "API Surface",
402
- icon: "Network",
403
- description: "Interactive map of every endpoint, command, query, and their connections",
404
- color: "#06B6D4",
405
- platforms: ["runner"]
406
- },
407
- {
408
- id: "development-intelligence",
409
- label: "Dev Intelligence",
410
- icon: "Brain",
411
- description: "Coverage gap analysis, complexity scoring, drift detection, and dead feature identification",
412
- route: "/observe/development-intelligence",
413
- color: "#8B5CF6",
414
- platforms: ["runner"],
322
+ id: "triggers",
323
+ label: "Triggers",
324
+ icon: "Zap",
325
+ description: "Event-driven workflow automation",
415
326
  productMode: "ai"
416
327
  },
417
328
  {
418
- id: "project-explainer",
419
- label: "Explainer",
420
- icon: "BookOpen",
421
- description: "Hierarchical explainer for any project: overview, per-cluster narratives, and per-page deep dives with embedded architecture diagrams. AI side panel for asking questions while reading.",
422
- route: "/observe/explainer",
329
+ id: "watchers",
330
+ label: "Watchers",
331
+ icon: "Eye",
332
+ description: "Scheduled reactive agents that monitor the activity timeline",
333
+ route: "/observe/watchers",
423
334
  color: "#06B6D4",
424
335
  platforms: ["runner"]
425
336
  }
426
337
  ];
427
- var LEARN_GROUP = {
428
- id: "learn",
429
- label: "LEARN",
430
- items: LEARN_ITEMS,
338
+ var AUTOMATE_GROUP = {
339
+ id: "automate",
340
+ label: "AUTOMATE",
341
+ items: AUTOMATE_ITEMS,
431
342
  defaultExpanded: false
432
343
  };
433
344
  var BUILD_ITEMS = [
@@ -438,7 +349,11 @@ var BUILD_ITEMS = [
438
349
  description: "Build phase-based automation workflows",
439
350
  route: "/build/workflows",
440
351
  color: "var(--brand-secondary)",
441
- productMode: "ai"
352
+ productMode: "ai",
353
+ // Advanced surface — demoted from the default nav now that the Terminal is
354
+ // the primary entry point. Reached via the Terminal "save as workflow"
355
+ // disclosure or by opting into "Show advanced automation features".
356
+ hidden: true
442
357
  },
443
358
  {
444
359
  id: "dag-workflow-editor",
@@ -448,7 +363,8 @@ var BUILD_ITEMS = [
448
363
  route: "/build/dag-editor",
449
364
  color: "#6366f1",
450
365
  platforms: ["runner"],
451
- productMode: "ai"
366
+ productMode: "ai",
367
+ hidden: true
452
368
  },
453
369
  {
454
370
  id: "step-builders",
@@ -457,7 +373,8 @@ var BUILD_ITEMS = [
457
373
  description: "Build and browse step templates",
458
374
  route: "/build/templates",
459
375
  color: "var(--brand-secondary)",
460
- productMode: "ai"
376
+ productMode: "ai",
377
+ hidden: true
461
378
  },
462
379
  {
463
380
  id: "library",
@@ -486,6 +403,15 @@ var BUILD_ITEMS = [
486
403
  color: "var(--brand-secondary)",
487
404
  productMode: "ai"
488
405
  },
406
+ {
407
+ id: "regression",
408
+ label: "Regression",
409
+ icon: "ShieldCheck",
410
+ description: "Run auto-generated regression suites against the live UI Bridge registry; review coverage and self-diagnoses for failures",
411
+ color: "var(--brand-secondary)",
412
+ platforms: ["runner"],
413
+ productMode: "ai"
414
+ },
489
415
  {
490
416
  id: "vga",
491
417
  label: "Visual GUI",
@@ -495,6 +421,16 @@ var BUILD_ITEMS = [
495
421
  color: "var(--brand-secondary)",
496
422
  productMode: "both"
497
423
  },
424
+ {
425
+ id: "orchestration-loop",
426
+ label: "Orchestration",
427
+ icon: "Repeat",
428
+ description: "Iterative workflow loop with pipeline mode (build/reflect/fix)",
429
+ route: "/orchestration-loop",
430
+ color: "#8B5CF6",
431
+ platforms: ["runner"],
432
+ hidden: true
433
+ },
498
434
  {
499
435
  id: "demo-video",
500
436
  label: "Demo Videos",
@@ -514,6 +450,15 @@ var BUILD_ITEMS = [
514
450
  color: "var(--brand-secondary)",
515
451
  platforms: ["runner"],
516
452
  productMode: "ai"
453
+ },
454
+ {
455
+ id: "wrappers",
456
+ label: "Wrappers",
457
+ icon: "Package",
458
+ description: "Install and manage wrapper extensions",
459
+ route: "/wrappers",
460
+ color: "#06B6D4",
461
+ platforms: ["runner"]
517
462
  }
518
463
  ];
519
464
  var BUILD_GROUP = {
@@ -522,22 +467,109 @@ var BUILD_GROUP = {
522
467
  items: BUILD_ITEMS,
523
468
  defaultExpanded: false
524
469
  };
525
- var WRAPPERS_ITEMS = [
470
+ var INSIGHTS_ITEMS = [
526
471
  {
527
- id: "wrappers",
528
- label: "Wrappers",
529
- icon: "Package",
530
- description: "Install and manage wrapper extensions",
531
- route: "/wrappers",
472
+ id: "error-monitor",
473
+ label: "Error Monitor",
474
+ icon: "AlertCircle",
475
+ description: "Monitor and fix application errors from log sources",
476
+ route: "/tools/error-monitor",
477
+ color: "#4A90D9",
478
+ productMode: "ai"
479
+ },
480
+ {
481
+ id: "processes",
482
+ label: "Processes",
483
+ icon: "Cpu",
484
+ description: "Manage and monitor spawned child processes",
485
+ color: "#06B6D4",
486
+ productMode: "ai"
487
+ },
488
+ {
489
+ id: "activity-timeline",
490
+ label: "Activity Timeline",
491
+ icon: "Activity",
492
+ description: "Searchable capture history \u2014 everything seen on screen during automation",
493
+ route: "/observe/activity-timeline",
494
+ color: "#06B6D4",
495
+ platforms: ["runner"]
496
+ },
497
+ {
498
+ id: "automation-health",
499
+ label: "Automation Health",
500
+ icon: "Activity",
501
+ description: "UI Bridge automation quality, selector reliability, and improvement recommendations",
502
+ color: "#10B981",
503
+ platforms: ["runner"],
504
+ productMode: "ai"
505
+ },
506
+ {
507
+ id: "reflection",
508
+ label: "Reflection",
509
+ icon: "RotateCcw",
510
+ description: "Reflection fix effectiveness and history",
511
+ productMode: "ai"
512
+ },
513
+ {
514
+ id: "architecture",
515
+ label: "Architecture",
516
+ icon: "GitBranch",
517
+ description: "Component dependency graph and SDK project architecture",
518
+ productMode: "ai"
519
+ },
520
+ {
521
+ id: "api-surface",
522
+ label: "API Surface",
523
+ icon: "Network",
524
+ description: "Interactive map of every endpoint, command, query, and their connections",
525
+ color: "#06B6D4",
526
+ platforms: ["runner"]
527
+ },
528
+ {
529
+ id: "development-intelligence",
530
+ label: "Dev Intelligence",
531
+ icon: "Brain",
532
+ description: "Coverage gap analysis, complexity scoring, drift detection, and dead feature identification",
533
+ route: "/observe/development-intelligence",
534
+ color: "#8B5CF6",
535
+ platforms: ["runner"],
536
+ productMode: "ai"
537
+ },
538
+ {
539
+ id: "project-explainer",
540
+ label: "Explainer",
541
+ icon: "BookOpen",
542
+ description: "Hierarchical explainer for any project: overview, per-cluster narratives, and per-page deep dives with embedded architecture diagrams. AI side panel for asking questions while reading.",
543
+ route: "/observe/explainer",
532
544
  color: "#06B6D4",
533
545
  platforms: ["runner"]
546
+ },
547
+ {
548
+ id: "decision-trail",
549
+ label: "Decision Trail",
550
+ icon: "ListChecks",
551
+ description: "Architectural decision history \u2014 what was decided, why, and what alternatives were considered",
552
+ route: "/observe/decision-trail",
553
+ color: "#8B5CF6",
554
+ productMode: "ai",
555
+ platforms: ["runner"]
556
+ },
557
+ {
558
+ id: "session-recap",
559
+ label: "Session Recap",
560
+ icon: "GitBranch",
561
+ description: "Semantic dependency map of what was built \u2014 files, types, endpoints, and how they connect",
562
+ route: "/observe/session-recap",
563
+ color: "#8B5CF6",
564
+ platforms: ["runner"],
565
+ productMode: "ai"
534
566
  }
535
567
  ];
536
- var WRAPPERS_GROUP = {
537
- id: "wrappers",
538
- label: "WRAPPERS",
539
- items: WRAPPERS_ITEMS,
540
- defaultExpanded: true
568
+ var INSIGHTS_GROUP = {
569
+ id: "insights",
570
+ label: "INSIGHTS",
571
+ items: INSIGHTS_ITEMS,
572
+ defaultExpanded: false
541
573
  };
542
574
  var CONFIGURE_ITEMS = [
543
575
  {
@@ -562,37 +594,6 @@ var CONFIGURE_ITEMS = [
562
594
  icon: "Plug",
563
595
  description: "Manage UI Bridge integrations for external apps",
564
596
  productMode: "ai"
565
- }
566
- ];
567
- var CONFIGURE_GROUP = {
568
- id: "configure",
569
- label: "CONFIGURE",
570
- items: CONFIGURE_ITEMS,
571
- defaultExpanded: false
572
- };
573
- var SCHEDULE_ITEMS = [
574
- {
575
- id: "triggers",
576
- label: "Triggers",
577
- icon: "Zap",
578
- description: "Event-driven workflow automation",
579
- productMode: "ai"
580
- },
581
- {
582
- id: "tasks",
583
- label: "Scheduled Tasks",
584
- icon: "Calendar",
585
- description: "Manage scheduled automation",
586
- productMode: "ai"
587
- },
588
- {
589
- id: "watchers",
590
- label: "Watchers",
591
- icon: "Eye",
592
- description: "Scheduled reactive agents that monitor the activity timeline",
593
- route: "/observe/watchers",
594
- color: "#06B6D4",
595
- platforms: ["runner"]
596
597
  },
597
598
  {
598
599
  id: "event-history",
@@ -603,10 +604,10 @@ var SCHEDULE_ITEMS = [
603
604
  productMode: "ai"
604
605
  }
605
606
  ];
606
- var SCHEDULE_GROUP = {
607
- id: "schedule",
608
- label: "SCHEDULE",
609
- items: SCHEDULE_ITEMS,
607
+ var CONFIGURE_GROUP = {
608
+ id: "configure",
609
+ label: "CONFIGURE",
610
+ items: CONFIGURE_ITEMS,
610
611
  defaultExpanded: false
611
612
  };
612
613
  var DEV_ITEMS = [
@@ -815,6 +816,15 @@ var SETTINGS_ITEMS = [
815
816
  color: "#FFD700",
816
817
  platforms: ["runner"]
817
818
  },
819
+ {
820
+ id: "settings-repos",
821
+ label: "Repositories",
822
+ icon: "GitBranch",
823
+ description: "Manage coordinated repositories",
824
+ route: "/settings/repos",
825
+ color: "#FFD700",
826
+ platforms: ["web"]
827
+ },
818
828
  {
819
829
  id: "settings-debug",
820
830
  label: "Debug",
@@ -834,6 +844,15 @@ var SYSTEM_ITEMS = [
834
844
  route: "/runners",
835
845
  color: "#10B981"
836
846
  },
847
+ {
848
+ id: "sessions",
849
+ label: "Sessions",
850
+ icon: "Terminal",
851
+ description: "Terminal and agent sessions across machines",
852
+ platforms: ["web"],
853
+ route: "/sessions",
854
+ color: "#10B981"
855
+ },
837
856
  {
838
857
  id: "settings",
839
858
  label: "Settings",
@@ -860,14 +879,13 @@ var SYSTEM_GROUP = {
860
879
  defaultExpanded: true
861
880
  };
862
881
  var NAVIGATION_GROUPS = [
863
- TOP_LEVEL_GROUP,
864
- RUN_GROUP,
865
- OBSERVE_GROUP,
866
- LEARN_GROUP,
882
+ WORKSPACE_GROUP,
883
+ REVIEW_GROUP,
884
+ SPEND_GROUP,
885
+ AUTOMATE_GROUP,
867
886
  BUILD_GROUP,
868
- WRAPPERS_GROUP,
887
+ INSIGHTS_GROUP,
869
888
  CONFIGURE_GROUP,
870
- SCHEDULE_GROUP,
871
889
  DEV_GROUP,
872
890
  SYSTEM_GROUP
873
891
  ];
@@ -1007,10 +1025,20 @@ function setProductMode(mode) {
1007
1025
  function getProductMode() {
1008
1026
  return _productMode;
1009
1027
  }
1028
+ var _showHiddenItems = false;
1029
+ function setShowHiddenItems(show) {
1030
+ _showHiddenItems = show;
1031
+ }
1032
+ function getShowHiddenItems() {
1033
+ return _showHiddenItems;
1034
+ }
1010
1035
  function isItemAvailable(item, platform) {
1011
1036
  if (item.hiddenInProd && !isDevelopmentMode()) {
1012
1037
  return false;
1013
1038
  }
1039
+ if (item.hidden && !_showHiddenItems) {
1040
+ return false;
1041
+ }
1014
1042
  if (_productMode && item.productMode && item.productMode !== "both" && item.productMode !== _productMode) {
1015
1043
  return false;
1016
1044
  }
@@ -1052,7 +1080,7 @@ function getWebNavigation() {
1052
1080
  function createInitialState(options) {
1053
1081
  return {
1054
1082
  activeItemId: options?.activeItemId ?? null,
1055
- expandedGroups: new Set(options?.expandedGroups ?? ["run", "observe", "learn", "build", "configure", "system"]),
1083
+ expandedGroups: new Set(options?.expandedGroups ?? ["workspace", "review", "system"]),
1056
1084
  expandedItems: new Set(options?.expandedItems ?? []),
1057
1085
  secondarySidebar: {
1058
1086
  isOpen: false,
@@ -1309,6 +1337,8 @@ function NavigationItemShell({
1309
1337
  }
1310
1338
  // Annotate the CommonJS export names for ESM import in node:
1311
1339
  0 && (module.exports = {
1340
+ AUTOMATE_GROUP,
1341
+ AUTOMATE_ITEMS,
1312
1342
  BUILD_GROUP,
1313
1343
  BUILD_ITEMS,
1314
1344
  CHILDREN_MAP,
@@ -1317,24 +1347,22 @@ function NavigationItemShell({
1317
1347
  DEV_GROUP,
1318
1348
  DEV_ITEMS,
1319
1349
  ICON_NAMES,
1320
- LEARN_GROUP,
1321
- LEARN_ITEMS,
1350
+ INSIGHTS_GROUP,
1351
+ INSIGHTS_ITEMS,
1322
1352
  NAVIGATION_GROUPS,
1323
1353
  NavigationItemShell,
1324
- OBSERVE_GROUP,
1325
- OBSERVE_ITEMS,
1354
+ REVIEW_GROUP,
1355
+ REVIEW_ITEMS,
1326
1356
  RUNS_ITEMS,
1327
- RUN_GROUP,
1328
- RUN_ITEMS,
1329
- SCHEDULE_GROUP,
1330
- SCHEDULE_ITEMS,
1331
1357
  SESSION_ITEMS,
1332
1358
  SETTINGS_ITEMS,
1359
+ SPEND_GROUP,
1360
+ SPEND_ITEMS,
1333
1361
  STORAGE_KEYS,
1334
1362
  SYSTEM_GROUP,
1335
1363
  SYSTEM_ITEMS,
1336
- WRAPPERS_GROUP,
1337
- WRAPPERS_ITEMS,
1364
+ WORKSPACE_GROUP,
1365
+ WORKSPACE_ITEMS,
1338
1366
  createInitialState,
1339
1367
  deserializeState,
1340
1368
  filterGroupForPlatform,
@@ -1348,6 +1376,7 @@ function NavigationItemShell({
1348
1376
  getNavigationGroups,
1349
1377
  getProductMode,
1350
1378
  getRunnerNavigation,
1379
+ getShowHiddenItems,
1351
1380
  getWebNavigation,
1352
1381
  isDevelopmentMode,
1353
1382
  isGroupExpanded,
@@ -1361,5 +1390,6 @@ function NavigationItemShell({
1361
1390
  serializeState,
1362
1391
  setDevelopmentMode,
1363
1392
  setProductMode,
1393
+ setShowHiddenItems,
1364
1394
  useNavigationItem
1365
1395
  });