@capagents/forgeqe 2.7.3 → 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.
- package/HOW_TO_USE.md +21 -11
- package/dist/docs-site/docs/containers/index.html +3 -0
- package/dist/docs-site/docs/index.html +15 -4
- package/dist/docs-site/docs/model-routing/index.html +2 -2
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/web-app/index.html +34 -7
- package/dist/forgeqe.js +1589 -1558
- package/dist/web/assets/Agent-DX2q9LmG.js +4 -0
- package/dist/web/assets/ApiTests-Cup02reL.js +10 -0
- package/dist/web/assets/Chat-DzcXQtRU.js +3 -0
- package/dist/web/assets/CommandPalette-BPUcuL1R.js +1 -0
- package/dist/web/assets/Data-ZQmWEw-T.js +3 -0
- package/dist/web/assets/Evidence-B6VB0N8L.js +1 -0
- package/dist/web/assets/Features-jvyThbaa.js +1 -0
- package/dist/web/assets/ForceGraph-oAsEGwQc.js +1 -0
- package/dist/web/assets/Impact-BWERCZIN.js +1 -0
- package/dist/web/assets/Jobs-bbs9Yh-0.js +5 -0
- package/dist/web/assets/KindPage-E4XiuZKL.js +6 -0
- package/dist/web/assets/Migration-CQmzKn1a.js +2 -0
- package/dist/web/assets/Product-DE2i4GjQ.js +7 -0
- package/dist/web/assets/Quality-BPS1A75g.js +1 -0
- package/dist/web/assets/Record-Ch5qKyuS.js +2 -0
- package/dist/web/assets/Regression-krYLUFdO.js +5 -0
- package/dist/web/assets/Reports-Bl3L0zPe.js +2 -0
- package/dist/web/assets/Response-C66KATyo.js +4 -0
- package/dist/web/assets/Runs-Bq23Zfkc.js +2 -0
- package/dist/web/assets/Shell-2xDxqPtD.js +4 -0
- package/dist/web/assets/TestCases-DvusfxET.js +1 -0
- package/dist/web/assets/TestData-Y9MWzPfm.js +2 -0
- package/dist/web/assets/Tosca-DPI6ewM-.js +2 -0
- package/dist/web/assets/{WhatsNew-7O1MlqCy.js → WhatsNew-Cix_kO-M.js} +1 -1
- package/dist/web/assets/{dataParts-0a9Sjn2u.js → dataParts-DGQaavWq.js} +3 -3
- package/dist/web/assets/families-DWe5Tf6V.js +1 -0
- package/dist/web/assets/index-CAbuIKyt.js +45 -0
- package/dist/web/assets/index-Dj77NVTf.css +2 -0
- package/dist/web/assets/{logos-BnPN8M-S.js → logos-UHk_LNd_.js} +1 -1
- package/dist/web/assets/{parts-mP2z3tbH.js → parts-6yv4V1GV.js} +1 -1
- package/dist/web/assets/productParts-DlC0tpuk.js +1 -0
- package/dist/web/assets/qualityParts-BSTx-oHr.js +1 -0
- package/dist/web/assets/segmented-7nur8ck_.js +1 -0
- package/dist/web/assets/{thread-DLf1W085.js → thread-RtF8vcSJ.js} +2 -2
- package/dist/web/assets/usePageChat-Btkpy-DG.js +1 -0
- package/dist/web/index.html +3 -3
- package/docs/CONTAINERS.md +4 -0
- package/docs/MODEL_ROUTING.md +2 -2
- package/docs/WEB_APP.md +37 -7
- package/docs/demo-qi-commerce.md +2 -0
- package/docs/user-guide.html +15 -4
- package/package.json +2 -2
- package/prompts/README.md +1 -0
- package/prompts/bug-report.md +76 -0
- package/py/forgeqe_engine/browser.py +68 -3
- package/dist/web/assets/Agent-DU51Em-3.js +0 -4
- package/dist/web/assets/ApiTests-D6YhbfPF.js +0 -10
- package/dist/web/assets/Chat-CQsQvyDs.js +0 -3
- package/dist/web/assets/Data-Djj0u25X.js +0 -3
- package/dist/web/assets/Evidence-R2GZ5yW9.js +0 -1
- package/dist/web/assets/Features-C1qvr-oy.js +0 -1
- package/dist/web/assets/Jobs-BOr2nkQa.js +0 -5
- package/dist/web/assets/KindPage-CB2gMzhI.js +0 -6
- package/dist/web/assets/Migration-71lvv1zU.js +0 -2
- package/dist/web/assets/Product-BAQtMlzO.js +0 -7
- package/dist/web/assets/Quality-DeUvoOND.js +0 -1
- package/dist/web/assets/Record-CPjgxHRX.js +0 -2
- package/dist/web/assets/Regression-D8V0CNAw.js +0 -5
- package/dist/web/assets/Reports-Bhv6gqFl.js +0 -2
- package/dist/web/assets/Response-CXyWQxrt.js +0 -4
- package/dist/web/assets/Runs-Ba8X4nId.js +0 -2
- package/dist/web/assets/Shell-BoXDubsc.js +0 -3
- package/dist/web/assets/TestCases-DEciDMh1.js +0 -1
- package/dist/web/assets/TestData-DY6MVYdx.js +0 -2
- package/dist/web/assets/Tosca-BzNnPm0_.js +0 -2
- package/dist/web/assets/index-C9TchKsF.css +0 -2
- package/dist/web/assets/index-DcmN4YB2.js +0 -43
- package/dist/web/assets/productParts-B2wO-b1i.js +0 -1
- package/dist/web/assets/qualityParts-ByR8_rNE.js +0 -1
- package/dist/web/assets/segmented-BZcnZadS.js +0 -1
- package/dist/web/assets/usePageChat-lpZh_ziF.js +0 -1
- 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
|
|
104
|
-
▚▄▄▞
|
|
104
|
+
█▀▀█ Bug reporter ▟██▙ DB agent
|
|
105
|
+
▙▟▙▟ ▚▄▄▞
|
|
105
106
|
|
|
106
|
-
▄▟▙▄ Model profiler
|
|
107
|
-
▙▖ ▙
|
|
107
|
+
▐█▙ Judge ▄▟▙▄ Model profiler
|
|
108
|
+
▄▖▝▙ ▙▖ ▙
|
|
108
109
|
|
|
109
|
-
▛▀█▖ Scenario drafter
|
|
110
|
-
▙█▄▌
|
|
110
|
+
█ █ Content judge ▛▀█▖ Scenario drafter
|
|
111
|
+
▞ ▞ ▙█▄▌
|
|
111
112
|
|
|
112
|
-
▗▜▛▖ Investigator
|
|
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 = "...")
|
|
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
|
|
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"><
|
|
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
|
|
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>
|