@capagents/forgeqe 2.6.2 → 2.6.3

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 (87) hide show
  1. package/HOW_TO_USE.md +201 -13
  2. package/README.md +4 -2
  3. package/THIRD_PARTY_NOTICES.md +9 -0
  4. package/dist/docs-site/docs/architecture/index.html +2 -1
  5. package/dist/docs-site/docs/index.html +188 -10
  6. package/dist/docs-site/docs/search.js +1 -1
  7. package/dist/docs-site/docs/web-app/index.html +35 -6
  8. package/dist/forgeqe.js +1316 -1145
  9. package/dist/template.html +64 -64
  10. package/dist/web/assets/Agent-yd1DyMzR.js +4 -0
  11. package/dist/web/assets/ApiTests-BwOGta9J.js +10 -0
  12. package/dist/web/assets/Chat-P8GH_6gl.js +3 -0
  13. package/dist/web/assets/Data-D2iCqk3t.js +3 -0
  14. package/dist/web/assets/Features-Bu38clxs.js +1 -0
  15. package/dist/web/assets/Jobs-DymuaGeN.js +5 -0
  16. package/dist/web/assets/KindPage-zl6TBkEl.js +6 -0
  17. package/dist/web/assets/Migration-Cg_FUqS_.js +2 -0
  18. package/dist/web/assets/Quality-D3bSHP_B.js +1 -0
  19. package/dist/web/assets/Record-DkCLJos6.js +2 -0
  20. package/dist/web/assets/Regression-B2qMKjAE.js +5 -0
  21. package/dist/web/assets/Reports-D_G9yfDa.js +2 -0
  22. package/dist/web/assets/Response-BnPAefP-.js +4 -0
  23. package/dist/web/assets/Runs-DsDj9-LT.js +2 -0
  24. package/dist/web/assets/Shell-DlZHZN0d.js +3 -0
  25. package/dist/web/assets/TestData-qI1R5Q9v.js +2 -0
  26. package/dist/web/assets/WhatsNew-CoCHqSDm.js +1 -0
  27. package/dist/web/assets/accessibility-CH8EpEAV.svg +1 -0
  28. package/dist/web/assets/{arrow-down-BX18RHKM.js → arrow-down-BWCXlJU0.js} +1 -1
  29. package/dist/web/assets/arrow-right-CdxkQBV7.js +1 -0
  30. package/dist/web/assets/{bot-CLgiKzu9.js → bot-D8486kSA.js} +1 -1
  31. package/dist/web/assets/capgemini-mark-D6aZFnD3.png +0 -0
  32. package/dist/web/assets/chevron-up-CQz_ZmIK.js +1 -0
  33. package/dist/web/assets/circle-BqXBUsQS.js +1 -0
  34. package/dist/web/assets/{circle-dashed-CtRp9sew.js → circle-dashed-DlOiCbWD.js} +1 -1
  35. package/dist/web/assets/dataParts-bwNleJYd.js +3 -0
  36. package/dist/web/assets/forgeqe-logo-D3CwM2Jl.png +0 -0
  37. package/dist/web/assets/forgeqe-logo-white-CoE-hF2l.png +0 -0
  38. package/dist/web/assets/forgeqe-mark-ZLd4S3hw.png +0 -0
  39. package/dist/web/assets/index-Bh4NBbEU.js +37 -0
  40. package/dist/web/assets/index-DkgUrjyL.css +2 -0
  41. package/dist/web/assets/keyboard-wpCM6HMa.js +1 -0
  42. package/dist/web/assets/qualityParts-iy-mouSI.js +1 -0
  43. package/dist/web/assets/{thread-Y9TDe1cr.js → thread-BfW2V-2U.js} +1 -1
  44. package/dist/web/assets/upload-CwExsxOd.js +1 -0
  45. package/dist/web/assets/usePageChat-CzWbP_sa.js +1 -0
  46. package/dist/web/index.html +3 -3
  47. package/docs/ARCHITECTURE.md +2 -1
  48. package/docs/WEB_APP.md +36 -6
  49. package/docs/security-data-flow.html +3 -3
  50. package/docs/user-guide.html +188 -10
  51. package/forgeqe.example.yaml +8 -2
  52. package/package.json +5 -3
  53. package/prompts/api-tests.md +1 -1
  54. package/prompts/brain.md +8 -0
  55. package/prompts/browser-persona.md +14 -0
  56. package/prompts/db-agent.md +73 -0
  57. package/prompts/heal.md +1 -1
  58. package/prompts/migrate.md +54 -0
  59. package/prompts/test-agent.md +1 -0
  60. package/py/forgeqe_engine/cli.py +9 -1
  61. package/py/forgeqe_engine/copilot_gateway.py +162 -9
  62. package/py/forgeqe_engine/persona.py +435 -0
  63. package/py/forgeqe_engine/proceed.py +67 -0
  64. package/py/forgeqe_engine/service.py +93 -11
  65. package/skills/test-data/SKILL.md +4 -0
  66. package/dist/web/assets/Agent-CTDTMH3D.js +0 -3
  67. package/dist/web/assets/ApiTests-l1gZ56fZ.js +0 -10
  68. package/dist/web/assets/Chat-Dikg6l8H.js +0 -3
  69. package/dist/web/assets/Data-BwECmGVi.js +0 -4
  70. package/dist/web/assets/Features-B79B8aw4.js +0 -1
  71. package/dist/web/assets/Jobs-B0viFhNH.js +0 -5
  72. package/dist/web/assets/Quality-CjFsnbA2.js +0 -1
  73. package/dist/web/assets/Record-B-Eh1bgA.js +0 -2
  74. package/dist/web/assets/Regression-B7l83v3z.js +0 -5
  75. package/dist/web/assets/Reports-BuUlCohG.js +0 -2
  76. package/dist/web/assets/Response-BS_RT6Qd.js +0 -4
  77. package/dist/web/assets/Runs-C7TPphyI.js +0 -2
  78. package/dist/web/assets/Shell-Vg5t8ZK3.js +0 -3
  79. package/dist/web/assets/accessibility-BSaq_4Me.svg +0 -1
  80. package/dist/web/assets/capgemini-BO8ajcbd.svg +0 -21
  81. package/dist/web/assets/capgemini-white-ByjwPW8N.svg +0 -21
  82. package/dist/web/assets/circle-BF-xM9LZ.js +0 -1
  83. package/dist/web/assets/index-CDCzsK2N.css +0 -2
  84. package/dist/web/assets/index-DR8clS1u.js +0 -26
  85. package/dist/web/assets/markdown-CBbHCXbg.js +0 -10
  86. package/dist/web/assets/trending-up-DMQnalkJ.js +0 -1
  87. package/dist/web/assets/usePageChat-CSLmKGMO.js +0 -1
