@capagents/forgeqe 2.4.3 → 2.4.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.
Files changed (46) hide show
  1. package/HOW_TO_USE.md +43 -4
  2. package/dist/forgeqe.js +951 -943
  3. package/dist/web/assets/ApiTests-CcCxkGF_.js +2 -0
  4. package/dist/web/assets/Chat-LTwJQfTv.js +3 -0
  5. package/dist/web/assets/Data-BB-IahMh.js +4 -0
  6. package/dist/web/assets/Features-DtoKlY0g.js +1 -0
  7. package/dist/web/assets/Jobs-D6faC6C7.js +3 -0
  8. package/dist/web/assets/Quality-CuUpXKAD.js +1 -0
  9. package/dist/web/assets/Record-DZMZbuhu.js +1 -0
  10. package/dist/web/assets/Regression-BbNaH9Pg.js +2 -0
  11. package/dist/web/assets/Reports-D3RuBF6R.js +2 -0
  12. package/dist/web/assets/Response-BEbHVFJ7.js +8 -0
  13. package/dist/web/assets/Runs-LK-9464Y.js +2 -0
  14. package/dist/web/assets/{circle-dashed-CTDl-0Bc.js → circle-dashed-BzDi4lOK.js} +1 -1
  15. package/dist/web/assets/{external-link-BkCWQrcv.js → external-link-7UCuXRch.js} +1 -1
  16. package/dist/web/assets/{file-chart-column-increasing-Drhj-0iV.js → file-chart-column-increasing-lJjSX1iR.js} +1 -1
  17. package/dist/web/assets/frame-DqlMk9Ke.js +3 -0
  18. package/dist/web/assets/index-BBV4dkvi.css +2 -0
  19. package/dist/web/assets/index-DKn6ThbU.js +26 -0
  20. package/dist/web/assets/{markdown-O59qSrAj.js → markdown-DCFfynVM.js} +8 -8
  21. package/dist/web/assets/{rotate-ccw-Boqlo07S.js → rotate-ccw-oBSoDTXr.js} +1 -1
  22. package/dist/web/assets/{sticky-note-CwLqIORS.js → sticky-note-CJn6JUwD.js} +1 -1
  23. package/dist/web/assets/{terminal-BwCjxg-g.js → terminal-CcBS6Zf0.js} +1 -1
  24. package/dist/web/assets/{trash-CsMADECv.js → trash-BOoKIhsY.js} +1 -1
  25. package/dist/web/assets/{trending-up-DWCiNSD1.js → trending-up-GGhSrbVh.js} +1 -1
  26. package/dist/web/index.html +3 -2
  27. package/docs/WEB_APP.md +11 -3
  28. package/docs/user-guide.html +33 -4
  29. package/docs/walkthrough/index.html +173 -222
  30. package/env.example.yaml +6 -1
  31. package/package.json +1 -1
  32. package/dist/web/assets/ApiTests-COjGUsDY.js +0 -2
  33. package/dist/web/assets/Chat-CyqRSXc8.js +0 -3
  34. package/dist/web/assets/Data-BJgavRbu.js +0 -4
  35. package/dist/web/assets/Features-Bm_SBs_c.js +0 -1
  36. package/dist/web/assets/Jobs-Ck0OWWJG.js +0 -3
  37. package/dist/web/assets/Quality-pkuA-YCK.js +0 -1
  38. package/dist/web/assets/Record-BD41jna_.js +0 -1
  39. package/dist/web/assets/Regression-BFlO7ftm.js +0 -2
  40. package/dist/web/assets/Reports-BQn91ihX.js +0 -2
  41. package/dist/web/assets/Response-BJL6h7CC.js +0 -8
  42. package/dist/web/assets/Runs-DByThGHX.js +0 -2
  43. package/dist/web/assets/chevron-right-BQ4RpZ7j.js +0 -1
  44. package/dist/web/assets/filters-XcHKtoNp.js +0 -1
  45. package/dist/web/assets/index-857AKuh_.css +0 -2
  46. package/dist/web/assets/index-CC1NKA4m.js +0 -26
@@ -1 +1 @@
1
- import{zt as e}from"./index-CC1NKA4m.js";var t={name:`rotate-ccw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]};t.node;var n=e(t);export{n as t};
1
+ import{sn as e}from"./frame-DqlMk9Ke.js";var t={name:`rotate-ccw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]};t.node;var n=e(t);export{n as t};
@@ -1 +1 @@
1
- import{zt as e}from"./index-CC1NKA4m.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{sn as e}from"./frame-DqlMk9Ke.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{zt as e}from"./index-CC1NKA4m.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{sn as e}from"./frame-DqlMk9Ke.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{zt as e}from"./index-CC1NKA4m.js";var t={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};t.node;var n=e(t);export{n as t};
1
+ import{sn as e}from"./frame-DqlMk9Ke.js";var t={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};t.node;var n=e(t);export{n as t};
@@ -1 +1 @@
1
- import{zt as e}from"./index-CC1NKA4m.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{sn as e}from"./frame-DqlMk9Ke.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,8 +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-CC1NKA4m.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-857AKuh_.css">
8
+ <script type="module" crossorigin src="/assets/index-DKn6ThbU.js"></script>
9
+ <link rel="modulepreload" crossorigin href="/assets/frame-DqlMk9Ke.js">
10
+ <link rel="stylesheet" crossorigin href="/assets/index-BBV4dkvi.css">
10
11
  </head>
