@capagents/forgeqe 3.3.7 → 3.3.9
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.
- package/HOW_TO_USE.md +92 -0
- package/dist/a11y-runtime.mjs +3204 -0
- package/dist/docs-site/docs/area-quality/index.html +90 -2
- package/dist/docs-site/docs/overview/index.html +1 -1
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +2215 -2094
- package/dist/template.html +69 -70
- package/dist/web/assets/{3d-force-graph-Bsispdm1.js → 3d-force-graph-BPsVSYjw.js} +1 -1
- package/dist/web/assets/Agent-DY6pRvcD.js +10 -0
- package/dist/web/assets/{AgentWork-BugEUl60.js → AgentWork-Brch_Mn3.js} +1 -1
- package/dist/web/assets/ApiTests-BtWKVPw5.js +17 -0
- package/dist/web/assets/{Browse-Dl2Lneca.js → Browse-DbIFxsy8.js} +1 -1
- package/dist/web/assets/Chat-BWiH0XGV.js +3 -0
- package/dist/web/assets/{CommandPalette-B7YPDCOk.js → CommandPalette-DfoEUEL6.js} +1 -1
- package/dist/web/assets/{Compare-D6XsFmmb.js → Compare-DTZ_BW1P.js} +1 -1
- package/dist/web/assets/Cost-DDghPWch.js +1 -0
- package/dist/web/assets/Data-DZlKsTwA.js +6 -0
- package/dist/web/assets/Desktop-DTIZ62Pi.js +1 -0
- package/dist/web/assets/DesktopReview-B8-dSGJH.js +2 -0
- package/dist/web/assets/Evidence-BYw_Q4Ul.js +1 -0
- package/dist/web/assets/Explore-BL_c5WK1.js +2 -0
- package/dist/web/assets/{Features-N3_77mz-.js → Features-DrFNrvbh.js} +1 -1
- package/dist/web/assets/Flags-CHrDwhqG.js +2 -0
- package/dist/web/assets/Flaky-DtcLf8h6.js +1 -0
- package/dist/web/assets/Impact-CMU_ijo2.js +3 -0
- package/dist/web/assets/Jobs-BjybdQb_.js +5 -0
- package/dist/web/assets/KindPage-VK-Vgkzv.js +6 -0
- package/dist/web/assets/{LiveDevice-j7NZXIJZ.js → LiveDevice-BqL1P33F.js} +1 -1
- package/dist/web/assets/Migration-7BI7iXIv.js +8 -0
- package/dist/web/assets/Mobile-AgAhvlVL.js +1 -0
- package/dist/web/assets/Observability-5r36Xf3d.js +1 -0
- package/dist/web/assets/{OwnItems-BdiPfdTw.js → OwnItems-CqCOuvba.js} +4 -4
- package/dist/web/assets/PageAgent-00NQxK49.js +1 -0
- package/dist/web/assets/Product-B75ztJFn.js +6 -0
- package/dist/web/assets/Production-lIUlcjf0.js +1 -0
- package/dist/web/assets/Quality-BlRpB6mx.js +1 -0
- package/dist/web/assets/Readiness-CesaSDtp.js +1 -0
- package/dist/web/assets/Record-CLy9jQ5N.js +1 -0
- package/dist/web/assets/Regression-BjpZrkfK.js +5 -0
- package/dist/web/assets/{RelationGraph-Blfs7PhK.js → RelationGraph-ClPBGuMw.js} +1 -1
- package/dist/web/assets/{Reports-HQkTX4Kr.js → Reports-Du8SNiHM.js} +2 -2
- package/dist/web/assets/Requirements-Dr1iLoMc.js +2 -0
- package/dist/web/assets/Responsive-DcD6MLzG.js +3 -0
- package/dist/web/assets/{RunDiff-75a-smeg.js → RunDiff-cLSFOsfC.js} +1 -1
- package/dist/web/assets/{Settings-BaodIliH.js → Settings-CUT5ggDd.js} +16 -16
- package/dist/web/assets/SiteScan-iUfWBeLV.js +5 -0
- package/dist/web/assets/{Steps-ZPH_rTJh.js → Steps-DJYwIiDu.js} +2 -2
- package/dist/web/assets/{TestData-DUlTo5qt.js → TestData-DqEcL5o4.js} +2 -2
- package/dist/web/assets/TestManagement-mBcfWTVH.js +4 -0
- package/dist/web/assets/{WhatsNew-BrVNacPl.js → WhatsNew-DrPf6l9-.js} +1 -1
- package/dist/web/assets/{agentSettingsSheet-UCqUtdjq.js → agentSettingsSheet-DyaVNewv.js} +1 -1
- package/dist/web/assets/api-Dr3U7W5w.js +1 -0
- package/dist/web/assets/{choice-C4-yW2x9.js → choice-W0qOx_1k.js} +1 -1
- package/dist/web/assets/{coverage-pqIlfEP0.js → coverage-DbHm8BUP.js} +3 -3
- package/dist/web/assets/{dataParts-C0C67bVQ.js → dataParts-Bdf97ZOD.js} +3 -3
- package/dist/web/assets/{desktopAppPath-B89LKvjx.js → desktopAppPath-kQmQOW6a.js} +1 -1
- package/dist/web/assets/{flowTheme-BNKwRxun.js → flowTheme-CVnIjV_m.js} +1 -1
- package/dist/web/assets/frame-CavkQick.js +13 -0
- package/dist/web/assets/index-BaEsXdFc.css +2 -0
- package/dist/web/assets/index-C1kXcI0E.js +57 -0
- package/dist/web/assets/line-icons-Cwj9OmCz.js +1 -0
- package/dist/web/assets/{logos-P2LOMyTK.js → logos-Cf-Wf5ex.js} +1 -1
- package/dist/web/assets/{markdown-CxsWgpYs.js → markdown-Bvv6oj4v.js} +3 -3
- package/dist/web/assets/{nav-DYgvAJu-.js → nav-DVPiPhOy.js} +1 -1
- package/dist/web/assets/pageBack-Blig1Uqs.js +3 -0
- package/dist/web/assets/{palette-BgJTq_Ot.js → palette-DwrGI2Fp.js} +1 -1
- package/dist/web/assets/{paletteCommands-Isq1rLs-.js → paletteCommands-DOF2o-rv.js} +1 -1
- package/dist/web/assets/parts-DgJ2y_ic.js +1 -0
- package/dist/web/assets/{productParts-ZEi0sPIk.js → productParts-B78jij3z.js} +1 -1
- package/dist/web/assets/qualityParts-t5t9kEKG.js +2 -0
- package/dist/web/assets/{recordTest-Bz5ryzpS.js → recordTest-BbXVOuGZ.js} +1 -1
- package/dist/web/assets/{route-oDy8sV6H.js → route-9BkoTWUE.js} +1 -1
- package/dist/web/assets/{sectionList-B651VPon.js → sectionList-DMyhAqst.js} +1 -1
- package/dist/web/assets/{step-mark-CaKf4dAR.js → step-mark-Bu6fNKW8.js} +1 -1
- package/dist/web/assets/stepper-CE4yOLqn.js +1 -0
- package/dist/web/assets/wizardParts-Bxb9UG5k.js +1 -0
- package/dist/web/index.html +11 -11
- package/docs/ForgeQE-Static-Analysis-Report-4008e9ee.html +207 -0
- package/docs/ForgeQE-Static-Analysis-Report-4008e9ee.pdf +0 -0
- package/docs/{ForgeQE-Static-Analysis-Report-5bbf0da7.html → ForgeQE-Static-Analysis-Report-ccbdac00.html} +33 -33
- package/docs/ForgeQE-Static-Analysis-Report-ccbdac00.pdf +0 -0
- package/docs/user-guide.html +89 -1
- package/forgeqe.example.yaml +1 -1
- package/package.json +2 -2
- package/prompts/brain.md +7 -0
- package/py/forgeqe_engine/cli.py +57 -0
- package/py/forgeqe_engine/diagnostics.py +32 -2
- package/py/forgeqe_engine/logins.py +11 -0
- package/py/forgeqe_engine/persona.py +90 -1
- package/py/forgeqe_engine/scan.py +202 -0
- package/py/forgeqe_engine/seo.py +95 -0
- package/py/forgeqe_engine/seo_analytics.mjs +59 -0
- package/py/forgeqe_engine/seo_facts.mjs +63 -0
- package/py/forgeqe_engine/seo_site.mjs +36 -0
- package/py/forgeqe_engine/service.py +3 -2
- package/dist/web/assets/Agent-39FbaH7G.js +0 -10
- package/dist/web/assets/ApiTests-B9rtwCbe.js +0 -17
- package/dist/web/assets/Chat-DocT7FlH.js +0 -3
- package/dist/web/assets/Cost-DvbuXS6u.js +0 -1
- package/dist/web/assets/Data-BmZHJkfj.js +0 -6
- package/dist/web/assets/Desktop-DD3F69ih.js +0 -1
- package/dist/web/assets/DesktopReview-BR0LtVFw.js +0 -2
- package/dist/web/assets/Evidence-OqAiYzrl.js +0 -1
- package/dist/web/assets/Explore-QNyusEFo.js +0 -2
- package/dist/web/assets/Flags-Yv4Ttmmh.js +0 -2
- package/dist/web/assets/Flaky-Bg2f2K1U.js +0 -1
- package/dist/web/assets/Impact-CpxvVnKj.js +0 -3
- package/dist/web/assets/Jobs-_gZTxoaG.js +0 -5
- package/dist/web/assets/KindPage-Amr6R7Ym.js +0 -6
- package/dist/web/assets/Migration-DfPYzTfk.js +0 -8
- package/dist/web/assets/Mobile-fIhhQPsp.js +0 -1
- package/dist/web/assets/Observability-13DkrRp2.js +0 -1
- package/dist/web/assets/PageAgent-CC8Ha6vu.js +0 -1
- package/dist/web/assets/Product-CnXkqwQm.js +0 -6
- package/dist/web/assets/Production-5mTIt4sr.js +0 -1
- package/dist/web/assets/Quality-DbLcbP1X.js +0 -1
- package/dist/web/assets/Readiness-BG1xmC09.js +0 -1
- package/dist/web/assets/Record-sFth-2I1.js +0 -1
- package/dist/web/assets/Regression-Dd4y8I1z.js +0 -5
- package/dist/web/assets/Requirements-DmhUNCIP.js +0 -2
- package/dist/web/assets/Responsive-D18eYdCh.js +0 -3
- package/dist/web/assets/TestManagement-DUMGdHDw.js +0 -4
- package/dist/web/assets/api-D8-lxyQi.js +0 -1
- package/dist/web/assets/frame-C8sL1yo-.js +0 -13
- package/dist/web/assets/index-BFG13fbg.js +0 -55
- package/dist/web/assets/index-DBnWgocz.css +0 -2
- package/dist/web/assets/line-icons-CwCZidXs.js +0 -1
- package/dist/web/assets/pageBack-BefA2rh7.js +0 -3
- package/dist/web/assets/parts-BNpm4gXC.js +0 -1
- package/dist/web/assets/qualityParts-DtsD70Qh.js +0 -1
- package/dist/web/assets/stepper-CONWT_tv.js +0 -1
- package/dist/web/assets/wizardParts-CulZqqjz.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{Fr as e,Nt as t,St as n,U as r,V as i,Xn as a,_r as o,bn as s,cr as c,et as l,in as u,jt as d,m as f,y as p}from"./line-icons-CwCZidXs.js";var m=(...e)=>e.map(([e,t])=>({value:e,label:t})),h=[{title:`Where runs happen`,base:[`browser`],fields:[{key:`provider`,label:`Browser`,help:`Where the browser agent runs. Remote grids need their sign-in under Integrations.`,type:`select`,default:`local`,options:m([`local`,`Chrome on this machine`],[`docker`,`Chrome in Docker`],[`browserstack`,`BrowserStack`],[`testmu`,`TestMu AI (LambdaTest)`])},{key:`local_browser`,label:`Local browser`,help:`Automatic tries Chrome first, then Edge, then Playwright's Chromium, each when the one before does not start.`,type:`select`,default:`auto`,options:m([`auto`,`Automatic`],[`chrome`,`Google Chrome`],[`edge`,`Microsoft Edge`],[`chromium`,`Playwright's Chromium`]),when:e=>!e.provider||e.provider===`local`},{key:`launch`,label:`How it starts`,help:`Automatic starts the browser directly, then through Playwright when this computer stops it, and remembers what worked.`,type:`select`,default:`auto`,options:m([`auto`,`Automatic`],[`direct`,`Directly`],[`playwright`,`Through Playwright`],[`attach`,`Connect to a browser I started`]),when:e=>!e.provider||e.provider===`local`},{key:`attach_port`,label:`Port of your browser`,help:`Start it with --remote-debugging-port and this number. Only on this computer.`,type:`number`,placeholder:`9222`,when:e=>(!e.provider||e.provider===`local`)&&e.launch===`attach`},{key:`start_url`,label:`Start page`,help:`Leave empty to let the agent choose, or to start at the active environment's app.`,type:`url`,placeholder:`https://staging.example.com`},{key:`allowed_hosts`,label:`Allowed sites`,help:`Hosts the agent may open, comma separated. Empty: the environment's apps.`,type:`list`,placeholder:`staging.example.com, auth.example.com`}]},{title:`The browser window`,base:[`browser`],fields:[{key:`headless`,label:`Run without a window`,help:`Off shows the browser while the agent works.`,type:`switch`,default:!0},{key:`window`,label:`Visible window`,type:`select`,default:`maximized`,options:m([`maximized`,`Maximized`],[`viewport`,`The size below`])},{key:`viewport.width`,label:`Page width`,type:`number`,default:1280},{key:`viewport.height`,label:`Page height`,type:`number`,default:800},{key:`overlay`,label:`Show what the agent does`,help:`In a visible browser: a bar with the current step, and your mouse and keyboard locked while it works.`,type:`switch`,default:!0}]},{title:`Limits and checks`,base:[`browser`],fields:[{key:`max_steps`,label:`Steps before a checkpoint`,help:`A run still making progress carries on, up to three times this.`,type:`number`,default:40},{key:`timeout_seconds`,label:`Time limit per run`,help:`In seconds.`,type:`number`,default:600},{key:`vision_detail`,label:`Screenshot detail`,help:`High reads small text better and costs more.`,type:`select`,default:`low`,options:m([`low`,`Low`],[`high`,`High`])},{key:`video`,label:`Record a video`,type:`switch`,default:!0},{key:`judge`,label:`Second check of each result`,help:`Another model call checks each finished run against its goal, and can fail it.`,type:`switch`,default:!1},{key:`rulebook`,label:`Learn rules per site`,help:`One-line rules the agent keeps after it recovers from a failed action.`,type:`switch`,default:!0}]},{title:`Remote browser, set here`,help:`For BrowserStack or TestMu AI set inline in forgeqe.yaml. These win over the grid's own file under Integrations when both are set.`,base:[`browser`,`remote`],fields:[{key:`browser`,label:`Browser`,type:`text`,placeholder:`chrome`},{key:`browser_version`,label:`Browser version`,type:`text`,placeholder:`latest`},{key:`os`,label:`Operating system`,help:`BrowserStack: Windows or OS X.`,type:`text`,placeholder:`Windows`},{key:`os_version`,label:`Its version`,type:`text`,placeholder:`11, or Sequoia`},{key:`platform`,label:`Platform`,help:`TestMu AI; or set the two above and ForgeQE joins them.`,type:`text`,placeholder:`Windows 11`},{key:`username_env`,label:`User name`,type:`var`,placeholder:`BROWSERSTACK_USERNAME`},{key:`access_key_env`,label:`Access key`,type:`var`,placeholder:`BROWSERSTACK_ACCESS_KEY`},{key:`project`,label:`Project`,type:`text`,placeholder:`ForgeQE`},{key:`build`,label:`Build`,type:`text`,placeholder:`nightly`},{key:`name`,label:`Session name`,type:`text`,placeholder:`checkout smoke`},{key:`local`,label:`Through a tunnel`,help:`BrowserStack Local or the LambdaTest tunnel, for sites only your network reaches.`,type:`switch`,default:!1},{key:`extra`,label:`More capabilities`,help:`The provider's own, one per line.`,type:`kv`,placeholder:`browserstack.console = errors`}]}],g=[{title:`Where tests go`,base:[`code`],fields:[{key:`repo`,label:`Repository`,help:`Where passed runs become tests. Empty: this folder.`,type:`path`,placeholder:`../my-app`},{key:`test_command`,label:`Test command`,help:`Empty: the agent finds it.`,type:`path`,placeholder:`npx playwright test`},{key:`model`,label:`Model`,help:`Empty: the default model.`,type:`text`,placeholder:`anthropic/claude-sonnet-4-5`},{key:`review_profile`,label:`Checker's model`,help:`A profile from Models. Checker only reads and judges, so a cheaper one is enough.`,type:`text`},{key:`runtime`,label:`Agent runtime`,help:`Empty: the runtime ForgeQE downloads.`,type:`path`,placeholder:`/path/to/agent-runtime`}]},{title:`How hard it tries`,base:[`code`],fields:[{key:`max_attempts`,label:`Attempts`,help:`Test runs before it gives up, and healing attempts.`,type:`number`,default:3},{key:`test_timeout_seconds`,label:`Time limit per test run`,help:`In seconds.`,type:`number`,default:600},{key:`confirm_runs`,label:`Passes in a row before a test counts`,help:`A new test is run again until it has passed this many times in a row, to catch a flaky test. 1 runs it once.`,type:`number`,default:3},{key:`stall_after`,label:`Stop after repeated failures`,help:`When one command has failed this many times.`,type:`number`,default:5},{key:`repeat_after`,label:`Stop after repeated look-ups`,help:`When the coding agent has re-read files or state it already saw, unchanged, this many times; it is then asked for its test.`,type:`number`,default:6},{key:`edit_after`,label:`Stop after repeated edits`,help:`When the coding agent has changed files it already changed this many times without handing its test over to be run.`,type:`number`,default:8},{key:`max_tokens`,label:`Token limit per job`,help:`Cached input counts at its share of the input price. 0 turns the limit off.`,type:`number`,default:15e5}]},{title:`Help it gets`,base:[`code`],fields:[{key:`replay`,label:`Replay the steps first`,help:`Runs the steps as a Playwright script and hands over what worked.`,type:`switch`,default:!0},{key:`live_browser`,label:`Look at the failing page`,help:`Once a step fails, the agent looks at that page in a browser.`,type:`switch`,default:!0},{key:`graph`,label:`Read the repository's code`,help:`Links the run's elements to the page objects that already locate them.`,type:`switch`,default:!0},{key:`duplicates`,label:`Check for copied code`,help:`Tells the reviewer which code a new test or a pull request copied from the repository (jscpd).`,type:`switch`,default:!0},{key:`header`,label:`Mark generated files`,help:`Files ForgeQE creates start with a “Generated with ForgeQE” line.`,type:`switch`,default:!0},{key:`rulebook`,label:`Learn from its own mistakes`,type:`switch`,default:!0},{key:`requests`,label:`When an agent asks for more`,help:`Packages, a command its shell refuses, or a change to package.json. Shells, pushes, .npmrc and lockfiles are refused whatever this says.`,type:`select`,default:`ask`,options:m([`ask`,`Ask me each time`],[`allow`,`Allow without asking`],[`off`,`Always refuse`])}]}],_=[{title:`Reports`,base:[],fields:[{key:`export.out_dir`,label:`Report folder`,help:`One folder per run.`,type:`path`,default:`./.forgeqe/reports`},{key:`export.format`,label:`Test format`,type:`select`,default:`playwright`,options:m([`playwright`,`Playwright`])},{key:`report.screenshots`,label:`Screenshots in reports`,type:`select`,default:`all`,options:m([`all`,`Every step`],[`failures`,`Failures only`],[`off`,`None`])},{key:`report.accessibility`,label:`Check accessibility of each page`,type:`switch`,default:!0},{key:`suite.out_dir`,label:`Suite report folder`,type:`path`,default:`./.forgeqe/reports/suites`}]},{title:`Memory and replays`,base:[],fields:[{key:`memory.enabled`,label:`Remember pages and flows`,type:`switch`,default:!0},{key:`memory.dir`,label:`Memory folder`,type:`path`,default:`./.forgeqe/memory`},{key:`memory.replay`,label:`Replays`,help:`Verify checks each recorded step; trust replays without a model.`,type:`select`,default:`verify`,options:m([`verify`,`Verify`],[`trust`,`Trust`],[`off`,`Off`])},{key:`registry.mode`,label:`Replay passed runs for free`,help:`Running a passed test again repeats its saved steps without the AI; if the page changed, the AI takes over. Test mode only notes what it would have replayed.`,type:`select`,default:`on`,options:m([`on`,`On`],[`shadow`,`Test mode: only note it`],[`off`,`Off`])}]},{title:`Suites`,base:[],fields:[{key:`suite.code`,label:`Write tests for passed cases`,help:`With a repository set under Code.`,type:`switch`,default:!0},{key:`suite.restore_sessions`,label:`Start each case signed in`,help:`Cases start from the saved logins' sessions. Off runs each case as its test starts, signed out.`,type:`switch`,default:!1},{key:`suite.case_check`,label:`Before a run, check the cases`,help:`Warn shows what the check found and runs every case; block leaves out the ones that cannot run as written.`,type:`select`,default:`warn`,options:m([`warn`,`Warn`],[`block`,`Block`],[`off`,`Off`])}]},{title:`Flaky tests`,help:`A test that fails and then passes is flaky; quarantine keeps it running, but its failures stop failing the run and CI.`,base:[`flaky`],fields:[{key:`retries`,label:`Runs again in the same run`,help:`0 to 3.`,type:`number`,default:1},{key:`quarantine`,label:`Quarantine`,type:`select`,default:`suggest`,options:m([`suggest`,`The agent asks first`],[`auto`,`ForgeQE does it`],[`off`,`Off: history only`])},{key:`flaky_after`,label:`Flaky from this score`,type:`number`,default:2}]},{title:`Release readiness`,help:`When a release reads GO, GO WITH RISKS or NO-GO.`,base:[`release`],fields:[{key:`max_critical`,label:`Open critical bugs allowed`,type:`number`,default:0},{key:`max_high`,label:`Open high bugs allowed`,type:`number`,default:0},{key:`min_pass_rate`,label:`Pass rate needed`,help:`Percent of executed test cases.`,type:`number`,default:95},{key:`require_tests`,label:`A story needs a test case`,help:`Without one it is a risk.`,type:`switch`,default:!0}]},{title:`Regression packs in a pipeline`,help:`Where Run in the pipeline sends a pack (forgeqe pack run --on pipeline).`,base:[`packs`,`pipeline`],fields:[{key:`default`,label:`Pipeline`,type:`select`,options:m([`github`,`GitHub Actions`],[`azure_devops`,`Azure Pipelines`])},{key:`github.repo`,label:`GitHub repository`,type:`text`,placeholder:`acme/shop-tests`},{key:`github.workflow`,label:`Workflow file`,type:`text`,default:`forgeqe-pack.yml`},{key:`github.ref`,label:`Branch`,type:`text`,default:`main`},{key:`azure_devops.project`,label:`Azure DevOps project`,type:`text`,placeholder:`Shop`},{key:`azure_devops.pipeline_id`,label:`Pipeline id`,type:`number`,placeholder:`42`},{key:`azure_devops.ref`,label:`Branch`,type:`text`,default:`refs/heads/main`},{key:`timeout_minutes`,label:`Wait for it`,help:`In minutes.`,type:`number`,default:60}]},{title:`Defect analysis`,help:`For a failed case that is a defect: a repro, suspect commits in the product's repository, and a root-cause hypothesis.`,base:[`defects`],fields:[{key:`product_repo`,label:`Product repository`,help:`The application's code: suspect commits, and what the analysis reads.`,type:`path`,placeholder:`../shop`},{key:`reproduce`,label:`Run a new defect's case once more`,help:`To see whether it repeats.`,type:`switch`,default:!0},{key:`analyze`,label:`Write a root-cause hypothesis`,help:`One model session per new defect or regression.`,type:`switch`,default:!0},{key:`max_analyses`,label:`Analyses per suite`,type:`number`,default:3}]}],v=[{title:`Accessibility`,base:[`quality`],fields:[{key:`accessibility.standard`,label:`Standard`,type:`select`,default:`wcag21aa`,options:m([`wcag2a`,`WCAG 2.0 A`],[`wcag21aa`,`WCAG 2.1 AA`],[`wcag22aa`,`WCAG 2.2 AA`],[`wcag21aaa`,`WCAG 2.1 AAA`],[`section508`,`Section 508`],[`en301549`,`EN 301 549`],[`best-practice`,`Best practice`])},{key:`accessibility.engine`,label:`Rule engine`,help:`Which automated checker runs on each page. IBM Equal Access has rules up to AA only: a WCAG 2.1 AAA standard is checked at AA with it.`,type:`select`,default:`axe`,options:m([`axe`,`axe-core`],[`ibm`,`IBM Equal Access`],[`basic`,`ForgeQE's built-in checks`])},{key:`accessibility.ask_before_run`,label:`Ask before running a persona session`,help:`The Accessibility agent shows its plan and asks before it starts the browser runs, a few minutes and model tokens each. Off: it runs the plan straight away.`,type:`switch`,default:!0},{key:`budgets.accessibility.critical`,label:`Critical issues allowed`,help:`Empty: reported, never failed on.`,type:`number`},{key:`budgets.accessibility.serious`,label:`Serious issues allowed`,type:`number`},{key:`budgets.accessibility.ignore`,label:`Rules to ignore`,type:`list`,placeholder:`region`}]},{title:`Performance and visual changes`,base:[`quality`],fields:[{key:`budgets.performance`,label:`Performance budget`,help:`web-vitals uses Google's thresholds. Per-page budgets are edited in Settings as text.`,type:`select`,options:m([`web-vitals`,`Core Web Vitals`])},{key:`budgets.visual`,label:`Visual change allowed`,help:`Percent of a page's pixels.`,type:`number`},{key:`visual.full_page`,label:`Compare whole pages`,type:`switch`,default:!1},{key:`visual.mask`,label:`Hide before comparing`,help:`CSS selectors, comma separated.`,type:`list`,placeholder:`.clock, #ad-slot`}]},{title:`Load tests (JMeter)`,base:[`perf`],fields:[{key:`folder`,label:`Plans folder`,help:`Where the .jmx plans are, in the test repository (or the project).`,type:`text`,default:`perf`,placeholder:`perf`},{key:`max_users`,label:`Users a person confirms above`,help:`A run of more users at once asks first. One computer runs at most 5,000.`,type:`number`,default:50},{key:`max_minutes`,label:`Longest run`,help:`In minutes, up to 240. A run is stopped then.`,type:`number`,default:30},{key:`heap`,label:`JMeter's memory`,help:`Like 512m or 2g.`,type:`text`,default:`1g`,placeholder:`1g`},{key:`limits.p95_ms`,label:`p95 response time limit`,help:`Milliseconds. Broken: the run fails.`,type:`number`,placeholder:`800`},{key:`limits.p99_ms`,label:`p99 response time limit`,help:`Milliseconds.`,type:`number`,placeholder:`1500`},{key:`limits.mean_ms`,label:`Mean response time limit`,help:`Milliseconds.`,type:`number`,placeholder:`400`},{key:`limits.error_rate`,label:`Error rate limit`,help:`0 to 1.`,type:`number`,placeholder:`0.01`},{key:`limits.min_rps`,label:`Throughput floor`,help:`Requests per second.`,type:`number`,placeholder:`50`}]},{title:`API tests`,base:[`api`],fields:[{key:`capture`,label:`Record the app's API calls`,help:`In every browser run, with secrets redacted.`,type:`switch`,default:!0},{key:`base_url`,label:`API address`,type:`url`,placeholder:`https://staging.shop.example`},{key:`third_party`,label:`Keep calls to other sites`,type:`switch`,default:!1},{key:`browser_fallback`,label:`Send blocked calls from a browser page`,help:`When the site's bot protection answers a read-only call with a challenge or block page, the call is sent again from a page of a real browser on the API's site. Never a call that changes data.`,type:`switch`,default:!0},{key:`keep_headers`,label:`More headers to keep`,help:`On the API calls runs, recordings and re-runs capture, and in the calls made from them: a tenant or a correlation id, comma separated. Never one that carries a credential (Authorization, cookies, a token or key).`,type:`list`,placeholder:`X-Tenant, X-Correlation-Id`},{key:`timeout_seconds`,label:`Time limit per call`,help:`In seconds.`,type:`number`,default:30},{key:`headers`,label:`Headers on every call`,help:"Values are ${NAME} references to environment variables, never the values.",type:`kv`,placeholder:"Authorization = Bearer ${API_TOKEN}"}]},{title:`API sign-in with OAuth2`,base:[`api`,`oauth2`],fields:[{key:`token_url`,label:`Token address`,help:`https only. ForgeQE asks it for a token with the client-credentials grant and sends it as a bearer token.`,type:`url`,placeholder:`https://login.shop.example/oauth2/token`},{key:`client_id_env`,label:`Client id`,type:`var`,placeholder:`SHOP_API_CLIENT_ID`},{key:`client_secret_env`,label:`Client secret`,type:`var`,placeholder:`SHOP_API_CLIENT_SECRET`},{key:`scope`,label:`Scope`,help:`Space separated.`,type:`text`,placeholder:`orders.read orders.write`},{key:`audience`,label:`Audience`,help:`When the provider asks for one.`,type:`text`,placeholder:`https://api.shop.example`}]},{title:`API sign-in for some operations`,base:[`api`,`auth`],fields:[{key:`basic.user_env`,label:`Basic user name`,help:`Sent as HTTP Basic only to the calls whose description declares Basic sign-in; the others keep Headers on every call.`,type:`var`,placeholder:`SHOP_API_USER`},{key:`basic.password_env`,label:`Basic password`,type:`var`,placeholder:`SHOP_API_PASSWORD`},{key:`query`,label:`API keys in the query`,help:`The query parameter = the variable that holds its key, one per line. Added only to the calls whose description puts an API key in that parameter.`,type:`kv`,placeholder:`api_key = SHOP_API_KEY`}]},{title:`API load testing`,base:[`api`,`load`],fields:[{key:`users`,label:`Virtual users`,help:`1 to 50.`,type:`number`,placeholder:`10`},{key:`duration_seconds`,label:`Duration`,help:`In seconds, up to 600.`,type:`number`,placeholder:`60`},{key:`limits.p95_ms`,label:`p95 latency limit`,help:`Milliseconds. Broken: the run fails.`,type:`number`,placeholder:`800`},{key:`limits.p99_ms`,label:`p99 latency limit`,help:`Milliseconds.`,type:`number`,placeholder:`1500`},{key:`limits.error_rate`,label:`Error rate limit`,help:`0 to 1.`,type:`number`,placeholder:`0.01`},{key:`limits.min_rps`,label:`Throughput floor`,help:`Calls per second.`,type:`number`,placeholder:`20`}]},{title:`API client certificate (mutual TLS)`,base:[`api`,`tls`],fields:[{key:`cert`,label:`Certificate`,help:`A PEM file.`,type:`path`,placeholder:`~/.certs/shop-client.pem`},{key:`key`,label:`Private key`,help:`A PEM file kept out of the repository.`,type:`path`,placeholder:`~/.certs/shop-client-key.pem`},{key:`ca`,label:`Authorities trusted`,help:`A PEM file, for an API with its own certificate authority.`,type:`path`,placeholder:`~/.certs/shop-ca.pem`},{key:`key_passphrase_env`,label:`Key passphrase`,type:`var`,placeholder:`SHOP_API_KEY_PASSPHRASE`}]}],y=[{title:`Search service`,base:[`rag`],fields:[{key:`url`,label:`Address`,help:`ForgeQE sends POST {query, top_k} and reads the passages it answers.`,type:`url`,placeholder:`https://search.acme.example/search`},{key:`token_env`,label:`Token`,help:`Sent as a bearer token to that address only.`,type:`var`,placeholder:`RAG_TOKEN`},{key:`mcp.server`,label:`MCP server`,help:`Its name under MCP servers.`,type:`text`,placeholder:`docs`},{key:`mcp.tool`,label:`Its search tool`,type:`text`,placeholder:`search`},{key:`mcp.query_arg`,label:`The tool's query argument`,type:`text`,default:`query`},{key:`mcp.top_k_arg`,label:`The tool's argument for how many`,help:`Empty: the tool decides.`,type:`text`,placeholder:`limit`},{key:`command`,label:`Command`,help:`Gets {query, top_k} on stdin and prints passages. Comma separated.`,type:`list`,placeholder:`python, rag/search.py`},{key:`documents.folders`,label:`More folders`,help:`Folders inside the project, beside the knowledge folder, the documents below and product.docs. Comma separated.`,type:`list`,placeholder:`docs/requirements, docs/specs`},{key:`documents.reasoning`,label:`Let the model pick sections`,help:`Skimmer picks the sections that answer from their outline: one model call per search. Off: keywords only.`,type:`switch`},{key:`top_k`,label:`Passages per search`,type:`number`,default:5},{key:`timeout_seconds`,label:`Time limit`,help:`In seconds.`,type:`number`,default:20}]}],b=[{title:`The product`,help:`Agents design and judge tests as an expert in this industry, and add the obligations of each regulation a feature touches.`,base:[],fields:[{key:`product.name`,label:`Product name`,type:`text`,placeholder:`Shop`},{key:`domain.industry`,label:`Industry`,type:`text`,placeholder:`retail banking`},{key:`domain.regulations`,label:`Regulations`,type:`list`,placeholder:`DORA, PSD2, GDPR`},{key:`domain.notes`,label:`Notes`,type:`textarea`,placeholder:`Payments to UK and EU accounts; customers are consumers and small businesses.`}]},{title:`Where the knowledge is kept`,help:`The product graph forgeqe knowledge build writes, and how much of it a browser run gets. Page memory is under Reports and memory.`,base:[`knowledge`],fields:[{key:`dir`,label:`Product knowledge folder`,type:`path`,default:`.forgeqe/knowledge`},{key:`browser_max_chars`,label:`Knowledge per browser run`,help:`Characters. 0: none.`,type:`number`,default:1500}]},{title:`The graph store`,help:`The graph store keeps the product graph and BASAL's scenario graphs, so agents search them by meaning as well as words. forgeqe graph setup starts it after you agree: Docker first, else a native install, on this computer only. Without it, the graph's JSON file is used.`,base:[`graph`],fields:[{key:`store`,label:`Graph store`,type:`select`,default:`auto`,options:m([`auto`,`The graph store when it is running`],[`neo4j`,`The graph store, required`],[`json`,`The JSON file only`])},{key:`neo4j.setup`,label:`Where it runs`,help:`Automatic uses Docker when it is installed, else downloads what it needs once.`,type:`select`,default:`auto`,options:m([`auto`,`Automatic`],[`docker`,`In Docker`],[`native`,`Installed by ForgeQE`],[`server`,`On our own server`]),when:e=>e.store!==`json`},{key:`neo4j.url`,label:`Address`,help:`Another computer needs TLS: bolt+s:// or neo4j+s://.`,type:`text`,placeholder:`bolt://127.0.0.1:7688`,when:e=>e.store!==`json`},{key:`neo4j.user`,label:`User`,type:`text`,placeholder:`neo4j`,when:e=>e.store!==`json`},{key:`neo4j.password_env`,label:`Password variable`,help:`Its value is kept in Settings › Secrets. ForgeQE makes one for its own graph store.`,type:`text`,placeholder:`FORGEQE_NEO4J_PASSWORD`,when:e=>e.store!==`json`},{key:`embedding`,label:`Embedding model`,help:`A profile of llms.json that embeds, such as text-embedding-3-large. Empty: search by words only.`,type:`text`,placeholder:`azure-embed`,when:e=>e.store!==`json`},{key:`embedding_dimensions`,label:`Vector size`,type:`number`,default:1536,when:e=>e.store!==`json`&&!!e.embedding}]},{title:`The team's knowledge`,help:`Where the pipeline publishes the built product knowledge (forgeqe knowledge pipeline init). forgeqe knowledge pull brings it here: no repository needs to be cloned. One of a git branch, a link, or a file.`,base:[`product`,`shared`],fields:[{key:`git`,label:`Repository`,help:`The repository the pipeline publishes to.`,type:`text`,placeholder:`https://dev.azure.com/acme/Shop/_git/qa`},{key:`branch`,label:`Branch`,type:`text`,placeholder:`forgeqe-knowledge`},{key:`file`,label:`Pack in it`,type:`text`,placeholder:`shop.knowledge.forgeqe`},{key:`url`,label:`Or a link`,help:`https; a token goes to that host only.`,type:`url`,placeholder:`https://files.acme.local/shop.knowledge.forgeqe`},{key:`path`,label:`Or a file`,help:`On this computer or a shared folder.`,type:`path`,placeholder:`//share/qa/shop.knowledge.forgeqe`},{key:`token_env`,label:`Token`,help:`With the repository or the link. Empty: git's own sign-in.`,type:`var`,placeholder:`ADO_PAT`},{key:`user`,label:`User name for the token`,help:`Only when the server needs one.`,type:`text`}]}],x=[{title:`Building the graph`,help:`forgeqe knowledge build reads the repositories and documents into one graph the agents search: services, endpoints, tables, tests, and how they connect.`,base:[`product`],fields:[{key:`exclude`,label:`Files to leave out`,help:`Glob patterns, comma separated, beside each repository's .gitignore and .forgeqeignore.`,type:`list`,placeholder:`**/generated/**`},{key:`model`,label:`Understand the code with the model`,help:`Off: structure only; nothing is sent to a model.`,type:`switch`,default:!0},{key:`max_model_files`,label:`Files the model reads per build`,help:`0: none. Only new and changed files are read again.`,type:`number`,default:400},{key:`max_investigation_steps`,label:`Steps per question`,help:`5 to 200. Most tool calls one question to the product makes; at the limit it answers with what it found.`,type:`number`,placeholder:`40`}]}],S=[...y,...b,...x],C=[{key:`host`,label:`Host`,type:`select`,options:m([`github`,`GitHub`],[`azure-devops`,`Azure DevOps`],[`gitlab`,`GitLab`],[`bitbucket-cloud`,`Bitbucket Cloud`],[`bitbucket-server`,`Bitbucket Data Center`])},{key:`url`,label:`Address`,help:`A server of your own (GitHub Enterprise, GitLab, Azure DevOps Server, Bitbucket Data Center). Empty: the host's cloud.`,type:`url`,placeholder:`https://git.acme.example`},{key:`org`,label:`Organization`,help:`Azure DevOps' organization; a Bitbucket Cloud workspace.`,type:`text`,placeholder:`acme`},{key:`auth`,label:`Sign in`,type:`select`,options:m([`browser`,`In the browser`],[`token`,`With a token`])},{key:`token_env`,label:`Token`,type:`var`,placeholder:`GITHUB_TOKEN`},{key:`user`,label:`User name for the token`,help:`Bitbucket only, with an app password.`,type:`text`}],w=[{title:`Instructions and knowledge`,base:[],fields:[{key:`prompts.step_instruction`,label:`Extra instruction for the browser agent`,type:`textarea`},{key:`prompts.dir`,label:`Shared prompts folder`,help:`Wins over .forgeqe/prompts.`,type:`path`,placeholder:`../shared-prompts`},{key:`guardrails.dir`,label:`Guardrails folder`,type:`path`,default:`.forgeqe/guardrails`},{key:`prompts.guiderails`,label:`Guardrails kept in forgeqe.yaml`,help:`The older way: one rule per line. Prefer Guardrails.`,type:`textarea`}]},{title:`Custom agents`,help:`The team's agents for one job each (Agents, Custom agents). Off: none of them runs, from the terminal, this app, Atlas or a schedule; their files and history are kept.`,base:[`custom_agents`],fields:[{key:`enabled`,label:`Custom agents on`,help:`Off: none runs, and their scheduled runs do not start.`,type:`switch`,default:!0}]},{title:`Capabilities`,help:`The agent gets the tools a request is about. Pin some on, or turn some off for this project (forgeqe features lists them).`,base:[`agent`,`capabilities`],fields:[{key:`always`,label:`Always given`,type:`list`,placeholder:`regression-packs`},{key:`off`,label:`Never given`,type:`list`,placeholder:`desktop-apps`}]}],T=[{id:`jira`,icon:o,name:`Jira`,note:`Test cases, results and bugs`,base:[`sources`,`jira`],vars:[`email_env`,`token_env`],fields:[{key:`url`,label:`Site`,type:`url`,placeholder:`https://acme.atlassian.net`},{key:`email_env`,label:`Email variable`,help:`Cloud only.`,type:`var`,default:`JIRA_EMAIL`},{key:`token_env`,label:`Token variable`,type:`var`,default:`JIRA_API_TOKEN`},{key:`mcp`,label:`MCP server`,type:`select`,default:`mcp-atlassian`,options:m([`mcp-atlassian`,`mcp-atlassian (Cloud and Server)`],[`rovo`,`Rovo (Atlassian's, Cloud)`],[`false`,`None`])},{key:`test_cases`,label:`Where existing test cases are`,help:`One line per story project: the Jira project key (or * for the rest) = project=, label=, component=, type=, separated by ;. Saving cases reads only there (at most 300) to reuse or extend one.`,type:`kv`,placeholder:`SHOP = label=regression; component=Checkout
|
|
1
|
+
import{Hr as e,It as t,Pt as n,Tt as r,U as i,V as a,cn as o,er as s,fr as c,m as l,tt as u,wn as d,xr as f,y as p}from"./line-icons-Cwj9OmCz.js";var m=(...e)=>e.map(([e,t])=>({value:e,label:t})),h=[{title:`Where runs happen`,base:[`browser`],fields:[{key:`provider`,label:`Browser`,help:`Where the browser agent runs. Remote grids need their sign-in under Integrations.`,type:`select`,default:`local`,options:m([`local`,`Chrome on this machine`],[`docker`,`Chrome in Docker`],[`browserstack`,`BrowserStack`],[`testmu`,`TestMu AI (LambdaTest)`])},{key:`local_browser`,label:`Local browser`,help:`Automatic tries Chrome first, then Edge, then Playwright's Chromium, each when the one before does not start.`,type:`select`,default:`auto`,options:m([`auto`,`Automatic`],[`chrome`,`Google Chrome`],[`edge`,`Microsoft Edge`],[`chromium`,`Playwright's Chromium`]),when:e=>!e.provider||e.provider===`local`},{key:`launch`,label:`How it starts`,help:`Automatic starts the browser directly, then through Playwright when this computer stops it, and remembers what worked.`,type:`select`,default:`auto`,options:m([`auto`,`Automatic`],[`direct`,`Directly`],[`playwright`,`Through Playwright`],[`attach`,`Connect to a browser I started`]),when:e=>!e.provider||e.provider===`local`},{key:`attach_port`,label:`Port of your browser`,help:`Start it with --remote-debugging-port and this number. Only on this computer.`,type:`number`,placeholder:`9222`,when:e=>(!e.provider||e.provider===`local`)&&e.launch===`attach`},{key:`start_url`,label:`Start page`,help:`Leave empty to let the agent choose, or to start at the active environment's app.`,type:`url`,placeholder:`https://staging.example.com`},{key:`allowed_hosts`,label:`Allowed sites`,help:`Hosts the agent may open, comma separated. Empty: the environment's apps.`,type:`list`,placeholder:`staging.example.com, auth.example.com`}]},{title:`The browser window`,base:[`browser`],fields:[{key:`headless`,label:`Run without a window`,help:`Off shows the browser while the agent works.`,type:`switch`,default:!0},{key:`window`,label:`Visible window`,type:`select`,default:`maximized`,options:m([`maximized`,`Maximized`],[`viewport`,`The size below`])},{key:`viewport.width`,label:`Page width`,type:`number`,default:1280},{key:`viewport.height`,label:`Page height`,type:`number`,default:800},{key:`overlay`,label:`Show what the agent does`,help:`In a visible browser: a bar with the current step, and your mouse and keyboard locked while it works.`,type:`switch`,default:!0}]},{title:`Limits and checks`,base:[`browser`],fields:[{key:`max_steps`,label:`Steps before a checkpoint`,help:`A run still making progress carries on, up to three times this.`,type:`number`,default:40},{key:`timeout_seconds`,label:`Time limit per run`,help:`In seconds.`,type:`number`,default:600},{key:`vision_detail`,label:`Screenshot detail`,help:`High reads small text better and costs more.`,type:`select`,default:`low`,options:m([`low`,`Low`],[`high`,`High`])},{key:`video`,label:`Record a video`,type:`switch`,default:!0},{key:`judge`,label:`Second check of each result`,help:`Another model call checks each finished run against its goal, and can fail it.`,type:`switch`,default:!1},{key:`rulebook`,label:`Learn rules per site`,help:`One-line rules the agent keeps after it recovers from a failed action.`,type:`switch`,default:!0}]},{title:`Remote browser, set here`,help:`For BrowserStack or TestMu AI set inline in forgeqe.yaml. These win over the grid's own file under Integrations when both are set.`,base:[`browser`,`remote`],fields:[{key:`browser`,label:`Browser`,type:`text`,placeholder:`chrome`},{key:`browser_version`,label:`Browser version`,type:`text`,placeholder:`latest`},{key:`os`,label:`Operating system`,help:`BrowserStack: Windows or OS X.`,type:`text`,placeholder:`Windows`},{key:`os_version`,label:`Its version`,type:`text`,placeholder:`11, or Sequoia`},{key:`platform`,label:`Platform`,help:`TestMu AI; or set the two above and ForgeQE joins them.`,type:`text`,placeholder:`Windows 11`},{key:`username_env`,label:`User name`,type:`var`,placeholder:`BROWSERSTACK_USERNAME`},{key:`access_key_env`,label:`Access key`,type:`var`,placeholder:`BROWSERSTACK_ACCESS_KEY`},{key:`project`,label:`Project`,type:`text`,placeholder:`ForgeQE`},{key:`build`,label:`Build`,type:`text`,placeholder:`nightly`},{key:`name`,label:`Session name`,type:`text`,placeholder:`checkout smoke`},{key:`local`,label:`Through a tunnel`,help:`BrowserStack Local or the LambdaTest tunnel, for sites only your network reaches.`,type:`switch`,default:!1},{key:`extra`,label:`More capabilities`,help:`The provider's own, one per line.`,type:`kv`,placeholder:`browserstack.console = errors`}]}],g=[{title:`Where tests go`,base:[`code`],fields:[{key:`repo`,label:`Repository`,help:`Where passed runs become tests. Empty: this folder.`,type:`path`,placeholder:`../my-app`},{key:`test_command`,label:`Test command`,help:`Empty: the agent finds it.`,type:`path`,placeholder:`npx playwright test`},{key:`model`,label:`Model`,help:`Empty: the default model.`,type:`text`,placeholder:`anthropic/claude-sonnet-4-5`},{key:`review_profile`,label:`Checker's model`,help:`A profile from Models. Checker only reads and judges, so a cheaper one is enough.`,type:`text`},{key:`runtime`,label:`Agent runtime`,help:`Empty: the runtime ForgeQE downloads.`,type:`path`,placeholder:`/path/to/agent-runtime`}]},{title:`How hard it tries`,base:[`code`],fields:[{key:`max_attempts`,label:`Attempts`,help:`Test runs before it gives up, and healing attempts.`,type:`number`,default:3},{key:`test_timeout_seconds`,label:`Time limit per test run`,help:`In seconds.`,type:`number`,default:600},{key:`confirm_runs`,label:`Passes in a row before a test counts`,help:`A new test is run again until it has passed this many times in a row, to catch a flaky test. 1 runs it once.`,type:`number`,default:3},{key:`stall_after`,label:`Stop after repeated failures`,help:`When one command has failed this many times.`,type:`number`,default:5},{key:`repeat_after`,label:`Stop after repeated look-ups`,help:`When the coding agent has re-read files or state it already saw, unchanged, this many times; it is then asked for its test.`,type:`number`,default:6},{key:`edit_after`,label:`Stop after repeated edits`,help:`When the coding agent has changed files it already changed this many times without handing its test over to be run.`,type:`number`,default:8},{key:`max_tokens`,label:`Token limit per job`,help:`Cached input counts at its share of the input price. 0 turns the limit off.`,type:`number`,default:15e5}]},{title:`Help it gets`,base:[`code`],fields:[{key:`replay`,label:`Replay the steps first`,help:`Runs the steps as a Playwright script and hands over what worked.`,type:`switch`,default:!0},{key:`live_browser`,label:`Look at the failing page`,help:`Once a step fails, the agent looks at that page in a browser.`,type:`switch`,default:!0},{key:`graph`,label:`Read the repository's code`,help:`Links the run's elements to the page objects that already locate them.`,type:`switch`,default:!0},{key:`duplicates`,label:`Check for copied code`,help:`Tells the reviewer which code a new test or a pull request copied from the repository (jscpd).`,type:`switch`,default:!0},{key:`header`,label:`Mark generated files`,help:`Files ForgeQE creates start with a “Generated with ForgeQE” line.`,type:`switch`,default:!0},{key:`rulebook`,label:`Learn from its own mistakes`,type:`switch`,default:!0},{key:`requests`,label:`When an agent asks for more`,help:`Packages, a command its shell refuses, or a change to package.json. Shells, pushes, .npmrc and lockfiles are refused whatever this says.`,type:`select`,default:`ask`,options:m([`ask`,`Ask me each time`],[`allow`,`Allow without asking`],[`off`,`Always refuse`])}]}],_=[{title:`Reports`,base:[],fields:[{key:`export.out_dir`,label:`Report folder`,help:`One folder per run.`,type:`path`,default:`./.forgeqe/reports`},{key:`export.format`,label:`Test format`,type:`select`,default:`playwright`,options:m([`playwright`,`Playwright`])},{key:`report.screenshots`,label:`Screenshots in reports`,type:`select`,default:`all`,options:m([`all`,`Every step`],[`failures`,`Failures only`],[`off`,`None`])},{key:`report.accessibility`,label:`Check accessibility of each page`,type:`switch`,default:!0},{key:`suite.out_dir`,label:`Suite report folder`,type:`path`,default:`./.forgeqe/reports/suites`}]},{title:`Memory and replays`,base:[],fields:[{key:`memory.enabled`,label:`Remember pages and flows`,type:`switch`,default:!0},{key:`memory.dir`,label:`Memory folder`,type:`path`,default:`./.forgeqe/memory`},{key:`memory.replay`,label:`Replays`,help:`Verify checks each recorded step; trust replays without a model.`,type:`select`,default:`verify`,options:m([`verify`,`Verify`],[`trust`,`Trust`],[`off`,`Off`])},{key:`registry.mode`,label:`Replay passed runs for free`,help:`Running a passed test again repeats its saved steps without the AI; if the page changed, the AI takes over. Test mode only notes what it would have replayed.`,type:`select`,default:`on`,options:m([`on`,`On`],[`shadow`,`Test mode: only note it`],[`off`,`Off`])}]},{title:`Suites`,base:[],fields:[{key:`suite.code`,label:`Write tests for passed cases`,help:`With a repository set under Code.`,type:`switch`,default:!0},{key:`suite.restore_sessions`,label:`Start each case signed in`,help:`Cases start from the saved logins' sessions. Off runs each case as its test starts, signed out.`,type:`switch`,default:!1},{key:`suite.case_check`,label:`Before a run, check the cases`,help:`Warn shows what the check found and runs every case; block leaves out the ones that cannot run as written.`,type:`select`,default:`warn`,options:m([`warn`,`Warn`],[`block`,`Block`],[`off`,`Off`])}]},{title:`Flaky tests`,help:`A test that fails and then passes is flaky; quarantine keeps it running, but its failures stop failing the run and CI.`,base:[`flaky`],fields:[{key:`retries`,label:`Runs again in the same run`,help:`0 to 3.`,type:`number`,default:1},{key:`quarantine`,label:`Quarantine`,type:`select`,default:`suggest`,options:m([`suggest`,`The agent asks first`],[`auto`,`ForgeQE does it`],[`off`,`Off: history only`])},{key:`flaky_after`,label:`Flaky from this score`,type:`number`,default:2}]},{title:`Release readiness`,help:`When a release reads GO, GO WITH RISKS or NO-GO.`,base:[`release`],fields:[{key:`max_critical`,label:`Open critical bugs allowed`,type:`number`,default:0},{key:`max_high`,label:`Open high bugs allowed`,type:`number`,default:0},{key:`min_pass_rate`,label:`Pass rate needed`,help:`Percent of executed test cases.`,type:`number`,default:95},{key:`require_tests`,label:`A story needs a test case`,help:`Without one it is a risk.`,type:`switch`,default:!0}]},{title:`Regression packs in a pipeline`,help:`Where Run in the pipeline sends a pack (forgeqe pack run --on pipeline).`,base:[`packs`,`pipeline`],fields:[{key:`default`,label:`Pipeline`,type:`select`,options:m([`github`,`GitHub Actions`],[`azure_devops`,`Azure Pipelines`])},{key:`github.repo`,label:`GitHub repository`,type:`text`,placeholder:`acme/shop-tests`},{key:`github.workflow`,label:`Workflow file`,type:`text`,default:`forgeqe-pack.yml`},{key:`github.ref`,label:`Branch`,type:`text`,default:`main`},{key:`azure_devops.project`,label:`Azure DevOps project`,type:`text`,placeholder:`Shop`},{key:`azure_devops.pipeline_id`,label:`Pipeline id`,type:`number`,placeholder:`42`},{key:`azure_devops.ref`,label:`Branch`,type:`text`,default:`refs/heads/main`},{key:`timeout_minutes`,label:`Wait for it`,help:`In minutes.`,type:`number`,default:60}]},{title:`Defect analysis`,help:`For a failed case that is a defect: a repro, suspect commits in the product's repository, and a root-cause hypothesis.`,base:[`defects`],fields:[{key:`product_repo`,label:`Product repository`,help:`The application's code: suspect commits, and what the analysis reads.`,type:`path`,placeholder:`../shop`},{key:`reproduce`,label:`Run a new defect's case once more`,help:`To see whether it repeats.`,type:`switch`,default:!0},{key:`analyze`,label:`Write a root-cause hypothesis`,help:`One model session per new defect or regression.`,type:`switch`,default:!0},{key:`max_analyses`,label:`Analyses per suite`,type:`number`,default:3}]}],v=[{title:`Accessibility`,base:[`quality`],fields:[{key:`accessibility.standard`,label:`Standard`,type:`select`,default:`wcag21aa`,options:m([`wcag2a`,`WCAG 2.0 A`],[`wcag2aa`,`WCAG 2.0 AA`],[`wcag2aaa`,`WCAG 2.0 AAA`],[`wcag21a`,`WCAG 2.1 A`],[`wcag21aa`,`WCAG 2.1 AA`],[`wcag21aaa`,`WCAG 2.1 AAA`],[`wcag22a`,`WCAG 2.2 A`],[`wcag22aa`,`WCAG 2.2 AA`],[`wcag22aaa`,`WCAG 2.2 AAA`],[`section508`,`Section 508`],[`en301549`,`EN 301 549`],[`best-practice`,`Best practice`])},{key:`accessibility.engine`,label:`Rule engine`,help:`Which automated checker runs on each page. IBM Equal Access has rules up to AA only: a WCAG 2.1 AAA standard is checked at AA with it.`,type:`select`,default:`axe`,options:m([`axe`,`axe-core`],[`ibm`,`IBM Equal Access`],[`basic`,`ForgeQE's built-in checks`])},{key:`accessibility.ask_before_run`,label:`Ask before running a persona session`,help:`The Accessibility agent shows its plan and asks before it starts the browser runs, a few minutes and model tokens each. Off: it runs the plan straight away.`,type:`switch`,default:!0},{key:`budgets.accessibility.critical`,label:`Critical issues allowed`,help:`Empty: reported, never failed on.`,type:`number`},{key:`budgets.accessibility.serious`,label:`Serious issues allowed`,type:`number`},{key:`budgets.accessibility.ignore`,label:`Rules to ignore`,type:`list`,placeholder:`region`}]},{title:`Performance and visual changes`,base:[`quality`],fields:[{key:`budgets.performance`,label:`Performance budget`,help:`web-vitals uses Google's thresholds. Per-page budgets are edited in Settings as text.`,type:`select`,options:m([`web-vitals`,`Core Web Vitals`])},{key:`budgets.visual`,label:`Visual change allowed`,help:`Percent of a page's pixels.`,type:`number`},{key:`visual.full_page`,label:`Compare whole pages`,type:`switch`,default:!1},{key:`visual.mask`,label:`Hide before comparing`,help:`CSS selectors, comma separated.`,type:`list`,placeholder:`.clock, #ad-slot`}]},{title:`Load tests (JMeter)`,base:[`perf`],fields:[{key:`folder`,label:`Plans folder`,help:`Where the .jmx plans are, in the test repository (or the project).`,type:`text`,default:`perf`,placeholder:`perf`},{key:`max_users`,label:`Users a person confirms above`,help:`A run of more users at once asks first. One computer runs at most 5,000.`,type:`number`,default:50},{key:`max_minutes`,label:`Longest run`,help:`In minutes, up to 240. A run is stopped then.`,type:`number`,default:30},{key:`heap`,label:`JMeter's memory`,help:`Like 512m or 2g.`,type:`text`,default:`1g`,placeholder:`1g`},{key:`limits.p95_ms`,label:`p95 response time limit`,help:`Milliseconds. Broken: the run fails.`,type:`number`,placeholder:`800`},{key:`limits.p99_ms`,label:`p99 response time limit`,help:`Milliseconds.`,type:`number`,placeholder:`1500`},{key:`limits.mean_ms`,label:`Mean response time limit`,help:`Milliseconds.`,type:`number`,placeholder:`400`},{key:`limits.error_rate`,label:`Error rate limit`,help:`0 to 1.`,type:`number`,placeholder:`0.01`},{key:`limits.min_rps`,label:`Throughput floor`,help:`Requests per second.`,type:`number`,placeholder:`50`}]},{title:`API tests`,base:[`api`],fields:[{key:`capture`,label:`Record the app's API calls`,help:`In every browser run, with secrets redacted.`,type:`switch`,default:!0},{key:`base_url`,label:`API address`,type:`url`,placeholder:`https://staging.shop.example`},{key:`third_party`,label:`Keep calls to other sites`,type:`switch`,default:!1},{key:`browser_fallback`,label:`Send blocked calls from a browser page`,help:`When the site's bot protection answers a read-only call with a challenge or block page, the call is sent again from a page of a real browser on the API's site. Never a call that changes data.`,type:`switch`,default:!0},{key:`keep_headers`,label:`More headers to keep`,help:`On the API calls runs, recordings and re-runs capture, and in the calls made from them: a tenant or a correlation id, comma separated. Never one that carries a credential (Authorization, cookies, a token or key).`,type:`list`,placeholder:`X-Tenant, X-Correlation-Id`},{key:`timeout_seconds`,label:`Time limit per call`,help:`In seconds.`,type:`number`,default:30},{key:`headers`,label:`Headers on every call`,help:"Values are ${NAME} references to environment variables, never the values.",type:`kv`,placeholder:"Authorization = Bearer ${API_TOKEN}"}]},{title:`API sign-in with OAuth2`,base:[`api`,`oauth2`],fields:[{key:`token_url`,label:`Token address`,help:`https only. ForgeQE asks it for a token with the client-credentials grant and sends it as a bearer token.`,type:`url`,placeholder:`https://login.shop.example/oauth2/token`},{key:`client_id_env`,label:`Client id`,type:`var`,placeholder:`SHOP_API_CLIENT_ID`},{key:`client_secret_env`,label:`Client secret`,type:`var`,placeholder:`SHOP_API_CLIENT_SECRET`},{key:`scope`,label:`Scope`,help:`Space separated.`,type:`text`,placeholder:`orders.read orders.write`},{key:`audience`,label:`Audience`,help:`When the provider asks for one.`,type:`text`,placeholder:`https://api.shop.example`}]},{title:`API sign-in for some operations`,base:[`api`,`auth`],fields:[{key:`basic.user_env`,label:`Basic user name`,help:`Sent as HTTP Basic only to the calls whose description declares Basic sign-in; the others keep Headers on every call.`,type:`var`,placeholder:`SHOP_API_USER`},{key:`basic.password_env`,label:`Basic password`,type:`var`,placeholder:`SHOP_API_PASSWORD`},{key:`query`,label:`API keys in the query`,help:`The query parameter = the variable that holds its key, one per line. Added only to the calls whose description puts an API key in that parameter.`,type:`kv`,placeholder:`api_key = SHOP_API_KEY`}]},{title:`API load testing`,base:[`api`,`load`],fields:[{key:`users`,label:`Virtual users`,help:`1 to 50.`,type:`number`,placeholder:`10`},{key:`duration_seconds`,label:`Duration`,help:`In seconds, up to 600.`,type:`number`,placeholder:`60`},{key:`limits.p95_ms`,label:`p95 latency limit`,help:`Milliseconds. Broken: the run fails.`,type:`number`,placeholder:`800`},{key:`limits.p99_ms`,label:`p99 latency limit`,help:`Milliseconds.`,type:`number`,placeholder:`1500`},{key:`limits.error_rate`,label:`Error rate limit`,help:`0 to 1.`,type:`number`,placeholder:`0.01`},{key:`limits.min_rps`,label:`Throughput floor`,help:`Calls per second.`,type:`number`,placeholder:`20`}]},{title:`API client certificate (mutual TLS)`,base:[`api`,`tls`],fields:[{key:`cert`,label:`Certificate`,help:`A PEM file.`,type:`path`,placeholder:`~/.certs/shop-client.pem`},{key:`key`,label:`Private key`,help:`A PEM file kept out of the repository.`,type:`path`,placeholder:`~/.certs/shop-client-key.pem`},{key:`ca`,label:`Authorities trusted`,help:`A PEM file, for an API with its own certificate authority.`,type:`path`,placeholder:`~/.certs/shop-ca.pem`},{key:`key_passphrase_env`,label:`Key passphrase`,type:`var`,placeholder:`SHOP_API_KEY_PASSPHRASE`}]}],y=[{title:`Search service`,base:[`rag`],fields:[{key:`url`,label:`Address`,help:`ForgeQE sends POST {query, top_k} and reads the passages it answers.`,type:`url`,placeholder:`https://search.acme.example/search`},{key:`token_env`,label:`Token`,help:`Sent as a bearer token to that address only.`,type:`var`,placeholder:`RAG_TOKEN`},{key:`mcp.server`,label:`MCP server`,help:`Its name under MCP servers.`,type:`text`,placeholder:`docs`},{key:`mcp.tool`,label:`Its search tool`,type:`text`,placeholder:`search`},{key:`mcp.query_arg`,label:`The tool's query argument`,type:`text`,default:`query`},{key:`mcp.top_k_arg`,label:`The tool's argument for how many`,help:`Empty: the tool decides.`,type:`text`,placeholder:`limit`},{key:`command`,label:`Command`,help:`Gets {query, top_k} on stdin and prints passages. Comma separated.`,type:`list`,placeholder:`python, rag/search.py`},{key:`documents.folders`,label:`More folders`,help:`Folders inside the project, beside the knowledge folder, the documents below and product.docs. Comma separated.`,type:`list`,placeholder:`docs/requirements, docs/specs`},{key:`documents.reasoning`,label:`Let the model pick sections`,help:`Skimmer picks the sections that answer from their outline: one model call per search. Off: keywords only.`,type:`switch`},{key:`top_k`,label:`Passages per search`,type:`number`,default:5},{key:`timeout_seconds`,label:`Time limit`,help:`In seconds.`,type:`number`,default:20}]}],b=[{title:`The product`,help:`Agents design and judge tests as an expert in this industry, and add the obligations of each regulation a feature touches.`,base:[],fields:[{key:`product.name`,label:`Product name`,type:`text`,placeholder:`Shop`},{key:`domain.industry`,label:`Industry`,type:`text`,placeholder:`retail banking`},{key:`domain.regulations`,label:`Regulations`,type:`list`,placeholder:`DORA, PSD2, GDPR`},{key:`domain.notes`,label:`Notes`,type:`textarea`,placeholder:`Payments to UK and EU accounts; customers are consumers and small businesses.`}]},{title:`Where the knowledge is kept`,help:`The product graph forgeqe knowledge build writes, and how much of it a browser run gets. Page memory is under Reports and memory.`,base:[`knowledge`],fields:[{key:`dir`,label:`Product knowledge folder`,type:`path`,default:`.forgeqe/knowledge`},{key:`browser_max_chars`,label:`Knowledge per browser run`,help:`Characters. 0: none.`,type:`number`,default:1500}]},{title:`The graph store`,help:`The graph store keeps the product graph and BASAL's scenario graphs, so agents search them by meaning as well as words. forgeqe graph setup starts it after you agree: Docker first, else a native install, on this computer only. Without it, the graph's JSON file is used.`,base:[`graph`],fields:[{key:`store`,label:`Graph store`,type:`select`,default:`auto`,options:m([`auto`,`The graph store when it is running`],[`neo4j`,`The graph store, required`],[`json`,`The JSON file only`])},{key:`neo4j.setup`,label:`Where it runs`,help:`Automatic uses Docker when it is installed, else downloads what it needs once.`,type:`select`,default:`auto`,options:m([`auto`,`Automatic`],[`docker`,`In Docker`],[`native`,`Installed by ForgeQE`],[`server`,`On our own server`]),when:e=>e.store!==`json`},{key:`neo4j.url`,label:`Address`,help:`Another computer needs TLS: bolt+s:// or neo4j+s://.`,type:`text`,placeholder:`bolt://127.0.0.1:7688`,when:e=>e.store!==`json`},{key:`neo4j.user`,label:`User`,type:`text`,placeholder:`neo4j`,when:e=>e.store!==`json`},{key:`neo4j.password_env`,label:`Password variable`,help:`Its value is kept in Settings › Secrets. ForgeQE makes one for its own graph store.`,type:`text`,placeholder:`FORGEQE_NEO4J_PASSWORD`,when:e=>e.store!==`json`},{key:`embedding`,label:`Embedding model`,help:`A profile of llms.json that embeds, such as text-embedding-3-large. Empty: search by words only.`,type:`text`,placeholder:`azure-embed`,when:e=>e.store!==`json`},{key:`embedding_dimensions`,label:`Vector size`,type:`number`,default:1536,when:e=>e.store!==`json`&&!!e.embedding}]},{title:`The team's knowledge`,help:`Where the pipeline publishes the built product knowledge (forgeqe knowledge pipeline init). forgeqe knowledge pull brings it here: no repository needs to be cloned. One of a git branch, a link, or a file.`,base:[`product`,`shared`],fields:[{key:`git`,label:`Repository`,help:`The repository the pipeline publishes to.`,type:`text`,placeholder:`https://dev.azure.com/acme/Shop/_git/qa`},{key:`branch`,label:`Branch`,type:`text`,placeholder:`forgeqe-knowledge`},{key:`file`,label:`Pack in it`,type:`text`,placeholder:`shop.knowledge.forgeqe`},{key:`url`,label:`Or a link`,help:`https; a token goes to that host only.`,type:`url`,placeholder:`https://files.acme.local/shop.knowledge.forgeqe`},{key:`path`,label:`Or a file`,help:`On this computer or a shared folder.`,type:`path`,placeholder:`//share/qa/shop.knowledge.forgeqe`},{key:`token_env`,label:`Token`,help:`With the repository or the link. Empty: git's own sign-in.`,type:`var`,placeholder:`ADO_PAT`},{key:`user`,label:`User name for the token`,help:`Only when the server needs one.`,type:`text`}]}],x=[{title:`Building the graph`,help:`forgeqe knowledge build reads the repositories and documents into one graph the agents search: services, endpoints, tables, tests, and how they connect.`,base:[`product`],fields:[{key:`exclude`,label:`Files to leave out`,help:`Glob patterns, comma separated, beside each repository's .gitignore and .forgeqeignore.`,type:`list`,placeholder:`**/generated/**`},{key:`model`,label:`Understand the code with the model`,help:`Off: structure only; nothing is sent to a model.`,type:`switch`,default:!0},{key:`max_model_files`,label:`Files the model reads per build`,help:`0: none. Only new and changed files are read again.`,type:`number`,default:400},{key:`max_investigation_steps`,label:`Steps per question`,help:`5 to 200. Most tool calls one question to the product makes; at the limit it answers with what it found.`,type:`number`,placeholder:`40`}]}],S=[...y,...b,...x],C=[{key:`host`,label:`Host`,type:`select`,options:m([`github`,`GitHub`],[`azure-devops`,`Azure DevOps`],[`gitlab`,`GitLab`],[`bitbucket-cloud`,`Bitbucket Cloud`],[`bitbucket-server`,`Bitbucket Data Center`])},{key:`url`,label:`Address`,help:`A server of your own (GitHub Enterprise, GitLab, Azure DevOps Server, Bitbucket Data Center). Empty: the host's cloud.`,type:`url`,placeholder:`https://git.acme.example`},{key:`org`,label:`Organization`,help:`Azure DevOps' organization; a Bitbucket Cloud workspace.`,type:`text`,placeholder:`acme`},{key:`auth`,label:`Sign in`,type:`select`,options:m([`browser`,`In the browser`],[`token`,`With a token`])},{key:`token_env`,label:`Token`,type:`var`,placeholder:`GITHUB_TOKEN`},{key:`user`,label:`User name for the token`,help:`Bitbucket only, with an app password.`,type:`text`}],w=[{title:`Instructions and knowledge`,base:[],fields:[{key:`prompts.step_instruction`,label:`Extra instruction for the browser agent`,type:`textarea`},{key:`prompts.dir`,label:`Shared prompts folder`,help:`Wins over .forgeqe/prompts.`,type:`path`,placeholder:`../shared-prompts`},{key:`guardrails.dir`,label:`Guardrails folder`,type:`path`,default:`.forgeqe/guardrails`},{key:`prompts.guiderails`,label:`Guardrails kept in forgeqe.yaml`,help:`The older way: one rule per line. Prefer Guardrails.`,type:`textarea`}]},{title:`Custom agents`,help:`The team's agents for one job each (Agents, Custom agents). Off: none of them runs, from the terminal, this app, Atlas or a schedule; their files and history are kept.`,base:[`custom_agents`],fields:[{key:`enabled`,label:`Custom agents on`,help:`Off: none runs, and their scheduled runs do not start.`,type:`switch`,default:!0}]},{title:`Capabilities`,help:`The agent gets the tools a request is about. Pin some on, or turn some off for this project (forgeqe features lists them).`,base:[`agent`,`capabilities`],fields:[{key:`always`,label:`Always given`,type:`list`,placeholder:`regression-packs`},{key:`off`,label:`Never given`,type:`list`,placeholder:`desktop-apps`}]}],T=[{id:`jira`,icon:f,name:`Jira`,note:`Test cases, results and bugs`,base:[`sources`,`jira`],vars:[`email_env`,`token_env`],fields:[{key:`url`,label:`Site`,type:`url`,placeholder:`https://acme.atlassian.net`},{key:`email_env`,label:`Email variable`,help:`Cloud only.`,type:`var`,default:`JIRA_EMAIL`},{key:`token_env`,label:`Token variable`,type:`var`,default:`JIRA_API_TOKEN`},{key:`mcp`,label:`MCP server`,type:`select`,default:`mcp-atlassian`,options:m([`mcp-atlassian`,`mcp-atlassian (Cloud and Server)`],[`rovo`,`Rovo (Atlassian's, Cloud)`],[`false`,`None`])},{key:`test_cases`,label:`Where existing test cases are`,help:`One line per story project: the Jira project key (or * for the rest) = project=, label=, component=, type=, separated by ;. Saving cases reads only there (at most 300) to reuse or extend one.`,type:`kv`,placeholder:`SHOP = label=regression; component=Checkout
|
|
2
2
|
* = project=QA`},{key:`sibling_cases`,label:`Also compare with the epic's other stories`,help:`The tests of the other stories under the story's epic (Jira Cloud parent; the first 30 stories).`,type:`switch`,default:!1},{key:`new_cases.priority`,label:`Priority of new test cases`,help:`A priority name. The agent may give a case its own.`,type:`text`,placeholder:`Medium`},{key:`new_cases.tags`,label:`Labels on new test cases`,help:`No spaces. Added to the case's own.`,type:`list`,placeholder:`forgeqe`},{key:`retire_label`,label:`Label of a retired test case`,help:`What retire_test_case adds; nothing is deleted.`,type:`text`,default:`obsolete`},{key:`done_statuses`,label:`Statuses that mean done`,help:`Only where the site categorises its own statuses wrongly; otherwise Jira's status category says, custom statuses included.`,type:`list`,placeholder:`Verified, Shipped`}]},{id:`azure_devops`,icon:e,name:`Azure DevOps`,note:`Test plans, work items and wiki`,base:[`sources`,`azure_devops`],vars:[`token_env`],fields:[{key:`test_plans`,label:`Test plans in Test management`,help:`plan=12, or plan=12/suite=34. Every case of these shows in Test management, synced from here.`,type:`list`,placeholder:`plan=12, plan=19/suite=204`},{key:`org_url`,label:`Organization`,type:`url`,placeholder:`https://dev.azure.com/acme`},{key:`project`,label:`Project`,help:`Empty: every project.`,type:`text`,placeholder:`Shop`},{key:`token_env`,label:`Token variable`,help:`A PAT with Test Management and Work Items, read and write.`,type:`var`,default:`ADO_PAT`},{key:`mcp`,label:`Use Microsoft's MCP server`,type:`switch`,default:!0},{key:`mcp_domains`,label:`MCP tool groups`,type:`list`,placeholder:`core, work, work-items, pipelines`},{key:`test_cases`,label:`Where existing test cases are`,help:`One line per story area path (or * for the rest) = plan=12, plan=12/suite=34, or area=<area path>. Saving cases reads only there (at most 300) to reuse or extend one.`,type:`kv`,placeholder:`Shop\\Checkout = plan=12/suite=34
|
|
3
|
-
* = area=Shop\\Regression`},{key:`sibling_cases`,label:`Also compare with the feature's other stories`,help:`The cases of the other stories under the story's feature or epic (the first 30 stories).`,type:`switch`,default:!1},{key:`new_cases.priority`,label:`Priority of new test cases`,help:`1 (highest) to 4. The agent may give a case its own.`,type:`number`,placeholder:`2`},{key:`new_cases.tags`,label:`Tags on new test cases`,help:`Added to the case's own.`,type:`list`,placeholder:`forgeqe`},{key:`new_cases.state`,label:`State of new test cases`,help:`For example Design, so a person reviews a case before it is Ready.`,type:`text`,placeholder:`Design`},{key:`retire_state`,label:`State of a retired test case`,help:`What retire_test_case sets; nothing is deleted. Empty: a state the project itself calls done.`,type:`text`,placeholder:`Closed`},{key:`states.done`,label:`States that mean done`,help:`Only where the project categorises its own states wrongly; otherwise they are read from the project, custom ones included.`,type:`list`,placeholder:`Verified, Shipped`},{key:`states.removed`,label:`States that mean removed`,help:`States for an item taken out of the project.`,type:`list`,placeholder:`Dropped`},{key:`shared_steps`,label:`Shared steps to use`,help:`Shared Steps work item ids. New cases refer to them instead of copying their steps.`,type:`list`,placeholder:`345, 346`}]},{id:`xray`,icon:
|
|
3
|
+
* = area=Shop\\Regression`},{key:`sibling_cases`,label:`Also compare with the feature's other stories`,help:`The cases of the other stories under the story's feature or epic (the first 30 stories).`,type:`switch`,default:!1},{key:`new_cases.priority`,label:`Priority of new test cases`,help:`1 (highest) to 4. The agent may give a case its own.`,type:`number`,placeholder:`2`},{key:`new_cases.tags`,label:`Tags on new test cases`,help:`Added to the case's own.`,type:`list`,placeholder:`forgeqe`},{key:`new_cases.state`,label:`State of new test cases`,help:`For example Design, so a person reviews a case before it is Ready.`,type:`text`,placeholder:`Design`},{key:`retire_state`,label:`State of a retired test case`,help:`What retire_test_case sets; nothing is deleted. Empty: a state the project itself calls done.`,type:`text`,placeholder:`Closed`},{key:`states.done`,label:`States that mean done`,help:`Only where the project categorises its own states wrongly; otherwise they are read from the project, custom ones included.`,type:`list`,placeholder:`Verified, Shipped`},{key:`states.removed`,label:`States that mean removed`,help:`States for an item taken out of the project.`,type:`list`,placeholder:`Dropped`},{key:`shared_steps`,label:`Shared steps to use`,help:`Shared Steps work item ids. New cases refer to them instead of copying their steps.`,type:`list`,placeholder:`345, 346`}]},{id:`xray`,icon:r,name:`Xray`,note:`Test cases in Jira, through Xray Cloud`,base:[`sources`,`xray`],vars:[`client_id_env`,`client_secret_env`],fields:[{key:`test_plans`,label:`Test plans in Test management`,help:`A test plan's key: plan=SHOP-100. Every case of these shows in Test management, synced from here.`,type:`list`,placeholder:`plan=SHOP-100`},{key:`url`,label:`Address`,type:`url`,default:`https://xray.cloud.getxray.app`},{key:`client_id_env`,label:`Client id variable`,type:`var`,default:`XRAY_CLIENT_ID`},{key:`client_secret_env`,label:`Client secret variable`,type:`var`,default:`XRAY_CLIENT_SECRET`},{key:`save_steps`,label:`Save cases as Xray tests`,help:`Cases saved from a Jira story become Xray tests with their steps in Xray.`,type:`switch`,default:!1}]},{id:`confluence`,icon:l,name:`Confluence`,note:`Requirements pages`,base:[`sources`,`confluence`],vars:[`email_env`,`token_env`],fields:[{key:`url`,label:`Site`,help:`Empty: the Jira site, same account.`,type:`url`,placeholder:`https://acme.atlassian.net/wiki`},{key:`email_env`,label:`Email variable`,type:`var`,default:`CONFLUENCE_EMAIL`},{key:`token_env`,label:`Token variable`,type:`var`,default:`CONFLUENCE_TOKEN`},{key:`space`,label:`Space`,help:`Search this space only.`,type:`text`,placeholder:`QA`}]},{id:`testrail`,icon:o,name:`TestRail`,note:`Test cases and results`,base:[`sources`,`testrail`],vars:[`email_env`,`token_env`],fields:[{key:`test_plans`,label:`Test plans in Test management`,help:`run=7, plan=3 or suite=5. Every case of these shows in Test management, synced from here.`,type:`list`,placeholder:`run=7`},{key:`url`,label:`Site`,type:`url`,placeholder:`https://acme.testrail.io`},{key:`email_env`,label:`Email variable`,type:`var`,default:`TESTRAIL_EMAIL`},{key:`token_env`,label:`API key variable`,type:`var`,default:`TESTRAIL_API_KEY`},{key:`project_id`,label:`Project id`,type:`number`},{key:`section_id`,label:`Section for new test cases`,help:`Where cases written from a story are saved, with the story in refs.`,type:`number`},{key:`template_id`,label:`Template of new test cases`,help:`2 is Test Case (Steps).`,type:`number`,default:2},{key:`retired_section_id`,label:`Section for retired test cases`,help:`Retiring a case moves it here; TestRail has no retired state.`,type:`number`},{key:`automation_field`,label:`Automation field`,help:`Your custom field a passing test marks, e.g. custom_automation_type.`,type:`text`,placeholder:`custom_automation_type`},{key:`automation_value`,label:`Automation value`,help:`What the field is set to.`,type:`text`,placeholder:`2`}]},{id:`zephyr`,icon:a,name:`Zephyr Scale`,note:`Test cases and results`,base:[`sources`,`zephyr`],vars:[`token_env`],fields:[{key:`test_plans`,label:`Test plans in Test management`,help:`cycle=SHOP-R12 or folder=34. Every case of these shows in Test management, synced from here.`,type:`list`,placeholder:`cycle=SHOP-R12`},{key:`token_env`,label:`Token variable`,type:`var`,default:`ZEPHYR_API_TOKEN`},{key:`project_key`,label:`Project key`,type:`text`,placeholder:`SHOP`},{key:`folder_id`,label:`Folder for new test cases`,help:`Where cases written from a story are saved, and where ForgeQE looks for ones to reuse.`,type:`number`},{key:`retire_status`,label:`Status of a retired test case`,help:`What retire_test_case sets.`,type:`text`,default:`Deprecated`}]},{id:`qtest`,icon:c,name:`qTest`,note:`Test cases and results`,base:[`sources`,`qtest`],vars:[`token_env`],fields:[{key:`test_plans`,label:`Test plans in Test management`,help:`cycle=12 or suite=34. Every case of these shows in Test management, synced from here.`,type:`list`,placeholder:`cycle=12`},{key:`url`,label:`Site`,type:`url`,placeholder:`https://acme.qtestnet.com`},{key:`token_env`,label:`Token variable`,type:`var`,default:`QTEST_TOKEN`},{key:`project_id`,label:`Project id`,type:`number`},{key:`statuses`,label:`Status names`,help:`Your qTest's automation status for each result, one per line.`,type:`kv`,placeholder:`passed = PASS
|
|
4
4
|
failed = FAIL
|
|
5
|
-
error = BLOCKED`},{key:`module_id`,label:`Module for new test cases`,help:`Where cases written from a requirement are saved, linked to it.`,type:`number`}]},{id:`servicenow`,icon:i,name:`ServiceNow`,note:`Test Management tests, read only`,base:[`sources`,`servicenow`],vars:[`user_env`,`token_env`],fields:[{key:`url`,label:`Site`,help:`The instance's https address.`,type:`url`,placeholder:`https://acme.service-now.com`},{key:`user_env`,label:`User name variable`,help:`When it has no value, the password variable holds an OAuth access token.`,type:`var`,default:`SERVICENOW_USER`},{key:`token_env`,label:`Password or token variable`,type:`var`,default:`SERVICENOW_PASSWORD`},{key:`test_table`,label:`Test table`,help:`Table names differ by release: check them in your instance.`,type:`text`,default:`sn_test_management_test`},{key:`step_table`,label:`Step table`,type:`text`,default:`sn_test_management_step`},{key:`step_parent`,label:`Step's test field`,help:`The field of a step that names its test.`,type:`text`,default:`test`}]},{id:`github`,icon:d,name:`GitHub`,note:`Issues as test cases, bugs, pull requests`,base:[`sources`,`github`],vars:[`token_env`],fields:[{key:`repo`,label:`Repository`,type:`text`,placeholder:`acme/shop`},{key:`token_env`,label:`Token variable`,help:`Without it, the GitHub CLI's sign-in.`,type:`var`,default:`GITHUB_TOKEN`},{key:`toolsets`,label:`MCP tool groups`,type:`list`,placeholder:`repos, issues, pull_requests, actions`}]},{id:`gitlab`,icon:t,name:`GitLab`,note:`Issues, merge requests and pipelines`,group:`tools`,base:[`integrations`,`gitlab`],vars:[`token_env`],fields:[{key:`url`,label:`Address`,help:`GitLab.com or your own GitLab.`,type:`url`,default:`https://gitlab.com`},{key:`token_env`,label:`Token variable`,help:`A fine-grained personal access token with the MCP permission.`,type:`var`,default:`GITLAB_TOKEN`},{key:`toolsets`,label:`MCP tool groups`,help:`Empty: all of them.`,type:`list`,placeholder:`core, work_items`}]},{id:`browserstack_mcp`,icon:s,logo:`browserstack`,name:`BrowserStack tools`,note:`Sessions, accessibility and test management`,group:`tools`,base:[`integrations`,`browserstack`],vars:[`username_env`,`access_key_env`],fields:[{key:`username_env`,label:`User name variable`,type:`var`,default:`BROWSERSTACK_USERNAME`},{key:`access_key_env`,label:`Access key variable`,type:`var`,default:`BROWSERSTACK_ACCESS_KEY`}]},{id:`postman`,icon:a,name:`Postman`,note:`Collections, environments and mocks`,group:`tools`,base:[`integrations`,`postman`],vars:[`api_key_env`],fields:[{key:`api_key_env`,label:`API key variable`,type:`var`,default:`POSTMAN_API_KEY`},{key:`region`,label:`Region`,type:`select`,default:`us`,options:m([`us`,`US`],[`eu`,`EU`])},{key:`tools`,label:`Tools`,type:`select`,default:`full`,options:m([`full`,`Full`],[`minimal`,`Minimal`],[`code`,`Code`])}]},{id:`azure`,icon:r,name:`Azure`,note:`Azure resources, as az login's account`,untestable:!0,group:`tools`,base:[`integrations`,`azure`],vars:[],fields:[{key:`namespaces`,label:`MCP tool groups`,help:`Empty: all of them.`,type:`list`,placeholder:`storage, keyvault`},{key:`read_only`,label:`Read only`,help:`Off: its tools that change resources too.`,type:`switch`,default:!0}]},{id:`aws`,icon:r,name:`AWS`,note:`AWS resources, as this computer's AWS sign-in`,untestable:!0,group:`tools`,base:[`integrations`,`aws`],vars:[],fields:[{key:`read_only`,label:`Read only`,help:`Off: its tools that may change resources too.`,type:`switch`,default:!0},{key:`profile`,label:`Profile`,help:`Empty: the profile of the environment in use, else this computer's default AWS sign-in.`,type:`text`,placeholder:`shop-qa`},{key:`region`,label:`Region`,help:`Empty: the region of the environment in use.`,type:`text`,placeholder:`eu-west-1`},{key:`endpoint_region`,label:`Server region`,help:`The region of the AWS MCP Server's address.`,type:`text`,default:`us-east-1`}]},{id:`gcp`,icon:r,name:`Google Cloud`,note:`Google Cloud resources, as gcloud's account`,untestable:!0,group:`tools`,base:[`integrations`,`gcp`],vars:[],fields:[{key:`project`,label:`Project`,help:`Empty: the project of the environment in use.`,type:`text`,placeholder:`shop-qa-123`},{key:`allow`,label:`More commands`,help:`Whole gcloud commands it may run besides its read commands, comma separated.`,type:`list`,placeholder:`pubsub topics publish, run services update`}]},{id:`dataverse`,icon:l,name:`Dataverse`,note:`Tables and records`,untestable:!0,group:`tools`,base:[`integrations`,`dataverse`],vars:[],fields:[{key:`url`,label:`Environment`,help:`Sign in once: npx @microsoft/dataverse@1.0.82 auth create --environment <address>.`,type:`url`,placeholder:`https://acme.crm.dynamics.com`},{key:`preview`,label:`Preview endpoint`,type:`switch`,default:!1}]},{id:`sentry`,icon:p,name:`Sentry`,note:`Errors, stack traces and releases`,group:`tools`,base:[`integrations`,`sentry`],vars:[`token_env`],fields:[{key:`url`,label:`Address`,help:`sentry.io or your own Sentry.`,type:`url`,default:`https://sentry.io`},{key:`token_env`,label:`Token variable`,help:`A user auth token.`,type:`var`,default:`SENTRY_ACCESS_TOKEN`},{key:`organization`,label:`Organization`,type:`text`,placeholder:`acme`}]},{id:`datadog`,icon:p,name:`Datadog`,note:`Production errors, for Production signals`,untestable:!0,group:`tools`,base:[`integrations`,`datadog`],vars:[`api_key_env`,`app_key_env`],fields:[{key:`site`,label:`Site`,type:`select`,default:`us1`,options:m([`us1`,`US1 (datadoghq.com)`],[`us3`,`US3`],[`us5`,`US5`],[`eu`,`EU (datadoghq.eu)`],[`ap1`,`AP1`],[`ap2`,`AP2`],[`gov`,`US1-FED`])},{key:`api_key_env`,label:`API key variable`,type:`var`,default:`DD_API_KEY`},{key:`app_key_env`,label:`Application key variable`,help:`With the error tracking and RUM read scopes.`,type:`var`,default:`DD_APP_KEY`},{key:`track`,label:`Errors from`,type:`select`,default:`rum`,options:m([`rum`,`Real user monitoring (has the page)`],[`logs`,`Logs`],[`trace`,`Traces`])},{key:`query`,label:`Search`,help:`Optional, in Datadog's search syntax, such as service:shop env:prod.`,type:`text`,placeholder:`service:shop`}]},{id:`appinsights`,icon:p,name:`Application Insights`,note:`Production exceptions, for Production signals`,untestable:!0,group:`tools`,base:[`integrations`,`appinsights`],vars:[`api_key_env`],fields:[{key:`app_id`,label:`Application ID`,help:`API Access in the Azure portal.`,type:`text`,placeholder:`00000000-0000-0000-0000-000000000000`},{key:`cloud`,label:`Cloud`,type:`select`,default:`public`,options:m([`public`,`Azure`],[`china`,`Azure China`],[`usgov`,`Azure US Government`])},{key:`auth`,label:`Sign in with`,type:`select`,default:`azure-cli`,options:m([`azure-cli`,`The Azure CLI (az login)`],[`api-key`,`An API key`])},{key:`api_key_env`,label:`API key variable`,help:`Only when signing in with an API key.`,type:`var`,default:`APPINSIGHTS_API_KEY`}]},{id:`testmu_mcp`,icon:r,logo:`testmu`,name:`TestMu AI tools`,note:`HyperExecute, failure triage, SmartUI, accessibility and Test Manager`,signinOnly:!0,group:`tools`,base:[`integrations`,`testmu`],vars:[],fields:[]}],E={title:`Bugs`,help:`A bug for each defect a run finds; a comment on the open bug while it still fails.`,base:[`sources`,`bugs`],fields:[{key:`system`,label:`Where bugs go`,type:`select`,options:m([`jira`,`Jira`],[`azure_devops`,`Azure DevOps`],[`github`,`GitHub`])},{key:`project`,label:`Project`,help:`Jira project key, or GitHub owner/repo.`,type:`text`,placeholder:`SHOP`},{key:`type`,label:`Issue type`,type:`text`,default:`Bug`},{key:`labels`,label:`Labels`,help:`Jira labels, or Azure DevOps tags.`,type:`list`,placeholder:`forgeqe`},{key:`area_path`,label:`Area path`,help:`Azure DevOps.`,type:`text`,placeholder:`Shop\\Web`},{key:`group_by`,label:`One bug per`,type:`select`,default:`defect`,options:m([`defect`,`Defect (cases failing the same way share one)`],[`case`,`Case`])},{key:`on_error`,label:`Also for cases that could not run`,type:`switch`,default:!1}]},D=[[`suite_failed`,`A suite failed`],[`suite_passed`,`A suite passed`],[`release`,`Release verdict`],[`eval_failed`,`An eval failed`],[`job_failed`,`A schedule failed`],[`job_recovered`,`A schedule recovered`],[`job_done`,`A schedule finished`],[`job_investigated`,`A failure was investigated`],[`agent_waiting`,`A custom agent waits for a person's approval`],[`agent_failed`,`A custom agent's run with nobody watching did not finish`],[`agent_done`,`A custom agent's run with nobody watching finished`],[`evidence_drift`,`An agent under test drifted from its baseline (Evidence)`],[`sign_in_waiting`,`A run waits for a person to approve a sign-in (a push to a phone)`]],O=[{title:`Project report`,help:`forgeqe bi builds a static site from ForgeQE's data and the datasets below, with no server (Reports, Build project report).`,base:[`bi`],fields:[{key:`title`,label:`Title`,type:`text`,default:`ForgeQE BI`},{key:`evidence_dir`,label:`Evidence project`,type:`path`,default:`./evidence`},{key:`data_dir`,label:`Data folder`,type:`path`,default:`./evidence/sources/forgeqe`},{key:`build_dir`,label:`Built site`,type:`path`,default:`./.forgeqe/reports/bi`},{key:`collect`,label:`Teammates' exports`,help:`Files or folders of forgeqe bi export, comma separated.`,type:`list`,placeholder:`//share/qa-reports`}]}],k=[{key:`kind`,label:`From`,type:`select`,options:m([`ado_wiql`,`Azure DevOps (WIQL)`],[`jira_jql`,`Jira (JQL)`])},{key:`title`,label:`Title`,type:`text`,placeholder:`Current sprint stories`},{key:`project`,label:`Azure DevOps project`,type:`text`,placeholder:`Shop`},{key:`wiql`,label:`WIQL`,type:`textarea`,placeholder:`SELECT [System.Id] FROM WorkItems WHERE ...`},{key:`jql`,label:`JQL`,type:`textarea`,placeholder:`project = SHOP AND issuetype = Bug`}],A=[{title:`Running in parallel`,help:`More at once finishes sooner, and uses more of this machine (or of your grid's sessions) and more model calls at the same time.`,base:[],fields:[{key:`suite.parallel`,label:`Browsers at once in a suite`,help:`Test cases of one suite run side by side. Coding jobs always go one at a time.`,type:`number`,default:1},{key:`jobs.parallel`,label:`Scheduled runs at once`,help:`Over all jobs of the jobs service.`,type:`number`,default:2},{key:`monitor.parallel`,label:`Monitor checks at once`,help:`In each monitor round.`,type:`number`,default:1}]}],j=[{title:`Driver`,help:`Appium runs workflows step by step and explores goals; Maestro replays them and runs your team's own flows. The apps themselves are in Environments (kind: mobile).`,base:[`mobile`],fields:[{key:`driver`,label:`Replays run on`,type:`select`,default:`appium`,options:m([`appium`,`Appium`],[`maestro`,`Maestro`])},{key:`heal`,label:`Heal a replay that breaks`,help:`A step that no longer finds its element is found again from the screen.`,type:`switch`,default:!0},{key:`accessibility`,label:`Check each screen's accessibility`,help:`Each new screen of a replay or explore: controls with no name, unlabelled fields, small touch targets; Apple's own audit on iOS 17 or later. Kept as the run's accessibility.json.`,type:`switch`,default:!0},{key:`headless`,label:`Emulators without a window`,help:`Appium starts this computer's emulators (a device's Emulator to start) and iOS simulators without a window. Off: you see them.`,type:`switch`,default:!1},{key:`secrets`,label:`Secrets a flow may read`,help:`The only environment variables {{secret:…}} may read, comma separated.`,type:`list`,placeholder:`COURIER_PASSWORD`}]}],M=e=>e.runs_on===`browserstack`||e.runs_on===`testmu`,N=[{key:`runs_on`,label:`Runs on`,help:`Devices on a cloud are kept in its own file, below.`,type:`select`,default:`local`,options:m([`local`,`This computer`],[`browserstack`,`BrowserStack`],[`testmu`,`TestMu AI`]),when:e=>M(e)},{key:`type`,label:`Type`,type:`select`,emptyLabel:`Emulator here, real device on a cloud`,options:m([`real`,`Real device`],[`virtual`,`Emulator or simulator`]),when:e=>e.runs_on!==`browserstack`},{key:`platform`,label:`Platform`,type:`select`,default:`android`,options:m([`android`,`Android`],[`ios`,`iOS`])},{key:`model`,label:`Device model`,help:`An iOS simulator's name; else optional.`,type:`text`,placeholder:`iPhone 15`},{key:`os_version`,label:`OS version`,help:`Android or iOS version.`,type:`text`,placeholder:`14`},{key:`udid`,label:`Device id`,help:`From adb devices or xcrun simctl list. Empty: the one connected.`,type:`text`,placeholder:`emulator-5554`,when:e=>!M(e)},{key:`avd`,label:`Emulator to start`,help:`An Android emulator's name (emulator -list-avds): Appium starts it for the run. Empty: one already running.`,type:`text`,placeholder:`Pixel_8_API_35`,when:e=>!M(e)&&e.platform!==`ios`&&e.type!==`real`},{key:`enabled`,label:`Use in runs`,help:`Off: kept here, run only when a run names it.`,type:`switch`,default:!0}],P=[{title:`Running in parallel`,help:`Each replay and each set of Maestro flows runs on every device in use. More at once finishes sooner, and uses more of this machine or of your device cloud's sessions.`,base:[`mobile`],fields:[{key:`parallel`,label:`Devices at once`,help:`Empty: all of them. 1: one after another. TestMu AI's too.`,type:`number`,placeholder:`All`}]},{title:`Appium on this computer`,help:`For devices that run on this computer.`,base:[`mobile`,`appium`],fields:[{key:`url`,label:`Appium server`,type:`url`,default:`http://127.0.0.1:4723`},{key:`capabilities`,label:`Extra capabilities`,help:`Rarely needed: ForgeQE builds them from the app and each device. Added to every session, one per line.`,type:`kv`,placeholder:`appium:newCommandTimeout = 300`}]},{title:`Maestro`,help:`Runs on this computer's devices, and on TestMu AI's through HyperExecute. Not on BrowserStack.`,base:[`mobile`],fields:[{key:`maestro.command`,label:`Maestro program`,help:`With its arguments, comma separated.`,type:`list`,placeholder:`maestro`},{key:`hyperexecute`,label:`hyperexecute program`,help:`TestMu AI's, for Maestro on its devices.`,type:`path`,placeholder:`hyperexecute`}]}],F=[{title:`Desktop apps`,base:[`desktop`],fields:[{key:`heal`,label:`Heal a replay that breaks`,help:`The model re-finds a control that moved.`,type:`switch`,default:!0},{key:`screenshots`,label:`Screenshot each replayed step`,type:`switch`,default:!0},{key:`video`,label:`Record a video`,help:`Of the whole screen, while a workflow replays, explores or is recorded.`,type:`switch`,default:!0},{key:`driver`,label:`Replay on`,help:`Accessibility calls replay on macOS, Linux and Windows without taking the mouse. Exploring and recording by hand need Windows.`,type:`select`,default:`auto`,options:m([`auto`,`Automatic (the mouse and keyboard on Windows, accessibility calls elsewhere)`],[`pywinauto`,`The mouse and keyboard (Windows)`],[`agent-desktop`,`Accessibility calls, no mouse (macOS, Linux, Windows)`])},{key:`headed`,label:`Let replay use the mouse and keyboard`,help:`For replay by accessibility calls: only a double-click needs it; it is headless otherwise.`,type:`switch`,default:!1},{key:`secrets`,label:`Secrets a workflow may read`,help:`The only environment variables {{secret:…}} may read, comma separated.`,type:`list`,placeholder:`BILLING_PASSWORD`}]}],I=[{title:`Runtime`,help:`ForgeQE starts only what is declared here, with ports on 127.0.0.1 and read-only mounts inside the project. Images take an exact version or a digest, never latest.`,base:[`containers`],fields:[{key:`runtime`,label:`Runtime`,type:`select`,emptyLabel:`Docker, else Podman`,options:m([`docker`,`Docker`],[`podman`,`Podman`])},{key:`compose`,label:`Compose files`,help:`Services from a compose file too, checked by the same rules.`,type:`list`,placeholder:`docker-compose.yml`},{key:`mock.image`,label:`Mocks' image`,type:`text`,placeholder:`wiremock/wiremock:3.9.1`}]},{title:`Tests in a container`,help:`run_tests runs the repository's tests in this image, its services started first and reachable by name.`,base:[`containers`,`tests`],fields:[{key:`image`,label:`Image`,type:`text`,placeholder:`mcr.microsoft.com/playwright:v1.48.2-jammy`},{key:`services`,label:`Services first`,type:`list`,placeholder:`db`},{key:`env`,label:`Environment`,type:`kv`,placeholder:`CI = true`},{key:`secrets`,label:`Secrets`,help:`Environment variable names.`,type:`list`,placeholder:`TEST_DB_PASSWORD`}]},{title:`The coding agents' workspace`,help:`Their shell commands, builds and test runs happen in this image, with the repository mounted; the agents and their keys stay on this machine.`,base:[`containers`,`workspace`],fields:[{key:`image`,label:`Image`,type:`text`,placeholder:`node:20.18.0`},{key:`services`,label:`Services first`,type:`list`,placeholder:`db`},{key:`env`,label:`Environment`,type:`kv`},{key:`secrets`,label:`Secrets`,type:`list`}]},{title:`Browser in a container`,help:`Used when Browser is set to Chrome in Docker.`,base:[`containers`,`browser`],fields:[{key:`image`,label:`Image`,type:`text`,placeholder:`the image ForgeQE ships`},{key:`headless`,label:`Without a window`,type:`switch`,default:!0}]}],L=[{key:`path`,label:`Folder of documents`,help:`Markdown, text, or HTML. Relative to forgeqe.yaml.`,type:`path`,placeholder:`../shop-docs`},{key:`url`,label:`Or a link`,help:`A docs site or help centre, or an OpenAPI, Swagger, WSDL, or GraphQL description.`,type:`url`,placeholder:`https://help.shop.example/`},{key:`depth`,label:`Links to follow`,help:`How many links deep, on the same site only. 0 to 5; 0: the page alone.`,type:`number`,placeholder:`1`},{key:`max_pages`,label:`Most pages`,help:`A link: 1 to 2000, 100 if empty. Confluence: 1 to 25, 25 if empty.`,type:`number`,placeholder:`100`},{key:`token_env`,label:`Token for the link`,help:`Sent as a bearer token, to that site only.`,type:`var`,placeholder:`DOCS_TOKEN`},{key:`confluence`,label:`Or a Confluence space or page`,help:`A space key, or a page's link with the pages under it.`,type:`text`,placeholder:`SHOP`},{key:`app`,label:`Or a web app of env.yaml`,help:`The pages ForgeQE's runs and explorations remember of it.`,type:`text`,placeholder:`shop-web`}],R=[{key:`path`,label:`Local clone`,help:`Relative to forgeqe.yaml.`,type:`path`,placeholder:`../shop-web`},{key:`git`,label:`Or its link`,help:`GitHub, Azure DevOps, GitLab, Bitbucket, or any git server, over https or ssh. ForgeQE fetches the branch's latest commit into its own cache, only when it moved.`,type:`text`,placeholder:`https://dev.azure.com/acme/Shop/_git/orders`},{key:`branch`,label:`Branch`,help:`With a link. The repository's default branch if empty.`,type:`text`,placeholder:`main`},{key:`token_env`,label:`Token`,help:`With an https link. Sent to that host only; empty: git's own sign-in.`,type:`var`,placeholder:`ADO_PAT`},{key:`user`,label:`User name for the token`,help:`Only when the server needs one, like a Bitbucket app password.`,type:`text`},{key:`auth`,label:`Browser sign-in`,help:`In place of a token: the GitHub CLI's or the Azure CLI's sign-in. Empty: the token, or git's own sign-in.`,type:`select`,options:m([`github-cli`,`GitHub CLI`],[`azure-cli`,`Azure CLI`]),emptyLabel:`None`},{key:`account`,label:`Account`,help:`The account it was connected from (Repositories).`,type:`text`},{key:`system`,label:`System`,help:`The system it is part of, as your teams name it, for the Landscape on the Product page. Empty: grouped by its name.`,type:`text`,placeholder:`CRM`},{key:`database`,label:`Its database`,help:`A database of Databases, whose tables, keys and foreign keys are read into the graph. Only one that is not Writable.`,type:`text`,placeholder:`orders`}],z=[{key:`image`,label:`Image`,help:`An exact version or a digest.`,type:`text`,placeholder:`postgres:16.4`},{key:`description`,label:`What it is`,type:`text`,placeholder:`Orders database`},{key:`ports`,label:`Ports`,help:`5432, or 15432:5432 (this machine:container). On 127.0.0.1 only.`,type:`list`,placeholder:`5432`},{key:`env`,label:`Environment`,type:`kv`,placeholder:`POSTGRES_DB = shop`},{key:`secrets`,label:`Secrets`,help:`Environment variable names (.env works).`,type:`list`,placeholder:`POSTGRES_PASSWORD`},{key:`volumes`,label:`Mounts`,help:`Read-only, inside the project: ./host:/container.`,type:`list`,placeholder:`./db/init:/docker-entrypoint-initdb.d`},{key:`command`,label:`Command`,help:`Its arguments, comma separated.`,type:`list`},{key:`depends_on`,label:`Starts after`,type:`list`,placeholder:`db`},{key:`ready.tcp`,label:`Ready when this port answers`,type:`number`,placeholder:`5432`},{key:`ready.http`,label:`Or when this path answers`,type:`text`,placeholder:`/health`},{key:`ready.port`,label:`On port`,type:`number`,placeholder:`8080`},{key:`timeout`,label:`Wait for it`,help:`In seconds.`,type:`number`,placeholder:`60`}],B=[{key:`description`,label:`What it holds`,type:`text`,placeholder:`Orders written by the checkout app`},{key:`url_env`,label:`Connection string`,help:`A whole URI, JDBC or ADO.NET string. Or give the parts below.`,type:`var`,placeholder:`ORDERS_DB_URL`},{key:`engine`,label:`Engine`,type:`select`,options:m([`postgres`,`PostgreSQL`],[`mysql`,`MySQL`],[`mariadb`,`MariaDB`],[`mssql`,`SQL Server`],[`oracle`,`Oracle`],[`snowflake`,`Snowflake`],[`redshift`,`Redshift`],[`cockroachdb`,`CockroachDB`],[`sqlite`,`SQLite`],[`duckdb`,`DuckDB`],[`mongodb`,`MongoDB`],[`kafka`,`Kafka`])},{key:`host`,label:`Host`,type:`text`,placeholder:`localhost`},{key:`port`,label:`Port`,type:`number`,placeholder:`5432`},{key:`database`,label:`Database`,type:`text`,placeholder:`test`},{key:`schema`,label:`Schema`,type:`text`},{key:`path`,label:`File`,help:`SQLite or DuckDB.`,type:`path`,placeholder:`./data/test.db`},{key:`user`,label:`User`,type:`text`,placeholder:`qa`},{key:`auth`,label:`Signs in with`,type:`select`,default:`password`,options:m([`password`,`A password`],[`azure`,`Microsoft Entra`],[`aws_iam`,`AWS IAM`],[`none`,`Nothing`])},{key:`password_env`,label:`Password`,type:`var`,placeholder:`FIXTURES_DB_PASSWORD`},{key:`region`,label:`AWS region`,type:`text`,placeholder:`eu-west-1`},{key:`ssl`,label:`TLS`,type:`select`,emptyLabel:`The driver's default`,options:m([`verify`,`Verify the certificate`],[`require`,`Require`],[`disable`,`Off`])},{key:`ssl_ca`,label:`CA certificate`,type:`path`,placeholder:`./certs/ca.pem`},{key:`writable`,label:`Writable`,help:`Allows confirmed INSERT, and UPDATE or DELETE with a WHERE clause. Each one is asked first.`,type:`switch`,default:!1},{key:`timeout_seconds`,label:`Query time limit`,help:`In seconds.`,type:`number`,placeholder:`30`},{key:`options`,label:`Driver options`,type:`kv`}],V=[`theme.logo`,`theme.logo_mark`,`theme.logo_frame`,`theme.logo_size`,`theme.icon_style`,`theme.icon_set`,`theme.icon_colour`,`theme.mascot`,`theme.mascot_colours`,`theme.name`,`theme.primary`,`theme.gradient`,`theme.secondary`,`theme.background`,`agent.names.*`,`agent.app_name`,`llm.models_file`,`llm.active`,`llm.routing`,`llm.strategy`,`llm.fallback`,`llm.routes.*`,`llm.agents.*`,`environments.file`,`environments.dir`,`environments.default`,`logins.*.url`,`logins.*.domains`,`logins.*.username_env`,`logins.*.password_env`,`logins.*.totp_env`,`logins.*.save_session`,`logins.*.app`,`logins.*.code`,`logins.*.code_host`,`logins.*.code_user_env`,`logins.*.code_secret_env`,`logins.*.code_to`,`logins.*.code_sender`,`logins.*.code_folder`,`logins.*.code_url`,`logins.*.code_header`,`logins.*.code_pattern`,`logins.*.code_wait`,`logins.*.passkey_env`,`logins.*.push_wait`,`browser.providers.browserstack`,`browser.providers.testmu`,`notify.report_url`,`notify.channels.*.teams`,`notify.channels.*.email`,`notify.channels.*.on`,`mcp.*.url`,`mcp.*.headers`,`mcp.*.command`,`mcp.*.env`,...[`checks`,`every`,`replay`,`parallel`,`write_back`,`fail_after`,`remind_every`,`report_url`,`keep`,`out_dir`,`alerts.teams.webhook_env`,`alerts.email.host`,`alerts.email.port`,`alerts.email.username_env`,`alerts.email.password_env`,`alerts.email.from`,`alerts.email.to`].map(e=>`monitor.${e}`),...[`enabled`,`external`,`dirs`,`browser_max_chars`,`disable`].map(e=>`skills.${e}`),...[`run`,`day`,`month`,`currency`].map(e=>`budget.${e}`),...[`run`,`day`,`month`].map(e=>`budget.premium_requests.${e}`),`export.format`];[...(e=>e.flatMap(e=>e.fields.map(t=>[...e.base,t.key].join(`.`))))([...h,...g,..._,...A,...v,...S,...w,...j,...P,...F,...I,...O,E]),...T.flatMap(e=>e.fields.length?e.fields.map(t=>[...e.base,t.key].join(`.`)):[e.base.join(`.`)]),...z.map(e=>`containers.services.*.${e.key}`),...R.map(e=>`product.repos.*.${e.key}`),...C.map(e=>`product.accounts.*.${e.key}`),...L.map(e=>`product.docs.*.${e.key}`),...B.map(e=>`databases.*.${e.key}`),...k.map(e=>`bi.datasets.*.${e.key}`),...N.map(e=>`mobile.devices.*.${e.key}`),...V];var H=(e,t)=>t.flatMap(t=>t.fields.map(n=>({section:e,label:n.label,key:[...t.base,n.key].join(`.`)}))),U=(e,t,n)=>n.map(n=>({section:e,label:n.label,key:`${t}.*.${n.key}`})),W=[...H(`browser`,h),...H(`tests`,g),...H(`runs`,[..._,...O]),...U(`runs`,`bi.datasets`,k),...H(`parallel`,A),...H(`quality`,v),...H(`evidence`,S),...U(`evidence`,`product.accounts`,C),...U(`evidence`,`product.repos`,R),...U(`evidence`,`product.docs`,L),...H(`agents`,w),...H(`mobile`,[...j,...P]),...U(`mobile`,`mobile.devices`,N),...H(`desktop`,F),...H(`containers`,I),...U(`containers`,`containers.services`,z),...U(`databases`,`databases`,B),...H(`integrations`,[E]),...T.flatMap(e=>e.fields.map(t=>({section:e.group===`tools`?`mcp`:`integrations`,label:`${e.name}: ${t.label}`,key:[...e.base,t.key].join(`.`)}))),{section:`integrations`,label:`Post results back`,key:`sources.write_back`},{section:`integrations`,label:`Which system an id is in`,key:`sources.id_routes`},{section:`integrations`,label:`Remote browser grids`,key:`browser.providers`},{section:`models`,label:`Models file`,key:`llm.models_file`},{section:`models`,label:`Profile in use`,key:`llm.active`},{section:`routing`,label:`Routing`,key:`llm.routing`},{section:`routing`,label:`Routing strategy`,key:`llm.strategy`},{section:`routing`,label:`Fall back to a working model`,key:`llm.fallback`},{section:`routing`,label:`An agent's own model`,key:`llm.agents`},{section:`routing`,label:`Areas of work`,key:`llm.routes`},{section:`environments`,label:`Environments file`,key:`environments.file`},{section:`environments`,label:`Environments folder`,key:`environments.dir`},{section:`environments`,label:`Active environment`,key:`environments.default`},{section:`signins`,label:`Sign-ins`,key:`logins`},{section:`notifications`,label:`Teams and email channels`,key:`notify.channels`},{section:`notifications`,label:`Where reports are published`,key:`notify.report_url`},{section:`appearance`,label:`Logo`,key:`theme.logo`},{section:`appearance`,label:`Small logo`,key:`theme.logo_mark`},{section:`appearance`,label:`Logo frame`,key:`theme.logo_frame`},{section:`appearance`,label:`Logo size`,key:`theme.logo_size`},{section:`appearance`,label:`Icon style`,key:`theme.icon_style`},{section:`appearance`,label:`Icons (3D, Phosphor, Solar or Lucide)`,key:`theme.icon_set`},{section:`appearance`,label:`Icon colour`,key:`theme.icon_colour`},{section:`appearance`,label:`Agents (robots, characters or icons)`,key:`theme.mascot`},{section:`appearance`,label:`Agent colours`,key:`theme.mascot_colours`},{section:`appearance`,label:`Name beside the logo`,key:`theme.name`},{section:`appearance`,label:`Sidebar colour (primary)`,key:`theme.primary`},{section:`appearance`,label:`Sidebar gradient`,key:`theme.gradient`},{section:`appearance`,label:`Buttons and highlights colour (secondary)`,key:`theme.secondary`},{section:`appearance`,label:`Page background`,key:`theme.background`},{section:`mcp`,label:`MCP servers`,key:`mcp`},{section:`monitor`,label:`Monitor checks, schedule and alerts`,key:`monitor`},{section:`monitor`,label:`Monitor alerts by Teams or email`,key:`monitor.alerts`},{section:`skills`,label:`Skills`,key:`skills`},{section:`tokenomics`,label:`Spending budgets`,key:`budget`},{section:`about`,label:`Version and updates`,key:`forgeqe update`},{section:`about`,label:`Guides: docs, architecture`,key:`forgeqe docs`},{section:`report`,label:`Report a problem in ForgeQE (raise a bug)`,key:`forgeqe bug report`},{section:`notifications`,label:`Send a test notification`,key:`forgeqe notify test`},{section:`agents`,label:`Agent names`,key:`agent.names`},{section:`agents`,label:`ForgeQE's name (rename the app)`,key:`agent.app_name`},{section:`evidence`,label:`Check the agent's domain knowledge`,key:`forgeqe eval domain`},{section:`generated`,label:`Generated code still in the repository`,key:`forgeqe generated`}];export{_ as C,R as S,j as _,h as a,A as b,I as c,N as d,L as f,T as g,y as h,k as i,B as l,b as m,w as n,E as o,x as p,O as r,g as s,W as t,F as u,P as v,z as w,v as x,D as y};
|
|
5
|
+
error = BLOCKED`},{key:`module_id`,label:`Module for new test cases`,help:`Where cases written from a requirement are saved, linked to it.`,type:`number`}]},{id:`servicenow`,icon:a,name:`ServiceNow`,note:`Test Management tests, read only`,base:[`sources`,`servicenow`],vars:[`user_env`,`token_env`],fields:[{key:`url`,label:`Site`,help:`The instance's https address.`,type:`url`,placeholder:`https://acme.service-now.com`},{key:`user_env`,label:`User name variable`,help:`When it has no value, the password variable holds an OAuth access token.`,type:`var`,default:`SERVICENOW_USER`},{key:`token_env`,label:`Password or token variable`,type:`var`,default:`SERVICENOW_PASSWORD`},{key:`test_table`,label:`Test table`,help:`Table names differ by release: check them in your instance.`,type:`text`,default:`sn_test_management_test`},{key:`step_table`,label:`Step table`,type:`text`,default:`sn_test_management_step`},{key:`step_parent`,label:`Step's test field`,help:`The field of a step that names its test.`,type:`text`,default:`test`}]},{id:`github`,icon:n,name:`GitHub`,note:`Issues as test cases, bugs, pull requests`,base:[`sources`,`github`],vars:[`token_env`],fields:[{key:`repo`,label:`Repository`,type:`text`,placeholder:`acme/shop`},{key:`token_env`,label:`Token variable`,help:`Without it, the GitHub CLI's sign-in.`,type:`var`,default:`GITHUB_TOKEN`},{key:`toolsets`,label:`MCP tool groups`,type:`list`,placeholder:`repos, issues, pull_requests, actions`}]},{id:`gitlab`,icon:t,name:`GitLab`,note:`Issues, merge requests and pipelines`,group:`tools`,base:[`integrations`,`gitlab`],vars:[`token_env`],fields:[{key:`url`,label:`Address`,help:`GitLab.com or your own GitLab.`,type:`url`,default:`https://gitlab.com`},{key:`token_env`,label:`Token variable`,help:`A fine-grained personal access token with the MCP permission.`,type:`var`,default:`GITLAB_TOKEN`},{key:`toolsets`,label:`MCP tool groups`,help:`Empty: all of them.`,type:`list`,placeholder:`core, work_items`}]},{id:`browserstack_mcp`,icon:d,logo:`browserstack`,name:`BrowserStack tools`,note:`Sessions, accessibility and test management`,group:`tools`,base:[`integrations`,`browserstack`],vars:[`username_env`,`access_key_env`],fields:[{key:`username_env`,label:`User name variable`,type:`var`,default:`BROWSERSTACK_USERNAME`},{key:`access_key_env`,label:`Access key variable`,type:`var`,default:`BROWSERSTACK_ACCESS_KEY`}]},{id:`postman`,icon:s,name:`Postman`,note:`Collections, environments and mocks`,group:`tools`,base:[`integrations`,`postman`],vars:[`api_key_env`],fields:[{key:`api_key_env`,label:`API key variable`,type:`var`,default:`POSTMAN_API_KEY`},{key:`region`,label:`Region`,type:`select`,default:`us`,options:m([`us`,`US`],[`eu`,`EU`])},{key:`tools`,label:`Tools`,type:`select`,default:`full`,options:m([`full`,`Full`],[`minimal`,`Minimal`],[`code`,`Code`])}]},{id:`azure`,icon:i,name:`Azure`,note:`Azure resources, as az login's account`,untestable:!0,group:`tools`,base:[`integrations`,`azure`],vars:[],fields:[{key:`namespaces`,label:`MCP tool groups`,help:`Empty: all of them.`,type:`list`,placeholder:`storage, keyvault`},{key:`read_only`,label:`Read only`,help:`Off: its tools that change resources too.`,type:`switch`,default:!0}]},{id:`aws`,icon:i,name:`AWS`,note:`AWS resources, as this computer's AWS sign-in`,untestable:!0,group:`tools`,base:[`integrations`,`aws`],vars:[],fields:[{key:`read_only`,label:`Read only`,help:`Off: its tools that may change resources too.`,type:`switch`,default:!0},{key:`profile`,label:`Profile`,help:`Empty: the profile of the environment in use, else this computer's default AWS sign-in.`,type:`text`,placeholder:`shop-qa`},{key:`region`,label:`Region`,help:`Empty: the region of the environment in use.`,type:`text`,placeholder:`eu-west-1`},{key:`endpoint_region`,label:`Server region`,help:`The region of the AWS MCP Server's address.`,type:`text`,default:`us-east-1`}]},{id:`gcp`,icon:i,name:`Google Cloud`,note:`Google Cloud resources, as gcloud's account`,untestable:!0,group:`tools`,base:[`integrations`,`gcp`],vars:[],fields:[{key:`project`,label:`Project`,help:`Empty: the project of the environment in use.`,type:`text`,placeholder:`shop-qa-123`},{key:`allow`,label:`More commands`,help:`Whole gcloud commands it may run besides its read commands, comma separated.`,type:`list`,placeholder:`pubsub topics publish, run services update`}]},{id:`dataverse`,icon:u,name:`Dataverse`,note:`Tables and records`,untestable:!0,group:`tools`,base:[`integrations`,`dataverse`],vars:[],fields:[{key:`url`,label:`Environment`,help:`Sign in once: npx @microsoft/dataverse@1.0.82 auth create --environment <address>.`,type:`url`,placeholder:`https://acme.crm.dynamics.com`},{key:`preview`,label:`Preview endpoint`,type:`switch`,default:!1}]},{id:`sentry`,icon:p,name:`Sentry`,note:`Errors, stack traces and releases`,group:`tools`,base:[`integrations`,`sentry`],vars:[`token_env`],fields:[{key:`url`,label:`Address`,help:`sentry.io or your own Sentry.`,type:`url`,default:`https://sentry.io`},{key:`token_env`,label:`Token variable`,help:`A user auth token.`,type:`var`,default:`SENTRY_ACCESS_TOKEN`},{key:`organization`,label:`Organization`,type:`text`,placeholder:`acme`}]},{id:`datadog`,icon:p,name:`Datadog`,note:`Production errors, for Production signals`,untestable:!0,group:`tools`,base:[`integrations`,`datadog`],vars:[`api_key_env`,`app_key_env`],fields:[{key:`site`,label:`Site`,type:`select`,default:`us1`,options:m([`us1`,`US1 (datadoghq.com)`],[`us3`,`US3`],[`us5`,`US5`],[`eu`,`EU (datadoghq.eu)`],[`ap1`,`AP1`],[`ap2`,`AP2`],[`gov`,`US1-FED`])},{key:`api_key_env`,label:`API key variable`,type:`var`,default:`DD_API_KEY`},{key:`app_key_env`,label:`Application key variable`,help:`With the error tracking and RUM read scopes.`,type:`var`,default:`DD_APP_KEY`},{key:`track`,label:`Errors from`,type:`select`,default:`rum`,options:m([`rum`,`Real user monitoring (has the page)`],[`logs`,`Logs`],[`trace`,`Traces`])},{key:`query`,label:`Search`,help:`Optional, in Datadog's search syntax, such as service:shop env:prod.`,type:`text`,placeholder:`service:shop`}]},{id:`appinsights`,icon:p,name:`Application Insights`,note:`Production exceptions, for Production signals`,untestable:!0,group:`tools`,base:[`integrations`,`appinsights`],vars:[`api_key_env`],fields:[{key:`app_id`,label:`Application ID`,help:`API Access in the Azure portal.`,type:`text`,placeholder:`00000000-0000-0000-0000-000000000000`},{key:`cloud`,label:`Cloud`,type:`select`,default:`public`,options:m([`public`,`Azure`],[`china`,`Azure China`],[`usgov`,`Azure US Government`])},{key:`auth`,label:`Sign in with`,type:`select`,default:`azure-cli`,options:m([`azure-cli`,`The Azure CLI (az login)`],[`api-key`,`An API key`])},{key:`api_key_env`,label:`API key variable`,help:`Only when signing in with an API key.`,type:`var`,default:`APPINSIGHTS_API_KEY`}]},{id:`testmu_mcp`,icon:i,logo:`testmu`,name:`TestMu AI tools`,note:`HyperExecute, failure triage, SmartUI, accessibility and Test Manager`,signinOnly:!0,group:`tools`,base:[`integrations`,`testmu`],vars:[],fields:[]}],E={title:`Bugs`,help:`A bug for each defect a run finds; a comment on the open bug while it still fails.`,base:[`sources`,`bugs`],fields:[{key:`system`,label:`Where bugs go`,type:`select`,options:m([`jira`,`Jira`],[`azure_devops`,`Azure DevOps`],[`github`,`GitHub`])},{key:`project`,label:`Project`,help:`Jira project key, or GitHub owner/repo.`,type:`text`,placeholder:`SHOP`},{key:`type`,label:`Issue type`,type:`text`,default:`Bug`},{key:`labels`,label:`Labels`,help:`Jira labels, or Azure DevOps tags.`,type:`list`,placeholder:`forgeqe`},{key:`area_path`,label:`Area path`,help:`Azure DevOps.`,type:`text`,placeholder:`Shop\\Web`},{key:`group_by`,label:`One bug per`,type:`select`,default:`defect`,options:m([`defect`,`Defect (cases failing the same way share one)`],[`case`,`Case`])},{key:`on_error`,label:`Also for cases that could not run`,type:`switch`,default:!1}]},D=[[`suite_failed`,`A suite failed`],[`suite_passed`,`A suite passed`],[`release`,`Release verdict`],[`eval_failed`,`An eval failed`],[`job_failed`,`A schedule failed`],[`job_recovered`,`A schedule recovered`],[`job_done`,`A schedule finished`],[`job_investigated`,`A failure was investigated`],[`agent_waiting`,`A custom agent waits for a person's approval`],[`agent_failed`,`A custom agent's run with nobody watching did not finish`],[`agent_done`,`A custom agent's run with nobody watching finished`],[`evidence_drift`,`An agent under test drifted from its baseline (Evidence)`],[`sign_in_waiting`,`A run waits for a person to approve a sign-in (a push to a phone)`]],O=[{title:`Project report`,help:`forgeqe bi builds a static site from ForgeQE's data and the datasets below, with no server (Reports, Build project report).`,base:[`bi`],fields:[{key:`title`,label:`Title`,type:`text`,default:`ForgeQE BI`},{key:`evidence_dir`,label:`Evidence project`,type:`path`,default:`./evidence`},{key:`data_dir`,label:`Data folder`,type:`path`,default:`./evidence/sources/forgeqe`},{key:`build_dir`,label:`Built site`,type:`path`,default:`./.forgeqe/reports/bi`},{key:`collect`,label:`Teammates' exports`,help:`Files or folders of forgeqe bi export, comma separated.`,type:`list`,placeholder:`//share/qa-reports`}]}],k=[{key:`kind`,label:`From`,type:`select`,options:m([`ado_wiql`,`Azure DevOps (WIQL)`],[`jira_jql`,`Jira (JQL)`])},{key:`title`,label:`Title`,type:`text`,placeholder:`Current sprint stories`},{key:`project`,label:`Azure DevOps project`,type:`text`,placeholder:`Shop`},{key:`wiql`,label:`WIQL`,type:`textarea`,placeholder:`SELECT [System.Id] FROM WorkItems WHERE ...`},{key:`jql`,label:`JQL`,type:`textarea`,placeholder:`project = SHOP AND issuetype = Bug`}],A=[{title:`Running in parallel`,help:`More at once finishes sooner, and uses more of this machine (or of your grid's sessions) and more model calls at the same time.`,base:[],fields:[{key:`suite.parallel`,label:`Browsers at once in a suite`,help:`Test cases of one suite run side by side. Coding jobs always go one at a time.`,type:`number`,default:1},{key:`jobs.parallel`,label:`Scheduled runs at once`,help:`Over all jobs of the jobs service.`,type:`number`,default:2},{key:`monitor.parallel`,label:`Monitor checks at once`,help:`In each monitor round.`,type:`number`,default:1}]}],j=[{title:`Driver`,help:`Appium runs workflows step by step and explores goals; Maestro replays them and runs your team's own flows. The apps themselves are in Environments (kind: mobile).`,base:[`mobile`],fields:[{key:`driver`,label:`Replays run on`,type:`select`,default:`appium`,options:m([`appium`,`Appium`],[`maestro`,`Maestro`])},{key:`heal`,label:`Heal a replay that breaks`,help:`A step that no longer finds its element is found again from the screen.`,type:`switch`,default:!0},{key:`accessibility`,label:`Check each screen's accessibility`,help:`Each new screen of a replay or explore: controls with no name, unlabelled fields, small touch targets; Apple's own audit on iOS 17 or later. Kept as the run's accessibility.json.`,type:`switch`,default:!0},{key:`headless`,label:`Emulators without a window`,help:`Appium starts this computer's emulators (a device's Emulator to start) and iOS simulators without a window. Off: you see them.`,type:`switch`,default:!1},{key:`secrets`,label:`Secrets a flow may read`,help:`The only environment variables {{secret:…}} may read, comma separated.`,type:`list`,placeholder:`COURIER_PASSWORD`}]}],M=e=>e.runs_on===`browserstack`||e.runs_on===`testmu`,N=[{key:`runs_on`,label:`Runs on`,help:`Devices on a cloud are kept in its own file, below.`,type:`select`,default:`local`,options:m([`local`,`This computer`],[`browserstack`,`BrowserStack`],[`testmu`,`TestMu AI`]),when:e=>M(e)},{key:`type`,label:`Type`,type:`select`,emptyLabel:`Emulator here, real device on a cloud`,options:m([`real`,`Real device`],[`virtual`,`Emulator or simulator`]),when:e=>e.runs_on!==`browserstack`},{key:`platform`,label:`Platform`,type:`select`,default:`android`,options:m([`android`,`Android`],[`ios`,`iOS`])},{key:`model`,label:`Device model`,help:`An iOS simulator's name; else optional.`,type:`text`,placeholder:`iPhone 15`},{key:`os_version`,label:`OS version`,help:`Android or iOS version.`,type:`text`,placeholder:`14`},{key:`udid`,label:`Device id`,help:`From adb devices or xcrun simctl list. Empty: the one connected.`,type:`text`,placeholder:`emulator-5554`,when:e=>!M(e)},{key:`avd`,label:`Emulator to start`,help:`An Android emulator's name (emulator -list-avds): Appium starts it for the run. Empty: one already running.`,type:`text`,placeholder:`Pixel_8_API_35`,when:e=>!M(e)&&e.platform!==`ios`&&e.type!==`real`},{key:`enabled`,label:`Use in runs`,help:`Off: kept here, run only when a run names it.`,type:`switch`,default:!0}],P=[{title:`Running in parallel`,help:`Each replay and each set of Maestro flows runs on every device in use. More at once finishes sooner, and uses more of this machine or of your device cloud's sessions.`,base:[`mobile`],fields:[{key:`parallel`,label:`Devices at once`,help:`Empty: all of them. 1: one after another. TestMu AI's too.`,type:`number`,placeholder:`All`}]},{title:`Appium on this computer`,help:`For devices that run on this computer.`,base:[`mobile`,`appium`],fields:[{key:`url`,label:`Appium server`,type:`url`,default:`http://127.0.0.1:4723`},{key:`capabilities`,label:`Extra capabilities`,help:`Rarely needed: ForgeQE builds them from the app and each device. Added to every session, one per line.`,type:`kv`,placeholder:`appium:newCommandTimeout = 300`}]},{title:`Maestro`,help:`Runs on this computer's devices, and on TestMu AI's through HyperExecute. Not on BrowserStack.`,base:[`mobile`],fields:[{key:`maestro.command`,label:`Maestro program`,help:`With its arguments, comma separated.`,type:`list`,placeholder:`maestro`},{key:`hyperexecute`,label:`hyperexecute program`,help:`TestMu AI's, for Maestro on its devices.`,type:`path`,placeholder:`hyperexecute`}]}],F=[{title:`Desktop apps`,base:[`desktop`],fields:[{key:`heal`,label:`Heal a replay that breaks`,help:`The model re-finds a control that moved.`,type:`switch`,default:!0},{key:`screenshots`,label:`Screenshot each replayed step`,type:`switch`,default:!0},{key:`video`,label:`Record a video`,help:`Of the whole screen, while a workflow replays, explores or is recorded.`,type:`switch`,default:!0},{key:`driver`,label:`Replay on`,help:`Accessibility calls replay on macOS, Linux and Windows without taking the mouse. Exploring and recording by hand need Windows.`,type:`select`,default:`auto`,options:m([`auto`,`Automatic (the mouse and keyboard on Windows, accessibility calls elsewhere)`],[`pywinauto`,`The mouse and keyboard (Windows)`],[`agent-desktop`,`Accessibility calls, no mouse (macOS, Linux, Windows)`])},{key:`headed`,label:`Let replay use the mouse and keyboard`,help:`For replay by accessibility calls: only a double-click needs it; it is headless otherwise.`,type:`switch`,default:!1},{key:`secrets`,label:`Secrets a workflow may read`,help:`The only environment variables {{secret:…}} may read, comma separated.`,type:`list`,placeholder:`BILLING_PASSWORD`}]}],I=[{title:`Runtime`,help:`ForgeQE starts only what is declared here, with ports on 127.0.0.1 and read-only mounts inside the project. Images take an exact version or a digest, never latest.`,base:[`containers`],fields:[{key:`runtime`,label:`Runtime`,type:`select`,emptyLabel:`Docker, else Podman`,options:m([`docker`,`Docker`],[`podman`,`Podman`])},{key:`compose`,label:`Compose files`,help:`Services from a compose file too, checked by the same rules.`,type:`list`,placeholder:`docker-compose.yml`},{key:`mock.image`,label:`Mocks' image`,type:`text`,placeholder:`wiremock/wiremock:3.9.1`}]},{title:`Tests in a container`,help:`run_tests runs the repository's tests in this image, its services started first and reachable by name.`,base:[`containers`,`tests`],fields:[{key:`image`,label:`Image`,type:`text`,placeholder:`mcr.microsoft.com/playwright:v1.48.2-jammy`},{key:`services`,label:`Services first`,type:`list`,placeholder:`db`},{key:`env`,label:`Environment`,type:`kv`,placeholder:`CI = true`},{key:`secrets`,label:`Secrets`,help:`Environment variable names.`,type:`list`,placeholder:`TEST_DB_PASSWORD`}]},{title:`The coding agents' workspace`,help:`Their shell commands, builds and test runs happen in this image, with the repository mounted; the agents and their keys stay on this machine.`,base:[`containers`,`workspace`],fields:[{key:`image`,label:`Image`,type:`text`,placeholder:`node:20.18.0`},{key:`services`,label:`Services first`,type:`list`,placeholder:`db`},{key:`env`,label:`Environment`,type:`kv`},{key:`secrets`,label:`Secrets`,type:`list`}]},{title:`Browser in a container`,help:`Used when Browser is set to Chrome in Docker.`,base:[`containers`,`browser`],fields:[{key:`image`,label:`Image`,type:`text`,placeholder:`the image ForgeQE ships`},{key:`headless`,label:`Without a window`,type:`switch`,default:!0}]}],L=[{key:`path`,label:`Folder of documents`,help:`Markdown, text, or HTML. Relative to forgeqe.yaml.`,type:`path`,placeholder:`../shop-docs`},{key:`url`,label:`Or a link`,help:`A docs site or help centre, or an OpenAPI, Swagger, WSDL, or GraphQL description.`,type:`url`,placeholder:`https://help.shop.example/`},{key:`depth`,label:`Links to follow`,help:`How many links deep, on the same site only. 0 to 5; 0: the page alone.`,type:`number`,placeholder:`1`},{key:`max_pages`,label:`Most pages`,help:`A link: 1 to 2000, 100 if empty. Confluence: 1 to 25, 25 if empty.`,type:`number`,placeholder:`100`},{key:`token_env`,label:`Token for the link`,help:`Sent as a bearer token, to that site only.`,type:`var`,placeholder:`DOCS_TOKEN`},{key:`confluence`,label:`Or a Confluence space or page`,help:`A space key, or a page's link with the pages under it.`,type:`text`,placeholder:`SHOP`},{key:`app`,label:`Or a web app of env.yaml`,help:`The pages ForgeQE's runs and explorations remember of it.`,type:`text`,placeholder:`shop-web`}],R=[{key:`path`,label:`Local clone`,help:`Relative to forgeqe.yaml.`,type:`path`,placeholder:`../shop-web`},{key:`git`,label:`Or its link`,help:`GitHub, Azure DevOps, GitLab, Bitbucket, or any git server, over https or ssh. ForgeQE fetches the branch's latest commit into its own cache, only when it moved.`,type:`text`,placeholder:`https://dev.azure.com/acme/Shop/_git/orders`},{key:`branch`,label:`Branch`,help:`With a link. The repository's default branch if empty.`,type:`text`,placeholder:`main`},{key:`token_env`,label:`Token`,help:`With an https link. Sent to that host only; empty: git's own sign-in.`,type:`var`,placeholder:`ADO_PAT`},{key:`user`,label:`User name for the token`,help:`Only when the server needs one, like a Bitbucket app password.`,type:`text`},{key:`auth`,label:`Browser sign-in`,help:`In place of a token: the GitHub CLI's or the Azure CLI's sign-in. Empty: the token, or git's own sign-in.`,type:`select`,options:m([`github-cli`,`GitHub CLI`],[`azure-cli`,`Azure CLI`]),emptyLabel:`None`},{key:`account`,label:`Account`,help:`The account it was connected from (Repositories).`,type:`text`},{key:`system`,label:`System`,help:`The system it is part of, as your teams name it, for the Landscape on the Product page. Empty: grouped by its name.`,type:`text`,placeholder:`CRM`},{key:`database`,label:`Its database`,help:`A database of Databases, whose tables, keys and foreign keys are read into the graph. Only one that is not Writable.`,type:`text`,placeholder:`orders`}],z=[{key:`image`,label:`Image`,help:`An exact version or a digest.`,type:`text`,placeholder:`postgres:16.4`},{key:`description`,label:`What it is`,type:`text`,placeholder:`Orders database`},{key:`ports`,label:`Ports`,help:`5432, or 15432:5432 (this machine:container). On 127.0.0.1 only.`,type:`list`,placeholder:`5432`},{key:`env`,label:`Environment`,type:`kv`,placeholder:`POSTGRES_DB = shop`},{key:`secrets`,label:`Secrets`,help:`Environment variable names (.env works).`,type:`list`,placeholder:`POSTGRES_PASSWORD`},{key:`volumes`,label:`Mounts`,help:`Read-only, inside the project: ./host:/container.`,type:`list`,placeholder:`./db/init:/docker-entrypoint-initdb.d`},{key:`command`,label:`Command`,help:`Its arguments, comma separated.`,type:`list`},{key:`depends_on`,label:`Starts after`,type:`list`,placeholder:`db`},{key:`ready.tcp`,label:`Ready when this port answers`,type:`number`,placeholder:`5432`},{key:`ready.http`,label:`Or when this path answers`,type:`text`,placeholder:`/health`},{key:`ready.port`,label:`On port`,type:`number`,placeholder:`8080`},{key:`timeout`,label:`Wait for it`,help:`In seconds.`,type:`number`,placeholder:`60`}],B=[{key:`description`,label:`What it holds`,type:`text`,placeholder:`Orders written by the checkout app`},{key:`url_env`,label:`Connection string`,help:`A whole URI, JDBC or ADO.NET string. Or give the parts below.`,type:`var`,placeholder:`ORDERS_DB_URL`},{key:`engine`,label:`Engine`,type:`select`,options:m([`postgres`,`PostgreSQL`],[`mysql`,`MySQL`],[`mariadb`,`MariaDB`],[`mssql`,`SQL Server`],[`oracle`,`Oracle`],[`snowflake`,`Snowflake`],[`redshift`,`Redshift`],[`cockroachdb`,`CockroachDB`],[`sqlite`,`SQLite`],[`duckdb`,`DuckDB`],[`mongodb`,`MongoDB`],[`kafka`,`Kafka`])},{key:`host`,label:`Host`,type:`text`,placeholder:`localhost`},{key:`port`,label:`Port`,type:`number`,placeholder:`5432`},{key:`database`,label:`Database`,type:`text`,placeholder:`test`},{key:`schema`,label:`Schema`,type:`text`},{key:`path`,label:`File`,help:`SQLite or DuckDB.`,type:`path`,placeholder:`./data/test.db`},{key:`user`,label:`User`,type:`text`,placeholder:`qa`},{key:`auth`,label:`Signs in with`,type:`select`,default:`password`,options:m([`password`,`A password`],[`azure`,`Microsoft Entra`],[`aws_iam`,`AWS IAM`],[`none`,`Nothing`])},{key:`password_env`,label:`Password`,type:`var`,placeholder:`FIXTURES_DB_PASSWORD`},{key:`region`,label:`AWS region`,type:`text`,placeholder:`eu-west-1`},{key:`ssl`,label:`TLS`,type:`select`,emptyLabel:`The driver's default`,options:m([`verify`,`Verify the certificate`],[`require`,`Require`],[`disable`,`Off`])},{key:`ssl_ca`,label:`CA certificate`,type:`path`,placeholder:`./certs/ca.pem`},{key:`writable`,label:`Writable`,help:`Allows confirmed INSERT, and UPDATE or DELETE with a WHERE clause. Each one is asked first.`,type:`switch`,default:!1},{key:`timeout_seconds`,label:`Query time limit`,help:`In seconds.`,type:`number`,placeholder:`30`},{key:`options`,label:`Driver options`,type:`kv`}],V=[`theme.logo`,`theme.logo_mark`,`theme.logo_frame`,`theme.logo_size`,`theme.icon_style`,`theme.icon_set`,`theme.icon_colour`,`theme.mascot`,`theme.mascot_colours`,`theme.name`,`theme.primary`,`theme.gradient`,`theme.secondary`,`theme.background`,`agent.names.*`,`agent.app_name`,`llm.models_file`,`llm.active`,`llm.routing`,`llm.strategy`,`llm.fallback`,`llm.routes.*`,`llm.agents.*`,`environments.file`,`environments.dir`,`environments.default`,`logins.*.url`,`logins.*.domains`,`logins.*.username_env`,`logins.*.password_env`,`logins.*.totp_env`,`logins.*.save_session`,`logins.*.app`,`logins.*.code`,`logins.*.code_host`,`logins.*.code_user_env`,`logins.*.code_secret_env`,`logins.*.code_to`,`logins.*.code_sender`,`logins.*.code_folder`,`logins.*.code_url`,`logins.*.code_header`,`logins.*.code_pattern`,`logins.*.code_wait`,`logins.*.passkey_env`,`logins.*.push_wait`,`browser.providers.browserstack`,`browser.providers.testmu`,`notify.report_url`,`notify.channels.*.teams`,`notify.channels.*.email`,`notify.channels.*.on`,`mcp.*.url`,`mcp.*.headers`,`mcp.*.command`,`mcp.*.env`,...[`checks`,`every`,`replay`,`parallel`,`write_back`,`fail_after`,`remind_every`,`report_url`,`keep`,`out_dir`,`alerts.teams.webhook_env`,`alerts.email.host`,`alerts.email.port`,`alerts.email.username_env`,`alerts.email.password_env`,`alerts.email.from`,`alerts.email.to`].map(e=>`monitor.${e}`),...[`enabled`,`external`,`dirs`,`browser_max_chars`,`disable`].map(e=>`skills.${e}`),...[`run`,`day`,`month`,`currency`].map(e=>`budget.${e}`),...[`run`,`day`,`month`].map(e=>`budget.premium_requests.${e}`),`export.format`];[...(e=>e.flatMap(e=>e.fields.map(t=>[...e.base,t.key].join(`.`))))([...h,...g,..._,...A,...v,...S,...w,...j,...P,...F,...I,...O,E]),...T.flatMap(e=>e.fields.length?e.fields.map(t=>[...e.base,t.key].join(`.`)):[e.base.join(`.`)]),...z.map(e=>`containers.services.*.${e.key}`),...R.map(e=>`product.repos.*.${e.key}`),...C.map(e=>`product.accounts.*.${e.key}`),...L.map(e=>`product.docs.*.${e.key}`),...B.map(e=>`databases.*.${e.key}`),...k.map(e=>`bi.datasets.*.${e.key}`),...N.map(e=>`mobile.devices.*.${e.key}`),...V];var H=(e,t)=>t.flatMap(t=>t.fields.map(n=>({section:e,label:n.label,key:[...t.base,n.key].join(`.`)}))),U=(e,t,n)=>n.map(n=>({section:e,label:n.label,key:`${t}.*.${n.key}`})),W=[...H(`browser`,h),...H(`tests`,g),...H(`runs`,[..._,...O]),...U(`runs`,`bi.datasets`,k),...H(`parallel`,A),...H(`quality`,v),...H(`evidence`,S),...U(`evidence`,`product.accounts`,C),...U(`evidence`,`product.repos`,R),...U(`evidence`,`product.docs`,L),...H(`agents`,w),...H(`mobile`,[...j,...P]),...U(`mobile`,`mobile.devices`,N),...H(`desktop`,F),...H(`containers`,I),...U(`containers`,`containers.services`,z),...U(`databases`,`databases`,B),...H(`integrations`,[E]),...T.flatMap(e=>e.fields.map(t=>({section:e.group===`tools`?`mcp`:`integrations`,label:`${e.name}: ${t.label}`,key:[...e.base,t.key].join(`.`)}))),{section:`integrations`,label:`Post results back`,key:`sources.write_back`},{section:`integrations`,label:`Which system an id is in`,key:`sources.id_routes`},{section:`integrations`,label:`Remote browser grids`,key:`browser.providers`},{section:`models`,label:`Models file`,key:`llm.models_file`},{section:`models`,label:`Profile in use`,key:`llm.active`},{section:`routing`,label:`Routing`,key:`llm.routing`},{section:`routing`,label:`Routing strategy`,key:`llm.strategy`},{section:`routing`,label:`Fall back to a working model`,key:`llm.fallback`},{section:`routing`,label:`An agent's own model`,key:`llm.agents`},{section:`routing`,label:`Areas of work`,key:`llm.routes`},{section:`environments`,label:`Environments file`,key:`environments.file`},{section:`environments`,label:`Environments folder`,key:`environments.dir`},{section:`environments`,label:`Active environment`,key:`environments.default`},{section:`signins`,label:`Sign-ins`,key:`logins`},{section:`notifications`,label:`Teams and email channels`,key:`notify.channels`},{section:`notifications`,label:`Where reports are published`,key:`notify.report_url`},{section:`appearance`,label:`Logo`,key:`theme.logo`},{section:`appearance`,label:`Small logo`,key:`theme.logo_mark`},{section:`appearance`,label:`Logo frame`,key:`theme.logo_frame`},{section:`appearance`,label:`Logo size`,key:`theme.logo_size`},{section:`appearance`,label:`Icon style`,key:`theme.icon_style`},{section:`appearance`,label:`Icons (3D, Phosphor, Solar or Lucide)`,key:`theme.icon_set`},{section:`appearance`,label:`Icon colour`,key:`theme.icon_colour`},{section:`appearance`,label:`Agents (robots, characters or icons)`,key:`theme.mascot`},{section:`appearance`,label:`Agent colours`,key:`theme.mascot_colours`},{section:`appearance`,label:`Name beside the logo`,key:`theme.name`},{section:`appearance`,label:`Sidebar colour (primary)`,key:`theme.primary`},{section:`appearance`,label:`Sidebar gradient`,key:`theme.gradient`},{section:`appearance`,label:`Buttons and highlights colour (secondary)`,key:`theme.secondary`},{section:`appearance`,label:`Page background`,key:`theme.background`},{section:`mcp`,label:`MCP servers`,key:`mcp`},{section:`monitor`,label:`Monitor checks, schedule and alerts`,key:`monitor`},{section:`monitor`,label:`Monitor alerts by Teams or email`,key:`monitor.alerts`},{section:`skills`,label:`Skills`,key:`skills`},{section:`tokenomics`,label:`Spending budgets`,key:`budget`},{section:`about`,label:`Version and updates`,key:`forgeqe update`},{section:`about`,label:`Guides: docs, architecture`,key:`forgeqe docs`},{section:`report`,label:`Report a problem in ForgeQE (raise a bug)`,key:`forgeqe bug report`},{section:`notifications`,label:`Send a test notification`,key:`forgeqe notify test`},{section:`agents`,label:`Agent names`,key:`agent.names`},{section:`agents`,label:`ForgeQE's name (rename the app)`,key:`agent.app_name`},{section:`evidence`,label:`Check the agent's domain knowledge`,key:`forgeqe eval domain`},{section:`generated`,label:`Generated code still in the repository`,key:`forgeqe generated`}];export{_ as C,R as S,j as _,h as a,A as b,I as c,N as d,L as f,T as g,y as h,k as i,B as l,b as m,w as n,E as o,x as p,O as r,g as s,W as t,F as u,P as v,z as w,v as x,D as y};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-BDur5s0O.js";import{l as n}from"./preload-helper-BupTYkQW.js";import{n as r,t as i}from"./utils-DJRAScIl.js";import{t as a}from"./jsx-runtime-LKYXHABd.js";import{
|
|
2
|
-
`)||`Starting…`})})]})]})}function N({text:e}){return(0,E.jsx)(`p`,{role:`alert`,className:i(s.fail,`m-0`),children:e})}function P({columns:e,rows:t}){let n=e.map((e,n)=>t.length>0&&t.every(e=>e[n]===null||e[n]===void 0||typeof e[n]==`number`)&&t.some(e=>typeof e[n]==`number`));return(0,E.jsx)(x,{label:`Rows`,resetKey:t,head:e.map((e,t)=>(0,E.jsx)(`th`,{scope:`col`,className:n[t]?C:h,children:e},e)),children:t.map((e,t)=>(0,E.jsx)(`tr`,{className:
|
|
3
|
-
`)})]}),e.files?.length?(0,E.jsxs)(`p`,{className:`m-0 flex flex-wrap items-center gap-2 text-body-sm`,children:[`Kept`,e.files.map(e=>(0,E.jsx)(A,{file:e,onNote:t},e))]}):null,e.replay&&(0,E.jsxs)(`p`,{className:`m-0 text-body-sm text-muted`,children:[`Tests and pipelines get the same data with `,(0,E.jsx)(`code`,{className:`font-mono text-body-sm text-ink-2`,children:e.replay}),`, without a model.`]})]})}function R({title:e,rows:t,total:n}){let i=[...new Set(t.flatMap(e=>Object.keys(e)))];return(0,E.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,E.jsxs)(`span`,{className:`text-body-sm`,children:[(0,E.jsx)(`span`,{className:`font-medium`,children:e}),` · `,r(n,`row`),n>t.length?(0,E.jsxs)(`span`,{className:`text-muted`,children:[` · `,t.length,` shown`]}):null]}),i.length>0?(0,E.jsx)(P,{columns:i,rows:t.map(e=>i.map(t=>e[t]))}):(0,E.jsx)(`p`,{className:`m-0 text-body-sm text-muted`,children:`No rows match.`})]})}function z({items:e,text:t,label:n,size:r=10,children:i}){let[a,o]=(0,T.useState)(``),[s,c]=(0,T.useState)(0),d=a.toLowerCase().split(/\s+/).filter(Boolean),f=d.length?e.filter(e=>d.every(n=>t(e).toLowerCase().includes(n))):e;(0,T.useEffect)(()=>c(0),[a,e.length]);let p=Math.min(s,Math.max(0,Math.ceil(f.length/r)-1));return(0,E.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[e.length>r&&(0,E.jsx)(l,{id:`find-${n.toLowerCase().replace(/\W+/g,`-`)}`,label:`Find in ${n.toLowerCase()}`,value:a,onChange:o,className:`flex-none`}),f.length?(0,E.jsx)(`ul`,{className:`m-0 flex list-none flex-col p-0`,children:f.slice(p*r,p*r+r).map(i)}):(0,E.jsx)(`p`,{className:`m-0 text-body-sm text-muted`,children:`Nothing matches.`}),f.length>r&&(0,E.jsx)(u,{page:p,size:r,total:f.length,onPage:c,label:`Pages of ${n.toLowerCase()}`})]})}function B({on:e,set:t,children:n}){return(0,E.jsxs)(`label`,{className:`flex items-center gap-2 text-body-sm text-ink-2`,children:[(0,E.jsx)(
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-BDur5s0O.js";import{l as n}from"./preload-helper-BupTYkQW.js";import{n as r,t as i}from"./utils-DJRAScIl.js";import{t as a}from"./jsx-runtime-LKYXHABd.js";import{w as o}from"./api-Dr3U7W5w.js";import{C as s,g as c,h as l,p as u,r as d,v as f,x as p}from"./pageBack-Blig1Uqs.js";import{ur as m}from"./line-icons-Cwj9OmCz.js";import{Ct as h,Mt as g,St as _,Tt as v,Xt as y,Yt as b,_t as x,bt as S,wt as C}from"./frame-CavkQick.js";import{t as w}from"./code-Jek8uWUO.js";import"./markdown-Bvv6oj4v.js";var T=e(t(),1),E=a(),D={test:[`Testing the connection`,`Tested the connection`,`waiting`],tables:[`Reading the tables`,`Read the tables`,`searching`],query:[`Running the query`,`Ran the query`,`working`],gen:[`Making a preview`,`Made a preview`,`writing`],files:[`Writing the files`,`Wrote the files`,`writing`],insert:[`Inserting test data`,`Inserted test data`,`working`],batches:[`Listing the batches`,`Listed the batches`,`searching`],clean:[`Removing a batch`,`Removed a batch`,`working`],request:[`Asking Miner for test data`,`Asked Miner for test data`,`thinking`],fetch:[`Fetching the request again`,`Fetched the request again`,`searching`],ask:[`Asking Miner`,`Asked Miner`,`thinking`],checks:[`Running the checks`,`Ran the checks`,`working`],map:[`Reading the schema`,`Read the schema`,`searching`],check:[`Checking the flows`,`Checked the flows`,`working`],trace:[`Following the record`,`Followed the record`,`searching`]};function O(){let[e,t]=(0,T.useState)(null),[n,r]=(0,T.useState)(``),[i,a]=(0,T.useState)(!1),s=(0,T.useCallback)(()=>{o.view().then(e=>{t(e),r(``)},e=>r(e.message))},[]);(0,T.useEffect)(s,[s]);let c=!!e?.job?.running;return(0,T.useEffect)(()=>{if(!c)return;let e=y(s,1e3);return()=>b(e)},[c,s]),{view:e,error:n,busy:i||c,running:c,act:async(e,t)=>{a(!0),r(``);try{await o.run(e,t),s()}catch(e){r(e.message)}finally{a(!1)}},stop:()=>void o.stop().then(s),load:s,job:e?.job??null}}var k=e=>e==null?`NULL`:typeof e==`object`?JSON.stringify(e):String(e);function A({file:e,onNote:t}){return(0,E.jsx)(p,{size:`sm`,"data-tip":e,onClick:async()=>t(await f(e)),className:`font-mono`,children:e.split(/[\\/]/).pop()})}function j({children:e,label:t}){return(0,E.jsx)(`pre`,{"aria-label":t,className:i(w,`m-0 max-h-[320px] whitespace-pre`),children:e})}function M({job:e,onStop:t,words:a}){let[o,s,l]=(a??D)[e.kind]??[`Working`,`Done`,`working`],u=(0,T.useRef)(null);(0,T.useEffect)(()=>{u.current&&(u.current.scrollTop=u.current.scrollHeight)},[e.lines.length]);let f=e.exitCode===0,h=!f&&(e.kind===`check`||e.kind===`trace`)&&e.result!==void 0&&!e.result.error;return(0,E.jsxs)(`section`,{"aria-label":e.running?o:s,className:i(n,`flex flex-col gap-2`),children:[(0,E.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4`,children:[(0,E.jsxs)(`span`,{className:`min-w-0 flex-1 font-medium [overflow-wrap:anywhere]`,children:[e.running?o:s,e.target?(0,E.jsxs)(`span`,{className:`font-normal text-muted`,children:[` · `,e.target]}):null]}),(0,E.jsx)(c,{tone:e.running?`running`:f?`pass`:e.exitCode===2||h?`warn`:`fail`,orb:l,children:e.running?`Working`:f?`Done`:h?`Some broken`:e.exitCode===2?`Not done`:`Failed`}),e.running&&(0,E.jsxs)(p,{variant:`danger`,onClick:t,children:[(0,E.jsx)(m,{fill:`currentColor`,"aria-hidden":`true`}),`Stop`]})]}),(0,E.jsxs)(`details`,{open:e.running||!f&&!e.result,children:[(0,E.jsxs)(`summary`,{className:`cursor-pointer text-body-sm text-muted`,children:[`Output (`,r(e.lines.length,`line`),`)`]}),(0,E.jsx)(`code`,{className:`mt-2 block font-mono text-body-sm text-muted [overflow-wrap:anywhere]`,children:e.command}),(0,E.jsx)(`pre`,{ref:u,className:i(w,`mt-2 max-h-[240px]`),children:(0,E.jsx)(d,{text:e.lines.join(`
|
|
2
|
+
`)||`Starting…`})})]})]})}function N({text:e}){return(0,E.jsx)(`p`,{role:`alert`,className:i(s.fail,`m-0`),children:e})}function P({columns:e,rows:t}){let n=e.map((e,n)=>t.length>0&&t.every(e=>e[n]===null||e[n]===void 0||typeof e[n]==`number`)&&t.some(e=>typeof e[n]==`number`));return(0,E.jsx)(x,{label:`Rows`,resetKey:t,head:e.map((e,t)=>(0,E.jsx)(`th`,{scope:`col`,className:n[t]?C:h,children:e},e)),children:t.map((e,t)=>(0,E.jsx)(`tr`,{className:v,children:e.map((e,t)=>(0,E.jsx)(`td`,{"data-tip":k(e),className:i(n[t]?_:S,`font-mono text-body-sm`,!n[t]&&`max-w-[320px] truncate`,e==null&&`text-muted`),children:k(e)},t))},t))})}function F({r:e}){return(0,E.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(e.order||[]).map(t=>{let n=e.preview?.[t],i=n?.sample||[],a=i.length?Object.keys(i[0]):[];return(0,E.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,E.jsxs)(`span`,{className:`text-body-sm`,children:[(0,E.jsx)(`span`,{className:`font-medium`,children:t}),` · `,r(e.rows?.[t]??0,`row`),n?.database_fills?.length?(0,E.jsxs)(`span`,{className:`text-muted`,children:[` · the database fills `,n.database_fills.join(`, `)]}):null,e.masked?.[t]?.length?(0,E.jsxs)(`span`,{className:`text-muted`,children:[` · masked `,e.masked[t].join(`, `)]}):null]}),a.length>0&&(0,E.jsx)(P,{columns:a,rows:i.slice(0,3).map(e=>a.map(t=>e[t]))})]},t)}),(e.warnings||[]).map((e,t)=>(0,E.jsx)(`p`,{className:`m-0 text-body-sm text-warn`,children:e},t))]})}var I={query:`Existing rows`,generate:`New rows`};function L({r:e,onNote:t}){let n=Object.entries(e.rows||{});return(0,E.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,E.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,E.jsx)(c,{tone:`pass`,children:I[e.kind||``]||`Answered`}),(0,E.jsxs)(`span`,{className:`min-w-0 text-body-sm text-ink-2 [overflow-wrap:anywhere]`,children:[e.database,e.why?` · ${e.why}`:``]})]}),n.map(([t,n])=>(0,E.jsx)(R,{title:t===`result`?`Rows found`:t,rows:n,total:e.row_counts?.[t]??n.length},t)),e.sql&&(0,E.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,E.jsx)(`span`,{className:`text-body-sm font-medium`,children:`The query, as the database checked it`}),(0,E.jsx)(j,{label:`SQL`,children:e.sql})]}),e.script_preview&&e.script_preview.length>0&&(0,E.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,E.jsx)(`span`,{className:`text-body-sm font-medium`,children:`INSERT script for these rows, not run`}),(0,E.jsx)(j,{label:`INSERT script`,children:e.script_preview.join(`
|
|
3
|
+
`)})]}),e.files?.length?(0,E.jsxs)(`p`,{className:`m-0 flex flex-wrap items-center gap-2 text-body-sm`,children:[`Kept`,e.files.map(e=>(0,E.jsx)(A,{file:e,onNote:t},e))]}):null,e.replay&&(0,E.jsxs)(`p`,{className:`m-0 text-body-sm text-muted`,children:[`Tests and pipelines get the same data with `,(0,E.jsx)(`code`,{className:`font-mono text-body-sm text-ink-2`,children:e.replay}),`, without a model.`]})]})}function R({title:e,rows:t,total:n}){let i=[...new Set(t.flatMap(e=>Object.keys(e)))];return(0,E.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,E.jsxs)(`span`,{className:`text-body-sm`,children:[(0,E.jsx)(`span`,{className:`font-medium`,children:e}),` · `,r(n,`row`),n>t.length?(0,E.jsxs)(`span`,{className:`text-muted`,children:[` · `,t.length,` shown`]}):null]}),i.length>0?(0,E.jsx)(P,{columns:i,rows:t.map(e=>i.map(t=>e[t]))}):(0,E.jsx)(`p`,{className:`m-0 text-body-sm text-muted`,children:`No rows match.`})]})}function z({items:e,text:t,label:n,size:r=10,children:i}){let[a,o]=(0,T.useState)(``),[s,c]=(0,T.useState)(0),d=a.toLowerCase().split(/\s+/).filter(Boolean),f=d.length?e.filter(e=>d.every(n=>t(e).toLowerCase().includes(n))):e;(0,T.useEffect)(()=>c(0),[a,e.length]);let p=Math.min(s,Math.max(0,Math.ceil(f.length/r)-1));return(0,E.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[e.length>r&&(0,E.jsx)(l,{id:`find-${n.toLowerCase().replace(/\W+/g,`-`)}`,label:`Find in ${n.toLowerCase()}`,value:a,onChange:o,className:`flex-none`}),f.length?(0,E.jsx)(`ul`,{className:`m-0 flex list-none flex-col p-0`,children:f.slice(p*r,p*r+r).map(i)}):(0,E.jsx)(`p`,{className:`m-0 text-body-sm text-muted`,children:`Nothing matches.`}),f.length>r&&(0,E.jsx)(u,{page:p,size:r,total:f.length,onPage:c,label:`Pages of ${n.toLowerCase()}`})]})}function B({on:e,set:t,children:n}){return(0,E.jsxs)(`label`,{className:`flex items-center gap-2 text-body-sm text-ink-2`,children:[(0,E.jsx)(g,{checked:e,onChange:t,label:n}),n]})}function V({label:e,hint:t,children:n}){return(0,E.jsxs)(`label`,{className:`flex flex-col gap-2 text-body-sm font-medium`,children:[e,n,t&&(0,E.jsx)(`span`,{className:`text-body-sm font-normal text-muted`,children:t})]})}export{F as a,z as c,R as d,B as f,A as i,N as l,O as m,j as n,M as o,k as p,V as r,I as s,L as t,P as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-BDur5s0O.js";import{F as n}from"./preload-helper-BupTYkQW.js";import{t as r}from"./utils-DJRAScIl.js";import{t as i}from"./jsx-runtime-LKYXHABd.js";import{
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-BDur5s0O.js";import{F as n}from"./preload-helper-BupTYkQW.js";import{t as r}from"./utils-DJRAScIl.js";import{t as i}from"./jsx-runtime-LKYXHABd.js";import{T as a}from"./api-Dr3U7W5w.js";import{x as o}from"./pageBack-Blig1Uqs.js";import{At as s}from"./line-icons-Cwj9OmCz.js";var c=e(t(),1),l=i();function u(e){return(e.replace(/(?<![\\/])[\\/]+$/,``).split(/[\\/]/).pop()||``).replace(/\.(exe|app)$/i,``).toLowerCase().replace(/[^a-z0-9_.-]+/g,`-`).replace(/^[^a-z]+/,``).replace(/(?<!-)-+$/,``).slice(0,40)||`app`}function d({value:e,onChange:t,onPicked:i,onError:u,className:d}){let[f,p]=(0,c.useState)(!1),m=async()=>{p(!0),u(``);try{let e=await a.browse();`path`in e?(t(e.path),i?.(e.path,e.name)):`unavailable`in e&&u(e.unavailable)}catch(e){u(e.message)}finally{p(!1)}};return(0,l.jsxs)(`div`,{className:r(`flex min-w-0 gap-2`,d),children:[(0,l.jsx)(n,{"aria-label":`App's path`,value:e,spellCheck:!1,placeholder:`C:\\Program Files\\Contoso\\Billing.exe`,onChange:e=>t(e.target.value),className:`min-w-0 flex-1 font-mono text-body-sm`}),(0,l.jsxs)(o,{busy:f,type:`button`,disabled:f,onClick:()=>void m(),"data-tip":`Choose the app's .exe on this computer`,children:[(0,l.jsx)(s,{"aria-hidden":`true`}),f?`Choosing…`:`Browse…`]})]})}export{u as n,d as t};
|