lazyscout 0.4.6 → 0.6.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.
@@ -0,0 +1,428 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>LazyScout · Five-step guide</title>
7
+ <link rel="stylesheet" href="guide.css" />
8
+ <script src="guide.js" defer></script>
9
+ </head>
10
+ <body>
11
+ <main>
12
+ <header class="masthead">
13
+ <nav data-ui="guide-languages" aria-label="Guide languages">
14
+ <a href="/" data-ui="back">← Open LazyScout</a>
15
+ <div class="languages">
16
+ <a href="?lang=en" lang="en" hreflang="en" data-language="en" aria-current="page">English</a>
17
+ <a href="?lang=th" lang="th" hreflang="th" data-language="th">ไทย</a>
18
+ </div>
19
+ </nav>
20
+ <div lang="en" data-edition="en">
21
+ <h1>LazyScout in five steps</h1>
22
+ <p>Open the app, run your first website test, and connect the project to Codex on this computer.</p>
23
+ <p>
24
+ In the app, select <b>Help</b> and choose a task. Follow the light to each control, use <b>Next</b> to look
25
+ ahead, or press <b>Esc</b> to leave the walkthrough.
26
+ </p>
27
+ </div>
28
+ <div lang="th" data-edition="th" hidden>
29
+ <h1>เริ่มใช้ LazyScout ใน 5 ขั้น</h1>
30
+ <p>เปิดโปรแกรม ทดสอบเว็บครั้งแรก และเชื่อมโปรเจกต์กับ Codex บนเครื่องนี้</p>
31
+ <p>
32
+ ในแอป กด <b>ช่วยเหลือ</b> แล้วเลือกงานที่อยากทำ แตะปุ่มที่สว่างเพื่อลองใช้ หรือกด
33
+ <b>ถัดไป</b> เพื่อดูขั้นตอนต่อไป ออกจากคำแนะนำได้ด้วย <b>Esc</b>
34
+ </p>
35
+ </div>
36
+ </header>
37
+
38
+ <div lang="en" data-edition="en">
39
+ <nav class="contents" aria-label="Guide steps">
40
+ <a href="#en-1">1 · Install</a><a href="#en-2">2 · Project</a><a href="#en-3">3 · Connect AI</a>
41
+ <a href="#en-4">4 · Review and run</a><a href="#en-5">5 · Export and MCP</a>
42
+ </nav>
43
+ <ol class="steps">
44
+ <li id="en-1">
45
+ <div class="step-number" aria-hidden="true">1</div>
46
+ <div>
47
+ <h2>Install and open LazyScout</h2>
48
+ <p>
49
+ <a href="https://nodejs.org/en/download">Install Node.js 20 or newer</a>. Open a terminal and run this
50
+ command to start LazyScout.
51
+ </p>
52
+ <pre><code>npx lazyscout@latest</code></pre>
53
+ <p>
54
+ Open the local URL printed in the terminal and keep the terminal running. If the browser needed for
55
+ Scout is missing, run <code>npx playwright install chromium</code>.
56
+ </p>
57
+ </div>
58
+ </li>
59
+ <li id="en-2">
60
+ <div class="step-number" aria-hidden="true">2</div>
61
+ <div>
62
+ <h2>Open a project and choose Scout</h2>
63
+ <p>Use <b>ภาษาไทย</b> or <b>English</b> at the top of the project chooser to switch languages.</p>
64
+ <p>
65
+ Click <b>New project</b> or open one you already have. Enter your target website URL. If AI Scout shows
66
+ <b>Set project target</b>, click it to save the URL. For a protected site, go to
67
+ <b>Project settings → Browser Session</b>. Choose <b>Open login browser</b>, sign in with the window
68
+ left open, then return and choose <b>Capture session</b>. Enter a protected path and click
69
+ <b>Verify</b>.
70
+ </p>
71
+ <figure>
72
+ <figcaption>Where the entry buttons appear</figcaption>
73
+ <div class="mock">
74
+ <div class="mock-field"><b>Target URL</b><span>http://localhost:5173/admin</span></div>
75
+ <span class="mock-button regular">Scout Site</span><span class="mock-button accent">✦ AI Scout</span>
76
+ </div>
77
+ </figure>
78
+ <p>
79
+ Click <b>Scout Site</b> for general exploration or <b>AI Scout</b> to enter a specific testing
80
+ instruction and review the plan.
81
+ </p>
82
+ <p>
83
+ On your first <b>Scout Site</b> run, choose <b>Current page only</b> and set <b>Test Case Language</b>.
84
+ To observe clicks, choose <b>Entire site</b> or a section. Select a timeline step to see its HTML, page
85
+ changes and API requests. Reopen it in <b>Scout Log → Scout terminal</b>. When the run finishes, open
86
+ <b>Test Cases</b> to see the generated cases. Choose the adjacent <b>Page map</b> tab to preview a page
87
+ or drag its saved cases into the run queue.
88
+ </p>
89
+ <p>
90
+ To repeat Login, search <b>Test Cases</b>, open the case title and choose
91
+ <b>Open this case in the runner → Run this case</b>. To write your own, choose <b>Add Test Case</b>,
92
+ then add a page, fields, a button and a text check. Choose <b>Save and open runner → Run this case</b>.
93
+ </p>
94
+ <p>
95
+ In the live browser preview, click a control to inspect its HTML. Choose <b>Resume live preview</b> to
96
+ follow Scout again. On small screens, choose <b>Website preview</b>. Frames clear at the end of the run.
97
+ </p>
98
+ </div>
99
+ </li>
100
+ <li id="en-3">
101
+ <div class="step-number" aria-hidden="true">3</div>
102
+ <div>
103
+ <h2>Connect AI and select a model</h2>
104
+ <p>Choose <b>Provider</b> and follow the matching instructions.</p>
105
+ <dl class="providers">
106
+ <dt>No AI / rules</dt>
107
+ <dd>Click <b>Use local rules</b> and go to step 4.</dd>
108
+ <dt>Ollama</dt>
109
+ <dd>
110
+ <a href="https://ollama.com/download">Install Ollama</a>, download a local model using
111
+ <code>ollama pull &lt;model-id&gt;</code>, and start its server. The default is
112
+ <code>http://localhost:11434</code>.
113
+ </dd>
114
+ <dt>LM Studio</dt>
115
+ <dd>
116
+ Download a model, then
117
+ <a href="https://lmstudio.ai/docs/developer/core/server">start its local server in Developer</a>. The
118
+ default is <code>http://localhost:1234/v1</code>. Enter a key if your server requires one.
119
+ </dd>
120
+ <dt>ChatGPT / Codex (sign in)</dt>
121
+ <dd>
122
+ <a href="https://learn.chatgpt.com/docs/codex/cli">Install Codex CLI</a> on this computer, then click
123
+ <b>Connect ChatGPT</b> if prompted after allowing the connection. LazyScout reuses an existing Codex
124
+ sign-in. For a fresh sign-in, copy the displayed code and select <b>Enter code on OpenAI</b>. Return
125
+ to LazyScout after entering the code. If device sign-in is disabled, check
126
+ <a href="https://learn.chatgpt.com/docs/auth">Codex authentication settings</a> or sign into Codex
127
+ first.
128
+ </dd>
129
+ <dt>Google Gemini · Groq · OpenRouter Free</dt>
130
+ <dd>
131
+ Use the link in AI Scout to create a key and paste it into <b>API key</b>. Free quotas depend on the
132
+ account. OpenRouter Free uses <code>openrouter/free</code> or a model ending in <code>:free</code>.
133
+ </dd>
134
+ <dt>OpenAI · Anthropic Claude · OpenRouter (all models) · DeepSeek · Mistral AI · xAI Grok</dt>
135
+ <dd>
136
+ Use <b>Get a … API key</b> and paste the key from the provider console. Review your provider's billing
137
+ settings.
138
+ </dd>
139
+ <dt>Custom OpenAI-compatible</dt>
140
+ <dd>
141
+ Enter your <b>Base URL</b> and an API key if required. For an external service, start LazyScout with
142
+ <code>LAZYSCOUT_COMPATIBLE_BASE_URL</code> set to that endpoint.
143
+ </dd>
144
+ </dl>
145
+ <p>
146
+ For cloud services, first tick the consent box. Then paste a key from the provider account or connect
147
+ your ChatGPT account. Finally, choose a model. Use <b>Test connection &amp; load models</b>
148
+ with an API key. Codex loads models after sign-in.
149
+ </p>
150
+ <figure>
151
+ <figcaption>Choose a model from the provider list</figcaption>
152
+ <div class="mock model-flow">
153
+ <span class="mock-button">Test connection &amp; load models</span>
154
+ <div class="mock-field">
155
+ <b>Model</b><span>openrouter/free <span aria-hidden="true">▾</span></span>
156
+ </div>
157
+ <span class="selected">Selected · openrouter/free</span>
158
+ </div>
159
+ </figure>
160
+ <p>
161
+ If you already know the ID, use the text field or select <b>Enter model ID manually</b>. If the list is
162
+ empty, check the key or the local server.
163
+ </p>
164
+ <p>
165
+ On Windows, select <b>Remember the API key for this project for 24 hours</b> and test the connection.
166
+ When you reopen the project, leave the key field blank and test again. Click <b>Forget saved key</b>
167
+ or delete the project to clear the key early.
168
+ </p>
169
+ </div>
170
+ </li>
171
+ <li id="en-4">
172
+ <div class="step-number" aria-hidden="true">4</div>
173
+ <div>
174
+ <h2>Write an instruction, review, and run</h2>
175
+ <p>
176
+ <b>Describe the test</b> opens after AI connects or you click <b>Use local rules</b>. Enter a topic or
177
+ leave it blank for an example. Click <b>Generate prompt</b>, wait for the draft, edit it, and click
178
+ <b>Ask</b> for the selected provider. In rules mode, click <b>Draft with rules</b>.
179
+ </p>
180
+ <p>
181
+ In <b>Testing instruction</b>, try “Check Search and Filter on the Members page, and write English test
182
+ cases.” Tick the files you need under <b>Requested outputs</b>. Use <b>Advanced settings</b> to limit
183
+ paths or choose a language.
184
+ </p>
185
+ <figure>
186
+ <figcaption>Review before LazyScout opens the target</figcaption>
187
+ <div class="mock">
188
+ <span class="mock-button accent">Ask / Create plan</span><span aria-hidden="true">→</span>
189
+ <span class="mock-button">Plan preview</span><span aria-hidden="true">→</span>
190
+ <span class="mock-button accent">Approve and start</span>
191
+ </div>
192
+ </figure>
193
+ <p>
194
+ Check the target URL, scope, and actions before approving. During execution, click <b>Cancel</b> if you
195
+ need to stop.
196
+ </p>
197
+ </div>
198
+ </li>
199
+ <li id="en-5">
200
+ <div class="step-number" aria-hidden="true">5</div>
201
+ <div>
202
+ <h2>Export results and connect Codex MCP</h2>
203
+ <p>
204
+ Open <b>Documents</b> to preview or download saved reports. Choose <b>Refresh list</b> after MCP saves a
205
+ file.
206
+ </p>
207
+ <p>
208
+ After execution, select <b>Report sections</b> and download <b>Excel</b>, <b>CSV</b>, or
209
+ <b>Markdown</b>. <b>UI Coverage</b> shows interactions Scout observed. <b>Execution Results</b> comes
210
+ from recorded runs. Use <b>Test Cases</b> and <b>Automation</b> to review cases and run assertions.
211
+ </p>
212
+ <figure>
213
+ <figcaption>Connect the project to Codex</figcaption>
214
+ <div class="mock">
215
+ <span class="mock-button">Set up MCP</span><span aria-hidden="true">→</span>
216
+ <span class="mock-button accent">Set up Codex MCP automatically</span
217
+ ><span aria-hidden="true">→</span>
218
+ <span class="mock-button">Reopen Codex</span>
219
+ </div>
220
+ </figure>
221
+ <p>
222
+ Click <b>Set up MCP</b> and then <b>Set up Codex MCP automatically</b>. Read-only access is the default.
223
+ Tick <b>Allow Scout runs and report creation in this project</b> if you want Codex to perform those
224
+ actions. Reopen Codex and ask it to use LazyScout MCP to list available projects. For another MCP
225
+ client, copy the command and arguments from <b>Manual setup or another MCP client</b>.
226
+ </p>
227
+ </div>
228
+ </li>
229
+ </ol>
230
+ </div>
231
+
232
+ <div lang="th" data-edition="th" hidden>
233
+ <nav class="contents" aria-label="ขั้นตอนในคู่มือ">
234
+ <a href="#th-1">1 · ติดตั้ง</a><a href="#th-2">2 · เปิดโปรเจกต์</a><a href="#th-3">3 · เชื่อม AI</a>
235
+ <a href="#th-4">4 · ตรวจแผนและรัน</a><a href="#th-5">5 · รายงานและ MCP</a>
236
+ </nav>
237
+ <ol class="steps">
238
+ <li id="th-1">
239
+ <div class="step-number" aria-hidden="true">1</div>
240
+ <div>
241
+ <h2>ติดตั้งและเปิด LazyScout</h2>
242
+ <p>
243
+ <a href="https://nodejs.org/en/download">ติดตั้ง Node.js 20 ขึ้นไป</a> เปิด Terminal
244
+ แล้วรันคำสั่งนี้เพื่อเริ่มใช้ LazyScout
245
+ </p>
246
+ <pre><code>npx lazyscout@latest</code></pre>
247
+ <p>
248
+ เปิด URL ที่แสดงใน Terminal แล้วเปิด Terminal ค้างไว้ ถ้ายังไม่มีเบราว์เซอร์ที่ใช้กับ Scout ได้ ให้รัน
249
+ <code>npx playwright install chromium</code>
250
+ </p>
251
+ </div>
252
+ </li>
253
+ <li id="th-2">
254
+ <div class="step-number" aria-hidden="true">2</div>
255
+ <div>
256
+ <h2>เปิดโปรเจกต์และเลือกโหมด</h2>
257
+ <p>กด <b>ภาษาไทย</b> หรือ <b>English</b> ที่ด้านบนของหน้าเลือกโปรเจกต์เพื่อเปลี่ยนภาษา</p>
258
+ <p>
259
+ กด <b>โปรเจกต์ใหม่</b> หรือเปิดโปรเจกต์เดิม แล้วใส่ URL ของเว็บที่จะทดสอบ ถ้าเห็นปุ่ม
260
+ <b>ตั้งเว็บไซต์เป้าหมาย</b> ให้กดเพื่อบันทึก URL ถ้าเว็บต้องล็อกอิน ให้ไปที่
261
+ <b>ตั้งค่าโปรเจกต์ → เซสชันเบราว์เซอร์</b> กด <b>เปิดเบราว์เซอร์เพื่อเข้าสู่ระบบ</b> แล้วลงชื่อเข้าใช้
262
+ เปิดหน้าต่างนั้นค้างไว้ กลับมากด <b>บันทึกเซสชัน</b> ใส่ path ของหน้าที่ต้องล็อกอิน แล้วกด
263
+ <b>ตรวจสอบ</b>
264
+ </p>
265
+ <figure>
266
+ <figcaption>ตำแหน่งปุ่มบนหน้าโปรเจกต์</figcaption>
267
+ <div class="mock">
268
+ <div class="mock-field"><b>URL เป้าหมาย</b><span>http://localhost:5173/admin</span></div>
269
+ <span class="mock-button regular">สำรวจเว็บไซต์</span
270
+ ><span class="mock-button accent">✦ AI Scout</span>
271
+ </div>
272
+ </figure>
273
+ <p>
274
+ กด <b>สำรวจเว็บไซต์</b> เพื่อสำรวจทั่วไป หรือกด <b>AI Scout</b> เพื่อพิมพ์โจทย์ทดสอบและตรวจแผนก่อนรัน
275
+ </p>
276
+ <p>
277
+ กด <b>แผนที่เว็บ</b> ข้าง <b>เคสทดสอบ</b> เพื่อเปิดตัวอย่างหน้าเว็บ หรือลากเคสของหน้านั้นลง
278
+ <b>คิวทดสอบ</b> จากนั้นกด <b>ตรวจคิวและรัน</b> และ <b>รันเคสที่เลือก</b>
279
+ </p>
280
+ <p>
281
+ หากต้องการดูการคลิก ให้เลือกสำรวจทั้งเว็บหรือเฉพาะส่วน แล้วเลือกขั้นตอนเพื่อดู HTML และ API
282
+ ย้อนดูภายหลังได้ที่ <b>บันทึกการสำรวจ → เทอร์มินัล Scout</b> ถ้าลอง <b>สำรวจเว็บไซต์</b> ครั้งแรก
283
+ ให้เลือก <b>สำรวจหน้าเดียว</b> และตั้ง <b>ภาษาของเคสทดสอบ</b> รอให้สำรวจเสร็จ แล้วเปิด
284
+ <b>เคสทดสอบ</b> เพื่อดูเคสที่สร้าง
285
+ </p>
286
+ <p>
287
+ ถ้าจะทดสอบ Login ซ้ำ ให้ค้นหาใน <b>เคสทดสอบ</b> กดชื่อเคส แล้วเลือก
288
+ <b>เปิดเคสนี้ในหน้ารัน → รันเฉพาะเคสนี้</b> ถ้าจะเขียนเอง ให้เพิ่มเคสแล้วเลือก
289
+ <b>เปิดหน้าเว็บ → กรอกข้อมูล → กดปุ่ม → ตรวจข้อความบนหน้า</b> แล้วกด
290
+ <b>บันทึกและเปิดหน้ารัน → รันเฉพาะเคสนี้</b>
291
+ </p>
292
+ <p>
293
+ กดปุ่มในภาพเว็บเพื่อค้างภาพและอ่าน HTML แล้วกด <b>กลับไปดูภาพล่าสุด</b> บนจอเล็กให้กด
294
+ <b>ภาพเว็บไซต์</b> ข้างเทอร์มินัล เมื่อจบการสำรวจระบบจะล้างภาพ
295
+ </p>
296
+ </div>
297
+ </li>
298
+ <li id="th-3">
299
+ <div class="step-number" aria-hidden="true">3</div>
300
+ <div>
301
+ <h2>เชื่อม AI และเลือกโมเดล</h2>
302
+ <p>เลือก <b>ผู้ให้บริการ</b> แล้วทำตามวิธีของผู้ให้บริการที่เลือก</p>
303
+ <dl class="providers">
304
+ <dt>ใช้กฎบนเครื่อง (ไม่ใช้ AI)</dt>
305
+ <dd>กด <b>ใช้กฎบนเครื่อง</b> แล้วไปขั้น 4</dd>
306
+ <dt>Ollama</dt>
307
+ <dd>
308
+ <a href="https://ollama.com/download">ติดตั้ง Ollama</a> ดาวน์โหลดโมเดลบนเครื่องด้วย
309
+ <code>ollama pull &lt;model-id&gt;</code> แล้วเปิดเซิร์ฟเวอร์ ค่าเริ่มต้นคือ
310
+ <code>http://localhost:11434</code>
311
+ </dd>
312
+ <dt>LM Studio</dt>
313
+ <dd>
314
+ ดาวน์โหลดโมเดล แล้ว<a href="https://lmstudio.ai/docs/developer/core/server"
315
+ >เปิดเซิร์ฟเวอร์ใน Developer</a
316
+ >
317
+ ค่าเริ่มต้นคือ <code>http://localhost:1234/v1</code> ใส่คีย์ถ้าเซิร์ฟเวอร์กำหนดไว้
318
+ </dd>
319
+ <dt>ChatGPT / Codex (ลงชื่อเข้าใช้)</dt>
320
+ <dd>
321
+ <a href="https://learn.chatgpt.com/docs/codex/cli">ติดตั้ง Codex CLI</a> บนเครื่องนี้ แล้วกด
322
+ <b>เชื่อม ChatGPT</b> หลังติ๊กอนุญาต ถ้าบัญชีเชื่อมกับ Codex อยู่แล้ว LazyScout จะโหลดโมเดลให้
323
+ หากต้องลงชื่อเข้าใช้ ให้คัดลอกรหัสแล้วกด <b>กรอกรหัสที่ OpenAI</b> กรอกรหัสที่หน้า OpenAI แล้วกลับมา
324
+ LazyScout ถ้าการเข้าสู่ระบบด้วยรหัสถูกปิด ให้เปิดดู
325
+ <a href="https://learn.chatgpt.com/docs/auth">วิธีตั้งค่าการเข้าสู่ระบบ Codex</a> หรือลงชื่อเข้า Codex
326
+ ก่อน
327
+ </dd>
328
+ <dt>Google Gemini · Groq · OpenRouter Free</dt>
329
+ <dd>
330
+ เปิดหน้าสร้างคีย์จากลิงก์ใน AI Scout แล้ววางลง <b>คีย์ API</b> โควตาฟรีขึ้นกับบัญชี OpenRouter Free
331
+ ใช้ <code>openrouter/free</code> หรือโมเดลที่ลงท้ายด้วย <code>:free</code>
332
+ </dd>
333
+ <dt>OpenAI · Anthropic Claude · OpenRouter (all models) · DeepSeek · Mistral AI · xAI Grok</dt>
334
+ <dd>
335
+ กด <b>เปิดหน้าสร้าง API key ของ…</b> สร้างคีย์จากผู้ให้บริการ แล้ววางลงในช่องคีย์
336
+ ตรวจค่าใช้จ่ายจากผู้ให้บริการก่อนใช้งาน
337
+ </dd>
338
+ <dt>Custom OpenAI-compatible</dt>
339
+ <dd>
340
+ ใส่ <b>URL เริ่มต้น</b> และคีย์ถ้าต้องใช้ หากเชื่อมบริการภายนอก ให้ตั้ง
341
+ <code>LAZYSCOUT_COMPATIBLE_BASE_URL</code> เป็น URL ปลายทางก่อนเปิด LazyScout
342
+ </dd>
343
+ </dl>
344
+ <p>
345
+ สำหรับบริการคลาวด์ ให้ติ๊กอนุญาตก่อน จากนั้นวาง API key หรือเชื่อมบัญชี ChatGPT แล้วเลือกโมเดล ถ้าใช้
346
+ API key ให้กด <b>ทดสอบการเชื่อมต่อและโหลดโมเดล</b> ส่วน Codex จะโหลดโมเดลให้หลังลงชื่อเข้าใช้
347
+ </p>
348
+ <figure>
349
+ <figcaption>เลือกโมเดลจากรายการของผู้ให้บริการ</figcaption>
350
+ <div class="mock model-flow">
351
+ <span class="mock-button">ทดสอบการเชื่อมต่อและโหลดโมเดล</span>
352
+ <div class="mock-field">
353
+ <b>โมเดล</b><span>openrouter/free <span aria-hidden="true">▾</span></span>
354
+ </div>
355
+ <span class="selected">เลือกแล้ว · openrouter/free</span>
356
+ </div>
357
+ </figure>
358
+ <p>
359
+ หากรู้ ID อยู่แล้ว ให้ใช้ช่องกรอกหรือเลือก <b>กรอก Model ID เอง</b> ถ้าโหลดแล้วไม่มีรายการ
360
+ ให้ตรวจคีย์หรือเซิร์ฟเวอร์บนเครื่อง
361
+ </p>
362
+ <p>
363
+ บน Windows ติ๊ก <b>จำ API key ในโปรเจกต์นี้ 24 ชั่วโมง</b> แล้วกดทดสอบการเชื่อมต่อ
364
+ เมื่อกลับมาเปิดโปรเจกต์เดิม ให้เว้นช่องคีย์ไว้แล้วกดทดสอบอีกครั้ง กด <b>ล้างคีย์ที่บันทึกไว้</b>
365
+ หรือลบโปรเจกต์เพื่อล้างคีย์ทันที
366
+ </p>
367
+ </div>
368
+ </li>
369
+ <li id="th-4">
370
+ <div class="step-number" aria-hidden="true">4</div>
371
+ <div>
372
+ <h2>พิมพ์โจทย์ ตรวจแผน แล้วเริ่มรัน</h2>
373
+ <p>
374
+ ส่วน <b>กำหนดงานทดสอบ</b> จะเปิดเมื่อเชื่อม AI สำเร็จหรือกด
375
+ <b>ใช้กฎบนเครื่อง</b> พิมพ์หัวข้อหรือเว้นช่องไว้เพื่อดูตัวอย่าง กด <b>เจนคำ</b> แล้วแก้ร่างก่อนกด
376
+ <b>ถาม</b> ผู้ให้บริการที่เลือก โหมดกฎบนเครื่องใช้ปุ่ม <b>ช่วยร่างคำ</b>
377
+ </p>
378
+ <p>
379
+ ในช่อง <b>สิ่งที่ต้องการทดสอบ</b> ลองพิมพ์ “ตรวจช่องค้นหาและตัวกรองในหน้าสมาชิก แล้วเขียน Test Case
380
+ ภาษาไทย” ติ๊กไฟล์ที่ต้องการใน <b>ผลลัพธ์ที่ต้องการ</b> และเปิด
381
+ <b>ตั้งค่าขั้นสูง</b> เพื่อจำกัดเส้นทางหรือเลือกภาษา
382
+ </p>
383
+ <figure>
384
+ <figcaption>ลำดับก่อนเปิดเว็บเป้าหมาย</figcaption>
385
+ <div class="mock">
386
+ <span class="mock-button accent">ถาม / สร้างแผน</span><span aria-hidden="true">→</span>
387
+ <span class="mock-button">ตรวจแผนก่อนเริ่ม</span><span aria-hidden="true">→</span>
388
+ <span class="mock-button accent">ยืนยันและเริ่ม</span>
389
+ </div>
390
+ </figure>
391
+ <p>ตรวจ URL ขอบเขต และรายการสิ่งที่จะทำก่อนอนุมัติ ระหว่างรันกด <b>หยุดการรัน</b> เพื่อหยุดได้</p>
392
+ </div>
393
+ </li>
394
+ <li id="th-5">
395
+ <div class="step-number" aria-hidden="true">5</div>
396
+ <div>
397
+ <h2>ส่งออกรายงานและเชื่อม Codex MCP</h2>
398
+ <p>
399
+ เปิด <b>เอกสาร</b> เพื่อดูตัวอย่างหรือดาวน์โหลดรายงานที่บันทึกไว้ กด <b>รีเฟรชรายการ</b> เมื่อ MCP
400
+ สร้างไฟล์ใหม่
401
+ </p>
402
+ <p>
403
+ รันเสร็จแล้วเลือกหัวข้อใน <b>ส่วนของรายงาน</b> จากนั้นดาวน์โหลด <b>Excel</b>, <b>CSV</b> หรือ
404
+ <b>Markdown</b> ส่วน <b>ความครอบคลุมของหน้าเว็บ</b> สรุปสิ่งที่สำรวจพบ และ
405
+ <b>ผลการทดสอบ</b> แสดงผลจากการทดสอบที่บันทึกไว้ เปิด <b>เคสทดสอบ</b> และ
406
+ <b>รันทดสอบ</b> เพื่อดูเคสและรันทดสอบเงื่อนไข
407
+ </p>
408
+ <figure>
409
+ <figcaption>ลำดับการเชื่อมโปรเจกต์กับ Codex</figcaption>
410
+ <div class="mock">
411
+ <span class="mock-button">ตั้งค่า MCP</span><span aria-hidden="true">→</span>
412
+ <span class="mock-button accent">ตั้งค่า Codex MCP อัตโนมัติ</span><span aria-hidden="true">→</span>
413
+ <span class="mock-button">เปิด Codex ใหม่</span>
414
+ </div>
415
+ </figure>
416
+ <p>
417
+ กด <b>ตั้งค่า MCP</b> แล้วกด <b>ตั้งค่า Codex MCP อัตโนมัติ</b> ระบบให้สิทธิ์อ่านเป็นค่าเริ่มต้น
418
+ หากต้องการให้ Codex รันด้วย ให้ติ๊ก <b>อนุญาตให้รัน Scout และสร้างรายงานในโปรเจกต์นี้</b> เปิด Codex
419
+ ใหม่แล้วขอให้ใช้ LazyScout MCP แสดงโปรเจกต์ที่เข้าถึงได้ ถ้าใช้โปรแกรม MCP อื่น
420
+ ให้คัดลอกคำสั่งและอาร์กิวเมนต์จาก <b>ตั้งค่าเองหรือใช้ MCP client อื่น</b>
421
+ </p>
422
+ </div>
423
+ </li>
424
+ </ol>
425
+ </div>
426
+ </main>
427
+ </body>
428
+ </html>
@@ -6,8 +6,8 @@
6
6
  <link rel="icon" type="image/png" href="/lazyscout-icon-v2.png" />
