authoring-cli 0.1.21 → 0.1.23

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.
Files changed (3) hide show
  1. package/HELP.md +3 -3
  2. package/dist/index.js +6314 -29
  3. package/package.json +1 -1
package/HELP.md CHANGED
@@ -13,7 +13,7 @@ npm install -g authoring-cli
13
13
  ```bash
14
14
  authoring-cli login
15
15
  ```
16
- This opens Chrome to your organization's login page, always in one dedicated "authoring-cli" Chrome profile (created automatically the first time, separate from your everyday browsing profile). Once you sign in, your session is captured automatically. This is the *only* profile `login` ever reads or writes cookies for — there's no flag to point it at a different (e.g. your everyday) profile instead, so there is never any ambiguity about which Chrome window/session the CLI is actually looking at.
16
+ This opens Chrome to your organization's login page, always in one dedicated "authoring-cli" Chrome profile stored in its own directory (`~/.authoring-cli-chrome`, created automatically the first time) — entirely separate from your everyday Chrome data, not just a different profile inside it. Once you sign in, your session is captured automatically. This is the *only* profile `login` ever reads or writes cookies for — there's no flag to point it at a different (e.g. your everyday) profile instead, so there is never any ambiguity about which Chrome window/session the CLI is actually looking at.
17
17
 
18
18
  **Important:** because this profile is separate, it opens its own Chrome window and (the first time) starts out *not* signed in — even if you already have a different Chrome window open and signed in. Sign in inside the window `login` just opened, not whichever Chrome window happened to be in front already; the command's own output names the profile ("Opening Chrome (profile \"authoring-cli\") ...") so you can check its avatar in Chrome's top-right corner. Signing in to the wrong window is the most common cause of `login` waiting out its full timeout and then failing with "Not signed in" on every subsequent command — if that happens, retry and make sure you type your credentials into the new window the command opens.
19
19
 
@@ -196,8 +196,8 @@ authoring-cli validate-review-concepts
196
196
  - Your session is stored in `<current working directory>/.authoring-cli/session.json` by default — not under your home directory, so it stays confined to whichever directory/workspace you run the CLI from; `login`'s own output always names exactly where it landed
197
197
  - Set `AUTHORING_CLI_HOME` to store it somewhere else instead — the session file is then `$AUTHORING_CLI_HOME/session.json`
198
198
  - If the working directory isn't writable, commands fail with a clear message rather than silently storing the session somewhere else — set `AUTHORING_CLI_HOME` in that case
199
- - `login` always uses (and creates on first use) one dedicated "authoring-cli" Chrome profile — never your everyday browsing profile, and with no flag to point it elsewhere — so sign in inside the window it opens, not whichever Chrome window was already in front
200
- - On macOS, `login` needs permission to read Chrome's cookie file — if the terminal/app you're running it from doesn't have "Full Disk Access" (System Settings → Privacy & Security → Full Disk Access), `login` now warns about this immediately, up front, rather than only failing silently after the full sign-in wait. Add your terminal app there and try again
199
+ - `login` always uses (and creates on first use) one dedicated "authoring-cli" Chrome profile, stored in its own directory (`~/.authoring-cli-chrome`) separate from your everyday Chrome data entirely — not just a different profile inside your real Chrome, so no macOS "Full Disk Access" permission is needed and signing in/out here never disturbs (or is disturbed by) your everyday browsing session. Sign in inside the window `login` opens, not whichever Chrome window was already in front
200
+ - If something else is still restricting access to that dedicated directory (an unusual sandbox, a read-only mount, ...), `login` warns about it immediately, up front, rather than only failing silently after the full sign-in wait
201
201
  - If your session expires during use, you'll get a `401 Unauthorized` error — run `authoring-cli login` again
202
202
 
203
203
  ### Task Selection