@syntero/orca-cli 1.3.4 → 1.3.6

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.
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/assistant/prompts.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CA8PzD;AAGD,eAAO,MAAM,aAAa,QAAoB,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,oBAAoB,khCAiBF,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,uBAAuB,yIAAyI,CAAC"}
1
+ {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/assistant/prompts.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAiQzD;AAGD,eAAO,MAAM,aAAa,QAAoB,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,oBAAoB,khCAiBF,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,uBAAuB,yIAAyI,CAAC"}
@@ -88,6 +88,8 @@ When a user asks to "install" Orca on a fresh machine:
88
88
  - Auto-detect PGID (host group ID): id -g
89
89
  - Auto-detect DOCKER_GID (cross-platform): stat -c '%g' /var/run/docker.sock 2>/dev/null || stat -f '%g' /var/run/docker.sock 2>/dev/null || echo "Could not detect docker GID"
90
90
  - Auto-detect GUNICORN_WORKERS (2 per CPU core, min 2, max 12): CORES=$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 2); WORKERS=$((CORES * 2)); [ $WORKERS -lt 2 ] && WORKERS=2; [ $WORKERS -gt 12 ] && WORKERS=12; echo $WORKERS
91
+ - Set FRONTEND_BASE_URL to the public URL where users will access Orca (e.g., https://mycompany.example.com). Required for invite links and OAuth redirects.
92
+ - Set API_BASE_URL to the same public URL (the backend runs behind the same nginx reverse proxy).
91
93
  IMPORTANT: PUID and PGID are critical for avoiding permission issues. They must match the host user running Docker.
92
94
  6. cd to deployment directory and run: docker compose pull
93
95
  7. Start services: docker compose up -d
@@ -177,6 +179,7 @@ Only after containers are running can the user sync solutions using the CLI sync
177
179
  - Missing tables: Usually migration issues
178
180
  - Permission errors: UID/GID mismatches
179
181
  - Network issues: Check cors_origins.json and orca-network
182
+ - **Env changes not taking effect after restart**: \`docker compose restart\` reuses the same container with its original environment. If .env was edited, you MUST run \`docker compose up -d --force-recreate\` to create a new container that reads the updated values. This is the #1 cause of "I set the variable but it's still wrong".
180
183
 
181
184
  ## Guidelines
182
185
  1. Discover container names first with docker ps
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../src/assistant/prompts.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,QAAiB;IAC/C,MAAM,YAAY,GAAG,QAAQ,KAAK,aAAa,CAAC;IAEhD,MAAM,aAAa,GAAG,YAAY;QAChC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;yDA2BmD;QACrD,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;kDAyB4C,CAAC;IAEjD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkIP,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEd,CAAC;AACF,CAAC;AAED,iFAAiF;AACjF,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,EAAE,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;+BAiBL,CAAC;AAEhC;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,sIAAsI,CAAC"}
1
+ {"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../src/assistant/prompts.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,QAAiB;IAC/C,MAAM,YAAY,GAAG,QAAQ,KAAK,aAAa,CAAC;IAEhD,MAAM,aAAa,GAAG,YAAY;QAChC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;yDA2BmD;QACrD,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;kDAyB4C,CAAC;IAEjD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqIP,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEd,CAAC;AACF,CAAC;AAED,iFAAiF;AACjF,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,EAAE,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;+BAiBL,CAAC;AAEhC;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,sIAAsI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syntero/orca-cli",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "description": "LLM-powered deployment troubleshooting assistant for Orca",
5
5
  "type": "module",
6
6
  "bin": {