@capagents/forgeqe 2.7.4 → 2.7.5

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.
Files changed (72) hide show
  1. package/HOW_TO_USE.md +21 -11
  2. package/dist/docs-site/docs/containers/index.html +3 -0
  3. package/dist/docs-site/docs/index.html +15 -4
  4. package/dist/docs-site/docs/model-routing/index.html +2 -2
  5. package/dist/docs-site/docs/search.js +1 -1
  6. package/dist/docs-site/docs/web-app/index.html +14 -1
  7. package/dist/forgeqe.js +1580 -1555
  8. package/dist/web/assets/Agent-DX2q9LmG.js +4 -0
  9. package/dist/web/assets/ApiTests-Cup02reL.js +10 -0
  10. package/dist/web/assets/{Chat-BEBubV0F.js → Chat-DzcXQtRU.js} +3 -3
  11. package/dist/web/assets/{CommandPalette-DsRNyIKF.js → CommandPalette-BPUcuL1R.js} +1 -1
  12. package/dist/web/assets/{Data-CL-E93Vx.js → Data-ZQmWEw-T.js} +3 -3
  13. package/dist/web/assets/Evidence-B6VB0N8L.js +1 -0
  14. package/dist/web/assets/{Features-CFkBiMMK.js → Features-jvyThbaa.js} +1 -1
  15. package/dist/web/assets/{ForceGraph-B6eiz89z.js → ForceGraph-oAsEGwQc.js} +1 -1
  16. package/dist/web/assets/{Impact-Crjnn821.js → Impact-BWERCZIN.js} +1 -1
  17. package/dist/web/assets/{Jobs-DsSzuL4M.js → Jobs-bbs9Yh-0.js} +3 -3
  18. package/dist/web/assets/KindPage-E4XiuZKL.js +6 -0
  19. package/dist/web/assets/Migration-CQmzKn1a.js +2 -0
  20. package/dist/web/assets/Product-DE2i4GjQ.js +7 -0
  21. package/dist/web/assets/Quality-BPS1A75g.js +1 -0
  22. package/dist/web/assets/Record-Ch5qKyuS.js +2 -0
  23. package/dist/web/assets/Regression-krYLUFdO.js +5 -0
  24. package/dist/web/assets/Reports-Bl3L0zPe.js +2 -0
  25. package/dist/web/assets/Response-C66KATyo.js +4 -0
  26. package/dist/web/assets/Runs-Bq23Zfkc.js +2 -0
  27. package/dist/web/assets/Shell-2xDxqPtD.js +4 -0
  28. package/dist/web/assets/TestCases-DvusfxET.js +1 -0
  29. package/dist/web/assets/{TestData-BfaYdN7g.js → TestData-Y9MWzPfm.js} +2 -2
  30. package/dist/web/assets/Tosca-DPI6ewM-.js +2 -0
  31. package/dist/web/assets/WhatsNew-Cix_kO-M.js +1 -0
  32. package/dist/web/assets/{dataParts-CBW6uN5d.js → dataParts-DGQaavWq.js} +3 -3
  33. package/dist/web/assets/{families-D6BROXfa.js → families-DWe5Tf6V.js} +1 -1
  34. package/dist/web/assets/index-CAbuIKyt.js +45 -0
  35. package/dist/web/assets/index-Dj77NVTf.css +2 -0
  36. package/dist/web/assets/{logos-8RY6YC28.js → logos-UHk_LNd_.js} +1 -1
  37. package/dist/web/assets/{parts-BHdGx04A.js → parts-6yv4V1GV.js} +1 -1
  38. package/dist/web/assets/{productParts-Dc6xUW1K.js → productParts-DlC0tpuk.js} +1 -1
  39. package/dist/web/assets/qualityParts-BSTx-oHr.js +1 -0
  40. package/dist/web/assets/{segmented-TQMcwxQv.js → segmented-7nur8ck_.js} +1 -1
  41. package/dist/web/assets/{thread-CIPUw18f.js → thread-RtF8vcSJ.js} +1 -1
  42. package/dist/web/assets/{usePageChat-DSApZPFS.js → usePageChat-Btkpy-DG.js} +1 -1
  43. package/dist/web/index.html +3 -3
  44. package/docs/CONTAINERS.md +4 -0
  45. package/docs/MODEL_ROUTING.md +2 -2
  46. package/docs/WEB_APP.md +15 -1
  47. package/docs/demo-qi-commerce.md +2 -0
  48. package/docs/user-guide.html +15 -4
  49. package/package.json +2 -2
  50. package/prompts/README.md +1 -0
  51. package/prompts/bug-report.md +76 -0
  52. package/py/forgeqe_engine/browser.py +68 -3
  53. package/dist/web/assets/Agent-CKR9Py0r.js +0 -4
  54. package/dist/web/assets/ApiTests-CKcXHveu.js +0 -10
  55. package/dist/web/assets/Evidence-CKEitJv6.js +0 -1
  56. package/dist/web/assets/KindPage-BFV_XoQL.js +0 -6
  57. package/dist/web/assets/Migration-D9cSWkdV.js +0 -2
  58. package/dist/web/assets/Product-ColVwjaL.js +0 -7
  59. package/dist/web/assets/Quality-zi5aA6f6.js +0 -1
  60. package/dist/web/assets/Record-CrN77nVE.js +0 -2
  61. package/dist/web/assets/Regression-CZrsQWbm.js +0 -5
  62. package/dist/web/assets/Reports-D7f_1vG0.js +0 -2
  63. package/dist/web/assets/Response-DC92GseN.js +0 -4
  64. package/dist/web/assets/Runs-nVIQRwQJ.js +0 -2
  65. package/dist/web/assets/Shell-D5MWlvjN.js +0 -4
  66. package/dist/web/assets/TestCases-BXOSmbVJ.js +0 -1
  67. package/dist/web/assets/Tosca-DLEfDNnJ.js +0 -2
  68. package/dist/web/assets/WhatsNew-CT5wRl3k.js +0 -1
  69. package/dist/web/assets/index-C-NmeOas.css +0 -2
  70. package/dist/web/assets/index-mFIY4zqW.js +0 -43
  71. package/dist/web/assets/qualityParts-Bc827HSc.js +0 -1
  72. package/dist/web/assets/when-CHnpLdYw.js +0 -1
