@qontinui/navigation 0.1.1 → 0.1.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.
- package/dist/index.cjs +230 -221
- package/dist/index.d.cts +34 -11
- package/dist/index.d.ts +34 -11
- package/dist/index.js +220 -211
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/groups.ts
|
|
2
|
-
var
|
|
2
|
+
var WORKSPACE_ITEMS = [
|
|
3
3
|
{
|
|
4
4
|
id: "visual-dashboard",
|
|
5
5
|
label: "Dashboard",
|
|
@@ -8,15 +8,7 @@ var TOP_LEVEL_ITEMS = [
|
|
|
8
8
|
route: "/tools/visual-automation",
|
|
9
9
|
color: "#10B981",
|
|
10
10
|
productMode: "visual"
|
|
11
|
-
}
|
|
12
|
-
];
|
|
13
|
-
var TOP_LEVEL_GROUP = {
|
|
14
|
-
id: "top-level",
|
|
15
|
-
label: "",
|
|
16
|
-
items: TOP_LEVEL_ITEMS,
|
|
17
|
-
defaultExpanded: true
|
|
18
|
-
};
|
|
19
|
-
var RUN_ITEMS = [
|
|
11
|
+
},
|
|
20
12
|
{
|
|
21
13
|
id: "prompt-home",
|
|
22
14
|
label: "Home",
|
|
@@ -35,15 +27,6 @@ var RUN_ITEMS = [
|
|
|
35
27
|
color: "#10B981",
|
|
36
28
|
productMode: "visual"
|
|
37
29
|
},
|
|
38
|
-
{
|
|
39
|
-
id: "active",
|
|
40
|
-
label: "Active",
|
|
41
|
-
icon: "Activity",
|
|
42
|
-
description: "Monitor active executions",
|
|
43
|
-
route: "/runs/active",
|
|
44
|
-
color: "#4A90D9",
|
|
45
|
-
productMode: "ai"
|
|
46
|
-
},
|
|
47
30
|
{
|
|
48
31
|
id: "terminal",
|
|
49
32
|
label: "Terminal",
|
|
@@ -55,13 +38,13 @@ var RUN_ITEMS = [
|
|
|
55
38
|
platforms: ["runner"]
|
|
56
39
|
},
|
|
57
40
|
{
|
|
58
|
-
id: "
|
|
59
|
-
label: "
|
|
60
|
-
icon: "
|
|
61
|
-
description: "
|
|
62
|
-
route: "/
|
|
63
|
-
color: "#
|
|
64
|
-
|
|
41
|
+
id: "active",
|
|
42
|
+
label: "Active",
|
|
43
|
+
icon: "Activity",
|
|
44
|
+
description: "Monitor active executions",
|
|
45
|
+
route: "/runs/active",
|
|
46
|
+
color: "#4A90D9",
|
|
47
|
+
productMode: "ai"
|
|
65
48
|
},
|
|
66
49
|
{
|
|
67
50
|
id: "productivity",
|
|
@@ -71,21 +54,12 @@ var RUN_ITEMS = [
|
|
|
71
54
|
route: "/productivity",
|
|
72
55
|
color: "#F59E0B",
|
|
73
56
|
platforms: ["runner"]
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
id: "wrappers",
|
|
77
|
-
label: "Wrappers",
|
|
78
|
-
icon: "Package",
|
|
79
|
-
description: "Wrapper configurations and manifest management",
|
|
80
|
-
route: "/wrappers",
|
|
81
|
-
color: "#F59E0B",
|
|
82
|
-
platforms: ["runner"]
|
|
83
57
|
}
|
|
84
58
|
];
|
|
85
|
-
var
|
|
86
|
-
id: "
|
|
87
|
-
label: "
|
|
88
|
-
items:
|
|
59
|
+
var WORKSPACE_GROUP = {
|
|
60
|
+
id: "workspace",
|
|
61
|
+
label: "WORKSPACE",
|
|
62
|
+
items: WORKSPACE_ITEMS,
|
|
89
63
|
defaultExpanded: true
|
|
90
64
|
};
|
|
91
65
|
var SESSION_ITEMS = [
|
|
@@ -173,7 +147,7 @@ var RUNS_ITEMS = [
|
|
|
173
147
|
platforms: ["web"]
|
|
174
148
|
}
|
|
175
149
|
];
|
|
176
|
-
var
|
|
150
|
+
var REVIEW_ITEMS = [
|
|
177
151
|
{
|
|
178
152
|
id: "runs",
|
|
179
153
|
label: "Runs",
|
|
@@ -195,40 +169,32 @@ var OBSERVE_ITEMS = [
|
|
|
195
169
|
productMode: "ai"
|
|
196
170
|
},
|
|
197
171
|
{
|
|
198
|
-
id: "
|
|
199
|
-
label: "
|
|
200
|
-
icon: "
|
|
201
|
-
description: "
|
|
202
|
-
route: "/
|
|
203
|
-
color: "#
|
|
204
|
-
productMode: "ai"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
id: "processes",
|
|
208
|
-
label: "Processes",
|
|
209
|
-
icon: "Cpu",
|
|
210
|
-
description: "Manage and monitor spawned child processes",
|
|
211
|
-
color: "#06B6D4",
|
|
172
|
+
id: "memory",
|
|
173
|
+
label: "Memory",
|
|
174
|
+
icon: "Brain",
|
|
175
|
+
description: "Cross-session observation memory from past runs",
|
|
176
|
+
route: "/observe/memory",
|
|
177
|
+
color: "#8B5CF6",
|
|
212
178
|
productMode: "ai"
|
|
213
179
|
},
|
|
214
180
|
{
|
|
215
|
-
id: "
|
|
216
|
-
label: "
|
|
217
|
-
icon: "
|
|
218
|
-
description: "
|
|
219
|
-
route: "/observe/
|
|
220
|
-
color: "#
|
|
221
|
-
platforms: ["runner"]
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
id: "automation-health",
|
|
225
|
-
label: "Automation Health",
|
|
226
|
-
icon: "Activity",
|
|
227
|
-
description: "UI Bridge automation quality, selector reliability, and improvement recommendations",
|
|
228
|
-
color: "#10B981",
|
|
181
|
+
id: "knowledge-explorer",
|
|
182
|
+
label: "Knowledge",
|
|
183
|
+
icon: "Globe",
|
|
184
|
+
description: "Search external knowledge sources and view acquisition stats \u2014 web search, vulnerability intelligence, API docs",
|
|
185
|
+
route: "/observe/knowledge",
|
|
186
|
+
color: "#F97316",
|
|
229
187
|
platforms: ["runner"],
|
|
230
188
|
productMode: "ai"
|
|
231
|
-
}
|
|
189
|
+
}
|
|
190
|
+
];
|
|
191
|
+
var REVIEW_GROUP = {
|
|
192
|
+
id: "review",
|
|
193
|
+
label: "REVIEW",
|
|
194
|
+
items: REVIEW_ITEMS,
|
|
195
|
+
defaultExpanded: true
|
|
196
|
+
};
|
|
197
|
+
var SPEND_ITEMS = [
|
|
232
198
|
{
|
|
233
199
|
id: "llm-analytics",
|
|
234
200
|
label: "LLM Analytics",
|
|
@@ -248,98 +214,41 @@ var OBSERVE_ITEMS = [
|
|
|
248
214
|
productMode: "ai"
|
|
249
215
|
}
|
|
250
216
|
];
|
|
251
|
-
var
|
|
252
|
-
id: "
|
|
253
|
-
label: "
|
|
254
|
-
items:
|
|
217
|
+
var SPEND_GROUP = {
|
|
218
|
+
id: "spend",
|
|
219
|
+
label: "SPEND",
|
|
220
|
+
items: SPEND_ITEMS,
|
|
255
221
|
defaultExpanded: false
|
|
256
222
|
};
|
|
257
|
-
var
|
|
258
|
-
{
|
|
259
|
-
id: "memory",
|
|
260
|
-
label: "Memory",
|
|
261
|
-
icon: "Brain",
|
|
262
|
-
description: "Cross-session observation memory from past runs",
|
|
263
|
-
route: "/observe/memory",
|
|
264
|
-
color: "#8B5CF6",
|
|
265
|
-
productMode: "ai"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
id: "knowledge-explorer",
|
|
269
|
-
label: "Knowledge",
|
|
270
|
-
icon: "Globe",
|
|
271
|
-
description: "Search external knowledge sources and view acquisition stats \u2014 web search, vulnerability intelligence, API docs",
|
|
272
|
-
route: "/observe/knowledge",
|
|
273
|
-
color: "#F97316",
|
|
274
|
-
platforms: ["runner"],
|
|
275
|
-
productMode: "ai"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
id: "decision-trail",
|
|
279
|
-
label: "Decision Trail",
|
|
280
|
-
icon: "ListChecks",
|
|
281
|
-
description: "Architectural decision history \u2014 what was decided, why, and what alternatives were considered",
|
|
282
|
-
route: "/observe/decision-trail",
|
|
283
|
-
color: "#8B5CF6",
|
|
284
|
-
productMode: "ai",
|
|
285
|
-
platforms: ["runner"]
|
|
286
|
-
},
|
|
223
|
+
var AUTOMATE_ITEMS = [
|
|
287
224
|
{
|
|
288
|
-
id: "
|
|
289
|
-
label: "
|
|
290
|
-
icon: "
|
|
291
|
-
description: "
|
|
292
|
-
route: "/observe/session-recap",
|
|
293
|
-
color: "#8B5CF6",
|
|
294
|
-
platforms: ["runner"],
|
|
295
|
-
productMode: "ai"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
id: "reflection",
|
|
299
|
-
label: "Reflection",
|
|
300
|
-
icon: "RotateCcw",
|
|
301
|
-
description: "Reflection fix effectiveness and history",
|
|
302
|
-
productMode: "ai"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
id: "architecture",
|
|
306
|
-
label: "Architecture",
|
|
307
|
-
icon: "GitBranch",
|
|
308
|
-
description: "Component dependency graph and SDK project architecture",
|
|
225
|
+
id: "tasks",
|
|
226
|
+
label: "Scheduled Tasks",
|
|
227
|
+
icon: "Calendar",
|
|
228
|
+
description: "Manage scheduled automation",
|
|
309
229
|
productMode: "ai"
|
|
310
230
|
},
|
|
311
231
|
{
|
|
312
|
-
id: "
|
|
313
|
-
label: "
|
|
314
|
-
icon: "
|
|
315
|
-
description: "
|
|
316
|
-
color: "#06B6D4",
|
|
317
|
-
platforms: ["runner"]
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
id: "development-intelligence",
|
|
321
|
-
label: "Dev Intelligence",
|
|
322
|
-
icon: "Brain",
|
|
323
|
-
description: "Coverage gap analysis, complexity scoring, drift detection, and dead feature identification",
|
|
324
|
-
route: "/observe/development-intelligence",
|
|
325
|
-
color: "#8B5CF6",
|
|
326
|
-
platforms: ["runner"],
|
|
232
|
+
id: "triggers",
|
|
233
|
+
label: "Triggers",
|
|
234
|
+
icon: "Zap",
|
|
235
|
+
description: "Event-driven workflow automation",
|
|
327
236
|
productMode: "ai"
|
|
328
237
|
},
|
|
329
238
|
{
|
|
330
|
-
id: "
|
|
331
|
-
label: "
|
|
332
|
-
icon: "
|
|
333
|
-
description: "
|
|
334
|
-
route: "/observe/
|
|
239
|
+
id: "watchers",
|
|
240
|
+
label: "Watchers",
|
|
241
|
+
icon: "Eye",
|
|
242
|
+
description: "Scheduled reactive agents that monitor the activity timeline",
|
|
243
|
+
route: "/observe/watchers",
|
|
335
244
|
color: "#06B6D4",
|
|
336
245
|
platforms: ["runner"]
|
|
337
246
|
}
|
|
338
247
|
];
|
|
339
|
-
var
|
|
340
|
-
id: "
|
|
341
|
-
label: "
|
|
342
|
-
items:
|
|
248
|
+
var AUTOMATE_GROUP = {
|
|
249
|
+
id: "automate",
|
|
250
|
+
label: "AUTOMATE",
|
|
251
|
+
items: AUTOMATE_ITEMS,
|
|
343
252
|
defaultExpanded: false
|
|
344
253
|
};
|
|
345
254
|
var BUILD_ITEMS = [
|
|
@@ -398,6 +307,15 @@ var BUILD_ITEMS = [
|
|
|
398
307
|
color: "var(--brand-secondary)",
|
|
399
308
|
productMode: "ai"
|
|
400
309
|
},
|
|
310
|
+
{
|
|
311
|
+
id: "regression",
|
|
312
|
+
label: "Regression",
|
|
313
|
+
icon: "ShieldCheck",
|
|
314
|
+
description: "Run auto-generated regression suites against the live UI Bridge registry; review coverage and self-diagnoses for failures",
|
|
315
|
+
color: "var(--brand-secondary)",
|
|
316
|
+
platforms: ["runner"],
|
|
317
|
+
productMode: "ai"
|
|
318
|
+
},
|
|
401
319
|
{
|
|
402
320
|
id: "vga",
|
|
403
321
|
label: "Visual GUI",
|
|
@@ -407,6 +325,15 @@ var BUILD_ITEMS = [
|
|
|
407
325
|
color: "var(--brand-secondary)",
|
|
408
326
|
productMode: "both"
|
|
409
327
|
},
|
|
328
|
+
{
|
|
329
|
+
id: "orchestration-loop",
|
|
330
|
+
label: "Orchestration",
|
|
331
|
+
icon: "Repeat",
|
|
332
|
+
description: "Iterative workflow loop with pipeline mode (build/reflect/fix)",
|
|
333
|
+
route: "/orchestration-loop",
|
|
334
|
+
color: "#8B5CF6",
|
|
335
|
+
platforms: ["runner"]
|
|
336
|
+
},
|
|
410
337
|
{
|
|
411
338
|
id: "demo-video",
|
|
412
339
|
label: "Demo Videos",
|
|
@@ -426,6 +353,15 @@ var BUILD_ITEMS = [
|
|
|
426
353
|
color: "var(--brand-secondary)",
|
|
427
354
|
platforms: ["runner"],
|
|
428
355
|
productMode: "ai"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
id: "wrappers",
|
|
359
|
+
label: "Wrappers",
|
|
360
|
+
icon: "Package",
|
|
361
|
+
description: "Install and manage wrapper extensions",
|
|
362
|
+
route: "/wrappers",
|
|
363
|
+
color: "#06B6D4",
|
|
364
|
+
platforms: ["runner"]
|
|
429
365
|
}
|
|
430
366
|
];
|
|
431
367
|
var BUILD_GROUP = {
|
|
@@ -434,22 +370,109 @@ var BUILD_GROUP = {
|
|
|
434
370
|
items: BUILD_ITEMS,
|
|
435
371
|
defaultExpanded: false
|
|
436
372
|
};
|
|
437
|
-
var
|
|
373
|
+
var INSIGHTS_ITEMS = [
|
|
438
374
|
{
|
|
439
|
-
id: "
|
|
440
|
-
label: "
|
|
441
|
-
icon: "
|
|
442
|
-
description: "
|
|
443
|
-
route: "/
|
|
375
|
+
id: "error-monitor",
|
|
376
|
+
label: "Error Monitor",
|
|
377
|
+
icon: "AlertCircle",
|
|
378
|
+
description: "Monitor and fix application errors from log sources",
|
|
379
|
+
route: "/tools/error-monitor",
|
|
380
|
+
color: "#4A90D9",
|
|
381
|
+
productMode: "ai"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
id: "processes",
|
|
385
|
+
label: "Processes",
|
|
386
|
+
icon: "Cpu",
|
|
387
|
+
description: "Manage and monitor spawned child processes",
|
|
388
|
+
color: "#06B6D4",
|
|
389
|
+
productMode: "ai"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
id: "activity-timeline",
|
|
393
|
+
label: "Activity Timeline",
|
|
394
|
+
icon: "Activity",
|
|
395
|
+
description: "Searchable capture history \u2014 everything seen on screen during automation",
|
|
396
|
+
route: "/observe/activity-timeline",
|
|
444
397
|
color: "#06B6D4",
|
|
445
398
|
platforms: ["runner"]
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
id: "automation-health",
|
|
402
|
+
label: "Automation Health",
|
|
403
|
+
icon: "Activity",
|
|
404
|
+
description: "UI Bridge automation quality, selector reliability, and improvement recommendations",
|
|
405
|
+
color: "#10B981",
|
|
406
|
+
platforms: ["runner"],
|
|
407
|
+
productMode: "ai"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
id: "reflection",
|
|
411
|
+
label: "Reflection",
|
|
412
|
+
icon: "RotateCcw",
|
|
413
|
+
description: "Reflection fix effectiveness and history",
|
|
414
|
+
productMode: "ai"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
id: "architecture",
|
|
418
|
+
label: "Architecture",
|
|
419
|
+
icon: "GitBranch",
|
|
420
|
+
description: "Component dependency graph and SDK project architecture",
|
|
421
|
+
productMode: "ai"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
id: "api-surface",
|
|
425
|
+
label: "API Surface",
|
|
426
|
+
icon: "Network",
|
|
427
|
+
description: "Interactive map of every endpoint, command, query, and their connections",
|
|
428
|
+
color: "#06B6D4",
|
|
429
|
+
platforms: ["runner"]
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
id: "development-intelligence",
|
|
433
|
+
label: "Dev Intelligence",
|
|
434
|
+
icon: "Brain",
|
|
435
|
+
description: "Coverage gap analysis, complexity scoring, drift detection, and dead feature identification",
|
|
436
|
+
route: "/observe/development-intelligence",
|
|
437
|
+
color: "#8B5CF6",
|
|
438
|
+
platforms: ["runner"],
|
|
439
|
+
productMode: "ai"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
id: "project-explainer",
|
|
443
|
+
label: "Explainer",
|
|
444
|
+
icon: "BookOpen",
|
|
445
|
+
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.",
|
|
446
|
+
route: "/observe/explainer",
|
|
447
|
+
color: "#06B6D4",
|
|
448
|
+
platforms: ["runner"]
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
id: "decision-trail",
|
|
452
|
+
label: "Decision Trail",
|
|
453
|
+
icon: "ListChecks",
|
|
454
|
+
description: "Architectural decision history \u2014 what was decided, why, and what alternatives were considered",
|
|
455
|
+
route: "/observe/decision-trail",
|
|
456
|
+
color: "#8B5CF6",
|
|
457
|
+
productMode: "ai",
|
|
458
|
+
platforms: ["runner"]
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
id: "session-recap",
|
|
462
|
+
label: "Session Recap",
|
|
463
|
+
icon: "GitBranch",
|
|
464
|
+
description: "Semantic dependency map of what was built \u2014 files, types, endpoints, and how they connect",
|
|
465
|
+
route: "/observe/session-recap",
|
|
466
|
+
color: "#8B5CF6",
|
|
467
|
+
platforms: ["runner"],
|
|
468
|
+
productMode: "ai"
|
|
446
469
|
}
|
|
447
470
|
];
|
|
448
|
-
var
|
|
449
|
-
id: "
|
|
450
|
-
label: "
|
|
451
|
-
items:
|
|
452
|
-
defaultExpanded:
|
|
471
|
+
var INSIGHTS_GROUP = {
|
|
472
|
+
id: "insights",
|
|
473
|
+
label: "INSIGHTS",
|
|
474
|
+
items: INSIGHTS_ITEMS,
|
|
475
|
+
defaultExpanded: false
|
|
453
476
|
};
|
|
454
477
|
var CONFIGURE_ITEMS = [
|
|
455
478
|
{
|
|
@@ -474,37 +497,6 @@ var CONFIGURE_ITEMS = [
|
|
|
474
497
|
icon: "Plug",
|
|
475
498
|
description: "Manage UI Bridge integrations for external apps",
|
|
476
499
|
productMode: "ai"
|
|
477
|
-
}
|
|
478
|
-
];
|
|
479
|
-
var CONFIGURE_GROUP = {
|
|
480
|
-
id: "configure",
|
|
481
|
-
label: "CONFIGURE",
|
|
482
|
-
items: CONFIGURE_ITEMS,
|
|
483
|
-
defaultExpanded: false
|
|
484
|
-
};
|
|
485
|
-
var SCHEDULE_ITEMS = [
|
|
486
|
-
{
|
|
487
|
-
id: "triggers",
|
|
488
|
-
label: "Triggers",
|
|
489
|
-
icon: "Zap",
|
|
490
|
-
description: "Event-driven workflow automation",
|
|
491
|
-
productMode: "ai"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
id: "tasks",
|
|
495
|
-
label: "Scheduled Tasks",
|
|
496
|
-
icon: "Calendar",
|
|
497
|
-
description: "Manage scheduled automation",
|
|
498
|
-
productMode: "ai"
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
id: "watchers",
|
|
502
|
-
label: "Watchers",
|
|
503
|
-
icon: "Eye",
|
|
504
|
-
description: "Scheduled reactive agents that monitor the activity timeline",
|
|
505
|
-
route: "/observe/watchers",
|
|
506
|
-
color: "#06B6D4",
|
|
507
|
-
platforms: ["runner"]
|
|
508
500
|
},
|
|
509
501
|
{
|
|
510
502
|
id: "event-history",
|
|
@@ -515,10 +507,10 @@ var SCHEDULE_ITEMS = [
|
|
|
515
507
|
productMode: "ai"
|
|
516
508
|
}
|
|
517
509
|
];
|
|
518
|
-
var
|
|
519
|
-
id: "
|
|
520
|
-
label: "
|
|
521
|
-
items:
|
|
510
|
+
var CONFIGURE_GROUP = {
|
|
511
|
+
id: "configure",
|
|
512
|
+
label: "CONFIGURE",
|
|
513
|
+
items: CONFIGURE_ITEMS,
|
|
522
514
|
defaultExpanded: false
|
|
523
515
|
};
|
|
524
516
|
var DEV_ITEMS = [
|
|
@@ -727,6 +719,15 @@ var SETTINGS_ITEMS = [
|
|
|
727
719
|
color: "#FFD700",
|
|
728
720
|
platforms: ["runner"]
|
|
729
721
|
},
|
|
722
|
+
{
|
|
723
|
+
id: "settings-repos",
|
|
724
|
+
label: "Repositories",
|
|
725
|
+
icon: "GitBranch",
|
|
726
|
+
description: "Manage coordinated repositories",
|
|
727
|
+
route: "/settings/repos",
|
|
728
|
+
color: "#FFD700",
|
|
729
|
+
platforms: ["web"]
|
|
730
|
+
},
|
|
730
731
|
{
|
|
731
732
|
id: "settings-debug",
|
|
732
733
|
label: "Debug",
|
|
@@ -746,6 +747,15 @@ var SYSTEM_ITEMS = [
|
|
|
746
747
|
route: "/runners",
|
|
747
748
|
color: "#10B981"
|
|
748
749
|
},
|
|
750
|
+
{
|
|
751
|
+
id: "sessions",
|
|
752
|
+
label: "Sessions",
|
|
753
|
+
icon: "Terminal",
|
|
754
|
+
description: "Terminal and agent sessions across machines",
|
|
755
|
+
platforms: ["web"],
|
|
756
|
+
route: "/sessions",
|
|
757
|
+
color: "#10B981"
|
|
758
|
+
},
|
|
749
759
|
{
|
|
750
760
|
id: "settings",
|
|
751
761
|
label: "Settings",
|
|
@@ -772,14 +782,13 @@ var SYSTEM_GROUP = {
|
|
|
772
782
|
defaultExpanded: true
|
|
773
783
|
};
|
|
774
784
|
var NAVIGATION_GROUPS = [
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
785
|
+
WORKSPACE_GROUP,
|
|
786
|
+
REVIEW_GROUP,
|
|
787
|
+
SPEND_GROUP,
|
|
788
|
+
AUTOMATE_GROUP,
|
|
779
789
|
BUILD_GROUP,
|
|
780
|
-
|
|
790
|
+
INSIGHTS_GROUP,
|
|
781
791
|
CONFIGURE_GROUP,
|
|
782
|
-
SCHEDULE_GROUP,
|
|
783
792
|
DEV_GROUP,
|
|
784
793
|
SYSTEM_GROUP
|
|
785
794
|
];
|
|
@@ -964,7 +973,7 @@ function getWebNavigation() {
|
|
|
964
973
|
function createInitialState(options) {
|
|
965
974
|
return {
|
|
966
975
|
activeItemId: options?.activeItemId ?? null,
|
|
967
|
-
expandedGroups: new Set(options?.expandedGroups ?? ["
|
|
976
|
+
expandedGroups: new Set(options?.expandedGroups ?? ["workspace", "review", "system"]),
|
|
968
977
|
expandedItems: new Set(options?.expandedItems ?? []),
|
|
969
978
|
secondarySidebar: {
|
|
970
979
|
isOpen: false,
|
|
@@ -1220,6 +1229,8 @@ function NavigationItemShell({
|
|
|
1220
1229
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
1221
1230
|
}
|
|
1222
1231
|
export {
|
|
1232
|
+
AUTOMATE_GROUP,
|
|
1233
|
+
AUTOMATE_ITEMS,
|
|
1223
1234
|
BUILD_GROUP,
|
|
1224
1235
|
BUILD_ITEMS,
|
|
1225
1236
|
CHILDREN_MAP,
|
|
@@ -1228,24 +1239,22 @@ export {
|
|
|
1228
1239
|
DEV_GROUP,
|
|
1229
1240
|
DEV_ITEMS,
|
|
1230
1241
|
ICON_NAMES,
|
|
1231
|
-
|
|
1232
|
-
|
|
1242
|
+
INSIGHTS_GROUP,
|
|
1243
|
+
INSIGHTS_ITEMS,
|
|
1233
1244
|
NAVIGATION_GROUPS,
|
|
1234
1245
|
NavigationItemShell,
|
|
1235
|
-
|
|
1236
|
-
|
|
1246
|
+
REVIEW_GROUP,
|
|
1247
|
+
REVIEW_ITEMS,
|
|
1237
1248
|
RUNS_ITEMS,
|
|
1238
|
-
RUN_GROUP,
|
|
1239
|
-
RUN_ITEMS,
|
|
1240
|
-
SCHEDULE_GROUP,
|
|
1241
|
-
SCHEDULE_ITEMS,
|
|
1242
1249
|
SESSION_ITEMS,
|
|
1243
1250
|
SETTINGS_ITEMS,
|
|
1251
|
+
SPEND_GROUP,
|
|
1252
|
+
SPEND_ITEMS,
|
|
1244
1253
|
STORAGE_KEYS,
|
|
1245
1254
|
SYSTEM_GROUP,
|
|
1246
1255
|
SYSTEM_ITEMS,
|
|
1247
|
-
|
|
1248
|
-
|
|
1256
|
+
WORKSPACE_GROUP,
|
|
1257
|
+
WORKSPACE_ITEMS,
|
|
1249
1258
|
createInitialState,
|
|
1250
1259
|
deserializeState,
|
|
1251
1260
|
filterGroupForPlatform,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qontinui/navigation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Shared navigation structure for Qontinui applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
15
15
|
"typecheck": "tsc --noEmit",
|
|
16
16
|
"lint": "eslint src/",
|
|
17
|
-
"clean": "rm -rf dist"
|
|
17
|
+
"clean": "rm -rf dist",
|
|
18
|
+
"prepublishOnly": "npm run build"
|
|
18
19
|
},
|
|
19
20
|
"peerDependencies": {
|
|
20
21
|
"@qontinui/ui-bridge": ">=0.3.0",
|
|
@@ -55,6 +56,6 @@
|
|
|
55
56
|
"react": "^19.0.0",
|
|
56
57
|
"tsup": "^8.0.1",
|
|
57
58
|
"typescript": "^6.0.2",
|
|
58
|
-
"typescript-eslint": "^8.
|
|
59
|
+
"typescript-eslint": "^8.61.0"
|
|
59
60
|
}
|
|
60
61
|
}
|