@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
package/HOW_TO_USE.md CHANGED
@@ -188,7 +188,7 @@ Write a Playwright test for that run in ../app
188
188
  Or in your browser, with the same agents, a page for each kind of work, and every setting as a form:
189
189
 
190
190
  ```bash
191
- forgeqe web # prints http://127.0.0.1:…/#token=…: open it, then Settings › Set up
191
+ forgeqe web # opens http://127.0.0.1:…/#token=… in your browser: start at Settings › Set up
192
192
  ```
193
193
 
194
194
  Without the shell:
@@ -850,11 +850,12 @@ In the button prompt, ←/→ or Tab move between buttons, Enter confirms, Esc c
850
850
  `forgeqe web` is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
851
851
  activity, and the results (tests, reports, diffs) as they happen; pages for recording, regression packs, API tests,
852
852
  quality, data, runs, reports and schedules; and every setting as a form, with keys kept in your credential store. It
853
- listens on `127.0.0.1` only and needs the token in the address it prints.
853
+ listens on `127.0.0.1` only and needs the token in the address it opens and prints.
854
854
 
855
855
  ```bash
856
- forgeqe web # a free port; open the address it prints
856
+ forgeqe web # a free port, opened in your browser
857
857
  forgeqe web --port 4711 # a fixed port
858
+ forgeqe web --no-open # only print the address
858
859
  ```
859
860
 
860
861
  The first page is Settings › Set up: the project folder (an existing clone, or a new folder), ForgeQE in it (the same
@@ -1778,6 +1779,44 @@ uat:
1778
1779
  ForgeQE's agent also sees the environment as written (secrets replaced), so a request can name anything in it ("log in
1779
1780
  as the `admin_user` of UAT").
1780
1781
 
1782
+ **Link, import or paste the team's file.** An environment can be read from a YAML file the team keeps elsewhere in the
1783
+ repository, as it is now each run (`file:`, with this project's `description` and `data` added), or converted once
1784
+ into ForgeQE's layout:
1785
+
1786
+ ```yaml
1787
+ environments:
1788
+ qa:
1789
+ file: config/qa-portal.yaml # linked: read every run, any layout; a file of several picks qa from it
1790
+ ```
1791
+
1792
+ ```bash
1793
+ forgeqe env import config/uat.yaml # shows it in ForgeQE's layout
1794
+ forgeqe env import config/uat.yaml --write # adds it (--name NAME, --replace to overwrite one already there)
1795
+ forgeqe env link qa config/qa-portal.yaml # links it
1796
+ ```
1797
+
1798
+ In the shell, `/env import config/uat.yaml` shows the conversion and `/env import config/uat.yaml --write` adds it. In
1799
+ the web app, Settings › Environments › Add or Edit has **Paste**, **Import a file** and **Link a project file**. A
1800
+ secret value written in the file is never copied: it is listed so you can move it to an environment variable.
1801
+
1802
+ **Test data per environment.** The same test often needs other rows in each environment: QA's customers are not UAT's.
1803
+ List the files under `data:` (CSV, JSON, YAML, Excel, XML, SQL or text, inside the project and not in a hidden folder);
1804
+ the tests ForgeQE runs read each one's absolute path from `FORGEQE_DATA_<NAME>`, and the agents are told to read it
1805
+ from there, never from a fixed path.
1806
+
1807
+ ```yaml
1808
+ environments:
1809
+ qa:
1810
+ data:
1811
+ customers: test-data/qa/customers.csv # FORGEQE_DATA_CUSTOMERS
1812
+ orders: test-data/qa/orders.json # FORGEQE_DATA_ORDERS
1813
+ uat:
1814
+ data:
1815
+ customers: test-data/uat/customers.csv
1816
+ ```
1817
+
1818
+ `forgeqe apps` and `/env` list each environment's data files, and mark one that is not there yet.
1819
+
1781
1820
  Pick the environment with `--env uat` on any command (`forgeqe start`, `run`, `suite`, `monitor`, `mcp`, …) or
1782
1821
  `FORGEQE_ENV=uat`; otherwise `default` is used. In the shell, `/env` lists them and `/env uat` switches; asked in plain
1783
1822
  language ("from now on, use UAT"), ForgeQE's agent switches with `use_environment`, and any single request can name an
@@ -1792,7 +1831,7 @@ What each agent gets from the active environment:
1792
1831
  | API tests | Call `api_app`'s URL |
1793
1832
  | Desktop agent | Starts the environment's desktop apps; types only its `secrets` |
1794
1833
  | Scribe, the healer, the reviewer | Write tests that read `FORGEQE_APP_<APP>_URL` (or the repository's own settings), never a fixed environment URL; the reviewer flags one |
1795
- | Tests ForgeQE runs, pack pipelines | `FORGEQE_ACTIVE_ENV`, `FORGEQE_APP_<APP>_URL` / `_PATH` / `_ID`, `FORGEQE_VAR_<NAME>` (pipelines written by `forgeqe pack pipeline init` take them as the `env_vars` input) |
1834
+ | Tests ForgeQE runs, pack pipelines | `FORGEQE_ACTIVE_ENV`, `FORGEQE_APP_<APP>_URL` / `_PATH` / `_ID`, `FORGEQE_VAR_<NAME>`, `FORGEQE_DATA_<NAME>` (pipelines written by `forgeqe pack pipeline init` take them as the `env_vars` input) |
1796
1835
  | Reports | Every run's report names the test environment |
1797
1836
 
1798
1837
  There is no scenario file to write: ask in plain language ("place an order in the shop, then check its invoice in