@capagents/forgeqe 3.2.2 → 3.2.4
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 +9 -1
- package/dist/docs-site/docs/area-api/index.html +1 -1
- package/dist/docs-site/docs/get-started/index.html +7 -0
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +1836 -1832
- package/dist/web/assets/{3d-force-graph-CTC0tr_c.js → 3d-force-graph-iP39yI0v.js} +1 -1
- package/dist/web/assets/{Agent-wRS-AWzy.js → Agent-COXI7WgW.js} +6 -6
- package/dist/web/assets/{AgentWork-GXWfoD_Z.js → AgentWork-LD5CQxet.js} +1 -1
- package/dist/web/assets/ApiTests-Dpwqmpr1.js +14 -0
- package/dist/web/assets/{Browse-B5RXYaB5.js → Browse-DIcTvI-C.js} +1 -1
- package/dist/web/assets/Chat-DNw_jYbD.js +3 -0
- package/dist/web/assets/{CommandPalette-BipNmH6a.js → CommandPalette-B6QRxOka.js} +1 -1
- package/dist/web/assets/{Compare-FHtKxtLJ.js → Compare-hz0ft2yP.js} +1 -1
- package/dist/web/assets/Cost-C231Bf_A.js +1 -0
- package/dist/web/assets/{Data-Ctg96el3.js → Data-DODs050c.js} +3 -3
- package/dist/web/assets/Desktop-CUV43rdi.js +1 -0
- package/dist/web/assets/DesktopReview-WEIFBq-L.js +2 -0
- package/dist/web/assets/{DeviceScreen-CoArZGyY.js → DeviceScreen-ClPTc5Ot.js} +1 -1
- package/dist/web/assets/{Evidence-D_90W10z.js → Evidence-DhN_bTZ-.js} +1 -1
- package/dist/web/assets/{Explore-CD7Mq4il.js → Explore-CjowiWJe.js} +2 -2
- package/dist/web/assets/{Features-CLHC2bGL.js → Features-BnagyBie.js} +1 -1
- package/dist/web/assets/Flags-DlkY7U4M.js +2 -0
- package/dist/web/assets/{Flaky-Bzt9VcYv.js → Flaky-BkD01mRw.js} +1 -1
- package/dist/web/assets/Impact-BM4_vIEv.js +3 -0
- package/dist/web/assets/Jobs-U9kJUVM9.js +5 -0
- package/dist/web/assets/{KindPage-CJcRnrTe.js → KindPage-BkK5AQw0.js} +3 -3
- package/dist/web/assets/{LiveDevice-BP47IrPa.js → LiveDevice-Bjc2r797.js} +1 -1
- package/dist/web/assets/{Migration-BaVfcEYa.js → Migration-BDDE_0TS.js} +5 -5
- package/dist/web/assets/{Mobile-CLoZlBuq.js → Mobile-D2qAF8X5.js} +1 -1
- package/dist/web/assets/{Observability-CaRIhlKg.js → Observability-CLFC0ze7.js} +1 -1
- package/dist/web/assets/PageAgent-Dz5CuEUe.js +1 -0
- package/dist/web/assets/{Product-BdY0j-z8.js → Product-DkEI-0vu.js} +4 -4
- package/dist/web/assets/Production-CgfLjbSa.js +1 -0
- package/dist/web/assets/Quality-8E667GJi.js +1 -0
- package/dist/web/assets/{Readiness-D4nY3Nr1.js → Readiness-Bbkq2lNV.js} +1 -1
- package/dist/web/assets/Record-JR4HeyTe.js +1 -0
- package/dist/web/assets/{Regression-DhNAgDgD.js → Regression-_9u6qDMk.js} +3 -3
- package/dist/web/assets/{RelationGraph-UXFyQOKO.js → RelationGraph-BnhbeI6t.js} +1 -1
- package/dist/web/assets/{Reports-D4-y2w-2.js → Reports-DxjHb0vA.js} +2 -2
- package/dist/web/assets/Response-BvQV20vS.js +9 -0
- package/dist/web/assets/{Responsive-DljiUZXJ.js → Responsive-DNC31nTr.js} +2 -2
- package/dist/web/assets/{RunDiff-DjUiMBsq.js → RunDiff-BXqh9adv.js} +1 -1
- package/dist/web/assets/Runs-PsPMVpQl.js +2 -0
- package/dist/web/assets/{Settings-CD1RbHXf.js → Settings-DEOCWX5o.js} +15 -15
- package/dist/web/assets/{Steps-DG1WYfYK.js → Steps-C18OGSAM.js} +3 -3
- package/dist/web/assets/{TestCases-BfZzshUI.js → TestCases-MIOqrvt0.js} +1 -1
- package/dist/web/assets/TestData-DtPsGVwq.js +2 -0
- package/dist/web/assets/TestDebt-C8zEVY4j.js +1 -0
- package/dist/web/assets/TestManagement-cXbBFksQ.js +4 -0
- package/dist/web/assets/{WhatsNew-ZorWOqDL.js → WhatsNew-vGPOJXT2.js} +1 -1
- package/dist/web/assets/{dataParts-CeMHTXLx.js → dataParts-D08j24QD.js} +2 -2
- package/dist/web/assets/{desktopAppPath-BVJxel_D.js → desktopAppPath-DyQr1aFk.js} +1 -1
- package/dist/web/assets/{diff-BXu8cULX.js → diff-CVufIkRR.js} +1 -1
- package/dist/web/assets/{highlight-Cd5aQvev.js → highlight-BpaRxd70.js} +1 -1
- package/dist/web/assets/index-FhirFP-O.css +2 -0
- package/dist/web/assets/{index-F95avSUY.js → index-q1r33z9g.js} +12 -12
- package/dist/web/assets/input-ChhA0xMm.js +1 -0
- package/dist/web/assets/{pageBack-BNLSF2VR.js → pageBack-Dhl5PHZE.js} +1 -1
- package/dist/web/assets/{palette-BS9ixqiJ.js → palette-CpGAHix6.js} +1 -1
- package/dist/web/assets/{paletteCommands-DferMQDH.js → paletteCommands-Der7qNEc.js} +1 -1
- package/dist/web/assets/{parts-69Ei7EPi.js → parts-eyvIPENF.js} +1 -1
- package/dist/web/assets/{productParts-PERPm-xD.js → productParts-2Y8IjOa0.js} +1 -1
- package/dist/web/assets/{qualityParts-BRZOCiQs.js → qualityParts-CdoLEG3a.js} +1 -1
- package/dist/web/assets/{recordTest-DVJCNI0y.js → recordTest-vps_1X_-.js} +1 -1
- package/dist/web/assets/{stepper-t0O_8eQo.js → stepper-Cb6rnj2p.js} +1 -1
- package/dist/web/index.html +5 -5
- package/docs/user-guide.html +8 -1
- package/package.json +1 -1
- package/prompts/brain.md +1 -1
- package/py/forgeqe_engine/copilot_gateway.py +81 -2
- package/py/forgeqe_engine/copilot_models.py +37 -1
- package/py/forgeqe_engine/llm.py +10 -1
- package/py/forgeqe_engine/recordsession.py +2 -2
- package/py/forgeqe_engine/webrecord.py +9 -3
- package/py/forgeqe_engine/webrecord_page.py +87 -10
- package/dist/web/assets/ApiTests-BH_mbOVX.js +0 -10
- package/dist/web/assets/Chat-CVF0hHdk.js +0 -3
- package/dist/web/assets/Cost-BDwt86M-.js +0 -1
- package/dist/web/assets/Desktop-B2k0qH7c.js +0 -1
- package/dist/web/assets/DesktopReview-CE65JglI.js +0 -2
- package/dist/web/assets/Flags-FpR9O_13.js +0 -2
- package/dist/web/assets/Impact-BC8w7uQ5.js +0 -3
- package/dist/web/assets/Jobs-DeBncFIN.js +0 -5
- package/dist/web/assets/PageAgent-C_oSStNT.js +0 -1
- package/dist/web/assets/Production-BhDff1v6.js +0 -1
- package/dist/web/assets/Quality-EATW3zGE.js +0 -1
- package/dist/web/assets/Record-CIf6M72U.js +0 -1
- package/dist/web/assets/Response-CpHrRtzJ.js +0 -9
- package/dist/web/assets/Runs-DC0tJWvX.js +0 -2
- package/dist/web/assets/TestData-BoyXYHtp.js +0 -2
- package/dist/web/assets/TestDebt-CX1XT-CA.js +0 -1
- package/dist/web/assets/TestManagement-BTdMN3Bl.js +0 -4
- package/dist/web/assets/index-CgpH1pj9.css +0 -2
- package/dist/web/assets/input-BmJ7dt1C.js +0 -1
package/HOW_TO_USE.md
CHANGED
|
@@ -232,7 +232,7 @@ forgeqe features # or /features in the shell; --config forgeqe.yaml
|
|
|
232
232
|
| Automated tests | **Flaky test detection and quarantine**: Finds tests that flip between passing and failing in the repository's run history, with their likely cause, and quarantines them once the user agrees. | `flaky_tests`, `quarantine_tests` | [docs](#flaky-tests) |
|
|
233
233
|
| Pull requests | **Review pull requests**: Reviews an Azure DevOps or GitHub pull request from the local clone for bugs, security, requirements, and tests, and posts the review once the user agrees. | `review_pull_request`, `post_pr_review` | [docs](#reviewing-pull-requests) |
|
|
234
234
|
| Pull requests | **Pull request impact and test selection**: Works out which product areas, pages, requirements, and tests a pull request touches, picks the tests it can break, runs them, and posts the impact or results on the pull request once the user agrees. | `analyze_pr_impact`, `select_pr_tests`, `post_pr_test_results`, `comment_on_pr` | [docs](#what-a-pull-request-impacts-in-the-product) |
|
|
235
|
-
| API | **API and contract testing**: Builds API contracts (status, schema, key fields) from the calls a browser run saw or from an API description (OpenAPI, Swagger, WSDL, GraphQL, .proto, gRPC reflection), and end-to-end API scenarios from runs, descriptions, test cases, or plain English. Runs them straight against the API without a browser, or writes them as tests in the repository. REST, GraphQL (with subscriptions), SOAP, gRPC (with streaming), WebSocket and Server-Sent Events. Comparing runs of one flow learns which values are parameters; contracts that stop passing after the app changed are learned again from a newer run, kept only when a replay passes and a person agrees. A mock server built from the contracts. | `api_contracts`, `run_api_contracts`, `heal_api_contracts`, `api_scenarios`, `run_api_scenarios`, `write_api_tests`, `api_find_calls`, `api_new_set`, `api_add_calls`, `api_rename_folder`, `api_move_calls`, `api_delete_set`, `api_import_collection` | [docs](#api-and-contract-tests) |
|
|
235
|
+
| API | **API and contract testing**: Builds API contracts (status, schema, key fields) from the calls a browser run saw or from an API description (OpenAPI, Swagger, WSDL, GraphQL, .proto, gRPC reflection), and end-to-end API scenarios from runs, descriptions, test cases, or plain English. Runs them straight against the API without a browser, or writes them as tests in the repository. REST, GraphQL (with subscriptions), SOAP, gRPC (with streaming), WebSocket and Server-Sent Events. Comparing runs of one flow learns which values are parameters; contracts that stop passing after the app changed are learned again from a newer run, kept only when a replay passes and a person agrees. A mock server built from the contracts. | `api_contracts`, `run_api_contracts`, `heal_api_contracts`, `api_scenarios`, `run_api_scenarios`, `write_api_tests`, `api_find_calls`, `api_new_set`, `api_add_calls`, `api_rename_folder`, `api_move_calls`, `api_delete_set`, `api_sign_in`, `api_import_collection` | [docs](#api-and-contract-tests) |
|
|
236
236
|
| API | **API load and security checks**: Load and latency testing of a contract set's read-only calls (virtual users, percentiles, throughput and error rate against limits), and robustness and API-security checks (OWASP API Top 10): malformed input, calls without credentials, leaked errors, mass assignment and missing security headers. | `run_api_load`, `run_api_security` | [docs](#api-and-contract-tests) |
|
|
237
237
|
| Quality | **Accessibility and page performance**: Checks every page a run visits against WCAG rules and measures its Core Web Vitals, against budgets, with trends over time per page. | `quality_report`, `quality_trends` | [docs](#accessibility-and-performance-budgets) |
|
|
238
238
|
| Quality | **Accessibility testing with personas**: A browser agent does a goal as a person with a disability would (a blind screen reader user, keyboard only, low vision, colour blind, cognitive, or the project's own personas) and records each barrier with its WCAG criterion and severity. Not functional testing. | `accessibility_test`, `accessibility_personas` | [docs](#accessibility-testing-with-personas) |
|
|
@@ -689,6 +689,14 @@ computer, for the sign-in and for chats and runs, and says so. To get the newer
|
|
|
689
689
|
`release-assets.githubusercontent.com`, or set `FORGEQE_GITHUB_MIRROR` to your company's GitHub mirror. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
|
|
690
690
|
rather than trying another model.
|
|
691
691
|
|
|
692
|
+
**When Copilot's server cannot be reached.** Every model is reached at the same address
|
|
693
|
+
(`api.business.githubcopilot.com` for a business seat), so when a request cannot be sent there at all, ForgeQE does not
|
|
694
|
+
blame the model or switch to another. A company network or proxy that limits uploads there lets text through but not a
|
|
695
|
+
request carrying a browser screenshot; ForgeQE then sends the next screenshots smaller (JPEG, at most 1024 pixels
|
|
696
|
+
across), and if those do not get through either, none at all (the browser agent works from the page's text). It says so
|
|
697
|
+
in the run, keeps it for an hour in `~/.forgeqe/copilot/model-health.json`, and then tries full screenshots again. To get
|
|
698
|
+
full screenshots back, ask IT to allow uploads to that address.
|
|
699
|
+
|
|
692
700
|
**Behind a company proxy.** ForgeQE reaches Copilot over plain HTTPS. Copilot can use WebSockets for some models, which
|
|
693
701
|
many company proxies break, leaving requests unanswered; ForgeQE turns them off, as each request is a new Copilot
|
|
694
702
|
session anyway. To turn them on, set `FORGEQE_COPILOT_WEBSOCKETS=1`.
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Turn the last run's API calls into tests</li><li>Test the API in openapi.yaml</li><li>Write API scenario tests for the order lifecycle</li><li>Import our Postman collection and send its calls</li><li>Add these cURL calls to the shop API</li><li>Heal the API contracts from the latest run</li></ul></div>
|
|
128
128
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Quill: a live model profile (or code.model), and what forgeqe setup installs for it</span></li></ul></div>
|
|
129
129
|
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Calls that change data run only when the user allows them, on a test environment, never production; healing never replays them.</li><li>A contract that fails can be a real defect: healing proposes a new version, and a person decides.</li></ul></div>
|
|
130
|
-
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>api_contracts</code> <code>run_api_contracts</code> <code>heal_api_contracts</code> <code>api_scenarios</code> <code>run_api_scenarios</code> <code>write_api_tests</code> <code>api_find_calls</code> <code>api_new_set</code> <code>api_add_calls</code> <code>api_rename_folder</code> <code>api_move_calls</code> <code>api_delete_set</code> <code>api_import_collection</code></p></div>
|
|
130
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>api_contracts</code> <code>run_api_contracts</code> <code>heal_api_contracts</code> <code>api_scenarios</code> <code>run_api_scenarios</code> <code>write_api_tests</code> <code>api_find_calls</code> <code>api_new_set</code> <code>api_add_calls</code> <code>api_rename_folder</code> <code>api_move_calls</code> <code>api_delete_set</code> <code>api_sign_in</code> <code>api_import_collection</code></p></div>
|
|
131
131
|
</div>
|
|
132
132
|
|
|
133
133
|
</article>
|
|
@@ -382,6 +382,13 @@ fails (a company network or proxy that blocks GitHub's downloads), ForgeQE keeps
|
|
|
382
382
|
computer, for the sign-in and for chats and runs, and says so. To get the newer one, allow <code>github.com</code> and
|
|
383
383
|
<code>release-assets.githubusercontent.com</code>, or set <code>FORGEQE_GITHUB_MIRROR</code> to your company's GitHub mirror. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
|
|
384
384
|
rather than trying another model.</p>
|
|
385
|
+
<p><strong>When Copilot's server cannot be reached.</strong> Every model is reached at the same address
|
|
386
|
+
(<code>api.business.githubcopilot.com</code> for a business seat), so when a request cannot be sent there at all, ForgeQE does not
|
|
387
|
+
blame the model or switch to another. A company network or proxy that limits uploads there lets text through but not a
|
|
388
|
+
request carrying a browser screenshot; ForgeQE then sends the next screenshots smaller (JPEG, at most 1024 pixels
|
|
389
|
+
across), and if those do not get through either, none at all (the browser agent works from the page's text). It says so
|
|
390
|
+
in the run, keeps it for an hour in <code>~/.forgeqe/copilot/model-health.json</code>, and then tries full screenshots again. To get
|
|
391
|
+
full screenshots back, ask IT to allow uploads to that address.</p>
|
|
385
392
|
<p><strong>Behind a company proxy.</strong> ForgeQE reaches Copilot over plain HTTPS. Copilot can use WebSockets for some models, which
|
|
386
393
|
many company proxies break, leaving requests unanswered; ForgeQE turns them off, as each request is a new Copilot
|
|
387
394
|
session anyway. To turn them on, set <code>FORGEQE_COPILOT_WEBSOCKETS=1</code>.</p>
|