package/HOW_TO_USE.md CHANGED
@@ -63,6 +63,7 @@ agent:
63
63
  | a bug, orange | Root cause | `forgeqe-defect-rca` | Finds the root cause of a defect | No |
64
64
  | a funnel, indigo | Refine | `forgeqe-refine` | Turns a request into a task specification | No |
65
65
  | building blocks, mauve | Agent builder | `forgeqe-agent-builder` | Works out a custom agent with the user: questions, plan, name | No |
66
+ | an envelope, plum | Bug reporter | `forgeqe-bug-report` | Drafts a defect in ForgeQE itself from the person's words, and asks what it lacks | No |
66
67
  | a database drum, aqua | DB agent | `forgeqe-data` | DB agent: finds or designs the test data other agents ask for before they run | No |
67
68
  | a gavel, coral | Judge | `forgeqe-judge` | Judges domain evaluations | No |
68
69
  | a balance, amber | Model profiler | `forgeqe-model-profile` | Rates the configured models for the model router | No |
@@ -100,20 +101,20 @@ The icons as the shell draws them, each in its agent's colour:
100
101
  ▜██▛ Refine █ █ Agent builder
101
102
  ▜▛ █ █
102
103
 
103
- ▟██▙ DB agent ▐█▙ Judge
104
- ▚▄▄▞ ▄▖▝▙
104
+ █▀▀█ Bug reporter ▟██▙ DB agent
105
+ ▙▟▙▟ ▚▄▄▞
105
106
 
106
- ▄▟▙▄ Model profiler █ █ Content judge
107
- ▙▖ ▙ ▞ ▞
107
+ ▐█▙ Judge ▄▟▙▄ Model profiler
108
+ ▄▖▝▙ ▙▖ ▙
108
109
 
109
- ▛▀█▖ Scenario drafter ▀▖▗▀ Knowledge builder
110
- ▙█▄▌ ▄▝▘▄
110
+ █ █ Content judge ▛▀█▖ Scenario drafter
111
+ ▞ ▞ ▙█▄▌
111
112
 
112
- ▗▜▛▖ Investigator ▞▀▀▚ Acceptance reader
113
- ▝▄▄▙ ▙██▟
113
+ ▀▖▗▀ Knowledge builder ▗▜▛▖ Investigator
114
+ ▄▝▘▄ ▝▄▄▙
114
115
 
115
- ▛▀▀▜ Browser agent
116
- ▙▄▄▟
116
+ ▞▀▀▚ Acceptance reader ▛▀▀▜ Browser agent
117
+ ▙██▟ ▙▄▄▟
117
118
  ```
118
119
  <!-- subagents:end -->
119
120
 
@@ -205,7 +206,7 @@ Not supported: Load, stress, or soak testing with many simultaneous users (inste
205
206
  ```bash
206
207
  npm install -g @capagents/forgeqe # or: pip install forgeqe-cli
