@capagents/forgeqe 2.4.2 → 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 (48) hide show
  1. package/HOW_TO_USE.md +70 -3
  2. package/dist/forgeqe.js +951 -943
  3. package/dist/template.html +68 -68
  4. package/dist/web/assets/ApiTests-CcCxkGF_.js +2 -0
  5. package/dist/web/assets/Chat-LTwJQfTv.js +3 -0
  6. package/dist/web/assets/Data-BB-IahMh.js +4 -0
  7. package/dist/web/assets/Features-DtoKlY0g.js +1 -0
  8. package/dist/web/assets/Jobs-D6faC6C7.js +3 -0
  9. package/dist/web/assets/Quality-CuUpXKAD.js +1 -0
  10. package/dist/web/assets/Record-DZMZbuhu.js +1 -0
  11. package/dist/web/assets/Regression-BbNaH9Pg.js +2 -0
  12. package/dist/web/assets/Reports-D3RuBF6R.js +2 -0
  13. package/dist/web/assets/Response-BEbHVFJ7.js +8 -0
  14. package/dist/web/assets/Runs-LK-9464Y.js +2 -0
  15. package/dist/web/assets/{circle-dashed-COka5oNi.js → circle-dashed-BzDi4lOK.js} +1 -1
  16. package/dist/web/assets/{external-link-B9T-hxHX.js → external-link-7UCuXRch.js} +1 -1
  17. package/dist/web/assets/{file-chart-column-increasing-Ch7H145u.js → file-chart-column-increasing-lJjSX1iR.js} +1 -1
  18. package/dist/web/assets/frame-DqlMk9Ke.js +3 -0
  19. package/dist/web/assets/index-BBV4dkvi.css +2 -0
  20. package/dist/web/assets/index-DKn6ThbU.js +26 -0
  21. package/dist/web/assets/{markdown-DclrGj2e.js → markdown-DCFfynVM.js} +8 -8
  22. package/dist/web/assets/rotate-ccw-oBSoDTXr.js +1 -0
  23. package/dist/web/assets/{sticky-note-CFIxnO7K.js → sticky-note-CJn6JUwD.js} +1 -1
  24. package/dist/web/assets/{terminal-BnhGgg6d.js → terminal-CcBS6Zf0.js} +1 -1
  25. package/dist/web/assets/{trash-CtWVl2Xk.js → trash-BOoKIhsY.js} +1 -1
  26. package/dist/web/assets/{trending-up-BnzWZEhg.js → trending-up-GGhSrbVh.js} +1 -1
  27. package/dist/web/index.html +3 -2
  28. package/docs/WEB_APP.md +149 -0
  29. package/docs/user-guide.html +52 -3
  30. package/docs/walkthrough/index.html +173 -222
  31. package/env.example.yaml +6 -1
  32. package/package.json +1 -1
  33. package/dist/web/assets/ApiTests-B-0nk720.js +0 -2
  34. package/dist/web/assets/Chat-Be6J6POH.js +0 -3
  35. package/dist/web/assets/Data-BtcD7_T2.js +0 -4
  36. package/dist/web/assets/Features-DHIGL43K.js +0 -1
  37. package/dist/web/assets/Jobs-C-cEyrrH.js +0 -3
  38. package/dist/web/assets/Quality-C6hKykoO.js +0 -1
  39. package/dist/web/assets/Record-B5395d_b.js +0 -1
  40. package/dist/web/assets/Regression-BS5g4T3v.js +0 -2
  41. package/dist/web/assets/Reports-CHqfhNR8.js +0 -2
  42. package/dist/web/assets/Response-P2oku3_B.js +0 -8
  43. package/dist/web/assets/Runs-DPmd5QPL.js +0 -2
  44. package/dist/web/assets/chevron-right-Cwpv0kJi.js +0 -1
  45. package/dist/web/assets/filters-C5e4Y0To.js +0 -1
  46. package/dist/web/assets/index-BI_5kNwE.css +0 -2
  47. package/dist/web/assets/index-KUNDUjo0.js +0 -26
  48. package/dist/web/assets/rotate-ccw-BizUsxuR.js +0 -1
package/HOW_TO_USE.md CHANGED
@@ -8,6 +8,7 @@ No server, database, or Docker. You configure a model and run it from the termin
8
8
  |-----|---------|
9
9
  | This guide | Setup and how to run |
10
10
  | [`docs/user-guide.html`](docs/user-guide.html) | This guide as one page, with every feature: what it needs, how to ask for it, and its details |
11
+ | [`docs/WEB_APP.md`](docs/WEB_APP.md) | The web app (`forgeqe web`): setting up, the chat, every page, and Settings |
11
12
  | [`forgeqe-architecture.html`](forgeqe-architecture.html) | Single-view map: subagents, tools, and capabilities |
12
13
  | [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) | Architecture reference: modules, protocols, and loops |
13
14
  | [`README.md`](README.md) | Overview |
@@ -184,6 +185,12 @@ Run SHOP-12 and SHOP-14 from Jira, two browsers at once
184
185
  Write a Playwright test for that run in ../app
