@capagents/forgeqe 2.4.5 → 2.4.7

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 (52) hide show
  1. package/HOW_TO_USE.md +21 -1
  2. package/dist/docs-site/docs/index.html +24 -3
  3. package/dist/docs-site/docs/search.js +1 -1
  4. package/dist/docs-site/docs/web-app/index.html +19 -3
  5. package/dist/forgeqe.js +1006 -1044
  6. package/dist/template.html +4 -4
  7. package/dist/web/assets/ApiTests-D5YLst-t.js +2 -0
  8. package/dist/web/assets/Chat-DUZawyA0.js +3 -0
  9. package/dist/web/assets/{Data-M-G4Y2k9.js → Data-BOu8BrmB.js} +4 -4
  10. package/dist/web/assets/Features-BCBzUoB7.js +1 -0
  11. package/dist/web/assets/Jobs-C-Tqj504.js +3 -0
  12. package/dist/web/assets/Quality-CzCArgrj.js +1 -0
  13. package/dist/web/assets/Record-CcHMCfs6.js +1 -0
  14. package/dist/web/assets/Regression-CgiNh2hj.js +2 -0
  15. package/dist/web/assets/Reports-CXRY0udx.js +2 -0
  16. package/dist/web/assets/Response-VUbDhVeF.js +8 -0
  17. package/dist/web/assets/Runs-kghxBY8X.js +2 -0
  18. package/dist/web/assets/capgemini-BO8ajcbd.svg +21 -0
  19. package/dist/web/assets/{circle-dashed-ODPnEo8f.js → circle-dashed-CQKCycSk.js} +1 -1
  20. package/dist/web/assets/{external-link-S8aL0KIN.js → external-link-B45wnQ3R.js} +1 -1
  21. package/dist/web/assets/{file-chart-column-increasing-D6q2iZ64.js → file-chart-column-increasing-9rCBQxTk.js} +1 -1
  22. package/dist/web/assets/frame-CHQgOaj6.js +3 -0
  23. package/dist/web/assets/index-CwX6YH3i.css +2 -0
  24. package/dist/web/assets/index-Hd8gmpz5.js +26 -0
  25. package/dist/web/assets/{markdown-4IJa7wkI.js → markdown-BPBR6Fva.js} +7 -7
  26. package/dist/web/assets/{sticky-note-i4oBl2S1.js → sticky-note-D_lJfPYH.js} +1 -1
  27. package/dist/web/assets/{terminal-Cb_EtWVl.js → terminal-BZSHVR9y.js} +1 -1
  28. package/dist/web/assets/{trending-up-Cxt0Wl0_.js → trending-up-Bypj2D7Z.js} +1 -1
  29. package/dist/web/index.html +3 -3
  30. package/docs/WEB_APP.md +20 -3
  31. package/docs/user-guide.html +24 -3
  32. package/docs/walkthrough/hotfix-narration.md +606 -0
  33. package/docs/walkthrough/index.html +238 -39
  34. package/forgeqe.example.yaml +13 -0
  35. package/package.json +1 -1
  36. package/prompts/brain.md +1 -0
  37. package/py/forgeqe_mobile/hyperexecute.py +1 -0
  38. package/dist/web/assets/ApiTests-BKeFkLyV.js +0 -2
  39. package/dist/web/assets/Chat-dwxejH0o.js +0 -3
  40. package/dist/web/assets/Features-EJv_T9B8.js +0 -1
  41. package/dist/web/assets/Jobs-5A8NDMou.js +0 -3
  42. package/dist/web/assets/Quality-DIhsU907.js +0 -1
  43. package/dist/web/assets/Record-D7BkDgkZ.js +0 -1
  44. package/dist/web/assets/Regression-CbnOqFND.js +0 -2
  45. package/dist/web/assets/Reports-Duxt7oC1.js +0 -2
  46. package/dist/web/assets/Response-B2lhSJ1u.js +0 -8
  47. package/dist/web/assets/Runs-6M-obw2F.js +0 -2
  48. package/dist/web/assets/frame-pVqMQRrR.js +0 -3
  49. package/dist/web/assets/index-BAI8SJTX.css +0 -2
  50. package/dist/web/assets/index-Cu314_Zs.js +0 -26
  51. package/dist/web/assets/rotate-ccw-BgnQpY8R.js +0 -1
  52. package/dist/web/assets/trash-zYYpxA_X.js +0 -1