@@ -158,8 +158,8 @@ or in Models (below).</li>
158
158
  </ol>
159
159
  <p><strong>Dark mode.</strong> Each person chooses for their own browser: <strong>Dark/Light</strong> in the sidebar's footer moves through
160
160
  System (as the computer is set), Light and Dark, and Settings › Appearance › <strong>Colour mode</strong> has all three. In dark mode
161
- the page and the default sidebar go dark, links and the accent are lightened so they read, code is coloured for a dark
162
- page, and logos drawn in black turn white. A project's own sidebar colour (Appearance) stays the brand's.</p>
161
+ the page and the sidebar go dark, links and the accent are lightened so they read, code is coloured for a dark
162
+ page, and logos drawn in black turn white. A project's own sidebar colour (Appearance) is for light mode.</p>
163
163
  <p><strong>Signing in to GitHub Copilot</strong> (Set up, and Settings › Models › Sign-ins) does what <code>forgeqe auth login copilot</code>
164
164
  does. <strong>Sign in with GitHub</strong> runs GitHub's own Copilot CLI sign-in (downloaded the first time): the page shows
165
165
  GitHub's link with <strong>Open GitHub</strong> and the one-time code with <strong>Copy</strong>, and waits while you approve on GitHub; the
@@ -191,11 +191,20 @@ and tokens of the chat and of the project, in your local currency (pounds in the
191
191
  daily rates); the background tasks running now; the files a chat changed, with <strong>Create pull request</strong>; and what it
192
192
  produced (reports, tests, recordings), under the Capgemini logo. It sits beside the page on a wide screen (1600
193
193
  pixels and up); on a laptop it opens over the page, so the page keeps its width. Where it is not beside the page, a
194
- narrow rail of its sections' icons is: one opens the panel at that section.</li>
194
+ narrow rail shows the Capgemini mark and its sections' icons: one opens the panel at that section.</li>
195
195
  </ul>
196
196
  <h2 id="home-and-a-chat"><a href="#home-and-a-chat" class="hash">#</a>Home and a chat</h2>
197
197
  <p>Home is one box: say what to test, in your words. Under it, suggestions (Run test cases, Explore a journey, Write a
198
198
  test, Review requirements) fill the box with an example; they do not send.</p>
