fsq-agent 0.1.0a1__tar.gz
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.
- fsq_agent-0.1.0a1/.gitignore +38 -0
- fsq_agent-0.1.0a1/LICENSE +21 -0
- fsq_agent-0.1.0a1/PKG-INFO +411 -0
- fsq_agent-0.1.0a1/README.md +369 -0
- fsq_agent-0.1.0a1/config.android.yaml +31 -0
- fsq_agent-0.1.0a1/config.macos.yaml +33 -0
- fsq_agent-0.1.0a1/config.web.yaml +32 -0
- fsq_agent-0.1.0a1/config.windows.yaml +30 -0
- fsq_agent-0.1.0a1/fsq_agent/__init__.py +7 -0
- fsq_agent-0.1.0a1/fsq_agent/_capability_bootstrap.py +72 -0
- fsq_agent-0.1.0a1/fsq_agent/_workspace_paths.py +34 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/SPEC.md +51 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/__init__.py +4 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/__init__.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_android_devices.py +63 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_capability_bootstrap.py +18 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_case_lifecycle.py +584 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_composition.py +14 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_core_execution.py +10 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_env_file.py +73 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_formatting.py +404 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_llm_setup.py +114 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_logging.py +22 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_main.py +600 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_strict_replay.py +82 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/cli/_task_loader.py +48 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/coding_agent/SPEC.md +51 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/coding_agent/__init__.py +35 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/coding_agent/_harness_tools.py +264 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/coding_agent/_openai_runtime.py +1249 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/__init__.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_cases.py +119 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_config.py +131 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_directory_picker.py +234 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_evidence.py +522 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_execution.py +502 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_provider_auth.py +320 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_readiness.py +108 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_replay.py +182 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_server.py +822 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_state.py +320 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_targets.py +152 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_workspace_files.py +190 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/_workspaces.py +336 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/__init__.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/_android.py +161 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/_execution.py +795 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/_recording.py +52 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/_server.py +1800 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/_state.py +270 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/_yaml_lifecycle.py +179 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/static/assets/EBML-CkONH1rT.js +12 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/static/assets/playground-CHV40qt0.js +11 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/static/assets/playground-nkDgvOAl.css +1 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/static/entry-assets.json +8 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/playground/static/playground/index.html +110 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/static/assets/EBML-CkONH1rT.js +12 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/static/assets/controlPlane-C58ojNhi.css +1 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/static/assets/controlPlane-D_vwf3A2.js +25 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/static/control-plane/index.html +15 -0
- fsq_agent-0.1.0a1/fsq_agent/adapters/control_plane/static/entry-assets.json +8 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/SPEC.md +160 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/__init__.py +10 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_core.py +284 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_events.py +24 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_policy.py +60 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_pre_plan.py +129 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_prompt.py +125 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_readiness.py +40 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_runtime.py +33 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_structured_output.py +57 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_verification_task.py +199 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/_verifier.py +103 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/templates/agent_instructions.j2 +30 -0
- fsq_agent-0.1.0a1/fsq_agent/agent/templates/task_input.j2 +18 -0
- fsq_agent-0.1.0a1/fsq_agent/application/SPEC.md +116 -0
- fsq_agent-0.1.0a1/fsq_agent/application/__init__.py +118 -0
- fsq_agent-0.1.0a1/fsq_agent/application/_case.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/application/_case_test.py +340 -0
- fsq_agent-0.1.0a1/fsq_agent/application/_contracts.py +4 -0
- fsq_agent-0.1.0a1/fsq_agent/application/_errors.py +44 -0
- fsq_agent-0.1.0a1/fsq_agent/application/_provider.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/application/_queries.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/application/_workspace.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/application/_workspace_init.py +203 -0
- fsq_agent-0.1.0a1/fsq_agent/application/cases.py +110 -0
- fsq_agent-0.1.0a1/fsq_agent/application/contracts/__init__.py +73 -0
- fsq_agent-0.1.0a1/fsq_agent/application/contracts/cases.py +48 -0
- fsq_agent-0.1.0a1/fsq_agent/application/contracts/doctor.py +65 -0
- fsq_agent-0.1.0a1/fsq_agent/application/contracts/environments.py +11 -0
- fsq_agent-0.1.0a1/fsq_agent/application/contracts/providers.py +25 -0
- fsq_agent-0.1.0a1/fsq_agent/application/contracts/runs.py +133 -0
- fsq_agent-0.1.0a1/fsq_agent/application/contracts/shared.py +66 -0
- fsq_agent-0.1.0a1/fsq_agent/application/contracts/workspace.py +45 -0
- fsq_agent-0.1.0a1/fsq_agent/application/doctor.py +191 -0
- fsq_agent-0.1.0a1/fsq_agent/application/environments.py +25 -0
- fsq_agent-0.1.0a1/fsq_agent/application/providers.py +76 -0
- fsq_agent-0.1.0a1/fsq_agent/application/runs.py +307 -0
- fsq_agent-0.1.0a1/fsq_agent/application/workspace.py +93 -0
- fsq_agent-0.1.0a1/fsq_agent/capabilities/SPEC.md +97 -0
- fsq_agent-0.1.0a1/fsq_agent/capabilities/__init__.py +14 -0
- fsq_agent-0.1.0a1/fsq_agent/capabilities/_catalog.py +27 -0
- fsq_agent-0.1.0a1/fsq_agent/capabilities/_decorators.py +301 -0
- fsq_agent-0.1.0a1/fsq_agent/capabilities/_discovery.py +80 -0
- fsq_agent-0.1.0a1/fsq_agent/case_dsl/SPEC.md +42 -0
- fsq_agent-0.1.0a1/fsq_agent/case_dsl/__init__.py +7 -0
- fsq_agent-0.1.0a1/fsq_agent/case_dsl/_loader.py +77 -0
- fsq_agent-0.1.0a1/fsq_agent/case_dsl/_step_adapter.py +128 -0
- fsq_agent-0.1.0a1/fsq_agent/cli/SPEC.md +153 -0
- fsq_agent-0.1.0a1/fsq_agent/cli/__init__.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/cli/__main__.py +7 -0
- fsq_agent-0.1.0a1/fsq_agent/config/SPEC.md +159 -0
- fsq_agent-0.1.0a1/fsq_agent/config/__init__.py +78 -0
- fsq_agent-0.1.0a1/fsq_agent/config/_loader.py +435 -0
- fsq_agent-0.1.0a1/fsq_agent/config/_paths.py +86 -0
- fsq_agent-0.1.0a1/fsq_agent/config/_settings.py +51 -0
- fsq_agent-0.1.0a1/fsq_agent/config/_user_provider.py +484 -0
- fsq_agent-0.1.0a1/fsq_agent/config/_workspace.py +504 -0
- fsq_agent-0.1.0a1/fsq_agent/control_plane/SPEC.md +186 -0
- fsq_agent-0.1.0a1/fsq_agent/control_plane/__init__.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/core/SPEC.md +233 -0
- fsq_agent-0.1.0a1/fsq_agent/core/__init__.py +52 -0
- fsq_agent-0.1.0a1/fsq_agent/core/_capabilities.py +57 -0
- fsq_agent-0.1.0a1/fsq_agent/core/_default_capabilities.py +58 -0
- fsq_agent-0.1.0a1/fsq_agent/core/_platform_runtime.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/_platform_tools.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/_runtime_secrets.py +48 -0
- fsq_agent-0.1.0a1/fsq_agent/core/evidence/SPEC.md +45 -0
- fsq_agent-0.1.0a1/fsq_agent/core/evidence/__init__.py +7 -0
- fsq_agent-0.1.0a1/fsq_agent/core/evidence/_artifact_store.py +121 -0
- fsq_agent-0.1.0a1/fsq_agent/core/evidence/_recorder.py +57 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/__init__.py +28 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_ai_assertion_tool.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_android.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_android_devices.py +70 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_android_driver.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_appium_mac2_driver.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_driver_tools.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_factory.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_interface.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_macos.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_macos_driver.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_playwright_driver.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_pywinauto_driver.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_uiautomator2_driver.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_web.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_web_driver.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_windows.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/harness/_windows_driver.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/core/interfaces/SPEC.md +48 -0
- fsq_agent-0.1.0a1/fsq_agent/core/interfaces/__init__.py +26 -0
- fsq_agent-0.1.0a1/fsq_agent/core/interfaces/_android_driver.py +57 -0
- fsq_agent-0.1.0a1/fsq_agent/core/interfaces/_execution.py +30 -0
- fsq_agent-0.1.0a1/fsq_agent/core/interfaces/_factories.py +57 -0
- fsq_agent-0.1.0a1/fsq_agent/core/interfaces/_harness.py +57 -0
- fsq_agent-0.1.0a1/fsq_agent/core/interfaces/_macos_driver.py +57 -0
- fsq_agent-0.1.0a1/fsq_agent/core/interfaces/_web_driver.py +63 -0
- fsq_agent-0.1.0a1/fsq_agent/core/interfaces/_windows_driver.py +54 -0
- fsq_agent-0.1.0a1/fsq_agent/core/runner/SPEC.md +47 -0
- fsq_agent-0.1.0a1/fsq_agent/core/runner/__init__.py +7 -0
- fsq_agent-0.1.0a1/fsq_agent/core/runner/_runner.py +653 -0
- fsq_agent-0.1.0a1/fsq_agent/core/runner/_sequence.py +43 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/SPEC.md +46 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/__init__.py +4 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/_ai_assertion.py +137 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/_capabilities.py +293 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/_factory.py +55 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/android/SPEC.md +29 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/android/__init__.py +2 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/android/_uiautomator2.py +517 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/macos/SPEC.md +29 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/macos/__init__.py +2 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/macos/_appium_mac2.py +816 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/web/SPEC.md +29 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/web/__init__.py +2 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/web/_playwright.py +612 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/windows/SPEC.md +29 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/windows/__init__.py +2 -0
- fsq_agent-0.1.0a1/fsq_agent/drivers/windows/_pywinauto.py +503 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/SPEC.md +47 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/__init__.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/_service.py +151 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/providers/SPEC.md +31 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/providers/__init__.py +2 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/providers/_android.py +53 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/providers/_macos.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/providers/_runtime.py +37 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/providers/_web.py +46 -0
- fsq_agent-0.1.0a1/fsq_agent/environments/providers/_windows.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/execution/SPEC.md +74 -0
- fsq_agent-0.1.0a1/fsq_agent/execution/__init__.py +50 -0
- fsq_agent-0.1.0a1/fsq_agent/execution/deterministic.py +142 -0
- fsq_agent-0.1.0a1/fsq_agent/execution/dynamic.py +70 -0
- fsq_agent-0.1.0a1/fsq_agent/execution/lifecycle.py +672 -0
- fsq_agent-0.1.0a1/fsq_agent/execution/recording.py +441 -0
- fsq_agent-0.1.0a1/fsq_agent/execution/runs.py +185 -0
- fsq_agent-0.1.0a1/fsq_agent/fsq/SPEC.md +179 -0
- fsq_agent-0.1.0a1/fsq_agent/fsq/__init__.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/fsq/_loader.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/fsq/_step_adapter.py +8 -0
- fsq_agent-0.1.0a1/fsq_agent/harnesses/SPEC.md +43 -0
- fsq_agent-0.1.0a1/fsq_agent/harnesses/__init__.py +4 -0
- fsq_agent-0.1.0a1/fsq_agent/harnesses/_android.py +273 -0
- fsq_agent-0.1.0a1/fsq_agent/harnesses/_common_tools.py +126 -0
- fsq_agent-0.1.0a1/fsq_agent/harnesses/_factory.py +116 -0
- fsq_agent-0.1.0a1/fsq_agent/harnesses/_macos.py +305 -0
- fsq_agent-0.1.0a1/fsq_agent/harnesses/_web.py +287 -0
- fsq_agent-0.1.0a1/fsq_agent/harnesses/_windows.py +300 -0
- fsq_agent-0.1.0a1/fsq_agent/knowledge/SPEC.md +40 -0
- fsq_agent-0.1.0a1/fsq_agent/knowledge/__init__.py +7 -0
- fsq_agent-0.1.0a1/fsq_agent/knowledge/_loader.py +74 -0
- fsq_agent-0.1.0a1/fsq_agent/models/SPEC.md +301 -0
- fsq_agent-0.1.0a1/fsq_agent/models/__init__.py +412 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_agent_io.py +68 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_ai_assertion.py +43 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_core.py +1117 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_devices.py +30 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_events.py +44 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_exceptions.py +28 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_fsq.py +117 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_knowledge.py +17 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_page_knowledge.py +116 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_platform_runtime.py +59 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_report.py +19 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_settings.py +621 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_skills.py +30 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_task.py +85 -0
- fsq_agent-0.1.0a1/fsq_agent/models/_tools.py +175 -0
- fsq_agent-0.1.0a1/fsq_agent/observation/SPEC.md +31 -0
- fsq_agent-0.1.0a1/fsq_agent/observation/__init__.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/observation/_logger.py +32 -0
- fsq_agent-0.1.0a1/fsq_agent/playground/SPEC.md +162 -0
- fsq_agent-0.1.0a1/fsq_agent/playground/__init__.py +6 -0
- fsq_agent-0.1.0a1/fsq_agent/providers/SPEC.md +103 -0
- fsq_agent-0.1.0a1/fsq_agent/providers/__init__.py +50 -0
- fsq_agent-0.1.0a1/fsq_agent/providers/_ai_assertion.py +134 -0
- fsq_agent-0.1.0a1/fsq_agent/providers/_azure_openai.py +43 -0
- fsq_agent-0.1.0a1/fsq_agent/providers/_case_suggestion.py +79 -0
- fsq_agent-0.1.0a1/fsq_agent/providers/_connection_test.py +76 -0
- fsq_agent-0.1.0a1/fsq_agent/providers/_factory.py +78 -0
- fsq_agent-0.1.0a1/fsq_agent/providers/_github_copilot.py +413 -0
- fsq_agent-0.1.0a1/fsq_agent/providers/_session.py +82 -0
- fsq_agent-0.1.0a1/fsq_agent/report/SPEC.md +82 -0
- fsq_agent-0.1.0a1/fsq_agent/report/__init__.py +18 -0
- fsq_agent-0.1.0a1/fsq_agent/report/_core_evidence_report.py +286 -0
- fsq_agent-0.1.0a1/fsq_agent/report/_evidence.py +30 -0
- fsq_agent-0.1.0a1/fsq_agent/report/_failure_analysis.py +126 -0
- fsq_agent-0.1.0a1/fsq_agent/report/_generator.py +293 -0
- fsq_agent-0.1.0a1/fsq_agent/report/_resolver.py +36 -0
- fsq_agent-0.1.0a1/fsq_agent/report/_static_html.py +133 -0
- fsq_agent-0.1.0a1/fsq_agent/report/templates/.gitkeep +1 -0
- fsq_agent-0.1.0a1/fsq_agent/resources/config.android.yaml +31 -0
- fsq_agent-0.1.0a1/fsq_agent/resources/config.macos.yaml +33 -0
- fsq_agent-0.1.0a1/fsq_agent/resources/config.web.yaml +32 -0
- fsq_agent-0.1.0a1/fsq_agent/resources/config.windows.yaml +30 -0
- fsq_agent-0.1.0a1/fsq_agent/resources/knowledge/skills/android-harness.md +80 -0
- fsq_agent-0.1.0a1/fsq_agent/resources/knowledge/skills/automation-basics.md +6 -0
- fsq_agent-0.1.0a1/fsq_agent/resources/knowledge/skills/macos-harness.md +127 -0
- fsq_agent-0.1.0a1/fsq_agent/resources/knowledge/skills/web-harness.md +55 -0
- fsq_agent-0.1.0a1/fsq_agent/resources/knowledge/skills/windows-harness.md +96 -0
- fsq_agent-0.1.0a1/fsq_agent/skills/SPEC.md +48 -0
- fsq_agent-0.1.0a1/fsq_agent/skills/__init__.py +7 -0
- fsq_agent-0.1.0a1/fsq_agent/skills/_loader.py +74 -0
- fsq_agent-0.1.0a1/fsq_agent/tools/SPEC.md +85 -0
- fsq_agent-0.1.0a1/fsq_agent/tools/__init__.py +31 -0
- fsq_agent-0.1.0a1/fsq_agent/tools/_agent_tools.py +260 -0
- fsq_agent-0.1.0a1/fsq_agent/tools/_agents_adapter.py +439 -0
- fsq_agent-0.1.0a1/fsq_agent/tools/_common.py +24 -0
- fsq_agent-0.1.0a1/fsq_agent/tools/_file_ops.py +77 -0
- fsq_agent-0.1.0a1/fsq_agent/tools/_tool_artifacts.py +101 -0
- fsq_agent-0.1.0a1/knowledge/skills/android-harness.md +80 -0
- fsq_agent-0.1.0a1/knowledge/skills/automation-basics.md +6 -0
- fsq_agent-0.1.0a1/knowledge/skills/macos-harness.md +127 -0
- fsq_agent-0.1.0a1/knowledge/skills/web-harness.md +55 -0
- fsq_agent-0.1.0a1/knowledge/skills/windows-harness.md +96 -0
- fsq_agent-0.1.0a1/pyproject.toml +216 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.venv/
|
|
2
|
+
.DS_Store
|
|
3
|
+
**/.DS_Store
|
|
4
|
+
.vscode/*
|
|
5
|
+
__pycache__/
|
|
6
|
+
*.py[cod]
|
|
7
|
+
.pytest_cache/
|
|
8
|
+
.ruff_cache/
|
|
9
|
+
.env
|
|
10
|
+
config.local.yaml
|
|
11
|
+
cases/
|
|
12
|
+
.fsq-agent-workspace/
|
|
13
|
+
logs/
|
|
14
|
+
log/
|
|
15
|
+
output/
|
|
16
|
+
reports/
|
|
17
|
+
screenshots/
|
|
18
|
+
dist/
|
|
19
|
+
*.egg-info/
|
|
20
|
+
knowledge/*
|
|
21
|
+
!knowledge/skills/
|
|
22
|
+
!knowledge/skills/**
|
|
23
|
+
node_modules/
|
|
24
|
+
.frontend-dist/
|
|
25
|
+
fsq_agent/adapters/control_plane/playground/static/
|
|
26
|
+
fsq_agent/adapters/control_plane/static/
|
|
27
|
+
fsq_agent/resources/
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# Private/local planning material. Do not commit.
|
|
31
|
+
docs/fsq-opensource-strategy.md
|
|
32
|
+
docs/fsq-benchmark-metrics.md
|
|
33
|
+
docs/README-draft.md
|
|
34
|
+
docs/superpowers/
|
|
35
|
+
private/
|
|
36
|
+
docs/private/
|
|
37
|
+
*.internal.md
|
|
38
|
+
*.private.md
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Microsoft
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,411 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: fsq-agent
|
|
3
|
+
Version: 0.1.0a1
|
|
4
|
+
Summary: Goal-driven FSQ automated testing agent built around OpenAI Agents SDK, Azure OpenAI, harness actions, local utilities, observation, and reporting.
|
|
5
|
+
Project-URL: Documentation, https://github.com/microsoft/FSQ#readme
|
|
6
|
+
Project-URL: Issues, https://github.com/microsoft/FSQ/issues
|
|
7
|
+
Project-URL: Repository, https://github.com/microsoft/FSQ
|
|
8
|
+
Author: Microsoft Corporation
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Software Development :: Testing
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Requires-Dist: aiofiles==25.1.0
|
|
22
|
+
Requires-Dist: appium-python-client==5.3.1
|
|
23
|
+
Requires-Dist: click==8.3.3
|
|
24
|
+
Requires-Dist: jinja2==3.1.6
|
|
25
|
+
Requires-Dist: openai-agents==0.15.2
|
|
26
|
+
Requires-Dist: openai==2.34.0
|
|
27
|
+
Requires-Dist: pillow==12.3.0
|
|
28
|
+
Requires-Dist: playwright==1.60.0
|
|
29
|
+
Requires-Dist: pydantic-settings==2.14.2
|
|
30
|
+
Requires-Dist: pydantic==2.13.3
|
|
31
|
+
Requires-Dist: pywinauto==0.6.9
|
|
32
|
+
Requires-Dist: pyyaml==6.0.3
|
|
33
|
+
Requires-Dist: ruamel-yaml==0.18.16
|
|
34
|
+
Requires-Dist: structlog==25.5.0
|
|
35
|
+
Requires-Dist: uiautomator2==3.5.2
|
|
36
|
+
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: pre-commit==4.6.1; extra == 'dev'
|
|
38
|
+
Requires-Dist: pytest-asyncio==1.3.0; extra == 'dev'
|
|
39
|
+
Requires-Dist: pytest==9.0.3; extra == 'dev'
|
|
40
|
+
Requires-Dist: ruff==0.16.1; extra == 'dev'
|
|
41
|
+
Description-Content-Type: text/markdown
|
|
42
|
+
|
|
43
|
+
<p align="center">
|
|
44
|
+
<picture>
|
|
45
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/logo-dark.svg">
|
|
46
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/assets/logo-light.svg">
|
|
47
|
+
<img alt="FSQ โ Fully Self Quality" src="docs/assets/logo-light.svg" width="320">
|
|
48
|
+
</picture>
|
|
49
|
+
</p>
|
|
50
|
+
|
|
51
|
+
<h3 align="center">
|
|
52
|
+
An evidence-first agent harness for replayable, verifiable AI UI automation.
|
|
53
|
+
</h3>
|
|
54
|
+
|
|
55
|
+
<p align="center">
|
|
56
|
+
<a href="https://github.com/microsoft/FSQ/actions/workflows/ci.yml"><img src="https://github.com/microsoft/FSQ/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
57
|
+
<!-- <a href="https://pypi.org/project/fsq-agent/"><img src="https://img.shields.io/pypi/v/fsq-agent?color=blue" alt="PyPI"></a> -->
|
|
58
|
+
<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.11%2B-blue" alt="Python 3.11+"></a>
|
|
59
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
|
60
|
+
</p>
|
|
61
|
+
|
|
62
|
+
<p align="center">
|
|
63
|
+
<a href="#quick-start">Quick Start</a> โข
|
|
64
|
+
<a href="#why-fsq">Why FSQ</a> โข
|
|
65
|
+
<a href="#supported-platforms">Platforms</a> โข
|
|
66
|
+
<a href="docs/">Documentation</a> โข
|
|
67
|
+
<a href="CONTRIBUTING.md">Contributing</a>
|
|
68
|
+
</p>
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
<!-- TODO: Replace with actual demo GIF showing a full FSQ run -->
|
|
73
|
+
<!-- GIF should show: goal input โ agent executing โ evidence captured โ verification โ YAML generated -->
|
|
74
|
+
<p align="center">
|
|
75
|
+
<img src="docs/assets/demo.gif" alt="FSQ Demo: goal โ execution โ evidence โ verification โ replay YAML" width="720">
|
|
76
|
+
</p>
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Why FSQ?
|
|
81
|
+
|
|
82
|
+
<table>
|
|
83
|
+
<tr>
|
|
84
|
+
<td width="33%" align="center">
|
|
85
|
+
|
|
86
|
+
**Evidence-First**
|
|
87
|
+
|
|
88
|
+
Every step captures screenshots, UI snapshots, and action traces. You verify through evidence, not agent self-reports.
|
|
89
|
+
|
|
90
|
+
</td>
|
|
91
|
+
<td width="33%" align="center">
|
|
92
|
+
|
|
93
|
+
**Replayable**
|
|
94
|
+
|
|
95
|
+
Successful AI runs auto-generate strict YAML. Replay deterministically without LLM โ same harness, same evidence, zero flakiness.
|
|
96
|
+
|
|
97
|
+
</td>
|
|
98
|
+
<td width="33%" align="center">
|
|
99
|
+
|
|
100
|
+
**Verifiable**
|
|
101
|
+
|
|
102
|
+
Results are judged by an evidence-based verifier, not the agent claiming success. Auditable, trustworthy, CI-ready.
|
|
103
|
+
|
|
104
|
+
</td>
|
|
105
|
+
</tr>
|
|
106
|
+
</table>
|
|
107
|
+
|
|
108
|
+
> **Other AI agents say "I'm done." FSQ shows you the proof.**
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## See It in Action
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
116
|
+
โ $ cd /path/to/workspaces/web-demo โ
|
|
117
|
+
โ $ fsq case create --platform web โ
|
|
118
|
+
โ --goal "Search for FSQ on Bing" โ
|
|
119
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
|
|
120
|
+
โ โบ Planning: 3 key actions identified โ
|
|
121
|
+
โ โบ Step 1: startBrowser ๐ธ screenshot + UI snapshot โ
|
|
122
|
+
โ โบ Step 2: navigateTo bing.com ๐ธ screenshot + UI snapshot โ
|
|
123
|
+
โ โบ Step 3: typeText "FSQ" ๐ธ screenshot + UI snapshot โ
|
|
124
|
+
โ โบ Step 4: pressKey Enter ๐ธ screenshot + UI snapshot โ
|
|
125
|
+
โ โบ Verification: PASSED โ
(evidence-based) โ
|
|
126
|
+
โ โบ Recording manifest โ .fsq/runs/web/<run-id>/recording.json โ
|
|
127
|
+
โ โบ Replayable YAML โ .fsq/runs/web/<run-id>/recorded.fsq.yaml โ
|
|
128
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## What Can FSQ Do?
|
|
134
|
+
|
|
135
|
+
<table>
|
|
136
|
+
<tr>
|
|
137
|
+
<th></th>
|
|
138
|
+
<th>Dynamic Mode ๐ค<br><sub>AI-driven exploration</sub></th>
|
|
139
|
+
<th>Strict Mode ๐<br><sub>Deterministic replay</sub></th>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr><td><b>AI explores and operates your app</b></td><td align="center">โ
</td><td align="center">โ</td></tr>
|
|
142
|
+
<tr><td><b>Evidence captured on every step</b></td><td align="center">โ
</td><td align="center">โ
</td></tr>
|
|
143
|
+
<tr><td><b>Auto-generates replayable YAML</b></td><td align="center">โ
</td><td align="center">โ</td></tr>
|
|
144
|
+
<tr><td><b>Deterministic regression execution</b></td><td align="center">โ</td><td align="center">โ
</td></tr>
|
|
145
|
+
<tr><td><b>AI-powered visual assertions</b></td><td align="center">โ
</td><td align="center">โ
</td></tr>
|
|
146
|
+
<tr><td><b>Runs without LLM</b></td><td align="center">โ</td><td align="center">โ
</td></tr>
|
|
147
|
+
</table>
|
|
148
|
+
|
|
149
|
+
**The Dual Loop:** AI explores โ evidence proves it worked โ strict YAML locks it down โ replay catches regressions.
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## Quick Start
|
|
154
|
+
|
|
155
|
+
### 1. Install
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
pip install fsq-agent
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
<details>
|
|
162
|
+
<summary><b>Using uv (recommended for development)</b></summary>
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
166
|
+
uv sync --extra dev
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
</details>
|
|
170
|
+
|
|
171
|
+
The default installation includes the Python dependencies for Android, Web, Windows, and macOS. FSQ does not use platform extras. Applications, browsers, devices, and host services such as Appium remain system prerequisites.
|
|
172
|
+
|
|
173
|
+
### 2. Initialize a Workspace
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
mkdir web-demo && cd web-demo
|
|
177
|
+
fsq init --platform web --browser-channel chrome
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
`init` uses the exact current directory as the Workspace root and derives the Workspace name from that directory. It initializes one platform per invocation. To configure another platform in the same Workspace, run `init` again from the same directory:
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
cd /path/to/workspaces/web-demo
|
|
184
|
+
|
|
185
|
+
# Initialize Web. The executable path is optional when one matching browser is discoverable.
|
|
186
|
+
fsq init \
|
|
187
|
+
--platform web \
|
|
188
|
+
--browser-channel chrome
|
|
189
|
+
|
|
190
|
+
# Add Android to the same registered workspace.
|
|
191
|
+
fsq init \
|
|
192
|
+
--platform android \
|
|
193
|
+
--app-id com.example.app
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Platform target options are:
|
|
197
|
+
|
|
198
|
+
| Platform | `init` target options |
|
|
199
|
+
|---|---|
|
|
200
|
+
| Android | `--app-id APP_ID` (required) |
|
|
201
|
+
| Web | `--browser-channel CHANNEL` (required), optional `--browser-executable-path FILE` |
|
|
202
|
+
| Windows | `--app-path PATH` (required), plus optional `--window-title-re` and `--launch-args` |
|
|
203
|
+
| macOS | `--bundle-id` or `--app-path` (at least one required) |
|
|
204
|
+
|
|
205
|
+
Repeating an equal platform configuration returns `unchanged`. If its target or private environment mapping differs, pass `--update-existing` to replace only that platform's target and `--env NAME=VALUE` entries. Use `fsq --output json init ...` or `--output jsonl` for machine output. `init` checks readiness but never installs Driver/Runtime packages or system prerequisites.
|
|
206
|
+
|
|
207
|
+
Run `fsq doctor` from the exact Workspace root to inspect configured-platform readiness. Commands do not search parent directories or migrate legacy `.fsq/config.yaml` and `.fsq-agent-workspace` layouts.
|
|
208
|
+
|
|
209
|
+
### 3. Configure a Provider
|
|
210
|
+
|
|
211
|
+
Configure and inspect the user-level Provider from any directory:
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
fsq providers configure github_copilot
|
|
215
|
+
fsq providers status
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
| Provider | Setup |
|
|
219
|
+
|---|---|
|
|
220
|
+
| GitHub Copilot GPT | Model name and GitHub device-code authentication |
|
|
221
|
+
| Azure GPT | Azure OpenAI-compatible base URL, model/deployment name, and API key |
|
|
222
|
+
|
|
223
|
+
Provider configuration is stored under `~/.fsq` and shared with the Control Plane UI. Azure OpenAI can be configured with `fsq providers configure azure_openai`.
|
|
224
|
+
|
|
225
|
+
### 4. Create and Test Cases
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
cd /path/to/workspaces/web-demo
|
|
229
|
+
|
|
230
|
+
# AI-driven exploration with evidence and a Run-local candidate Case
|
|
231
|
+
fsq case create --platform web \
|
|
232
|
+
--goal "Open https://www.bing.com, search for 'FSQ automation', verify results appear."
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
# Deterministic execution of an existing Case
|
|
237
|
+
fsq case test --platform web path/to/case.fsq.yaml
|
|
238
|
+
|
|
239
|
+
# Execute once, then ask AI to analyze the persisted execution facts
|
|
240
|
+
fsq case test --platform web --suggest path/to/case.fsq.yaml
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
Every execution writes evidence and reports under `.fsq/runs/<platform>/<run-id>/`. Suggestions and candidate Cases are Run-local and never overwrite the source Case or `cases/<platform>`. Inspect history with `fsq runs list`, `fsq runs show RUN_ID`, and `fsq runs logs RUN_ID`. `fsq runs show RUN_ID --open` builds and opens an offline static HTML report.
|
|
244
|
+
|
|
245
|
+
### Control Plane
|
|
246
|
+
|
|
247
|
+
Launch the local browser Control Plane for multi-platform workspace management, platform readiness, target and case discovery, Explore runs, Strict Replay, and live evidence:
|
|
248
|
+
|
|
249
|
+
```bash
|
|
250
|
+
fsq ui
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
It listens on `127.0.0.1:8879` and opens a browser by default. Use `--host`, `--port`, and `--no-open-browser` to override those defaults. A wheel installation includes the compiled frontend and needs no Node.js runtime. From a source checkout, run `npm ci && npm run build` before starting the Control Plane.
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
## Supported Platforms
|
|
258
|
+
|
|
259
|
+
<table>
|
|
260
|
+
<tr>
|
|
261
|
+
<th>Platform</th>
|
|
262
|
+
<th>Backend</th>
|
|
263
|
+
<th>Install</th>
|
|
264
|
+
</tr>
|
|
265
|
+
<tr>
|
|
266
|
+
<td>๐ <b>Web</b></td>
|
|
267
|
+
<td>Playwright</td>
|
|
268
|
+
<td>Included with <code>fsq-agent</code></td>
|
|
269
|
+
</tr>
|
|
270
|
+
<tr>
|
|
271
|
+
<td>๐ฑ <b>Android</b></td>
|
|
272
|
+
<td>uiautomator2</td>
|
|
273
|
+
<td>Included with <code>fsq-agent</code></td>
|
|
274
|
+
</tr>
|
|
275
|
+
<tr>
|
|
276
|
+
<td>๐ฅ๏ธ <b>Windows</b></td>
|
|
277
|
+
<td>pywinauto</td>
|
|
278
|
+
<td>Included with <code>fsq-agent</code></td>
|
|
279
|
+
</tr>
|
|
280
|
+
<tr>
|
|
281
|
+
<td>๐ <b>macOS</b></td>
|
|
282
|
+
<td>Appium Mac2</td>
|
|
283
|
+
<td>Included with <code>fsq-agent</code></td>
|
|
284
|
+
</tr>
|
|
285
|
+
</table>
|
|
286
|
+
|
|
287
|
+
All platforms share the same `HarnessInterface`, evidence model, and FSQ YAML format. A registered workspace may configure one or more platforms independently:
|
|
288
|
+
|
|
289
|
+
```text
|
|
290
|
+
<workspace-root>/
|
|
291
|
+
.fsq/config/config.<platform>.yaml
|
|
292
|
+
cases/<platform>/
|
|
293
|
+
knowledge/<platform>/
|
|
294
|
+
.fsq/runs/<platform>/
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
Workspace commands use the exact current directory as the registered Workspace root. `fsq doctor` checks all configured platforms; `fsq case create/test` select a platform; `fsq runs` queries Workspace history across all platforms unless filtered. `fsq ui` starts the browser Control Plane and uses its own Workspace selection.
|
|
298
|
+
|
|
299
|
+
<details>
|
|
300
|
+
<summary><b>Platform setup details</b></summary>
|
|
301
|
+
|
|
302
|
+
**Web** โ Set the browser executable in `.fsq/config/config.web.yaml`:
|
|
303
|
+
```yaml
|
|
304
|
+
target:
|
|
305
|
+
browser_executable_path: /usr/bin/google-chrome
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
**Android** โ Set the app ID in `.fsq/config/config.android.yaml`, then select a connected ADB device per run:
|
|
309
|
+
```yaml
|
|
310
|
+
target:
|
|
311
|
+
app_id: com.example.app
|
|
312
|
+
```
|
|
313
|
+
```bash
|
|
314
|
+
cd /path/to/workspaces/my-workspace
|
|
315
|
+
fsq case create --platform android --goal "Open the app"
|
|
316
|
+
```
|
|
317
|
+
Device selection and readiness are resolved from the initialized Workspace and connected-device state.
|
|
318
|
+
|
|
319
|
+
**Windows** โ Keep `backend_kind` in the repository preset `config.windows.yaml`; set app-specific values in `.fsq/config/config.windows.yaml`:
|
|
320
|
+
```yaml
|
|
321
|
+
target:
|
|
322
|
+
app_path: C:\Program Files\MyApp\app.exe
|
|
323
|
+
window_title_re: .*MyApp.*
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
**macOS** โ Keep `appium_server_url` in the repository preset `config.macos.yaml`; set the app identity in `.fsq/config/config.macos.yaml`:
|
|
327
|
+
```yaml
|
|
328
|
+
target:
|
|
329
|
+
bundle_id: com.example.app
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
</details>
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
## How It Works
|
|
337
|
+
|
|
338
|
+
<p align="center">
|
|
339
|
+
<img src="docs/assets/fsq-agent-architecture-v2.png" alt="FSQ Architecture: Dual Loop, Shared Harness, Knowledge System, and Debug System" width="720">
|
|
340
|
+
</p>
|
|
341
|
+
|
|
342
|
+
**The Dual Loop in a nutshell:**
|
|
343
|
+
- **Dynamic (AI)** โ LLM agent explores โ evidence captured at every step โ replayable YAML generated
|
|
344
|
+
- **Strict (Replay)** โ replays YAML deterministically (no LLM) โ evidence captured โ pass/fail
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
## Compared To...
|
|
349
|
+
|
|
350
|
+
| | **FSQ** | Browser Use | Midscene.js | Playwright | Appium |
|
|
351
|
+
|---|---|---|---|---|---|
|
|
352
|
+
| **Evidence per step** | โ
screenshots + UI snapshots + traces | โ | โ | โ | โ |
|
|
353
|
+
| **AI โ Replay YAML** | โ
auto-generated strict cases | โ | โ | Codegen (manual) | โ |
|
|
354
|
+
| **Verification** | Evidence-based verifier | Agent self-report | Vision assert | Manual assertion | Manual assertion |
|
|
355
|
+
| **Cross-platform** | Web + Android + Windows + macOS | Web only | Web + Mobile | Web only | Multi (different APIs) |
|
|
356
|
+
| **Runs without LLM** | โ
Strict mode | โ | โ | โ
| โ
|
|
|
357
|
+
| **Extensible harness** | Protocol-based plugin system | โ | โ | โ | Driver plugins |
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
|
|
361
|
+
## Documentation
|
|
362
|
+
|
|
363
|
+
| Resource | Description |
|
|
364
|
+
|---|---|
|
|
365
|
+
| [Architecture Overview](docs/fsq-agent-architecture-v2.md) | Dual Loop design and module structure |
|
|
366
|
+
| [Platform Setup](docs/) | Detailed per-platform configuration |
|
|
367
|
+
| [FSQ YAML Reference](docs/) | DSL syntax, lifecycle hooks, replay semantics |
|
|
368
|
+
| [Harness Development Guide](docs/) | Build a new platform harness |
|
|
369
|
+
| [Roadmap](ROADMAP.md) | Product direction and planned phases |
|
|
370
|
+
| [Governance](GOVERNANCE.md) | Roles, decisions, and maintainer responsibilities |
|
|
371
|
+
|
|
372
|
+
<!-- TODO: Set up docs site (mkdocs-material + GitHub Pages) -->
|
|
373
|
+
|
|
374
|
+
---
|
|
375
|
+
|
|
376
|
+
## Contributing
|
|
377
|
+
|
|
378
|
+
We welcome contributions! FSQ is designed to be extended.
|
|
379
|
+
|
|
380
|
+
```bash
|
|
381
|
+
git clone https://github.com/microsoft/FSQ.git && cd FSQ
|
|
382
|
+
uv sync --extra dev
|
|
383
|
+
npm ci && npm run build
|
|
384
|
+
uv run python -m pytest
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
**Ways to contribute:**
|
|
388
|
+
|
|
389
|
+
| Path | For whom |
|
|
390
|
+
|---|---|
|
|
391
|
+
| ๐ Report bugs / suggest features | Everyone |
|
|
392
|
+
| ๐ Improve docs and examples | Beginners welcome |
|
|
393
|
+
| ๐งช Add FSQ YAML test cases | QA engineers |
|
|
394
|
+
| ๐ Build a new platform harness | Platform experts |
|
|
395
|
+
| โก Improve agent / verification | AI engineers |
|
|
396
|
+
|
|
397
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for the full guide and contributor growth path. Project decisions and role progression follow [GOVERNANCE.md](GOVERNANCE.md).
|
|
398
|
+
|
|
399
|
+
<!-- TODO: Add "good first issue" link once issues are created -->
|
|
400
|
+
|
|
401
|
+
---
|
|
402
|
+
|
|
403
|
+
## License
|
|
404
|
+
|
|
405
|
+
[MIT](LICENSE) โ Copyright (c) Microsoft Corporation.
|
|
406
|
+
|
|
407
|
+
---
|
|
408
|
+
|
|
409
|
+
<p align="center">
|
|
410
|
+
<sub>Built with โค๏ธ by the FSQ team at Microsoft</sub>
|
|
411
|
+
</p>
|