@@ -1 +1 @@
1
- import{sn as e}from"./frame-pVqMQRrR.js";var t={name:`sticky-note`,size:24,node:[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`,key:`1dfntj`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}]]};t.node;var n=e(t);export{n as t};
1
+ import{_n as e}from"./frame-CHQgOaj6.js";var t={name:`sticky-note`,size:24,node:[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`,key:`1dfntj`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}]]};t.node;var n=e(t);export{n as t};
@@ -1 +1 @@
1
- import{sn as e}from"./frame-pVqMQRrR.js";var t={name:`terminal`,size:24,node:[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]};t.node;var n=e(t);export{n as t};
1
+ import{_n as e}from"./frame-CHQgOaj6.js";var t={name:`terminal`,size:24,node:[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]};t.node;var n=e(t);export{n as t};
@@ -1 +1 @@
1
- import{sn as e}from"./frame-pVqMQRrR.js";var t={name:`trending-down`,size:24,node:[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]};t.node;var n=e(t),r={name:`trending-up`,size:24,node:[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]};r.node;var i=e(r);export{n,i as t};
1
+ import{_n as e}from"./frame-CHQgOaj6.js";var t={name:`trending-down`,size:24,node:[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]};t.node;var n=e(t),r={name:`trending-up`,size:24,node:[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]};r.node;var i=e(r);export{n,i as t};
@@ -5,9 +5,9 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta name="referrer" content="no-referrer" />
7
7
  <title>ForgeQE</title>
8
- <script type="module" crossorigin src="/assets/index-Cu314_Zs.js"></script>
9
- <link rel="modulepreload" crossorigin href="/assets/frame-pVqMQRrR.js">
10
- <link rel="stylesheet" crossorigin href="/assets/index-BAI8SJTX.css">
8
+ <script type="module" crossorigin src="/assets/index-Hd8gmpz5.js"></script>
9
+ <link rel="modulepreload" crossorigin href="/assets/frame-CHQgOaj6.js">
10
+ <link rel="stylesheet" crossorigin href="/assets/index-CwX6YH3i.css">
11
11
  </head>
12
12
  <body>
13
13
  <div id="root"></div>
package/docs/WEB_APP.md CHANGED
@@ -12,7 +12,8 @@ forgeqe web # in a project folder, or anywhere
12
12
  ```
13
13
 
14
14
  It opens in your default browser and prints its address, such as `http://127.0.0.1:53817/#token=…`. In CI, on a Linux
15
- machine without a desktop, or with `--no-open`, it only prints the address: open it yourself. The page keeps the token
15
+ machine without a desktop, or with `--no-open`, it only prints the address: open it yourself. When it does not open the
16
+ browser, or the browser could not be opened, the next line says why. The page keeps the token
16
17
  for that browser tab only; another tab, or the page after the token is gone, says it is signed out: open the printed
17
18
  address again. Ctrl+C in the terminal stops it.
18
19
 
@@ -50,11 +51,14 @@ files: each person's are in their own credential store.
50
51
  - **The sidebar, on the left.** New chat; **Work**: Home, Record, Regression, API tests, Quality, Data, Runs, Reports,
51
52
  Jobs; **Agents**: Knowledge, Memory, Guardrails, Skills, Prompts, What's ready; the recent chats with All chats; Help
52
53
  (the docs, the same pages as forgeqe.github.io/docs/ with the architecture map, served by ForgeQE itself, so they work
53
- offline) and Settings. It closes to give the page the width, and is a drawer on a phone.
54
+ offline) and Settings. It closes to a narrow rail of its icons (each named when you point at it), with the small logo
55
+ on top, to give the page the width; on a phone it is a drawer.
54
56
  - **The workspace panel, on the right.** The project, its repository and branch, and the test environment; the context
