@haystackeditor/cli 0.24.0 → 0.24.1
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/dist/commands/init.js +7 -4
- package/package.json +1 -1
package/dist/commands/init.js
CHANGED
|
@@ -42,14 +42,17 @@ export const AGENT_NOTE = [
|
|
|
42
42
|
NOTE_BEGIN,
|
|
43
43
|
'## Haystack',
|
|
44
44
|
'',
|
|
45
|
-
'After you change this app\'s code,
|
|
46
|
-
'without
|
|
45
|
+
'After you change this app\'s code, or when the user asks you to check a change, run `haystack verify` before you',
|
|
46
|
+
'call the work done. It runs the app with and without the change, explores it, and reports where the change shows up',
|
|
47
|
+
'and what broke. It changes nothing, so run it without asking.',
|
|
47
48
|
'',
|
|
48
|
-
'- It often takes 10 to 15 minutes
|
|
49
|
+
'- It often takes 10 to 15 minutes: give it your longest timeout or run it in the background, and do not pipe it',
|
|
50
|
+
' through `tail` or `head`, which hide its progress. If your command times out, run it again: it picks up the same crawl.',
|
|
49
51
|
'- Fix each bug it reports that your change caused, then run `haystack verify` again.',
|
|
50
52
|
'- If it says onboarding needs an answer, ask the user that question and file their choice with',
|
|
51
53
|
' `haystack verify answer <question-id> <choice>`.',
|
|
52
|
-
'-
|
|
54
|
+
'- Read its short report. `--json` prints the full result, often hundreds of kilobytes, for scripts;',
|
|
55
|
+
' `haystack verify --help` explains the output and exit codes.',
|
|
53
56
|
'- If `haystack` is not installed, run each command as `npx -y @haystackeditor/cli@latest <command>`.',
|
|
54
57
|
NOTE_END,
|
|
55
58
|
].join('\n');
|