@muggleai/works 4.3.0 → 4.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.
@@ -114,11 +114,11 @@ Found 3 use cases with 8 test cases:
114
114
  ✦ [HIGH] Checkout fails with invalid payment info
115
115
  ```
116
116
 
117
- Ask:
118
- - "Does this structure look right?"
119
- - "Anything to add, remove, rename, or re-prioritise before I import?"
117
+ Use `AskQuestion` to confirm:
118
+ - "Looks good proceed with import"
119
+ - "I want to make changes first"
120
120
 
121
- Incorporate feedback, then confirm: "Ready to import shall I proceed?"
121
+ If the user wants changes, incorporate feedback, then ask again. Only proceed after explicit approval.
122
122
 
123
123
  > For Path A (native PRD upload): present the use case/test case list that Muggle extracted
124
124
  > after the processing workflow completes, and ask the user to confirm before adding any
@@ -142,23 +142,19 @@ If not authenticated:
142
142
 
143
143
  ## Step 5 — Pick or create a project
144
144
 
145
- Call `muggle-remote-project-list` and show the results as a numbered menu:
145
+ A **project** is where all your imported use cases, test cases, and future test results are grouped on the Muggle AI dashboard.
146
146
 
147
- ```
148
- Existing projects:
149
- 1. Acme Web App
150
- 2. Admin Portal
151
- 3. Mobile API
147
+ 1. Call `muggle-remote-project-list`
148
+ 2. Use `AskQuestion` to present all projects as clickable options. Include the project URL in each label. Always include a "Create new project" option at the end.
152
149
 
153
- Or: [C] Create new project
154
- ```
150
+ Prompt: "Pick the project to import into:"
155
151
 
156
- **If creating a new project**, propose values based on what you learned from the source files:
157
- - **Name**: infer the app name from filenames, URLs, or document headings (e.g., "Acme App")
158
- - **Description**: "Imported from [filename(s)] — [date]"
159
- - **URL**: the base URL of the app under test
152
+ 3. **If creating a new project**, propose values based on what you learned from the source files:
153
+ - **Name**: infer the app name from filenames, URLs, or document headings (e.g., "Acme App")
154
+ - **Description**: "Imported from [filename(s)] — [date]"
155
+ - **URL**: the base URL of the app under test
160
156
 
161
- Show the proposal and confirm before calling `muggle-remote-project-create`.
157
+ Show the proposal and confirm before calling `muggle-remote-project-create`.
162
158
 
163
159
  ---
164
160