11
12
  <body>
12
13
  <div id="root"></div>
package/docs/WEB_APP.md CHANGED
@@ -11,14 +11,16 @@ npm install -g @capagents/forgeqe # once
11
11
  forgeqe web # in a project folder, or anywhere
12
12
  ```
13
13
 
14
- It prints an address such as `http://127.0.0.1:53817/#token=…`. Open it. The page keeps the token for that browser tab
15
- only; another tab, or the page after the token is gone, says it is signed out: open the printed address again. Ctrl+C
16
- in the terminal stops it.
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
16
+ for that browser tab only; another tab, or the page after the token is gone, says it is signed out: open the printed
17
+ address again. Ctrl+C in the terminal stops it.
17
18
 
18
19
  | Option | What it does |
19
20
  |---|---|
20
21
  | `--port N` | A fixed port instead of a free one, for a bookmark or when a port is taken. |
21
22
  | `--config forgeqe.yaml` | Work on the folder of that file. |
23
+ | `--no-open` | Print the address without opening the browser. |
22
24
 
23
25
  ## The first time: Set up
24
26
 
@@ -118,6 +120,12 @@ Settings takes over the window: one menu on the left, with **Back to ForgeQE** a
118
120
  `forgeqe.yaml` key), and the sections under General, AI, Testing, Activity and Advanced. Each setting shows its
119
121
  `forgeqe.yaml` key under its help.
120
122
 
123
+ **Environments** lists each environment with Edit and Remove; adding or editing one opens a panel with its name,
124
+ apps, values, secrets and **Test data** (the files its tests read, through `FORGEQE_DATA_<NAME>`). **Start from your
125
+ team's YAML** fills the panel from YAML in any layout: **Paste** it, **Import a file** from your computer (copied into
126
+ the fields), or **Link a project file** (read from that file every run; the panel shows what ForgeQE reads from it,
127
+ and **Copy into fields instead** converts it). Secret values in the YAML are never copied.
128
+
121
129
  Changes save themselves. A key or password typed in Settings goes to your credential store under its variable's name,
122
130
  never into a settings file, and is never shown again. **Files** shows each settings file as text for what the forms do
123
131
  not cover. Every option in `forgeqe.example.yaml` has a field.
@@ -457,7 +457,7 @@ Run SHOP-12 and SHOP-14 from Jira, two browsers at once
457
457
  Write a Playwright test for that run in ../app
458
458
  </code></pre>
459
459
  <p>Or in your browser, with the same agents, a page for each kind of work, and every setting as a form:</p>
460
- <pre><code class="language-bash">forgeqe web # prints http://127.0.0.1:…/#token=…: open it, then Settings › Set up
460
+ <pre><code class="language-bash">forgeqe web # opens http://127.0.0.1:…/#token=… in your browser: start at Settings › Set up
461
461
  </code></pre>
462
462
  <p>Without the shell:</p>
463
463
  <pre><code class="language-bash">forgeqe run &quot;Search hotels in Mumbai on booking.com&quot; --plain
@@ -884,9 +884,10 @@ Summary: Show the deployed build in each environment, and why each deployment fa
884
884
  <section class="doc sub" id="doc-how_to_use-the-web-app"><h4>The web app</h4><div class="prose"><p><code>forgeqe web</code> is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
885
885
  activity, and the results (tests, reports, diffs) as they happen; pages for recording, regression packs, API tests,
886
886
  quality, data, runs, reports and schedules; and every setting as a form, with keys kept in your credential store. It
887
- listens on <code>127.0.0.1</code> only and needs the token in the address it prints.</p>
888
- <pre><code class="language-bash">forgeqe web # a free port; open the address it prints
887
+ listens on <code>127.0.0.1</code> only and needs the token in the address it opens and prints.</p>
888
+ <pre><code class="language-bash">forgeqe web # a free port, opened in your browser
889
889
  forgeqe web --port 4711 # a fixed port
890
+ forgeqe web --no-open # only print the address
890
891
  </code></pre>
891
892
  <p>The first page is Settings › Set up: the project folder (an existing clone, or a new folder), ForgeQE in it (the same
892
893
  as <code>forgeqe init</code>), what this computer needs, and a model. See <a href="../docs/WEB_APP.md">docs/WEB_APP.md</a> for every page.</p>
