@tayo-dev/rtl 1.3.0 → 1.4.0
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/README.md +66 -33
- package/assets/claude/commands/@tayo-dev/rtl/generate.md +2 -2
- package/assets/claude/commands/@tayo-dev/rtl/help.md +1 -1
- package/assets/codex/@tayo-dev/rtl-conventions/SKILL.md +2 -2
- package/assets/codex/@tayo-dev/rtl-generate/SKILL.md +6 -5
- package/assets/codex/@tayo-dev/rtl-help/SKILL.md +1 -1
- package/assets/gemini/commands/@tayo-dev/rtl/generate.toml +2 -2
- package/assets/gemini/commands/@tayo-dev/rtl/help.toml +1 -1
- package/assets/opencode/commands/@tayo-dev/rtl-generate.md +2 -2
- package/assets/opencode/commands/@tayo-dev/rtl-help.md +1 -1
- package/dist/cli/commands/generate.d.ts.map +1 -1
- package/dist/cli/commands/generate.js +485 -67
- package/dist/cli/commands/generate.js.map +1 -1
- package/dist/cli/commands/install.js +6 -6
- package/dist/core/baseline-normalizer.d.ts.map +1 -1
- package/dist/core/baseline-normalizer.js +42 -0
- package/dist/core/baseline-normalizer.js.map +1 -1
- package/dist/core/generator.d.ts +5 -1
- package/dist/core/generator.d.ts.map +1 -1
- package/dist/core/generator.js +235 -17
- package/dist/core/generator.js.map +1 -1
- package/dist/core/input-loader.d.ts.map +1 -1
- package/dist/core/input-loader.js +1 -0
- package/dist/core/input-loader.js.map +1 -1
- package/dist/core/js-parser.d.ts +2 -1
- package/dist/core/js-parser.d.ts.map +1 -1
- package/dist/core/js-parser.js +69 -0
- package/dist/core/js-parser.js.map +1 -1
- package/dist/core/orchestrator.d.ts +1 -1
- package/dist/core/orchestrator.js +4 -4
- package/dist/core/parser.js +2 -2
- package/dist/core/recording-intelligence.d.ts +1 -1
- package/dist/core/recording-intelligence.d.ts.map +1 -1
- package/dist/core/recording-intelligence.js +298 -4
- package/dist/core/recording-intelligence.js.map +1 -1
- package/dist/core/resolver.d.ts +28 -2
- package/dist/core/resolver.d.ts.map +1 -1
- package/dist/core/resolver.js +462 -23
- package/dist/core/resolver.js.map +1 -1
- package/dist/core/scanner.d.ts +11 -3
- package/dist/core/scanner.d.ts.map +1 -1
- package/dist/core/scanner.js +47 -9
- package/dist/core/scanner.js.map +1 -1
- package/dist/core/scorer.d.ts +6 -2
- package/dist/core/scorer.d.ts.map +1 -1
- package/dist/core/scorer.js +163 -9
- package/dist/core/scorer.js.map +1 -1
- package/dist/core/suite-planner.d.ts +4 -1
- package/dist/core/suite-planner.d.ts.map +1 -1
- package/dist/core/suite-planner.js +261 -11
- package/dist/core/suite-planner.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/install/planner.js +1 -1
- package/dist/install/types.d.ts +1 -1
- package/dist/learner/index.d.ts +2 -2
- package/dist/learner/index.js +3 -3
- package/dist/learner/storage.d.ts +1 -1
- package/dist/learner/storage.js +2 -2
- package/dist/templates/test-template.d.ts +26 -2
- package/dist/templates/test-template.d.ts.map +1 -1
- package/dist/templates/test-template.js +46 -6
- package/dist/templates/test-template.js.map +1 -1
- package/dist/types/recording.d.ts +162 -0
- package/dist/types/recording.d.ts.map +1 -1
- package/dist/types/recording.js.map +1 -1
- package/dist/types/score.d.ts +37 -0
- package/dist/types/score.d.ts.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Tayo
|
|
2
2
|
|
|
3
|
-
Install
|
|
3
|
+
Install Tayo into Claude Code, OpenCode, Gemini CLI, or Codex, then generate React Testing Library tests from Testing Library Recorder recordings.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Tayo ships as an installer-first package. The package entrypoint bootstraps runtime-native commands or skills into your agent environment, and the generated runtime surface still routes back to `tayo generate` when you want Recorder-to-RTL output.
|
|
6
6
|
|
|
7
7
|
## Getting Started
|
|
8
8
|
|
|
@@ -33,7 +33,7 @@ Re-run the installer package to refresh owned assets and repair missing ones:
|
|
|
33
33
|
npx @tayo-dev/rtl@latest
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
Tayo refreshes unchanged owned files automatically, restores missing owned files, and protects manual edits instead of overwriting them silently.
|
|
37
37
|
|
|
38
38
|
## Non-interactive Install
|
|
39
39
|
|
|
@@ -80,15 +80,15 @@ npm run build
|
|
|
80
80
|
node dist/index.js --all --local
|
|
81
81
|
|
|
82
82
|
# Or verify the publish boundary with a tarball
|
|
83
|
-
env NPM_CONFIG_CACHE=/tmp/
|
|
84
|
-
npx /tmp/
|
|
83
|
+
env NPM_CONFIG_CACHE=/tmp/tayo-npm-cache npm pack --pack-destination /tmp/tayo-pack
|
|
84
|
+
npx /tmp/tayo-pack/tayo-dev-rtl-1.0.0.tgz --codex --local
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
The tarball flow is the closest match to what end users get from npm.
|
|
88
88
|
|
|
89
89
|
## Generate RTL Tests
|
|
90
90
|
|
|
91
|
-
After installation, use `
|
|
91
|
+
After installation, use `tayo generate` directly or call the runtime-native installed command/skill that routes to it.
|
|
92
92
|
|
|
93
93
|
### Prerequisites
|
|
94
94
|
|
|
@@ -98,36 +98,58 @@ After installation, use `taro generate` directly or call the runtime-native inst
|
|
|
98
98
|
|
|
99
99
|
### Record a user flow
|
|
100
100
|
|
|
101
|
-
Open Chrome DevTools → Recorder panel → click "Start new recording" → perform your user flow → click "End recording".
|
|
101
|
+
Open Chrome DevTools → Recorder panel → click "Start new recording" → perform your user flow → click "End recording".
|
|
102
|
+
|
|
103
|
+
Tayo supports two export paths:
|
|
104
|
+
|
|
105
|
+
- Testing Library Recorder JS baseline export: save as `recording.js`
|
|
106
|
+
- Chrome Recorder JSON export: save as `recording.json`
|
|
102
107
|
|
|
103
108
|
### Generate the test
|
|
104
109
|
|
|
105
110
|
```bash
|
|
106
|
-
|
|
111
|
+
# JS baseline path
|
|
112
|
+
tayo generate ./recording.js
|
|
113
|
+
|
|
114
|
+
# Supported JSON path
|
|
115
|
+
tayo generate ./recording.json
|
|
107
116
|
```
|
|
108
117
|
|
|
109
118
|
Expected output:
|
|
110
119
|
|
|
111
120
|
```text
|
|
112
121
|
Parsed: my user flow — 8 steps
|
|
113
|
-
[
|
|
122
|
+
[tayo] Score: 78/100 (B) — query: 80, assertions: 70, structure: 85
|
|
114
123
|
Created: src/components/MyComponent.test.tsx
|
|
115
|
-
[
|
|
124
|
+
[tayo] ✓ post-write verified
|
|
116
125
|
```
|
|
117
126
|
|
|
118
|
-
On subsequent runs in the same project,
|
|
127
|
+
On subsequent runs in the same project, Tayo reads `.tayo/conventions.json` to match your test style automatically.
|
|
128
|
+
|
|
129
|
+
### Draft-quality output is explicit
|
|
130
|
+
|
|
131
|
+
When Tayo cannot prove the final render/query boundary yet, it keeps the output writable but marks it as draft-quality instead of pretending the gaps are solved.
|
|
132
|
+
|
|
133
|
+
```text
|
|
134
|
+
[tayo] Score: 77/100 (C) — query: 100, assertions: 30, structure: 70, boundary: 100
|
|
135
|
+
[tayo] Manual review required — this generated test is still a draft (77/100, C).
|
|
136
|
+
[tayo] Top blockers: The generated test still renders <App /> instead of a resolved repo target. | Boundary warnings remain in the generated file, so the render/mock boundary still needs cleanup.
|
|
137
|
+
// tayo-query-checkpoint: click step requires manual RTL query recovery
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
That draft banner is advisory. Tayo does not block writes, but it does tell you when import targets, placeholder queries, or unresolved boundaries still need cleanup.
|
|
119
141
|
|
|
120
142
|
## CLI Reference
|
|
121
143
|
|
|
122
|
-
### `
|
|
144
|
+
### `tayo generate <file>`
|
|
123
145
|
|
|
124
|
-
Generates a React Testing Library test from a Testing Library Recorder export.
|
|
146
|
+
Generates a React Testing Library test from a Testing Library Recorder JS export or a Chrome Recorder JSON export.
|
|
125
147
|
|
|
126
148
|
**Arguments:**
|
|
127
149
|
|
|
128
150
|
| Argument | Description |
|
|
129
151
|
|----------|-------------|
|
|
130
|
-
| `<file>` | Path to the recording file. Accepts Testing Library Recorder JS files (`.js`). |
|
|
152
|
+
| `<file>` | Path to the recording file. Accepts Testing Library Recorder JS files (`.js`) and Chrome Recorder JSON files (`.json`). |
|
|
131
153
|
|
|
132
154
|
**Options:**
|
|
133
155
|
|
|
@@ -135,7 +157,7 @@ Generates a React Testing Library test from a Testing Library Recorder export.
|
|
|
135
157
|
|------|-------|---------|-------------|
|
|
136
158
|
| `--output <path>` | `-o` | Same directory as input, `{name}.test.tsx` | Override the output file path for the generated test. |
|
|
137
159
|
| `--dry-run` | `-d` | `false` | Print the generated test to stdout and show the score without writing to disk. Useful for previewing output before committing. |
|
|
138
|
-
| `--force` | `-f` | `false` | Overwrite an existing test file. Without this flag,
|
|
160
|
+
| `--force` | `-f` | `false` | Overwrite an existing test file. Without this flag, Tayo exits with an error if the output file already exists. |
|
|
139
161
|
| `--version` | `-v` | — | Print the installed version and exit. |
|
|
140
162
|
| `--help` | `-h` | — | Display command help and exit. |
|
|
141
163
|
|
|
@@ -143,23 +165,24 @@ Generates a React Testing Library test from a Testing Library Recorder export.
|
|
|
143
165
|
|
|
144
166
|
```bash
|
|
145
167
|
# Generate and write a test next to the recording
|
|
146
|
-
|
|
168
|
+
tayo generate ./recordings/checkout-flow.js
|
|
147
169
|
|
|
148
170
|
# Preview without writing (dry run)
|
|
149
|
-
|
|
171
|
+
tayo generate --dry-run ./recordings/checkout-flow.js
|
|
150
172
|
|
|
151
173
|
# Write to a specific path
|
|
152
|
-
|
|
174
|
+
tayo generate --output src/__tests__/checkout.test.tsx ./recordings/checkout-flow.js
|
|
153
175
|
|
|
154
176
|
# Overwrite an existing test
|
|
155
|
-
|
|
177
|
+
tayo generate --force ./recordings/checkout-flow.js
|
|
156
178
|
```
|
|
157
179
|
|
|
158
180
|
**Output file naming:**
|
|
159
|
-
If `--output` is not provided,
|
|
181
|
+
If `--output` is not provided, Tayo derives the output path from the input file: `{input-dir}/{input-basename}.test.tsx`. For example, `./recordings/login.js` → `./recordings/login.test.tsx`.
|
|
160
182
|
|
|
161
183
|
**Supported input formats:**
|
|
162
|
-
- Testing Library Recorder JS (`.js`) —
|
|
184
|
+
- Testing Library Recorder JS (`.js`) — primary v1.3 path; Tayo treats this as a baseline artifact to parse, enrich, and transform into a project-shaped RTL test
|
|
185
|
+
- Chrome Recorder JSON (`.json`) — supported parity path; Tayo preserves the existing JSON generate flow while JS fidelity improves
|
|
163
186
|
|
|
164
187
|
## Worked Example
|
|
165
188
|
|
|
@@ -184,21 +207,21 @@ test('login flow', async () => {
|
|
|
184
207
|
### Command
|
|
185
208
|
|
|
186
209
|
```bash
|
|
187
|
-
|
|
210
|
+
tayo generate ./login-flow.js
|
|
188
211
|
```
|
|
189
212
|
|
|
190
213
|
### Terminal output
|
|
191
214
|
|
|
192
215
|
```
|
|
193
216
|
Parsed: login flow — 7 steps
|
|
194
|
-
[
|
|
217
|
+
[tayo] Score: 82/100 (B) — query: 90, assertions: 75, structure: 80
|
|
195
218
|
Created: login-flow.test.tsx
|
|
196
|
-
[
|
|
219
|
+
[tayo] ✓ post-write verified
|
|
197
220
|
```
|
|
198
221
|
|
|
199
222
|
### Output: Generated test (`login-flow.test.tsx`)
|
|
200
223
|
|
|
201
|
-
|
|
224
|
+
Tayo generates a convention-aware RTL test with accessible queries:
|
|
202
225
|
|
|
203
226
|
```typescript
|
|
204
227
|
import { render, screen } from '@testing-library/react'
|
|
@@ -221,7 +244,7 @@ describe('login flow', () => {
|
|
|
221
244
|
})
|
|
222
245
|
```
|
|
223
246
|
|
|
224
|
-
### What
|
|
247
|
+
### What Tayo did here
|
|
225
248
|
|
|
226
249
|
- Parsed the navigate step and inferred the component under test
|
|
227
250
|
- Upgraded CSS selectors (`#email`, `#password`) to accessible `getByRole` queries using aria attributes from the recording
|
|
@@ -229,20 +252,30 @@ describe('login flow', () => {
|
|
|
229
252
|
- Mapped the `waitForElement` step to a `toBeInTheDocument()` assertion
|
|
230
253
|
- Scored the output (82/100) and emitted no blocking errors
|
|
231
254
|
|
|
232
|
-
> **Note:** The component import path (`../LoginPage`) is a placeholder.
|
|
255
|
+
> **Note:** The component import path (`../LoginPage`) is a placeholder. Tayo generates a comment in the file indicating where to update it.
|
|
256
|
+
|
|
257
|
+
### JSON is also supported
|
|
258
|
+
|
|
259
|
+
If you export Chrome Recorder JSON instead, the command surface stays the same:
|
|
260
|
+
|
|
261
|
+
```bash
|
|
262
|
+
tayo generate ./login-flow.json --dry-run
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
JSON generation is still supported, but it does not inherit the repo-aware JS recovery stack. When the generated preview contains placeholder queries or weak assertions, Tayo keeps those gaps explicit with score and manual-review messaging instead of fabricating stronger evidence.
|
|
233
266
|
|
|
234
267
|
## Agent Usage
|
|
235
268
|
|
|
236
|
-
After installation, each runtime gets a namespaced help entrypoint plus a generate command or skill that routes back to `
|
|
269
|
+
After installation, each runtime gets a namespaced help entrypoint plus a generate command or skill that routes back to `tayo generate`.
|
|
237
270
|
|
|
238
271
|
### Tips
|
|
239
272
|
|
|
240
273
|
- Use `--dry-run` first to preview output before committing generated files
|
|
241
|
-
- If you record multiple flows, run
|
|
274
|
+
- If you record multiple flows, run Tayo on each to build up convention state in `.tayo/conventions.json` — later runs benefit from earlier ones
|
|
242
275
|
- Pass `--force` when re-recording an updated flow to overwrite the old test
|
|
243
|
-
- The `.
|
|
276
|
+
- The `.tayo/` directory should be committed to your repo so convention learning persists across team members
|
|
244
277
|
|
|
245
278
|
### Notes
|
|
246
279
|
|
|
247
|
-
-
|
|
248
|
-
- All state is local to `.
|
|
280
|
+
- Tayo does not require network access at generation time (DOM inspection via Playwright is optional and only runs when a live URL is in the recording)
|
|
281
|
+
- All state is local to `.tayo/` — no external service is contacted
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: "@tayo-dev/rtl:generate"
|
|
3
|
-
description: "Generate RTL tests from Recorder exports with
|
|
3
|
+
description: "Generate RTL tests from Recorder exports with Tayo"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
<objective>
|
|
@@ -9,7 +9,7 @@ Generate a React Testing Library test from a Recorder export.
|
|
|
9
9
|
|
|
10
10
|
<process>
|
|
11
11
|
1. Confirm the recording path before running anything destructive.
|
|
12
|
-
2. Run `
|
|
12
|
+
2. Run `tayo generate <recording-file>` by default.
|
|
13
13
|
3. Add `--dry-run`, `--output <path>`, or `--force` only when the user asks for them or the context requires them.
|
|
14
14
|
4. Report the generated file path and score output.
|
|
15
15
|
</process>
|
|
@@ -10,7 +10,7 @@ Help the user install and use @tayo-dev/rtl from Claude Code.
|
|
|
10
10
|
<process>
|
|
11
11
|
1. Explain that `/@tayo-dev/rtl:help` is the installed help entrypoint for @tayo-dev/rtl.
|
|
12
12
|
2. For installation or updates, tell the user to run `npx @tayo-dev/rtl@latest`.
|
|
13
|
-
3. For test generation, use `/@tayo-dev/rtl:generate` or run `
|
|
13
|
+
3. For test generation, use `/@tayo-dev/rtl:generate` or run `tayo generate <recording-file>`.
|
|
14
14
|
4. Mention `--dry-run`, `--output <path>`, and `--force` only when they fit the request.
|
|
15
15
|
5. When generation runs, report the score and generated file path.
|
|
16
16
|
</process>
|
|
@@ -5,12 +5,12 @@ description: "Explain how Tayo learns project test conventions and how to keep t
|
|
|
5
5
|
|
|
6
6
|
# Tayo Conventions
|
|
7
7
|
|
|
8
|
-
Use `$@tayo-dev/rtl-conventions` when the user asks why generated tests follow a certain style or how `.
|
|
8
|
+
Use `$@tayo-dev/rtl-conventions` when the user asks why generated tests follow a certain style or how `.tayo/conventions.json` affects output.
|
|
9
9
|
|
|
10
10
|
## Focus
|
|
11
11
|
|
|
12
12
|
- explain that Tayo learns local test conventions from the codebase
|
|
13
|
-
- call out when `.
|
|
13
|
+
- call out when `.tayo/conventions.json` will influence generated imports, mocks, and file placement
|
|
14
14
|
- recommend `--dry-run` when the user wants to inspect convention alignment before writing files
|
|
15
15
|
|
|
16
16
|
## Guardrails
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: "@tayo-dev/rtl-generate"
|
|
3
|
-
description: "Generate React Testing Library tests from Recorder exports with Tayo."
|
|
3
|
+
description: "Generate React Testing Library tests from Recorder JS or Chrome Recorder JSON exports with Tayo."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Tayo Generate
|
|
7
7
|
|
|
8
|
-
Use `$@tayo-dev/rtl-generate` when the user wants to turn a Recorder export into a React Testing Library test.
|
|
8
|
+
Use `$@tayo-dev/rtl-generate` when the user wants to turn a Recorder JS export or Chrome Recorder JSON export into a React Testing Library test.
|
|
9
9
|
|
|
10
10
|
## Inputs
|
|
11
11
|
|
|
12
|
-
- path to the recording file
|
|
12
|
+
- path to the recording file (`.js` or `.json`)
|
|
13
13
|
- optional `--output <path>`
|
|
14
14
|
- optional `--dry-run`
|
|
15
15
|
- optional `--force`
|
|
16
16
|
|
|
17
17
|
## Execution
|
|
18
18
|
|
|
19
|
-
Run `
|
|
19
|
+
Run `tayo generate <recording-file>` with the requested flags.
|
|
20
20
|
|
|
21
21
|
## Response contract
|
|
22
22
|
|
|
@@ -24,4 +24,5 @@ Report:
|
|
|
24
24
|
|
|
25
25
|
- the generated test path
|
|
26
26
|
- the Tayo score
|
|
27
|
-
-
|
|
27
|
+
- whether the output still needs manual review and the top blockers if present
|
|
28
|
+
- any follow-up work required to fix component imports, placeholder queries, or flaky selectors
|
|
@@ -21,5 +21,5 @@ Invoke this skill with `$@tayo-dev/rtl-help`.
|
|
|
21
21
|
|
|
22
22
|
1. Confirm the recording path or test target.
|
|
23
23
|
2. Choose the matching packaged Tayo skill.
|
|
24
|
-
3. If direct CLI execution is appropriate, run `
|
|
24
|
+
3. If direct CLI execution is appropriate, run `tayo generate <recording-file>` with any requested flags.
|
|
25
25
|
4. Report the generated file path, score, and any blocking issues.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
description = "Generate RTL tests from Recorder exports with
|
|
1
|
+
description = "Generate RTL tests from Recorder exports with Tayo"
|
|
2
2
|
prompt = """
|
|
3
3
|
You are the installed /@tayo-dev/rtl:generate command for @tayo-dev/rtl.
|
|
4
4
|
|
|
5
5
|
Generate a React Testing Library test from a Recorder export.
|
|
6
6
|
1. Confirm the recording path before running anything destructive.
|
|
7
|
-
2. Run `
|
|
7
|
+
2. Run `tayo generate <recording-file>` by default.
|
|
8
8
|
3. Add `--dry-run`, `--output <path>`, or `--force` only when the user asks for them or the context requires them.
|
|
9
9
|
4. Report the generated file path and score output.
|
|
10
10
|
"""
|
|
@@ -5,7 +5,7 @@ You are the installed /@tayo-dev/rtl:help command for @tayo-dev/rtl.
|
|
|
5
5
|
When the user wants help:
|
|
6
6
|
1. Explain that /@tayo-dev/rtl:help is the runtime-native help entrypoint.
|
|
7
7
|
2. For installation or updates, tell them to run `npx @tayo-dev/rtl@latest`.
|
|
8
|
-
3. For generation, direct them to /@tayo-dev/rtl:generate or `
|
|
8
|
+
3. For generation, direct them to /@tayo-dev/rtl:generate or `tayo generate <recording-file>`.
|
|
9
9
|
4. Mention `--dry-run`, `--output <path>`, and `--force` only when they match the request.
|
|
10
10
|
5. When generation runs, report the score and generated file path.
|
|
11
11
|
"""
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Generate RTL tests from Recorder exports with
|
|
2
|
+
description: Generate RTL tests from Recorder exports with Tayo
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
You are the installed `/@tayo-dev/rtl-generate` command for `@tayo-dev/rtl`.
|
|
6
6
|
|
|
7
7
|
Generate a React Testing Library test from a Recorder export.
|
|
8
8
|
1. Confirm the recording path before running anything destructive.
|
|
9
|
-
2. Run `
|
|
9
|
+
2. Run `tayo generate <recording-file>` by default.
|
|
10
10
|
3. Add `--dry-run`, `--output <path>`, or `--force` only when the user asks for them or the context requires them.
|
|
11
11
|
4. Report the generated file path and score output.
|
|
@@ -7,6 +7,6 @@ You are the installed `/@tayo-dev/rtl-help` command for `@tayo-dev/rtl`.
|
|
|
7
7
|
When the user wants help:
|
|
8
8
|
1. Explain that `/@tayo-dev/rtl-help` is the runtime-native help entrypoint.
|
|
9
9
|
2. For installation or updates, tell them to run `npx @tayo-dev/rtl@latest`.
|
|
10
|
-
3. For generation, direct them to `/@tayo-dev/rtl-generate` or `
|
|
10
|
+
3. For generation, direct them to `/@tayo-dev/rtl-generate` or `tayo generate <recording-file>`.
|
|
11
11
|
4. Mention `--dry-run`, `--output <path>`, and `--force` only when they match the request.
|
|
12
12
|
5. When generation runs, report the score and generated file path.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/generate.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/generate.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAiDnC,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAo2BD,wBAAgB,qBAAqB,IAAI,OAAO,CAoN/C"}
|