genclass 0.3.8 → 0.3.10
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/CHANGELOG.md +47 -0
- package/README.md +12 -0
- package/dist/genclass.mjs +761 -138
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.10
|
|
4
|
+
|
|
5
|
+
- **`genclass fix <address>`**: the findings genclass.dev's page check made on one page, handed to your coding agent
|
|
6
|
+
(Enter starts it, `c` copies the prompt, `p` prints it; `--print` and `--json` for an agent). It is step 1 of "How do
|
|
7
|
+
you fix this?" under a report's score on genclass.dev/scan. The report is the page check's own (a new check when
|
|
8
|
+
there is none recent, about a minute), asked with your sign-in so Pro gets all of it; the page's words reach the
|
|
9
|
+
agent between markers that say they are data. Like every command it comes with Pro.
|
|
10
|
+
|
|
11
|
+
## 0.3.9
|
|
12
|
+
|
|
13
|
+
- **`genclass` opens its prompt straight away**: commands and questions, with one line on where this folder's setup
|
|
14
|
+
stands. `npx genclass` does the same once the folder is set up (signed in, GenClass in the code, the app in the
|
|
15
|
+
account), and walks the setup only before that. `genclass setup` walks it any time, to add or change a part.
|
|
16
|
+
- **The installed `genclass` stays current**: a run through npx replaces an older installed copy with its own version,
|
|
17
|
+
and the installed copy asks npm once a day and updates itself (`npm install -g genclass@<version>`; a failure says
|
|
18
|
+
how by hand and waits a day). After the first install, zsh is told to `rehash` if the window does not see it yet.
|
|
19
|
+
- **A coding agent following `status --json` finishes**: every step it can do says `npx genclass setup --yes` (it
|
|
20
|
+
said `npx genclass init`, which writes nothing without a terminal, so an agent ran it again and again), and it is
|
|
21
|
+
never pointed at a step `setup --yes` cannot do.
|
|
22
|
+
- **An app your plan already covers is done**: no third browser page right after paying, nothing to click, and
|
|
23
|
+
setup never stops there. Its plan page is in `genclass plan`.
|
|
24
|
+
- **Free sees the Pro card once**: later commands say in one line that they come with Pro; the prompt lists what
|
|
25
|
+
works on Free (upgrade, profile, plan, status); the card says the price once.
|
|
26
|
+
- **Fewer keys in setup**: Enter on a step is its yes, so the Vite settings and the coding agent's files are shown
|
|
27
|
+
and written without a second (Y/n) (the runtime's own diff is still asked about). Suggestions in setup show the
|
|
28
|
+
first in full and the rest by title, and Enter takes the first choice of the hand-off.
|
|
29
|
+
- **Signed out says so**: after `logout`, `genclass` says to sign in again (it said the folder was not set up), and
|
|
30
|
+
the price is not quoted to someone signing in again. `plan`, `profile`, `team` and `apps` start the sign-in on a
|
|
31
|
+
terminal, as the others do. `login` (in the prompt too) is the setup's own sign-in screen. A sign-in denied twice
|
|
32
|
+
ends with how to sign in later.
|
|
33
|
+
- **`login` in a folder says what is next in genclass's words**: an app already in the account needs nothing (it
|
|
34
|
+
hears which plan it is on), an app without GenClass is pointed at `setup`, which shows its change first; only an
|
|
35
|
+
app with GenClass in its code and not in the account is offered `connect`. "<app> is on your Pro plan" is said
|
|
36
|
+
once, when the app reaches the account, never before a view.
|
|
37
|
+
- One line where there were three: q at Pro's card in setup, and setup inside the prompt after the card was seen
|
|
38
|
+
("Setup goes on with Pro"); setup stopped inside the prompt says to type setup. On Free, `plan` ends with what Pro
|
|
39
|
+
adds, and neither `status` nor `setup` is followed by the Free line. `events` names each kind as `problems` does.
|
|
40
|
+
A long Waiting line wraps instead of being cut; a step that does not apply has no command in `status --json`.
|
|
41
|
+
- The prompt: `y` runs what "Did you mean" named, "show problems" is `problems`, a number no command has says so.
|
|
42
|
+
`dashboard` in a web app without GenClass asks which app instead of showing another one. `fix` names each problem
|
|
43
|
+
in the dashboard's words too. The git hint is one command a line.
|
|
44
|
+
- 58 columns: a wrong option, the sign-in's lines and `--version` (now two lines) fit; a label and a link go on two
|
|
45
|
+
lines when one is too wide; setup's notes follow `COLUMNS` without a terminal.
|
|
46
|
+
- A team member's `plan --json` has the team's Pro as `plan` (the account's own Free is `own_plan`), with its apps,
|
|
47
|
+
history and what it includes. A grant team says "set up by GenClass" everywhere, never that the owner pays.
|
|
48
|
+
- A sign-in that did not finish ends with how to get a new code; the sign-in step names the host it opens.
|
|
49
|
+
|
|
3
50
|
## 0.3.8
|
|
4
51
|
|
|
5
52
|
Fixes from a signed-in walk of 0.3.7 against a fresh account, a team and a grant:
|
package/README.md
CHANGED
|
@@ -101,6 +101,18 @@ in the browser (the sign-in, GitHub), Enter stops the wait and the walk goes on.
|
|
|
101
101
|
exception: nothing after them runs until they are done. A part that does not apply
|
|
102
102
|
is left out and says why: no Playwright tests, not a GitHub repository, not a web app.
|
|
103
103
|
|
|
104
|
+
## Fix what the page check found
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
npx genclass fix shop.example.com
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
The command under a report's score on [genclass.dev/scan](https://genclass.dev/scan). Run it in the app's folder: it
|
|
111
|
+
signs you in, starts Pro if the account has none (3 days free), reads that page's report with your sign-in (or checks
|
|
112
|
+
the page, about a minute) and hands every finding to your coding agent: Claude Code, Codex, Cursor or Gemini CLI.
|
|
113
|
+
Enter starts the agent, `c` copies the prompt, `p` prints it; `--print` and `--json` print it for a script or an agent.
|
|
114
|
+
GenClass changes no code: the agent does, and you approve each change.
|
|
115
|
+
|
|
104
116
|
## Your app in the terminal
|
|
105
117
|
|
|
106
118
|
```bash
|