199
+ <p><strong>The Agents page</strong> is one directory of every agent in four columns side by side, one per category (AI assisted, AI
200
+ native, Agentic, Custom agents), each with its count, a few words of what it holds and a bar of how much its agents act
201
+ on their own; the favourites come first in each. A column shows its first six agents and <strong>More agents</strong> the rest (a
202
+ search or a filter shows every match). Each agent is a row of the same size: its icon, its name with a dot of its
203
+ status, what it does in a few words, and its star; hovering it says more (what it does, why its status is what it is,
204
+ and what it reaches and may do: Browser, Repository, Databases, the systems it signs in to; Read-only, Writes files,
205
+ Runs commands or Acts on pages). The statuses are Ready; Partly set up (parts it can use are off); Needs attention (it
206
+ cannot work without something missing, such as the test repository); Unavailable (no model is ready, or the engine or
207
+ agent runtime is not installed), and the chips above filter by them or by Favourites.</p>
199
208
  <p><strong>An agent's page</strong> (Agents, in the sidebar) is the same box with the agent's icon, its name and what it does on
200
209
  top, suggestions of its own, <strong>Tools it can use</strong> (the first five groups, folded, with <strong>Show all</strong> to its tools page,
201
210
  <code>#/agents/&amp;lt;agent&gt;/tools</code>, which lists every group and tool open; its own tools with what its permissions take away, and each tool
@@ -214,7 +223,24 @@ sidebar's text colour). The row previews the look and names the icons that fade.
214
223
  <li><strong>Tools</strong>: whether this chat writes the test into the repository and shows the browser, and what comes from the
215
224
  settings (where browsers run, where test cases come from). They can be changed in a chat that has started.</li>
216
225
  <li><strong>The model</strong>: Auto routing, or one of your models.</li>
217
- <li><strong>Attach</strong>: files for the agent to read.</li>
226
+ <li><strong>Attach</strong>: the paperclip, a drop on the box, or <code>@</code> then a file name. <code>@</code> finds files in the folder the agent
227
+ works in: <code>code.repo</code> when the chat writes tests, otherwise the project folder (an open chat keeps the folder it
228
+ started in). A drop stays in the box until you send; then it is saved under that folder's <code>.forgeqe/inbox</code>
229
+ (git-ignored) for the agent to read. Removing a chip takes its <code>@name</code> out of the text, and deleting the <code>@name</code>
230
+ removes the chip. Removing the chip, or starting over without sending, does not keep a drop. Images, PDFs and text or
231
+ code files are taken, up to 8 a message; hidden files and anything named like credentials are refused. A folder can
232
+ be named too (<code>@tests/</code>), and a name with a space is written in quotes (<code>@&quot;login page.png&quot;</code>). A file on a sent
233
+ message opens in a new tab when clicked. Drops older than 14 days are removed from the inbox.</li>
234
+ <li><strong>Images</strong>: drop, paste (each paste is its own <code>pasted-&amp;lt;time&gt;</code> file) or pick any image the browser can draw: PNG,
235
+ JPEG, WebP, GIF, BMP, AVIF, SVG, ICO, and HEIC or TIFF where the browser reads them. Before it leaves the browser it
236
+ is turned as the camera held it, shrunk to at most 2048 pixels across, and drawn anew as PNG, WebP or JPEG (a photo
237
+ as JPEG), so no location, camera or other details go with it; an SVG's scripts never run. A small GIF stays as it
238
+ is, frames and all. An image may be up to 5 MB once made ready. Its chip shows a small picture; click it to see the
239
+ picture as it will be sent. An image from the repository (<code>@</code>) that models cannot take as it is, over 5 MB or in
240
+ another format, gets a converted copy in the inbox, <code>&amp;lt;name&gt;-picture.png</code>, which goes as the picture; the note names
241
+ both. Up to 8 pictures go with a message, 20 MB together, when the model takes images (a profile's <code>vision</code> in
242
+ <code>llms.json</code>; a local Ollama model does not unless it says so). If it does not, or turns them down, the agent gets the
243
+ paths only and the activity says so.</li>
218
244
  <li><strong>Refine</strong>: rewrites your request precisely against what ForgeQE knows here, in the same box, without running
219
245
  anything; Undo puts your words back.</li>
220
246
  </ul>
@@ -243,7 +269,9 @@ and Ended as filters, a search, and 50 at a time.</p>
243
269
  <tr><td><strong>Regression</strong></td><td>Regression packs for a release, in two tabs. <strong>Agent</strong>: a conversation where the agent reads the connected sources, says what is missing, asks for the details it needs (ticked off above the message box), and builds the pack. <strong>Packs</strong>: a table of the packs; a row opens the pack's page, with its numbers in one strip, the plan as a table (automated, manual, new automation, exploratory; filters, search, 50 rows a page, each row's evidence) and the release's changes, risk areas, runs and triage, history and a comparison beside it; save it, run it now or schedule it, refresh it, reuse it for the next release.</td></tr>