207
208
  forgeqe init # forgeqe.yaml, llms.json, and .forgeqe/ (prompts, skills, knowledge) in this folder
208
- export WP_AZURE_API_KEY=... # the key your llms.json profile names
209
+ export WP_AZURE_API_KEY=... # the key your llms.json profile names (PowerShell: $env:WP_AZURE_API_KEY = "...")
209
210
  forgeqe models # check the profiles
210
211
  forgeqe start # the shell
211
212
  ```
@@ -1376,6 +1377,15 @@ forgeqe web --no-open # only print the address
1376
1377
  The first page is Settings › Set up: the project folder (an existing clone, or a new folder), ForgeQE in it (the same
1377
1378
  as `forgeqe init`), what this computer needs, and a model. See [docs/WEB_APP.md](docs/WEB_APP.md) for every page.
1378
1379
 
1380
+ **Found a problem in ForgeQE itself?** Settings › Report a problem. ForgeQE picks the recent session that went wrong
1381
+ and reads its log for what was run and ForgeQE's own errors; the bug reporter (`forgeqe-bug-report`) drafts the bug from
1382
+ that and asks only what it cannot find, usually what you expected. You edit it, keep or untick what is attached (that
1383
+ session's log with secrets replaced, ForgeQE's own checks, its failed runs' screenshots, pictures you add), see the whole
1384
+ list, and send it. The ForgeQE team's defect intake files it as a Bug in their Azure DevOps
1385
+ (DevCGAzureDevOps / Atlas.Ai), so you need no account there: sign in with the Azure CLI (`az login`) to your
1386
+ organization, or save the intake key the ForgeQE team gave you. Without either, Copy as text gives you the report to
1387
+ send by email or Teams.
1388
+
1379
1389
  ## 4. Without the shell
1380
1390
 
1381
1391
  ```bash
@@ -259,6 +259,9 @@ Secrets are passed by name. ForgeQE's own keys are never passed.</li>
259
259
  </ul>
260
260
  <p>This needs a Linux or macOS machine, because the repository is mounted at its own path.</p>
261
261
  <h2 id="the-workspace"><a href="#the-workspace" class="hash">#</a>The workspace</h2>
262
+ <p><strong>On Windows</strong> the workspace is not used: the agent's commands run on the computer itself, and <code>forgeqe doctor</code> (and
263
+ Settings › Set up) says so while <code>containers.workspace</code> is set. Run ForgeQE inside WSL to have them run in the
264
+ workspace container.</p>
262
265
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>containers:
263
266
  workspace:
264
267
  image: mcr.microsoft.com/playwright/dotnet:v1.63.0-noble # an exact version; the project's toolchain
@@ -206,7 +206,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
206
206
  <section class="doc" id="doc-how_to_use-quick-start">
207
207
  <h3>Quick start</h3>
208
208
  <div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>forgeqe init # forgeqe.yaml, llms.json, and .forgeqe/ (prompts, skills, knowledge) in this folder
209
- export WP_AZURE_API_KEY=... # the key your llms.json profile names
209
+ export WP_AZURE_API_KEY=... # the key your llms.json profile names (PowerShell: $env:WP_AZURE_API_KEY = &quot;...&quot;)
210
210
  forgeqe models # check the profiles
211
211
  forgeqe start # the shell
212
212
  </code></pre></div>
@@ -702,6 +702,14 @@ forgeqe web --no-open # only print the address
702
702
  </code></pre></div>
703
703
  <p>The first page is Settings › Set up: the project folder (an existing clone, or a new folder), ForgeQE in it (the same
704
704
  as <code>forgeqe init</code>), what this computer needs, and a model. See <a href="web-app/index.html">docs/WEB_APP.md</a> for every page.</p>
