genclass 0.3.7 → 0.3.9

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/CHANGELOG.md +60 -0
  2. package/dist/genclass.mjs +3416 -2963
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,65 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.9
4
+
5
+ - **`genclass` opens its prompt straight away**: commands and questions, with one line on where this folder's setup
6
+ stands. `npx genclass` does the same once the folder is set up (signed in, GenClass in the code, the app in the
7
+ account), and walks the setup only before that. `genclass setup` walks it any time, to add or change a part.
8
+ - **The installed `genclass` stays current**: a run through npx replaces an older installed copy with its own version,
9
+ and the installed copy asks npm once a day and updates itself (`npm install -g genclass@<version>`; a failure says
10
+ how by hand and waits a day). After the first install, zsh is told to `rehash` if the window does not see it yet.
11
+ - **A coding agent following `status --json` finishes**: every step it can do says `npx genclass setup --yes` (it
12
+ said `npx genclass init`, which writes nothing without a terminal, so an agent ran it again and again), and it is
13
+ never pointed at a step `setup --yes` cannot do.
14
+ - **An app your plan already covers is done**: no third browser page right after paying, nothing to click, and
15
+ setup never stops there. Its plan page is in `genclass plan`.
16
+ - **Free sees the Pro card once**: later commands say in one line that they come with Pro; the prompt lists what
17
+ works on Free (upgrade, profile, plan, status); the card says the price once.
18
+ - **Fewer keys in setup**: Enter on a step is its yes, so the Vite settings and the coding agent's files are shown
19
+ and written without a second (Y/n) (the runtime's own diff is still asked about). Suggestions in setup show the
20
+ first in full and the rest by title, and Enter takes the first choice of the hand-off.
21
+ - **Signed out says so**: after `logout`, `genclass` says to sign in again (it said the folder was not set up), and
22
+ the price is not quoted to someone signing in again. `plan`, `profile`, `team` and `apps` start the sign-in on a
23
+ terminal, as the others do. `login` (in the prompt too) is the setup's own sign-in screen. A sign-in denied twice
24
+ ends with how to sign in later.
25
+ - **`login` in a folder says what is next in genclass's words**: an app already in the account needs nothing (it
26
+ hears which plan it is on), an app without GenClass is pointed at `setup`, which shows its change first; only an
27
+ app with GenClass in its code and not in the account is offered `connect`. "<app> is on your Pro plan" is said
28
+ once, when the app reaches the account, never before a view.
29
+ - One line where there were three: q at Pro's card in setup, and setup inside the prompt after the card was seen
30
+ ("Setup goes on with Pro"); setup stopped inside the prompt says to type setup. On Free, `plan` ends with what Pro
31
+ adds, and neither `status` nor `setup` is followed by the Free line. `events` names each kind as `problems` does.
32
+ A long Waiting line wraps instead of being cut; a step that does not apply has no command in `status --json`.
33
+ - The prompt: `y` runs what "Did you mean" named, "show problems" is `problems`, a number no command has says so.
34
+ `dashboard` in a web app without GenClass asks which app instead of showing another one. `fix` names each problem
35
+ in the dashboard's words too. The git hint is one command a line.
36
+ - 58 columns: a wrong option, the sign-in's lines and `--version` (now two lines) fit; a label and a link go on two
37
+ lines when one is too wide; setup's notes follow `COLUMNS` without a terminal.
38
+ - A team member's `plan --json` has the team's Pro as `plan` (the account's own Free is `own_plan`), with its apps,
39
+ history and what it includes. A grant team says "set up by GenClass" everywhere, never that the owner pays.
40
+ - A sign-in that did not finish ends with how to get a new code; the sign-in step names the host it opens.
41
+
42
+ ## 0.3.8
43
+
44
+ Fixes from a signed-in walk of 0.3.7 against a fresh account, a team and a grant:
45
+
46
+ - **A team's member sees the team's Pro**, a seat its owner pays for: `plan` shows the team's plan, whose team it is,
47
+ the team's apps, its history and what it includes (and `--json` has `team_plan` and `cli.via`); `profile` and
48
+ `team` say the same; `team invite` says invites come from the team's owner. It never says Free, or that Free is
49
+ for one person.
50
+ - **The browser opens only for someone at a terminal**: never with `--no-browser` (`dashboard` and `apps new` lost
51
+ it before), and never without a terminal (a coding agent, CI, a pipe): the link is printed instead.
52
+ - **Setup never ends "done" with the app outside the account.** A request after a package install (which blocks the
53
+ command) gets a fresh connection once if the old one was closed meanwhile; if the app still could not be added,
54
+ the runtime step says so and the setup ends with exit code 1. The advice is to run it again, not to sign in again.
55
+ - **58 columns**: `help` is laid out for the window (side by side when wide, stacked when narrow), `whoami` stacks an
56
+ app's key and link under its name when the row does not fit, and the setup's notes wrap. A wrong option to
57
+ `login`, `whoami` or `logout` says so in one line. The width follows `COLUMNS` when there is no terminal.
58
+ - A grant (set up by GenClass) is never told to add seats, and its app's plan page never holds up setup or `status`
59
+ (Continue is offered once, not required). `upgrade --json` without Pro points at the checkout, not at itself;
60
+ `profile --json` has the trial and the price; one price wording everywhere: $15 / developer / month. With
61
+ `GENCLASS_HOST`, the lines name that host.
62
+
3
63
  ## 0.3.7
4
64
 
5
65
  The genclass command comes with Pro: