@openqa/cli 2.1.0 → 2.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/README.md +26 -0
- package/dist/agent/index-v2.js +277 -92
- package/dist/agent/index-v2.js.map +1 -1
- package/dist/agent/index.js +109 -118
- package/dist/agent/index.js.map +1 -1
- package/dist/cli/daemon.js +1045 -635
- package/dist/cli/dashboard.html.js +53 -16
- package/dist/cli/env.html.js +717 -529
- package/dist/cli/index.js +762 -537
- package/dist/cli/server.js +762 -537
- package/package.json +1 -1
|
@@ -75,7 +75,7 @@ function getDashboardHTML() {
|
|
|
75
75
|
.logo-mark {
|
|
76
76
|
width: 34px;
|
|
77
77
|
height: 34px;
|
|
78
|
-
background:
|
|
78
|
+
background: transparent;
|
|
79
79
|
border-radius: 8px;
|
|
80
80
|
display: grid;
|
|
81
81
|
place-items: center;
|
|
@@ -697,7 +697,9 @@ function getDashboardHTML() {
|
|
|
697
697
|
<!-- Sidebar -->
|
|
698
698
|
<aside>
|
|
699
699
|
<div class="logo">
|
|
700
|
-
<div class="logo-mark"
|
|
700
|
+
<div class="logo-mark">
|
|
701
|
+
<img src="https://openqa.orkajs.com/_next/image?url=https%3A%2F%2Forkajs.com%2Floutre-orka-qa.png&w=256&q=75" alt="OpenQA Logo" style="width: 40px; height: 40px;">
|
|
702
|
+
</div>
|
|
701
703
|
<div>
|
|
702
704
|
<div class="logo-name">OpenQA</div>
|
|
703
705
|
<div class="logo-version">v2.1.0 \xB7 OSS</div>
|
|
@@ -707,42 +709,69 @@ function getDashboardHTML() {
|
|
|
707
709
|
<div class="nav-section">
|
|
708
710
|
<div class="nav-label">Overview</div>
|
|
709
711
|
<a class="nav-item active" href="/">
|
|
710
|
-
<span class="icon"
|
|
712
|
+
<span class="icon">
|
|
713
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-gauge-icon lucide-gauge"><path d="m12 14 4-4"/><path d="M3.34 19a10 10 0 1 1 17.32 0"/></svg>
|
|
714
|
+
</span> Dashboard
|
|
711
715
|
</a>
|
|
712
716
|
<a class="nav-item" href="/kanban">
|
|
713
|
-
<span class="icon"
|
|
717
|
+
<span class="icon">
|
|
718
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-dashed-kanban-icon lucide-square-dashed-kanban"><path d="M8 7v7"/><path d="M12 7v4"/><path d="M16 7v9"/><path d="M5 3a2 2 0 0 0-2 2"/><path d="M9 3h1"/><path d="M14 3h1"/><path d="M19 3a2 2 0 0 1 2 2"/><path d="M21 9v1"/><path d="M21 14v1"/><path d="M21 19a2 2 0 0 1-2 2"/><path d="M14 21h1"/><path d="M9 21h1"/><path d="M5 21a2 2 0 0 1-2-2"/><path d="M3 14v1"/><path d="M3 9v1"/></svg>
|
|
719
|
+
</span> Kanban
|
|
714
720
|
<span class="badge" id="kanban-count">0</span>
|
|
715
721
|
</a>
|
|
716
722
|
|
|
717
723
|
<div class="nav-label">Agents</div>
|
|
718
724
|
<a class="nav-item" href="javascript:void(0)" onclick="scrollToSection('agents-table')">
|
|
719
|
-
<span class="icon"
|
|
725
|
+
<span class="icon">
|
|
726
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-activity-icon lucide-activity"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"/></svg>
|
|
727
|
+
</span> Active Agents
|
|
720
728
|
</a>
|
|
721
729
|
<a class="nav-item" href="javascript:void(0)" onclick="switchAgentTab('specialists'); scrollToSection('agents-table')">
|
|
722
|
-
<span class="icon"
|
|
730
|
+
<span class="icon">
|
|
731
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-hat-glasses-icon lucide-hat-glasses"><path d="M14 18a2 2 0 0 0-4 0"/><path d="m19 11-2.11-6.657a2 2 0 0 0-2.752-1.148l-1.276.61A2 2 0 0 1 12 4H8.5a2 2 0 0 0-1.925 1.456L5 11"/><path d="M2 11h20"/><circle cx="17" cy="18" r="3"/><circle cx="7" cy="18" r="3"/></svg>
|
|
732
|
+
</span> Specialists
|
|
723
733
|
</a>
|
|
724
734
|
<a class="nav-item" href="javascript:void(0)" onclick="scrollToSection('interventions-panel')">
|
|
725
|
-
<span class="icon"
|
|
735
|
+
<span class="icon">
|
|
736
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-user-cog-icon lucide-user-cog"><path d="M10 15H6a4 4 0 0 0-4 4v2"/><path d="m14.305 16.53.923-.382"/><path d="m15.228 13.852-.923-.383"/><path d="m16.852 12.228-.383-.923"/><path d="m16.852 17.772-.383.924"/><path d="m19.148 12.228.383-.923"/><path d="m19.53 18.696-.382-.924"/><path d="m20.772 13.852.924-.383"/><path d="m20.772 16.148.924.383"/><circle cx="18" cy="15" r="3"/><circle cx="9" cy="7" r="4"/></svg>
|
|
737
|
+
</span> Interventions
|
|
726
738
|
<span class="badge" id="intervention-count" style="background: var(--red);">0</span>
|
|
727
739
|
</a>
|
|
728
740
|
|
|
729
741
|
<div class="nav-label">Analysis</div>
|
|
730
742
|
<a class="nav-item" href="javascript:void(0)" onclick="scrollToSection('issues-panel')">
|
|
731
|
-
<span class="icon"
|
|
743
|
+
<span class="icon">
|
|
744
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-bug-play-icon lucide-bug-play"><path d="M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97"/><path d="M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z"/>
|
|
745
|
+
<path d="M14.12 3.88 16 2"/>
|
|
746
|
+
<path d="M21 5a4 4 0 0 1-3.55 3.97"/>
|
|
747
|
+
<path d="M3 21a4 4 0 0 1 3.81-4"/>
|
|
748
|
+
<path d="M3 5a4 4 0 0 0 3.55 3.97"/>
|
|
749
|
+
<path d="M6 13H2"/><path d="m8 2 1.88 1.88"/>
|
|
750
|
+
<path d="M9 7.13V6a3 3 0 1 1 6 0v1.13"/>
|
|
751
|
+
</svg>
|
|
752
|
+
</span> Bug Reports
|
|
732
753
|
</a>
|
|
733
754
|
<a class="nav-item" href="javascript:void(0)" onclick="switchChartTab('performance'); scrollToSection('chart-performance')">
|
|
734
|
-
<span class="icon"
|
|
755
|
+
<span class="icon">
|
|
756
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chart-spline-icon lucide-chart-spline"><path d="M3 3v16a2 2 0 0 0 2 2h16"/><path d="M7 16c.5-2 1.5-7 4-7 2 0 2 3 4 3 2.5 0 4.5-5 5-7"/></svg>
|
|
757
|
+
</span> Performance
|
|
735
758
|
</a>
|
|
736
759
|
<a class="nav-item" href="javascript:void(0)" onclick="scrollToSection('activity-list')">
|
|
737
|
-
<span class="icon"
|
|
760
|
+
<span class="icon">
|
|
761
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-scroll-text-icon lucide-scroll-text"><path d="M15 12h-5"/><path d="M15 8h-5"/><path d="M19 17V5a2 2 0 0 0-2-2H4"/><path d="M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3"/></svg>
|
|
762
|
+
</span> Logs
|
|
738
763
|
</a>
|
|
739
764
|
|
|
740
765
|
<div class="nav-label">System</div>
|
|
741
766
|
<a class="nav-item" href="/config">
|
|
742
|
-
<span class="icon"
|
|
767
|
+
<span class="icon">
|
|
768
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-columns3-cog-icon lucide-columns-3-cog"><path d="M10.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.5"/><path d="m14.3 19.6 1-.4"/><path d="M15 3v7.5"/><path d="m15.2 16.9-.9-.3"/><path d="m16.6 21.7.3-.9"/><path d="m16.8 15.3-.4-1"/><path d="m19.1 15.2.3-.9"/><path d="m19.6 21.7-.4-1"/><path d="m20.7 16.8 1-.4"/><path d="m21.7 19.4-.9-.3"/><path d="M9 3v18"/><circle cx="18" cy="18" r="3"/></svg>
|
|
769
|
+
</span> Config
|
|
743
770
|
</a>
|
|
744
771
|
<a class="nav-item" href="/config/env">
|
|
745
|
-
<span class="icon"
|
|
772
|
+
<span class="icon">
|
|
773
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-columns3-cog-icon lucide-columns-3-cog"><path d="M10.5 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v5.5"/><path d="m14.3 19.6 1-.4"/><path d="M15 3v7.5"/><path d="m15.2 16.9-.9-.3"/><path d="m16.6 21.7.3-.9"/><path d="m16.8 15.3-.4-1"/><path d="m19.1 15.2.3-.9"/><path d="m19.6 21.7-.4-1"/><path d="m20.7 16.8 1-.4"/><path d="m21.7 19.4-.9-.3"/><path d="M9 3v18"/><circle cx="18" cy="18" r="3"/></svg>
|
|
774
|
+
</span> Environment
|
|
746
775
|
</a>
|
|
747
776
|
</div>
|
|
748
777
|
|
|
@@ -774,7 +803,9 @@ function getDashboardHTML() {
|
|
|
774
803
|
<div class="metric-card">
|
|
775
804
|
<div class="metric-header">
|
|
776
805
|
<div class="metric-label">Active Agents</div>
|
|
777
|
-
<div class="metric-icon"
|
|
806
|
+
<div class="metric-icon">
|
|
807
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-terminal-icon lucide-square-terminal"><path d="m7 11 2-2-2-2"/><path d="M11 13h4"/><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/></svg>
|
|
808
|
+
</div>
|
|
778
809
|
</div>
|
|
779
810
|
<div class="metric-value" id="active-agents">0</div>
|
|
780
811
|
<div class="metric-change positive" id="agents-change">\u2191 0 from last hour</div>
|
|
@@ -782,7 +813,9 @@ function getDashboardHTML() {
|
|
|
782
813
|
<div class="metric-card">
|
|
783
814
|
<div class="metric-header">
|
|
784
815
|
<div class="metric-label">Total Actions</div>
|
|
785
|
-
<div class="metric-icon"
|
|
816
|
+
<div class="metric-icon">
|
|
817
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-list-todo-icon lucide-list-todo"><path d="M13 5h8"/><path d="M13 12h8"/><path d="M13 19h8"/><path d="m3 17 2 2 4-4"/><rect x="3" y="4" width="6" height="6" rx="1"/></svg>
|
|
818
|
+
</div>
|
|
786
819
|
</div>
|
|
787
820
|
<div class="metric-value" id="total-actions">0</div>
|
|
788
821
|
<div class="metric-change positive" id="actions-change">\u2191 0% this session</div>
|
|
@@ -790,7 +823,9 @@ function getDashboardHTML() {
|
|
|
790
823
|
<div class="metric-card">
|
|
791
824
|
<div class="metric-header">
|
|
792
825
|
<div class="metric-label">Bugs Found</div>
|
|
793
|
-
<div class="metric-icon"
|
|
826
|
+
<div class="metric-icon">
|
|
827
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-list-todo-icon lucide-list-todo"><path d="M13 5h8"/><path d="M13 12h8"/><path d="M13 19h8"/><path d="m3 17 2 2 4-4"/><rect x="3" y="4" width="6" height="6" rx="1"/></svg>
|
|
828
|
+
</div>
|
|
794
829
|
</div>
|
|
795
830
|
<div class="metric-value" id="bugs-found">0</div>
|
|
796
831
|
<div class="metric-change negative" id="bugs-change">\u2193 0 from yesterday</div>
|
|
@@ -798,7 +833,9 @@ function getDashboardHTML() {
|
|
|
798
833
|
<div class="metric-card">
|
|
799
834
|
<div class="metric-header">
|
|
800
835
|
<div class="metric-label">Success Rate</div>
|
|
801
|
-
<div class="metric-icon"
|
|
836
|
+
<div class="metric-icon">
|
|
837
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cloud-check-icon lucide-cloud-check"><path d="m17 15-5.5 5.5L9 18"/><path d="M5.516 16.07A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 3.501 7.327"/></svg>
|
|
838
|
+
</div>
|
|
802
839
|
</div>
|
|
803
840
|
<div class="metric-value" id="success-rate">\u2014</div>
|
|
804
841
|
<div class="metric-change positive" id="rate-change">\u2191 0 pts improvement</div>
|