705
+ <p><strong>Found a problem in ForgeQE itself?</strong> Settings › Report a problem. ForgeQE picks the recent session that went wrong
706
+ and reads its log for what was run and ForgeQE's own errors; the bug reporter (<code>forgeqe-bug-report</code>) drafts the bug from
707
+ that and asks only what it cannot find, usually what you expected. You edit it, keep or untick what is attached (that
708
+ session's log with secrets replaced, ForgeQE's own checks, its failed runs' screenshots, pictures you add), see the whole
709
+ list, and send it. The ForgeQE team's defect intake files it as a Bug in their Azure DevOps
710
+ (DevCGAzureDevOps / Atlas.Ai), so you need no account there: sign in with the Azure CLI (<code>az login</code>) to your
711
+ organization, or save the intake key the ForgeQE team gave you. Without either, Copy as text gives you the report to
712
+ send by email or Teams.</p>
705
713
  </div></section>
706
714
  </section>
707
715
  <section class="doc" id="doc-how_to_use-4-without-the-shell">
@@ -2143,8 +2151,8 @@ whenever it is rated good enough.</p>
2143
2151
  </code></pre></div>
2144
2152
  <p>An agent left out uses its area's pick. The agents are <code>forgeqe</code>, <code>engine</code>, <code>forgeqe-test</code>, <code>forgeqe-heal</code>,
2145
2153
  <code>forgeqe-migrate</code>, <code>forgeqe-api</code>, <code>forgeqe-review</code>, <code>forgeqe-pr-review</code>, <code>forgeqe-judge</code>, <code>forgeqe-defect-rca</code>,
2146
- <code>forgeqe-refine</code>, <code>forgeqe-find</code>, <code>forgeqe-test-plan</code>, <code>forgeqe-api-plan</code>, <code>forgeqe-explore-plan</code>, <code>forgeqe-data</code> and
2147
- <code>forgeqe-agent-builder</code>; <code>forgeqe models --routes</code> lists each with the model it gets. An unknown agent or a profile not
2154
+ <code>forgeqe-refine</code>, <code>forgeqe-find</code>, <code>forgeqe-test-plan</code>, <code>forgeqe-api-plan</code>, <code>forgeqe-explore-plan</code>, <code>forgeqe-data</code>,
2155
+ <code>forgeqe-agent-builder</code> and <code>forgeqe-bug-report</code>; <code>forgeqe models --routes</code> lists each with the model it gets. An unknown agent or a profile not
2148
2156
  in <code>llms.json</code> is an error when ForgeQE loads <code>forgeqe.yaml</code>. The model must still work: with <code>fallback</code> on, one that
2149
2157
  fails its check is replaced as for any area. <code>--profile</code> still names the model for everything.</p>
2150
2158
  </div>
@@ -3312,7 +3320,10 @@ Secrets are passed by name. ForgeQE's own keys are never passed.</li>
3312
3320
  </section>
3313
3321
  <section class="doc" id="doc-docs-containers-the-workspace">
3314
3322
  <h4>The workspace</h4>
3315
- <div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>containers:
3323
+ <div class="prose"><p><strong>On Windows</strong> the workspace is not used: the agent's commands run on the computer itself, and <code>forgeqe doctor</code> (and
3324
+ Settings › Set up) says so while <code>containers.workspace</code> is set. Run ForgeQE inside WSL to have them run in the
3325
+ workspace container.</p>
3326
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>containers:
3316
3327
  workspace:
3317
3328
  image: mcr.microsoft.com/playwright/dotnet:v1.63.0-noble # an exact version; the project's toolchain
3318
3329
  services: [db] # started first; reached by name
@@ -168,8 +168,8 @@ whenever it is rated good enough.</p>
168
168
  </code></pre></div>
169
169
  <p>An agent left out uses its area's pick. The agents are <code>forgeqe</code>, <code>engine</code>, <code>forgeqe-test</code>, <code>forgeqe-heal</code>,
170
170
  <code>forgeqe-migrate</code>, <code>forgeqe-api</code>, <code>forgeqe-review</code>, <code>forgeqe-pr-review</code>, <code>forgeqe-judge</code>, <code>forgeqe-defect-rca</code>,
171
- <code>forgeqe-refine</code>, <code>forgeqe-find</code>, <code>forgeqe-test-plan</code>, <code>forgeqe-api-plan</code>, <code>forgeqe-explore-plan</code>, <code>forgeqe-data</code> and
172
- <code>forgeqe-agent-builder</code>; <code>forgeqe models --routes</code> lists each with the model it gets. An unknown agent or a profile not
171
+ <code>forgeqe-refine</code>, <code>forgeqe-find</code>, <code>forgeqe-test-plan</code>, <code>forgeqe-api-plan</code>, <code>forgeqe-explore-plan</code>, <code>forgeqe-data</code>,
172
+ <code>forgeqe-agent-builder</code> and <code>forgeqe-bug-report</code>; <code>forgeqe models --routes</code> lists each with the model it gets. An unknown agent or a profile not
173
173
  in <code>llms.json</code> is an error when ForgeQE loads <code>forgeqe.yaml</code>. The model must still work: with <code>fallback</code> on, one that
174
174
  fails its check is replaced as for any area. <code>--profile</code> still names the model for everything.</p>
175
175
  <h2 id="how-a-model-is-picked"><a href="#how-a-model-is-picked" class="hash">#</a>How a model is picked</h2>