7
7
  <link rel="apple-touch-icon" href="/lazyscout-icon-v2.png" />
8
8
  <title>LazyScout</title>
9
- <script type="module" crossorigin src="/assets/index-CXQPOJB-.js"></script>
10
- <link rel="stylesheet" crossorigin href="/assets/index-CWCxpZDN.css">
9
+ <script type="module" crossorigin src="/assets/index-OVt6riDi.js"></script>
10
+ <link rel="stylesheet" crossorigin href="/assets/index-BOBTrs1j.css">
11
11
  </head>
12
12
  <body>
13
13
  <div id="root"></div>
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lazyscout",
3
- "version": "0.4.6",
3
+ "version": "0.6.0",
4
4
  "description": "Local-first QA assistant for website exploration, test-case drafting, and Playwright/Cypress automation code generation.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -46,9 +46,11 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@fastify/static": "^10.1.3",
49
+ "@modelcontextprotocol/sdk": "^1.32.2",
49
50
  "@playwright/test": "^1.62.1",
50
51
  "fastify": "^5.6.1",
51
- "playwright-core": "^1.56.1"
52
+ "playwright-core": "^1.56.1",
53
+ "zod": "^4.6.7"
52
54
  },
53
55
  "devDependencies": {
54
56
  "@lazyscout/core": "*",