@@ -1603,6 +1604,34 @@ uat:
1603
1604
  </code></pre>
1604
1605
  <p>ForgeQE's agent also sees the environment as written (secrets replaced), so a request can name anything in it (&quot;log in
1605
1606
  as the <code>admin_user</code> of UAT&quot;).</p>
1607
+ <p><strong>Link, import or paste the team's file.</strong> An environment can be read from a YAML file the team keeps elsewhere in the
1608
+ repository, as it is now each run (<code>file:</code>, with this project's <code>description</code> and <code>data</code> added), or converted once
1609
+ into ForgeQE's layout:</p>
1610
+ <pre><code class="language-yaml">environments:
1611
+ qa:
1612
+ file: config/qa-portal.yaml # linked: read every run, any layout; a file of several picks qa from it
1613
+ </code></pre>
1614
+ <pre><code class="language-bash">forgeqe env import config/uat.yaml # shows it in ForgeQE's layout
1615
+ forgeqe env import config/uat.yaml --write # adds it (--name NAME, --replace to overwrite one already there)
1616
+ forgeqe env link qa config/qa-portal.yaml # links it
1617
+ </code></pre>
1618
+ <p>In the shell, <code>/env import config/uat.yaml</code> shows the conversion and <code>/env import config/uat.yaml --write</code> adds it. In
1619
+ the web app, Settings › Environments › Add or Edit has <strong>Paste</strong>, <strong>Import a file</strong> and <strong>Link a project file</strong>. A
1620
+ secret value written in the file is never copied: it is listed so you can move it to an environment variable.</p>
1621
+ <p><strong>Test data per environment.</strong> The same test often needs other rows in each environment: QA's customers are not UAT's.
1622
+ List the files under <code>data:</code> (CSV, JSON, YAML, Excel, XML, SQL or text, inside the project and not in a hidden folder);
1623
+ the tests ForgeQE runs read each one's absolute path from <code>FORGEQE_DATA_&lt;NAME&gt;</code>, and the agents are told to read it
1624
+ from there, never from a fixed path.</p>
1625
+ <pre><code class="language-yaml">environments:
1626
+ qa:
1627
+ data:
1628
+ customers: test-data/qa/customers.csv # FORGEQE_DATA_CUSTOMERS
1629
+ orders: test-data/qa/orders.json # FORGEQE_DATA_ORDERS
1630
+ uat:
1631
+ data:
1632
+ customers: test-data/uat/customers.csv
1633
+ </code></pre>
1634
+ <p><code>forgeqe apps</code> and <code>/env</code> list each environment's data files, and mark one that is not there yet.</p>
1606
1635
  <p>Pick the environment with <code>--env uat</code> on any command (<code>forgeqe start</code>, <code>run</code>, <code>suite</code>, <code>monitor</code>, <code>mcp</code>, …) or
1607
1636
  <code>FORGEQE_ENV=uat</code>; otherwise <code>default</code> is used. In the shell, <code>/env</code> lists them and <code>/env uat</code> switches; asked in plain
1608
1637
  language (&quot;from now on, use UAT&quot;), ForgeQE's agent switches with <code>use_environment</code>, and any single request can name an
@@ -1618,7 +1647,7 @@ environment (&quot;run the checkout tests in UAT&quot;): each test tool takes an
1618
1647
  <tr><td>API tests</td><td>Call <code>api_app</code>'s URL</td></tr>
1619
1648
  <tr><td>Desktop agent</td><td>Starts the environment's desktop apps; types only its <code>secrets</code></td></tr>
1620
1649
  <tr><td>Scribe, the healer, the reviewer</td><td>Write tests that read <code>FORGEQE_APP_&lt;APP&gt;_URL</code> (or the repository's own settings), never a fixed environment URL; the reviewer flags one</td></tr>
1621
- <tr><td>Tests ForgeQE runs, pack pipelines</td><td><code>FORGEQE_ACTIVE_ENV</code>, <code>FORGEQE_APP_&lt;APP&gt;_URL</code> / <code>_PATH</code> / <code>_ID</code>, <code>FORGEQE_VAR_&lt;NAME&gt;</code> (pipelines written by <code>forgeqe pack pipeline init</code> take them as the <code>env_vars</code> input)</td></tr>
1650
+ <tr><td>Tests ForgeQE runs, pack pipelines</td><td><code>FORGEQE_ACTIVE_ENV</code>, <code>FORGEQE_APP_&lt;APP&gt;_URL</code> / <code>_PATH</code> / <code>_ID</code>, <code>FORGEQE_VAR_&lt;NAME&gt;</code>, <code>FORGEQE_DATA_&lt;NAME&gt;</code> (pipelines written by <code>forgeqe pack pipeline init</code> take them as the <code>env_vars</code> input)</td></tr>
1622
1651
  <tr><td>Reports</td><td>Every run's report names the test environment</td></tr>
1623
1652
  </tbody>
1624
1653
  </table></div>