55
57
  and tokens of the chat and of the project, in your local currency (pounds in the UK, from the European Central Bank's
56
58
  daily rates); the background tasks running now; the files a chat changed, with **Create pull request**; and what it
57
- produced (reports, tests, recordings). It closes too, and opens over the page on a narrower screen.
59
+ produced (reports, tests, recordings), under the Capgemini logo. It sits beside the page on a wide screen (1600
60
+ 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
61
+ narrow rail of its sections' icons is: one opens the panel at that section.
58
62
 
59
63
  ## Home and a chat
60
64
 
@@ -121,6 +125,19 @@ Settings takes over the window: one menu on the left, with **Back to ForgeQE** a
121
125
  `forgeqe.yaml` key), and the sections under General, AI, Testing, Activity and Advanced. Each setting shows its
122
126
  `forgeqe.yaml` key under its help.
123
127
 
128
+ **Appearance** gives the web app the project's look, for everyone who opens it: a logo (PNG, JPEG, WebP or SVG) and
129
+ a name for the sidebar, the sidebar's colour (primary, with an optional second colour it fades into), and the colour
130
+ of buttons, links and selection (secondary), with lighter and darker shades made from it. The page itself stays white,
131
+ and text on each colour turns white or dark so it reads; the section shows the contrast. A square or round logo
132
+ shows with the name beside it, a wide one alone; **Logo frame** keeps it as it is, rounds its corners, cuts a square
133
+ one to a circle, or puts it on a white tile (for a dark logo on a dark sidebar); **Logo size** Large gives a wide logo
134
+ the whole top of the sidebar, for one whose words are small. **Small logo** is the square or round one the narrow
135
+ sidebar shows; without one, a square logo is used, else the name's first letter. When the logo is the sidebar's colour (its own background,
136
+ or a shape's ink), it sits on a plate that stands out from the sidebar, and the section suggests another sidebar colour. **From a website** reads a
137
+ public site's page and stylesheets and suggests its colours (its header or brand colour for the sidebar, its buttons'
138
+ for the buttons; never its logo); nothing changes until **Use these colours**. Only sites on the internet are read,
139
+ never this computer or a private network. **Choose a DESIGN.md** fills the colours from a design file. It is saved under `theme:` in `forgeqe.yaml`; **Back to ForgeQE's look** removes it.
140
+
124
141
  **Environments** lists each environment with Edit and Remove; adding or editing one opens a panel with its name,
125
142
  apps, values, secrets and **Test data** (the files its tests read, through `FORGEQE_DATA_<NAME>`). **Start from your
126
143
  team's YAML** fills the panel from YAML in any layout: **Paste** it, **Import a file** from your computer (copied into
@@ -4709,11 +4709,11 @@ mcp:
4709
4709
  </article>
4710
4710
  <article class="spec feat" id="cap-system-data">
4711
4711
  <div class="hd"><span class="mono">Systems</span><h3>Read any data in Azure DevOps, Jira, Xray, and Confluence, and open Azure DevOps pull requests</h3></div>
4712
- <p class="ds">Reads through a system's REST API what its MCP tools do not cover: pull requests and repositories, test plans and suites, classic releases, and anything else in Azure DevOps, Jira, Xray, or Confluence. Opens Azure DevOps pull requests, which the API reads cannot. Given on every turn once a system is set up, so the agent never turns to the browser or the shell for them.</p>
4712
+ <p class="ds">Reads through a system's REST API what its MCP tools do not cover: pull requests and repositories, test plans and suites, classic releases, and anything else in Azure DevOps, Jira, Xray, or Confluence. Opens Azure DevOps pull requests, which the API reads cannot. Sets a pull request reviewer as required, which the MCP server's update_reviewers cannot. Given on every turn once a system is set up, so the agent never turns to the browser or the shell for them.</p>
4713
4713
  <div class="facts">
