@empiricalrun/test-gen 0.78.0 → 0.78.2
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/CHANGELOG.md +19 -0
- package/dist/actions/index.d.ts +0 -1
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js +0 -10
- package/dist/agent/base/index.d.ts +28 -19
- package/dist/agent/base/index.d.ts.map +1 -1
- package/dist/agent/base/index.js +25 -14
- package/dist/agent/browsing/run.d.ts +1 -1
- package/dist/agent/browsing/run.d.ts.map +1 -1
- package/dist/agent/chat/agent-loop.d.ts +5 -5
- package/dist/agent/chat/agent-loop.d.ts.map +1 -1
- package/dist/agent/chat/exports.d.ts +3 -4
- package/dist/agent/chat/exports.d.ts.map +1 -1
- package/dist/agent/chat/exports.js +5 -11
- package/dist/agent/chat/index.d.ts +4 -3
- package/dist/agent/chat/index.d.ts.map +1 -1
- package/dist/agent/chat/index.js +12 -5
- package/dist/agent/chat/models.d.ts +1 -1
- package/dist/agent/chat/models.d.ts.map +1 -1
- package/dist/agent/chat/models.js +3 -3
- package/dist/agent/chat/prompt/pw-utils-docs.d.ts +1 -1
- package/dist/agent/chat/prompt/pw-utils-docs.d.ts.map +1 -1
- package/dist/agent/chat/prompt/pw-utils-docs.js +42 -0
- package/dist/agent/chat/prompt/repo.d.ts +2 -2
- package/dist/agent/chat/prompt/repo.d.ts.map +1 -1
- package/dist/agent/chat/prompt/repo.js +2 -2
- package/dist/agent/chat/state.d.ts +14 -19
- package/dist/agent/chat/state.d.ts.map +1 -1
- package/dist/agent/chat/state.js +10 -45
- package/dist/agent/chat/utils.d.ts +5 -5
- package/dist/agent/chat/utils.d.ts.map +1 -1
- package/dist/agent/cli.d.ts +2 -2
- package/dist/agent/cli.d.ts.map +1 -1
- package/dist/agent/cli.js +5 -6
- package/dist/agent/code-review/index.d.ts +4 -3
- package/dist/agent/code-review/index.d.ts.map +1 -1
- package/dist/agent/code-review/index.js +10 -4
- package/dist/agent/code-review/types.d.ts +2 -35
- package/dist/agent/code-review/types.d.ts.map +1 -1
- package/dist/agent/code-review/types.js +4 -11
- package/dist/agent/cua/index.d.ts +1 -1
- package/dist/agent/cua/index.d.ts.map +1 -1
- package/dist/agent/cua/index.js +24 -13
- package/dist/agent/cua/pw-codegen/factory.d.ts +15 -0
- package/dist/agent/cua/pw-codegen/factory.d.ts.map +1 -0
- package/dist/agent/cua/pw-codegen/factory.js +59 -0
- package/dist/agent/cua/pw-codegen/index.d.ts +7 -0
- package/dist/agent/cua/pw-codegen/index.d.ts.map +1 -0
- package/dist/agent/cua/pw-codegen/index.js +14 -0
- package/dist/agent/cua/pw-codegen/pw-event-sink/index.d.ts +43 -0
- package/dist/agent/cua/pw-codegen/pw-event-sink/index.d.ts.map +1 -0
- package/dist/agent/cua/pw-codegen/pw-event-sink/index.js +250 -0
- package/dist/agent/cua/pw-codegen/pw-pause/for-recorder.d.ts.map +1 -1
- package/dist/agent/cua/pw-codegen/pw-pause/for-recorder.js +0 -3
- package/dist/agent/cua/pw-codegen/pw-pause/index.d.ts +1 -1
- package/dist/agent/cua/pw-codegen/pw-pause/index.d.ts.map +1 -1
- package/dist/agent/cua/pw-codegen/pw-pause/index.js +7 -3
- package/dist/agent/cua/pw-codegen/pw-pause/patch.d.ts +15 -3
- package/dist/agent/cua/pw-codegen/pw-pause/patch.d.ts.map +1 -1
- package/dist/agent/cua/pw-codegen/pw-pause/patch.js +38 -10
- package/dist/agent/cua/pw-codegen/version.d.ts +25 -0
- package/dist/agent/cua/pw-codegen/version.d.ts.map +1 -0
- package/dist/agent/cua/pw-codegen/version.js +86 -0
- package/dist/agent/index.d.ts +1 -5
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +1 -11
- package/dist/agent/master/element-annotation.d.ts +1 -1
- package/dist/agent/master/element-annotation.d.ts.map +1 -1
- package/dist/agent/master/next-action.d.ts +1 -1
- package/dist/agent/master/next-action.d.ts.map +1 -1
- package/dist/agent/master/next-action.js +1 -6
- package/dist/agent/master/run.d.ts +3 -2
- package/dist/agent/master/run.d.ts.map +1 -1
- package/dist/agent/master/run.js +0 -26
- package/dist/agent/triage/index.d.ts +4 -3
- package/dist/agent/triage/index.d.ts.map +1 -1
- package/dist/agent/triage/index.js +33 -20
- package/dist/artifacts/index.d.ts +1 -1
- package/dist/artifacts/index.d.ts.map +1 -1
- package/dist/artifacts/utils.d.ts +1 -1
- package/dist/artifacts/utils.d.ts.map +1 -1
- package/dist/bin/environments.d.ts +1 -1
- package/dist/bin/environments.d.ts.map +1 -1
- package/dist/bin/index.js +2 -2
- package/dist/bin/setup.d.ts +1 -1
- package/dist/bin/setup.d.ts.map +1 -1
- package/dist/bin/utils/fs/index.d.ts +1 -1
- package/dist/bin/utils/fs/index.d.ts.map +1 -1
- package/dist/bin/utils/platform/web/index.d.ts +2 -2
- package/dist/bin/utils/platform/web/index.d.ts.map +1 -1
- package/dist/bin/utils/platform/web/index.js +1 -1
- package/dist/bin/utils/scenarios/index.d.ts +1 -1
- package/dist/bin/utils/scenarios/index.d.ts.map +1 -1
- package/dist/constants/index.d.ts +0 -4
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +0 -6
- package/dist/dashboard/client.d.ts +1 -1
- package/dist/dashboard/client.d.ts.map +1 -1
- package/dist/dashboard/index.d.ts +1 -0
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +4 -1
- package/dist/dashboard/tool-response.d.ts +5 -0
- package/dist/dashboard/tool-response.d.ts.map +1 -0
- package/dist/dashboard/tool-response.js +88 -0
- package/dist/dashboard/totp.js +1 -1
- package/dist/file/server.d.ts +1 -1
- package/dist/file/server.d.ts.map +1 -1
- package/dist/file/server.js +2 -1
- package/dist/file-info/adapters/file-system/index.d.ts +1 -1
- package/dist/file-info/adapters/file-system/index.d.ts.map +1 -1
- package/dist/file-info/adapters/file-system/reader.d.ts +1 -1
- package/dist/file-info/adapters/file-system/reader.d.ts.map +1 -1
- package/dist/file-info/adapters/github/index.d.ts +2 -1
- package/dist/file-info/adapters/github/index.d.ts.map +1 -1
- package/dist/file-info/adapters/github/reader.d.ts +2 -1
- package/dist/file-info/adapters/github/reader.d.ts.map +1 -1
- package/dist/recorder/index.d.ts.map +1 -1
- package/dist/recorder/index.js +9 -3
- package/dist/recorder/upload.d.ts +1 -1
- package/dist/recorder/upload.d.ts.map +1 -1
- package/dist/tools/analyse-video/index.d.ts +1 -1
- package/dist/tools/analyse-video/index.d.ts.map +1 -1
- package/dist/tools/analyse-video/index.js +20 -13
- package/dist/tools/create-pull-request/index.d.ts +1 -1
- package/dist/tools/create-pull-request/index.d.ts.map +1 -1
- package/dist/tools/create-pull-request/utils.d.ts +3 -2
- package/dist/tools/create-pull-request/utils.d.ts.map +1 -1
- package/dist/tools/definitions/analyse-video.d.ts +5 -37
- package/dist/tools/definitions/analyse-video.d.ts.map +1 -1
- package/dist/tools/definitions/analyse-video.js +12 -25
- package/dist/tools/definitions/delete-file.d.ts +5 -1
- package/dist/tools/definitions/delete-file.d.ts.map +1 -1
- package/dist/tools/definitions/delete-file.js +3 -3
- package/dist/tools/definitions/download-build.d.ts +2 -6
- package/dist/tools/definitions/download-build.d.ts.map +1 -1
- package/dist/tools/definitions/grep.d.ts +1 -1
- package/dist/tools/definitions/grep.d.ts.map +1 -1
- package/dist/tools/definitions/list-tests-and-projects.d.ts +2 -6
- package/dist/tools/definitions/list-tests-and-projects.d.ts.map +1 -1
- package/dist/tools/definitions/list-tests-and-projects.js +1 -1
- package/dist/tools/definitions/merge-conflicts.d.ts +1 -1
- package/dist/tools/definitions/merge-conflicts.d.ts.map +1 -1
- package/dist/tools/definitions/merge-conflicts.js +2 -2
- package/dist/tools/definitions/rename-file.d.ts +1 -1
- package/dist/tools/definitions/rename-file.d.ts.map +1 -1
- package/dist/tools/definitions/review-pull-request.d.ts +1 -1
- package/dist/tools/definitions/review-pull-request.d.ts.map +1 -1
- package/dist/tools/definitions/review-pull-request.js +1 -1
- package/dist/tools/definitions/run-test.d.ts +3 -15
- package/dist/tools/definitions/run-test.d.ts.map +1 -1
- package/dist/tools/definitions/safe-bash.d.ts +8 -0
- package/dist/tools/definitions/safe-bash.d.ts.map +1 -0
- package/dist/tools/definitions/safe-bash.js +32 -0
- package/dist/tools/definitions/str_replace_editor.d.ts +1 -1
- package/dist/tools/definitions/str_replace_editor.d.ts.map +1 -1
- package/dist/tools/definitions/test-gen-browser.d.ts +3 -15
- package/dist/tools/definitions/test-gen-browser.d.ts.map +1 -1
- package/dist/tools/definitions/upgrade-packages.d.ts +4 -26
- package/dist/tools/definitions/upgrade-packages.d.ts.map +1 -1
- package/dist/tools/definitions/utils.d.ts +2 -10
- package/dist/tools/definitions/utils.d.ts.map +1 -1
- package/dist/tools/definitions/utils.js +1 -1
- package/dist/tools/delete-file/index.d.ts +1 -1
- package/dist/tools/delete-file/index.d.ts.map +1 -1
- package/dist/tools/delete-file/index.js +6 -2
- package/dist/tools/diagnosis-fetcher.d.ts +1 -1
- package/dist/tools/diagnosis-fetcher.d.ts.map +1 -1
- package/dist/tools/diagnosis-fetcher.js +92 -47
- package/dist/tools/download-build/index.d.ts +1 -1
- package/dist/tools/download-build/index.d.ts.map +1 -1
- package/dist/tools/executor/base.d.ts +3 -2
- package/dist/tools/executor/base.d.ts.map +1 -1
- package/dist/tools/executor/base.js +5 -8
- package/dist/tools/executor/index.d.ts +3 -0
- package/dist/tools/executor/index.d.ts.map +1 -1
- package/dist/tools/executor/index.js +12 -10
- package/dist/tools/executor/utils/checkpoint.d.ts.map +1 -1
- package/dist/tools/executor/utils/checkpoint.js +0 -4
- package/dist/tools/executor/utils/git.d.ts +7 -1
- package/dist/tools/executor/utils/git.d.ts.map +1 -1
- package/dist/tools/executor/utils/git.js +10 -3
- package/dist/tools/executor/utils/index.d.ts +1 -2
- package/dist/tools/executor/utils/index.d.ts.map +1 -1
- package/dist/tools/executor/utils/index.js +0 -20
- package/dist/tools/executor/utils/pr-description.d.ts +1 -1
- package/dist/tools/executor/utils/pr-description.d.ts.map +1 -1
- package/dist/tools/fetch-file/index.d.ts +2 -6
- package/dist/tools/fetch-file/index.d.ts.map +1 -1
- package/dist/tools/fetch-file/index.js +53 -13
- package/dist/tools/fetch-file/utils.d.ts +3 -0
- package/dist/tools/fetch-file/utils.d.ts.map +1 -0
- package/dist/tools/fetch-file/utils.js +136 -0
- package/dist/tools/fetch-session-diff/index.d.ts +1 -1
- package/dist/tools/fetch-session-diff/index.d.ts.map +1 -1
- package/dist/tools/fetch-session-diff/index.js +26 -2
- package/dist/tools/file-operations/create.d.ts +1 -1
- package/dist/tools/file-operations/create.d.ts.map +1 -1
- package/dist/tools/file-operations/index.d.ts +2 -1
- package/dist/tools/file-operations/index.d.ts.map +1 -1
- package/dist/tools/file-operations/insert.d.ts +1 -1
- package/dist/tools/file-operations/insert.d.ts.map +1 -1
- package/dist/tools/file-operations/replace.d.ts +1 -1
- package/dist/tools/file-operations/replace.d.ts.map +1 -1
- package/dist/tools/file-operations/replace.js +0 -1
- package/dist/tools/file-operations/view/index.d.ts +2 -1
- package/dist/tools/file-operations/view/index.d.ts.map +1 -1
- package/dist/tools/firecrawl-scrape/index.d.ts +9 -0
- package/dist/tools/firecrawl-scrape/index.d.ts.map +1 -0
- package/dist/tools/firecrawl-scrape/index.js +107 -0
- package/dist/tools/grep/index.d.ts +1 -1
- package/dist/tools/grep/index.d.ts.map +1 -1
- package/dist/tools/grep/index.js +15 -12
- package/dist/tools/index.d.ts +5 -24
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +21 -42
- package/dist/tools/issues-v1/create-issue.d.ts +3 -0
- package/dist/tools/issues-v1/create-issue.d.ts.map +1 -0
- package/dist/tools/{issues → issues-v1}/create-issue.js +5 -9
- package/dist/tools/issues-v1/index.d.ts.map +1 -0
- package/dist/tools/issues-v1/list-issues.d.ts +3 -0
- package/dist/tools/issues-v1/list-issues.d.ts.map +1 -0
- package/dist/tools/issues-v1/update-issue.d.ts +3 -0
- package/dist/tools/issues-v1/update-issue.d.ts.map +1 -0
- package/dist/tools/{issues → issues-v1}/update-issue.js +1 -9
- package/dist/tools/{issues → issues-v1}/utils.d.ts +2 -1
- package/dist/tools/issues-v1/utils.d.ts.map +1 -0
- package/dist/tools/issues-v2/create-issue.d.ts +3 -0
- package/dist/tools/issues-v2/create-issue.d.ts.map +1 -0
- package/dist/tools/issues-v2/create-issue.js +82 -0
- package/dist/tools/issues-v2/set-issue-description.d.ts +3 -0
- package/dist/tools/issues-v2/set-issue-description.d.ts.map +1 -0
- package/dist/tools/issues-v2/set-issue-description.js +59 -0
- package/dist/tools/issues-v2/update-issue.d.ts +3 -0
- package/dist/tools/issues-v2/update-issue.d.ts.map +1 -0
- package/dist/tools/issues-v2/update-issue.js +85 -0
- package/dist/tools/list-environments.d.ts +1 -1
- package/dist/tools/list-environments.d.ts.map +1 -1
- package/dist/tools/list-tests-and-projects/index.d.ts +1 -1
- package/dist/tools/list-tests-and-projects/index.d.ts.map +1 -1
- package/dist/tools/list-tests-and-projects/index.js +14 -4
- package/dist/tools/merge-conflicts/index.d.ts +1 -1
- package/dist/tools/merge-conflicts/index.d.ts.map +1 -1
- package/dist/tools/merge-conflicts/index.js +23 -10
- package/dist/tools/rename-file/index.d.ts +1 -1
- package/dist/tools/rename-file/index.d.ts.map +1 -1
- package/dist/tools/rename-file/index.js +0 -1
- package/dist/tools/review-pull-request/index.d.ts +1 -1
- package/dist/tools/review-pull-request/index.d.ts.map +1 -1
- package/dist/tools/review-pull-request/index.js +5 -4
- package/dist/tools/run-test.d.ts +1 -1
- package/dist/tools/run-test.d.ts.map +1 -1
- package/dist/tools/safe-bash/index.d.ts +3 -0
- package/dist/tools/safe-bash/index.d.ts.map +1 -0
- package/dist/tools/safe-bash/index.js +128 -0
- package/dist/tools/test-gen-browser.d.ts +1 -1
- package/dist/tools/test-gen-browser.d.ts.map +1 -1
- package/dist/tools/test-gen-browser.js +64 -21
- package/dist/tools/test-run-fetcher/index.d.ts +2 -2
- package/dist/tools/test-run-fetcher/index.d.ts.map +1 -1
- package/dist/tools/test-run-fetcher/index.js +67 -66
- package/dist/tools/trace-dot-zip/index.d.ts +1 -1
- package/dist/tools/trace-dot-zip/index.d.ts.map +1 -1
- package/dist/tools/trace-dot-zip/utils/network-trace.d.ts.map +1 -1
- package/dist/tools/trace-dot-zip/utils/network-trace.js +5 -10
- package/dist/tools/triage-summary/index.d.ts +1 -1
- package/dist/tools/triage-summary/index.d.ts.map +1 -1
- package/dist/tools/triage-summary/index.js +5 -2
- package/dist/tools/triage-summary/utils.d.ts +1 -1
- package/dist/tools/triage-summary/utils.d.ts.map +1 -1
- package/dist/tools/upgrade-packages/index.d.ts +1 -1
- package/dist/tools/upgrade-packages/index.d.ts.map +1 -1
- package/dist/tools/upgrade-packages/index.js +14 -8
- package/dist/tools/upgrade-packages/utils.d.ts +9 -5
- package/dist/tools/upgrade-packages/utils.d.ts.map +1 -1
- package/dist/tools/upgrade-packages/utils.js +56 -16
- package/dist/tools/utils/queue.d.ts +1 -1
- package/dist/tools/utils/queue.d.ts.map +1 -1
- package/dist/tools/utils/validate-schema.d.ts +3 -0
- package/dist/tools/utils/validate-schema.d.ts.map +1 -0
- package/dist/tools/utils/validate-schema.js +27 -0
- package/dist/utils/SQSClient.d.ts +1 -1
- package/dist/utils/SQSClient.d.ts.map +1 -1
- package/dist/utils/dedup/dedup-image.js +2 -2
- package/dist/utils/dedup/find-threshold.d.ts +1 -1
- package/dist/utils/dedup/find-threshold.d.ts.map +1 -1
- package/dist/utils/dedup/find-threshold.js +2 -2
- package/dist/utils/model.d.ts +1 -1
- package/dist/utils/model.d.ts.map +1 -1
- package/dist/utils/model.js +6 -10
- package/dist/utils/playwright-report-parser.d.ts +1 -1
- package/dist/utils/playwright-report-parser.d.ts.map +1 -1
- package/dist/utils/playwright-test-id.d.ts +8 -0
- package/dist/utils/playwright-test-id.d.ts.map +1 -0
- package/dist/utils/playwright-test-id.js +21 -0
- package/dist/utils/repo-tree.d.ts +1 -1
- package/dist/utils/repo-tree.d.ts.map +1 -1
- package/dist/utils/slug.d.ts.map +1 -1
- package/dist/utils/slug.js +15 -4
- package/dist/utils/url-validation.d.ts +2 -0
- package/dist/utils/url-validation.d.ts.map +1 -0
- package/dist/utils/url-validation.js +16 -0
- package/dist/video-core/index.d.ts +7 -24
- package/dist/video-core/index.d.ts.map +1 -1
- package/dist/video-core/index.js +32 -25
- package/dist/video-core/model-limits.d.ts +2 -2
- package/dist/video-core/model-limits.d.ts.map +1 -1
- package/dist/video-core/model-limits.js +9 -19
- package/dist/video-core/storage-manager.d.ts +2 -1
- package/dist/video-core/storage-manager.d.ts.map +1 -1
- package/dist/video-core/types.d.ts +1 -1
- package/dist/video-core/types.d.ts.map +1 -1
- package/dist/video-core/utils.d.ts +5 -7
- package/dist/video-core/utils.d.ts.map +1 -1
- package/dist/video-core/utils.js +39 -132
- package/package.json +10 -6
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/actions/skill.d.ts +0 -21
- package/dist/actions/skill.d.ts.map +0 -1
- package/dist/actions/skill.js +0 -127
- package/dist/agent/chat/filesystem-cache.d.ts +0 -12
- package/dist/agent/chat/filesystem-cache.d.ts.map +0 -1
- package/dist/agent/chat/filesystem-cache.js +0 -101
- package/dist/agent/codegen/create-test-block.d.ts +0 -8
- package/dist/agent/codegen/create-test-block.d.ts.map +0 -1
- package/dist/agent/codegen/create-test-block.js +0 -47
- package/dist/agent/codegen/fix-ts-errors.d.ts +0 -12
- package/dist/agent/codegen/fix-ts-errors.d.ts.map +0 -1
- package/dist/agent/codegen/fix-ts-errors.js +0 -78
- package/dist/agent/codegen/lexical-scoped-vars.d.ts +0 -9
- package/dist/agent/codegen/lexical-scoped-vars.d.ts.map +0 -1
- package/dist/agent/codegen/lexical-scoped-vars.js +0 -55
- package/dist/agent/codegen/skills-retriever.d.ts +0 -26
- package/dist/agent/codegen/skills-retriever.d.ts.map +0 -1
- package/dist/agent/codegen/skills-retriever.js +0 -93
- package/dist/agent/codegen/test-update-feedback.d.ts +0 -12
- package/dist/agent/codegen/test-update-feedback.d.ts.map +0 -1
- package/dist/agent/codegen/test-update-feedback.js +0 -49
- package/dist/agent/codegen/types.d.ts +0 -25
- package/dist/agent/codegen/types.d.ts.map +0 -1
- package/dist/agent/codegen/types.js +0 -8
- package/dist/agent/codegen/update-flow.d.ts +0 -36
- package/dist/agent/codegen/update-flow.d.ts.map +0 -1
- package/dist/agent/codegen/update-flow.js +0 -259
- package/dist/agent/codegen/use-skill.d.ts +0 -11
- package/dist/agent/codegen/use-skill.d.ts.map +0 -1
- package/dist/agent/codegen/use-skill.js +0 -53
- package/dist/agent/codegen/utils.d.ts +0 -110
- package/dist/agent/codegen/utils.d.ts.map +0 -1
- package/dist/agent/codegen/utils.js +0 -376
- package/dist/agent/master/browser-tests/skills.spec.d.ts +0 -2
- package/dist/agent/master/browser-tests/skills.spec.d.ts.map +0 -1
- package/dist/agent/master/browser-tests/skills.spec.js +0 -112
- package/dist/agent/master/execute-skill-action.d.ts +0 -11
- package/dist/agent/master/execute-skill-action.d.ts.map +0 -1
- package/dist/agent/master/execute-skill-action.js +0 -23
- package/dist/agent/video-analysis/executor/index.d.ts +0 -5
- package/dist/agent/video-analysis/executor/index.d.ts.map +0 -1
- package/dist/agent/video-analysis/executor/index.js +0 -10
- package/dist/agent/video-analysis/index.d.ts +0 -7
- package/dist/agent/video-analysis/index.d.ts.map +0 -1
- package/dist/agent/video-analysis/index.js +0 -60
- package/dist/evals/append-create-test-agent.evals.d.ts +0 -4
- package/dist/evals/append-create-test-agent.evals.d.ts.map +0 -1
- package/dist/evals/append-create-test-agent.evals.js +0 -117
- package/dist/evals/fetch-pom-skills-agent.evals.d.ts +0 -4
- package/dist/evals/fetch-pom-skills-agent.evals.d.ts.map +0 -1
- package/dist/evals/fetch-pom-skills-agent.evals.js +0 -36
- package/dist/evals/master-agent.evals.d.ts +0 -4
- package/dist/evals/master-agent.evals.d.ts.map +0 -1
- package/dist/evals/master-agent.evals.js +0 -35
- package/dist/evals/type.d.ts +0 -12
- package/dist/evals/type.d.ts.map +0 -1
- package/dist/evals/type.js +0 -2
- package/dist/evals/update-scenario-agent.evals.d.ts +0 -4
- package/dist/evals/update-scenario-agent.evals.d.ts.map +0 -1
- package/dist/evals/update-scenario-agent.evals.js +0 -47
- package/dist/tools/fetch-last-successful-test-run/index.d.ts +0 -3
- package/dist/tools/fetch-last-successful-test-run/index.d.ts.map +0 -1
- package/dist/tools/fetch-last-successful-test-run/index.js +0 -60
- package/dist/tools/issues/create-issue.d.ts +0 -3
- package/dist/tools/issues/create-issue.d.ts.map +0 -1
- package/dist/tools/issues/index.d.ts.map +0 -1
- package/dist/tools/issues/list-issues.d.ts +0 -3
- package/dist/tools/issues/list-issues.d.ts.map +0 -1
- package/dist/tools/issues/metadata-schema.d.ts +0 -24
- package/dist/tools/issues/metadata-schema.d.ts.map +0 -1
- package/dist/tools/issues/metadata-schema.js +0 -22
- package/dist/tools/issues/update-issue.d.ts +0 -3
- package/dist/tools/issues/update-issue.d.ts.map +0 -1
- package/dist/tools/issues/utils.d.ts.map +0 -1
- package/dist/tools/utils/urls.d.ts +0 -5
- package/dist/tools/utils/urls.d.ts.map +0 -1
- package/dist/tools/utils/urls.js +0 -19
- package/dist/tools/view-failed-test-run-report/index.d.ts +0 -12
- package/dist/tools/view-failed-test-run-report/index.d.ts.map +0 -1
- package/dist/tools/view-failed-test-run-report/index.js +0 -151
- package/dist/video-core/agent-orchestrator.d.ts +0 -13
- package/dist/video-core/agent-orchestrator.d.ts.map +0 -1
- package/dist/video-core/agent-orchestrator.js +0 -59
- package/dist/video-core/xml-parser.d.ts +0 -3
- package/dist/video-core/xml-parser.d.ts.map +0 -1
- package/dist/video-core/xml-parser.js +0 -27
- /package/dist/tools/{issues → issues-v1}/index.d.ts +0 -0
- /package/dist/tools/{issues → issues-v1}/index.js +0 -0
- /package/dist/tools/{issues → issues-v1}/list-issues.js +0 -0
- /package/dist/tools/{issues → issues-v1}/utils.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FileInfo, FileReadResult } from "@empiricalrun/shared-types";
|
|
1
|
+
import { FileInfo, FileReadResult } from "@empiricalrun/shared-types/test-gen";
|
|
2
2
|
export declare class FilesystemFileReader {
|
|
3
3
|
readFile(filePath: string, absoluteFilePath: string): Promise<FileReadResult | null>;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reader.d.ts","sourceRoot":"","sources":["../../../../src/file-info/adapters/file-system/reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"reader.d.ts","sourceRoot":"","sources":["../../../../src/file-info/adapters/file-system/reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAM/E,qBAAa,oBAAoB;IACzB,QAAQ,CACZ,QAAQ,EAAE,MAAM,EAChB,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;CAalC;AAED,wBAAsB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAwC5E"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { IDashboardAPIClient
|
|
1
|
+
import { IDashboardAPIClient } from "@empiricalrun/shared-types/api/base";
|
|
2
|
+
import { ToolResult } from "@empiricalrun/shared-types/chat-agent";
|
|
2
3
|
import { type StrReplaceInputParams } from "../../../tools/file-operations/shared/helpers";
|
|
3
4
|
export { getFileInfoFromGitHub } from "./reader";
|
|
4
5
|
export declare function viewFileUsingGitHub({ input, repoName, apiClient, branchName, baseBranch, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/file-info/adapters/github/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/file-info/adapters/github/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAEnE,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,+CAA+C,CAAC;AAGvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,wBAAsB,mBAAmB,CAAC,EACxC,KAAK,EACL,QAAQ,EACR,SAAS,EACT,UAAU,EACV,UAAU,GACX,EAAE;IACD,KAAK,EAAE,qBAAqB,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,mBAAmB,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,OAAO,CAAC,UAAU,CAAC,CA2BtB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IDashboardAPIClient } from "@empiricalrun/shared-types/api/base";
|
|
2
|
+
import { FileInfo, FileReadResult } from "@empiricalrun/shared-types/test-gen";
|
|
2
3
|
export declare class GitHubFileReader {
|
|
3
4
|
private repoName;
|
|
4
5
|
private apiClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reader.d.ts","sourceRoot":"","sources":["../../../../src/file-info/adapters/github/reader.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"reader.d.ts","sourceRoot":"","sources":["../../../../src/file-info/adapters/github/reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAc/E,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,SAAS;gBADT,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,mBAAmB;IAGlC,iBAAiB,CACrB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,CAAC;IAoBZ,QAAQ,CACZ,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;YA4CnB,aAAa;CAoD5B;AAyED,wBAAsB,qBAAqB,CACzC,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,mBAAmB,EAC9B,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,GACrB,OAAO,CAAC,QAAQ,CAAC,CAwFnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/recorder/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/recorder/index.ts"],"names":[],"mappings":"AAwEA,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CACzB;AA4TD,wBAAsB,WAAW,CAAC,EAChC,QAAQ,EACR,OAAO,EACP,GAAG,GACJ,EAAE,kBAAkB,iBAGpB"}
|
package/dist/recorder/index.js
CHANGED
|
@@ -11,6 +11,7 @@ const fs_1 = __importDefault(require("fs"));
|
|
|
11
11
|
const inquirer_1 = __importDefault(require("inquirer"));
|
|
12
12
|
const path_1 = __importDefault(require("path"));
|
|
13
13
|
const utils_1 = require("../agent/browsing/utils");
|
|
14
|
+
const pw_codegen_1 = require("../agent/cua/pw-codegen");
|
|
14
15
|
const pw_pause_1 = require("../agent/cua/pw-codegen/pw-pause");
|
|
15
16
|
const client_1 = require("../dashboard/client");
|
|
16
17
|
const server_1 = require("../file/server");
|
|
@@ -21,6 +22,7 @@ const request_1 = require("./request");
|
|
|
21
22
|
const temp_files_1 = require("./temp-files");
|
|
22
23
|
const upload_1 = require("./upload");
|
|
23
24
|
const validation_1 = require("./validation");
|
|
25
|
+
const astParser = new ast_parser_1.ASTParser();
|
|
24
26
|
async function collectRepoInfo() {
|
|
25
27
|
const repoDir = process.cwd();
|
|
26
28
|
let repoName = "";
|
|
@@ -130,7 +132,7 @@ async function addRecordTestToExistingFile(data) {
|
|
|
130
132
|
const files = new Map([
|
|
131
133
|
[data.tempTestFilePath, { content: fileContent, sha: "" }],
|
|
132
134
|
]);
|
|
133
|
-
|
|
135
|
+
astParser.addFiles(files);
|
|
134
136
|
const getRecordTestCode = (pageVariable) => {
|
|
135
137
|
return [`await recordTest(${pageVariable});`];
|
|
136
138
|
};
|
|
@@ -192,8 +194,12 @@ async function executeRecording(data, isFromUrl) {
|
|
|
192
194
|
process.exit(0);
|
|
193
195
|
});
|
|
194
196
|
try {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
+
const version = await (0, pw_codegen_1.detectPlaywrightVersion)(data.repoDir);
|
|
198
|
+
if (version) {
|
|
199
|
+
const approach = (0, pw_codegen_1.getCodegenApproach)(version);
|
|
200
|
+
logger_1.logger.debug("[generateTestWithBrowserAgent] Preparing playwright for codegen", { version: version.full, approach });
|
|
201
|
+
await (0, pw_codegen_1.prepareCodegenIfNeeded)(data.repoDir, approach);
|
|
202
|
+
}
|
|
197
203
|
}
|
|
198
204
|
catch (err) {
|
|
199
205
|
logger_1.logger.warn("[generateTestWithBrowserAgent] Error preparing playwright for codegen", err);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArtifactInputPath, ArtifactInputUrl } from "@empiricalrun/shared-types";
|
|
1
|
+
import { ArtifactInputPath, ArtifactInputUrl } from "@empiricalrun/shared-types/chat-agent";
|
|
2
2
|
export declare function waitForSummaryJson(repoDir: string): Promise<void>;
|
|
3
3
|
export declare function extractVideoAttachments(repoDir: string, testName: string): Array<ArtifactInputPath | ArtifactInputUrl>;
|
|
4
4
|
export declare function uploadVideosWithSpinner(videoArtifacts: Array<ArtifactInputPath | ArtifactInputUrl>, testName: string): Promise<void | string[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/recorder/upload.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/recorder/upload.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,uCAAuC,CAAC;AAe/C,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,MAAM,iBAmBvD;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,KAAK,CAAC,iBAAiB,GAAG,gBAAgB,CAAC,CAoB7C;AAmFD,wBAAsB,uBAAuB,CAC3C,cAAc,EAAE,KAAK,CAAC,iBAAiB,GAAG,gBAAgB,CAAC,EAC3D,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,GAAG,MAAM,EAAE,CAAC,CA0B1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Tool } from "@empiricalrun/shared-types";
|
|
1
|
+
import type { Tool } from "@empiricalrun/shared-types/chat-agent";
|
|
2
2
|
import type { z } from "zod";
|
|
3
3
|
import { analyseVideoSchema } from "../definitions/analyse-video";
|
|
4
4
|
export declare const analyseVideo: Tool<z.infer<typeof analyseVideoSchema>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/analyse-video/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/analyse-video/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,IAAI,EAEL,MAAM,uCAAuC,CAAC;AAE/C,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAK7B,OAAO,EACL,kBAAkB,EAEnB,MAAM,8BAA8B,CAAC;AAetC,eAAO,MAAM,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAiDjE,CAAC"}
|
|
@@ -1,39 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.analyseVideo = void 0;
|
|
7
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
4
8
|
const constants_1 = require("../../constants");
|
|
5
9
|
const hash_1 = require("../../utils/hash");
|
|
10
|
+
const url_validation_1 = require("../../utils/url-validation");
|
|
6
11
|
const video_core_1 = require("../../video-core");
|
|
7
|
-
const utils_1 = require("../../video-core/utils");
|
|
8
12
|
const analyse_video_1 = require("../definitions/analyse-video");
|
|
9
13
|
function getVideoAnalysisParams(params) {
|
|
10
14
|
return {
|
|
11
15
|
model: params?.model || constants_1.VIDEO_ANALYSIS.DEFAULT_MODEL,
|
|
12
|
-
fps: params?.fps ?? constants_1.VIDEO_ANALYSIS.DEFAULT_FPS,
|
|
13
|
-
threshold: params?.threshold ?? constants_1.VIDEO_ANALYSIS.DEFAULT_THRESHOLD,
|
|
14
16
|
startTime: params?.startTime,
|
|
15
17
|
duration: params?.duration,
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
exports.analyseVideo = {
|
|
19
21
|
...analyse_video_1.analyseVideo,
|
|
20
|
-
execute: async ({ input,
|
|
21
|
-
const {
|
|
22
|
+
execute: async ({ input, repoPath, logger }) => {
|
|
23
|
+
const { url } = input;
|
|
22
24
|
const params = getVideoAnalysisParams(input.params);
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
if (!
|
|
25
|
+
const videoHash = (0, hash_1.createHashBasedOnParams)(url, params);
|
|
26
|
+
const res = await (0, url_validation_1.validateUrlAccess)(url);
|
|
27
|
+
if (!res.ok) {
|
|
28
|
+
logger.error("Failed to access video", {
|
|
29
|
+
tool: "analyseVideo",
|
|
30
|
+
url,
|
|
31
|
+
statusText: res.statusText,
|
|
32
|
+
});
|
|
26
33
|
return {
|
|
27
|
-
result:
|
|
34
|
+
result: `Failed to access video from ${url}: ${res.statusText}`,
|
|
28
35
|
isError: true,
|
|
29
36
|
};
|
|
30
37
|
}
|
|
38
|
+
const workingDirectory = node_path_1.default.join(repoPath, "video-analysis", videoHash);
|
|
31
39
|
const { result, error, interleaved_tool_result } = await (0, video_core_1.runVideoAnalysis)({
|
|
32
|
-
|
|
33
|
-
|
|
40
|
+
url,
|
|
41
|
+
videoHash,
|
|
34
42
|
params,
|
|
35
|
-
|
|
36
|
-
workingDirectory: repoPath,
|
|
43
|
+
workingDirectory,
|
|
37
44
|
});
|
|
38
45
|
if (error) {
|
|
39
46
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/create-pull-request/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/create-pull-request/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAC;AA6BlE,eAAO,MAAM,qBAAqB,EAAE,IAwDnC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IDashboardAPIClient } from "@empiricalrun/shared-types/api/base";
|
|
2
|
+
import { ChatSessionInfo } from "@empiricalrun/shared-types/chat-agent";
|
|
2
3
|
export interface ValidatedInputs {
|
|
3
4
|
pullRequestTitle: string;
|
|
4
5
|
pullRequestDescription: string;
|
|
@@ -7,7 +8,7 @@ export interface ValidatedInputs {
|
|
|
7
8
|
export declare function validateInputs({ input, apiClient, chatSession, }: any): Promise<ValidatedInputs>;
|
|
8
9
|
export declare function getRepoName(chatSession: ChatSessionInfo | null | undefined, apiClient: IDashboardAPIClient): Promise<string>;
|
|
9
10
|
export declare function getMergeableStateInfo(owner: string, repo: string, pullRequest: any, apiClient: any): Promise<{
|
|
10
|
-
mergeableState: "unknown" | "
|
|
11
|
+
mergeableState: "unknown" | "clean" | "dirty" | "unstable";
|
|
11
12
|
stateDescription: string;
|
|
12
13
|
}>;
|
|
13
14
|
export declare function handleExistingPullRequest(pullRequest: any, owner: string, repo: string, pullRequestDescription: string, chatSession: any, apiClient: any): Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/tools/create-pull-request/utils.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/tools/create-pull-request/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAWxE,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,cAAc,CAAC,EACnC,KAAK,EACL,SAAS,EACT,WAAW,GACZ,EAAE,GAAG,GAAG,OAAO,CAAC,eAAe,CAAC,CAehC;AAED,wBAAsB,WAAW,CAC/B,WAAW,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,EAC/C,SAAS,EAAE,mBAAmB,GAC7B,OAAO,CAAC,MAAM,CAAC,CA2BjB;AAED,wBAAsB,qBAAqB,CACzC,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,GAAG,EAChB,SAAS,EAAE,GAAG;;;GAUf;AAED,wBAAsB,yBAAyB,CAC7C,WAAW,EAAE,GAAG,EAChB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,sBAAsB,EAAE,MAAM,EAC9B,WAAW,EAAE,GAAG,EAChB,SAAS,EAAE,GAAG;;;GAqBf;AAED,wBAAsB,oBAAoB,CACxC,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,GAAG,EAChB,sBAAsB,EAAE,MAAM,EAC9B,SAAS,EAAE,GAAG;;;GAuBf"}
|
|
@@ -1,44 +1,12 @@
|
|
|
1
|
-
import { ToolDefinition } from "@empiricalrun/shared-types";
|
|
1
|
+
import { ToolDefinition } from "@empiricalrun/shared-types/chat-agent";
|
|
2
2
|
import z from "zod";
|
|
3
3
|
export declare const analyseVideoSchema: z.ZodObject<{
|
|
4
|
-
|
|
4
|
+
url: z.ZodString;
|
|
5
5
|
params: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
|
|
7
|
-
threshold: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
|
-
startTime: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
startTime: z.ZodOptional<z.ZodString>;
|
|
9
7
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
10
8
|
model: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
startTime?: number | undefined;
|
|
14
|
-
fps?: number | undefined;
|
|
15
|
-
threshold?: number | undefined;
|
|
16
|
-
duration?: number | undefined;
|
|
17
|
-
}, {
|
|
18
|
-
model?: string | undefined;
|
|
19
|
-
startTime?: number | undefined;
|
|
20
|
-
fps?: number | undefined;
|
|
21
|
-
threshold?: number | undefined;
|
|
22
|
-
duration?: number | undefined;
|
|
23
|
-
}>>;
|
|
24
|
-
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
videoUrl: string;
|
|
26
|
-
params?: {
|
|
27
|
-
model?: string | undefined;
|
|
28
|
-
startTime?: number | undefined;
|
|
29
|
-
fps?: number | undefined;
|
|
30
|
-
threshold?: number | undefined;
|
|
31
|
-
duration?: number | undefined;
|
|
32
|
-
} | undefined;
|
|
33
|
-
}, {
|
|
34
|
-
videoUrl: string;
|
|
35
|
-
params?: {
|
|
36
|
-
model?: string | undefined;
|
|
37
|
-
startTime?: number | undefined;
|
|
38
|
-
fps?: number | undefined;
|
|
39
|
-
threshold?: number | undefined;
|
|
40
|
-
duration?: number | undefined;
|
|
41
|
-
} | undefined;
|
|
42
|
-
}>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
43
11
|
export declare const analyseVideo: ToolDefinition<z.infer<typeof analyseVideoSchema>>;
|
|
44
12
|
//# sourceMappingURL=analyse-video.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyse-video.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/analyse-video.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"analyse-video.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/analyse-video.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,kBAAkB;;;;;;;iBAqB7B,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAoBzE,CAAC"}
|
|
@@ -7,35 +7,17 @@ exports.analyseVideo = exports.analyseVideoSchema = void 0;
|
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
8
|
const constants_1 = require("../../constants");
|
|
9
9
|
exports.analyseVideoSchema = zod_1.default.object({
|
|
10
|
-
|
|
10
|
+
url: zod_1.default
|
|
11
11
|
.string()
|
|
12
12
|
.url("Must be a valid URL")
|
|
13
|
-
.describe("The URL of the video to
|
|
13
|
+
.describe("The URL of the video to analyse."),
|
|
14
14
|
params: zod_1.default
|
|
15
15
|
.object({
|
|
16
|
-
fps: zod_1.default
|
|
17
|
-
.number()
|
|
18
|
-
.int()
|
|
19
|
-
.min(1)
|
|
20
|
-
.max(constants_1.VIDEO_ANALYSIS.DEFAULT_FPS)
|
|
21
|
-
.default(constants_1.VIDEO_ANALYSIS.DEFAULT_FPS)
|
|
22
|
-
.optional()
|
|
23
|
-
.describe(`Frames per second to extract from the video (default: ${constants_1.VIDEO_ANALYSIS.DEFAULT_FPS})`),
|
|
24
|
-
threshold: zod_1.default
|
|
25
|
-
.number()
|
|
26
|
-
.min(0)
|
|
27
|
-
.max(0.5)
|
|
28
|
-
.default(constants_1.VIDEO_ANALYSIS.DEFAULT_THRESHOLD)
|
|
29
|
-
.optional()
|
|
30
|
-
.describe(`Deduplication threshold (fraction of pixels that may differ to consider frames identical). Higher = stricter (Less Number of unique frames). Default: ${constants_1.VIDEO_ANALYSIS.DEFAULT_THRESHOLD}`),
|
|
31
16
|
startTime: zod_1.default
|
|
32
|
-
.
|
|
33
|
-
.optional()
|
|
34
|
-
.describe("Start time in seconds, example 1 min 32 sec -> 92"),
|
|
35
|
-
duration: zod_1.default
|
|
36
|
-
.number()
|
|
17
|
+
.string()
|
|
37
18
|
.optional()
|
|
38
|
-
.describe("
|
|
19
|
+
.describe("Start time in MM:SS format, example 1 min 32 sec -> '1:32'"),
|
|
20
|
+
duration: zod_1.default.number().optional().describe("Duration time in seconds"),
|
|
39
21
|
model: zod_1.default
|
|
40
22
|
.string()
|
|
41
23
|
.default(constants_1.VIDEO_ANALYSIS.DEFAULT_MODEL)
|
|
@@ -48,11 +30,16 @@ exports.analyseVideo = {
|
|
|
48
30
|
schema: {
|
|
49
31
|
name: "analyseVideo",
|
|
50
32
|
description: `
|
|
51
|
-
|
|
33
|
+
Analyses videos to summarise.
|
|
34
|
+
|
|
35
|
+
**Use when:** You have a failing test with a video recording and need to understand what went wrong, or when user provides link to a Video recording.
|
|
52
36
|
|
|
53
37
|
**Input:** The video URL is mandatory (supports webm, mp4, mov), there are params you can specify to control the analysis.
|
|
38
|
+
|
|
54
39
|
**Output:** analysis summary of what happened during the test execution.
|
|
55
|
-
|
|
40
|
+
|
|
41
|
+
**Important:** If the analysis is truncated (indicated by a timestamp in the output), you can call this tool again with params.startTime set to continue from where it stopped.
|
|
42
|
+
`,
|
|
56
43
|
parameters: exports.analyseVideoSchema,
|
|
57
44
|
},
|
|
58
45
|
needsBrowser: false,
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
import type { ToolDefinition } from "@empiricalrun/shared-types";
|
|
1
|
+
import type { ToolDefinition } from "@empiricalrun/shared-types/chat-agent";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const DeleteFileInputSchema: z.ZodObject<{
|
|
4
|
+
path: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
2
6
|
export declare const deleteFileTool: ToolDefinition;
|
|
3
7
|
//# sourceMappingURL=delete-file.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-file.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/delete-file.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"delete-file.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/delete-file.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qBAAqB;;iBAMhC,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,cAU5B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deleteFileTool = void 0;
|
|
3
|
+
exports.deleteFileTool = exports.DeleteFileInputSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
|
|
5
|
+
exports.DeleteFileInputSchema = zod_1.z.object({
|
|
6
6
|
path: zod_1.z
|
|
7
7
|
.string()
|
|
8
8
|
.describe("The path to the file to delete (relative to the repository root). For example, tests/foo.spec.ts"),
|
|
@@ -13,7 +13,7 @@ exports.deleteFileTool = {
|
|
|
13
13
|
description: `Delete a file from the filesystem.
|
|
14
14
|
This tool will permanently remove the specified file.
|
|
15
15
|
Use with caution as deleted files cannot be recovered.`,
|
|
16
|
-
parameters: DeleteFileInputSchema,
|
|
16
|
+
parameters: exports.DeleteFileInputSchema,
|
|
17
17
|
},
|
|
18
18
|
needsBrowser: false,
|
|
19
19
|
isInlineTool: false,
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import type { ToolDefinition } from "@empiricalrun/shared-types";
|
|
1
|
+
import type { ToolDefinition } from "@empiricalrun/shared-types/chat-agent";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
export declare const downloadBuildToolSchema: z.ZodObject<{
|
|
4
4
|
buildUrl: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
buildUrl: string;
|
|
7
|
-
}, {
|
|
8
|
-
buildUrl: string;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export type DownloadBuildToolInput = z.infer<typeof downloadBuildToolSchema>;
|
|
11
7
|
export declare const downloadBuildTool: ToolDefinition;
|
|
12
8
|
//# sourceMappingURL=download-build.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download-build.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/download-build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"download-build.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/download-build.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE7E,eAAO,MAAM,iBAAiB,EAAE,cAU/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grep.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/grep.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"grep.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/grep.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAmB5E,eAAO,MAAM,QAAQ,EAAE,cAWtB,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { ToolDefinition } from "@empiricalrun/shared-types";
|
|
1
|
+
import { ToolDefinition } from "@empiricalrun/shared-types/chat-agent";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
export declare const ListTestsForProjectSchema: z.ZodObject<{
|
|
4
4
|
project: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
project: string;
|
|
7
|
-
}, {
|
|
8
|
-
project: string;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export declare const listProjectsTool: ToolDefinition;
|
|
11
7
|
export declare const listTestsForProjectTool: ToolDefinition;
|
|
12
8
|
//# sourceMappingURL=list-tests-and-projects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tests-and-projects.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/list-tests-and-projects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"list-tests-and-projects.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/list-tests-and-projects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB;;iBAEpC,CAAC;AAEH,eAAO,MAAM,gBAAgB,EAAE,cAS9B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,cASrC,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.listTestsForProjectTool = exports.listProjectsTool = exports.ListTestsForProjectSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.ListTestsForProjectSchema = zod_1.z.object({
|
|
6
|
-
project: zod_1.z.string().describe("The project to
|
|
6
|
+
project: zod_1.z.string().describe("The project to list test cases for."),
|
|
7
7
|
});
|
|
8
8
|
exports.listProjectsTool = {
|
|
9
9
|
schema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge-conflicts.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/merge-conflicts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"merge-conflicts.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/merge-conflicts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAK5E,eAAO,MAAM,kBAAkB,EAAE,cAkBhC,CAAC"}
|
|
@@ -6,11 +6,11 @@ const mergeConflictsToolScheme = zod_1.z.object({});
|
|
|
6
6
|
exports.mergeConflictsTool = {
|
|
7
7
|
schema: {
|
|
8
8
|
name: "checkForMergeConflicts",
|
|
9
|
-
description: `This tool runs the git merge command to merge
|
|
9
|
+
description: `This tool runs the git merge command to merge PR's target branch into your
|
|
10
10
|
current working branch with the following command.
|
|
11
11
|
|
|
12
12
|
\`\`\`
|
|
13
|
-
git merge --no-ff origin/
|
|
13
|
+
git merge --no-ff origin/[baseBranch]
|
|
14
14
|
\`\`\`
|
|
15
15
|
|
|
16
16
|
If this commands fails with merge conflicts, it will still create a dirty commit
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rename-file.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/rename-file.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"rename-file.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/rename-file.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAgB5E,eAAO,MAAM,cAAc,EAAE,cAU5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review-pull-request.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/review-pull-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"review-pull-request.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/review-pull-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAO5E,eAAO,MAAM,qBAAqB,EAAE,cAQnC,CAAC"}
|
|
@@ -8,7 +8,7 @@ const ReviewPullRequestInputSchema = zod_1.z.object({
|
|
|
8
8
|
exports.reviewPullRequestTool = {
|
|
9
9
|
schema: {
|
|
10
10
|
name: "reviewPullRequest",
|
|
11
|
-
description: `Reviews a pull request by using CodeReviewAgent to fetch session diff and
|
|
11
|
+
description: `Reviews a pull request by using CodeReviewAgent to fetch session diff and analyse it. Returns a boolean result with an explanation.`,
|
|
12
12
|
parameters: ReviewPullRequestInputSchema,
|
|
13
13
|
},
|
|
14
14
|
needsBrowser: false,
|
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import { ToolDefinition } from "@empiricalrun/shared-types";
|
|
1
|
+
import { ToolDefinition } from "@empiricalrun/shared-types/chat-agent";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
export declare const RunTestSchema: z.ZodObject<{
|
|
4
4
|
project: z.ZodString;
|
|
5
5
|
buildUrl: z.ZodOptional<z.ZodString>;
|
|
6
6
|
testName: z.ZodString;
|
|
7
|
-
suites: z.ZodArray<z.ZodString
|
|
7
|
+
suites: z.ZodArray<z.ZodString>;
|
|
8
8
|
filePath: z.ZodString;
|
|
9
|
-
},
|
|
10
|
-
suites: string[];
|
|
11
|
-
testName: string;
|
|
12
|
-
filePath: string;
|
|
13
|
-
project: string;
|
|
14
|
-
buildUrl?: string | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
suites: string[];
|
|
17
|
-
testName: string;
|
|
18
|
-
filePath: string;
|
|
19
|
-
project: string;
|
|
20
|
-
buildUrl?: string | undefined;
|
|
21
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
22
10
|
export declare const runTestTool: ToolDefinition;
|
|
23
11
|
//# sourceMappingURL=run-test.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-test.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/run-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"run-test.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/run-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,aAAa;;;;;;iBAWxB,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,cAQzB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ToolDefinition } from "@empiricalrun/shared-types/chat-agent";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const SafeBashInputSchema: z.ZodObject<{
|
|
4
|
+
script: z.ZodString;
|
|
5
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const safeBashTool: ToolDefinition;
|
|
8
|
+
//# sourceMappingURL=safe-bash.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safe-bash.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/safe-bash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB;;;iBAM9B,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,cAoB1B,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.safeBashTool = exports.SafeBashInputSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SafeBashInputSchema = zod_1.z.object({
|
|
6
|
+
script: zod_1.z.string().describe("The bash script to execute"),
|
|
7
|
+
timeout: zod_1.z
|
|
8
|
+
.number()
|
|
9
|
+
.optional()
|
|
10
|
+
.describe("Timeout in milliseconds (default: 60000)"),
|
|
11
|
+
});
|
|
12
|
+
exports.safeBashTool = {
|
|
13
|
+
schema: {
|
|
14
|
+
name: "safeBash",
|
|
15
|
+
description: `Execute a bash script with branch protection and controlled git operations.
|
|
16
|
+
|
|
17
|
+
This tool ensures safe execution by:
|
|
18
|
+
- Blocking branch-changing commands (git checkout, git switch, git reset --hard)
|
|
19
|
+
- Blocking git commit and git push commands (handled by the executor harness)
|
|
20
|
+
- Verifying the branch hasn't changed after execution
|
|
21
|
+
|
|
22
|
+
If the script modifies files that need to be pushed to the repo, the script MUST stage them using 'git add'.
|
|
23
|
+
The executor harness will automatically commit staged files and push to the remote.
|
|
24
|
+
|
|
25
|
+
For example, if you use this tool to upgrade NPM packages, you should stage package.json and package-lock.json files.
|
|
26
|
+
|
|
27
|
+
The tool returns stdout, stderr, staged files (will be committed), and unstaged files.`,
|
|
28
|
+
parameters: exports.SafeBashInputSchema,
|
|
29
|
+
},
|
|
30
|
+
needsBrowser: false,
|
|
31
|
+
isInlineTool: false,
|
|
32
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ToolDefinition } from "@empiricalrun/shared-types";
|
|
1
|
+
import { ToolDefinition } from "@empiricalrun/shared-types/chat-agent";
|
|
2
2
|
export declare const textEditorTools: Record<string, ToolDefinition>;
|
|
3
3
|
export declare const textViewTools: Record<string, ToolDefinition>;
|
|
4
4
|
//# sourceMappingURL=str_replace_editor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"str_replace_editor.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/str_replace_editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"str_replace_editor.d.ts","sourceRoot":"","sources":["../../../src/tools/definitions/str_replace_editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AA6EvE,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAK1D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAExD,CAAC"}
|
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import { ToolDefinition } from "@empiricalrun/shared-types";
|
|
1
|
+
import { ToolDefinition } from "@empiricalrun/shared-types/chat-agent";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
export declare const BrowserAgentSchema: z.ZodObject<{
|
|
4
4
|
project: z.ZodString;
|
|
5
5
|
buildUrl: z.ZodOptional<z.ZodString>;
|
|
6
6
|
testName: z.ZodString;
|
|
7
|
-
suites: z.ZodArray<z.ZodString
|
|
7
|
+
suites: z.ZodArray<z.ZodString>;
|
|
8
8
|
filePath: z.ZodString;
|
|
9
|
-
},
|
|
10
|
-
suites: string[];
|
|
11
|
-
testName: string;
|
|
12
|
-
filePath: string;
|
|
13
|
-
project: string;
|
|
14
|
-
buildUrl?: string | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
suites: string[];
|
|
17
|
-
testName: string;
|
|
18
|
-
filePath: string;
|
|
19
|
-
project: string;
|
|
20
|
-
buildUrl?: string | undefined;
|
|
21
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
22
10
|
export declare const generateTestWithBrowserAgent: ToolDefinition;
|
|
23
11
|
//# sourceMappingURL=test-gen-browser.d.ts.map
|