@openqa/cli 2.0.0 → 2.1.1

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/install.sh CHANGED
@@ -20,8 +20,9 @@ check_dependencies() {
20
20
  fi
21
21
 
22
22
  NODE_VERSION=$(node -v | cut -d'v' -f2 | cut -d'.' -f1)
23
- if [ "$NODE_VERSION" -lt 18 ]; then
24
- echo "❌ Node.js version must be 18 or higher (found: $(node -v))"
23
+ if [ "$NODE_VERSION" -lt 20 ]; then
24
+ echo "❌ Node.js version must be 20 or higher (found: $(node -v))"
25
+ echo " Please install Node.js 20+ from https://nodejs.org"
25
26
  exit 1
26
27
  fi
27
28
 
@@ -53,9 +54,9 @@ download_openqa() {
53
54
  mkdir -p "$INSTALL_DIR"
54
55
 
55
56
  if [ "$VERSION" = "latest" ]; then
56
- DOWNLOAD_URL="https://github.com/orka-js/openqa/archive/refs/heads/main.tar.gz"
57
+ DOWNLOAD_URL="https://github.com/Orka-Community/OpenQA/archive/refs/heads/main.tar.gz"
57
58
  else
58
- DOWNLOAD_URL="https://github.com/orka-js/openqa/archive/refs/tags/v${VERSION}.tar.gz"
59
+ DOWNLOAD_URL="https://github.com/Orka-Community/OpenQA/archive/refs/tags/v${VERSION}.tar.gz"
59
60
  fi
60
61
 
61
62
  if command -v curl &> /dev/null; then
@@ -137,18 +138,26 @@ print_success() {
137
138
  echo "🚀 Next steps:"
138
139
  echo ""
139
140
  echo "1. Configure OpenQA:"
140
- echo " Edit $INSTALL_DIR/.env"
141
- echo " Or use: openqa config set <key> <value>"
141
+ echo " Edit $INSTALL_DIR/.env with your API keys"
142
+ echo " Or use the web interface after starting"
142
143
  echo ""
143
144
  echo "2. Start OpenQA:"
144
145
  echo " openqa start"
145
146
  echo ""
146
147
  echo "3. Access web interfaces:"
147
- echo " DevTools: http://localhost:3000"
148
- echo " Kanban: http://localhost:3000/kanban"
149
- echo " Config: http://localhost:3000/config"
148
+ echo " Dashboard: http://localhost:4242"
149
+ echo " Kanban: http://localhost:4242/kanban"
150
+ echo " Config: http://localhost:4242/config"
151
+ echo " Environment: http://localhost:4242/config/env"
150
152
  echo ""
151
- echo "📖 Documentation: https://github.com/orka-js/openqa"
153
+ echo "4. First-time setup:"
154
+ echo " Visit http://localhost:4242/setup"
155
+ echo " Create your admin account"
156
+ echo ""
157
+ echo "📖 Documentation: https://github.com/Orka-Community/OpenQA"
158
+ echo "💬 Discord: https://discord.com/invite/DScfpuPysP"
159
+ echo ""
160
+ echo "⚠️ Security: Never disable authentication in production!"
152
161
  echo ""
153
162
  }
154
163
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openqa/cli",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "description": "Autonomous QA testing agent powered by Orka.js",
5
5
  "type": "module",
6
6
  "main": "./dist/cli/index.js",
@@ -57,6 +57,7 @@
57
57
  "better-sqlite3": "^12.8.0",
58
58
  "chalk": "^5.3.0",
59
59
  "commander": "^11.1.0",
60
+ "cookie": "^0.6.0",
60
61
  "cors": "^2.8.6",
61
62
  "dotenv": "^16.3.1",
62
63
  "express": "^4.18.2",