@contextium/cli 1.0.34 → 1.0.35
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.
|
@@ -7,9 +7,9 @@ import { getAccessToken } from './msal.js';
|
|
|
7
7
|
const STATE_DIR = path.join(os.homedir(), '.contextium');
|
|
8
8
|
const STATE_PATH = path.join(STATE_DIR, 'review-state.json');
|
|
9
9
|
const API_URL = 'https://api.contextium.io/api/v1';
|
|
10
|
-
// Show after this many commands (then every
|
|
11
|
-
const FIRST_PROMPT_AT =
|
|
12
|
-
const REPEAT_EVERY =
|
|
10
|
+
// Show after this many commands (then every 60 after that, server enforces 90-day cooldown)
|
|
11
|
+
const FIRST_PROMPT_AT = 30;
|
|
12
|
+
const REPEAT_EVERY = 60;
|
|
13
13
|
// Must have been using the CLI for at least this many days before prompting
|
|
14
14
|
const MIN_DAYS_BEFORE_FIRST = 2;
|
|
15
15
|
async function loadState() {
|
package/package.json
CHANGED