244
270
  <tr><td><strong>API tests</strong></td><td>Two tabs. <strong>Agent</strong>: a conversation where you paste links, cURL or details (or attach a Postman collection or an API description) and the agent makes the API's calls in folders, sends them and says what it found, each API as a card to open. <strong>Workbench</strong>: like Postman, with an agent: APIs (from a description, a Postman collection, or the calls a recorded run saw) with their calls in folders and flows on the left, exported as a Postman collection; a call open to edit and <strong>Send</strong>, its answer, and what it must answer; an environment from env.yaml and one <strong>Run</strong>. Calls that change data ask first (once, or always on a test environment). Sign in once per API, the value kept as a secret. Flows built from the API's calls, passing values on. <strong>Ask the agent</strong> writes the tests or explains a failure, on the page.</td></tr>
245
271
  <tr><td><strong>Quality</strong></td><td>What each browser run measured, as a table of runs (rules failed, critical and serious violations, slow pages, visual changes, budgets exceeded), with Trends beside it. A row opens the run's page: its numbers in one strip and three tabs, <strong>Accessibility</strong> (every failed WCAG rule with its criterion, level, elements and pages, each opening on the elements and how to fix it; the rules that passed), <strong>Performance</strong> (every page's Core Web Vitals, requests and size against the thresholds and budgets) and <strong>Visual</strong> (every page against its baseline, with the baseline, this run and the difference, and <strong>Approve as the new baseline</strong>).</td></tr>
246
- <tr><td><strong>Data</strong></td><td>Databases (read-only queries; test data only with a writable database and your confirmation), test data, and data flows.</td></tr>
272
+ <tr><td><strong>Data</strong></td><td>Databases (connection, tables, read-only queries), Ask (a question in words turned by the DB agent into a query and its rows, test data, a pytest or Playwright test script, or data checks, each kept to run again), and data flows.</td></tr>
273
+ <tr><td><strong>Agents › DB agent</strong></td><td>The databases the DB agent is connected to (test each one), each one's schema as a diagram of its tables and foreign keys, Ask, every request the agents made of it, and its tools and runs, under the composer every agent's page has.</td></tr>
274
+ <tr><td><strong>Test data</strong></td><td>Every request for test data, from any agent, a test case, the web app or a terminal: who asked, what for, when, and the answer; kept requests fetched again; specs (preview, files, insert after your confirmation) and the batches inserted.</td></tr>
247
275
  <tr><td><strong>Runs</strong></td><td>Every ForgeQE session in the project, from here, a schedule or the terminal: 25 to a page with filters. A run shows its summary, the conversation, its activity, and its details.</td></tr>
248
276
  <tr><td><strong>Reports</strong></td><td>Every report ForgeQE wrote, each opening as its HTML report in a new tab; and the project report: every run together, with pass rate by day, what fails most, flaky cases and defects.</td></tr>
249
277
  <tr><td><strong>Jobs</strong></td><td>Scheduled and long jobs (the jobs service), in two tabs. <strong>Agent</strong>: say what should run and when; the agent asks for what it still needs (what runs, when, its name, alerts), shows the job and adds it once you confirm its exact command and schedule. <strong>Jobs</strong>: a table of the jobs (what each runs, when in words, its last run and next run); a row opens the job with its runs, logs and alerts. <em>Add one yourself</em> is the form.</td></tr>
@@ -269,7 +297,8 @@ See <a href="../index.html#doc-how_to_use-reports-from-the-agent">Reports from t
269
297
  <p><strong>Appearance</strong> gives the web app the project's look, for everyone who opens it: a logo (PNG, JPEG, WebP or SVG) and
270
298
  a name for the sidebar, the sidebar's colour (primary, with an optional second colour it fades into), and the colour
271
299
  of buttons, links and selection (secondary), with lighter and darker shades made from it. The page itself stays white,
272
- and text on each colour turns white or dark so it reads; the section shows the contrast. A square or round logo
300
+ or dark in dark mode (the sidebar follows), and text on each colour turns white or dark so it reads; the section shows
301
+ the contrast. The sidebar colour is for light mode. A square or round logo
273
302
  shows with the name beside it, a wide one alone; <strong>Logo frame</strong> keeps it as it is, rounds its corners, cuts a square
274
303
  one to a circle, or puts it on a white tile (for a dark logo on a dark sidebar); <strong>Logo size</strong> Large gives a wide logo
275
304
  the whole top of the sidebar, for one whose words are small. <strong>Small logo</strong> is the square or round one the narrow