orchestrating 0.1.21 → 0.1.22
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/bin/orch +6 -4
- package/package.json +1 -1
package/bin/orch
CHANGED
|
@@ -256,6 +256,11 @@ let authToken = getAuthToken();
|
|
|
256
256
|
const cwdFolder = path.basename(process.cwd());
|
|
257
257
|
const effectiveLabel = label || cwdFolder || commandArgs.join(" ");
|
|
258
258
|
|
|
259
|
+
const DIM = "\x1b[2m";
|
|
260
|
+
const GREEN = "\x1b[32m";
|
|
261
|
+
const RED = "\x1b[31m";
|
|
262
|
+
const RESET = "\x1b[0m";
|
|
263
|
+
|
|
259
264
|
// Refresh token on startup if expired or about to expire
|
|
260
265
|
if (authToken && isTokenExpired()) {
|
|
261
266
|
const refreshed = await refreshAuthToken();
|
|
@@ -301,10 +306,7 @@ function sendToServer(msg) {
|
|
|
301
306
|
|
|
302
307
|
// --- Terminal colors ---
|
|
303
308
|
const CYAN = "\x1b[36m";
|
|
304
|
-
|
|
305
|
-
const GREEN = "\x1b[32m";
|
|
306
|
-
const RED = "\x1b[31m";
|
|
307
|
-
const RESET = "\x1b[0m";
|
|
309
|
+
|
|
308
310
|
const BOLD = "\x1b[1m";
|
|
309
311
|
|
|
310
312
|
// --- Permission mode ---
|