185
186
  ```
186
187
 
188
+ Or in your browser, with the same agents, a page for each kind of work, and every setting as a form:
189
+
190
+ ```bash
191
+ forgeqe web # opens http://127.0.0.1:…/#token=… in your browser: start at Settings › Set up
192
+ ```
193
+
187
194
  Without the shell:
188
195
 
189
196
  ```bash
@@ -691,13 +698,19 @@ The report goes to the reports folder (`export.out_dir`, `.forgeqe/reports/` by
691
698
 
692
699
  ```
693
700
  .forgeqe/reports/open-defects-all-projects-20261013-101512/
694
- report.html # one file: summary, filters, charts, sortable table, Sources
701
+ report.html # one file: Overview (summary, analytics, charts), the rows (filters, sortable table), Sources
695
702
  report.md # the same, to edit, paste into a wiki, or attach
696
703
  open-defects.csv # each dataset's rows
697
704
  evidence/E1.json # the raw result of each tool call the report used
698
705
  ```
699
706
 
700
- The page adds filters for the columns that are in the data (Project, State, Type, Priority, Severity, Assigned To, Area, Iteration, …, and other columns with a short list of values). The counts, the charts (click a bar to filter by it), and the table follow the filters, and **Export CSV** saves the rows you filtered. **Sources** lists each tool call, when it ran, and how many rows it gave, with a link to its raw result.
707
+ The page has three parts in its menu:
708
+
709
+ - **Overview**: the summary, then what the data says. When the rows are work items (defects, bugs, tickets), it works out from them: how many are open, critical and high, unassigned (and how many of those are critical or high), their median and oldest age, and how many had no change in 30 days; **Needs someone now**, the critical and high ones with nobody on them or untouched for 30 days; severity by project, who has them (the same person written "Khan, Javed" or "Javed Khan" counted once), how old they are, how many were opened each week, and the most used tags. Other data gets a count by each of its columns. Click a bar to see its rows.
710
+ - **The rows** (named after the data, such as Open defects): filters for the columns that are in the data (Project, State, Type, Priority, Severity, Assigned To, Area, Iteration, …, and other columns with a short list of values), a search, a table sorted by any column, 50 rows at a time, and **Export CSV** for the rows you filtered.
711
+ - **Sources**: each tool call, when it ran, and how many rows it gave, with a link to its raw result.
712
+
713
+ The analytics are arithmetic on the rows, worked out in the page; the model writes none of them.
701
714
 
702
715
  The chat gets a short summary and a card with the paths as links, and **Open the report** appears as a next step. To post it, ask for it ("post the report to the release channel") once `notify.channels` is set up; the reports folder is linked when it is served (`notify.report_url`).
703
716
 
@@ -832,6 +845,22 @@ A read-only agent writes it. It starts knowing every capability and whether it w
832
845
 
833
846
  In the button prompt, ←/→ or Tab move between buttons, Enter confirms, Esc cancels, and a mouse click works too. `esc stop` and `ctrl+c close` in the bar under the prompt are also clickable. **Stop and close** waits until the browser has shut down and the run's files are saved, then closes ForgeQE.
834
847
 
848
+ ### The web app
849
+
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
+ activity, and the results (tests, reports, diffs) as they happen; pages for recording, regression packs, API tests,
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 opens and prints.
854
+
855
+ ```bash
856
+ forgeqe web # a free port, opened in your browser
857
+ forgeqe web --port 4711 # a fixed port
858
+ forgeqe web --no-open # only print the address
859
+ ```
860
+
861
+ The first page is Settings › Set up: the project folder (an existing clone, or a new folder), ForgeQE in it (the same
862
+ as `forgeqe init`), what this computer needs, and a model. See [docs/WEB_APP.md](docs/WEB_APP.md) for every page.
863
+
835
864
  ## 4. Without the shell
836
865
 
837
866
  ```bash
@@ -1750,6 +1779,44 @@ uat:
1750
1779
  ForgeQE's agent also sees the environment as written (secrets replaced), so a request can name anything in it ("log in
1751
1780
  as the `admin_user` of UAT").
1752
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
+
1753
1820
  Pick the environment with `--env uat` on any command (`forgeqe start`, `run`, `suite`, `monitor`, `mcp`, …) or
1754
1821
  `FORGEQE_ENV=uat`; otherwise `default` is used. In the shell, `/env` lists them and `/env uat` switches; asked in plain
1755
1822
  language ("from now on, use UAT"), ForgeQE's agent switches with `use_environment`, and any single request can name an
@@ -1764,7 +1831,7 @@ What each agent gets from the active environment:
1764
1831
  | API tests | Call `api_app`'s URL |
1765
1832
  | Desktop agent | Starts the environment's desktop apps; types only its `secrets` |
1766
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 |
1767
- | 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) |
1768
1835
  | Reports | Every run's report names the test environment |
1769
1836
 
1770
1837
  There is no scenario file to write: ask in plain language ("place an order in the shop, then check its invoice in