4714
- <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Are there open pull requests in any repository of QI-Claims?</li><li>List the test plans in QI-MobileBanking with their suites</li><li>Create a pull request from demo_mai_qiclaims to main in the QI-Claims Typescript repository</li></ul></div>
4714
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Are there open pull requests in any repository of QI-Claims?</li><li>List the test plans in QI-MobileBanking with their suites</li><li>Create a pull request from demo_mai_qiclaims to main in the QI-Claims Typescript repository</li><li>Add javed@example.com as a required reviewer on PR 55</li></ul></div>
4715
4715
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>Azure DevOps or Jira or Xray or Confluence: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
4716
- <div class="fact"><span class="mono">Tools</span><p class="tools"><code>query_api</code> <code>create_ado_pull_request</code></p></div>
4716
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>query_api</code> <code>create_ado_pull_request</code> <code>set_ado_pr_reviewer</code></p></div>
4717
4717
  </div>
4718
4718
  <div class="detail"><span class="mono">In detail</span>
4719
4719
  <p class="see">See <a href="#doc-readme-azure-devops-jira-and-other-systems">Azure DevOps, Jira, and other systems</a> (from the README).</p>
@@ -4841,6 +4841,27 @@ mcp:
4841
4841
  <section class="doc" id="doc-how_to_use-13-logs-for-debugging">
4842
4842
  <h3>Logs for debugging</h3>
4843
4843
  <div class="prose"><p>Every session (<code>forgeqe start</code>, <code>run</code>, <code>suite</code>, <code>heal</code>, <code>monitor</code>, <code>code</code>, <code>mcp</code>, <code>login</code>, <code>setup</code>) writes a log to <code>.forgeqe/logs/</code> next to <code>forgeqe.yaml</code> (the newest 30 are kept). It has the versions and settings in use, what you asked, ForgeQE's agent's answers and every tool call with its result, every browser step and result, the browser engine's own log lines, and errors. Secrets are replaced before anything is written: API keys, tokens and passwords from the environment, keys in <code>llms.json</code>, and credentials you gave in a message.</p>
4844
+ <p>Each session has two files with the same events:</p>
4845
+ <ul>
4846
+ <li>
4847
+ <p><code>&lt;time&gt;-&lt;command&gt;.log</code>, to read: a header with what ran, where, with which model and settings, then one entry per
4848
+ event with the time on this computer, where it came from (<code>BROWSER</code>, <code>AGENT</code>, <code>TOOL</code>, <code>MODEL</code>, <code>RUN</code>, <code>ERROR</code>…) and
4849
+ what happened in words, its details indented below. Paths inside the project are written from it, and errors stand
4850
+ apart with a blank line around them:</p>
4851
+ <pre><code class="language-text">15:58:44 BROWSER Step 2 · Checkout
4852
+ Page https://shop.example.com/checkout
4853
+ Goal Pay with the saved card
4854
+ Action CLICK #pay
4855
+ 15:58:46 BROWSER ✗ Step 2 failed
4856
+ Error #pay not found
4857
+ </code></pre>
4858
+ </li>
4859
+ <li>
4860
+ <p><code>&lt;time&gt;-&lt;command&gt;.jsonl</code>, the same events as data, one <code>{&quot;at&quot;, &quot;kind&quot;, &quot;data&quot;}</code> object a line, for scripts and
4861
+ tools (and what ForgeQE's own pages read). Logs written before this change are one file with a line of data each,
4862
+ and are still read.</p>
4863
+ </li>
4864
+ </ul>
4844
4865
  <p>To share a session, type <code>/logs</code> in the shell (<code>/logs shots</code> adds screenshots), or run <code>forgeqe logs bundle</code> afterwards. Either writes one <code>.tar.gz</code> with the session log, the run folders it mentions (<code>run.json</code>, <code>steps.json</code>, <code>trace.md</code>, <code>resume.json</code>, <code>workflow.yaml</code>, the failure screenshot), your <code>forgeqe.yaml</code>, your profiles without keys, and the versions. <code>forgeqe logs</code> lists recent logs.</p>
4845
4866
  <p>Start with <code>--debug</code> (or set <code>FORGEQE_DEBUG=1</code>) for more: the browser engine logs at debug level, and long values such as tool results are kept whole instead of cut at 8,000 characters.</p>
4846
4867
  </div>